:root {
  --primary: #082b67;
  --secondary: #ff7900;
  --accent: #14a8ff;
  --logo-blue: #082b67;
  --logo-orange: #ff7900;
  --dark: #0f172a;
  --light: #f8fafc;
  --ink: #1e293b;
  --muted: #64748b;
  --line: rgba(15, 23, 42, 0.1);
  --glass: rgba(255, 255, 255, 0.74);
  --success: #10b981;
  --warning: #f59e0b;
  --radius: 8px;
  --shadow: 0 24px 70px rgba(15, 23, 42, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--light);
  overflow-x: hidden;
}

body.search-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img,
canvas {
  max-width: 100%;
}

.skip-link {
  position: absolute;
  top: -48px;
  left: 16px;
  z-index: 2000;
  padding: 10px 14px;
  color: white;
  background: var(--dark);
  border-radius: var(--radius);
}

.skip-link:focus {
  top: 12px;
}

.site-loader {
  position: fixed;
  inset: 0;
  z-index: 3000;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 50% 42%, rgba(20, 168, 255, 0.14), transparent 28%),
    var(--dark);
  transition: opacity 0.8s ease, visibility 0.8s ease;
}

.site-loader.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader-mark {
  width: 78px;
  height: 78px;
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-top-color: var(--logo-orange);
  border-right-color: var(--logo-blue);
  border-radius: 50%;
  animation: spin 1.05s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.navbar {
  --bs-navbar-padding-y: 0.85rem;
  background: rgba(248, 250, 252, 0.78);
  border-bottom: 1px solid rgba(148, 163, 184, 0.22);
  backdrop-filter: blur(18px);
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 260px;
  font-weight: 800;
  letter-spacing: 0;
  color: var(--dark);
  line-height: 1.12;
}

.nav-link {
  color: #334155;
  font-size: 0.94rem;
  font-weight: 700;
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary);
}

.nav-icon-btn {
  display: inline-grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: var(--primary);
  background: rgba(8, 43, 103, 0.08);
  border: 1px solid rgba(8, 43, 103, 0.14);
  border-radius: 50%;
}

.nav-icon-btn:hover {
  color: white;
  background: var(--primary);
}

.navbar .dropdown {
  position: relative;
}

.navbar .dropdown > a {
  display: inline-flex;
  align-items: center;
  color: #334155;
  font-size: 0.94rem;
  font-weight: 700;
  text-decoration: none;
}

.navbar .dropdown:hover > a,
.navbar .dropdown > a:hover,
.navbar .dropdown > a.active {
  color: var(--primary);
}

.navbar .dropdown ul {
  position: absolute;
  left: 0;
  top: calc(100% + 0.5rem);
  min-width: 190px;
  margin: 0;
  padding: 0.35rem 0;
  list-style: none;
  background: #fff;
  border: 1px solid rgba(148, 163, 184, 0.18);
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.12);
  border-radius: 0.75rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
  z-index: 1100;
}

.navbar .dropdown:hover ul,
.navbar .dropdown:focus-within ul {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.navbar .dropdown ul li {
  padding: 0;
}

.navbar .dropdown ul a {
  display: block;
  padding: 0.75rem 1.15rem;
  color: #334155;
  font-size: 0.92rem;
  text-decoration: none;
  white-space: nowrap;
}

.navbar .dropdown ul a:hover,
.navbar .dropdown ul a.active {
  background: rgba(8, 43, 103, 0.06);
  color: var(--primary);
}

.search-overlay {
  position: fixed;
  inset: 0;
  z-index: 2500;
  display: grid;
  place-items: center;
  padding: 24px;
  background:
    radial-gradient(circle at 75% 22%, rgba(255, 121, 0, 0.24), transparent 28%),
    radial-gradient(circle at 20% 75%, rgba(20, 168, 255, 0.22), transparent 30%),
    rgba(5, 13, 31, 0.92);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.34s ease, visibility 0.34s ease;
  backdrop-filter: blur(18px);
}

.search-overlay.is-open {
  opacity: 1;
  visibility: visible;
}

.search-close {
  position: absolute;
  right: 28px;
  top: 24px;
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  color: white;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
}

.search-panel {
  width: min(760px, 100%);
  color: white;
}

.search-panel .section-kicker {
  color: #93c5fd;
}

.search-field {
  display: grid;
  grid-template-columns: 1fr 60px;
  gap: 12px;
  margin-top: 16px;
}

.search-field input {
  min-height: 70px;
  padding: 0 24px;
  color: white;
  font-size: clamp(1.2rem, 4vw, 2.2rem);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius);
  outline: 0;
}

.search-field input::placeholder {
  color: rgba(255, 255, 255, 0.48);
}

.search-field button {
  color: white;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border: 0;
  border-radius: var(--radius);
}

.search-panel p {
  min-height: 28px;
  margin-top: 14px;
  color: #cbd5e1;
}

.search-field [data-search-status] {
  grid-column: 1 / -1;
}

.btn {
  border-radius: var(--radius);
  font-weight: 800;
}

.btn-brand {
  color: white;
  background: linear-gradient(135deg, var(--logo-blue), var(--logo-orange));
  border: 0;
  box-shadow: 0 16px 38px rgba(8, 43, 103, 0.24);
}

.btn-brand:hover {
  color: white;
  transform: translateY(-2px);
}

.btn-outline-brand {
  color: var(--primary);
  border-color: rgba(37, 99, 235, 0.36);
  background: rgba(255, 255, 255, 0.62);
}

.btn-outline-brand:hover {
  color: white;
  background: var(--primary);
}

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 138px 0 70px;
  color: white;
  background:
    radial-gradient(circle at 16% 24%, rgba(6, 182, 212, 0.33), transparent 28%),
    radial-gradient(circle at 78% 16%, rgba(124, 58, 237, 0.36), transparent 30%),
    linear-gradient(135deg, #07111f 0%, #0f172a 46%, #172554 100%);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.22;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.09) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, black, transparent 88%);
}

.hero .container {
  position: relative;
  z-index: 2;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 11px;
  margin-bottom: 18px;
  color: #cffafe;
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  background: rgba(6, 182, 212, 0.1);
  border: 1px solid rgba(103, 232, 249, 0.28);
  border-radius: 999px;
}

.hero h1,
.page-hero h1 {
  max-width: 880px;
  font-size: clamp(1.55rem, 5vw, 3.9rem);
  line-height: 0.98;
  font-weight: 900;
  letter-spacing: 0;
}

.hero h1 span,
.gradient-text {
  color: transparent;
  background: linear-gradient(120deg, #67e8f9, #93c5fd, #c4b5fd);
  -webkit-background-clip: text;
  background-clip: text;
}

.word-mask {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
  perspective: 700px;
  padding-bottom: 0.08em;
}

.split-word {
  display: inline-block;
  transform-origin: 50% 100%;
  will-change: transform, opacity;
}

.split-char {
  display: inline-block;
  transform-origin: 50% 100%;
  will-change: transform, opacity;
}

main h1,
main h2,
main h3 {
  transform-style: preserve-3d;
}

.hero-copy {
  max-width: 650px;
  margin: 22px 0 30px;
  color: #dbeafe;
  font-size: clamp(1rem, 2vw, 1.2rem);
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}



.section {
  padding: 92px 0;
  content-visibility: auto;
  contain-intrinsic-size: 760px;
}

.section-tight {
  padding: 70px 0;
}

.section-dark {
  color: white;
  background:
    radial-gradient(circle at 12% 20%, rgba(6, 182, 212, 0.16), transparent 28%),
    linear-gradient(135deg, #0f172a, #111827);
}

.section-kicker {
  color: var(--primary);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.section-title {
  max-width: 760px;
  margin: 8px 0 18px;
  color: var(--dark);
  font-size: clamp(2rem, 4vw, 3.3rem);
  line-height: 1.06;
  font-weight: 900;
}

.section-dark .section-title {
  color: white;
}

.section-lead {
  max-width: 720px;
  color: var(--muted);
  line-height: 1.8;
}

.section-dark .section-lead {
  color: #cbd5e1;
}

.program-card,
.project-card,
.event-card,
.blog-card,
.contact-card,
.feature-tile {
  height: 100%;
  padding: 26px;
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 14px 40px rgba(15, 23, 42, 0.06);
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.program-card:hover,
.project-card:hover,
.event-card:hover,
.blog-card:hover,
.contact-card:hover,
.feature-tile:hover {
  transform: translateY(-8px);
  border-color: rgba(37, 99, 235, 0.3);
  box-shadow: var(--shadow);
}

.icon-box {
  display: grid;
  width: 54px;
  height: 54px;
  margin-bottom: 20px;
  place-items: center;
  color: white;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: var(--radius);
}

.program-card h3,
.project-card h3,
.event-card h3,
.blog-card h3 {
  color: var(--dark);
  font-size: 1.22rem;
  font-weight: 900;
}

.program-card p,
.project-card p,
.event-card p,
.blog-card p,
.page-card p {
  color: var(--muted);
  line-height: 1.75;
}

.course-swiper {
  padding: 12px 4px 58px;
}

.course-swiper .swiper-slide {
  height: auto;
}

.course-swiper .program-card {
  min-height: 292px;
}

.course-swiper .swiper-pagination-bullet,
.testimonial-swiper .swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  background: rgba(8, 43, 103, 0.35);
  opacity: 1;
}

.course-swiper .swiper-pagination-bullet-active,
.testimonial-swiper .swiper-pagination-bullet-active {
  width: 28px;
  background: var(--secondary);
  border-radius: 999px;
}

.project-visual {
  position: relative;
  height: 178px;
  margin: -10px -10px 22px;
  overflow: hidden;
  background:
    radial-gradient(circle at 34% 30%, rgba(6, 182, 212, 0.45), transparent 25%),
    radial-gradient(circle at 78% 76%, rgba(124, 58, 237, 0.36), transparent 27%),
    linear-gradient(135deg, #dbeafe, #eef2ff);
  border-radius: var(--radius);
}

.project-visual::before,
.project-visual::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(37, 99, 235, 0.22);
  border-radius: 50%;
}

.project-visual::before {
  width: 138px;
  height: 138px;
  left: 28px;
  top: 18px;
}

.project-visual::after {
  width: 86px;
  height: 86px;
  right: 24px;
  bottom: 18px;
  background: rgba(255, 255, 255, 0.36);
}

.project-chip {
  position: absolute;
  left: 22px;
  bottom: 20px;
  padding: 8px 10px;
  color: var(--dark);
  font-size: 0.78rem;
  font-weight: 900;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.64);
  border-radius: 999px;
  backdrop-filter: blur(8px);
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 28px 0 30px;
}

.filter-btn {
  padding: 9px 14px;
  color: var(--ink);
  font-weight: 800;
  background: white;
  border: 1px solid var(--line);
  border-radius: 999px;
}

.filter-btn.active,
.filter-btn:hover {
  color: white;
  background: var(--primary);
}

.testimonial-swiper {
  position: relative;
  padding: 10px 4px 54px;
}

.testimonial-swiper .swiper-button-next,
.testimonial-swiper .swiper-button-prev {
  top: 46%;
  width: 44px;
  height: 44px;
  color: var(--primary);
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(8, 43, 103, 0.14);
  border-radius: 50%;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.12);
}

.testimonial-swiper .swiper-button-next::after,
.testimonial-swiper .swiper-button-prev::after {
  font-size: 1rem;
  font-weight: 900;
}

.testimonial-swiper .swiper-pagination {
  bottom: 14px;
}

.testimonial {
  min-height: 280px;
  padding: 30px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius);
}

.testimonial p {
  color: #334155;
  font-size: 1.02rem;
  line-height: 1.8;
}



.page-hero {
  padding: 148px 0 86px;
  color: white;
  background:
    radial-gradient(circle at 80% 20%, rgba(6, 182, 212, 0.3), transparent 28%),
    linear-gradient(135deg, #0f172a, #1e1b4b);
}

.page-hero p {
  max-width: 760px;
  color: #dbeafe;
  font-size: 1.14rem;
  line-height: 1.8;
}

.timeline {
  position: relative;
  display: grid;
  gap: 18px;
}

.timeline-item {
  padding: 22px;
  background: white;
  border-left: 4px solid var(--accent);
  border-radius: var(--radius);
  box-shadow: 0 14px 36px rgba(15, 23, 42, 0.06);
}

.contact-band {
  background:
    radial-gradient(circle at 12% 20%, rgba(16, 185, 129, 0.14), transparent 26%),
    radial-gradient(circle at 84% 16%, rgba(124, 58, 237, 0.16), transparent 26%),
    #eef6ff;
}

.home-contact-section {
  position: relative;
  overflow: hidden;
  color: white;
  background:
    linear-gradient(90deg, rgba(6, 18, 42, 0.92), rgba(6, 18, 42, 0.76)),
    url("../images/bg1.jpg") center / cover;
}

.home-contact-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.07) 1px, transparent 1px);
  background-size: 54px 54px;
  opacity: 0.3;
  pointer-events: none;
}

.home-contact-section .container {
  position: relative;
  z-index: 1;
}

.home-contact-section .section-title,
.home-contact-section .section-lead {
  color: white;
}

.home-contact-section .section-kicker {
  color: #67e8f9;
}

.home-contact-copy,
.home-contact-form {
  opacity: 0;
  transform: translateX(-56px);
  transition:
    opacity 3s cubic-bezier(0.16, 1, 0.3, 1),
    transform 3s cubic-bezier(0.16, 1, 0.3, 1);
}

.home-contact-form {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.26);
  transition-delay: 0.15s;
}

.home-contact-section.is-visible .home-contact-copy,
.home-contact-section.is-visible .home-contact-form {
  opacity: 1;
  transform: translateX(0);
}

.contact-direct-list {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}

.contact-direct-list a {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 12px;
  align-items: center;
  min-height: 58px;
  padding: 12px;
  color: white;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
}

.contact-direct-list i {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  color: white;
  background: linear-gradient(135deg, var(--secondary), var(--secondary));
  border-radius: 50%;
}

.form-control,
.form-select {
  min-height: 52px;
  border-color: rgba(100, 116, 139, 0.24);
  border-radius: var(--radius);
}

textarea.form-control {
  min-height: 140px;
}

.site-footer {
  color: #cbd5e1;
  background: var(--dark);
}

.site-footer h2,
.site-footer h3,
.site-footer h4 {
  color: white;
}

.footer-link {
  display: block;
  padding: 5px 0;
  color: #cbd5e1;
}

.footer-link:hover {
  color: white;
}

.social-link {
  display: inline-grid;
  width: 38px;
  height: 38px;
  margin-right: 8px;
  place-items: center;
  color: white;
  background: rgba(255, 255, 255, 0.09);
  border-radius: 50%;
}



@media (max-width: 991.98px) {
  .navbar-collapse {
    padding: 14px 0;
  }

  .hero {
    min-height: auto;
    padding-top: 118px;
  }

  .hero-panel {
    min-height: 420px;
    margin-top: 22px;
  }

  #robotScene {
    height: 430px;
    min-height: 360px;
  }

  .section {
    padding: 72px 0;
  }
}

@media (max-width: 575.98px) {
  .navbar-brand {
    max-width: 220px;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
    flex-basis: 38px;
  }

  .hero-actions .btn {
    width: 100%;
  }



  .project-visual {
    height: 150px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Prabidhya brand and uploaded-asset homepage */
.brand-logo-img {
  display: block;
  width: min(250px, 58vw);
  height: auto;
  max-height: 58px;
  object-fit: contain;
}

.navbar-brand.logo-brand {
  max-width: 280px;
  gap: 0;
}

.btn-brand {
  background: linear-gradient(135deg, #fc6703 0%, #fd6502 52%, #fd6803 100%);
  box-shadow: 0 16px 38px rgba(8, 43, 103, 0.24);
}

.btn-outline-brand {
  color: var(--primary);
  border-color: rgba(8, 43, 103, 0.28);
}

.btn-outline-brand:hover {
  color: white;
  background: var(--primary);
}

.hero-slider {
  position: relative;
  min-height: 100vh;
  color: white;
  background: #06122a;
  overflow: hidden;
}

.template-bg-layer {
  position: absolute;
  z-index: 1;
  pointer-events: none;
  opacity: 0.7;
  animation: templateDrift 12s ease-in-out infinite;
}

.template-bg-left {
  left: 0;
  bottom: 4%;
  width: min(330px, 45vw);
}

.template-bg-right {
  right: 0;
  top: 12%;
  width: min(280px, 38vw);
  animation-delay: -4s;
}

.hero-fixed-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 1;
  transform: translateZ(0);
}

.hero-slider::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(6, 18, 42, 0.86) 0%, rgba(6, 18, 42, 0.68) 48%, rgba(6, 18, 42, 0.36) 100%);
}

.hero-swiper {
  position: relative;
  z-index: 2;
}

.hero-slider .swiper,
.hero-slider .swiper-wrapper,
.hero-slider .swiper-slide {
  min-height: 100vh;
}

.hero-slide {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 100vh;
  padding: 142px 0 84px;
  overflow: hidden;
}

.hero-slide .container {
  position: relative;
  z-index: 2;
}

.hero-slide h1 {
  max-width: 680px;
  color: white;
  font-size: clamp(2.3rem, 4.8vw, 4.35rem);
  font-weight: 950;
  line-height: 1.04;
  letter-spacing: 0;
}

.hero-slide h1 span {
  color: inherit;
  background: none;
  -webkit-background-clip: initial;
  background-clip: initial;
}

.hero-slide h1 .headline-accent,
.hero-slide h1 .headline-accent span,
.hero-slide h1 .headline-accent .split-word {
  color: var(--logo-orange);
}

.hero-slide h1 .split-word {
  color: inherit;
  background: none;
  -webkit-background-clip: initial;
  background-clip: initial;
}

.hero-slide p {
  max-width: 650px;
  color: #e0ecff;
  font-size: clamp(1rem, 2vw, 1.18rem);
  line-height: 1.85;
}

.hero-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.hero-metrics span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 42px;
  padding: 8px 12px;
  color: #dbeafe;
  font-size: 0.86rem;
  font-weight: 800;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  backdrop-filter: blur(12px);
}

.hero-metrics strong {
  color: white;
}

.hero-media {
  position: relative;
  display: grid;
  min-height: 460px;
  place-items: center;
  isolation: isolate;
  perspective: 1100px;
}

.template-hero-stage {
  transform-style: preserve-3d;
  transition: transform 0.25s ease;
}

.ai-orb-canvas {
  position: absolute;
  z-index: 1;
  width: min(520px, 88vw);
  height: min(520px, 88vw);
  opacity: 0.72;
  pointer-events: none;
}

.hero-media::before {
  content: "";
  position: absolute;
  width: min(520px, 86vw);
  aspect-ratio: 1;
  background:
    radial-gradient(circle at 45% 44%, rgba(255, 255, 255, 0.12), transparent 38%),
    conic-gradient(from 120deg, rgba(20, 168, 255, 0.3), rgba(255, 121, 0, 0.32), rgba(16, 185, 129, 0.2), rgba(20, 168, 255, 0.3));
  border-radius: 50%;
  opacity: 0.78;
  filter: blur(0.4px);
  animation: slowSpin 42s linear infinite;
}

.hero-cutout {
  position: relative;
  z-index: 5;
  width: min(420px, 82vw);
  max-height: 72vh;
  object-fit: contain;
  filter: drop-shadow(0 22px 34px rgba(0, 0, 0, 0.34));
  transform-origin: 50% 80%;
  animation: heroMainFloat 7s ease-in-out infinite;
}

.template-rocket {
  position: absolute;
  left: 6%;
  top: 9%;
  z-index: 6;
  width: clamp(54px, 7vw, 94px);
  filter: drop-shadow(0 18px 24px rgba(0, 0, 0, 0.32));
}

.hero-orbit {
  position: absolute;
  z-index: 2;
  width: min(430px, 80vw);
  aspect-ratio: 1;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  animation: slowSpin 52s linear infinite;
}

.hero-shape {
  position: absolute;
  z-index: 3;
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  color: white;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 18px;
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.22);
  animation: floatShape 8s ease-in-out infinite;
}

.hero-shape-one {
  left: 6%;
  top: 18%;
}

.hero-shape-two {
  right: 8%;
  top: 24%;
  animation-delay: -1.8s;
}

.hero-mini-img {
  position: absolute;
  z-index: 5;
  width: clamp(76px, 9vw, 118px);
  aspect-ratio: 1;
  padding: 10px;
  object-fit: contain;
  background: rgba(255, 255, 255, 0.13);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 20px;
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.22);
}

.hero-mini-img-one {
  left: 2%;
  bottom: 12%;
  animation: miniImageLift 4.8s ease-in-out infinite;
}

.hero-mini-img-two {
  right: 4%;
  top: 10%;
  animation: miniImageFloat 5.8s ease-in-out infinite;
}

.hero-mini-img-three {
  right: 2%;
  bottom: 20%;
  animation: miniImageFloatAlt 6.4s ease-in-out infinite;
}

@keyframes floatShape {
  0%,
  100% {
    transform: translate3d(0, 0, 0) rotate(0deg);
  }
  50% {
    transform: translate3d(0, -18px, 0) rotate(8deg);
  }
}

.hero-floating-card {
  position: absolute;
  z-index: 6;
  right: 0;
  bottom: 12%;
  width: min(250px, 70vw);
  padding: 16px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius);
}

@keyframes templateDrift {
  0%,
  100% {
    transform: translate3d(0, 0, 0) rotate(0deg);
  }
  50% {
    transform: translate3d(16px, -18px, 0) rotate(8deg);
  }
}

@keyframes templateRocket {
  0%,
  100% {
    transform: translate3d(0, 0, 38px) rotate(-10deg);
  }
  50% {
    transform: translate3d(14px, -22px, 38px) rotate(2deg);
  }
}

@keyframes slowSpin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes heroMainFloat {
  0%,
  100% {
    translate: 0 0;
    rotate: 0deg;
  }
  50% {
    translate: 6px -16px;
    rotate: 1deg;
  }
}

@keyframes miniImageLift {
  0%,
  100% {
    transform: translate3d(0, 18px, 0) rotate(-4deg);
  }
  50% {
    transform: translate3d(0, -12px, 0) rotate(3deg);
  }
}

@keyframes miniImageFloat {
  0%,
  100% {
    transform: translate3d(0, 0, 0) rotate(5deg);
  }
  50% {
    transform: translate3d(-8px, 10px, 0) rotate(-3deg);
  }
}

@keyframes miniImageFloatAlt {
  0%,
  100% {
    transform: translate3d(0, 0, 0) rotate(-6deg);
  }
  50% {
    transform: translate3d(8px, -10px, 0) rotate(3deg);
  }
}

.program-card,
.project-card,
.event-card,
.feature-tile,
.testimonial {
  position: relative;
  overflow: hidden;
}

.program-card::before,
.project-card::before,
.event-card::before,
.feature-tile::before,
.testimonial::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent), var(--secondary));
  opacity: 0.85;
}

.section-dark .project-card,
.section-dark .filter-btn {
  border-color: rgba(255, 255, 255, 0.12);
}

.feature-ribbon {
  position: relative;
  z-index: 5;
  margin-top: -54px;
}

.ribbon-card {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 14px;
  min-height: 132px;
  padding: 24px;
  color: white;
  background:
    linear-gradient(135deg, rgba(8, 43, 103, 0.96), rgba(11, 61, 134, 0.95)),
    var(--primary);
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 24px 55px rgba(8, 43, 103, 0.24);
}

.ribbon-card span {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  color: white;
  background: linear-gradient(135deg, #ffffff, #ffffff);
  border-radius: 50%;
}

.ribbon-card span img {
  width: 38px;
  height: 38px;
  object-fit: contain;
}

.ribbon-card strong {
  display: block;
  font-size: 1.04rem;
  font-weight: 900;
}

.ribbon-card small {
  display: block;
  margin-top: 7px;
  color: #dbeafe;
  line-height: 1.6;
}

.ribbon-card:hover {
  color: white;
  transform: translateY(-8px);
}

.marquee-band {
  display: flex;
  gap: 0;
  overflow: hidden;
  color: white;
  background: linear-gradient(90deg, var(--primary), #0b3d86, var(--secondary));
  border-block: 1px solid rgba(255, 255, 255, 0.12);
}

.marquee-track {
  display: flex;
  min-width: max-content;
  animation: marquee 28s linear infinite;
}

.marquee-track span {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 22px 24px;
  font-size: clamp(1rem, 2vw, 1.4rem);
  font-weight: 900;
  text-transform: uppercase;
}

.marquee-track span::before {
  content: "";
  width: 9px;
  height: 9px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 18px rgba(20, 168, 255, 0.9);
}

@keyframes marquee {
  to {
    transform: translateX(-100%);
  }
}

.scroll-top {
  position: fixed;
  right: 20px;
  bottom: 22px;
  z-index: 1200;
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  color: white;
  background: linear-gradient(135deg, #fd6703, #fd6603);
  border: 0;
  border-radius: 50%;
  box-shadow: 0 18px 45px rgba(8, 43, 103, 0.24);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.26s ease, visibility 0.26s ease, transform 0.26s ease;
}

.scroll-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.hero-swiper .swiper-button-next,
.hero-swiper .swiper-button-prev {
  width: 48px;
  height: 48px;
  color: white;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  backdrop-filter: blur(12px);
}

.hero-swiper .swiper-button-next::after,
.hero-swiper .swiper-button-prev::after {
  font-size: 1rem;
  font-weight: 900;
}

.hero-swiper .swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  background: rgba(255, 255, 255, 0.72);
  opacity: 1;
}

.hero-swiper .swiper-pagination-bullet-active {
  width: 28px;
  background: var(--secondary);
  border-radius: 999px;
}

.school-partners-section {
  padding: 74px 0 0;
  background: #f8fafc;
}

.school-partners-heading {
  max-width: 760px;
  padding: 0 24px 34px;
  margin: 0 auto;
  text-align: center;
}

.school-partners-heading h2 {
  margin: 8px 0 10px;
  color: var(--dark);
  font-size: clamp(1.8rem, 3vw, 2.7rem);
  font-weight: 900;
}

.school-partners-heading p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.school-partners-marquee {
  display: flex;
  gap: 0;
  overflow: hidden;
  padding: 16px 0;
  color: white;
  background: linear-gradient(90deg, var(--primary), #0b3d86, var(--secondary));
  border-block: 1px solid rgba(255, 255, 255, 0.12);
}

.school-partners-track {
  display: flex;
  min-width: max-content;
  padding: 0 8px;
  animation: schoolPartnersScroll 34s linear infinite;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 1.4s cubic-bezier(0.22, 1, 0.36, 1), transform 1.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.school-partners-marquee:hover .school-partners-track,
.school-partners-marquee:focus-within .school-partners-track {
  animation-play-state: paused;
}

.school-partners-section.is-visible .school-partners-track {
  opacity: 1;
  transform: translateY(0);
}

.school-partner-card {
  display: flex;
  align-items: center;
  gap: 16px;
  width: 315px;
  min-height: 104px;
  margin-right: 18px;
  padding: 16px 20px;
  color: white;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 14px;
  backdrop-filter: blur(8px);
  opacity: 0;
  transform: translateY(12px) scale(0.98);
  transition: opacity 1s cubic-bezier(0.22, 1, 0.36, 1), transform 1s cubic-bezier(0.22, 1, 0.36, 1);
}

.school-partners-section.is-visible .school-partner-card {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.school-partners-section.is-visible .school-partner-card:nth-child(2) { transition-delay: 0.12s; }
.school-partners-section.is-visible .school-partner-card:nth-child(3) { transition-delay: 0.24s; }
.school-partners-section.is-visible .school-partner-card:nth-child(4) { transition-delay: 0.36s; }
.school-partners-section.is-visible .school-partner-card:nth-child(5) { transition-delay: 0.48s; }

.school-partner-card img {
  flex: 0 0 74px;
  width: 74px;
  height: 56px;
  padding: 7px;
  object-fit: contain;
  background: white;
  border-radius: 10px;
}

.school-partner-info {
  min-width: 0;
}

.school-partner-info strong,
.school-partner-info > span {
  display: block;
}

.school-partner-info strong {
  color: white;
  font-size: 1rem;
  font-weight: 900;
  line-height: 1.25;
}

.school-partner-info > span {
  margin-top: 7px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.78rem;
  line-height: 1.35;
}

.school-partner-info i {
  margin-right: 5px;
  color: var(--logo-orange);
}

@keyframes schoolPartnersScroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.partner-showcase-section {
  padding: 96px 0;
  background:
    radial-gradient(circle at top left, rgba(20, 168, 255, 0.16), transparent 28%),
    linear-gradient(135deg, #f8fbff 0%, #eef6ff 100%);
}

.partner-showcase {
  display: grid;
  gap: 28px;
  align-items: center;
}

.partner-showcase-copy {
  max-width: 620px;
}

.partner-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.partner-highlights span {
  padding: 10px 14px;
  color: var(--primary);
  font-weight: 800;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(8, 43, 103, 0.12);
  border-radius: 999px;
}

.partner-showcase-media {
  display: grid;
  gap: 18px;
}

.partner-feature-card {
  position: relative;
  overflow: hidden;
  min-height: 360px;
  padding: 24px;
  background: linear-gradient(135deg, rgba(8, 43, 103, 0.96), rgba(20, 168, 255, 0.9));
  border-radius: 28px;
  box-shadow: 0 30px 70px rgba(8, 43, 103, 0.2);
}

.partner-feature-logo {
  position: relative;
  z-index: 2;
  display: inline-block;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.96);
  border-radius: 18px;
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.16);
}

.partner-feature-logo img {
  display: block;
  max-width: 220px;
  max-height: 120px;
  object-fit: contain;
}

.partner-feature-image {
  position: absolute;
  right: -10px;
  bottom: -10px;
  width: min(360px, 72%);
  max-height: 320px;
  object-fit: contain;
  filter: drop-shadow(0 24px 32px rgba(0, 0, 0, 0.22));
}

.partner-marquee {
  overflow: hidden;
  padding: 12px 0;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(8, 43, 103, 0.08);
  border-radius: 20px;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.06);
}

.partner-track {
  display: flex;
  width: max-content;
  gap: 18px;
  padding: 8px 0;
  animation: partnerScroll 20s linear infinite;
}

.partner-item {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 240px;
  padding: 14px 18px;
  color: var(--primary);
  font-size: 0.96rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  background: linear-gradient(135deg, rgba(8, 43, 103, 0.06), rgba(20, 168, 255, 0.08));
  border: 1px solid rgba(8, 43, 103, 0.12);
  border-radius: 999px;
}

.partner-badge {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  color: white;
  font-size: 0.84rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: 50%;
  box-shadow: 0 10px 24px rgba(8, 43, 103, 0.16);
}

@keyframes partnerScroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@media (min-width: 992px) {
  .partner-showcase {
    grid-template-columns: 1.05fr 0.95fr;
  }
}

.brand-logo-cloud {
  display: grid;
  min-height: 150px;
  place-items: center;
  padding: 24px;
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.brand-logo-cloud img {
  max-width: 100%;
  max-height: 92px;
  object-fit: contain;
}

.image-panel {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  background:
    radial-gradient(circle at 18% 18%, rgba(255, 121, 0, 0.18), transparent 28%),
    linear-gradient(135deg, #eaf2ff, #ffffff);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.image-panel img {
  position: absolute;
  inset: auto 0 0 auto;
  /* width: min(430px, 84%); */
  max-height: 124%;
  object-fit: contain;
  filter: drop-shadow(0 25px 34px rgba(15, 23, 42, 0.22));
}

.media-card {
  position: relative;
  height: 260px;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: 0 18px 48px rgba(15, 23, 42, 0.13);
}

.media-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.media-card:hover img {
  transform: scale(1.08);
}

.media-card span {
  position: absolute;
  left: 14px;
  bottom: 14px;
  padding: 8px 12px;
  color: white;
  font-weight: 900;
  background: rgba(8, 43, 103, 0.78);
  border-radius: 999px;
  backdrop-filter: blur(10px);
}

.project-visual.has-image {
  height: 210px;
  background: #eaf2ff;
}

.project-visual.has-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.hero-media,
.image-panel,
.project-visual.has-image {
  contain: layout paint;
}

.project-card:hover .project-visual.has-image img {
  transform: scale(1.07);
}

.template-service-card {
  display: flex;
  min-height: 430px;
  flex-direction: column;
  overflow: hidden;
  transform-style: preserve-3d;
}

.template-service-card > img {
  display: block;
  width: 100%;
  height: 190px;
  margin: -26px 0 22px;
  object-fit: contain;
  background:
    radial-gradient(circle at 72% 28%, rgba(255, 121, 0, 0.18), transparent 26%),
    linear-gradient(135deg, #eef6ff, #ffffff);
}

.template-service-card .icon-box {
  margin-top: auto;
}

.template-project-card {
  padding: 0;
  overflow: hidden;
  background: #06122a;
}

.template-project-card .project-visual.has-image {
  height: 310px;
  margin: 0;
  border-radius: 0;
}

.template-project-card .project-visual::before,
.template-project-card .project-visual::after {
  display: none;
}

.template-project-card .project-visual.has-image::after {
  content: "";
  position: absolute;
  inset: 0;
  display: block;
  border: 0;
  border-radius: 0;
  background: linear-gradient(180deg, transparent 35%, rgba(6, 18, 42, 0.9));
}

.template-project-card .project-chip {
  z-index: 2;
}

.template-project-card h3,
.template-project-card p {
  position: relative;
  z-index: 2;
  padding-inline: 24px;
  color: white;
}

.template-project-card h3 {
  margin-top: 5px;
}

.template-project-card p {
  color: #dbeafe;
}

.template-unlash-section {
  position: relative;
  overflow: hidden;
  color: white;
  background:
    radial-gradient(circle at 82% 42%, rgba(20, 168, 255, 0.22), transparent 24%),
    linear-gradient(135deg, #07111f, #0f172a 56%, #082b67);
}

.template-unlash-section .container {
  position: relative;
  z-index: 2;
}

.template-unlash-section .section-title,
.template-unlash-section .section-lead {
  color: white;
}

[data-side-reveal] .section-kicker,
[data-side-reveal] .section-title,
[data-side-reveal] .section-lead,
[data-side-reveal] .feature-tile,
[data-side-reveal] .image-panel,
[data-side-reveal] .template-mini-feature,
[data-side-reveal].template-unlash-section .btn,
[data-side-reveal] .home-contact-copy,
[data-side-reveal] .home-contact-form {
  opacity: 0;
  transform: translateX(-56px);
  transition:
    opacity 3s cubic-bezier(0.16, 1, 0.3, 1),
    transform 3s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-side-reveal] [data-image-reveal="right"] .image-panel,
[data-side-reveal] .home-contact-form {
  transform: translateX(56px);
}

[data-side-reveal] .template-robot-hand {
  opacity: 0;
  transform: translateX(64px);
  transition:
    opacity 3s cubic-bezier(0.16, 1, 0.3, 1),
    transform 3s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-side-reveal] .section-title,
[data-side-reveal] .col-sm-6:nth-child(2) .feature-tile,
[data-side-reveal] .col-sm-6:nth-child(2) .template-mini-feature,
[data-side-reveal] .home-contact-form {
  transition-delay: 0.12s;
}

[data-side-reveal] .section-lead,
[data-side-reveal] .image-panel {
  transition-delay: 0.2s;
}

[data-side-reveal].is-visible .section-kicker,
[data-side-reveal].is-visible .section-title,
[data-side-reveal].is-visible .section-lead,
[data-side-reveal].is-visible .feature-tile,
[data-side-reveal].is-visible .image-panel,
[data-side-reveal].is-visible .template-mini-feature,
[data-side-reveal].template-unlash-section.is-visible .btn,
[data-side-reveal].is-visible .home-contact-copy,
[data-side-reveal].is-visible .home-contact-form,
[data-side-reveal].is-visible .template-robot-hand {
  opacity: 1;
  transform: translateX(0);
}

.template-robot-hand {
  position: absolute;
  right: 0;
  bottom: 0;
  width: min(420px, 45vw);
  opacity: 0.95;
  filter: drop-shadow(0 28px 48px rgba(0, 0, 0, 0.35));
  animation: templateHand 8s ease-in-out infinite;
}

.template-mini-feature {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 14px;
  height: 100%;
  padding: 18px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
}

.template-mini-feature i {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  background: linear-gradient(135deg, #fd6502, var(--secondary));
  border-radius: 50%;
}

.template-mini-feature strong,
.template-mini-feature span {
  display: block;
}

.template-mini-feature span {
  margin-top: 5px;
  color: #cbd5e1;
}

@keyframes templateHand {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }
  50% {
    transform: translate3d(-18px, -18px, 0);
  }
}

.template-testimonial-section {
  background:
    radial-gradient(circle at 12% 16%, rgba(20, 168, 255, 0.14), transparent 26%),
    #f6f9ff;
}

.template-testimonial-card {
  min-height: 300px;
}

.template-testimonial-card img {
  width: 74px;
  height: 74px;
  margin-bottom: 18px;
  object-fit: contain;
}

.template-testimonial-card span {
  display: block;
  margin: -4px 0 12px;
  color: var(--secondary);
  font-weight: 800;
}

.home-contact-image {
  width: calc(100% + 52px);
  height: 220px;
  margin: -26px -26px 22px;
  object-fit: cover;
  border-radius: var(--radius) var(--radius) 0 0;
}

.footer-logo {
  display: block;
  width: min(240px, 72vw);
  max-height: 88px;
  padding: 8px 10px;
  object-fit: contain;
  background: white;
  border-radius: var(--radius);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.18);
}

@media (max-width: 991.98px) {
  .hero-slide {
    padding: 116px 0 72px;
  }

  .hero-slider::before {
    background: linear-gradient(180deg, rgba(6, 18, 42, 0.86) 0%, rgba(6, 18, 42, 0.72) 56%, rgba(6, 18, 42, 0.5) 100%);
  }

  .hero-media {
    min-height: 380px;
  }

  .ai-orb-canvas {
    opacity: 0.42;
  }

  .hero-media::before,
  .hero-orbit,
  .hero-cutout,
  .hero-mini-img,
  .hero-shape,
  .marquee-track,
  .template-bg-layer,
  .template-rocket,
  .template-robot-hand {
    animation: none;
  }

  .template-robot-hand {
    position: relative;
    display: block;
    width: min(300px, 72vw);
    margin: 0 auto 24px;
  }

  .hero-swiper .swiper-button-next,
  .hero-swiper .swiper-button-prev {
    display: none;
  }

  .feature-ribbon {
    margin-top: 0;
  }

  .ribbon-card {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }
}

@media (max-width: 575.98px) {
  .school-partners-section {
    padding-top: 58px;
  }

  .school-partners-heading {
    padding-inline: 18px;
  }

  .school-partner-card {
    width: 280px;
    min-height: 96px;
    padding: 14px 16px;
  }

  .brand-logo-img {
    width: min(210px, 66vw);
  }

  .hero-slide h1 {
    font-size: clamp(2.05rem, 11vw, 3.35rem);
  }

  .hero-metrics span {
    flex: 1 1 calc(50% - 10px);
    justify-content: center;
  }

  .hero-floating-card {
    left: 0;
    right: auto;
    bottom: 4%;
  }

  .hero-mini-img {
    display: none;
  }

  .template-project-card .project-visual.has-image {
    height: 250px;
  }

  .hero-shape {
    width: 46px;
    height: 46px;
  }

  .search-field {
    grid-template-columns: 1fr 52px;
  }

  .search-field input {
    min-height: 58px;
    padding: 0 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-fixed-bg,
  .hero-media::before,
  .hero-orbit,
  .hero-cutout,
  .hero-mini-img,
  .hero-shape {
    animation: none;
  }

  .school-partners-track {
    animation: none;
  }
}

/* ===== Beautiful Contact Form Styles ===== */
.contact-section {
  padding: 100px 0;
  background: linear-gradient(135deg, #f8fafc 0%, #eef2f7 50%, #f1f5f9 100%);
  position: relative;
  overflow: hidden;
}

.contact-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(8, 43, 103, 0.05) 0%, transparent 70%);
  border-radius: 50%;
  z-index: 0;
}

.contact-section::after {
  content: '';
  position: absolute;
  bottom: -20%;
  left: -5%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(20, 168, 255, 0.03) 0%, transparent 70%);
  border-radius: 50%;
  z-index: 0;
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 60px;
  align-items: start;
}

.contact-info-column {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-form-column {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

@media (max-width: 768px) {
  .contact-wrapper {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .contact-section {
    padding: 60px 0;
  }
}

/* Info Card */
.info-card {
  background: white;
  border-radius: 16px;
  padding: 40px;
  box-shadow: 0 8px 30px rgba(15, 23, 42, 0.12);
  transition: all 0.3s ease;
  border: 1px solid rgba(8, 43, 103, 0.08);
  position: relative;
}

.info-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  border-radius: 16px 16px 0 0;
}

.info-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 40px rgba(8, 43, 103, 0.18);
}

.info-header {
  margin-bottom: 40px;
  border-bottom: 2px solid var(--accent);
  padding-bottom: 20px;
}

.info-header h2 {
  margin: 0 0 10px 0;
  font-size: 28px;
  color: var(--primary);
  font-weight: 700;
}

.info-header p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.info-items {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.info-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 16px;
  background: rgba(8, 43, 103, 0.02);
  border-radius: 10px;
  transition: all 0.3s ease;
  border: 1px solid rgba(8, 43, 103, 0.08);
}

.info-item:hover {
  background: rgba(8, 43, 103, 0.05);
  transform: translateX(4px);
  border-color: rgba(8, 43, 103, 0.15);
}

.info-icon {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 26px;
  flex-shrink: 0;
  box-shadow: 0 6px 20px rgba(8, 43, 103, 0.25);
  transition: all 0.3s ease;
}

.info-item:hover .info-icon {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 8px 25px rgba(8, 43, 103, 0.35);
}

.info-text h4 {
  margin: 0 0 8px 0;
  font-size: 16px;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 0.3px;
}

.info-text p {
  margin: 0;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
  font-weight: 500;
}

.info-text a {
  color: var(--primary);
  font-weight: 600;
  transition: all 0.3s ease;
  text-decoration: none;
  border-bottom: 2px solid transparent;
}

.info-text a:hover {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

/* Form Card */
.form-card {
  background: white;
  border-radius: 16px;
  padding: 50px;
  box-shadow: 0 8px 30px rgba(15, 23, 42, 0.12);
  border: 2px solid rgba(8, 43, 103, 0.05);
  position: relative;
  overflow: hidden;
}

.form-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent), var(--secondary));
}

.form-title {
  font-size: 28px;
  font-weight: 800;
  color: #000000;
  margin: 0 0 35px 0;
  position: relative;
  padding-bottom: 20px;
  letter-spacing: -0.5px;
}

.form-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 4px;
  background: #000000;
  border-radius: 2px;
  transition: width 0.3s ease;
}

.form-card:hover .form-title::after {
  width: 80px;
}

.beautiful-form {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-bottom: 30px;
}

@media (max-width: 768px) {
  .form-row {
    grid-template-columns: 1fr;
    gap: 25px;
  }
}

.form-group {
  position: relative;
  display: flex;
  flex-direction: column;
}

.form-group.full-width {
  grid-column: 1 / -1;
}

.form-group.full-width:has(#contactProgram) {
  position: relative;
  padding: 22px;
  background: linear-gradient(135deg, rgba(8, 43, 103, 0.04) 0%, rgba(20, 168, 255, 0.02) 100%);
  border-radius: 12px;
  margin-bottom: 5px;
  border: 2px dashed rgba(8, 43, 103, 0.15);
  box-shadow: inset 0 2px 6px rgba(8, 43, 103, 0.05);
}

.form-group.full-width:has(#contactProgram) label {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  color: #000000;
  font-weight: 700;
}

.form-group.full-width:has(#contactProgram) label::before {
  content: '⭐';
  font-size: 18px;
  animation: pulse 2s ease-in-out infinite;
}

#contactProgram {
  min-height: 50px;
  font-size: 16px;
  padding: 14px 16px !important;
  font-weight: 600;
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.7;
    transform: scale(1.1);
  }
}

.form-group label {
  font-size: 13px;
  font-weight: 700;
  color: #000000;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.7px;
  display: block;
}

.required {
  color: #ff0000;
  margin-left: 2px;
  font-weight: 800;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 14px 16px;
  border: 2px solid #e2e8f0;
  border-radius: 10px;
  font-size: 15px;
  font-family: inherit;
  color: #000000;
  background: #f8fafc;
  transition: all 0.3s ease;
  position: relative;
  z-index: 1;
  font-weight: 600;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  background: white;
  border-color: #000000;
  box-shadow: 0 0 0 4px rgba(0, 0, 0, 0.12);
  transform: translateY(-1px);
}

.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 12 12'%3E%3Cpath fill='%23000000' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 38px;
  cursor: pointer;
  font-weight: 600;
}

.form-select:focus {
  outline: none;
  background: white;
  border-color: #000000;
  box-shadow: 0 0 0 4px rgba(0, 0, 0, 0.15);
}

.form-select option {
  color: #000000;
  background: white;
  padding: 10px;
  margin: 5px 0;
}

.form-select option:hover {
  background: #000000;
  color: white;
}

.form-select option:checked {
  background: linear-gradient(#000000, #000000);
  background-color: #000000;
  color: white;
}

.form-textarea {
  min-height: 140px;
  resize: vertical;
  font-family: inherit;
}

.input-border {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 3px;
  background: #000000;
  border-radius: 2px;
  transition: width 0.3s ease;
  z-index: 0;
}

.form-input:focus ~ .input-border,
.form-select:focus ~ .input-border,
.form-textarea:focus ~ .input-border {
  width: 100%;
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: #666666;
  font-weight: 500;
}

.form-actions {
  margin-top: 35px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  padding-top: 25px;
  border-top: 2px solid #e2e8f0;
}

.submit-btn {
  width: 100%;
  padding: 16px 28px;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  color: white;
  background: #000000;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.submit-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
  background: #1a1a1a;
}

.submit-btn:active {
  transform: translateY(0);
}

.submit-btn i {
  font-size: 14px;
  transition: transform 0.3s ease;
}

.submit-btn:hover i {
  transform: translateX(3px);
}

.form-status {
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  margin: 0;
  min-height: 20px;
  animation: fadeIn 0.4s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.form-status.success {
  color: var(--success);
}

.form-status.error {
  color: var(--warning);
}

.form-status.loading {
  color: var(--accent);
}

/* ===== Simple Form Controls ===== */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

@media (max-width: 768px) {
  .form-row {
    grid-template-columns: 1fr;
    gap: 15px;
  }
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group.full-width {
  grid-column: 1 / -1;
}

.form-group label {
  font-size: 14px;
  font-weight: 700;
  color: #000000;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.required {
  color: #ff0000;
  font-weight: 800;
}

.form-control {
  padding: 14px 16px;
  border: 2px solid #e2e8f0;
  border-radius: 10px;
  font-size: 15px;
  font-family: inherit;
  font-weight: 600;
  color: #000000;
  background: #f8fafc;
  transition: all 0.3s ease;
}

.form-control::placeholder {
  color: #666666;
  font-weight: 500;
}

.form-control:focus {
  outline: none;
  background: white;
  border-color: #000000;
  box-shadow: 0 0 0 4px rgba(0, 0, 0, 0.12);
  transform: translateY(-1px);
}

select.form-control {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 12 12'%3E%3Cpath fill='%23000000' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 38px;
  cursor: pointer;
}

textarea.form-control {
  resize: vertical;
  min-height: 140px;
  font-family: inherit;
  line-height: 1.5;
}

.form-message {
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  margin: 10px 0 0 0;
  padding: 10px;
  border-radius: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  animation: fadeIn 0.4s ease;
}

.form-message.success {
  color: var(--success);
  background: rgba(16, 185, 129, 0.1);
}

.form-message.error {
  color: var(--warning);
  background: rgba(245, 158, 11, 0.1);
}

.form-message.loading {
  color: var(--primary);
  background: rgba(8, 43, 103, 0.1);
}

/* Form Card Styling */
.form-card {
  background: white;
  border-radius: 16px;
  padding: 50px;
  box-shadow: 0 8px 30px rgba(15, 23, 42, 0.12);
  border: 2px solid rgba(8, 43, 103, 0.05);
  position: relative;
  overflow: hidden;
}

.location-header {
  text-align: center;
  margin-bottom: 60px;
}

.location-header h2 {
  font-size: 42px;
  font-weight: 800;
  color: var(--primary);
  margin: 0 0 15px 0;
  letter-spacing: -0.5px;
}

.location-header p {
  font-size: 18px;
  color: var(--muted);
  margin: 0;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.location-wrapper {
  display: flex;
  justify-content: center;
  position: relative;
  padding: 30px;
  background: linear-gradient(135deg, rgba(8, 43, 103, 0.03) 0%, rgba(20, 168, 255, 0.02) 100%);
  border-radius: 16px;
  border: 2px solid rgba(8, 43, 103, 0.08);
}

.location-map {
  width: 100%;
  max-width: 900px;
  box-shadow: 0 12px 40px rgba(15, 23, 42, 0.15);
  border-radius: 12px;
  overflow: hidden;
}

.location-map iframe {
  box-shadow: 0 8px 32px rgba(8, 43, 103, 0.2);
  transition: transform 0.3s ease;
}

.location-map iframe:hover {
  transform: scale(1.01);
}

@media (max-width: 768px) {
  .location-section {
    padding: 60px 0;
  }
  
  .location-header h2 {
    font-size: 28px;
  }
  
  .location-wrapper {
    padding: 20px;
  }
  
  .location-map iframe {
    height: 350px !important;
  }
}

