/* ============================================
   ZAHRA HEALTH CLINIC - PREMIUM CSS STYLING
   ============================================ */

/* Buniyadi variables */
:root {
    --color-primary: #8e1f3f;
    --color-primary-light: #bd4f73;
    --color-dark: #151523;
    --color-light: #f8f6f2;
    --color-beige: #f3ece4;
    --color-white: #ffffff;
    --color-gray: #58545d;
    --color-accent: #c09a5f;
    
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Poppins', sans-serif;
    
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-sm: 0 4px 15px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 10px 40px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.2);
    --shadow-glass: 0 8px 32px rgba(0, 0, 0, 0.1);
}

/* ============================================
   GLOBAL STYLES
   ============================================ */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--color-dark);
    background:
        radial-gradient(circle at 15% 10%, rgba(192, 154, 95, 0.12) 0%, transparent 38%),
        radial-gradient(circle at 88% 24%, rgba(142, 31, 63, 0.08) 0%, transparent 34%),
        var(--color-white);
    overflow-x: hidden;
}

/* Unstyled links use the clinic palette; component-specific colors take priority. */
:where(a[href]) {
    color: var(--color-primary);
}

:where(a[href]:hover, a[href]:focus-visible) {
    color: var(--color-primary-light);
}

/* Scrollbar ki styling */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--color-beige);
}

::-webkit-scrollbar-thumb {
    background: var(--color-primary);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--color-primary-light);
}

/* ============================================
   SCROLL PROGRESS BAR
   ============================================ */

.scroll-progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(to right, var(--color-primary), var(--color-primary-light));
    width: 0%;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(196, 30, 88, 0.3);
}

/* ============================================
   LOADING SCREEN
   ============================================ */

.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: linear-gradient(135deg, var(--color-white) 0%, var(--color-beige) 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 1;
    visibility: visible;
    transition: opacity 0.4s ease, visibility 0.4s ease;
    animation: clinic-loader-exit 0.25s ease 1.2s forwards;
}

@keyframes clinic-loader-exit {
    to { opacity: 0; visibility: hidden; pointer-events: none; }
}

.loading-screen.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.loading-container {
    text-align: center;
}

.clinic-logo-loader {
    width: 270px;
    height: 148px;
    margin: 0 auto 30px;
    animation: bounceIn 1s ease-out;
}

.logo-image-loader {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
}

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

.logo-circle-1 {
    animation: rotateSpinner 3s linear infinite;
    transform-origin: 50% 50%;
}

.logo-circle-2 {
    animation: rotateSpinner 4s linear infinite reverse;
    transform-origin: 50% 50%;
}

.logo-text {
    animation: fadeInScale 0.8s ease-out 0.3s backwards;
}

.loading-text {
    font-size: 24px;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 20px;
    font-family: var(--font-heading);
    animation: fadeIn 0.6s ease-out 0.5s backwards;
}

.loading-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
}

.loading-dots span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--color-primary);
    animation: pulse 1.4s ease-in-out infinite;
}

.loading-dots span:nth-child(2) {
    animation-delay: 0.2s;
}

.loading-dots span:nth-child(3) {
    animation-delay: 0.4s;
}

/* ============================================
   NAVIGATION BAR
   ============================================ */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 0 50px;
    background: rgba(255, 255, 255, 0.82);
    backdrop-filter: blur(18px) saturate(160%);
    -webkit-backdrop-filter: blur(18px) saturate(160%);
    border-bottom: 1px solid rgba(192, 154, 95, 0.18);
    box-shadow: 0 10px 30px rgba(21, 21, 35, 0.08);
    z-index: 1000;
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(24px) saturate(160%);
    border-bottom: 1px solid rgba(192, 154, 95, 0.22);
    box-shadow: 0 10px 36px rgba(21, 21, 35, 0.08);
    padding: 10px 50px;
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 24px;
    font-weight: 700;
    color: var(--color-dark);
    font-family: var(--font-heading);
}

.site-logo {
    width: 182px;
    height: 64px;
    display: block;
    object-fit: contain;
    object-position: left center;
}

.clinic-name-wrap {
    display: flex;
    flex-direction: column;
    gap: 2px;
    line-height: 1;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    box-shadow: var(--shadow-sm);
}

.clinic-name-main {
    font-family: var(--font-heading);
    font-size: clamp(16px, 1.25vw, 20px);
    font-weight: 800;
    letter-spacing: 0.02em;
    line-height: 1;
    color: #65132d;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.72), 0 8px 18px rgba(111, 19, 45, 0.12);
}

.clinic-name-sub {
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #65132d;
    line-height: 1;
}

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

.nav-link {
    text-decoration: none;
    color: rgba(21, 21, 35, 0.9);
    font-weight: 500;
    position: relative;
    transition: var(--transition);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-primary);
    transition: width 0.3s ease;
}

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

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

.navbar.scrolled .nav-logo,
.navbar.scrolled .nav-link {
    color: var(--color-dark);
}

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

.navbar.scrolled .clinic-name {
    -webkit-text-fill-color: transparent;
}

.nav-cta {
    padding: 10px 25px;
    background: linear-gradient(145deg, #9d294c 0%, #7b1733 70%, #6f132d 100%);
    color: white;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 16px 32px rgba(123, 23, 51, 0.3);
    transition: var(--transition);
}

.nav-cta:hover {
    transform: translateY(-2px) scale(1.01);
    box-shadow: 0 20px 42px rgba(123, 23, 51, 0.4);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 6px;
    min-width: 34px;
    min-height: 28px;
    border: 0;
    background: transparent;
    padding: 0;
    align-items: center;
    justify-content: center;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: rgba(255, 255, 255, 0.98);
    border-radius: 3px;
    transition: var(--transition);
}

.navbar.scrolled .hamburger span {
    background: var(--color-dark);
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(10px, 10px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* ============================================
   UTILITY CLASSES
   ============================================ */

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 30px;
}

.page-main {
    padding-top: 92px;
}

.page-hero {
    padding: 72px 0 20px;
    background: linear-gradient(135deg, #f8f3ee 0%, #fff9f4 100%);
}

.page-hero .section-header {
    margin-bottom: 20px;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(32px, 5vw, 56px);
    font-weight: 800;
    color: var(--color-dark);
    margin-bottom: 15px;
    background: linear-gradient(135deg, #1f1d2c 0%, #8e1f3f 55%, #c09a5f 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    font-size: 18px;
    color: var(--color-gray);
    max-width: 600px;
    margin: 0 auto;
}

.services-detail-copy {
    text-align: left;
}

.services-detail-copy .section-subtitle {
    max-width: none;
    margin: 0;
}

.why-us-page .why-overview {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    margin-bottom: 60px;
}

.why-us-page .why-overview-card {
    padding: 28px;
    border: 1px solid rgba(192, 154, 95, 0.22);
    border-radius: 16px;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.9), rgba(243, 236, 228, 0.7));
    box-shadow: var(--shadow-sm);
}

.why-us-page .why-overview-card p {
    margin: 0;
    color: var(--color-gray);
    font-size: 18px;
    line-height: 1.8;
    text-align: left;
}

@media (max-width: 1024px) {
    .why-us-page .why-overview {
        grid-template-columns: 1fr;
    }
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 30px;
    border: none;
    border-radius: 50px;
    font-family: var(--font-body);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    font-size: 16px;
}

.btn-primary {
    background: linear-gradient(145deg, #9a2649, #7d1634);
    color: white;
    box-shadow: 0 14px 30px rgba(142, 31, 63, 0.28);
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.01);
    box-shadow: 0 18px 46px rgba(142, 31, 63, 0.36);
}

.btn-secondary {
    background: rgba(192, 154, 95, 0.12);
    color: var(--color-primary);
    border: 1px solid rgba(192, 154, 95, 0.45);
}

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

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

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

.btn-small {
    padding: 10px 20px;
    font-size: 14px;
}

.btn-large {
    padding: 15px 40px;
    font-size: 18px;
    width: 100%;
    margin-top: 10px;
}

.text-accent {
    color: #65132d;
    background: none;
    -webkit-text-fill-color: currentColor;
    text-shadow: none;
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero {
    min-height: 100vh;
    padding: 120px 30px 80px;
    background: linear-gradient(135deg, #f8f3ee 0%, #fff9f4 100%);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.hero-background::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #f4ebe5 0%, #ead8cf 42%, #e2c8bb 100%);
}

.hero-background::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.34) 0%, transparent 32%),
        linear-gradient(140deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0.08) 48%, rgba(153, 103, 80, 0.06) 100%);
}

.hero-content {
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
    position: relative;
    z-index: 5;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-text {
    animation: fadeInLeft 0.7s ease-out 0.05s backwards;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 22px;
    margin-bottom: 18px;
    border-radius: 999px;
    background: linear-gradient(145deg, #9a2649, #7d1634);
    border: none;
    box-shadow: 0 14px 30px rgba(142, 31, 63, 0.28);
}

.hero-eyebrow-badge {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #65132d;
}

.hero-eyebrow-text {
    font-size: 12px;
    color: #ffffff;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(36px, 6vw, 72px);
    font-weight: 800;
    color: #16131f;
    line-height: 1.2;
    margin-bottom: 20px;
    text-shadow: none;
}

.hero-subtitle {
    font-size: 20px;
    color: #201a26;
    line-height: 1.6;
    margin-bottom: 30px;
    max-width: 600px;
    text-shadow: none;
}

.hero-trust-badges {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 30px;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 500;
    color: rgba(32, 26, 38, 0.94);
}

.trust-badge i {
    font-size: 20px;
    color: #8e1f3f;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.hero-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}

.hero-highlight-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(142, 31, 63, 0.14);
    color: rgba(42, 36, 49, 0.98);
    font-size: 13px;
    font-weight: 600;
    box-shadow: 0 10px 20px rgba(21, 21, 35, 0.05);
    backdrop-filter: blur(10px);
}

.hero-highlight-pill i {
    color: var(--color-primary);
}

.hero-card {
    animation: fadeInRight 0.7s ease-out 0.1s backwards;
    perspective: 1000px;
}

.glass-card {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.76), rgba(243, 236, 228, 0.74));
    backdrop-filter: blur(22px) saturate(140%);
    border: 1px solid rgba(192, 154, 95, 0.32);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 16px 44px rgba(21, 21, 35, 0.14);
    transition: var(--transition);
}

.glass-card:hover {
    background: rgba(255, 255, 255, 0.85);
    box-shadow: 0 15px 50px rgba(196, 30, 88, 0.2);
    transform: translateY(-5px);
}

.glass-card h3 {
    font-family: var(--font-heading);
    font-size: 28px;
    margin-bottom: 25px;
    color: var(--color-dark);
}

.hero-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.hero-form input,
.hero-form .premium-select {
    padding: 12px 15px;
    border: 1px solid rgba(192, 154, 95, 0.28);
    border-radius: 10px;
    font-family: var(--font-body);
    font-size: 14px;
    transition: var(--transition);
    background: rgba(255, 255, 255, 0.88);
}

.hero-form input:focus,
.hero-form .premium-select:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(142, 31, 63, 0.14), 0 8px 24px rgba(21, 21, 35, 0.12);
}

.hero-form .premium-select-wrap {
    position: relative;
}

.hero-form .premium-select-wrap::after {
    content: '';
    position: absolute;
    right: 12px;
    top: 50%;
    width: 20px;
    height: 20px;
    transform: translateY(-50%);
    border-radius: 50%;
    background: linear-gradient(145deg, rgba(157, 41, 76, 0.14), rgba(111, 19, 45, 0.16));
    pointer-events: none;
}

.hero-form .premium-select-wrap::before {
    content: '';
    position: absolute;
    right: 19px;
    top: 50%;
    width: 7px;
    height: 7px;
    border-right: 2px solid #7b1733;
    border-bottom: 2px solid #7b1733;
    transform: translateY(-65%) rotate(45deg);
    pointer-events: none;
    z-index: 1;
}

.hero-form .hero-premium-select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    width: 100%;
    min-height: 50px;
    padding: 12px 44px 12px 14px;
    border-radius: 12px;
    border: 1px solid rgba(192, 154, 95, 0.3);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.97), rgba(245, 238, 229, 0.94));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.75), 0 8px 18px rgba(18, 16, 24, 0.06);
    color: #2a2431;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
}

.hero-form .hero-premium-select:hover {
    border-color: rgba(142, 31, 63, 0.48);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.75), 0 12px 24px rgba(21, 21, 35, 0.1);
}

.hero-form .hero-premium-select:focus {
    outline: none;
    border-color: #8e1f3f;
    box-shadow: 0 0 0 4px rgba(142, 31, 63, 0.14), 0 14px 28px rgba(21, 21, 35, 0.12);
    transform: translateY(-1px);
}

.hero-form .hero-premium-select option {
    color: #2a2431;
    background: #fff;
    font-weight: 500;
}

/* ============================================
   SERVICES SECTION
   ============================================ */

.services {
    padding: 100px 30px;
    background: linear-gradient(180deg, #fffdfb 0%, #fbf7f1 100%);
    position: relative;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.care-focus-list {
    max-width: 980px;
    margin: 0 auto 42px;
    padding: 24px 30px 24px 52px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 34px;
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid rgba(192, 154, 95, 0.2);
    border-radius: 14px;
    box-shadow: var(--shadow-sm);
}

.care-focus-list li {
    color: var(--color-gray);
    line-height: 1.6;
}

.personalized-care {
    padding: 100px 30px;
    background: var(--color-white);
}

.personalized-care-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 56px;
    align-items: start;
}

.section-kicker {
    margin-bottom: 14px;
    color: var(--color-primary);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.personalized-care-copy .section-title {
    margin-bottom: 22px;
    text-align: left;
}

.personalized-care-copy p:not(.section-kicker) {
    margin-bottom: 18px;
    color: var(--color-gray);
    line-height: 1.8;
}

.personalized-care-services {
    padding: 34px;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.9), rgba(243, 236, 228, 0.82));
    border: 1px solid rgba(192, 154, 95, 0.2);
    border-radius: 15px;
    box-shadow: var(--shadow-sm);
}

.personalized-care-services h3 {
    margin-bottom: 22px;
    color: var(--color-dark);
    font-family: var(--font-heading);
    font-size: 1.45rem;
}

.personalized-care-services ul {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 13px 28px;
    padding-left: 20px;
    color: var(--color-gray);
    line-height: 1.5;
}

.service-card {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.86), rgba(243, 236, 228, 0.78));
    backdrop-filter: blur(12px);
    border: 1px solid rgba(192, 154, 95, 0.2);
    border-radius: 15px;
    padding: 35px;
    text-align: center;
    transition: var(--transition);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.service-category-card {
    text-align: left;
    display: flex;
    flex-direction: column;
}

.service-category-card .service-icon,
.service-category-card h3 {
    text-align: center;
}

.service-category-card .service-icon {
    margin-left: auto;
    margin-right: auto;
}

.service-category-list {
    margin: 20px 0 24px;
    padding-left: 22px;
    color: var(--color-gray);
    line-height: 1.7;
}

.service-category-list li::marker {
    color: var(--color-primary);
}

.service-category-card .service-link {
    margin-top: auto;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-primary-light));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 22px 56px rgba(21, 21, 35, 0.12);
    border-color: var(--color-primary);
}

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

.service-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: white;
    margin: 0 auto 20px;
    transition: var(--transition);
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 10px 30px rgba(196, 30, 88, 0.3);
}

.service-card h3 {
    font-family: var(--font-heading);
    font-size: 24px;
    margin-bottom: 15px;
    color: var(--color-dark);
}

.service-subheading {
    margin: -4px 0 12px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--color-primary);
}

.service-card p {
    color: var(--color-gray);
    line-height: 1.6;
    margin-bottom: 20px;
    font-size: 15px;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--color-primary);
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
}

.service-link:hover {
    gap: 12px;
    color: var(--color-primary-light);
}

/* ============================================
   SERVICE MODAL
   ============================================ */

.service-modal {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    padding: 20px;
}

.service-modal.active {
    display: flex;
}

.service-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(10, 10, 18, 0.72);
    backdrop-filter: blur(8px);
}

.service-modal-panel {
    position: relative;
    width: min(760px, 100%);
    max-height: 90vh;
    overflow: auto;
    background: linear-gradient(155deg, rgba(255, 255, 255, 0.96), rgba(245, 236, 227, 0.92));
    border: 1px solid rgba(192, 154, 95, 0.28);
    border-radius: 22px;
    box-shadow: 0 26px 70px rgba(15, 15, 25, 0.34);
    padding: 28px;
    z-index: 1;
    animation: slideUp 0.28s ease;
}

.service-modal-close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 50%;
    background: rgba(142, 31, 63, 0.1);
    color: var(--color-primary);
    cursor: pointer;
    transition: var(--transition);
}

.service-modal-close:hover {
    background: rgba(142, 31, 63, 0.2);
    transform: rotate(90deg);
}

.service-modal-header {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 14px;
    align-items: center;
    margin-bottom: 12px;
}

.service-modal-icon {
    width: 54px;
    height: 54px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: #fff;
    background: linear-gradient(145deg, #9d294c, #7b1733);
}

.service-modal-header h3 {
    font-family: var(--font-heading);
    font-size: 32px;
    line-height: 1.1;
    color: var(--color-dark);
    margin-bottom: 2px;
}

.service-modal-header p {
    font-size: 14px;
    color: var(--color-primary);
    font-weight: 600;
}

.service-modal-description {
    font-size: 15px;
    line-height: 1.75;
    color: #383545;
    margin-bottom: 18px;
}

.service-modal-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 22px;
}

.service-modal-card {
    padding: 14px 12px;
    border-radius: 14px;
    border: 1px solid rgba(142, 31, 63, 0.14);
    background: rgba(255, 255, 255, 0.74);
}

.service-modal-card h4 {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--color-primary);
    margin-bottom: 6px;
}

.service-modal-card p {
    font-size: 14px;
    color: #2d2b39;
    line-height: 1.5;
}

.service-modal-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

@media (max-width: 640px) {
    .service-modal-panel {
        padding: 20px 16px;
        border-radius: 16px;
    }

    .service-modal-header h3 {
        font-size: 24px;
    }

    .service-modal-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .service-modal-actions .btn {
        width: 100%;
        justify-content: center;
    }
}

/* ============================================
   DOCTORS SECTION
   ============================================ */

.doctors {
    padding: 100px 30px;
    background: linear-gradient(150deg, #f8f1e8 0%, #fffdfa 100%);
}

.doctors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 28px;
}

.doctor-card {
    background: linear-gradient(160deg, #ffffff, #fcf8f2);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 16px 40px rgba(21, 21, 35, 0.12);
    transition: var(--transition);
    border: 1px solid rgba(192, 154, 95, 0.22);
    max-width: 360px;
    width: 100%;
    margin: 0 auto;
}

.doctor-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 80px rgba(21, 21, 35, 0.16);
}

.doctor-image {
    position: relative;
    height: 250px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.doctor-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
}

.doctor-image-portrait {
    background: linear-gradient(160deg, #f9f5ef, #f1e9df);
}

.doctor-image-portrait img {
    object-fit: contain;
    object-position: center;
    padding: 8px;
}

.doctor-image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 80px;
    color: rgba(255, 255, 255, 0.3);
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
}

.doctor-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(255, 255, 255, 0.95);
    padding: 8px 15px;
    border-radius: 50px;
    font-weight: 600;
    color: var(--color-primary);
    font-size: 12px;
}

.doctor-info {
    padding: 24px;
}

.doctor-info h3 {
    font-family: var(--font-heading);
    font-size: 23px;
    margin-bottom: 5px;
    color: var(--color-dark);
}

.doctor-specialty {
    color: var(--color-primary);
    font-weight: 600;
    margin-bottom: 15px;
    font-size: 14px;
}

.doctor-description {
    color: var(--color-gray);
    font-size: 14px;
    line-height: 1.75;
    margin-bottom: 20px;
}

.doctor-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: auto;
    padding-top: 8px;
}

#doctors .doctor-card {
    display: flex;
    flex-direction: column;
}

#doctors .doctor-info {
    display: flex;
    flex: 1;
    flex-direction: column;
}

#doctors .doctor-actions .btn {
    flex: 1 1 150px;
}

.doctor-details {
    font-size: 14px;
    color: var(--color-gray);
    line-height: 1.8;
    margin-bottom: 20px;
    padding: 15px 0;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.doctor-details p {
    margin-bottom: 8px;
}

.doctor-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    text-align: center;
}

.doctors-page .doctors-grid {
    align-items: stretch;
}

.doctors-page .doctor-card {
    max-width: none;
    display: flex;
    flex-direction: column;
}

.doctors-page .doctor-info {
    display: flex;
    flex: 1;
    flex-direction: column;
}

.doctors-page .doctor-stats {
    margin-top: auto;
    padding-top: 18px;
}

.doctors-page .doctor-guide,
.doctors-page .doctor-laser,
.doctors-page .doctor-visit,
.doctors-page .doctor-trust,
.doctors-page .doctor-faq {
    max-width: 1040px;
    margin: 76px auto 0;
    padding: 38px 42px;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(192, 154, 95, 0.22);
    border-radius: 15px;
    box-shadow: var(--shadow-sm);
    text-align: left;
}

.doctors-page .doctor-guide .section-title,
.doctors-page .doctor-laser .section-title,
.doctors-page .doctor-visit .section-title,
.doctors-page .doctor-trust .section-title,
.doctors-page .doctor-faq .section-title {
    margin-bottom: 20px;
    text-align: left;
}

.doctors-page .doctor-guide .section-subtitle,
.doctors-page .doctor-laser .section-subtitle,
.doctors-page .doctor-visit .section-subtitle,
.doctors-page .doctor-trust .section-subtitle,
.doctors-page .doctor-faq .section-subtitle {
    max-width: none;
    margin-left: 0;
    margin-right: 0;
    text-align: left;
}

.doctors-page .doctor-laser h3 {
    margin-top: 24px;
    color: var(--color-primary);
    font-family: var(--font-heading);
}

.doctors-page .doctor-visit .section-subtitle,
.doctors-page .doctor-trust .section-subtitle,
.doctors-page .doctor-faq .section-subtitle {
    padding: 12px 16px;
    border-left: 3px solid var(--color-accent);
    background: rgba(243, 236, 228, 0.5);
}

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

.stat-number {
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 800;
    color: var(--color-primary);
}

.stat-label {
    font-size: 12px;
    color: var(--color-gray);
    margin-top: 5px;
}

/* ============================================
   WHY CHOOSE US SECTION
   ============================================ */

.why-us {
    padding: 100px 30px;
    background: linear-gradient(180deg, #fffdfa 0%, #f8f2e9 100%);
}

.why-us-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.why-card {
    background: linear-gradient(135deg, rgba(196, 30, 88, 0.05), rgba(196, 30, 88, 0.02));
    border: 2px solid var(--color-beige);
    border-radius: 15px;
    padding: 35px;
    text-align: center;
    transition: var(--transition);
    position: relative;
}

.why-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
    opacity: 0;
    border-radius: 15px;
    z-index: -1;
    transition: opacity 0.3s ease;
}

.why-card:hover {
    transform: translateY(-8px);
    border-color: var(--color-primary);
}

.why-card:hover::before {
    opacity: 0.05;
}

.why-icon {
    font-size: 50px;
    color: var(--color-primary);
    margin-bottom: 15px;
    transition: var(--transition);
}

.why-card:hover .why-icon {
    transform: scale(1.2) rotate(-10deg);
}

.why-card h3 {
    font-family: var(--font-heading);
    font-size: 22px;
    margin-bottom: 12px;
    color: var(--color-dark);
}

.why-card p {
    color: var(--color-gray);
    font-size: 15px;
    line-height: 1.6;
}

/* ============================================
   BOOKING SECTION
   ============================================ */

.booking {
    padding: 100px 30px;
    background:
        radial-gradient(circle at top left, rgba(192, 154, 95, 0.12) 0%, transparent 36%),
        radial-gradient(circle at 90% 20%, rgba(142, 31, 63, 0.08) 0%, transparent 28%),
        linear-gradient(135deg, #fffdfb 0%, #f6efe7 100%);
    position: relative;
}

.booking-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    align-items: stretch;
}

.booking-content h2 {
    font-family: var(--font-heading);
    font-size: clamp(32px, 4vw, 48px);
    color: var(--color-dark);
    margin-bottom: 20px;
}

.booking-content > p {
    color: var(--color-gray);
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 26px;
    max-width: 640px;
}

.booking-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
    padding: 28px;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.88), rgba(243, 236, 228, 0.78));
    border: 1px solid rgba(192, 154, 95, 0.24);
    border-radius: 24px;
    box-shadow: 0 18px 50px rgba(21, 21, 35, 0.1);
    backdrop-filter: blur(16px) saturate(135%);
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-weight: 600;
    color: #2a2431;
    margin-bottom: 12px;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 14px 16px;
    border: 1px solid rgba(192, 154, 95, 0.28);
    border-radius: 14px;
    font-family: var(--font-body);
    font-size: 15px;
    transition: all 0.28s cubic-bezier(0.4, 0, 0.2, 1);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(248, 244, 238, 0.92));
    color: var(--color-dark);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(42, 36, 49, 0.48);
}

.form-group input:hover,
.form-group select:hover,
.form-group textarea:hover {
    border-color: rgba(142, 31, 63, 0.32);
    box-shadow: 0 10px 24px rgba(21, 21, 35, 0.06);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 4px rgba(142, 31, 63, 0.12), 0 16px 28px rgba(21, 21, 35, 0.08);
    background: #ffffff;
    transform: translateY(-1px);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    align-items: start;
}

.form-note {
    background: linear-gradient(135deg, rgba(142, 31, 63, 0.08), rgba(192, 154, 95, 0.12));
    padding: 14px 16px;
    border-radius: 14px;
    color: #5a2438;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 10px;
    border: 1px solid rgba(142, 31, 63, 0.12);
}

.form-note i {
    color: var(--color-primary);
}

.booking-form .btn-large {
    margin-top: 4px;
    padding: 16px 24px;
    border-radius: 16px;
    letter-spacing: 0.02em;
    background: linear-gradient(145deg, #9d294c 0%, #7b1733 70%, #6f132d 100%);
    box-shadow: 0 18px 36px rgba(123, 23, 51, 0.28);
}

.booking-form .btn-large:hover {
    transform: translateY(-3px);
    box-shadow: 0 22px 48px rgba(123, 23, 51, 0.36);
}

.booking-form .premium-select-wrap {
    position: relative;
}

.booking-form .premium-select-wrap::after {
    content: '';
    position: absolute;
    right: 14px;
    top: 50%;
    width: 22px;
    height: 22px;
    transform: translateY(-50%);
    border-radius: 50%;
    background: linear-gradient(145deg, rgba(157, 41, 76, 0.14), rgba(111, 19, 45, 0.16));
    pointer-events: none;
}

.booking-form .premium-select-wrap::before {
    content: '';
    position: absolute;
    right: 21px;
    top: 50%;
    width: 8px;
    height: 8px;
    border-right: 2px solid #7b1733;
    border-bottom: 2px solid #7b1733;
    transform: translateY(-65%) rotate(45deg);
    pointer-events: none;
    z-index: 1;
}

.booking-form .premium-select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    width: 100%;
    min-height: 52px;
    padding: 12px 50px 12px 14px;
    border-radius: 14px;
    border: 1px solid rgba(192, 154, 95, 0.34);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.97), rgba(245, 238, 229, 0.94));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.75), 0 8px 18px rgba(18, 16, 24, 0.06);
    color: #2a2431;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.booking-form .premium-select:hover {
    border-color: rgba(142, 31, 63, 0.5);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.75), 0 12px 24px rgba(21, 21, 35, 0.1);
}

.booking-form .premium-select:focus {
    outline: none;
    border-color: #8e1f3f;
    box-shadow: 0 0 0 4px rgba(142, 31, 63, 0.14), 0 14px 28px rgba(21, 21, 35, 0.12);
    transform: none;
}

.booking-form .premium-select option {
    color: #2a2431;
    background: #fff;
    font-weight: 500;
}

.form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath fill='%238e1f3f' d='M7 9 0 2.5 1.4 1l5.6 5.1L12.6 1 14 2.5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 12px 8px;
    padding-right: 42px;
}

.form-group input[type="date"],
.form-group select {
    min-height: 50px;
}

.booking-form .form-group input[type="date"] {
    min-height: 52px;
    height: 52px;
    padding: 12px 14px;
    line-height: 1.2;
    font-size: 16px;
    color: #2a2431;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.97), rgba(245, 238, 229, 0.94));
    border: 1px solid rgba(192, 154, 95, 0.34);
    border-radius: 14px;
    appearance: none;
    -webkit-appearance: none;
    width: 100%;
    display: block;
    box-sizing: border-box;
}

.booking-form .form-group input[type="date"]:focus {
    transform: none;
}

.booking-form .form-group input[type="date"]::-webkit-date-and-time-value {
    text-align: left;
}

.booking-form .form-group input[type="date"]::-webkit-datetime-edit {
    color: #2a2431;
}

.booking-form .form-group input[type="date"]:invalid::-webkit-datetime-edit {
    color: rgba(42, 36, 49, 0.45);
}

.form-group input[type="date"]::-webkit-calendar-picker-indicator {
    opacity: 0.75;
    cursor: pointer;
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

.booking-info {
    background: linear-gradient(145deg, #1a1724, #2a2032 65%, #3a2840 100%);
    padding: 40px;
    border-radius: 24px;
    color: white;
    box-shadow: 0 18px 52px rgba(21, 21, 35, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.booking-info h3 {
    font-family: var(--font-heading);
    font-size: 28px;
    margin-bottom: 25px;
    color: var(--color-light);
}

.benefits-list {
    list-style: none;
    margin-bottom: 30px;
}

.benefits-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
    font-size: 15px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.88);
}

.benefits-list i {
    color: #d9be8b;
    font-size: 18px;
}

.emergency-contact {
    background: rgba(255, 255, 255, 0.08);
    padding: 20px;
    border-radius: 16px;
    border-left: 3px solid #d9be8b;
    backdrop-filter: blur(12px);
}

.emergency-contact h4 {
    margin-bottom: 12px;
    font-size: 16px;
}

.emergency-contact p {
    margin-bottom: 8px;
    font-size: 14px;
}

.emergency-contact a {
    color: #f1d9b2;
    text-decoration: none;
    font-weight: 600;
}

.emergency-contact a:hover {
    text-decoration: underline;
}

.timing-welcome {
    font-size: 12px;
    margin-top: 10px;
    font-style: italic;
    color: rgba(255, 255, 255, 0.8);
}

/* ============================================
   TESTIMONIALS SECTION
   ============================================ */

.testimonials {
    padding: 100px 30px;
    background: var(--color-white);
}

.testimonials-carousel {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.testimonial-card {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.92), rgba(243, 236, 228, 0.86));
    border: 1px solid rgba(192, 154, 95, 0.24);
    border-radius: 15px;
    padding: 30px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.testimonial-card::before {
    content: '❝';
    position: absolute;
    top: -20px;
    right: 15px;
    font-size: 100px;
    color: var(--color-primary);
    opacity: 0.1;
}

.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(21, 21, 35, 0.12);
    border-color: var(--color-primary);
}

.testimonial-rating {
    color: #ffc107;
    margin-bottom: 15px;
    font-size: 14px;
    letter-spacing: 2px;
}

.testimonial-text {
    color: var(--color-gray);
    line-height: 1.8;
    margin-bottom: 20px;
    font-style: italic;
    font-size: 15px;
}

.testimonial-author {
    font-family: var(--font-heading);
    font-size: 18px;
    color: var(--color-dark);
    margin-bottom: 5px;
}

.testimonial-title {
    font-size: 13px;
    color: var(--color-primary);
    font-weight: 600;
}

.carousel-controls {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.carousel-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid var(--color-primary);
    background: white;
    color: var(--color-primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    font-size: 18px;
}

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

/* ============================================
   TIMINGS SECTION
   ============================================ */

.timings {
    padding: 100px 30px;
    background: linear-gradient(135deg, var(--color-beige) 0%, var(--color-white) 100%);
}

.timings-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.timing-card {
    background: white;
    border-radius: 15px;
    padding: 40px;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border: 2px solid transparent;
}

.timing-card.special {
    background: linear-gradient(135deg, var(--color-dark), #2a2a3e);
    color: white;
}

.timing-card:hover {
    border-color: var(--color-primary);
    transform: translateY(-8px);
}

.timing-icon {
    font-size: 50px;
    color: var(--color-primary);
    margin-bottom: 15px;
    display: block;
}

.timing-card.special .timing-icon {
    color: var(--color-primary-light);
}

.timing-card h3 {
    font-family: var(--font-heading);
    font-size: 24px;
    margin-bottom: 15px;
    color: var(--color-dark);
}

.timing-card.special h3 {
    color: white;
}

.timing-days {
    font-weight: 600;
    color: var(--color-gray);
    margin-bottom: 10px;
}

.timing-card.special .timing-days {
    color: rgba(255, 255, 255, 0.8);
}

.timing-hours {
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 10px;
}

.timing-card.special .timing-hours {
    color: var(--color-primary-light);
}

.timing-note {
    font-size: 13px;
    color: var(--color-gray);
    margin-top: 15px;
    line-height: 1.6;
}

.timing-card.special .timing-note {
    color: rgba(255, 255, 255, 0.7);
}

.contact-page .timing-card .btn-primary {
    color: #fff;
}

.timing-card a {
    color: var(--color-primary);
    text-decoration: none;
    font-weight: 600;
}

.timing-card.special a {
    color: var(--color-primary-light);
}

.patient-details {
    list-style: none;
    text-align: left;
    margin-top: 12px;
    font-size: 14px;
}

.patient-details li {
    padding: 8px 0;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--color-gray);
}

.patient-details li:before {
    content: '✓';
    color: var(--color-primary);
    font-weight: bold;
}

.timing-card.special .patient-details li {
    color: rgba(255, 255, 255, 0.8);
}

.timing-welcome {
    font-size: 12px;
    font-style: italic;
    margin-top: 10px;
    line-height: 1.6;
}

/* ============================================
   GALLERY SECTION
   ============================================ */

.gallery {
    padding: clamp(48px, 7vw, 96px) 0;
    background: var(--color-white);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: clamp(12px, 1.6vw, 22px);
    max-width: 1100px;
    margin-inline: auto;
}

.gallery-track {
    --gallery-card-width: clamp(212px, 18vw, 240px);
    position: relative;
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: var(--gallery-card-width);
    gap: 16px;
    overflow-x: auto;
    padding-block: 4px 14px;
    scroll-snap-type: x mandatory;
}

.gallery-track.is-looping {
    scroll-snap-type: none;
}

.gallery-track .gallery-item {
    scroll-snap-align: start;
}

.gallery-track.has-controls {
    scrollbar-width: none;
}

.gallery-track.has-controls::-webkit-scrollbar {
    display: none;
}

.gallery-controls {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 8px;
}

.gallery-controls[hidden],
.gallery-controls button[hidden] {
    display: none;
}

.gallery-controls button {
    display: grid;
    place-items: center;
    min-width: 44px;
    min-height: 44px;
    padding: 0 12px;
    border: 1px solid #ecdfdf;
    border-radius: 24px;
    background: #fff;
    color: var(--color-primary);
    font: 600 0.875rem var(--font-body);
    cursor: pointer;
}

.gallery-controls button:hover {
    background: #f7f0ef;
}

.gallery-controls button:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

.gallery-chevron {
    width: 8px;
    height: 8px;
    border-top: 2px solid currentColor;
    border-right: 2px solid currentColor;
    transform: rotate(45deg);
}

.gallery-chevron--previous {
    transform: rotate(225deg);
}

.gallery-item {
    min-width: 0;
    border: 1px solid #ecdfdf;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(72, 27, 44, 0.08);
}

.gallery-image {
    display: block;
    width: 100%;
    padding: 6px;
    border: 0;
    border-radius: 13px 13px 0 0;
    background: #f7f0ef;
    cursor: zoom-in;
}

.gallery-image:focus-visible {
    outline: 3px solid var(--color-primary);
    outline-offset: -3px;
}

.gallery-image img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 5;
    object-fit: contain;
}

.gallery-copy {
    padding: 12px 14px 16px;
}

.gallery-copy h2,
.gallery-copy h3 {
    font-family: var(--font-heading);
    color: var(--color-primary);
    font-size: clamp(1.1rem, 1.5vw, 1.3rem);
    line-height: 1.25;
}

.gallery-copy p {
    margin-top: 8px;
    color: var(--color-gray);
    line-height: 1.65;
}

.gallery-footer {
    display: grid;
    justify-items: center;
    gap: 18px;
    margin-top: 32px;
    text-align: center;
}

.gallery-disclaimer {
    max-width: 72ch;
    color: var(--color-gray);
}

.page-hero--illustrated .page-hero-visual.gallery-hero-photo {
    align-self: center;
    margin: 0 auto 36px;
    border-radius: 24px;
    box-shadow: var(--shadow-md);
    -webkit-mask-image: none;
    mask-image: none;
}

.gallery-hero-photo img {
    display: block;
    width: 100%;
    height: auto;
}

@media (max-width: 1050px) {
    .gallery-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    .page-hero--illustrated .page-hero-visual.gallery-hero-photo {
        max-width: 560px;
        margin-top: 16px;
        margin-bottom: 28px;
    }
}

@media (max-width: 760px) {
    .gallery-track {
        --gallery-card-width: 100%;
        width: min(100%, 248px);
        margin-inline: auto;
        gap: 12px;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        max-width: 590px;
    }
}

@media (max-width: 520px) {
    .gallery-grid {
        grid-template-columns: minmax(0, 1fr);
        max-width: 272px;
    }
}

/* ============================================
   CTA BANNER
   ============================================ */

.cta-banner {
    padding: 80px 30px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.cta-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 120"><path d="M0,50 Q300,0 600,50 T1200,50 L1200,120 L0,120 Z" fill="rgba(255,255,255,0.1)"/></svg>');
    background-size: cover;
    background-repeat: repeat-x;
    animation: drift 8s linear infinite;
}

.banner-content {
    position: relative;
    z-index: 10;
}

.cta-banner h2 {
    font-family: var(--font-heading);
    font-size: clamp(32px, 4vw, 48px);
    margin-bottom: 15px;
    font-weight: 800;
}

.cta-banner p {
    font-size: 18px;
    margin-bottom: 30px;
}

.banner-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ============================================
   CONTACT SECTION
   ============================================ */

.contact {
    padding: 100px 30px;
    background: var(--color-white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.contact-card {
    background: linear-gradient(135deg, rgba(196, 30, 88, 0.05), rgba(196, 30, 88, 0.02));
    padding: 30px;
    border-radius: 15px;
    border: 2px solid var(--color-beige);
    transition: var(--transition);
    text-align: center;
}

.contact-card:hover {
    border-color: var(--color-primary);
    transform: translateY(-5px);
}

.contact-card i {
    font-size: 40px;
    color: var(--color-primary);
    margin-bottom: 15px;
    display: block;
}

.contact-card h3 {
    font-family: var(--font-heading);
    font-size: 20px;
    margin-bottom: 12px;
    color: var(--color-dark);
}

.contact-card p {
    color: var(--color-gray);
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 8px;
}

.contact-card a {
    color: var(--color-primary);
    text-decoration: none;
    font-weight: 600;
}

.contact-card a:hover {
    text-decoration: underline;
}

.contact-page .contact-intro {
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.contact-page .contact-grid {
    align-items: stretch;
}

.contact-page .contact-card {
    min-height: 190px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.map-container {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(192, 154, 95, 0.22);
}

.map-container iframe {
    width: 100%;
    height: 400px;
}

.contact-page .contact-cta {
    margin-top: 0;
}

/* ============================================
   FAQ SECTION
   ============================================ */

.faq {
    padding: 100px 30px;
    background: linear-gradient(135deg, var(--color-beige) 0%, var(--color-white) 100%);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 15px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.faq-question {
    width: 100%;
    padding: 20px;
    background: white;
    border: 2px solid var(--color-beige);
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 16px;
    color: var(--color-dark);
    transition: var(--transition);
}

.faq-question:hover {
    background: linear-gradient(135deg, rgba(196, 30, 88, 0.05), rgba(196, 30, 88, 0.02));
    padding-left: 25px;
}

.faq-question i {
    color: var(--color-primary);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question {
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
    color: white;
    border-radius: 10px 10px 0 0;
}

.faq-item.active .faq-question i {
    color: white;
    transform: rotate(180deg);
}

.faq-answer {
    background: rgba(196, 30, 88, 0.05);
    padding: 20px;
    display: none;
    color: var(--color-gray);
    line-height: 1.8;
    font-size: 15px;
    border-radius: 0 0 10px 10px;
}

.faq-item.active .faq-answer {
    display: block;
    animation: slideDown 0.3s ease;
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
    background: var(--color-dark);
    color: white;
    padding: 60px 30px 30px;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 30px;
}

.footer-section h4 {
    font-family: var(--font-heading);
    font-size: 20px;
    margin-bottom: 15px;
    color: white;
}

.footer-section p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
    margin-bottom: 10px;
}

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

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

.footer-section a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition);
}

.footer-section a:hover {
    color: var(--color-primary-light);
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.social-icons a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(196, 30, 88, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transition: var(--transition);
}

.social-icons a:hover {
    background: var(--color-primary);
    color: white;
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(196, 30, 88, 0.2);
    color: rgba(255, 255, 255, 0.78);
    font-size: 14px;
    line-height: 1.7;
}

.footer-author-link {
    color: #65132d;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.footer-author-link:hover {
    color: #8b1a3c;
}

/* ============================================
   FLOATING ELEMENTS
   ============================================ */

.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #25d366, #128c7e);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 30px;
    box-shadow: 0 5px 30px rgba(37, 211, 102, 0.4);
    transition: var(--transition);
    z-index: 99;
    text-decoration: none;
}

.whatsapp-float:hover {
    transform: scale(1.15) translateY(-5px);
    box-shadow: 0 10px 45px rgba(37, 211, 102, 0.6);
}

.back-to-top {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--color-primary);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 20px;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    z-index: 99;
}

.back-to-top.show {
    display: flex;
}

.back-to-top:hover {
    background: var(--color-primary-light);
    transform: translateY(-3px);
}

/* ============================================
   SCROLL REVEAL STATES
   ============================================ */

[data-aos] {
    opacity: 0;
    transform: translateY(34px);
    filter: blur(4px);
    transition: opacity 0.75s ease, transform 0.75s ease, filter 0.75s ease;
    will-change: opacity, transform, filter;
}

[data-aos="fade-left"] {
    transform: translateX(34px);
}

[data-aos="fade-right"] {
    transform: translateX(-34px);
}

[data-aos="zoom-in"] {
    transform: scale(0.94);
}

[data-aos].revealed {
    opacity: 1;
    transform: none;
    filter: blur(0);
}

@media (prefers-reduced-motion: reduce) {
    [data-aos] {
        opacity: 1;
        transform: none;
        filter: none;
        transition: none;
    }
}

/* ============================================
   ANIMATIONS
   ============================================ */

@keyframes fadeOutUp {
    from {
        opacity: 1;
        transform: translateY(0);
    }
    to {
        opacity: 0;
        transform: translateY(-30px);
        pointer-events: none;
    }
}

@keyframes bounceIn {
    0% {
        transform: scale(0.1);
        opacity: 0;
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

@keyframes rotateSpinner {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

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

@keyframes drift {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(100px);
    }
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 768px) {
    /* Navigation bar */
    .nav-container {
        padding: 12px 0;
    }

    .nav-logo {
        gap: 8px;
        flex: 1;
        min-width: 0;
        flex-wrap: wrap;
    }

    .site-logo {
        width: 158px;
        height: 50px;
    }

    .logo-icon {
        width: 34px;
        height: 34px;
        font-size: 16px;
    }

    .clinic-name-wrap {
        gap: 1px;
    }

    .clinic-name-main {
        font-size: clamp(13px, 3.5vw, 18px);
        letter-spacing: 0.015em;
    }

    .clinic-name-sub {
        font-size: 9px;
        letter-spacing: 0.1em;
    }

    .hamburger {
        display: flex;
        z-index: 9999;
        gap: 5px;
        min-width: 30px;
        min-height: 24px;
        position: relative;
    }

    .hamburger span {
        width: 22px;
        height: 2.5px;
        background: rgba(255, 255, 255, 0.98);
        border-radius: 2px;
        transition: var(--transition);
    }

    .hamburger.active span {
        background: var(--color-dark);
    }

    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(9px, 9px);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px);
    }

    .nav-menu {
        position: fixed;
        left: 0;
        top: 0;
        right: 0;
        bottom: 0;
        width: 100%;
        height: 100vh;
        flex-direction: column;
        background: linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(245, 238, 229, 0.98));
        backdrop-filter: blur(22px) saturate(160%);
        -webkit-backdrop-filter: blur(22px) saturate(160%);
        text-align: center;
        transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: 0 18px 40px rgba(0, 0, 0, 0.16);
        padding: 120px 24px 40px;
        gap: 16px;
        transform: translateX(-100%);
        opacity: 0;
        visibility: hidden;
        z-index: 9998;
        overflow-y: auto;
        overscroll-behavior: contain;
    }

    .nav-menu.active {
        transform: translateX(0);
        opacity: 1;
        visibility: visible;
    }

    .nav-menu li {
        opacity: 0;
        transform: translateY(16px);
        transition: all 0.3s ease;
    }

    .nav-menu.active li {
        opacity: 1;
        transform: translateY(0);
    }

    .nav-menu li:nth-child(1) { transition-delay: 0.08s; }
    .nav-menu li:nth-child(2) { transition-delay: 0.12s; }
    .nav-menu li:nth-child(3) { transition-delay: 0.16s; }
    .nav-menu li:nth-child(4) { transition-delay: 0.2s; }
    .nav-menu li:nth-child(5) { transition-delay: 0.24s; }
    .nav-menu li:nth-child(6) { transition-delay: 0.28s; }
    .nav-menu li:nth-child(7) { transition-delay: 0.32s; }

    .nav-link {
        font-size: 18px;
        padding: 12px 0;
        display: block;
        color: var(--color-dark);
    }

    .nav-cta {
        margin-top: 14px;
        display: inline-flex;
    }

    .nav-menu.active {
        transform: translateX(0);
        opacity: 1;
        visibility: visible;
    }

    .navbar {
        padding: 0 18px;
    }

    .navbar.scrolled {
        padding: 10px 18px;
    }

    .nav-menu li {
        opacity: 0;
        transform: translateY(16px);
        transition: all 0.3s ease;
    }

    .nav-menu.active li {
        opacity: 1;
        transform: translateY(0);
    }

    .nav-menu li:nth-child(1) { transition-delay: 0.08s; }
    .nav-menu li:nth-child(2) { transition-delay: 0.12s; }
    .nav-menu li:nth-child(3) { transition-delay: 0.16s; }
    .nav-menu li:nth-child(4) { transition-delay: 0.2s; }
    .nav-menu li:nth-child(5) { transition-delay: 0.24s; }
    .nav-menu li:nth-child(6) { transition-delay: 0.28s; }
    .nav-menu li:nth-child(7) { transition-delay: 0.32s; }

    .nav-link {
        font-size: 18px;
        padding: 12px 0;
        display: block;
        color: var(--color-dark);
    }

    .nav-cta {
        margin-top: 14px;
        display: inline-flex;
    }

    /* Hero section */
    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-logo {
        width: 190px;
        height: 78px;
        display: block;
        margin-bottom: 18px;
        object-fit: contain;
        object-position: left center;
    }

    .hero-background::before {
        background: linear-gradient(135deg, #f2e6df 0%, #e8d4c9 50%, #dfc1b4 100%);
    }

    .hero-background::after {
        background:
            linear-gradient(180deg, rgba(255, 255, 255, 0.22) 0%, rgba(255, 255, 255, 0.12) 44%, rgba(153, 103, 80, 0.08) 100%);
    }

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

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

    /* Services section */
    .services-grid {
        grid-template-columns: 1fr;
    }

    .care-focus-list,
    .personalized-care-services ul {
        grid-template-columns: 1fr;
    }

    .personalized-care-layout {
        grid-template-columns: 1fr;
        gap: 34px;
    }

    .personalized-care-copy .section-title {
        text-align: center;
    }

    /* Doctors section */
    .doctors-grid {
        grid-template-columns: 1fr;
    }

    .doctors-page .doctor-guide,
    .doctors-page .doctor-laser,
    .doctors-page .doctor-visit,
    .doctors-page .doctor-trust,
    .doctors-page .doctor-faq {
        margin-top: 42px;
        padding: 26px 22px;
    }

    .doctor-card {
        max-width: 330px;
    }

    .doctor-image {
        height: 220px;
    }

    /* Booking section */
    .booking-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }

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

    .booking-form .form-row {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .booking-form .form-group {
        min-width: 0;
        width: 100%;
    }

    .booking-form .form-group label {
        width: 100%;
    }

    .booking-form .form-group input[type="date"] {
        width: 100%;
        display: block;
        min-width: 0;
        box-sizing: border-box;
        min-height: 48px;
        height: 48px;
        padding: 10px 12px;
    }

    /* Contact section */
    .contact-grid {
        grid-template-columns: 1fr;
    }

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

    .map-container iframe {
        height: 300px;
    }

    /* Floating buttons */
    .whatsapp-float {
        bottom: 20px;
        right: 16px;
        width: 55px;
        height: 55px;
        font-size: 24px;
    }

    .back-to-top {
        bottom: 90px;
        right: 16px;
        width: 45px;
        height: 45px;
    }

    /* Footer section */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    /* Sections ki padding */
    .hero, .services, .personalized-care, .doctors, .why-us, .booking, .testimonials, 
    .timings, .contact, .faq, .footer {
        padding: 60px 20px;
    }

    .section-header {
        margin-bottom: 40px;
    }

    .section-title {
        font-size: clamp(28px, 4vw, 40px);
    }

    /* Testimonials section */
    .testimonials-carousel {
        gap: 20px;
    }

    .carousel-controls {
        gap: 10px;
    }

    .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }

    /* CTA banner */
    .cta-banner {
        padding: 50px 20px;
    }

    .cta-banner h2 {
        font-size: clamp(24px, 3vw, 32px);
    }

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

    .banner-buttons .btn {
        width: 100%;
    }
}

@media (max-width: 1024px) and (min-width: 769px) {
    /* Tablet ke liye behtari */
    .hero-content {
        gap: 30px;
    }

    .hero-card {
        max-width: 100%;
    }

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

    .modal-content {
        gap: 25px;
        padding: 25px;
    }

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

    .booking-wrapper {
        grid-template-columns: 1fr;
        gap: 30px;
    }

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

    .section-title {
        font-size: clamp(28px, 4vw, 40px);
    }
}

@media (max-width: 480px) {
    :root {
        --shadow-md: 0 5px 15px rgba(0, 0, 0, 0.1);
    }

    /* Navigation bar */
    .nav-container {
        padding: 10px 0;
    }

    .navbar {
        padding: 0 14px;
    }

    .navbar.scrolled {
        padding: 8px 14px;
    }

    .logo-icon {
        width: 30px;
        height: 30px;
        font-size: 14px;
    }

    .site-logo {
        width: 138px;
        height: 44px;
    }

    .footer-logo {
        width: 178px;
        height: 72px;
    }

    .clinic-name {
        font-size: clamp(13px, 4.2vw, 16px);
        max-width: 140px;
        white-space: normal;
        line-height: 1.05;
    }

    .hamburger {
        min-width: 28px;
        min-height: 22px;
        gap: 4px;
        z-index: 9999;
        position: relative;
    }

    .hamburger span {
        width: 20px;
        height: 2.25px;
        background: rgba(255, 255, 255, 0.98);
        border-radius: 2px;
        transition: var(--transition);
    }

    .hamburger.active span {
        background: var(--color-dark);
    }

    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(8px, 8px);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

    /* Container */
    .container {
        padding: 0 15px;
    }

    /* Hero */
    .hero {
        min-height: auto;
        padding: 92px 14px 52px;
    }

    .hero-title {
        font-size: clamp(28px, 8vw, 36px);
        line-height: 1.15;
        color: #1f1d2c;
    }

    .hero-subtitle {
        font-size: 16px;
        line-height: 1.6;
        margin-bottom: 22px;
        color: rgba(42, 36, 49, 0.92);
    }

    .hero-eyebrow {
        padding: 7px 12px;
        gap: 8px;
        margin-bottom: 14px;
        flex-wrap: wrap;
    }

    .hero-eyebrow-badge {
        font-size: 10px;
    }

    .hero-eyebrow-text {
        font-size: 11px;
    }

    .hero-trust-badges {
        gap: 8px;
        margin-bottom: 22px;
    }

    .hero-highlights {
        margin-top: 14px;
        gap: 8px;
    }

    .hero-highlight-pill {
        font-size: 12px;
        padding: 9px 12px;
    }

    .hero-form .hero-premium-select {
        min-height: 46px;
        padding: 10px 40px 10px 12px;
        font-size: 13px;
    }

    .hero-form .premium-select-wrap::after {
        right: 10px;
        width: 18px;
        height: 18px;
    }

    .hero-form .premium-select-wrap::before {
        right: 16px;
        width: 6px;
        height: 6px;
    }

    .trust-badge {
        font-size: 13px;
        gap: 8px;
        color: rgba(42, 36, 49, 0.94);
    }

    .glass-card {
        padding: 24px 18px;
        border-radius: 18px;
    }

    /* Services section */
    .services-grid {
        gap: 16px;
    }

    .service-card {
        padding: 22px 18px;
    }

    .service-card h3 {
        font-size: 20px;
    }

    .service-card p {
        font-size: 13px;
    }

    .service-icon {
        width: 58px;
        height: 58px;
        font-size: 26px;
    }

    .section-title {
        font-size: clamp(24px, 7vw, 32px);
        margin-bottom: 10px;
    }

    .section-subtitle {
        font-size: 14px;
        line-height: 1.6;
    }

    .doctors-grid,
    .why-us-grid,
    .testimonials-carousel,
    .timings-content,
    .contact-grid,
    .contact-info {
        gap: 16px;
    }

    .doctor-info,
    .why-card,
    .timing-card,
    .contact-card,
    .testimonial-card {
        padding: 22px 18px;
    }

    .doctor-card {
        max-width: 300px;
    }

    .doctor-image {
        height: 200px;
    }

    .doctor-info h3,
    .why-card h3,
    .timing-card h3,
    .contact-card h3,
    .testimonial-author {
        font-size: 18px;
    }

    .doctor-details,
    .why-card p,
    .timing-note,
    .contact-card p,
    .testimonial-text {
        font-size: 13px;
        line-height: 1.65;
    }

    /* Form section */
    .booking {
        padding-bottom: 84px;
    }

    .booking-form {
        gap: 14px;
        padding: 20px 16px;
        border-radius: 18px;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 11px 12px;
        font-size: 13px;
    }

    .booking-form .premium-select {
        min-height: 46px;
        padding: 10px 44px 10px 12px;
        font-size: 13px;
    }

    .booking-form .premium-select-wrap::after {
        right: 12px;
        width: 20px;
        height: 20px;
    }

    .booking-form .premium-select-wrap::before {
        right: 18px;
        width: 7px;
        height: 7px;
    }

    .form-group label {
        font-size: 11px;
        margin-bottom: 8px;
    }

    .booking-content h2 {
        font-size: clamp(24px, 7vw, 32px);
    }

    .booking-content > p {
        font-size: 14px;
        margin-bottom: 18px;
    }

    .booking-form .btn-large {
        padding: 14px 18px;
        font-size: 15px;
    }

    .form-note {
        font-size: 12px;
        padding: 12px 14px;
    }

    .booking-info {
        padding: 24px 18px;
        border-radius: 18px;
    }

    .booking-info h3 {
        font-size: 22px;
        margin-bottom: 18px;
    }

    .benefits-list li {
        font-size: 13px;
        margin-bottom: 11px;
    }

    .emergency-contact {
        padding: 16px;
        border-radius: 14px;
    }

    .emergency-contact p {
        font-size: 12px;
    }

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

    .booking-form .form-row {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .booking-form .form-group {
        min-width: 0;
        width: 100%;
    }

    .booking-form .form-group label {
        width: 100%;
    }

    .booking-form .form-group input[type="date"] {
        width: 100%;
        display: block;
        min-width: 0;
        box-sizing: border-box;
    }

    /* Footer section */
    .footer {
        padding: 34px 15px 102px;
    }

    .footer-content {
        gap: 25px;
    }

    .footer-section h4 {
        font-size: 16px;
    }

    .footer-section p,
    .footer-section a {
        font-size: 12px;
    }

    /* Mobile bottom CTA */
    .whatsapp-float {
        bottom: 18px;
        right: 16px;
    }

    .back-to-top {
        bottom: 86px;
        right: 16px;
    }

    .modal-content {
        padding: 20px 16px;
        gap: 18px;
    }

    .modal-image-container {
        aspect-ratio: 4 / 5;
    }

    .modal-details h2 {
        font-size: 20px;
    }

    .modal-details p {
        font-size: 13px;
        line-height: 1.65;
        margin-bottom: 18px;
    }

    .modal-nav {
        width: 42px;
        height: 42px;
    }

    .modal-prev {
        left: 8px;
    }

    .modal-next {
        right: 8px;
    }
}

/* Print ki styling */
.reviews-page .testimonials-carousel {
    align-items: stretch;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.reviews-page .testimonial-card {
    min-height: 280px;
    display: flex;
    flex-direction: column;
}

.reviews-page .testimonial-title {
    margin-top: auto;
}

.reviews-page main a:not(.btn):not(.nav-link):not(.nav-cta):not(.service-link):not(.whatsapp-float) {
    color: var(--color-primary);
    font-weight: 600;
    text-decoration: none;
}

.reviews-page main a:not(.btn):not(.nav-link):not(.nav-cta):not(.service-link):not(.whatsapp-float):hover {
    color: var(--color-primary-light);
    text-decoration: underline;
}

.reviews-page .reviews-treatments,
.reviews-page .reviews-trust {
    max-width: 1180px;
    margin: 72px auto 0;
    padding: 38px 42px;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.86), rgba(243, 236, 228, 0.7));
    border: 1px solid rgba(192, 154, 95, 0.22);
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
}

.reviews-page .reviews-treatments .section-title,
.reviews-page .reviews-trust .section-title {
    grid-column: 1 / -1;
    margin-bottom: 12px;
}

.reviews-page .reviews-treatments > .section-subtitle,
.reviews-page .reviews-trust > .section-subtitle {
    grid-column: 1 / -1;
    margin-bottom: 8px;
}

.review-treatment-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin-top: 20px;
}

.review-info-card,
.review-trust-grid p {
    margin: 0;
    padding: 24px;
    background: rgba(255, 255, 255, 0.84);
    border: 1px solid rgba(192, 154, 95, 0.18);
    border-radius: 13px;
    box-shadow: 0 8px 20px rgba(21, 21, 35, 0.05);
}

.review-info-card h3 {
    margin-bottom: 12px;
    color: var(--color-dark);
    font-family: var(--font-heading);
    font-size: 20px;
}

.review-info-card p,
.review-trust-grid p {
    color: var(--color-gray);
    line-height: 1.7;
}

.review-trust-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin-top: 20px;
}

.review-trust-grid strong {
    color: var(--color-primary);
}

.reviews-trust-link {
    margin-top: 18px;
    text-align: center;
}

.why-us-page .why-us-grid {
    max-width: 1180px;
    margin: 0 auto;
    align-items: start;
}

.why-us-page .why-card {
    min-height: 0;
    display: flex;
    flex-direction: column;
}

.why-us-page .why-card p:last-child {
    margin-top: 0;
}

.faq-page .faq-container {
    max-width: 900px;
}

.faq-page .faq-question {
    padding: 22px 24px;
}

.generated-faq-item {
    margin: 0;
}

.generated-faq-item .faq-question {
    min-height: 68px;
    padding: 18px 20px;
    background: rgba(255, 255, 255, 0.86);
    border: 1px solid rgba(192, 154, 95, 0.16);
    border-radius: 12px;
    text-align: left;
}

.generated-faq-item .faq-question i {
    font-size: 14px;
}

.generated-faq-item.active .faq-question {
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
    border-radius: 12px 12px 0 0;
}

.generated-faq-item .faq-answer {
    border: 1px solid rgba(192, 154, 95, 0.16);
    border-top: 0;
}

a[href^="tel:"]:not(.btn),
a[href^="mailto:"]:not(.btn),
a[href^="https://wa.me/"]:not(.btn):not(.whatsapp-float) {
    color: var(--color-primary);
    text-decoration: none;
    font-weight: 600;
}

a[href^="tel:"]:not(.btn):hover,
a[href^="mailto:"]:not(.btn):hover,
a[href^="https://wa.me/"]:not(.btn):not(.whatsapp-float):hover {
    color: var(--color-primary-light);
    text-decoration: underline;
}

.why-us-page .why-intro {
    max-width: 980px;
    margin: 0 auto 54px;
}

.why-us-page .why-hero-kicker {
    margin-bottom: 14px;
    color: var(--color-primary);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.why-us-page main a:not(.btn):not(.nav-link):not(.nav-cta):not(.whatsapp-float) {
    color: var(--color-primary);
    font-weight: 600;
    text-decoration: none;
}

.why-us-page main a:not(.btn):not(.nav-link):not(.nav-cta):not(.whatsapp-float):hover {
    color: var(--color-primary-light);
    text-decoration: underline;
}

.why-us-page .why-hero-points {
    max-width: 720px;
    margin: 28px 0 30px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.why-us-page .why-hero-points span {
    min-height: 72px;
    padding: 14px 12px;
    display: flex;
    align-items: center;
    gap: 9px;
    color: var(--color-dark);
    background: rgba(255, 255, 255, 0.76);
    border: 1px solid rgba(192, 154, 95, 0.24);
    border-radius: 12px;
    font-size: 13px;
    font-weight: 600;
}

.why-us-page .why-hero-points i {
    color: var(--color-primary);
    font-size: 20px;
}

.why-us-page .why-overview {
    margin-bottom: 28px;
}

.why-us-page .page-hero {
    padding: 92px 30px 58px;
    background:
        radial-gradient(circle at 82% 18%, rgba(192, 154, 95, 0.16) 0%, transparent 30%),
        linear-gradient(135deg, #f8f3ee 0%, #fff9f4 100%);
}

.why-us-page .page-hero .section-header {
    max-width: 920px;
    margin: 0 auto;
    text-align: left;
}

.why-us-page .page-hero .section-title {
    max-width: 780px;
    font-size: clamp(38px, 5vw, 68px);
}

.why-us-page .why-us {
    padding-top: 72px;
}

.why-us-page .why-overview .section-title {
    font-size: clamp(28px, 3.5vw, 44px);
}

.why-us-page .why-us-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.why-us-page .why-card {
    min-height: 270px;
    padding: 28px;
    text-align: left;
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid rgba(192, 154, 95, 0.28);
    box-shadow: 0 12px 30px rgba(21, 21, 35, 0.08);
}

.why-us-page .why-card:nth-child(even) {
    background: linear-gradient(145deg, rgba(243, 236, 228, 0.9), rgba(255, 255, 255, 0.82));
}

.why-us-page .why-icon {
    width: 58px;
    height: 58px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    border-radius: 50%;
    background: rgba(142, 31, 63, 0.08);
    font-size: 28px;
}

.why-us-page .why-card h3 {
    font-size: 20px;
}

.why-us-page .why-card:nth-child(2) {
    grid-column: span 2;
}

.why-us-page .why-card {
    min-height: 0;
}

.why-us-page .why-card p:last-child {
    margin-top: 0;
}

.why-process-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 14px;
    margin-top: 24px;
}

.why-process-step {
    min-height: 150px;
    padding: 18px 14px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(192, 154, 95, 0.22);
    border-radius: 12px;
    text-align: center;
}

.why-process-step i {
    color: var(--color-primary);
    font-size: 24px;
}

.why-process-step strong {
    color: var(--color-dark);
    font-family: var(--font-heading);
}

.why-process-step span {
    color: var(--color-gray);
    font-size: 12px;
    line-height: 1.45;
}

.why-us-page .why-assessment,
.why-us-page .why-patient-care,
.why-us-page .why-clinic,
.why-us-page .why-personalized,
.why-us-page .why-approach,
.why-us-page .why-faq {
    max-width: 1040px;
    margin: 58px auto 0;
    padding: 34px 40px;
    background: rgba(255, 255, 255, 0.76);
    border: 1px solid rgba(192, 154, 95, 0.22);
    border-radius: 15px;
    box-shadow: var(--shadow-sm);
    text-align: left;
}

.why-us-page .why-assessment .section-title,
.why-us-page .why-patient-care .section-title,
.why-us-page .why-clinic .section-title,
.why-us-page .why-personalized .section-title,
.why-us-page .why-approach .section-title,
.why-us-page .why-faq .section-title {
    margin-bottom: 20px;
    text-align: left;
}

.why-us-page .why-assessment .section-subtitle,
.why-us-page .why-patient-care .section-subtitle,
.why-us-page .why-clinic .section-subtitle,
.why-us-page .why-personalized .section-subtitle,
.why-us-page .why-approach .section-subtitle,
.why-us-page .why-faq .section-subtitle {
    max-width: none;
    margin-left: 0;
    margin-right: 0;
    padding: 12px 16px;
    border-left: 3px solid var(--color-accent);
    background: rgba(243, 236, 228, 0.5);
    text-align: left;
}

.faq-page .faq-intro {
    max-width: 820px;
    margin: 0 auto 36px;
    padding: 28px 34px;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(192, 154, 95, 0.22);
    border-radius: 15px;
    box-shadow: var(--shadow-sm);
}

.faq-page .faq-intro .section-title {
    margin-bottom: 12px;
}

#faq .faq-container,
.faq-page .faq-container {
    max-width: 1120px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 18px;
}

#faq .faq-item,
.faq-page .faq-item {
    margin-bottom: 0;
    border: 1px solid rgba(192, 154, 95, 0.18);
    border-radius: 14px;
    box-shadow: 0 8px 22px rgba(21, 21, 35, 0.06);
}

#faq .faq-question,
.faq-page .faq-question {
    min-height: 68px;
    background: rgba(255, 255, 255, 0.86);
    border-radius: 14px;
}

#faq .faq-item.active .faq-question,
.faq-page .faq-item.active .faq-question {
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
    color: white;
    border-radius: 14px 14px 0 0;
}

.reviews-page .reviews-faq,
.doctors-page .doctor-questions,
.services-faq,
.why-us-page .why-faq {
    max-width: 1120px;
    margin: 72px auto 0;
    padding: 34px 40px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 18px;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.86), rgba(243, 236, 228, 0.68));
    border: 1px solid rgba(192, 154, 95, 0.22);
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    text-align: left;
}

.reviews-page .reviews-faq .section-title,
.doctors-page .doctor-questions .section-title,
.services-faq .section-title,
.why-us-page .why-faq .section-title,
.reviews-page .reviews-faq > p:first-of-type,
.doctors-page .doctor-questions > p:first-of-type,
.services-faq .services-faq-intro {
    grid-column: 1 / -1;
}

.reviews-page .reviews-faq > p:not(:first-of-type),
.doctors-page .doctor-questions > p:not(:first-of-type),
.why-us-page .why-faq > p,
.services-question-grid p {
    margin: 0;
    padding: 18px 20px;
    color: var(--color-dark);
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid rgba(192, 154, 95, 0.16);
    border-radius: 12px;
    box-shadow: 0 6px 16px rgba(21, 21, 35, 0.04);
    line-height: 1.6;
}

.reviews-page .reviews-faq > p:not(:first-of-type) strong,
.doctors-page .doctor-questions > p:not(:first-of-type) strong,
.why-us-page .why-faq > p strong {
    color: var(--color-primary);
}

.services-question-grid {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 18px;
}

.services-question-grid p a {
    color: var(--color-primary);
    font-weight: 700;
}

.booking-page .booking-wrapper {
    max-width: 1180px;
    margin: 0 auto;
}

.booking-page .booking-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

@media (max-width: 768px) {
    .reviews-page .testimonial-card,
    .why-us-page .why-card {
        min-height: 0;
    }

    .reviews-page .testimonials-carousel {
        grid-template-columns: 1fr;
    }

    .reviews-page .reviews-treatments,
    .reviews-page .reviews-trust {
        padding: 24px 20px;
    }

    .review-treatment-grid,
    .review-trust-grid {
        grid-template-columns: 1fr;
    }

    .why-us-page .why-card:nth-child(2) {
        grid-column: auto;
    }

    .faq-page .faq-question {
        padding: 18px;
        text-align: left;
    }

    #faq .faq-container,
    .faq-page .faq-container,
    .reviews-page .reviews-faq,
    .doctors-page .doctor-questions,
    .services-faq,
    .why-us-page .why-faq,
    .services-question-grid {
        grid-template-columns: 1fr;
    }

    .reviews-page .reviews-faq,
    .doctors-page .doctor-questions,
    .services-faq,
    .why-us-page .why-faq {
        padding: 24px 20px;
    }

    .why-us-page .page-hero {
        padding: 70px 20px 42px;
    }

    .why-us-page .page-hero .section-header {
        text-align: center;
    }

    .why-us-page .page-hero .section-title {
        font-size: clamp(32px, 9vw, 48px);
    }

    .why-us-page .why-hero-points {
        grid-template-columns: 1fr;
    }

    .why-us-page .why-us-grid {
        grid-template-columns: 1fr;
    }

    .why-us-page .why-card {
        min-height: 0;
    }

    .why-process-grid {
        grid-template-columns: 1fr;
    }

    .why-us-page .why-assessment,
    .why-us-page .why-patient-care,
    .why-us-page .why-clinic,
    .why-us-page .why-personalized,
    .why-us-page .why-approach,
    .why-us-page .why-faq,
    .faq-page .faq-intro {
        margin-top: 34px;
        padding: 24px 20px;
    }
}

@media print {
    .navbar, .whatsapp-float, .back-to-top, .cta-banner {
        display: none;
    }
}

/* ============================================
   GALLERY MODAL / LIGHTBOX
   ============================================ */

.gallery-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    z-index: 9998;
    animation: fadeIn 0.3s ease;
    justify-content: center;
    align-items: center;
}

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

.modal-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    align-items: center;
    width: min(76%, 820px);
    max-width: 820px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(30px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 30px;
    animation: slideUp 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.modal-image-container {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10;
    max-height: 420px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(21, 21, 35, 0.26);
}

.modal-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    background: #fff;
}

.modal-image-counter {
    position: absolute;
    bottom: 15px;
    right: 15px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.modal-details {
    color: white;
    animation: fadeIn 0.5s ease 0.2s backwards;
    padding-right: 10px;
}

.modal-details h2 {
    font-family: var(--font-heading);
    font-size: 32px;
    margin-bottom: 15px;
    color: white;
}

.modal-details p {
    font-size: 16px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 30px;
}

.modal-actions .btn-primary {
    background: linear-gradient(145deg, #9d294c 0%, #7b1733 70%, #6f132d 100%);
}

.modal-actions {
    display: flex;
    gap: 15px;
}

.modal-actions a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 30px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
    color: white;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.modal-actions a:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(196, 30, 88, 0.4);
}

.modal-close {
    position: absolute;
    top: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 24px;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    z-index: 10000;
}

.modal-close:hover {
    background: rgba(196, 30, 88, 0.3);
    transform: rotate(90deg);
}

.modal-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 20px;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    z-index: 10000;
}

.modal-nav:hover {
    background: rgba(196, 30, 88, 0.5);
    transform: translateY(-50%) scale(1.1);
}

.modal-prev {
    left: 20px;
}

.modal-next {
    right: 20px;
}

/* Booking fields ki default styling */
.form-group label {
    font-weight: 600;
    color: var(--color-dark);
    margin-bottom: 10px;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: block;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 14px 16px;
    border: 2px solid rgba(196, 30, 88, 0.15);
    border-radius: 12px;
    font-family: var(--font-body);
    font-size: 15px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(245, 245, 245, 0.95));
    width: 100%;
    box-sizing: border-box;
}

.form-group input::placeholder,
.form-group select,
.form-group textarea::placeholder {
    color: rgba(0, 0, 0, 0.5);
}

.form-group input:hover,
.form-group select:hover,
.form-group textarea:hover {
    border-color: rgba(196, 30, 88, 0.3);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(245, 245, 245, 1));
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 4px rgba(196, 30, 88, 0.15), 0 8px 25px rgba(196, 30, 88, 0.2);
    background: white;
    transform: translateY(-2px);
}

.form-group input:valid,
.form-group select:valid {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 4px rgba(142, 31, 63, 0.12), 0 8px 25px rgba(142, 31, 63, 0.14);
}

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

.form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23c41e58' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 36px;
    cursor: pointer;
}

.form-group input[type="date"] {
    cursor: pointer;
}

.form-group input[type="date"]::-webkit-calendar-picker-indicator {
    cursor: pointer;
    color: var(--color-primary);
    opacity: 0.7;
}
    /* Modal */
    .modal-content {
        grid-template-columns: 1fr;
        gap: 18px;
        padding: 22px 16px;
        width: min(92%, 460px);
        max-width: 460px;
    }

    .modal-image-container {
        width: 100%;
        aspect-ratio: 16 / 10;
        min-height: 180px;
    }

    .modal-details h2 {
        font-size: 24px;
    }

    .modal-details p {
        font-size: 14px;
    }

    .modal-nav {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }

    .modal-prev {
        left: 10px;
    }

    .modal-next {
        right: 10px;
    }

    .modal-close {
        top: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
        font-size: 20px;
    }

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.form-group.focused label,
.form-group.filled label {
    color: var(--color-primary);
    font-size: 12px;
    transform: translateY(-20px);
}

.form-group.focused input,
.form-group.focused select,
.form-group.focused textarea {
    background: white;
}

.form-group.filled input,
.form-group.filled select,
.form-group.filled textarea {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(245, 245, 245, 1));
}

/* Booking fields ki interaction states */

/* Transparent clinic branding, readable on the dark footer. */
.footer-logo-link {
    display: inline-block;
    max-width: 100%;
    margin-bottom: 18px;
}
.footer-logo {
    display: block;
    width: 200px;
    max-width: 100%;
    height: auto;
    background: transparent;
    border-radius: 0;
    filter: brightness(0) invert(1);
}

/* Keep narrow phone grids within their available content width. */
@media (max-width: 480px) {
    .testimonials-carousel, .timings-content { grid-template-columns: minmax(0, 1fr); }
    .testimonial-card, .timing-card { min-width: 0; overflow-wrap: anywhere; }
}
/* Contact links retain readable contrast against the dark footer. */
.footer .footer-section a[href^="tel:"],
.footer .footer-section a[href^="mailto:"],
.footer .footer-section a[href^="https://wa.me/"] { color: #f4cbd5; }
.footer .footer-section a[href^="tel:"]:hover,
.footer .footer-section a[href^="mailto:"]:hover,
.footer .footer-section a[href^="https://wa.me/"]:hover { color: #fff; }
.service-card[data-service]:focus-visible { outline: 3px solid var(--color-primary); outline-offset: 4px; }

/* Initialized review carousels show exactly one card, including on mobile. */
.testimonials-carousel.is-carousel {
    grid-template-columns: minmax(0, 1fr);
}
.testimonials-carousel.is-carousel .testimonial-card[hidden] {
    display: none;
}
