/*
Theme Name: TutorHelpMe Child
Theme URI: https://tutorhelpme.co.uk/
Description: Ultra-fast, CRO-optimised Child Theme for TutorHelpMe built on Astra. Pixel-perfect GCSE Maths landing page with zero-dependency standalone fallback and programmatic ACF integration.
Author: TutorHelpMe Development Team
Author URI: https://tutorhelpme.co.uk/
Template: astra
Version: 1.0.0
Text Domain: tutorhelpme-child
License: GNU General Public License v2 or later
*/

@import url('https://fonts.googleapis.com/css2?family=League+Spartan:wght@700;800&family=Montserrat:ital,wght@0,400;0,500;0,600;0,700;0,800;0,900;1,400;1,500;1,600;1,700&family=Poppins:wght@500;600;700&display=swap');

/* ==========================================================================
   CSS Custom Properties & Design Tokens
   ========================================================================== */
:root {
  /* Brand Colors */
  --primary: #134D9F;        /* Main blue — 60% usage */
  --primary-dark: #0D3875;
  --secondary: #003399;      /* Dark blue — 30% usage */
  --secondary-dark: #002266;
  --light-blue: #2A82C3;     /* Supporting accents */
  --light-blue-soft: #EBF4FC;
  --accent: #F79526;         /* Orange CTA — 10% ONLY */
  --accent-hover: #E0821A;
  --accent-active: #C97214;
  --warm-yellow: #FEC712;    /* Stars, badges */
  --red-orange: #F15C2F;     /* Urgency elements */
  --whatsapp: #25D366;       /* WhatsApp buttons */
  --whatsapp-hover: #1EBE5D;
  --white: #FFFFFF;
  --dark-text: #1A1A1A;
  --grey-text: #5B6B85;
  --grey-light: #E2E8F0;
  --grey-border: #D1D9E6;
  --light-bg: #F4F6FA;
  --light-bg-subtle: #F8FAFD;
  --card-bg: #FFFFFF;

  /* Typography Stacks */
  --font-heading: 'Montserrat', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-display: 'League Spartan', 'Montserrat', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-ui: 'Poppins', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* Layout & Spacing */
  --container-width: 1200px;
  --container-padding: 20px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(19, 77, 159, 0.06);
  --shadow-card: 0 8px 24px rgba(19, 77, 159, 0.10);
  --shadow-card-hover: 0 14px 32px rgba(19, 77, 159, 0.16);
  --shadow-header: 0 4px 20px rgba(0, 51, 153, 0.08);
  --shadow-button: 0 4px 14px rgba(247, 149, 38, 0.35);

  /* Transitions */
  --transition-fast: 0.18s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.28s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ==========================================================================
   CSS Reset & Base (Crisp Text Rendering Across All Browsers/OS)
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body.thm-landing-page {
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: normal;
  color: var(--dark-text);
  background-color: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

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

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

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  letter-spacing: normal;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

ul, ol {
  list-style: none;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

/* ==========================================================================
   Layout Containers & Utilities
   ========================================================================== */
.thm-container {
  width: 100%;
  max-width: var(--container-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--container-padding);
  padding-right: var(--container-padding);
}

.thm-section {
  padding: 70px 0;
  position: relative;
}

.thm-section-sm {
  padding: 40px 0;
}

.thm-section-header {
  text-align: center;
  margin-bottom: 45px;
}

.thm-section-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(26px, 3.2vw, 36px);
  color: var(--primary);
  line-height: 1.25;
  letter-spacing: normal;
  margin-bottom: 10px;
}

.thm-section-subtitle {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 17px;
  line-height: 1.45;
  letter-spacing: normal;
  color: var(--grey-text);
}

/* Typography Helpers */
.text-primary { color: var(--primary); }
.text-secondary { color: var(--secondary); }
.text-accent { color: var(--accent); }
.text-dark { color: var(--dark-text); }
.text-grey { color: var(--grey-text); }
.text-white { color: var(--white); }

/* ==========================================================================
   Buttons & Pills
   ========================================================================== */
.thm-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: var(--radius-full);
  padding: 13px 26px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 15px;
  line-height: 1.2;
  letter-spacing: normal;
  cursor: pointer;
  border: 2px solid transparent;
  text-align: center;
  transition: transform var(--transition-fast), background-color var(--transition-fast), border-color var(--transition-fast), box-shadow var(--transition-fast);
  text-decoration: none;
  white-space: nowrap;
  user-select: none;
}

.thm-btn:hover {
  transform: scale(1.02);
}

.thm-btn:active {
  transform: scale(0.99);
}

/* Primary Orange CTA */
.thm-btn-primary {
  background-color: var(--accent);
  color: var(--white);
  box-shadow: var(--shadow-button);
}

.thm-btn-primary:hover {
  background-color: var(--accent-hover);
  color: var(--white);
  box-shadow: 0 6px 18px rgba(247, 149, 38, 0.45);
}

/* WhatsApp CTA */
.thm-btn-whatsapp {
  background-color: var(--whatsapp);
  color: var(--white);
}

.thm-btn-whatsapp:hover {
  background-color: var(--whatsapp-hover);
  color: var(--white);
}

.thm-btn-whatsapp-outline {
  background-color: var(--white);
  border-color: var(--whatsapp);
  color: var(--whatsapp);
}

.thm-btn-whatsapp-outline:hover {
  background-color: var(--whatsapp);
  color: var(--white);
}

/* Secondary & Outlined Buttons */
.thm-btn-secondary {
  background-color: var(--white);
  border-color: var(--primary);
  color: var(--primary);
}

.thm-btn-secondary:hover {
  background-color: var(--primary);
  color: var(--white);
}

.thm-btn-call {
  background-color: var(--white);
  border-color: var(--primary);
  color: var(--primary);
}

.thm-btn-call:hover {
  background-color: var(--primary);
  color: var(--white);
}

.thm-btn-full {
  width: 100%;
}

/* ==========================================================================
   1. Announcement Bar
   ========================================================================== */
.thm-announcement-bar {
  background-color: var(--secondary);
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 13.5px;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: normal;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.thm-announcement-items {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 28px;
}

.thm-announcement-item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: rgba(255, 255, 255, 0.95);
}

.thm-announcement-item svg {
  width: 15px;
  height: 15px;
  fill: currentColor;
  flex-shrink: 0;
}

/* ==========================================================================
   2. Sticky Header
   ========================================================================== */
.thm-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: var(--white);
  box-shadow: var(--shadow-header);
  transition: padding var(--transition-normal), box-shadow var(--transition-normal);
  padding: 14px 0;
}

.thm-header.scrolled {
  padding: 8px 0;
  box-shadow: 0 4px 16px rgba(0, 51, 153, 0.12);
}

.thm-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Brand Logo */
.thm-brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.thm-logo-icon {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
}

.thm-logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.thm-logo-title {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 20px;
  letter-spacing: 0.5px;
  color: var(--primary);
}

.thm-logo-subtitle {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 2px;
  color: var(--primary);
}

/* Header CTAs */
.thm-header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.thm-header .thm-btn {
  padding: 10px 20px;
  font-size: 14px;
}

/* ==========================================================================
   3. Hero Section (Crisp, Stable, No Rasterization Blurriness)
   ========================================================================== */
.thm-hero-section {
  background-color: var(--light-bg);
  padding: 40px 0 60px;
  position: relative;
}

.thm-hero-grid {
  display: grid;
  grid-template-columns: 36% 26% 38%;
  gap: 24px;
  align-items: center;
}

/* Hero Left Column */
.thm-hero-left {
  position: relative;
}

.thm-hero-badge {
  display: inline-flex;
  align-items: center;
  background-color: #E2EAFC;
  color: var(--primary);
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: var(--radius-full);
  margin-bottom: 16px;
  border: 1px solid rgba(19, 77, 159, 0.15);
}

.thm-hero-h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 40px;
  line-height: 1.10;
  color: var(--primary);
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: normal;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

.thm-hero-h1 .text-accent {
  color: var(--accent);
  display: block;
}

.thm-hero-h1 .text-dark {
  color: var(--dark-text);
  display: block;
}

.thm-hero-sub {
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: 15px;
  line-height: 1.45;
  letter-spacing: normal;
  color: #3B4B68;
  margin-bottom: 22px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* Hero Trust Ticks (Natural connected sentences, 2-column grid) */
.thm-hero-ticks {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px 16px;
  margin-bottom: 24px;
}

.thm-tick-item {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-family: var(--font-heading);
  font-size: 13.5px;
  font-weight: 500;
  color: var(--primary);
  line-height: 1.35;
  letter-spacing: normal;
}

.thm-tick-icon {
  width: 18px;
  height: 18px;
  min-width: 18px;
  min-height: 18px;
  border-radius: 50%;
  background-color: var(--primary);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}

.thm-tick-icon svg {
  width: 10px;
  height: 10px;
  fill: currentColor;
  display: block;
}

.thm-tick-text {
  flex: 1;
  min-width: 0;
  word-break: normal;
  white-space: normal;
}

/* Hero Google Trust */
.thm-hero-google {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-top: 12px;
  border-top: 1px solid rgba(19, 77, 159, 0.12);
}

.thm-google-g {
  width: 26px;
  height: 26px;
  flex-shrink: 0;
}

.thm-google-text {
  font-family: var(--font-heading);
  font-size: 13.5px;
  font-weight: 400;
  color: var(--dark-text);
  line-height: 1.35;
  letter-spacing: normal;
}

.thm-google-stars {
  color: var(--warm-yellow);
  letter-spacing: 2px;
  font-size: 14px;
}

/* Hero Center Column (Image) */
.thm-hero-image-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.thm-hero-img {
  width: 100%;
  height: 100%;
  min-height: 380px;
  max-height: 480px;
  object-fit: cover;
  display: block;
}

.thm-hero-student-badge {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--primary);
  color: var(--white);
  padding: 8px 18px;
  border-radius: var(--radius-md);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  z-index: 2;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.thm-hero-student-badge svg {
  width: 22px;
  height: 22px;
  fill: var(--white);
}

.thm-hero-student-badge strong {
  font-size: 17px;
  font-weight: 700;
  line-height: 1;
}

.thm-hero-student-badge span {
  font-size: 12px;
  opacity: 0.9;
  display: block;
}

/* Hero Right Column (Form Card & Clean Input Wrappers) */
.thm-form-card {
  background-color: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  padding: 26px 24px;
  position: relative;
  border: 1px solid rgba(19, 77, 159, 0.08);
}

.thm-form-card-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 20px;
  line-height: 1.25;
  letter-spacing: normal;
  color: var(--dark-text);
  margin-bottom: 6px;
}

.thm-form-card-sub {
  font-family: var(--font-heading);
  font-size: 13.5px;
  font-weight: 400;
  color: var(--grey-text);
  margin-bottom: 18px;
  line-height: 1.4;
  letter-spacing: normal;
}

.thm-form-group {
  margin-bottom: 12px;
  position: relative;
}

/* Input Wrapper & Clean SVGs */
.input-wrapper,
.thm-input-icon-wrap {
  position: relative;
  display: block;
  width: 100%;
}

.input-icon,
.thm-input-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: #718096;
  pointer-events: none;
  width: 16px;
  height: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}

.input-icon svg,
.thm-input-icon svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
  display: block;
}

.thm-input {
  width: 100%;
  height: 46px;
  padding: 0 14px 0 40px;
  border: 1px solid var(--grey-border);
  border-radius: var(--radius-sm);
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 400;
  line-height: 44px;
  letter-spacing: normal;
  color: var(--dark-text);
  background-color: #FAFCFE;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast), background-color var(--transition-fast);
}

.thm-input:focus {
  outline: none;
  border-color: var(--primary);
  background-color: var(--white);
  box-shadow: 0 0 0 3px rgba(19, 77, 159, 0.12);
}

.thm-input.is-invalid {
  border-color: #E53E3E;
  background-color: #FFF5F5;
}

/* Crisp Clean Placeholders */
.thm-input::placeholder {
  color: #718096;
  font-size: 13.5px;
  font-weight: 400;
  letter-spacing: normal;
  opacity: 1;
}

.thm-input::-webkit-input-placeholder {
  color: #718096;
  font-size: 13.5px;
  font-weight: 400;
  letter-spacing: normal;
  opacity: 1;
}

.thm-input::-moz-placeholder {
  color: #718096;
  font-size: 13.5px;
  font-weight: 400;
  letter-spacing: normal;
  opacity: 1;
}

.thm-input:-ms-input-placeholder {
  color: #718096;
  font-size: 13.5px;
  font-weight: 400;
  letter-spacing: normal;
  opacity: 1;
}

.thm-error-msg {
  display: none;
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 500;
  color: #E53E3E;
  margin-top: 4px;
  padding-left: 2px;
  letter-spacing: normal;
}

.thm-input.is-invalid + .thm-error-msg {
  display: block;
}

.thm-select {
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='%235B6B85'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
}

.thm-form-actions {
  margin-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.thm-form-sub-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.thm-form-sub-actions .thm-btn {
  padding: 10px 12px;
  font-size: 13.5px;
}

.thm-form-microcopy {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 500;
  color: #6C7D93;
  text-align: center;
  letter-spacing: normal;
}

.thm-micro-item {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.thm-micro-item svg {
  width: 12px;
  height: 12px;
  fill: currentColor;
}

/* ==========================================================================
   4. Stats Strip
   ========================================================================== */
.thm-stats-strip {
  background-color: var(--primary);
  color: var(--white);
  padding: 30px 0;
}

.thm-stats-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
  align-items: center;
}

.thm-stat-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 12px;
  border-right: 1px solid rgba(255, 255, 255, 0.15);
}

.thm-stat-card:last-child {
  border-right: none;
}

.thm-stat-icon {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #8AC3F8;
}

.thm-stat-icon svg {
  width: 26px;
  height: 26px;
  fill: currentColor;
}

.thm-stat-content {
  display: flex;
  flex-direction: column;
}

.thm-stat-number {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 22px;
  line-height: 1.1;
  letter-spacing: normal;
  color: var(--white);
}

.thm-stat-label {
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 400;
  color: #C8DCF5;
  line-height: 1.25;
  letter-spacing: normal;
}

/* ==========================================================================
   5. Pain Points Section
   ========================================================================== */
.thm-pain-points-section {
  background-color: var(--white);
  padding: 70px 0 50px;
}

.thm-pain-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.thm-pain-card {
  background-color: var(--white);
  border: 1px solid #E1E8F2;
  border-radius: var(--radius-lg);
  padding: 28px 22px;
  box-shadow: 0 4px 16px rgba(19, 77, 159, 0.05);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal), border-color var(--transition-normal);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.thm-pain-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
  border-color: #BBD3F3;
}

.thm-pain-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: var(--primary);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  flex-shrink: 0;
}

.thm-pain-icon svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.thm-pain-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 17px;
  line-height: 1.35;
  letter-spacing: normal;
  color: var(--dark-text);
  margin-bottom: 8px;
}

.thm-pain-desc {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 400;
  color: var(--grey-text);
  line-height: 1.45;
  letter-spacing: normal;
}

/* ==========================================================================
   6. Guarantee Bar
   ========================================================================== */
.thm-guarantee-strip {
  padding: 20px 0;
}

.thm-guarantee-box {
  background-color: var(--light-blue-soft);
  border: 1px solid #CCE3F9;
  border-radius: var(--radius-full);
  padding: 14px 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  text-align: center;
  color: var(--primary);
  font-family: var(--font-heading);
  font-size: 15px;
  line-height: 1.4;
  letter-spacing: normal;
}

.thm-guarantee-icon {
  width: 24px;
  height: 24px;
  color: var(--primary);
  flex-shrink: 0;
}

.thm-guarantee-icon svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
}

.thm-guarantee-box strong {
  font-weight: 700;
}

/* ==========================================================================
   7. How It Works Section
   ========================================================================== */
.thm-how-it-works-section {
  background-color: var(--white);
  padding: 60px 0;
}

.thm-steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 36px;
}

.thm-step-card {
  background-color: var(--white);
  border: 1px solid #E1E8F2;
  border-radius: var(--radius-lg);
  padding: 30px 24px;
  position: relative;
  box-shadow: 0 4px 16px rgba(19, 77, 159, 0.05);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

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

.thm-step-number {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: var(--secondary);
  color: var(--white);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.thm-step-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 18px;
  color: var(--dark-text);
  margin-bottom: 10px;
  line-height: 1.3;
  letter-spacing: normal;
}

.thm-step-desc {
  font-family: var(--font-heading);
  font-size: 14.5px;
  font-weight: 400;
  color: var(--grey-text);
  line-height: 1.5;
  letter-spacing: normal;
  margin-bottom: 20px;
}

.thm-step-illustration {
  margin-top: auto;
  align-self: flex-start;
  color: var(--primary);
}

.thm-step-illustration svg {
  width: 36px;
  height: 36px;
  fill: currentColor;
}

.thm-section-cta-wrap {
  text-align: center;
  margin-top: 30px;
}

/* ==========================================================================
   8. Free Demo Includes Section
   ========================================================================== */
.thm-demo-section {
  background-color: var(--white);
  padding: 60px 0;
}

.thm-demo-grid {
  display: grid;
  grid-template-columns: 46% 54%;
  gap: 36px;
  align-items: center;
}

.thm-demo-left .thm-section-title {
  text-align: left;
  margin-bottom: 24px;
}

.thm-demo-checklist {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.thm-demo-check-item {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: normal;
  color: var(--dark-text);
}

.thm-demo-check-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background-color: var(--primary);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.thm-demo-check-icon svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

/* Right side Demo Card */
.thm-demo-card {
  background-color: var(--white);
  border: 1px solid #E1E8F2;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.thm-demo-image-box {
  width: 100%;
  height: 240px;
  overflow: hidden;
}

.thm-demo-image-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.thm-demo-card-body {
  padding: 24px;
  text-align: center;
}

.thm-demo-card-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 19px;
  letter-spacing: normal;
  color: var(--dark-text);
  margin-bottom: 12px;
}

.thm-demo-badges {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 18px;
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: normal;
  color: var(--accent);
}

.thm-demo-badge-item {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.thm-demo-card-body .thm-btn {
  width: 100%;
  max-width: 320px;
  margin: 0 auto;
}

/* ==========================================================================
   9. Meet Our Tutors Section
   ========================================================================== */
.thm-tutors-section {
  background-color: var(--white);
  padding: 60px 0;
}

.thm-tutors-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 28px;
}

.thm-tutor-card {
  background-color: var(--white);
  border: 1px solid #E1E8F2;
  border-radius: var(--radius-lg);
  padding: 24px 18px;
  text-align: center;
  box-shadow: 0 4px 16px rgba(19, 77, 159, 0.05);
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

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

.thm-tutor-photo-wrap {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  overflow: hidden;
  margin-bottom: 14px;
  border: 3px solid #E2EAFC;
}

.thm-tutor-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.thm-tutor-name {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: normal;
  color: var(--dark-text);
  margin-bottom: 4px;
}

.thm-tutor-role {
  font-family: var(--font-heading);
  font-size: 12.5px;
  font-weight: 400;
  letter-spacing: normal;
  color: var(--grey-text);
  margin-bottom: 14px;
}

.thm-tutor-tags {
  display: flex;
  flex-direction: column;
  gap: 6px;
  width: 100%;
}

.thm-tutor-tag {
  background-color: #EBF8F2;
  color: #1B8354;
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: normal;
  padding: 5px 10px;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.thm-tutors-trust {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 20px;
  font-family: var(--font-heading);
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: normal;
  color: var(--primary);
  text-align: center;
}

.thm-tutors-trust svg {
  width: 18px;
  height: 18px;
  fill: var(--primary);
}

/* ==========================================================================
   10. Testimonials Section
   ========================================================================== */
.thm-testimonials-section {
  background-color: var(--white);
  padding: 60px 0;
}

.thm-testimonials-container {
  position: relative;
  overflow: hidden;
  padding-bottom: 20px;
}

.thm-testimonials-track {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  transition: transform 0.4s ease;
}

.thm-testimonial-card {
  background-color: var(--white);
  border: 1px solid #E1E8F2;
  border-radius: var(--radius-lg);
  padding: 26px 22px;
  box-shadow: 0 4px 16px rgba(19, 77, 159, 0.05);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 220px;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

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

.thm-testimonial-stars {
  color: var(--warm-yellow);
  font-size: 16px;
  letter-spacing: 2px;
  margin-bottom: 14px;
}

.thm-testimonial-quote {
  font-family: var(--font-heading);
  font-size: 14.5px;
  font-weight: 500;
  color: var(--dark-text);
  line-height: 1.5;
  letter-spacing: normal;
  margin-bottom: 20px;
  flex-grow: 1;
}

.thm-testimonial-author {
  display: flex;
  flex-direction: column;
  border-top: 1px solid #EEF2F7;
  padding-top: 12px;
}

.thm-testimonial-name {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: normal;
  color: var(--dark-text);
}

.thm-testimonial-role {
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: normal;
  color: var(--grey-text);
}

.thm-carousel-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 24px;
}

.thm-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: #D1DDF0;
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background-color var(--transition-fast), transform var(--transition-fast);
}

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

/* ==========================================================================
   11. FAQ Section
   ========================================================================== */
.thm-faq-section {
  background-color: var(--white);
  padding: 70px 0;
}

.thm-faq-grid {
  display: grid;
  grid-template-columns: 58% 42%;
  gap: 36px;
  align-items: flex-start;
}

.thm-faq-left .thm-section-title {
  text-align: left;
  margin-bottom: 24px;
}

.thm-faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.thm-faq-item {
  border: 1px solid #E1E8F2;
  border-radius: var(--radius-md);
  overflow: hidden;
  background-color: var(--white);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.thm-faq-item.active {
  border-color: #BED6F4;
  box-shadow: 0 4px 14px rgba(19, 77, 159, 0.06);
}

.thm-faq-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  background: none;
  border: none;
  text-align: left;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 15px;
  line-height: 1.35;
  letter-spacing: normal;
  color: var(--dark-text);
  cursor: pointer;
  gap: 16px;
}

.thm-faq-trigger:hover {
  color: var(--primary);
}

.thm-faq-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background-color: var(--primary);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform var(--transition-normal), background-color var(--transition-fast);
}

.thm-faq-icon svg {
  width: 12px;
  height: 12px;
  fill: currentColor;
}

.thm-faq-item.active .thm-faq-icon {
  transform: rotate(45deg);
  background-color: var(--accent);
}

.thm-faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  padding: 0 20px;
  font-family: var(--font-heading);
  font-size: 14.5px;
  font-weight: 400;
  color: var(--grey-text);
  line-height: 1.6;
  letter-spacing: normal;
}

.thm-faq-item.active .thm-faq-content {
  padding: 0 20px 18px 20px;
}

/* FAQ Right Box (Help Box) */
.thm-faq-help-card {
  background-color: #F8FAFD;
  border: 1px solid #E1E8F2;
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  text-align: center;
  box-shadow: var(--shadow-card);
}

.thm-faq-help-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: normal;
  color: var(--dark-text);
  margin-bottom: 6px;
}

.thm-faq-help-sub {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: normal;
  color: var(--primary);
  margin-bottom: 24px;
}

.thm-faq-help-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* ==========================================================================
   12. Final CTA Section
   ========================================================================== */
.thm-final-cta-section {
  background-color: var(--secondary);
  color: var(--white);
  padding: 60px 0;
  position: relative;
}

.thm-final-cta-grid {
  display: grid;
  grid-template-columns: 44% 56%;
  gap: 36px;
  align-items: center;
}

/* Left CTA Info */
.thm-final-cta-h2 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(24px, 3vw, 32px);
  line-height: 1.2;
  letter-spacing: normal;
  color: var(--white);
  margin-bottom: 18px;
}

.thm-final-cta-ticks {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
}

.thm-final-cta-tick {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: normal;
  color: #C8DCF5;
}

.thm-final-cta-tick svg {
  width: 16px;
  height: 16px;
  fill: #8AC3F8;
}

.thm-final-cta-urgency {
  font-family: var(--font-heading);
  font-size: 13.5px;
  font-weight: 400;
  letter-spacing: normal;
  color: #F8FAFD;
  margin-bottom: 20px;
  opacity: 0.9;
}

.thm-final-cta-img-wrap {
  border-radius: var(--radius-md);
  overflow: hidden;
  max-width: 380px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

.thm-final-cta-img-wrap img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

/* Right Final CTA Form */
.thm-final-form-box {
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-lg);
  padding: 30px 24px;
}

.thm-final-form-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: normal;
  color: var(--white);
  text-align: center;
  margin-bottom: 20px;
}

.thm-final-form-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 12px;
}

.thm-final-form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 14px;
}

.thm-final-form-box .thm-input {
  height: 46px;
  padding: 0 12px;
  background-color: var(--white);
  border-radius: var(--radius-sm);
  font-size: 13.5px;
}

.thm-final-form-box .thm-btn-primary {
  height: 46px;
  padding: 8px 16px;
  font-size: 14.5px;
}

.thm-final-form-micro {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: normal;
  color: #C8DCF5;
  margin-top: 16px;
}

.thm-final-form-micro svg {
  width: 12px;
  height: 12px;
  fill: currentColor;
}

/* ==========================================================================
   13. Footer
   ========================================================================== */
.thm-footer {
  background-color: #002B80;
  color: var(--white);
  padding: 28px 0;
  font-size: 13.5px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.thm-footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.thm-footer-left {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.thm-footer .thm-logo-title,
.thm-footer .thm-logo-subtitle {
  color: var(--white);
}

.thm-footer-tagline {
  font-family: var(--font-heading);
  color: #BACEE6;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: normal;
}

.thm-footer-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
}

.thm-footer-links {
  display: flex;
  align-items: center;
  gap: 16px;
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: normal;
}

.thm-footer-links a {
  color: #C8DCF5;
}

.thm-footer-links a:hover {
  color: var(--white);
  text-decoration: underline;
}

.thm-footer-copy {
  font-family: var(--font-heading);
  color: #8CA8CD;
  font-size: 12.5px;
  font-weight: 400;
  letter-spacing: normal;
}

/* ==========================================================================
   14. Sticky Mobile Contact Bar
   ========================================================================== */
.thm-mobile-sticky-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background-color: var(--white);
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  box-shadow: 0 -4px 16px rgba(0, 51, 153, 0.15);
  border-top: 1px solid #E1E8F2;
}

.thm-mobile-sticky-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.thm-mobile-sticky-bar .thm-btn {
  padding: 11px 10px;
  font-size: 14px;
}

/* ==========================================================================
   Scroll Reveal (Clean Opacity Transition without GPU Text Blur)
   ========================================================================== */
.reveal {
  opacity: 0;
  transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active {
  opacity: 1;
}

.delay-1 { transition-delay: 0.08s; }
.delay-2 { transition-delay: 0.16s; }
.delay-3 { transition-delay: 0.24s; }
.delay-4 { transition-delay: 0.32s; }

/* ==========================================================================
   Thank You Page Specific Styles
   ========================================================================== */
.thm-thank-you-page {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--light-bg);
  padding: 60px 0;
}

.thm-thank-you-card {
  background-color: var(--white);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-card);
  padding: 48px 36px;
  text-align: center;
  max-width: 680px;
  margin: 0 auto;
}

.thm-thank-you-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background-color: #EBF8F2;
  color: #1B8354;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.thm-thank-you-icon svg {
  width: 36px;
  height: 36px;
  fill: currentColor;
}

.thm-thank-you-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 30px;
  letter-spacing: normal;
  color: var(--primary);
  margin-bottom: 12px;
}

.thm-thank-you-desc {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 400;
  letter-spacing: normal;
  color: var(--grey-text);
  margin-bottom: 30px;
  line-height: 1.5;
}

.thm-thank-you-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 32px;
  text-align: left;
}

.thm-thank-you-step {
  background-color: var(--light-bg);
  border-radius: var(--radius-md);
  padding: 16px;
}

.thm-thank-you-step-num {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 14px;
  color: var(--primary);
  margin-bottom: 4px;
}

.thm-thank-you-step-text {
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 400;
  color: var(--dark-text);
  line-height: 1.4;
}

.thm-thank-you-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

/* ==========================================================================
   Responsive Media Queries (Mobile-First & Clean Typography Scaling)
   ========================================================================== */

/* ≤ 1280px */
@media (max-width: 1280px) {
  .thm-hero-h1 {
    font-size: 36px;
    line-height: 1.12;
  }
}

/* ≤ 1024px */
@media (max-width: 1024px) {
  .thm-hero-grid {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }

  .thm-hero-center {
    display: none;
  }

  .thm-hero-h1 {
    font-size: 34px;
    line-height: 1.12;
  }

  .thm-stats-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }

  .thm-stat-card:nth-child(3) {
    border-right: none;
  }

  .thm-pain-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .thm-tutors-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .thm-final-cta-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .thm-final-form-row {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ≤ 768px */
@media (max-width: 768px) {
  body.thm-landing-page {
    padding-bottom: 72px;
  }

  .thm-mobile-sticky-bar {
    display: block;
  }

  .thm-announcement-items {
    font-size: 12px;
    gap: 12px;
  }

  .thm-announcement-item:nth-child(2),
  .thm-announcement-item:nth-child(3) {
    display: none;
  }

  .thm-header .thm-btn-whatsapp-outline {
    display: none;
  }

  .thm-header .thm-btn {
    padding: 8px 14px;
    font-size: 13px;
  }

  .thm-hero-section {
    padding: 24px 0 40px;
  }

  .thm-hero-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .thm-hero-center {
    display: block;
    max-width: 340px;
    margin: 0 auto;
  }

  .thm-hero-img {
    min-height: 260px;
    max-height: 320px;
  }

  .thm-hero-h1 {
    font-size: 30px;
    line-height: 1.14;
  }

  .thm-hero-ticks {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .thm-stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .thm-stat-card {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    padding-bottom: 10px;
  }

  .thm-pain-grid {
    grid-template-columns: 1fr;
  }

  .thm-steps-grid {
    grid-template-columns: 1fr;
  }

  .thm-demo-grid {
    grid-template-columns: 1fr;
  }

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

  .thm-testimonials-track {
    grid-template-columns: 1fr;
  }

  .thm-faq-grid {
    grid-template-columns: 1fr;
  }

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

  .thm-final-form-row-2 {
    grid-template-columns: 1fr;
  }

  .thm-footer-inner {
    flex-direction: column;
    text-align: center;
  }

  .thm-footer-left,
  .thm-footer-right {
    align-items: center;
  }

  .thm-thank-you-steps {
    grid-template-columns: 1fr;
  }

  .thm-guarantee-box {
    border-radius: var(--radius-lg);
    font-size: 14px;
  }
}

/* ≤ 480px (e.g. 375px, 390px Mobile) */
@media (max-width: 480px) {
  .thm-hero-h1 {
    font-size: 26px;
    line-height: 1.15;
  }

  .thm-hero-sub {
    font-size: 14px;
    line-height: 1.4;
  }

  .thm-section-title {
    font-size: 22px;
  }

  .thm-form-card {
    padding: 20px 16px;
  }

  .thm-form-sub-actions {
    grid-template-columns: 1fr;
  }

  .thm-stats-grid {
    grid-template-columns: 1fr;
  }

  .thm-btn {
    padding: 12px 18px;
    font-size: 14px;
  }
}

/* ==========================================================================
   Accessibility & Reduced Motion
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .reveal {
    opacity: 1 !important;
    transform: none !important;
  }
}
