/* ==========================================================================
   Nellai MS Academy - Modern Green Theme & Responsive Design System
   ========================================================================== */

:root {
  /* Color Tokens */
  --header-bg: #013725;
  --hero-bg-start: #012b1d;
  --hero-bg-end: #044e37;
  --accent-green: #84cc16;
  --accent-green-bright: #8bf425;
  --accent-green-light: #a3e635;
  --text-white: #ffffff;
  --text-muted: #d1fae5;
  --card-bg: rgba(2, 44, 30, 0.75);
  --card-border: rgba(132, 204, 22, 0.35);
  --glass-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  --font-main: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-heading: 'Outfit', sans-serif;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-main);
  background-color: var(--hero-bg-start);
  color: var(--text-white);
  line-height: 1.5;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

p {
  text-align: justify !important;
  font-weight: 600;
}

/* ==========================================================================
   Site Header
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: var(--header-bg);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.header-container {
  max-width: 100%;
  width: 100%;
  margin: 0 auto;
  padding: 0.65rem 1.4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

/* Logo Badge */
.logo-link {
  text-decoration: none;
  flex-shrink: 0;
}

.logo-badge {
  display: flex;
  align-items: center;
  background: #ffffff;
  padding: 0.35rem 0.75rem;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.logo-badge:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 6px 20px rgba(132, 204, 22, 0.4);
}

.header-logo-img {
  height: 46px;
  width: auto;
  max-width: 155px;
  object-fit: contain;
  display: block;
}

/* Navigation Menu */
.nav-menu {
  display: flex;
  align-items: center;
  flex-shrink: 1;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 1.05rem;
  list-style: none;
}

.nav-item {
  position: relative;
}

.nav-link {
  color: var(--text-white);
  text-decoration: none;
  font-size: 0.98rem;
  font-weight: 700;
  padding: 0.35rem 0.2rem;
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  letter-spacing: 0.2px;
  transition: color 0.25s ease;
  white-space: nowrap;
}

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

.nav-link.highlight-link {
  color: var(--text-white);
  font-weight: 700;
}

.nav-link.highlight-link:hover,
.nav-link.highlight-link.active {
  color: var(--accent-green);
}

/* Header Actions (Buttons) - Anchored & Never Cut off */
.header-actions {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  flex-shrink: 0;
}

/* Book a Call Button (WhatsApp Style) */
.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background-color: #ffffff;
  color: #013725;
  font-weight: 800;
  font-size: 0.8rem;
  letter-spacing: 0.2px;
  padding: 0.48rem 0.8rem;
  border-radius: 30px;
  text-decoration: none;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
  white-space: nowrap;
  flex-shrink: 0;
}

.btn-whatsapp svg {
  fill: #25D366;
  flex-shrink: 0;
}

.btn-whatsapp:hover {
  background-color: #f0fdf4;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

/* Register Now Header Button */
.btn-register {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  background-color: var(--accent-green);
  color: #013725;
  font-weight: 800;
  font-size: 0.8rem;
  padding: 0.48rem 0.8rem;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.3s ease;
  white-space: nowrap;
  flex-shrink: 0;
}

.btn-register:hover {
  background-color: var(--accent-green-bright);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(132, 204, 22, 0.4);
}

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

.nav-link.highlight-link {
  color: var(--accent-green-light);
  font-weight: 700;
}

.arrow,
.side-arrow {
  font-size: 0.75rem;
  transition: transform 0.25s ease;
}

/* Dropdown Menus - White Background & Black Text Style */
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 230px;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 10px;
  padding: 0.4rem 0;
  list-style: none;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 100;
}

.has-dropdown:hover>.dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu li {
  position: relative;
  border-bottom: 1px solid #f1f5f9;
}

.dropdown-menu li:last-child {
  border-bottom: none;
}

.dropdown-menu a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1.2rem;
  color: #013725;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 700;
  transition: background 0.2s ease, color 0.2s ease;
}

.dropdown-menu a:hover {
  background: #f0fdf4;
  color: #65a30d;
}

/* Nested Dropdown */
.nested-menu {
  position: absolute;
  top: 0;
  left: 100%;
  min-width: 220px;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 10px;
  padding: 0.4rem 0;
  list-style: none;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
  opacity: 0;
  visibility: hidden;
  transform: translateX(10px);
  transition: all 0.25s ease;
}

.nested-menu li {
  border-bottom: 1px solid #f1f5f9;
}

.nested-menu li:last-child {
  border-bottom: none;
}

.has-nested:hover>.nested-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

/* Header Actions (Buttons) */
.header-actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-shrink: 0;
}

/* Book a Call Button (WhatsApp Style) */
.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background-color: #ffffff;
  color: #013725;
  font-weight: 800;
  font-size: 0.88rem;
  letter-spacing: 0.4px;
  padding: 0.55rem 1rem;
  border-radius: 30px;
  text-decoration: none;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
  white-space: nowrap;
  flex-shrink: 0;
}

.btn-whatsapp svg {
  fill: #25D366;
  flex-shrink: 0;
}

.btn-whatsapp:hover {
  background-color: #f0fdf4;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

/* Register Now Header Button */
.btn-register {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background-color: var(--accent-green);
  color: #013725;
  font-weight: 800;
  font-size: 0.88rem;
  padding: 0.55rem 1rem;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.3s ease;
  white-space: nowrap;
  flex-shrink: 0;
}

.btn-register:hover {
  background-color: var(--accent-green-bright);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(132, 204, 22, 0.4);
}

/* Mobile Toggle */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.mobile-menu-toggle span {
  width: 26px;
  height: 3px;
  background: var(--text-white);
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
  position: relative;
  min-height: calc(100vh - 80px);
  padding: 4rem 1.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(1, 43, 29, 0.94), rgba(4, 78, 55, 0.9)),
    url('https://images.unsplash.com/photo-1523240795612-9a054b0db644?auto=format&fit=crop&w=1920&q=80') center/cover no-repeat;
  overflow: hidden;
}

.hero-container {
  max-width: 1350px;
  width: 100%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3.5rem;
  align-items: center;
}

/* Hero Left Content */
.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(3rem, 5.5vw, 4.8rem);
  font-weight: 800;
  line-height: 1.08;
  color: var(--text-white);
  margin-bottom: 1.2rem;
  letter-spacing: -1px;
}

.hero-subtitle-wrapper {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 2.2rem;
}

.subtitle-bar {
  width: 4px;
  height: 32px;
  background: var(--accent-green);
  border-radius: 2px;
}

.hero-subtitle {
  font-size: clamp(1.2rem, 2.5vw, 1.6rem);
  font-weight: 600;
  color: var(--text-muted);
}

/* Hero CTA Buttons */
.hero-cta-buttons {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  margin-bottom: 3.5rem;
  flex-wrap: wrap;
}

.btn-hero-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--accent-green);
  color: #013725;
  font-weight: 800;
  font-size: 1.1rem;
  padding: 1.05rem 2.2rem;
  border-radius: 50px;
  text-decoration: none;
  letter-spacing: 0.5px;
  box-shadow: 0 8px 25px rgba(132, 204, 22, 0.35);
  transition: all 0.3s ease;
}

.btn-hero-primary span {
  font-size: 1.3rem;
  transition: transform 0.3s ease;
}

.btn-hero-primary:hover {
  background: var(--accent-green-bright);
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(132, 204, 22, 0.5);
}

.btn-hero-primary:hover span {
  transform: translateX(4px);
}

.btn-hero-secondary {
  display: inline-flex;
  align-items: center;
  background: transparent;
  color: var(--text-white);
  font-weight: 800;
  font-size: 1.05rem;
  padding: 1rem 2.2rem;
  border-radius: 50px;
  border: 2px solid rgba(255, 255, 255, 0.6);
  text-decoration: none;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
}

.btn-hero-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--accent-green);
  color: var(--accent-green-bright);
  transform: translateY(-3px);
}

/* Hero Stats Bar */
.hero-stats-grid {
  display: flex;
  align-items: center;
  gap: 2rem;
  background: rgba(1, 35, 24, 0.65);
  border: 1px solid rgba(132, 204, 22, 0.25);
  padding: 1.2rem 1.8rem;
  border-radius: 16px;
  backdrop-filter: blur(10px);
  width: fit-content;
}

.stat-card {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--accent-green-bright);
  line-height: 1;
}

.stat-label {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 0.8px;
  margin-top: 0.3rem;
}

.stat-divider {
  width: 1px;
  height: 35px;
  background: rgba(255, 255, 255, 0.15);
}

/* Hero Right Glassmorphism Feature Cards */
.hero-right {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.feature-glass-card {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  background: var(--card-bg);
  border: 1.5px solid var(--card-border);
  padding: 1.2rem 1.6rem;
  border-radius: 18px;
  backdrop-filter: blur(16px);
  box-shadow: var(--glass-shadow);
  transition: all 0.35s ease;
}

.feature-glass-card:hover {
  transform: translateX(8px);
  border-color: var(--accent-green);
  background: rgba(4, 60, 42, 0.85);
  box-shadow: 0 12px 35px rgba(132, 204, 22, 0.25);
}

.feature-icon-badge {
  width: 52px;
  height: 52px;
  background: rgba(132, 204, 22, 0.12);
  border: 1px solid rgba(132, 204, 22, 0.3);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.feature-icon-badge svg {
  width: 26px;
  height: 26px;
}

.feature-info h3 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-white);
}

.feature-info p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-top: 0.15rem;
}

/* ==========================================================================
   Floating WhatsApp & Scroll to Top Buttons
   ========================================================================== */
.scroll-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 44px;
  height: 44px;
  background-color: #84cc16;
  color: #012b1d;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(132, 204, 22, 0.4);
  z-index: 1999;
  text-decoration: none;
  transition: all 0.3s ease;
}

.scroll-to-top:hover {
  background-color: #a3e635;
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(132, 204, 22, 0.6);
  color: #012b1d;
}

.floating-whatsapp {
  position: fixed;
  bottom: 5.5rem;
  right: 2rem;
  width: 56px;
  height: 56px;
  background-color: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.5);
  z-index: 2000;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  animation: pulse 2s infinite;
}

.floating-whatsapp:hover {
  transform: scale(1.12);
  box-shadow: 0 12px 35px rgba(37, 211, 102, 0.7);
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6);
  }

  70% {
    box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */

/* Laptop & Screen adjustments (keeps all text links inline) */
@media (max-width: 1400px) {
  .header-container {
    padding: 0.6rem 1rem;
    gap: 0.6rem;
  }

  .nav-list {
    gap: 0.7rem;
  }

  .nav-link {
    font-size: 0.9rem;
    padding: 0.3rem 0.15rem;
  }

  .btn-whatsapp,
  .btn-register {
    font-size: 0.8rem;
    padding: 0.48rem 0.8rem;
  }
}

/* Mobile & Tablet Toggle (Triggers ONLY at 992px) */
@media (max-width: 992px) {
  .mobile-menu-toggle {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    top: 65px;
    left: 0;
    width: 100%;
    background: var(--header-bg);
    border-bottom: 1px solid var(--card-border);
    padding: 1.5rem;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.5);
    display: none;
    max-height: calc(100vh - 65px);
    overflow-y: auto;
  }

  .nav-menu.mobile-open {
    display: block;
  }

  .nav-list {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.2rem;
  }

  .nav-link {
    font-size: 1.1rem;
    font-weight: 700;
  }

  .dropdown-menu,
  .nested-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    padding-left: 1rem;
    background: transparent;
  }

  .dropdown-menu a,
  .nested-menu a {
    color: var(--text-white);
  }

  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-subtitle-wrapper {
    justify-content: center;
  }

  .hero-cta-buttons {
    justify-content: center;
  }

  .hero-stats-grid {
    margin: 0 auto;
  }
}

@media (max-width: 600px) {
  .header-container {
    padding: 0.5rem 0.6rem;
    gap: 0.4rem;
  }

  .header-logo-img {
    height: 36px;
    max-width: 120px;
  }

  .btn-whatsapp span,
  .btn-register span {
    font-size: 0.72rem;
  }

  .btn-whatsapp,
  .btn-register {
    padding: 0.4rem 0.5rem;
  }

  .hero-stats-grid {
    flex-direction: column;
    gap: 1rem;
    width: 100%;
  }

  .stat-divider {
    width: 80%;
    height: 1px;
  }
}

/* Research Support Page Styles */
.research-page {
  background: #f8fafc;
  color: #013725;
}

.section-shell {
  max-width: 1250px;
  margin: 0 auto;
  padding: 5rem 1.5rem;
}

.research-header,
.narrow-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.research-header h2,
.narrow-header h2,
.cta-card h2,
.enroll-head h2 {
  font-family: var(--font-heading);
  font-size: clamp(2.1rem, 4vw, 3.2rem);
  line-height: 1.15;
  font-weight: 800;
  color: #013725;
}

.research-intro {
  background: linear-gradient(180deg, #f8fafc 0%, #ecfdf5 100%);
}

.intro-copy {
  max-width: 980px;
  margin: 0 auto;
  display: grid;
  gap: 1.1rem;
  color: #334155;
  font-size: 1.08rem;
  line-height: 1.8;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

.service-card {
  background: #ffffff;
  border-radius: 24px;
  padding: 2.5rem 2rem;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
  border-top: 5px solid var(--accent-green);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  position: relative;
  overflow: hidden;
  z-index: 1;
}
.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 120px;
  background: linear-gradient(180deg, rgba(132, 204, 22, 0.1) 0%, rgba(255, 255, 255, 0) 100%);
  z-index: -1;
  pointer-events: none;
}

.service-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(132, 204, 22, 0.12);
  color: #0f766e;
  font-weight: 800;
  margin-bottom: 1rem;
}

.service-card h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: #013725;
  margin-bottom: 0.8rem;
}

.service-card p,
.vision-box p,
.cta-card p,
.enroll-head p {
  color: #475569;
  line-height: 1.7;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}

.feature-item {
  background: linear-gradient(135deg, #013725 0%, #044e37 100%);
  color: #ffffff;
  border-radius: 16px;
  padding: 1.2rem 1.4rem;
  font-weight: 700;
  text-align: left;
  box-shadow: 0 10px 20px rgba(1, 55, 37, 0.12);
  border-left: 5px solid #84cc16;
  transition: transform 0.3s ease, background 0.3s ease;
  display: flex;
  align-items: center;
}
.feature-item::before {
  content: '✓';
  color: #84cc16;
  font-weight: 900;
  margin-right: 14px;
  font-size: 1.2rem;
}
.feature-item:hover {
  transform: translateX(8px);
  background: linear-gradient(135deg, #044e37 0%, #013725 100%);
}

.benefit-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  max-width: 1100px;
  margin: 0 auto;
}

.benefit-list li {
  background: #ffffff;
  color: #013725;
  border: 1px solid rgba(132, 204, 22, 0.2);
  border-radius: 16px;
  padding: 1.2rem 1.4rem;
  font-weight: 800;
  box-shadow: 0 8px 25px rgba(15, 23, 42, 0.05);
  transition: transform 0.3s ease, border-color 0.3s ease;
  display: flex;
  align-items: center;
}
.benefit-list li::before {
  content: '★';
  color: #f59e0b;
  margin-right: 12px;
  font-size: 1.2rem;
}
.benefit-list li:hover {
  transform: translateY(-5px);
  border-color: #84cc16;
}

.domain-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 1rem;
}

.domain-card {
  background: #ffffff;
  border: 1px solid rgba(132, 204, 22, 0.2);
  border-radius: 18px;
  padding: 1.5rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  text-align: center;
  min-height: 140px;
  box-shadow: 0 8px 25px rgba(15, 23, 42, 0.05);
  transition: transform 0.3s ease, border-top 0.3s ease;
  border-top: 1px solid rgba(132, 204, 22, 0.2);
}
.domain-card:hover {
  transform: translateY(-8px);
  border-top: 5px solid #84cc16;
}

.domain-card span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(132, 204, 22, 0.12);
  color: #013725;
  font-weight: 800;
}

.domain-card strong {
  color: #334155;
  font-size: 0.96rem;
  line-height: 1.5;
}

.vision-strip {
  background: linear-gradient(180deg, #ecfdf5 0%, #f8fafc 100%);
}

.vision-box {
  background: linear-gradient(135deg, #012b1d 0%, #03452b 100%);
  border-radius: 28px;
  padding: 4rem;
  box-shadow: 0 20px 40px rgba(1, 55, 37, 0.15);
  color: #ffffff;
  text-align: center;
  border-top: 5px solid #84cc16;
  position: relative;
  overflow: hidden;
}
.vision-box::after {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(132, 204, 22, 0.1) 0%, rgba(132, 204, 22, 0) 70%);
  border-radius: 50%;
  pointer-events: none;
}
.vision-box h2, .vision-box p, .vision-box .pill-badge {
  color: #ffffff !important;
  position: relative;
  z-index: 1;
}
.vision-box p {
  color: #d6e3ee !important;
  font-size: 1.15rem;
  line-height: 1.8;
  max-width: 800px;
  margin: 0 auto;
}

.left-align {
  text-align: left;
  margin-bottom: 1rem;
}

.research-cta {
  background: #f8fafc;
}

.cta-card {
  background: linear-gradient(135deg, #012b1d 0%, #044e37 100%);
  color: #ffffff;
  border-radius: 28px;
  padding: 2.4rem;
  display: grid;
  gap: 2rem;
  box-shadow: 0 18px 35px rgba(1, 55, 37, 0.18);
}

.cta-card h2,
.cta-card p,
.cta-card .pill-badge {
  color: #ffffff;
}

.cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.primary-btn,
.secondary-btn,
.submit-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border: none;
  border-radius: 12px;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.primary-btn,
.submit-btn {
  background: linear-gradient(135deg, #a3e635 0%, #84cc16 100%);
  color: #013725;
  padding: 0.9rem 1.4rem;
  box-shadow: 0 12px 22px rgba(132, 204, 22, 0.2);
}

.secondary-btn {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 0.9rem 1.4rem;
}

.primary-btn:hover,
.secondary-btn:hover,
.submit-btn:hover {
  transform: translateY(-2px);
}

.enroll-section {
  padding-top: 0;
}

.enroll-inner {
  background: #ffffff;
  border-radius: 28px;
  border: 1px solid rgba(132, 204, 22, 0.15);
  box-shadow: 0 18px 35px rgba(15, 23, 42, 0.05);
  padding: 2.5rem;
}

.enroll-head {
  text-align: center;
  margin-bottom: 2rem;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.2rem;
}

.enroll-form label {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  color: #013725;
  font-weight: 700;
}

.enroll-form input,
.enroll-form select,
.enroll-form textarea {
  width: 100%;
  border: 1px solid #dfe7e6;
  border-radius: 12px;
  background: #f8fafc;
  color: #0f172a;
  padding: 0.9rem 1rem;
  font: inherit;
}

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

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

.submit-btn {
  margin-top: 1.5rem;
  width: 100%;
}

@media (max-width: 768px) {
  .section-shell {
    padding: 4rem 1rem;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .cta-card,
  .vision-box,
  .enroll-inner {
    padding: 1.5rem;
  }
}

.mission-page {
  background: #f8fafc;
  color: #013725;
}

.mission-purpose,
.pillars {
  max-width: 1250px;
  margin: 0 auto;
  padding: 5rem 1.5rem;
}

.mission-header {
  text-align: center;
  margin-bottom: 2rem;
}

.mission-header h2 {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  line-height: 1.15;
  font-weight: 800;
  color: #013725;
}

.purpose-copy {
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
  color: #334155;
  font-size: 1.08rem;
  line-height: 1.8;
}

.pillar-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem;
  max-width: 950px;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .pillar-grid {
    grid-template-columns: 1fr;
  }
}

.pillar-card {
  background: #ffffff;
  border-radius: 24px;
  padding: 2.5rem 2rem;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
  border-top: 5px solid var(--accent-green);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.pillar-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
}

.pillar-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 150px;
  background: linear-gradient(180deg, rgba(132, 204, 22, 0.1) 0%, rgba(255, 255, 255, 0) 100%);
  z-index: -1;
  pointer-events: none;
}

.pillar-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 70px;
  height: 70px;
  border-radius: 20px;
  background: linear-gradient(135deg, var(--accent-green) 0%, #65a30d 100%);
  color: #ffffff;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  box-shadow: 0 8px 20px rgba(132, 204, 22, 0.35);
  position: relative;
  z-index: 1;
}

.pillar-card h3 {
  font-family: var(--font-heading);
  font-size: 1.45rem;
  font-weight: 800;
  color: #013725;
  margin-bottom: 1rem;
  line-height: 1.35;
}

.pillar-card p {
  color: #334155;
  line-height: 1.8;
  text-align: left !important;
}

.director-message-page {
  background: #f8fafc;
  padding: 4rem 1.2rem 5rem;
}

.director-message-wrap {
  max-width: 1250px;
  margin: 0 auto;
}

.director-profile-box {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 2.2rem;
  align-items: stretch;
}

.director-image-card {
  background: linear-gradient(135deg, #ffffff 0%, #ecfdf5 100%);
  border: 1px solid rgba(132, 204, 22, 0.12);
  border-radius: 24px;
  padding: 1.6rem;
  box-shadow: 0 18px 35px rgba(15, 23, 42, 0.06);
  text-align: center;
}

.director-photo {
  width: 100%;
  max-width: 260px;
  aspect-ratio: 1 / 1.1;
  margin: 0 auto 1rem;
  border-radius: 20px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #013725 0%, #084b3a 100%);
  color: #ffffff;
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 4vw, 3.2rem);
  font-weight: 800;
  letter-spacing: 0.05em;
}

.director-name {
  font-family: var(--font-heading);
  color: #013725;
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 0.35rem;
}

.director-role {
  color: #475569;
  font-size: 1.05rem;
  font-weight: 700;
}

.director-content-box {
  background: #ffffff;
  border: 1px solid rgba(132, 204, 22, 0.12);
  border-radius: 24px;
  padding: 2.2rem;
  box-shadow: 0 18px 35px rgba(15, 23, 42, 0.05);
}

.message-tag {
  display: inline-block;
  color: #65a30d;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 0.7rem;
}

.director-content-box h2 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3vw, 2.8rem);
  color: #013725;
  margin-bottom: 0.25rem;
}

.director-content-box h3 {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  color: #013725;
  margin: 0.2rem 0 1rem;
}

.director-content-box p {
  color: #334155;
  line-height: 1.9;
  font-size: 1.04rem;
  margin-bottom: 1rem;
}

.director-content-box strong {
  color: #013725;
}

.director-points {
  display: grid;
  grid-template-columns: repeat(4, minmax(160px, 1fr));
  gap: 1rem;
  margin: 2rem 0;
}

.point-item {
  background: linear-gradient(135deg, #013725 0%, #044e37 100%);
  border-radius: 18px;
  padding: 1.3rem 1rem;
  text-align: center;
  color: #ffffff;
  box-shadow: 0 14px 30px rgba(1, 55, 37, 0.1);
}

.point-item span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(163, 230, 53, 0.14);
  color: #a3e635;
  font-weight: 800;
  margin-bottom: 0.8rem;
  border: 1px solid rgba(163, 230, 53, 0.3);
}

.point-item p {
  color: #f8fafc;
  margin: 0;
  line-height: 1.5;
  font-weight: 700;
}

.signature-line {
  margin-top: 1.5rem;
  font-size: 1.1rem;
  font-weight: 800;
  color: #013725;
}

.closing-signature {
  margin-top: 0.8rem;
  color: #013725;
}

@media (max-width: 900px) {
  .director-profile-box {
    grid-template-columns: 1fr;
  }

  .director-points {
    grid-template-columns: repeat(2, minmax(160px, 1fr));
  }
}

@media (max-width: 560px) {
  .director-message-page {
    padding: 3rem 1rem 4rem;
  }

  .director-content-box {
    padding: 1.4rem 1.1rem;
  }

  .director-points {
    grid-template-columns: 1fr;
  }
}

/* Page Banner Styling for Sub-pages */
.page-banner {
  position: relative;
  background: linear-gradient(135deg, rgba(1, 43, 29, 0.90) 0%, rgba(0, 31, 20, 0.85) 100%),
    url('assets/college_students.jpg') center/cover no-repeat;
  padding: 4.5rem 1.8rem;
  text-align: center;
  border-bottom: 3px solid #84cc16;
  box-shadow: 0 10px 30px rgba(1, 43, 29, 0.25);
  overflow: hidden;
}

.page-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at center, rgba(132, 204, 22, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.banner-container {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.banner-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(132, 204, 22, 0.18);
  border: 1px solid rgba(132, 204, 22, 0.4);
  color: #a3e635;
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 12px 28px;
  border-radius: 50px;
  margin-bottom: 1.2rem;
  backdrop-filter: blur(8px);
}

.banner-badge .badge-dot {
  width: 8px;
  height: 8px;
  background-color: #84cc16;
  border-radius: 50%;
  box-shadow: 0 0 10px #84cc16;
  display: inline-block;
}

.banner-container h1 {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 0.8rem;
  line-height: 1.2;
  text-align: center;
  text-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.banner-container h1 .highlight-text,
.banner-container h1 span.highlight {
  color: #a3e635;
  background: linear-gradient(135deg, #a3e635, #84cc16);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.banner-container p {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: #e2e8f0;
  max-width: 720px;
  margin: 0 auto;
  line-height: 1.7;
  text-align: center;
}

/* ==========================================================================
   About Nellai MS Academy Section (Recreated from Reference)
   ========================================================================== */
.about-section {
  width: 100%;
  background-color: #012b1d;
  color: var(--text-white);
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(132, 204, 22, 0.2);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 560px;
  width: 100%;
}

/* Left Image Collage Column with Dotted Background */
.about-image-col {
  background-color: #ffffff;
  background-image: radial-gradient(#d1d5db 1.2px, transparent 1.2px);
  background-size: 18px 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4rem 2.5rem;
  position: relative;
}

.collage-wrapper {
  position: relative;
  width: 100%;
  max-width: 620px;
  height: 520px;
}

/* Dark Green Geometric Background Accent Block */
.red-accent-box {
  position: absolute;
  top: 10px;
  left: 15px;
  width: 180px;
  height: 180px;
  background-color: #013725;
  z-index: 1;
  clip-path: polygon(0 0, 100% 0, 0 100%);
}

/* Overlapping Photo Cards */
.collage-card {
  position: absolute;
  background: #ffffff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
  border: 4px solid #ffffff;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.collage-card:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.38);
  z-index: 10 !important;
}

.collage-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Top Left Card: School Students */
.card-top-left {
  top: 30px;
  left: 30px;
  width: 290px;
  height: 215px;
  z-index: 2;
}

/* Top Right Card: College Students */
.card-top-right {
  top: 95px;
  right: 15px;
  width: 290px;
  height: 215px;
  z-index: 2;
}

/* Bottom Front Card: Working Professionals */
.card-bottom-front {
  bottom: 20px;
  left: 125px;
  width: 360px;
  height: 260px;
  z-index: 4;
  border: 7px solid #ffffff;
}

/* Right Content Column */
.about-content-col {
  background-color: #012b1d;
  padding: 4.5rem 4rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.5rem;
}

.about-heading {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 3.5vw, 2.8rem);
  font-weight: 800;
  color: #84cc16;
  letter-spacing: 0.5px;
  line-height: 1.15;
  margin-bottom: 0.5rem;
}

.about-text {
  font-size: 1.05rem;
  line-height: 1.75;
  color: #e2e8f0;
  font-weight: 400;
}

.about-text strong {
  color: #ffffff;
  font-weight: 700;
}

/* Scroll To Top Button */
.scroll-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 44px;
  height: 44px;
  background-color: #84cc16;
  color: #013725;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  z-index: 2000;
  transition: all 0.3s ease;
  text-decoration: none;
}

.scroll-to-top:hover {
  background-color: #8bf425;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(132, 204, 22, 0.5);
}

/* Responsive About Section */
@media (max-width: 1024px) {
  .about-grid {
    grid-template-columns: 1fr;
  }

  .about-content-col {
    padding: 3.5rem 2.5rem;
  }

  .about-image-col {
    padding: 3rem 1.5rem;
  }

  .collage-wrapper {
    max-width: 460px;
    height: 380px;
  }

  .card-top-left {
    width: 200px;
    height: 150px;
    left: 20px;
  }

  .card-top-right {
    width: 200px;
    height: 150px;
    right: 15px;
  }

  .card-bottom-front {
    width: 260px;
    height: 180px;
    left: 80px;
  }
}

@media (max-width: 600px) {
  .about-content-col {
    padding: 2.5rem 1.5rem;
  }

  .about-text {
    font-size: 0.98rem;
  }

  .scroll-to-top {
    right: 1rem;
    width: 38px;
    height: 38px;
  }

  .floating-whatsapp {
    right: 1rem;
    bottom: 5rem;
    width: 52px;
    height: 52px;
  }
}

/* ==========================================================================
   Academy Highlights Section (Recreated from Reference)
   ========================================================================== */
.highlights-section {
  background-color: #f8fafc;
  padding: 5.5rem 1.8rem;
  width: 100%;
}

.section-container {
  max-width: 1250px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.pill-badge {
  background: #ecfdf5;
  color: #65a30d;
  font-size: 0.85rem;
  font-weight: 800;
  padding: 0.45rem 1.3rem;
  border-radius: 30px;
  letter-spacing: 0.8px;
  display: inline-block;
  margin-bottom: 1rem;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 4vw, 3.4rem);
  font-weight: 800;
  color: #013725;
  line-height: 1.15;
}

.highlight-text {
  color: #84cc16;
}

.section-subtitle {
  color: #475569;
  font-size: 1.1rem;
  max-width: 680px;
  margin: 1rem auto 0;
  line-height: 1.6;
}

.highlights-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 2.2rem;
  align-items: center;
}

/* Mission Card */
.mission-card {
  background: linear-gradient(135deg, #013725 0%, #044e37 100%);
  border-radius: 24px;
  padding: 3.5rem 3rem;
  color: #ffffff;
  box-shadow: 0 20px 45px rgba(1, 55, 37, 0.25);
  border: 1px solid rgba(132, 204, 22, 0.2);
}

.mission-icon {
  width: 60px;
  height: 60px;
  background: rgba(132, 204, 22, 0.15);
  border: 1px solid rgba(132, 204, 22, 0.3);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.8rem;
}

.mission-title {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 1.2rem;
  color: #ffffff;
}

.mission-text {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #e2e8f0;
}

.mission-text strong {
  color: #84cc16;
}

/* Stats Column */
.stats-column {
  display: flex;
  flex-direction: column;
  gap: 1.8rem;
}

.stat-info-card {
  background: #ffffff;
  border-radius: 22px;
  padding: 2rem 2.2rem;
  display: flex;
  align-items: center;
  gap: 1.8rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  border: 1px solid #f1f5f9;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-info-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.stat-badge {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: #f0fdf4;
  color: #65a30d;
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: inset 0 2px 5px rgba(101, 163, 13, 0.15);
}

.stat-details h4 {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  color: #013725;
}

.stat-details p {
  font-size: 0.95rem;
  color: #64748b;
  margin-top: 0.25rem;
}

/* ==========================================================================
   Our Programs Section (Recreated from Reference)
   ========================================================================== */
.programs-section {
  background-color: #ffffff;
  padding: 5.5rem 1.8rem;
  width: 100%;
}

.programs-container {
  max-width: 1250px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 4rem;
  align-items: center;
}

.programs-left .programs-title {
  font-family: var(--font-heading);
  font-size: 2.6rem;
  font-weight: 800;
  color: #013725;
  margin-bottom: 0.6rem;
}

.programs-left .programs-subtitle {
  color: #64748b;
  font-size: 1.05rem;
  margin-bottom: 2.2rem;
}

.programs-checklist {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.9rem;
}

.programs-checklist li {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  font-size: 1.05rem;
  font-weight: 600;
  color: #334155;
}

.check-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #ecfdf5;
  color: #65a30d;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 900;
  flex-shrink: 0;
}

/* Interactive Batches Image Card */
.interactive-card {
  background: linear-gradient(135deg, rgba(1, 55, 37, 0.92), rgba(4, 78, 55, 0.88)),
    url('assets/college_students.jpg') center/cover no-repeat;
  border-radius: 28px;
  padding: 4rem 3.5rem;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.4rem;
  box-shadow: 0 25px 50px rgba(1, 55, 37, 0.35);
  min-height: 500px;
  justify-content: center;
  border: 1.5px solid rgba(132, 204, 22, 0.3);
}

.card-badge {
  background: #84cc16;
  color: #013725;
  font-size: 0.82rem;
  font-weight: 800;
  padding: 0.4rem 1.1rem;
  border-radius: 20px;
  letter-spacing: 0.6px;
}

.card-title {
  font-family: var(--font-heading);
  font-size: clamp(2.1rem, 3.2vw, 2.6rem);
  font-weight: 800;
  line-height: 1.2;
  color: #ffffff;
}

.card-desc {
  font-size: 1.08rem;
  line-height: 1.75;
  color: #e2e8f0;
  max-width: 500px;
}

.btn-join-now {
  background: #ffffff;
  color: #013725;
  font-weight: 800;
  font-size: 1.05rem;
  padding: 0.9rem 2.4rem;
  border-radius: 40px;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
  margin-top: 0.6rem;
  display: inline-block;
}

.btn-join-now:hover {
  background: #f0fdf4;
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(132, 204, 22, 0.4);
}

/* Responsive Highlights & Programs */
@media (max-width: 1024px) {

  .highlights-grid,
  .programs-container {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .interactive-card {
    min-height: 400px;
    padding: 3rem 2rem;
  }
}

/* ==========================================================================
   Why Students Choose Nellai MS Academy Section
   ========================================================================== */
.why-choose-section {
  background-color: #f8fafc;
  padding: 5.5rem 1.8rem;
  width: 100%;
}

.why-choose-container {
  max-width: 1250px;
  margin: 0 auto;
}

.why-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.why-title {
  font-family: var(--font-heading);
  font-size: clamp(2.3rem, 3.8vw, 3.2rem);
  font-weight: 800;
  color: #013725;
  line-height: 1.15;
}

.why-subtitle {
  color: #475569;
  font-size: 1.1rem;
  max-width: 720px;
  margin: 1rem auto 0;
  line-height: 1.6;
}

.why-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.why-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 2.4rem 2rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  border: 1px solid #f1f5f9;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.why-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.1);
  border-color: rgba(132, 204, 22, 0.4);
}

.why-card-icon {
  width: 58px;
  height: 58px;
  background: #f0fdf4;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(132, 204, 22, 0.3);
}

.why-card h3 {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  color: #013725;
  margin-bottom: 0.8rem;
}

.why-card p {
  font-size: 0.98rem;
  line-height: 1.65;
  color: #64748b;
}

/* ==========================================================================
   Enroll Now Form Section (Matching Reference Image 3)
   ========================================================================== */
.enroll-section {
  background: linear-gradient(135deg, #012b1d 0%, #013725 100%);
  padding: 5.5rem 1.8rem;
  width: 100%;
}

.enroll-container {
  max-width: 850px;
  margin: 0 auto;
}

.enroll-card {
  background: #013725;
  border: 1px solid rgba(132, 204, 22, 0.3);
  border-radius: 28px;
  padding: 4rem 3.5rem;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4);
  text-align: center;
}

.enroll-title {
  font-family: var(--font-heading);
  font-size: clamp(2.4rem, 4vw, 3.2rem);
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 0.8rem;
  letter-spacing: 1px;
}

.enroll-subtitle {
  color: #cbd5e1;
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto 3rem;
  line-height: 1.6;
}

.enroll-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  text-align: left;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  color: #ffffff;
  font-size: 0.9rem;
  font-weight: 700;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.95rem 1.2rem;
  background-color: #e2e8f0;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  font-size: 0.98rem;
  font-family: inherit;
  color: #0f172a;
  outline: none;
  transition: all 0.25s ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #64748b;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  background-color: #ffffff;
  border-color: #84cc16;
  box-shadow: 0 0 0 3px rgba(132, 204, 22, 0.25);
}

.btn-enroll-submit {
  background: #84cc16;
  color: #013725;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 800;
  padding: 1rem 2.5rem;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 1.5rem;
  width: auto;
  align-self: center;
  box-shadow: 0 8px 20px rgba(132, 204, 22, 0.3);
}

.btn-enroll-submit:hover {
  background: #9ef01a;
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(132, 204, 22, 0.5);
}

/* Responsive Why Choose & Enroll Form */
@media (max-width: 992px) {
  .why-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .why-cards-grid {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .enroll-card {
    padding: 2.5rem 1.5rem;
  }
}

/* ==========================================================================
   Milestones & Memories Section (Events & Achievements)
   ========================================================================== */
.milestones-section {
  background-color: #ffffff;
  padding: 5.5rem 1.8rem;
  width: 100%;
}

.milestones-container {
  max-width: 1250px;
  margin: 0 auto;
}

.milestones-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.milestones-title {
  font-family: var(--font-heading);
  font-size: clamp(2.3rem, 3.8vw, 3.2rem);
  font-weight: 800;
  color: #013725;
  line-height: 1.15;
}

.milestones-subtitle {
  color: #475569;
  font-size: 1.1rem;
  max-width: 720px;
  margin: 1rem auto 0;
  line-height: 1.6;
}

.events-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.8rem;
}

.event-card {
  background: #ffffff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  border: 1px solid #f1f5f9;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  display: flex;
  flex-direction: column;
}

.event-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(1, 55, 37, 0.15);
  border-color: rgba(132, 204, 22, 0.4);
}

.event-image-box {
  width: 100%;
  height: 220px;
  overflow: hidden;
  position: relative;
  background-color: #013725;
}

.event-image-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.event-card:hover .event-image-box img {
  transform: scale(1.05);
}

.event-card-body {
  padding: 1.6rem 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  flex-grow: 1;
}

.event-tag {
  background: #ecfdf5;
  color: #65a30d;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  align-self: flex-start;
  letter-spacing: 0.4px;
}

.event-card-body h3 {
  font-family: var(--font-heading);
  font-size: 1.18rem;
  font-weight: 800;
  color: #013725;
  line-height: 1.3;
}

.event-card-body p {
  font-size: 0.92rem;
  line-height: 1.6;
  color: #64748b;
}

/* Responsive Events Grid */
@media (max-width: 1100px) {
  .events-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .events-grid {
    grid-template-columns: 1fr;
  }

  .event-image-box {
    height: 240px;
  }
}