:root {
  --green: #4CAF50;
  --green-light: #66BB6A;
  --green-dark: #388E3C;
  --navy: #2C3E6B;
  --navy-dark: #1A2342;
  --white: #FFFFFF;
  --light-bg: #F5F7FA;
  --text-dark: #333333;
  --text-light: #666666;
  --text-muted: #999999;
  --border: #E0E0E0;
  --shadow: 0 4px 20px rgba(0,0,0,0.08);
  --shadow-hover: 0 8px 30px rgba(0,0,0,0.12);
  --radius: 12px;
  --transition: all 0.3s ease;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
}

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 20px;
}

/* Scroll Animations */
.fade-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ========== HEADER ========== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--white);
  box-shadow: 0 2px 10px rgba(0,0,0,0.06);
  transition: var(--transition);
}
.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 75px;
}
.logo {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--navy);
}
.logo span { color: var(--green); }
.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
}
.nav-links a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-dark);
  transition: var(--transition);
  position: relative;
}
.nav-links a:hover { color: var(--green); }
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--green);
  transition: var(--transition);
}
.nav-links a:hover::after { width: 100%; }
.btn-enroll {
  background: var(--green);
  color: var(--white);
  padding: 10px 24px;
  border-radius: 30px;
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: var(--transition);
}
.btn-enroll:hover {
  background: var(--green-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(76,175,80,0.4);
}
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 5px;
}
.hamburger span {
  width: 25px;
  height: 3px;
  background: var(--navy);
  border-radius: 2px;
  transition: var(--transition);
}

/* ========== HERO ========== */
.hero {
  margin-top: 75px;
  position: relative;
  min-height: 550px;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(26,35,66,0.88) 0%, rgba(44,62,107,0.75) 100%);
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 650px;
  padding: 60px 0;
}
.hero-tag {
  display: inline-block;
  background: rgba(76,175,80,0.2);
  color: var(--green-light);
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 1px;
  margin-bottom: 20px;
  text-transform: uppercase;
}
.hero h1 {
  font-size: 3rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.hero h1 span { color: var(--green-light); }
.hero p {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.8);
  margin-bottom: 30px;
  line-height: 1.7;
}
.btn-primary {
  display: inline-block;
  background: var(--green);
  color: var(--white);
  padding: 14px 36px;
  border-radius: 30px;
  font-weight: 700;
  font-size: 1rem;
  transition: var(--transition);
  border: none;
  cursor: pointer;
}
.btn-primary:hover {
  background: var(--green-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(76,175,80,0.4);
}
.btn-outline {
  display: inline-block;
  border: 2px solid var(--green);
  color: var(--green);
  padding: 12px 32px;
  border-radius: 30px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: var(--transition);
  background: transparent;
  cursor: pointer;
}
.btn-outline:hover {
  background: var(--green);
  color: var(--white);
}

/* ========== SECTION COMMON ========== */
.section {
  padding: 80px 0;
}
.section-tag {
  display: inline-block;
  color: var(--green);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.section-title {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 15px;
  text-transform: uppercase;
  line-height: 1.2;
}
.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-light);
  max-width: 600px;
}
.section-header {
  text-align: center;
  margin-bottom: 50px;
}
.section-header .section-subtitle {
  margin: 0 auto;
}

/* ========== AVAILABLE LANGUAGES ========== */
.languages {
  background: var(--light-bg);
}
.languages-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}
.lang-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 20px 15px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: var(--transition);
  cursor: pointer;
}
.lang-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}
.lang-flag {
  font-size: 2.5rem;
  margin-bottom: 10px;
  display: block;
}
.lang-name {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-dark);
}
.languages .section-header { text-align: center; }

/* ========== ABOUT ========== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}
.about-image {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  position: relative;
}
.about-image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}
.about-image-badge {
  position: absolute;
  bottom: 20px;
  right: 20px;
  background: var(--green);
  color: var(--white);
  padding: 15px 20px;
  border-radius: var(--radius);
  text-align: center;
  font-weight: 700;
}
.about-image-badge .number {
  font-size: 2rem;
  display: block;
  line-height: 1;
}
.about-image-badge .label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.about-tag {
  color: var(--green);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.about-title {
  font-size: 2rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 15px;
  text-transform: uppercase;
  line-height: 1.2;
}
.about-text {
  color: var(--text-light);
  margin-bottom: 25px;
  line-height: 1.7;
}
.about-features {
  margin-bottom: 30px;
}
.about-features li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 0;
  font-weight: 500;
  color: var(--text-dark);
}
.about-features li .check {
  width: 24px;
  height: 24px;
  background: rgba(76,175,80,0.15);
  color: var(--green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  flex-shrink: 0;
}

/* ========== WHY CHOOSE US ========== */
.why-us {
  background: var(--navy-dark);
  color: var(--white);
}
.why-us .section-title { color: var(--white); }
.why-us .section-subtitle { color: rgba(255,255,255,0.7); }
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}
.why-card {
  text-align: center;
  padding: 35px 20px;
  border-radius: var(--radius);
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  transition: var(--transition);
}
.why-card:hover {
  background: rgba(255,255,255,0.1);
  transform: translateY(-5px);
}
.why-icon {
  width: 70px;
  height: 70px;
  background: rgba(76,175,80,0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 1.8rem;
}
.why-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 10px;
}
.why-card p {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.6;
}

/* ========== STATS ========== */
.stats {
  background: var(--green);
  padding: 50px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  text-align: center;
}
.stat-item h3 {
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
  margin-bottom: 5px;
}
.stat-item p {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.85);
  font-weight: 500;
}

/* ========== TESTIMONIALS ========== */
.testimonials {
  background: var(--light-bg);
}
.testimonial-carousel {
  max-width: 700px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}
.testimonial-slide {
  display: none;
  text-align: center;
  padding: 30px 20px;
  animation: fadeIn 0.5s ease;
}
.testimonial-slide.active { display: block; }
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
.testimonial-quote {
  font-size: 3rem;
  color: var(--green);
  margin-bottom: 10px;
}
.testimonial-text {
  font-size: 1.1rem;
  color: var(--text-light);
  line-height: 1.8;
  font-style: italic;
  margin-bottom: 25px;
}
.testimonial-avatar {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 12px;
  border: 3px solid var(--green);
}
.testimonial-name {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
}
.testimonial-role {
  font-size: 0.85rem;
  color: var(--text-muted);
}
.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 25px;
}
.carousel-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--border);
  border: none;
  cursor: pointer;
  transition: var(--transition);
}
.carousel-dot.active {
  background: var(--green);
  transform: scale(1.2);
}

/* ========== TEACHERS ========== */
.teachers-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.teacher-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  text-align: center;
}
.teacher-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
}
.teacher-img {
  width: 100%;
  height: 300px;
  object-fit: cover;
}
.teacher-info {
  padding: 25px 20px;
}
.teacher-info h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 5px;
}
.teacher-info .subject {
  color: var(--green);
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 3px;
}
.teacher-info .experience {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-bottom: 15px;
}
.btn-profile {
  display: inline-block;
  padding: 8px 24px;
  border: 2px solid var(--green);
  color: var(--green);
  border-radius: 25px;
  font-weight: 600;
  font-size: 0.85rem;
  transition: var(--transition);
}
.btn-profile:hover {
  background: var(--green);
  color: var(--white);
}

/* ========== BLOG ========== */
.blog {
  background: var(--light-bg);
}
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.blog-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}
.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}
.blog-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}
.blog-content {
  padding: 25px 20px;
}
.blog-meta {
  display: flex;
  gap: 15px;
  margin-bottom: 12px;
  font-size: 0.8rem;
  color: var(--text-muted);
}
.blog-meta span { display: flex; align-items: center; gap: 4px; }
.blog-content h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
  line-height: 1.4;
}
.blog-content p {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: 15px;
}
.blog-link {
  color: var(--green);
  font-weight: 600;
  font-size: 0.9rem;
  transition: var(--transition);
}
.blog-link:hover { color: var(--green-dark); }

/* ========== EVENTS ========== */
.events-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.event-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}
.event-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}
.event-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  position: relative;
}
.event-date {
  position: absolute;
  top: 15px;
  left: 15px;
  background: var(--green);
  color: var(--white);
  padding: 8px 14px;
  border-radius: 8px;
  text-align: center;
  font-weight: 700;
  line-height: 1.2;
}
.event-date .day { font-size: 1.4rem; display: block; }
.event-date .month { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 1px; }
.event-content {
  padding: 20px;
}
.event-category {
  display: inline-block;
  background: rgba(76,175,80,0.12);
  color: var(--green);
  padding: 4px 12px;
  border-radius: 15px;
  font-size: 0.75rem;
  font-weight: 600;
  margin-bottom: 10px;
  text-transform: uppercase;
}
.event-content h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
  line-height: 1.4;
}
.event-content p {
  font-size: 0.88rem;
  color: var(--text-light);
  line-height: 1.6;
}

/* ========== NEWSLETTER ========== */
.newsletter {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%);
  padding: 60px 0;
  text-align: center;
}
.newsletter h2 {
  font-size: 2rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 10px;
  text-transform: uppercase;
}
.newsletter p {
  color: rgba(255,255,255,0.7);
  margin-bottom: 30px;
  font-size: 1rem;
}
.newsletter-form {
  display: flex;
  max-width: 500px;
  margin: 0 auto;
  gap: 10px;
}
.newsletter-form input {
  flex: 1;
  padding: 14px 20px;
  border: none;
  border-radius: 30px;
  font-size: 0.95rem;
  outline: none;
  background: rgba(255,255,255,0.12);
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.2);
}
.newsletter-form input::placeholder { color: rgba(255,255,255,0.5); }
.newsletter-form input:focus { border-color: var(--green); }
.newsletter-form button {
  padding: 14px 30px;
  background: var(--green);
  color: var(--white);
  border: none;
  border-radius: 30px;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}
.newsletter-form button:hover {
  background: var(--green-dark);
}

/* ========== FOOTER ========== */
.footer {
  background: var(--navy-dark);
  color: rgba(255,255,255,0.75);
  padding: 60px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-col h4 {
  color: var(--white);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 20px;
}
.footer-about .logo {
  color: var(--white);
  font-size: 1.4rem;
  margin-bottom: 15px;
  display: inline-block;
}
.footer-about p {
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 20px;
}
.social-links {
  display: flex;
  gap: 12px;
}
.social-links a {
  width: 38px;
  height: 38px;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  color: var(--white);
  transition: var(--transition);
}
.social-links a:hover {
  background: var(--green);
}
.footer-col ul li {
  margin-bottom: 10px;
}
.footer-col ul li a {
  font-size: 0.9rem;
  transition: var(--transition);
}
.footer-col ul li a:hover {
  color: var(--green);
  padding-left: 5px;
}
.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 0.9rem;
}
.footer-contact li .icon {
  color: var(--green);
  font-size: 1rem;
  flex-shrink: 0;
  margin-top: 2px;
}
.footer-bottom {
  text-align: center;
  padding: 20px 0;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
}

/* ========== RESPONSIVE 1024px ========== */
@media (max-width: 1024px) {
  .hero h1 { font-size: 2.4rem; }
  .languages-grid { grid-template-columns: repeat(4, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 25px; }
  .teachers-grid { grid-template-columns: repeat(2, 1fr); }
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .events-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { gap: 30px; }
}

/* ========== RESPONSIVE 768px ========== */
@media (max-width: 768px) {
  .nav-links { 
    display: none;
    position: absolute;
    top: 75px;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 20px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    gap: 15px;
  }
  .nav-links.open { display: flex; }
  .hamburger { display: flex; }
  .hero { min-height: 450px; }
  .hero h1 { font-size: 1.8rem; }
  .hero p { font-size: 0.95rem; }
  .section { padding: 50px 0; }
  .section-title { font-size: 1.7rem; }
  .languages-grid { grid-template-columns: repeat(3, 1fr); gap: 12px; }
  .about-grid { grid-template-columns: 1fr; }
  .about-image { order: -1; }
  .why-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item h3 { font-size: 2.2rem; }
  .teachers-grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }
  .blog-grid { grid-template-columns: 1fr; }
  .events-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .newsletter h2 { font-size: 1.5rem; }
  .newsletter-form { flex-direction: column; }
  .newsletter-form button { width: 100%; }
}
