/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #4caf50;
    --secondary-color: #2196f3;
    --text-dark: #333;
    --text-light: #666;
    --bg-light: #f9f9f9;
    --white: #ffffff;
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 4px 20px rgba(0, 0, 0, 0.15);
    --border-radius: 8px;
    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    background: var(--white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
}

.logo h2 {
    color: var(--primary-color);
    font-size: 1.5rem;
    font-weight: 700;
}

.logo p {
    font-size: 0.85rem;
    color: var(--text-light);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: var(--transition);
    font-size: 0.95rem;
}

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

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    transition: var(--transition);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #e8f5e9 0%, #f1f8f4 100%);
    padding: 80px 0;
    min-height: 600px;
    position: relative;
    overflow: hidden;
}

/* ============================================================
   NEW HERO LAYOUT
   ============================================================ */

.hero-full-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 520px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 60px 48px;
    gap: 2.5rem;
    overflow: visible;
}

/* Hero text content — fixed width so it never shrinks */
.hero-content {
    flex: 0 0 420px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    z-index: 2;
    min-width: 0;
}

/* ============================================================
   HERO DOCTOR IMAGE PANEL
   ============================================================ */
.hero-doctor-image-panel {
    flex: 0 0 380px;
    position: relative;
    height: 500px;
    display: flex;
    align-items: stretch;
    justify-content: center;
}

/* Outer accent ring — arch shape */
.hero-doctor-image-panel::before {
    content: '';
    position: absolute;
    inset: -6px;
    border-radius: 16px;
    border: 3px solid rgba(76, 175, 80, 0.35);
    z-index: 0;
    pointer-events: none;
}

/* Inner frame */
.hero-doctor-image-bg {
    position: absolute;
    inset: 0;
    border-radius: 16px;
    background: linear-gradient(170deg, #e8f5e9 0%, #c8e6c9 60%, #a5d6a7 100%);
    box-shadow:
        0 8px 32px rgba(76, 175, 80, 0.18),
        0 2px 8px rgba(76, 175, 80, 0.12);
    z-index: 0;
    overflow: hidden;
}

/* The doctor photo */
.hero-doctor-image-panel img {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    border-radius: 16px;
    display: block;
    image-rendering: auto;
}

@media (max-width: 1024px) {
    .hero-full-container {
        padding: 40px 20px;
        gap: 1.5rem;
    }

    .hero-content {
        flex: 0 0 340px;
    }

    .hero-quotes-panel {
        flex: 0 0 150px;
        width: 150px;
    }

    .hero-quote-display,
    .hero-quote-text {
        max-width: 150px;
        width: 150px;
    }

    .hero-doctor-image-panel {
        flex: 0 0 280px;
        height: 400px;
    }
}

@media (max-width: 768px) {
    .hero-full-container {
        flex-direction: column;
        padding: 30px 20px 40px;
        min-height: auto;
        gap: 1.5rem;
    }

    .hero-content {
        flex: none;
        width: 100%;
    }

    /* Stack badges vertically on mobile */
    .hero-badges-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .hero-quotes-panel {
        flex: none;
        width: 100%;
        order: 2;
    }

    .hero-quote-display,
    .hero-quote-text {
        max-width: 100%;
        width: 100%;
    }

    .hero-quote-display {
        align-items: center;
        text-align: center;
    }

    .hero-quote-mark--close {
        align-self: center;
    }

    .hero-doctor-image-panel {
        flex: none;
        width: 240px;
        height: 300px;
        margin: 0 auto;
        order: 1;
    }
}

/* ============================================================
   HERO QUOTES PANEL
   ============================================================ */
.hero-quotes-panel {
    flex: 0 0 180px;
    width: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
    /* Never shrink or grow — holds its lane */
    flex-shrink: 0;
    flex-grow: 0;
}

.hero-quote-display {
    width: 180px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.4rem;
    opacity: 1;
    transition: opacity 0.6s ease;
    /* Force text to wrap at panel width — no overflow */
    word-break: break-word;
    overflow-wrap: break-word;
    white-space: normal;
}

.hero-quote-display.fading {
    opacity: 0;
}

.hero-quote-mark {
    font-size: 3rem;
    line-height: 1;
    color: var(--primary-color);
    font-family: Georgia, serif;
    opacity: 0.5;
    display: block;
    margin-bottom: -0.5rem;
}

.hero-quote-mark--close {
    align-self: flex-end;
    margin-top: -0.5rem;
    margin-bottom: 0;
}

.hero-quote-text {
    font-size: 0.92rem;
    line-height: 1.7;
    color: var(--text-dark);
    margin: 0;
    width: 100%;
    max-width: 180px;
    white-space: normal;
    word-break: break-word;
    overflow-wrap: break-word;
    /* per-quote formatting applied inline via JS */
}

.hero-quote-text .typing-cursor {
    display: inline-block;
    width: 2px;
    height: 1em;
    background: var(--primary-color);
    margin-left: 2px;
    vertical-align: text-bottom;
    animation: blink 0.8s step-end infinite;
}

.hero-quote-author {
    font-size: 0.82rem;
    color: var(--text-light);
    font-style: italic;
    margin: 0.4rem 0 0 0;
    /* per-author formatting applied inline via JS */
}

/* ============================================================
   STANDALONE VIDEO REVIEWS SECTION
   ============================================================ */
.video-reviews-section {
    padding: 80px 0 60px;
    background: #0d0d0d;
    overflow: hidden;
}

.video-reviews-section .section-header h2,
.video-reviews-section .section-header p {
    color: #fff;
}

.video-reviews-section .section-header .underline {
    background: var(--primary-color);
}

.video-reviews-scroll-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 1.5rem 0;
    background: #111;
    border-radius: 12px;
}

/* Fade edges — now relative to the container width, not the viewport */
.video-reviews-scroll-wrapper::before,
.video-reviews-scroll-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 80px;
    z-index: 2;
    pointer-events: none;
}
.video-reviews-scroll-wrapper::before {
    left: 0;
    background: linear-gradient(to right, #111, transparent);
}
.video-reviews-scroll-wrapper::after {
    right: 0;
    background: linear-gradient(to left, #111, transparent);
}

.video-reviews-scroll-wrapper .video-frame-scroll {
    display: flex;
    flex-direction: row;
    gap: 1.5rem;
    animation: rtlScroll var(--video-frame-speed, 30s) linear infinite;
    padding: 0 1.5rem;
    height: 420px;
    align-items: center;
    width: max-content;
}

.video-reviews-scroll-wrapper .video-frame-scroll:hover {
    animation-play-state: paused;
}

@media (max-width: 768px) {
    .video-reviews-section {
        padding: 60px 0 40px;
    }

    .video-reviews-scroll-wrapper .video-frame-scroll {
        height: 320px;
        gap: 1rem;
    }
}

@media (max-width: 1024px) {
    .hero-full-container {
        padding: 40px 20px;
        min-height: auto;
    }
}

.hero-content h1 {
    font-size: 3rem;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-content p {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 2rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
}

/* Google Verified Badge on Hero */
.hero-badges-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-top: 2rem;
    flex-wrap: nowrap;
}

.google-verified-badge,
.stats-combined-badge {
    flex: 0 0 auto;
    min-width: 0;
}

.google-verified-badge {
    display: flex;
}

.gvb-inner {
    width: auto;
}

.google-verified-badge:hover {
    transform: translateY(-3px);
}

.gvb-inner {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    padding: 0.9rem 1.5rem;
    border-radius: 50px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12), 
                0 0 0 1px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.google-verified-badge:hover .gvb-inner {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.18),
                0 0 0 1px rgba(0, 0, 0, 0.08);
}

/* Verified checkmark circle */
.gvb-check {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, #4caf50 0%, #45a049 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(76, 175, 80, 0.3);
}

.gvb-check svg {
    width: 20px;
    height: 20px;
    stroke-width: 3;
}

/* Google G logo */
.gvb-logo {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
}

.gvb-logo svg {
    width: 100%;
    height: 100%;
    display: block;
}

/* Text content */
.gvb-text {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}

.gvb-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-dark);
    line-height: 1.2;
}

.gvb-stars {
    display: flex;
    align-items: center;
    gap: 0.15rem;
    margin-top: 0.1rem;
}

.gvb-star {
    color: #fbbf24;
    font-size: 1rem;
    line-height: 1;
}

.gvb-score {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-left: 0.4rem;
}

.gvb-sub {
    font-size: 0.7rem;
    color: var(--text-light);
    font-weight: 500;
    margin-top: 0.1rem;
}

/* Subtle shimmer animation */
.gvb-inner::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent,
        rgba(255, 255, 255, 0.4),
        transparent
    );
    animation: gvbShimmer 3s infinite;
    pointer-events: none;
}

@keyframes gvbShimmer {
    0% {
        transform: translateX(-100%) translateY(-100%) rotate(45deg);
    }
    100% {
        transform: translateX(100%) translateY(100%) rotate(45deg);
    }
}

.hero-image {
    align-self: stretch;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
}

/* Fixed frame — image fills without cropping */
.hero-image img {
    width: 100%;
    max-width: 550px;
    height: 420px;
    object-fit: contain;
    object-position: center center;
    background: #f1f8f4;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
    display: block;
}

/* Hero Video Frame - Right Side Only */
.hero-video-frame {
    width: 520px;
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
    align-self: stretch;
    background: transparent;
}

.hero-video-right {
    /* Handled in parent */
}

.video-frame-scroll {
    display: flex;
    flex-direction: row;
    gap: 1.5rem;
    animation: rtlScroll var(--video-frame-speed, 30s) linear infinite;
    padding: 0 1.5rem;
    height: 100%;
    align-items: center;
    width: max-content;
}

.video-frame-scroll:hover {
    animation-play-state: paused;
}

@keyframes rtlScroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.hero-video-item {
    position: relative;
    width: 300px;
    height: 100%;
    max-height: 500px;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), 
                box-shadow 0.35s ease,
                z-index 0s;
    flex-shrink: 0;
    background: transparent;
}

/* Hide thumbnail and show inline video on hover */
.hero-video-item .video-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
    transition: opacity 0.3s ease;
}

.hero-video-item .video-inline {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: none;
    border: none;
}

/* Instagram cards that use the embed as their visual — iframe is always shown */
.hero-video-item.ig-embed-card .video-inline.ig-static-preview {
    display: block;
    pointer-events: none; /* clicks pass through to the card, not the iframe */
}

/* On hover, enable iframe interaction for autoplay */
.hero-video-item.ig-embed-card:hover .video-inline.ig-static-preview {
    pointer-events: auto;
}

.hero-video-item:hover .video-thumb {
    opacity: 0;
}

.hero-video-item:hover .video-inline {
    display: block;
}

.hero-video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        to bottom,
        rgba(0,0,0,0.1) 0%,
        transparent 25%,
        transparent 55%,
        rgba(0,0,0,0.7) 100%
    );
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1rem;
    color: var(--white);
    pointer-events: none;
    transition: opacity 0.3s ease;
}

/* Fade out overlay text when video starts playing */
.hero-video-item:hover .hero-video-overlay {
    opacity: 0;
}

.hero-video-play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 56px;
    height: 56px;
    background: rgba(255, 255, 255, 0.88);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary-color);
    pointer-events: none;
    transition: all 0.3s ease;
    box-shadow: 0 3px 16px rgba(0,0,0,0.35);
}

.hero-video-item:hover .hero-video-play-icon {
    opacity: 0;
    transform: translate(-50%, -50%) scale(1.3);
}

.hero-video-name {
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 0.2rem;
    text-shadow: 0 1px 4px rgba(0,0,0,0.7);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.hero-video-condition {
    font-size: 0.8rem;
    opacity: 0.9;
    text-shadow: 0 1px 4px rgba(0,0,0,0.7);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Platform icon badge - top left corner */
.hero-video-source-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    width: 30px;
    height: 30px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3;
    pointer-events: none;
    box-shadow: 0 2px 8px rgba(0,0,0,0.4);
    transition: opacity 0.3s ease;
}

.hero-video-item:hover .hero-video-source-badge {
    opacity: 0;
}

.hero-video-source-badge.yt {
    background: #ff0000;
}

.hero-video-source-badge.ig {
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285aeb 90%);
}

.hero-video-source-badge svg {
    width: 17px;
    height: 17px;
    fill: #ffffff;
    display: block;
}

/* Mute/unmute button on video cards — shown on hover */
.video-card-mute-btn {
    position: absolute;
    bottom: 12px;
    right: 12px;
    z-index: 10;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: none;
    background: rgba(0, 0, 0, 0.65);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease, background 0.2s ease, transform 0.2s ease;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.video-card-mute-btn.visible {
    opacity: 1;
    pointer-events: auto;
}

.video-card-mute-btn:hover {
    background: rgba(0, 0, 0, 0.85);
    transform: scale(1.15);
}

.video-card-mute-btn svg {
    display: block;
    flex-shrink: 0;
}

/* Hover popup — lift card forward with a stronger shadow */
.hero-video-item {
    will-change: transform;
}

.hero-video-item:hover {
    transform: scale(1.1) translateY(-10px);
    box-shadow: 0 28px 70px rgba(0, 0, 0, 0.55);
    z-index: 50;
}

/* Video Lightbox */
.video-lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
    align-items: center;
    justify-content: center;
}

.video-lightbox.active {
    display: flex;
}

.video-lightbox-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.95);
}

.video-lightbox-content {
    position: relative;
    z-index: 1;
    max-width: 90vw;
    max-height: 90vh;
    width: 600px;
}

.video-lightbox-close {
    position: absolute;
    top: -40px;
    right: 0;
    background: none;
    border: none;
    color: var(--white);
    font-size: 2.5rem;
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    line-height: 1;
}

.video-lightbox-close:hover {
    transform: scale(1.2);
}

.video-lightbox-player {
    background: var(--text-dark);
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 9 / 16;
}

.video-lightbox-player video,
.video-lightbox-player iframe {
    width: 100%;
    height: 100%;
    display: block;
}

.video-lightbox-info {
    margin-top: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: var(--white);
}

.video-lightbox-info h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.video-lightbox-info p {
    font-size: 0.95rem;
    opacity: 0.9;
}

/* Buttons */
.btn {
    padding: 0.9rem 2rem;
    border: none;
    border-radius: var(--border-radius);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: var(--transition);
}

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

.btn-primary:hover {
    background: #45a049;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: var(--white);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

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

.btn-full {
    width: 100%;
}

/* Section Styles */
section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--text-light);
}

.underline {
    width: 80px;
    height: 4px;
    background: var(--primary-color);
    margin: 0 auto 1rem;
    border-radius: 2px;
}

/* About Section */
.about {
    background: var(--bg-light);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    align-items: start;
}

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

.about-text h3 {
    font-size: 2rem;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.designation {
    color: var(--primary-color);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.about-text p {
    color: var(--text-light);
    margin-bottom: 1rem;
    line-height: 1.8;
}

.qualifications {
    margin-top: 2rem;
    background: var(--white);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.qualifications h4 {
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.qualifications ul {
    list-style: none;
    padding-left: 0;
}

.qualifications li {
    padding: 0.5rem 0;
    color: var(--text-light);
    padding-left: 1.5rem;
    position: relative;
}

.qualifications li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

/* Services Section */
.services {
    position: relative;
}

.services-grid {
    display: flex;
    gap: 2rem;
    overflow-x: auto;
    overflow-y: visible;
    scroll-behavior: smooth;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
    padding: 1rem 0 2rem 0;
    position: relative;
}

.services-grid::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

/* Fade indicators on edges */
.services-grid-wrapper {
    position: relative;
    margin: 0 -20px;
    padding: 0 20px;
}

.services-grid-wrapper::before,
.services-grid-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 2rem;
    width: 60px;
    z-index: 2;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.services-grid-wrapper::before {
    left: 0;
    background: linear-gradient(to right, rgba(255,255,255,1), rgba(255,255,255,0));
}

.services-grid-wrapper::after {
    right: 0;
    background: linear-gradient(to left, rgba(255,255,255,1), rgba(255,255,255,0));
}

.services-grid-wrapper.show-left-fade::before {
    opacity: 1;
}

.services-grid-wrapper.show-right-fade::after {
    opacity: 1;
}

/* Scroll navigation arrows */
.services-scroll-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.services-scroll-nav.show {
    display: block;
    opacity: 1;
}

.services-scroll-nav.left {
    left: 10px;
}

.services-scroll-nav.right {
    right: 10px;
}

.services-scroll-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--white);
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    transition: all 0.3s ease;
}

.services-scroll-btn:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: scale(1.1);
}

.services-scroll-btn:active {
    transform: scale(0.95);
}

.service-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
    min-width: 320px;
    flex-shrink: 0;
}

/* Dynamic card width based on columns-visible setting */
.services-grid[data-columns="1"] .service-card {
    min-width: calc(100% - 2rem);
}

.services-grid[data-columns="2"] .service-card {
    min-width: calc(50% - 1rem);
}

.services-grid[data-columns="3"] .service-card {
    min-width: calc(33.333% - 1.5rem);
}

.services-grid[data-columns="4"] .service-card {
    min-width: calc(25% - 1.75rem);
}

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

.service-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.service-card h3 {
    font-size: 1.5rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.service-card ul {
    list-style: none;
    margin-bottom: 1rem;
}

.service-card li {
    padding: 0.5rem 0;
    color: var(--text-light);
    padding-left: 1.5rem;
    position: relative;
}

.service-card li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

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

/* Mobile responsiveness */
@media (max-width: 1024px) {
    .services-grid[data-columns="3"] .service-card,
    .services-grid[data-columns="4"] .service-card {
        min-width: calc(50% - 1rem);
    }
}

@media (max-width: 768px) {
    /* Force 2 cards per view on mobile, overriding data-columns styles */
    .services-grid[data-columns] .service-card,
    .services-grid .service-card {
        min-width: calc(50% - 0.5rem) !important;
        max-width: calc(50% - 0.5rem) !important;
        width: calc(50% - 0.5rem) !important;
        padding: 1.25rem;
    }
    
    .service-icon {
        font-size: 2.2rem;
        margin-bottom: 0.75rem;
    }
    
    .service-card h3 {
        font-size: 1.15rem;
        margin-bottom: 0.75rem;
    }
    
    .service-card li {
        padding: 0.35rem 0;
        padding-left: 1.25rem;
        font-size: 0.85rem;
    }
    
    /* Show scroll buttons on mobile */
    .services-scroll-nav {
        display: block !important;
    }
    
    .services-scroll-btn {
        width: 36px;
        height: 36px;
        font-size: 1.1rem;
    }
    
    .services-scroll-nav.left {
        left: 5px;
    }
    
    .services-scroll-nav.right {
        right: 5px;
    }
    
    /* Adjust grid gap for mobile */
    .services-grid {
        gap: 1rem;
    }
}

/* Reviews Section */
.reviews {
    background: var(--bg-light);
    overflow: hidden;
}

.google-rating-display {
    margin-top: 1.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.google-badge {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 2.5rem;
    background: var(--white);
    border-radius: 50px;
    box-shadow: var(--shadow);
}

.google-logo {
    height: 24px;
}

.rating-info .stars {
    color: #ffc107;
    font-size: 1.5rem;
    letter-spacing: 2px;
}

.rating-info .rating-text {
    color: var(--text-light);
    font-size: 0.9rem;
    text-align: center;
    margin-top: 0.2rem;
    font-weight: 500;
}

.reviews-slider {
    overflow: hidden;
    position: relative;
    margin-top: 2rem;
}

.reviews-track {
    display: flex;
    gap: 2rem;
    animation: scroll var(--slider-speed, 30s) linear infinite;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.review-card {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    min-width: 350px;
    max-width: 350px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
}

.review-card.google-review {
    border-top: 3px solid #4285f4;
}

.review-source {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.75rem;
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

.review-source img {
    height: 12px;
}

.review-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.review-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--primary-color);
    flex-shrink: 0;
}

.review-avatar-placeholder {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 1.2rem;
    flex-shrink: 0;
}

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

.review-name {
    font-weight: 600;
    color: var(--text-dark);
    display: block;
    margin-bottom: 0.2rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.review-rating {
    color: #ffc107;
}

.review-text {
    color: var(--text-light);
    line-height: 1.8;
    font-size: 0.95rem;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    max-height: 7.2em;
}

.review-text.expanded {
    -webkit-line-clamp: unset;
    max-height: none;
}

.read-more-btn {
    margin-top: 0.8rem;
    background: none;
    border: none;
    color: var(--primary-color);
    font-weight: 600;
    cursor: pointer;
    font-size: 0.9rem;
    padding: 0;
    transition: var(--transition);
}

.read-more-btn:hover {
    color: #45a049;
    text-decoration: underline;
}

/* Appointment Section */
.appointment-form-container {
    max-width: 700px;
    margin: 0 auto;
}

.appointment-form {
    background: var(--white);
    padding: 2.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: var(--border-radius);
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.1);
}

.form-group small {
    display: block;
    margin-top: 0.5rem;
    color: var(--text-light);
    font-size: 0.85rem;
}

/* Payment Section */
.payment {
    background: var(--bg-light);
}

.payment-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    max-width: 900px;
    margin: 0 auto;
}

.payment-qr,
.payment-info {
    background: var(--white);
    padding: 2.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    text-align: center;
}

.payment-qr h3,
.payment-info h3 {
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.payment-qr img {
    width: 100%;
    max-width: 300px;
    border-radius: var(--border-radius);
    margin-bottom: 1rem;
}

.payment-info {
    text-align: left;
}

.payment-info p {
    margin-bottom: 1rem;
    color: var(--text-light);
}

.payment-note {
    background: #fff3cd;
    padding: 1rem;
    border-radius: var(--border-radius);
    margin-top: 1.5rem;
    font-size: 0.9rem;
}

/* Contact Section */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.contact-card {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    text-align: center;
}

.contact-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.contact-card h3 {
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.contact-card p {
    color: var(--text-light);
    font-size: 0.95rem;
}

.maps-directions-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin-top: 0.75rem;
    padding: 0.45rem 1rem;
    background: var(--primary-color, #2e7d32);
    color: #fff;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s, transform 0.15s;
}

.maps-directions-btn:hover {
    background: var(--primary-dark, #1b5e20);
    transform: translateY(-1px);
}

/* Footer */
.footer {
    background: var(--text-dark);
    color: var(--white);
    text-align: center;
    padding: 2rem 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-section p {
    margin: 0.5rem 0;
}

.footer-policy-links {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-top: 0.5rem;
}

.footer-policy-links a {
    color: rgba(255, 255, 255, 0.65);
    text-decoration: none;
    font-size: 0.82rem;
    transition: var(--transition);
}

.footer-policy-links a:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

.footer-policy-sep {
    color: rgba(255, 255, 255, 0.3);
    font-size: 0.82rem;
    user-select: none;
}

.footer-social {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.footer-social p {
    margin: 0;
    font-size: 0.95rem;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--white);
    transition: var(--transition);
}

.social-link:hover {
    background: var(--primary-color);
    transform: scale(1.1);
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    overflow-y: auto;
}

.modal-content {
    background-color: var(--white);
    margin: 5% auto;
    padding: 2rem;
    border-radius: var(--border-radius);
    width: 90%;
    max-width: 500px;
    position: relative;
}

.dashboard-content {
    max-width: 900px;
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    line-height: 1;
}

.close:hover {
    color: var(--text-dark);
}

/* Auth Tabs */
.auth-tabs {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    border-bottom: 2px solid #eee;
}

.auth-tab {
    padding: 0.8rem 1.5rem;
    background: none;
    border: none;
    border-bottom: 3px solid transparent;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-light);
    transition: var(--transition);
}

.auth-tab.active {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
}

.auth-form {
    display: none;
}

.auth-form.active {
    display: block;
}

.auth-form h2 {
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

/* Dashboard Tabs */
.dashboard-tabs {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 2rem;
    border-bottom: 2px solid #eee;
    overflow-x: auto;
    flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.dashboard-tabs::-webkit-scrollbar {
    display: none;
}

.dashboard-tab {
    padding: 0.8rem 1.25rem;
    background: none;
    border: none;
    border-bottom: 3px solid transparent;
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-light);
    transition: var(--transition);
    white-space: nowrap;
    flex-shrink: 0;
}

.dashboard-tab.active {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
}

.dashboard-tab-content {
    display: none;
}

.dashboard-tab-content.active {
    display: block;
}

.dashboard-tab-content h3 {
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

/* Dashboard Lists */
.appointment-item,
.payment-item,
.report-item,
.shipment-item {
    background: var(--bg-light);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    margin-bottom: 1rem;
}

.item-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.status {
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.status-pending {
    background: #fff3cd;
    color: #856404;
}

.status-confirmed {
    background: #d1ecf1;
    color: #0c5460;
}

.status-completed {
    background: #d4edda;
    color: #155724;
}

.status-cancelled {
    background: #f8d7da;
    color: #721c24;
}

.empty-state {
    text-align: center;
    padding: 3rem;
    color: var(--text-light);
}

/* ============================================================
   PROFILE TAB
   ============================================================ */

/* Reorder banner */
.reorder-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    background: linear-gradient(135deg, #e8f5e9 0%, #f1f8e9 100%);
    border: 1px solid #a5d6a7;
    border-radius: var(--border-radius);
    padding: 1rem 1.25rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.reorder-banner-text {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.reorder-banner-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.reorder-banner-text strong {
    display: block;
    color: var(--text-dark);
    font-size: 1rem;
}

.reorder-banner-text p {
    color: var(--text-light);
    font-size: 0.85rem;
    margin: 0;
}

.reorder-banner-action {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.35rem;
}

/* Slashed fee below the reorder button */
.reorder-price-info {
    text-align: right;
}

.reorder-save-line {
    font-size: 0.78rem;
    color: #2e7d32;
    font-weight: 500;
}

.reorder-fee-slash {
    text-decoration: line-through;
    color: var(--text-light);
    font-weight: 400;
}

/* Profile header card */
.profile-header {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    background: var(--bg-light);
    border-radius: var(--border-radius);
    padding: 1.25rem 1.5rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.profile-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--primary-color);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    font-weight: 700;
    flex-shrink: 0;
}

.profile-info {
    flex: 1;
}

.profile-info h3 {
    margin: 0 0 0.15rem;
    font-size: 1.1rem;
    color: var(--text-dark);
}

.profile-email,
.profile-phone {
    margin: 0;
    font-size: 0.88rem;
    color: var(--text-light);
    line-height: 1.5;
}

.profile-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    padding: 0 0.25rem;
}

.profile-meta-item {
    background: var(--bg-light);
    border: 1px solid #e0e0e0;
    border-radius: 20px;
    padding: 0.25rem 0.75rem;
    font-size: 0.82rem;
    color: var(--text-light);
}

/* Disabled email input */
.input-disabled {
    background: #f5f5f5 !important;
    color: var(--text-light) !important;
    cursor: not-allowed;
}

/* ============================================================
   ORDER HISTORY CARDS
   ============================================================ */

.order-history-card {
    background: var(--bg-light);
    border: 1px solid #e8e8e8;
    border-radius: var(--border-radius);
    padding: 1.25rem 1.5rem;
    margin-bottom: 1rem;
    transition: box-shadow 0.2s ease;
}

.order-history-card:hover {
    box-shadow: var(--shadow);
}

.order-history-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    flex-wrap: wrap;
}

.order-history-title {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.order-history-title strong {
    font-size: 1rem;
    color: var(--text-dark);
}

.order-type-badge {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.2rem 0.6rem;
    border-radius: 12px;
    width: fit-content;
}

.order-type-badge.full {
    background: #e3f2fd;
    color: #1565c0;
}

.order-type-badge.repeat {
    background: #f3e5f5;
    color: #6a1b9a;
}

.order-history-meta {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.order-meta-date {
    font-size: 0.85rem;
    color: var(--text-light);
}

.order-meta-ago {
    font-size: 0.78rem;
    background: #f0f0f0;
    color: #555;
    border-radius: 10px;
    padding: 0.15rem 0.55rem;
    font-weight: 500;
}

.order-history-fees {
    border-top: 1px dashed #ddd;
    padding-top: 0.75rem;
    margin-bottom: 0.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.fee-line {
    display: flex;
    justify-content: space-between;
    font-size: 0.875rem;
    color: var(--text-light);
}

.fee-line.total {
    font-weight: 700;
    color: var(--text-dark);
    padding-top: 0.4rem;
    border-top: 1px solid #ddd;
    font-size: 0.95rem;
}

.order-history-footer {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.order-history-footer small {
    font-size: 0.8rem;
    color: var(--text-light);
}

/* ── Payment status badges on order cards ─────────────────── */
.order-header-right {
    display: flex;
    align-items: flex-start;
    flex-shrink: 0;
}

.pay-status-badge {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 600;
    padding: 0.3rem 0.75rem;
    border-radius: 20px;
    white-space: nowrap;
}

.pay-badge-verified {
    background: #e8f5e9;
    color: #2e7d32;
    border: 1px solid #a5d6a7;
}

.pay-badge-pending {
    background: #fff8e1;
    color: #f57f17;
    border: 1px solid #ffe082;
}

.pay-badge-rejected {
    background: #fce4ec;
    color: #c62828;
    border: 1px solid #ef9a9a;
}

/* Card left-border accent by payment state */
.order-card-verified {
    border-left: 4px solid #4caf50;
}

.order-card-rejected {
    border-left: 4px solid #ef5350;
}

/* Appointment slot row */
.order-appt-row {
    font-size: 0.875rem;
    color: var(--text-dark);
    margin-bottom: 0.6rem;
    padding: 0.4rem 0.75rem;
    background: #f3f8ff;
    border-radius: 6px;
    border-left: 3px solid #2196f3;
}

/* Transaction ID row */
.order-txn-row {
    font-size: 0.8rem;
    color: var(--text-light);
    margin-top: 0.5rem;
}

.order-txn-row code {
    font-family: monospace;
    background: #f5f5f5;
    padding: 0.1rem 0.4rem;
    border-radius: 4px;
    color: #555;
}

/* Status notes */
.order-pending-note {
    margin-top: 0.6rem;
    font-size: 0.8rem;
    color: #856404;
    background: #fff8e1;
    border-radius: 6px;
    padding: 0.5rem 0.75rem;
}

.order-rejected-note {
    margin-top: 0.6rem;
    font-size: 0.8rem;
    color: #c62828;
    background: #fce4ec;
    border-radius: 6px;
    padding: 0.5rem 0.75rem;
}

/* Dashboard tab overflow on small screens */
@media (max-width: 600px) {
    .dashboard-tabs {
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-bottom: 0.25rem;
    }

.shipment-card {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: var(--border-radius);
    margin-bottom: 1.25rem;
    overflow: hidden;
    box-shadow: 0 1px 4px rgba(0,0,0,.06);
}

.shipment-card-delivered {
    border-left: 4px solid #4caf50;
}

.shipment-card-header {
    padding: 1rem 1.25rem 0.6rem;
    border-bottom: 1px solid #f0f0f0;
}

.shipment-card-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 0.3rem;
}

.shipment-pkg-name {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-dark);
}

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

/* Status badge */
.shipment-status-badge {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 600;
    padding: 0.25rem 0.7rem;
    border-radius: 20px;
    white-space: nowrap;
}

.shipment-status-pending   { background: #fff8e1; color: #f57f17; border: 1px solid #ffe082; }
.shipment-status-shipped   { background: #e3f2fd; color: #1565c0; border: 1px solid #90caf9; }
.shipment-status-in_transit { background: #ede7f6; color: #4527a0; border: 1px solid #ce93d8; }
.shipment-status-delivered { background: #e8f5e9; color: #2e7d32; border: 1px solid #a5d6a7; }

/* Progress steps */
.ship-progress {
    display: flex;
    align-items: center;
    padding: 1rem 1.25rem;
    overflow-x: auto;
    gap: 0;
}

.ship-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.3rem;
    flex-shrink: 0;
}

.ship-step-dot {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #e0e0e0;
    color: #999;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 700;
    transition: background 0.3s, color 0.3s;
}

.ship-step-done .ship-step-dot {
    background: #c8e6c9;
    color: #2e7d32;
}

.ship-step-active .ship-step-dot {
    background: var(--primary-color);
    color: #fff;
    box-shadow: 0 0 0 3px rgba(76,175,80,0.25);
    font-size: 1rem;
}

.ship-step-label {
    font-size: 0.7rem;
    color: var(--text-light);
    white-space: nowrap;
    font-weight: 500;
}

.ship-step-done .ship-step-label  { color: #2e7d32; font-weight: 600; }
.ship-step-active .ship-step-label { color: var(--primary-color); font-weight: 700; }

.ship-step-line {
    flex: 1;
    min-width: 24px;
    height: 2px;
    background: #e0e0e0;
    margin-bottom: 20px; /* align with dot centre */
}

/* Courier details grid */
.shipment-details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 0.6rem 1.25rem;
    padding: 0.75rem 1.25rem 1rem;
    border-top: 1px dashed #eee;
}

.shipment-detail {
    display: flex;
    flex-direction: column;
    font-size: 0.85rem;
}

.shipment-detail span {
    color: var(--text-light);
    font-size: 0.75rem;
    margin-bottom: 0.15rem;
}

.shipment-detail strong {
    color: var(--text-dark);
}

.shipment-detail-full {
    grid-column: 1 / -1;
}

.shipment-tracking-id {
    font-family: monospace;
    font-size: 0.9rem !important;
    color: #1a237e !important;
    background: #e8eaf6;
    padding: 0.1rem 0.45rem;
    border-radius: 4px;
    display: inline-block;
    margin-top: 0.1rem;
}

.shipment-track-link {
    display: inline-block;
    margin-top: 0.2rem;
    font-size: 0.85rem;
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
}

.shipment-track-link:hover { text-decoration: underline; }

.shipment-delivered-banner {
    background: #e8f5e9;
    color: #2e7d32;
    font-size: 0.85rem;
    font-weight: 600;
    padding: 0.65rem 1.25rem;
    border-top: 1px solid #c8e6c9;
    text-align: center;
}

@media (max-width: 480px) {
    .shipment-details-grid { grid-template-columns: 1fr 1fr; }
    .ship-step-line { min-width: 12px; }
}

/* ── Admin inline shipment form ─────────────────────────────── */

.pvc-shipment-info {
    padding: 0.75rem 1.25rem;
    background: #f9fafb;
    border-top: 1px solid #eee;
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem 1.5rem;
    font-size: 0.85rem;
}

.pvc-shipment-row {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.pvc-ship-label {
    color: var(--text-light);
    font-size: 0.78rem;
    white-space: nowrap;
}

.pvc-status-select {
    padding: 0.25rem 0.6rem;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 0.82rem;
    background: #fff;
    cursor: pointer;
}

.pvc-ship-form {
    padding: 1rem 1.25rem;
    background: #f0f7ff;
    border-top: 2px solid #90caf9;
}

.pvc-ship-form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 0.75rem;
}

@media (max-width: 600px) {
    .pvc-ship-form-grid { grid-template-columns: 1fr; }
}

/* ─────────── end of new additions ─────────────────────────── */

    .reorder-banner {
        flex-direction: column;
        align-items: flex-start;
    }

    .reorder-banner-action {
        align-items: flex-start;
        width: 100%;
    }

    .reorder-price-info {
        text-align: left;
    }

    .reorder-save-line {
        display: block;
    }

    .profile-header {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }

    .profile-header .btn {
        align-self: center;
    }

    .order-history-header {
        flex-direction: column;
    }
}

/* Loading Spinner */
.spinner-overlay {
    display: none;
    position: fixed;
    z-index: 3000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
}

.spinner {
    border: 4px solid #f3f3f3;
    border-top: 4px solid var(--primary-color);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-full-container {
        flex-direction: column;
        padding: 0 20px;
    }

    .hero-video-frame {
        width: 100%;
        height: 230px;
        overflow: hidden;
    }

    .video-frame-scroll {
        height: 100%;
        align-items: center;
    }

    .hero-video-item {
        width: 140px;
        height: 210px;
        max-height: 210px;
    }

    .hero-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-image {
        text-align: center;
    }

    .about-content {
        grid-template-columns: 1fr;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .contact-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .payment-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--white);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: var(--shadow);
        padding: 2rem 0;
        gap: 0;
    }

    /* Contact section — 2×2 grid instead of stacked single column */
    .contact-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }

    .contact-card {
        padding: 1rem 0.75rem;
        border-radius: 10px;
    }

    .contact-icon {
        font-size: 1.6rem;
        margin-bottom: 0.5rem;
    }

    .contact-card h3 {
        font-size: 0.9rem;
        margin-bottom: 0.25rem;
    }

    .contact-card p {
        font-size: 0.78rem;
        line-height: 1.4;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        padding: 1rem 0;
    }

    .hamburger {
        display: flex;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 1rem;
    }
    
    /* Review cards - reduced size on mobile */
    .review-card {
        padding: 1.25rem;
        min-width: 260px;
        max-width: 260px;
    }
    
    .review-avatar,
    .review-avatar-placeholder {
        width: 40px;
        height: 40px;
    }
    
    .review-avatar-placeholder {
        font-size: 1rem;
    }
    
    .review-name {
        font-size: 0.9rem;
    }
    
    .review-text {
        font-size: 0.85rem;
        line-height: 1.6;
        -webkit-line-clamp: 3;
        max-height: 4.8em;
    }
    
    .reviews-track {
        gap: 1rem;
    }

    /* Scale down badge on mobile */
    .gvb-inner {
        padding: 0.7rem 1.2rem;
        gap: 0.7rem;
    }

    .gvb-check {
        width: 32px;
        height: 32px;
    }

    .gvb-check svg {
        width: 18px;
        height: 18px;
    }

    .gvb-logo {
        width: 24px;
        height: 24px;
    }

    .gvb-title {
        font-size: 0.85rem;
    }

    .gvb-star {
        font-size: 0.9rem;
    }

    .gvb-score {
        font-size: 0.75rem;
    }

    .gvb-sub {
        font-size: 0.65rem;
    }
    
    /* Also scale down stats badge similarly */
    .stats-combined-badge {
        padding: 0.7rem 1.2rem;
        gap: 0.7rem;
    }
    
    .stats-combined-number {
        font-size: 0.85rem;
    }
    
    .stats-combined-label {
        font-size: 0.65rem;
    }
    
    .stats-combined-icon {
        font-size: 1.2rem;
    }
    
    .stats-combined-divider {
        height: 30px;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .review-card {
        min-width: 280px;
    }

    .hero-video-item {
        width: 110px;
        height: 175px;
        max-height: 175px;
    }

    .hero-video-name {
        font-size: 0.75rem;
    }

    .hero-video-condition {
        font-size: 0.65rem;
    }

    .hero-video-play-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .video-lightbox-content {
        width: 100vw;
        max-width: 100vw;
        max-height: 100vh;
    }

    .video-lightbox-player {
        border-radius: 0;
    }

    .modal-content {
        margin: 10% auto;
        padding: 1.5rem;
    }

    .dashboard-content {
        width: 95%;
        margin: 2% auto;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-social {
        justify-content: center;
    }

    .google-rating-display {
        flex-direction: column;
        gap: 1rem;
    }

    .google-badge {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 1.5rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }

    .section-header h2 {
        font-size: 1.5rem;
    }

    .appointment-form,
    .payment-qr,
    .payment-info {
        padding: 1.5rem;
    }
    
    /* Keep hero badges side by side even on smallest screens */
    .hero-badges-row {
        gap: 0.5rem;
    }
    
    /* Scale down both badges slightly on very small screens */
    .gvb-inner,
    .stats-combined-badge {
        padding: 0.6rem 0.9rem;
        gap: 0.55rem;
    }
    
    .gvb-check {
        width: 28px;
        height: 28px;
    }
    
    .gvb-check svg {
        width: 16px;
        height: 16px;
    }
    
    .gvb-logo {
        width: 22px;
        height: 22px;
    }
    
    .gvb-title,
    .stats-combined-number {
        font-size: 0.78rem;
    }
    
    .gvb-star {
        font-size: 0.82rem;
    }
    
    .gvb-score {
        font-size: 0.7rem;
    }
    
    .gvb-sub,
    .stats-combined-label {
        font-size: 0.62rem;
    }
    
    .stats-combined-icon {
        font-size: 1.1rem;
    }
    

    
    /* Keep contact grid as 2 columns even on smallest screens */
    .contact-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 0.75rem;
    }
    
    .contact-card {
        padding: 0.85rem 0.65rem;
    }
    
    .contact-icon {
        font-size: 1.4rem;
    }
    
    .contact-card h3 {
        font-size: 0.85rem;
    }
    
    .contact-card p {
        font-size: 0.75rem;
    }
}

/* ============================================================
   ABOUT SECTION — UPDATED LAYOUT
   ============================================================ */

.about-image-col {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* ============================================================
   TYPING EFFECT — Doctor Bio
   ============================================================ */

.typing-text {
    color: var(--text-light);
    margin-bottom: 1rem;
    line-height: 1.8;
    min-height: 1.8em;
}

.typing-cursor {
    display: inline-block;
    width: 2px;
    height: 1em;
    background: var(--primary-color);
    margin-left: 2px;
    vertical-align: text-bottom;
    animation: blinkCursor 0.75s step-end infinite;
}

@keyframes blinkCursor {
    0%, 100% { opacity: 1; }
    50%       { opacity: 0; }
}

/* ============================================================
   DOCTOR GALLERY FRAME
   ============================================================ */

.doctor-gallery-frame {
    width: 100%;
    border-radius: var(--border-radius);
    /* overflow must be visible so hover-scaled items aren't clipped */
    overflow: visible;
    background: var(--white);
    box-shadow: var(--shadow-lg);
    border: 2px solid #e8f5e9;
    position: relative;
}

/* Inner mask — clips the scrolling track but not the hover pop */
.doctor-gallery-frame .gallery-track-mask {
    overflow: hidden;
    border-radius: 6px;
    /* vertical padding gives hover-scaled items room above and below */
    padding: 18px 0;
}

/* Left/right fade edges */
.doctor-gallery-frame::before,
.doctor-gallery-frame::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 36px;
    z-index: 2;
    pointer-events: none;
}
.doctor-gallery-frame::before {
    left: 0;
    background: linear-gradient(to right, var(--white), transparent);
}
.doctor-gallery-frame::after {
    right: 0;
    background: linear-gradient(to left, var(--white), transparent);
}

/* Scrolling track */
.gallery-scroll-track {
    display: flex;
    gap: 12px;
    padding: 0 12px;
    animation: galleryScroll var(--gallery-speed, 20s) linear infinite;
    width: max-content;
    will-change: transform;
    /* overflow visible so scaled items show above/below the track line */
    overflow: visible;
}

.gallery-scroll-track:hover {
    animation-play-state: paused;
}

@keyframes galleryScroll {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Individual gallery item */
.gallery-item {
    position: relative;
    flex-shrink: 0;
    width: 130px;
    cursor: pointer;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.14);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1),
                box-shadow 0.3s ease;
    /* ensure hover pops above siblings and frame border */
    z-index: 1;
}

.gallery-item:hover {
    transform: scale(1.55) translateY(-4px);
    box-shadow: 0 14px 40px rgba(0,0,0,0.38);
    z-index: 20;
}

.gallery-item img {
    width: 100%;
    height: 130px;
    object-fit: cover;
    display: block;
}

/* Tag/caption strip at bottom of each item */
.gallery-item-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.72));
    color: #fff;
    font-size: 0.6rem;
    font-weight: 600;
    padding: 12px 5px 4px;
    text-align: center;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    letter-spacing: 0.2px;
    pointer-events: none;
}

/* Gallery placeholder when no images uploaded */
.gallery-placeholder {
    padding: 1.5rem;
    text-align: center;
    color: var(--text-light);
    font-size: 0.85rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.gallery-placeholder .gallery-placeholder-icon {
    font-size: 2rem;
    opacity: 0.5;
}

/* ============================================================
   GALLERY LIGHTBOX (hover → click to enlarge)
   ============================================================ */

.gallery-lightbox {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9998;
    align-items: center;
    justify-content: center;
}

.gallery-lightbox.active {
    display: flex;
}

.gallery-lightbox-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.88);
}

.gallery-lightbox-content {
    position: relative;
    z-index: 1;
    max-width: 90vw;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    animation: galleryLightboxIn 0.25s ease;
}

@keyframes galleryLightboxIn {
    from { opacity: 0; transform: scale(0.85); }
    to   { opacity: 1; transform: scale(1); }
}

.gallery-lightbox-content img {
    max-width: 88vw;
    max-height: 82vh;
    min-width: 280px;
    border-radius: 12px;
    box-shadow: 0 12px 60px rgba(0,0,0,0.6);
    object-fit: contain;
    display: block;
}

.gallery-lightbox-close {
    position: absolute;
    top: -40px;
    right: 0;
    background: none;
    border: none;
    color: #fff;
    font-size: 2.8rem;
    cursor: pointer;
    line-height: 1;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease;
}

.gallery-lightbox-close:hover {
    transform: scale(1.25) rotate(90deg);
}

.gallery-lightbox-content #galleryLightboxCaption {
    color: #fff;
    font-size: 0.95rem;
    font-weight: 600;
    text-align: center;
    padding: 0.4rem 1.2rem;
    background: rgba(76, 175, 80, 0.75);
    border-radius: 20px;
    letter-spacing: 0.3px;
}

/* ============================================================
   RESPONSIVE — Gallery & About
   ============================================================ */

@media (max-width: 1024px) {
    .about-image-col {
        max-width: 420px;
        margin: 0 auto;
        width: 100%;
    }
}

@media (max-width: 768px) {
    .gallery-item {
        width: 90px;
    }

    .gallery-item img {
        height: 75px;
    }

    .gallery-item-caption {
        font-size: 0.55rem;
    }
}

/* ============================================================
   GOOGLE SIGN-IN BUTTON
   ============================================================ */

.btn-google {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: #fff;
    color: #3c4043;
    border: 1.5px solid #dadce0;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 500;
    padding: 0.65rem 1rem;
    cursor: pointer;
    transition: background 0.2s ease, box-shadow 0.2s ease;
    width: 100%;
}

.btn-google:hover {
    background: #f8f9fa;
    box-shadow: 0 2px 8px rgba(0,0,0,0.12);
}

.auth-divider {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin: 1rem 0;
    color: var(--text-light);
    font-size: 0.85rem;
}

.auth-divider::before,
.auth-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #e0e0e0;
}

/* ============================================================
   HERO STATS BADGES — Patients & Experience
   ============================================================ */

.hero-stats-badges {
    display: flex;
    gap: 0.75rem;
    margin-top: 1rem;
    flex-wrap: wrap;
}

.stats-badge {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.6rem 1rem;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1),
                0 0 0 1.5px rgba(76, 175, 80, 0.2);
    backdrop-filter: blur(8px);
    cursor: default;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

/* Animated shimmer on load */
.stats-badge::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg,
        transparent 0%,
        rgba(255,255,255,0.6) 50%,
        transparent 100%);
    transform: translateX(-100%);
    animation: statsBadgeShimmer 2.5s ease 1s forwards;
}

@keyframes statsBadgeShimmer {
    0%   { transform: translateX(-100%); }
    100% { transform: translateX(200%); }
}

.stats-badge:hover {
    transform: translateY(-3px) scale(1.04);
    box-shadow: 0 8px 28px rgba(76, 175, 80, 0.25),
                0 0 0 2px rgba(76, 175, 80, 0.35);
}

.patients-badge {
    border-left: 3px solid #4caf50;
}

.experience-badge {
    border-left: 3px solid #2196f3;
}

.stats-badge-icon {
    font-size: 1.4rem;
    line-height: 1;
    flex-shrink: 0;
}

.stats-badge-body {
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.stats-badge-number {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--text-dark);
    line-height: 1.1;
    letter-spacing: -0.5px;
    display: flex;
    align-items: baseline;
    gap: 1px;
}

.patients-badge .stats-badge-number { color: #2e7d32; }
.experience-badge .stats-badge-number { color: #1565c0; }

.stats-badge-plus {
    font-size: 0.85rem;
    font-weight: 700;
    opacity: 0.8;
}

.stats-badge-label {
    font-size: 0.65rem;
    font-weight: 600;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

/* Count-up animation */
@keyframes countPop {
    0%   { transform: scale(0.7); opacity: 0; }
    70%  { transform: scale(1.1); }
    100% { transform: scale(1);   opacity: 1; }
}

.stats-badge-number.counting {
    animation: countPop 0.4s ease forwards;
}

/* Responsive */
@media (max-width: 480px) {
    .hero-stats-badges {
        gap: 0.5rem;
    }
    .stats-badge {
        padding: 0.5rem 0.75rem;
    }
    .stats-badge-number {
        font-size: 1rem;
    }
}

/* ============================================================
   HERO IMAGE + BADGES ROW
   ============================================================ */

/* Make the hero-image column stretch full height and align to top */
.hero-image {
    align-self: stretch;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
}

.hero-image-badges {
    display: flex;
    margin-top: 0.75rem;
    width: 100%;
}

/* Stats section - floating text without badge */
.stats-combined-badge {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 0.9rem 1.5rem;
    cursor: default;
}

.stats-combined-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.stats-combined-icon {
    font-size: 1.4rem;
    flex-shrink: 0;
}

.stats-combined-text {
    display: flex;
    flex-direction: column;
    gap: 0.05rem;
}

/* Match gvb-title size */
.stats-combined-number {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.2;
    letter-spacing: -0.3px;
}

/* Match gvb-sub size */
.stats-combined-label {
    font-size: 0.7rem;
    font-weight: 500;
    color: var(--text-light);
    white-space: nowrap;
}



@media (max-width: 1024px) {
    .hero-image {
        align-items: center;
    }
    .stats-combined-badge {
        padding: 0.75rem 1.1rem;
        gap: 0.5rem;
    }
    .stats-combined-number { font-size: 0.85rem; }
    .stats-combined-label  { font-size: 0.62rem; }
    .stats-combined-icon   { font-size: 1.2rem; }
}

@media (max-width: 768px) {
    .hero-image-badges,
    .stats-combined-badge {
        max-width: 100%;
    }
    .stats-combined-badge {
        padding: 0.75rem 1.1rem;
        gap: 0.5rem;
    }
    .stats-combined-number { font-size: 0.9rem; }
    .stats-combined-label  { font-size: 0.6rem; }
    .stats-combined-icon   { font-size: 1.2rem; }
}

/* ============================================================
   FLOATING ACTION BUTTONS (FAB STACK)
   ============================================================ */

.fab-stack {
    position: fixed;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
    /* Slight inset from edge so shadow isn't clipped */
    padding-right: 0;
}

/* Row wrapper */
.fab-item {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

/* External label no longer used — label is inside the button */
.fab-label {
    display: none;
}

/* The button — pill tab flush to the right edge */
.fab-btn {
    width: auto;
    height: 46px;
    padding: 0 14px 0 12px;
    border-radius: 8px 0 0 8px; /* rounded on left, flush on right */
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
    text-decoration: none;
    box-shadow: -3px 3px 14px rgba(0,0,0,0.22);
    transition: transform 0.2s ease, box-shadow 0.2s ease, padding 0.2s ease;
    white-space: nowrap;
    font-family: inherit;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    /* Collapsed by default — label hidden, only icon visible */
    overflow: hidden;
    max-width: 46px;
}

.fab-btn:hover {
    max-width: 220px;
    padding-left: 14px;
    transform: translateX(-4px);
    box-shadow: -6px 4px 20px rgba(0,0,0,0.3);
    animation-play-state: paused;
}

.fab-btn svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

/* Button text label — hidden until hover expands */
.fab-btn-text {
    opacity: 0;
    max-width: 0;
    overflow: hidden;
    transition: opacity 0.15s ease 0.05s, max-width 0.2s ease;
    pointer-events: none;
}

.fab-btn:hover .fab-btn-text {
    opacity: 1;
    max-width: 160px;
}

/* Call — green */
.fab-btn--call {
    background: #22c55e;
    color: #fff;
}
.fab-btn--call svg {
    stroke: #fff;
}

/* Book — primary brand green */
.fab-btn--book {
    background: var(--primary-color);
    color: #fff;
}
.fab-btn--book svg {
    stroke: #fff;
}

/* Reorder — blue */
.fab-btn--reorder {
    background: #3b82f6;
    color: #fff;
}
.fab-btn--reorder svg {
    stroke: #fff;
}

/* Periodic glow animation to attract user attention */
@keyframes fabPeriodicGlow {
    0%, 85%, 100% {
        box-shadow: -3px 3px 14px rgba(0,0,0,0.22);
    }
    86%, 94% {
        box-shadow: -3px 3px 14px rgba(0,0,0,0.22), 0 0 15px 5px rgba(76, 175, 80, 0.6);
    }
}

.fab-btn {
    animation: fabPeriodicGlow 6s ease-in-out infinite;
}

/* Call button glow in its own color */
.fab-btn--call {
    animation-name: fabPeriodicGlowCall;
}

@keyframes fabPeriodicGlowCall {
    0%, 85%, 100% {
        box-shadow: -3px 3px 14px rgba(0,0,0,0.22);
    }
    86%, 94% {
        box-shadow: -3px 3px 14px rgba(0,0,0,0.22), 0 0 15px 5px rgba(34, 197, 94, 0.6);
    }
}

/* Reorder button glow */
.fab-btn--reorder {
    animation-name: fabPeriodicGlowReorder;
}

@keyframes fabPeriodicGlowReorder {
    0%, 85%, 100% {
        box-shadow: -3px 3px 14px rgba(0,0,0,0.22);
    }
    86%, 94% {
        box-shadow: -3px 3px 14px rgba(0,0,0,0.22), 0 0 15px 5px rgba(59, 130, 246, 0.6);
    }
}

/* Subtle entrance pulse on each button */
.fab-btn::after {
    content: none;
}

/* Mobile */
@media (max-width: 768px) {
    .fab-stack {
        top: 50%;
        right: 0;
        transform: translateY(-50%);
        gap: 8px;
    }

    .fab-btn {
        height: 40px;
        max-width: 40px;
        padding: 0 10px;
    }

    .fab-btn:hover,
    .fab-btn:active {
        max-width: 180px;
        padding-left: 12px;
    }

    .fab-btn svg {
        width: 18px;
        height: 18px;
    }
}

/* ============================================================
   FAQ SECTION
   ============================================================ */
.faq-section {
    padding: 5rem 0;
    background: var(--bg-light, #f8fffe);
}

.faq-list {
    max-width: 820px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.faq-item {
    background: var(--white);
    border: 1px solid #e0f2e9;
    border-radius: 10px;
    overflow: hidden;
    transition: box-shadow 0.2s;
}

.faq-item:hover {
    box-shadow: 0 4px 16px rgba(46, 125, 50, 0.1);
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.2rem 1.5rem;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-dark, #1a1a2e);
    font-family: inherit;
    line-height: 1.4;
    transition: background 0.2s;
}

.faq-question:hover {
    background: #f0faf3;
}

.faq-question[aria-expanded="true"] {
    color: var(--primary-color, #2e7d32);
    background: #f0faf3;
}

.faq-icon {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--primary-color, #2e7d32);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 400;
    line-height: 1;
    transition: transform 0.25s, background 0.2s;
}

.faq-question[aria-expanded="true"] .faq-icon {
    transform: rotate(45deg);
    background: var(--primary-dark, #1b5e20);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, padding 0.25s ease;
    padding: 0 1.5rem;
}

.faq-answer.open {
    max-height: 400px;
    padding: 0 1.5rem 1.25rem;
}

.faq-answer p {
    color: var(--text-light, #555);
    font-size: 0.95rem;
    line-height: 1.7;
    margin: 0;
}

@media (max-width: 600px) {
    .faq-question {
        padding: 1rem 1.1rem;
        font-size: 0.92rem;
    }

    .faq-answer {
        padding: 0 1.1rem;
    }

    .faq-answer.open {
        padding: 0 1.1rem 1rem;
    }
}
