/* =====================================================================
   Tutors Near Me - DESKTOP / TABLET layout  (loaded only at >= 768px)
   Mobile layout lives in style.css and is not changed by this file.
   ===================================================================== */
body { background: var(--bg); }
#mobile-content { display: block !important; }
.mobile-menu, .overlay, .hero-icon-btn[onclick="openMenu()"] { display: none !important; }

/* ---------- header ---------- */
.site-header { display: block; position: sticky; top: 0; z-index: 1000; background: rgba(255,255,255,.96); backdrop-filter: blur(10px); border-bottom: 1px solid var(--card-border); box-shadow: 0 2px 14px rgba(67,56,202,.08); }
.site-header .wrap { max-width: 1240px; margin: 0 auto; padding: 10px 32px; display: flex; align-items: center; gap: 28px; }
.site-header .brand img { height: 46px; width: auto; display: block; }
.site-header nav { margin-left: auto; display: flex; align-items: center; gap: 4px; flex-wrap: wrap; justify-content: flex-end; }
.site-header nav a { padding: 9px 13px; border-radius: 999px; font: 600 15px var(--font-body); color: var(--dark-purple2); transition: background .2s, color .2s; }
.site-header nav a:hover { background: var(--purple-light); color: var(--purple); }
.site-header nav a.cta { background: var(--purple); color: #fff; padding: 11px 22px; margin-left: 8px; box-shadow: 0 6px 16px rgba(67,56,202,.3); }
.site-header nav a.cta:hover { background: #3730A3; color: #fff; }

/* ---------- home hero ---------- */
.hero { height: clamp(400px, 40vw, 540px); position: relative; overflow: hidden; }
.hero-overlay { background: linear-gradient(90deg, rgba(30,27,75,.88) 0%, rgba(30,27,75,.55) 45%, rgba(30,27,75,.1) 100%); padding: 24px max(32px, calc((100vw - 1176px) / 2)); }
.hero-copy { position: absolute; left: max(32px, calc((100vw - 1176px) / 2)); top: 50%; transform: translateY(-50%); width: min(560px, 55%); height: auto; overflow: visible; clip: auto; white-space: normal; z-index: 5; color: #fff; }
.hero-copy h1 { font-family: var(--font-display); font-size: clamp(34px, 4vw, 54px); line-height: 1.12; font-weight: 700; margin-bottom: 16px; }
.hero-copy p { font-size: 19px; line-height: 1.6; color: #E0E4FF; margin-bottom: 26px; }
.hero-cta { display: inline-block; background: var(--orange); color: #1E1B4B; font: 700 17px var(--font-display); padding: 15px 32px; border-radius: 999px; box-shadow: 0 10px 24px rgba(245,158,11,.4); transition: transform .2s, box-shadow .2s; }
.hero-cta:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(245,158,11,.5); }
.hero-top { justify-content: flex-end; }
.city-pill { background: rgba(255,255,255,.16); padding: 8px 16px; border-radius: 999px; backdrop-filter: blur(6px); }

/* ---------- home categories ---------- */
.home-body { max-width: 1240px; margin: 0 auto; padding: 56px 32px 24px; }
.section-title { font-size: 38px; margin-bottom: 28px; }
.category-section .category-grid { grid-template-columns: repeat(3, 1fr); gap: 26px; }
.category-card { height: 240px; border-radius: 24px; padding: 28px; transition: transform .25s, box-shadow .25s; }
.category-card:hover { transform: translateY(-8px); box-shadow: 0 20px 40px rgba(67,56,202,.25); }
.category-card .card-label { font-size: 26px !important; font-family: var(--font-display); font-weight: 600; }
.seo-intro { margin: 56px 0 40px; padding: 44px 48px; border-radius: 28px; box-shadow: var(--shadow-card); }
.seo-intro h2 { font-size: 30px; margin-bottom: 14px; }
.seo-intro h3 { font-size: 18px; }
.seo-intro p { font-size: 16.5px; line-height: 1.75; max-width: 900px; }
.seo-grid { grid-template-columns: repeat(3, 1fr); gap: 24px; margin: 28px 0; }
.seo-grid > div { background: var(--purple-light); border-radius: 18px; padding: 22px; }
.seo-links a { font-size: 15px; padding: 9px 16px; transition: background .2s, color .2s; }
.seo-links a:hover { background: var(--purple); color: #fff; }

/* ---------- inner pages: centred content column ---------- */
.screen { justify-content: center; }
.scroll-area { width: 100%; max-width: 1040px; margin: 0 auto; padding: 0 32px 64px; }
.home-scroll { max-width: none; }
.purple-header, .purple-header-1 { margin: 28px 0 32px !important; border-radius: 20px; padding: 20px 28px; box-shadow: 0 10px 24px rgba(67,56,202,.22); background: linear-gradient(120deg, #4338CA, #6366F1); }
.purple-header h2, .purple-header-1 h2 { font-family: var(--font-display); font-size: 26px; color: #fff; }
.choose-category-heading h2 { font-size: 34px; }
.choose-category-heading p { font-size: 17px; }
.step-block { margin-bottom: 36px; }
.step-title { font-size: 20px; }
.chip-grid { grid-template-columns: repeat(5, 1fr); gap: 16px; }
.chip-grid-2 { grid-template-columns: repeat(4, 1fr); gap: 16px; }
.chip-btn, .chip-btn-2, .checkbox-chip { transition: transform .2s, box-shadow .2s, background .2s; }
.chip-btn:hover, .chip-btn-2:hover { transform: translateY(-4px); box-shadow: 0 12px 24px rgba(67,56,202,.18); }
.checkbox-grid { grid-template-columns: repeat(4, 1fr); gap: 14px; }

/* about / faq / legal readable column */
.about-body, .faq-body, .pp-body, .tc-body { max-width: 900px; font-size: 17px; line-height: 1.8; }
.about-block, .pp-section, .tc-section { background: #fff; border: 1px solid var(--card-border); border-radius: 20px; padding: 28px 32px; margin-bottom: 20px; box-shadow: var(--shadow-card); }
.about-block-title, .pp-section-title, .tc-section-title { font-size: 22px; }
.vision-mission-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.faq-item { background: #fff; border-radius: 16px; margin-bottom: 14px; transition: box-shadow .2s; }
.faq-item:hover { box-shadow: var(--shadow-card); }
.faq-question { font-size: 18px; padding: 20px 24px; }
.faq-answer-inner { font-size: 16.5px; line-height: 1.75; padding: 0 24px 22px; }

/* enquiry form as a centred card */
.auth-form.register-form { max-width: 660px; margin: 0 auto; background: #fff; padding: 40px; border-radius: 26px; box-shadow: 0 16px 40px rgba(67,56,202,.14); border: 1px solid var(--card-border); }
.register-form .field input, .register-form .phone-input { font-size: 16px; }
.btn-continue { width: 100%; font-size: 18px; padding: 16px; transition: transform .2s, box-shadow .2s; }
.btn-continue:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(67,56,202,.3); }
.bottom-spacer { max-width: 660px; margin-left: auto; margin-right: auto; }

/* popup */
.popup { max-width: 520px; padding: 36px 32px 32px; }

/* ---------- footer ---------- */
.site-footer { display: block; background: #1E1B4B; color: #C7CCF7; margin-top: 56px; }
.site-footer .wrap { max-width: 1240px; margin: 0 auto; padding: 56px 32px 36px; display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; }
.site-footer img { background: #fff; border-radius: 12px; padding: 6px 10px; height: 50px; width: auto; margin-bottom: 16px; }
.site-footer p { font-size: 15px; line-height: 1.7; }
.site-footer h3 { color: #fff; font: 600 17px var(--font-display); margin-bottom: 14px; }
.site-footer ul { list-style: none; display: grid; gap: 10px; }
.site-footer a { color: #C7CCF7; font-size: 15px; transition: color .2s; }
.site-footer a:hover { color: var(--orange); }
.site-footer .copy { border-top: 1px solid rgba(255,255,255,.12); text-align: center; padding: 18px 32px; font-size: 14px; }

@media (min-width: 768px) and (max-width: 1023px) {
  .site-header .wrap { flex-wrap: wrap; gap: 8px; }
  .site-header nav { margin-left: 0; width: 100%; justify-content: flex-start; }
  .category-section .category-grid { grid-template-columns: repeat(2, 1fr); }
  .chip-grid { grid-template-columns: repeat(4, 1fr); }
  .seo-grid { grid-template-columns: 1fr; }
  .site-footer .wrap { grid-template-columns: 1fr 1fr; }
  .hero-copy { width: 70%; }
}

.home-body { background: transparent !important; border-radius: 0 !important; margin-top: 0 !important; box-shadow: none !important; }
