/* ============================================================
   HelpMe — style.css
   Breakpoints: desktop ≥ 1025px | tablet 641–1024px | mobile ≤ 640px
   ============================================================ */

/* ── RESET ── */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* ── THEME TOKENS ── */
:root,
.theme-calm {
    --bg:        #eef6ff;
    --card:      rgba(255,255,255,0.58);
    --text:      #152033;
    --light:     #64748b;
    --primary:   #6ea8fe;
    --secondary: #b7d3ff;
    --border:    rgba(255,255,255,0.35);
    --shadow:    0 20px 60px rgba(0,0,0,0.08);
    --radius-xl: 34px;
    --radius-lg: 24px;
    --radius-md: 18px;
    --radius-sm: 14px;
}

.theme-night {
    --bg:        #0b1020;
    --card:      rgba(24,28,45,0.74);
    --text:      #f4f7ff;
    --light:     #9aa4bd;
    --primary:   #8b7cff;
    --secondary: #4b3cb8;
    --border:    rgba(255,255,255,0.08);
    --shadow:    0 20px 60px rgba(0,0,0,0.25);
}

.theme-night select {
    background: #1e2340;
    color: #f4f7ff;
    border-color: rgba(255, 255, 255, 0.15);
    color-scheme: dark;
}

.theme-night .theme-btn.active {
    background: rgba(255, 255, 255, 0.15);
    color: #f4f7ff;
    box-shadow: none;
}
.theme-warm {
    --bg:        #fff4eb;
    --card:      rgba(255,248,244,0.68);
    --text:      #2a1c16;
    --light:     #7c655b;
    --primary:   #ff936a;
    --secondary: #ffd0bf;
    --border:    rgba(255,255,255,0.28);
    --shadow:    0 20px 60px rgba(0,0,0,0.08);
}

/* ── BASE ── */
html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', sans-serif;
    background: var(--bg);
    color: var(--text);
    overflow-x: hidden;
    line-height: 1.6;
    transition: background 0.35s ease, color 0.35s ease;
}

a { color: inherit; text-decoration: none; }

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

/* ── LAYOUT ── */
.container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding-left: clamp(18px, 5vw, 84px);
    padding-right: clamp(18px, 5vw, 84px);
}

/* ── DECORATIVE BACKGROUND ── */
.gradient-bg {
    position: fixed;
    inset: 0;
    background:
        radial-gradient(circle at top left,    rgba(110,168,254,0.18), transparent 30%),
        radial-gradient(circle at bottom right, rgba(255,147,106,0.16), transparent 35%),
        radial-gradient(circle at center,       rgba(183,211,255,0.12), transparent 40%);
    z-index: -3;
    pointer-events: none;
}

.blur {
    position: fixed;
    border-radius: 50%;
    filter: blur(140px);
    z-index: -2;
    pointer-events: none;
}
.blur1 { width:400px; height:400px; background:#ffb89f60; top:-100px;  left:-100px;  }
.blur2 { width:350px; height:350px; background:#a88cff50; bottom:-100px; right:-100px; }
.blur3 { width:300px; height:300px; background:#ffc6d860; top:40%;     left:45%;     }

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 5%;
    backdrop-filter: blur(24px);
    background: rgba(255,255,255,0.08);
    border-bottom: 1px solid rgba(255,255,255,0.12);
    gap: 20px;
}
.navbar {
    transition: transform 0.3s ease;
}

/* Logo */
.logo, .footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    flex-shrink: 0;
}
.logo span, .footer-logo span {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.04em;
    color: var(--text);
}
.logo-img {
    width: 95px !important;
    height: 95px !important;
    max-width: 85px !important;
    border-radius: 16px;
    object-fit: contain;
    flex-shrink: 0;
    display: inline-block !important;
}
/* Nav links (desktop) */
.nav-links {
    display: flex;
    gap: 28px;
    align-items: center;
}
.nav-links a {
    font-weight: 500;
    color: var(--text);
    opacity: 0.92;
    position: relative;
}
.nav-links a::after {
    content: '';
    position: absolute;
    left: 0; bottom: -6px;
    width: 0; height: 2px;
    background: var(--primary);
    transition: width 0.3s;
}
.nav-links a:hover::after { width: 100%; }

/* Nav right (desktop) */
.nav-right {
    display: flex;
    align-items: center;
    gap: 14px;
}

/* Theme switcher */
.theme-switcher {
    display: flex;
    gap: 6px;
    padding: 6px;
    border-radius: 16px;
    background: var(--card);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border);
}
.theme-btn {
    border: none;
    background: transparent;
    padding: 9px 14px;
    border-radius: 11px;
    cursor: pointer;
    color: var(--text);
    font-weight: 600;
    font-size: 0.88rem;
    transition: 0.25s ease;
    white-space: nowrap;
}
.theme-btn.active {
    background: white;
    color: #111;
    box-shadow: 0 6px 18px rgba(0,0,0,0.08);
}

/* Shared button styles */
.login-btn, .primary-btn, .secondary-btn, .cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    border: none;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.login-btn:hover, .primary-btn:hover, .secondary-btn:hover,
.cta-btn:hover, .session-btn:hover, .book-btn:hover,
.support-book-btn:hover { transform: translateY(-2px); }

.login-btn {
    padding: 12px 20px;
    background: var(--primary);
    color: #fff;
    font-size: 0.92rem;
}
.primary-btn {
    padding: 15px 22px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #fff;
    box-shadow: var(--shadow);
}
.secondary-btn {
    padding: 15px 22px;
    background: var(--card);
    backdrop-filter: blur(20px);
    color: var(--text);
    border: 1px solid var(--border);
}

/* Hamburger toggle */
.menu-toggle {
    display: none;          /* hidden on desktop */
    width: 48px;
    height: 48px;
    border-radius: 16px;
    border: 1px solid var(--border);
    background: rgba(255,255,255,0.12);
    backdrop-filter: blur(24px);
    cursor: pointer;
    position: relative;
    transition: 0.25s ease;
    flex-shrink: 0;
}
.menu-toggle:hover { background: rgba(255,255,255,0.2); }
.menu-toggle span {
    position: absolute;
    left: 12px;
    width: 24px;
    height: 2.5px;
    background: var(--text);
    border-radius: 999px;
    transition: 0.28s ease;
}
.menu-toggle span:nth-child(1) { top: 16px; }
.menu-toggle span:nth-child(2) { top: 23px; }
.menu-toggle span:nth-child(3) { top: 30px; }
.menu-toggle.active span:nth-child(1) { transform: rotate(45deg);  top: 23px; }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: rotate(-45deg); top: 23px; }

/* ── MOBILE DRAWER ── */
.mobile-overlay {
    position: fixed;
    inset: 0;
    background: rgba(10,15,25,0.42);
    backdrop-filter: blur(4px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.28s ease;
    z-index: 998;
}
.mobile-overlay.active { opacity: 1; pointer-events: auto; }

.mobile-drawer {
    position: fixed;
    top: 0; right: 0;
    width: min(88vw, 360px);
    height: 100dvh;
    background: var(--bg);
    border-left: 1px solid var(--border);
    box-shadow: -20px 0 60px rgba(0,0,0,0.16);
    z-index: 999;
    transform: translateX(100%);
    transition: transform 0.32s ease;
    padding: 22px;
    display: flex;
    flex-direction: column;
    gap: 18px;
    overflow-y: auto;
}
.mobile-drawer.active { transform: translateX(0); }

.drawer-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.drawer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}
.drawer-brand span {
    font-size: 1.3rem;
    font-weight: 800;
    letter-spacing: -0.04em;
    color: var(--text);
}
.drawer-close {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    border: 1px solid var(--border);
    background: var(--card);
    color: var(--text);
    font-size: 1.6rem;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}
.drawer-text {
    color: var(--light);
    line-height: 1.7;
    font-size: 0.95rem;
}
.drawer-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.drawer-links a {
    font-weight: 700;
    font-size: 1rem;
    padding: 14px 16px;
    border-radius: 16px;
    background: rgba(255,255,255,0.14);
    border: 1px solid rgba(255,255,255,0.1);
    transition: 0.25s ease;
    color: var(--text);
}
.drawer-links a:hover { transform: translateX(4px); background: rgba(255,255,255,0.2); }

.drawer-actions {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.drawer-theme { width: 100%; justify-content: space-between; }
.drawer-theme .theme-btn { flex: 1; }
.drawer-login { width: 100%; justify-content: center; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
    min-height: 100vh;
    padding-top: 130px;
    padding-bottom: 90px;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 54px;
    align-items: center;
}
.hero-left {
    display: flex;
    flex-direction: column;
    gap: 18px;
    max-width: 760px;
}
.hero-tag {
    width: fit-content;
    padding: 10px 18px;
    border-radius: 999px;
    background: var(--card);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border);
    font-weight: 600;
    font-size: 0.9rem;
}
.hero-heading {
    font-size: clamp(2.8rem, 5.5vw, 5.8rem);
    line-height: 0.96;
    letter-spacing: -0.05em;
    font-weight: 900;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.line1 { color: var(--primary); text-shadow: 0 10px 40px rgba(110,168,254,0.22); }
.line2 { color: var(--text); }

.hero-text {
    font-size: 1.06rem;
    color: var(--light);
    line-height: 1.8;
    max-width: 600px;
}
.hero-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 8px;
}
.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-top: 16px;
    width: 100%;
}
.stat-box {
    padding: 20px;
    border-radius: var(--radius-lg);
    background: var(--card);
    backdrop-filter: blur(24px);
    border: 1px solid var(--border);
}
.stat-box h2 {
    font-size: 1.9rem;
    line-height: 1;
    margin-bottom: 6px;
}
.stat-box span { color: var(--light); font-weight: 500; font-size: 0.92rem; }

/* Hero right */
.hero-right {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 520px;
}
.glass-card {
    width: 100%;
    max-width: 500px;
    padding: 32px;
    border-radius: var(--radius-xl);
    background: var(--card);
    backdrop-filter: blur(30px);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
}
.card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}
.card-profile { display: flex; align-items: center; gap: 14px; }
.avatar {
    width: 66px; height: 66px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    flex-shrink: 0;
}
.card-top h3, .therapist-head h3 { font-size: 1.1rem; margin-bottom: 3px; }
.card-top p, .therapist-head p { color: var(--light); font-size: 0.9rem; }

.online-dot {
    width: 14px; height: 14px;
    border-radius: 50%;
    background: #00d66d;
    box-shadow: 0 0 0 5px rgba(0,214,109,0.12);
    flex-shrink: 0;
}
.quote-box {
    margin: 24px 0;
    padding: 22px;
    border-radius: var(--radius-lg);
    background: rgba(255,255,255,0.22);
    line-height: 1.8;
    color: var(--light);
    font-size: 0.98rem;
}
.therapy-tags { display: flex; gap: 8px; flex-wrap: wrap; }
.therapy-tags span {
    padding: 9px 13px;
    border-radius: 999px;
    background: rgba(255,255,255,0.2);
    border: 1px solid rgba(255,255,255,0.16);
    font-weight: 600;
    font-size: 0.9rem;
}
.session-btn {
    display: block;
    width: 100%;
    margin-top: 22px;
    border: none;
    padding: 15px;
    border-radius: var(--radius-md);
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #fff;
    cursor: pointer;
    font-weight: 700;
    font-size: 1rem;
    font-family: inherit;
    transition: 0.25s ease;
    box-shadow: var(--shadow);
    text-align: center;
    text-decoration: none;
}
.floating-card {
    position: absolute;
    padding: 14px 18px;
    border-radius: var(--radius-md);
    background: var(--card);
    backdrop-filter: blur(18px);
    border: 1px solid var(--border);
    font-weight: 600;
    font-size: 0.92rem;
    box-shadow: var(--shadow);
}
.floating1 { top: 16px; left: -12px; }
.floating2 { bottom: 18px; right: -12px; }

/* ============================================================
   QUOTE STRIP
   ============================================================ */
.quote-strip {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 22px 0 30px;
}
.quote-wrapper { width: 100%; overflow: hidden; }
.quote-track {
    display: flex;
    align-items: center;
    gap: 16px;
    width: max-content;
    animation: smoothLoop 28s linear infinite;
}
.quote-item {
    flex-shrink: 0;
    padding: 14px 22px;
    border-radius: 999px;
    background: rgba(255,255,255,0.46);
    backdrop-filter: blur(18px);
    border: 1px solid rgba(255,255,255,0.22);
    font-size: 0.96rem;
    font-weight: 600;
    color: var(--text);
    box-shadow: 0 8px 24px rgba(0,0,0,0.04);
}
.fade-left, .fade-right {
    position: absolute;
    top: 0;
    width: 120px;
    height: 100%;
    z-index: 3;
    pointer-events: none;
}
.fade-left  { left:  0; background: linear-gradient(to right, var(--bg), transparent); }
.fade-right { right: 0; background: linear-gradient(to left,  var(--bg), transparent); }
@keyframes smoothLoop {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

/* ============================================================
   SHARED SECTION HEADING
   ============================================================ */
.section-head {
    max-width: 860px;
    margin: 0 auto;
    text-align: center;
}
.section-head > span {
    color: var(--primary);
    font-weight: 800;
    letter-spacing: 0.09em;
    font-size: 0.8rem;
    text-transform: uppercase;
}
.section-head h2 {
    margin-top: 14px;
    font-size: clamp(2rem, 3.8vw, 3.6rem);
    line-height: 1.05;
    letter-spacing: -0.05em;
}

/* ============================================================
   FEATURES
   ============================================================ */
.features {
    padding-top: 110px;
    padding-bottom: 40px;
}
.features-layout {
    margin-top: 60px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    align-items: stretch;
}
.feature-large, .feature-small {
    background: var(--card);
    backdrop-filter: blur(24px);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 28px;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    min-height: 260px;
    transition: transform 0.3s ease;
}
.feature-large:hover, .feature-small:hover { transform: translateY(-4px); }

.feature-content h3 {
    font-size: clamp(1.8rem, 3.2vw, 3rem);
    line-height: 0.98;
    letter-spacing: -0.05em;
}
.feature-content p {
    margin-top: 18px;
    font-size: 1.02rem;
    line-height: 1.8;
    color: var(--light);
}
.feature-icon {
    width: 60px; height: 60px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin-bottom: 20px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
}
.feature-small h3 {
    font-size: 1.6rem;
    letter-spacing: -0.04em;
    margin-bottom: 10px;
}
.feature-small p {
    font-size: 0.98rem;
    line-height: 1.8;
    color: var(--light);
}

/* ============================================================
   HOW IT WORKS
   ============================================================ */
.how-it-works {
    padding-top: 100px;
    padding-bottom: 40px;
}
.steps-grid {
    margin-top: 54px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    align-items: stretch;
}
.step-card {
    border-radius: 26px;
    background: var(--card);
    backdrop-filter: blur(22px);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    min-height: 200px;
    transition: transform 0.3s ease;
}
.step-card:hover { transform: translateY(-4px); }
.step-number {
    width: 46px; height: 46px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 900;
    font-size: 1.1rem;
    box-shadow: 0 8px 22px rgba(0,0,0,0.12);
    flex-shrink: 0;
}
.step-card h3 { font-size: 1.15rem; letter-spacing: -0.03em; }
.step-card p  { color: var(--light); font-size: 0.96rem; line-height: 1.7; }
.step-arrow   { display: none; }   /* decorative only; arrows handled by grid flow */

.how-actions {
    margin-top: 32px;
    display: flex;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
}

/* ============================================================
   SUPPORT / THERAPIST PREVIEW CARDS
   ============================================================ */
.support {
    padding-top: 100px;
    padding-bottom: 60px;
}
.support-grid {
    margin-top: 60px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    align-items: start;
}
.support-card {
    background: var(--card);
    backdrop-filter: blur(24px);
    border: 1px solid var(--border);
    border-radius: 26px;
    padding: 24px;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    gap: 8px;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}
.support-card:hover { transform: translateY(-6px); }


.support-photo {
    display: block;
}

.support-card {
    overflow: hidden;
}


.support-photo {
    width: 100%;
    height: 260px;           /* fixed height so all 3 are identical */
    object-fit: cover;
    object-position: center top;
    border-radius: 18px;
    margin-bottom: 6px;
    border: 1px solid rgba(255,255,255,0.16);
    display: block;
    background: rgba(255,255,255,0.08);
}

/* Also ensure the card doesn't stretch unevenly */
.support-card {
    display: flex;
    flex-direction: column;
}
.support-card h3   { font-size: 1.3rem; font-weight: 800; }
.location          { color: var(--light); font-size: 0.92rem; }
.role              { font-weight: 700; margin-top: 2px; }
.exp               { color: var(--light); font-size: 0.92rem; }
.rating            { font-weight: 800; font-size: 0.96rem; color: var(--primary); margin-top: 2px; }

.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 6px;
}
.tags span {
    font-size: 0.82rem;
    padding: 5px 10px;
    border-radius: 999px;
    background: rgba(255,255,255,0.22);
    border: 1px solid rgba(255,255,255,0.12);
}
.support-book-btn {
    margin-top: auto;
    padding-top: 16px;
    padding-bottom: 16px;
    border-radius: 14px;
    border: none;
    cursor: pointer;
    font-weight: 700;
    font-family: inherit;
    font-size: 0.96rem;
    text-align: center;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #fff;
    transition: transform 0.25s ease;
    display: block;
}

/* ============================================================
   THERAPISTS PAGE  (therapists.html)
   ============================================================ */
.logo-link { text-decoration: none; }
.active-link { font-weight: 800; }

.therapists-hero {
    padding-top: 150px;
    padding-bottom: 36px;
}
.page-intro { max-width: 900px; }
.page-title {
    margin-top: 18px;
    font-size: clamp(2.6rem, 5.5vw, 5.5rem);
    line-height: 0.95;
    letter-spacing: -0.05em;
}
.page-text {
    margin-top: 16px;
    max-width: 720px;
    font-size: 1.04rem;
    line-height: 1.8;
    color: var(--light);
}
.glass-panel {
    margin-top: 32px;
    padding: 22px;
    border-radius: 28px;
    background: var(--card);
    backdrop-filter: blur(24px);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
}
.search-wrap {
    display: flex;
    gap: 12px;
    align-items: center;
}
.search-input {
    flex: 1;
    min-width: 0;
    border: 1px solid var(--border);
    background: rgba(255,255,255,0.18);
    color: var(--text);
    padding: 15px 18px;
    border-radius: var(--radius-md);
    outline: none;
    font-family: inherit;
    font-size: 0.98rem;
    backdrop-filter: blur(14px);
}
.search-input::placeholder { color: var(--light); }
.search-btn {
    border: none;
    padding: 15px 22px;
    border-radius: var(--radius-md);
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #fff;
    font-weight: 800;
    font-family: inherit;
    cursor: pointer;
    box-shadow: var(--shadow);
    transition: transform 0.25s ease;
    white-space: nowrap;
}
.search-btn:hover { transform: translateY(-2px); }

.results-bar {
    margin-top: 14px;
    display: flex;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    color: var(--light);
    font-weight: 600;
    font-size: 0.92rem;
}

.therapist-list {
    padding-top: 24px;
    padding-bottom: 80px;
}
.therapist-grid-advanced {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.therapist-card-advanced {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 24px;
    border-radius: 28px;
    background: var(--card);
    backdrop-filter: blur(24px);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
    overflow: hidden;
}
.therapist-card-advanced:hover { transform: translateY(-6px); }

.therapist-top { display: flex; gap: 14px; align-items: flex-start; }

.therapist-photo,
.therapist-photo-fallback {
    width: 82px;
    aspect-ratio: 1 / 1;
    border-radius: 20px;
    flex-shrink: 0;
    object-fit: cover;
    object-position: center top;
}
.therapist-photo {
    border: 1px solid rgba(255,255,255,0.2);
    background: rgba(255,255,255,0.12);
}
.therapist-photo-fallback {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 900;
    color: #fff;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
}
.therapist-title h3 { font-size: 1.18rem; line-height: 1.1; letter-spacing: -0.03em; }
.therapist-location  { margin-top: 5px; color: var(--light); font-size: 0.92rem; font-weight: 600; }
.therapist-rating {
    margin-top: 8px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 12px;
    border-radius: 999px;
    background: rgba(255,255,255,0.16);
    width: fit-content;
    font-weight: 800;
    font-size: 0.9rem;
}
.therapist-section  { display: flex; flex-direction: column; gap: 6px; }
.therapist-label {
    color: var(--primary);
    font-weight: 800;
    font-size: 0.78rem;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}
.therapist-text  { color: var(--text); line-height: 1.75; font-size: 0.96rem; }

.badge-wrap { display: flex; flex-wrap: wrap; gap: 7px; }
.badge {
    padding: 7px 11px;
    border-radius: 999px;
    font-size: 0.84rem;
    font-weight: 700;
    color: var(--text);
    background: rgba(255,255,255,0.18);
    border: 1px solid rgba(255,255,255,0.12);
}
.summary-box { color: var(--light); line-height: 1.75; font-size: 0.94rem; }

.card-actions {
    margin-top: auto;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}
.book-btn {
    padding: 13px 18px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #fff;
    font-weight: 800;
    font-family: inherit;
    cursor: pointer;
    border: none;
    transition: transform 0.25s ease;
    box-shadow: var(--shadow);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.secondary-mini {
    padding: 13px 18px;
    border-radius: 14px;
    border: 1px solid var(--border);
    background: rgba(255,255,255,0.12);
    color: var(--text);
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.25s ease;
}
.secondary-mini:hover { transform: translateY(-2px); }

/* Therapist preview section on home */
.therapists-preview { padding-top: 100px; padding-bottom: 40px; }
.therapist-grid {
    margin-top: 54px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.therapist-card {
    border-radius: 28px;
    background: var(--card);
    backdrop-filter: blur(22px);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    padding: 24px;
    transition: transform 0.3s ease;
}
.therapist-card:hover { transform: translateY(-4px); }
.therapist-head  { display: flex; gap: 14px; align-items: center; }
.therapist-head .avatar { width: 58px; height: 58px; }
.therapist-meta  { margin-top: 16px; display: flex; gap: 8px; flex-wrap: wrap; }
.therapist-meta span {
    padding: 7px 12px;
    border-radius: 999px;
    background: rgba(255,255,255,0.2);
    border: 1px solid rgba(255,255,255,0.14);
    color: var(--text);
    font-size: 0.88rem;
    font-weight: 600;
}
.small-link { display: inline-block; margin-top: 16px; color: var(--primary); font-weight: 700; }

/* State / loading */
.state-box {
    margin-top: 24px;
    padding: 32px;
    border-radius: 26px;
    background: var(--card);
    backdrop-filter: blur(22px);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    text-align: center;
}
.state-box h3 { font-size: 1.4rem; margin-bottom: 8px; letter-spacing: -0.04em; }
.state-box p  { color: var(--light); line-height: 1.7; }
.hidden { display: none !important; }

.loader {
    width: 34px; height: 34px;
    border-radius: 50%;
    border: 3px solid rgba(255,255,255,0.2);
    border-top-color: var(--primary);
    margin: 0 auto 14px;
    animation: spin 0.85s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.pagination {
    margin-top: 28px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
}
.page-btn {
    border: 1px solid var(--border);
    background: var(--card);
    color: var(--text);
    padding: 11px 16px;
    min-width: 44px;
    border-radius: 12px;
    cursor: pointer;
    font-weight: 700;
    font-family: inherit;
    transition: 0.25s ease;
    backdrop-filter: blur(16px);
}
.page-btn:hover:not(:disabled),
.page-btn.active {
    transform: translateY(-2px);
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #fff;
}
.page-btn:disabled { opacity: 0.4; cursor: not-allowed; }

/* ============================================================
   CTA BAND
   ============================================================ */
.cta { padding-top: 100px; padding-bottom: 100px; }
.cta-card {
    padding: clamp(40px, 8vw, 90px);
    border-radius: 40px;
    text-align: center;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #fff;
    box-shadow: var(--shadow);
}
.cta-card > span {
    letter-spacing: 0.18em;
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
}
.cta-card h2 {
    margin-top: 16px;
    font-size: clamp(2rem, 4.5vw, 4.2rem);
    line-height: 1;
    letter-spacing: -0.05em;
    max-width: 10ch;
    margin-left: auto;
    margin-right: auto;
}
.cta-card p {
    margin-top: 14px;
    max-width: 680px;
    margin-inline: auto;
    color: rgba(255,255,255,0.88);
    line-height: 1.75;
}
.cta-btn {
    margin-top: 28px;
    padding: 16px 30px;
    background: #fff;
    color: #111;
    box-shadow: 0 12px 30px rgba(0,0,0,0.12);
    border-radius: var(--radius-md);
    font-weight: 800;
    font-size: 1rem;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer { padding-top: 10px; padding-bottom: 50px; }
.footer-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 22px;
}
.footer-logo span { font-size: 1.6rem; }
.footer-links {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}
.footer-links a { color: var(--light); font-weight: 600; }
.footer-links a:hover { color: var(--text); }
.footer-bottom {
    margin-top: 26px;
    color: var(--light);
    font-size: 0.92rem;
}

/* ============================================================
   RESPONSIVE — TABLET  641px – 1024px
   ============================================================ */
@media (max-width: 1024px) {
    /* Navbar: hide desktop links, show hamburger */
    .nav-links, .nav-right { display: none; }
    .menu-toggle { display: flex; align-items: center; justify-content: center; }

    /* Hero: single column */
    .hero {
        grid-template-columns: 1fr;
        padding-top: 120px;
        padding-bottom: 72px;
        gap: 40px;
    }
    .hero-left { align-items: center; text-align: center; max-width: 100%; }
    .hero-tag  { margin-inline: auto; }
    .hero-text { max-width: 100%; }
    .hero-buttons { justify-content: center; }
    .hero-right { min-height: auto; }
    .floating-card { display: none; }

    /* Stats: 3 cols still fine on tablet */
    .hero-stats { max-width: 600px; margin-inline: auto; }

    /* Grids: 2 cols */
    .features-layout       { grid-template-columns: 1fr 1fr; }
    .steps-grid            { grid-template-columns: 1fr 1fr; }
    .support-grid          { grid-template-columns: 1fr 1fr; }
    .therapist-grid        { grid-template-columns: 1fr 1fr; }
    .therapist-grid-advanced { grid-template-columns: 1fr 1fr; }

    /* Feature heights */
    .feature-large, .feature-small { min-height: auto; }

    /* Therapists page */
    .therapists-hero { padding-top: 120px; }
    .page-title { max-width: 100%; }
    .search-wrap { flex-wrap: wrap; }
    .search-btn  { width: 100%; }

    /* CTA */
    .cta { padding-top: 80px; padding-bottom: 80px; }
    .cta-card { border-radius: 32px; }
}

/* ============================================================
   RESPONSIVE — MOBILE  ≤ 640px
   ============================================================ */
@media (max-width: 640px) {
    /* Navbar */
    .navbar { padding: 12px 14px; }
    .logo span { font-size: 1.15rem; }
    .logo-icon { width: 42px; height: 42px; border-radius: 13px; }

    /* Hero */
    .hero { padding-top: 96px; padding-bottom: 56px; gap: 32px; }
    .hero-heading {
        font-size: clamp(2.2rem, 13vw, 3.2rem);
        letter-spacing: -0.04em;
    }
    .hero-tag  { font-size: 0.86rem; padding: 9px 14px; }
    .hero-text { font-size: 0.94rem; }
    .hero-buttons { flex-direction: column; width: 100%; }
    .primary-btn, .secondary-btn, .login-btn, .cta-btn { width: 100%; }
    .hero-stats { grid-template-columns: 1fr; gap: 10px; }
    .stat-box { padding: 16px; border-radius: 18px; }
    .stat-box h2 { font-size: 1.7rem; }

    .glass-card { padding: 20px; border-radius: 24px; }
    .card-top { flex-direction: column; align-items: flex-start; }
    .quote-box { padding: 16px; font-size: 0.92rem; }
    .therapy-tags span { font-size: 0.82rem; padding: 7px 10px; }

    /* Sections */
    .section-head h2 { font-size: 1.75rem; }
    .section-head > span { font-size: 0.74rem; }

    .features, .how-it-works, .therapists-preview,
    .support, .cta { padding-top: 72px; padding-bottom: 36px; }

    /* Grids: single column */
    .features-layout,
    .steps-grid,
    .support-grid,
    .therapist-grid,
    .therapist-grid-advanced { grid-template-columns: 1fr; }

    .feature-large, .feature-small { padding: 22px; border-radius: 24px; }
    .feature-content h3 { font-size: 1.75rem; }
    .feature-small h3   { font-size: 1.45rem; }

    .step-card { padding: 20px; border-radius: 22px; min-height: auto; }
    .step-card h3 { font-size: 1.1rem; }
    .step-card p  { font-size: 0.92rem; }

    /* Support cards */
    .support-card { padding: 20px; border-radius: 22px; }
    .support-photo { aspect-ratio: 4 / 3; }

    /* Therapist page */
    .therapists-hero { padding-top: 108px; }
    .page-title { font-size: clamp(2.2rem, 12vw, 3.4rem); }

    .therapist-card-advanced { padding: 18px; border-radius: 22px; }
    .therapist-top { align-items: center; }
    .therapist-photo,
    .therapist-photo-fallback { width: 70px; border-radius: 18px; }

    .card-actions { flex-direction: column; }
    .book-btn, .secondary-mini { width: 100%; }

    /* CTA */
    .cta-card { padding: 44px 20px; border-radius: 28px; }
    .cta-card h2 { font-size: 2rem; max-width: 100%; }

    /* Footer */
    .footer-top { flex-direction: column; align-items: flex-start; }
    .footer-links { gap: 16px; }
    .footer-logo span { font-size: 1.35rem; }
}


@media (max-width: 1024px) {
    .nav-links { display: none !important; }
    .nav-right  { display: none !important; }
}