/* ===========================
   Global Reset & Variables
=========================== */
:root {
  --primary: #1A73E8;
  --accent: #F9A825;
  --secondary: #0F4C81;
  --bg: #F5F7FA;
  --text: #1A1A1A;
  --white: #ffffff;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Noto Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background-color: var(--bg);
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 16px;
}

/* ===========================
   Header & Navigation
=========================== */
header {
  background-color: var(--white);
  border-bottom: 1px solid #e0e4ea;
  position: sticky;
  top: 0;
  z-index: 10;
  height: 70px;
  display: flex;
  align-items: center;
  padding: 16px 24px;
}

.container.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  height: 100%;
}

.logo-icon {
  height: 100%;
  max-height: 60px;
  width: auto;
}

/* Navigation */
.nav {
  display: flex;
  align-items: center;
  gap: 18px;
  white-space: nowrap;
}

.nav-links {
  display: flex;
  gap: 20px;
  font-size: 14px;
}

.nav-links a {
  color: var(--text);
  font-weight: 500;
}

.nav-links a:hover {
  color: var(--primary);
}

/* Right side */
.nav-right {
  display: flex;
  align-items: center;
  gap: 20px;
  white-space: nowrap;
}

/* Language Switch */
.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.95rem;
  font-weight: 600;
}

.lang-item {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #374151;
  white-space: nowrap;
  transition: color 0.2s;
}

.lang-item:hover {
  color: #2563eb;
}

.lang-item.active {
  color: #2563eb;
  font-weight: 700;
}

.lang-divider {
  margin: 0 2px;
  color: #d1d5db;
  font-size: 0.85rem;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 10px 20px;
  border-radius: 999px;
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
  font-size: 14px;
  border: none;
  cursor: pointer;
}

.btn-primary {
  background-color: var(--primary);
  color: var(--white);
}

.btn-primary:hover {
  background-color: #1558b0;
}

.btn-outline {
  background-color: var(--white);
  color: var(--primary);
  border: 1px solid var(--primary);
}

.btn-outline:hover {
  background-color: #e8f1ff;
}

/* ===========================
   Hero Section
=========================== */
.hero {
  background: linear-gradient(135deg, #e8f1ff, #f5f7fa);
  padding: 40px 0;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 32px;
  align-items: center;
}

.hero-title {
  font-family: "Montserrat", sans-serif;
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--secondary);
}

.hero-subtitle {
  font-size: 18px;
  margin-bottom: 16px;
}

.hero-cn {
  font-size: 16px;
  color: #444;
  margin-bottom: 24px;
}

.hero-cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.hero-note {
  font-size: 13px;
  color: #666;
}

.hero-image {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  background: #dbe6ff;
  min-height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

/* Tagline */
.hero-tagline {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background-color: #eff6ff;
  border: 1px solid #bfdbfe;
  color: #1d4ed8;
  padding: 8px 22px;
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: 2px;
  margin-bottom: 20px;
  border-radius: 24px;
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.1);
}

.hero-tagline span {
  color: #93c5fd;
  font-weight: 400;
  font-size: 0.9rem;
}

/* ===========================
   Sections
=========================== */
section {
  padding: 40px 0;
}

.section-title {
  font-family: "Montserrat", sans-serif;
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--secondary);
}

.section-subtitle {
  font-size: 14px;
  color: #666;
  margin-bottom: 24px;
}

/* ===========================
   About Section
=========================== */
.about-section {
  background-color: #f9fafb;
}

.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 40px;
  align-items: center;
}

.about-image-wrapper {
  position: relative;
}

.instructor-img {
  width: 100%;
  max-height: 450px;
  object-fit: cover;
  border-radius: 16px;
}

.stat-badge {
  position: absolute;
  bottom: 20px;
  right: -20px;
  background: #ffffff;
  padding: 16px 24px;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  border-left: 5px solid #2563eb;
}

.stat-number {
  font-size: 2rem;
  font-weight: 800;
  color: #2563eb;
}

.stat-label {
  font-size: 0.85rem;
  color: #4b5563;
  font-weight: 600;
}

.badge-tag {
  display: inline-block;
  background: #e0e7ff;
  color: #3730a3;
  font-size: 0.85rem;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 20px;
  margin-bottom: 12px;
}

.about-lead {
  font-size: 1.1rem;
  color: #374151;
  margin-bottom: 24px;
}

.highlights-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.highlight-item {
  display: flex;
  gap: 15px;
}

.highlight-item .icon {
  font-size: 1.5rem;
  background: #ffffff;
  padding: 8px;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

.highlight-item strong {
  color: #111827;
  font-size: 1rem;
}

.highlight-item p {
  font-size: 0.9rem;
  color: #6b7280;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}

.tag {
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 999px;
  background-color: #e8f1ff;
  color: var(--secondary);
  font-weight: 500;
}


/* ===========================
   Services
=========================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.service-card {
  background-color: var(--white);
  border-radius: 12px;
  padding: 18px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
  font-size: 14px;
  min-height: 260px;
}

.service-title {
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
  font-size: 17px;
  margin-bottom: 8px;
  color: var(--secondary);
}

.service-time,
.service-price {
  font-weight: bold;
  font-size: 17px;
  margin-bottom: 8px;
  color: blue;
}

.service-price {
  font-size: 20px;
}

.service-card ul {
  padding-left: 18px;
  margin-top: 4px;
}

.service-card li {
  margin-bottom: 4px;
}

/* ===========================
   Teaching Style
=========================== */
.teaching {
  background: linear-gradient(135deg, var(--secondary), #16385f);
  color: var(--white);
}

.teaching-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 16px;
}

.teaching-item {
  background: rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  padding: 12px 14px;
}

/* ===========================
   Service Area
=========================== */
.area-box {
  background-color: var(--white);
  border-radius: 12px;
  padding: 18px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
  font-size: 14px;
}

.area-list {
  margin-top: 8px;
  color: #444;
}

/* ===========================
   Testimonials
=========================== */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.testimonial-card {
  background-color: var(--white);
  border-radius: 12px;
  padding: 16px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
  font-size: 14px;
}

.testimonial-card p {
  margin-bottom: 8px;
}

.testimonial-author {
  font-size: 13px;
  color: #666;
}

/* ===========================
   Contact
=========================== */
.contact {
  background: linear-gradient(135deg, var(--secondary), #0b2a46);
  color: var(--white);
}

.contact-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 24px;
  align-items: center;
}

.contact-info p {
  margin-bottom: 6px;
  font-size: 14px;
}

.contact-label {
  font-weight: 600;
}

.contact-cta {
  margin-top: 16px;
}

/* ===========================
   Footer
=========================== */
footer {
  background-color: #0b1724;
  color: #9ca3af;
  font-size: 12px;
  padding: 12px 0;
  text-align: center;
}

/* ===========================
   Responsive
=========================== */
@media (max-width: 900px) {
  .hero-inner,
  .about-grid,
  .services-grid,
  .teaching-list,
  .testimonials-grid,
  .contact-inner {
    grid-template-columns: 1fr;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .nav-links {
    display: none;
  }

  .hero-title {
    font-size: 26px;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .mobile-book-btn {
    display: block;
  }

  section {
    padding: 40px 0;
  }

  .stat-badge {
    position: static;
    margin-top: 15px;
    width: 100%;
  }
}

/* Mobile Book Button */
.mobile-book-btn {
  position: fixed;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: white;
  padding: 12px 24px;
  border-radius: 999px;
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  display: none;
}

@media (max-width: 900px) {
  .nav-links {
    display: none !important;
  }
}


