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

:root {
  --dark: #181617;
  --green: #6B8F3C;
  --green-light: #91B06A;
  --green-pale: #EFF4E8;
  --text: #3D4E60;
  --text-light: #6B7B8D;
  --white: #FFFFFF;
  --gray-50: #F8FAF6;
  --gray-100: #F1F5ED;
  --gray-200: #E2E8DA;
  --shadow-sm: 0 1px 3px rgba(24,22,23,0.08);
  --shadow-md: 0 4px 12px rgba(24,22,23,0.1);
  --shadow-lg: 0 8px 30px rgba(24,22,23,0.12);
  --radius: 12px;
  --radius-lg: 20px;
  --transition: 0.3s ease;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text);
  line-height: 1.6;
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

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

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5 { color: var(--dark); line-height: 1.2; font-weight: 700; }
h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.5rem); }
p { margin-bottom: 1rem; }

.section-label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--green);
  margin-bottom: 12px;
}

.section-title { margin-bottom: 16px; }
.section-subtitle { color: var(--text-light); font-size: 1.1rem; max-width: 600px; }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--green);
  color: var(--white);
}
.btn-primary:hover {
  background: var(--green-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(107,143,60,0.3);
}

.btn-outline {
  border: 2px solid var(--dark);
  color: var(--dark);
}
.btn-outline:hover {
  background: var(--dark);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-white {
  background: var(--white);
  color: var(--dark);
}
.btn-white:hover {
  background: var(--green-pale);
  transform: translateY(-2px);
}

.btn-sm { padding: 10px 24px; font-size: 0.875rem; }
.btn-icon { font-size: 1.1rem; }

/* ===== HEADER ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: var(--transition);
}

.header.scrolled {
  border-bottom-color: var(--gray-200);
  box-shadow: var(--shadow-sm);
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.logo img { height: 48px; width: auto; }

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

.nav-links a {
  padding: 8px 18px;
  border-radius: 50px;
  font-weight: 500;
  font-size: 0.9rem;
  transition: var(--transition);
  color: var(--text);
}

.nav-links a:hover,
.nav-links a.active {
  background: var(--green-pale);
  color: var(--green);
}

.nav-cta {
  margin-left: 8px;
}

.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}

.mobile-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--dark);
  transition: var(--transition);
  border-radius: 2px;
}

/* ===== HERO ===== */
.hero {
  padding: 140px 0 80px;
  background: linear-gradient(135deg, var(--green-pale) 0%, var(--white) 50%, var(--gray-50) 100%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(107,143,60,0.08) 0%, transparent 70%);
  border-radius: 50%;
}

.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-content { position: relative; z-index: 1; }
.hero-content h1 { margin-bottom: 20px; }
.hero-content h1 span { color: var(--green); }
.hero-content p { font-size: 1.15rem; color: var(--text-light); margin-bottom: 32px; max-width: 500px; }

.hero-buttons { display: flex; gap: 16px; flex-wrap: wrap; }

.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--gray-200);
}

.hero-stat strong {
  display: block;
  font-size: 1.8rem;
  color: var(--dark);
}

.hero-stat span {
  font-size: 0.85rem;
  color: var(--text-light);
}

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-graphic {
  width: 100%;
  max-width: 480px;
  aspect-ratio: 1;
  border-radius: var(--radius-lg);
  position: relative;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.hero-graphic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-graphic::after {
  content: '';
  position: absolute;
  inset: -20px;
  border: 2px dashed var(--green-light);
  border-radius: calc(var(--radius-lg) + 8px);
  opacity: 0.3;
}

/* ===== FEATURES / WHY US ===== */
.features {
  padding: 100px 0;
}

.features-header {
  text-align: center;
  margin-bottom: 60px;
}

.features-header .section-subtitle {
  margin: 0 auto;
}

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

.feature-card {
  padding: 36px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  transition: var(--transition);
}

.feature-card:hover {
  border-color: var(--green-light);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.feature-icon {
  width: 56px;
  height: 56px;
  background: var(--green-pale);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 20px;
  color: var(--green);
}

.feature-icon i[data-lucide] { width: 24px; height: 24px; }

.feature-card h3 { margin-bottom: 12px; }
.feature-card p { color: var(--text-light); font-size: 0.95rem; margin: 0; }

/* ===== COURSES ===== */
.courses {
  padding: 100px 0;
  background: var(--gray-50);
}

.courses-header {
  text-align: center;
  margin-bottom: 60px;
}

.courses-header .section-subtitle { margin: 0 auto; }

.courses-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 28px;
}

.course-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--gray-200);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.course-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
  border-color: var(--green-light);
}

.course-card-image {
  height: 200px;
  background: var(--green-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  position: relative;
  overflow: hidden;
}

.course-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.course-card-image::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(107,143,60,0.1) 0%, transparent 100%);
  z-index: 1;
}

.course-tag {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--white);
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--green);
}

.course-card-body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.course-card-body h3 { margin-bottom: 8px; }
.course-card-body p { color: var(--text-light); font-size: 0.9rem; flex: 1; }

.course-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--gray-200);
}

.course-meta span { font-size: 0.85rem; color: var(--text-light); }
.course-meta .course-link {
  font-weight: 600;
  color: var(--green);
  font-size: 0.9rem;
  transition: var(--transition);
}
.course-meta .course-link:hover { color: var(--dark); }

/* ===== TESTIMONIALS ===== */
.testimonials {
  padding: 100px 0;
}

.testimonials-header {
  text-align: center;
  margin-bottom: 60px;
}

.testimonials-header .section-subtitle { margin: 0 auto; }

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 28px;
}

.testimonial-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 32px;
}

.testimonial-stars {
  color: #F4B740;
  font-size: 1rem;
  margin-bottom: 16px;
}

.testimonial-text {
  font-style: italic;
  color: var(--text);
  margin-bottom: 20px;
  line-height: 1.7;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--green-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--green);
  font-size: 0.9rem;
}

.testimonial-info strong { display: block; font-size: 0.9rem; }
.testimonial-info span { font-size: 0.8rem; color: var(--text-light); }

/* ===== CTA BANNER ===== */
.cta-banner {
  padding: 80px 0;
  background: var(--dark);
  color: var(--white);
  text-align: center;
}

.cta-banner h2 { color: var(--white); margin-bottom: 16px; }
.cta-banner p { color: rgba(255,255,255,0.7); margin-bottom: 32px; max-width: 500px; margin-left: auto; margin-right: auto; }
.cta-banner .btn-primary { font-size: 1rem; padding: 16px 40px; }

/* ===== FOOTER ===== */
.footer {
  background: var(--dark);
  color: rgba(255,255,255,0.7);
  padding: 80px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.2fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand img { height: 44px; margin-bottom: 16px; filter: brightness(0) invert(1); }
.footer-brand p { font-size: 0.9rem; line-height: 1.7; margin-bottom: 20px; }

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

.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  font-size: 0.9rem;
}

.footer-social a:hover {
  background: var(--green);
  border-color: var(--green);
  color: var(--white);
}

.footer h4 {
  color: var(--white);
  font-size: 0.95rem;
  margin-bottom: 20px;
}

.footer-links li { margin-bottom: 10px; }
.footer-links a {
  font-size: 0.9rem;
  transition: var(--transition);
}
.footer-links a:hover { color: var(--green-light); }

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

.footer-contact .icon {
  color: var(--green-light);
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.footer-contact .icon svg { width: 16px; height: 16px; }
.footer-social a svg { width: 18px; height: 18px; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
}

.footer-bottom-links { display: flex; gap: 24px; }
.footer-bottom-links a:hover { color: var(--green-light); }

/* ===== PAGE HERO ===== */
.page-hero {
  padding: 140px 0 60px;
  background: linear-gradient(135deg, var(--green-pale) 0%, var(--white) 100%);
  text-align: center;
}

.page-hero h1 { margin-bottom: 12px; }
.page-hero p { color: var(--text-light); font-size: 1.1rem; }

.breadcrumb {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
  font-size: 0.85rem;
  color: var(--text-light);
}

.breadcrumb a { color: var(--green); }
.breadcrumb a:hover { text-decoration: underline; }

/* ===== ABOUT PAGE ===== */
.about-section { padding: 80px 0; }

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

.about-visual {
  background: var(--green-pale);
  border-radius: var(--radius-lg);
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.about-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-content h2 { margin-bottom: 16px; }
.about-content p { color: var(--text-light); }

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 28px;
  margin-top: 60px;
}

.value-card {
  text-align: center;
  padding: 32px;
}

.value-icon {
  font-size: 2.5rem;
  margin-bottom: 16px;
}

.value-card h3 { margin-bottom: 8px; }
.value-card p { color: var(--text-light); font-size: 0.9rem; margin: 0; }

/* ===== COURSE DETAIL PAGE ===== */
.course-detail { padding: 80px 0; }

.course-detail-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 48px;
}

.course-detail h2 { margin-bottom: 16px; }
.course-detail h3 { margin: 32px 0 16px; }

.curriculum-list {
  counter-reset: module;
}

.curriculum-list li {
  counter-increment: module;
  padding: 16px 20px 16px 56px;
  background: var(--gray-50);
  border-radius: 8px;
  margin-bottom: 8px;
  position: relative;
  font-weight: 500;
}

.curriculum-list li::before {
  content: counter(module, decimal-leading-zero);
  position: absolute;
  left: 16px;
  font-weight: 700;
  color: var(--green);
  font-size: 0.85rem;
}

.course-sidebar {
  position: sticky;
  top: 104px;
}

.sidebar-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 28px;
  margin-bottom: 20px;
}

.sidebar-card h4 { margin-bottom: 16px; font-size: 1rem; }

.sidebar-info li {
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid var(--gray-100);
  font-size: 0.9rem;
}

.sidebar-info li:last-child { border: none; }
.sidebar-info .label { color: var(--text-light); }
.sidebar-info .value { font-weight: 600; }

/* ===== CONTACT PAGE ===== */
.contact-section { padding: 80px 0; }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
}

.contact-info-card {
  display: flex;
  gap: 16px;
  padding: 20px;
  background: var(--gray-50);
  border-radius: var(--radius);
  margin-bottom: 16px;
}

.contact-info-icon {
  width: 48px;
  height: 48px;
  background: var(--green-pale);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
  color: var(--green);
}

.contact-info-icon svg { width: 22px; height: 22px; }

.contact-info-card h4 { font-size: 0.9rem; margin-bottom: 4px; }
.contact-info-card p { font-size: 0.9rem; color: var(--text-light); margin: 0; }

.contact-form-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 36px;
}

.contact-form-card h3 { margin-bottom: 24px; }

.form-group { margin-bottom: 20px; }

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--dark);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--gray-200);
  border-radius: 8px;
  font-size: 0.95rem;
  font-family: inherit;
  color: var(--text);
  transition: var(--transition);
  background: var(--white);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(107,143,60,0.1);
}

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

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

/* ===== BLOG ===== */
.blog-section { padding: 80px 0; }

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 28px;
}

.blog-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
}

.blog-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.blog-card-image {
  height: 200px;
  background: var(--green-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  overflow: hidden;
}

.blog-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-card-body { padding: 24px; }

.blog-card-meta {
  display: flex;
  gap: 16px;
  font-size: 0.8rem;
  color: var(--text-light);
  margin-bottom: 12px;
}

.blog-card-body h3 {
  margin-bottom: 8px;
  font-size: 1.15rem;
}

.blog-card-body h3 a:hover { color: var(--green); }
.blog-card-body p { color: var(--text-light); font-size: 0.9rem; }

.blog-card-footer {
  padding: 0 24px 24px;
}

.read-more {
  font-weight: 600;
  color: var(--green);
  font-size: 0.9rem;
  transition: var(--transition);
}

.read-more:hover { color: var(--dark); }

.pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 48px;
}

.pagination a, .pagination span {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  font-size: 0.9rem;
  border: 1px solid var(--gray-200);
  transition: var(--transition);
}

.pagination a:hover { border-color: var(--green); color: var(--green); }
.pagination .active {
  background: var(--green);
  color: var(--white);
  border-color: var(--green);
}

/* ===== PRIVACY POLICY ===== */
.policy-section { padding: 80px 0; }

.policy-content {
  max-width: 800px;
  margin: 0 auto;
}

.policy-content h2 { font-size: 1.4rem; margin: 40px 0 12px; }
.policy-content h3 { font-size: 1.1rem; margin: 24px 0 8px; }
.policy-content p { color: var(--text-light); }
.policy-content ul {
  list-style: disc;
  padding-left: 24px;
  margin-bottom: 16px;
  color: var(--text-light);
}
.policy-content li { margin-bottom: 6px; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .hero .container { grid-template-columns: 1fr; text-align: center; }
  .hero-content p { margin: 0 auto 32px; }
  .hero-buttons { justify-content: center; }
  .hero-stats { justify-content: center; }
  .hero-visual { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .course-detail-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .mobile-toggle { display: flex; }

  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 80px;
    left: 0;
    right: 0;
    background: var(--white);
    padding: 24px;
    border-bottom: 1px solid var(--gray-200);
    box-shadow: var(--shadow-md);
  }

  .hero { padding: 120px 0 60px; }
  .hero-stats { flex-wrap: wrap; gap: 24px; }
  .features, .courses, .testimonials { padding: 60px 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .courses-grid { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
}
