/* ==========================================================================
   GỐM KIDDI Theme Stylesheet - Màu Men Teacher's Palette ẩn trong Nền
   Lấy cảm hứng từ các màu men gốm chảy tự nhiên của Teacher's Palette:
   Cobalt Blue, Celadon Xanh Ngọc, Rust Cam Đất, Amber Hổ Phách, Plum Tím, Teal Peacock
   ========================================================================== */

:root {
  /* Hệ màu sắc bậc 1 tươi sáng cho trẻ em */
  --color-primary: #FF4B4B;          /* Đỏ tươi vui */
  --color-primary-hover: #E03A3A;
  --color-primary-light: #FFEBEB;
  
  --color-secondary: #0077E6;        /* Xanh dương tươi sáng */
  --color-secondary-hover: #005CBA;
  --color-secondary-light: #E6F0FA;
  
  --color-yellow: #FFD166;           /* Vàng tươi vui */
  --color-yellow-hover: #FFC033;
  --color-yellow-light: #FFF9EB;

  --color-green: #2ECC71;            /* Xanh lá tươi vui cho logo Green L'ami */
  --color-green-hover: #27AE60;
  
  --color-charcoal: #2F3E46;
  --color-text-muted: #64748B;
  --color-bg-light: #FDFBF7;
  --color-bg-card: #FFFFFF;
  --color-border: #E2E8F0;

  /* ══ Men gốm Teacher's Palette — Lớp màu ẩn trong nền ══
     Mỗi màu là một tông men gốm thực sự được pha loãng ở độ mờ thấp
     để tạo cảm giác vệt men chảy tự nhiên, hữu cơ như trên gốm nung */
  --glaze-cobalt:    rgba(30, 80, 180, 0.07);   /* Cobalt Blue — men biển sâu */
  --glaze-celadon:   rgba(120, 185, 160, 0.09); /* Celadon — men xanh ngọc gốm Á Đông */
  --glaze-rust:      rgba(195, 80, 45, 0.07);   /* Rust — men cam đất nung */
  --glaze-amber:     rgba(215, 155, 45, 0.08);  /* Amber — men hổ phách vàng rực */
  --glaze-plum:      rgba(130, 60, 160, 0.06);  /* Plum — men tím mận bí ẩn */
  --glaze-teal:      rgba(30, 160, 155, 0.07);  /* Teal/Peacock — men xanh công trú */
  --glaze-sage:      rgba(100, 150, 110, 0.08); /* Sage — men xanh xô thơm mộc mạc */
  --glaze-ivory:     rgba(240, 225, 195, 0.4);  /* Ivory — men ngà kem nền gốm */

  /* Typography */
  --font-heading: 'Plus Jakarta Sans', sans-serif;
  --font-body: 'Quicksand', sans-serif;

  /* Elevation */
  --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
  --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -2px rgba(0, 0, 0, 0.04);
  --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --shadow-primary: 0 10px 20px -5px rgba(255, 75, 75, 0.3);

  /* Radius */
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 28px;
  --radius-pill: 9999px;

  /* Animation */
  --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Reset & Base Setup */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  /* Nền chính dạng ngà kem ấm như xương gốm chưa nung */
  background-color: #FCF9F4;
  color: var(--color-charcoal);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 800;
  line-height: 1.2;
  color: var(--color-charcoal);
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Grid & Layout Utilities */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 100px 0;
  /* Mỗi section là một tờ giấy gốm trắng có khả năng nhận vệt men riêng */
  position: relative;
  overflow: hidden;
}

/* ══════════════════════════════════════════════════════════════
   VỆT MEN TEACHER'S PALETTE — Mỗi section nhận một tổ hợp men khác nhau
   Dùng ::before và ::after để xếp lớp màu men không đều, hữu cơ
   như men chảy thật trên mặt gốm nung trong lò nhiệt độ cao
   ══════════════════════════════════════════════════════════════ */

/* Section 2: Nỗi Đau — vệt Cobalt Blue + Amber ẩn (tông trầm tư, cần cảm nhận) */
.section-problems {
  background-color: #FDFBF7;
}
.section-problems::before {
  content: '';
  position: absolute;
  /* Vệt cobalt chảy từ góc trái trên xuống giữa, ellipse méo như men thật */
  top: -15%;
  left: -10%;
  width: 65%;
  height: 75%;
  background: radial-gradient(ellipse 70% 60% at 30% 35%,
    var(--glaze-cobalt) 0%,
    transparent 70%);
  transform: rotate(-12deg);
  pointer-events: none;
  z-index: 0;
}
.section-problems::after {
  content: '';
  position: absolute;
  /* Vệt amber nhỏ hơn ở góc phải dưới, chảy ngược chiều */
  bottom: -10%;
  right: -5%;
  width: 45%;
  height: 55%;
  background: radial-gradient(ellipse 55% 65% at 70% 65%,
    var(--glaze-amber) 0%,
    transparent 65%);
  transform: rotate(8deg);
  pointer-events: none;
  z-index: 0;
}
.section-problems .container { position: relative; z-index: 1; }

/* Section 3: Giải Pháp — vệt Celadon + Sage (tươi mát, phát triển, hy vọng) */
.section-solution {
  background-color: #FFFFFF;
}
.section-solution::before {
  content: '';
  position: absolute;
  /* Dải celadon rộng dọc theo chiều dài page, mờ như lớp áo men mỏng */
  top: 5%;
  right: -20%;
  width: 70%;
  height: 90%;
  background: radial-gradient(ellipse 60% 80% at 80% 50%,
    var(--glaze-celadon) 0%,
    var(--glaze-sage) 40%,
    transparent 70%);
  transform: rotate(5deg);
  pointer-events: none;
  z-index: 0;
}
.section-solution::after {
  content: '';
  position: absolute;
  /* Teal peacock nhỏ ở đáy trái */
  bottom: 0;
  left: 0;
  width: 30%;
  height: 40%;
  background: radial-gradient(ellipse 80% 60% at 10% 90%,
    var(--glaze-teal) 0%,
    transparent 70%);
  pointer-events: none;
  z-index: 0;
}
.section-solution .container { position: relative; z-index: 1; }

/* Section 4: An Toàn — vệt Sage + Teal (thiên nhiên, an lành, tin cậy) */
.section-safety {
  background-color: #F5FBF8;
}
.section-safety::before {
  content: '';
  position: absolute;
  top: 0;
  left: -15%;
  width: 80%;
  height: 100%;
  background:
    radial-gradient(ellipse 50% 70% at 15% 30%, var(--glaze-sage) 0%, transparent 65%),
    radial-gradient(ellipse 40% 50% at 60% 75%, var(--glaze-teal) 0%, transparent 70%);
  transform: rotate(-5deg);
  pointer-events: none;
  z-index: 0;
}
.section-safety .container { position: relative; z-index: 1; }

/* Section 5: Lộ Trình — vệt Amber + Rust nhẹ (nỗ lực, lửa sáng tạo, hành trình) */
.section-roadmap {
  background-color: #FFFDF9;
}
.section-roadmap::before {
  content: '';
  position: absolute;
  /* Dải amber chạy dọc giữa page như lửa lò gốm */
  top: -10%;
  left: 50%;
  transform: translateX(-50%) rotate(3deg);
  width: 55%;
  height: 120%;
  background: radial-gradient(ellipse 60% 80% at 50% 50%,
    var(--glaze-amber) 0%,
    var(--glaze-rust) 35%,
    transparent 65%);
  pointer-events: none;
  z-index: 0;
}
.section-roadmap::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 35%;
  height: 45%;
  background: radial-gradient(ellipse 70% 60% at 90% 100%,
    var(--glaze-cobalt) 0%,
    transparent 70%);
  pointer-events: none;
  z-index: 0;
}
.section-roadmap .container { position: relative; z-index: 1; }

/* Section 6: Testimonials — vệt Plum + Cobalt (cảm xúc, uy tín, đáng tin) */
.section-testimonials {
  background-color: #FDFCFE;
}
.section-testimonials::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -15%;
  width: 65%;
  height: 75%;
  background: radial-gradient(ellipse 65% 70% at 70% 25%,
    var(--glaze-plum) 0%,
    transparent 65%);
  transform: rotate(-8deg);
  pointer-events: none;
  z-index: 0;
}
.section-testimonials::after {
  content: '';
  position: absolute;
  bottom: -10%;
  left: -10%;
  width: 50%;
  height: 60%;
  background: radial-gradient(ellipse 60% 50% at 20% 80%,
    var(--glaze-cobalt) 0%,
    transparent 70%);
  transform: rotate(10deg);
  pointer-events: none;
  z-index: 0;
}
.section-testimonials .container { position: relative; z-index: 1; }

/* Section 7: Booking Form — vệt Amber + Rust rực rỡ (nhiệt huyết, kêu gọi đăng ký) */
.section-booking {
  background-color: #FFFBF5;
}
.section-booking::before {
  content: '';
  position: absolute;
  top: -25%;
  left: -20%;
  width: 80%;
  height: 80%;
  background: radial-gradient(ellipse 65% 70% at 25% 25%,
    var(--glaze-amber) 0%,
    var(--glaze-rust) 45%,
    transparent 70%);
  transform: rotate(-15deg);
  pointer-events: none;
  z-index: 0;
}
.section-booking::after {
  content: '';
  position: absolute;
  bottom: -20%;
  right: -15%;
  width: 60%;
  height: 65%;
  background: radial-gradient(ellipse 55% 65% at 75% 80%,
    var(--glaze-celadon) 0%,
    transparent 65%);
  transform: rotate(12deg);
  pointer-events: none;
  z-index: 0;
}
.section-booking .container { position: relative; z-index: 1; }

.section-title {
  text-align: center;
  margin-bottom: 50px;
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  position: relative;
}

.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 5px;
  background-color: var(--color-primary);
  margin: 15px auto 0 auto;
  border-radius: var(--radius-pill);
}

/* Buttons bản cũ mềm mại */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  padding: 14px 28px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  border: none;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
  font-size: 0.95rem;
  letter-spacing: 0.2px;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn:active {
  transform: translateY(0);
}

.btn-primary, .btn-terracotta {
  background-color: var(--color-primary);
  color: #FFFFFF;
}

.btn-primary:hover, .btn-terracotta:hover {
  background-color: var(--color-primary-hover);
  box-shadow: var(--shadow-primary);
}

.btn-outline-terracotta {
  background: transparent;
  border: 2px solid var(--color-primary);
  color: var(--color-primary);
  padding: 10px 24px;
}

.btn-outline-terracotta:hover {
  background-color: var(--color-primary);
  color: #FFFFFF;
}

.btn-block {
  width: 100%;
}

/* Navbar mềm mại */
.navbar {
  background-color: rgba(253, 251, 247, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 15px 0;
  transition: var(--transition);
}

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

.logo-container {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-svg {
  width: 44px;
  height: 44px;
  transition: var(--transition);
}

.logo-container:hover .logo-svg {
  transform: rotate(15deg);
}

.logo-text {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.4rem;
  color: var(--color-primary); /* Đỏ tươi vui */
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  letter-spacing: -0.5px;
}

.logo-sub {
  font-size: 0.75rem;
  color: var(--color-green); /* Chữ Green L'ami màu xanh lá tươi vui */
  font-weight: 700;
  letter-spacing: 0.5px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--color-charcoal);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--color-primary);
  transition: var(--transition);
}

.nav-links a:hover {
  color: var(--color-primary);
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-cta {
  display: flex;
  align-items: center;
}

.nav-toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  width: 30px;
  height: 20px;
  position: relative;
  z-index: 101;
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 3px;
  background-color: var(--color-charcoal);
  border-radius: 3px;
  position: absolute;
  transition: var(--transition);
}

.nav-toggle span:nth-child(1) { top: 0; }
.nav-toggle span:nth-child(2) { top: 8px; }
.nav-toggle span:nth-child(3) { top: 16px; }

.nav-toggle.active span:nth-child(1) { transform: rotate(45deg); top: 8px; }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: rotate(-45deg); top: 8px; }

/* Hero Section — Nền kem ngà gốm với vệt men Teacher's Palette đầu tiên */
.hero {
  padding: 80px 0 100px 0;
  /* Nền ngà kem ấm của xương gốm, đặt làm canvas cho các vệt men */
  background-color: #FAF7F2;
  /* Lớp 1: Vệt Amber rực ở góc trên phải như men chảy xuống khi nung
     Lớp 2: Vệt Cobalt mờ ở góc trái dưới như men biển thấm vào xương gốm
     Lớp 3: Vệt Celadon nhẹ ở chính giữa tạo chiều sâu như lớp men lót */
  background-image:
    radial-gradient(ellipse 70% 60% at 90% 10%,
      rgba(215, 155, 45, 0.12) 0%,
      rgba(195, 80, 45, 0.06) 45%,
      transparent 70%),
    radial-gradient(ellipse 55% 65% at 8% 85%,
      rgba(30, 80, 180, 0.09) 0%,
      transparent 65%),
    radial-gradient(ellipse 40% 55% at 55% 50%,
      rgba(120, 185, 160, 0.06) 0%,
      transparent 70%);
  overflow: hidden;
  position: relative;
}

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

.hero-badge {
  background-color: var(--color-primary-light);
  color: var(--color-primary);
  border: 1px solid var(--color-primary);
  font-weight: 700;
  font-size: 0.85rem;
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  margin-bottom: 24px;
  display: inline-block;
  letter-spacing: 0.5px;
}

.hero-title {
  font-size: 3.2rem;
  font-weight: 800;
  color: var(--color-charcoal);
  margin-bottom: 24px;
  letter-spacing: -1px;
  line-height: 1.15;
}

.hero-desc {
  font-size: 1.15rem;
  color: var(--color-text-muted);
  margin-bottom: 40px;
  font-weight: 500;
}

/* Compact Hero Form */
.hero-form-wrapper {
  background-color: var(--color-bg-card);
  padding: 8px;
  border-radius: 50px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--color-border);
  max-width: 650px;
}

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

.hero-form .form-control {
  border: none;
  background: transparent;
  padding: 14px 20px;
  border-radius: var(--radius-pill);
  font-weight: 500;
  outline: none;
  font-size: 0.95rem;
}

.hero-form .form-control:focus {
  background-color: var(--color-secondary-light);
}

.hero-form button {
  white-space: nowrap;
}

/* Hero Slider */
.slider-container {
  position: relative;
  width: 100%;
  height: 480px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  border: 8px solid #FFFFFF;
}

.slider-wrapper {
  width: 100%;
  height: 100%;
  position: relative;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  display: flex;
  flex-direction: column;
}

.slide.active {
  opacity: 1;
  z-index: 1;
}

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

.slide-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: linear-gradient(to top, rgba(0,0,0,0.8), rgba(0,0,0,0));
  padding: 30px 20px 20px 20px;
  color: #FFFFFF;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
}

.slider-dots {
  position: absolute;
  bottom: 20px;
  right: 20px;
  display: flex;
  gap: 8px;
  z-index: 2;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: var(--transition);
}

.dot.active {
  background-color: #FFFFFF;
  transform: scale(1.3);
}

/* Section 2: Problem Awareness */
.section-problems {
  background-color: var(--color-bg-light);
}

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

.problem-card {
  background-color: var(--color-bg-card);
  padding: 40px 30px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
  transition: var(--transition);
  position: relative;
}

.problem-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-primary);
}

.problem-icon {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-md);
  background-color: var(--color-primary-light);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.problem-card:nth-child(2) .problem-icon {
  background-color: var(--color-secondary-light);
  color: var(--color-secondary);
}

.problem-card:nth-child(3) .problem-icon {
  background-color: var(--color-yellow-light);
  color: var(--color-yellow-hover);
}

.problem-icon svg {
  width: 30px;
  height: 30px;
}

.problem-title {
  font-size: 1.35rem;
  margin-bottom: 14px;
}

.problem-desc {
  color: var(--color-text-muted);
  font-weight: 500;
  font-size: 0.95rem;
}

/* Section 3: Solutions Z-pattern */
.section-solution {
  background-color: #FFFFFF;
}

.solution-row {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 80px;
  align-items: center;
  margin-bottom: 100px;
}

.solution-row:last-child {
  margin-bottom: 0;
}

.solution-row.reverse {
  grid-template-columns: 1.1fr 1fr;
}

.solution-row.reverse .solution-content {
  grid-column: 2;
}

.solution-row.reverse .solution-image {
  grid-column: 1;
  grid-row: 1;
}

.solution-step {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.85rem;
  text-transform: uppercase;
  color: var(--color-secondary);
  letter-spacing: 1px;
}

.solution-row:nth-child(2) .solution-step {
  color: var(--color-primary);
}

.solution-row:nth-child(3) .solution-step {
  color: var(--color-green);
}

.solution-heading {
  font-size: 2.2rem;
  margin: 10px 0 20px 0;
}

.solution-text {
  color: var(--color-text-muted);
  font-size: 1.05rem;
  font-weight: 500;
}

.solution-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 6px solid #FFFFFF;
  transition: var(--transition);
}

.solution-image:hover {
  transform: scale(1.02);
  box-shadow: var(--shadow-lg);
}

.solution-image img {
  width: 100%;
  height: 380px;
  object-fit: cover;
}

/* Section 4: Materials Safety */
.section-safety {
  background-color: var(--color-secondary-light);
}

.safety-layout {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 60px;
  align-items: center;
}

.safety-title {
  font-size: 2.4rem;
  margin-bottom: 20px;
  color: var(--color-charcoal);
}

.safety-desc {
  font-size: 1.1rem;
  color: var(--color-text-muted);
  margin-bottom: 40px;
  font-weight: 500;
}

.safety-badges {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.badge-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.badge-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: var(--color-bg-card);
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  flex-shrink: 0;
}

.badge-text h4 {
  font-size: 1.15rem;
  margin-bottom: 6px;
  color: var(--color-charcoal);
}

.badge-text p {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  font-weight: 500;
}

.safety-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 8px solid #FFFFFF;
}

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

/* Section 5: Roadmap Timeline */
.section-roadmap {
  background-color: #FFFFFF;
}

.roadmap-subtitle {
  text-align: center;
  max-width: 700px;
  margin: -30px auto 60px auto;
  font-size: 1.1rem;
  color: var(--color-text-muted);
  font-weight: 500;
}

.timeline {
  max-width: 850px;
  margin: 0 auto;
  position: relative;
  padding: 40px 0;
}

.timeline::after {
  content: '';
  position: absolute;
  left: 50px;
  top: 0;
  bottom: 0;
  width: 4px;
  background-color: var(--color-border);
  border-radius: 2px;
}

.timeline-item {
  position: relative;
  margin-bottom: 60px;
  padding-left: 100px;
}

.timeline-item:last-child {
  margin-bottom: 0;
}

.timeline-dot {
  position: absolute;
  left: 28px;
  top: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: var(--color-primary);
  color: #FFFFFF;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  box-shadow: var(--shadow-sm);
}

.timeline-item:nth-child(2) .timeline-dot {
  background-color: var(--color-secondary);
}

.timeline-item:nth-child(3) .timeline-dot {
  background-color: var(--color-yellow);
  color: var(--color-charcoal);
}

.timeline-content {
  background-color: var(--color-bg-light);
  padding: 30px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
  transition: var(--transition);
}

.timeline-content:hover {
  transform: translateX(10px);
  box-shadow: var(--shadow-md);
  border-color: var(--color-primary);
}

.timeline-level {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.85rem;
  text-transform: uppercase;
  color: var(--color-primary);
  display: block;
  margin-bottom: 10px;
}

.timeline-level.font-green {
  color: var(--color-secondary);
}

.timeline-level.font-yellow {
  color: var(--color-yellow-hover);
}

.timeline-title {
  font-size: 1.5rem;
  margin-bottom: 12px;
}

.timeline-text {
  color: var(--color-text-muted);
  font-weight: 500;
  margin-bottom: 20px;
}

.timeline-projects {
  background-color: #FFFFFF;
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  border-left: 4px solid var(--color-primary);
  font-weight: 600;
  font-size: 0.95rem;
}

.timeline-item:nth-child(2) .timeline-projects {
  border-left-color: var(--color-secondary);
}

.timeline-item:nth-child(3) .timeline-projects {
  border-left-color: var(--color-yellow);
}

/* Section 6: Testimonials Carousel */
.section-testimonials {
  background-color: var(--color-bg-light);
  overflow: hidden;
}

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

.testimonials-wrapper {
  position: relative;
  height: 400px;
}

.testimonial-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  transition: opacity 0.6s ease-in-out;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  z-index: 1;
  pointer-events: none;
}

.testimonial-slide.active {
  opacity: 1;
  z-index: 2;
  pointer-events: auto;
}

.testimonial-content-box {
  background-color: var(--color-bg-card);
  padding: 35px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.stars {
  font-size: 1.3rem;
  margin-bottom: 15px;
}

.quote {
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--color-charcoal);
  margin-bottom: 20px;
}

.parent-info {
  display: flex;
  align-items: center;
  gap: 15px;
}

.parent-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
}

.parent-name {
  font-size: 1.1rem;
  font-weight: 700;
}

.parent-sub {
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

.testimonial-product-image {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 4px solid #FFFFFF;
}

.testimonial-product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.testimonials-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
}

.nav-arrow {
  background-color: var(--color-bg-card);
  border: 1px solid var(--color-border);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-weight: 700;
  font-size: 1.1rem;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.nav-arrow:hover {
  background-color: var(--color-primary-light);
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.testimonials-dots {
  display: flex;
  gap: 8px;
}

.t-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: rgba(0, 0, 0, 0.1);
  cursor: pointer;
  transition: var(--transition);
}

.t-dot.active {
  background-color: var(--color-primary);
  transform: scale(1.2);
}

/* Section 7: Booking Form */
.section-booking {
  background-color: var(--color-yellow-light);
}

.booking-layout {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 50px;
  align-items: center;
}

.booking-image-wrapper {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 6px solid #FFFFFF;
}

.booking-image-wrapper img {
  width: 100%;
  height: 520px;
  object-fit: cover;
}

.image-overlay-card {
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px;
  background-color: var(--color-bg-card);
  border: 1px solid var(--color-border);
  padding: 15px 20px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
}

.image-overlay-card h4 {
  font-size: 1.2rem;
  color: var(--color-primary);
  margin-bottom: 4px;
}

.image-overlay-card p {
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

.booking-form-wrapper {
  background-color: var(--color-bg-card);
  padding: 40px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-lg);
}

.booking-title {
  font-size: 2rem;
  margin-bottom: 12px;
  font-weight: 800;
}

.booking-subtitle {
  color: var(--color-text-muted);
  margin-bottom: 25px;
  font-weight: 500;
}

.booking-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-weight: 600;
  font-size: 0.95rem;
}

.form-group .required {
  color: var(--color-primary);
}

.booking-form .form-control {
  border: 1px solid var(--color-border);
  background-color: var(--color-bg-light);
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-weight: 500;
  outline: none;
  font-size: 0.95rem;
  transition: var(--transition);
}

.booking-form .form-control:focus {
  background-color: #FFFFFF;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px var(--color-primary-light);
}

.booking-form textarea.form-control {
  min-height: 90px;
  resize: vertical;
}

.form-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 15px;
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 5px 0;
}

.checkbox-group input[type="checkbox"] {
  width: 18px;
  height: 18px;
  border: 1px solid var(--color-border);
  border-radius: 4px;
  cursor: pointer;
  margin-top: 2px;
}

.checkbox-label {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-text-muted);
}

/* Success Card */
.success-card {
  text-align: center;
  padding: 30px 10px;
}

.success-icon {
  font-size: 3rem;
  margin-bottom: 15px;
}

.success-title {
  font-size: 2rem;
  color: var(--color-green);
  margin-bottom: 12px;
}

.success-desc {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 15px;
}

.success-highlight {
  background-color: #f0fdf4;
  border: 1px solid var(--color-green);
  padding: 15px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  color: #166534;
}

/* Footer */
.footer {
  background-color: var(--color-charcoal);
  color: #FFFFFF;
  padding: 60px 0 30px 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1fr;
  gap: 50px;
  margin-bottom: 40px;
}

.footer-brand h4 {
  font-size: 1.4rem;
  color: var(--color-yellow);
  margin-bottom: 15px;
}

.footer-brand p {
  color: #A0AEC0;
  font-size: 0.95rem;
  line-height: 1.7;
}

.footer-links h5, .footer-info h5 {
  font-size: 1.1rem;
  margin-bottom: 15px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.footer-links ul {
  list-style: none;
}

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

.footer-links a {
  color: #A0AEC0;
  font-size: 0.95rem;
}

.footer-links a:hover {
  color: var(--color-yellow);
  padding-left: 5px;
}

.footer-contact-list {
  list-style: none;
}

.footer-contact-list li {
  margin-bottom: 12px;
  color: #A0AEC0;
  font-size: 0.95rem;
}

.footer-bottom {
  border-top: 1px solid #4A5568;
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: #718096;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .hero .container, .booking-layout, .safety-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .hero-right, .booking-image-wrapper {
    max-width: 500px;
    margin: 0 auto;
    width: 100%;
  }

  .slider-container, .booking-image-wrapper img {
    height: 380px;
  }
}

@media (max-width: 768px) {
  .section {
    padding: 60px 0;
  }

  .section-title {
    font-size: 2rem;
  }

  .navbar {
    padding: 10px 0;
  }

  .nav-toggle {
    display: block;
  }

  .nav-links {
    position: fixed;
    top: 75px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 75px);
    background-color: var(--color-bg-light);
    flex-direction: column;
    padding: 40px 24px;
    gap: 20px;
    transition: var(--transition);
    border-top: 1px solid var(--color-border);
    z-index: 99;
  }

  .nav-links.active {
    left: 0;
  }

  .nav-links a {
    font-size: 1.15rem;
    display: block;
    text-align: center;
    width: 100%;
  }

  .nav-cta {
    display: none;
  }

  .hero-title {
    font-size: 2.4rem;
  }

  .hero-form .form-row {
    grid-template-columns: 1fr;
  }

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

  .solution-row, .solution-row.reverse {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .solution-row.reverse .solution-content {
    grid-column: 1;
  }

  .solution-row.reverse .solution-image {
    grid-column: 1;
  }

  .solution-image img {
    height: 260px;
  }

  .safety-layout {
    padding: 0;
  }

  .safety-title {
    font-size: 1.8rem;
  }

  .timeline::after {
    left: 20px;
  }

  .timeline-item {
    padding-left: 60px;
  }

  .timeline-dot {
    width: 40px;
    height: 40px;
    left: 2px;
    font-size: 1rem;
  }

  .testimonial-slide {
    grid-template-columns: 1fr;
    height: auto;
  }

  .testimonials-wrapper {
    height: 520px;
  }

  .testimonial-product-image {
    display: none;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }
}