/* ============================================================
   Style.css — Fully Responsive with Fluid Typography
   ============================================================ */

/* ---------- CSS Variables ---------- */
:root {
  --bg: #d8e8cc;
  --dark-green: #1a3a2a;
  --mid-green: #2d5a3d;
  --text: #1a3a2a;
  --text-muted: #4a6655;
  --card-bg: #ffffff;
  --card-radius: 20px;
  --btn-radius: 50px;
  --font-serif: "Playfair Display", Georgia, serif;
  --font-sans: "Instrument Sans", system-ui, sans-serif;
  --shadow-card:
    0 24px 64px rgba(26, 58, 42, 0.12), 0 4px 16px rgba(26, 58, 42, 0.06);
  --transition: 0.25s ease;

  /* ── Fluid type scale (min @ 320px → max @ 1200px) ──────────
     Formula: clamp(MIN, PREFERRED_VW, MAX)
     xs  = 0.75rem  → used for timestamps, fine print
     sm  = 0.875rem → used for secondary labels, captions
     base= 1rem     → body copy
     md  = 1.1rem   → lead / intro text
     lg  = 1.4rem   → card titles, step headings
     xl  = 1.8rem   → section sub-headings
     2xl = 2.2rem   → medium section headings
     3xl = 2.8rem   → large section headings / hero
     4xl = 3.6rem   → stat numbers
  ────────────────────────────────────────────────────────── */
  --text-xs: clamp(0.68rem, 0.65rem + 0.17vw, 0.78rem);
  --text-sm: clamp(0.8rem, 0.77rem + 0.17vw, 0.9rem);
  --text-base: clamp(0.9rem, 0.87rem + 0.2vw, 1rem);
  --text-md: clamp(0.95rem, 0.88rem + 0.35vw, 1.1rem);
  --text-lg: clamp(1.1rem, 0.95rem + 0.75vw, 1.5rem);
  --text-xl: clamp(1.4rem, 1.1rem + 1.25vw, 2rem);
  --text-2xl: clamp(1.8rem, 1.3rem + 2vw, 2.8rem);
  --text-3xl: clamp(2.2rem, 1.5rem + 2.75vw, 3.6rem);
  --text-4xl: clamp(2.6rem, 1.8rem + 3.25vw, 4.2rem);
}

/* ---------- Reset / Base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: var(--text-base);
  line-height: 1.6;
  min-height: 100vh;
}

em {
  font-family: var(--font-serif);
}

/* ---------- Global Container ---------- */
.container,
.container-xl {
  max-width: 1150px !important;
  margin: 0 auto !important;
}

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
  padding-top: 10px;
  padding-bottom: 10px;
  background-color: var(--bg);
}

.logo {
  width: clamp(140px, 18vw, 220px);
  height: auto;
}

.nav-link {
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  font-weight: 400;
  color: var(--dark-green) !important;
  padding: 4px 0 !important;
  position: relative;
  transition: opacity var(--transition);
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--dark-green);
  transition: width var(--transition);
}

.nav-link:hover::after {
  width: 100%;
}
.nav-link:hover {
  opacity: 0.75;
}

.btn-contact {
  background: #a6c088;
  color: var(--dark-green) !important;
  border: 1.5px solid var(--dark-green);
  border-radius: var(--btn-radius);
  /* padding: 4px 18px 4px 12px; */  /* if image */
  padding: 8px 16px;
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  font-weight: 500;
  letter-spacing: 0.01em;
  transition:
    background var(--transition),
    transform var(--transition);
  text-decoration: none;
}

.btn-contact:hover {
  background: var(--mid-green);
  color: white !important;
  transform: translateY(-1px);
}

.contact-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(255, 255, 255, 0.35);
}

.navbar-toggler {
  border: none;
  background: transparent;
  padding: 4px 8px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.navbar-toggler:focus {
  box-shadow: none;
}
.toggler-bar {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--dark-green);
  border-radius: 2px;
  transition:
    transform var(--transition),
    opacity var(--transition);
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero-section {
  padding: clamp(40px, 6vw, 40px) 0 clamp(60px, 8vw, 100px);
  
  /* Updated Background Gradient to use --dark-green (rgb: 26, 58, 42) */
  background-image: 
    linear-gradient(
      to right, 
      rgba(26, 58, 42, 0.90) 0%,
      rgba(26, 58, 42, 0.80) 50%,  
      rgba(26, 58, 42, 0.03) 100%  
    ),
    url('./images/banner.webp');
    
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-heading {
  font-family: var(--font-sans);
  font-size: var(--text-4xl);
  font-weight: 400;
  line-height: 1.08;
  color: #ffffff; /* Updated to white */
  letter-spacing: -0.02em;
  margin-bottom: clamp(16px, 2vw, 28px);
}

.hero-heading em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
}

.hero-sub {
  font-family: var(--font-sans);
  font-size: var(--text-md);
  font-weight: 400;
  /* Updated to a soft white to maintain visual hierarchy with the heading */
  color: rgba(255, 255, 255, 0.85); 
  max-width: 340px;
  margin-bottom: clamp(28px, 4vw, 44px);
  line-height: 1.65;
}

/* CTA buttons */

/* Inverted for Dark Background: Solid White with Dark Green Text */
.btn-primary-dark {
  background: #ffffff;
  color: var(--dark-green);
  border: 2px solid #ffffff;
  border-radius: var(--btn-radius);
  padding: clamp(7px, 1vw, 10px) clamp(18px, 2vw, 24px);
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  font-weight: 500;
  letter-spacing: 0.01em;
  transition:
    background var(--transition),
    border-color var(--transition),
    transform var(--transition);
  text-decoration: none;
  display: inline-block;
}

.btn-primary-dark:hover {
  background: rgba(255, 255, 255, 0.85);
  border-color: rgba(255, 255, 255, 0.85);
  color: var(--dark-green);
  transform: translateY(-2px);
}

/* Inverted for Dark Background: White Outline with White Text */
.btn-outline-dark-custom {
  background: transparent;
  color: #ffffff;
  border: 2px solid #ffffff;
  border-radius: var(--btn-radius);
  padding: clamp(7px, 1vw, 10px) clamp(18px, 2vw, 24px);
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  font-weight: 500;
  letter-spacing: 0.01em;
  transition:
    background var(--transition),
    color var(--transition),
    transform var(--transition);
  text-decoration: none;
  display: inline-block;
}

.btn-outline-dark-custom:hover {
  background: #ffffff;
  color: var(--dark-green);
  transform: translateY(-2px);
}

/* ============================================================
   LEAD CAPTURE CARD
   ============================================================ */
.lead-card {
  background: var(--card-bg);
  border-radius: var(--card-radius);
  padding: clamp(24px, 4vw, 44px);
  width: 100%;
  max-width: 460px;
  box-shadow: var(--shadow-card);
  animation: cardFadeUp 0.55s ease both;
}

@keyframes cardFadeUp {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.lead-card-header {
  margin-bottom: clamp(18px, 3vw, 28px);
}

.lead-eyebrow {
  font-family: var(--font-sans);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mid-green);
  margin-bottom: 8px;
}

.lead-card-title {
  font-family: var(--font-sans);
  font-size: var(--text-xl);
  font-weight: 500;
  color: var(--dark-green);
  line-height: 1.15;
  margin-bottom: 6px;
  letter-spacing: -0.015em;
}

.lead-card-sub {
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  color: var(--text-muted);
  margin-bottom: 0;
}

.form-label-custom {
  display: block;
  font-family: var(--font-sans);
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--dark-green);
  margin-bottom: 6px;
  letter-spacing: 0.02em;
}

.optional-tag {
  font-weight: 400;
  color: var(--text-muted);
  font-size: var(--text-xs);
}

.form-control-custom {
  width: 100%;
  background: #f4f8f2;
  border: 1.5px solid #c8dbc0;
  border-radius: 12px;
  padding: clamp(10px, 1.5vw, 13px) 16px;
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  color: var(--dark-green);
  outline: none;
  transition:
    border-color var(--transition),
    box-shadow var(--transition),
    background var(--transition);
  appearance: none;
  -webkit-appearance: none;
}

.form-control-custom::placeholder {
  color: #8aaa94;
}

.form-control-custom:focus {
  border-color: var(--dark-green);
  box-shadow: 0 0 0 3px rgba(26, 58, 42, 0.1);
  background: #fff;
}

.form-control-custom.error {
  border-color: #c0392b;
  background: #fff5f5;
}

select.form-control-custom {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%231a3a2a' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
  cursor: pointer;
}

.invalid-feedback-custom {
  display: none;
  font-size: var(--text-xs);
  color: #c0392b;
  margin-top: 4px;
  padding-left: 4px;
}

.invalid-feedback-custom.visible {
  display: block;
}

.btn-submit {
  background: var(--dark-green);
  color: #fff;
  border: none;
  border-radius: var(--btn-radius);
  padding: clamp(12px, 1.5vw, 16px) clamp(22px, 2.5vw, 28px);
  font-family: var(--font-sans);
  font-size: var(--text-base);
  font-weight: 600;
  letter-spacing: 0.01em;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
  transition:
    background var(--transition),
    transform var(--transition),
    box-shadow var(--transition);
}

.btn-submit:hover {
  background: var(--mid-green);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(26, 58, 42, 0.22);
  color: #fff;
}

.btn-submit-icon {
  font-size: 1.1em;
  transition: transform var(--transition);
}

.btn-submit:hover .btn-submit-icon {
  transform: translateX(4px);
}

.form-footer-note {
  text-align: center;
  font-size: var(--text-xs);
  color: var(--text-muted);
  margin-top: 14px;
  margin-bottom: 0;
}

.form-footer-note a {
  color: var(--dark-green);
  text-decoration: underline;
}

/* ---------- SUCCESS STATE ---------- */
.form-success {
  text-align: center;
  padding: 32px 16px;
  animation: cardFadeUp 0.4s ease both;
}

.success-icon {
  width: clamp(48px, 6vw, 64px);
  height: clamp(48px, 6vw, 64px);
  background: var(--dark-green);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-xl);
  margin: 0 auto 20px;
}

.form-success h3 {
  font-family: var(--font-sans);
  font-size: var(--text-xl);
  font-weight: 600;
  color: var(--dark-green);
  margin-bottom: 10px;
}

.form-success p {
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  color: var(--text-muted);
}

/* ---------- HERO COPY ANIMATION ---------- */
.hero-copy {
  animation: heroFade 0.6s ease both;
}

@keyframes heroFade {
  from {
    opacity: 0;
    transform: translateX(-24px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* ---------- RESPONSIVE (hero / lead card) ---------- */
@media (min-width: 992px) {
  .hero-copy {
    padding-right: 32px;
  }
}

@media (max-width: 991.98px) {
  .hero-sub {
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
  }
  .hero-ctas {
    justify-content: center;
  }
  .lead-card {
    max-width: 520px;
  }
}

@media (max-width: 575.98px) {
  .btn-primary-dark,
  .btn-outline-dark-custom {
    width: 100%;
    text-align: center;
  }
  .hero-ctas {
    flex-direction: column;
  }
  .apply-card {
    padding: 24px 16px;
    border-radius: 14px;
  }
}

/* ============================================================
   APPLY NOW CARD
   ============================================================ */
.apply-card {
  background: #fff;
  border-radius: 18px;
  padding: clamp(24px, 4vw, 28px) clamp(20px, 3vw, 28px);
  width: 100%;
  max-width: 460px;
  box-shadow:
    0 20px 60px rgba(26, 58, 42, 0.1),
    0 4px 16px rgba(26, 58, 42, 0.06);
  animation: cardFadeUp 0.55s ease both;
}

.apply-title {
  font-family: var(--font-sans);
  font-size: var(--text-md);
  font-weight: 600;
  color: var(--mid-green);
  text-align: center;
  letter-spacing: 0.04em;
  margin-bottom: clamp(16px, 2vw, 24px);
}

.apply-input {
  width: 100%;
  border: 1.5px solid #d0d0d0;
  border-radius: 8px;
  padding: clamp(7px, 1vw, 10px) 16px;
  font-family: var(--font-sans);
  font-size: var(--text-base);
  color: #333;
  outline: none;
  background: #fff;
  transition:
    border-color var(--transition),
    box-shadow var(--transition),
    background-color var(--transition);
}

.apply-input::placeholder {
  color: #999;
}

.apply-input:focus {
  border-color: var(--mid-green);
  box-shadow: 0 0 0 3px rgba(34, 177, 76, 0.12);
}

select.apply-input {
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23333333' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 32px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

select.apply-input:disabled {
  background-color: #f5f7f5;
  color: #999;
  cursor: not-allowed;
  border-color: #e0e0e0;
}

.apply-input[readonly] {
  background-color: #f5f7f5;
  color: #555;
  cursor: default;
  font-weight: 500;
}

.apply-checkbox-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.apply-checkbox {
  width: 16px;
  height: 16px;
  border: 1.5px solid #bbb;
  border-radius: 3px;
  cursor: pointer;
  flex-shrink: 0;
  accent-color: var(--mid-green);
}

.apply-checkbox-label {
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  color: #333;
  cursor: pointer;
  margin-bottom: 0;
}

.apply-terms-link {
  color: var(--mid-green);
  text-decoration: underline;
}

.apply-terms-link:hover {
  color: #1a8f3c;
}

.apply-submit-btn {
  width: 100%;
  background: var(--mid-green);
  color: #fff;
  border: none;
  border-radius: 50px;
  padding: clamp(13px, 1.5vw, 16px);
  font-family: var(--font-sans);
  font-size: var(--text-base);
  font-weight: 700;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition:
    background var(--transition),
    transform var(--transition),
    box-shadow var(--transition);
}

.apply-submit-btn:hover {
  background: var(--dark-green);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(34, 177, 76, 0.3);
}

/* ============================================================
   STATS SECTION
   ============================================================ */
.stats-section {
  background: #0f2d1a;
  padding: clamp(36px, 5vw, 56px) 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr 1.4fr;
  align-items: center;
  gap: 0 24px;
}

.stat-item {
  padding: 8px 0;
}

.stat-number {
  font-family: var(--font-serif);
  font-size: var(--text-4xl);
  font-weight: 300;
  color: #fff;
  line-height: 1;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.stat-suffix {
  font-size: 55%;
  font-weight: 300;
  color: #c8e63c;
  vertical-align: baseline;
}

.stat-label {
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  font-weight: 400;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 0;
}

.stat-divider {
  width: 1px;
  height: 80px;
  background: rgba(255, 255, 255, 0.2);
  flex-shrink: 0;
}

.stat-desc {
  padding-left: 16px;
}

.stat-desc p {
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  font-weight: 400;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.65;
  margin-bottom: 14px;
}

.stat-contact {
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  font-weight: 600;
  color: #c8e63c;
  text-decoration: none;
  letter-spacing: 0.01em;
  transition: opacity var(--transition);
}

.stat-contact:hover {
  opacity: 0.75;
}

@media (max-width: 991.98px) {
  .stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px 24px;
  }
  .stat-divider {
    display: none;
  }
  .stat-desc {
    grid-column: 1 / -1;
    padding-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    padding-top: 24px;
  }
  .stat-number, .stat-label {
    text-align: center;
  }
}

@media (max-width: 575.98px) {
  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* ============================================================
   SERVICES SECTION
   ============================================================ */
.services-section {
  background: var(--bg);
  padding: clamp(48px, 7vw, 80px) 0;
}

.services-heading {
  font-family: var(--font-sans);
  font-size: var(--text-3xl);
  font-weight: 400;
  color: var(--dark-green);
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 16px;
}

.services-sub {
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  font-weight: 400;
  color: var(--text-muted);
  line-height: 1.65;
  max-width: 380px;
  margin-bottom: 0;
}

.service-card {
  padding-top: 8px;
}

.service-icon-wrap {
  width: clamp(38px, 5vw, 46px);
  height: clamp(38px, 5vw, 46px);
  border: 1.5px solid var(--dark-green);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: clamp(16px, 2vw, 24px);
}

.service-icon-wrap em {
  font-size: var(--text-lg);
  color: var(--dark-green);
}

.service-title {
  font-family: var(--font-sans);
  font-size: var(--text-lg);
  font-weight: 500;
  color: var(--dark-green);
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 12px;
}

.service-desc {
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  font-weight: 400;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 0;
  max-width: 340px;
}

@media (max-width: 991.98px) {
  .btn-services-explore {
    margin-top: 20px;
  }
}

@media (max-width: 767.98px) {
  .services-sub {
    max-width: 100%;
  }
  .service-desc {
    max-width: 100%;
  }
}

/* ============================================================
   FEATURES SECTION (Why Divya Jyoti)
   ============================================================ */
.features-section {
  background-color: #0f2319;
  padding: clamp(64px, 9vw, 120px) 0;
  color: #fff;
}

.feature-section-eyebrow {
  font-family: var(--font-sans);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #c8e04a;
  margin-bottom: 24px;
}

.features-main-heading {
  font-family: var(--font-sans);
  font-size: var(--text-3xl);
  font-weight: 400;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 0;
  letter-spacing: -0.02em;
}

.features-main-heading em {
  font-style: italic;
  font-weight: 400;
  color: #e5e3c9;
}

.features-main-desc {
  font-family: var(--font-sans);
  font-size: var(--text-base);
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.7;
  margin-bottom: 0;
}

/* Strict 3-Column Grid */
.features-card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 2vw, 24px);
}

.feature-rounded-card {
  background-color: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  overflow: hidden; /* Keeps the top image constrained */
  display: flex;
  flex-direction: column;
  transition:
    transform var(--transition),
    background-color var(--transition),
    border-color var(--transition);
}

.feature-rounded-card:hover {
  transform: translateY(-4px);
  background-color: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.15);
}

/* Image Wrapper and Sizing */
.f-img-wrapper {
  position: relative;
  width: 100%;
  height: 170px; 
  overflow: hidden;
}

.f-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.feature-rounded-card:hover .f-img {
  transform: scale(1.05);
}

/* Number Positioned Over Image */
.f-num {
  position: absolute;
  top: 20px;
  left: 20px;
  background: rgba(15, 35, 25, 0.85); 
  backdrop-filter: blur(8px);
  padding: 4px 8px;
  border-radius: 12px;
  font-family: var(--font-sans);
  font-size: var(--text-xs);
  font-weight: 500;
  color: #c8e04a;
  margin-bottom: 0;
  letter-spacing: 0.05em;
  border: 1px solid rgba(255, 255, 255, 0.1);
  z-index: 2;
}

/* Text Content Area */
.f-text-content {
  padding: clamp(24px, 3.5vw, 25px) clamp(20px, 3vw, 22px);
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  justify-content: center;
}

.f-title {
  font-family: var(--font-sans);
  font-size: var(--text-lg);
  font-weight: 400;
  color: #fff;
  line-height: 1.25;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.f-desc {
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.6;
  margin-bottom: 0;
}

/* Responsive Grid Adjustments */
@media (max-width: 991.98px) {
  .features-card-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

@media (max-width: 767.98px) {
  .features-main-heading {
    margin-bottom: 16px;
  }
  .f-text-content {
    padding: 24px 20px;
  }
  .f-img-wrapper {
    height: 200px;
  }
}

@media (max-width: 575.98px) {
  .features-card-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   ADMISSIONS & ELIGIBILITY SECTION
   ============================================================ */
.admissions-section {
  padding: clamp(40px, 6vw, 72px) 0;
  overflow: hidden;
}

.section-eyebrow {
  font-family: var(--font-sans);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.admissions-heading {
  font-family: var(--font-sans);
  font-size: var(--text-2xl);
  font-weight: 400;
  color: var(--dark-green);
  line-height: 1.15;
  margin-bottom: 28px;
  letter-spacing: -0.02em;
}

.admissions-heading em {
  font-style: italic;
  font-weight: 400;
}

.admissions-desc {
  font-family: var(--font-sans);
  font-size: var(--text-base);
  color: var(--text-muted);
  margin-bottom: 40px;
  line-height: 1.65;
  max-width: 90%;
}

.eligibility-table {
  border-top: 1px solid rgba(26, 58, 42, 0.15);
}

.eligibility-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 20px 0;
  border-bottom: 1px solid rgba(26, 58, 42, 0.15);
  gap: 16px;
}

.e-label {
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  color: var(--text-muted);
  font-weight: 500;
  flex-shrink: 0;
}

.e-value {
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  color: var(--dark-green);
  font-weight: 600;
  text-align: right;
  line-height: 1.4;
}

.process-timeline {
  display: flex;
  flex-direction: column;
  margin-top: 40px;
  margin-bottom: 40px;
}

.process-step {
  display: flex;
  gap: 24px;
  position: relative;
  padding-bottom: 36px;
}

.process-step:last-child {
  padding-bottom: 0;
}

.process-step:not(:last-child)::before {
  content: "";
  position: absolute;
  top: 48px;
  bottom: 0;
  left: 24px;
  width: 1px;
  background-color: rgba(26, 58, 42, 0.15);
}

.step-circle {
  width: 48px;
  height: 48px;
  border: 1px solid var(--text-muted);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-size: var(--text-md);
  color: var(--dark-green);
  flex-shrink: 0;
  background-color: #f4f3ea;
  position: relative;
  z-index: 2;
}

.step-text h4 {
  font-family: var(--font-sans);
  font-size: var(--text-lg);
  font-weight: 400;
  color: var(--dark-green);
  margin-top: 8px;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.step-text p {
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  color: var(--text-muted);
  margin-bottom: 0;
  line-height: 1.6;
}

.process-cta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.process-cta .btn-primary-dark {
  padding: clamp(10px, 1.5vw, 13px) clamp(22px, 2.5vw, 28px);
}

.cta-text {
  font-family: var(--font-sans);
  font-size: var(--text-xs);
  color: var(--text-muted);
}

.cta-text strong {
  color: var(--dark-green);
  font-weight: 600;
}

@media (max-width: 991.98px) {
  .admissions-desc {
    max-width: 100%;
  }
  .process-timeline {
    margin-top: 32px;
  }
  .col-lg-7.ps-lg-5 {
    margin-top: 56px;
  }
}

@media (max-width: 575.98px) {
  .eligibility-row {
    flex-direction: column;
    gap: 8px;
  }
  .e-value {
    text-align: left;
  }
  .process-step {
    gap: 16px;
  }
  .process-step:not(:last-child)::before {
    left: 24px;
  }
}

/* ============================================================
   CAREER OUTCOMES SECTION
   ============================================================ */
.career-section {
  padding: clamp(40px, 6vw, 64px) 0;
  overflow: hidden;
}

.career-heading {
  font-family: var(--font-serif);
  font-size: var(--text-3xl);
  font-weight: 400;
  color: var(--dark-green);
  line-height: 1.1;
  margin-bottom: 0;
  letter-spacing: -0.02em;
}

.career-heading em {
  font-style: italic;
  font-weight: 400;
}

.career-main-desc {
  font-family: var(--font-sans);
  font-size: var(--text-md);
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 0;
}

.career-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 2vw, 24px);
  margin-top: clamp(32px, 4vw, 48px);
}

.career-card {
  background: #c8ddb8;
  border-radius: var(--card-radius);
  padding: clamp(16px, 2.5vw, 28px) clamp(14px, 2vw, 24px) clamp(16px, 2.5vw, 24px);
  box-shadow: 0 4px 24px rgba(26, 58, 42, 0.03);
  display: flex;
  flex-direction: column;
  transition:
    transform var(--transition),
    box-shadow var(--transition);
  height: 100%;
  min-height: 400px; /* NEW: Ensures the card is tall enough to show the background image */
}

.career-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(26, 58, 42, 0.08);
}

.c-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  /* CHANGED: This pushes everything else to the bottom */
  margin-bottom: auto; 
}

.c-num {
  font-family: var(--font-sans);
  font-size: var(--text-base);
  font-weight: 600;
  color: #fff;
  letter-spacing: 0.05em;
}

.c-icon {
  font-size: var(--text-md);
  color: #fff;
  transition:
    transform var(--transition),
    color var(--transition);
}

.career-card:hover .c-icon {
  transform: translateX(4px) scale(1.1);
}

.c-title {
  font-family: var(--font-sans);
  font-size: var(--text-lg);
  font-weight: 400;
  color: #fff;
  line-height: 1.25;
  margin-top: 24px;
  letter-spacing: -0.01em;
}

.c-desc {
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  color: #fffffff1;
  line-height: 1.6;
}

.c-footer {
  /* CHANGED: Removed margin-top: auto so it sits flush under the description */
  margin-top: 0; 
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.47);
  font-family: var(--font-sans);
  font-size: var(--text-xs);
  font-weight: 600;
  color: #fff;
}

@media (max-width: 991.98px) {
  .career-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 767.98px) {
  .career-heading {
    margin-bottom: 16px;
  }
  .career-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .career-card {
    padding: 28px 22px 24px;
    min-height: 380px; /* Slightly shorter on mobile */
  }
}

/* ============================================================
   TEAM SECTION
   ============================================================ */
.team-section {
  background: var(--bg);
  padding: clamp(40px, 6vw, 42px) 0;
  overflow: hidden;
}

.team-eyebrow {
  font-family: var(--font-sans);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.team-heading {
  font-family: var(--font-sans);
  font-size: var(--text-2xl);
  font-weight: 400;
  color: var(--dark-green);
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: clamp(24px, 3vw, 40px);
}

.team-grid {
  display: grid;
  grid-template-columns: 420px 1fr 1fr;
  gap: 16px;
  align-items: end;
}

.teams-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr 1fr;
  gap: 16px;
  align-items: end;
  margin-top: 22px;
}

.team-info-card {
  background: #0f2a1a;
  border-radius: 20px;
  padding: clamp(24px, 3.5vw, 36px) clamp(20px, 3vw, 28px)
    clamp(24px, 3.5vw, 32px);
  display: flex;
  flex-direction: column;
  min-height: 400px;
  align-self: stretch;
}

.team-info-eyebrow {
  font-family: var(--font-sans);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 16px;
}

.team-info-title {
  font-family: var(--font-sans);
  font-size: var(--text-xl);
  font-weight: 500;
  color: #fff;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}

.team-info-desc {
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  font-weight: 400;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.7;
  flex: 1;
  margin-bottom: 16px;
}

.team-photo {
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  cursor: pointer;
}

.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.team-photo:hover img {
  transform: scale(1.05);
}

.team-photo--1 {
  height: clamp(280px, 33vw, 400px);
  align-self: end;
}
.team-photo--2 {
  height: clamp(280px, 33vw, 400px);
  align-self: end;
}
.team-photo--3 {
  height: clamp(280px, 30vw, 400px);
  align-self: end;
}

.team-photo-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(
    to top,
    rgba(15, 42, 26, 0.85) 0%,
    rgba(15, 42, 26, 0.70) 65%,
    transparent 100%
  );
  padding: 40px 20px 20px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  opacity: 0;
  transform: translateY(8px);
  transition:
    opacity var(--transition),
    transform var(--transition);
}

.team-photo:hover .team-photo-overlay {
  opacity: 1;
  transform: translateY(0);
}

.team-photo-name {
  font-family: var(--font-sans);
  font-size: var(--text-base);
  font-weight: 600;
  color: #fff;
}

.team-photo-role {
  font-family: var(--font-sans);
  font-size: var(--text-xs);
  font-weight: 400;
  color: rgba(255, 255, 255, 0.7);
}

@media (max-width: 991.98px) {
  .team-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 14px;
  }
  .team-info-card {
    grid-column: 1 / -1;
    min-height: auto;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 16px;
    align-items: flex-start;
  }
  .team-info-desc {
    flex: 1 1 100%;
    margin-bottom: 0;
  }
  .team-photo--1,
  .team-photo--2,
  .team-photo--3 {
    height: 300px;
    margin-bottom: 0;
    align-self: auto;
  }
  .team-photo--3 {
    grid-column: 1 / -1;
    height: 260px;
  }
}

@media (max-width: 575.98px) {
  .team-grid {
    grid-template-columns: 1fr;
  }
  .team-photo--1,
  .team-photo--2,
  .team-photo--3 {
    height: 260px;
    grid-column: auto;
  }
  .team-photo-overlay {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ---------- TEAM STATS ---------- */
.team-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  align-items: center;
}

.team-stat-number {
  font-family: var(--font-serif);
  font-size: var(--text-xl);
  font-weight: 500;
  color: #fff;
  line-height: 1;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
  text-align: center;
}

.team-stat-suffix {
  font-family: var(--font-sans);
  font-size: 60%;
  font-weight: 500;
  color: #c8e04a;
  vertical-align: top;
  position: relative;
  top: -4px;
}

.team-stat-label {
  font-family: var(--font-sans);
  font-size: var(--text-xs);
  font-weight: 400;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 0;
  text-align: center;
}

@media (max-width:991.98px) {
  .teams-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   TESTIMONIALS SECTION
   ============================================================ */
.testimonials-section {
  background: var(--bg);
  padding: clamp(56px, 8vw, 90px) 0;
}

.testimonials-heading {
  font-family: var(--font-sans);
  font-size: var(--text-2xl);
  font-weight: 400;
  color: var(--dark-green);
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: clamp(32px, 5vw, 56px);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.testimonial-card {
  background: #c8ddb8;
  border-radius: 16px;
  padding: clamp(16px, 2vw, 20px) clamp(14px, 2vw, 18px);
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition:
    transform var(--transition),
    box-shadow var(--transition);
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(26, 58, 42, 0.12);
}

/* --- NEW: Video Card Modifiers --- */
.testimonial-card.video-card {
  padding: 0;
  overflow: hidden;
  position: relative;
  min-height: 280px; /* Ensures video cards match text card height */
  justify-content: center;
  align-items: center;
  background: #1a3a2a; /* Dark green backdrop */
  cursor: pointer;
  border-radius: var(--radius-lg, 16px);
}

.testimonial-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  z-index: 0;
  transition: opacity 0.3s ease;
}

/* Specific framing adjustments only for videos 2 & 3 */
.testimonial-card:nth-of-type(4) .testimonial-video,
.testimonial-video[src*="v-2"] {
  object-position: center 15%;
}

.testimonial-card:nth-of-type(6) .testimonial-video,
.testimonial-video[src*="v-3"] {
  object-position: center 10%;
}

.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2;
  background: rgba(14, 34, 24, 0.35);
  transition: background 0.3s ease, opacity 0.3s ease;
}

.video-play-btn {
  background: rgba(255, 255, 255, 0.95);
  border: none;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  color: var(--dark-green, #1a3a2a);
  font-size: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.2s ease, box-shadow 0.2s ease;
}

.video-play-btn .play-icon {
  margin-left: 3px;
  display: inline-block;
}

.video-play-btn .pause-icon {
  display: none;
}

.testimonial-card.video-card:hover .video-play-btn {
  transform: scale(1.1);
  background: #ffffff;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35);
}

/* Sound badge indicator */
.video-sound-indicator {
  position: absolute;
  bottom: 14px;
  right: 14px;
  z-index: 3;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: #ffffff;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: background 0.2s ease, transform 0.2s ease;
}

.video-sound-indicator .sound-on-icon {
  display: none;
}
.video-sound-indicator .sound-off-icon {
  display: inline-block;
}

/* Playing state */
.testimonial-card.video-card.is-playing .video-overlay {
  opacity: 0;
  background: transparent;
  pointer-events: none;
}

.testimonial-card.video-card.is-playing:hover .video-overlay {
  opacity: 1;
  background: rgba(14, 34, 24, 0.3);
  pointer-events: auto;
}

.testimonial-card.video-card.is-playing .video-play-btn .play-icon {
  display: none;
}
.testimonial-card.video-card.is-playing .video-play-btn .pause-icon {
  display: inline-block;
}

.testimonial-card.video-card.sound-on .video-sound-indicator .sound-on-icon {
  display: inline-block;
  color: #6ee7b7;
}
.testimonial-card.video-card.sound-on .video-sound-indicator .sound-off-icon {
  display: none;
}
/* --------------------------------- */

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 2px solid rgba(255, 255, 255, 0.5);
}

.testimonial-name {
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--dark-green);
  margin-bottom: 2px;
  line-height: 1;
}

.testimonial-handle {
  font-family: var(--font-sans);
  font-size: var(--text-xs);
  font-weight: 400;
  color: var(--text-muted);
  margin-bottom: 0;
  line-height: 1;
}

.testimonial-quote {
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  font-weight: 400;
  color: var(--dark-green);
  line-height: 1.65;
  flex: 1;
  margin-bottom: 0;
}

.testimonial-date {
  font-family: var(--font-sans);
  font-size: var(--text-xs);
  font-weight: 400;
  color: var(--text-muted);
  text-align: right;
  margin-bottom: 0;
}

@media (max-width: 1199.98px) {
  .testimonials-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 767.98px) {
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   FAQ SECTION
   ============================================================ */
.faq-section {
  background: #0f2a1a;
  padding: clamp(56px, 8vw, 90px) 0;
}

.faq-left {
  padding-right: clamp(0px, 4vw, 48px);
}

.faq-heading {
  font-family: var(--font-sans);
  font-size: var(--text-3xl);
  font-weight: 400;
  color: #fff;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}

.faq-heading em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  color: #c8e04a;
}

.faq-sub {
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  font-weight: 400;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.7;
  max-width: 320px;
  margin-bottom: 0;
}

.btn-outline-dark-custom2 {
  background: transparent;
  color: #8aaa94;
  border: 2px solid #8aaa94;
  border-radius: var(--btn-radius);
  padding: clamp(7px, 1vw, 10px) clamp(18px, 2vw, 24px);
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  font-weight: 500;
  letter-spacing: 0.01em;
  transition:
    background var(--transition),
    color var(--transition),
    transform var(--transition);
  text-decoration: none;
  display: inline-block;
  margin-top: 20px;
}

.btn-outline-dark-custom2:hover {
  background: #c8ddb8;
  color: var(--dark-green);
  transform: translateY(-2px);
}

.faq-accordion {
  display: flex;
  flex-direction: column;
}

.faq-item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.faq-item:first-child {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.faq-question {
  width: 100%;
  background: transparent;
  border: none;
  outline: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: clamp(16px, 2vw, 22px) 0;
  font-family: var(--font-sans);
  font-size: var(--text-base);
  font-weight: 500;
  color: #fff;
  text-align: left;
  cursor: pointer;
  transition: color var(--transition);
}

.faq-question:hover {
  color: #c8e04a;
}
.faq-question.active {
  color: #c8e04a;
}

.faq-icon {
  font-size: var(--text-xs);
  color: #c8e04a;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.faq-question.active .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition:
    max-height 0.35s ease,
    padding 0.35s ease;
}

.faq-answer.open {
  max-height: 300px;
  padding-bottom: 20px;
}

.faq-answer p {
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  font-weight: 400;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.75;
  margin-bottom: 0;
}

@media (max-width: 991.98px) {
  .faq-left {
    padding-right: 0;
    margin-bottom: 48px;
  }
  .faq-sub {
    max-width: 100%;
  }
}

/* ============================================================
   CTA SECTION
   ============================================================ */
.cta-section {
  background: var(--bg);
  padding: clamp(24px, 4vw, 48px) 0;
}

.cta-inner {
  background: #c8ddb8;
  border-radius: 28px;
  padding: clamp(32px, 5vw, 72px) clamp(24px, 4vw, 64px);
  overflow: hidden;
  position: relative;
}

.cta-inner::before {
  content: "";
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  top: -120px;
  left: -100px;
  pointer-events: none;
}

.cta-content {
  position: relative;
  z-index: 1;
}

.cta-heading {
  font-family: var(--font-sans);
  font-size: var(--text-3xl);
  font-weight: 400;
  color: var(--dark-green);
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}

.cta-heading em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  color: var(--dark-green);
}

.cta-sub {
  font-family: var(--font-sans);
  font-size: var(--text-base);
  font-weight: 400;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 420px;
  margin-bottom: clamp(24px, 4vw, 36px);
}

.cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.btn-cta-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--dark-green);
  color: #fff;
  border: 2px solid var(--dark-green);
  border-radius: var(--btn-radius);
  padding: clamp(11px, 1.5vw, 14px) clamp(22px, 2.5vw, 28px);
  font-family: var(--font-sans);
  font-size: var(--text-base);
  font-weight: 600;
  text-decoration: none;
  letter-spacing: 0.01em;
  transition:
    background var(--transition),
    transform var(--transition),
    box-shadow var(--transition);
}

.btn-cta-primary:hover {
  background: var(--mid-green);
  border-color: var(--mid-green);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(26, 58, 42, 0.2);
}

.btn-cta-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--dark-green);
  border: 2px solid var(--dark-green);
  border-radius: var(--btn-radius);
  padding: clamp(11px, 1.5vw, 14px) clamp(22px, 2.5vw, 28px);
  font-family: var(--font-sans);
  font-size: var(--text-base);
  font-weight: 600;
  text-decoration: none;
  letter-spacing: 0.01em;
  transition:
    background var(--transition),
    color var(--transition),
    transform var(--transition);
}

.btn-cta-outline:hover {
  background: var(--dark-green);
  color: #fff;
  transform: translateY(-2px);
}

.cta-image-col {
  position: relative;
  z-index: 1;
}

.cta-image-wrap {
  position: relative;
  border-radius: 20px;
  overflow: visible;
}

.cta-image {
  width: 100%;
  height: clamp(200px, 30vw, 400px);
  object-fit: cover;
  border-radius: 20px;
  display: block;
  box-shadow: 0 24px 64px rgba(26, 58, 42, 0.18);
}

.cta-badge {
  position: absolute;
  bottom: -20px;
  left: -20px;
  background: #fff;
  border-radius: 16px;
  padding: clamp(10px, 1.5vw, 14px) clamp(14px, 2vw, 18px);
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 8px 32px rgba(26, 58, 42, 0.14);
  animation: cardFadeUp 0.6s ease both 0.3s;
}

.cta-badge-icon {
  width: clamp(32px, 4vw, 40px);
  height: clamp(32px, 4vw, 40px);
  background: var(--dark-green);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.cta-badge-icon .bi {
  color: #c8e04a;
  font-size: var(--text-md);
}

.cta-badge-title {
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--dark-green);
  margin-bottom: 2px;
  line-height: 1;
}

.cta-badge-sub {
  font-family: var(--font-sans);
  font-size: var(--text-xs);
  font-weight: 400;
  color: var(--text-muted);
  margin-bottom: 0;
  line-height: 1;
}

@media (max-width: 991.98px) {
  .cta-badge {
    left: 12px;
    bottom: 12px;
  }
  .cta-sub {
    max-width: 100%;
  }
}

@media (max-width: 575.98px) {
  .cta-inner {
    border-radius: 20px;
  }
  .cta-buttons {
    flex-direction: column;
  }
  .btn-cta-primary,
  .btn-cta-outline {
    justify-content: center;
  }
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background-color: var(--bg);
  padding: clamp(48px, 7vw, 48px) 0 clamp(20px, 3vw, 20px);
  color: var(--dark-green);
}

.footer-brand-col {
  padding-right: clamp(15px, 4vw, 40px);
}

.footer-sub {
  font-family: var(--font-sans);
  font-size: var(--text-base);
  color: var(--text-muted);
  line-height: 1.6;
}

.footer-heading {
  font-family: var(--font-sans);
  font-size: var(--text-md);
  font-weight: 700;
  color: var(--dark-green);
  margin-bottom: 24px;
}

.footer-links li {
  margin-bottom: 16px;
}

.footer-links a {
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  color: var(--text-muted);
  text-decoration: none;
  transition:
    color var(--transition),
    transform var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.footer-links a:hover {
  color: var(--dark-green);
  transform: translateX(2px);
}

.footer-socials i {
  font-size: var(--text-lg);
  color: var(--dark-green);
}

.footer-map-container {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(26, 58, 42, 0.08);
  border: 1.5px solid rgba(26, 58, 42, 0.1);
}

.footer-divider {
  border-color: var(--dark-green);
  opacity: 0.15;
  margin: clamp(36px, 6vw, 64px) 0 24px;
}

.footer-bottom p {
  font-family: var(--font-sans);
  font-size: var(--text-xs);
  color: var(--text-muted);
  margin: 0;
}

@media (max-width: 991.98px) {
  .footer-divider {
    margin: 36px 0 24px;
  }
}

/* ============================================================
   SCROLL REVEAL ANIMATIONS
   ============================================================ */
.reveal-up {
  opacity: 0;
  transform: translateY(40px);
  transition:
    opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal-in {
  opacity: 0;
  transition: opacity 0.8s ease-out;
  will-change: opacity;
}

.reveal-up.is-visible,
.reveal-in.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.delay-100 {
  transition-delay: 100ms;
}
.delay-200 {
  transition-delay: 200ms;
}
.delay-300 {
  transition-delay: 300ms;
}
.delay-400 {
  transition-delay: 400ms;
}


/* --- Events Section Wrapper --- */
.events-section {
  background-color: var(--bg);
  padding: 5rem 1.5rem;
  font-family: var(--font-sans);
  color: var(--text);
}

.events-container {
  max-width: 1200px;
  margin: 0 auto;
}

.events-title {
  font-family: var(--font-sans);
  font-size: var(--text-2xl);
  color: var(--dark-green);
  margin-bottom: 3rem;
}

.events-title span {
  font-family: var(--font-serif);
  font-style: italic;
}

/* --- Swiper & Card Styles --- */
.events-swiper {
  width: 100%;
  padding-bottom: 3rem; /* Space for pagination dots */
}

.event-card {
  position: relative;
  width: 100%;
  height: 450px; /* Adjust height as needed */
  border-radius: var(--card-radius);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  background-color: var(--card-bg);
  cursor: pointer;
}

/* Full Background Image */
.event-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition);
}

/* Hover effect on image */
.event-card:hover .event-image {
  transform: scale(1.05);
}

/* Dark Gradient Overlay for text readability */
.event-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 40%, rgba(26, 58, 42, 0.85) 100%);
  pointer-events: none;
  z-index: 1;
}

/* Text Content positioned at the bottom */
.event-content {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 2rem;
  z-index: 2;
  color: #ffffff; /* Keeping white for contrast against the dark green overlay */
}

.event-date {
  display: inline-block;
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.5rem;
  background-color: rgba(255,255,255,0.2);
  padding: 0.2rem 0.6rem;
  border-radius: var(--btn-radius);
  backdrop-filter: blur(4px);
}

.event-name {
  font-family: var(--font-sans);
  font-size: var(--text-lg);
  margin: 0 0 0.5rem 0;
  line-height: 1.2;
}

.event-desc {
  font-size: var(--text-sm);
  margin: 0;
  opacity: 0.9;
}

/* Swiper Pagination Customization */
.events-swiper .swiper-pagination-bullet {
  background-color: var(--mid-green);
  opacity: 0.5;
}
.events-swiper .swiper-pagination-bullet-active {
  background-color: var(--dark-green);
  opacity: 1;
}

/* ============================================================
   Sticky CTA Button
   - Desktop: Vertical green tab pinned on the right ("ADMISSION OPEN 2026-27")
   - Mobile: Fixed full-width bar at bottom ("APPLY NOW")
   ============================================================ */
.sticky-apply-btn {
  border-radius: 30px;
    position: fixed;
    right: 0;
    top: 50%;
    transform: translateY(-50%) translateX(120%);
    z-index: 1050;
    background-color: #0f2d1a;
    color: #ffffff !important;
    text-decoration: none !important;
    padding: 22px 10px;
    /* border-top-left-radius: 50px; */
    /* border-bottom-left-radius: 50px; */
    box-shadow: -4px 4px 20px rgba(15, 35, 25, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.25s ease, box-shadow 0.25s ease;
    user-select: none;
    border: 0.1px solid;
}

.sticky-apply-btn.is-visible {
  transform: translateY(-50%) translateX(0);
}

.sticky-apply-btn:hover {
  background-color: #1a3a2a;
  box-shadow: -6px 6px 26px rgba(15, 35, 25, 0.45);
  transform: translateY(-50%) translateX(-4px);
}

/* Desktop vertical text */
.sticky-desktop-text {
  font-family: var(--font-sans);
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  transform: rotate(180deg);
  white-space: nowrap;
  padding: 8px 4px;
  display: block;
}

.sticky-mobile-text {
  display: none;
}

/* Mobile: Fixed full width at bottom of screen */
@media (max-width: 767.98px) {
  .sticky-apply-btn {
    top: auto;
    bottom: 0;
    left: 0;
    right: 0;
    transform: translateY(120%);
    border-radius: 0;
    padding: 15px 20px calc(15px + env(safe-area-inset-bottom, 0px));
    background-color: #0f2d1a;
    box-shadow: 0 -4px 20px rgba(15, 35, 25, 0.35);
    width: 100vw;
    border: none;
  }

  .sticky-apply-btn.is-visible {
    transform: translateY(0);
  }

  .sticky-apply-btn:hover {
    transform: translateY(0);
    background-color: #1a3a2a;
  }

  .sticky-desktop-text {
    display: none;
  }

  .sticky-mobile-text {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-family: var(--font-sans);
    font-size: 1.05rem;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    width: 100%;
    color: #ffffff;
  }

  .sticky-mobile-text i {
    font-size: 1.25rem;
  }
}