/* ================================================
   Tuitly - Main Stylesheet
   Author: Tuitly Dev Team
   ================================================ */

:root {
  --primary:       #4f46e5;
  --primary-dark:  #3730a3;
  --primary-light: #e0e7ff;
  --secondary:     #0891b2;
  --accent:        #f59e0b;
  --success:       #059669;
  --danger:        #dc2626;
  --text-dark:     #111827;
  --text-mid:      #374151;
  --text-light:    #6b7280;
  --bg-light:      #f8fafc;
  --bg-card:       #ffffff;
  --border:        #e5e7eb;
  --radius:        12px;
  --radius-lg:     20px;
  --shadow-sm:     0 1px 3px rgba(0,0,0,.08);
  --shadow:        0 4px 16px rgba(79,70,229,.1);
  --shadow-lg:     0 8px 32px rgba(79,70,229,.15);
  --transition:    all .25s ease;
}

*, *::before, *::after { box-sizing: border-box; }

body {
  font-family: 'Inter', sans-serif;
  color: var(--text-dark);
  background: #fff;
  line-height: 1.65;
  font-size: 15px;
}

h1,h2,h3,h4,h5,h6 {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.3;
}

a { color: var(--primary); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--primary-dark); }

img { max-width: 100%; }

/* -----------------------------------------------
   TOP BAR
----------------------------------------------- */
.topbar {
  background: var(--primary-dark);
  color: #c7d2fe;
  font-size: 0.8rem;
  padding: 6px 0;
}
.topbar .topbar-link { color: #c7d2fe; font-size: 0.8rem; }
.topbar .topbar-link:hover { color: #fff; }
.topbar .divider { color: var(--primary); }

/* -----------------------------------------------
   NAVIGATION
----------------------------------------------- */
.main-nav {
  background: #fff;
  box-shadow: 0 2px 20px rgba(0,0,0,.08);
  padding: 0;
  z-index: 1000;
}

.navbar-brand { padding: 10px 0; }
.logo-text { font-family: 'Poppins', sans-serif; font-size: 1.75rem; font-weight: 800; color: var(--primary); }
.logo-accent { color: var(--primary); }
.logo-text-fallback { font-family: 'Poppins', sans-serif; font-size: 1.75rem; font-weight: 800; color: var(--primary); }
.logo-tagline { font-size: 0.62rem; color: var(--text-light); letter-spacing: .5px; display: block; margin-top: -6px; font-weight: 400; }

.main-nav .nav-link {
  font-weight: 500;
  color: var(--text-mid);
  padding: 20px 14px;
  font-size: 0.9rem;
}
.main-nav .nav-link:hover,
.main-nav .nav-link.active { color: var(--primary); }

/* Mega Menu */
.mega-menu {
  width: 500px;
  padding: 20px;
  border: none;
  box-shadow: var(--shadow-lg);
  border-radius: var(--radius);
  border-top: 3px solid var(--primary);
}
.mega-menu .dropdown-item {
  font-size: 0.85rem;
  padding: 5px 10px;
  color: var(--text-mid);
  border-radius: 6px;
}
.mega-menu .dropdown-item:hover { background: var(--primary-light); color: var(--primary); }

/* Nav Search */
.nav-search .nav-search-inner {
  display: flex;
  gap: 6px;
  background: var(--bg-light);
  border-radius: 30px;
  padding: 5px;
  border: 1px solid var(--border);
}
.nav-search .form-select,
.nav-search .form-control {
  border: none;
  background: transparent;
  font-size: 0.82rem;
  padding: 4px 10px;
  min-width: 120px;
}
.nav-search .form-select:focus,
.nav-search .form-control:focus { box-shadow: none; }
.nav-search .btn { border-radius: 20px; padding: 4px 12px; }

/* -----------------------------------------------
   BUTTONS
----------------------------------------------- */
.btn-primary {
  background: var(--primary);
  border-color: var(--primary);
  font-weight: 600;
  letter-spacing: .3px;
}
.btn-primary:hover { background: var(--primary-dark); border-color: var(--primary-dark); }
.btn-outline-primary { color: var(--primary); border-color: var(--primary); font-weight: 600; }
.btn-outline-primary:hover { background: var(--primary); color: #fff; }
.btn-accent { background: var(--accent); border-color: var(--accent); color: #fff; font-weight: 600; }
.btn-accent:hover { background: #d97706; border-color: #d97706; color: #fff; }
.btn-lg { padding: 12px 28px; font-size: 1rem; }
.btn-xl { padding: 14px 36px; font-size: 1.05rem; border-radius: 50px; }

/* -----------------------------------------------
   HERO SECTION
----------------------------------------------- */
.hero {
  background: linear-gradient(135deg, #1e1b4b 0%, #312e81 40%, #3730a3 100%);
  padding: 80px 0 60px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(99,102,241,.25) 0%, transparent 70%);
  border-radius: 50%;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(139,92,246,.2) 0%, transparent 70%);
  border-radius: 50%;
}
.hero-content { position: relative; z-index: 2; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,.15);
  color: #c7d2fe;
  font-size: 0.82rem;
  padding: 6px 14px;
  border-radius: 20px;
  margin-bottom: 18px;
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255,255,255,.2);
}
.hero h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  color: #fff;
  font-weight: 800;
  margin-bottom: 16px;
}
.hero h1 span { color: var(--accent); }
.hero-sub {
  color: #c7d2fe;
  font-size: 1.05rem;
  margin-bottom: 32px;
  max-width: 540px;
}

/* Hero Search Box */
.hero-search-box {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 10px;
  box-shadow: 0 20px 60px rgba(0,0,0,.25);
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
.hero-search-box .search-field {
  flex: 1;
  min-width: 160px;
  border: none;
  padding: 10px 14px;
  font-size: 0.9rem;
  border-radius: 8px;
  background: var(--bg-light);
  color: var(--text-dark);
}
.hero-search-box .search-field:focus { outline: none; background: var(--primary-light); }
.hero-search-box .search-divider { color: var(--border); font-size: 1.5rem; }
.hero-search-btn {
  background: var(--primary);
  color: #fff;
  border: none;
  padding: 12px 28px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}
.hero-search-btn:hover { background: var(--primary-dark); transform: translateY(-1px); }

/* Hero Stats */
.hero-stats { display: flex; gap: 28px; flex-wrap: wrap; margin-top: 30px; }
.hero-stat { color: #FEE9E2; }
.hero-stat .stat-num { font-size: 1.6rem; font-weight: 800; color: #fff; display: block; }
.hero-stat .stat-label { font-size: 0.78rem; color: #a5b4fc; letter-spacing: .3px; }

/* Hero Image side */
.hero-image-wrap { position: relative; z-index: 2; }
.hero-card-float {
  background: #fff;
  border-radius: var(--radius);
  padding: 14px 18px;
  box-shadow: var(--shadow-lg);
  position: absolute;
}
.hero-card-float.card-verified { bottom: 30px; left: -20px; display: flex; align-items: center; gap: 10px; }
.hero-card-float.card-rating { top: 30px; right: -10px; text-align: center; }
.hero-card-float .card-title { font-size: 0.78rem; font-weight: 600; color: var(--text-dark); margin: 0; }
.hero-card-float .card-sub { font-size: 0.72rem; color: var(--text-light); }

/* -----------------------------------------------
   SECTION COMMONS
----------------------------------------------- */
.section { padding: 70px 0; }
.section-alt { background: var(--bg-light); }
.section-title { font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 800; margin-bottom: 10px; }
.section-sub { color: var(--text-light); font-size: 1rem; max-width: 520px; margin: 0 auto 36px; }
.section-label {
  display: inline-block;
  background: var(--primary-light);
  color: var(--primary);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 10px;
}

/* -----------------------------------------------
   CATEGORY CARDS
----------------------------------------------- */
.cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 16px; }
.cat-card {
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 24px 16px;
  text-align: center;
  border: 1px solid var(--border);
  transition: var(--transition);
  cursor: pointer;
  display: block;
  text-decoration: none;
  color: var(--text-dark);
}
.cat-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow);
  transform: translateY(-3px);
  color: var(--primary);
}
.cat-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
  font-size: 1.4rem;
  transition: var(--transition);
}
.cat-card:hover .cat-icon { transform: scale(1.1); }
.cat-name { font-weight: 600; font-size: 0.88rem; }
.cat-count { font-size: 0.75rem; color: var(--text-light); margin-top: 3px; }

/* -----------------------------------------------
   TEACHER CARD
----------------------------------------------- */
.teacher-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: var(--transition);
  height: 100%;
  display: flex;
  flex-direction: column;
}
.teacher-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
  border-color: transparent;
}
.teacher-card-header {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  padding: 20px;
  text-align: center;
  position: relative;
}
.teacher-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 3px solid rgba(255,255,255,.5);
  overflow: hidden;
  margin: 0 auto;
  background: rgba(255,255,255,.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: #fff;
  font-weight: 700;
  font-family: 'Poppins', sans-serif;
}
.teacher-avatar img { width: 100%; height: 100%; object-fit: cover; }
.verified-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--success);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 3px;
}
.teacher-name-header {
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  margin-top: 10px;
  margin-bottom: 2px;
}
.teacher-tagline-header { color: rgba(255,255,255,.8); font-size: 0.78rem; }

.teacher-card-body { padding: 18px; flex: 1; }
.teacher-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.teacher-meta span {
  font-size: 0.78rem;
  color: var(--text-light);
  display: flex;
  align-items: center;
  gap: 4px;
}
.teacher-subjects { display: flex; flex-wrap: wrap; gap: 5px; margin-bottom: 14px; }
.subject-tag {
  background: var(--primary-light);
  color: var(--primary);
  font-size: 0.72rem;
  padding: 3px 10px;
  border-radius: 20px;
  font-weight: 600;
}
.teacher-rating { display: flex; align-items: center; gap: 6px; margin-bottom: 14px; }
.rating-score { font-size: 1.1rem; font-weight: 800; color: var(--text-dark); }
.review-count { font-size: 0.78rem; color: var(--text-light); }
.teacher-fee { font-size: 1rem; font-weight: 700; color: var(--primary); }
.teacher-fee span { font-size: 0.78rem; font-weight: 400; color: var(--text-light); }
.badge-loc {
  background: #f0fdf4;
  color: var(--success);
  font-size: 0.72rem;
  padding: 3px 8px;
  border-radius: 10px;
  font-weight: 600;
}

.teacher-card-footer {
  padding: 14px 18px;
  border-top: 1px solid var(--border);
  display: flex;
  gap: 8px;
}
.teacher-card-footer .btn { flex: 1; font-size: 0.82rem; padding: 8px; }

/* -----------------------------------------------
   HOW IT WORKS
----------------------------------------------- */
.how-step {
  text-align: center;
  padding: 30px 20px;
  position: relative;
}
.step-number {
  width: 54px;
  height: 54px;
  background: var(--primary);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 800;
  margin: 0 auto 18px;
  position: relative;
}
.step-icon-wrap {
  width: 90px;
  height: 90px;
  background: var(--primary-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-size: 2rem;
  color: var(--primary);
  transition: var(--transition);
}
.how-step:hover .step-icon-wrap {
  background: var(--primary);
  color: #fff;
  transform: scale(1.08);
}
.how-step h5 { font-size: 1rem; margin-bottom: 8px; }
.how-step p { font-size: 0.88rem; color: var(--text-light); }
.step-connector {
  position: absolute;
  top: 45px;
  right: -30%;
  width: 60%;
  height: 2px;
  background: linear-gradient(to right, var(--primary), var(--primary-light));
}

/* -----------------------------------------------
   TESTIMONIAL
----------------------------------------------- */
.testimonial-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  height: 100%;
}
.testimonial-quote { font-size: 2.5rem; color: var(--primary); line-height: 1; margin-bottom: 10px; }
.testimonial-text { color: var(--text-mid); font-size: 0.92rem; line-height: 1.7; margin-bottom: 20px; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--primary); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 1rem;
}
.testimonial-name { font-weight: 700; font-size: 0.9rem; }
.testimonial-role { font-size: 0.75rem; color: var(--text-light); }

/* -----------------------------------------------
   SEARCH PAGE
----------------------------------------------- */
.search-header {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  padding: 36px 0;
  color: #fff;
}
.search-header h1 { color: #fff; font-size: 1.8rem; margin-bottom: 5px; }
.search-header p { color: rgba(255,255,255,.8); font-size: 0.9rem; }

.filter-sidebar {
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 20px;
  position: sticky;
  top: 80px;
}
.filter-title { font-size: 0.9rem; font-weight: 700; margin-bottom: 12px; padding-bottom: 8px; border-bottom: 1px solid var(--border); }
.filter-group { margin-bottom: 20px; }
.filter-label { font-size: 0.8rem; font-weight: 600; color: var(--text-mid); margin-bottom: 8px; text-transform: uppercase; letter-spacing: .5px; }
.filter-option { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; font-size: 0.85rem; cursor: pointer; }
.filter-option input[type=checkbox] { accent-color: var(--primary); }

.results-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding: 14px 18px;
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  font-size: 0.88rem;
}
.result-count strong { color: var(--primary); }
.sort-select { border: 1px solid var(--border); border-radius: 8px; padding: 6px 10px; font-size: 0.83rem; }

/* -----------------------------------------------
   TEACHER PROFILE PAGE
----------------------------------------------- */
.profile-hero {
  background: linear-gradient(135deg, #1e1b4b 0%, #3730a3 100%);
  padding: 40px 0;
}
.profile-img-wrap {
  width: 120px; height: 120px; border-radius: 50%;
  border: 4px solid rgba(255,255,255,.5);
  overflow: hidden; background: rgba(255,255,255,.2);
  display: flex; align-items: center; justify-content: center;
  font-size: 2.8rem; font-weight: 800; color: #fff;
}
.profile-img-wrap img { width: 100%; height: 100%; object-fit: cover; }
.profile-name { font-size: 1.8rem; color: #fff; font-weight: 800; margin-bottom: 6px; }
.profile-tagline { color: rgba(255,255,255,.8); font-size: 0.95rem; margin-bottom: 14px; }
.profile-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.profile-badge {
  background: rgba(255,255,255,.15);
  color: rgba(255,255,255,.9);
  font-size: 0.78rem;
  padding: 5px 12px;
  border-radius: 20px;
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255,255,255,.2);
}
.profile-fee-box {
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: var(--radius);
  padding: 16px 20px;
  text-align: center;
  color: #fff;
}
.profile-fee-box .fee-amount { font-size: 1.8rem; font-weight: 800; }
.profile-fee-box .fee-label { font-size: 0.78rem; opacity: .7; }

.profile-section {
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 24px;
  margin-bottom: 20px;
}
.profile-section h4 {
  font-size: 1rem;
  font-weight: 700;
  padding-bottom: 12px;
  margin-bottom: 16px;
  border-bottom: 2px solid var(--primary-light);
  color: var(--primary);
}
.edu-item { padding: 12px 0; border-bottom: 1px solid var(--bg-light); }
.edu-item:last-child { border-bottom: none; }
.edu-course { font-weight: 700; font-size: 0.9rem; }
.edu-institute { font-size: 0.82rem; color: var(--text-light); }

.contact-card {
  background: var(--primary);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 24px;
  position: sticky;
  top: 80px;
}
.contact-card h5 { color: #fff; font-size: 1rem; margin-bottom: 16px; }
.contact-card .btn-white {
  background: #fff; color: var(--primary); font-weight: 700;
  width: 100%; margin-bottom: 10px; border: none;
}
.contact-card .btn-white:hover { background: var(--primary-light); }
.contact-card .btn-outline-white {
  border: 2px solid rgba(255,255,255,.5); color: #fff; font-weight: 600;
  width: 100%; background: transparent;
}
.contact-card .btn-outline-white:hover { background: rgba(255,255,255,.15); }

/* -----------------------------------------------
   FORMS (Login / Register / Profile)
----------------------------------------------- */
.auth-page { min-height: 80vh; display: flex; align-items: center; background: var(--bg-light); }
.auth-card {
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  max-width: 900px;
  width: 100%;
  margin: auto;
}
.auth-left {
  background: linear-gradient(135deg, #1e1b4b 0%, #3730a3 100%);
  padding: 50px 40px;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.auth-left h2 { color: #fff; font-size: 1.7rem; margin-bottom: 14px; }
.auth-left p { color: rgba(255,255,255,.8); font-size: 0.9rem; line-height: 1.7; }
.auth-feature { display: flex; align-items: center; gap: 10px; margin-top: 16px; font-size: 0.85rem; color: #c7d2fe; }
.auth-feature i { color: var(--accent); font-size: 1rem; }
.auth-right { padding: 40px; }
.auth-right h3 { font-size: 1.4rem; margin-bottom: 6px; }
.auth-right .auth-sub { color: var(--text-light); font-size: 0.88rem; margin-bottom: 24px; }

.form-label { font-size: 0.85rem; font-weight: 600; color: var(--text-mid); margin-bottom: 5px; }
.form-control, .form-select {
  border: 1.5px solid var(--border);
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 0.88rem;
  transition: var(--transition);
}
.form-control:focus, .form-select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(79,70,229,.1);
}
.input-icon-wrap { position: relative; }
.input-icon-wrap .input-icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-light);
  font-size: 0.9rem;
}
.input-icon-wrap .form-control { padding-left: 36px; }
.divider-or {
  text-align: center;
  position: relative;
  margin: 18px 0;
  color: var(--text-light);
  font-size: 0.82rem;
}
.divider-or::before, .divider-or::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 42%;
  height: 1px;
  background: var(--border);
}
.divider-or::before { left: 0; }
.divider-or::after { right: 0; }

/* -----------------------------------------------
   DASHBOARD / PROFILE SETTINGS
----------------------------------------------- */
.dashboard-wrap { background: var(--bg-light); min-height: 80vh; }
.dash-sidebar {
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  overflow: hidden;
  position: sticky;
  top: 80px;
}
.dash-profile-top {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  padding: 24px;
  text-align: center;
}
.dash-avatar {
  width: 72px; height: 72px; border-radius: 50%;
  border: 3px solid rgba(255,255,255,.5);
  overflow: hidden; background: rgba(255,255,255,.2);
  margin: 0 auto 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem; font-weight: 800; color: #fff;
}
.dash-avatar img { width: 100%; height: 100%; object-fit: cover; }
.dash-name { color: #fff; font-size: 0.95rem; font-weight: 700; margin-bottom: 2px; }
.dash-type { color: rgba(255,255,255,.7); font-size: 0.75rem; }

.dash-nav { list-style: none; padding: 12px 0; margin: 0; }
.dash-nav li a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 20px;
  color: var(--text-mid);
  font-size: 0.88rem;
  font-weight: 500;
  transition: var(--transition);
}
.dash-nav li a:hover, .dash-nav li a.active {
  background: var(--primary-light);
  color: var(--primary);
  border-right: 3px solid var(--primary);
}
.dash-nav li a i { width: 18px; }

.content-card {
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 24px;
  margin-bottom: 20px;
}
.content-card-title {
  font-size: 1rem;
  font-weight: 700;
  padding-bottom: 14px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.content-card-title a { font-size: 0.82rem; color: var(--primary); font-weight: 600; }

.progress-steps {
  display: flex;
  gap: 4px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.prog-step {
  flex: 1;
  min-width: 60px;
  background: var(--border);
  height: 4px;
  border-radius: 2px;
  transition: var(--transition);
}
.prog-step.done { background: var(--primary); }
.prog-step.current { background: var(--accent); }

/* -----------------------------------------------
   LOCATION SEO PAGES
----------------------------------------------- */
.location-hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  padding: 50px 0;
  color: #fff;
}
.location-hero h1 { color: #fff; font-size: 2rem; }
.location-hero p { color: rgba(255,255,255,.8); }
.breadcrumb-seo { background: transparent; padding: 0; margin: 0; }
.breadcrumb-seo .breadcrumb-item { font-size: 0.82rem; color: rgba(255,255,255,.7); }
.breadcrumb-seo .breadcrumb-item.active { color: rgba(255,255,255,.9); }
.breadcrumb-seo .breadcrumb-item + .breadcrumb-item::before { color: rgba(255,255,255,.5); }

.seo-content-section {
  background: var(--bg-light);
  border-radius: var(--radius);
  padding: 36px;
  margin-top: 50px;
  border: 1px solid var(--border);
}
.seo-content-section h2 { font-size: 1.4rem; color: var(--primary); margin-bottom: 16px; }
.seo-content-section p { color: var(--text-mid); line-height: 1.8; margin-bottom: 14px; font-size: 0.92rem; }

/* -----------------------------------------------
   FOOTER
----------------------------------------------- */
.site-footer { background: #0f172a; color: #94a3b8; }
.footer-main { padding: 60px 0 40px; }
.footer-logo .logo-text { font-size: 1.6rem; }
.footer-desc { font-size: 0.85rem; color: #94a3b8; line-height: 1.7; max-width: 280px; }
.footer-social { display: flex; gap: 10px; }
.footer-social a {
  width: 36px; height: 36px;
  background: rgba(255,255,255,.08);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #94a3b8; font-size: 0.85rem;
  transition: var(--transition);
}
.footer-social a:hover { background: var(--primary); color: #fff; }
.footer-heading { color: #f1f5f9; font-size: 0.88rem; font-weight: 700; margin-bottom: 14px; letter-spacing: .3px; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 8px; }
.footer-links a { color: #94a3b8; font-size: 0.83rem; transition: var(--transition); }
.footer-links a:hover { color: #fff; padding-left: 4px; }
.footer-newsletter .form-control {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  color: #fff;
  font-size: 0.82rem;
}
.footer-newsletter .form-control::placeholder { color: #64748b; }
.footer-newsletter .form-control:focus { border-color: var(--primary); box-shadow: none; }
.app-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,.08);
  color: #94a3b8;
  font-size: 0.72rem;
  padding: 5px 10px;
  border-radius: 6px;
  border: 1px solid rgba(255,255,255,.1);
  transition: var(--transition);
}
.app-badge:hover { background: rgba(255,255,255,.15); color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 18px 0;
  font-size: 0.8rem;
}
.footer-bottom a { color: #64748b; }
.footer-bottom a:hover { color: #fff; }

/* -----------------------------------------------
   MISC COMPONENTS
----------------------------------------------- */
.stats-section { background: var(--primary); color: #fff; padding: 50px 0; }
.stat-item { text-align: center; }
.stat-num { font-size: 2.4rem; font-weight: 800; font-family: 'Poppins',sans-serif; }
.stat-label { font-size: 0.88rem; color: rgba(255,255,255,.8); margin-top: 4px; }

.why-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 28px 22px;
  border: 1px solid var(--border);
  text-align: center;
  transition: var(--transition);
}
.why-card:hover { box-shadow: var(--shadow-lg); border-color: transparent; transform: translateY(-3px); }
.why-icon {
  width: 64px; height: 64px; border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px;
  font-size: 1.6rem;
  transition: var(--transition);
}
.why-card:hover .why-icon { transform: scale(1.1); }
.why-card h5 { font-size: 0.95rem; margin-bottom: 8px; }
.why-card p { font-size: 0.83rem; color: var(--text-light); margin: 0; }

.faq-item { margin-bottom: 10px; }
.faq-item .accordion-button {
  font-weight: 600; font-size: 0.9rem; color: var(--text-dark);
  background: #fff; border-radius: var(--radius) !important;
}
.faq-item .accordion-button:not(.collapsed) {
  background: var(--primary-light); color: var(--primary);
}
.faq-item .accordion-button::after { filter: none; }

/* Alert / Toast */
.alert-success { border-color: #a7f3d0; background: #f0fdf4; color: #065f46; }
.alert-danger  { border-color: #fecaca; background: #fef2f2; color: #991b1b; }

/* Pagination */
.pagination .page-link {
  border-radius: 8px !important;
  margin: 0 3px;
  border: 1px solid var(--border);
  color: var(--primary);
  font-size: 0.85rem;
}
.pagination .page-item.active .page-link { background: var(--primary); border-color: var(--primary); }

/* Loader */
.page-loader {
  position: fixed; inset: 0; background: #fff;
  display: flex; align-items: center; justify-content: center;
  z-index: 9999; transition: opacity .4s ease;
}
.page-loader.hide { opacity: 0; pointer-events: none; }
.loader-logo { font-family: 'Poppins',sans-serif; font-size: 2.2rem; font-weight: 800; color: var(--primary); animation: pulse 1.2s infinite; }
.loader-logo span { color: var(--accent); }
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:.4} }

/* Tag cloud */
.tag-cloud { display: flex; flex-wrap: wrap; gap: 8px; }
.tag-cloud a {
  background: var(--bg-light);
  color: var(--text-mid);
  font-size: 0.8rem;
  padding: 5px 12px;
  border-radius: 20px;
  border: 1px solid var(--border);
  transition: var(--transition);
}
.tag-cloud a:hover { background: var(--primary); color: #fff; border-color: var(--primary); }

/* -----------------------------------------------
   RESPONSIVE
----------------------------------------------- */
@media (max-width: 991px) {
  .hero { padding: 50px 0 40px; }
  .hero-image-wrap { margin-top: 30px; }
  .mega-menu { width: auto; }
  .main-nav .nav-link { padding: 10px 14px; }
  .filter-sidebar { position: static; margin-bottom: 20px; }
  .contact-card { position: static; }
  .dash-sidebar { position: static; margin-bottom: 20px; }
}
@media (max-width: 767px) {
  .section { padding: 50px 0; }
  .hero-search-box { flex-direction: column; }
  .hero-search-box .search-field { min-width: 100%; }
  .hero-stats { gap: 18px; }
  .topbar { display: none; }
  .auth-left { display: none; }
  .seo-content-section { padding: 24px; }
  .step-connector { display: none; }
}

/* =============================================
   DASHBOARD STYLES
============================================= */
.dash-page-wrapper {
    padding: 40px 0 60px;
    background: #f8f9fa;
    min-height: 70vh;
}

/* Sidebar */
.dash-sidebar {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 2px 20px rgba(0,0,0,.07);
    overflow: hidden;
    position: sticky;
    top: 80px;
}

.dash-sidebar-profile {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    padding: 24px 20px;
    text-align: center;
    color: #fff;
}

.dash-avatar {
    width: 72px; height: 72px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.8rem; font-weight: 700; color: #fff;
    margin: 0 auto 12px;
    border: 3px solid rgba(255,255,255,.4);
    overflow: hidden;
}
.dash-avatar img { width: 100%; height: 100%; object-fit: cover; }
.dash-profile-info h5 { font-size: .95rem; margin-bottom: 4px; }
.dash-profile-info p { font-size: .78rem; opacity: .85; margin-bottom: 8px; }

.dash-nav ul { list-style: none; padding: 10px 0; margin: 0; }
.dash-nav li a {
    display: flex; align-items: center; gap: 10px;
    padding: 11px 20px;
    color: var(--dark); font-size: .875rem;
    text-decoration: none;
    transition: all .2s;
}
.dash-nav li a:hover, .dash-nav li.active a {
    background: var(--primary-light);
    color: var(--primary);
    padding-left: 26px;
}
.dash-nav li a i { width: 18px; text-align: center; }
.dash-nav .nav-header {
    padding: 14px 20px 6px;
    font-size: .7rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: .1em;
    color: #adb5bd;
}

/* Cards */
.dash-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 2px 16px rgba(0,0,0,.06);
    overflow: hidden;
}
.dash-card-header {
    display: flex; align-items: center; justify-content: space-between;
    padding: 18px 24px;
    border-bottom: 1px solid #f0f0f0;
}
.dash-card-header h5 { margin: 0; font-size: 1rem; font-weight: 600; }
.dash-card-body { padding: 24px; }

/* Welcome Banner */
.dash-welcome-banner {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: #fff; border-radius: 16px;
    padding: 28px 28px;
    display: flex; align-items: center; justify-content: space-between;
    gap: 16px; margin-bottom: 24px;
    flex-wrap: wrap;
}
.dash-welcome-text h3 { font-size: 1.3rem; margin-bottom: 4px; }
.dash-welcome-text p { opacity: .85; margin: 0; font-size: .9rem; }
.dash-welcome-banner .btn { white-space: nowrap; flex-shrink: 0; }

/* Stat Cards */
.dash-stat-card {
    background: #fff; border-radius: 14px;
    box-shadow: 0 2px 12px rgba(0,0,0,.07);
    padding: 18px; display: flex; align-items: center; gap: 14px;
}
.dash-stat-icon {
    width: 48px; height: 48px; border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.2rem; flex-shrink: 0;
}
.dash-stat-info h4 { font-size: 1.4rem; font-weight: 700; margin: 0 0 2px; }
.dash-stat-info p { margin: 0; font-size: .78rem; color: #888; }

.bg-primary-light { background: rgba(79,70,229,.12); }
.bg-success-light { background: rgba(16,185,129,.12); }
.bg-warning-light { background: rgba(245,158,11,.12); }
.bg-info-light { background: rgba(8,145,178,.12); }

/* Todo list */
.dash-todo-list { list-style: none; padding: 0; margin: 0; }
.dash-todo-list li {
    padding: 6px 0; font-size: .875rem; color: #555;
    display: flex; align-items: center; gap: 8px;
}

/* Quick Links */
.dash-quick-link {
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    background: #f8f9fa; border-radius: 12px;
    padding: 18px 12px; text-align: center;
    text-decoration: none; color: var(--dark);
    transition: all .2s; border: 2px solid transparent; gap: 8px;
}
.dash-quick-link:hover {
    background: var(--primary-light); border-color: var(--primary); color: var(--primary);
}
.dash-quick-link i { font-size: 1.4rem; }
.dash-quick-link span { font-size: .8rem; font-weight: 600; }

/* Review Items */
.dash-review-item {
    padding: 18px 24px;
    border-bottom: 1px solid #f0f0f0;
}
.dash-review-item:last-child { border-bottom: none; }
.dash-review-avatar {
    width: 40px; height: 40px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: #fff; font-weight: 700; font-size: 1rem; flex-shrink: 0;
}
.stars-sm { font-size: .75rem; color: var(--accent); }

/* CTA card in dashboard */
.dash-cta-card {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border-radius: 16px; padding: 24px;
    display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
}
.dash-cta-content { display: flex; align-items: center; gap: 16px; }
.dash-cta-icon { font-size: 2.5rem; color: var(--accent); }

/* Empty state */
.dash-empty-state {
    text-align: center; padding: 40px 20px;
    color: #adb5bd; background: #fff; border-radius: 16px;
    box-shadow: 0 2px 12px rgba(0,0,0,.06);
}
.dash-empty-state i { font-size: 3rem; margin-bottom: 16px; display: block; }
.dash-empty-state p { margin: 0; font-size: .9rem; }

/* =============================================
   PROFILE SETUP STEPS NAV
============================================= */
.profile-steps-nav {
    display: flex; align-items: center; gap: 0;
    background: #fff; border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0,0,0,.06);
    padding: 16px 20px; margin-bottom: 24px;
    overflow-x: auto; flex-wrap: nowrap;
}
.step-item {
    display: flex; align-items: center; gap: 8px;
    text-decoration: none; color: #888;
    font-size: .8rem; font-weight: 600; white-space: nowrap;
    padding: 6px 12px; border-radius: 8px;
    transition: all .2s;
}
.step-item span {
    width: 26px; height: 26px; border-radius: 50%;
    background: #e9ecef; color: #888;
    display: flex; align-items: center; justify-content: center;
    font-size: .75rem; font-weight: 700; flex-shrink: 0;
}
.step-item.active { color: var(--primary); }
.step-item.active span { background: var(--primary); color: #fff; }
.step-item.completed span { background: #10b981; color: #fff; }
.step-item.completed { color: #10b981; }
.step-item:hover { background: var(--primary-light); }

/* Profile Photo Upload */
.profile-photo-upload {
    display: flex; align-items: center; gap: 20px;
    padding: 20px; background: #f8f9fa; border-radius: 12px;
}
.photo-preview-wrap { position: relative; flex-shrink: 0; }
.photo-preview {
    width: 90px; height: 90px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 2rem; font-weight: 700; color: #fff; overflow: hidden;
    border: 3px solid #fff;
    box-shadow: 0 4px 16px rgba(0,0,0,.15);
}
.photo-preview img { width: 100%; height: 100%; object-fit: cover; }
.photo-upload-btn {
    position: absolute; bottom: 0; right: -4px;
    width: 28px; height: 28px; border-radius: 50%;
    background: var(--primary); color: #fff;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; font-size: .75rem;
    box-shadow: 0 2px 8px rgba(0,0,0,.2);
}
.photo-upload-info h6 { margin-bottom: 4px; }

/* Education items */
.edu-item {
    display: flex; align-items: flex-start; gap: 14px;
    padding: 18px 24px;
    border-bottom: 1px solid #f0f0f0;
}
.edu-item:last-child { border-bottom: none; }
.edu-icon {
    width: 40px; height: 40px; border-radius: 10px;
    background: var(--primary-light);
    display: flex; align-items: center; justify-content: center;
    color: var(--primary); flex-shrink: 0;
}
.edu-content { flex: 1; }
.edu-content h6 { margin-bottom: 2px; font-size: .9rem; }
.edu-content p { margin-bottom: 2px; color: #555; font-size: .85rem; }
.edu-delete {
    color: #dc3545; text-decoration: none; padding: 6px;
    border-radius: 6px; transition: background .2s;
    flex-shrink: 0;
}
.edu-delete:hover { background: #fff5f5; }

/* Subcat checkboxes */
.subcat-checkbox-group {
    background: #f8f9fa; border-radius: 8px;
    padding: 10px 14px; min-height: 44px;
    max-height: 160px; overflow-y: auto;
}

/* Subject items */
.subject-item {
    display: flex; align-items: center; gap: 14px;
    padding: 16px 24px;
    border-bottom: 1px solid #f0f0f0;
}
.subject-item:last-child { border-bottom: none; }
.subject-info { flex: 1; }
.subject-info h6 { margin-bottom: 4px; }
.subject-tags { display: flex; flex-wrap: wrap; gap: 4px; }
.subject-fees { display: flex; flex-wrap: wrap; gap: 6px; }
.fee-badge {
    background: #e8f5e9; color: #2e7d32;
    padding: 3px 10px; border-radius: 20px;
    font-size: .75rem; font-weight: 600;
}

/* Gallery grid */
.gallery-grid {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px;
}
.gallery-item {
    position: relative; border-radius: 10px; overflow: hidden;
    aspect-ratio: 1; background: #f0f0f0;
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; }
.gallery-overlay {
    position: absolute; inset: 0;
    background: rgba(0,0,0,.5);
    display: flex; align-items: center; justify-content: center; gap: 10px;
    opacity: 0; transition: opacity .2s;
}
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-btn {
    color: #fff; text-decoration: none; font-size: 1.1rem;
    background: rgba(255,255,255,.2); padding: 8px;
    border-radius: 50%; transition: background .2s;
}
.gallery-btn:hover { background: rgba(255,255,255,.4); color: #fff; }
.gallery-video-badge {
    position: absolute; bottom: 8px; right: 8px;
    background: rgba(0,0,0,.7); color: #fff;
    padding: 4px 8px; border-radius: 4px; font-size: .7rem;
}

/* Profile complete banner */
.profile-complete-banner {
    background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
    border-radius: 16px; padding: 24px;
    display: flex; align-items: center; justify-content: space-between;
    gap: 16px; flex-wrap: wrap; border: 2px solid #10b981;
}

/* =============================================
   PAGE HEADER BANNER
============================================= */
.page-header-banner {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    padding: 48px 0 40px; color: #fff;
}
.page-header-banner .breadcrumb-item a { color: rgba(255,255,255,.7); }
.page-header-banner .breadcrumb-item.active { color: #fff; }
.page-header-banner .breadcrumb-separator { color: rgba(255,255,255,.5); }
.page-header-banner h1 { font-size: 2.2rem; margin: 8px 0 8px; }
.page-header-banner p { margin: 0; opacity: .85; font-size: 1rem; }

/* =============================================
   BECOME A TUTOR PAGE
============================================= */
.tutor-hero-section {
    padding: 72px 0 60px;
    background: linear-gradient(160deg, #f0f0ff 0%, #e8f8ff 100%);
}
.tutor-hero-badge {
    display: inline-flex; align-items: center;
    background: var(--primary-light); color: var(--primary);
    padding: 6px 16px; border-radius: 20px;
    font-size: .8rem; font-weight: 600;
}
.tutor-hero-title { font-size: 2.6rem; font-weight: 800; line-height: 1.2; margin: 12px 0 16px; }
.text-gradient {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text;
}
.tutor-hero-desc { font-size: 1.05rem; color: #555; max-width: 520px; }
.tutor-hero-stats {
    display: flex; gap: 32px; flex-wrap: wrap;
    padding-top: 20px; border-top: 1px solid rgba(0,0,0,.08);
}
.tutor-hero-stats .stat-item strong { display: block; font-size: 1.4rem; color: var(--primary); }
.tutor-hero-stats .stat-item span { font-size: .82rem; color: #888; }

.tutor-visual-main {
    width: 200px; height: 200px; border-radius: 50%;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    color: #fff; margin: 40px auto; position: relative;
}
.tutor-visual-main i { font-size: 4rem; }
.tutor-visual-badge {
    position: absolute; bottom: -12px;
    background: #fff; padding: 6px 14px; border-radius: 20px;
    font-size: .8rem; font-weight: 600;
    box-shadow: 0 4px 16px rgba(0,0,0,.12);
    white-space: nowrap;
}
.tutor-hero-visual { position: relative; }
.floating-card {
    background: #fff; border-radius: 12px; padding: 14px 18px;
    box-shadow: 0 8px 32px rgba(0,0,0,.12);
    display: flex; align-items: center; gap: 12px;
    position: absolute; z-index: 10;
}
.floating-card i { font-size: 1.5rem; }
.floating-card strong { display: block; font-size: .85rem; line-height: 1.2; }
.floating-card p { margin: 0; font-size: .75rem; color: #888; }
.card-1 { top: 0; left: -20px; animation: floatCard 3s ease-in-out infinite; }
.card-2 { bottom: 0; right: -20px; animation: floatCard 3s ease-in-out infinite reverse; }
@keyframes floatCard {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* Benefit cards */
.benefit-card {
    background: #fff; border-radius: 16px; padding: 28px 24px;
    box-shadow: 0 2px 16px rgba(0,0,0,.06);
    transition: transform .2s, box-shadow .2s;
    height: 100%;
}
.benefit-card:hover { transform: translateY(-4px); box-shadow: 0 8px 32px rgba(0,0,0,.1); }
.benefit-icon {
    width: 56px; height: 56px; border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.4rem; margin-bottom: 16px;
}
.benefit-card h5 { margin-bottom: 8px; }
.benefit-card p { color: #777; font-size: .875rem; margin: 0; }

/* Values & About */
.value-card {
    background: #fff; border-radius: 14px; padding: 24px;
    box-shadow: 0 2px 12px rgba(0,0,0,.06);
    height: 100%;
}
.value-icon {
    width: 50px; height: 50px; border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.2rem; margin-bottom: 14px;
}

/* Color helpers */
.text-indigo { color: #4f46e5; }
.text-cyan { color: #0891b2; }
.text-amber { color: #f59e0b; }
.text-green { color: #10b981; }
.text-purple { color: #7c3aed; }
.text-orange { color: #ea580c; }
.text-red { color: #dc2626; }
.bg-indigo-light { background: rgba(79,70,229,.1); }
.bg-cyan-light { background: rgba(8,145,178,.1); }
.bg-amber-light { background: rgba(245,158,11,.1); }
.bg-green-light { background: rgba(16,185,129,.1); }
.bg-purple-light { background: rgba(124,58,237,.1); }
.bg-orange-light { background: rgba(234,88,12,.1); }
.bg-red-light { background: rgba(220,38,38,.1); }

/* About page visuals */
.about-visual {
    display: flex; align-items: center; justify-content: center;
    min-height: 300px;
}
.about-visual-inner {
    position: relative; width: 200px; height: 200px;
    display: flex; align-items: center; justify-content: center;
}
.about-big-icon { font-size: 5rem; color: var(--primary); z-index: 2; }
.about-visual-ring {
    position: absolute; border-radius: 50%;
    border: 2px solid;
}
.ring-1 { width: 240px; height: 240px; border-color: rgba(79,70,229,.2); animation: spin 12s linear infinite; }
.ring-2 { width: 300px; height: 300px; border-color: rgba(8,145,178,.15); animation: spin 20s linear infinite reverse; }
@keyframes spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

.about-mission-stats { display: flex; gap: 20px; flex-wrap: wrap; }
.stat-pill {
    background: var(--primary-light); border-radius: 12px; padding: 14px 20px;
}
.stat-pill strong { display: block; font-size: 1.4rem; color: var(--primary); }
.stat-pill span { font-size: .8rem; color: #666; }

/* Contact page */
.contact-info-card {
    display: flex; align-items: flex-start; gap: 16px;
    background: #fff; border-radius: 14px; padding: 20px;
    box-shadow: 0 2px 12px rgba(0,0,0,.06);
}
.contact-info-icon {
    width: 44px; height: 44px; border-radius: 10px;
    background: var(--primary-light);
    display: flex; align-items: center; justify-content: center;
    color: var(--primary); font-size: 1.1rem; flex-shrink: 0;
}
.contact-info-card h6 { margin-bottom: 4px; }
.contact-info-card p { margin: 0; font-size: .875rem; color: #555; }
.contact-form-card {
    background: #fff; border-radius: 16px; padding: 36px;
    box-shadow: 0 2px 20px rgba(0,0,0,.07);
}
.social-link-btn {
    width: 38px; height: 38px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: #fff; text-decoration: none; transition: transform .2s;
}
.social-link-btn:hover { transform: translateY(-2px); color: #fff; }
.social-link-btn.facebook { background: #1877f2; }
.social-link-btn.twitter { background: #1da1f2; }
.social-link-btn.instagram { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); }
.social-link-btn.linkedin { background: #0077b5; }

/* How It Works page */
.hiw-step-detail .hiw-step-num {
    font-size: 4rem; font-weight: 800;
    color: var(--primary-light); line-height: 1; margin-bottom: 8px;
    font-family: var(--font-heading);
}
.hiw-feature-list { list-style: none; padding: 0; margin: 16px 0 0; }
.hiw-feature-list li {
    display: flex; align-items: center; gap: 10px;
    padding: 6px 0; font-size: .9rem; color: #555;
}
.hiw-illustration {
    width: 180px; height: 180px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    margin: auto;
}

/* Legal pages */
.legal-content h4 { font-size: 1.1rem; font-weight: 700; margin-top: 32px; margin-bottom: 12px; color: var(--dark); }
.legal-content h4:first-child { margin-top: 0; }
.legal-content p, .legal-content li { font-size: .9rem; color: #555; line-height: 1.8; }
.legal-content ul { padding-left: 20px; }
.legal-content a { color: var(--primary); }

/* 404 page */
.error-page-wrapper {
    min-height: 70vh; display: flex; align-items: center; justify-content: center;
    background: linear-gradient(160deg, #f0f0ff 0%, #fff 100%);
}
.error-page-content { padding: 40px 0; }
.error-number {
    font-size: 8rem; font-weight: 900;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    line-height: 1; margin-bottom: 0;
}
.error-icon { font-size: 3rem; color: var(--accent); margin: 12px 0; }

/* Final CTA Section */
.final-cta-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    padding: 72px 0; color: #fff;
}
.final-cta-section h2 { font-size: 2rem; margin-bottom: 12px; }
.final-cta-section p { font-size: 1rem; opacity: .85; }

/* Accordion tweaks */
.accordion-button:not(.collapsed) { background: var(--primary-light); color: var(--primary); }
.accordion-button:focus { box-shadow: 0 0 0 .2rem rgba(79,70,229,.15); }

/* HIW step card */
.hiw-step-icon {
    width: 64px; height: 64px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem; margin: 0 auto 16px;
}

@media (max-width: 768px) {
    .tutor-hero-title { font-size: 1.8rem; }
    .gallery-grid { grid-template-columns: repeat(2, 1fr); }
    .dash-welcome-banner { flex-direction: column; text-align: center; }
    .dash-sidebar { position: static; }
    .profile-steps-nav { gap: 4px; padding: 12px; }
    .step-item { padding: 4px 8px; font-size: .75rem; }
    .contact-form-card { padding: 24px; }
    .error-number { font-size: 5rem; }
}

/* =============================================
   SEARCH PAGE
============================================= */
.search-page-wrapper { background:#f8f9fa; min-height:70vh; }
.search-top-bar {
    background:#fff; padding:16px 20px; border-radius:14px;
    box-shadow:0 2px 12px rgba(0,0,0,.07);
}
.filter-card {
    background:#fff; border-radius:14px; padding:18px;
    box-shadow:0 2px 10px rgba(0,0,0,.06);
}
.filter-title { font-size:.85rem; font-weight:700; text-transform:uppercase; letter-spacing:.06em; color:#888; margin-bottom:12px; }
.results-bar { background:#fff; border-radius:10px; padding:12px 16px; box-shadow:0 1px 8px rgba(0,0,0,.05); }
.results-count { font-size:.9rem; color:#555; }
.search-empty-state { text-align:center; padding:60px 20px; background:#fff; border-radius:14px; }

/* Teacher Cards */
.teacher-card {
    background:#fff; border-radius:16px;
    box-shadow:0 2px 16px rgba(0,0,0,.07);
    overflow:hidden; display:flex; flex-direction:column;
    transition:transform .2s, box-shadow .2s;
}
.teacher-card:hover { transform:translateY(-4px); box-shadow:0 8px 32px rgba(0,0,0,.12); }
.teacher-card-header {
    height:80px; position:relative;
    display:flex; align-items:center; justify-content:center;
}
.tc-photo { width:72px; height:72px; border-radius:50%; object-fit:cover; border:3px solid rgba(255,255,255,.5); position:absolute; bottom:-36px; left:20px; }
.tc-avatar {
    width:72px; height:72px; border-radius:50%;
    background:rgba(255,255,255,.3); color:#fff;
    font-size:1.8rem; font-weight:700;
    display:flex; align-items:center; justify-content:center;
    position:absolute; bottom:-36px; left:20px; border:3px solid rgba(255,255,255,.5);
}
.tc-verified { position:absolute; bottom:-18px; left:68px; color:#10b981; font-size:1rem; background:#fff; border-radius:50%; }
.teacher-card-body { padding:48px 20px 16px; flex:1; }
.tc-name { font-size:1rem; font-weight:700; margin-bottom:4px; }
.tc-name a { color:var(--dark); text-decoration:none; }
.tc-name a:hover { color:var(--primary); }
.tc-tagline { font-size:.8rem; color:#777; margin-bottom:8px; line-height:1.4; }
.tc-rating { display:flex; align-items:center; gap:4px; font-size:.8rem; }
.tc-rating-num { font-weight:700; color:#f59e0b; }
.tc-reviews { color:#888; }
.tc-city { font-size:.8rem; color:#666; margin:4px 0; }
.tc-badges { display:flex; flex-wrap:wrap; gap:4px; }
.badge-loc { background:#f0f4ff; color:var(--primary); padding:3px 8px; border-radius:20px; font-size:.72rem; font-weight:600; }
.tc-subjects { display:flex; flex-wrap:wrap; gap:4px; margin-top:8px; }
.tc-subject-tag { background:#f8f9fa; color:#555; border:1px solid #e9ecef; padding:2px 8px; border-radius:10px; font-size:.72rem; }
.teacher-card-footer { padding:12px 20px 16px; display:flex; align-items:center; justify-content:space-between; border-top:1px solid #f0f0f0; }
.tc-fee-amount { font-size:1.1rem; font-weight:700; color:var(--primary); }
.tc-fee-amount small { font-size:.75rem; font-weight:400; color:#888; }
.tc-fee-free { font-size:.82rem; color:#888; }

/* =============================================
   TEACHER PROFILE PAGE
============================================= */
.breadcrumb-bar { background:#f8f9fa; padding:10px 0; border-bottom:1px solid #e9ecef; }
.breadcrumb-bar .breadcrumb { margin:0; font-size:.82rem; }
.breadcrumb-bar .breadcrumb-item a { color:var(--primary); }

.profile-hero { padding:40px 0 60px; background:#f8f9fa; }
.profile-hero-card { background:#fff; border-radius:20px; box-shadow:0 4px 24px rgba(0,0,0,.08); padding:32px; }
.profile-hero-top { display:flex; align-items:flex-start; gap:24px; flex-wrap:wrap; }
.profile-big-avatar {
    width:110px; height:110px; border-radius:50%; flex-shrink:0;
    display:flex; align-items:center; justify-content:center;
    font-size:2.8rem; font-weight:700; color:#fff;
    position:relative; overflow:hidden;
    box-shadow:0 4px 20px rgba(0,0,0,.15);
}
.profile-big-avatar img { width:100%; height:100%; object-fit:cover; }
.profile-big-avatar span { font-size:2.5rem; }
.profile-verified-badge {
    position:absolute; bottom:4px; right:4px;
    background:#fff; border-radius:50%; width:26px; height:26px;
    display:flex; align-items:center; justify-content:center;
    color:#10b981; font-size:1rem;
    box-shadow:0 2px 6px rgba(0,0,0,.15);
}
.profile-hero-info { flex:1; min-width:0; }
.profile-name { font-size:1.8rem; font-weight:800; margin:0 0 4px; }
.profile-tagline { color:#555; font-size:1rem; margin-bottom:10px; }
.profile-meta-row { display:flex; flex-wrap:wrap; gap:16px; font-size:.85rem; color:#666; }
.profile-meta-row span { display:flex; align-items:center; gap:6px; }
.profile-rating-row { display:flex; align-items:center; gap:8px; font-size:.9rem; }
.profile-mode-badges { display:flex; flex-wrap:wrap; gap:6px; }
.profile-section { padding-top:24px; border-top:1px solid #f0f0f0; }
.profile-section:first-child { border-top:none; padding-top:0; }
.profile-section-title { font-size:1.05rem; font-weight:700; margin-bottom:16px; color:var(--dark); }
.profile-intro { color:#555; line-height:1.9; }
.profile-subject-row { background:#f8f9fa; border-radius:12px; padding:14px 16px; }
.profile-subject-cat { font-size:.95rem; }
.profile-subject-tag { background:#e8f0fe; color:var(--primary); padding:3px 10px; border-radius:20px; font-size:.78rem; margin:2px; display:inline-block; }
.profile-subject-fees { display:flex; flex-wrap:wrap; gap:6px; }

/* Review items */
.review-item { padding:18px 0; border-bottom:1px solid #f0f0f0; }
.review-item:last-child { border-bottom:none; }
.review-header { display:flex; align-items:center; gap:12px; margin-bottom:10px; }
.review-avatar { width:40px; height:40px; border-radius:50%; display:flex; align-items:center; justify-content:center; color:#fff; font-weight:700; flex-shrink:0; }
.review-text { color:#555; font-size:.9rem; line-height:1.7; margin:0; padding-left:52px; }
.add-review-card { background:#f8f9fa; border-radius:14px; padding:24px; }
.star-picker { font-size:1.8rem; cursor:pointer; display:flex; gap:4px; }
.star-pick { color:#e9ecef; transition:color .15s; }
.star-pick:hover, .star-pick.fas { color:#f59e0b; }

/* Profile Contact Sidebar */
.profile-contact-card { background:#fff; border-radius:16px; padding:24px; box-shadow:0 2px 16px rgba(0,0,0,.08); }
.profile-fee-box { text-align:center; margin-bottom:20px; padding-bottom:20px; border-bottom:1px solid #f0f0f0; }
.profile-fee-amount { font-size:2.2rem; font-weight:800; color:var(--primary); display:block; }
.profile-fee-label { font-size:.85rem; color:#888; }
.profile-contact-btn {
    display:flex; align-items:center; justify-content:center;
    padding:12px 16px; border-radius:10px; font-weight:600;
    font-size:.9rem; text-decoration:none; margin-bottom:10px;
    transition:opacity .2s;
}
.profile-contact-btn:hover { opacity:.85; }
.profile-contact-btn.phone { background:#e8f0fe; color:var(--primary); }
.profile-contact-btn.whatsapp { background:#d4edda; color:#1a7f37; }
.profile-login-prompt { text-align:center; padding:16px; background:#f8f9fa; border-radius:10px; }
.profile-login-prompt p { font-size:.9rem; color:#777; margin-bottom:12px; }

.profile-quick-info { background:#fff; border-radius:16px; padding:20px; box-shadow:0 2px 12px rgba(0,0,0,.07); }
.profile-quick-info .table td { padding:8px 4px; font-size:.85rem; }

.profile-verification-card { background:#fff; border-radius:16px; padding:20px; box-shadow:0 2px 12px rgba(0,0,0,.07); }
.ver-badge-row { display:flex; align-items:center; padding:8px 0; border-bottom:1px solid #f5f5f5; font-size:.85rem; }
.ver-badge-row:last-child { border-bottom:none; }

/* =============================================
   TEACHER PROFILE PAGE
============================================= */
.profile-hero {
    padding: 40px 0 60px;
    background: #f8f9fa;
}
.breadcrumb-light .breadcrumb-item a { color: var(--primary); }

.profile-hero-card {
    background: #fff; border-radius: 16px;
    box-shadow: 0 2px 20px rgba(0,0,0,.07); padding: 28px;
    margin-bottom: 24px;
}
.profile-hero-top { display: flex; gap: 24px; align-items: flex-start; flex-wrap: wrap; }
.profile-hero-avatar {
    width: 100px; height: 100px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 2.5rem; font-weight: 700; color: #fff;
    border: 4px solid #fff; box-shadow: 0 4px 20px rgba(0,0,0,.15);
    flex-shrink: 0; overflow: hidden;
}
.profile-hero-avatar img { width: 100%; height: 100%; object-fit: cover; }
.profile-hero-info { flex: 1; }
.profile-name {
    font-size: 1.6rem; font-weight: 800; margin-bottom: 6px;
    display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
}
.top-rated-badge {
    font-size: .75rem; background: linear-gradient(135deg, #f59e0b, #d97706);
    color: #fff; padding: 4px 12px; border-radius: 20px; font-weight: 600;
}
.profile-tagline { color: #555; font-size: 1rem; margin-bottom: 10px; }
.profile-meta-row {
    display: flex; flex-wrap: wrap; gap: 14px; font-size: .875rem; color: #666;
}
.profile-meta-row span { display: flex; align-items: center; gap: 6px; }
.profile-meta-row i { color: var(--primary); }
.profile-modes { display: flex; flex-wrap: wrap; gap: 6px; }

/* Profile Sections */
.profile-section {
    background: #fff; border-radius: 16px;
    box-shadow: 0 2px 16px rgba(0,0,0,.06);
    padding: 24px 28px; margin-bottom: 24px;
}
.section-title-sm {
    font-size: 1.1rem; font-weight: 700;
    margin-bottom: 20px; padding-bottom: 12px;
    border-bottom: 2px solid #f0f0f0;
    display: flex; align-items: center; gap: 8px;
}
.profile-intro { line-height: 1.9; color: #444; white-space: pre-line; }

/* Subject rows on profile */
.subject-row {
    display: flex; align-items: flex-start; justify-content: space-between;
    padding: 14px 0; border-bottom: 1px solid #f5f5f5; gap: 12px; flex-wrap: wrap;
}
.subject-row:last-child { border-bottom: none; }
.subject-row-fees { display: flex; flex-wrap: wrap; gap: 6px; flex-shrink: 0; }

/* Reviews */
.review-item {
    display: flex; gap: 14px; padding: 16px 0;
    border-bottom: 1px solid #f5f5f5;
}
.review-item:last-of-type { border-bottom: none; }
.review-avatar {
    width: 44px; height: 44px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-weight: 700; font-size: 1rem; color: #fff; flex-shrink: 0;
}
.review-content { flex: 1; }
.review-header {
    display: flex; align-items: center; gap: 8px;
    margin-bottom: 6px; flex-wrap: wrap;
}
.review-stars { font-size: .8rem; }
.review-content p { margin: 0; color: #555; font-size: .9rem; line-height: 1.7; }

/* Add Review */
.add-review-form {
    background: #f8f9fa; border-radius: 12px; padding: 24px;
    border: 2px dashed #dee2e6;
}
.star-picker i {
    font-size: 1.8rem; color: #ccc; cursor: pointer;
    transition: color .15s, transform .15s;
}
.star-picker i:hover,
.star-picker i.fas { color: var(--accent); }
.star-picker i:hover { transform: scale(1.2); }

/* Contact card */
.profile-contact-card {
    background: #fff; border-radius: 16px;
    box-shadow: 0 4px 24px rgba(0,0,0,.1); overflow: hidden;
}
.profile-contact-header { background: var(--primary); color: #fff; padding: 16px 20px; }
.profile-contact-header h5 { margin: 0; font-size: 1rem; }
.profile-contact-body { padding: 20px; }
.info-row {
    display: flex; gap: 12px; align-items: flex-start;
    padding: 10px 0; border-bottom: 1px solid #f5f5f5;
}
.info-row:last-of-type { border-bottom: none; }
.info-row > i { width: 20px; text-align: center; margin-top: 2px; font-size: 1rem; }
.contact-locked { text-align: center; padding: 16px 0; }

/* =============================================
   SEARCH PAGE
============================================= */
.search-page-wrapper { min-height: 70vh; }
.search-top-bar {
    background: #fff; border-radius: 14px;
    padding: 20px 24px;
    box-shadow: 0 2px 16px rgba(0,0,0,.07);
}
.filter-card {
    background: #fff; border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0,0,0,.06); overflow: hidden;
}
.filter-card-header {
    background: #f8f9fa; padding: 12px 16px;
    font-size: .82rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: .05em; color: #666;
    border-bottom: 1px solid #eee;
}
.filter-card-body { padding: 14px 16px; }
.results-bar {
    display: flex; align-items: center; justify-content: space-between;
    gap: 12px; flex-wrap: wrap;
}
.results-count { font-size: .9rem; color: #555; }
.results-sort .form-select { min-width: 170px; }
.search-no-results { text-align: center; padding: 60px 20px; }

/* Teacher Cards */
.teacher-card {
    background: #fff; border-radius: 16px;
    box-shadow: 0 2px 16px rgba(0,0,0,.07);
    overflow: hidden; height: 100%;
    transition: transform .2s, box-shadow .2s;
}
.teacher-card:hover { transform: translateY(-4px); box-shadow: 0 8px 32px rgba(0,0,0,.12); }
.teacher-card-header {
    height: 80px; position: relative;
    display: flex; align-items: center; justify-content: center;
}
.teacher-card-avatar {
    width: 72px; height: 72px; border-radius: 50%;
    background: rgba(255,255,255,.25);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.8rem; font-weight: 700; color: #fff;
    border: 3px solid rgba(255,255,255,.5);
    position: absolute; bottom: -36px;
}
.teacher-card-avatar-img {
    width: 72px; height: 72px; border-radius: 50%; object-fit: cover;
    border: 3px solid rgba(255,255,255,.5);
    position: absolute; bottom: -36px;
}
.teacher-verified-badge {
    position: absolute; top: 8px; right: 10px;
    background: rgba(255,255,255,.9); color: var(--primary);
    font-size: .7rem; font-weight: 700; padding: 3px 8px; border-radius: 20px;
}
.teacher-card-body { padding: 44px 18px 18px; }
.teacher-name { font-size: 1rem; font-weight: 700; margin-bottom: 4px; }
.teacher-name a { text-decoration: none; color: var(--dark); }
.teacher-name a:hover { color: var(--primary); }
.teacher-tagline { font-size: .82rem; color: #777; margin-bottom: 8px; min-height: 36px; }
.teacher-meta { display: flex; flex-direction: column; gap: 3px; margin-bottom: 8px; }
.teacher-meta span { font-size: .78rem; color: #888; display: flex; align-items: center; gap: 5px; }
.teacher-meta i { color: var(--primary); width: 14px; }
.teacher-subjects { display: flex; flex-wrap: wrap; gap: 4px; margin-bottom: 8px; }
.subject-tag { background: var(--primary-light); color: var(--primary); padding: 2px 8px; border-radius: 10px; font-size: .72rem; font-weight: 600; }
.teacher-modes { display: flex; flex-wrap: wrap; gap: 4px; margin-bottom: 8px; }
.badge-loc { background: #f0fdf4; color: #166534; padding: 3px 8px; border-radius: 10px; font-size: .72rem; font-weight: 600; }
.teacher-card-footer { display: flex; align-items: center; justify-content: space-between; padding-top: 10px; border-top: 1px solid #f5f5f5; }
.teacher-rating { display: flex; align-items: center; gap: 4px; font-size: .78rem; }
.rating-num { font-weight: 700; color: var(--dark); }
.rating-count { color: #aaa; }
.fee-amount { font-size: .9rem; font-weight: 700; color: var(--primary); }
.fee-amount small { font-size: .7rem; font-weight: 400; color: #888; }

/* =============================================
   VERIFICATION BADGE
============================================= */
.verify-badge {
    display: flex; align-items: center; gap: 8px;
    padding: 8px 16px; border-radius: 20px;
    font-size: .85rem; font-weight: 600;
}
.verify-badge.verified   { background: #d1fae5; color: #065f46; }
.verify-badge.unverified { background: #fee2e2; color: #991b1b; }

@media (max-width: 768px) {
    .profile-hero-top { flex-direction: column; align-items: center; text-align: center; }
    .profile-meta-row { justify-content: center; }
    .profile-name { justify-content: center; }
    .teacher-card-header { height: 64px; }
    .results-bar { flex-direction: column; align-items: flex-start; }
    .search-top-bar { padding: 14px; }
}

/* =============================================
   SEO CITY / CATEGORY PAGE STYLES
============================================= */

/* City Hero */
.seo-city-hero {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    padding: 52px 0 44px; color: #fff;
}
.seo-hero-h1 {
    font-size: 2.2rem; font-weight: 800;
    margin-bottom: 14px; line-height: 1.25;
}
.seo-hero-desc {
    font-size: 1rem; opacity: .88; margin-bottom: 24px; max-width: 600px;
}

/* Quick Search in Hero */
.seo-quick-search { max-width: 680px; }
.seo-search-row {
    display: flex; gap: 10px; flex-wrap: wrap; align-items: center;
}
.seo-search-input {
    flex: 1; min-width: 160px; position: relative;
}
.seo-search-input i {
    position: absolute; left: 12px; top: 50%; transform: translateY(-50%);
    color: rgba(255,255,255,.6); font-size: .875rem;
}
.seo-search-input input {
    width: 100%; background: rgba(255,255,255,.15);
    border: 1px solid rgba(255,255,255,.3);
    border-radius: 8px; padding: 10px 12px 10px 34px;
    color: #fff; font-size: .875rem;
}
.seo-search-input input::placeholder { color: rgba(255,255,255,.6); }
.seo-search-input input:focus {
    outline: none; background: rgba(255,255,255,.25);
    border-color: rgba(255,255,255,.6);
}

/* Hero Stats */
.seo-hero-stat-group {
    display: flex; flex-direction: column; gap: 12px; align-items: flex-end;
}
.seo-hero-stat {
    background: rgba(255,255,255,.15); border-radius: 12px;
    padding: 12px 20px; text-align: center; min-width: 120px;
    border: 1px solid rgba(255,255,255,.2);
}
.seo-hero-stat strong { display: block; font-size: 1.5rem; font-weight: 800; }
.seo-hero-stat span   { font-size: .75rem; opacity: .8; }

/* Area Pills */
.area-pill {
    display: inline-flex; align-items: center; gap: 6px;
    background: #fff; border: 1px solid #f0e8e5;
    border-radius: 20px; padding: 4px 12px;
    font-size: .8rem; font-weight: 600; color: var(--dark);
    text-decoration: none; transition: all .2s;
}
.area-pill:hover { background: var(--primary); color: #fff; border-color: var(--primary); }
.area-pill-count {
    background: var(--primary-light); color: var(--primary);
    border-radius: 10px; padding: 1px 6px; font-size: .7rem;
}

/* Subcategory Pills */
.subcat-pill {
    display: inline-block;
    background: #f3f4f6; border: 1px solid #f0e8e5;
    border-radius: 20px; padding: 4px 14px;
    font-size: .8rem; font-weight: 500; color: #555;
    text-decoration: none; transition: all .2s;
}
.subcat-pill:hover, .subcat-pill.active {
    background: var(--primary); color: #fff; border-color: var(--primary);
}

/* Category Cards Grid */
.seo-cat-card {
    display: flex; flex-direction: column;
    background: #fff; border-radius: 16px;
    border: 2px solid transparent;
    box-shadow: 0 2px 14px rgba(0,0,0,.07);
    padding: 22px 18px; text-decoration: none; color: var(--dark);
    transition: all .25s; position: relative; overflow: hidden;
    height: 100%;
}
.seo-cat-card::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0;
    height: 4px; background: linear-gradient(90deg, var(--cat-from), var(--cat-to));
}
.seo-cat-card:hover {
    transform: translateY(-6px);
    border-color: var(--cat-from);
    box-shadow: 0 12px 36px rgba(0,0,0,.13);
    color: var(--dark);
}
.seo-cat-icon {
    width: 56px; height: 56px; border-radius: 14px;
    background: linear-gradient(135deg, var(--cat-from), var(--cat-to));
    display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem; color: #fff; margin-bottom: 14px;
    flex-shrink: 0;
}
.seo-cat-info h3 { font-size: .95rem; font-weight: 700; margin-bottom: 2px; }
.seo-cat-count {
    font-size: .75rem; color: #888; font-weight: 500;
}
.seo-cat-subs {
    display: flex; flex-wrap: wrap; gap: 4px; margin-top: 10px;
}
.seo-cat-subs span {
    background: #f3f4f6; color: #666;
    padding: 2px 8px; border-radius: 8px; font-size: .7rem;
}
.seo-cat-arrow {
    position: absolute; bottom: 14px; right: 16px;
    width: 28px; height: 28px; border-radius: 50%;
    background: var(--primary-light); color: var(--primary);
    display: flex; align-items: center; justify-content: center;
    font-size: .75rem; opacity: 0; transition: opacity .2s;
}
.seo-cat-card:hover .seo-cat-arrow { opacity: 1; }

/* Category Pill Nav */
.seo-cat-pill {
    display: inline-flex; align-items: center; gap: 6px;
    background: #fff; border: 1px solid #f0e8e5;
    border-radius: 20px; padding: 6px 14px;
    font-size: .82rem; font-weight: 500; color: #555;
    text-decoration: none; transition: all .2s;
}
.seo-cat-pill:hover, .seo-cat-pill.active {
    background: var(--primary); color: #fff; border-color: var(--primary);
}

/* Category Hero */
.seo-cat-hero {
    background: linear-gradient(135deg, var(--hero-color, var(--primary)) 0%, rgba(0,0,0,.15) 100%),
                linear-gradient(135deg, var(--hero-color, var(--primary)), #000);
    padding: 48px 0 40px; color: #fff;
}
.seo-cat-hero-icon {
    width: 70px; height: 70px; border-radius: 18px;
    background: rgba(255,255,255,.2); backdrop-filter: blur(8px);
    display: flex; align-items: center; justify-content: center;
    font-size: 2rem; color: #fff; margin-bottom: 16px;
    border: 2px solid rgba(255,255,255,.3);
}

/* Nearby Area Pills (on category+area page) */
.nearby-area-pill {
    background: rgba(255,255,255,.15); color: #fff;
    border: 1px solid rgba(255,255,255,.3);
    border-radius: 20px; padding: 4px 12px;
    font-size: .78rem; text-decoration: none; transition: background .2s;
}
.nearby-area-pill:hover { background: rgba(255,255,255,.3); color: #fff; }

/* SEO Content Block */
.seo-content-block { line-height: 1.9; }
.seo-content-block h2 { font-size: 1.4rem; font-weight: 700; margin: 0 0 14px; }
.seo-content-block h3 { font-size: 1.1rem; font-weight: 700; margin: 24px 0 10px; }
.seo-content-block p  { color: #555; margin-bottom: 14px; }
.seo-content-block ul { padding-left: 20px; color: #555; }
.seo-content-block li { margin-bottom: 6px; }
.seo-content-block a  { color: var(--primary); }

/* Nav Logo */
.nav-logo-img { height: 36px; width: auto; }

@media (max-width: 768px) {
    .seo-hero-h1 { font-size: 1.5rem; }
    .seo-search-row { flex-direction: column; }
    .seo-search-input { width: 100%; }
    .seo-cat-card { padding: 16px 14px; }
}

/* ═══════════════════════════════════════════════════════
   INDEX V2 — REDESIGNED HOMEPAGE STYLES
═══════════════════════════════════════════════════════ */

/* ── Hero V2 ─────────────────────────────────────────── */
.hero-v2 {
  position: relative;
  background: linear-gradient(135deg, #1e1b4b 0%, #4f46e5 55%, #0891b2 100%);
  padding: 80px 0 70px;
  overflow: hidden;
}
.hero-v2::before {
  content: '';
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero-v2-inner { position: relative; z-index: 2; }
.min-vh-hero { min-height: 80vh; }

.hero-pill {
  display: inline-flex; align-items: center;
  background: rgba(255,255,255,.15); backdrop-filter: blur(8px);
  color: #fff; font-size: .8rem; font-weight: 600;
  padding: 6px 16px; border-radius: 20px;
  border: 1px solid rgba(255,255,255,.2);
}
.hero-v2-title {
  font-size: 3rem; font-weight: 800; color: #fff;
  line-height: 1.15; margin: 16px 0 18px;
}
.hero-highlight {
  background: linear-gradient(90deg, #f59e0b, #fde68a);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-v2-sub {
  color: rgba(255,255,255,.82); font-size: 1.05rem;
  max-width: 520px; line-height: 1.7; margin-bottom: 28px;
}

/* Search box */
.hero-v2-search { max-width: 600px; }
.hvs-row {
  display: flex; align-items: center;
  background: #fff; border-radius: 14px;
  box-shadow: 0 8px 40px rgba(0,0,0,.2); overflow: hidden;
  padding: 6px 6px 6px 0;
}
.hvs-field {
  display: flex; align-items: center; flex: 1;
  padding: 0 16px; gap: 8px; min-width: 0;
}
.hvs-icon { color: var(--text-light); font-size: .9rem; flex-shrink: 0; }
.hvs-input {
  border: none; outline: none; background: transparent;
  font-size: .9rem; color: var(--text-dark);
  width: 100%; padding: 10px 0;
  -webkit-appearance: none;
}
.hvs-input::placeholder { color: #9ca3af; }
.hvs-divider { width: 1px; height: 30px; background: #e5e7eb; flex-shrink: 0; }
.hvs-btn {
  background: var(--primary); color: #fff;
  border: none; border-radius: 10px;
  padding: 12px 24px; font-weight: 600; font-size: .9rem;
  cursor: pointer; white-space: nowrap; flex-shrink: 0;
  transition: background .2s;
}
.hvs-btn:hover { background: var(--primary-dark); }

/* Hero tags */
.hero-tags { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.tag-label { font-size: .78rem; color: rgba(255,255,255,.6); }
.htag {
  background: rgba(255,255,255,.15); color: rgba(255,255,255,.9);
  font-size: .75rem; font-weight: 500; padding: 4px 12px;
  border-radius: 12px; border: 1px solid rgba(255,255,255,.2);
  transition: background .2s;
}
.htag:hover { background: rgba(255,255,255,.28); color: #fff; }

/* Hero stats */
.hero-v2-stats { display: flex; align-items: center; gap: 0; }
.hvstat { text-align: center; }
.hvstat strong { display: block; font-size: 1.5rem; font-weight: 800; color: #fff; }
.hvstat span { font-size: .72rem; color: rgba(255,255,255,.65); }
.hvstat-div { width: 1px; height: 36px; background: rgba(255,255,255,.25); margin: 0 24px; }

/* Hero Collage */
.hero-v2-collage { position: relative; width: 500px; height: 420px; }
.hc-main { width: 400px; height: 380px; border-radius: 24px; overflow: hidden;
  box-shadow: 0 24px 60px rgba(0,0,0,.4); margin: 20px auto 0; }
.hc-main img { width: 100%; height: 100%; object-fit: cover; }

.hc-float {
  position: absolute; background: #fff; border-radius: 14px;
  padding: 12px 16px; display: flex; align-items: center; gap: 10px;
  box-shadow: 0 8px 32px rgba(0,0,0,.18); white-space: nowrap;
  animation: hcFloat 3s ease-in-out infinite;
}
.hc-float-tl { top: 10px; left: -20px; }
.hc-float-br { bottom: 10px; right: -20px; animation-delay: 1s; }
.hc-float-tr { top: 100px; right: -30px; animation-delay: .5s; }
@keyframes hcFloat {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(-8px); }
}
.hcf-avatar {
  width: 36px; height: 36px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; color: #fff; font-size: 1rem; flex-shrink: 0;
}
.hcf-icon {
  width: 36px; height: 36px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: .95rem; flex-shrink: 0;
}
.bg-success-soft { background: #d1fae5; }
.hcf-name { font-size: .8rem; font-weight: 700; color: var(--text-dark); line-height: 1.2; }
.hcf-sub  { font-size: .68rem; color: var(--text-light); }
.hcf-badge { background: #d1fae5; color: #065f46; font-size: .65rem; font-weight: 700;
  padding: 3px 8px; border-radius: 8px; margin-left: 4px; }

/* Trust Bar */
.trust-bar { background: #fff; border-bottom: 1px solid #f0f0f0; padding: 14px 0; }
.trust-bar-inner {
  display: flex; align-items: center; justify-content: center;
  gap: 0; flex-wrap: wrap;
}
.tb-item {
  display: flex; align-items: center; gap: 8px;
  font-size: .82rem; font-weight: 600; color: var(--text-mid);
  padding: 6px 20px;
}
.tb-sep { width: 1px; height: 20px; background: #e5e7eb; }

/* Section Utilities */
.section-py { padding: 72px 0; }
.bg-light-warm { background: var(--bg-light); }

.sec-header { }
.sec-badge {
  display: inline-block; background: var(--primary-light); color: var(--primary);
  font-size: .75rem; font-weight: 700; padding: 4px 14px;
  border-radius: 20px; letter-spacing: .04em; text-transform: uppercase;
}
.sec-title {
  font-size: 2rem; font-weight: 800; margin: 12px 0 10px;
  color: var(--text-dark);
}
.sec-sub { color: var(--text-light); font-size: .95rem; max-width: 560px; line-height: 1.7; }
.text-center .sec-sub { margin-left: auto; margin-right: auto; }

/* ── Category Image Grid ─────────────────────────────── */
.cat-img-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.cat-img-card {
  border-radius: 16px; overflow: hidden; text-decoration: none;
  background: #fff; box-shadow: 0 2px 16px rgba(0,0,0,.07);
  transition: transform .25s, box-shadow .25s;
  position: relative; display: flex; flex-direction: column;
}
.cat-img-card:hover { transform: translateY(-6px); box-shadow: 0 12px 36px rgba(0,0,0,.13); }
.cic-img-wrap { position: relative; height: 160px; overflow: hidden; }
.cic-img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.cat-img-card:hover .cic-img-wrap img { transform: scale(1.06); }
.cic-overlay {
  position: absolute; inset: 0;
}
.cic-icon-badge {
  position: absolute; bottom: -16px; left: 20px;
  width: 44px; height: 44px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; color: #fff;
  box-shadow: 0 4px 14px rgba(0,0,0,.25);
}
.cic-body {
  padding: 28px 16px 14px;
}
.cic-body h3 { font-size: .92rem; font-weight: 700; margin-bottom: 2px; color: var(--text-dark); }
.cic-body span { font-size: .75rem; color: var(--text-light); }
.cic-arrow {
  position: absolute; bottom: 14px; right: 14px;
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--primary-light); color: var(--primary);
  display: flex; align-items: center; justify-content: center;
  font-size: .75rem; opacity: 0; transition: opacity .2s;
}
.cat-img-card:hover .cic-arrow { opacity: 1; }

/* ── How It Works V2 ─────────────────────────────────── */
.hiw-v2 { background: #fff; }
.hiw-img-wrap { position: relative; display: inline-block; }
.hiw-main-img { width: 100%; border-radius: 20px; box-shadow: 0 16px 48px rgba(0,0,0,.12); }
.hiw-img-badge {
  position: absolute; bottom: 24px; left: -20px;
  background: #fff; border-radius: 14px; padding: 14px 18px;
  display: flex; align-items: center; gap: 12px;
  box-shadow: 0 8px 32px rgba(0,0,0,.12); font-size: .82rem;
}
.hiw-steps-v2 { display: flex; flex-direction: column; gap: 20px; }
.hiw-step-v2 {
  display: flex; align-items: flex-start; gap: 16px;
  background: #fff; border-radius: 14px;
  padding: 18px 20px; box-shadow: 0 2px 12px rgba(0,0,0,.06);
  border-left: 3px solid var(--primary);
  transition: transform .2s, box-shadow .2s;
}
.hiw-step-v2:hover { transform: translateX(4px); box-shadow: 0 6px 24px rgba(79,70,229,.12); }
.hiwsv2-num {
  font-size: .65rem; font-weight: 800; width: 22px; height: 22px;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; margin-top: 2px;
}
.hiwsv2-icon {
  width: 44px; height: 44px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; flex-shrink: 0;
}
.hiwsv2-body h5 { font-size: .95rem; font-weight: 700; margin-bottom: 4px; }
.hiwsv2-body p  { font-size: .83rem; color: var(--text-light); margin: 0; line-height: 1.6; }

/* ── Stats V2 ────────────────────────────────────────── */
.stats-v2 {
  background: linear-gradient(135deg, #1e1b4b 0%, #4f46e5 100%);
  padding: 56px 0;
}
.sv2-item { padding: 20px; }
.sv2-icon {
  width: 52px; height: 52px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; margin: 0 auto 14px;
}
.sv2-num {
  font-size: 2.4rem; font-weight: 800; color: #fff;
  display: inline; font-family: var(--font-heading, 'Poppins', sans-serif);
}
.sv2-sfx { font-size: 2rem; font-weight: 800; color: #f59e0b; display: inline; }
.sv2-label { font-size: .78rem; color: rgba(255,255,255,.65); margin-top: 4px; }

/* ── Tutor Card V2 ───────────────────────────────────── */
.tutor-card-v2 {
  background: #fff; border-radius: 18px;
  box-shadow: 0 4px 24px rgba(0,0,0,.08);
  overflow: hidden; height: 100%;
  transition: transform .25s, box-shadow .25s;
}
.tutor-card-v2:hover { transform: translateY(-6px); box-shadow: 0 12px 40px rgba(79,70,229,.14); }
.tcv2-header {
  height: 100px; position: relative;
  display: flex; align-items: flex-end; justify-content: center;
  padding-bottom: 0;
}
.tcv2-avatar {
  width: 80px; height: 80px; border-radius: 50%;
  background: rgba(255,255,255,.25);
  display: flex; align-items: center; justify-content: center;
  font-size: 2rem; font-weight: 700; color: #fff;
  border: 4px solid #fff; overflow: hidden;
  position: absolute; bottom: -40px;
  box-shadow: 0 4px 20px rgba(0,0,0,.15);
}
.tcv2-avatar img { width: 100%; height: 100%; object-fit: cover; }
.tcv2-verified {
  position: absolute; top: 10px; right: 12px;
  background: rgba(255,255,255,.9); color: #059669;
  font-size: .65rem; font-weight: 700; padding: 3px 8px; border-radius: 10px;
}
.tcv2-body { padding: 52px 18px 18px; }
.tcv2-name { font-size: 1rem; font-weight: 700; margin-bottom: 4px; }
.tcv2-name a { color: var(--text-dark); text-decoration: none; }
.tcv2-name a:hover { color: var(--primary); }
.tcv2-tagline { font-size: .8rem; color: var(--text-light); margin-bottom: 6px; min-height: 32px; }
.tcv2-edu, .tcv2-loc { font-size: .78rem; color: var(--text-mid); margin-bottom: 4px; }
.tcv2-tags { display: flex; flex-wrap: wrap; gap: 4px; margin: 8px 0; }
.tcv2-tags span { background: var(--primary-light); color: var(--primary);
  padding: 2px 9px; border-radius: 10px; font-size: .7rem; font-weight: 600; }
.tcv2-modes { display: flex; flex-wrap: wrap; gap: 4px; margin-bottom: 8px; }
.tcv2-footer {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 0; border-top: 1px solid #f5f5f5; margin-top: 6px;
}
.tcv2-rating { display: flex; align-items: center; gap: 4px; font-size: .78rem; }
.tcv2-rating strong { color: var(--text-dark); }
.tcv2-rating span { color: #aaa; }
.tcv2-fee { font-size: .9rem; font-weight: 700; color: var(--primary); }
.tcv2-actions { display: flex; gap: 8px; margin-top: 12px; }

/* ── Why V2 ──────────────────────────────────────────── */
.why-v2 { background: var(--bg-light); }
.why-img-wrap { position: relative; }
.why-main-img { width: 100%; border-radius: 20px; box-shadow: 0 16px 48px rgba(0,0,0,.12); }
.why-img-overlay-card {
  position: absolute; bottom: 24px; left: 24px; right: 24px;
  background: rgba(255,255,255,.95); backdrop-filter: blur(12px);
  border-radius: 14px; padding: 16px 20px;
  box-shadow: 0 8px 32px rgba(0,0,0,.12);
}
.wic-stars { font-size: .8rem; color: #f59e0b; margin-bottom: 4px; }
.wic-text  { font-size: .85rem; font-style: italic; color: var(--text-dark); font-weight: 500; }
.wic-author{ font-size: .75rem; color: var(--text-light); margin-top: 4px; }
.why-features-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.wfeat {
  display: flex; align-items: flex-start; gap: 14px;
  background: #fff; border-radius: 14px; padding: 16px;
  box-shadow: 0 2px 10px rgba(0,0,0,.05);
  transition: transform .2s;
}
.wfeat:hover { transform: translateY(-2px); }
.wfeat-icon {
  width: 40px; height: 40px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; flex-shrink: 0;
}
.wfeat h6 { font-size: .85rem; font-weight: 700; margin-bottom: 3px; }
.wfeat p  { font-size: .78rem; color: var(--text-light); margin: 0; line-height: 1.5; }

/* ── Become Tutor CTA Banner ─────────────────────────── */
.tutor-cta-banner {
  position: relative; padding: 72px 0; overflow: hidden;
  background: linear-gradient(135deg, #1e1b4b 0%, #4f46e5 100%);
}
.tcb-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(30,27,75,.92) 0%, rgba(79,70,229,.85) 100%);
  z-index: 1;
}
.tcb-inner { position: relative; z-index: 2; color: #fff; }
.tcb-inner h2 { font-size: 2rem; font-weight: 800; margin-bottom: 12px; }
.tcb-inner p  { font-size: 1rem; opacity: .85; margin-bottom: 16px; }
.tcb-bullets { list-style: none; padding: 0; margin: 0; }
.tcb-bullets li { font-size: .9rem; opacity: .9; padding: 4px 0; display: flex; align-items: center; gap: 10px; }
.tcb-bullets li i { color: #10b981; }
.tcb-img { width: 380px; max-width: 100%; border-radius: 20px;
  box-shadow: 0 16px 48px rgba(0,0,0,.3); }

/* ── Subject Cloud V2 ────────────────────────────────── */
.subject-cloud { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.sc-tag {
  background: #f8fafc; border: 1px solid #e5e7eb;
  color: var(--text-mid); font-size: .82rem; font-weight: 500;
  padding: 7px 16px; border-radius: 20px;
  text-decoration: none; transition: all .2s;
}
.sc-tag:hover {
  background: var(--primary); color: #fff;
  border-color: var(--primary); transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(79,70,229,.2);
}

/* ── Testimonials V2 ─────────────────────────────────── */
.testi-section { background: #fff; }
.testi-card-v2 {
  background: #fff; border-radius: 18px;
  padding: 28px; height: 100%;
  box-shadow: 0 4px 24px rgba(0,0,0,.07);
  border: 1px solid #f0f0f0;
  transition: transform .25s, box-shadow .25s;
  position: relative;
}
.testi-card-v2::before {
  content: '"'; position: absolute; top: 16px; right: 22px;
  font-size: 5rem; color: var(--primary-light);
  font-family: Georgia, serif; line-height: 1;
}
.testi-card-v2:hover { transform: translateY(-4px); box-shadow: 0 12px 36px rgba(79,70,229,.12); }
.tcv2t-stars { font-size: .85rem; color: #f59e0b; margin-bottom: 14px; }
.tcv2t-text {
  font-size: .9rem; color: var(--text-mid); line-height: 1.7;
  margin-bottom: 20px; position: relative; z-index: 1;
}
.tcv2t-author { display: flex; align-items: center; gap: 12px; border-top: 1px solid #f5f5f5; padding-top: 16px; }
.tcv2t-avatar { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.tcv2t-author strong { display: block; font-size: .88rem; font-weight: 700; color: var(--text-dark); }
.tcv2t-author span   { font-size: .75rem; color: var(--text-light); }

/* ── City Grid V2 ────────────────────────────────────── */
.city-grid-v2 {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}
.city-card-v2 {
  border-radius: 16px; overflow: hidden; text-decoration: none;
  position: relative; aspect-ratio: 3/2.2;
  transition: transform .25s, box-shadow .25s;
  cursor: pointer;
}
.city-card-v2:hover { transform: translateY(-5px); box-shadow: 0 12px 32px rgba(0,0,0,.18); }
.ccv2-img { position: absolute; inset: 0; }
.ccv2-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.city-card-v2:hover .ccv2-img img { transform: scale(1.06); }
.ccv2-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.7) 0%, rgba(0,0,0,.1) 60%);
}
.ccv2-info {
  position: absolute; bottom: 0; left: 0; right: 0; padding: 16px;
}
.ccv2-info h4 { font-size: .92rem; font-weight: 700; color: #fff; margin: 0 0 2px; }
.ccv2-info span { font-size: .72rem; color: rgba(255,255,255,.75); }

.city-card-more {
  background: var(--primary-light);
  border: 2px dashed var(--primary);
  display: flex; align-items: center; justify-content: center;
}
.ccv2-more-inner { text-align: center; }
.ccv2-more-inner i { font-size: 2rem; color: var(--primary); margin-bottom: 8px; display: block; }
.city-card-more h4 { font-size: .92rem; font-weight: 700; color: var(--primary); margin: 0 0 2px; }
.city-card-more span { font-size: .72rem; color: var(--text-light); }

/* ── FAQ V2 ──────────────────────────────────────────── */
.faq-v2 { display: flex; flex-direction: column; gap: 8px; }
.faq-v2-item {
  background: #fff; border-radius: 12px;
  border: 1px solid #f0f0f0;
  box-shadow: 0 1px 6px rgba(0,0,0,.04);
  overflow: hidden;
}
.faq-v2-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  padding: 16px 20px; background: transparent; border: none;
  font-size: .9rem; font-weight: 600; color: var(--text-dark);
  cursor: pointer; text-align: left; gap: 12px;
}
.faq-v2-q:not(.collapsed) { color: var(--primary); }
.faq-v2-arrow { font-size: .75rem; flex-shrink: 0; transition: transform .3s; }
.faq-v2-q:not(.collapsed) .faq-v2-arrow { transform: rotate(180deg); }
.faq-v2-a { padding: 0 20px 16px; font-size: .85rem; color: var(--text-light); line-height: 1.7; }

/* ── Final CTA V2 ────────────────────────────────────── */
.final-cta-v2 { position: relative; padding: 100px 0; overflow: hidden; }
.fcta-bg { position: absolute; inset: 0; }
.fcta-bg img { width: 100%; height: 100%; object-fit: cover; }
.fcta-overlay { position: absolute; inset: 0; background: rgba(30,27,75,.88); }
.fcta-content { position: relative; z-index: 2; color: #fff; }
.fcta-content h2 { font-size: 2.4rem; font-weight: 800; margin-bottom: 14px; }
.fcta-content p  { font-size: 1rem; opacity: .82; max-width: 520px; margin: 0 auto; line-height: 1.7; }

/* Back to top */
.back-to-top-btn {
  display: none; position: fixed; bottom: 28px; right: 28px;
  width: 44px; height: 44px; background: var(--primary); color: #fff;
  border: none; border-radius: 50%; cursor: pointer; font-size: 1rem;
  align-items: center; justify-content: center;
  box-shadow: 0 4px 16px rgba(79,70,229,.35); z-index: 999;
  transition: transform .2s;
}
.back-to-top-btn:hover { transform: translateY(-3px); }

/* ── Responsive ──────────────────────────────────────── */
@media (max-width: 1024px) {
  .cat-img-grid { grid-template-columns: repeat(3, 1fr); }
  .city-grid-v2 { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
  .hero-v2-title { font-size: 2rem; }
  .hero-v2 { padding: 52px 0 48px; }
  .min-vh-hero { min-height: auto; }
  .hvs-row { flex-direction: column; padding: 10px; border-radius: 14px; gap: 0; }
  .hvs-field { width: 100%; border-bottom: 1px solid #f0f0f0; padding: 8px 12px; }
  .hvs-divider { display: none; }
  .hvs-btn { width: 100%; margin-top: 8px; border-radius: 10px; padding: 12px; }
  .hero-v2-stats { gap: 0; }
  .hvstat-div { margin: 0 14px; }
  .cat-img-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .city-grid-v2 { grid-template-columns: repeat(2, 1fr); }
  .why-features-grid { grid-template-columns: 1fr; }
  .stats-v2 .sv2-num { font-size: 1.8rem; }
  .sec-title { font-size: 1.6rem; }
  .final-cta-v2 { padding: 60px 0; }
  .fcta-content h2 { font-size: 1.7rem; }
  .trust-bar-inner { gap: 0; }
  .tb-sep { display: none; }
  .tb-item { padding: 6px 12px; }
}
@media (max-width: 480px) {
  .cat-img-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .city-grid-v2 { grid-template-columns: repeat(2, 1fr); }
  .hvstat strong { font-size: 1.2rem; }
}
