/* ========================================
   RESET & BASE
   ======================================== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: #1a1a2e;
  line-height: 1.7;
  overflow-x: hidden;
  background: #fafafa;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 100px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}

.section-tag {
  display: inline-block;
  background: rgba(46, 125, 50, 0.1);
  color: #2e7d32;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 8px 20px;
  border-radius: 50px;
  margin-bottom: 16px;
}

.section-header h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2.8rem;
  color: #1a1a2e;
  margin-bottom: 16px;
  line-height: 1.2;
}

.section-header p {
  color: #555;
  font-size: 1.1rem;
}

/* ========================================
   BUTTONS
   ======================================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 34px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: #2e7d32;
  color: #fff;
  box-shadow: 0 4px 20px rgba(46, 125, 50, 0.35);
}

.btn-primary:hover {
  background: #1b5e20;
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(46, 125, 50, 0.4);
}

.btn-outline {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.6);
}

.btn-outline:hover {
  background: #fff;
  color: #1a1a2e;
  border-color: #fff;
  transform: translateY(-2px);
}

/* ========================================
   NAVBAR
   ======================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 18px 0;
  transition: all 0.3s ease;
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(20px);
  box-shadow: 0 2px 30px rgba(0, 0, 0, 0.08);
  padding: 12px 0;
}

.navbar.scrolled .logo span { color: #1a1a2e; }
.navbar.scrolled .logo i { color: #2e7d32; }
.navbar.scrolled .nav-links a { color: #333; }
.navbar.scrolled .nav-links a:hover,
.navbar.scrolled .nav-links a.active { color: #2e7d32; background: rgba(46,125,50,0.08); }

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.3rem;
}

.logo i {
  font-size: 1.6rem;
  color: #66bb6a;
  transition: color 0.3s;
}

.logo span {
  color: #fff;
  transition: color 0.3s;
}

.nav-links {
  display: flex;
  gap: 8px;
}

.nav-links a {
  color: rgba(255, 255, 255, 0.85);
  padding: 8px 20px;
  border-radius: 50px;
  font-weight: 500;
  font-size: 0.9rem;
  transition: all 0.3s;
}

.nav-links a:hover,
.nav-links a.active {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}

.hamburger span {
  width: 26px;
  height: 2.5px;
  background: #fff;
  border-radius: 4px;
  transition: all 0.3s ease;
}

.navbar.scrolled .hamburger span { background: #333; }

.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ========================================
   HERO
   ======================================== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  background: #0d1b2a;
  overflow: hidden;
}

.slideshow {
  position: absolute;
  inset: 0;
}

.slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
  transform: scale(1.05);
}

.slide.active {
  opacity: 1;
  transform: scale(1);
}

.slide::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(13, 27, 42, 0.75) 0%, rgba(27, 58, 45, 0.6) 50%, rgba(13, 27, 42, 0.7) 100%);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: url('data:image/svg+xml,%3Csvg viewBox="0 0 1200 800" xmlns="http://www.w3.org/2000/svg"%3E%3Ccircle cx="900" cy="100" r="300" fill="rgba(102,187,106,0.05)"/%3E%3Ccircle cx="200" cy="600" r="250" fill="rgba(102,187,106,0.03)"/%3E%3C/svg%3E') no-repeat center;
  background-size: cover;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 720px;
}

.hero-badge {
  display: inline-block;
  background: rgba(102, 187, 106, 0.15);
  border: 1px solid rgba(102, 187, 106, 0.3);
  color: #81c784;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 1px;
  padding: 8px 22px;
  border-radius: 50px;
  margin-bottom: 24px;
  backdrop-filter: blur(4px);
  animation: fadeUp 1s ease;
}

.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: 4.2rem;
  color: #fff;
  line-height: 1.15;
  margin-bottom: 20px;
  animation: fadeUp 1s ease;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 36px;
  max-width: 560px;
  line-height: 1.8;
  animation: fadeUp 1s ease 0.15s both;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  animation: fadeUp 1s ease 0.3s both;
}

.slide-indicators {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  display: flex;
  gap: 10px;
}

.slide-indicators span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  cursor: pointer;
  transition: all 0.3s;
}

.slide-indicators span.active {
  background: #66bb6a;
  box-shadow: 0 0 12px rgba(102, 187, 106, 0.5);
  width: 32px;
  border-radius: 6px;
}

.slide-arrows {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  transform: translateY(-50%);
  z-index: 4;
  display: flex;
  justify-content: space-between;
  padding: 0 24px;
  pointer-events: none;
}

.slide-arrow {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 1.1rem;
  cursor: pointer;
  transition: all 0.3s;
  pointer-events: auto;
  backdrop-filter: blur(4px);
}

.slide-arrow:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: scale(1.1);
}

/* ========================================
   STATS
   ======================================== */
.stats {
  background: #0d1b2a;
  padding: 70px 0;
  position: relative;
  background-image: url('https://images.unsplash.com/photo-1559027615-cd4628902d4a?w=1920&q=80');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.stats::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(13, 27, 42, 0.85);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  position: relative;
  z-index: 1;
}

.stat-item {
  text-align: center;
  padding: 30px 20px;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-item:last-child { border-right: none; }

.stat-number {
  font-family: 'Playfair Display', serif;
  font-size: 3.2rem;
  font-weight: 700;
  color: #66bb6a;
  display: inline;
}

.stat-plus {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: #66bb6a;
}

.stat-item p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
  margin-top: 8px;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 500;
}

/* ========================================
   ABOUT
   ======================================== */
.about {
  background: #fff;
}

.about-showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-bottom: 60px;
}

.about-image {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.12);
}

.about-image img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

.about-image:hover img {
  transform: scale(1.04);
}

.about-image-card {
  position: absolute;
  bottom: 24px;
  left: 24px;
  right: 24px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  padding: 18px 24px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  gap: 14px;
  font-weight: 500;
  font-size: 0.95rem;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.about-image-card i {
  color: #2e7d32;
  font-size: 1.4rem;
}

.about-text .section-tag { margin-bottom: 12px; }

.about-text h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2.6rem;
  color: #1a1a2e;
  margin-bottom: 18px;
  line-height: 1.2;
}

.about-lead {
  color: #555;
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 32px;
}

.about-features {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.about-feature {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.feature-icon i {
  color: #2e7d32;
  font-size: 1.3rem;
  margin-top: 2px;
}

.about-feature h4 {
  font-size: 1rem;
  font-weight: 600;
  color: #1a1a2e;
  margin-bottom: 4px;
}

.about-feature p {
  color: #555;
  font-size: 0.9rem;
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.about-card {
  background: #f8faf8;
  border-radius: 20px;
  padding: 40px 32px;
  text-align: center;
  transition: all 0.4s ease;
  border: 1px solid rgba(46, 125, 50, 0.06);
}

.about-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.12);
  border-color: rgba(46, 125, 50, 0.15);
}

.about-icon {
  width: 70px;
  height: 70px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  font-size: 1.6rem;
  color: #fff;
  background: linear-gradient(135deg, #2e7d32, #43a047);
}

.about-card h3 {
  font-size: 1.3rem;
  margin-bottom: 12px;
  color: #1a1a2e;
}

.about-card p {
  color: #555;
  font-size: 0.95rem;
}

/* ========================================
   PROGRAMS
   ======================================== */
.programs {
  background: #f4f8f4;
}

.programs-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.program-card {
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.4s ease;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(0, 0, 0, 0.04);
}

.program-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.2);
}

.program-image {
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: #fff;
  position: relative;
  background-size: cover;
  background-position: center;
}

.program-image-overlay {
  position: absolute;
  inset: 0;
}

.program-image i {
  position: relative;
  z-index: 2;
  text-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.program-body {
  padding: 28px 24px 32px;
}

.program-body h3 {
  font-size: 1.1rem;
  margin-bottom: 10px;
  color: #1a1a2e;
}

.program-body p {
  color: #555;
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 16px;
}

.program-link {
  color: #2e7d32;
  font-weight: 600;
  font-size: 0.85rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.3s;
}

.program-link i {
  font-size: 0.75rem;
  transition: transform 0.3s;
}

.program-card:hover .program-link i {
  transform: translateX(4px);
}

/* ========================================
   TESTIMONIALS
   ======================================== */
.testimonials {
  background: #fff;
  position: relative;
  overflow: hidden;
}

.testimonials-bg {
  position: absolute;
  top: 0;
  right: 0;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(46, 125, 50, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.testimonials-slider {
  max-width: 700px;
  margin: 0 auto;
  position: relative;
}

.testimonial-card {
  background: #f8faf8;
  border-radius: 24px;
  padding: 50px 44px;
  text-align: center;
  border: 1px solid rgba(46, 125, 50, 0.06);
  display: none;
}

.testimonial-card.active {
  display: block;
  animation: fadeIn 0.5s ease;
}

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

.testimonial-stars {
  margin-bottom: 20px;
  color: #f9a825;
  font-size: 1rem;
  letter-spacing: 4px;
}

.testimonial-card > p {
  font-size: 1.05rem;
  color: #444;
  line-height: 1.9;
  font-style: italic;
  margin-bottom: 28px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

.testimonial-author img {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #e8f5e9;
}

.testimonial-author h4 {
  font-size: 0.95rem;
  font-weight: 600;
  color: #1a1a2e;
}

.testimonial-author span {
  font-size: 0.8rem;
  color: #888;
}

.testimonial-controls {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 28px;
}

.testimonial-btn {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: none;
  background: #ccc;
  cursor: pointer;
  transition: all 0.3s;
}

.testimonial-btn.active {
  background: #2e7d32;
  width: 32px;
  border-radius: 6px;
}

/* ========================================
   CTA
   ======================================== */
.cta {
  padding: 100px 0;
  position: relative;
  background-image: url('https://images.unsplash.com/photo-1488521787991-ed7bbaae773c?w=1920&q=80');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  text-align: center;
}

.cta-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(13, 27, 42, 0.82), rgba(27, 58, 45, 0.78));
}

.cta-content {
  position: relative;
  z-index: 1;
  max-width: 600px;
  margin: 0 auto;
}

.cta h2 {
  font-family: 'Playfair Display', serif;
  font-size: 3rem;
  color: #fff;
  margin-bottom: 18px;
  line-height: 1.2;
}

.cta p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.1rem;
  margin-bottom: 36px;
}

.cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.cta .btn-outline {
  border-color: rgba(255, 255, 255, 0.5);
}

/* ========================================
   CONTACT
   ======================================== */
.contact {
  background: #fff;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 50px;
  align-items: start;
}

.contact-map {
  border-radius: 20px;
  overflow: hidden;
  height: 220px;
  margin-bottom: 28px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

.contact-map iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.contact-item {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}

.contact-icon {
  width: 52px;
  height: 52px;
  min-width: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: #2e7d32;
  background: rgba(46, 125, 50, 0.08);
}

.contact-item h4 {
  font-size: 0.95rem;
  font-weight: 600;
  color: #1a1a2e;
  margin-bottom: 4px;
}

.contact-item p,
.contact-item a {
  color: #555;
  font-size: 0.9rem;
  line-height: 1.7;
}

.contact-item a:hover {
  color: #2e7d32;
}

.contact-form {
  background: #f8faf8;
  padding: 40px;
  border-radius: 20px;
  border: 1px solid rgba(46, 125, 50, 0.06);
}

.contact-form h3 {
  font-size: 1.3rem;
  margin-bottom: 24px;
  color: #1a1a2e;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 14px 18px;
  border: 2px solid #e8ece8;
  border-radius: 12px;
  font-family: inherit;
  font-size: 0.9rem;
  color: #1a1a2e;
  background: #fff;
  transition: all 0.3s;
  margin-bottom: 16px;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: #2e7d32;
  box-shadow: 0 0 0 4px rgba(46, 125, 50, 0.08);
}

.contact-form textarea {
  resize: vertical;
}

.contact-form .btn {
  width: 100%;
  justify-content: center;
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
  background: #0d1b2a;
  color: rgba(255, 255, 255, 0.8);
  padding: 70px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  padding-bottom: 50px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer .logo span {
  color: #fff;
}

.footer-brand p {
  margin: 18px 0 20px;
  font-size: 0.9rem;
  line-height: 1.8;
  max-width: 320px;
}

.footer-social {
  display: flex;
  gap: 12px;
}

.footer-social a {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  transition: all 0.3s;
  font-size: 0.95rem;
}

.footer-social a:hover {
  background: #2e7d32;
  transform: translateY(-3px);
}

.footer-links h4,
.footer-contact h4 {
  color: #fff;
  font-size: 1rem;
  margin-bottom: 20px;
}

.footer-links ul li {
  margin-bottom: 12px;
}

.footer-links ul li a {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.9rem;
  transition: color 0.3s;
}

.footer-links ul li a:hover {
  color: #66bb6a;
}

.footer-contact p {
  margin-bottom: 12px;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-contact i {
  color: #66bb6a;
  width: 16px;
}

.footer-bottom {
  text-align: center;
  padding: 24px 0;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.45);
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 1024px) {
  .programs-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item { border-right: none; }
  .stat-item:nth-child(2) { border-right: 1px solid rgba(255,255,255,0.1); }
}

@media (max-width: 900px) {
  .hero-title { font-size: 3rem; }
  .section-header h2 { font-size: 2.2rem; }
  .about-showcase { grid-template-columns: 1fr; gap: 40px; }
  .about-image img { height: 360px; }
  .about-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .cta h2 { font-size: 2.4rem; }
}

@media (max-width: 768px) {
  .hamburger { display: flex; }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 80px 32px 32px;
    gap: 4px;
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.08);
    transition: right 0.35s ease;
  }

  .nav-links.open { right: 0; }

  .nav-links a {
    color: #333;
    padding: 14px 20px;
    font-size: 1rem;
  }

  .nav-links a:hover,
  .nav-links a.active {
    background: rgba(46, 125, 50, 0.08);
    color: #2e7d32;
  }

  .navbar.scrolled .nav-links a { color: #333; }

  .hero-title { font-size: 2.5rem; }
  .hero-subtitle { font-size: 1rem; }
  .section { padding: 70px 0; }
  .section-header h2 { font-size: 2rem; }

  .stats { padding: 50px 0; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .stat-item { border-right: none !important; padding: 20px 10px; }
  .stat-number { font-size: 2.5rem; }

  .about-grid { grid-template-columns: 1fr; }
  .about-showcase { gap: 30px; }
  .about-image img { height: 280px; }
  .about-text h2 { font-size: 2rem; }

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

  .testimonial-card { padding: 36px 24px; }

  .cta { padding: 70px 0; }
  .cta h2 { font-size: 2rem; }

  .contact-form { padding: 28px; }
  .footer-grid { grid-template-columns: 1fr; }

  .slide-arrows { display: none; }
}

@media (max-width: 480px) {
  .hero-title { font-size: 2rem; }
  .hero-buttons .btn { width: 100%; justify-content: center; }
  .form-row { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr; }
  .stat-item { border-right: none !important; }
}
