/* 
========================================================================
   SINGHAL CHARM ROG HOSPITAL - PREMIUM CLINIC DESIGN SYSTEM
   Theme: Luxury Indian Dermatology (Navy Blue, Luxury Gold, Sky Blue Accents)
========================================================================
*/

/* --- Google Fonts Import --- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&display=swap');

/* --- CSS Variables & Design Tokens --- */
:root {
    /* Colors */
    --color-navy: #0A1931;
    --color-navy-light: #15305B;
    --color-navy-dark: #050E1A;
    --color-gold: #C5A880;
    --color-gold-light: #E5D5C0;
    --color-gold-dark: #9D815B;
    --color-gold-glow: rgba(197, 168, 128, 0.4);
    --color-sky: #E0F2FE;
    --color-sky-dark: #0EA5E9;
    --color-white: #FFFFFF;
    --color-bg-light: #F8FAFC;
    --color-text-dark: #1E293B;
    --color-text-muted: #64748B;
    --color-success: #22C55E;
    --color-whatsapp: #25D366;
    --color-border: #E2E8F0;

    /* Fonts */
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(5, 14, 26, 0.05);
    --shadow-md: 0 10px 20px rgba(5, 14, 26, 0.08);
    --shadow-lg: 0 20px 40px rgba(5, 14, 26, 0.12);
    --shadow-gold: 0 10px 25px rgba(197, 168, 128, 0.25);
    
    /* Layout */
    --max-width: 1280px;
    --header-height: 80px;
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --border-radius-sm: 6px;
    --border-radius-md: 12px;
    --border-radius-lg: 24px;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-tap-highlight-color: transparent;
}

body {
    font-family: var(--font-body);
    background-color: var(--color-white);
    color: var(--color-text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--color-navy);
    font-weight: 600;
}

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

button, input, select, textarea {
    font-family: inherit;
    outline: none;
}

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

ul {
    list-style: none;
}

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

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

/* --- Custom Scrollbar --- */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--color-bg-light);
}
::-webkit-scrollbar-thumb {
    background: var(--color-navy-light);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--color-gold-dark);
}

/* --- Section Headers --- */
.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px auto;
}

.badge-gold {
    display: inline-block;
    padding: 6px 18px;
    background-color: var(--color-bg-light);
    border: 1px solid var(--color-gold);
    color: var(--color-gold-dark);
    text-transform: uppercase;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 2px;
    border-radius: 50px;
    margin-bottom: 16px;
}

.section-header h2 {
    font-size: 2.6rem;
    margin-bottom: 16px;
    position: relative;
    padding-bottom: 16px;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--color-gold), transparent);
}

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

/* --- Button Styling --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: var(--border-radius-sm);
    transition: var(--transition-smooth);
    cursor: pointer;
    gap: 8px;
    border: 2px solid transparent;
}

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

.btn-primary:hover {
    background-color: var(--color-gold-dark);
    border-color: var(--color-gold-dark);
    color: var(--color-white);
    box-shadow: var(--shadow-gold);
    transform: translateY(-2px);
}

.btn-gold {
    background-color: var(--color-gold);
    color: var(--color-navy-dark);
    border-color: var(--color-gold);
}

.btn-gold:hover {
    background-color: var(--color-navy);
    border-color: var(--color-navy);
    color: var(--color-white);
    box-shadow: 0 10px 20px rgba(10, 25, 49, 0.2);
    transform: translateY(-2px);
}

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

.btn-outline:hover {
    background-color: var(--color-navy);
    color: var(--color-white);
    transform: translateY(-2px);
}

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

.btn-whatsapp:hover {
    background-color: #1eb856;
    border-color: #1eb856;
    box-shadow: 0 10px 20px rgba(37, 211, 102, 0.25);
    transform: translateY(-2px);
}

.btn-sm {
    padding: 8px 18px;
    font-size: 0.85rem;
}

/* --- Sticky Header & Navigation --- */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: var(--shadow-sm);
    backdrop-filter: blur(10px);
    transition: var(--transition-smooth);
    border-bottom: 1px solid var(--color-border);
}

header.scrolled {
    padding: 8px 0;
    box-shadow: var(--shadow-md);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--header-height);
}

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

.logo-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-navy);
    letter-spacing: 1px;
    line-height: 1.1;
}

.logo-subtitle {
    font-size: 0.7rem;
    color: var(--color-gold-dark);
    font-weight: 500;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-top: 2px;
}

nav {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 24px;
}

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

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-gold);
    transition: var(--transition-smooth);
}

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

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

.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.social-icon-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background-color: var(--color-bg-light);
    color: var(--color-navy);
    border: 1px solid var(--color-border);
    transition: var(--transition-smooth);
}

.social-icon-btn:hover {
    background-color: #E1306C;
    color: var(--color-white);
    border-color: #E1306C;
    transform: translateY(-2px);
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1100;
}

.hamburger span {
    width: 100%;
    height: 2px;
    background-color: var(--color-navy);
    border-radius: 2px;
    transition: var(--transition-smooth);
}

/* Mobile Nav Drawer */
.mobile-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background-color: var(--color-white);
    box-shadow: var(--shadow-lg);
    z-index: 1050;
    padding: 100px 32px 40px 32px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: var(--transition-smooth);
}

.mobile-nav.open {
    right: 0;
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.mobile-nav-link {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--color-navy);
    padding: 8px 0;
    border-bottom: 1px solid var(--color-bg-light);
}

.mobile-nav-link:hover, .mobile-nav-link.active {
    color: var(--color-gold-dark);
    padding-left: 8px;
}

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

/* Back overlay when mobile nav is open */
.nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(5, 14, 26, 0.4);
    z-index: 1020;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition-smooth);
    backdrop-filter: blur(4px);
}

.nav-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

/* Hamburger active transformation */
.hamburger.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

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

.hamburger.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* --- Hero Section --- */
.hero {
    min-height: 100vh;
    padding-top: calc(var(--header-height) + 40px);
    padding-bottom: 60px;
    display: flex;
    align-items: center;
    background: radial-gradient(circle at 10% 20%, rgba(224, 242, 254, 0.3) 0%, transparent 50%),
                radial-gradient(circle at 90% 80%, rgba(197, 168, 128, 0.1) 0%, transparent 50%);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 48px;
    align-items: center;
}

.hero-content {
    display: flex;
    flex-direction: column;
}

.hero-rating-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: var(--color-sky);
    color: var(--color-navy-light);
    font-size: 0.85rem;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 50px;
    margin-bottom: 24px;
    width: fit-content;
}

.hero-rating-badge span.stars {
    color: var(--color-gold-dark);
}

.hero-content h1 {
    font-size: 3.5rem;
    line-height: 1.15;
    margin-bottom: 20px;
    color: var(--color-navy);
}

.hero-checklist {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 24px;
}

.hero-check-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--color-navy-light);
}

.hero-check-item svg {
    color: var(--color-gold);
    flex-shrink: 0;
}

.hero-subheading {
    font-size: 1.15rem;
    color: var(--color-text-muted);
    margin-bottom: 36px;
    max-width: 600px;
}

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

/* Doctor Hero Card */
.hero-image-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.doctor-hero-card {
    background: var(--color-white);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
    padding: 20px;
    border: 1px solid var(--color-border);
    position: relative;
    overflow: hidden;
    width: 100%;
    max-width: 440px;
    animation: floatCard 6s ease-in-out infinite;
}

@keyframes floatCard {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

.doctor-img-container {
    width: 100%;
    height: 380px;
    border-radius: var(--border-radius-md);
    overflow: hidden;
    margin-bottom: 18px;
    position: relative;
    background-color: var(--color-bg-light);
}

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

.doctor-card-info {
    text-align: center;
}

.doctor-card-name {
    font-size: 1.4rem;
    color: var(--color-navy);
    margin-bottom: 4px;
    font-weight: 700;
}

.doctor-card-title {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    font-weight: 500;
    margin-bottom: 12px;
}

.doctor-verified-tag {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.75rem;
    font-weight: 700;
    color: #1A73E8;
    background-color: rgba(26, 115, 232, 0.08);
    padding: 4px 10px;
    border-radius: 50px;
    text-transform: uppercase;
}

/* Decorative backdrop glow for Hero */
.hero-glow {
    position: absolute;
    width: 350px;
    height: 350px;
    background-color: var(--color-gold-glow);
    border-radius: 50%;
    filter: blur(80px);
    z-index: -1;
    right: 10%;
    top: 20%;
}

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

.about-clinic-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 100px;
}

.about-clinic-img-wrapper {
    position: relative;
    padding: 16px;
}

/* Premium luxury double frame */
.about-clinic-img-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: calc(100% - 32px);
    height: calc(100% - 32px);
    border: 2px solid var(--color-gold);
    border-radius: var(--border-radius-lg);
    z-index: 1;
    transform: translate(32px, 32px);
}

.clinic-premium-card {
    position: relative;
    z-index: 2;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    background-color: var(--color-white);
}

.clinic-premium-card img {
    width: 100%;
    height: 420px;
    object-fit: cover;
}

.about-clinic-content h3 {
    font-size: 2.2rem;
    margin-bottom: 20px;
    line-height: 1.25;
}

.about-intro-text {
    font-size: 1.05rem;
    color: var(--color-text-dark);
    margin-bottom: 30px;
}

.trust-points-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.trust-point-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.trust-icon-box {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--color-sky);
    color: var(--color-navy);
    flex-shrink: 0;
}

.trust-point-text h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-navy);
    margin-bottom: 4px;
}

.trust-point-text p {
    font-size: 0.85rem;
    color: var(--color-text-muted);
}

/* Doctor bio section within About */
.about-doctor-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
    border-top: 1px solid var(--color-border);
    padding-top: 100px;
}

.about-doctor-content h3 {
    font-size: 2.2rem;
    margin-bottom: 6px;
}

.doctor-qualifications {
    font-size: 0.95rem;
    color: var(--color-gold-dark);
    font-weight: 600;
    margin-bottom: 24px;
    letter-spacing: 0.5px;
}

.doctor-bio-text {
    color: var(--color-text-muted);
    margin-bottom: 32px;
}

.doctor-bio-text p {
    margin-bottom: 16px;
}

.doctor-credentials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 32px;
}

.credential-card {
    background-color: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius-md);
    padding: 16px;
    text-align: center;
    box-shadow: var(--shadow-sm);
}

.credential-num {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    color: var(--color-navy);
    font-weight: 700;
    margin-bottom: 4px;
}

.credential-lbl {
    font-size: 0.75rem;
    color: var(--color-text-muted);
    font-weight: 500;
    text-transform: uppercase;
}

.about-doctor-img-wrapper {
    display: flex;
    justify-content: center;
}

.doctor-bio-card {
    background-color: var(--color-white);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    width: 100%;
    max-width: 380px;
    border: 1px solid var(--color-border);
}

.doctor-bio-card img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    object-position: center top;
}

.doctor-bio-footer {
    padding: 16px;
    text-align: center;
    background-color: var(--color-bg-light);
    border-top: 1px solid var(--color-border);
}

/* --- Statistics Section --- */
.stats {
    background-color: var(--color-navy);
    color: var(--color-white);
    padding: 60px 0;
    position: relative;
    overflow: hidden;
}

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

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

.stat-number {
    font-family: var(--font-heading);
    font-size: 3.2rem;
    color: var(--color-gold);
    font-weight: 700;
    margin-bottom: 8px;
    line-height: 1;
}

.stat-label {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
}

/* --- Services Section --- */
.services {
    background-color: var(--color-white);
}

/* Category filter tabs style */
.filter-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 50px;
}

.filter-btn {
    background-color: var(--color-bg-light);
    border: 1px solid var(--color-border);
    color: var(--color-text-dark);
    padding: 10px 24px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.filter-btn:hover, .filter-btn.active {
    background-color: var(--color-navy);
    border-color: var(--color-navy);
    color: var(--color-white);
    box-shadow: var(--shadow-sm);
}

/* Responsive Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

/* Service Card Style */
.service-card {
    background-color: var(--color-white);
    border-radius: var(--border-radius-md);
    overflow: hidden;
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: var(--transition-smooth);
    position: relative;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--color-gold);
}

.service-card-img-box {
    position: relative;
    height: 200px;
    overflow: hidden;
    background-color: var(--color-bg-light);
}

.service-card-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-card:hover .service-card-img-box img {
    transform: scale(1.08);
}

.service-category-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background-color: rgba(10, 25, 49, 0.85);
    color: var(--color-gold);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 50px;
    backdrop-filter: blur(4px);
    text-transform: uppercase;
}

.service-card-content {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.service-icon-heading {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 12px;
}

.service-card-icon {
    color: var(--color-gold-dark);
    flex-shrink: 0;
    margin-top: 4px;
}

.service-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-navy);
    line-height: 1.3;
}

.service-card-desc {
    font-size: 0.88rem;
    color: var(--color-text-muted);
    margin-bottom: 24px;
    flex-grow: 1;
}

.service-card-footer {
    border-top: 1px solid var(--color-bg-light);
    padding-top: 16px;
    margin-top: auto;
}

.btn-inquire {
    width: 100%;
    padding: 10px;
    font-size: 0.88rem;
    font-weight: 600;
    border-radius: var(--border-radius-sm);
    background-color: var(--color-bg-light);
    color: var(--color-navy);
    border: 1px solid var(--color-border);
    transition: var(--transition-smooth);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    cursor: pointer;
}

.service-card:hover .btn-inquire {
    background-color: var(--color-gold);
    border-color: var(--color-gold);
    color: var(--color-navy-dark);
}

.btn-inquire:hover {
    background-color: var(--color-navy) !important;
    border-color: var(--color-navy) !important;
    color: var(--color-white) !important;
}

/* Service reveal animation */
.service-card.hidden {
    display: none;
}

/* --- Before / After Results Section --- */
.before-after {
    background-color: var(--color-bg-light);
}

.slider-tab-container {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 40px;
}

.slider-tab-btn {
    background-color: var(--color-white);
    border: 1px solid var(--color-border);
    color: var(--color-text-dark);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.slider-tab-btn:hover, .slider-tab-btn.active {
    background-color: var(--color-gold);
    border-color: var(--color-gold);
    color: var(--color-navy-dark);
}

.slider-wrapper {
    max-width: 700px;
    margin: 0 auto;
    background: var(--color-white);
    padding: 16px;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--color-border);
}

.slider-item {
    display: none;
}

.slider-item.active {
    display: block;
}

.slider-item-info {
    text-align: center;
    margin-top: 16px;
}

.slider-item-info h4 {
    font-size: 1.3rem;
    color: var(--color-navy);
    margin-bottom: 4px;
}

.slider-item-info p {
    font-size: 0.9rem;
    color: var(--color-text-muted);
}

/* The Draggable Container */
.comparison-slider-container {
    position: relative;
    width: 100%;
    height: 420px;
    border-radius: var(--border-radius-md);
    overflow: hidden;
    user-select: none;
    box-shadow: var(--shadow-md);
}

.comparison-slider-container img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
}

/* Base Image is AFTER (Clean skin) */
.comparison-slider-container .image-after {
    z-index: 1;
}

/* Foreground Image is BEFORE (Blemish/Problem skin) with clip-path */
.comparison-slider-container .image-before {
    z-index: 2;
    /* Controlled by --clip-pos in CSS custom property from JS */
    clip-path: polygon(0 0, var(--clip-pos, 50%) 0, var(--clip-pos, 50%) 100%, 0 100%);
}

/* Before Skin Filters */
.before-acne {
    filter: saturate(1.4) contrast(1.15) brightness(0.9) hue-rotate(-22deg) sepia(0.2);
}

.before-pigmentation {
    filter: contrast(1.45) sepia(0.65) brightness(0.75);
}

.before-hair {
    filter: blur(1.5px) opacity(0.5) grayscale(0.5);
}

.before-laser {
    filter: contrast(0.85) sepia(0.35) blur(0.7px) brightness(0.9);
}

/* Labels */
.slider-label {
    position: absolute;
    bottom: 16px;
    z-index: 3;
    padding: 6px 14px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-white);
    pointer-events: none;
    backdrop-filter: blur(4px);
}

.slider-label-before {
    left: 16px;
    background-color: rgba(197, 168, 128, 0.95);
}

.slider-label-after {
    right: 16px;
    background-color: rgba(10, 25, 49, 0.95);
}

/* Drag bar / line */
.slider-handle-line {
    position: absolute;
    top: 0;
    /* Controlled by JS */
    left: var(--clip-pos, 50%);
    width: 3px;
    height: 100%;
    background-color: var(--color-gold);
    z-index: 5;
    transform: translateX(-50%);
    pointer-events: none;
    box-shadow: 0 0 10px rgba(197, 168, 128, 0.5);
}

/* Drag Handle Circle */
.slider-handle-btn {
    position: absolute;
    top: 50%;
    /* Controlled by JS */
    left: var(--clip-pos, 50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: var(--color-navy);
    border: 3px solid var(--color-gold);
    z-index: 6;
    transform: translate(-50%, -50%);
    cursor: ew-resize;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-gold);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    transition: background-color 0.2s, transform 0.2s;
}

.slider-handle-btn::before, .slider-handle-btn::after {
    content: '';
    display: inline-block;
    border: solid transparent;
    border-width: 5px 6px;
}

.slider-handle-btn::before {
    border-right-color: currentColor;
    margin-right: 2px;
}

.slider-handle-btn::after {
    border-left-color: currentColor;
    margin-left: 2px;
}

.comparison-slider-container:hover .slider-handle-btn {
    background-color: var(--color-navy-light);
    transform: translate(-50%, -50%) scale(1.05);
}

/* Range input cover overlay (invisible range input to map touches/drags effortlessly) */
.slider-range-input {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    z-index: 10;
    cursor: ew-resize;
}

/* --- Technology Section --- */
.technology {
    background-color: var(--color-white);
}

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

.tech-card {
    background-color: var(--color-bg-light);
    border-radius: var(--border-radius-md);
    padding: 32px;
    border: 1px solid var(--color-border);
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.tech-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--color-navy), var(--color-gold));
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition-smooth);
}

.tech-card:hover {
    transform: translateY(-8px);
    background-color: var(--color-white);
    box-shadow: var(--shadow-md);
    border-color: var(--color-gold-light);
}

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

.tech-icon-wrapper {
    width: 60px;
    height: 60px;
    border-radius: var(--border-radius-sm);
    background-color: var(--color-white);
    border: 1px solid var(--color-border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-gold-dark);
    margin-bottom: 24px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
}

.tech-card:hover .tech-icon-wrapper {
    background-color: var(--color-sky);
    border-color: var(--color-sky);
    color: var(--color-navy);
}

.tech-card h3 {
    font-size: 1.35rem;
    margin-bottom: 12px;
}

.tech-card p {
    font-size: 0.9rem;
    color: var(--color-text-muted);
}

/* --- Premium Clinic Gallery Section --- */
.gallery {
    background-color: var(--color-bg-light);
}

/* Masonry Grid using multi-column */
.gallery-masonry {
    column-count: 3;
    column-gap: 24px;
    width: 100%;
}

.gallery-item {
    background-color: var(--color-white);
    border-radius: var(--border-radius-md);
    overflow: hidden;
    margin-bottom: 24px;
    break-inside: avoid;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--color-border);
    cursor: pointer;
    position: relative;
    transition: var(--transition-smooth);
}

.gallery-item:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--color-gold);
}

.gallery-img-box {
    position: relative;
    overflow: hidden;
}

.gallery-img-box img {
    width: 100%;
    display: block;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-item:hover .gallery-img-box img {
    transform: scale(1.05);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(5, 14, 26, 0.6);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 24px;
    opacity: 0;
    transition: var(--transition-smooth);
    backdrop-filter: blur(2px);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-info h4 {
    font-size: 1.15rem;
    color: var(--color-gold);
    margin-bottom: 4px;
}

.gallery-info p {
    font-size: 0.85rem;
    color: var(--color-white);
    opacity: 0.8;
}

.gallery-zoom-icon {
    position: absolute;
    top: 20px;
    right: 20px;
    color: var(--color-white);
    background-color: rgba(255, 255, 255, 0.2);
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(4px);
    transform: scale(0.8);
    transition: var(--transition-smooth);
}

.gallery-item:hover .gallery-zoom-icon {
    transform: scale(1);
}

/* Custom Lightbox */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(5, 14, 26, 0.95);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition-smooth);
    backdrop-filter: blur(8px);
}

.lightbox.active {
    opacity: 1;
    pointer-events: auto;
}

.lightbox-content {
    max-width: 90%;
    max-height: 80%;
    position: relative;
    transform: scale(0.9);
    transition: var(--transition-smooth);
}

.lightbox.active .lightbox-content {
    transform: scale(1);
}

.lightbox-img {
    max-width: 100%;
    max-height: 80vh;
    border-radius: var(--border-radius-sm);
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
    border: 2px solid var(--color-gold);
}

.lightbox-caption {
    color: var(--color-white);
    margin-top: 16px;
    text-align: center;
    font-size: 1.1rem;
    font-family: var(--font-heading);
}

.lightbox-close {
    position: absolute;
    top: -50px;
    right: 0;
    background: transparent;
    border: none;
    color: var(--color-white);
    font-size: 2.2rem;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.lightbox-close:hover {
    color: var(--color-gold);
    transform: rotate(90deg);
}

/* --- Reviews Section --- */
.reviews {
    background-color: var(--color-white);
}

.reviews-grid {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 60px;
    align-items: center;
}

.reviews-score-card {
    background: linear-gradient(135deg, var(--color-navy), var(--color-navy-light));
    border-radius: var(--border-radius-lg);
    padding: 40px;
    text-align: center;
    color: var(--color-white);
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(197, 168, 128, 0.3);
}

.google-logo {
    height: 36px;
    margin: 0 auto 20px auto;
}

.reviews-average {
    font-family: var(--font-heading);
    font-size: 4rem;
    font-weight: 700;
    color: var(--color-gold);
    line-height: 1;
    margin-bottom: 8px;
}

.reviews-stars {
    color: var(--color-gold);
    font-size: 1.4rem;
    margin-bottom: 12px;
}

.reviews-count-lbl {
    font-size: 0.95rem;
    color: rgba(255,255,255,0.7);
    margin-bottom: 24px;
}

.btn-write-review {
    width: 100%;
}

.reviews-cards-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.review-card {
    background-color: var(--color-bg-light);
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius-md);
    padding: 24px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
}

.review-card:hover {
    background-color: var(--color-white);
    border-color: var(--color-gold-light);
    box-shadow: var(--shadow-md);
    transform: translateX(6px);
}

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

.reviewer-profile {
    display: flex;
    align-items: center;
    gap: 12px;
}

.reviewer-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: var(--color-navy);
    color: var(--color-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1rem;
}

.reviewer-name {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--color-navy);
}

.reviewer-status {
    font-size: 0.75rem;
    color: var(--color-text-muted);
}

.review-stars {
    color: var(--color-gold-dark);
    font-size: 0.95rem;
}

.review-body {
    font-size: 0.95rem;
    color: var(--color-text-dark);
    font-style: italic;
    line-height: 1.5;
}

/* --- Contact Section --- */
.contact {
    background-color: var(--color-bg-light);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1.10fr 0.9fr;
    gap: 48px;
}

.contact-info-panel {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.contact-details-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 32px;
}

.contact-item-card {
    background-color: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius-md);
    padding: 20px;
    display: flex;
    align-items: flex-start;
    gap: 16px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
}

.contact-item-card:hover {
    border-color: var(--color-gold);
    box-shadow: var(--shadow-md);
}

.contact-card-icon {
    width: 48px;
    height: 48px;
    background-color: var(--color-sky);
    color: var(--color-navy);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-card-text h4 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--color-navy);
    margin-bottom: 4px;
}

.contact-card-text p, .contact-card-text a {
    font-size: 0.9rem;
    color: var(--color-text-muted);
}

.contact-card-text a:hover {
    color: var(--color-gold-dark);
}

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

/* Form Panel */
.contact-form-panel {
    background-color: var(--color-white);
    border-radius: var(--border-radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--color-border);
}

.contact-form-panel h3 {
    font-size: 1.8rem;
    margin-bottom: 8px;
}

.contact-form-panel p {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    margin-bottom: 24px;
}

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

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

.form-label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-navy);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-input {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--color-border);
    background-color: var(--color-bg-light);
    border-radius: var(--border-radius-sm);
    color: var(--color-text-dark);
    font-size: 0.95rem;
    transition: var(--transition-smooth);
}

.form-input:focus {
    border-color: var(--color-gold-dark);
    background-color: var(--color-white);
    box-shadow: 0 0 0 3px var(--color-gold-glow);
}

textarea.form-input {
    resize: none;
    height: 110px;
}

.btn-form-submit {
    width: 100%;
}

/* Map Wrap */
.map-section {
    width: 100%;
    height: 400px;
    background-color: var(--color-bg-light);
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
}

.map-section iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/* --- Footer --- */
footer {
    background-color: var(--color-navy-dark);
    color: var(--color-white);
    padding: 80px 0 30px 0;
    border-top: 2px solid var(--color-gold-dark);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 1fr;
    gap: 48px;
    margin-bottom: 60px;
}

.footer-brand h3 {
    color: var(--color-white);
    font-size: 1.5rem;
    margin-bottom: 4px;
}

.footer-brand p.tagline {
    font-size: 0.75rem;
    color: var(--color-gold);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.footer-brand p.desc {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.6);
    line-height: 1.6;
    margin-bottom: 24px;
}

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

.footer-social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--color-white);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition-smooth);
}

.footer-social-btn:hover {
    background-color: var(--color-gold);
    color: var(--color-navy-dark);
    border-color: var(--color-gold);
    transform: translateY(-2px);
}

.footer-links-col h4, .footer-contact-col h4 {
    color: var(--color-gold);
    font-size: 1.1rem;
    margin-bottom: 24px;
    position: relative;
    padding-bottom: 8px;
}

.footer-links-col h4::after, .footer-contact-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--color-gold);
}

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

.footer-link {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.7);
    transition: var(--transition-smooth);
}

.footer-link:hover {
    color: var(--color-gold);
    padding-left: 4px;
}

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

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 0.9rem;
    color: rgba(255,255,255,0.7);
}

.footer-contact-item svg {
    color: var(--color-gold);
    flex-shrink: 0;
    margin-top: 3px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 30px;
    text-align: center;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.4);
}

/* --- Compact Appointment Modal --- */
.modal-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 3000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition-smooth);
}

.modal-wrapper.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-backdrop {
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: rgba(5, 14, 26, 0.7);
    backdrop-filter: blur(5px);
}

.modal-container {
    position: relative;
    z-index: 3010;
    background-color: var(--color-white);
    border-radius: var(--border-radius-lg);
    width: 100%;
    max-width: 420px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 25px 50px -12px rgba(5, 14, 26, 0.25);
    border: 2px solid var(--color-gold);
    transform: scale(0.9);
    transition: var(--transition-smooth);
}

.modal-wrapper.active .modal-container {
    transform: scale(1);
}

.modal-header {
    background-color: var(--color-navy);
    color: var(--color-white);
    padding: 20px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.modal-header h3 {
    color: var(--color-white);
    font-size: 1.3rem;
}

.modal-header p {
    font-size: 0.75rem;
    color: var(--color-gold);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.modal-close-btn {
    background: transparent;
    border: none;
    color: var(--color-white);
    font-size: 1.6rem;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.modal-close-btn:hover {
    color: var(--color-gold);
    transform: rotate(90deg);
}

.modal-body {
    padding: 24px;
}

/* --- Floating WhatsApp Button --- */
.floating-whatsapp {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
    width: 58px;
    height: 58px;
    background-color: var(--color-whatsapp);
    color: var(--color-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
    border: 3px solid var(--color-white);
    transition: var(--transition-smooth);
}

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

/* Pulse Glow Rings */
.floating-whatsapp::before {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    border: 3px solid var(--color-whatsapp);
    animation: whatsappPulse 2s infinite;
    z-index: -1;
}

@keyframes whatsappPulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    100% {
        transform: scale(1.4);
        opacity: 0;
    }
}

/* --- Scroll Reveal Animations --- */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* --- Responsive Media Queries --- */

@media (max-width: 1200px) {
    .hero-content h1 {
        font-size: 3rem;
    }
    .about-clinic-grid, .about-doctor-grid {
        gap: 40px;
    }
}

@media (max-width: 992px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 60px;
        text-align: center;
    }
    .hero-rating-badge, .hero-content h1, .hero-subheading {
        margin-left: auto;
        margin-right: auto;
    }
    .hero-checklist {
        justify-content: center;
        max-width: 500px;
        margin: 0 auto 24px auto;
    }
    .hero-ctas {
        justify-content: center;
    }
    .hero-image-wrapper {
        order: -1;
    }
    .about-clinic-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .about-clinic-img-wrapper {
        order: -1;
        max-width: 500px;
        margin: 0 auto;
    }
    .about-clinic-img-wrapper::before {
        transform: translate(24px, 24px);
    }
    .about-doctor-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .about-doctor-img-wrapper {
        order: -1;
    }
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .tech-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .gallery-masonry {
        column-count: 2;
    }
    .reviews-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .reviews-score-card {
        max-width: 500px;
        margin: 0 auto;
    }
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    .contact-info-panel {
        max-width: 600px;
        margin: 0 auto;
        width: 100%;
    }
    .contact-form-panel {
        max-width: 600px;
        margin: 0 auto;
        width: 100%;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    .footer-brand, .footer-links-col, .footer-contact-col {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .footer-links-col h4::after, .footer-contact-col h4::after {
        left: 50%;
        transform: translateX(-50%);
    }
    .footer-socials {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    header {
        padding: 12px 0;
    }
    .hamburger {
        display: flex;
    }
    .nav-menu {
        display: none;
    }
    .header-actions .btn {
        display: none;
    }
    .section-header h2 {
        font-size: 2.1rem;
    }
    .hero-content h1 {
        font-size: 2.4rem;
    }
    .hero-checklist {
        grid-template-columns: 1fr;
        gap: 8px;
        align-items: center;
    }
    .gallery-masonry {
        column-count: 1;
    }
}

@media (max-width: 576px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
    .tech-grid {
        grid-template-columns: 1fr;
    }
    .stats-grid {
        grid-template-columns: 1fr;
    }
    .form-group-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    .comparison-slider-container {
        height: 300px;
    }
    .hero-ctas .btn {
        width: 100%;
    }
    .contact-actions .btn {
        width: 100%;
    }
    .floating-whatsapp {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
        border-width: 2px;
    }
    .floating-whatsapp::before {
        width: 50px;
        height: 50px;
    }
}

/* ==========================================================================
   BRANCH SELECTION LANDING PAGE (LUXURY BRAND DESIGN)
   ========================================================================== */

/* Fade-out effect when branch is selected */
body.branch-select-active {
    overflow: hidden !important;
    height: 100vh !important;
}

.branch-selection-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 99999;
    background: radial-gradient(circle at center, #0B192F 0%, #030812 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow-y: auto;
    padding: 40px 20px;
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.8s;
    opacity: 1;
    visibility: visible;
}

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

.branch-selection-container {
    max-width: 1000px;
    width: 100%;
    margin: auto;
    text-align: center;
}

.branch-selection-logo {
    margin-bottom: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.branch-selection-logo .gold-logo-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-gold);
    letter-spacing: 3px;
    text-transform: uppercase;
    text-shadow: 0 2px 10px rgba(212, 175, 55, 0.2);
}

.branch-selection-logo .gold-logo-subtitle {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.7);
    letter-spacing: 4px;
    text-transform: uppercase;
    margin-top: 10px;
}

.branch-selection-title {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 16px;
    line-height: 1.2;
}

.branch-selection-subtitle {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.6);
    max-width: 600px;
    margin: 0 auto 60px auto;
    line-height: 1.6;
}

/* Branch Cards Grid */
.branch-cards-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    perspective: 1000px;
}

.branch-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 50px 40px;
    text-align: left;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), 
                box-shadow 0.6s cubic-bezier(0.16, 1, 0.3, 1), 
                border-color 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.branch-card-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.05) 0%, transparent 60%);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.6s ease;
}

.branch-card:hover {
    transform: translateY(-12px) scale(1.02);
    border-color: rgba(212, 175, 55, 0.4);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4), 
                0 0 40px rgba(212, 175, 55, 0.15);
}

.branch-card:hover .branch-card-glow {
    opacity: 1;
}

.branch-card-badge {
    align-self: flex-start;
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.2);
    color: var(--color-gold);
    padding: 6px 14px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 24px;
}

.branch-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    color: #ffffff;
    margin-bottom: 8px;
    font-weight: 700;
}

.branch-card .branch-location {
    font-size: 0.95rem;
    color: var(--color-gold);
    font-weight: 600;
    margin-bottom: 20px;
    display: block;
}

.branch-card .branch-desc {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.6;
    margin-bottom: 30px;
    flex-grow: 1;
}

.branch-highlights {
    list-style: none;
    padding: 0;
    margin: 0 0 40px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding-top: 24px;
}

.branch-highlights li {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 12px;
}

.branch-card .btn-branch-select {
    width: 100%;
    padding: 16px;
    font-size: 0.95rem;
    font-weight: 700;
    border-radius: 6px;
    background: transparent;
    border: 1px solid var(--color-gold);
    color: var(--color-gold);
    transition: all 0.4s ease;
}

.branch-card:hover .btn-branch-select {
    background: var(--color-gold);
    color: var(--color-navy);
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.4);
}

/* Floating particles styling */
.branch-card-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.6s ease;
}

.branch-card:hover .branch-card-particles {
    opacity: 1;
}

.branch-card-particles .particle {
    position: absolute;
    width: 6px;
    height: 6px;
    background: rgba(212, 175, 55, 0.6);
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.8);
    animation: drift-orb 8s infinite linear;
}

.branch-card-particles .particle:nth-child(1) { top: 20%; left: 80%; width: 4px; height: 4px; animation-duration: 6s; }
.branch-card-particles .particle:nth-child(2) { top: 60%; left: 15%; width: 8px; height: 8px; animation-duration: 9s; animation-delay: 1s; }
.branch-card-particles .particle:nth-child(3) { top: 80%; left: 75%; width: 5px; height: 5px; animation-duration: 7s; animation-delay: 2s; }
.branch-card-particles .particle:nth-child(4) { top: 15%; left: 30%; width: 6px; height: 6px; animation-duration: 8s; animation-delay: 0.5s; }
.branch-card-particles .particle:nth-child(5) { top: 45%; left: 85%; width: 5px; height: 5px; animation-duration: 10s; animation-delay: 1.5s; }

@keyframes drift-orb {
    0% {
        transform: translateY(0) rotate(0deg) scale(1);
        opacity: 0;
    }
    10% {
        opacity: 0.8;
    }
    90% {
        opacity: 0.8;
    }
    100% {
        transform: translateY(-60px) rotate(360deg) scale(0.6);
        opacity: 0;
    }
}

/* ==========================================================================
   BRANCH SWITCHER BUTTON (HEADER & DRAWER)
   ========================================================================== */

.btn-branch-switcher {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(212, 175, 55, 0.06);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 6px;
    padding: 8px 14px;
    color: var(--color-gold);
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-branch-switcher svg {
    color: var(--color-gold);
    transition: transform 0.3s ease;
}

.btn-branch-switcher:hover {
    background: rgba(212, 175, 55, 0.12);
    border-color: var(--color-gold);
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.2);
}

.btn-branch-switcher:hover svg {
    transform: scale(1.15) rotate(10deg);
}

/* Dynamic Hidden state for branch-filtered services */
.service-card.branch-hidden {
    display: none !important;
}

.filter-btn.branch-hidden {
    display: none !important;
}

/* Responsive adjustment for landing page */
@media (max-width: 900px) {
    .branch-selection-screen {
        padding: 60px 16px;
    }
    .branch-selection-title {
        font-size: 2.2rem;
    }
    .branch-selection-subtitle {
        font-size: 1rem;
        margin-bottom: 40px;
    }
    .branch-cards-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        max-width: 500px;
        margin: 0 auto;
    }
    .branch-card {
        padding: 40px 30px;
    }
    .branch-card h3 {
        font-size: 1.8rem;
    }
}
