/* ============================================================
   PDEA PORTAL — FULL EXTERNAL CSS (No Tailwind)
   ============================================================ */

/* --- Google Fonts Import --- */
@import url("https://fonts.googleapis.com/css2?family=Lexend:wght@400;600;700;800&family=Inter:wght@300;400;500;600;700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:wght,FILL@100..700,0..1&display=swap");


/* ============================================================
   CSS CUSTOM PROPERTIES (Design Tokens)
   ============================================================ */
:root {
  /* Colors */
  --color-surface:                    #faf9fc;
  --color-surface-dim:                #dad9dd;
  --color-surface-bright:             #faf9fc;
  --color-surface-container-lowest:   #ffffff;
  --color-surface-container-low:      #f4f3f7;
  --color-surface-container:          #efedf1;
  --color-surface-container-high:     #e9e7eb;
  --color-surface-container-highest:  #e3e2e6;
  --color-on-surface:                 #1a1c1e;
  --color-on-surface-variant:         #43474e;
  --color-inverse-surface:            #2f3033;
  --color-inverse-on-surface:         #f1f0f4;
  --color-outline:                    #74777f;
  --color-outline-variant:            #c4c6cf;
  --color-surface-tint:               #455f87;

  --color-primary:                    #001835;
  --color-on-primary:                 #ffffff;
  --color-primary-container:          #0f2d52;
  --color-on-primary-container:       #7b95c0;
  --color-inverse-primary:            #adc8f5;

  --color-secondary:                  #235eac;
  --color-on-secondary:               #ffffff;
  --color-secondary-container:        #7aacff;
  --color-on-secondary-container:     #003e80;
  --color-secondary-fixed:            #d6e3ff;
  --color-secondary-fixed-dim:        #aac7ff;
  --color-on-secondary-fixed:         #001b3e;
  --color-on-secondary-fixed-variant: #00458d;

  --color-tertiary:                   #291300;
  --color-on-tertiary:                #ffffff;
  --color-tertiary-container:         #472400;
  --color-on-tertiary-container:      #bf895b;
  --color-tertiary-fixed:             #ffdcc1;
  --color-tertiary-fixed-dim:         #f6ba88;
  --color-on-tertiary-fixed:          #2e1500;
  --color-on-tertiary-fixed-variant:  #663d16;

  --color-error:                      #ba1a1a;
  --color-on-error:                   #ffffff;
  --color-error-container:            #ffdad6;
  --color-on-error-container:         #93000a;

  --color-background:                 #faf9fc;
  --color-on-background:              #1a1c1e;
  --color-surface-variant:            #e3e2e6;
  --color-primary-fixed:              #d5e3ff;
  --color-primary-fixed-dim:          #adc8f5;
  --color-on-primary-fixed:           #001b3b;
  --color-on-primary-fixed-variant:   #2d476e;

  /* Typography */
  --font-headline: "Lexend", sans-serif;
  --font-body:     "Inter", sans-serif;

  /* Spacing */
  --container-max:   1280px;
  --gutter:          24px;
  --margin-desktop:  64px;
  --margin-mobile:   20px;
  --base:            8px;
}

/* ============================================================
   KEYFRAME ANIMATIONS
   ============================================================ */
@keyframes fadeInUp {
  0%   { opacity: 0; transform: translateY(20px); }
  100% { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  0%   { opacity: 0; }
  100% { opacity: 1; }
}

@keyframes slideLeft {
  0%   { opacity: 0; transform: translateX(20px); }
  100% { opacity: 1; transform: translateX(0); }
}

@keyframes carouselProgress {
  0%   { width: 0%; }
  100% { width: 100%; }
}


/* ============================================================
   BASE / RESET
   ============================================================ */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--color-background);
  color: var(--color-on-background);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  font-weight: 400;
  transition: background-color 0.3s, color 0.3s;
  overflow-x: hidden;
  /* No global padding-top — each page type handles offset
     differently. Non-hero pages use padding-top on <main>.
     Hero section is intentionally full-bleed under the header. */
  padding-top: 0;
}

/* Non-hero pages: push content below the fixed header.
   Apply .page-body to <body> on non-index pages, OR add
   padding-top directly to the first <section> on those pages. */
.page-body {
  padding-top: 130px;
}

/* Hero section sits flush under the transparent header */
.hero-section {
  margin-top: 0;
}

a      { text-decoration: none; color: inherit; }
ul     { list-style: none; }
img    { display: block; max-width: 100%; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }


/* ============================================================
   UTILITY CLASSES
   ============================================================ */
.glass-panel {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}
.dark .glass-panel {
  background: rgba(0, 24, 53, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.elite-shadow {
  box-shadow: 0 10px 30px -10px rgba(0, 24, 53, 0.1);
}

.hide-scrollbar::-webkit-scrollbar { display: none; }
.hide-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.reveal-on-scroll {
  opacity: 1;
  transform: none;
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal-on-scroll.active {
  opacity: 1;
  transform: translateY(0) !important;
  animation: fadeInUp 0.8s ease-out forwards;
}

.animate-fade-in-up {
  animation: fadeInUp 0.8s ease-out forwards;
}


/* ============================================================
   LAYOUT HELPERS
   ============================================================ */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--margin-desktop);
  padding-right: var(--margin-desktop);
}


/* ============================================================
   CAROUSEL STYLES
   ============================================================
   IMPORTANT: .carousel-item base rule uses visibility:hidden
   instead of display:none so that position:absolute items
   inside #hero-carousel (which has position:absolute; inset:0)
   don't collapse the parent height. display:none on absolute
   children is fine but visibility keeps layout intact.
   ============================================================ */
.carousel-item {
  display: none;       /* hidden by default */
  transition: opacity 1s ease-in-out;
}
/* When JS / PHP adds .active, show the slide */
.carousel-item.active {
  display: block;
  animation: fadeIn 1s ease-in-out;
}
/* Inside #hero-carousel the items are absolutely positioned —
   ensure they always fill the container even before JS runs */
#hero-carousel .carousel-item {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: none;       /* still hidden until active */
}
#hero-carousel .carousel-item.active {
  display: block;
}
.carousel-overlay {
  background: linear-gradient(
    to bottom,
    rgba(0, 24, 53, 0.4) 0%,
    rgba(0, 24, 53, 0.8) 100%
  );
}


/* ============================================================
   MOBILE MENU
   ============================================================ */
#mobile-menu {
  transform: translateX(100%);
  transition: transform 0.3s ease-in-out;
}
#mobile-menu.open {
  transform: translateX(0);
}


/* ============================================================
   HEADER / NAVIGATION
   ============================================================ */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 50;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Row 1: Logo bar */
.header-top {
  background-color: #ffffff;
  border-bottom: 1px solid rgba(196, 198, 207, 0.3);
}
.dark .header-top {
  background-color: var(--color-surface-container-lowest);
}

.header-top-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 0 var(--margin-desktop);
  max-width: var(--container-max);
  margin: 0 auto;
  height: 80px;
}

/* Logo group */
.logo-group {
  display: flex;
  align-items: center;
  gap: 12px;
}
.logo-group img {
  height: 64px;
  width: auto;
  object-fit: contain;
  flex-shrink: 0;
}
.logo-text {
  display: flex;
  flex-direction: column;
}
.logo-name-marathi {
  font-family: var(--font-headline);
  font-size: 20px;
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1.2;
}
.dark .logo-name-marathi {
  color: var(--color-on-surface);
}
.logo-name-english {
  font-size: 12px;
  font-weight: 700;
  color: var(--color-secondary);
}
.dark .logo-name-english {
  color: var(--color-secondary-fixed);
}
.logo-address {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 10px;
  color: var(--color-on-surface-variant);
  margin-top: 2px;
}
.logo-address .material-symbols-outlined {
  font-size: 13px !important;
  color: #ef4444;
}

/* Header right actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.btn-erp-login {
  display: flex;
  align-items: center;
  gap: 8px;
  background-color: var(--color-secondary);
  color: #ffffff;
  font-weight: 700;
  font-size: 14px;
  padding: 8px 16px;
  border-radius: 9999px;
  transition: background-color 0.2s;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.15);
}
.btn-erp-login:hover {
  background-color: rgba(35, 94, 172, 0.9);
}

.btn-phone {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--color-outline-variant);
  color: var(--color-on-surface);
  font-weight: 700;
  font-size: 14px;
  padding: 8px 16px;
  border-radius: 9999px;
  transition: background-color 0.2s;
}
.btn-phone:hover {
  background-color: var(--color-surface-container);
}

.btn-dark-toggle {
  padding: 8px;
  border-radius: 9999px;
  transition: background-color 0.2s;
}
.btn-dark-toggle:hover {
  background-color: var(--color-surface-container);
}
.btn-dark-toggle .material-symbols-outlined {
  color: var(--color-primary);
}
.dark .btn-dark-toggle .material-symbols-outlined {
  color: var(--color-inverse-primary);
}

/* Hamburger: hidden on desktop, shown on mobile/tablet */
.btn-hamburger {
  display: none;
  padding: 8px;
  color: var(--color-primary);
}
.dark .btn-hamburger {
  color: var(--color-inverse-primary);
}
.btn-hamburger .material-symbols-outlined {
  font-size: 30px;
}

/* Row 2: Main nav bar — always visible on desktop */
.header-nav {
  background-color: var(--color-primary);
  z-index: 50;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
}
.header-nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding-left: 180px;
  max-width: var(--container-max);
  margin: 0 auto;
}
.nav-list {
  display: flex;
  align-items: center;
}
.nav-list li a {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
  font-size: 14px;
  padding: 16px 20px;
  border-bottom: 2px solid transparent;
  transition: background-color 0.2s, border-color 0.2s;
}
.nav-list li a:hover {
  background-color: rgba(255, 255, 255, 0.1);
  border-bottom-color: var(--color-tertiary-fixed);
}

/* ── Active nav item — driven by JS, not hardcoded ── */
.nav-list li a.active {
  color: #ffffff;
  font-weight: 700;
  border-bottom-color: var(--color-tertiary-fixed);
  background-color: rgba(255, 255, 255, 0.08);
}
.nav-list li a .material-symbols-outlined {
  font-size: 16px;
}
.nav-list .expand-icon {
  font-size: 12px !important;
}


/* ============================================================
   MOBILE MENU OVERLAY + SIDEBAR
   ============================================================ */
#mobile-menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 60;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
#mobile-menu-overlay.open {
  opacity: 1;
  pointer-events: all;
}

#mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  height: 100%;
  width: 80%;
  max-width: 384px;
  background-color: var(--color-surface);
  z-index: 70;
  padding: 24px;
  box-shadow: -4px 0 32px rgba(0, 0, 0, 0.25);
}
.dark #mobile-menu {
  background-color: var(--color-primary);
}

.mobile-menu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 32px;
}
.mobile-menu-header span.title {
  font-family: var(--font-headline);
  font-size: 20px;
  font-weight: 700;
  color: var(--color-primary);
}
.dark .mobile-menu-header span.title {
  color: var(--color-inverse-primary);
}
.btn-menu-close {
  padding: 8px;
  color: var(--color-primary);
}
.dark .btn-menu-close {
  color: var(--color-inverse-primary);
}
.btn-menu-close .material-symbols-outlined {
  font-size: 30px;
}

.mobile-nav-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.mobile-nav-list li a {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 16px;
  font-weight: 500;
  color: var(--color-on-surface);
  padding: 12px 16px;
  border-radius: 10px;
  transition: background-color 0.2s, color 0.2s;
}
.mobile-nav-list li a:hover {
  background-color: var(--color-surface-container);
}
/* Active item in mobile menu */
.mobile-nav-list li a.active {
  font-weight: 700;
  color: var(--color-secondary);
  background-color: rgba(35, 94, 172, 0.08);
}
.dark .mobile-nav-list li a {
  color: rgba(255, 255, 255, 0.8);
}
.dark .mobile-nav-list li a.active {
  color: var(--color-secondary-fixed);
  background-color: rgba(255, 255, 255, 0.08);
}
.mobile-nav-list li a .material-symbols-outlined {
  font-size: 22px;
}

.mobile-menu-cta {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--color-outline-variant);
}
.mobile-menu-cta a {
  display: block;
  width: 100%;
  background-color: var(--color-tertiary-fixed);
  color: var(--color-tertiary);
  text-align: center;
  font-weight: 700;
  padding: 16px;
  border-radius: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}


/* ============================================================
   SECTION 1: HERO CAROUSEL
   ============================================================ */
.hero-section {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  width: 100%;
  background-color: var(--color-primary);
  box-sizing: border-box;
}

#hero-carousel {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

/* .carousel-item positioning is handled in the CAROUSEL STYLES
   block above — keeping only the overlay and img rules here */
.carousel-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.carousel-overlay {
  position: absolute;
  inset: 0;
  z-index: 10;
}

/* Hero content */
.hero-content {
  position: relative;
  z-index: 20;
  width: 100%;
  padding-left: var(--margin-desktop);
  padding-right: var(--margin-desktop);
  max-width: var(--container-max);
  margin: 0 auto;
  text-align: left;
}

.hero-inner {
  max-width: 768px;
  animation: fadeInUp 0.8s ease-out forwards;
}

.hero-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 9999px;
  background-color: var(--color-secondary);
  color: var(--color-on-secondary);
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.05em;
  margin-bottom: 24px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
  text-transform: uppercase;
}

.hero-title {
  font-family: var(--font-headline);
  font-size: clamp(36px, 6vw, 72px);
  font-weight: 700;
  color: #ffffff;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
}
.hero-title .accent {
  color: var(--color-tertiary-fixed);
}

.hero-subtitle {
  color: rgba(255, 255, 255, 0.9);
  font-size: 18px;
  line-height: 1.6;
  margin-bottom: 40px;
  max-width: 576px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.btn-hero-primary {
  background-color: #ffffff;
  color: var(--color-primary);
  padding: 14px 32px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 15px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
  transition: background-color 0.2s;
}
.btn-hero-primary:hover {
  background-color: var(--color-secondary-fixed);
}
.btn-hero-secondary {
  border: 2px solid #ffffff;
  color: #ffffff;
  padding: 14px 32px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 15px;
  backdrop-filter: blur(4px);
  transition: background-color 0.2s;
}
.btn-hero-secondary:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

/* Hero stats */
.hero-stats {
  display: none;
}
.hero-stats::-webkit-scrollbar { display: none; }
.hero-stats {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.hero-stat-card {
  padding: 32px;
  border-radius: 16px;
  min-width: 240px;
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 10px 30px -10px rgba(0, 24, 53, 0.1);
}
.dark .hero-stat-card {
  background: rgba(0, 24, 53, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.hero-stat-number {
  font-family: var(--font-headline);
  font-size: 24px;
  font-weight: 700;
  color: var(--color-secondary-container);
  line-height: 1.4;
}
.dark .hero-stat-number {
  color: var(--color-secondary-fixed);
}
.hero-stat-label {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-top: 8px;
}
.dark .hero-stat-label {
  color: rgba(255, 255, 255, 0.8);
}

/* Content transition animation */
.hero-content {
  transition: opacity 0.4s ease;
}
.hero-content.content-fade {
  opacity: 0;
}

/* Carousel dots */
.carousel-dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 30;
}
.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  border: none;
  cursor: pointer;
  transition: background 0.3s, transform 0.3s;
  padding: 0;
}
.carousel-dot.active {
  background: #ffffff;
  transform: scale(1.3);
}


/* ============================================================
   HERO — CINEMATIC ENTRANCE ANIMATIONS
   ============================================================ */
@keyframes heroSlideDown {
  0%   { opacity: 0; transform: translateY(-30px); }
  100% { opacity: 1; transform: translateY(0); }
}

@keyframes heroSlideUp {
  0%   { opacity: 0; transform: translateY(40px); }
  100% { opacity: 1; transform: translateY(0); }
}

@keyframes heroFadeScale {
  0%   { opacity: 0; transform: scale(0.92); }
  100% { opacity: 1; transform: scale(1); }
}

@keyframes heroBadgePop {
  0%   { opacity: 0; transform: scale(0.7) translateY(-10px); }
  60%  { transform: scale(1.08) translateY(2px); }
  100% { opacity: 1; transform: scale(1) translateY(0); }
}

@keyframes heroLineGrow {
  0%   { width: 0; opacity: 0; }
  100% { width: 80px; opacity: 1; }
}

@keyframes heroBgDrift {
  0%   { transform: scale(1.08) translateX(0px); }
  50%  { transform: scale(1.08) translateX(-12px); }
  100% { transform: scale(1.08) translateX(0px); }
}

@keyframes glowPulse {
  0%,  100% {
    text-shadow:
      0 4px 24px rgba(0, 0, 0, 0.3),
      0 0 40px rgba(255, 220, 193, 0);
  }
  50% {
    text-shadow:
      0 4px 24px rgba(0, 0, 0, 0.3),
      0 0 60px rgba(255, 220, 193, 0.25);
  }
}

@keyframes btnShimmer {
  0%   { background-position: -200% center; }
  100% { background-position: 200% center; }
}

/* Carousel image — slow drift */
.carousel-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.08);
  animation: heroBgDrift 18s ease-in-out infinite;
}

/* Overlay — richer gradient */
.carousel-overlay {
  position: absolute;
  inset: 0;
  z-index: 10;
  background: linear-gradient(
    135deg,
    rgba(0, 24, 53, 0.75) 0%,
    rgba(0, 24, 53, 0.45) 50%,
    rgba(35, 94, 172, 0.2) 100%
  );
}

/* Badge — pops in first */
.hero-badge {
  opacity: 0;
  animation: heroBadgePop 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) 0.3s forwards;
}

/* Accent line */
/* .hero-inner::after {
  content: "";
  display: block;
  height: 3px;
  background: linear-gradient(to right, var(--color-tertiary-fixed), transparent);
  border-radius: 2px;
  margin-bottom: 20px;
  animation: heroLineGrow 0.6s ease-out 0.7s both;
} */

/* Title */
.hero-title {
  opacity: 0;
  animation:
    heroSlideUp 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.5s forwards,
    glowPulse 4s ease-in-out 1.5s infinite;
}

/* Subtitle */
.hero-subtitle {
  opacity: 0;
  animation: heroSlideUp 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.75s forwards;
}

/* Buttons */
.hero-buttons {
  opacity: 0;
  animation: heroFadeScale 0.6s ease-out 1s forwards;
}

/* Primary button shimmer */
.btn-hero-primary {
  background: linear-gradient(
    90deg,
    #ffffff 0%,
    #ffffff 40%,
    rgba(255, 220, 193, 0.6) 50%,
    #ffffff 60%,
    #ffffff 100%
  );
  background-size: 200% auto;
  animation: btnShimmer 3s linear 2s infinite;
  color: var(--color-primary);
  padding: 14px 32px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 15px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}
.btn-hero-primary:hover {
  background: var(--color-secondary-fixed);
  animation: none;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.3);
  transition: all 0.2s ease;
}

.btn-hero-secondary {
  transition: all 0.2s ease;
}
.btn-hero-secondary:hover {
  background-color: rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

/* Re-animate on slide change */
.hero-inner.re-animate .hero-badge {
  animation: heroBadgePop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}
.hero-inner.re-animate .hero-title {
  animation:
    heroSlideUp 0.6s cubic-bezier(0.22, 1, 0.36, 1) 0.15s forwards,
    glowPulse 4s ease-in-out 1s infinite;
}
.hero-inner.re-animate .hero-subtitle {
  animation: heroSlideUp 0.6s cubic-bezier(0.22, 1, 0.36, 1) 0.25s forwards;
}
.hero-inner.re-animate .hero-buttons {
  animation: heroFadeScale 0.5s ease-out 0.4s forwards;
}


/* ============================================================
   SECTION 2: LEGACY TIMELINE
   ============================================================ */
.timeline-section {
  padding: 96px 0;
  background-color: var(--color-surface-container-low);
  /* overflow: hidden; */
}

/* .timeline-section-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
  padding: 0 var(--margin-desktop);
  max-width: var(--container-max);
  margin: 0 auto;
} */

.timeline-section-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-areas: "about timeline";
  gap: 80px;
  align-items: start;
  padding: 0 var(--margin-desktop);
  max-width: var(--container-max);
  margin: 0 auto;
}




/* ---- LEFT: About ---- */
.timeline-about {
  position: static;
  top: 80px;
  grid-area: about;
  
}

.timeline-about-badge {
  display: inline-block;
  padding: 4px 14px;
  border-radius: 9999px;
  background-color: var(--color-secondary);
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.timeline-about .section-title {
  font-size: 28px;
  margin-bottom: 12px;
  line-height: 1.3;
}

.timeline-about .section-divider {
  width: 64px;
  height: 4px;
  background: linear-gradient(to right, var(--color-secondary), var(--color-tertiary-fixed));
  margin-bottom: 28px;
  border-radius: 2px;
}

.timeline-about p {
  color: var(--color-on-surface-variant);
  font-size: 15px;
  line-height: 1.8;
  margin-bottom: 16px;
}

.timeline-about p strong {
  color: var(--color-primary);
  font-weight: 700;
}

.timeline-about p a {
  color: var(--color-secondary);
  font-weight: 600;
  border-bottom: 1px solid rgba(35, 94, 172, 0.3);
  transition: border-color 0.2s;
}
.timeline-about p a:hover {
  border-color: var(--color-secondary);
}

.timeline-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  background-color: var(--color-primary);
  color: #ffffff;
  font-weight: 700;
  font-size: 14px;
  padding: 12px 24px;
  border-radius: 8px;
  transition: background-color 0.2s, transform 0.2s;
}
.timeline-cta:hover {
  background-color: var(--color-secondary);
  transform: translateX(4px);
}
.timeline-cta .material-symbols-outlined {
  font-size: 18px;
  transition: transform 0.2s;
}
.timeline-cta:hover .material-symbols-outlined {
  transform: translateX(4px);
}

/* ---- RIGHT: Vertical Timeline ---- */
.timeline-vertical {
  position: relative;
  padding-left: 48px;
  grid-area: timeline;
}

.timeline-line {
  position: absolute;
  left: 16px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: linear-gradient(
    to bottom,
    var(--color-secondary) 0%,
    var(--color-tertiary-fixed-dim) 60%,
    rgba(35, 94, 172, 0.1) 100%
  );
  border-radius: 2px;
}

.timeline-vitem {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 36px;
  opacity: 0;
  transform: translateX(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.timeline-section .timeline-vitem {
  opacity: 1;
  transform: translateX(0);
}

.timeline-section.active .timeline-vitem:nth-child(2) { transition-delay: 0.1s; }
.timeline-section.active .timeline-vitem:nth-child(3) { transition-delay: 0.2s; }
.timeline-section.active .timeline-vitem:nth-child(4) { transition-delay: 0.3s; }
.timeline-section.active .timeline-vitem:nth-child(5) { transition-delay: 0.4s; }
.timeline-section.active .timeline-vitem:nth-child(6) { transition-delay: 0.5s; }
.timeline-section.active .timeline-vitem {
  opacity: 1;
  transform: translateX(0);
}

.timeline-vdot {
  position: absolute;
  left: -48px;
  top: 4px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: var(--color-primary);
  border: 3px solid var(--color-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  z-index: 2;
  transition: transform 0.2s, background-color 0.2s;
}
.timeline-vdot .material-symbols-outlined {
  font-size: 15px;
  color: var(--color-secondary-fixed);
}
.timeline-vitem:hover .timeline-vdot {
  transform: scale(1.2);
  background-color: var(--color-secondary);
}
.timeline-vitem:hover .timeline-vdot .material-symbols-outlined {
  color: #ffffff;
}

.timeline-vdot.pulse {
  background-color: var(--color-secondary);
  border-color: var(--color-tertiary-fixed);
  animation: dotPulse 2.5s ease-in-out infinite;
}
.timeline-vdot.pulse .material-symbols-outlined {
  color: #ffffff;
}
@keyframes dotPulse {
  0%,  100% { box-shadow: 0 0 0 0 rgba(35, 94, 172, 0.4); }
  50%        { box-shadow: 0 0 0 10px rgba(35, 94, 172, 0); }
}

.timeline-vcard {
  background-color: #ffffff;
  border: 1px solid rgba(196, 198, 207, 0.3);
  border-radius: 12px;
  padding: 20px 24px;
  flex: 1;
  box-shadow: 0 4px 16px -4px rgba(0, 24, 53, 0.08);
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.timeline-vitem:hover .timeline-vcard {
  transform: translateX(4px);
  box-shadow: 0 8px 24px -4px rgba(0, 24, 53, 0.14);
  border-color: rgba(35, 94, 172, 0.25);
}

.timeline-vcard.active-card {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-container) 100%);
  border-color: var(--color-secondary);
}
.timeline-vcard.active-card .timeline-vyear { color: var(--color-tertiary-fixed); }
.timeline-vcard.active-card h4             { color: #ffffff; }
.timeline-vcard.active-card p              { color: rgba(255, 255, 255, 0.75); }

.timeline-vyear {
  display: inline-block;
  font-family: var(--font-headline);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-secondary);
  margin-bottom: 6px;
}

.timeline-vcard h4 {
  font-family: var(--font-headline);
  font-size: 16px;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 6px;
}

.timeline-vcard p {
  font-size: 13px;
  color: var(--color-on-surface-variant);
  line-height: 1.6;
}

@media (max-width: 900px) {
  .timeline-section-inner {
    grid-template-columns: 1fr;
    gap: 48px;
    padding: 0 40px;
  }
  .timeline-about {
    position: static;
    grid-area: about;
    top: 140px;
  }
}


@media (max-width: 767px) {
  .timeline-section-inner {
    padding: 0 var(--margin-mobile);
  }
  .timeline-section {
    padding: 64px 0;
  }
}


/* ============================================================
   SECTION 3: COURSES HUB
   ============================================================ */
.courses-section {
  padding: 96px var(--margin-desktop);
  max-width: var(--container-max);
  margin: 0 auto;
}

.section-header-center {
  text-align: center;
  margin-bottom: 64px;
}
.section-header-center .section-title {
  display: inline-block;
}
.section-header-center .section-subtitle {
  color: var(--color-on-surface-variant);
  font-size: 17px;
  line-height: 1.6;
  max-width: 640px;
  margin: 12px auto 0;
}

.courses-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.course-card {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  max-height: 400px;
  background: #111;
  cursor: pointer;
}

.course-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: 1.8;
  transition:
    transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    opacity 0.4s;
}
.course-card:hover img {
  transform: scale(1.07);
  opacity: 1;
}

.course-card-label {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px 22px;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.8) 0%,
    rgba(0, 0, 0, 0.15) 55%,
    transparent 100%
  );
}
.course-card-label h3 {
  font-family: var(--font-headline);
  font-size: 20px;
  font-weight: 700;
  color: #ffffff;
  margin: 0;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.hover-line {
  width: 0;
  height: 2px;
  background: #ffffff;
  border-radius: 2px;
  margin-top: 10px;
  transition: width 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.course-card:hover .hover-line {
  width: 36px;
}

.course-arrow-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 32px;
  height: 32px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: scale(0.8);
  transition: opacity 0.3s, transform 0.3s;
}
.course-card:hover .course-arrow-badge {
  opacity: 1;
  transform: scale(1);
}
.course-arrow-badge .material-symbols-outlined {
  font-size: 16px;
  color: #ffffff;
}

@media (max-width: 1100px) {
  .courses-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 750px) {
  .courses-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .courses-grid { grid-template-columns: 1fr; }
  .course-card { aspect-ratio: 1 / 1; max-height: none; }
}


/* ============================================================
   SECTION 4: LEADERSHIP VISION
   ============================================================ */
.ls-leader-section {
  --ls-bg:         #f7f8fc;
  --ls-navy:       #0b1a35;
  --ls-navy-mid:   #1a2f5e;
  --ls-gold:       #c9a84c;
  --ls-gold-light: #e2c470;
  --ls-gold-pale:  #fdf6e3;
  --ls-white:      #ffffff;
  --ls-text:       #1e2d4d;
  --ls-muted:      #6b7fa3;
  --ls-border:     #e4e9f4;
  --ls-shadow:     rgba(11, 26, 53, 0.1);

  position: relative;
  z-index: 1;
  padding: 70px 24px;
  background: var(--ls-bg);
  text-align: center;
  overflow: hidden;
}

.ls-leader-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 10% 15%, rgba(201, 168, 76, 0.07) 0%, transparent 45%),
    radial-gradient(circle at 90% 85%, rgba(11, 26, 53, 0.05) 0%, transparent 45%),
    radial-gradient(rgba(11, 26, 53, 0.045) 1px, transparent 1px);
  background-size: auto, auto, 26px 26px;
  pointer-events: none;
  z-index: 0;
}

.ls-leader-section > * {
  position: relative;
  z-index: 1;
}

.ls-leader-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ls-gold);
  border: 1.5px solid rgba(201, 168, 76, 0.4);
  border-radius: 100px;
  padding: 7px 20px;
  margin-bottom: 26px;
  background: var(--ls-gold-pale);
  animation: lsLeaderFadeDown 0.6s ease both;
}
.ls-leader-eyebrow span {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--ls-gold);
  display: inline-block;
}

.ls-leader-heading {
  font-family: "Playfair Display", serif;
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  color: var(--ls-navy);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 18px;
  animation: lsLeaderFadeDown 0.7s 0.1s ease both;
}

.ls-leader-subheading {
  color: var(--ls-muted);
  font-size: 1rem;
  font-weight: 400;
  max-width: 500px;
  margin: 0 auto 56px;
  line-height: 1.75;
  animation: lsLeaderFadeDown 0.7s 0.2s ease both;
}

.ls-leader-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  max-width: 1200px;
  margin: 0 auto;
}

.ls-leader-card {
  background: var(--ls-white);
  border: 1.5px solid var(--ls-border);
  border-radius: 22px;
  overflow: hidden;
  position: relative;
  cursor: pointer;
  transition:
    transform 0.4s cubic-bezier(0.22, 0.68, 0, 1.2),
    box-shadow 0.4s ease,
    border-color 0.3s ease;
  animation: lsLeaderFadeUp 0.65s calc(var(--i, 0) * 0.12s + 0.3s) ease both;
}

.ls-leader-card:hover {
  transform: translateY(-10px) scale(1.02);
  border-color: var(--ls-gold);
  box-shadow: 0 20px 50px rgba(11, 26, 53, 0.18);
}

.ls-leader-card-top-bar {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--ls-navy), var(--ls-gold));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
  z-index: 3;
}
.ls-leader-card:hover .ls-leader-card-top-bar {
  transform: scaleX(1);
}

.ls-leader-photo-frame {
  position: relative;
  margin: 8px 8px 0;
  padding: 4px;
}

.ls-leader-photo-frame::before {
  content: "";
  position: absolute;
  top: 0; right: 0;
  width: 24px; height: 24px;
  border-top: 2.5px solid var(--ls-gold);
  border-right: 2.5px solid var(--ls-gold);
  border-radius: 0 6px 0 0;
  transition: all 0.35s ease;
  z-index: 2;
}

.ls-leader-photo-frame::after {
  content: "";
  position: absolute;
  bottom: 0; left: 0;
  width: 24px; height: 24px;
  border-bottom: 2.5px solid var(--ls-gold);
  border-left: 2.5px solid var(--ls-gold);
  border-radius: 0 0 0 6px;
  transition: all 0.35s ease;
  z-index: 2;
}

.ls-leader-card:hover .ls-leader-photo-frame::before,
.ls-leader-card:hover .ls-leader-photo-frame::after {
  width: 40px;
  height: 40px;
  border-color: var(--ls-navy);
}

.ls-leader-photo-wrap {
  width: 100%;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: linear-gradient(160deg, #dce7f7 0%, #edf2fb 100%);
  position: relative;
  border-radius: 12px;
}

.ls-leader-photo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.55s ease;
}
.ls-leader-card:hover .ls-leader-photo-wrap img {
  transform: scale(1.07);
}

.ls-leader-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.2;
  color: var(--ls-navy);
}

.ls-leader-card-body {
  padding: 15px 18px 10px;
  text-align: left;
}

.ls-leader-gold-bar {
  width: 28px;
  height: 2.5px;
  background: var(--ls-gold);
  border-radius: 2px;
  margin-bottom: 10px;
  transition: width 0.35s ease;
}
.ls-leader-card:hover .ls-leader-gold-bar {
  width: 50px;
}

.ls-leader-card-name {
  font-family: "Playfair Display", serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--ls-navy);
  margin-bottom: 4px;
}

.ls-leader-card-role {
  color: var(--ls-muted);
  font-size: 0.75rem;
  line-height: 1.5;
}

.ls-leader-arrow-btn {
  margin: 5px 18px 18px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(201, 168, 76, 0.1);
  border: 1.5px solid rgba(201, 168, 76, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}
.ls-leader-card:hover .ls-leader-arrow-btn {
  background: var(--ls-navy);
  border-color: var(--ls-navy);
  transform: translateX(5px);
}
.ls-leader-arrow-btn svg {
  width: 14px;
  stroke: var(--ls-gold);
  fill: none;
  stroke-width: 2;
}
.ls-leader-card:hover .ls-leader-arrow-btn svg {
  stroke: var(--ls-white);
}

@keyframes lsLeaderFadeDown {
  from { opacity: 0; transform: translateY(-20px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes lsLeaderFadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

@media (max-width: 900px) {
  .ls-leader-cards { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px) {
  .ls-leader-cards { grid-template-columns: 1fr; }
  .ls-leader-section { padding: 48px 16px; }
}


/* ============================================================
   SECTION 5: WHY PDEA
   ============================================================ */
.why-section {
  padding: 96px var(--margin-desktop);
  max-width: var(--container-max);
  margin: 0 auto;
}

.why-grid {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  gap: 24px;
  margin: 0 auto;
  padding: 0;
}

.why-card {
  flex: 1;
  background: #ffffff;
  border: 1px solid rgba(196, 198, 207, 0.35);
  border-radius: 16px;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
  overflow: hidden;
  cursor: default;
  transition:
    transform 0.35s cubic-bezier(.22,.68,0,1.2),
    box-shadow 0.35s ease,
    border-color 0.35s ease;
}

.why-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 16px;
  background: linear-gradient(
    135deg,
    rgba(255,255,255,0) 0%,
    rgba(255,255,255,0.55) 50%,
    rgba(255,255,255,0) 100%
  );
  background-size: 200% 200%;
  background-position: -100% -100%;
  transition: background-position 0.6s ease;
  pointer-events: none;
  z-index: 1;
}

.why-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 50%;
  transform: translateX(-50%) scaleX(0);
  height: 3px;
  width: 60%;
  border-radius: 2px 2px 0 0;
  transition: transform 0.35s cubic-bezier(.22,.68,0,1.2);
}

.why-card:nth-child(1)::after { background: var(--color-secondary); }
.why-card:nth-child(2)::after { background: var(--color-tertiary-fixed); }
.why-card:nth-child(3)::after { background: var(--color-on-secondary-container); }

.why-card > * { position: relative; z-index: 2; }

.why-card:hover {
  transform: translateY(-8px) scale(1.015);
  box-shadow: 0 24px 48px -12px rgba(0, 24, 53, 0.18);
  border-color: rgba(196, 198, 207, 0.55);
}
.why-card:hover::before { background-position: 200% 200%; }
.why-card:hover::after  { transform: translateX(-50%) scaleX(1); }

.why-card-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
  transition: transform 0.35s cubic-bezier(.22,.68,0,1.2);
}
.why-card-icon.blue  { background-color: rgba(35, 94, 172, 0.12); color: var(--color-secondary); }
.why-card-icon.gold  { background-color: rgba(246, 186, 136, 0.2); color: var(--color-on-tertiary-container); }
.why-card-icon.navy  { background-color: rgba(0, 24, 53, 0.08); color: var(--color-primary); }

.why-card-icon .material-symbols-outlined { font-size: 26px; }
.why-card:hover .why-card-icon { transform: scale(1.15) rotate(-4deg); }

@media (max-width: 1024px) {
  .why-section { padding: 96px 40px; }
  .why-grid { flex-wrap: wrap; }
  .why-card { flex: 1 1 calc(50% - 12px); }
  .why-card:last-child { flex: 1 1 50%; max-width: calc(50% - 12px); margin: 0 auto; }
}
@media (max-width: 767px) {
  .why-section { padding: 64px var(--margin-mobile); }
  .why-grid { flex-direction: column; }
  .why-card,
  .why-card:last-child { flex: 1 1 100%; max-width: 100%; margin: 0; }
}


/* ============================================================
   SECTION 6: NEWS & CIRCULARS
   ============================================================ */
.news-section {
  padding: 96px var(--margin-desktop);
  max-width: var(--container-max);
  margin: 0 auto;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
}

.news-col-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--color-outline-variant);
  padding-bottom: 12px;
  margin-bottom: 24px;
}
.news-col-header h3 {
  font-family: var(--font-headline);
  font-size: 20px;
  font-weight: 600;
  color: var(--color-primary);
}
.dark .news-col-header h3 { color: var(--color-on-primary); }
.news-col-header a {
  color: var(--color-secondary);
  font-weight: 700;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.news-cards {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.news-card-main { cursor: pointer; }
.news-card-main .news-img {
  aspect-ratio: 16/9;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 12px;
}
.news-card-main .news-img img { width: 100%; height: 100%; object-fit: cover; }
.news-card-main .news-date {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-secondary);
  margin-bottom: 4px;
}
.news-card-main h4 { font-weight: 700; color: var(--color-primary); font-size: 15px; }
.dark .news-card-main h4 { color: var(--color-on-primary); }

.news-card-small { display: flex; gap: 12px; }
.news-card-small .thumb {
  width: 80px; height: 80px;
  flex-shrink: 0;
  border-radius: 8px;
  overflow: hidden;
  background-color: var(--color-surface-container);
}
.news-card-small .thumb img { width: 100%; height: 100%; object-fit: cover; }
.news-card-small h4 {
  font-weight: 700;
  color: var(--color-primary);
  font-size: 14px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.dark .news-card-small h4 { color: var(--color-on-primary); }

.events-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-height: 300px;
  overflow-y: auto;
  padding-right: 8px;
}
.events-list::-webkit-scrollbar { display: none; }
.events-list { -ms-overflow-style: none; scrollbar-width: none; }

.event-card {
  padding: 16px;
  border-radius: 12px;
  border-left: 4px solid var(--color-secondary);
  display: flex;
  gap: 16px;
  background-color: var(--color-surface-container-low);
}
.dark .event-card { background-color: var(--color-primary-container); }
.event-card.gold { border-left-color: var(--color-tertiary-fixed); }

.event-date-box { text-align: center; min-width: 50px; }
.event-date-box .day {
  display: block;
  font-size: 20px;
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1.2;
}
.dark .event-date-box .day { color: var(--color-on-primary); }
.event-date-box .month {
  display: block;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--color-on-surface-variant);
}
.event-card h4 { font-weight: 700; color: var(--color-primary); font-size: 14px; }
.dark .event-card h4 { color: var(--color-on-primary); }
.event-card p { font-size: 10px; color: var(--color-on-surface-variant); margin-top: 2px; }

.circulars-list { display: flex; flex-direction: column; gap: 12px; }
.circular-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px;
  border-radius: 8px;
  background-color: var(--color-surface-container-low);
  transition: background-color 0.2s;
}
.circular-item:hover { background-color: var(--color-surface-container); }
.circular-item-left {
  display: flex;
  align-items: center;
  gap: 12px;
  overflow: hidden;
}
.circular-item-left .material-symbols-outlined { color: #dc2626; flex-shrink: 0; }
.circular-item-left span.name {
  font-size: 12px;
  font-weight: 500;
  color: var(--color-on-surface);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.badge-new {
  background-color: #ef4444;
  color: #ffffff;
  font-size: 8px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 9999px;
  flex-shrink: 0;
}


/* ============================================================
   ADMISSIONS CTA BANNER
   ============================================================ */
.cta-section {
  position: relative;
  padding: 96px 0;
  background-color: var(--color-primary);
}
.cta-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(to right, var(--color-primary), rgba(35, 94, 172, 0.4));
}
.cta-content {
  position: relative;
  z-index: 10;
  padding: 0 var(--margin-desktop);
  text-align: center;
}
.cta-content h2 {
  font-family: var(--font-headline);
  font-size: clamp(28px, 4vw, 56px);
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 16px;
}
.cta-content p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 17px;
  margin-bottom: 32px;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}
.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}
.btn-cta-primary {
  background-color: var(--color-tertiary-fixed);
  color: var(--color-tertiary);
  padding: 16px 32px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 15px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  transition: transform 0.15s;
}
.btn-cta-primary:hover { transform: scale(0.98); }
.btn-cta-secondary {
  background-color: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 16px 32px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 15px;
  transition: background-color 0.2s;
}
.btn-cta-secondary:hover { background-color: rgba(255, 255, 255, 0.15); }


/* ============================================================
   RESPONSIVE — TABLET (max-width: 1024px)
   ============================================================ */
@media (max-width: 1024px) {
  /* Hide desktop nav bar, show hamburger */
  .header-nav {
    display: none;
  }
  .btn-hamburger {
    display: block;
  }
  .btn-erp-login,
  .btn-phone {
    display: none;
  }

  /* Non-hero pages: only 80px header-top visible */
  .page-body {
    padding-top: 80px;
  }

  .hero-content {
    text-align: center;
  }
  .hero-buttons {
    justify-content: center;
  }
  .hero-stats {
    justify-content: center;
  }

  .courses-grid {
    grid-template-columns: 1fr 1fr;
  }
  .course-card-large {
    grid-column: span 2;
    height: 260px;
  }
  .course-card-small {
    grid-column: span 1;
  }

  .news-grid {
    grid-template-columns: 1fr;
  }
}


/* ============================================================
   RESPONSIVE — MOBILE (max-width: 767px)
   ============================================================ */
@media (max-width: 767px) {
  .page-body {
    padding-top: 64px;
  }

  .header-top-inner {
    height: 64px;
    padding: 0 var(--margin-mobile);
  }
  .logo-group img {
    height: 48px;
  }
  .logo-name-marathi {
    font-size: 15px;
  }
  .logo-name-english {
    font-size: 10px;
  }
  .logo-address {
    display: none;
  }

  .hero-section {
    height: 90vh;
    padding-top: 20px;
  }
  .hero-content {
    padding-left: var(--margin-mobile);
    padding-right: var(--margin-mobile);
    text-align: center;
  }
  .hero-subtitle {
    font-size: 15px;
  }
  .hero-stat-card {
    padding: 24px;
  }
  .hero-stats {
    margin-top: 48px;
  }
  .hero-buttons {
    justify-content: center;
    flex-direction: column;
    align-items: center;
  }

  .timeline-section {
    padding: 64px 0;
  }
  .section-title {
    font-size: 24px;
  }

  .courses-section {
    padding: 64px var(--margin-mobile);
  }
  .courses-grid {
    display: flex;
    flex-direction: column;
    gap: 16px;
  }
  .course-card-large {
    height: 256px;
  }
  .course-card-small {
    height: 192px;
  }

  .why-section {
    padding: 64px var(--margin-mobile);
  }
  .why-grid {
    flex-direction: column;
  }

  .news-section {
    padding: 64px var(--margin-mobile);
  }
  .news-grid {
    gap: 48px;
  }

  .cta-section {
    padding: 64px 0;
  }
  .cta-content {
    padding: 0 var(--margin-mobile);
  }
  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }
  .btn-cta-primary,
  .btn-cta-secondary {
    width: 100%;
    max-width: 300px;
    text-align: center;
  }
}