/* =============================================
   SECTION 2: HERO
============================================= */
#hero { background: #fff; padding: 120px 0 80px; }
.hero-grid { display: grid; grid-template-columns: 60% 40%; gap: 64px; align-items: center; }
.hero-trust-badge { display: inline-flex; align-items: center; gap: 8px; background: #FFFBEA; border: 1px solid #FDE68A; border-radius: 100px; padding: 6px 14px; font-size: 14px; font-weight: 500; color: #92400E; margin-bottom: 20px; }
.hero-trust-badge .star { color: #F4B400; }
.hero-headline { margin-bottom: 20px; }
.hero-sub { font-size: 18px; color: #6B7280; line-height: 1.6; margin-bottom: 32px; max-width: 520px; }
.hero-cta-row { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 40px; }
.hero-trust-bar { display: flex; align-items: center; gap: 0; flex-wrap: wrap; }
.hero-trust-item { display: flex; align-items: center; gap: 6px; font-size: 14px; color: #6B7280; padding: 0 20px 0 0; margin-right: 20px; position: relative; }
.hero-trust-item:not(:last-child)::after { content: ''; position: absolute; right: 0; top: 50%; transform: translateY(-50%); width: 1px; height: 16px; background: #E5E7EB; }
.hero-trust-item .check-icon { width: 18px; height: 18px; background: #E8F8F0; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #2ECC71; font-size: 11px; font-weight: 700; flex-shrink: 0; }
.hero-photo-placeholder { width: 100%; max-width: 400px; aspect-ratio: 1; background: #E5E7EB; border-radius: 16px; box-shadow: 0 8px 32px rgba(0,0,0,0.12); display: flex; align-items: center; justify-content: center; font-size: 16px; font-weight: 500; color: #9CA3AF; margin-left: auto; }

/* =============================================
   SECTION 3: WHAT WE OFFER
============================================= */
#offers { background: #F8F9FA; }
.offers-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 48px; }
.offer-icon { width: 48px; height: 48px; border-radius: 12px; display: flex; align-items: center; justify-content: center; margin-bottom: 20px; }
.offer-icon svg { width: 24px; height: 24px; }
.offer-card h4 { margin-bottom: 12px; }
.offer-card p { margin-bottom: 20px; font-size: 15px; }

/* =============================================
   SECTION 4: HOW IT WORKS
============================================= */
#how-it-works { background: #fff; }
.steps-container { margin-top: 56px; position: relative; }
.steps-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; position: relative; }
.steps-row::before { content: ''; position: absolute; top: 24px; left: calc(12.5% + 0px); right: calc(12.5% + 0px); height: 2px; background: #E5E7EB; z-index: 0; }
.step-item { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 0 16px; position: relative; z-index: 1; }
.step-circle { width: 48px; height: 48px; border-radius: 50%; background: #2ECC71; color: #fff; font-size: 18px; font-weight: 700; display: flex; align-items: center; justify-content: center; margin-bottom: 20px; box-shadow: 0 0 0 4px #fff, 0 0 0 6px #E8F8F0; }
.step-item h4 { margin-bottom: 8px; font-size: 17px; }
.step-item p { font-size: 14px; }
.steps-cta { margin-top: 56px; text-align: center; }

/* =============================================
   SECTION 5: MEET OUR TUTORS
============================================= */
#tutors { background: #F8F9FA; }
.tutors-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; margin-top: 48px; max-width: 800px; margin-left: auto; margin-right: auto; }
.tutor-card { text-align: center; }
.tutor-photo { width: 120px; height: 120px; border-radius: 50%; background: #E5E7EB; display: flex; align-items: center; justify-content: center; margin: 0 auto 20px; font-size: 15px; font-weight: 500; color: #9CA3AF; }
.tutor-card h3 { margin-bottom: 4px; }
.tutor-role { font-size: 14px; color: #2ECC71; font-weight: 500; margin-bottom: 14px; }
.tutor-bio { font-size: 15px; color: #6B7280; line-height: 1.6; margin-bottom: 18px; text-align: left; }
.subject-pills { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-bottom: 14px; }
.pill { font-size: 13px; font-weight: 500; border-radius: 20px; padding: 4px 12px; }
.pill-maths    { background: rgba(244,180,0,0.12);    color: #B8860B; }
.pill-physics  { background: rgba(155,89,182,0.12);   color: #7D3C98; }
.pill-chem     { background: rgba(46,204,113,0.12);   color: #1E8449; }
.pill-further  { background: rgba(230,126,34,0.12);   color: #9C4A0A; }
.pill-bio      { background: rgba(52,152,219,0.12);   color: #1A5276; }
.tutor-formats { font-size: 14px; color: #9CA3AF; margin-bottom: 16px; }

/* =============================================
   SECTION 6: TESTIMONIALS
============================================= */
#testimonials { background: #fff; }
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 48px; }
.testimonial-card { display: flex; flex-direction: column; }
.quote-mark { font-family: Georgia, serif; font-size: 56px; line-height: 1; color: #E5E7EB; margin-bottom: 8px; font-weight: 700; }
.testimonial-quote { font-size: 15px; line-height: 1.6; color: #374151; flex: 1; margin-bottom: 20px; }
.testimonial-footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.testimonial-name { font-size: 15px; font-weight: 600; color: #1A1A2E; }
.testimonial-subject { font-size: 13px; color: #9CA3AF; }
.stars { color: #F4B400; font-size: 14px; letter-spacing: 1px; }

/* =============================================
   SECTION 7: SUBJECTS
============================================= */
#subjects { background: #F8F9FA; }
.subjects-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; margin-top: 40px; }
.subjects-grid .subject-card { display: block; background: #fff; border: 1px solid #E5E7EB; border-radius: 12px; padding: 20px 16px; text-align: center; transition: box-shadow 0.2s ease, transform 0.2s ease; }
.subjects-grid .subject-card:hover { box-shadow: 0 6px 20px rgba(0,0,0,0.08); transform: translateY(-2px); }
.subjects-grid .subject-icon { width: 48px; height: 48px; border-radius: 12px; display: flex; align-items: center; justify-content: center; margin: 0 auto 14px; }
.subjects-grid .subject-icon svg { width: 24px; height: 24px; }
.subjects-grid .subject-name { font-size: 15px; font-weight: 600; color: #1A1A2E; margin-bottom: 4px; }
.subjects-grid .subject-levels { font-size: 13px; color: #9CA3AF; }
.exam-boards { margin-top: 40px; display: flex; align-items: center; justify-content: center; gap: 12px; flex-wrap: wrap; }
.exam-boards-label { font-size: 14px; font-weight: 500; color: #6B7280; }
.board-badge { background: #F3F4F6; color: #374151; border-radius: 8px; padding: 8px 16px; font-size: 14px; font-weight: 500; }

/* =============================================
   SECTION 8: FINAL CTA BANNER
============================================= */
#cta-banner { background: #2D3436; padding: 80px 0; text-align: center; }
#cta-banner h2 { color: #fff; font-size: 32px; margin-bottom: 16px; }
#cta-banner p { font-size: 16px; color: #D1D5DB; max-width: 520px; margin: 0 auto 32px; }

/* =============================================
   RESPONSIVE
============================================= */
@media (max-width: 1024px) {
  .subjects-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-photo-placeholder { max-width: 100%; margin: 0 auto; aspect-ratio: 4/3; }
  #hero { padding: 80px 0 48px; }
  /* Push hero content up before photo */
  .hero-content { order: 1; }
  .hero-photo-col { order: 2; }

  .offers-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .subjects-grid { grid-template-columns: repeat(2, 1fr); }

  /* How it works — vertical on mobile */
  .steps-row { grid-template-columns: 1fr; gap: 32px; }
  .steps-row::before { display: none; }
  .step-item { flex-direction: row; align-items: flex-start; text-align: left; gap: 20px; padding: 0; }
  .step-circle { margin-bottom: 0; flex-shrink: 0; }
  .step-text { flex: 1; }

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

@media (max-width: 480px) {
  .subjects-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-cta-row { flex-direction: column; align-items: flex-start; }
  .hero-trust-bar { flex-direction: column; align-items: flex-start; gap: 8px; }
  .hero-trust-item { padding: 0; margin-right: 0; }
  .hero-trust-item:not(:last-child)::after { display: none; }
}
