/* ============================================
   PsyReach - Main Stylesheet
   Design: Elegant, premium, teal-green accents
   ============================================ */

/* ---- CSS Variables ---- */
:root {
    --primary: #2A9D8F;
    --primary-dark: #1F7A6E;
    --primary-light: #E6F7F4;
    --primary-glow: rgba(42, 157, 143, 0.15);
    --accent: #E9C46A;
    --accent-light: #FFF8E8;
    --dark: #0F172A;
    --dark-secondary: #1E293B;
    --text: #334155;
    --text-light: #64748B;
    --text-muted: #94A3B8;
    --bg: #F8FAFC;
    --white: #FFFFFF;
    --border: #E2E8F0;
    --border-light: #F1F5F9;
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.04), 0 1px 3px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.06), 0 2px 4px rgba(0, 0, 0, 0.04);
    --shadow-lg: 0 12px 32px rgba(0, 0, 0, 0.08), 0 4px 8px rgba(0, 0, 0, 0.04);
    --shadow-xl: 0 24px 56px rgba(0, 0, 0, 0.12), 0 8px 16px rgba(0, 0, 0, 0.06);
    --shadow-glow: 0 0 24px rgba(42, 157, 143, 0.12);
    --radius: 14px;
    --radius-sm: 10px;
    --radius-lg: 24px;
    --radius-full: 9999px;
    --transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --transition-fast: all 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-display: 'Outfit', 'Inter', sans-serif;
    --success: #10B981;
    --error: #EF4444;
    --warning: #F59E0B;
    --info: #3B82F6;
}

/* ---- Reset & Base ---- */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

body {
    font-family: var(--font);
    color: var(--text);
    background: var(--bg);
    line-height: 1.65;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    letter-spacing: -0.01em;
}

main {
    flex: 1;
}

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

a:hover {
    color: var(--primary-dark);
}

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

/* ---- Container ---- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ---- Section ---- */
.section {
    padding: 72px 0;
}

.section-title {
    font-family: var(--font-display);
    font-size: 1.85rem;
    font-weight: 800;
    color: var(--dark);
    text-align: center;
    margin-bottom: 44px;
    letter-spacing: -0.5px;
    position: relative;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.section-header .section-title {
    margin-bottom: 0;
    text-align: left;
}

/* ---- Buttons ---- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 24px;
    border-radius: var(--radius-full);
    font-family: var(--font);
    font-size: 0.9rem;
    font-weight: 600;
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
    letter-spacing: 0.01em;
    position: relative;
    overflow: hidden;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn:active {
    transform: translateY(0);
}

.btn-primary {
    background: linear-gradient(135deg, var(--dark) 0%, var(--dark-secondary) 100%);
    color: var(--white);
    border-color: var(--dark);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    border-color: var(--primary);
    color: var(--white);
    box-shadow: 0 8px 24px rgba(42, 157, 143, 0.25);
}

.btn-outline {
    background: transparent;
    color: var(--dark);
    border-color: var(--border);
}

.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: var(--primary-light);
    box-shadow: 0 4px 12px var(--primary-glow);
}

.btn-book {
    background: linear-gradient(135deg, var(--dark) 0%, var(--dark-secondary) 100%);
    color: var(--white);
    padding: 10px 24px;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 0.9rem;
}

.btn-book:hover {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(42, 157, 143, 0.25);
}

.btn-lg {
    padding: 15px 36px;
    font-size: 1rem;
    letter-spacing: 0.02em;
}

.btn-sm {
    padding: 6px 14px;
    font-size: 0.8rem;
}

.btn-full {
    width: 100%;
    justify-content: center;
}

.btn-danger {
    background: var(--error);
    color: var(--white);
    border-color: var(--error);
}

.btn-success {
    background: var(--success);
    color: var(--white);
    border-color: var(--success);
}

/* ---- Navbar ---- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border-bottom: 1px solid rgba(226, 232, 240, 0.6);
    transition: var(--transition);
}

.navbar.scrolled {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    background: rgba(255, 255, 255, 0.92);
}

.navbar-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--dark);
}

.brand-logo {
    height: 60px;
    width: auto;
    object-fit: contain;
}

.brand-logo-footer {
    height: 56px;
    filter: brightness(0) invert(1);
}

.brand-text {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.brand-accent {
    color: var(--primary);
}

.navbar-links {
    display: flex;
    align-items: center;
    gap: 6px;
}

.nav-link {
    padding: 8px 16px;
    color: var(--text);
    font-weight: 500;
    font-size: 0.9rem;
    border-radius: var(--radius-full);
    transition: var(--transition-fast);
    position: relative;
}

.nav-link:hover {
    color: var(--primary);
    background: var(--primary-light);
}

.nav-link.active {
    color: var(--primary);
    background: var(--primary-light);
    font-weight: 600;
}

.nav-link-btn {
    padding: 9px 24px;
    background: linear-gradient(135deg, var(--dark) 0%, var(--dark-secondary) 100%);
    color: var(--white) !important;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 0.88rem;
    letter-spacing: 0.01em;
}

.nav-link-btn:hover {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    color: var(--white) !important;
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(42, 157, 143, 0.25);
}

.navbar-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    border: none;
    background: none;
    cursor: pointer;
}

.navbar-toggle span {
    width: 22px;
    height: 2px;
    background: var(--dark);
    border-radius: 2px;
    transition: var(--transition-fast);
}

/* ---- Hero Section ---- */
.hero {
    padding: 140px 0 80px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(160deg, #f0faf7 0%, #f8fffe 25%, #fefcf5 50%, #f0faf7 75%, #e6f7f4 100%);
}

.hero .container {
    display: flex;
    align-items: center;
    gap: 48px;
}

.hero-content {
    flex: 1;
    position: relative;
    z-index: 2;
}

.hero-image {
    flex: 0 0 420px;
    position: relative;
    z-index: 2;
}

.hero-image img {
    width: 100%;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
}

.hero-title {
    font-family: var(--font-display);
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--dark);
    line-height: 1.12;
    margin-bottom: 22px;
    letter-spacing: -1.5px;
}

.text-gradient {
    background: linear-gradient(135deg, var(--primary) 0%, #2DC4B3 40%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.75;
    margin-bottom: 36px;
    max-width: 540px;
    letter-spacing: 0;
}

.hero-actions {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    gap: 40px;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--dark);
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 500;
}

/* Hero background shapes */
.hero-bg-shapes {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 50%;
    pointer-events: none;
}

.shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.15;
}

.shape-1 {
    width: 400px;
    height: 400px;
    background: var(--primary);
    top: -50px;
    right: -100px;
    animation: float 8s ease-in-out infinite;
}

.shape-2 {
    width: 200px;
    height: 200px;
    background: var(--accent);
    top: 200px;
    right: 200px;
    animation: float 6s ease-in-out infinite reverse;
}

.shape-3 {
    width: 120px;
    height: 120px;
    background: var(--primary);
    bottom: 50px;
    right: 50px;
    animation: float 7s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    33% {
        transform: translateY(-20px) rotate(3deg);
    }

    66% {
        transform: translateY(10px) rotate(-2deg);
    }
}

/* ---- Categories Section ---- */
.categories-section {
    background: var(--bg);
}

.categories-grid {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.categories-grid-compact {
    gap: 24px;
    margin-bottom: 32px;
}

.category-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    padding: 10px;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
}

.category-card:hover {
    transform: translateY(-4px);
}

.category-card.active .category-icon {
    box-shadow: 0 0 0 3px var(--primary), var(--shadow-md);
}

.category-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    transition: var(--transition);
    box-shadow: var(--shadow-md);
}

.category-card:hover .category-icon {
    box-shadow: var(--shadow-lg), var(--shadow-glow);
    transform: scale(1.05);
}

.categories-grid-compact .category-icon {
    width: 64px;
    height: 64px;
    font-size: 1.6rem;
}

.category-name {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text);
    text-align: center;
}

/* ---- Search Bar ---- */
.search-bar-wrapper {
    max-width: 600px;
    margin: 0 auto;
}

.search-bar {
    display: flex;
    align-items: center;
    background: var(--white);
    border: 2px solid var(--border);
    border-radius: var(--radius-full);
    padding: 4px 20px;
    transition: var(--transition);
    box-shadow: var(--shadow);
}

.search-bar:focus-within {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(42, 157, 143, 0.1);
}

.search-icon {
    color: var(--text-muted);
    font-size: 1rem;
    margin-right: 12px;
}

.search-input {
    flex: 1;
    border: none;
    outline: none;
    padding: 14px 0;
    font-family: var(--font);
    font-size: 0.95rem;
    background: transparent;
    color: var(--text);
}

.search-input::placeholder {
    color: var(--text-muted);
}

/* ---- Listing Header ---- */
.listing-header-section {
    padding-top: 110px;
    padding-bottom: 20px;
    background: var(--bg);
}

/* ---- Therapist Cards Grid ---- */
.therapists-listing-section {
    padding-top: 20px;
}

.therapists-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.no-results {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    color: var(--text-muted);
}

.no-results i {
    font-size: 3rem;
    margin-bottom: 16px;
    opacity: 0.4;
}

.no-results h3 {
    margin-bottom: 8px;
    color: var(--text);
}

/* ---- Therapist Card ---- */
.therapist-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 24px;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    position: relative;
}

.therapist-card:hover {
    box-shadow: var(--shadow-lg), 0 0 0 1px var(--primary-light);
    transform: translateY(-4px);
    border-color: transparent;
}

/* Card Header */
.card-header {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 20px;
}

.card-info {
    flex: 1;
    min-width: 0;
}

.card-name {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 2px;
    line-height: 1.3;
}

.card-specialization {
    font-size: 0.82rem;
    color: var(--text-light);
    margin-bottom: 12px;
}

.btn-quick-view {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 14px;
    background: transparent;
    border: 1.5px solid var(--dark);
    border-radius: var(--radius-full);
    font-family: var(--font);
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--dark);
    cursor: pointer;
    transition: var(--transition);
}

.btn-quick-view:hover {
    background: var(--dark);
    color: var(--white);
}

.card-photo {
    width: 90px;
    height: 90px;
    border-radius: var(--radius);
    overflow: hidden;
    flex-shrink: 0;
}

.card-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-photo-placeholder {
    background: var(--border-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 2rem;
}

/* Card Body */
.card-body {
    flex: 1;
}

.card-hours {
    font-size: 0.85rem;
    color: var(--text);
    margin-bottom: 10px;
}

.card-hours strong {
    color: var(--primary-dark);
}

/* Tags */
.card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 16px;
}

.tag {
    padding: 4px 12px;
    background: var(--border-light);
    border: 1px solid var(--border);
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    color: var(--text);
    white-space: nowrap;
}

.tag-more {
    background: var(--primary-light);
    border-color: var(--primary);
    color: var(--primary);
    font-weight: 600;
}

/* Audio Player */
.card-audio {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    background: var(--accent-light);
    border-radius: var(--radius-full);
    margin-bottom: 16px;
}

.card-audio-lg {
    padding: 14px 20px;
    border-radius: var(--radius);
}

.audio-play-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    background: var(--dark);
    color: var(--white);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    flex-shrink: 0;
    transition: var(--transition);
}

.audio-play-btn:hover {
    background: var(--primary);
    transform: scale(1.05);
}

.audio-play-btn.playing {
    background: var(--primary);
}

.audio-waveform {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 2px;
    height: 30px;
}

.wave-bar {
    flex: 1;
    background: var(--dark);
    border-radius: 2px;
    min-width: 2px;
    max-width: 4px;
    transition: background 0.2s;
}

.audio-play-btn.playing~.audio-waveform .wave-bar {
    animation: waveAnim 0.6s ease-in-out infinite alternate;
    background: var(--primary);
}

@keyframes waveAnim {
    0% {
        opacity: 0.4;
    }

    100% {
        opacity: 1;
    }
}

.audio-duration {
    font-size: 0.78rem;
    color: var(--text-light);
    font-weight: 500;
    flex-shrink: 0;
}

/* Card Footer */
.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    padding-top: 16px;
    border-top: 1px solid var(--border-light);
    margin-top: auto;
}

.slot-label {
    font-size: 0.8rem;
    color: var(--text-light);
    margin-bottom: 2px;
}

.slot-time {
    font-size: 0.85rem;
    color: var(--primary);
    font-weight: 600;
}

.card-price {
    font-size: 0.82rem;
    color: var(--text);
    margin-top: 4px;
}

/* ---- Therapist Profile ---- */
.profile-section {
    padding-top: 110px;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 24px;
}

.back-link:hover {
    color: var(--primary);
}

.profile-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 40px;
    margin-bottom: 40px;
}

.profile-header {
    display: flex;
    justify-content: space-between;
    gap: 32px;
    margin-bottom: 32px;
}

.profile-info {
    flex: 1;
}

.profile-name {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 4px;
}

.profile-specialization {
    font-size: 1rem;
    color: var(--text-light);
    margin-bottom: 12px;
}

.profile-category-badge {
    display: inline-block;
    padding: 4px 16px;
    background: var(--primary-light);
    color: var(--primary-dark);
    border-radius: var(--radius-full);
    font-size: 0.82rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.profile-meta {
    display: flex;
    gap: 32px;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
    color: var(--text);
}

.meta-item i {
    color: var(--primary);
}

.profile-photo {
    width: 180px;
    height: 180px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    flex-shrink: 0;
}

.profile-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-bio,
.profile-specialties,
.profile-audio {
    margin-top: 28px;
    padding-top: 28px;
    border-top: 1px solid var(--border-light);
}

.profile-bio h3,
.profile-specialties h3,
.profile-audio h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--dark);
}

.profile-bio p {
    color: var(--text-light);
    line-height: 1.8;
}

/* ---- Slots ---- */
.profile-slots-section h2 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 24px;
    color: var(--dark);
}

.slots-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.slot-date-group {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px;
}

.slot-date-label {
    font-size: 1rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 12px;
}

.slot-date-sub {
    font-weight: 400;
    color: var(--text-muted);
    font-size: 0.85rem;
}

.slot-times {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.slot-time-btn {
    padding: 8px 20px;
    border: 2px solid var(--primary);
    border-radius: var(--radius-full);
    color: var(--primary);
    font-weight: 500;
    font-size: 0.88rem;
    transition: var(--transition);
}

.slot-time-btn:hover {
    background: var(--primary);
    color: var(--white);
}

.no-slots {
    text-align: center;
    padding: 40px;
    color: var(--text-muted);
}

.no-slots i {
    font-size: 2.5rem;
    margin-bottom: 12px;
    opacity: 0.4;
}

/* ---- Booking Page ---- */
.booking-section {
    padding-top: 110px;
}

.booking-layout {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 40px;
    align-items: start;
}

.booking-sidebar {
    position: sticky;
    top: 100px;
}

.booking-therapist-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px;
    text-align: center;
}

.booking-photo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 16px;
}

.booking-therapist-card h3 {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.booking-price-tag {
    margin-top: 20px;
    padding: 16px;
    background: var(--primary-light);
    border-radius: var(--radius);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.booking-price-tag span {
    font-size: 0.85rem;
    color: var(--text-light);
}

.booking-price-tag strong {
    font-size: 1.3rem;
    color: var(--primary-dark);
}

.booking-form-wrapper {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 36px;
}

.booking-form-wrapper h2 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 28px;
}

/* ---- Slot Radio Buttons ---- */
.slot-radio {
    display: inline-block;
    cursor: pointer;
}

.slot-radio input[type="radio"] {
    display: none;
}

.slot-time-label {
    display: inline-block;
    padding: 8px 20px;
    border: 2px solid var(--border);
    border-radius: var(--radius-full);
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--text);
    transition: var(--transition);
}

.slot-radio input[type="radio"]:checked+.slot-time-label {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white);
}

.slot-radio:hover .slot-time-label {
    border-color: var(--primary);
    color: var(--primary);
}

/* ---- Form Elements ---- */
.form-step {
    margin-bottom: 32px;
}

.step-title {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 20px;
}

.step-number {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--primary);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: 700;
}

.form-group {
    margin-bottom: 20px;
    flex: 1;
}

.form-group label {
    display: block;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 6px;
}

.required {
    color: var(--error);
}

.optional {
    color: var(--text-muted);
    font-weight: 400;
    font-size: 0.8rem;
}

.form-control {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--border);
    border-radius: var(--radius-sm);
    font-family: var(--font);
    font-size: 0.92rem;
    color: var(--text);
    background: var(--white);
    transition: var(--transition-fast);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px var(--primary-glow);
}

.form-row {
    display: flex;
    gap: 20px;
}

textarea.form-control {
    resize: vertical;
    min-height: 100px;
}

/* ---- Alert / Flash Messages ---- */
.alert {
    padding: 14px 20px;
    border-radius: var(--radius-sm);
    margin-bottom: 20px;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.alert-error {
    background: #FEF2F2;
    border: 1px solid #FECACA;
    color: var(--error);
}

.alert-success {
    background: #F0FDF4;
    border: 1px solid #BBF7D0;
    color: var(--success);
}

.alert ul {
    margin: 0;
    padding-left: 20px;
}

.flash-message {
    padding: 14px 0;
    font-size: 0.9rem;
    position: relative;
}

.flash-success {
    background: #F0FDF4;
    color: var(--success);
    border-bottom: 1px solid #BBF7D0;
}

.flash-error {
    background: #FEF2F2;
    color: var(--error);
    border-bottom: 1px solid #FECACA;
}

.flash-message .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.flash-close {
    background: none;
    border: none;
    font-size: 1.3rem;
    cursor: pointer;
    opacity: 0.5;
    color: inherit;
}

/* ---- Confirmation Page ---- */
.confirmation-section {
    padding-top: 110px;
    display: flex;
    justify-content: center;
}

.confirmation-card {
    max-width: 580px;
    width: 100%;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 48px 40px;
    text-align: center;
}

.confirmation-icon {
    font-size: 4rem;
    color: var(--success);
    margin-bottom: 20px;
    animation: bounceIn 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

@keyframes bounceIn {
    0% {
        transform: scale(0);
    }

    50% {
        transform: scale(1.15);
    }

    100% {
        transform: scale(1);
    }
}

.confirmation-card h1 {
    font-family: var(--font-display);
    font-size: 1.8rem;
    margin-bottom: 8px;
}

.confirmation-subtitle {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 28px;
}

.booking-reference {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    padding: 16px 32px;
    background: var(--primary-light);
    border-radius: var(--radius);
    margin-bottom: 28px;
}

.ref-label {
    font-size: 0.78rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 4px;
}

.ref-code {
    font-family: monospace;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary-dark);
    letter-spacing: 2px;
}

.confirmation-details {
    text-align: left;
    margin: 28px 0;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 20px;
    border-bottom: 1px solid var(--border-light);
}

.detail-row:last-child {
    border-bottom: none;
}

.detail-label {
    font-size: 0.88rem;
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 8px;
}

.detail-label i {
    width: 16px;
    text-align: center;
    color: var(--primary);
}

.detail-value {
    font-weight: 600;
    color: var(--dark);
    font-size: 0.92rem;
}

.detail-price {
    color: var(--primary);
    font-size: 1.1rem;
}

.confirmation-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-top: 28px;
}

/* Status Badges */
.status-badge {
    display: inline-block;
    padding: 3px 12px;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-pending {
    background: #FEF3C7;
    color: #92400E;
}

.status-confirmed {
    background: #D1FAE5;
    color: #065F46;
}

.status-completed {
    background: #DBEAFE;
    color: #1E40AF;
}

.status-cancelled {
    background: #FEE2E2;
    color: #991B1B;
}

/* ---- CTA Section ---- */
.cta-section {
    padding: 40px 0 80px;
}

.cta-card {
    background: linear-gradient(135deg, var(--dark) 0%, #16213E 100%);
    border-radius: var(--radius-lg);
    padding: 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 400px;
    height: 400px;
    background: rgba(42, 157, 143, 0.15);
    border-radius: 50%;
}

.cta-card::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 300px;
    height: 300px;
    background: rgba(233, 196, 106, 0.1);
    border-radius: 50%;
}

.cta-content {
    position: relative;
    z-index: 2;
}

.cta-content h2 {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 12px;
}

.cta-content p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.05rem;
    margin-bottom: 28px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

/* ---- Modal ---- */
.modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal {
    background: var(--white);
    border-radius: var(--radius-lg);
    width: 100%;
    max-width: 520px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    animation: modalIn 0.3s ease;
}

.modal-lg {
    max-width: 700px;
}

@keyframes modalIn {
    from {
        opacity: 0;
        transform: scale(0.95) translateY(10px);
    }

    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 20px;
    width: 36px;
    height: 36px;
    border: none;
    background: var(--border-light);
    border-radius: 50%;
    font-size: 1.4rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text);
    transition: var(--transition);
    z-index: 10;
}

.modal-close:hover {
    background: var(--error);
    color: var(--white);
}

.modal-body {
    padding: 32px;
}

.loading-spinner {
    text-align: center;
    padding: 40px;
    font-size: 2rem;
    color: var(--primary);
}

/* ---- Footer ---- */
.footer {
    background: linear-gradient(180deg, var(--dark) 0%, #0A0F1C 100%);
    color: rgba(255, 255, 255, 0.7);
    padding: 72px 0 0;
    margin-top: auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
    color: var(--white);
}

.footer-about p {
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 20px;
}

.footer-socials {
    display: flex;
    gap: 12px;
}

.footer-socials a {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}

.footer-socials a:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
}

.footer-links h4,
.footer-contact h4 {
    color: var(--white);
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary);
    padding-left: 4px;
}

.footer-contact p {
    font-size: 0.9rem;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-contact i {
    color: var(--primary);
    width: 16px;
}

.footer-bottom {
    padding: 24px 0;
    text-align: center;
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.35);
    letter-spacing: 0.01em;
}

/* ---- Responsive ---- */
@media (max-width: 1024px) {
    .therapists-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }

    .hero-title {
        font-size: 2.8rem;
    }
}

/* 768px responsive styles consolidated at bottom of file */

/* 480px styles moved to bottom of file for consistency */

/* ============================================
   Calendar Widget
   ============================================ */
.calendar-widget {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    user-select: none;
}

.calendar-widget-lg {
    padding: 28px;
}

.calendar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.calendar-month {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--dark);
}

.calendar-nav {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--border-light);
    border: 1px solid var(--border);
    border-radius: 50%;
    cursor: pointer;
    color: var(--text);
    font-size: 0.85rem;
    transition: var(--transition);
}

.calendar-nav:hover {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

.calendar-nav:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.calendar-nav:disabled:hover {
    background: var(--border-light);
    color: var(--text);
    border-color: var(--border);
}

.calendar-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    margin-bottom: 8px;
}

.calendar-weekdays span {
    text-align: center;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 8px 0;
}

.calendar-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 4px;
}

.cal-day {
    aspect-ratio: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--text);
    position: relative;
    cursor: default;
    transition: var(--transition);
}

.cal-day.empty {
    visibility: hidden;
}

.cal-day.past {
    color: var(--border);
}

.cal-day.today {
    font-weight: 700;
    color: var(--primary);
}

.cal-day.today::after {
    content: '';
    position: absolute;
    bottom: 4px;
    width: 4px;
    height: 4px;
    background: var(--primary);
    border-radius: 50%;
}

.cal-day.available {
    cursor: pointer;
    font-weight: 600;
    color: var(--dark);
    background: var(--primary-light);
}

.cal-day.available:hover {
    background: var(--primary);
    color: var(--white);
    transform: scale(1.1);
    box-shadow: var(--shadow-md);
}

.cal-day.available::after {
    content: '';
    position: absolute;
    bottom: 5px;
    width: 6px;
    height: 6px;
    background: var(--primary);
    border-radius: 50%;
}

.cal-day.available:hover::after {
    background: var(--white);
}

.cal-day.selected {
    background: var(--primary) !important;
    color: var(--white) !important;
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(42, 157, 143, 0.35);
}

.cal-day.selected::after {
    background: var(--white) !important;
}

.cal-slot-count {
    font-size: 0.55rem;
    color: var(--primary-dark);
    position: absolute;
    bottom: 2px;
}

.cal-day.available:hover .cal-slot-count,
.cal-day.selected .cal-slot-count {
    color: rgba(255, 255, 255, 0.8);
}

/* Selected Date Label on booking page */
.selected-date-label {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--primary);
    margin-left: auto;
}

/* Time Slot Buttons in Calendar View */
.time-slots-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.time-slot-pill {
    padding: 10px 22px;
    border: 2px solid var(--border);
    border-radius: var(--radius-full);
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--text);
    background: var(--white);
    cursor: pointer;
    transition: var(--transition);
}

.time-slot-pill:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: var(--primary-light);
}

.time-slot-pill.selected {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white);
}

.time-slot-pill .slot-range {
    font-size: 0.72rem;
    color: var(--text-muted);
    display: block;
    margin-top: 2px;
}

.time-slot-pill.selected .slot-range {
    color: rgba(255, 255, 255, 0.7);
}

/* Profile Calendar Layout (side by side) */
.profile-calendar-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    align-items: start;
}

.calendar-slots-panel {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px;
    min-height: 350px;
}

.slots-panel-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 280px;
    color: var(--text-muted);
}

.slots-panel-placeholder i {
    font-size: 3rem;
    margin-bottom: 16px;
    opacity: 0.3;
    color: var(--primary);
}

.slots-panel-placeholder h4 {
    font-size: 1.1rem;
    color: var(--text);
    margin-bottom: 6px;
}

.slots-panel-placeholder p {
    font-size: 0.88rem;
}

.slots-panel-header {
    margin-bottom: 20px;
}

.slots-panel-header h4 {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 4px;
}

.slots-panel-header p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.profile-slot-btn {
    padding: 12px 24px;
    border: 2px solid var(--primary);
    border-radius: var(--radius-full);
    color: var(--primary);
    font-weight: 600;
    font-size: 0.9rem;
    background: transparent;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    text-decoration: none;
    display: inline-block;
}

.profile-slot-btn:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

/* Calendar Loading */
.calendar-loading {
    text-align: center;
    padding: 20px;
    color: var(--primary);
}

.calendar-loading i {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* Calendar Responsive */
@media (max-width: 768px) {
    .profile-calendar-layout {
        grid-template-columns: 1fr;
    }

    .calendar-widget {
        padding: 16px;
    }

    .cal-day {
        font-size: 0.82rem;
    }
}

/* ============================================
   Floating WhatsApp Button
   ============================================ */
.whatsapp-float {
    position: fixed;
    bottom: 28px;
    right: 28px;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.7rem;
    box-shadow: 0 4px 18px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: var(--transition);
    text-decoration: none;
    animation: whatsappPulse 3s ease-in-out infinite;
}

@keyframes whatsappPulse {
    0%, 100% { box-shadow: 0 4px 18px rgba(37, 211, 102, 0.4); }
    50% { box-shadow: 0 4px 18px rgba(37, 211, 102, 0.4), 0 0 0 12px rgba(37, 211, 102, 0.08); }
}

.whatsapp-float:hover {
    transform: scale(1.12);
    box-shadow: 0 8px 28px rgba(37, 211, 102, 0.5);
    color: #fff;
    animation: none;
}

.whatsapp-float .whatsapp-tooltip {
    position: absolute;
    right: 72px;
    background: var(--dark);
    color: #fff;
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    font-size: 0.82rem;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
}

.whatsapp-float:hover .whatsapp-tooltip {
    opacity: 1;
}

/* ============================================
   Overview / About Section (Homepage)
   ============================================ */
.overview-section {
    background: var(--white);
}

.overview-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.overview-content h2 {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 16px;
    line-height: 1.2;
}

.overview-content p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 16px;
    font-size: 0.95rem;
}

.overview-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 28px;
}

.overview-feature {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.overview-feature i {
    color: var(--primary);
    font-size: 1.2rem;
    margin-top: 3px;
    flex-shrink: 0;
}

.overview-feature span {
    font-size: 0.9rem;
    color: var(--text);
    font-weight: 500;
}

.overview-image {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.overview-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

/* ============================================
   How To Book Section
   ============================================ */
.how-to-book-section {
    background: var(--bg);
}

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    max-width: 600px;
    margin: -28px auto 48px;
    font-size: 0.95rem;
    line-height: 1.7;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    position: relative;
}

.step-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    text-align: center;
    position: relative;
    transition: var(--transition);
}

.step-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg), var(--shadow-glow);
    border-color: transparent;
}

.step-number-badge {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: var(--primary);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 800;
    margin: 0 auto 20px;
    box-shadow: 0 4px 12px rgba(42, 157, 143, 0.3);
}

.step-icon {
    font-size: 2.2rem;
    color: var(--primary);
    margin-bottom: 16px;
}

.step-card h3 {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 10px;
}

.step-card p {
    color: var(--text-light);
    font-size: 0.88rem;
    line-height: 1.6;
}

.step-connector {
    display: none;
}

/* ============================================
   Therapy Modes Section
   ============================================ */
.therapy-modes-section {
    background: var(--white);
}

.modes-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.mode-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px 24px;
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.mode-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg), var(--shadow-glow);
    border-color: var(--primary);
}

.mode-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--primary);
    transform: scaleX(0);
    transition: var(--transition);
}

.mode-card:hover::before {
    transform: scaleX(1);
}

.mode-icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.8rem;
}

.mode-card h3 {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 10px;
}

.mode-card p {
    color: var(--text-light);
    font-size: 0.85rem;
    line-height: 1.6;
}

/* ============================================
   CTA Appointment Section
   ============================================ */
.appointment-cta {
    background: linear-gradient(135deg, var(--dark) 0%, #0F2441 50%, #0A1628 100%);
    padding: 88px 0;
    position: relative;
    overflow: hidden;
}

.appointment-cta::before {
    content: '';
    position: absolute;
    top: -120px;
    right: -120px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, var(--primary) 0%, transparent 70%);
    opacity: 0.1;
}

.appointment-cta::after {
    content: '';
    position: absolute;
    bottom: -100px;
    left: -100px;
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, var(--accent) 0%, transparent 70%);
    opacity: 0.06;
}

.appointment-cta .container {
    text-align: center;
    position: relative;
    z-index: 1;
}

.appointment-cta h2 {
    font-family: var(--font-display);
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 14px;
    letter-spacing: -0.5px;
}

.appointment-cta p {
    color: rgba(255,255,255,0.65);
    font-size: 1.05rem;
    margin-bottom: 36px;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

.appointment-cta .btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, #2DC4B3 100%);
    border-color: var(--primary);
    font-size: 1rem;
    padding: 16px 40px;
}

.appointment-cta .btn-primary:hover {
    background: linear-gradient(135deg, #2DC4B3 0%, var(--primary) 100%);
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(42, 157, 143, 0.4);
}

/* ============================================
   Static Pages (About, Services, Concerns)
   ============================================ */
.page-hero {
    padding: 140px 0 64px;
    background: linear-gradient(160deg, #f0faf7 0%, #f8fffe 30%, #fefcf5 60%, #f0faf7 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: -200px;
    right: -200px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, var(--primary) 0%, transparent 70%);
    opacity: 0.06;
}

.page-hero h1 {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 14px;
    letter-spacing: -0.5px;
    position: relative;
}

.page-hero p {
    font-size: 1.05rem;
    color: var(--text-light);
    max-width: 580px;
    margin: 0 auto;
    line-height: 1.75;
    position: relative;
}

.page-section {
    padding: 60px 0;
}

.page-section:nth-child(even) {
    background: var(--bg);
}

.page-content {
    max-width: 800px;
    margin: 0 auto;
}

.page-content h2 {
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 16px;
}

.page-content p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 16px;
    font-size: 0.95rem;
}

/* Values Grid */
.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin: 32px 0;
}

.value-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px;
    text-align: center;
    transition: var(--transition);
}

.value-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.value-card i {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 14px;
}

.value-card h3 {
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 8px;
}

.value-card p {
    font-size: 0.85rem;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 0;
}

/* Concerns Grid */
.concerns-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.concern-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px;
    display: flex;
    align-items: flex-start;
    gap: 16px;
    transition: var(--transition);
    text-decoration: none;
}

.concern-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
}

.concern-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.concern-card h3 {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 6px;
}

.concern-card p {
    font-size: 0.82rem;
    color: var(--text-light);
    line-height: 1.5;
    margin-bottom: 0;
}

/* Services page */
.services-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
    margin-bottom: 48px;
}

.services-detail:nth-child(even) {
    direction: rtl;
}

.services-detail:nth-child(even) > * {
    direction: ltr;
}

.services-detail-content h3 {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 12px;
}

.services-detail-content p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 12px;
}

.services-detail-content ul {
    list-style: none;
    padding: 0;
}

.services-detail-content ul li {
    padding: 6px 0;
    color: var(--text);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.services-detail-content ul li i {
    color: var(--primary);
    font-size: 0.8rem;
}

/* ============================================
   Blog Styles
   ============================================ */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.blog-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
}

.blog-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg), var(--shadow-glow);
    border-color: transparent;
}

.blog-card-image {
    height: 200px;
    overflow: hidden;
}

.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.blog-card:hover .blog-card-image img {
    transform: scale(1.05);
}

.blog-card-image-placeholder {
    background: linear-gradient(135deg, var(--primary-light), #e3f2fd);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: var(--primary);
}

.blog-card-body {
    padding: 24px;
}

.blog-card-meta {
    display: flex;
    gap: 16px;
    margin-bottom: 12px;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.blog-card-meta i {
    margin-right: 4px;
}

.blog-card-title {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 10px;
}

.blog-card-title a {
    color: var(--dark);
    text-decoration: none;
}

.blog-card-title a:hover {
    color: var(--primary);
}

.blog-card-excerpt {
    color: var(--text-light);
    font-size: 0.88rem;
    line-height: 1.6;
    margin-bottom: 16px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-read-more {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--primary);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.blog-read-more:hover {
    gap: 10px;
}

/* Blog Pagination */
.blog-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 48px;
}

.blog-pagination-numbers {
    display: flex;
    gap: 8px;
}

.pagination-num {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text);
    text-decoration: none;
    transition: var(--transition);
}

.pagination-num:hover,
.pagination-num.active {
    background: var(--primary);
    color: var(--white);
}

/* Single Blog Post */
.blog-post-meta-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.blog-back-link {
    color: var(--text-light);
    text-decoration: none;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.blog-back-link:hover {
    color: var(--primary);
}

.blog-date {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.blog-date i {
    margin-right: 4px;
}

.blog-post-author {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-top: 8px;
}

.blog-post-section {
    background: var(--white);
}

.blog-post-content {
    max-width: 800px;
    margin: 0 auto;
}

.blog-post-featured-image {
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-bottom: 32px;
}

.blog-post-featured-image img {
    width: 100%;
    max-height: 450px;
    object-fit: cover;
}

.blog-post-body {
    color: var(--text);
    font-size: 1rem;
    line-height: 1.9;
}

.blog-post-body h2 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark);
    margin: 36px 0 16px;
}

.blog-post-body h3 {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--dark);
    margin: 28px 0 12px;
}

.blog-post-body p {
    margin-bottom: 16px;
}

.blog-post-body ul,
.blog-post-body ol {
    margin: 16px 0;
    padding-left: 24px;
}

.blog-post-body li {
    margin-bottom: 8px;
    line-height: 1.7;
}

.blog-post-body strong {
    color: var(--dark);
}

/* Share Buttons */
.blog-post-share {
    margin-top: 40px;
    padding-top: 24px;
    border-top: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: 16px;
}

.blog-post-share span {
    font-weight: 600;
    color: var(--dark);
    font-size: 0.9rem;
}

.share-buttons {
    display: flex;
    gap: 10px;
}

.share-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition);
}

.share-btn:hover {
    transform: scale(1.1);
    color: var(--white);
}

.share-fb { background: #1877F2; }
.share-twitter { background: #1DA1F2; }
.share-whatsapp { background: #25D366; }
.share-linkedin { background: #0A66C2; }

/* Related Posts */
.blog-related {
    margin-top: 48px;
    padding-top: 32px;
    border-top: 1px solid var(--border);
}

.blog-related h3 {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 20px;
}

.blog-related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.blog-related-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px;
    text-decoration: none;
    transition: var(--transition);
}

.blog-related-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow);
}

.blog-related-card h4 {
    font-family: var(--font-display);
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 8px;
    line-height: 1.4;
}

.blog-related-card:hover h4 {
    color: var(--primary);
}

.blog-related-date {
    font-size: 0.78rem;
    color: var(--text-muted);
}

/* ============================================
   Responsive — Full Site Mobile Optimization
   ============================================ */

/* ---- Tablet (max 992px) ---- */
@media (max-width: 992px) {
    .hero .container {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-content {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .hero-subtitle {
        max-width: 100%;
    }
    
    .hero-image {
        flex: none;
        max-width: 420px;
        width: 100%;
        order: -1;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .overview-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }
    
    .services-detail {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .services-detail:nth-child(even) {
        direction: ltr;
    }
    
    .modes-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .concerns-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .blog-related-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ---- Mobile Landscape / Small Tablet (max 768px) ---- */
@media (max-width: 768px) {
    /* -- Navbar -- */
    .navbar-container {
        height: 64px;
    }
    
    .brand-logo {
        height: 48px;
    }
    
    .navbar-links {
        display: none;
        position: absolute;
        top: 64px;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 16px 20px;
        border-bottom: 1px solid var(--border);
        box-shadow: var(--shadow-lg);
        gap: 4px;
        z-index: 999;
    }
    
    .navbar-links.open {
        display: flex;
    }
    
    .navbar-toggle {
        display: flex;
    }
    
    .nav-link {
        width: 100%;
        padding: 12px 16px;
        font-size: 0.95rem;
        border-radius: var(--radius-sm);
    }
    
    .nav-link-btn {
        width: 100%;
        text-align: center;
        margin-top: 8px;
        padding: 12px 22px;
    }
    
    /* -- Hero -- */
    .hero {
        padding: 100px 0 48px;
    }
    
    .hero .container {
        flex-direction: column;
        gap: 28px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-image {
        flex: none;
        max-width: 100%;
        order: -1;
    }
    
    .hero-image img {
        border-radius: var(--radius);
        max-height: 300px;
        object-fit: cover;
        width: 100%;
    }
    
    .hero-subtitle {
        font-size: 0.95rem;
        margin-bottom: 24px;
    }
    
    .hero-actions {
        flex-direction: column;
        gap: 12px;
    }
    
    .hero-actions .btn {
        width: 100%;
        justify-content: center;
    }
    
    .hero-stats {
        gap: 24px;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .hero-bg-shapes {
        display: none;
    }

    /* -- Sections -- */
    .section {
        padding: 48px 0;
    }
    
    .section-title {
        font-size: 1.4rem;
        margin-bottom: 28px;
    }
    
    .section-subtitle {
        font-size: 0.85rem;
        margin: -12px auto 28px;
    }
    
    .section-header {
        flex-direction: column;
        gap: 16px;
        align-items: flex-start;
    }
    
    /* -- Page Hero (About, Services, Concerns, Blog) -- */
    .page-hero {
        padding: 100px 0 36px;
    }
    
    .page-hero h1 {
        font-size: 1.7rem;
    }
    
    .page-hero p {
        font-size: 0.9rem;
    }
    
    /* -- Overview -- */
    .overview-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }
    
    .overview-content h2 {
        font-size: 1.4rem;
    }
    
    .overview-features {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .overview-image img {
        height: 240px;
        object-fit: cover;
    }
    
    /* -- Therapy Modes -- */
    .modes-grid {
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }
    
    .mode-card {
        padding: 24px 16px;
    }
    
    .mode-card h3 {
        font-size: 1rem;
    }
    
    .mode-card p {
        font-size: 0.82rem;
    }
    
    /* -- How to Book Steps -- */
    .steps-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }
    
    .step-card {
        padding: 28px 20px;
    }
    
    /* -- Categories -- */
    .categories-grid {
        gap: 16px;
        justify-content: center;
    }
    
    .category-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .category-card {
        min-width: 70px;
    }
    
    .category-name {
        font-size: 0.72rem;
    }
    
    /* -- Services Detail -- */
    .services-detail {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .services-detail:nth-child(even) {
        direction: ltr;
    }
    
    .services-detail-content h3 {
        font-size: 1.1rem;
    }
    
    .services-detail-content ul li {
        font-size: 0.88rem;
    }
    
    /* -- Values Grid -- */
    .values-grid {
        grid-template-columns: 1fr;
    }
    
    .value-card {
        padding: 24px 20px;
    }
    
    /* -- Concerns -- */
    .concerns-grid {
        grid-template-columns: 1fr;
    }
    
    .concern-card {
        padding: 20px;
    }
    
    .concern-icon {
        width: 42px;
        height: 42px;
        min-width: 42px;
        font-size: 1rem;
    }
    
    /* -- Blog -- */
    .blog-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto;
    }
    
    .blog-card-body {
        padding: 20px;
    }
    
    .blog-related-grid {
        grid-template-columns: 1fr;
    }
    
    .blog-post-share {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    
    .blog-post-body h2 {
        font-size: 1.25rem;
    }
    
    .blog-post-body h3 {
        font-size: 1.05rem;
    }
    
    .blog-post-meta-top {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .blog-pagination {
        flex-wrap: wrap;
    }
    
    /* -- Appointment CTA -- */
    .appointment-cta {
        padding: 48px 0;
    }
    
    .appointment-cta h2 {
        font-size: 1.5rem;
    }
    
    .appointment-cta p {
        font-size: 0.9rem;
        max-width: 90%;
    }
    
    /* -- Therapists Grid -- */
    .therapists-grid {
        grid-template-columns: 1fr;
        max-width: 480px;
        margin: 0 auto;
    }
    
    /* -- Profile Page -- */
    .profile-header {
        flex-direction: column-reverse;
        align-items: flex-start;
    }
    
    .profile-photo {
        width: 110px;
        height: 110px;
    }
    
    .profile-meta {
        flex-direction: column;
        gap: 12px;
    }
    
    .profile-card {
        padding: 24px 18px;
    }
    
    /* -- Booking Page -- */
    .booking-layout {
        grid-template-columns: 1fr;
    }
    
    .booking-sidebar {
        position: static;
    }
    
    .booking-form-wrapper {
        padding: 24px 16px;
    }
    
    .booking-form-wrapper h2 {
        font-size: 1.2rem;
    }
    
    .form-row {
        flex-direction: column;
        gap: 0;
    }
    
    /* -- Confirmation Page -- */
    .confirmation-card {
        padding: 28px 20px;
    }
    
    .confirmation-actions {
        flex-direction: column;
    }
    
    .cta-card {
        padding: 36px 20px;
    }
    
    /* -- Footer -- */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }
    
    /* -- WhatsApp Float -- */
    .whatsapp-float {
        bottom: 20px;
        right: 16px;
        width: 52px;
        height: 52px;
        font-size: 1.4rem;
    }
    
    .whatsapp-tooltip {
        display: none;
    }
}

/* ---- Mobile Portrait (max 480px) ---- */
@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    
    .section {
        padding: 40px 0;
    }
    
    /* -- Hero -- */
    .hero {
        padding: 90px 0 36px;
    }
    
    .hero-title {
        font-size: 1.6rem;
        letter-spacing: -0.5px;
    }
    
    .hero-subtitle {
        font-size: 0.88rem;
    }
    
    .hero-stats {
        gap: 16px;
    }
    
    .stat-number {
        font-size: 1.3rem;
    }
    
    .stat-label {
        font-size: 0.75rem;
    }
    
    .hero-image img {
        max-height: 220px;
    }
    
    /* -- Headings -- */
    .section-title {
        font-size: 1.2rem;
        margin-bottom: 24px;
    }
    
    .page-hero {
        padding: 90px 0 32px;
    }
    
    .page-hero h1 {
        font-size: 1.4rem;
    }
    
    .page-hero p {
        font-size: 0.85rem;
    }
    
    /* -- Mode cards stack -- */
    .modes-grid {
        grid-template-columns: 1fr;
    }
    
    .mode-card {
        padding: 20px 16px;
    }
    
    .mode-icon {
        width: 48px;
        height: 48px;
        font-size: 1.1rem;
    }
    
    /* -- Step cards -- */
    .step-card {
        padding: 24px 16px;
    }
    
    .step-number-badge {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .step-icon {
        font-size: 1.4rem;
    }
    
    /* -- Overview -- */
    .overview-content h2 {
        font-size: 1.25rem;
    }
    
    .overview-image img {
        height: 200px;
    }
    
    .overview-feature {
        font-size: 0.85rem;
    }
    
    /* -- CTA -- */
    .appointment-cta {
        padding: 36px 0;
    }
    
    .appointment-cta h2 {
        font-size: 1.25rem;
    }
    
    .appointment-cta p {
        font-size: 0.85rem;
    }
    
    /* -- Buttons touch-friendly -- */
    .btn {
        padding: 12px 20px;
        font-size: 0.88rem;
    }
    
    .btn-lg {
        padding: 14px 24px;
        font-size: 0.92rem;
    }
    
    /* -- Therapist cards -- */
    .card-header {
        gap: 12px;
    }
    
    .card-photo {
        width: 65px;
        height: 65px;
    }
    
    .card-name {
        font-size: 1rem;
    }
    
    .card-speciality {
        font-size: 0.78rem;
    }
    
    .card-body {
        padding: 16px;
    }
    
    .card-header {
        padding: 16px;
    }
    
    .card-footer {
        padding: 14px 16px;
    }
    
    /* -- Profile -- */
    .profile-name {
        font-size: 1.3rem;
    }
    
    .profile-card {
        padding: 18px 14px;
    }
    
    .profile-photo {
        width: 90px;
        height: 90px;
    }
    
    /* -- Calendar -- */
    .calendar-widget {
        padding: 12px;
    }
    
    .cal-month-nav {
        font-size: 0.9rem;
    }
    
    .cal-day {
        font-size: 0.75rem;
        padding: 6px 2px;
    }
    
    .cal-day-header {
        font-size: 0.68rem;
    }
    
    /* -- Time slots -- */
    .time-slots-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }
    
    .time-slot {
        padding: 8px 10px;
        font-size: 0.8rem;
    }
    
    /* -- Booking form -- */
    .booking-form-wrapper {
        padding: 20px 14px;
    }
    
    .form-control,
    .form-input {
        padding: 10px 12px;
        font-size: 0.88rem;
    }
    
    /* -- Blog -- */
    .blog-card-image {
        height: 170px;
    }
    
    .blog-card-body {
        padding: 16px;
    }
    
    .blog-card-title {
        font-size: 1rem;
    }
    
    .blog-post-featured-image img {
        max-height: 280px;
    }
    
    .blog-post-body {
        font-size: 0.92rem;
    }
    
    .blog-post-body h2 {
        font-size: 1.15rem;
        margin: 28px 0 12px;
    }
    
    .blog-related-card {
        padding: 16px;
    }
    
    /* -- Concern cards -- */
    .concern-card h3 {
        font-size: 0.95rem;
    }
    
    .concern-card p {
        font-size: 0.82rem;
    }
    
    /* -- Footer -- */
    .footer {
        padding: 36px 0 16px;
    }
    
    .brand-logo-footer {
        height: 44px;
    }
    
    .footer-about p {
        font-size: 0.82rem;
    }
    
    .footer-links h4,
    .footer-contact h4 {
        font-size: 0.9rem;
    }
    
    .footer-links a,
    .footer-contact p {
        font-size: 0.82rem;
    }
    
    .footer-bottom p {
        font-size: 0.78rem;
    }
    
    /* -- Confirmation -- */
    .confirmation-card {
        padding: 24px 16px;
    }
    
    .confirmation-icon {
        font-size: 2rem;
    }
    
    .cta-card {
        padding: 28px 16px;
    }
    
    /* -- Value cards -- */
    .value-card {
        padding: 18px;
    }
    
    .value-card h3 {
        font-size: 1rem;
    }
    
    /* -- Services -- */
    .services-detail-content h3 {
        font-size: 1.05rem;
    }
    
    .services-detail-content p {
        font-size: 0.88rem;
    }
}

/* ---- Very Small Screens (max 360px) ---- */
@media (max-width: 360px) {
    .container {
        padding: 0 12px;
    }
    
    .hero-title {
        font-size: 1.35rem;
    }
    
    .brand-logo {
        height: 40px;
    }
    
    .section-title {
        font-size: 1.1rem;
    }
    
    .page-hero h1 {
        font-size: 1.25rem;
    }
    
    .cal-day {
        font-size: 0.68rem;
        padding: 4px 1px;
    }
    
    .stat-number {
        font-size: 1.15rem;
    }
    
    .modes-grid {
        gap: 12px;
    }
    
    .blog-card-title {
        font-size: 0.92rem;
    }
    
    .appointment-cta h2 {
        font-size: 1.15rem;
    }
}