/* ==========================================================================
   Dermospace Clinic CSS Stylesheet - Organic Luxury Redesign
   ========================================================================== */

/* 1. Global Reset & Variables */
:root {
    /* Color Palette - Green, White, and Brown */
    --color-bg-lightest: #fdfdfb;    /* Warm Soft Ivory */
    --color-bg-light: #f5f4ed;       /* Warm Soft Cream */
    --color-bg-card: rgba(255, 255, 255, 0.72); /* Frosted White Glass */
    --color-border-glass: rgba(30, 59, 43, 0.08); /* Deep Green tint */
    --color-border-glow: rgba(138, 112, 81, 0.2); /* Bronze tint */
    
    --color-primary: #1e3b2b;        /* Deep Forest Green */
    --color-primary-glow: rgba(30, 59, 43, 0.06);
    --color-accent: #8a7051;         /* Warm Metallic Bronze / Brown */
    --color-accent-glow: rgba(138, 112, 81, 0.1);
    --color-sage: #749c81;           /* Mid Sage Green */
    --color-sage-light: #e4ede6;     /* Pale Mint/Sage Green */
    --color-success: #2c6e49;        /* Deep Green Success */
    --color-danger: #a84242;         /* Rust Muted Red */
    
    /* Text Colors */
    --text-primary: #19221b;         /* Deep green-black */
    --text-secondary: #48544c;       /* Slate-green */
    --text-muted: #728076;           /* Muted sage */
    --text-gradient-start: #1e3b2b;
    --text-gradient-end: #8a7051;
    
    /* Fonts */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
    
    /* System Globals */
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-quick: all 0.2s ease;
    --border-radius-sm: 8px;
    --border-radius-md: 16px;
    --border-radius-lg: 24px;
    --max-width: 1200px;
    --header-height: 85px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
}

body {
    background-color: var(--color-bg-lightest);
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    background-image: 
        radial-gradient(at 0% 0%, #f4f3ed 0px, transparent 60%),
        radial-gradient(at 100% 100%, #edf1ec 0px, transparent 60%);
}

/* Typography Utility */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--color-primary);
}

p {
    color: var(--text-secondary);
}

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

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

ul {
    list-style: none;
}

/* Glassmorphism Card Style Base (Light Theme) */
.glass-card {
    background: var(--color-bg-card);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--color-border-glass);
    border-radius: var(--border-radius-md);
    box-shadow: 0 8px 32px 0 rgba(30, 59, 43, 0.05);
    transition: var(--transition-smooth);
}

.glass-card:hover {
    border-color: var(--color-border-glow);
    box-shadow: 0 12px 40px 0 rgba(138, 112, 81, 0.08);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: var(--border-radius-sm);
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition-smooth);
    border: none;
    outline: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(30, 59, 43, 0.15);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(30, 59, 43, 0.25);
}

.btn-glow {
    position: relative;
    overflow: hidden;
}

.btn-glow::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.15) 0%, transparent 60%);
    opacity: 0;
    transition: var(--transition-smooth);
    transform: scale(0.5);
    pointer-events: none;
}

.btn-glow:hover::after {
    opacity: 1;
    transform: scale(1);
}

.btn-secondary {
    background: rgba(30, 59, 43, 0.03);
    color: var(--color-primary);
    border: 1px solid var(--color-border-glass);
}

.btn-secondary:hover {
    background: rgba(30, 59, 43, 0.06);
    border-color: rgba(30, 59, 43, 0.15);
    transform: translateY(-2px);
}

/* Gradient Text */
.gradient-text {
    background: linear-gradient(135deg, var(--text-gradient-start), var(--text-gradient-end));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 700;
}

/* Container */
.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* 2. Header and Navigation */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    height: var(--header-height);
    display: flex;
    align-items: center;
    transition: var(--transition-smooth);
    
    /* Clean transparent glass over light backgrounds */
    background: rgba(253, 253, 251, 0.85);
    border-bottom: 1px solid var(--color-border-glass);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

/* Header style when scrolled */
.site-header.scrolled {
    background: rgba(253, 253, 251, 0.95);
    border-bottom: 1px solid rgba(138, 112, 81, 0.18);
    box-shadow: 0 4px 20px rgba(30, 59, 43, 0.04);
    height: 75px;
}

.header-container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
}

.site-logo {
    height: 52px;
    width: auto;
    object-fit: contain;
    transition: var(--transition-smooth);
}

.site-header.scrolled .site-logo {
    height: 44px;
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--color-primary);
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.logo-text span {
    font-size: 0.75rem;
    font-family: var(--font-body);
    font-weight: 400;
    color: var(--color-accent);
    letter-spacing: 0.05em;
}

.nav-menu {
    display: none; /* Mobile first hidden */
}

.nav-list {
    display: flex;
    gap: 28px;
}

.nav-link {
    font-size: 0.92rem;
    font-weight: 500;
    color: var(--text-secondary);
    padding: 8px 0;
    position: relative;
}

.nav-link:hover, 
.nav-link.active {
    color: var(--color-primary);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
    transition: var(--transition-quick);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.header-socials {
    display: flex;
    gap: 12px;
    align-items: center;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(30, 59, 43, 0.03);
    border: 1px solid var(--color-border-glass);
    color: var(--text-secondary);
    transition: var(--transition-quick);
}

.social-icon:hover {
    color: #ffffff;
    background: var(--color-accent);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(138, 112, 81, 0.2);
}

.social-icon.whatsapp:hover {
    background: #25d366;
    box-shadow: 0 4px 10px rgba(37, 211, 102, 0.2);
}

.social-icon.instagram:hover {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    box-shadow: 0 4px 10px rgba(220, 39, 67, 0.25);
    border-color: transparent;
}

.social-icon svg {
    width: 18px;
    height: 18px;
    stroke-width: 2px;
    display: block;
    transition: transform 0.3s ease;
}

.social-icon:hover svg {
    transform: scale(1.1);
}

/* Mobile Nav Toggle Button */
.mobile-nav-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: transparent;
    border: none;
    color: var(--color-primary);
    cursor: pointer;
}

.hero-section {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    padding-top: calc(var(--header-height) + 20px);
    padding-bottom: 50px;
    overflow: hidden;
    background: linear-gradient(-45deg, var(--color-bg-lightest), var(--color-bg-light), var(--color-sage-light), #fcd2a4, #faf3ea, var(--color-bg-lightest));
    background-size: 300% 300%;
    animation: luxuryGradient 12s ease infinite;
}

@keyframes luxuryGradient {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Ambient Slow CSS-Only Background Gradient meshes - Soft Sage & Beige */
.ambient-gradient-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
    overflow: hidden;
}

.ambient-gradient-bg::before,
.ambient-gradient-bg::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    filter: blur(140px);
    opacity: 0.5;
}

/* Blob 1: Pale Sage Green */
.ambient-gradient-bg::before {
    width: 75vw;
    height: 75vw;
    max-width: 600px;
    max-height: 600px;
    background: radial-gradient(circle, var(--color-sage-light) 0%, rgba(228, 237, 230, 0) 70%);
    top: -10%;
    right: -10%;
    animation: drift-blob-one 18s infinite alternate ease-in-out;
}

/* Blob 2: Warm Sand / Cream */
.ambient-gradient-bg::after {
    width: 85vw;
    height: 85vw;
    max-width: 650px;
    max-height: 650px;
    background: radial-gradient(circle, #fcd2a4 0%, rgba(252, 210, 164, 0) 70%);
    bottom: -20%;
    left: -10%;
    animation: drift-blob-two 22s infinite alternate ease-in-out;
}

/* Blob 3: Soft Mint Glow */
.ambient-gradient-bg .blob-three {
    position: absolute;
    border-radius: 50%;
    filter: blur(140px);
    opacity: 0.45;
    width: 70vw;
    height: 70vw;
    max-width: 550px;
    max-height: 550px;
    background: radial-gradient(circle, #dcf5e7 0%, rgba(220, 245, 231, 0) 70%);
    top: 30%;
    left: 35%;
    animation: drift-blob-three 20s infinite alternate ease-in-out;
}

@keyframes drift-blob-one {
    0% { transform: translate(0, 0) scale(1) rotate(0deg); }
    50% { transform: translate(-80px, 60px) scale(1.1) rotate(180deg); }
    100% { transform: translate(40px, -40px) scale(0.95) rotate(360deg); }
}

@keyframes drift-blob-two {
    0% { transform: translate(0, 0) scale(1) rotate(0deg); }
    50% { transform: translate(90px, -90px) scale(0.9) rotate(-180deg); }
    100% { transform: translate(-50px, 70px) scale(1.05) rotate(-360deg); }
}

@keyframes drift-blob-three {
    0% { transform: translate(0, 0) scale(0.9) translate(0, 0); }
    50% { transform: translate(-110px, -50px) scale(1.15); }
    100% { transform: translate(60px, 80px) scale(1); }
}

.hero-container {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.hero-content {
    max-width: 720px;
}

.hero-tagline {
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--color-accent);
    margin-bottom: 20px;
    display: inline-block;
}

.hero-title {
    font-size: 2.6rem;
    line-height: 1.2;
    margin-bottom: 24px;
    font-weight: 700;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    max-width: 600px;
}

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

.hero-stats {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
}

.stat-card {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px 24px;
}

.stat-icon-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: var(--border-radius-sm);
    background: var(--color-sage-light);
    border: 1px solid rgba(116, 156, 129, 0.2);
    color: var(--color-primary);
}

.stat-info h3 {
    font-size: 1.4rem;
    font-weight: 700;
    line-height: 1.2;
}

.stat-info p {
    font-size: 0.88rem;
    color: var(--text-secondary);
}

/* Hero Section Two-column layout */
.hero-main-row {
    display: flex;
    flex-direction: column;
    gap: 40px;
    width: 100%;
}

@media (min-width: 992px) {
    .hero-main-row {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
    .hero-content {
        max-width: 48%;
    }
    .hero-image-side {
        max-width: 48%;
        width: 100%;
        display: flex;
        justify-content: center;
    }
}

.hero-doctor-card {
    position: relative;
    padding: 12px;
    border-radius: var(--border-radius-lg);
    width: 100%;
    max-width: 460px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(30, 59, 43, 0.08);
}

.hero-doctor-img {
    width: 100%;
    height: auto;
    border-radius: calc(var(--border-radius-lg) - 4px);
    object-fit: cover;
    filter: brightness(0.98);
    display: block;
    transition: var(--transition-smooth);
}

.hero-doctor-card:hover .hero-doctor-img {
    transform: scale(1.02);
}

.hero-doctor-card .doctor-badge {
    position: absolute;
    bottom: 24px;
    left: 24px;
    right: 24px;
    background: rgba(253, 253, 251, 0.9);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--color-border-glass);
    padding: 12px 18px;
    border-radius: var(--border-radius-md);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.05);
}

.hero-doctor-card .doctor-badge h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 2px;
    color: var(--color-primary);
}

.hero-doctor-card .doctor-badge p {
    font-size: 0.78rem;
    color: var(--color-accent);
    font-weight: 500;
    margin: 0;
}

.hero-doctor-card .verified-tag {
    position: absolute;
    top: 24px;
    right: 24px;
    background: var(--color-primary);
    color: #fff;
    padding: 6px 12px;
    border-radius: 50px;
    font-size: 0.72rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 4px 12px rgba(30, 59, 43, 0.2);
    z-index: 10;
}

.hero-doctor-card .verified-tag i {
    width: 12px;
    height: 12px;
}

/* 4. Section Commons */
.inner-page-hero {
    padding-top: calc(var(--header-height) + 40px);
    padding-bottom: 40px;
    text-align: center;
    background: linear-gradient(180deg, var(--color-sage-light) 0%, transparent 100%);
    position: relative;
}

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

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px auto;
}

.section-tag {
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--color-accent);
    display: block;
    margin-bottom: 12px;
}

.section-title {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.title-bar {
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
    margin: 0 auto 24px auto;
    border-radius: 2px;
}

.section-description {
    font-size: 1.05rem;
    color: var(--text-secondary);
}

/* 5. About Section */
.about-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: flex-start;
}

.about-image-panel {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.doctor-image-wrapper {
    position: relative;
    padding: 12px;
    overflow: hidden;
}

.doctor-img {
    width: 100%;
    border-radius: calc(var(--border-radius-md) - 4px);
    object-fit: cover;
    box-shadow: 0 8px 30px rgba(30, 59, 43, 0.06);
    filter: brightness(0.98);
}

.verified-badge {
    position: absolute;
    bottom: 24px;
    left: 24px;
    right: 24px;
    background: rgba(253, 253, 251, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(44, 110, 73, 0.2);
    padding: 10px 16px;
    border-radius: var(--border-radius-sm);
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--color-success);
    font-size: 0.82rem;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.google-badge-card {
    padding: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 14px;
}

.google-logo-stars {
    display: flex;
    align-items: center;
    gap: 12px;
}

.google-g {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.8rem;
    background: linear-gradient(135deg, #4285F4, #EA4335, #FBBC05, #34A853);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stars {
    display: flex;
    gap: 3px;
}

.stars i.filled, .review-stars i.filled, .rating-stars i.filled {
    color: #dfa13b;
    fill: #dfa13b;
    width: 16px;
    height: 16px;
}

.rating-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.rating-value {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--color-primary);
}

.rating-count {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.google-verify-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--color-accent);
}

.google-verify-link:hover {
    color: var(--color-primary);
    text-decoration: underline;
}

.doctor-profile-header {
    margin-bottom: 20px;
}

.profile-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--color-sage-light);
    color: var(--color-primary);
    padding: 5px 12px;
    border-radius: 50px;
    font-size: 0.78rem;
    font-weight: 600;
    margin-bottom: 16px;
    border: 1px solid rgba(30, 59, 43, 0.1);
}

.small-check {
    width: 12px;
    height: 12px;
}

.doctor-name {
    font-size: 2.2rem;
    margin-bottom: 6px;
}

.doctor-degrees {
    font-size: 1.05rem;
    color: var(--color-accent);
    font-weight: 500;
    margin-bottom: 4px;
}

.doctor-specialties {
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.experience-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    margin-bottom: 24px;
}

.exp-icon {
    font-size: 1.6rem;
    color: var(--color-success);
}

.exp-details h4 {
    font-size: 1rem;
    font-weight: 600;
}

.exp-details p {
    font-size: 0.82rem;
    color: var(--text-secondary);
}

.bio-text {
    display: flex;
    flex-direction: column;
    gap: 16px;
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 30px;
}

.skills-highlight h4 {
    font-size: 1.05rem;
    margin-bottom: 16px;
    position: relative;
    display: inline-block;
}

.skills-highlight h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 40px;
    height: 2px;
    background: var(--color-accent);
}

.tag-container {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.skill-tag {
    background: rgba(30, 59, 43, 0.02);
    border: 1px solid var(--color-border-glass);
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 0.82rem;
    color: var(--text-primary);
}

/* 6. Our Services Section */
.services-grid {
    display: grid;
    /* Grid layout (2 per row even on mobile to avoid single-column scroll) */
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.service-card {
    padding: 20px 16px;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 14px;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--color-primary-glow), transparent);
    opacity: 0;
    transition: var(--transition-smooth);
}

.service-card:hover::before {
    opacity: 1;
}

.service-icon-box {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: var(--border-radius-sm);
    background: rgba(138, 112, 81, 0.08);
    border: 1px solid rgba(138, 112, 81, 0.15);
    color: var(--color-accent);
    transition: var(--transition-quick);
}

.service-card:hover .service-icon-box {
    background: var(--color-accent);
    color: #ffffff;
    transform: scale(1.05);
}

.service-title {
    font-size: 0.98rem;
    font-weight: 600;
}

.service-text {
    font-size: 0.82rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* 7. Testimonials Section */
.rating-header-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    max-width: 440px;
    margin: 10px auto 0 auto;
    padding: 16px 20px;
}

.main-rating {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1;
    color: var(--color-primary);
}

.stars-out-of {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--text-secondary);
}

.rating-stars-wrap {
    margin-top: 6px;
}

.rating-stars {
    display: flex;
    justify-content: center;
    gap: 4px;
    margin-bottom: 4px;
}

.rating-text {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.slider-wrapper {
    position: relative;
    max-width: 740px;
    margin: 40px auto 0 auto;
    overflow: hidden;
    padding: 10px;
}

.slider-container {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
    width: 100%;
}

.testimonial-slide {
    flex: 0 0 100%;
    width: 100%;
    opacity: 0.3;
    transition: opacity 0.5s ease;
    transform: scale(0.97);
}

.testimonial-slide.active {
    opacity: 1;
    transform: scale(1);
}

.testimonial-card {
    padding: 24px;
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.reviewer-meta {
    display: flex;
    align-items: center;
    gap: 14px;
}

.reviewer-avatar {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 1rem;
    box-shadow: 0 4px 10px rgba(30, 59, 43, 0.1);
}

.reviewer-info h4 {
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.2;
}

.review-stars {
    display: flex;
    gap: 2px;
    margin: 2px 0;
}

.review-stars i {
    width: 13px;
    height: 13px;
}

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

.review-content {
    position: relative;
}

.review-text {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
    overflow: hidden;
    position: relative;
    transition: max-height 0.4s ease;
}

/* Expandable reviews helper styles */
.review-text.collapsed {
    max-height: 90px;
    mask-image: linear-gradient(to bottom, black 50%, transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, black 50%, transparent 100%);
}

.read-more-btn {
    display: block;
    margin-top: 8px;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--color-accent);
    background: none;
    border: none;
    cursor: pointer;
    outline: none;
}

.read-more-btn:hover {
    color: var(--color-primary);
    text-decoration: underline;
}

.slider-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 24px;
}

.control-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(30, 59, 43, 0.02);
    border: 1px solid var(--color-border-glass);
    color: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-quick);
}

.control-btn:hover {
    background: rgba(30, 59, 43, 0.06);
    border-color: rgba(30, 59, 43, 0.15);
    transform: scale(1.05);
}

.slider-dots {
    display: flex;
    gap: 6px;
}

.dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(30, 59, 43, 0.15);
    cursor: pointer;
    transition: var(--transition-quick);
}

.dot.active {
    background: var(--color-accent);
    width: 18px;
    border-radius: 3px;
}

.google-reviews-cta {
    margin-top: 40px;
    text-align: center;
}

.google-reviews-cta p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 12px;
}

.google-btn {
    gap: 10px;
    font-weight: 600;
}

/* 8. Booking Wizard Form - book.html */
.book-container {
    max-width: 800px;
    margin: 0 auto;
}

.wizard-progress {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    position: relative;
    padding: 0 10px;
}

.wizard-progress::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--color-sage-light);
    z-index: 1;
    transform: translateY(-50%);
}

.progress-bar-fill {
    position: absolute;
    top: 50%;
    left: 0;
    width: 0%; /* Dynamic fill via JS */
    height: 2px;
    background: var(--color-accent);
    z-index: 2;
    transform: translateY(-50%);
    transition: width 0.4s ease;
}

.progress-step {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--color-bg-lightest);
    border: 2px solid var(--color-sage-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.88rem;
    z-index: 3;
    transition: var(--transition-smooth);
    color: var(--text-muted);
}

.progress-step.active {
    border-color: var(--color-primary);
    background: var(--color-primary);
    color: #ffffff;
}

.progress-step.completed {
    border-color: var(--color-success);
    background: var(--color-success);
    color: #ffffff;
}

.wizard-step-panel {
    display: none; /* Controlled via JS classes */
}

.wizard-step-panel.active {
    display: block;
    animation: fade-slide-up 0.4s ease forwards;
}

.wizard-title {
    font-size: 1.4rem;
    margin-bottom: 24px;
    text-align: center;
}

/* Option Grid - offline vs online */
.options-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 30px;
}

.option-select-card {
    padding: 24px;
    cursor: pointer;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.option-select-card input[type="radio"] {
    display: none;
}

.option-select-card .icon-wrap {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--color-sage-light);
    color: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-quick);
}

.option-select-card.selected {
    border-color: var(--color-accent);
    background: rgba(138, 112, 81, 0.04);
}

.option-select-card.selected .icon-wrap {
    background: var(--color-accent);
    color: #ffffff;
}

.option-select-card h3 {
    font-size: 1.15rem;
    margin-bottom: 4px;
}

.option-select-card p {
    font-size: 0.85rem;
}

/* Scheduler Slots */
.date-selector-wrapper {
    margin-bottom: 24px;
}

.form-group {
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-primary);
}

.form-control {
    padding: 12px 16px;
    border: 1px solid var(--color-border-glass);
    background: rgba(255, 255, 255, 0.5);
    border-radius: var(--border-radius-sm);
    font-family: var(--font-body);
    font-size: 0.95rem;
    outline: none;
    transition: var(--transition-quick);
}

.form-control:focus {
    border-color: var(--color-accent);
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(138, 112, 81, 0.08);
}

.slots-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-top: 12px;
}

.slot-item {
    padding: 12px 6px;
    text-align: center;
    border-radius: var(--border-radius-sm);
    border: 1px solid var(--color-border-glass);
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 500;
    transition: var(--transition-quick);
    background: var(--color-bg-card);
}

.slot-item.selected {
    background: var(--color-primary);
    color: #ffffff;
    border-color: var(--color-primary);
}

.slot-item:hover:not(.selected) {
    border-color: var(--color-accent);
    background: rgba(138, 112, 81, 0.03);
}

/* Mock Paywall Styles */
.checkout-panel {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.invoice-summary {
    padding: 20px;
    background: rgba(30, 59, 43, 0.02);
    border-radius: var(--border-radius-sm);
    border: 1px dashed var(--color-border-glass);
}

.invoice-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    font-size: 0.9rem;
}

.invoice-row.total-row {
    border-top: 1px solid var(--color-border-glass);
    padding-top: 12px;
    margin-top: 8px;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-primary);
}

.payment-method-selector {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
}

.payment-type-btn {
    flex: 1;
    padding: 12px;
    border-radius: var(--border-radius-sm);
    border: 1px solid var(--color-border-glass);
    background: var(--color-bg-card);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    font-weight: 500;
    font-size: 0.85rem;
    transition: var(--transition-quick);
}

.payment-type-btn.active {
    border-color: var(--color-accent);
    background: rgba(138, 112, 81, 0.03);
    color: var(--color-primary);
}

.card-details-box {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.card-row-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

/* Navigation buttons */
.wizard-actions {
    display: flex;
    justify-content: space-between;
    margin-top: 40px;
    border-top: 1px solid var(--color-border-glass);
    padding-top: 24px;
}

/* Success Confirmation Screen */
.success-screen {
    text-align: center;
    padding: 40px 20px;
}

.success-icon-wrap {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: var(--color-success);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px auto;
    box-shadow: 0 4px 15px rgba(44, 110, 73, 0.3);
}

.success-screen h3 {
    font-size: 1.6rem;
    margin-bottom: 12px;
}

.success-screen p {
    font-size: 0.95rem;
    margin-bottom: 24px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.booking-ticket {
    background: var(--color-bg-light);
    border: 1px solid var(--color-border-glass);
    border-radius: var(--border-radius-sm);
    padding: 20px;
    max-width: 420px;
    margin: 0 auto 30px auto;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 10px;
    font-size: 0.88rem;
}

.ticket-item {
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid rgba(0,0,0,0.03);
    padding-bottom: 6px;
}

.ticket-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

/* 9. Contact Us Section - contact.html */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

.contact-card {
    padding: 24px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.contact-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--color-sage-light);
    color: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-card h3 {
    font-size: 1.15rem;
}

.contact-value {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-primary);
}

.contact-value a:hover {
    color: var(--color-accent);
    text-decoration: underline;
}

.contact-hint {
    font-size: 0.82rem;
    color: var(--text-muted);
}

.clinic-card {
    padding: 24px;
}

.card-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--border-radius-sm);
    background: var(--color-sage-light);
    color: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.clinic-card h3 {
    font-size: 1.2rem;
    margin-bottom: 12px;
}

.timing-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.timing-row {
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
    padding-bottom: 6px;
    font-size: 0.9rem;
}

.timing-row.closed-row {
    opacity: 0.5;
}

.timing-row .hours.closed {
    color: var(--color-danger);
    font-weight: 600;
}

/* 10. Footer */
.site-footer {
    position: relative;
    background: #14221a; /* Very deep dark green footer */
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.7);
    overflow: hidden;
}

.site-footer h1, .site-footer h2, .site-footer h3, .site-footer h4, .site-footer a {
    color: #ffffff;
}

.site-footer p {
    color: rgba(255, 255, 255, 0.6);
}

.footer-main {
    position: relative;
    z-index: 2;
    padding: 60px 0 40px 0;
}

.footer-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-logo {
    height: 48px;
    width: auto;
    object-fit: contain;
    align-self: flex-start;
}

.footer-desc {
    font-size: 0.88rem;
    line-height: 1.6;
}

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

.footer-socials .social-icon {
    background: rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.7);
    border-color: rgba(255, 255, 255, 0.1);
}

.footer-socials .social-icon:hover {
    color: #ffffff;
    background: var(--color-accent);
}

.footer-links h3, .footer-map h3 {
    font-size: 1.1rem;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.footer-links h3::after, .footer-map h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 25px;
    height: 2px;
    background: var(--color-accent);
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

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

.footer-links a:hover {
    color: #ffffff;
    padding-left: 4px;
}

.map-iframe-container {
    border-radius: var(--border-radius-sm);
    overflow: hidden;
    margin-bottom: 12px;
}

.map-iframe-container iframe {
    filter: sepia(0.2) contrast(1.1); /* Match soft green tone styling */
    display: block;
}

.map-address {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 24px 0;
    position: relative;
    z-index: 2;
}

.footer-bottom-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    text-align: center;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.4);
}

/* 11. Floating WhatsApp Widget */
.whatsapp-floating-widget {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 999;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.whatsapp-hint {
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid var(--color-border-glass);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: var(--color-primary);
    padding: 8px 14px;
    border-radius: 50px;
    font-size: 0.82rem;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(30, 59, 43, 0.06);
    opacity: 0;
    transform: translateX(10px);
    transition: var(--transition-smooth);
    pointer-events: none;
    white-space: nowrap;
}

.whatsapp-floating-widget:hover .whatsapp-hint {
    opacity: 1;
    transform: translateX(0);
}

.whatsapp-icon-circle {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: #25d366;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
    transition: var(--transition-smooth);
}

.whatsapp-floating-widget:hover .whatsapp-icon-circle {
    transform: scale(1.08) rotate(8deg);
}

/* 12. Animation Utilities */
.scroll-anim {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.scroll-anim.active {
    opacity: 1;
    transform: translateY(0);
}

.scroll-anim:nth-child(2) { transition-delay: 0.1s; }
.scroll-anim:nth-child(3) { transition-delay: 0.2s; }
.scroll-anim:nth-child(4) { transition-delay: 0.3s; }

.reveal-anim {
    opacity: 0;
    transform: translateY(15px);
    animation: reveal-up 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.reveal-anim:nth-child(1) { animation-delay: 0.05s; }
.reveal-anim:nth-child(2) { animation-delay: 0.15s; }
.reveal-anim:nth-child(3) { animation-delay: 0.25s; }
.reveal-anim:nth-child(4) { animation-delay: 0.35s; }

@keyframes reveal-up {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* ==========================================================================
   Responsive Breakpoints & Layouts
   ========================================================================== */

@media (min-width: 768px) {
    /* Fonts scale */
    .hero-title {
        font-size: 3.5rem;
    }
    
    .section-title {
        font-size: 2.5rem;
    }
    
    /* Hero stats */
    .hero-stats {
        flex-direction: row;
        gap: 20px;
    }
    
    .stat-card {
        flex: 1;
    }
    
    .about-grid {
        grid-template-columns: 4fr 6fr;
        gap: 50px;
    }
    
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 16px;
    }
    
    .service-card {
        padding: 24px 20px;
    }
    
    .options-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .contact-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .footer-container {
        grid-template-columns: 4.5fr 2fr 5.5fr;
        gap: 32px;
    }
    
    .footer-bottom-container {
        flex-direction: row;
        justify-content: space-between;
    }
}

@media (min-width: 1024px) {
    .mobile-nav-toggle {
        display: none;
    }
    
    .nav-menu {
        display: block;
    }
    
    .hero-title {
        font-size: 3.8rem;
    }
    
    .services-grid {
        grid-template-columns: repeat(3, 1fr); /* 3 grid columns on large screens */
        gap: 20px;
    }
}

/* Mobile Nav Drawer modal style */
.nav-menu.open {
    display: flex;
    position: fixed;
    top: var(--header-height);
    left: 0;
    width: 100%;
    height: calc(100vh - var(--header-height));
    background: rgba(253, 253, 251, 0.98);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    justify-content: center;
    padding-top: 40px;
    z-index: 999;
    border-bottom: 1px solid var(--color-border-glass);
    animation: fade-slide-down 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.nav-menu.open .nav-list {
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.nav-menu.open .nav-link {
    font-size: 1.2rem;
}

@keyframes fade-slide-down {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
