/* ============================================================
   ASPEE NUTAN ACADEMY — Design System
   Premium Multi-Page School Website
   ============================================================ */

/* ── Google Fonts ── */
@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300;400;500;600;700&family=Plus+Jakarta+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400&family=Outfit:wght@300;400;500;600;700;800;900&display=swap');

/* ── CSS Variables ── */
:root {
  /* Primary Palette */
  --navy:        #2B3187;
  --navy-dark:   #1E2466;
  --navy-light:  #3D4AA8;
  --purple:      #9B4E9E;
  --purple-dark: #7A3A7D;
  --purple-light:#C584C8;
  --violet:      #B06BC4;
  --orange:      #F5831F;
  --orange-dark: #E06A0A;
  --orange-light:#FFB366;

  /* Neutrals */
  --dark:        #0D0C28;
  --dark-2:      #1A1935;
  --white:       #FFFFFF;
  --off-white:   #F8F7FF;
  --light:       #F3F2FF;
  --gray-50:     #FAFAFA;
  --gray-100:    #F4F4F5;
  --gray-200:    #E4E4E7;
  --gray-300:    #D1D5DB;
  --gray-400:    #9CA3AF;
  --gray-500:    #6B7280;
  --gray-600:    #4B5563;
  --gray-700:    #374151;
  --gray-800:    #1F2937;
  --gray-900:    #111827;

  /* Gradients */
  --grad-primary:   linear-gradient(135deg, #2B3187 0%, #9B4E9E 100%);
  --grad-hero:      linear-gradient(135deg, #0D0C28 0%, #2B3187 45%, #7A3A7D 100%);
  --grad-card:      linear-gradient(135deg, rgba(43,49,135,0.08) 0%, rgba(155,78,158,0.08) 100%);
  --grad-orange:    linear-gradient(135deg, #F5831F 0%, #E85D7A 100%);
  --grad-subtle:    linear-gradient(180deg, #F8F7FF 0%, #FFFFFF 100%);
  --grad-glow:      radial-gradient(ellipse 80% 60% at 50% 0%, rgba(155,78,158,0.15) 0%, transparent 70%);

  /* Shadows */
  --shadow-sm:   0 1px 3px rgba(43,49,135,0.08), 0 1px 2px rgba(43,49,135,0.04);
  --shadow-md:   0 4px 16px rgba(43,49,135,0.12), 0 2px 6px rgba(43,49,135,0.06);
  --shadow-lg:   0 10px 40px rgba(43,49,135,0.15), 0 4px 12px rgba(43,49,135,0.08);
  --shadow-xl:   0 20px 60px rgba(43,49,135,0.20), 0 8px 24px rgba(43,49,135,0.10);
  --shadow-glow: 0 0 40px rgba(155,78,158,0.3);
  --shadow-orange: 0 8px 30px rgba(245,131,31,0.35);

  /* Typography */
  --font-heading: 'Space Grotesk', sans-serif;
  --font-body:    'Plus Jakarta Sans', sans-serif;
  --font-accent:  'Outfit', sans-serif;

  /* Spacing */
  --space-xs:  0.25rem;
  --space-sm:  0.5rem;
  --space-md:  1rem;
  --space-lg:  1.5rem;
  --space-xl:  2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;
  --space-5xl: 8rem;

  /* Border Radius */
  --radius-sm:  0.5rem;
  --radius-md:  1rem;
  --radius-lg:  1.5rem;
  --radius-xl:  2rem;
  --radius-2xl: 3rem;
  --radius-full: 9999px;

  /* Transitions */
  --ease-out:    cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --duration-fast:   150ms;
  --duration-normal: 300ms;
  --duration-slow:   600ms;

  /* Z-Index */
  --z-base:    1;
  --z-above:   10;
  --z-modal:   100;
  --z-nav:     200;
  --z-overlay: 300;
  --z-top:     400;

  /* Nav height */
  --nav-height: 80px;
}

/* ── Reset & Base ── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth !important;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  background: var(--white);
  color: var(--gray-800);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body.lenis-smooth {
  scroll-behavior: auto;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

ul, ol {
  list-style: none;
}

/* ── Custom Cursor ── */
.cursor {
  position: fixed;
  width: 12px;
  height: 12px;
  background: var(--purple);
  border-radius: 50%;
  pointer-events: none;
  z-index: var(--z-top);
  transform: translate(-50%, -50%);
  transition: transform 0.1s, width 0.3s var(--ease-out), height 0.3s var(--ease-out), background 0.3s;
  mix-blend-mode: multiply;
}

.cursor-follower {
  position: fixed;
  width: 40px;
  height: 40px;
  border: 1.5px solid rgba(155,78,158,0.4);
  border-radius: 50%;
  pointer-events: none;
  z-index: var(--z-top);
  transform: translate(-50%, -50%);
  transition: transform 0.15s var(--ease-out), width 0.4s var(--ease-out), height 0.4s var(--ease-out);
}

.cursor.hover {
  width: 8px;
  height: 8px;
  background: var(--orange);
}

.cursor-follower.hover {
  width: 56px;
  height: 56px;
  border-color: rgba(245,131,31,0.3);
}

@media (max-width: 768px) {
  .cursor, .cursor-follower { display: none; }
}

/* ── Typography ── */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.1;
  color: var(--gray-900);
}

.display-xl {
  font-size: clamp(3rem, 7vw, 7rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 0.95;
}

.display-lg {
  font-size: clamp(2.5rem, 5.5vw, 5.5rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1;
}

.display-md {
  font-size: clamp(2rem, 4vw, 4rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.05;
}

.heading-xl {
  font-size: clamp(1.75rem, 3vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.heading-lg {
  font-size: clamp(1.5rem, 2.5vw, 2.5rem);
  font-weight: 600;
  letter-spacing: -0.015em;
}

.heading-md {
  font-size: clamp(1.25rem, 2vw, 1.875rem);
  font-weight: 600;
}

.body-lg {
  font-size: clamp(1rem, 1.25vw, 1.25rem);
  line-height: 1.7;
  color: var(--gray-600);
}

.body-md {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--gray-600);
}

.label {
  font-family: var(--font-accent);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* ── Layout ── */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 clamp(1rem, 5vw, 4rem);
}

.container-wide {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 clamp(1rem, 4vw, 3rem);
}

.container-narrow {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 clamp(1rem, 5vw, 4rem);
}

.section {
  padding: clamp(4rem, 8vw, 8rem) 0;
}

.section-sm {
  padding: clamp(3rem, 5vw, 5rem) 0;
}

/* ── Grid ── */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }

@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; }
}

/* ── Section Header ── */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.375rem 1rem;
  background: linear-gradient(135deg, rgba(43,49,135,0.08), rgba(155,78,158,0.08));
  border: 1px solid rgba(155,78,158,0.2);
  border-radius: var(--radius-full);
  font-family: var(--font-accent);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--purple);
  margin-bottom: 1.25rem;
}

.section-label::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--orange);
  border-radius: 50%;
  flex-shrink: 0;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3.5vw, 3.25rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--gray-900);
  margin-bottom: 1rem;
}

.section-title .highlight {
  background: var(--grad-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-subtitle {
  font-size: clamp(1rem, 1.25vw, 1.125rem);
  line-height: 1.7;
  color: var(--gray-500);
  max-width: 600px;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  transition: all 0.3s var(--ease-out);
  cursor: pointer;
  border: none;
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}

.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0);
  transition: background 0.3s;
}

.btn:hover::after {
  background: rgba(255,255,255,0.1);
}

.btn-primary {
  background: var(--grad-primary);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(43,49,135,0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(43,49,135,0.4);
}

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

.btn-orange {
  background: var(--orange);
  color: var(--white);
  box-shadow: var(--shadow-orange);
}

.btn-orange:hover {
  background: var(--orange-dark);
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(245,131,31,0.45);
}

.btn-ghost {
  background: rgb(159 0 0 / 46%);
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.25);
  backdrop-filter: blur(8px);
}

.btn-ghost:hover {
  background: rgba(255,255,255,0.2);
  border-color: rgba(255,255,255,0.4);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--navy);
  border: 2px solid var(--navy);
}

.btn-outline:hover {
  background: var(--navy);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 0.625rem 1.25rem;
  font-size: 0.875rem;
}

.btn-lg {
  padding: 1.125rem 2.5rem;
  font-size: 1.0625rem;
}

.btn-icon {
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  border-radius: 50%;
}

/* Magnetic button effect wrapper */
.magnetic {
  position: relative;
  display: inline-block;
}

/* ── Card ── */
.card {
  background: var(--white);
  border-radius: var(--radius-xl);
  border: 1px solid var(--gray-100);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
}

.card-glass {
  background: rgba(255,255,255,0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.5);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
}

.card-gradient {
  background: var(--grad-card);
  border: 1px solid rgba(155,78,158,0.12);
  border-radius: var(--radius-xl);
}

/* ── Badge ── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  font-family: var(--font-accent);
}

.badge-navy { background: rgba(43,49,135,0.1); color: var(--navy); }
.badge-purple { background: rgba(155,78,158,0.1); color: var(--purple); }
.badge-orange { background: rgba(245,131,31,0.1); color: var(--orange-dark); }
.badge-green { background: rgba(16,185,129,0.1); color: #059669; }

/* ── Tag ── */
.tag {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.625rem;
  background: var(--light);
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--navy);
}

/* ── Divider ── */
.divider {
  height: 1px;
  background: var(--gray-200);
  margin: 2rem 0;
}

.divider-gradient {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(155,78,158,0.3), transparent);
}

/* ── Navigation ── */

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  padding: 0 clamp(1rem, 4vw, 12px);
  max-width: 1440px;
  margin: 0 auto;
  padding-top:17px !important;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
  transition: transform 0.3s var(--ease-out);
}

.nav-logo:hover {
  transform: scale(1.02);
}

.nav-logo img {
  height: 59px;
  width: auto;
  transition: height 0.4s var(--ease-out);
}

.scrolled .nav-logo img {
  height: 52px !important;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.5rem 0.875rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--white);
  border-radius: var(--radius-sm);
  transition: all 0.2s;
  white-space: nowrap;
  position: relative;
}

.scrolled .nav-link {
  color: var(--gray-700);
}

.nav-link:hover {
  background: rgba(255,255,255,0.15);
  color: var(--white);
}

.scrolled .nav-link:hover {
  background: var(--light);
  color: var(--navy);
}

.nav-link svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  transition: transform 0.2s;
}

.nav-link:hover svg,
.nav-link.active svg {
  transform: rotate(180deg);
}

/* Dropdown */
.nav-dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 0.5rem);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-100);
  box-shadow: var(--shadow-xl);
  padding: 0.5rem;
  min-width: 220px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s var(--ease-out);
  z-index: 10;
}

.dropdown-menu.mega {
  min-width: 680px;
  padding: 1.5rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
}

.nav-dropdown:hover .dropdown-menu,
.dropdown-menu:hover {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.dropdown-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.625rem 0.875rem;
  border-radius: var(--radius-md);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--gray-700);
  transition: all 0.2s;
}

.dropdown-item:hover {
  background: var(--light);
  color: var(--navy);
  transform: translateX(3px);
}

.dropdown-item-icon {
  width: 32px;
  height: 32px;
  background: var(--grad-card);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--purple);
  font-size: 0.875rem;
}

.dropdown-group-title {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gray-400);
  padding: 0.5rem 0.875rem 0.25rem;
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

/* Mobile Nav Toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all 0.3s;
}

.scrolled .nav-toggle span {
  background: var(--gray-700);
}

.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: min(380px, 100vw);
  height: 100vh;
  background: var(--white);
  z-index: var(--z-overlay);
  transform: translateX(100%);
  transition: transform 0.4s var(--ease-out);
  overflow-y: auto;
  box-shadow: -10px 0 40px rgba(43,49,135,0.15);
}

.mobile-menu.open {
  transform: translateX(0);
}

.mobile-menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(13,12,40,0.6);
  backdrop-filter: blur(4px);
  z-index: calc(var(--z-overlay) - 1);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
}

.mobile-menu-overlay.open {
  opacity: 1;
  visibility: visible;
}

.mobile-menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--gray-100);
}

.mobile-menu-close {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--gray-100);
  color: var(--gray-700);
  transition: background 0.2s;
}

.mobile-menu-close:hover {
  background: var(--gray-200);
}

.mobile-nav-links {
  padding: 1rem;
}

.mobile-nav-item {
  border-radius: var(--radius-md);
  overflow: hidden;
}

.mobile-nav-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.875rem 1rem;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--gray-700);
  border-radius: var(--radius-md);
  transition: all 0.2s;
}

.mobile-nav-link:hover {
  background: var(--light);
  color: var(--navy);
}

.mobile-dropdown {
  padding: 0.25rem 0 0.5rem 1.5rem;
  display: none;
}

.mobile-dropdown.open {
  display: block;
}

.mobile-dropdown-link {
  display: block;
  padding: 0.5rem 0.75rem;
  font-size: 0.875rem;
  color: var(--gray-600);
  border-radius: var(--radius-sm);
  transition: all 0.2s;
}

.mobile-dropdown-link:hover {
  color: var(--navy);
  background: var(--light);
}

.mobile-cta {
  padding: 1rem 1.5rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

/* ── Footer ── */
.footer {
  background: var(--dark);
  color: rgba(255,255,255,0.7);
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(155,78,158,0.5), transparent);
}

.footer-top {
  padding: 5rem 0 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
}

.footer-brand {}

.footer-logo {
  margin-bottom: 1.25rem;
  
  opacity: 0.9;
  height: 48px;
  width: auto;
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.55);
  max-width: 320px;
  margin-bottom: 1.5rem;
  text-align:justify !important;
}

.footer-social {
  display: flex;
  gap: 0.75rem;
}

.social-btn {
  width: 38px;
  height: 38px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.6);
  font-size: 0.875rem;
  transition: all 0.3s;
}

.social-btn:hover {
  background: var(--purple);
  border-color: var(--purple);
  color: var(--white);
  transform: translateY(-3px);
}

.footer-col {}

.footer-title {
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-link {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.5);
  transition: all 0.2s;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-link:hover {
  color: var(--white);
  transform: translateX(4px);
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1rem;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.5);
}

.footer-contact-icon {
  width: 32px;
  height: 32px;
  background: rgba(155,78,158,0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--purple-light);
  font-size: 0.8125rem;
}

.footer-newsletter {
  margin-top: 1.25rem;
}

.footer-newsletter p {
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.45);
  margin-bottom: 0.75rem;
}

.newsletter-form {
  display: flex;
  gap: 0.5rem;
}

.newsletter-input {
  flex: 1;
  padding: 0.625rem 1rem;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  color: var(--white);
  outline: none;
  transition: border-color 0.2s;
  font-family: var(--font-body);
}

.newsletter-input::placeholder {
  color: rgba(255,255,255,0.3);
}

.newsletter-input:focus {
  border-color: rgba(155,78,158,0.4);
}

.newsletter-btn {
  padding: 0.625rem 1.25rem;
  background: var(--purple);
  color: var(--white);
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 600;
  transition: background 0.2s, transform 0.2s;
  white-space: nowrap;
}

.newsletter-btn:hover {
  background: var(--purple-dark);
  transform: scale(1.04);
}

.footer-bottom {
  padding: 1.5rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-copyright {
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.35);
}

.footer-bottom-links {
  display: flex;
  gap: 1.5rem;
}

.footer-bottom-link {
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.35);
  transition: color 0.2s;
}

.footer-bottom-link:hover {
  color: rgba(255,255,255,0.7);
}

/* Map embed */
.footer-map {
  margin-top: 2rem;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.08);
}

.footer-map iframe {
  width: 100%;
  height: 200px;
  display: block;
  filter: grayscale(20%) invert(90%) hue-rotate(180deg);
  opacity: 0.7;
}

@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}
@media (max-width: 640px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

/* ── Floating Elements ── */
.floating-whatsapp {
  position: fixed;
  bottom: 6rem;
  right: 1.5rem;
  width: 52px;
  height: 52px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.375rem;
  z-index: var(--z-nav);
  box-shadow: 0 4px 20px rgba(37,211,102,0.4);
  transition: all 0.3s var(--ease-spring);
  animation: float 3s ease-in-out infinite;
}

.floating-whatsapp:hover {
  transform: scale(1.15);
  box-shadow: 0 8px 30px rgba(37,211,102,0.5);
}

.back-to-top {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  width: 44px;
  height: 44px;
  background: var(--grad-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 0.875rem;
  z-index: var(--z-nav);
  box-shadow: var(--shadow-md);
  transition: all 0.3s var(--ease-out);
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
}

.back-to-top.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.back-to-top:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.sticky-admission {
  position: fixed;
  top: 45%;
  right: 20px;
  transform: translateY(-50%) rotate(90deg) translateX(50%);
  transform-origin: right center;
  background: var(--orange);
  color: var(--white);
  padding: 0.5rem 1.25rem;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: var(--radius-md) var(--radius-md) 0 0;
  z-index: var(--z-nav);
  box-shadow: -4px 0 20px rgba(245,131,31,0.3);
  transition: all 0.3s;
  white-space: nowrap;
  writing-mode: horizontal-tb;
}

.sticky-admission:hover {
  background: var(--orange-dark);
  padding-right: 1.75rem;
}

.sticky-careers {
  position: fixed;
  top: calc(45% + 128px);
  right: 20px;
  transform: translateY(-50%) rotate(90deg) translateX(50%);
  transform-origin: right center;
  background: var(--navy);
  color: var(--white);
  padding: 0.5rem 1.25rem;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: var(--radius-md) var(--radius-md) 0 0;
  z-index: var(--z-nav);
  box-shadow: -4px 0 20px rgba(43,49,135,0.3);
  transition: all 0.3s;
  white-space: nowrap;
  writing-mode: horizontal-tb;
}

.sticky-careers:hover {
  background: var(--navy-dark, #1e2456);
  padding-right: 1.75rem;
}

/* ── Page Hero (inner pages) ── */
.page-hero {
  min-height: 50vh;
  display: flex;
  align-items: flex-end;
  padding-bottom: 4rem;
  background: var(--grad-hero);
  position: relative;
  overflow: hidden;
  padding-top: var(--nav-height);
}

.page-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(13, 12, 40, 0.65);
}

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

.page-hero-breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.5);
  margin-bottom: 1rem;
}

.page-hero-breadcrumb a:hover {
  color: rgba(255,255,255,0.8);
}

.page-hero-breadcrumb span {
  opacity: 0.4;
}

.page-hero h1 {
  font-size: clamp(2.5rem, 64px, 4.5rem);
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.025em;
  line-height: 1;
  margin-bottom: 1rem;
}

.page-hero p {
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  color: rgba(255,255,255,0.65);
  max-width: 600px;
  line-height: 1.6;
}

/* ── Stat Counter ── */
.stat-item {
  text-align: center;
  padding: 2rem;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  line-height: 1;
  background: var(--grad-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.9rem;
  color: var(--gray-500);
  font-weight: 500;
}

/* ── Tabs ── */
.tabs {
  display: flex;
  gap: 0.25rem;
  background: var(--gray-100);
  padding: 0.25rem;
  border-radius: var(--radius-full);
  width: fit-content;
}

.tab-btn {
  padding: 0.625rem 1.5rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--gray-600);
  border-radius: var(--radius-full);
  transition: all 0.3s;
}

.tab-btn.active {
  background: var(--white);
  color: var(--navy);
  box-shadow: var(--shadow-sm);
  font-weight: 600;
}

.tab-btn:hover:not(.active) {
  color: var(--navy);
}

.tab-pane {
  display: none;
}

.tab-pane.active {
  display: block;
  animation: fadeIn 0.4s ease;
}

/* ── Accordion ── */
.accordion-item {
  border-bottom: 1px solid var(--gray-200);
}

.accordion-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 1.25rem 0;
  font-size: 1rem;
  font-weight: 600;
  color: var(--gray-800);
  text-align: left;
  transition: color 0.2s;
}

.accordion-trigger:hover {
  color: var(--navy);
}

.accordion-trigger.open {
  color: var(--navy);
}

.accordion-icon {
  width: 28px;
  height: 28px;
  background: var(--light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.3s;
  color: var(--navy);
}

.accordion-trigger.open .accordion-icon {
  background: var(--grad-primary);
  color: white;
  transform: rotate(180deg);
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease-out);
}

.accordion-body {
  padding-bottom: 1.25rem;
  font-size: 0.9375rem;
  color: var(--gray-500);
  line-height: 1.7;
}

/* ── Timeline ── */
.timeline {
  position: relative;
  padding-left: 2rem;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--navy), var(--purple), transparent);
}

.timeline-item {
  position: relative;
  padding-bottom: 2.5rem;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -2.5rem;
  top: 0.25rem;
  width: 12px;
  height: 12px;
  background: var(--purple);
  border-radius: 50%;
  border: 2px solid var(--white);
  box-shadow: 0 0 0 3px rgba(155,78,158,0.2);
}

.timeline-year {
  font-family: var(--font-accent);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 0.375rem;
}

.timeline-title {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--gray-800);
  margin-bottom: 0.5rem;
}

.timeline-body {
  font-size: 0.9rem;
  color: var(--gray-500);
  line-height: 1.6;
}

/* ── Progress Ring ── */
.progress-ring {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.progress-ring svg {
  transform: rotate(-90deg);
}

.progress-ring circle {
  stroke-dasharray: 314;
  stroke-dashoffset: 314;
  transition: stroke-dashoffset 1.5s var(--ease-out);
}

.progress-ring-label {
  position: absolute;
  text-align: center;
}

/* ── Image Layouts ── */
.img-rounded {
  border-radius: var(--radius-xl);
  overflow: hidden;
}

.img-blob {
  border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
}

.masonry {
  columns: 3;
  column-gap: 1rem;
}

.masonry-item {
  break-inside: avoid;
  margin-bottom: 1rem;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

@media (max-width: 768px) {
  .masonry { columns: 2; }
}
@media (max-width: 480px) {
  .masonry { columns: 1; }
}

/* ── Swiper Overrides ── */
.swiper-button-next,
.swiper-button-prev {
  width: 48px !important;
  height: 48px !important;
  background: var(--white) !important;
  border-radius: 50% !important;
  box-shadow: var(--shadow-md) !important;
  color: var(--navy) !important;
}

.swiper-button-next::after,
.swiper-button-prev::after {
  font-size: 0.875rem !important;
  font-weight: 900 !important;
}

.swiper-pagination-bullet {
  background: var(--navy) !important;
  opacity: 0.3 !important;
  width: 8px !important;
  height: 8px !important;
}

.swiper-pagination-bullet-active {
  opacity: 1 !important;
  width: 24px !important;
  border-radius: 4px !important;
}

/* ── Form ── */
.form-group {
  margin-bottom: 1.25rem;
}

.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--gray-700);
  margin-bottom: 0.5rem;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  background: var(--white);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-md);
  font-size: 0.9375rem;
  color: var(--gray-800);
  font-family: var(--font-body);
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--purple);
  box-shadow: 0 0 0 3px rgba(155,78,158,0.1);
}

.form-textarea {
  min-height: 120px;
  resize: vertical;
}

/* ── Animations ── */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-8px); }
}

@keyframes pulse-ring {
  0%   { transform: scale(1); opacity: 0.6; }
  100% { transform: scale(1.5); opacity: 0; }
}

@keyframes shimmer {
  from { background-position: -200% center; }
  to   { background-position:  200% center; }
}

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

@keyframes gradientShift {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes slideInLeft {
  from { opacity: 0; transform: translateX(-40px); }
  to   { opacity: 1; transform: translateX(0); }
}

@keyframes slideInRight {
  from { opacity: 0; transform: translateX(40px); }
  to   { opacity: 1; transform: translateX(0); }
}

@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.9); }
  to   { opacity: 1; transform: scale(1); }
}

@keyframes blurReveal {
  from { opacity: 0; filter: blur(10px); transform: translateY(20px); }
  to   { opacity: 1; filter: blur(0); transform: translateY(0); }
}

/* Reveal classes (used by GSAP) */
.reveal {
  opacity: 0;
  transform: translateY(40px);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
}

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.9);
}

.reveal-blur {
  opacity: 0;
  filter: blur(10px);
}

/* ── Gradient Text ── */
.gradient-text {
  background: var(--grad-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.gradient-text-orange {
  background: var(--grad-orange);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Glass Card ── */
.glass {
  background: rgba(255,255,255,0.75);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.6);
  border-radius: var(--radius-xl);
}

.glass-dark {
  background: rgba(13,12,40,0.5);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-xl);
}

/* ── Noise texture ── */
.noise::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  opacity: 0.04;
  pointer-events: none;
}

/* ── Responsive Helpers ── */
@media (max-width: 1024px) {
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: flex; }
}

@media (max-width: 768px) {
  :root {
    --nav-height: 68px;
  }
}

/* ── Loading Screen ── */
#loading-screen {
  position: fixed;
  inset: 0;
  background: var(--dark);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 2rem;
  transition: opacity 0.6s, visibility 0.6s;
}

#loading-screen.hidden {
  opacity: 0;
  visibility: hidden;
}

.loader-logo {
  height: 60px;
  width: auto;
  
  animation: float 2s ease-in-out infinite;
}

.loader-bar-track {
  width: 200px;
  height: 2px;
  background: rgba(255,255,255,0.1);
  border-radius: 2px;
  overflow: hidden;
}

.loader-bar {
  height: 100%;
  background: var(--grad-primary);
  border-radius: 2px;
  animation: loaderProgress 1.8s var(--ease-out) forwards;
}

@keyframes loaderProgress {
  from { width: 0; }
  to   { width: 100%; }
}

.loader-text {
  font-family: var(--font-accent);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  color: rgba(255,255,255,0.4);
  text-transform: uppercase;
}

/* ── Highlight / Chip ── */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.25rem 0.75rem;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  color: rgba(255,255,255,0.8);
  backdrop-filter: blur(8px);
}

/* ── Responsive nav ── */
@media (max-width: 1280px) {
  .nav-link {
    padding: 0.5rem 0.625rem;
    font-size: 0.85rem;
  }
}

/* ── Utilities ── */
.text-center { text-align: center; }
.text-right  { text-align: right; }
.flex        { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between{ display: flex; align-items: center; justify-content: space-between; }
.flex-col    { display: flex; flex-direction: column; }
.gap-sm      { gap: 0.5rem; }
.gap-md      { gap: 1rem; }
.gap-lg      { gap: 1.5rem; }
.gap-xl      { gap: 2rem; }
.mt-sm { margin-top: 0.5rem; }
.mt-md { margin-top: 1rem; }
.mt-lg { margin-top: 1.5rem; }
.mt-xl { margin-top: 2rem; }
.mb-sm { margin-bottom: 0.5rem; }
.mb-md { margin-bottom: 1rem; }
.mb-lg { margin-bottom: 1.5rem; }
.mb-xl { margin-bottom: 2rem; }
.w-full  { width: 100%; }
.relative { position: relative; }
.overflow-hidden { overflow: hidden; }

/* ── Announcement bar ── */
.announcement-bar {
  background: var(--grad-primary);
  color: var(--white);
  text-align: center;
  padding: 0.5rem;
  font-size: 0.8125rem;
  font-weight: 500;
  position: relative;
  z-index: calc(var(--z-nav) + 1);
}

.announcement-bar a {
  color: var(--orange-light);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ── Premium image placeholder (for demo) ── */
.img-placeholder {
  background: var(--grad-card);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--purple-light);
  font-size: 2rem;
  aspect-ratio: 16/9;
}

/* ── Affiliation Badges ── */
.affiliation-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 5px 7px;
  background: rgba(21, 25, 84, 0.95);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--radius-full);
  font-size: 0.8125rem;
  font-weight: 600;
  color: rgba(255,255,255,0.85);
  backdrop-filter: blur(8px);
}

/* ═══════════════════════════════════════════════════════════════
   CUSTOM SCROLLBAR
   ═══════════════════════════════════════════════════════════════ */
::-webkit-scrollbar              { width: 5px; height: 5px; }
::-webkit-scrollbar-track        { background: transparent; }
::-webkit-scrollbar-thumb        { background: linear-gradient(180deg,#2B3187,#9B4E9E); border-radius: 99px; }
::-webkit-scrollbar-thumb:hover  { background: linear-gradient(180deg,#1E2466,#7A3A7D); }
::-webkit-scrollbar-corner       { background: transparent; }

/* ── Horizontal card scroller ── */
.h-scroll {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  padding-bottom: 1.25rem;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  cursor: grab;
  user-select: none;
}
.h-scroll:active { cursor: grabbing; }
.h-scroll > * {
  flex-shrink: 0;
  scroll-snap-align: start;
}
.h-scroll::-webkit-scrollbar        { height: 3px; }
.h-scroll::-webkit-scrollbar-track  { background: var(--gray-100); border-radius: 2px; }
.h-scroll::-webkit-scrollbar-thumb  { background: var(--grad-primary); border-radius: 2px; }

/* ═══════════════════════════════════════════════════════════════
   BACKGROUND STRUCTURE PATTERNS
   ═══════════════════════════════════════════════════════════════ */

/* Dot grid */
.bg-dots { position: relative; }
.bg-dots::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(43,49,135,0.09) 1.5px, transparent 1.5px);
  background-size: 28px 28px;
  pointer-events: none;
  z-index: 0;
}
.bg-dots > * { position: relative; z-index: 1; }

/* Fine grid lines */
.bg-grid { position: relative; }
.bg-grid::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(43,49,135,0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(43,49,135,0.055) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
  z-index: 0;
}
.bg-grid > * { position: relative; z-index: 1; }

/* Cross / plus pattern */
.bg-cross { position: relative; }
.bg-cross::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='32' height='32' viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none'%3E%3Cpath d='M16 12v8M12 16h8' stroke='%232B3187' stroke-width='1' stroke-opacity='0.08' stroke-linecap='round'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 32px 32px;
  pointer-events: none;
  z-index: 0;
}
.bg-cross > * { position: relative; z-index: 1; }

/* Diagonal lines */
.bg-diagonal { position: relative; }
.bg-diagonal::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    -45deg,
    transparent, transparent 20px,
    rgba(43,49,135,0.04) 20px, rgba(43,49,135,0.04) 21px
  );
  pointer-events: none;
  z-index: 0;
}
.bg-diagonal > * { position: relative; z-index: 1; }

/* Hexagon mesh */
.bg-hex { position: relative; }
.bg-hex::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='56' height='100' viewBox='0 0 56 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M28 66L0 50V18L28 2l28 16v32L28 66zM28 100L0 84V52l28 16 28-16v32L28 100z' fill='none' stroke='%232B3187' stroke-width='1' stroke-opacity='0.07'/%3E%3C/svg%3E");
  background-size: 56px 100px;
  pointer-events: none;
  z-index: 0;
}
.bg-hex > * { position: relative; z-index: 1; }

/* White-dot pattern for dark sections */
.bg-dots-dark { position: relative; }
.bg-dots-dark::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.07) 1.5px, transparent 1.5px);
  background-size: 28px 28px;
  pointer-events: none;
  z-index: 0;
}
.bg-dots-dark > * { position: relative; z-index: 1; }

/* Floating decorative blobs */
.bg-blobs { position: relative; overflow: hidden; }
.bg-blobs::before, .bg-blobs::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(80px);
  z-index: 0;
}
.bg-blobs::before {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(155,78,158,0.12) 0%, transparent 70%);
  top: -150px; right: -150px;
}
.bg-blobs::after {
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(43,49,135,0.10) 0%, transparent 70%);
  bottom: -100px; left: -100px;
}
.bg-blobs > * { position: relative; z-index: 1; }

/* Warm blob variant (self-contained — no need for bg-blobs base class) */
.bg-blobs-warm { position: relative; overflow: hidden; }
.bg-blobs-warm::before, .bg-blobs-warm::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(80px);
  z-index: 0;
}
.bg-blobs-warm::before {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(245,131,31,0.10) 0%, transparent 70%);
  top: -100px; left: 30%;
}
.bg-blobs-warm::after {
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(155,78,158,0.08) 0%, transparent 70%);
  bottom: -120px; right: 10%;
}
.bg-blobs-warm > * { position: relative; z-index: 1; }

@media (max-width: 768px) {
  .nav-logo img {
    width: 130px;
    height: auto;
  }
}
@media (max-width: 640px) {
  .hero-headline {
    font-size: 2.25rem !important;
    line-height: 1.15 !important;
  }
  .hero-cta .btn-lg {
    padding: 9px 18px;
    font-size: 0.9375rem;
  }
  .hero-sub{
    font-size: 15px !important;
    text-align: justify;
  }
  .mobile-dropdown-group-title{
    font-size: 14px !important;
    font-weight: bold;
    margin: 11px 11px 11px 0px !important;
  }
}

.dropdown-programs-col + .dropdown-programs-col {
  /*border-left: 1px solid var(--gray-100);*/
  padding-left: 1.5rem;
}

@media (max-width: 1200px) {
  .dropdown-menu.dropdown-programs {
    min-width: 420px;
  }
}

.dropdown-menu.dropdown-programs {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  flex-direction: unset !important;
  gap: 0.25rem 1.5rem;
  min-width: 480px;
  padding: 1rem;
}

.dropdown-programs-col {
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
}

.dropdown-programs-col + .dropdown-programs-col {
  padding-left: 1.5rem;
}

.dropdown-programs-col .dropdown-section-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.25rem 0.75rem 0.75rem;
  margin-bottom: 0.375rem;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--gray-100);
  color: var(--navy);
}

.dropdown-programs-col .dropdown-section-header svg {
  color: var(--navy);
}

@media (max-width: 1200px) {
  .dropdown-menu.dropdown-programs {
    min-width: 420px;
  }
}

#navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: var(--z-nav);
    min-height: var(--nav-height);
    height: auto;
    transition: all 0.4s var(--ease-out);
}

#navbar.transparent {
    background: transparent;
}

#navbar.scrolled {
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-bottom: 1px solid rgba(43,49,135,0.08);
    box-shadow: 0 2px 20px rgba(43,49,135,0.08);
    min-height: 68px;
}

/* ── Navbar restructure: logo+text left, contact block, menu right ── */
.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 0.5rem !important;
    padding-bottom: 0.5rem;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    text-decoration: none;
}

/* Logo scales proportionally to match the two-line text block height */
.nav-brand img {
    height: 78px;
    width: 161px;
    object-fit: contain;
    flex-shrink: 0;
}

.nav-brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.nav-brand-name {
    font-family: var(--font-heading);
    font-size: 1.0625rem;
    font-weight: 700;
    color: var(--gray-900);
    white-space: nowrap;
}

#navbar.transparent .nav-brand-name {
    color: white;
}

.nav-brand-tagline {
    font-size: 0.6875rem;
    color: var(--gray-500);
    margin-top: 0.125rem;
    white-space: nowrap;
}

#navbar.transparent .nav-brand-tagline {
    color: rgba(255,255,255,0.65);
}

/* ── Inline nav contact block (replaces the old utility strip) ── */
.nav-contact {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    margin-left: 6px !important;
    padding-left: 17px !important;
    border-left: 1px solid rgba(0,0,0,0.08);
}

#navbar.transparent .nav-contact {
    border-left-color: rgba(255,255,255,0.25);
}

.nav-contact-whatsapp {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #25D366;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
    transition: transform .2s;
}

.nav-contact-whatsapp:hover {
    transform: scale(1.08);
}

.nav-contact-whatsapp svg {
    width: 16px;
    height: 16px;
}

.nav-contact-numbers {
    display: flex;
    flex-direction: column;
    line-height: 1.35;
}

.nav-contact-phone {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--gray-700, #374151);
    text-decoration: none;
    white-space: nowrap;
    transition: color .2s;
}

.nav-contact-phone:hover {
    color: var(--orange);
}

#navbar.transparent .nav-contact-phone {
    color: rgba(255,255,255,0.85);
}

#navbar.transparent .nav-contact-phone:hover {
    color: white;
}

/* Hide inline contact block once space gets tight, before the mobile menu kicks in */
@media (max-width: 1250px) {
    .nav-brand-tagline {
        font-size: 0.5625rem; 
    }
    .nav-contact {
        display: none;
    }
}

.nav-links {
    margin-left: 8px !important;
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    gap: 0.25rem;
}

.nav-links .nav-link {
    white-space: nowrap;
}

@media (max-width: 1150px) {
    .nav-links {
        display: none;
    }
    .nav-toggle {
        display: flex;
    }
}

@media (max-width: 640px) {
    .nav-brand img {
        height: 36px;
        width: auto;
    }
    .nav-brand-name {
        font-size: 0.9375rem;
    }
}

/* ── Mobile menu contact block (WhatsApp + numbers) ── */
.mobile-menu-contact {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid rgba(0,0,0,0.08);
}

.mobile-contact-whatsapp {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #25D366;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
}

.mobile-contact-whatsapp svg {
    width: 18px;
    height: 18px;
}

.mobile-contact-numbers {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.mobile-contact-numbers a {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--gray-800, #1f2937);
    text-decoration: none;
}

.mobile-menu-contact {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0.5rem 1.25rem 0.75rem;
    padding: 0.7rem 0.875rem;
    background: var(--bg-success, #eaf3de);
    border-radius: 10px;
}

.mobile-contact-whatsapp {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #25D366;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
}

.mobile-contact-whatsapp svg {
    width: 15px;
    height: 15px;
}

.mobile-contact-numbers {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.mobile-contact-numbers a {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--gray-800, #1f2937);
    text-decoration: none;
}





.hero-gradient-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
}

.hero-bg-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.hero-gradient-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(13, 12, 40, 0.65);
  z-index: 1;
}

@media (max-width: 768px) {
  .hero-bg-video {
    object-position: 60% center;
  }
}

