/* =============================================================
   eTutors Academy — Shared Stylesheet
   Works for: etutors-home.html  &  search-tutors.html
   Framework: Bootstrap 3.3.7 + Custom CSS
   Last updated: 2026
============================================================= */

/* =============================================================
   1. ROOT FONT SIZE FIX
   Bootstrap 3 sets html { font-size: 10px } which makes rem
   units tiny. We override to 16px so 1rem = 16px as expected.
============================================================= */
html {
  font-size: 16px !important;
}

/* =============================================================
   2. DESIGN TOKENS
============================================================= */
:root {
  --et-navy:    #0D1B4B;
  --et-teal:    #0F7B6C;
  --et-teal-lt: #13A68F;
  --et-gold:    #E8A020;
  --et-cream:   #FAFAF7;
  --et-white:   #FFFFFF;
  --et-text:    #1A1A2E;
  --et-muted:   #6B7280;
  --et-border:  #E5E7EB;
  --et-red:     #EF4444;

  /* Spacing scale */
  --et-space-xs:  8px;
  --et-space-sm:  16px;
  --et-space-md:  24px;
  --et-space-lg:  40px;
  --et-space-xl:  64px;
  --et-space-2xl: 88px;

  /* Type scale */
  --et-text-xs:   0.75rem;   /* 12px */
  --et-text-sm:   0.875rem;  /* 14px */
  --et-text-base: 1rem;      /* 16px */
  --et-text-md:   1.0625rem; /* 17px */
  --et-text-lg:   1.125rem;  /* 18px */
  --et-text-xl:   1.25rem;   /* 20px */
  --et-text-2xl:  1.5rem;    /* 24px */
  --et-text-3xl:  1.875rem;  /* 30px */
  --et-text-4xl:  2.25rem;   /* 36px */
  --et-text-5xl:  3rem;      /* 48px */

  /* Radii */
  --et-radius-sm: 8px;
  --et-radius:    14px;
  --et-radius-lg: 20px;

  /* Shadows */
  --et-shadow-sm: 0 2px 8px rgba(13,27,75,0.07);
  --et-shadow:    0 4px 20px rgba(13,27,75,0.10);
  --et-shadow-lg: 0 12px 40px rgba(13,27,75,0.14);
}

/* =============================================================
   CONTAINER WIDTH OVERRIDE
   -------------------------------------------------------------
   Bootstrap 3 caps .container at 1170px on screens ≥1200px,
   which feels narrow on modern displays. We bump it up so the
   page content uses more of the available width on large
   monitors. Smaller breakpoints keep Bootstrap's defaults.
============================================================= */
@media (min-width: 1200px) {
  .container { width: 1280px; }
}

@media (min-width: 1600px) {
  .container { width: 1360px; }
}



/* =============================================================
   3. BASE RESET & BODY
============================================================= */
*, *::before, *::after { box-sizing: border-box; }

body {
  font-family: 'DM Sans', 'Helvetica Neue', Arial, sans-serif;
  font-size: var(--et-text-base);
  background: var(--et-cream);
  color: var(--et-text);
  overflow-x: hidden;
  line-height: 1.6;
}

/* Override Bootstrap's base font-size on body */
body, p, li, td, label, input, select, textarea, button {
  font-size: var(--et-text-base);
}

a { color: var(--et-teal); transition: color 0.2s; }
a:hover, a:focus { color: var(--et-teal-lt); text-decoration: none; }

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

/* =============================================================
   4. UTILITY CLASSES
============================================================= */
.et-text-center { text-align: center; }
.et-mt-8  { margin-top: 8px; }
.et-mt-12 { margin-top: 12px; }
.et-mt-20 { margin-top: 20px; }
.et-mt-32 { margin-top: 32px; }
.et-mb-0  { margin-bottom: 0 !important; }

.et-section       { padding: var(--et-space-xl) 0; }
.et-section-alt   { background: var(--et-white); }
.et-section-cream { background: var(--et-cream); }

/* =============================================================
   5. SECTION TYPOGRAPHY
============================================================= */
.et-section-label {
  display: block;
  font-size: var(--et-text-xs);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--et-teal);
  margin-bottom: 10px;
}

.et-section-title {
  font-family: 'Playfair Display', serif;
  font-size: var(--et-text-4xl);
  font-weight: 900;
  color: var(--et-navy);
  line-height: 1.2;
  margin-top: 0;
  margin-bottom: 16px;
}

.et-section-sub {
  font-size: var(--et-text-md);
  color: var(--et-muted);
  line-height: 1.7;
  margin-bottom: 0;
  max-width: 580px;
}

.et-section-header         { margin-bottom: 52px; }
.et-section-header.center  { text-align: center; }
.et-section-header.center .et-section-sub { margin-left: auto; margin-right: auto; }

@media (max-width: 767px) {
  .et-section { padding: 52px 0; }
  .et-section-title { font-size: var(--et-text-3xl); }
}

/* =============================================================
   6. TOPBAR
============================================================= */
.et-topbar {
  background: var(--et-navy);
  padding: 8px 0;
  font-size: var(--et-text-sm);
  color: #C8D6FF;
}

.et-topbar a { color: #C8D6FF; }
.et-topbar a:hover { color: var(--et-gold); }

.et-topbar-note {
  color: var(--et-gold);
  font-weight: 600;
  letter-spacing: 0.02em;
}

.et-topbar-contacts {
  text-align: right;
}

.et-topbar-contacts span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-left: 16px;
}

@media (max-width: 767px) {
  .et-topbar-contacts { text-align: left; margin-top: 4px; }
  .et-topbar-contacts span { margin-left: 0; margin-right: 12px; }
}

/* =============================================================
   7. NAVBAR
============================================================= */
.et-navbar.navbar {
  background: var(--et-white);
  border: none;
  border-bottom: 1px solid var(--et-border);
  border-radius: 0;
  margin-bottom: 0;
  box-shadow: var(--et-shadow-sm);
  min-height: 70px;
}

.et-navbar .navbar-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 15px;
  height: auto;
}

.brand-mark {
  width: 44px;
  height: 44px;
  background: var(--et-teal);
  border-radius: 11px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Playfair Display', serif;
  color: white;
  font-size: 1.25rem;
  font-weight: 900;
  flex-shrink: 0;
}

.brand-text strong {
  display: block;
  font-size: var(--et-text-base);
  font-weight: 700;
  color: var(--et-navy);
  line-height: 1.2;
}

.brand-text small {
  font-size: 0.7rem;
  color: var(--et-teal);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.et-navbar .navbar-nav > li > a {
  color: var(--et-text);
  font-size: var(--et-text-sm);
  font-weight: 500;
  padding: 24px 14px;
  transition: color 0.2s;
  line-height: 1.5;
}

.et-navbar .navbar-nav > li > a:hover,
.et-navbar .navbar-nav > li.active > a {
  background: none;
  color: var(--et-teal);
}

.et-navbar .navbar-nav > li.active > a {
  border-bottom: 3px solid var(--et-teal);
}

.et-navbar .navbar-nav > li.et-nav-cta > a {
  background: var(--et-teal);
  color: white !important;
  border-radius: var(--et-radius-sm);
  margin: 15px 5px;
  padding: 10px 22px;
  font-weight: 700;
  font-size: var(--et-text-sm);
  border-bottom: none;
  transition: background 0.2s;
}

.et-navbar .navbar-nav > li.et-nav-cta > a:hover {
  background: var(--et-teal-lt) !important;
  color: white !important;
}

.et-navbar .navbar-toggle {
  border-color: var(--et-border);
  margin-top: 16px;
  margin-right: 4px;
}

.et-navbar .navbar-toggle .icon-bar { background: var(--et-navy); }

/* =============================================================
   8. BUTTONS
============================================================= */
.btn-et-primary {
  background: var(--et-gold);
  color: var(--et-navy);
  border: none;
  border-radius: 100px;
  padding: 14px 32px;
  font-weight: 700;
  font-size: var(--et-text-base);
  box-shadow: 0 4px 20px rgba(232,160,32,0.38);
  display: inline-block;
  line-height: 1.4;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}

.btn-et-primary:hover,
.btn-et-primary:focus {
  color: var(--et-navy);
  background: #f0ab28;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(232,160,32,0.48);
  text-decoration: none;
}

.btn-et-teal {
  background: var(--et-teal);
  color: white;
  border: none;
  border-radius: 100px;
  padding: 14px 32px;
  font-weight: 700;
  font-size: var(--et-text-base);
  box-shadow: 0 4px 20px rgba(15,123,108,0.28);
  display: inline-block;
  line-height: 1.4;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}

.btn-et-teal:hover,
.btn-et-teal:focus {
  background: var(--et-teal-lt);
  color: white;
  transform: translateY(-2px);
  text-decoration: none;
}

.btn-et-teal-sm {
  background: var(--et-teal);
  color: white;
  border: none;
  border-radius: 100px;
  padding: 9px 20px;
  font-weight: 600;
  font-size: var(--et-text-sm);
  display: inline-block;
  line-height: 1.4;
  cursor: pointer;
  transition: background 0.2s;
}

.btn-et-teal-sm:hover { background: var(--et-teal-lt); color: white; text-decoration: none; }

.btn-et-outline {
  background: transparent;
  color: white;
  border: 2px solid rgba(255,255,255,0.45);
  border-radius: 100px;
  padding: 12px 30px;
  font-weight: 600;
  font-size: var(--et-text-base);
  display: inline-block;
  line-height: 1.4;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}

.btn-et-outline:hover,
.btn-et-outline:focus {
  color: white;
  border-color: white;
  background: rgba(255,255,255,0.08);
  text-decoration: none;
}

.btn-et-ghost {
  background: transparent;
  color: var(--et-teal);
  border: 1.5px solid var(--et-teal);
  border-radius: 100px;
  padding: 9px 20px;
  font-weight: 600;
  font-size: var(--et-text-sm);
  display: inline-block;
  line-height: 1.4;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.btn-et-ghost:hover {
  background: var(--et-teal);
  color: white;
  text-decoration: none;
}

/* =============================================================
   9. HERO — LANDING PAGE
============================================================= */
.et-hero {
  background: linear-gradient(135deg, var(--et-navy) 0%, #1B3080 60%, #0A4A5E 100%);
  padding: 100px 0 88px;
  color: white;
  position: relative;
  overflow: hidden;
}

.et-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 60% at 80% 40%, rgba(15,123,108,0.28) 0%, transparent 70%),
    radial-gradient(ellipse 40% 40% at 10% 80%, rgba(232,160,32,0.12) 0%, transparent 60%);
  pointer-events: none;
}

.et-hero-dots {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
}

.et-hero .container { position: relative; z-index: 1; }

.et-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(232,160,32,0.15);
  border: 1px solid rgba(232,160,32,0.35);
  color: var(--et-gold);
  padding: 7px 18px;
  border-radius: 100px;
  font-size: var(--et-text-sm);
  font-weight: 600;
  letter-spacing: 0.03em;
  margin-bottom: 26px;
}

.et-hero-badge .et-pulse {
  width: 7px;
  height: 7px;
  background: var(--et-gold);
  border-radius: 50%;
  animation: et-pulse 2s infinite;
}

@keyframes et-pulse {
  0%,100% { opacity:1; transform:scale(1); }
  50%      { opacity:0.5; transform:scale(1.5); }
}

.et-hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: 3.25rem;
  font-weight: 900;
  line-height: 1.1;
  color: white;
  margin-top: 0;
  margin-bottom: 22px;
}

.et-hero h1 em {
  font-style: normal;
  color: var(--et-gold);
}

.et-hero-sub {
  font-size: var(--et-text-lg);
  color: rgba(255,255,255,0.78);
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 520px;
}

.et-hero-actions { margin-bottom: 32px; }

.et-hero-actions .btn-et-primary,
.et-hero-actions .btn-et-outline {
  margin-right: 12px;
  margin-bottom: 12px;
}

.et-trust-strip { display: flex; flex-wrap: wrap; gap: 8px 28px; }

.et-trust-item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: var(--et-text-sm);
  color: rgba(255,255,255,0.65);
}

.et-trust-item svg { color: var(--et-gold); flex-shrink: 0; }

/* Hero search card */
.et-hero-card {
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 22px;
  padding: 32px;
}

.et-hero-card-title {
  font-family: 'Playfair Display', serif;
  font-size: var(--et-text-xl);
  color: white;
  font-weight: 700;
  margin-bottom: 22px;
  margin-top: 0;
}

.et-search-field {
  background: rgba(255,255,255,0.09);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 11px;
  padding: 13px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.et-search-field svg { color: rgba(255,255,255,0.4); flex-shrink: 0; }

.et-search-field label {
  display: block;
  font-size: 0.68rem;
  color: rgba(255,255,255,0.45);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin: 0 0 2px;
  font-weight: 600;
}

.et-search-field span {
  font-size: var(--et-text-sm);
  color: rgba(255,255,255,0.82);
}

.et-search-btn {
  display: block;
  width: 100%;
  background: var(--et-gold);
  color: var(--et-navy);
  border: none;
  border-radius: 11px;
  padding: 15px;
  font-weight: 700;
  font-size: var(--et-text-base);
  text-align: center;
  margin-top: 8px;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}

.et-search-btn:hover {
  background: #f0ab28;
  color: var(--et-navy);
  transform: translateY(-1px);
  text-decoration: none;
}

.et-card-note {
  text-align: center;
  font-size: var(--et-text-xs);
  color: rgba(255,255,255,0.42);
  margin: 12px 0 0;
}

@media (max-width: 991px) {
  .et-hero { padding: 72px 0 60px; }
  .et-hero h1 { font-size: 2.5rem; }
  .et-hero-card { margin-top: 40px; }
}

@media (max-width: 767px) {
  .et-hero h1 { font-size: 2rem; }
  .et-hero-sub { font-size: var(--et-text-base); }
}

/* =============================================================
   10. STATS BAR
============================================================= */
.et-stats-bar {
  background: var(--et-navy);
  padding: 32px 0;
}

.et-stat-item {
  text-align: center;
  padding: 10px 16px;
  border-right: 1px solid rgba(255,255,255,0.1);
}

.et-stat-item:last-child { border-right: none; }

.et-stat-num {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--et-gold);
  line-height: 1.1;
}

.et-stat-label {
  display: block;
  font-size: var(--et-text-sm);
  color: rgba(255,255,255,0.55);
  margin-top: 5px;
}

@media (max-width: 767px) {
  .et-stat-item {
    border-right: none;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding: 18px 0;
  }
  .et-stat-item:last-child { border-bottom: none; }
}

/* =============================================================
   11. HOW IT WORKS — STEP CARDS
============================================================= */
.et-step-card {
  background: var(--et-cream);
  border: 1px solid var(--et-border);
  border-radius: var(--et-radius);
  padding: 36px 30px;
  height: 100%;
  transition: transform 0.25s, box-shadow 0.25s;
}

.et-step-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--et-shadow-lg);
}

.et-step-num {
  width: 58px;
  height: 58px;
  background: var(--et-teal);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 24px;
  border: 4px solid var(--et-white);
  box-shadow: 0 0 0 2px var(--et-teal);
}

.et-step-card h3 {
  font-size: var(--et-text-lg);
  font-weight: 700;
  color: var(--et-navy);
  margin-top: 0;
  margin-bottom: 12px;
}

.et-step-card p {
  font-size: var(--et-text-sm);
  color: var(--et-muted);
  line-height: 1.7;
  margin-bottom: 18px;
}

.et-step-link {
  color: var(--et-teal);
  font-size: var(--et-text-sm);
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.et-step-link:hover { color: var(--et-teal-lt); text-decoration: none; }

/* Connector line */
.et-steps-row { position: relative; }

.et-steps-row::before {
  content: '';
  position: absolute;
  top: 29px;
  left: calc(16.66% + 29px);
  right: calc(16.66% + 29px);
  height: 2px;
  background: linear-gradient(to right, var(--et-teal), var(--et-teal-lt));
  z-index: 0;
}

.et-steps-row > [class*="col-"] { position: relative; z-index: 1; }

@media (max-width: 767px) {
  .et-steps-row::before { display: none; }
  .et-step-card { margin-bottom: 20px; }
}

/* =============================================================
   12. WHY US — BENEFIT CARDS
============================================================= */
.et-why-card {
  background: var(--et-white);
  border: 1px solid var(--et-border);
  border-radius: var(--et-radius);
  padding: 32px 28px;
  height: 100%;
  transition: transform 0.25s, box-shadow 0.25s;
  margin-bottom: 24px;
}

.et-why-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--et-shadow);
}

.et-why-icon {
  width: 54px;
  height: 54px;
  background: #EDF8F6;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 20px;
}

.et-why-card h3 {
  font-size: var(--et-text-base);
  font-weight: 700;
  color: var(--et-navy);
  margin-top: 0;
  margin-bottom: 10px;
}

.et-why-card p {
  font-size: var(--et-text-sm);
  color: var(--et-muted);
  line-height: 1.7;
  margin: 0;
}

/* =============================================================
   13. SUBJECTS GRID
============================================================= */
.et-subject-pill {
  background: var(--et-cream);
  border: 1.5px solid var(--et-border);
  border-radius: var(--et-radius);
  padding: 18px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  margin-bottom: 16px;
  transition: border-color 0.2s, background 0.2s, transform 0.2s;
}

.et-subject-pill:hover {
  border-color: var(--et-teal);
  background: #EDF8F6;
  transform: translateY(-3px);
  text-decoration: none;
}

.et-subject-icon {
  width: 46px;
  height: 46px;
  background: white;
  border-radius: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(0,0,0,0.07);
}

.et-subject-pill strong {
  display: block;
  font-size: var(--et-text-sm);
  color: var(--et-navy);
  font-weight: 600;
}

.et-subject-pill small {
  font-size: var(--et-text-xs);
  color: var(--et-muted);
}

/* =============================================================
   14. TUTOR CARDS (Latest Tutors — homepage grid)
============================================================= */
.et-tutor-card {
  background: var(--et-white);
  border: 1px solid var(--et-border);
  border-radius: var(--et-radius);
  overflow: hidden;
  margin-bottom: 24px;
  text-align: center;
  transition: transform 0.25s, box-shadow 0.25s;
}

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

.et-tutor-card img {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  object-fit: cover;
  margin: 22px auto 14px;
  display: block;
  border: 3px solid var(--et-white);
  box-shadow: 0 0 0 2px var(--et-teal);
}

.et-tutor-card-body { padding: 0 18px 22px; }

.et-tutor-card .et-tutor-name {
  font-size: var(--et-text-sm);
  font-weight: 700;
  color: var(--et-navy);
  display: block;
  margin-bottom: 4px;
}

.et-tutor-card .et-tutor-qual {
  font-size: var(--et-text-xs);
  color: var(--et-teal);
  font-weight: 600;
  display: block;
  margin-bottom: 4px;
}

.et-tutor-card .et-tutor-loc {
  font-size: var(--et-text-xs);
  color: var(--et-muted);
  display: block;
  margin-bottom: 14px;
}

.et-tutor-card .btn-et-teal-sm { border-radius: 100px; }

/* =============================================================
   15. TESTIMONIAL CARDS
============================================================= */
.et-testimonials {
  background: linear-gradient(135deg, #EDF8F6 0%, var(--et-cream) 100%);
}

.et-tcard {
  background: var(--et-white);
  border: 1px solid var(--et-border);
  border-radius: var(--et-radius);
  padding: 30px;
  height: 100%;
  position: relative;
  margin-bottom: 24px;
  transition: transform 0.25s, box-shadow 0.25s;
}

.et-tcard:hover {
  transform: translateY(-4px);
  box-shadow: var(--et-shadow);
}

.et-tcard::before {
  content: '\201C';
  font-family: 'Playfair Display', serif;
  font-size: 5rem;
  color: var(--et-teal);
  opacity: 0.10;
  position: absolute;
  top: 10px;
  left: 20px;
  line-height: 1;
  pointer-events: none;
}

.et-stars { color: var(--et-gold); font-size: 0.9rem; letter-spacing: 2px; margin-bottom: 14px; }

.et-tcard p {
  font-size: var(--et-text-sm);
  color: #374151;
  line-height: 1.7;
  margin-bottom: 20px;
}

.et-tcard-author { display: flex; align-items: center; gap: 13px; }

.et-tcard-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--et-teal), var(--et-teal-lt));
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: var(--et-text-base);
  flex-shrink: 0;
}

.et-tcard-author strong { display: block; font-size: var(--et-text-sm); color: var(--et-navy); }
.et-tcard-author small  { font-size: var(--et-text-xs); color: var(--et-muted); }

/* =============================================================
   16. FAQ — BOOTSTRAP PANEL ACCORDION
============================================================= */
.et-faq .panel {
  border-radius: var(--et-radius-sm);
  border: 1px solid var(--et-border);
  box-shadow: none;
  margin-bottom: 10px;
}

.et-faq .panel-heading {
  background: var(--et-cream);
  border-radius: var(--et-radius-sm) var(--et-radius-sm) 0 0;
  padding: 0;
}

.et-faq .panel-heading .panel-title a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 22px;
  font-size: var(--et-text-base);
  font-weight: 600;
  color: var(--et-navy);
  text-decoration: none;
}

.et-faq .panel-heading .panel-title a:hover { color: var(--et-teal); }

.et-faq .panel-heading .panel-title a .et-faq-icon {
  color: var(--et-teal);
  font-size: 1.3rem;
  line-height: 1;
  transition: transform 0.3s;
  flex-shrink: 0;
  margin-left: 14px;
}

.et-faq .panel-heading .panel-title a:not(.collapsed) .et-faq-icon { transform: rotate(45deg); }

.et-faq .panel-body {
  font-size: var(--et-text-sm);
  color: var(--et-muted);
  line-height: 1.75;
  border-top: 1px solid var(--et-border) !important;
  padding: 16px 22px 20px;
}

/* =============================================================
   17. CTA BANNER
============================================================= */
.et-cta-banner {
  background: linear-gradient(135deg, var(--et-navy) 0%, #1B3080 100%);
  padding: 80px 0;
  text-align: center;
  color: white;
  position: relative;
  overflow: hidden;
}

.et-cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 70% at 50% 100%, rgba(15,123,108,0.25) 0%, transparent 70%);
  pointer-events: none;
}

.et-cta-banner .container { position: relative; z-index: 1; }

.et-cta-banner h2 {
  font-family: 'Playfair Display', serif;
  font-size: var(--et-text-4xl);
  font-weight: 900;
  color: white;
  margin-top: 0;
  margin-bottom: 16px;
}

.et-cta-banner p {
  font-size: var(--et-text-lg);
  color: rgba(255,255,255,0.72);
  margin-bottom: 36px;
}

.et-cta-banner .et-cta-actions .btn-et-primary,
.et-cta-banner .et-cta-actions .btn-et-teal {
  margin: 0 10px 12px;
}

.et-cta-contact { margin-top: 30px; }

.et-cta-contact a {
  color: rgba(255,255,255,0.6);
  font-size: var(--et-text-sm);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin: 0 16px 10px;
}

.et-cta-contact a:hover { color: var(--et-gold); }

/* =============================================================
   18. PAGE HERO — SEARCH TUTORS PAGE
============================================================= */
.et-page-hero {
  background: linear-gradient(135deg, var(--et-navy) 0%, #1B3080 65%, #0A4A5E 100%);
  padding: 48px 0 40px;
  color: white;
  position: relative;
  overflow: hidden;
}
.et-page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background:
	radial-gradient(ellipse 55% 80% at 90% 50%, rgba(15,123,108,0.25) 0%, transparent 70%),
	radial-gradient(ellipse 30% 50% at 5%  80%, rgba(232,160,32,0.10) 0%, transparent 60%);
  pointer-events: none;
}
.et-page-hero-dots {
  position: absolute; inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.055) 1px, transparent 1px);
  background-size: 30px 30px;
  pointer-events: none;
}
.et-page-hero .container { position: relative; z-index: 1; }
.et-page-hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 900; color: white;
  margin: 0 0 10px; line-height: 1.15;
}
.et-page-hero h1 em { font-style: normal; color: var(--et-gold); }
.et-page-hero p {
  font-size: 0.94rem; color: rgba(255,255,255,0.72);
  line-height: 1.65; margin: 0 0 18px; max-width: 820px;
}
.et-breadcrumb {
  display: flex; align-items: center; gap: 8px;
  font-size: 0.78rem; color: rgba(255,255,255,0.45);
  margin-bottom: 0; flex-wrap: wrap;
}
.et-breadcrumb a { color: rgba(255,255,255,0.55); }
.et-breadcrumb a:hover { color: var(--et-gold); }
.et-breadcrumb span { color: rgba(255,255,255,0.3); }

/* Hero quick-stats strip */
.et-hero-stats {
  display: flex; gap: 28px; margin-top: 22px; flex-wrap: wrap;
}
.et-hero-stat {
  display: flex; align-items: center; gap: 8px;
  font-size: 0.8rem; color: rgba(255,255,255,0.62);
}
.et-hero-stat strong { color: var(--et-gold); font-size: 0.95rem; }

/* =============================================================
   19. SEARCH PAGE — LAYOUT
============================================================= */
.et-search-page { padding: 36px 0 64px; }

/* =============================================================
   20. FILTER SIDEBAR
============================================================= */
.et-filter-sidebar {
  background: var(--et-white);
  border: 1px solid var(--et-border);
  border-radius: 16px;
  overflow: hidden;
  position: sticky;
  top: 80px;
}
.et-filter-header {
  background: var(--et-navy);
  padding: 18px 20px;
  display: flex; align-items: center; justify-content: space-between;
}
.et-filter-header h3 {
  font-size: 0.9rem; font-weight: 700;
  color: white; margin: 0;
  display: flex; align-items: center; gap: 8px;
}
.et-filter-header h3 svg { color: var(--et-gold); }
.et-filter-reset {
  font-size: 0.72rem; color: rgba(255,255,255,0.55);
  cursor: pointer; background: none; border: none;
  text-decoration: underline; transition: color 0.2s;
}
.et-filter-reset:hover { color: var(--et-gold); }

.et-filter-body { padding: 0; }
.et-filter-group {
  border-bottom: 1px solid var(--et-border);
  padding: 0;
}
.et-filter-group:last-child { border-bottom: none; }
.et-filter-group-toggle {
  width: 100%; background: none; border: none;
  padding: 14px 20px;
  display: flex; align-items: center; justify-content: space-between;
  font-size: 0.82rem; font-weight: 700;
  color: var(--et-navy); cursor: pointer;
  transition: background 0.15s;
  text-align: left;
}
.et-filter-group-toggle:hover { background: var(--et-cream); }
.et-filter-group-toggle .et-fg-icon {
  color: var(--et-teal); font-size: 0.95rem;
  transition: transform 0.25s; flex-shrink: 0;
}
.et-filter-group-toggle.collapsed .et-fg-icon { transform: rotate(0deg); }
.et-filter-group-toggle:not(.collapsed) .et-fg-icon { transform: rotate(45deg); }
.et-filter-group-content { padding: 0 20px 16px; }

/* Quick filter pills (Biology, Chemistry, …) */
.et-quick-pills { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 2px; }
.et-pill {
  padding: 5px 12px; border-radius: 100px;
  font-size: 0.74rem; font-weight: 600;
  border: 1.5px solid var(--et-border);
  background: var(--et-cream); color: var(--et-text);
  cursor: pointer; transition: all 0.15s; user-select: none;
}
.et-pill:hover { border-color: var(--et-teal); color: var(--et-teal); background: #EDF8F6; }
.et-pill.active { background: var(--et-teal); border-color: var(--et-teal); color: white; }

/* Styled select */
.et-select {
  width: 100%;
  padding: 9px 12px;
  border: 1.5px solid var(--et-border);
  border-radius: 8px;
  font-size: 0.84rem;
  color: var(--et-text);
  background: var(--et-cream);
  appearance: none;
  -webkit-appearance: none;
  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='none' stroke='%236B7280' stroke-width='2.5'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  cursor: pointer;
  transition: border-color 0.2s;
  margin-top: 4px;
}
.et-select:focus { outline: none; border-color: var(--et-teal); box-shadow: 0 0 0 3px rgba(15,123,108,0.12); }

/* Radio group */
.et-radio-group { margin-top: 4px; }
.et-radio-item {
  display: flex; align-items: center; gap: 9px;
  padding: 8px 0;
  border-bottom: 1px solid var(--et-border);
  cursor: pointer;
}
.et-radio-item:last-child { border-bottom: none; }
.et-radio-item input[type="radio"] { accent-color: var(--et-teal); width: 15px; height: 15px; flex-shrink: 0; }
.et-radio-item label { font-size: 0.83rem; color: var(--et-text); margin: 0; cursor: pointer; font-weight: 500; }

.et-filter-search-input {
  width: 100%;
  padding: 8px 12px;
  border: 1.5px solid var(--et-border);
  border-radius: 8px;
  font-size: 0.83rem;
  margin-bottom: 8px;
  margin-top: 4px;
  transition: border-color 0.2s;
}
.et-filter-search-input:focus { outline: none; border-color: var(--et-teal); box-shadow: 0 0 0 3px rgba(15,123,108,0.12); }

.et-filter-apply {
  padding: 16px 20px;
  border-top: 1px solid var(--et-border);
}
.et-filter-apply .btn-et-teal { width: 100%; text-align: center; border-radius: 8px; }

/* Mobile filter toggle */
.et-filter-mobile-toggle {
  display: none;
  background: var(--et-navy);
  color: white;
  border: none;
  border-radius: 8px;
  padding: 10px 18px;
  font-size: 0.85rem;
  font-weight: 600;
  width: 100%;
  margin-bottom: 16px;
  cursor: pointer;
  text-align: left;
  gap: 8px;
  align-items: center;
}
@media (max-width: 991px) {
  .et-filter-mobile-toggle { display: flex; }
  .et-filter-sidebar { position: static; display: none; margin-bottom: 20px; }
  .et-filter-sidebar.et-filter-open { display: block; }
}

/* =============================================================
   21. RESULTS TOP BAR
============================================================= */
.et-results-topbar {
  background: var(--et-white);
  border: 1px solid var(--et-border);
  border-radius: var(--et-radius);
  padding: 16px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 22px;
  flex-wrap: wrap;
  gap: 12px;
}

.et-results-count { font-size: var(--et-text-sm); color: var(--et-muted); }
.et-results-count strong { color: var(--et-navy); font-size: var(--et-text-lg); }

.et-sort-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.et-sort-label { font-size: var(--et-text-sm); color: var(--et-muted); white-space: nowrap; }

.et-sort-select {
  padding: 8px 36px 8px 12px;
  border: 1.5px solid var(--et-border);
  border-radius: var(--et-radius-sm);
  font-size: var(--et-text-sm);
  color: var(--et-text);
  background: var(--et-cream);
  appearance: none;
  -webkit-appearance: none;
  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='none' stroke='%236B7280' stroke-width='2.5'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  cursor: pointer;
  transition: border-color 0.2s;
}

.et-sort-select:focus { outline: none; border-color: var(--et-teal); }

.et-view-toggle { display: flex; gap: 5px; }

.et-view-btn {
  width: 36px;
  height: 36px;
  border-radius: var(--et-radius-sm);
  border: 1.5px solid var(--et-border);
  background: var(--et-cream);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--et-muted);
  transition: all 0.15s;
}

.et-view-btn.active { background: var(--et-teal); border-color: var(--et-teal); color: white; }
.et-view-btn:hover:not(.active) { border-color: var(--et-teal); color: var(--et-teal); }

/* Active filter tags */
.et-active-filters {
  display: flex;
  align-items: center;
  gap: 9px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.et-active-filters-label { font-size: var(--et-text-xs); color: var(--et-muted); white-space: nowrap; }

.et-active-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: #EDF8F6;
  border: 1px solid var(--et-teal);
  color: var(--et-teal);
  border-radius: 100px;
  padding: 4px 12px;
  font-size: var(--et-text-xs);
  font-weight: 600;
}

.et-active-tag button {
  background: none;
  border: none;
  padding: 0;
  color: var(--et-teal);
  cursor: pointer;
  font-size: 1rem;
  line-height: 1;
  margin-left: 3px;
}

/* =============================================================
   22. TUTOR CARD — LIST VIEW (search page)
============================================================= */
.et-tutor-list { display: flex; flex-direction: column; gap: 16px; }

.et-tcard {
  background: var(--et-white);
  border: 1px solid var(--et-border);
  border-radius: 16px;
  overflow: hidden;
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
  display: flex; align-items: stretch;
}
.et-tcard:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 36px rgba(13,27,75,0.11);
  border-color: rgba(15,123,108,0.3);
}

/* Left accent stripe */
.et-tcard-stripe {
  width: 5px; flex-shrink: 0;
  background: linear-gradient(to bottom, var(--et-teal), var(--et-teal-lt));
}
.et-tcard-stripe.unverified { background: linear-gradient(to bottom, #9CA3AF, #D1D5DB); }

/* Avatar column */
.et-tcard-avatar-col {
  padding: 24px 0 24px 20px; flex-shrink: 0;
  display: flex; flex-direction: column; align-items: center;
  width: 110px;
}
.et-tcard-avatar-wrap { position: relative; display: inline-block; }
.et-tcard-avatar-wrap img {
  width: 76px; height: 76px; border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--et-white);
  box-shadow: 0 0 0 2px var(--et-teal);
}
.et-tcard-avatar-wrap.unverified img { box-shadow: 0 0 0 2px #9CA3AF; }
.et-verified-badge {
  position: absolute; bottom: 0; right: -2px;
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--et-teal); border: 2px solid white;
  display: flex; align-items: center; justify-content: center;
}
.et-verified-badge svg { color: white; }
.et-unverified-badge {
  position: absolute; bottom: 0; right: -2px;
  width: 20px; height: 20px; border-radius: 50%;
  background: #9CA3AF; border: 2px solid white;
  display: flex; align-items: center; justify-content: center;
}
.et-rating-small {
  margin-top: 8px; text-align: center;
  display: flex; flex-direction: column; align-items: center;
}
.et-stars-row { color: var(--et-gold); font-size: 0.6rem; letter-spacing: 1px; }
.et-rating-text { font-size: 0.66rem; color: var(--et-muted); margin-top: 1px; }

/* Body */
.et-tcard-body {
  flex: 1; padding: 20px 20px 20px 16px;
  display: flex; flex-direction: column;
  min-width: 0;
}
.et-tcard-top {
  display: flex; align-items: flex-start;
  justify-content: space-between; gap: 12px;
  flex-wrap: wrap; margin-bottom: 12px;
}
.et-tcard-name-row { min-width: 0; }
.et-tcard-name {
  font-size: 1rem; font-weight: 700; color: var(--et-navy);
  text-decoration: none; display: inline-block;
  transition: color 0.2s;
}
.et-tcard-name:hover { color: var(--et-teal); }
.et-tcard-id { font-size: 0.72rem; color: var(--et-muted); margin-left: 7px; }
.et-verified-label {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 0.7rem; font-weight: 600;
  color: var(--et-teal); margin-left: 8px;
}
.et-unverified-label {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 0.7rem; font-weight: 600;
  color: var(--et-muted); margin-left: 8px;
}
.et-tcard-qual {
  font-size: 0.84rem; color: var(--et-muted);
  line-height: 1.4; margin-top: 3px;
}
.et-tcard-qual strong { color: var(--et-navy); font-weight: 600; }

.et-tcard-badges { display: flex; gap: 6px; flex-wrap: wrap; flex-shrink: 0; }
.et-mode-badge {
  padding: 4px 10px; border-radius: 100px;
  font-size: 0.7rem; font-weight: 700;
  white-space: nowrap;
}
.et-mode-online { background: #EDF8F6; color: var(--et-teal); border: 1px solid rgba(15,123,108,0.25); }
.et-mode-home   { background: #FEF3C7; color: #B45309; border: 1px solid rgba(180,83,9,0.2); }

.et-tcard-meta {
  display: flex; flex-wrap: wrap; gap: 14px;
  margin-top: auto; padding-top: 12px;
}
.et-meta-item {
  display: flex; align-items: flex-start; gap: 6px;
  font-size: 0.8rem; color: var(--et-muted);
  min-width: 0;
}
.et-meta-item svg { color: var(--et-teal); flex-shrink: 0; margin-top: 1px; }
.et-meta-item span { line-height: 1.4; }
.et-meta-item .et-subjects-text {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Right CTA column */
.et-tcard-cta {
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  padding: 20px 20px 20px 10px;
  gap: 8px; flex-shrink: 0; min-width: 130px;
}
.et-tcard-cta .btn-et-primary { width: 100%; text-align: center; padding: 10px 14px; font-size: 0.82rem; white-space: nowrap; }
.et-tcard-cta .btn-et-ghost   { width: 100%; text-align: center; }

@media (max-width: 767px) {
  .et-tcard { flex-direction: column; }
  .et-tcard-stripe { width: 100%; height: 4px; }
  .et-tcard-avatar-col { width: 100%; flex-direction: row; gap: 14px; padding: 16px 16px 0; align-items: center; }
  .et-rating-small { flex-direction: row; gap: 6px; align-items: center; margin-top: 0; }
  .et-tcard-body { padding: 12px 16px 16px; }
  .et-tcard-cta { flex-direction: row; padding: 0 16px 16px; min-width: 0; }
  .et-tcard-cta .btn-et-primary,
  .et-tcard-cta .btn-et-ghost { flex: 1; }
}

/* =============================================================
   23. TUTOR CARD — GRID VIEW (search page)
============================================================= */
.et-tutor-grid {
  display: none;
  display: flex; flex-wrap: wrap; gap: 16px;
}
.et-tutor-grid.et-view-active { display: flex; }
.et-tutor-list.et-view-active { display: flex; }

.et-gcard {
  background: var(--et-white);
  border: 1px solid var(--et-border);
  border-radius: 16px; overflow: hidden;
  width: calc(33.33% - 12px);
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
  display: flex; flex-direction: column;
}
.et-gcard:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(13,27,75,0.11);
  border-color: rgba(15,123,108,0.3);
}
.et-gcard-head {
  background: linear-gradient(135deg, var(--et-navy) 0%, #1B3080 100%);
  padding: 24px 20px 16px;
  display: flex; flex-direction: column; align-items: center;
  position: relative;
}
.et-gcard-head img {
  width: 70px; height: 70px; border-radius: 50%;
  object-fit: cover; border: 3px solid rgba(255,255,255,0.3);
  box-shadow: 0 4px 12px rgba(0,0,0,0.25);
}
.et-gcard-verify {
  position: absolute; top: 12px; right: 12px;
  font-size: 0.65rem; font-weight: 700;
  padding: 3px 8px; border-radius: 100px;
}
.et-gcard-verify.verified { background: rgba(15,123,108,0.2); color: #4ADE80; border: 1px solid rgba(74,222,128,0.3); }
.et-gcard-verify.unverified { background: rgba(156,163,175,0.2); color: #9CA3AF; border: 1px solid rgba(156,163,175,0.3); }
.et-gcard-name {
  font-size: 0.95rem; font-weight: 700; color: white;
  text-decoration: none; margin-top: 10px; text-align: center;
  display: block;
}
.et-gcard-name:hover { color: var(--et-gold); }
.et-gcard-stars { color: var(--et-gold); font-size: 0.65rem; margin-top: 4px; }
.et-gcard-body { padding: 16px; flex: 1; display: flex; flex-direction: column; }
.et-gcard-qual { font-size: 0.78rem; color: var(--et-muted); margin-bottom: 10px; line-height: 1.45; }
.et-gcard-qual strong { color: var(--et-navy); display: block; }
.et-gcard-subjects {
  display: flex; flex-wrap: wrap; gap: 4px; margin-bottom: 12px;
}
.et-subject-tag {
  padding: 2px 8px; border-radius: 100px;
  font-size: 0.68rem; font-weight: 600;
  background: #EDF8F6; color: var(--et-teal);
  border: 1px solid rgba(15,123,108,0.2);
}
.et-subject-tag-more { background: var(--et-cream); color: var(--et-muted); border: 1px solid var(--et-border); }
.et-gcard-location { font-size: 0.76rem; color: var(--et-muted); display: flex; align-items: center; gap: 5px; margin-bottom: 14px; }
.et-gcard-footer {
  margin-top: auto;
  display: flex; gap: 8px;
}
.et-gcard-footer .btn-et-teal-sm { flex: 1; text-align: center; }
.et-gcard-footer .btn-et-ghost   { flex: 1; text-align: center; }

@media (max-width: 991px) { .et-gcard { width: calc(50% - 8px); } }
@media (max-width: 580px)  { .et-gcard { width: 100%; } }



/* Some syles available in original file but not in this combined file
check and remove if not used */

/* =====================================================
   VIEW SWITCHING
===================================================== */
/* default: list view active */
#et-list-view  { display: flex; }
#et-grid-view  { display: none; }
body.et-grid   #et-list-view { display: none; }
body.et-grid   #et-grid-view { display: flex; }



/* =====================================================
   EMPTY STATE
===================================================== */
.et-empty-state {
  text-align: center; padding: 60px 20px;
  background: var(--et-white); border-radius: 16px;
  border: 1px dashed var(--et-border);
}
.et-empty-state .et-empty-icon { font-size: 2.5rem; margin-bottom: 16px; }
.et-empty-state h3 { font-size: 1.1rem; color: var(--et-navy); margin-bottom: 8px; }
.et-empty-state p  { font-size: 0.88rem; color: var(--et-muted); margin-bottom: 20px; max-width: 340px; margin-left: auto; margin-right: auto; }


/* =====================================================
   SKELETON LOADER
===================================================== */
@keyframes et-shimmer {
  0%   { background-position: -600px 0; }
  100% { background-position:  600px 0; }
}
.et-skeleton {
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 600px 100%;
  animation: et-shimmer 1.4s infinite;
  border-radius: 6px;
}


/* =====================================================
   SEO FOOTER CONTENT
===================================================== */
.et-seo-section {
  background: var(--et-white);
  border: 1px solid var(--et-border);
  border-radius: 16px;
  padding: 24px 28px;
  margin-top: 32px;
}
.et-seo-section h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem; color: var(--et-navy); margin-top: 0; margin-bottom: 16px;
}
.et-seo-grid { display: flex; flex-wrap: wrap; gap: 0; }
.et-seo-col { flex: 1; min-width: 160px; padding-right: 24px; }
.et-seo-col:last-child { padding-right: 0; }
.et-seo-col h4 { font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.07em; color: var(--et-navy); margin-bottom: 10px; margin-top: 0; }
.et-seo-col ul { list-style: none; padding: 0; margin: 0; }
.et-seo-col ul li { margin-bottom: 6px; }
.et-seo-col ul li a { font-size: 0.81rem; color: var(--et-teal); text-decoration: none; }
.et-seo-col ul li a:hover { text-decoration: underline; }
@media (max-width: 580px) {
  .et-seo-grid { flex-direction: column; gap: 20px; }
  .et-seo-col { padding-right: 0; }
}

/* =====================================================
   MISC UTILS
===================================================== */
.et-text-center { text-align: center; }
.et-mt-8  { margin-top: 8px; }
.et-mt-12 { margin-top: 12px; }
.et-mb-0  { margin-bottom: 0 !important; }

/* =============================================================
   24. PAGINATION
============================================================= */
.et-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  margin-top: 36px;
  flex-wrap: wrap;
}

.et-page-btn {
  width: 40px;
  height: 40px;
  border-radius: var(--et-radius-sm);
  border: 1.5px solid var(--et-border);
  background: var(--et-white);
  color: var(--et-text);
  font-size: var(--et-text-sm);
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s;
  text-decoration: none;
  line-height: 1;
}

.et-page-btn:hover:not(.active):not(.disabled) {
  border-color: var(--et-teal);
  color: var(--et-teal);
  background: #EDF8F6;
  text-decoration: none;
}

.et-page-btn.active { background: var(--et-teal); border-color: var(--et-teal); color: white; }
.et-page-btn.disabled { opacity: 0.4; cursor: not-allowed; }
.et-page-ellipsis { width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; color: var(--et-muted); font-size: var(--et-text-sm); }

/* =============================================================
   25. SIDEBAR WIDGETS (search page)
============================================================= */
.et-sidebar-widget {
  background: var(--et-white);
  border: 1px solid var(--et-border);
  border-radius: var(--et-radius);
  overflow: hidden;
  margin-top: 22px;
}

.et-widget-head {
  background: linear-gradient(135deg, var(--et-teal) 0%, var(--et-teal-lt) 100%);
  padding: 18px 22px;
}

.et-widget-head h4 {
  font-family: 'Playfair Display', serif;
  font-size: var(--et-text-lg);
  font-weight: 700;
  color: white;
  margin: 0 0 5px;
}

.et-widget-head p { font-size: var(--et-text-sm); color: rgba(255,255,255,0.78); margin: 0; }

.et-widget-body { padding: 18px 22px; }

.et-widget-body p {
  font-size: var(--et-text-sm);
  color: var(--et-muted);
  line-height: 1.7;
  margin-bottom: 16px;
}

.et-widget-body .btn-et-primary {
  width: 100%;
  text-align: center;
  border-radius: var(--et-radius-sm);
  font-size: var(--et-text-sm);
  padding: 12px;
}

.et-quick-links { list-style: none; padding: 0; margin: 0; }

.et-quick-links li { border-bottom: 1px solid var(--et-border); }
.et-quick-links li:last-child { border-bottom: none; }

.et-quick-links li a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  font-size: var(--et-text-sm);
  color: var(--et-text);
  text-decoration: none;
  transition: color 0.2s;
}

.et-quick-links li a:hover { color: var(--et-teal); }

.et-quick-links li a span {
  font-size: var(--et-text-xs);
  background: #EDF8F6;
  color: var(--et-teal);
  padding: 2px 9px;
  border-radius: 100px;
  font-weight: 600;
}

/* =============================================================
   26. SEO SECTION (search page bottom)
============================================================= */
.et-seo-section {
  background: var(--et-white);
  border: 1px solid var(--et-border);
  border-radius: var(--et-radius);
  padding: 28px 32px;
  margin-top: 36px;
}

.et-seo-section h2 {
  font-family: 'Playfair Display', serif;
  font-size: var(--et-text-2xl);
  color: var(--et-navy);
  margin-top: 0;
  margin-bottom: 20px;
}

.et-seo-grid { display: flex; flex-wrap: wrap; gap: 0; }

.et-seo-col { flex: 1; min-width: 160px; padding-right: 28px; }
.et-seo-col:last-child { padding-right: 0; }

.et-seo-col h4 {
  font-size: var(--et-text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--et-navy);
  margin-bottom: 12px;
  margin-top: 0;
}

.et-seo-col ul { list-style: none; padding: 0; margin: 0; }
.et-seo-col ul li { margin-bottom: 7px; }
.et-seo-col ul li a { font-size: var(--et-text-sm); color: var(--et-teal); text-decoration: none; }
.et-seo-col ul li a:hover { text-decoration: underline; }

@media (max-width: 580px) {
  .et-seo-grid { flex-direction: column; gap: 22px; }
  .et-seo-col { padding-right: 0; }
}

/* =============================================================
   27. FOOTER
============================================================= */
.et-footer {
  background: #0A0F24;
  padding: 56px 0 26px;
  color: rgba(255,255,255,0.5);
}

.et-footer h4 {
  font-size: var(--et-text-xs);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  margin-bottom: 16px;
  margin-top: 0;
}

.et-footer p {
  font-size: var(--et-text-sm);
  line-height: 1.75;
  color: rgba(255,255,255,0.42);
}

.et-footer ul { list-style: none; padding: 0; margin: 0; }
.et-footer ul li { margin-bottom: 9px; }

.et-footer ul li a {
  color: rgba(255,255,255,0.42);
  font-size: var(--et-text-sm);
  text-decoration: none;
  transition: color 0.2s;
}

.et-footer ul li a:hover { color: var(--et-gold); }

.et-footer-contact li a { display: flex; align-items: flex-start; gap: 8px; }

.et-footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 22px;
  margin-top: 40px;
  font-size: var(--et-text-xs);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px;
}

.et-footer-social { margin-top: 16px; }

.et-footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,0.07);
  border-radius: var(--et-radius-sm);
  color: rgba(255,255,255,0.5);
  margin-right: 7px;
  font-size: var(--et-text-sm);
  transition: background 0.2s, color 0.2s;
  text-decoration: none;
}

.et-footer-social a:hover { background: var(--et-teal); color: white; }

@media (max-width: 767px) {
  .et-footer > .container > .row > [class*="col-"] { margin-bottom: 28px; }
  .et-footer-bottom { flex-direction: column; text-align: center; }
}

/* =============================================================
   28. FLOATING WHATSAPP
============================================================= */
.et-float-wa {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 56px;
  height: 56px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.45);
  z-index: 9999;
  transition: transform 0.25s, box-shadow 0.25s;
  text-decoration: none;
}

.et-float-wa:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 28px rgba(37,211,102,0.55);
}

.et-float-wa svg { color: white; }

/* =============================================================
   29. SCROLL REVEAL ANIMATIONS
============================================================= */
.et-fade-up,
.et-fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.et-fade-up.et-visible,
.et-fade-in.et-visible {
  opacity: 1;
  transform: translateY(0);
}

.et-fade-up:nth-child(2),
.et-fade-in:nth-child(2) { transition-delay: 0.08s; }
.et-fade-up:nth-child(3),
.et-fade-in:nth-child(3) { transition-delay: 0.16s; }
.et-fade-up:nth-child(4),
.et-fade-in:nth-child(4) { transition-delay: 0.24s; }
.et-fade-up:nth-child(5),
.et-fade-in:nth-child(5) { transition-delay: 0.32s; }
.et-fade-up:nth-child(6),
.et-fade-in:nth-child(6) { transition-delay: 0.40s; }

/* =============================================================
   30. BOOTSTRAP OVERRIDES
   Prevent Bootstrap 3 defaults from conflicting
============================================================= */

/* Bootstrap sets h1–h6 with px — override with our sizing */
.et-hero h1,
.et-page-hero h1,
.et-section-title,
.et-cta-banner h2,
.et-widget-head h4,
.et-seo-section h2 {
  /* Already set above per component. This block ensures
     Bootstrap's h* px values don't win via specificity. */
}

/* Prevent Bootstrap's paragraph margins from doubling up */
.et-tcard p,
.et-why-card p,
.et-step-card p,
.et-widget-body p {
  margin-bottom: 0;
}

/* Panel reset */
.et-faq .panel-group { margin-bottom: 0; }
.et-faq .panel-default > .panel-heading { border: none; }
.et-faq .panel + .panel { margin-top: 10px; }

/* =============================================================
   HEADER ADDITIONS (eTutors-specific overrides)
   Added when header_lms.php was modernized. These extend the
   reference stylesheet with rules specific to:
     - Topbar separator and register link styling
     - Logo image sizing inside .navbar-brand
     - Mobile-only hiding of the trust note
============================================================= */

/* Topbar separator between account links */
.et-topbar-sep {
  margin: 0 8px;
  color: rgba(200, 214, 255, 0.4);
}

/* "Register as Student · Register as Tutor" inline links in topbar */
.et-topbar-register a { white-space: nowrap; }

/* Hide the topbar trust note on very small screens — keep contacts only */
@media (max-width: 575px) {
  .et-topbar-note { display: none; }
}

/* Logo image inside the navbar brand — keep it crisp at any size */
.et-navbar .navbar-brand img {
  display: block;
  height: 50px;
  width: auto;
  max-width: 100%;
}

/* Slightly tighter brand padding so logo aligns better with nav links */
.et-navbar .navbar-brand {
  padding: 10px 15px;
}

/* On mobile, nav menu items get a divider and spacing when expanded */
@media (max-width: 767px) {
  .et-navbar .navbar-nav { margin: 0 -15px; }
  .et-navbar .navbar-nav > li > a {
    padding: 14px 15px;
    border-top: 1px solid var(--et-border);
  }
  .et-navbar .navbar-nav > li.et-nav-cta > a {
    margin: 12px 15px;
    text-align: center;
  }
}

/* =============================================================
   FOOTER ADDITIONS (eTutors-specific overrides)
   Added when footer.php was modernized. These extend the
   reference footer styles with rules specific to:
     - Using Font Awesome <i> icons inside contact list links
     - Logo image sizing in the brand column
     - Small mobile layout tweaks
============================================================= */

/* Logo image in the brand column — match navbar logo styling */
.et-footer .navbar-brand-img,
.et-footer img[alt*="eTutors"] {
  filter: brightness(1.05);
}

/* Contact list icons: align Font Awesome glyphs with text */
.et-footer-contact li a i {
  width: 16px;
  margin-top: 3px;
  text-align: center;
  flex-shrink: 0;
  color: var(--et-teal-lt);
}

/* Social icons — Font Awesome glyphs centered nicely */
.et-footer-social a i {
  font-size: 15px;
  line-height: 1;
}

/* =============================================================
   FLEX ROW HELPER — Equal-height cards in Bootstrap 3 rows

   Bootstrap 3 uses float-based columns, which means cards in the
   same row don't share height. When a card on the left is taller
   than its neighbors, the next row of cards floats next to it
   instead of wrapping cleanly to the left edge.

   .et-flex-row turns the row into a flexbox container so:
     - All columns in a row stretch to the same height
     - Cards always wrap cleanly to the left on the next row
     - .et-why-card / .et-tutor-card with height:100% now actually fill
   Add it alongside .row: <div class="row et-flex-row">
============================================================= */
.et-flex-row {
  display: flex;
  flex-wrap: wrap;
}

.et-flex-row > [class*="col-"] {
  display: flex;
  flex-direction: column;
}

/* Make the card itself fill the column height */
.et-flex-row .et-why-card,
.et-flex-row .et-tutor-card,
.et-flex-row .et-tcard {
  flex: 1 1 auto;
  width: 100%;
}

/* =============================================================
   TESTIMONIAL CARD FIX — Force full-width paragraph on desktop

   Some legacy stylesheets (style_lms.css, mystyle.css, etc.) target
   plain <p> elements inside columns with widths that squeeze the
   testimonial text into a narrow vertical strip on desktop. These
   rules override any inherited width/max-width so the testimonial
   paragraph fills the full card width on all screen sizes.

   We also FORCE the .et-tcard itself to be a block-direction layout
   (stars -> paragraph -> author), since some legacy CSS may turn
   it into a flex container which would put the avatar beside the
   paragraph and squeeze the text into a narrow column.

   IMPORTANT: These rules are SCOPED to .et-testimonials only,
   because the search-results page reuses the .et-tcard class with
   a fundamentally different (horizontal flex) layout. Without this
   scoping, the homepage testimonial fix would break the search
   page's tutor cards.

   Mobile already renders correctly because the column itself is
   full-width — the squeeze only happens on multi-column desktop
   layouts.
============================================================= */

/* Force the testimonial card to be a block — children stack vertically */
.et-testimonials .et-tcard {
  display: block !important;
  max-width: none !important;
  width: auto;
}

.et-testimonials .et-tcard p,
.et-testimonials .et-tcard-author,
.et-testimonials .et-tcard-author > div {
  max-width: none !important;
}

/* The paragraph specifically should expand to fill the card */
.et-testimonials .et-tcard p {
  width: 100%;
  max-width: 100% !important;
  box-sizing: border-box;
  display: block;
}

/* The author block at the bottom uses flexbox — make sure it stays
   horizontal even if a legacy rule tries to break it */
.et-testimonials .et-tcard-author {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap;
  align-items: center;
  width: 100%;
}

/* Author name/role text block — let it shrink/expand naturally */
.et-testimonials .et-tcard-author > div:last-child {
  min-width: 0;
  flex: 1 1 auto;
}

/* =============================================================
   TESTIMONIAL TUTOR LINKS — Avatar photo + linked name

   When a testimonial author is a real tutor in our DB, we replace
   the initials avatar with their actual profile photo (linked to
   their tutor profile page), and make their name a hover link.

   The styling matches the existing initials avatar size (44px)
   so the layout stays consistent whether or not the lookup succeeds.
============================================================= */

/* Avatar photo wrapper — same size as initials avatar */
.et-tcard-avatar-link {
  display: inline-block;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  transition: transform 0.2s, box-shadow 0.2s;
}

.et-tcard-avatar-link:hover {
  transform: scale(1.05);
  box-shadow: 0 2px 8px rgba(0, 87, 87, 0.25);
}

/* The photo itself fills the circular avatar */
.et-tcard-avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Tutor name link — same color as bold name, but hoverable */
.et-tcard-name-link {
  color: var(--et-navy);
  text-decoration: none;
  transition: color 0.2s;
}

.et-tcard-name-link:hover,
.et-tcard-name-link:focus {
  color: var(--et-teal);
  text-decoration: none;
}

/* =============================================================
   SEARCH PAGE ADDITIONS

   Small additions specific to the modernized search-tutor page
   and the homepage hero form. The reference stylesheet already
   includes ~95% of what the search page needs; these are the
   missing helpers.
============================================================= */

/* Full-width utility */
.et-w-100 { width: 100% !important; display: block; text-align: center; }

/* Small "Recommended" tag inside a radio label */
.et-pill-tag {
  display: inline-block;
  background: var(--et-gold);
  color: var(--et-navy);
  font-size: 0.65rem;
  font-weight: 700;
  padding: 1px 7px;
  border-radius: 100px;
  margin-left: 8px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  line-height: 1.4;
}

/* =============================================================
   HOMEPAGE HERO SEARCH FORM — make the visual placeholders functional

   The reference design uses .et-search-field as a static-looking
   card with a label caption + sub-text. We've now wired it up to
   contain a real <select> dropdown. The field body wraps the
   label + select so they stack vertically inside the field.
============================================================= */

/* Wrap label + select in a flex column inside the search field */
.et-search-field-body {
  flex: 1 1 auto;
  min-width: 0;
}

/* Re-style the actual <select> to look like the visual placeholder
   (transparent background, white text, no native chrome) */
.et-search-select {
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.95);
  font-size: var(--et-text-sm);
  font-weight: 500;
  width: 100%;
  padding: 0;
  margin: 0;
  outline: none;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
}

.et-search-select:focus {
  outline: 2px solid var(--et-gold);
  outline-offset: 2px;
  border-radius: 4px;
}

/* Options come from the OS — give them a readable background */
.et-search-select option {
  background: #FFFFFF;
  color: var(--et-navy);
}

/* Make the icon area visually clickable too */
.et-search-field {
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
}

.et-search-field:hover,
.et-search-field:focus-within {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.3);
}

/* =============================================================
   FILTER SIDEBAR — additions to the reference CSS

   The reference filter sidebar styles cover most of the layout,
   but we need a few utility rules for the form-control selects
   we're using and the cities dropdown spacing.
============================================================= */

/* Filter form select boxes — match the reference look */
.et-filter-sidebar .form-control.et-select,
.et-filter-sidebar select.et-select {
  width: 100%;
  padding: 9px 12px;
  border: 1px solid var(--et-border);
  border-radius: var(--et-radius-sm);
  background: var(--et-white);
  font-size: var(--et-text-sm);
  color: var(--et-text);
  margin-bottom: 8px;
}

/* The legacy "selectize" auto-complete plugin renders inside its own
   wrapper — make sure it doesn't break the layout */
.et-filter-sidebar .custom-auto-complete {
  width: 100%;
}

/* Mobile filter panel — hide by default, show when toggled */
@media (max-width: 767px) {
  .et-filter-sidebar { display: none; }
  .et-filter-sidebar.et-filter-open { display: block; }
}

/* =============================================================
   SEARCH PAGE TOPBAR & SORT — small layout polish
============================================================= */

.et-results-topbar .et-results-count strong {
  color: var(--et-navy);
}

.et-sort-select {
  min-width: 140px;
}

/* =============================================================
   SEARCH PAGE v3 — ADDITIONS
   Polished version after iterating on user feedback. Covers:
     - Compact subject filter pills (scoped to filter sidebar)
     - Sidebar alignment with results topbar
     - Teaching mode badges always below qualification
     - About-me excerpt + "+N more" subjects helper
     - Star icon colors
     - Defensive fixes for the .et-tutor-grid display rule
============================================================= */

/* --- Hide helper for conditional location filters --- */
.et-hide { display: none !important; }

/* --- Fix the inherited .et-tutor-grid display bug --- */
.et-tutor-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

/* --- Sidebar / results column top alignment ---
   The reference results topbar has a tall padded card; the sidebar
   header was rendering slightly lower due to mobile-toggle button
   margin. Match the vertical offsets so both align cleanly. */
.et-search-sidebar-col,
.et-search-results-col {
  padding-top: 0;
}

@media (min-width: 768px) {
  .et-filter-mobile-toggle { display: none; }
}

/* --- Compact subject filter pills (scoped) ---
   The big homepage pill style targets .et-subject-pill globally.
   We re-style only when inside the .et-subject-pills container. */
.et-subject-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 10px;
}

.et-subject-pills .et-subject-pill {
  display: inline-block;
  padding: 5px 11px;
  margin: 0;
  background: var(--et-white);
  border: 1px solid var(--et-border);
  border-radius: 100px;
  color: var(--et-text);
  font-size: 0.78rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.15s;
  text-decoration: none;
  transform: none !important;
}

.et-subject-pills .et-subject-pill:hover {
  border-color: var(--et-teal);
  color: var(--et-teal);
  background: var(--et-cream);
  transform: none !important;
}

.et-subject-pills .et-subject-pill.is-active {
  background: var(--et-teal);
  color: var(--et-white);
  border-color: var(--et-teal);
}

.et-subject-pills .et-subject-pill.is-active:hover {
  background: #006a6a;
  color: var(--et-white);
}

/* --- Teaching mode badges: position consistency ---
   Always sit BELOW the qualification line, never to the right of
   the name (which was inconsistent depending on name+qual width). */
.et-tcard-badges {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin: 4px 0 10px;
}

.et-tcard-badges:empty {
  display: none;
}

/* Grid-card badges sit between qual line and subject tags */
.et-gcard-badges {
  margin: 4px 0 10px;
}

/* --- Star colors --- */
.et-star { color: #DDD; font-size: 0.85rem; line-height: 1; }
.et-star-on { color: var(--et-gold); }
.et-rating-small .et-stars-row {
  letter-spacing: 1px;
  margin-bottom: 3px;
}

/* --- About-me excerpt on list card --- */
.et-tcard-about {
  font-size: 0.875rem;
  color: var(--et-muted);
  line-height: 1.55;
  margin: 6px 0 12px;
  font-style: italic;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* --- "+N more" overflow pill in subject text --- */
.et-more-pill {
  display: inline-block;
  background: var(--et-cream);
  color: var(--et-teal);
  padding: 1px 8px;
  border-radius: 100px;
  font-size: 0.7rem;
  font-weight: 600;
  margin-left: 4px;
  border: 1px solid var(--et-border);
}

/* --- Results-topbar layout helpers --- */
.et-results-controls {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.et-sort-select { min-width: 140px; }

/* --- Selectize styling: ensure it matches our form-control look --- */
.et-filter-sidebar .selectize-input {
  border: 1px solid var(--et-border) !important;
  border-radius: var(--et-radius-sm) !important;
  background: var(--et-white) !important;
  padding: 7px 10px !important;
  font-size: var(--et-text-sm) !important;
  box-shadow: none !important;
}

.et-filter-sidebar .selectize-input.focus {
  border-color: var(--et-teal) !important;
  box-shadow: 0 0 0 3px rgba(0, 128, 128, 0.12) !important;
}

.et-filter-sidebar .selectize-dropdown {
  border: 1px solid var(--et-border) !important;
  border-radius: var(--et-radius-sm) !important;
  font-size: var(--et-text-sm) !important;
}

.et-filter-sidebar .selectize-input > div {
  background: var(--et-teal) !important;
  color: var(--et-white) !important;
  border-radius: 100px !important;
  padding: 2px 8px !important;
  margin: 2px 4px 2px 0 !important;
  font-size: 0.75rem !important;
}

/* --- Mobile-only: filter sidebar collapsed by default, expands on toggle --- */
@media (max-width: 767px) {
  .et-filter-sidebar { display: none; }
  .et-filter-sidebar.et-filter-open { display: block; }
  .et-filter-mobile-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    padding: 12px 16px;
    background: var(--et-navy);
    color: var(--et-white);
    border: none;
    border-radius: var(--et-radius-sm);
    font-weight: 600;
    margin-bottom: 14px;
    cursor: pointer;
  }
}

/* --- Grid card alignment fix: ensure full-width on smaller widths --- */
@media (min-width: 992px) and (max-width: 1199px) {
  .et-gcard { width: calc(50% - 8px); }
}

/* =============================================================
   SEARCH PAGE v4 — POLISH
   Hero field styling for selectize + sidebar refinements
============================================================= */

/* --- Homepage hero search fields ---
   Replaces the old icon-prefix layout. Each field is a label + select
   that gets transformed by selectize into a styled dropdown. */
.et-hero-card .et-hero-field {
  margin-bottom: 14px;
}

.et-hero-card .et-hero-field label {
  display: block;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 6px;
}

.et-hero-card .et-hero-field label i {
  margin-right: 6px;
  color: var(--et-gold);
}

/* --- Selectize widget inside the hero card (dark background) ---
   Selectize emits its own DOM; override the inputs so they fit the dark hero. */
.et-hero-card .selectize-input {
  background: rgba(255, 255, 255, 0.95) !important;
  border: 1px solid rgba(255, 255, 255, 0.25) !important;
  border-radius: 6px !important;
  padding: 8px 12px !important;
  font-size: 0.9rem !important;
  color: var(--et-text) !important;
  box-shadow: none !important;
  min-height: 40px !important;
}

.et-hero-card .selectize-input input {
  color: var(--et-text) !important;
}

.et-hero-card .selectize-input.focus {
  border-color: var(--et-gold) !important;
  box-shadow: 0 0 0 3px rgba(255, 192, 0, 0.18) !important;
}

.et-hero-card .selectize-dropdown {
  border: 1px solid var(--et-border) !important;
  border-radius: 6px !important;
  font-size: 0.9rem !important;
  z-index: 1000 !important;
}

/* --- Sidebar selectize on subject filter ---
   The custom-auto-complete class triggers selectize. Re-style the input
   to match the rest of our form-control look. */
.et-filter-sidebar .selectize-control { margin-bottom: 8px; }

.et-filter-sidebar .selectize-input {
  border: 1px solid var(--et-border) !important;
  border-radius: var(--et-radius-sm) !important;
  background: var(--et-white) !important;
  padding: 7px 10px !important;
  font-size: 0.85rem !important;
  min-height: 36px !important;
  box-shadow: none !important;
}

.et-filter-sidebar .selectize-input.focus {
  border-color: var(--et-teal) !important;
  box-shadow: 0 0 0 3px rgba(0, 128, 128, 0.12) !important;
}

.et-filter-sidebar .selectize-dropdown {
  border: 1px solid var(--et-border) !important;
  border-radius: var(--et-radius-sm) !important;
  font-size: 0.85rem !important;
  margin-top: 2px !important;
}

/* Selected chips inside the selectize input (teal pills) */
.et-filter-sidebar .selectize-input > div {
  background: var(--et-teal) !important;
  color: var(--et-white) !important;
  border-radius: 100px !important;
  padding: 2px 24px 2px 9px !important;
  margin: 2px 4px 2px 0 !important;
  font-size: 0.72rem !important;
  position: relative !important;
}

.et-filter-sidebar .selectize-input > div .remove {
  color: rgba(255, 255, 255, 0.85) !important;
  border-left: 1px solid rgba(255, 255, 255, 0.3) !important;
  padding: 0 5px !important;
}

.et-filter-sidebar .selectize-input > div .remove:hover {
  color: var(--et-white) !important;
  background: rgba(0, 0, 0, 0.15) !important;
}

/* --- Reset link styling (no longer a button — it's an anchor now) --- */
a.et-filter-reset {
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.85);
  text-decoration: underline;
  font-size: 0.8rem;
  cursor: pointer;
  padding: 4px 8px;
}

a.et-filter-reset:hover {
  color: var(--et-gold);
  text-decoration: underline;
}

/* =============================================================
   SEARCH PAGE v5 — MOBILE FIXES & POLISH

   Addresses:
     - Mobile filter toggle button looks empty/unclear
     - "Can't find tutor" widget appearing too early on mobile
     - Grid view stretched vertically on mobile
============================================================= */

/* --- Mobile filter toggle button: clearer, more inviting --- */
@media (max-width: 767px) {
  .et-filter-mobile-toggle {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 14px 18px;
    background: var(--et-navy);
    color: var(--et-white);
    border: none;
    border-radius: var(--et-radius-sm);
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 14px;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(13, 27, 75, 0.15);
    transition: background 0.15s;
  }

  .et-filter-mobile-toggle:hover,
  .et-filter-mobile-toggle:focus {
    background: #122456;
    outline: none;
  }

  .et-filter-mobile-toggle-left {
    display: flex;
    align-items: center;
    gap: 10px;
  }

  .et-filter-mobile-toggle-hint {
    font-size: 0.78rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.7);
    margin-left: 12px;
    flex: 1;
    text-align: right;
  }

  .et-filter-mobile-toggle-chevron {
    margin-left: 10px;
    transition: transform 0.2s;
    font-size: 0.85rem;
  }

  /* When panel is open, give the toggle a subtle "active" look */
  .et-filter-mobile-toggle[aria-expanded="true"] {
    background: #0A1339;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    margin-bottom: 0;
  }
}

/* --- Hide the desktop sidebar "Can't Find" widget on mobile ---
   On mobile, the sidebar appears ABOVE the results due to column
   stacking. The widget is a useful CTA on desktop, but on mobile
   it interrupts the search flow. The empty-state already shows a
   "Request a Tutor" CTA when there are no results. */
@media (max-width: 767px) {
  .et-sidebar-cta { display: none; }
}

/* --- Mobile: force LIST view always (grid is hard to use small) ---
   Even if the user previously selected grid view, mobile flips back
   to the list layout. The list cards are designed to wrap nicely. */
@media (max-width: 767px) {
  body.et-grid #et-grid-view { display: none !important; }
  body.et-grid #et-list-view { display: flex !important; }
  /* Also hide the view toggle buttons since list is enforced */
  .et-view-toggle { display: none !important; }
}

/* --- Make list cards display vertically on small screens
   (the horizontal stripe + avatar + body + cta layout breaks
   when there's not enough width). */
@media (max-width: 767px) {
  .et-tcard {
    flex-direction: column !important;
  }
  .et-tcard-stripe {
    width: 100% !important;
    height: 5px !important;
  }
  .et-tcard-avatar-col {
    flex-direction: row !important;
    width: 100% !important;
    padding: 16px !important;
    gap: 12px;
    align-items: center;
    border-bottom: 1px solid var(--et-border);
  }
  .et-tcard-avatar-wrap {
    flex-shrink: 0;
  }
  .et-tcard-cta {
    flex-direction: row !important;
    width: 100% !important;
    padding: 12px 16px 16px !important;
    gap: 10px;
    border-left: none !important;
    border-top: 1px solid var(--et-border);
  }
  .et-tcard-cta > a,
  .et-tcard-cta > button {
    flex: 1;
    text-align: center;
  }
}

/* --- Make the form's hero stats wrap better on mobile --- */
@media (max-width: 480px) {
  .et-hero-stats {
    gap: 10px;
  }
  .et-hero-stat {
    font-size: 0.78rem;
  }
}

/* =============================================================
   PAGINATION
   Custom pagination markup (replaces common/paging-playlist.php)
   Used on search-tutor page to preserve all filter query params
   across page navigation.
============================================================= */
.et-pagination {
  margin: 32px 0 16px;
  display: flex;
  justify-content: center;
}

.et-pagination-list {
  list-style: none;
  display: flex;
  gap: 6px;
  padding: 0;
  margin: 0;
  flex-wrap: wrap;
}

.et-pagination-list li { margin: 0; }

.et-pagination-link {
  display: inline-block;
  min-width: 40px;
  padding: 8px 14px;
  border: 1px solid var(--et-border);
  border-radius: 8px;
  background: var(--et-white);
  color: var(--et-navy);
  font-weight: 500;
  font-size: 0.9rem;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  transition: all 0.15s;
}

.et-pagination-link:hover:not(.is-active) {
  border-color: var(--et-teal);
  color: var(--et-teal);
  background: var(--et-cream);
}

.et-pagination-link.is-active {
  background: var(--et-teal);
  color: var(--et-white);
  border-color: var(--et-teal);
  cursor: default;
}

.et-pagination-ellipsis {
  display: inline-block;
  padding: 8px 6px;
  color: var(--et-muted);
  user-select: none;
}

@media (max-width: 480px) {
  .et-pagination-link {
    min-width: 36px;
    padding: 7px 10px;
    font-size: 0.85rem;
  }
}

/* =============================================================
   HEADER v2 — SLIM TOPBAR + REGISTER DROPDOWN

   Replaces the taller two-line topbar. New design:
     - One thin line, ~36px tall
     - Left: phone + WhatsApp (clickable, compact)
     - Right: Login + Register dropdown (or My Account + Logout)
============================================================= */

.et-topbar.et-topbar-slim {
  background: var(--et-navy);
  padding: 6px 0;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.92);
  line-height: 1.4;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.et-topbar-slim .et-topbar-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

/* --- Left: phone + WhatsApp --- */
.et-topbar-left {
  display: flex;
  align-items: center;
  gap: 18px;
  flex: 1 1 auto;
  min-width: 0;
}

.et-topbar-contact {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: rgba(255, 255, 255, 0.92);
  text-decoration: none;
  font-weight: 500;
  white-space: nowrap;
  transition: color 0.15s;
}

.et-topbar-contact:hover,
.et-topbar-contact:focus {
  color: var(--et-gold);
  text-decoration: none;
}

.et-topbar-contact svg {
  flex-shrink: 0;
}

/* --- Right: account links / Register dropdown --- */
.et-topbar-right {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}

.et-topbar-link {
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.82rem;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  padding: 4px 0;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: color 0.15s;
}

.et-topbar-link:hover,
.et-topbar-link:focus {
  color: var(--et-gold);
  text-decoration: none;
  outline: none;
}

.et-topbar-link-login {
  /* Login is plain text */
}

.et-topbar-link-register {
  /* Register is a button with a dropdown chevron */
  background: var(--et-gold);
  color: var(--et-navy);
  padding: 5px 12px;
  border-radius: 100px;
  font-weight: 600;
}

.et-topbar-link-register:hover,
.et-topbar-link-register:focus {
  background: #e6a600;
  color: var(--et-navy);
}

.et-topbar-link-register svg {
  margin-top: 1px;
  transition: transform 0.2s;
}

.et-topbar-link-register[aria-expanded="true"] svg {
  transform: rotate(180deg);
}

/* --- Register dropdown menu --- */
.et-topbar-register-wrap {
  position: relative;
}

.et-topbar-register-menu {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  min-width: 280px;
  background: var(--et-white);
  border: 1px solid var(--et-border);
  border-radius: 10px;
  box-shadow: 0 8px 32px rgba(13, 27, 75, 0.16);
  z-index: 1050;
  padding: 6px;

  /* Hidden by default; .et-open class shows it */
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition: opacity 0.15s, transform 0.15s, visibility 0.15s;
}

.et-topbar-register-menu.et-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.et-topbar-register-menu a {
  display: block;
  padding: 12px 14px;
  border-radius: 6px;
  text-decoration: none;
  color: var(--et-text);
  transition: background 0.12s;
}

.et-topbar-register-menu a:hover,
.et-topbar-register-menu a:focus {
  background: var(--et-cream);
  color: var(--et-teal);
  text-decoration: none;
}

.et-topbar-register-menu a strong {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--et-navy);
  margin-bottom: 2px;
}

.et-topbar-register-menu a:hover strong {
  color: var(--et-teal);
}

.et-topbar-register-menu a span {
  display: block;
  font-size: 0.75rem;
  color: var(--et-muted);
  line-height: 1.35;
}

/* --- Mobile: stack into compact rows, hide WhatsApp text --- */
@media (max-width: 575px) {
  .et-topbar-slim {
    padding: 5px 0;
    font-size: 0.78rem;
  }
  .et-topbar-left {
    gap: 12px;
  }
  /* Hide the "WhatsApp" text label on tiny screens — icon stays */
  .et-topbar-contact span {
    display: none;
  }
  /* Show phone number always */
  .et-topbar-left .et-topbar-contact:first-child span {
    display: inline;
  }
  .et-topbar-right {
    gap: 10px;
  }
  .et-topbar-link-register {
    padding: 4px 10px;
    font-size: 0.78rem;
  }
  .et-topbar-register-menu {
    min-width: 240px;
    right: -8px;
  }
}

@media (max-width: 380px) {
  /* On really small screens, hide phone label too — keep icons clickable */
  .et-topbar-contact span { display: none; }
}

/* =============================================================
   TUTOR PROFILE PAGE
   --------------------------------------------------------------
   Styles specific to the individual tutor profile page
   (/tutor/profile/{id}). Renders the profile header card,
   content sections (About / Experience / Subjects), reviews
   list, and the review submission form.

   Reuses the existing design tokens (var(--et-navy), --et-teal,
   etc.) and shares the .et-mode-badge, .et-stars-row, .et-star,
   .et-sidebar-widget, .et-widget-head, .et-quick-links, .et-page-hero
   and .et-breadcrumb classes that are defined earlier in this file.
============================================================= */

/* Page wrapper — sits between hero and footer */
.et-profile-page {
  padding: 36px 0 64px;
  background: var(--et-cream);
}

/* ────────────────────────────────────────────────
   1. PROFILE HEADER CARD
   Big white card at the top of the page holding the
   photo, name, qualifications, rating, badges and CTAs.
──────────────────────────────────────────────── */
.et-profile-card {
  background: var(--et-white);
  border: 1px solid var(--et-border);
  border-radius: var(--et-radius-lg);
  overflow: hidden;
  margin-bottom: 24px;
  box-shadow: var(--et-shadow-sm);
}

/* Coloured stripe at the top of the card */
.et-profile-card-stripe {
  height: 6px;
  background: linear-gradient(90deg,
              var(--et-teal) 0%,
              var(--et-teal-lt) 50%,
              var(--et-gold) 100%);
}

.et-profile-card-body {
  display: flex;
  gap: 28px;
  padding: 28px;
  flex-wrap: wrap;
}

/* Left column: photo + rank + CTA */
.et-profile-photo-col {
  width: 200px;
  flex-shrink: 0;
  text-align: center;
}

.et-profile-photo-wrap {
  width: 180px;
  height: 180px;
  position: relative;
  margin: 0 auto 14px;
}

.et-profile-photo-wrap img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid var(--et-white);
  box-shadow: 0 0 0 3px var(--et-teal), 0 4px 16px rgba(15,123,108,0.18);
}

.et-profile-verified-badge {
  position: absolute;
  bottom: 6px; right: 6px;
  width: 36px; height: 36px;
  background: var(--et-teal);
  color: white;
  border-radius: 50%;
  border: 3px solid white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

/* Tutor rank pill under photo */
.et-tutor-rank {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  background: #FFF8E6;
  border: 1px solid rgba(232,160,32,0.35);
  color: #8C5A0E;
  border-radius: 100px;
  font-size: var(--et-text-xs);
  font-weight: 700;
  margin-bottom: 14px;
}

.et-tutor-rank i { color: var(--et-gold); }

/* CTA button under photo — full width within the photo column */
.et-profile-photo-col .btn-et-primary,
.et-profile-photo-col .btn-et-teal,
.et-profile-photo-col .btn-et-ghost {
  display: block;
  width: 100%;
  text-align: center;
  padding: 11px 18px;
  font-size: var(--et-text-sm);
  margin-bottom: 8px;
}

/* Right column: name, badges, meta */
.et-profile-info-col {
  flex: 1;
  min-width: 0;
}

.et-profile-name-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 6px;
}

.et-profile-name {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.5rem, 3vw, 1.85rem);
  font-weight: 800;
  color: var(--et-navy);
  margin: 0;
  line-height: 1.2;
}

.et-profile-tutor-id {
  font-size: var(--et-text-sm);
  color: var(--et-muted);
  font-weight: 600;
}

.et-profile-subline {
  font-size: var(--et-text-base);
  color: var(--et-muted);
  margin-bottom: 14px;
  line-height: 1.5;
}

.et-profile-subline strong { color: var(--et-navy); font-weight: 600; }

/* Star rating row in header card */
.et-profile-rating {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}

.et-profile-rating .et-stars-row {
  color: var(--et-gold);
  font-size: 1.05rem;
  letter-spacing: 2px;
}

.et-profile-rating .et-rating-text {
  font-size: var(--et-text-sm);
  color: var(--et-muted);
}

.et-profile-rating .et-rating-text strong {
  color: var(--et-navy);
  font-weight: 700;
}

.et-profile-rating .et-no-reviews {
  font-size: var(--et-text-sm);
  color: var(--et-muted);
  font-style: italic;
}

/* Badges row (mode + verified) */
.et-profile-badges {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

/* Reuse .et-mode-badge / .et-mode-online / .et-mode-home from earlier in
   the file. We add an extra "verified" badge variant here. */
.et-mode-badge.et-mode-verified {
  background: #EDF8F6;
  color: var(--et-teal);
  border: 1px solid rgba(15,123,108,0.25);
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

/* Meta grid: 2-column key/value list (Qualification, Experience etc) */
.et-profile-meta-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 24px;
  margin-bottom: 4px;
}

.et-meta-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: var(--et-text-sm);
  color: var(--et-text);
  min-width: 0;
}

.et-meta-row i {
  color: var(--et-teal);
  margin-top: 3px;
  flex-shrink: 0;
  font-size: 0.95rem;
  width: 16px;
  text-align: center;
}

.et-meta-row .et-meta-label {
  color: var(--et-muted);
  font-weight: 600;
  margin-right: 4px;
}

.et-meta-row .et-meta-value {
  color: var(--et-text);
  word-break: break-word;
}

/* ────────────────────────────────────────────────
   2. PROFILE CONTENT SECTIONS
   White cards for About / Experience / Subjects / Reviews
──────────────────────────────────────────────── */
.et-profile-section {
  background: var(--et-white);
  border: 1px solid var(--et-border);
  border-radius: var(--et-radius);
  padding: 26px 28px;
  margin-bottom: 22px;
  box-shadow: var(--et-shadow-sm);
}

.et-profile-section-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--et-cream);
}

.et-profile-section-head i {
  width: 38px;
  height: 38px;
  background: #EDF8F6;
  color: var(--et-teal);
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  flex-shrink: 0;
}

.et-profile-section-head h2 {
  font-family: 'Playfair Display', serif;
  font-size: var(--et-text-xl);
  font-weight: 700;
  color: var(--et-navy);
  margin: 0;
}

.et-profile-section p {
  font-size: var(--et-text-base);
  color: var(--et-text);
  line-height: 1.75;
  margin: 0 0 12px;
}

.et-profile-section p:last-child { margin-bottom: 0; }

/* Subject "tag" links inside the Subjects section.
   The .tutor_subjects class is generated server-side by
   tutor.php (anchor links to /search-tutor.php?subject=N).
   We re-style those plain anchors here as pill tags. */
.et-subject-link-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}

.et-subject-link-cloud .tutor_subjects,
.et-subject-link-cloud a {
  display: inline-block;
  padding: 6px 14px;
  background: var(--et-cream);
  border: 1px solid var(--et-border);
  border-radius: 100px;
  color: var(--et-text);
  font-size: var(--et-text-sm);
  font-weight: 500;
  text-decoration: none;
  transition: all 0.15s;
}

.et-subject-link-cloud .tutor_subjects:hover,
.et-subject-link-cloud a:hover {
  background: #EDF8F6;
  color: var(--et-teal);
  border-color: var(--et-teal);
  text-decoration: none;
}

/* ────────────────────────────────────────────────
   3. REVIEWS LIST
──────────────────────────────────────────────── */
.et-review-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.et-review-card {
  background: var(--et-cream);
  border: 1px solid var(--et-border);
  border-radius: var(--et-radius-sm);
  padding: 18px 20px;
  position: relative;
}

.et-review-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}

.et-review-student {
  font-size: var(--et-text-sm);
  font-weight: 700;
  color: var(--et-navy);
}

.et-review-student small {
  display: block;
  font-weight: 400;
  color: var(--et-muted);
  font-size: var(--et-text-xs);
  margin-top: 2px;
}

.et-review-stars {
  color: var(--et-gold);
  font-size: 0.95rem;
  letter-spacing: 2px;
  flex-shrink: 0;
}

.et-review-text {
  font-size: var(--et-text-sm);
  color: var(--et-text);
  line-height: 1.7;
  margin: 0;
}

.et-review-empty {
  padding: 22px;
  background: var(--et-cream);
  border: 1px dashed var(--et-border);
  border-radius: var(--et-radius-sm);
  color: var(--et-muted);
  font-size: var(--et-text-sm);
  text-align: center;
}

/* ────────────────────────────────────────────────
   4. REVIEW FORM
──────────────────────────────────────────────── */
.et-feedback-form .form-group { margin-bottom: 16px; }

.et-feedback-form label {
  display: block;
  font-size: var(--et-text-sm);
  font-weight: 600;
  color: var(--et-navy);
  margin-bottom: 6px;
}

.et-feedback-form .form-control {
  width: 100%;
  padding: 10px 14px;
  font-size: var(--et-text-sm);
  border: 1px solid var(--et-border);
  border-radius: var(--et-radius-sm);
  background: var(--et-white);
  color: var(--et-text);
  transition: border-color 0.15s, box-shadow 0.15s;
}

.et-feedback-form .form-control:focus {
  outline: none;
  border-color: var(--et-teal);
  box-shadow: 0 0 0 3px rgba(15,123,108,0.12);
}

.et-feedback-form textarea.form-control {
  min-height: 140px;
  resize: vertical;
}

.et-feedback-form-actions {
  margin-top: 4px;
}

.et-feedback-form-actions .btn-et-primary {
  padding: 12px 32px;
}

.et-feedback-toggle-btn {
  display: inline-block;
  margin-top: 8px;
}

/* ────────────────────────────────────────────────
   5. RESPONSIVE — phones & tablets
──────────────────────────────────────────────── */
@media (max-width: 767px) {
  .et-profile-card-body {
    padding: 22px 18px;
    gap: 18px;
  }
  .et-profile-photo-col {
    width: 100%;
  }
  .et-profile-photo-wrap {
    width: 150px;
    height: 150px;
  }
  .et-profile-meta-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .et-profile-section {
    padding: 20px 18px;
  }
  .et-profile-section-head h2 {
    font-size: var(--et-text-lg);
  }
}



/* =============================================================
   REQUEST TUTOR PAGE — v4 (CONSOLIDATED)
   ─────────────────────────────────────────────────────────────
   This block REPLACES the previous "REQUEST TUTOR PAGE"
   sections in etutors.css (the v2 + v3 chunks).

   To deploy:
     1. Open css/etutors.css
     2. Delete EVERYTHING from the line
            /* ===== REQUEST TUTOR PAGE  (request_tutor.php) ===== *‌/
        all the way down to the end of file (i.e. the old v2
        + v3 request-tutor sections).
     3. Paste this entire file at the bottom of etutors.css.

   What's included:
     - Form layout (no card wrapper — sits on cream background)
     - Generic et-form-* classes (labels, inputs, fieldsets,
       alerts, conditional blocks)
     - "Why us" cards (modernized: SVG icons + accent stripes)
     - "How It Works" connected timeline
     - Contact strip (dark navy band)
     - SEO long-form text block
     - FAQ overrides for the two-column request-tutor layout
============================================================= */


/* -------------------------------------------------------------
   PAGE LAYOUT — form sits directly on page (no card)
------------------------------------------------------------- */
.et-request-section {
  padding: 36px 0 64px;
  background: var(--et-cream);
}

@media (max-width: 767px) {
  .et-request-section { padding: 24px 0 48px; }
}

/* The form's outer wrap — gives the form a max-width so lines
   don't get unreadably long on big monitors, but NO card
   background. The form blends into the page. */
.et-request-wrap {
  max-width: 880px;
  margin: 0 auto;
}

/* Header (title + intro + tutor notice) */
.et-request-head {
  border-bottom: 1px solid var(--et-border);
  padding-bottom: 22px;
  margin-bottom: 28px;
}

.et-request-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--et-navy);
  margin: 0 0 10px;
  line-height: 1.25;
}

@media (max-width: 767px) {
  .et-request-title { font-size: 1.4rem; }
}

.et-request-intro {
  color: var(--et-muted);
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0 0 14px;
}

/* "Are you a tutor?" notice */
.et-form-note {
  background: rgba(232, 160, 32, 0.10);
  border-left: 3px solid var(--et-gold);
  border-radius: 6px;
  padding: 10px 14px;
  font-size: 0.88rem;
  color: var(--et-text);
  line-height: 1.55;
}

.et-form-note strong { color: var(--et-navy); margin-right: 4px; }
.et-form-note a { color: var(--et-teal); font-weight: 600; text-decoration: underline; }
.et-form-note a:hover { color: var(--et-teal-lt); }


/* -------------------------------------------------------------
   GENERIC FORM SYSTEM — et-form-*
   Reusable across any form on the site.
------------------------------------------------------------- */

.et-form { margin: 0; }

/* Section / fieldset grouping */
.et-form-section {
  border: none;
  padding: 0;
  margin: 0 0 28px;
}

.et-form-section:last-of-type { margin-bottom: 18px; }

.et-form-legend {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1rem;
  font-weight: 700;
  color: var(--et-navy);
  border: none;
  margin: 0 0 18px;
  padding: 0;
  width: auto;
}

/* Numbered step badge */
.et-form-step {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--et-teal);
  color: var(--et-white);
  font-size: 0.82rem;
  font-weight: 700;
  flex-shrink: 0;
}

/* Field group: label + input wrapper */
.et-form-group {
  margin-bottom: 16px;
}

.et-form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--et-navy);
  margin-bottom: 6px;
}

/* Red asterisk for required fields */
.et-req-mark {
  color: var(--et-red);
  font-weight: 700;
  margin-left: 2px;
}

/* The actual input/select/textarea control */
.et-form-control {
  display: block;
  width: 100%;
  padding: 10px 14px;
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--et-text);
  background: var(--et-white);
  border: 1px solid var(--et-border);
  border-radius: var(--et-radius-sm);
  transition: border-color 0.15s, box-shadow 0.15s;
  height: auto;
  box-shadow: none;
  -webkit-appearance: none;
  appearance: none;
}

.et-form-control:focus {
  outline: none;
  border-color: var(--et-teal);
  box-shadow: 0 0 0 3px rgba(15, 123, 108, 0.12);
}

.et-form-control::placeholder { color: #9CA3AF; }

/* Custom <select> chevron */
select.et-form-control {
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236B7280' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 12px;
  padding-right: 36px;
  cursor: pointer;
}

.et-form-textarea {
  min-height: 110px;
  resize: vertical;
  font-family: inherit;
}

.et-form-help {
  display: block;
  margin-top: 5px;
  font-size: 0.78rem;
  color: var(--et-muted);
  line-height: 1.45;
}


/* -------------------------------------------------------------
   CONDITIONAL BLOCKS (e.g. address rows when mode = Home)
------------------------------------------------------------- */
.et-conditional-block {
  background: var(--et-white);
  border: 1px dashed var(--et-border);
  border-radius: var(--et-radius-sm);
  padding: 16px 16px 4px;
  margin-top: 6px;
}


/* -------------------------------------------------------------
   ALERTS — success / error
------------------------------------------------------------- */
.et-alert {
  padding: 12px 16px;
  border-radius: var(--et-radius-sm);
  font-size: 0.9rem;
  margin-bottom: 20px;
  line-height: 1.5;
}

.et-alert-danger {
  background: #FEF2F2;
  border: 1px solid #FCA5A5;
  color: #B91C1C;
}

.et-alert-success {
  background: #ECFDF5;
  border: 1px solid #6EE7B7;
  color: #047857;
}


/* -------------------------------------------------------------
   SUBMIT ROW
------------------------------------------------------------- */
.et-form-submit-row {
  border-top: 1px solid var(--et-border);
  padding-top: 22px;
  margin-top: 8px;
}

.et-form-submit-btn {
  min-width: 280px;
  font-size: 1rem;
  cursor: pointer;
}

@media (max-width: 480px) {
  .et-form-submit-btn { width: 100%; min-width: 0; }
}

.et-form-loader { display: inline-block; margin-left: 10px; }

.et-form-disclaimer {
  margin: 14px 0 0;
  font-size: 0.78rem;
  color: var(--et-muted);
  line-height: 1.5;
}

.et-form-disclaimer a {
  color: var(--et-teal);
  text-decoration: underline;
}


/* -------------------------------------------------------------
   SELECTIZE OVERRIDES INSIDE THE FORM
------------------------------------------------------------- */
.et-request-wrap .selectize-control { margin-bottom: 0; }

.et-request-wrap .selectize-input {
  background: var(--et-white) !important;
  border: 1px solid var(--et-border) !important;
  border-radius: var(--et-radius-sm) !important;
  padding: 8px 12px !important;
  font-size: 0.95rem !important;
  color: var(--et-text) !important;
  box-shadow: none !important;
  min-height: 42px !important;
  line-height: 1.5;
}

.et-request-wrap .selectize-input.focus {
  border-color: var(--et-teal) !important;
  box-shadow: 0 0 0 3px rgba(15, 123, 108, 0.12) !important;
}

.et-request-wrap .selectize-input input {
  color: var(--et-text) !important;
  font-size: 0.95rem !important;
}

.et-request-wrap .selectize-dropdown {
  border: 1px solid var(--et-border) !important;
  border-radius: var(--et-radius-sm) !important;
  font-size: 0.9rem !important;
  z-index: 1000 !important;
}

/* Subjects: teal-pill chips */
.et-request-wrap .selectize-input > div {
  background: var(--et-teal) !important;
  color: var(--et-white) !important;
  border-radius: 100px !important;
  padding: 2px 24px 2px 10px !important;
  margin: 2px 4px 2px 0 !important;
  font-size: 0.78rem !important;
  position: relative !important;
}

.et-request-wrap .selectize-input > div .remove {
  color: rgba(255, 255, 255, 0.85) !important;
  border-left: none !important;
}


/* -------------------------------------------------------------
   MOBILE FORM TWEAKS
------------------------------------------------------------- */
@media (max-width: 767px) {
  .et-form-section { margin-bottom: 22px; }
  .et-form-legend { font-size: 0.95rem; }
  .et-form-control { font-size: 1rem; }     /* prevent iOS zoom */
  .et-form-help { font-size: 0.75rem; }
  .et-conditional-block { padding: 12px 12px 0; }
}


/* =============================================================
   BELOW-FORM: WHY US (modernized cards)
   ─────────────────────────────────────────────────────────────
   Each card has:
     - A thin top accent stripe (color set by data-accent)
     - A circular icon plate
     - A hover lift
   Accent colors cycle through teal / gold / navy so the row
   feels intentional, not uniform.
============================================================= */
.et-why-section { padding: 56px 0; }

@media (max-width: 767px) {
  .et-why-section { padding: 40px 0; }
}

.et-why-section .et-section-header { margin-bottom: 40px; }

.et-why-grid {
  display: flex;
  flex-wrap: wrap;
  margin-left: -10px;
  margin-right: -10px;
}

.et-why-col {
  display: flex;
  padding-left: 10px;
  padding-right: 10px;
  margin-bottom: 20px;
}

.et-why-card {
  position: relative;
  width: 100%;
  background: var(--et-white);
  border: 1px solid var(--et-border);
  border-radius: 14px;
  padding: 32px 22px 24px;
  text-align: center;
  overflow: hidden;
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}

.et-why-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--et-shadow);
  border-color: transparent;
}

/* Accent stripe — sits at the top of each card */
.et-why-card-stripe {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--et-teal);  /* default */
}

.et-why-card[data-accent="teal"] .et-why-card-stripe { background: var(--et-teal); }
.et-why-card[data-accent="gold"] .et-why-card-stripe { background: var(--et-gold); }
.et-why-card[data-accent="navy"] .et-why-card-stripe { background: var(--et-navy); }

/* Circular icon plate — color matches the stripe */
.et-why-card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  margin-bottom: 14px;
  transition: transform 0.25s;
}

.et-why-card:hover .et-why-card-icon { transform: scale(1.08); }

.et-why-card[data-accent="teal"] .et-why-card-icon {
  background: rgba(15, 123, 108, 0.10);
  color: var(--et-teal);
}

.et-why-card[data-accent="gold"] .et-why-card-icon {
  background: rgba(232, 160, 32, 0.14);
  color: var(--et-gold);
}

.et-why-card[data-accent="navy"] .et-why-card-icon {
  background: rgba(13, 27, 75, 0.08);
  color: var(--et-navy);
}

.et-why-card h4 {
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--et-navy);
  margin: 0 0 8px;
  line-height: 1.3;
}

.et-why-card p {
  font-size: 0.86rem;
  color: var(--et-muted);
  line-height: 1.6;
  margin: 0;
}


/* =============================================================
   BELOW-FORM: HOW IT WORKS — CONNECTED TIMELINE
   ─────────────────────────────────────────────────────────────
   Desktop: 4 steps on a horizontal line, dashed connector
   running behind the bubbles. Each bubble has a numbered badge
   inside a soft teal halo.

   Mobile: stacks vertically with a vertical dashed connector
   running down the left edge of each step.
============================================================= */
.et-how-section {
  padding: 56px 0;
  background: var(--et-cream);
}

@media (max-width: 767px) {
  .et-how-section { padding: 40px 0; }
}

.et-how-section .et-section-header { margin-bottom: 50px; }

/* The timeline container */
.et-timeline {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  max-width: 980px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Horizontal dashed connector — sits behind the bubbles.
   We position it at the same vertical center as the bubbles
   (bubble = 64px tall, so 32px from the top of the step). */
.et-timeline::before {
  content: '';
  position: absolute;
  top: 32px;            /* center of the 64px bubble */
  left: 80px;           /* start past the first bubble */
  right: 80px;          /* stop before the last bubble */
  height: 2px;
  background-image: linear-gradient(to right, var(--et-teal) 50%, transparent 50%);
  background-size: 12px 2px;
  background-repeat: repeat-x;
  opacity: 0.4;
  z-index: 0;
}

.et-timeline-step {
  position: relative;
  z-index: 1;
  flex: 1 1 0;
  text-align: center;
  padding: 0 8px;
}

/* The big circle with the number */
.et-timeline-bubble {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--et-white);
  border: 2px solid var(--et-teal);
  box-shadow: 0 4px 16px rgba(15, 123, 108, 0.15);
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.25s, box-shadow 0.25s;
}

.et-timeline-step:hover .et-timeline-bubble {
  transform: scale(1.08);
  box-shadow: 0 6px 22px rgba(15, 123, 108, 0.25);
}

.et-timeline-num {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--et-teal);
  line-height: 1;
}

.et-timeline-step h4 {
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--et-navy);
  margin: 0 0 6px;
  line-height: 1.3;
}

.et-timeline-step p {
  font-size: 0.85rem;
  color: var(--et-muted);
  line-height: 1.55;
  margin: 0;
}

/* --- Mobile: vertical timeline --- */
@media (max-width: 767px) {
  .et-timeline {
    flex-direction: column;
    align-items: flex-start;
    padding: 0 12px;
    gap: 28px;
  }

  /* Replace horizontal dashes with a vertical line along the
     left edge of the bubble column. */
  .et-timeline::before {
    top: 64px;
    bottom: 64px;
    left: 31px;        /* center of 64px bubble + padding */
    right: auto;
    width: 2px;
    height: auto;
    background-image: linear-gradient(to bottom, var(--et-teal) 50%, transparent 50%);
    background-size: 2px 12px;
    background-repeat: repeat-y;
  }

  .et-timeline-step {
    display: flex;
    align-items: flex-start;
    text-align: left;
    width: 100%;
    padding: 0;
    gap: 16px;
  }

  .et-timeline-bubble {
    margin: 0;
    flex-shrink: 0;
    width: 56px;
    height: 56px;
  }

  .et-timeline-num { font-size: 1.3rem; }

  .et-timeline-step h4 { margin-top: 4px; }
}


/* =============================================================
   CONTACT STRIP — DARK NAVY BAND
============================================================= */
.et-contact-strip {
  background: linear-gradient(135deg, var(--et-navy) 0%, #1B3080 100%);
  padding: 44px 0;
  color: var(--et-white);
  position: relative;
  overflow: hidden;
}

.et-contact-strip::before {
  content: '';
  position: absolute; inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 30px 30px;
  pointer-events: none;
}

.et-contact-strip .container { position: relative; z-index: 1; }

.et-contact-strip-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}

.et-contact-strip-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--et-white);
  margin: 0 0 6px;
}

.et-contact-strip-text {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.95rem;
  line-height: 1.55;
  margin: 0;
}

.et-contact-strip-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
  align-items: center;
}

@media (max-width: 991px) {
  .et-contact-strip-actions {
    justify-content: flex-start;
    margin-top: 18px;
  }
}

.et-contact-strip-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  background: rgba(255, 255, 255, 0.10);
  border: 1px solid rgba(255, 255, 255, 0.20);
  border-radius: var(--et-radius-sm);
  color: var(--et-white);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: background 0.15s, border-color 0.15s;
}

.et-contact-strip-btn:hover,
.et-contact-strip-btn:focus {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.35);
  color: var(--et-white);
  text-decoration: none;
}

.et-contact-strip-btn svg { color: var(--et-gold); flex-shrink: 0; }
.et-contact-strip-btn--wa svg { color: #25D366; }


/* =============================================================
   SEO LONG-FORM TEXT BLOCK
============================================================= */
.et-seo-block { padding: 56px 0; }

.et-seo-block .et-seo-h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--et-navy);
  margin: 0 0 18px;
  line-height: 1.25;
}

@media (max-width: 767px) {
  .et-seo-block .et-seo-h2 { font-size: 1.4rem; }
}

.et-seo-block .et-seo-h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--et-navy);
  margin: 28px 0 10px;
  line-height: 1.3;
}

.et-seo-block p {
  font-size: 0.97rem;
  color: var(--et-text);
  line-height: 1.75;
  margin: 0 0 12px;
}

.et-seo-block p strong { color: var(--et-navy); font-weight: 700; }

.et-seo-cta-line {
  margin-top: 22px !important;
  padding: 16px 18px;
  background: var(--et-white);
  border: 1px solid var(--et-border);
  border-left: 4px solid var(--et-teal);
  border-radius: var(--et-radius-sm);
  font-size: 0.95rem !important;
}

.et-seo-cta-line a {
  color: var(--et-teal);
  font-weight: 600;
  text-decoration: underline;
}


/* =============================================================
   FAQ OVERRIDES — REQUEST TUTOR PAGE
   ─────────────────────────────────────────────────────────────
   Polish on top of the existing .et-faq panel styles.
   Tighter spacing, larger touch targets, slightly bolder
   headings — works in the new two-column layout.
============================================================= */
.et-faq-rt .et-section-header { margin-bottom: 36px; }

.et-faq-rt .panel-group { margin-bottom: 0; }

.et-faq-rt .panel {
  border: 1px solid var(--et-border);
  border-radius: 12px !important;
  background: var(--et-white);
  margin-bottom: 14px;
  box-shadow: 0 1px 3px rgba(13, 27, 75, 0.03);
  transition: box-shadow 0.2s, border-color 0.2s;
}

.et-faq-rt .panel:hover {
  border-color: var(--et-teal);
  box-shadow: 0 4px 12px rgba(13, 27, 75, 0.08);
}

.et-faq-rt .panel-heading {
  background: transparent;
  border: none;
  padding: 0;
  border-radius: 12px !important;
}

.et-faq-rt .panel-heading .panel-title a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  padding: 18px 22px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--et-navy);
  text-decoration: none;
  line-height: 1.4;
}

.et-faq-rt .panel-heading .panel-title a:hover { color: var(--et-teal); }

.et-faq-rt .panel-heading .panel-title a .et-faq-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(15, 123, 108, 0.10);
  color: var(--et-teal);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 600;
  line-height: 1;
  transition: transform 0.3s, background 0.2s;
  margin-left: 0;
}

.et-faq-rt .panel-heading .panel-title a:not(.collapsed) .et-faq-icon {
  transform: rotate(45deg);
  background: var(--et-teal);
  color: var(--et-white);
}

.et-faq-rt .panel-body {
  font-size: 0.9rem;
  color: var(--et-text);
  line-height: 1.7;
  border-top: 1px solid var(--et-border) !important;
  padding: 14px 22px 18px;
  background: var(--et-cream);
  border-radius: 0 0 12px 12px;
}

@media (max-width: 767px) {
  .et-faq-rt .panel-heading .panel-title a {
    padding: 14px 16px;
    font-size: 0.9rem;
  }
  .et-faq-rt .panel-body {
    padding: 12px 16px 14px;
  }
}

/* =============================================================
   FORM REASSURANCE LIST
   Three checkmark items shown directly below the submit button
   on the request-tutor form. Inline on desktop, stacked on
   mobile. Greenish-teal checkmarks pull from the brand palette.
============================================================= */
.et-form-reassure {
  list-style: none;
  padding: 0;
  margin: 18px 0 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  justify-content: center;
  font-size: 0.9rem;
  color: var(--et-text-muted, #5a6470);
}

.et-form-reassure li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.et-form-reassure i {
  color: var(--et-teal, #1cb5a8);
  font-size: 1rem;
  flex-shrink: 0;
}

/* On mobile, stack vertically and left-align so each point is easy to scan */
@media (max-width: 600px) {
  .et-form-reassure {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    text-align: left;
  }
}