/* ===== HOME.CSS ===== */
/* Maxfem International School - Home Page Styles */

/* ---------- CSS Variables (Theme) ---------- */
:root {
  --primary: #90EE90;
  --secondary: #2E8B57;
  --accent: #228B22;
  --bg: #FFFFFF;
  --text: #222222;
  --text-light: #555555;
  --white: #FFFFFF;
  --shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
  --shadow-hover: 0 12px 40px rgba(0, 0, 0, 0.15);
  --radius: 12px;
  --transition: 0.3s ease;
  --font-primary: 'Poppins', sans-serif;
  --font-secondary: 'Montserrat', sans-serif;
  --font-body: 'Open Sans', sans-serif;
}

/* ---------- Reset & Base ---------- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--text);
  background-color: var(--bg);
  line-height: 1.7;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Typography ---------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-primary);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 0.5rem;
}

h2 {
  font-size: 2.2rem;
  text-align: center;
  margin-bottom: 2rem;
  position: relative;
}
h2:after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background: var(--secondary);
  margin: 12px auto 0;
  border-radius: 4px;
}

.section {
  padding: 80px 0;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 12px 32px;
  border-radius: 50px;
  font-family: var(--font-primary);
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
}

.btn-primary {
  background: var(--secondary);
  color: var(--white);
  border-color: var(--secondary);
}
.btn-primary:hover {
  background: var(--accent);
  border-color: var(--accent);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(46, 139, 87, 0.35);
}

.btn-outline {
  background: transparent;
  color: var(--secondary);
  border-color: var(--secondary);
}
.btn-outline:hover {
  background: var(--secondary);
  color: var(--white);
  transform: translateY(-3px);
}

.btn-outline-light {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}
.btn-outline-light:hover {
  background: var(--white);
  color: var(--secondary);
  transform: translateY(-3px);
}

/* ---------- Navigation ---------- */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
  padding: 12px 0;
  transition: all 0.3s ease;
  border-bottom: 1px solid rgba(46, 139, 87, 0.08);
}

.navbar.scrolled {
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  padding: 8px 0;
}

.nav-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* ---------- Logo ---------- */
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.logo:hover {
  transform: scale(1.02);
}

.logo-img {
  height: 50px;
  width: auto;
  object-fit: contain;
  display: block;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.logo-main {
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  font-size: 1.5rem;
  color: #2E8B57;
  letter-spacing: 1.2px;
  transition: color 0.3s ease;
}

.logo:hover .logo-main {
  color: #228B22;
}

.logo-sub {
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  font-size: 0.65rem;
  color: #555555;
}

/* ---------- Navigation Menu ---------- */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-menu ul {
  display: flex;
  gap: 4px;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-menu ul li a {
  display: block;
  padding: 8px 16px;
  border-radius: 30px;
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  color: #222222;
  text-decoration: none;
  position: relative;
}

.nav-menu ul li a:hover {
  background: #90EE90;
  color: #2E8B57;
  transform: translateY(-2px);
}

.nav-menu ul li a.active {
  background: #90EE90;
  color: #2E8B57;
  font-weight: 600;
}

.nav-menu ul li a.active::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 3px;
  background: #2E8B57;
  border-radius: 4px;
}

/* ---------- Navigation Actions ---------- */
.nav-actions {
  display: flex;
  gap: 8px;
  margin-left: 16px;
  align-items: center;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 10px 24px;
  border-radius: 50px;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 0.85rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: #2E8B57;
  color: #FFFFFF;
  border-color: #2E8B57;
}

.btn-primary:hover {
  background: #228B22;
  border-color: #228B22;
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(46, 139, 87, 0.35);
}

.btn-outline {
  background: transparent;
  color: #2E8B57;
  border-color: #2E8B57;
  padding: 8px 20px;
  font-size: 0.85rem;
}

.btn-outline:hover {
  background: #2E8B57;
  color: #FFFFFF;
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(46, 139, 87, 0.2);
}

/* ---------- Hamburger Menu (Mobile) ---------- */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 5px;
  z-index: 1001;
  background: transparent;
  border: none;
}

.hamburger span {
  display: block;
  width: 28px;
  height: 3px;
  background: #2E8B57;
  border-radius: 4px;
  transition: all 0.3s ease;
  transform-origin: center;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 6px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -6px);
}

/* ===== Horizontal Scrolling Announcement ===== */
.announcement-ticker {
  background: linear-gradient(135deg, #1a2e1a 0%, #2a4a2a 100%);
  padding: 12px 0;
  overflow: hidden;
  position: relative;
  border-top: 1px solid rgba(144, 238, 144, 0.15);
  border-bottom: 1px solid rgba(144, 238, 144, 0.15);
}

.ticker-wrapper {
  display: flex;
  overflow: hidden;
  width: 100%;
}

.ticker-content {
  display: flex;
  align-items: center;
  white-space: nowrap;
  animation: scrollTicker 25s linear infinite;
  flex-shrink: 0;
}

.ticker-content.paused {
  animation-play-state: paused;
}

.ticker-item {
  color: rgba(255, 255, 255, 0.9);
  font-family: 'Open Sans', sans-serif;
  font-size: 1.2rem;
  padding: 0 20px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.ticker-item i {
  color: var(--primary);
  font-size: 0.85rem;
}

.ticker-divider {
  color: rgba(255, 255, 255, 0.2);
  font-size: 1.2rem;
}

.ticker-link {
  color: var(--primary);
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition);
}

.ticker-link:hover {
  color: var(--white);
  text-decoration: underline;
}

@keyframes scrollTicker {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-100%);
  }
}


/* ---------- Hero Slideshow ---------- */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.hero-slideshow {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 2s ease-in-out;
  will-change: opacity;
  transform: scale(1.1);
  will-change: transform;  
}

.hero-slide.active {
  opacity: 1;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  padding: 40px 20px;
}

.hero-title {
  font-size: 4.0rem;
  font-weight: 800;
  color: var(--white);
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
  margin-bottom: 0.5rem;
}

.hero-title .highlight {
  color: var(--primary);
}

.hero-subtitle {
  font-size: 1.3rem;
  color: var(--white);
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
  margin-bottom: 2rem;
  font-weight: 400;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}




/* ---------- About Preview ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
  margin-bottom: 40px;
}

.about-image {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.about-image:hover {
  box-shadow: var(--shadow-hover);
  transform: scale(1.01);
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.about-image:hover img {
  transform: scale(1.03);
}

.about-text h2 {
  text-align: left;
  font-size: 2.5rem;
}

.about-text h2:after {
  margin: 12px 0 0;
}

.about-text p {
  font-size: 1.1rem;
  color: var(--text-light);
  margin: 1.2rem 0 1.8rem;
  line-height: 1.8;
}

.about-text .btn {
  padding: 14px 36px;
  font-size: 1rem;
}

/* ---------- Stats Section Full Width ---------- */
.about-stats {
  display: flex;
  flex-wrap: nowrap;
  justify-content: space-around;
  align-items: center;
  gap: 0;
  padding: 40px 50px;
  background: linear-gradient(135deg, #f8fdf8 0%, #eef6ee 100%);
  border-radius: 16px;
  margin-top: 20px;
  position: relative;
  z-index: 1;
  border: 1px solid rgba(144, 238, 144, 0.2);
  width: 100%;
}

.about-stats .stat-item {
  flex: 0 0 auto;
  text-align: center;
  padding: 0 20px;
  min-width: 80px;
  background: transparent;
  box-shadow: none;
  border-bottom: none;
  border-radius: 0;
}

.about-stats .stat-item:hover {
  transform: none;
  box-shadow: none;
}

.about-stats .counter {
  font-family: var(--font-primary);
  font-weight: 800;
  font-size: 2.8rem;
  color: var(--secondary);
  display: inline-block;
  line-height: 1.2;
}

.about-stats .stat-item .counter-label {
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: 2rem;
  color: var(--secondary);
}

.about-stats .stat-item br {
  display: none;
}

.about-stats .stat-item .stat-label {
  display: block;
  font-family: var(--font-secondary);
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--text-light);
  margin-top: 4px;
  white-space: nowrap;
}

/* Divider between stats */
.about-stats .stat-divider {
  flex: 0 0 1px;
  height: 50px;
  background: rgba(46, 139, 87, 0.15);
}

/* ----- Responsive for About Stats ----- */
@media (max-width: 992px) {
  .about-stats {
    padding: 30px 25px;
  }
  
  .about-stats .stat-item {
    padding: 0 12px;
    min-width: 70px;
  }
  
  .about-stats .counter {
    font-size: 2.2rem;
  }
  
  .about-stats .stat-item .counter-label {
    font-size: 1.5rem;
  }
  
  .about-stats .stat-item .stat-label {
    font-size: 0.75rem;
  }
  
  .about-stats .stat-divider {
    height: 40px;
  }
}

@media (max-width: 768px) {
  .about-stats {
    flex-wrap: nowrap !important;
    justify-content: space-around;
    gap: 0;
    padding: 16px 12px;
    overflow-x: auto;
  }
  
  .about-stats .stat-item {
    flex: 0 0 auto;
    padding: 0 10px;
    min-width: 60px;
  }
  
  .about-stats .stat-divider {
    display: block !important;
    flex: 0 0 1px;
    height: 35px;
  }
  
  .about-stats .counter {
    font-size: 1.6rem;
  }
  
  .about-stats .stat-item .counter-label {
    font-size: 1.2rem;
  }
  
  .about-stats .stat-item .stat-label {
    font-size: 0.65rem;
    white-space: nowrap;
  }
}

@media (max-width: 480px) {
  .about-stats {
    flex-wrap: nowrap !important;
    padding: 12px 8px;
    justify-content: space-around;
    gap: 0;
  }
  
  .about-stats .stat-item {
    padding: 0 6px;
    min-width: 50px;
  }
  
  .about-stats .counter {
    font-size: 1.3rem;
  }
  
  .about-stats .stat-item .counter-label {
    font-size: 1rem;
  }
  
  .about-stats .stat-item .stat-label {
    font-size: 0.55rem;
  }
  
  .about-stats .stat-divider {
    height: 30px;
  }
}

/* ---------- Principal ---------- */
.principal-box {
  display: flex;
  align-items: center;
  gap: 40px;
  background: var(--white);
  padding: 40px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.principal-box img {
  border-radius: 50%;
  width: 250px;
  height: 250px;
  object-fit: cover;
  border: 6px solid var(--primary);
  flex-shrink: 0;
}
.principal-box h2 {
  text-align: left;
}
.principal-box h2:after {
  margin: 8px 0 0;
}
.principal-box p {
  font-size: 1.05rem;
  color: var(--text-light);
  font-style: italic;
}
.principal-box p:last-child {
  font-style: normal;
  font-weight: 600;
  margin-top: 8px;
  color: var(--text);
}


/* ===== ACADEMIC PROGRAMS SECTION ===== */
.academic-programs {
  background: linear-gradient(180deg, #ffffff 0%, #f8fdf8 100%);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

/* ----- Floating Background Shapes ----- */
.academic-programs::before {
  content: '';
  position: absolute;
  top: -150px;
  right: -150px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(144, 238, 144, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  z-index: 0;
}

.academic-programs::after {
  content: '';
  position: absolute;
  bottom: -100px;
  left: -100px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(46, 139, 87, 0.1) 0%, transparent 70%);
  border-radius: 50%;
  z-index: 0;
}

/* ----- Section Header ----- */
.section-header {
  text-align: center;
  margin-bottom: 50px;
  position: relative;
  z-index: 1;
}

.section-tag {
  display: inline-block;
  background: rgba(46, 139, 87, 0.1);
  color: var(--secondary);
  font-family: var(--font-primary);
  font-weight: 600;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  padding: 6px 20px;
  border-radius: 50px;
  margin-bottom: 12px;
}

.section-header h2 {
  font-size: 2.8rem;
  color: var(--text);
  margin-bottom: 16px;
  position: relative;
}

.section-header h2:after {
  content: '';
  display: block;
  width: 70px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  margin: 12px auto 0;
  border-radius: 4px;
}

.section-subtitle {
  font-size: 1.2rem;
  color: var(--text-light);
  max-width: 1200px;
  margin: 16px auto 0;
  font-weight: 400;
  font-family: var(--font-secondary);
}

.section-description {
  font-size: 1rem;
  color: var(--text-light);
  max-width: 1400px;
  margin: 16px auto 0;
  line-height: 1.8;
}

/* ----- Journey Indicator ----- */
.journey-indicator {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-bottom: 50px;
  padding: 20px 40px;
  background: var(--white);
  border-radius: 60px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  position: relative;
  z-index: 1;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.journey-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  padding: 0 8px;
}

.step-number {
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: 0.7rem;
  color: var(--text-light);
  opacity: 0.5;
  transition: var(--transition);
}

.journey-step.active .step-number {
  color: var(--secondary);
  opacity: 1;
}

.step-label {
  font-family: var(--font-primary);
  font-weight: 600;
  font-size: 0.8rem;
  color: var(--text-light);
  transition: var(--transition);
  margin-top: 4px;
  white-space: nowrap;
}

.journey-step.active .step-label {
  color: var(--secondary);
}

.step-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 3px solid #ddd;
  background: var(--white);
  margin-top: 8px;
  transition: var(--transition);
  position: relative;
}

.journey-step.active .step-dot {
  border-color: var(--secondary);
  background: var(--secondary);
  box-shadow: 0 0 0 6px rgba(46, 139, 87, 0.15);
}

.journey-step:hover .step-dot {
  transform: scale(1.1);
}

.journey-line {
  flex: 1;
  height: 3px;
  background: #e8e8e8;
  position: relative;
  min-width: 40px;
  border-radius: 4px;
}

.line-progress {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 50%;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  border-radius: 4px;
  transition: width 0.6s ease;
}

.journey-step:nth-child(1).active ~ .journey-line .line-progress {
  width: 100%;
}

/* ----- Programs Grid ----- */
.programs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  position: relative;
  z-index: 1;
}

/* ----- Program Card ----- */
.program-card {
  background: var(--white);
  border-radius: 20px;
  padding: 40px 30px 35px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(144, 238, 144, 0.2);
  opacity: 0;
  transform: translateY(40px);
  animation: cardReveal 0.8s ease forwards;
}

.program-card:nth-child(1) { animation-delay: 0.1s; }
.program-card:nth-child(2) { animation-delay: 0.3s; }
.program-card:nth-child(3) { animation-delay: 0.5s; }

@keyframes cardReveal {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.program-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 20px 60px rgba(46, 139, 87, 0.15);
  border-color: var(--primary);
}

/* Card Decorative Shapes */
.card-decoration {
  position: absolute;
  top: 0;
  right: 0;
  width: 150px;
  height: 150px;
  overflow: hidden;
  pointer-events: none;
}

.card-shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.06;
}

.card-shape.shape-1 {
  width: 120px;
  height: 120px;
  background: var(--secondary);
  top: -40px;
  right: -40px;
}

.card-shape.shape-2 {
  width: 80px;
  height: 80px;
  background: var(--primary);
  top: 20px;
  right: -20px;
}

/* Card Icon */
.card-icon {
  width: 70px;
  height: 70px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(144, 238, 144, 0.25), rgba(46, 139, 87, 0.15));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--secondary);
  margin-bottom: 20px;
  transition: var(--transition);
}

.program-card:hover .card-icon {
  transform: scale(1.05) rotate(-4deg);
  background: linear-gradient(135deg, rgba(144, 238, 144, 0.4), rgba(46, 139, 87, 0.25));
}

/* Card Badge */
.card-badge {
  display: inline-block;
  background: rgba(46, 139, 87, 0.08);
  color: var(--secondary);
  font-family: var(--font-primary);
  font-weight: 600;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 4px 14px;
  border-radius: 50px;
  margin-bottom: 12px;
}

/* Card Title */
.program-card h3 {
  font-family: var(--font-primary);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
}

.card-tagline {
  font-family: var(--font-secondary);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--secondary);
  margin-bottom: 14px;
}

.card-description {
  font-size: 0.95rem;
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 18px;
}

/* Learning Areas */
.learning-areas {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
}

.learning-areas span {
  background: #f5faf5;
  color: var(--text-light);
  font-size: 0.78rem;
  padding: 5px 14px;
  border-radius: 50px;
  border: 1px solid rgba(144, 238, 144, 0.3);
  transition: var(--transition);
}

.program-card:hover .learning-areas span {
  background: rgba(144, 238, 144, 0.15);
  border-color: var(--primary);
}

/* Card Button */
.card-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-primary);
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--secondary);
  text-decoration: none;
  transition: var(--transition);
  padding: 8px 0;
  border-bottom: 2px solid transparent;
}

.card-btn i {
  transition: var(--transition);
}

.card-btn:hover {
  color: var(--accent);
  border-bottom-color: var(--primary);
}

.card-btn:hover i {
  transform: translateX(6px);
}

/* Card Age */
.card-age {
  position: absolute;
  top: 20px;
  right: 20px;
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: 0.75rem;
  color: var(--secondary);
  background: rgba(144, 238, 144, 0.15);
  padding: 4px 14px;
  border-radius: 50px;
  border: 1px solid rgba(144, 238, 144, 0.3);
}

/* ----- Responsive ----- */
@media (max-width: 1024px) {
  .programs-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .section-header h2 {
    font-size: 2.3rem;
  }
  
  .journey-indicator {
    padding: 16px 24px;
    max-width: 90%;
  }
}

@media (max-width: 768px) {
  .academic-programs {
    padding: 60px 0;
  }
  
  .section-header h2 {
    font-size: 2rem;
  }
  
  .section-subtitle {
    font-size: 1rem;
  }
  
  .section-description {
    font-size: 0.95rem;
  }
  
  .programs-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  
  .program-card {
    padding: 30px 24px 28px;
  }
  
  .journey-indicator {
    padding: 14px 16px;
    border-radius: 30px;
    max-width: 100%;
    flex-wrap: nowrap;
  }
  
  .step-label {
    font-size: 0.65rem;
  }
  
  .journey-line {
    min-width: 20px;
  }
  
  .card-age {
    position: static;
    display: inline-block;
    margin-top: 12px;
  }
}

@media (max-width: 480px) {
  .academic-programs {
    padding: 40px 0;
  }
  
  .section-header h2 {
    font-size: 1.6rem;
  }
  
  .section-tag {
    font-size: 0.7rem;
    padding: 4px 14px;
  }
  
  .program-card {
    padding: 24px 18px 24px;
  }
  
  .program-card h3 {
    font-size: 1.3rem;
  }
  
  .card-icon {
    width: 56px;
    height: 56px;
    font-size: 1.5rem;
  }
  
  .journey-indicator {
    padding: 12px 10px;
    border-radius: 20px;
    gap: 0;
  }
  
  .step-label {
    font-size: 0.55rem;
    margin-top: 2px;
  }
  
  .step-number {
    font-size: 0.6rem;
  }
  
  .step-dot {
    width: 10px;
    height: 10px;
    margin-top: 4px;
    border-width: 2px;
  }
  
  .journey-line {
    min-width: 14px;
    height: 2px;
  }
  
  .learning-areas span {
    font-size: 0.7rem;
    padding: 4px 10px;
  }
}

/* ===== ADMISSION PROCESS SECTION ===== */
.admission-process {
  background: linear-gradient(180deg, #f8fdf8 0%, #ffffff 100%);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

/* ----- Floating Background Shapes ----- */
.admission-process::before {
  content: '';
  position: absolute;
  top: -200px;
  left: -200px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(144, 238, 144, 0.08) 0%, transparent 70%);
  border-radius: 50%;
  z-index: 0;
}

.admission-process::after {
  content: '';
  position: absolute;
  bottom: -150px;
  right: -150px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(46, 139, 87, 0.06) 0%, transparent 70%);
  border-radius: 50%;
  z-index: 0;
}

/* ----- Section Header ----- */
.section-header {
  text-align: center;
  margin-bottom: 50px;
  position: relative;
  z-index: 1;
}

.section-tag {
  display: inline-block;
  background: rgba(46, 139, 87, 0.1);
  color: var(--secondary);
  font-family: var(--font-primary);
  font-weight: 600;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  padding: 6px 20px;
  border-radius: 50px;
  margin-bottom: 12px;
}

.section-header h2 {
  font-size: 2.8rem;
  color: var(--text);
  margin-bottom: 16px;
  position: relative;
}

.section-header h2:after {
  content: '';
  display: block;
  width: 70px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  margin: 12px auto 0;
  border-radius: 4px;
}

.section-subtitle {
  font-size: 1.15rem;
  color: var(--text-light);
  max-width: 1200px;
  margin: 16px auto 0;
  font-weight: 400;
  font-family: var(--font-secondary);
  line-height: 1.8;
}


/* ----- Steps Grid ----- */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  position: relative;
  z-index: 1;
  margin-bottom: 50px;
}

/* ----- Step Card ----- */
.step-card {
  opacity: 0;
  transform: translateY(30px);
  animation: cardReveal 0.8s ease forwards;
}

.step-card:nth-child(1) { animation-delay: 0.1s; }
.step-card:nth-child(2) { animation-delay: 0.25s; }
.step-card:nth-child(3) { animation-delay: 0.4s; }
.step-card:nth-child(4) { animation-delay: 0.55s; }
.step-card:nth-child(5) { animation-delay: 0.7s; }

@keyframes cardReveal {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.step-card-inner {
  background: var(--white);
  border-radius: 16px;
  padding: 30px 20px 25px;
  text-align: center;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(144, 238, 144, 0.15);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  height: 100%;
  position: relative;
  overflow: hidden;
}

.step-card-inner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.step-card.active .step-card-inner::before {
  transform: scaleX(1);
}

.step-card:hover .step-card-inner {
  transform: translateY(-6px);
  box-shadow: 0 16px 50px rgba(46, 139, 87, 0.12);
  border-color: var(--primary);
}

.step-card:hover .step-card-inner::before {
  transform: scaleX(1);
}

/* Step Number Circle */
.step-number-circle {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(46, 139, 87, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  transition: var(--transition);
}

.step-number-circle span {
  font-family: var(--font-primary);
  font-weight: 800;
  font-size: 0.9rem;
  color: var(--secondary);
  transition: var(--transition);
}

.step-card.active .step-number-circle {
  background: var(--secondary);
  box-shadow: 0 0 0 6px rgba(46, 139, 87, 0.15);
}

.step-card.active .step-number-circle span {
  color: var(--white);
}

.step-card:hover .step-number-circle {
  transform: scale(1.05);
}

/* Step Icon */
.step-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(144, 238, 144, 0.2), rgba(46, 139, 87, 0.08));
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-size: 1.5rem;
  color: var(--secondary);
  transition: var(--transition);
}

.step-card:hover .step-icon {
  transform: scale(1.05) rotate(-4deg);
  background: linear-gradient(135deg, rgba(144, 238, 144, 0.35), rgba(46, 139, 87, 0.15));
}

.step-card.active .step-icon {
  background: linear-gradient(135deg, rgba(144, 238, 144, 0.4), rgba(46, 139, 87, 0.2));
}

/* Step Content */
.step-content h3 {
  font-family: var(--font-primary);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
}

.step-content p {
  font-size: 0.85rem;
  color: var(--text-light);
  line-height: 1.6;
  margin: 0;
}

/* Step Connector (Desktop) */
.step-connector {
  display: none;
}

/* ----- Call to Action Card ----- */
.cta-card {
  background: linear-gradient(135deg, #1a2e1a 0%, #2a4a2a 100%);
  border-radius: 20px;
  padding: 50px 60px;
  position: relative;
  overflow: hidden;
  z-index: 1;
  box-shadow: 0 20px 60px rgba(26, 46, 26, 0.2);
}

.cta-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.cta-content h3 {
  font-family: var(--font-primary);
  font-size: 2rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
}

.cta-content p {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.8;
  margin-bottom: 28px;
}

.cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-buttons .btn-primary {
  background: var(--secondary);
  border-color: var(--secondary);
  color: var(--white);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.cta-buttons .btn-primary:hover {
  background: var(--accent);
  border-color: var(--accent);
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(46, 139, 87, 0.4);
}

.cta-buttons .btn-outline {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.3);
  color: var(--white);
}

.cta-buttons .btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--white);
  transform: translateY(-3px);
}

/* CTA Decorative Shapes */
.cta-decoration {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}

.cta-shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.06;
}

.cta-shape.shape-1 {
  width: 300px;
  height: 300px;
  background: var(--primary);
  top: -100px;
  right: -80px;
}

.cta-shape.shape-2 {
  width: 200px;
  height: 200px;
  background: var(--white);
  bottom: -60px;
  left: -60px;
}

.cta-shape.shape-3 {
  width: 120px;
  height: 120px;
  background: var(--primary);
  top: 50%;
  left: 40%;
  transform: translate(-50%, -50%);
}

/* ----- Responsive ----- */
@media (max-width: 1024px) {
  .steps-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }
  
  .step-card:nth-child(4) { animation-delay: 0.25s; }
  .step-card:nth-child(5) { animation-delay: 0.4s; }
  
  .journey-progress {
    padding: 20px;
    max-width: 100%;
  }
  
  .progress-step .step-label {
    font-size: 0.7rem;
  }
  
  .cta-card {
    padding: 40px 30px;
  }
}

@media (max-width: 768px) {
  .admission-process {
    padding: 60px 0;
  }
  
  .section-header h2 {
    font-size: 2rem;
  }
  
  .section-subtitle {
    font-size: 1rem;
  }
  
  .steps-grid {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }
  
  .step-card-inner {
    padding: 24px 16px 20px;
  }
  
  .step-icon {
    width: 48px;
    height: 48px;
    font-size: 1.2rem;
  }
  
  .step-content h3 {
    font-size: 1rem;
  }
  
  .step-content p {
    font-size: 0.8rem;
  }
  
  .journey-progress {
    padding: 16px;
    margin-bottom: 30px;
  }
  
  .progress-step .step-label {
    font-size: 0.6rem;
  }
  
  .progress-step .step-number {
    font-size: 0.7rem;
  }
  
  .progress-arrow {
    font-size: 0.6rem;
  }
  
  .cta-card {
    padding: 30px 24px;
    border-radius: 16px;
  }
  
  .cta-content h3 {
    font-size: 1.5rem;
  }
  
  .cta-content p {
    font-size: 0.95rem;
  }
  
  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .cta-buttons .btn {
    width: 100%;
    max-width: 280px;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .admission-process {
    padding: 40px 0;
  }
  
  .section-header h2 {
    font-size: 1.6rem;
  }
  
  .section-tag {
    font-size: 0.7rem;
    padding: 4px 14px;
  }
  
  .steps-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  
  .step-card-inner {
    padding: 20px 16px 18px;
    display: flex;
    align-items: center;
    gap: 16px;
    text-align: left;
  }
  
  .step-number-circle {
    margin: 0;
    flex-shrink: 0;
    width: 40px;
    height: 40px;
  }
  
  .step-number-circle span {
    font-size: 0.75rem;
  }
  
  .step-icon {
    display: none;
  }
  
  .step-content {
    flex: 1;
  }
  
  .step-content h3 {
    font-size: 0.95rem;
    margin-bottom: 4px;
  }
  
  .step-content p {
    font-size: 0.8rem;
  }
  
  .journey-progress {
    padding: 12px 8px;
    border-radius: 12px;
  }
  
  .progress-steps {
    flex-wrap: wrap;
    justify-content: center;
    gap: 4px;
    margin-bottom: 12px;
  }
  
  .progress-step .step-label {
    font-size: 0.5rem;
  }
  
  .progress-step .step-number {
    font-size: 0.6rem;
  }
  
  .progress-arrow {
    font-size: 0.5rem;
  }
  
  .progress-bar {
    height: 3px;
  }
  
  .cta-card {
    padding: 24px 16px;
  }
  
  .cta-content h3 {
    font-size: 1.2rem;
  }
  
  .cta-content p {
    font-size: 0.85rem;
  }
}


/* ===== WHY CHOOSE US SECTION ===== */
.why-choose-us {
  background: #ffffff;
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

/* ----- Floating Background Shapes ----- */
.why-choose-us::before {
  content: '';
  position: absolute;
  top: -150px;
  right: -150px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(144, 238, 144, 0.08) 0%, transparent 70%);
  border-radius: 50%;
  z-index: 0;
}

.why-choose-us::after {
  content: '';
  position: absolute;
  bottom: -100px;
  left: -100px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(46, 139, 87, 0.05) 0%, transparent 70%);
  border-radius: 50%;
  z-index: 0;
}

/* ----- Section Wrapper ----- */
.why-choose-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: start;
  position: relative;
  z-index: 1;
  margin-bottom: 60px;
}

/* ----- LEFT SIDE: Image Slider ----- */
.why-choose-slider {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.slider-container {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
  aspect-ratio: 4/3;
  background: #f5f5f5;
  width: 100%;
}

.slider-track {
  position: relative;
  width: 100%;
  height: 100%;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
}

.slide.active {
  opacity: 1;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.slide-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px 24px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.6));
  color: #fff;
  font-family: var(--font-primary);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.5px;
}

/* Slider Dots - Positioned OUTSIDE the image */
.slider-dots {
  display: flex;
  gap: 12px;
  margin-top: 20px;
  padding: 8px 16px;
  justify-content: center;
}

.slider-dots .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #d0d0d0;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.slider-dots .dot.active {
  background: var(--secondary);
  border-color: var(--secondary);
  transform: scale(1.2);
  box-shadow: 0 0 20px rgba(46, 139, 87, 0.3);
}

.slider-dots .dot:hover {
  background: var(--primary);
  transform: scale(1.1);
}

/* Slider Decorative Shapes */
.slider-shape {
  position: absolute;
  border-radius: 50%;
  z-index: 0;
  pointer-events: none;
}

.slider-shape.shape-1 {
  width: 100px;
  height: 100px;
  background: rgba(144, 238, 144, 0.15);
  top: -30px;
  right: -30px;
}

.slider-shape.shape-2 {
  width: 70px;
  height: 70px;
  background: rgba(46, 139, 87, 0.1);
  bottom: -20px;
  left: -20px;
}

/* ----- RIGHT SIDE: Content ----- */
.why-choose-content {
  padding-top: 10px;
}

.content-header .section-tag {
  display: inline-block;
  background: rgba(46, 139, 87, 0.08);
  color: var(--secondary);
  font-family: var(--font-primary);
  font-weight: 600;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  padding: 6px 18px;
  border-radius: 50px;
  margin-bottom: 12px;
}

.content-header h2 {
  font-family: var(--font-primary);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--text);
  line-height: 1.2;
  margin-bottom: 16px;
  text-align: left;
}

.intro-text {
  font-size: 1rem;
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 30px;
}

/* ----- Features Grid ----- */
.features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 18px;
  background: #f8fdf8;
  border-radius: 12px;
  border: 1px solid rgba(144, 238, 144, 0.15);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  opacity: 0;
  transform: translateY(20px);
  animation: featureReveal 0.6s ease forwards;
}

.feature-item:nth-child(1) { animation-delay: 0.1s; }
.feature-item:nth-child(2) { animation-delay: 0.2s; }
.feature-item:nth-child(3) { animation-delay: 0.3s; }
.feature-item:nth-child(4) { animation-delay: 0.4s; }
.feature-item:nth-child(5) { animation-delay: 0.5s; }
.feature-item:nth-child(6) { animation-delay: 0.6s; }

@keyframes featureReveal {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.feature-item:hover {
  background: #ffffff;
  border-color: var(--primary);
  box-shadow: 0 8px 30px rgba(46, 139, 87, 0.08);
  transform: translateY(-4px);
}

.feature-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(46, 139, 87, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--secondary);
  transition: all 0.3s ease;
}

.feature-item:hover .feature-icon {
  background: var(--secondary);
  color: #fff;
  transform: scale(1.05) rotate(-4deg);
}

.feature-text h4 {
  font-family: var(--font-primary);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
}

.feature-text p {
  font-size: 0.8rem;
  color: var(--text-light);
  line-height: 1.5;
  margin: 0;
}

/* ----- Statistics Row ----- */
.statistics-row {
  display: flex;
  flex-wrap: nowrap;
  justify-content: space-around;
  align-items: center;
  gap: 0;
  padding: 40px 50px;
  background: linear-gradient(135deg, #f8fdf8 0%, #eef6ee 100%);
  border-radius: 16px;
  margin-bottom: 50px;
  position: relative;
  z-index: 1;
  border: 1px solid rgba(144, 238, 144, 0.2);
  width: 100%;
}

.stat-item {
  flex: 0 0 auto;
  text-align: center;
  padding: 0 20px;
  min-width: 120px;
}

.stat-number {
  font-family: var(--font-primary);
  font-weight: 800;
  font-size: 2.8rem;
  color: var(--secondary);
  display: inline-block;
}

.stat-plus,
.stat-percent {
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: 2rem;
  color: var(--secondary);
  margin-left: 2px;
}

.stat-label {
  display: block;
  font-family: var(--font-secondary);
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--text-light);
  margin-top: 4px;
  white-space: nowrap;
}

.stat-divider {
  flex: 0 0 1px;
  height: 50px;
  background: rgba(46, 139, 87, 0.15);
}

/* ----- Responsive----- */
@media (max-width: 992px) {
  .statistics-row {
    padding: 30px 25px;
  }
  
  .stat-item {
    padding: 0 12px;
    min-width: 80px;
  }
  
  .stat-number {
    font-size: 2.2rem;
  }
  
  .stat-plus,
  .stat-percent {
    font-size: 1.5rem;
  }
  
  .stat-label {
    font-size: 0.75rem;
  }
  
  .stat-divider {
    height: 40px;
  }
}

/* ----- Responsive: Switch to 2 columns on mobile ----- */
@media (max-width: 768px) {
  .statistics-row {
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px 30px;
    padding: 24px 20px;
  }
  
  .stat-item {
    flex: 0 0 calc(50% - 30px);
    padding: 0;
    min-width: unset;
  }
  
  .stat-divider {
    display: none;
  }
  
  .stat-number {
    font-size: 2rem;
  }
  
  .stat-plus,
  .stat-percent {
    font-size: 1.5rem;
  }
  
  .stat-label {
    font-size: 0.8rem;
    white-space: normal;
  }
}

/* ----- Responsive: Single column on small mobile ----- */
@media (max-width: 480px) {
  .statistics-row {
    flex-wrap: wrap;
    gap: 16px;
    padding: 18px 12px;
  }
  
  .stat-item {
    flex: 0 0 calc(50% - 16px);
  }
  
  .stat-number {
    font-size: 1.6rem;
  }
  
  .stat-plus,
  .stat-percent {
    font-size: 1.2rem;
  }
  
  .stat-label {
    font-size: 0.7rem;
  }
}

/* ----- Responsive ----- */
@media (max-width: 1024px) {
  .why-choose-wrapper {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .slider-container {
    max-width: 600px;
    margin: 0 auto;
  }
  
  .content-header h2 {
    font-size: 2rem;
  }
  
  .statistics-row {
    padding: 30px 30px;
    grid-template-columns: repeat(4, 1fr);
  }
  
  .stat-number {
    font-size: 2.2rem;
  }
  
  .why-cta {
    padding: 40px 30px;
  }
}

@media (max-width: 768px) {
  .why-choose-us {
    padding: 60px 0;
  }
  
  .content-header h2 {
    font-size: 1.6rem;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  
  .statistics-row {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    padding: 24px 20px;
  }
  
  .stat-divider {
    display: none;
  }
  
  .stat-item {
    padding: 8px 0;
  }
  
  .stat-number {
    font-size: 2rem;
  }
  
  .stat-plus,
  .stat-percent {
    font-size: 1.5rem;
  }
  
  .why-cta {
    padding: 30px 20px;
    border-radius: 16px;
  }
  
  .cta-content h3 {
    font-size: 1.5rem;
  }
  
  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .cta-buttons .btn {
    width: 100%;
    max-width: 280px;
    justify-content: center;
  }
  
  .slider-container {
    aspect-ratio: 4/3;
  }
  
  .slide-caption {
    font-size: 0.85rem;
    padding: 14px 18px;
  }
  
  .slider-dots {
    bottom: 50px;
  }
}

@media (max-width: 480px) {
  .why-choose-us {
    padding: 40px 0;
  }
  
  .content-header h2 {
    font-size: 1.3rem;
  }
  
  .intro-text {
    font-size: 0.9rem;
  }
  
  .feature-item {
    padding: 12px 14px;
  }
  
  .feature-icon {
    width: 34px;
    height: 34px;
    font-size: 0.9rem;
  }
  
  .feature-text h4 {
    font-size: 0.85rem;
  }
  
  .feature-text p {
    font-size: 0.75rem;
  }
  
  .statistics-row {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    padding: 18px 12px;
  }
  
  .stat-number {
    font-size: 1.6rem;
  }
  
  .stat-plus,
  .stat-percent {
    font-size: 1.2rem;
  }
  
  .stat-label {
    font-size: 0.75rem;
  }
  
  .why-cta {
    padding: 24px 16px;
  }
  
  .cta-content h3 {
    font-size: 1.2rem;
  }
  
  .cta-content p {
    font-size: 0.9rem;
  }
  
  .slider-container {
    border-radius: 12px;
    aspect-ratio: 4/3;
  }
  
  .slide-caption {
    font-size: 0.75rem;
    padding: 10px 14px;
  }
  
  .slider-dots .dot {
    width: 10px;
    height: 10px;
  }
}


/* ===== TESTIMONIALS SECTION ===== */
.testimonials-section {
  background: #f9fff9;
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

/* ----- Floating Background Shapes ----- */
.testimonials-bg-shape {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}
.testimonials-bg-shape.shape-1 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(144, 238, 144, 0.08) 0%, transparent 70%);
  top: -100px;
  right: -100px;
}
.testimonials-bg-shape.shape-2 {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(46, 139, 87, 0.06) 0%, transparent 70%);
  bottom: -80px;
  left: -80px;
}
.testimonials-bg-shape.shape-3 {
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(144, 238, 144, 0.05) 0%, transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

/* ----- Section Header ----- */
.testimonials-section .section-header {
  text-align: center;
  margin-bottom: 50px;
  position: relative;
  z-index: 1;
}
.testimonials-section .section-tag {
  display: inline-block;
  background: rgba(46, 139, 87, 0.08);
  color: var(--secondary);
  font-family: var(--font-primary);
  font-weight: 600;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  padding: 6px 18px;
  border-radius: 50px;
  margin-bottom: 12px;
}
.testimonials-section .section-header h2 {
  font-size: 2.8rem;
  color: var(--text);
  margin-bottom: 16px;
  position: relative;
}
.testimonials-section .section-header h2:after {
  content: '';
  display: block;
  width: 70px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  margin: 12px auto 0;
  border-radius: 4px;
}
.testimonials-section .section-subtitle {
  font-size: 1.15rem;
  color: var(--text-light);
  max-width: 1200px;
  margin: 16px auto 0;
  font-weight: 400;
  font-family: var(--font-secondary);
  line-height: 1.8;
}

/* ----- Testimonial Carousel ----- */
.testimonial-carousel {
  position: relative;
  z-index: 1;
  padding: 20px 50px;
  max-width: 100%;
  margin: 0 auto;
  overflow: hidden;
}

.carousel-wrapper {
  display: flex;
  gap: 30px;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
  width: 100%;
}

/* ----- Testimonial Card ----- */
.testimonial-card {
  flex: 0 0 calc((100% - 60px) / 3);
  min-width: calc((100% - 60px) / 3);
  max-width: calc((100% - 60px) / 3);
  opacity: 0;
  transform: translateY(30px);
  animation: cardReveal 0.8s ease forwards;
  box-sizing: border-box;
}

.testimonial-card:nth-child(1) { animation-delay: 0.1s; }
.testimonial-card:nth-child(2) { animation-delay: 0.2s; }
.testimonial-card:nth-child(3) { animation-delay: 0.3s; }
.testimonial-card:nth-child(4) { animation-delay: 0.4s; }
.testimonial-card:nth-child(5) { animation-delay: 0.5s; }
.testimonial-card:nth-child(6) { animation-delay: 0.6s; }

@keyframes cardReveal {
  to { opacity: 1; transform: translateY(0); }
}

.card-inner {
  background: #ffffff;
  border-radius: 20px;
  padding: 35px 30px 30px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(144, 238, 144, 0.15);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  height: 100%;
  position: relative;
  overflow: hidden;
}
.card-inner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  opacity: 0;
  transition: opacity 0.4s ease;
}
.testimonial-card:hover .card-inner {
  transform: translateY(-8px);
  box-shadow: 0 20px 60px rgba(46, 139, 87, 0.12);
  border-color: var(--primary);
}
.testimonial-card:hover .card-inner::before { opacity: 1; }

/* Quote Icon */
.quote-icon {
  font-size: 2rem;
  color: var(--primary);
  opacity: 0.4;
  margin-bottom: 16px;
}
.quote-icon i { display: block; }

/* Profile */
.profile {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 14px;
}
.profile-image {
  flex-shrink: 0;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid var(--primary);
  transition: all 0.3s ease;
}
.testimonial-card:hover .profile-image {
  border-color: var(--secondary);
  transform: scale(1.05);
}
.profile-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.profile-info h4 {
  font-family: var(--font-primary);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 2px 0;
}
.profile-info .role {
  font-family: var(--font-secondary);
  font-size: 0.8rem;
  color: var(--text-light);
  font-weight: 500;
}

/* Rating */
.rating {
  display: flex;
  gap: 4px;
  margin-bottom: 14px;
}
.rating i {
  color: #fbbf24;
  font-size: 0.9rem;
  letter-spacing: 1px;
}

/* Testimonial Text */
.testimonial-text {
  font-size: 0.95rem;
  color: var(--text-light);
  line-height: 1.8;
  margin: 0;
  font-style: italic;
  word-wrap: break-word;
  overflow-wrap: break-word;
}
.testimonial-text::before {
  content: '"';
  font-size: 1.2rem;
  color: var(--secondary);
  opacity: 0.5;
  margin-right: 2px;
}
.testimonial-text::after {
  content: '"';
  font-size: 1.2rem;
  color: var(--secondary);
  opacity: 0.5;
  margin-left: 2px;
}

/* ----- Navigation Buttons ----- */
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #ffffff;
  border: 2px solid rgba(46, 139, 87, 0.15);
  color: var(--secondary);
  font-size: 1.1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}
.carousel-btn:hover {
  background: var(--secondary);
  color: #ffffff;
  border-color: var(--secondary);
  transform: translateY(-50%) scale(1.05);
  box-shadow: 0 8px 30px rgba(46, 139, 87, 0.25);
}
.carousel-btn:active { transform: translateY(-50%) scale(0.95); }
.carousel-btn.prev-btn { left: 0; }
.carousel-btn.next-btn { right: 0; }

/* ----- Pagination Dots ----- */
.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 35px;
}
.carousel-dots .dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #d0d0d0;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}
.carousel-dots .dot.active {
  background: var(--secondary);
  border-color: var(--secondary);
  transform: scale(1.2);
  box-shadow: 0 0 20px rgba(46, 139, 87, 0.3);
}
.carousel-dots .dot:hover {
  background: var(--primary);
  transform: scale(1.1);
}

/* ================================================================
   RESPONSIVE - TESTIMONIALS (FIXED GAP ISSUE)
   ================================================================ */

/* Tablet - 2 cards */
@media (max-width: 1024px) {
  .testimonial-card {
    flex: 0 0 calc(50% - 15px);
    min-width: calc(50% - 15px);
    max-width: calc(50% - 15px);
  }
  .testimonials-section .section-header h2 { font-size: 2.2rem; }
  .testimonial-carousel { padding: 20px 40px; }
  .carousel-wrapper { gap: 30px; }
}

/* Mobile - 1 card (FIXED: gap removed on mobile) */
@media (max-width: 768px) {
  .testimonials-section { padding: 60px 0; }
  .testimonials-section .section-header h2 { font-size: 1.8rem; }
  .testimonials-section .section-subtitle { font-size: 1rem; }

  .testimonial-carousel {
    padding: 20px 16px;
    overflow: hidden;
  }

  /* FIX: Remove gap on mobile so single card fits perfectly */
  .carousel-wrapper {
    gap: 0 !important;
    width: 100%;
  }

  /* Force single card on mobile */
  .testimonial-card {
    flex: 0 0 100% !important;
    min-width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
  }

  .card-inner {
    padding: 24px 20px 24px;
    margin: 0 5px;
  }

  .carousel-btn {
    width: 36px;
    height: 36px;
    font-size: 0.8rem;
    z-index: 20;
  }
  .carousel-btn.prev-btn { left: 4px; }
  .carousel-btn.next-btn { right: 4px; }

  .profile-image { width: 48px; height: 48px; }
  .profile-info h4 { font-size: 0.95rem; }
  .profile-info .role { font-size: 0.75rem; }
  .testimonial-text { font-size: 0.9rem; line-height: 1.6; }
  .quote-icon { font-size: 1.5rem; }
  .rating i { font-size: 0.8rem; }
}

/* Small Mobile */
@media (max-width: 480px) {
  .testimonials-section { padding: 40px 0; }
  .testimonials-section .section-header h2 { font-size: 1.4rem; }
  .testimonials-section .section-tag { font-size: 0.7rem; padding: 4px 14px; }

  .testimonial-carousel { padding: 20px 12px; }
  .carousel-wrapper { gap: 0 !important; }

  .testimonial-card {
    flex: 0 0 100% !important;
    min-width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
  }

  .card-inner {
    padding: 18px 16px 20px;
    border-radius: 14px;
    margin: 0 4px;
  }

  .carousel-btn {
    width: 30px;
    height: 30px;
    font-size: 0.7rem;
  }
  .carousel-btn.prev-btn { left: 2px; }
  .carousel-btn.next-btn { right: 2px; }

  .profile { gap: 10px; margin-bottom: 10px; }
  .profile-image { width: 40px; height: 40px; border-width: 2px; }
  .profile-info h4 { font-size: 0.85rem; }
  .profile-info .role { font-size: 0.65rem; }
  .testimonial-text { font-size: 0.82rem; line-height: 1.5; }
  .rating { margin-bottom: 10px; gap: 3px; }
  .rating i { font-size: 0.7rem; }
  .carousel-dots { gap: 8px; margin-top: 20px; }
  .carousel-dots .dot { width: 10px; height: 10px; }
  .quote-icon { font-size: 1.2rem; margin-bottom: 10px; }
}

/* ---------- News Preview ---------- */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.news-card {
  background: var(--white);
  padding: 28px 22px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: var(--transition);
  border-left: 6px solid var(--primary);
}
.news-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}
.news-card h3 {
  font-size: 1.2rem;
  color: var(--secondary);
}
.news-card p {
  color: var(--text-light);
  margin-top: 6px;
}

/* ---------- Footer Logo ---------- */
.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  margin-bottom: 12px;
}

.footer-logo-img {
  height: 45px;
  width: auto;
  object-fit: contain;
  display: block;
}

.footer-logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.footer-logo-main {
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  font-size: 1.4rem;
  color: #2E8B57;
  letter-spacing: 1.2px;
  transition: color 0.3s ease;
}

.footer-logo:hover .footer-logo-main {
  color: var(--primary);
}

.footer-logo-sub {
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  font-size: 0.6rem;
  color: #a0b0a0;
  letter-spacing: 0.8px;
}

.footer-tagline {
  color: #c0d0c0;
  font-size: 0.9rem;
  margin-top: 0;
  margin-bottom: 16px;
}

/* ---------- Footer ---------- */
.footer {
  background: #1a2e1a;
  color: #e0e8e0;
  padding: 60px 0 20px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 2.5fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-col h4 {
  font-family: var(--font-primary);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 18px;
  font-size: 1.1rem;
}

.footer-col p {
  color: #c0d0c0;
  font-size: 0.95rem;
}

.social-icons {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}

.social-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  color: var(--white);
  transition: var(--transition);
  font-size: 1.1rem;
}

.social-icons a:hover {
  background: var(--secondary);
  transform: translateY(-3px);
}

.footer-col ul li {
  margin-bottom: 8px;
}

.footer-col ul li a {
  color: #c0d0c0;
  transition: var(--transition);
}

.footer-col ul li a:hover {
  color: var(--primary);
  padding-left: 4px;
}

.contact-info li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #c0d0c0;
  font-size: 0.95rem;
  margin-bottom: 10px;
}

.contact-info li i {
  width: 20px;
  color: var(--primary);
}

.footer .contact-info li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.footer .contact-info li i {
    flex-shrink: 0;
    margin-top: 4px;
    width: 20px;
}

.footer .contact-info li div {
    flex: 1;
    word-break: break-word;
}

@media (max-width: 480px) {
    .footer .contact-info li {
        font-size: 0.85rem;
    }
}


.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 20px;
  text-align: center;
  font-size: 0.9rem;
  color: #90a090;
}

/* Responsive Footer */
@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .footer-col {
    text-align: center;
  }
  
  .footer-logo {
    justify-content: center;
  }
  
  .social-icons {
    justify-content: center;
  }
  
  .contact-info li {
    justify-content: center;
  }
  
}

/* ---------- Back to Top ---------- */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--secondary);
  color: var(--white);
  border: none;
  font-size: 1.3rem;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(46, 139, 87, 0.4);
  transition: var(--transition);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  z-index: 9999;
}
.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.back-to-top:hover {
  background: var(--accent);
  transform: translateY(-4px);
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }
  .nav-menu {
    position: fixed;
    top: 0;
    left: -100%;
    width: 80%;
    max-width: 320px;
    height: 100vh;
    background: var(--white);
    flex-direction: column;
    padding: 80px 30px 30px;
    box-shadow: 4px 0 30px rgba(0,0,0,0.1);
    transition: 0.35s ease;
    overflow-y: auto;
    align-items: flex-start;
    gap: 0;
  }
  .nav-menu.open {
    left: 0;
  }
  .nav-menu ul {
    flex-direction: column;
    width: 100%;
    gap: 4px;
  }
  .nav-menu ul li a {
    display: block;
    padding: 12px 16px;
    width: 100%;
  }
  .nav-actions {
    flex-direction: column;
    width: 100%;
    margin-left: 0;
    margin-top: 16px;
    gap: 10px;
  }
  .nav-actions .btn {
    text-align: center;
  }

  .hero-title {
    font-size: 2.5rem;
  }
  .hero-subtitle {
    font-size: 1rem;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .about-stats {
    grid-template-columns: repeat(3, 1fr);
  }

  .features-grid {
    grid-template-columns: 1fr 1fr;
  }

  .principal-box {
    flex-direction: column;
    text-align: center;
    padding: 30px 20px;
  }
  .principal-box h2 {
    text-align: center;
  }
  .principal-box h2:after {
    margin: 8px auto 0;
  }

  .news-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .footer-col {
    text-align: center;
  }
  .social-icons {
    justify-content: center;
  }
  .contact-info li {
    justify-content: center;
  }
  .section {
    padding: 50px 0;
  }
  h2 {
    font-size: 1.8rem;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2rem;
  }
  .hero-buttons .btn {
    padding: 10px 24px;
    font-size: 0.85rem;
  }
  .about-stats {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .features-grid {
    grid-template-columns: 1fr;
  }
  .stat-item .counter {
    font-size: 2.2rem;
  }
  .principal-box img {
    width: 120px;
    height: 120px;
  }
  .slider {
    padding: 24px 16px;
  }
}