/* ==========================================================================
   PRISTINE DENTAL CARE CLINIC - PREMIUM STYLING SHEET
   Theme: Luxury Monochrome (Black & White)
   Typography: D-DIN (Headings) & HvDTrial Brandon Grotesque (Body)
   ========================================================================== */

/* Font Imports */
@import url('https://fonts.cdnfonts.com/css/d-din');
@import url('https://fonts.cdnfonts.com/css/hvdtrial-brandon-grotesque');
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700;800&display=swap');

/* Design Tokens & Variables */
:root {
    --color-black: #091026;      /* Deep Navy Black */
    --color-dark: #0B2545;       /* Rich Sapphire Navy Blue */
    --color-gray-dark: #134074;  /* Deep Slate/Diamond Blue */
    --color-gray-medium: #0077B6;/* Bright Diamond Blue Accent */
    --color-gray-light: #EEF4F8; /* Soft Ice Blue Border */
    --color-offwhite: #F4F8FA;   /* Premium Clinical Ice White Canvas */
    --color-white: #ffffff;
    --color-primary: #0077B6;    /* Primary Sky Blue Highlight */
    --color-primary-gradient: linear-gradient(135deg, #0077B6 0%, #00B4D8 100%);
    --color-primary-gradient-hover: linear-gradient(135deg, #0088CC 0%, #00C6FF 100%);
    
    --font-heading: 'D-DIN', sans-serif;
    --font-body: 'HvDTrial Brandon Grotesque', sans-serif;
    --font-reviews: 'Montserrat', sans-serif; /* matches screenshot text font */
    
    --transition-smooth: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-fast: all 0.2s ease;
    
    --shadow-soft: 0 15px 35px rgba(0, 0, 0, 0.05);
    --shadow-hover: 0 25px 50px rgba(0, 0, 0, 0.1);
    --shadow-input: inset 0 2px 4px rgba(0,0,0,0.02);
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

a {
    text-decoration: none !important;
    color: inherit;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    background-color: var(--color-offwhite);
    color: var(--color-dark);
}

body {
    font-family: var(--font-body);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

/* Container Utilities */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

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

/* Premium Typography Rules */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-black);
}

p {
    font-size: 1.125rem;
    font-weight: 400;
    color: var(--color-gray-medium);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 99999 !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    background-color: rgba(13, 13, 13, 0.95);
    backdrop-filter: blur(10px);
    transition: var(--transition-smooth);
    padding: 0.8rem 0;
}

.navbar.scrolled {
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-soft);
}

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

.logo-block {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start; /* Align logo to the left corner */
    justify-content: center;
    text-decoration: none;
    transition: var(--transition-smooth);
}

.navbar.scrolled .logo-block {
    margin-top: 0;
    margin-bottom: 0;
    padding: 0;
}

.logo-script {
    font-family: 'Great Vibes', cursive;
    font-size: 1.95rem;
    color: #0077B6; /* Elegant gold unscrolled */
    line-height: 1.05;
    font-weight: 400;
    letter-spacing: 0.01em;
    transition: var(--transition-fast);
}

.navbar.scrolled .logo-script {
    color: #121212; /* Dark black on scrolled */
}

.logo-subtitle {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.65rem;
    color: #ffffff; /* White unscrolled */
    letter-spacing: 0.15em;
    margin-top: 0.15rem;
    text-transform: uppercase;
    line-height: 1;
    transition: var(--transition-fast);
}

.navbar.scrolled .logo-subtitle {
    color: #666666; /* Gray on scrolled */
}

.nav-links {
    flex: 2; /* Centering ratio */
    display: flex;
    justify-content: center; /* Center links horizontally */
    align-items: center;
    gap: 2.5rem;
    list-style: none;
}

.nav-cta {
    flex: 1; /* Match logo ratio to balance centering */
    display: flex;
    justify-content: flex-end; /* Align CTA button to the right corner */
    align-items: center;
}

.mobile-only-btn {
    display: none; /* Hidden on desktop */
}

.nav-link {
    text-decoration: none;
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition-fast);
    position: relative;
    padding: 0.5rem 0;
}

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

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

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

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

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

.navbar.scrolled .nav-link::after {
    background-color: var(--color-black);
}

.btn-book-nav {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    background: var(--color-primary-gradient) !important;
    color: var(--color-white) !important;
    border: none !important;
    padding: 0.7rem 1.8rem;
    border-radius: 50px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    transition: var(--transition-smooth);
    text-decoration: none !important;
}

.btn-book-nav i {
    width: 16px;
    height: 16px;
    stroke-width: 2px;
    margin-bottom: 2px; /* optical alignment */
}

.btn-book-nav:hover {
    background: var(--color-primary-gradient-hover) !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 119, 182, 0.35);
    text-decoration: none !important;
}

.btn-book-nav:hover::after {
    display: none;
}

.navbar.scrolled .btn-book-nav {
    background: var(--color-primary-gradient) !important;
    color: var(--color-white) !important;
    border: none;
}

.navbar.scrolled .btn-book-nav:hover {
    background: var(--color-primary-gradient-hover) !important;
    color: var(--color-white) !important;
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--color-white);
    font-size: 1.5rem;
    transition: var(--transition-fast);
}

.navbar.scrolled .menu-toggle {
    color: var(--color-black);
}

.menu-toggle.active {
    color: #ffffff !important;
}

.menu-toggle .close-icon {
    display: none;
}

.menu-toggle.active .menu-icon {
    display: none;
}

.menu-toggle.active .close-icon {
    display: block;
}

/* Hero Section */
/* Hero Section */
.hero-section {
    position: relative;
    height: 92vh; /* Increased container height for a grander look */
    min-height: 550px;
    background-color: var(--color-dark);
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: var(--color-white);
    padding-top: 80px;
    overflow: hidden; /* Prevent background video overflow */
}

/* Hero Section Overlay and Content ordering for video backgrounds */
.hero-section .hero-overlay {
    display: none; /* Completely remove the dark black overlay */
}

.hero-section .hero-content {
    position: relative;
    z-index: 3;
}

/* Clear, sharp, full-color background video with no filters (scaled up to cover rounding gaps) */
.hero-section .header-video-bg {
    filter: none !important;
    height: 108% !important;
    top: -4% !important;
    transform: scale(1.05) !important;
    pointer-events: none; /* Disable mouse/pointer interactions, preventing manual pause/controls */
}

/* Text shadow shader to ensure maximum readability over the colored video */
.hero-section .hero-title,
.hero-section .hero-subtitle,
.hero-section .hero-description {
    text-shadow: 0 3px 12px rgba(0, 0, 0, 0.85), 0 1px 3px rgba(0, 0, 0, 0.5);
}

/* Page Header for Inner Subpages */
.page-header {
    position: relative;
    height: 45vh;
    min-height: 350px;
    background-color: var(--color-dark);
    background-image: linear-gradient(rgba(0,0,0,0.65), rgba(0,0,0,0.75)), url('assets/dental clinic near me.avif');
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: var(--color-white);
    padding-top: 80px;
}

.before-after-hero,
.testimonials-hero {
    height: 100vh;
    min-height: 650px;
}

.hero-content {
    max-width: 800px;
    padding: 0 2rem;
    z-index: 2;
}

.hero-title {
    font-size: 4rem;
    line-height: 1.1;
    color: var(--color-white);
    margin-bottom: 0.5rem;
}

.hero-subtitle {
    font-size: 2.2rem;
    font-weight: 400;
    letter-spacing: 0.15em;
    color: var(--color-white);
    margin-bottom: 2rem;
    border-bottom: 1.5px solid rgba(255, 255, 255, 0.2);
    display: inline-block;
    padding-bottom: 0.5rem;
}

.hero-description {
    font-size: 1.25rem;
    color: var(--color-gray-light);
    max-width: 600px;
    margin: 0 auto;
    font-weight: 300;
}

/* Animations */
.animate-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Booking Section & Floating Card */
.booking-section {
    position: relative;
    z-index: 10;
    margin-top: -100px; /* Overlaps Hero */
    padding-bottom: 5rem;
}

.booking-container {
    max-width: 1150px; /* 15% increase in width */
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Split Booking Card Layout */
.booking-card-split {
    display: grid;
    grid-template-columns: 36% 64%;
    background-color: var(--color-white);
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.12), 0 10px 20px rgba(0, 0, 0, 0.05); /* Deep premium shadow */
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 24px;
    overflow: hidden;
}

/* Left Pane: Info & Branding */
.booking-info-pane {
    background-color: var(--color-dark);
    padding: 2rem 2rem;
    color: var(--color-white);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.booking-badge {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    color: #0077B6; /* Gold */
    margin-bottom: 0.25rem;
    display: block;
}

.booking-pane-title {
    font-size: 2rem;
    color: var(--color-white);
    margin-bottom: 0.2rem;
    line-height: 1.1;
}

.booking-pane-subtitle {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    color: #0077B6;
    margin-bottom: 0.75rem;
}

.booking-pane-desc {
    font-size: 0.95rem;
    color: var(--color-gray-light);
    line-height: 1.5;
    margin-bottom: 1rem;
    font-weight: 300;
}

.clinic-details-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.detail-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.detail-icon {
    width: 20px;
    height: 20px;
    color: #0077B6;
    margin-top: 2px;
}

.detail-item h5 {
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    color: var(--color-white);
    margin-bottom: 0.2rem;
}

.detail-item p {
    font-size: 0.9rem;
    color: #cccccc;
}

/* Right Pane: Form Inputs */
.booking-form-pane {
    padding: 2rem 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.booking-form-title {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--color-black);
    position: relative;
}

.booking-form-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: var(--color-black);
}

.booking-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* Form Row side-by-side elements */
.form-row-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.1rem;
}

/* Interactive Time Grid Selector */
.time-slots-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(105px, 1fr));
    gap: 8px;
    margin-top: 0.75rem;
    max-height: 220px;
    overflow-y: auto;
    padding: 6px;
    border: 1px solid var(--color-gray-light);
    border-radius: 8px;
    background-color: var(--color-offwhite);
}

.time-slot-btn {
    background-color: var(--color-white);
    border: 1px solid var(--color-gray-light);
    border-radius: 6px;
    padding: 9px 8px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--color-gray-dark);
    text-align: center;
    cursor: pointer;
    transition: var(--transition-fast);
}

.time-slot-btn:hover:not(:disabled) {
    border-color: var(--color-black);
    background-color: var(--color-offwhite);
}

.time-slot-btn.selected {
    background-color: #0077B6; /* Gold brand background */
    border-color: #0077B6;
    color: var(--color-white);
}

.time-slot-btn:disabled {
    background-color: #f2f2f2;
    border-color: #e5e5e5;
    color: #b5b5b5; /* Greyed out */
    cursor: not-allowed;
    text-decoration: line-through;
}

/* Clickable trigger styling to look like select dropdown */
.time-select-trigger-btn {
    width: 100%;
    padding: 0.7rem 1.1rem;
    border: 1px solid #c0c0c0;
    border-radius: 8px;
    background-color: #f5f5f5;
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--color-dark);
    outline: none;
    transition: var(--transition-fast);
    box-shadow: var(--shadow-input);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.time-select-trigger-btn:hover {
    border-color: var(--color-black);
    background-color: var(--color-white);
}

.time-chevron-icon {
    width: 16px;
    height: 16px;
    color: var(--color-gray-medium);
    pointer-events: none;
}

/* Time Slot Modal Layout & Grid Styling */
.time-slot-modal-content {
    max-width: 600px;
    width: 90%;
    padding: 2.5rem;
    border-radius: 16px;
    border: none;
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.25);
    background-color: var(--color-white);
}

.time-slots-grid-popup {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    max-height: 320px;
    overflow-y: auto;
    padding: 8px;
    border: 1px solid var(--color-gray-light);
    border-radius: 8px;
    background-color: var(--color-offwhite);
}

@media (max-width: 576px) {
    .time-slots-grid-popup {
        grid-template-columns: repeat(2, 1fr);
        max-height: 250px;
    }
}

.btn-confirm-slot {
    background-color: var(--color-black);
    color: var(--color-white);
    border: 1px solid var(--color-black);
    padding: 0.8rem 2rem;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 0.1em;
    cursor: pointer;
    transition: var(--transition-fast);
    border-radius: 6px;
}

.btn-confirm-slot:hover {
    background-color: #0077B6;
    border-color: #0077B6;
}

/* Premium Confirm Button */
.btn-book-submit-premium {
    background-color: var(--color-black);
    color: var(--color-white);
    border: 1px solid var(--color-black);
    padding: 1.1rem 2rem;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 0.1em;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    transition: var(--transition-smooth);
    border-radius: 8px;
    margin-top: 1.5rem;
    width: 100%;
}

.btn-book-submit-premium i {
    width: 18px;
    height: 18px;
    transition: var(--transition-smooth);
}

.btn-book-submit-premium:hover {
    background-color: var(--color-primary); /* Golden beige on hover */
    border-color: var(--color-primary);
    color: var(--color-white);
}

.btn-book-submit-premium:hover i {
    transform: translateX(5px);
}

/* Logo Image Styling */
.logo-image {
    height: 54px;
    width: auto;
    transition: var(--transition-smooth);
    object-fit: contain;
    filter: brightness(0) invert(1) !important; /* Force logo to be white on dark header */
}

@media (max-width: 768px) {
    .logo-image {
        height: 40px;
    }
}

.navbar.scrolled .logo-image {
    height: 42px;
    filter: brightness(0) !important; /* Force logo to be black on white scrolled header */
}

@media (max-width: 768px) {
    .navbar.scrolled .logo-image {
        height: 32px;
        filter: brightness(0) !important; /* Force logo to be black on mobile white scrolled header */
    }
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.4rem; /* Reduced to 70% height spacing */
}

.form-label {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--color-gray-medium);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.form-label i {
    width: 14px;
    height: 14px;
}

.booking-form input[type="date"],
.booking-form input[type="text"],
.booking-form input[type="tel"],
.booking-form select {
    width: 100%;
    padding: 0.7rem 1.1rem; /* Proportional 70% height padding */
    border: 1px solid #c0c0c0;
    border-radius: 8px; /* Rounded fields */
    background-color: #f5f5f5;
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--color-dark);
    outline: none;
    transition: var(--transition-fast);
    box-shadow: var(--shadow-input);
    -webkit-appearance: none;
}

.booking-form input[type="date"]:focus,
.booking-form input[type="text"]:focus,
.booking-form input[type="tel"]:focus,
.booking-form select:focus {
    border-color: var(--color-black);
    background-color: var(--color-white);
}

/* Custom Select Dropdown Styling */
.custom-select-wrapper {
    position: relative;
}

.custom-select-wrapper::after {
    content: '▼';
    font-size: 0.7rem;
    color: var(--color-gray-medium);
    position: absolute;
    right: 1.25rem;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
}

/* Phone Input Group with Country Code (Unified single field) */
.phone-input-group {
    display: flex;
    align-items: center;
    width: 100%;
    border: 1px solid #c0c0c0;
    border-radius: 8px;
    background-color: #f5f5f5;
    box-shadow: var(--shadow-input);
    transition: var(--transition-fast);
}

.phone-input-group:focus-within {
    border-color: var(--color-black);
    background-color: var(--color-white);
}

.country-code-select {
    width: 82px !important;
    flex-shrink: 0;
    border: none !important;
    border-right: 1px solid #c0c0c0 !important;
    border-radius: 8px 0 0 8px !important;
    background-color: transparent !important;
    padding: 0.7rem 0.5rem !important;
    font-weight: 700;
    font-family: var(--font-body);
    color: var(--color-dark);
    outline: none;
    cursor: pointer;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23888' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 6px center;
    background-size: 11px;
    padding-right: 16px !important;
    box-shadow: none !important;
}

.phone-number-field {
    flex-grow: 1;
    width: 100% !important;
    min-width: 0;
    border: none !important;
    border-radius: 0 8px 8px 0 !important;
    background-color: transparent !important;
    padding: 0.7rem 1rem !important;
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--color-dark);
    outline: none;
    box-shadow: none !important;
}

/* Booking Grid Alignment Tweaks */
.phone-grid-group {
    margin-bottom: 0;
}

.grid-spacer {
    display: block;
}

.button-grid-group {
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
    height: 100%;
}

/* Custom Checkbox Toggle */
.sms-toggle {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    user-select: none;
}

.sms-toggle input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.sms-slider {
    position: relative;
    display: inline-block;
    width: 44px;
    height: 24px;
    background-color: var(--color-gray-light);
    transition: .4s;
    border: 1px solid var(--color-gray-light);
}

.sms-slider:before {
    position: absolute;
    content: "";
    height: 16px;
    width: 16px;
    left: 3px;
    bottom: 3px;
    background-color: var(--color-white);
    transition: .4s;
}

.sms-toggle input:checked + .sms-slider {
    background-color: var(--color-black);
    border-color: var(--color-black);
}

.sms-toggle input:checked + .sms-slider:before {
    transform: translateX(20px);
}

.sms-label {
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--color-gray-dark);
}

/* Booking Submit Button */
.btn-book-submit {
    background-color: var(--color-black);
    color: var(--color-white);
    border: 1px solid var(--color-black);
    padding: 1.2rem 3rem;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.05rem;
    letter-spacing: 0.1em;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    transition: var(--transition-smooth);
    border-radius: 8px; /* Rounded corners */
}

.btn-book-submit i {
    width: 18px;
    height: 18px;
    transition: var(--transition-smooth);
}

.btn-book-submit:hover {
    background-color: var(--color-white);
    color: var(--color-black);
}

.btn-book-submit:hover i {
    transform: translateX(5px);
}

/* Experience / The Craft Section */
.experience-section {
    padding: 6rem 0;
    background-color: var(--color-white);
}

.section-title {
    font-size: 2.2rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--color-black);
}

.section-subtitle {
    max-width: 700px;
    margin: 0 auto 4rem auto;
    font-size: 1.15rem;
    line-height: 1.7;
    font-weight: 300;
}

.experience-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
}

.experience-col {
    padding: 1rem 0;
}

.experience-focus-title {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.75rem;
}

.experience-focus-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 1px;
    background-color: var(--color-black);
}

.experience-text {
    font-size: 1.05rem;
    line-height: 1.7;
    text-align: justify;
}

/* Before / After Transformation Slider */
.slider-section {
    padding: 6rem 0;
    background-color: var(--color-offwhite);
    border-top: 1px solid var(--color-gray-light);
    border-bottom: 1px solid var(--color-gray-light);
}

.slider-wrapper {
    max-width: 900px;
    margin: 0 auto;
}

.comparison-slider {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(0, 0, 0, 0.1);
    --position: 50%;
}

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

.image-before {
    z-index: 1;
}

.image-after-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    clip-path: polygon(0 0, var(--position) 0, var(--position) 100%, 0 100%);
}

.slider-handle {
    position: absolute;
    top: 0;
    bottom: 0;
    left: var(--position);
    transform: translateX(-50%);
    width: 4px;
    background-color: var(--color-white);
    z-index: 3;
    pointer-events: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.handle-line {
    flex-grow: 1;
    width: 2px;
    background-color: var(--color-white);
    box-shadow: 0 0 10px rgba(0,0,0,0.3);
}

.handle-button {
    background-color: var(--color-white);
    color: var(--color-black);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
    border: 2px solid var(--color-black);
    cursor: ew-resize;
    pointer-events: auto;
    transition: var(--transition-fast);
}

.handle-button:hover {
    transform: scale(1.1);
    background-color: var(--color-black);
    color: var(--color-white);
    border-color: var(--color-white);
}

.handle-button i {
    width: 18px;
    height: 18px;
}

.slider-label {
    position: absolute;
    bottom: 20px;
    padding: 0.5rem 1rem;
    font-family: var(--font-heading);
    font-size: 0.85rem;
    letter-spacing: 0.1em;
    font-weight: 700;
    color: var(--color-white);
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    z-index: 4;
    pointer-events: none;
}

.label-before {
    right: 20px;
}

.label-after {
    left: 20px;
}

/* Services Section */
.services-section {
    padding: 6rem 0;
    background-color: var(--color-white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
}

.service-card {
    background-color: var(--color-offwhite);
    border: 1px solid var(--color-gray-light);
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: var(--transition-smooth);
}

.service-card:hover {
    transform: translateY(-5px);
    border-color: var(--color-black);
    box-shadow: var(--shadow-soft);
}

.service-image-container {
    position: relative;
    width: 100%;
    aspect-ratio: 4/3;
    overflow: hidden;
    background-color: var(--color-gray-light);
    border-bottom: 1px solid var(--color-gray-light);
}

.service-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.service-card:hover .service-image {
    transform: scale(1.05);
    filter: grayscale(0%) contrast(1);
}

.service-content {
    padding: 2.5rem 2rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex-grow: 1;
    gap: 2rem;
}

.service-desc {
    font-size: 1.05rem;
    line-height: 1.6;
    color: var(--color-gray-dark);
}

.btn-service-cta {
    display: block;
    text-align: center;
    border: 1px solid var(--color-black);
    background-color: var(--color-white);
    color: var(--color-black);
    text-decoration: none;
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: 0.1em;
    font-size: 0.95rem;
    padding: 1rem 0;
    transition: var(--transition-smooth);
}

.btn-service-cta:hover {
    background-color: var(--color-black);
    color: var(--color-white);
}

/* About Doctor Section */
.about-doctor-section {
    padding: 6rem 0;
    background-color: var(--color-offwhite);
    border-top: 1px solid var(--color-gray-light);
    border-bottom: 1px solid var(--color-gray-light);
}

.about-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    align-items: center;
}

.badge-about {
    display: inline-block;
    background-color: var(--color-black);
    color: var(--color-white);
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    padding: 0.4rem 1.2rem;
    margin-bottom: 1.5rem;
}

.about-name {
    font-size: 2.8rem;
    line-height: 1.1;
    margin-bottom: 0.5rem;
}

.about-qualifications {
    font-size: 1.05rem;
    font-weight: 400;
    color: var(--color-gray-medium);
    margin-bottom: 2rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.qualification-divider {
    color: var(--color-gray-light);
}

.about-bio-lead {
    font-size: 1.15rem;
    font-weight: 500;
    line-height: 1.7;
    color: var(--color-dark);
    margin-bottom: 1.5rem;
}

.about-bio-text {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--color-gray-medium);
    margin-bottom: 2.5rem;
}

.about-actions {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.btn-about-book {
    background-color: var(--color-black);
    color: var(--color-white);
    border: 1px solid var(--color-black);
    padding: 1rem 2rem;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 0.1em;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition-smooth);
}

.btn-about-book:hover {
    background-color: var(--color-white);
    color: var(--color-black);
}

.btn-about-book i {
    width: 16px;
    height: 16px;
    transition: var(--transition-smooth);
}

.btn-about-book:hover i {
    transform: translateX(3px);
}

.btn-about-more {
    background-color: transparent;
    color: var(--color-black);
    border: 1px solid var(--color-black);
    padding: 1rem 2.2rem;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 0.1em;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    transition: var(--transition-smooth);
}

.btn-about-more:hover {
    background-color: var(--color-black);
    color: var(--color-white);
}

.about-image-wrapper {
    position: relative;
    padding: 0.75rem;
    background-color: var(--color-white);
    border: 1px solid var(--color-gray-light);
    box-shadow: var(--shadow-soft);
}

.about-photo {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    filter: grayscale(100%);
    transition: var(--transition-smooth);
}

.about-image-wrapper:hover .about-photo {
    filter: grayscale(0%);
}

.experience-badge {
    position: absolute;
    bottom: -15px;
    right: -15px;
    background-color: var(--color-black);
    color: var(--color-white);
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    border: 2px solid var(--color-white);
    box-shadow: var(--shadow-hover);
}

.badge-icon-box {
    display: flex;
    align-items: center;
    justify-content: center;
}

.badge-icon-box i {
    width: 24px;
    height: 24px;
    color: var(--color-white);
}

.badge-text-box {
    display: flex;
    flex-direction: column;
}

.badge-number {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    line-height: 1;
}

.badge-label {
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 400;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--color-gray-light);
}

/* ============================================================
   ORTHOSQUARE STYLE GLASSMORPHIC PATIENT TESTIMONIALS SECTION
   ============================================================ */
.reviews-section {
    position: relative;
    padding: 85px 0 80px;
    background: linear-gradient(180deg, rgba(239, 246, 255, 0.88) 0%, rgba(224, 242, 254, 0.92) 100%), url('assets/clinic_interior_bg.jpg') center/cover no-repeat fixed;
    overflow: hidden;
    font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    width: 100%;
}

.reviews-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 45px;
    position: relative;
    z-index: 2;
}

/* Top Header Glass Capsule */
.reviews-top-capsule {
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: 50px;
    padding: 12px 36px;
    width: fit-content;
    max-width: 480px;
    margin: 0 auto 24px;
    box-shadow: 0 10px 30px rgba(0, 51, 102, 0.08);
}

.reviews-capsule-title {
    font-family: 'D-DIN', sans-serif;
    font-size: clamp(20px, 2.2vw, 32px);
    font-weight: 800;
    color: #003366;
    margin: 0;
    letter-spacing: -0.01em;
}

/* Google Rating Strip (Full Width Pill Bar) */
.google-rating-strip {
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: 50px;
    padding: 12px 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 30px;
    box-shadow: 0 10px 25px rgba(0, 51, 102, 0.06);
}

.grs-left {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.grs-verdict {
    font-size: 0.9rem;
    font-weight: 700;
    color: #003366;
    margin-left: 4px;
}

.grs-stars {
    color: #FFB400;
    font-size: 1.1rem;
    letter-spacing: 2px;
}

.grs-score {
    font-size: 0.9rem;
    font-weight: 700;
    color: #003366;
}

.btn-write-review {
    background: #00407A;
    color: #ffffff !important;
    border-radius: 30px;
    padding: 10px 24px;
    font-family: 'D-DIN', sans-serif;
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 0.03em;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    box-shadow: 0 4px 14px rgba(0, 64, 122, 0.25);
}

.btn-write-review:hover {
    background: #002B52;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 64, 122, 0.35);
}

/* Slider Track & Cards */
.reviews-carousel-wrapper {
    position: relative;
    width: 100%;
}

.reviews-carousel-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: #ffffff;
    color: #003366;
    border: 1px solid rgba(0, 51, 102, 0.15);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
    transition: all 0.3s ease;
    z-index: 10;
}

.reviews-carousel-control:hover {
    background: #003366;
    color: #ffffff;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 12px 28px rgba(0, 51, 102, 0.25);
}

.reviews-carousel-control.prev-btn {
    left: 0;
}

.reviews-carousel-control.next-btn {
    right: 0;
}

.reviews-carousel-track-container {
    overflow: hidden;
    width: 100%;
    padding: 10px 0;
}

.reviews-carousel-track {
    display: flex;
    gap: 20px;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform;
}

.review-card {
    flex: 0 0 calc(25% - 15px);
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.7) !important;
    border-radius: 20px;
    padding: 20px 18px;
    box-shadow: 0 10px 30px rgba(0, 51, 102, 0.06) !important;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-sizing: border-box;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    min-height: 240px;
}

.review-card:hover {
    transform: translateY(-5px);
    background: #ffffff;
    border-color: #0077B6 !important;
    box-shadow: 0 18px 45px rgba(0, 119, 182, 0.14) !important;
}

.review-card .card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
    position: relative;
}

.avatar-box {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'D-DIN', sans-serif;
    font-weight: 800;
    font-size: 1rem;
    color: #ffffff;
    flex-shrink: 0;
}

.user-meta {
    flex: 1;
    min-width: 0;
}

.user-name {
    font-family: 'Manrope', sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    color: #003366;
    margin: 0 0 2px 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.review-time {
    font-size: 0.75rem;
    color: #64748B;
    font-weight: 500;
}

.card-google-icon {
    flex-shrink: 0;
}

.card-rating {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-bottom: 10px;
}

.review-text {
    font-size: 0.82rem;
    line-height: 1.5;
    color: #1E293B;
    font-weight: 500;
    margin-bottom: 12px;
    font-family: 'Manrope', sans-serif;
}

.review-text mark,
.review-text .highlight-text {
    background: #FEF08A;
    color: #0F172A;
    padding: 1px 3px;
    border-radius: 3px;
}

.btn-read-more {
    font-size: 0.76rem;
    color: #94A3B8;
    font-weight: 600;
    text-decoration: none;
    margin-top: auto;
}

.btn-read-more:hover {
    color: #003366;
}

@media (max-width: 1200px) {
    .review-card {
        flex: 0 0 calc(33.333% - 14px);
    }
}

@media (max-width: 850px) {
    .review-card {
        flex: 0 0 calc(50% - 10px);
    }
    .google-rating-strip {
        flex-direction: column;
        gap: 16px;
        border-radius: 24px;
    }
}

@media (max-width: 550px) {
    .review-card {
        flex: 0 0 100%;
    }
}

.review-card:hover {
  transform: translateY(-5px);
  border-color: #0077B6 !important;
  box-shadow: 0 25px 60px rgba(0, 119, 182, 0.15) !important;
}

.review-card .card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.avatar-box {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'D-DIN', sans-serif;
  font-weight: 800;
  font-size: 1.1rem;
  color: #ffffff;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.user-meta {
  flex: 1;
}

.user-name {
  font-family: 'D-DIN', sans-serif;
  font-size: 1.05rem;
  font-weight: 800;
  color: #091026;
  margin: 0 0 2px 0;
  text-transform: uppercase;
}

.review-time {
  font-size: 0.76rem;
  color: #64748B;
  font-weight: 500;
}

.card-rating {
  display: flex;
  align-items: center;
  margin-bottom: 12px;
}

.review-text {
  font-size: 0.88rem;
  line-height: 1.6;
  color: #334155;
  font-weight: 500;
  margin-bottom: 14px;
  font-family: 'Manrope', sans-serif;
}

.btn-read-more {
  display: inline-block;
  font-family: 'D-DIN', sans-serif;
  font-size: 0.78rem;
  font-weight: 800;
  color: #0077B6;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-decoration: none;
  transition: color 0.2s ease;
  margin-top: auto;
}

.btn-read-more:hover {
  color: #091026;
}

@media (max-width: 1024px) {
  .reviews-layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .reviews-summary-col {
    max-width: 100%;
  }
  .review-card {
    flex: 0 0 100%;
  }
}

.review-card:hover {
    transform: translateY(-4px);
    background-color: #d0ebff; /* subtle hover background shift (beige-gold tone) */
    border-color: #a1d5f7 !important; /* slightly darker border on hover */
    box-shadow: 0 12px 30px rgba(114, 92, 58, 0.05) !important; /* beautiful gold-beige soft shadow */
}

.review-card .card-header {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    margin-bottom: 0.75rem; /* reduced spacing */
    position: relative;
}

.avatar-box {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-reviews);
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--color-white);
    flex-shrink: 0;
}

.avatar-n { background-color: #5e6cbd; } /* Purple/Indigo */
.avatar-p { background-color: #0288d1; } /* Blue */

.avatar-image-1 {
    background-image: url('assets/nicole_avatar.png') !important;
    background-size: cover;
    background-position: center;
    background-color: var(--color-gray-light);
}

.user-meta {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.user-name {
    font-family: var(--font-reviews);
    font-size: 1rem; /* explicit size matching reference */
    font-weight: 700;
    color: #0f172a;
    letter-spacing: 0.01em;
    margin: 0;
    line-height: 1.2;
}

.review-time {
    font-size: 0.8rem; /* increased review time font size */
    color: #64748b;
}

.card-google-icon {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    margin-left: auto;
    align-self: flex-start;
    margin-top: 2px;
}

.card-rating {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    margin-bottom: 0.75rem; /* reduced spacing */
}

.stars-row-small {
    display: flex;
    gap: 0.1rem;
}

.stars-row-small i.star-small-filled,
.stars-row-small svg.star-small-filled {
    width: 14px;
    height: 14px;
}

.verified-badge {
    display: inline-block;
    flex-shrink: 0;
    vertical-align: middle;
}

.review-text {
    font-size: 0.9rem; /* matching the smaller, crisper text in reference */
    line-height: 1.5; /* tighter spacing matching reference */
    color: #1e293b; /* darker color like reference */
    margin-bottom: 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    min-height: 5.5rem; /* adjusted for smaller font */
    transition: all 0.3s ease;
    cursor: pointer; /* make entire text block clickable to expand */
}

.review-text.expanded {
    display: block !important;
    -webkit-line-clamp: unset !important; /* remove line clamp when expanded */
    overflow-y: auto !important;
    max-height: 150px;
    padding-right: 6px;
}

.review-text.expanded::-webkit-scrollbar {
    width: 4px;
}

.review-text.expanded::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 2px;
}

.review-text.expanded::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 2px;
}

.review-text.expanded::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

.btn-read-more {
    text-decoration: none;
    font-family: var(--font-reviews);
    font-weight: 600; /* semi-bold */
    font-size: 0.85rem;
    color: #64748b; /* soft grey matching screenshot */
    display: inline-block;
    transition: color 0.2s ease;
    align-self: flex-start;
    margin-top: 0.25rem; /* tighter spacing matching reference */
}

.btn-read-more:hover {
    color: #1877f2; /* soft checkmark blue matching hover behavior */
    opacity: 1;
}

/* Footer Styling */
.footer {
    background-color: var(--color-black);
    color: var(--color-gray-medium);
    padding: 5rem 0 3rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr 1.5fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-col.brand {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.footer-tagline {
    font-size: 1rem;
    color: var(--color-gray-medium);
    max-width: 250px;
}

.footer-title {
    font-size: 1rem;
    color: var(--color-white);
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
    display: inline-block;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 20px;
    height: 1px;
    background-color: var(--color-white);
}

.footer-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-col ul a {
    text-decoration: none;
    color: var(--color-gray-medium);
    font-size: 0.95rem;
    transition: var(--transition-fast);
}

.footer-col ul a:hover {
    color: var(--color-white);
}

.footer-col p {
    font-size: 0.95rem;
    color: var(--color-gray-medium);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.footer-icon {
    width: 16px;
    height: 16px;
    color: var(--color-white);
}

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

/* Modal Styling */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(5px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition-smooth);
}

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

.modal-content {
    background-color: var(--color-white);
    width: 100%;
    max-width: 500px;
    padding: 3rem;
    position: relative;
    border: 1px solid var(--color-black);
    transform: translateY(20px);
    transition: var(--transition-smooth);
}

.modal.active .modal-content {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    font-size: 1.8rem;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--color-gray-medium);
    transition: var(--transition-fast);
}

.modal-close:hover {
    color: var(--color-black);
}

.modal-header {
    text-align: center;
    margin-bottom: 2rem;
}

.modal-success-icon {
    width: 48px;
    height: 48px;
    color: var(--color-black);
    margin-bottom: 1rem;
}

.modal-title {
    font-size: 1.4rem;
    color: var(--color-black);
}

.modal-body {
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--color-gray-dark);
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

.modal-details {
    background-color: var(--color-offwhite);
    padding: 1.5rem;
    border: 1px solid var(--color-gray-light);
    margin: 1.5rem 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.modal-details p {
    font-size: 0.95rem;
    color: var(--color-black);
}

.modal-details p strong {
    font-family: var(--font-heading);
    letter-spacing: 0.05em;
}

.modal-note {
    font-size: 0.9rem;
    color: var(--color-gray-medium);
}

.btn-modal-close {
    width: 100%;
    background-color: var(--color-black);
    color: var(--color-white);
    border: 1px solid var(--color-black);
    padding: 1rem 0;
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: 0.1em;
    cursor: pointer;
    transition: var(--transition-smooth);
    border-radius: 0;
}

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

/* Cases Selection Tabs (For Before/After Slider) */
.cases-tabs-container {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 1.5rem;
}

.case-tab-btn {
    background: transparent;
    border: 1px solid var(--color-gray-light);
    color: var(--color-gray-medium);
    padding: 0.6rem 1.8rem;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    cursor: pointer;
    transition: var(--transition-fast);
    border-radius: 0;
}

.case-tab-btn:hover {
    border-color: var(--color-black);
    color: var(--color-black);
}

.case-tab-btn.active {
    background-color: var(--color-black);
    color: var(--color-white);
    border-color: var(--color-black);
}

/* Signature Treatments Section */
.signature-treatments-section {
    padding: 6rem 0;
    background-color: #121212; /* Solid dark background */
    color: var(--color-white);
}

.text-gold {
    color: #0077B6 !important;
}

.text-gold-light {
    color: #F4F8FA !important;
}

.white-text {
    color: #c0c0c0 !important;
}

.light-text {
    color: #dddddd !important;
}

.signature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    margin-top: 3.5rem;
}

.signature-card {
    background-color: #1c1c1c;
    border: 1px solid #2e2e2e;
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: var(--transition-smooth);
}

.signature-card:hover {
    transform: translateY(-5px);
    border-color: #0077B6;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.5);
}

.signature-image-container {
    width: 100%;
    aspect-ratio: 16/9;
    overflow: hidden;
    background-color: #252525;
    border-bottom: 1px solid #2e2e2e;
}

.signature-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%);
    transition: var(--transition-smooth);
}

.signature-card:hover .signature-image {
    transform: scale(1.05);
    filter: grayscale(0%);
}

.signature-card-content {
    padding: 2.5rem 2rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex-grow: 1;
    gap: 1.5rem;
}

.signature-card-title {
    font-size: 1.35rem;
    color: var(--color-white);
}

.signature-card-desc {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #a0a0a0;
}

.btn-watch-cases {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    border: 1px solid var(--color-white);
    background-color: var(--color-white);
    color: var(--color-black);
    text-decoration: none;
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: 0.1em;
    font-size: 0.9rem;
    padding: 0.9rem 0;
    width: 100%;
    transition: var(--transition-smooth);
    border-radius: 0;
}

.btn-watch-cases i {
    width: 18px;
    height: 18px;
}

.btn-watch-cases:hover {
    background-color: transparent;
    color: var(--color-white);
    border-color: var(--color-white);
}

/* Some Transformed Smiles Section */
.transformed-smiles-section {
    position: relative;
    padding: 8rem 0;
    background-image: url('assets/smiles_collage.jpg');
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
    color: var(--color-white);
    overflow: hidden;
}

.collage-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(10, 10, 10, 0.88);
    z-index: 1;
}

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

.transformed-content-container {
    display: flex;
    justify-content: center;
    margin-top: 4rem;
}

.video-testimonial-card {
    position: relative;
    width: 100%;
    max-width: 650px;
    border: 4px solid var(--color-white);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
    overflow: hidden;
    cursor: pointer;
}

.video-thumbnail {
    width: 100%;
    height: auto;
    display: block;
    filter: grayscale(20%);
    transition: var(--transition-smooth);
}

.video-testimonial-card:hover .video-thumbnail {
    transform: scale(1.02);
    filter: grayscale(0%);
}

.video-overlay-btn {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(0, 0, 0, 0.15);
    transition: var(--transition-fast);
}

.video-testimonial-card:hover .video-overlay-btn {
    background-color: rgba(0, 0, 0, 0.3);
}

.play-btn-circle {
    width: 76px;
    height: 76px;
    background-color: rgba(255, 255, 255, 0.95);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: var(--transition-smooth);
    border: 2px solid var(--color-white);
}

.play-btn-circle i {
    width: 24px;
    height: 24px;
    color: var(--color-black);
    margin-left: 4px; /* Centering offset for play icon */
}

.video-testimonial-card:hover .play-btn-circle {
    transform: scale(1.1);
    background-color: #0077B6;
}

.video-testimonial-card:hover .play-btn-circle i {
    color: var(--color-white);
}

.video-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.85));
    padding: 2rem 1.5rem 1.5rem 1.5rem;
    color: var(--color-white);
}

.video-patient-name {
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
    text-transform: none;
    letter-spacing: 0.02em;
    color: var(--color-white);
}

.video-patient-duration {
    font-size: 0.8rem;
    font-family: var(--font-body);
    color: #cccccc;
}

.btn-transformed-more {
    background-color: #0077B6;
    color: var(--color-white);
    border: 1px solid #0077B6;
    padding: 1.2rem 3.5rem;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 0.1em;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    transition: var(--transition-smooth);
    border-radius: 0;
    box-shadow: 0 4px 15px rgba(197, 168, 128, 0.3);
}

.btn-transformed-more:hover {
    background-color: var(--color-white);
    color: var(--color-black);
    border-color: var(--color-white);
    box-shadow: 0 4px 20px rgba(255, 255, 255, 0.4);
}

.btn-transformed-more i {
    width: 18px;
    height: 18px;
    transition: var(--transition-smooth);
}

/* Seamless Procedure Gallery Section (3-column tiled grid matching screenshot) */
.gallery-section {
    padding: 6rem 0 0 0;
    background-color: var(--color-white);
    overflow: hidden;
}

.container-title-box {
    max-width: 800px;
    margin: 0 auto 3.5rem auto;
    padding: 0 1.5rem;
}

.gallery-tiled-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0; /* Zero gaps for a seamless tiled appearance */
    width: 100%;
}

.gallery-tile-item {
    position: relative;
    aspect-ratio: 4/3; /* Consistent landscape aspect ratio */
    overflow: hidden;
    cursor: pointer;
    background-color: var(--color-black);
}

.gallery-tile-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    display: block;
}

/* Subtle dark gradient overlay to ensure text legibility */
.gallery-tile-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.65) 0%, rgba(0, 0, 0, 0.1) 60%, rgba(0, 0, 0, 0) 100%);
    opacity: 0.85;
    transition: opacity 0.4s ease;
}

.gallery-tile-title {
    position: absolute;
    bottom: 1.5rem;
    left: 1.5rem;
    color: var(--color-white);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.2rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    z-index: 10;
    transition: transform 0.4s ease, color 0.4s ease;
}

/* Hover Effects */
.gallery-tile-item:hover img {
    transform: scale(1.05); /* Gentle premium magnification */
}

.gallery-tile-item:hover .gallery-tile-overlay {
    opacity: 0.95; /* Darken overlay slightly */
}

.gallery-tile-item:hover .gallery-tile-title {
    color: #0077B6; /* Transition to signature gold on hover */
    transform: translateY(-2px);
}

/* Specialized Treatments Grid Section (New Grid matching image 1) */
.specialized-treatments-section {
    padding: 6rem 0;
    background-color: var(--color-offwhite);
    border-top: 1px solid var(--color-gray-light);
    border-bottom: 1px solid var(--color-gray-light);
}

.specialized-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 3.5rem;
}

.specialized-card {
    background-color: var(--color-white);
    border: 1px solid var(--color-gray-light);
    border-radius: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: var(--transition-smooth);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.01);
}

.specialized-card:hover {
    transform: translateY(-4px);
    border-color: var(--color-black);
    box-shadow: var(--shadow-soft);
}

.specialized-image-box {
    width: 100%;
    aspect-ratio: 16/10;
    overflow: hidden;
    background-color: var(--color-gray-light);
    border-bottom: 1px solid var(--color-gray-light);
}

.specialized-image-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%) contrast(1.05);
    transition: var(--transition-smooth);
}

.specialized-card:hover .specialized-image-box img {
    filter: grayscale(0%) contrast(1);
    transform: scale(1.04);
}

.specialized-info {
    padding: 2.2rem 2rem;
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    flex-grow: 1;
}

.specialized-card-title {
    font-size: 1.35rem;
    color: var(--color-black);
    margin-bottom: 0.25rem;
}

.specialized-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    margin-bottom: 3.5rem; /* Leaves space for the arrow button */
}

.specialized-list li {
    font-size: 0.95rem;
    line-height: 1.4;
    color: var(--color-gray-dark);
    position: relative;
    padding-left: 1.25rem;
}

.specialized-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    top: 0;
    color: var(--color-gray-medium);
    font-weight: 700;
}

.btn-card-arrow {
    position: absolute;
    bottom: 2rem;
    left: 2rem;
    width: 44px;
    height: 44px;
    background-color: var(--color-offwhite);
    border: 1px solid var(--color-gray-light);
    color: var(--color-black);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
    text-decoration: none;
}

.btn-card-arrow i {
    width: 18px;
    height: 18px;
    transition: var(--transition-fast);
}

.btn-card-arrow:hover {
    background-color: var(--color-black);
    color: var(--color-white);
    border-color: var(--color-black);
}

.btn-card-arrow:hover i {
    transform: translateX(2px);
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */

@media (max-width: 1024px) {
    .hero-title {
        font-size: 3.2rem;
    }
    
    .hero-subtitle {
        font-size: 1.8rem;
    }
    
    .booking-section {
        margin-top: -60px;
    }
    
    .booking-card-split {
        grid-template-columns: 1fr;
        border-radius: 16px;
    }
    
    .booking-info-pane {
        padding: 2.5rem 2rem;
    }
    
    .booking-form-pane {
        padding: 2.5rem 2rem;
    }
    
    .form-row-2 {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }
    
    .time-slots-grid {
        grid-template-columns: repeat(auto-fill, minmax(90px, 1fr));
    }
    
    .btn-book-submit {
        width: 100%;
        justify-content: center;
    }
    
    .experience-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
        max-width: 500px;
        margin: 0 auto;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }

    /* About Section Responsive */
    .about-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .about-image-col {
        order: -1;
    }

    /* Reviews Section Responsive */
    .reviews-layout {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .reviews-summary-col {
        padding: 2rem 1.5rem !important;
        margin-bottom: 1.5rem;
    }

    .review-card {
        flex: 0 0 calc(50% - 0.75rem); /* Show exactly 2 cards side-by-side on tablet */
    }

    .reviews-carousel-control.prev-btn {
        left: -10px;
    }

    .reviews-carousel-control.next-btn {
        right: -10px;
    }

    /* Signature Treatments Responsive */
    .signature-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        max-width: 500px;
        margin: 3.5rem auto 0 auto;
    }

    /* Transformed Smiles Responsive */
    .transformed-smiles-section {
        padding: 6rem 0;
    }

    /* Gallery & Specialized Grid Tablet Responsive */
    .gallery-tiled-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .specialized-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }
    
    .nav-cta {
        display: none; /* Hide desktop button on mobile */
    }
    
    .navbar.scrolled {
        background-color: rgba(13, 13, 13, 0.95) !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
    }
    .navbar.scrolled .menu-toggle {
        color: #ffffff !important;
    }
    
    .mobile-only-btn {
        display: block !important;
        width: 100% !important;
        padding: 1.5rem !important;
        border-bottom: none !important;
    }
    
    .nav-links {
        position: fixed !important;
        top: 75px !important; /* Start right below the navbar */
        left: 0 !important;
        width: 100% !important;
        height: calc(100vh - 75px) !important;
        background-color: #091026 !important; /* Premium dark warm brown background */
        display: flex !important;
        flex-direction: column !important;
        justify-content: flex-start !important;
        align-items: stretch !important; /* Stretch rows to full width */
        gap: 0 !important;
        padding: 0 !important;
        transform: translateY(-120%) !important;
        transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
        z-index: 998 !important;
        overflow-y: auto !important;
        flex: none !important;
    }
    
    .navbar.scrolled .nav-links {
        background-color: #091026 !important;
        top: 70px !important;
        height: calc(100vh - 70px) !important;
    }
    
    .nav-links.active {
        transform: translateY(0) !important;
    }
    
    .nav-links li {
        width: 100% !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
    }
    
    .nav-link {
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        width: 100% !important;
        height: 60px !important;
        padding: 0 1.5rem !important;
        font-family: 'HvDTrial Brandon Grotesque', sans-serif !important;
        font-weight: 800 !important;
        font-size: 1.05rem !important;
        color: #ffffff !important;
        text-transform: uppercase !important;
        letter-spacing: 0.06em !important;
        text-decoration: none !important;
        background: transparent !important;
        transition: background-color 0.2s ease !important;
    }
    
    .nav-link:active {
        background-color: rgba(255, 255, 255, 0.03) !important;
    }
    
    .navbar.scrolled .nav-link {
        color: #ffffff !important; /* Maintain white contrast over brown background */
    }
    
    .nav-chevron {
        width: 16px !important;
        height: 16px !important;
        stroke-width: 3px !important;
        color: #0077B6 !important; /* Luxury Gold chevron */
        transition: transform 0.3s ease !important;
    }
    
    .btn-book-nav {
        background: #0077B6 !important;
        color: #ffffff !important;
        width: 100% !important;
        height: 52px !important;
        border-radius: 50px !important;
        font-family: 'HvDTrial Brandon Grotesque', sans-serif !important;
        font-weight: 800 !important;
        font-size: 1.02rem !important;
        text-transform: uppercase !important;
        letter-spacing: 0.06em !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 8px !important;
        border: none !important;
        box-shadow: 0 4px 15px rgba(197, 160, 89, 0.3) !important;
        margin: 0 !important;
    }
    
    /* Eka style mobile sub-dropdown list rows */
    .dropdown-menu {
        position: static !important;
        transform: none !important;
        left: auto !important;
        opacity: 1 !important;
        visibility: visible !important;
        min-width: 0 !important;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.35s ease-out;
        display: flex !important;
        flex-direction: column !important;
        gap: 0 !important;
        padding: 0 !important;
        margin: 0 !important;
        width: 100% !important;
        background-color: #091026 !important; /* Darker row background for clarity */
        box-shadow: none !important;
        border: none !important;
        z-index: auto !important;
    }
    .nav-item-dropdown.active .dropdown-menu {
        max-height: 300px;
    }
    .dropdown-menu a {
        display: flex !important;
        align-items: center !important;
        width: 100% !important;
        height: 52px !important;
        padding-left: 2.2rem !important;
        font-family: 'HvDTrial Brandon Grotesque', sans-serif !important;
        font-weight: 700 !important;
        font-size: 0.92rem !important;
        color: rgba(255, 255, 255, 0.75) !important;
        text-transform: uppercase !important;
        letter-spacing: 0.05em !important;
        text-decoration: none !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.02) !important;
        background-color: transparent !important;
        transition: all 0.2s ease !important;
        text-align: left !important;
    }
    .dropdown-menu a::before {
        content: '›' !important;
        margin-right: 10px !important;
        color: #0077B6 !important;
        font-weight: 800 !important;
        font-size: 1.1rem !important;
        line-height: 1 !important;
    }
    .dropdown-menu a:hover, .dropdown-menu a:active {
        color: #0077B6 !important;
        background-color: rgba(255, 255, 255, 0.02) !important;
        padding-left: 2.2rem !important;
    }
    
    .hero-section {
        height: 70vh;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.4rem;
        margin-bottom: 1.5rem;
    }
    
    .hero-description {
        font-size: 1.05rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .modal-content {
        padding: 2rem 1.5rem;
    }

    /* About Section Mobile */
    .about-name {
        font-size: 2.2rem;
    }

    .about-qualifications {
        margin-bottom: 1.5rem;
    }

    .about-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .btn-about-book,
    .btn-about-more {
        justify-content: center;
    }

    .experience-badge {
        right: 10px;
        bottom: 10px;
    }

    /* Reviews Section Mobile */
    .reviews-section {
        padding: 2rem 0 !important; /* Extremely tight vertical padding */
    }

    .reviews-section .container {
        padding-left: 12px !important;
        padding-right: 12px !important;
    }

    .reviews-layout {
        grid-template-columns: 1fr !important;
        gap: 0.75rem !important;
    }

    .reviews-header {
        margin-bottom: 0.85rem !important;
    }

    .reviews-section-title {
        font-size: 1.5rem !important;
        line-height: 1.25 !important;
        margin-bottom: 0.15rem !important;
    }

    .reviews-section-subtitle {
        font-size: 0.68rem !important;
        letter-spacing: 0.05em !important;
        line-height: 1.3 !important;
    }

    /* Super compact Google Rating Card on mobile (single horizontal row, exactly like Eka's header score) */
    .reviews-summary-col {
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        justify-content: center !important;
        align-items: center !important;
        gap: 8px !important;
        padding: 0.5rem 0.8rem !important;
        max-width: 320px !important;
        height: auto !important;
        margin: 0 auto 0.5rem auto !important;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.02) !important;
        border-radius: 10px !important;
    }

    .google-badge-header {
        display: none !important; /* Hide redundant label */
    }

    .reviews-score-large {
        font-size: 1.4rem !important;
        margin: 0 !important;
        line-height: 1 !important;
    }

    .reviews-stars-row {
        margin: 0 !important;
        gap: 0.1rem !important;
    }

    .reviews-stars-row i.star-filled,
    .reviews-stars-row svg.star-filled {
        width: 13px !important;
        height: 13px !important;
    }

    .reviews-verdict-badge {
        font-size: 0.65rem !important;
        padding: 2px 6px !important;
        margin: 0 !important;
        display: inline-block !important;
    }

    .reviews-count-text {
        font-size: 0.68rem !important;
        margin: 0 !important;
        color: #718096 !important;
        display: inline-block !important;
    }

    .reviews-divider {
        display: none !important; /* Hide giant border line */
    }

    .google-logo-wrapper {
        display: none !important; /* Hide giant Google logo on mobile */
    }

    .reviews-carousel-wrapper {
        padding: 0 !important; /* Zero padding inside wrapper to let card take 100% width of container */
        margin-bottom: 2.2rem !important;
        width: 100% !important;
    }

    .review-card {
        flex: 0 0 100%;
        min-height: 380px !important; /* Make the card taller like a portrait image */
        display: flex !important;
        flex-direction: column !important;
        justify-content: space-between !important;
        padding: 1.25rem 1.25rem !important; /* Spacious internal padding */
        border-radius: 16px !important;
        box-sizing: border-box !important;
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.04) !important;
    }

    /* Rotating pastel colorful card themes (Eka inspired) */
    /* Card 1: Lavender/Purple theme */
    .review-card:nth-child(3n+1) {
        background: linear-gradient(135deg, #F3E8FF 0%, #FAE8FF 100%) !important;
        border: 1px solid #E9D5FF !important;
    }
    .review-card:nth-child(3n+1) .user-name {
        color: #581C87 !important;
    }
    .review-card:nth-child(3n+1) .review-text {
        border-left: 2px solid #C084FC !important;
    }
    .review-card:nth-child(3n+1) .btn-read-more {
        color: #7C3AED !important;
    }

    /* Card 2: Mint/Teal theme */
    .review-card:nth-child(3n+2) {
        background: linear-gradient(135deg, #E6F4FF 0%, #D1FAE5 100%) !important;
        border: 1px solid #A7F3D0 !important;
    }
    .review-card:nth-child(3n+2) .user-name {
        color: #065F46 !important;
    }
    .review-card:nth-child(3n+2) .review-text {
        border-left: 2px solid #34D399 !important;
    }
    .review-card:nth-child(3n+2) .btn-read-more {
        color: #059669 !important;
    }

    /* Card 3: Rose/Peach theme */
    .review-card:nth-child(3n+3) {
        background: linear-gradient(135deg, #FFE4E6 0%, #FFF3CD 100%) !important;
        border: 1px solid #FECDD3 !important;
    }
    .review-card:nth-child(3n+3) .user-name {
        color: #9F1239 !important;
    }
    .review-card:nth-child(3n+3) .review-text {
        border-left: 2px solid #F43F5E !important;
    }
    .review-card:nth-child(3n+3) .btn-read-more {
        color: #E11D48 !important;
    }

    .review-card .card-header {
        margin-bottom: 0.5rem !important;
        display: flex !important;
        align-items: center !important;
    }

    .review-card .avatar-box {
        width: 44px !important;
        height: 44px !important;
        font-size: 0.95rem !important;
        border: 1.5px solid rgba(197, 160, 89, 0.4) !important;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05) !important;
        background-color: #ffffff !important;
        color: #0077B6 !important;
    }

    .review-card .user-name {
        font-size: 0.92rem !important;
        font-weight: 700 !important;
    }

    .review-card .review-time {
        font-size: 0.72rem !important;
        color: #8a9ba8 !important;
    }

    .review-card .card-google-icon {
        width: 16px !important;
        height: 16px !important;
    }

    .review-card .card-rating {
        margin-bottom: 0.6rem !important;
        display: flex !important;
        align-items: center !important;
    }

    .review-card .review-text {
        font-family: 'Cormorant Garamond', Georgia, serif !important; /* Italic serif quote */
        font-style: italic !important;
        font-size: 0.98rem !important;
        line-height: 1.45 !important;
        color: #334155 !important;
        margin-bottom: 0.6rem !important;
        padding-left: 8px !important;
        -webkit-line-clamp: 4 !important; /* Decreased text line clamp */
    }

    .review-card .btn-read-more {
        font-size: 0.72rem !important;
        font-weight: 800 !important;
        text-transform: uppercase !important;
        letter-spacing: 0.05em !important;
        padding: 0 !important;
        margin: 0 !important;
    }

    /* Position control buttons on the left and right edges vertically centered */
    .reviews-carousel-control {
        width: 34px !important;
        height: 34px !important;
        top: 50% !important;
        bottom: auto !important;
        transform: translateY(-50%) !important;
        background: rgba(255, 255, 255, 0.95) !important;
        border: 1px solid rgba(197, 168, 128, 0.4) !important;
        box-shadow: 0 4px 12px rgba(0,0,0,0.08) !important;
        z-index: 10 !important;
    }

    .reviews-carousel-control i,
    .reviews-carousel-control svg {
        width: 16px !important;
        height: 16px !important;
        color: #0077B6 !important;
    }

    .reviews-carousel-control.prev-btn {
        left: 4px !important;
    }

    .reviews-carousel-control.next-btn {
        right: 4px !important;
    }

    /* Split Booking Panel Mobile Optimizations */
    .booking-card-split {
        grid-template-columns: 1fr !important;
        border-radius: 16px !important;
        overflow: hidden !important;
        padding: 0 !important;
        margin: 0 12px !important;
    }
    
    .booking-info-pane {
        width: 100% !important;
        margin: 0 !important;
        border-radius: 0 !important;
        border-top-left-radius: 16px !important;
        border-top-right-radius: 16px !important;
        padding: 2.2rem 1.6rem !important;
    }
    
    .booking-pane-title {
        font-size: 1.6rem !important;
        line-height: 1.25 !important;
    }
    
    .booking-form-pane {
        width: 100% !important;
        margin: 0 !important;
        padding: 2.2rem 1.6rem !important;
    }

    /* Stats Difference Section Mobile Stacking */
    .stats-premium-list {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
    }
    
    .stats-premium-section {
        overflow: visible !important;
    }

    /* Transformed Smiles Section Mobile */
    .transformed-smiles-section {
        padding: 4rem 0;
    }

    .play-btn-circle {
        width: 60px;
        height: 60px;
    }

    .btn-transformed-more {
        padding: 1rem 2.5rem;
        width: 100%;
        justify-content: center;
    }

    /* Gallery & Specialized Grid Mobile Responsive */
    .gallery-tiled-grid {
        grid-template-columns: 1fr;
    }

    .gallery-comparison {
        flex-direction: row; /* Keep side-by-side to save height */
    }

    .specialized-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        max-width: 450px;
        margin: 3.5rem auto 0 auto;
    }
}

/* ==========================================================================
   Before/After Sliders, View Story & Verification Styling
   ========================================================================== */
.slider-container {
    position: relative;
    width: 100%;
    height: 250px;
    overflow: hidden;
    border-radius: 12px;
    user-select: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.05);
    margin-bottom: 1.25rem;
}

.slider-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.slider-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.before-img {
    z-index: 1;
}

.after-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    clip-path: polygon(50% 0, 100% 0, 100% 100%, 50% 100%);
    /* NOTE: 'will-change: clip-path' was always-on for every slider, which
       promoted all 20+ before/after images to permanent GPU layers. Under
       memory pressure the browser then discarded and re-decoded them while
       scrolling — the "images disappear then reload on scroll" bug. Removed. */
}

.after-img img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slider-label {
    position: absolute;
    bottom: 12px;
    padding: 4px 8px;
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    border-radius: 4px;
    z-index: 5;
    pointer-events: none;
}

.before-label {
    right: 12px;
    background-color: rgba(0, 0, 0, 0.75);
    color: var(--color-white);
}

.after-label {
    left: 12px;
    background-color: var(--color-white);
    color: var(--color-black);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
}

.slider-range-input {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: ew-resize;
    z-index: 10;
    margin: 0;
    padding: 0;
}

.slider-handle {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 2px;
    background-color: var(--color-white);
    z-index: 8;
    pointer-events: none;
    transform: translateX(-50%);
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.4);
    will-change: left;
}

.slider-handle-line {
    width: 100%;
    height: 100%;
    background-color: var(--color-white);
}

.slider-handle-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 36px;
    height: 36px;
    background-color: var(--color-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(0, 0, 0, 0.08);
    color: var(--color-black);
}

.slider-handle-button i {
    width: 16px;
    height: 16px;
}

/* View Story Button Styling */
.btn-view-story {
    margin-top: 0.75rem;
    padding: 0.7rem 1.25rem;
    background-color: transparent;
    border: 1px solid var(--color-black);
    color: var(--color-black);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    cursor: pointer;
    transition: var(--transition-smooth);
    border-radius: 6px;
    width: 100%;
}

.btn-view-story i {
    width: 14px;
    height: 14px;
    transition: var(--transition-fast);
}

.btn-view-story:hover {
    background-color: var(--color-black);
    color: var(--color-white);
}

.btn-view-story:hover i {
    transform: translateX(3px);
}

/* OTP Modal Customizations */
.otp-modal-content {
    max-width: 400px !important;
    padding: 2.5rem !important;
    border-radius: 16px !important;
    border: none !important;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.35) !important;
}

.otp-icon-wrapper {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: rgba(197, 168, 128, 0.1);
    color: #0077B6;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
}

.otp-shield-icon {
    width: 28px;
    height: 28px;
    stroke-width: 2.25px;
}

.otp-inputs-row {
    display: flex;
    justify-content: center;
    gap: 0.85rem;
    margin: 1.75rem 0 1.25rem;
}

.otp-digit {
    width: 46px;
    height: 56px;
    border: 1.5px solid var(--color-gray-light);
    border-radius: 10px;
    font-size: 1.75rem;
    font-weight: 700;
    text-align: center;
    font-family: var(--font-heading);
    color: var(--color-black);
    background-color: var(--color-offwhite);
    outline: none;
    transition: var(--transition-fast);
}

.otp-digit:focus {
    border-color: #0077B6;
    background-color: var(--color-white);
    box-shadow: 0 0 8px rgba(197, 168, 128, 0.25);
}

.otp-digit:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.otp-error-msg {
    color: #ea4335;
    font-size: 0.85rem;
    margin-bottom: 1rem;
    display: none;
    font-weight: 700;
}

.otp-timer-text {
    font-size: 0.85rem;
    color: var(--color-gray-medium);
    margin-bottom: 0.75rem;
}

.otp-demo-note {
    font-size: 0.8rem;
    color: var(--color-gray-medium);
    background-color: var(--color-offwhite);
    padding: 0.5rem;
    border-radius: 6px;
    display: inline-block;
    border: 1px dashed rgba(0, 0, 0, 0.1);
    margin-bottom: 1.25rem;
}

.gold-highlight {
    color: #0077B6;
    font-weight: 700;
}

.btn-otp-verify {
    width: 100%;
    background-color: var(--color-black);
    color: var(--color-white);
    border: none;
    padding: 0.85rem 0;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 0.05em;
    cursor: pointer;
    border-radius: 8px;
    transition: var(--transition-smooth);
}

.btn-otp-verify:hover {
    background-color: #1a1a1a;
}

/* Simulated Smartphone SMS */
.greeting-modal-content {
    max-width: 440px !important;
    padding: 2.25rem !important;
    border-radius: 20px !important;
    border: none !important;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.35) !important;
}

.modal-success-header {
    margin-bottom: 1.25rem;
}

.success-checkmark-circle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: rgba(52, 168, 83, 0.15);
    color: #34a853;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 0.75rem;
}

.success-checkmark-icon {
    width: 24px;
    height: 24px;
    stroke-width: 3px;
}

.success-title {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.3rem;
    letter-spacing: 0.05em;
    color: var(--color-black);
    margin-bottom: 0.25rem;
}

.success-subtitle {
    font-size: 0.85rem;
    color: var(--color-gray-medium);
    line-height: 1.4;
}

.patient-name-gold {
    color: #0077B6;
    font-weight: 700;
}

.verified-status {
    color: #34a853;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.verified-status i {
    width: 14px;
    height: 14px;
    stroke-width: 3px;
}

.greeting-status-note {
    font-size: 0.85rem;
    color: var(--color-gray-medium);
    line-height: 1.5;
    margin: 1rem 0 1.5rem;
    text-align: center;
}

.greeting-details-box {
    background-color: var(--color-offwhite);
    border: 1px solid var(--color-gray-light);
    border-radius: 8px;
    padding: 1.25rem;
    text-align: left;
    margin-bottom: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
}

.detail-label {
    color: var(--color-gray-medium);
}

.detail-value {
    color: var(--color-black);
    font-weight: 700;
}

.btn-greeting-close {
    width: 100%;
    background-color: var(--color-black);
    color: var(--color-white);
    border: none;
    padding: 0.85rem 0;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 0.05em;
    cursor: pointer;
    border-radius: 8px;
    transition: var(--transition-smooth);
}

.btn-greeting-close:hover {
    background-color: #1a1a1a;
}

/* Case Story Details sheet */
.story-modal-content {
    max-width: 600px !important;
    padding: 2.5rem !important;
    border-radius: 16px !important;
    border: none !important;
    box-shadow: 0 25px 55px rgba(0, 0, 0, 0.4) !important;
}

.story-header {
    border-bottom: 1px solid var(--color-gray-light);
    padding-bottom: 1rem;
    margin-bottom: 1.25rem;
}

.story-case-number {
    display: none !important;
}

.story-title {
    font-size: 1.45rem;
    color: var(--color-black);
}

.story-comparison-wrapper {
    margin-bottom: 1.25rem;
}

.story-images-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.story-img-card {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.05);
    aspect-ratio: 4 / 3;
}

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

.story-img-tag {
    position: absolute;
    bottom: 8px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.65rem;
    letter-spacing: 0.05em;
    padding: 2px 5px;
    border-radius: 3px;
}

.tag-before {
    right: 8px;
    background-color: rgba(0, 0, 0, 0.75);
    color: var(--color-white);
}

.tag-after {
    left: 8px;
    background-color: var(--color-white);
    color: var(--color-black);
    box-shadow: 0 2px 4px rgba(0,0,0,0.15);
}

.story-details-text {
    max-height: 200px;
    overflow-y: auto;
    padding-right: 8px;
    margin-bottom: 1.5rem;
    text-align: left;
}

.story-details-text::-webkit-scrollbar {
    width: 4px;
}

.story-details-text::-webkit-scrollbar-track {
    background: #f5f5f5;
}

.story-details-text::-webkit-scrollbar-thumb {
    background: #ddd;
    border-radius: 2px;
}

.story-subheading {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: var(--color-black);
    margin: 1rem 0 0.4rem;
    text-transform: uppercase;
}

.story-subheading:first-of-type {
    margin-top: 0;
}

.story-desc {
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: var(--color-gray-dark);
    line-height: 1.5;
}

.story-quote {
    background-color: var(--color-offwhite);
    border-left: 2px solid #0077B6;
    padding: 0.85rem;
    margin: 0.85rem 0;
    font-style: italic;
}

.story-quote p {
    color: var(--color-dark);
    margin-bottom: 0.4rem;
    font-size: 0.85rem;
    line-height: 1.4;
}

.story-quote cite {
    font-size: 0.8rem;
    color: var(--color-gray-medium);
    font-weight: 700;
    display: block;
    text-transform: uppercase;
}

.btn-story-close {
    width: 100%;
    background-color: var(--color-black);
    color: var(--color-white);
    border: none;
    padding: 0.85rem 0;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 0.05em;
    cursor: pointer;
    border-radius: 8px;
    transition: var(--transition-smooth);
}

.btn-story-close:hover {
    background-color: #1a1a1a;
}

@media (max-width: 576px) {
    .story-images-grid {
        grid-template-columns: 1fr;
    }
    
    .otp-inputs-row {
        gap: 0.5rem;
    }
    
    .otp-digit {
        width: 40px;
        height: 50px;
        font-size: 1.5rem;
    }
}

/* ==========================================================================
   ELITE GALLERY PAGE ADDITIONS
   ========================================================================== */

/* ==========================================================================
   CLINIC GALLERY SHOWCASE SYSTEM
   ========================================================================== */

.gallery-page-main {
    padding: 4rem 0 6rem 0;
    background-color: var(--color-offwhite);
}

/* Clinic Booking Section (Luxury CTA - Open Footer Integrated) */
.gallery-booking-section {
    padding: 3rem 0;
    margin-top: 2rem;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(197, 168, 128, 0.02) 100%);
    width: 100%;
}

.gallery-booking-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 2rem;
}

.booking-tag {
    font-size: 0.75rem;
    letter-spacing: 0.25em;
    color: #0077B6;
    font-family: var(--font-heading);
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 0.3rem;
}

.booking-title {
    font-size: 2.2rem;
    color: var(--color-black);
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin: 0;
    line-height: 1.2;
}

.booking-gold-divider {
    width: 50px;
    height: 1.5px;
    background-color: #0077B6;
    margin: 1rem auto;
}

.booking-desc {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--color-gray-medium);
    max-width: 620px;
    margin: 0 auto 1.5rem auto;
    font-family: var(--font-body);
}

.btn-gallery-book-now {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    text-decoration: none;
    color: var(--color-white);
    background-color: var(--color-black);
    border: 1px solid var(--color-black);
    padding: 1rem 2.8rem;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    border-radius: 0;
    cursor: pointer;
}

.btn-gallery-book-now svg {
    width: 14px !important;
    height: 14px !important;
}

.btn-gallery-book-now:hover {
    background-color: transparent;
    color: var(--color-black);
    transform: translateY(-3px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
}

/* Gallery Section blocks */
.gallery-section-block {
    padding: 3rem 0 5rem 0;
    border-bottom: 1px solid var(--color-gray-light);
    width: 100%;
}

.gallery-section-block:last-of-type {
    border-bottom: none;
    padding-bottom: 2rem;
}

.gallery-section-header {
    margin-bottom: 3.5rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.gallery-section-tag {
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    color: #0077B6;
    font-family: var(--font-heading);
    font-weight: 700;
    text-transform: uppercase;
}

.gallery-section-title {
    font-size: 2.2rem;
    color: var(--color-black);
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin: 0.5rem 0;
}

.gallery-section-desc {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--color-gray-medium);
    max-width: 650px;
    margin: 0 auto;
    text-align: center;
}

/* Gallery Tiled Grid & Cards */
.gallery-tiled-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    width: 100%;
    transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1), transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-tile-item {
    position: relative;
    aspect-ratio: 3/2; /* 1.50 aspect ratio matches landscape 500x334 images perfectly */
    overflow: hidden;
    background-color: #0d0d11;
    border: 1px solid rgba(197, 168, 128, 0.15); /* Light luxury gold border */
    cursor: pointer;
    border-radius: 0;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.5s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-tile-item:hover {
    transform: translateY(-4px);
    border-color: #0077B6; /* Elegant gold border on hover */
    box-shadow: 0 15px 35px rgba(197, 168, 128, 0.15); /* Luxury shadow with gold tint */
}

.gallery-tile-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(80%) contrast(1.05) brightness(0.95);
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1), filter 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-tile-item:hover img {
    transform: scale(1.06);
    filter: grayscale(0%) contrast(1) brightness(1);
}

.gallery-tile-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(13, 13, 17, 0.85) 0%, rgba(13, 13, 17, 0.3) 60%, rgba(13, 13, 17, 0.05) 100%);
    opacity: 0.85;
    transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1), backdrop-filter 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-tile-item:hover .gallery-tile-overlay {
    opacity: 0.9;
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
}

.gallery-tile-title {
    position: absolute;
    bottom: 1.5rem;
    left: 1.5rem;
    right: 1.5rem;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--color-white);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    pointer-events: none;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), color 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 5;
}

.gallery-tile-item:hover .gallery-tile-title {
    transform: translateY(-8px);
    color: #0077B6;
}

.gallery-tile-hover-content {
    position: absolute;
    top: 45%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--color-white);
    opacity: 0;
    transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1), transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: none;
    z-index: 5;
}

.gallery-tile-item:hover .gallery-tile-hover-content {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.gallery-tile-hover-content svg {
    width: 28px;
    height: 28px;
    color: #0077B6;
}

.gallery-tile-hover-content span {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.7rem;
    letter-spacing: 0.2em;
}

/* Custom Card Delete Actions */
.btn-gallery-delete {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background-color: rgba(255, 68, 68, 0.9);
    color: var(--color-white);
    border: none;
    padding: 0.5rem;
    cursor: pointer;
    transition: var(--transition-fast);
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.btn-gallery-delete:hover {
    background-color: #ff2222;
    transform: scale(1.1);
}

.btn-gallery-delete svg {
    width: 14px !important;
    height: 14px !important;
}

.gallery-empty-state {
    grid-column: 1 / -1;
    text-align: center;
    padding: 6rem 2rem;
    color: var(--color-gray-medium);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.gallery-empty-state svg {
    width: 48px;
    height: 48px;
    color: var(--color-gray-light);
}

.gallery-empty-state p {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

/* Lightbox Dynamic Specific Styles */
.gallery-lightbox-content {
    max-width: 950px !important;
    width: 90% !important;
    padding: 0 !important;
    overflow-y: auto !important;
    max-height: 90vh !important;
    border-radius: 0 !important;
    background-color: var(--color-white);
}

.gallery-lightbox-layout {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.gallery-lightbox-img-side {
    background-color: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    aspect-ratio: 16/9;
    max-height: 480px;
    overflow: hidden;
    border-bottom: 1px solid var(--color-gray-light);
}

.gallery-lightbox-img-side img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-lightbox-info-side {
    padding: 3rem 4rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    background-color: var(--color-white);
    width: 100%;
}

.gallery-lightbox-tag {
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    color: #0077B6;
    font-family: var(--font-heading);
    font-weight: 700;
    text-transform: uppercase;
}

.gallery-lightbox-title {
    font-size: 2.2rem;
    line-height: 1.25;
    color: var(--color-black);
    text-transform: uppercase;
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: 0.05em;
}

.gallery-lightbox-date {
    font-size: 0.8rem;
    color: var(--color-gray-medium);
    letter-spacing: 0.05em;
}

.gallery-lightbox-divider {
    height: 1px;
    background-color: var(--color-gray-light);
    width: 100%;
    margin: 0.25rem 0;
}

.lightbox-info-body-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 3.5rem;
}

.gallery-lightbox-desc-section {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.gallery-lightbox-desc-section h4 {
    font-size: 0.85rem;
    letter-spacing: 0.15em;
    color: var(--color-black);
    font-family: var(--font-heading);
    font-weight: 700;
    text-transform: uppercase;
}

.gallery-lightbox-desc-section p {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--color-gray-dark);
    font-family: var(--font-body);
    text-align: justify;
}

.gallery-lightbox-specs {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding: 0;
    margin: 0;
}

.gallery-lightbox-specs li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.95rem;
    line-height: 1.5;
    color: var(--color-gray-dark);
    font-family: var(--font-body);
}

.lightbox-check-icon {
    width: 18px !important;
    height: 18px !important;
    color: #0077B6;
    flex-shrink: 0;
    margin-top: 0.1rem;
}

.btn-lightbox-book {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    text-decoration: none;
    color: var(--color-white);
    background-color: var(--color-black);
    border: 1px solid var(--color-black);
    padding: 1.2rem 2.5rem;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    transition: var(--transition-fast);
    border-radius: 0;
    cursor: pointer;
    width: 100%;
}

.btn-lightbox-book svg {
    width: 14px !important;
    height: 14px !important;
}

.btn-lightbox-book:hover {
    background-color: transparent;
    color: var(--color-black);
}

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

@media (max-width: 900px) {
    .gallery-tiled-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    .gallery-upload-card {
        padding: 3rem 2rem;
    }
    .gallery-lightbox-info-side {
        padding: 3rem 2.5rem;
    }
    .lightbox-info-body-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 600px) {
    .gallery-tiled-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    .gallery-filter-container {
        gap: 0.5rem;
    }
    .gallery-filter-btn {
        padding: 0.6rem 1.2rem;
        font-size: 0.7rem;
    }
    .admin-uploader-form {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    .file-drag-container {
        height: 200px;
    }
}

/* ==========================================================================
   DROPDOWN NAVIGATION SYSTEM
   ========================================================================== */

.nav-item-dropdown {
    position: relative;
}

.dropdown-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    cursor: pointer;
}

.nav-chevron {
    width: 14px;
    height: 14px;
    transition: transform 0.3s ease;
    stroke-width: 2.5;
}

.nav-item-dropdown:hover .nav-chevron {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(15px);
    background-color: rgba(13, 13, 13, 0.98);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    padding: 0.8rem 0;
    min-width: 260px;
    list-style: none;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.45);
    z-index: 1001;
}

.nav-item-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.dropdown-menu li {
    width: 100%;
}

.dropdown-menu a {
    display: block;
    padding: 0.75rem 2rem;
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    text-align: left;
    text-transform: uppercase;
}

.dropdown-menu a:hover {
    background-color: rgba(255, 255, 255, 0.04);
    color: #0077B6;
    padding-left: 2.3rem;
}

/* Scrolled Navbar Modifiers */
.navbar.scrolled .dropdown-menu {
    background-color: rgba(255, 255, 255, 0.98);
    border-color: rgba(0, 0, 0, 0.07);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.12);
}

.navbar.scrolled .dropdown-menu a {
    color: rgba(0, 0, 0, 0.75);
}

.navbar.scrolled .dropdown-menu a:hover {
    background-color: rgba(0, 0, 0, 0.03);
    color: #0077B6;
}

/* Responsive Dropdown accordion for mobile devices */
@media (max-width: 1024px) {
    .dropdown-menu {
        position: static;
        transform: none;
        opacity: 1;
        visibility: visible;
        background: transparent;
        border: none;
        box-shadow: none;
        padding: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1);
        width: 100%;
        min-width: 0;
        text-align: center;
        z-index: auto;
    }
    
    .nav-item-dropdown.active .dropdown-menu {
        max-height: 250px;
        margin-top: 1rem;
        margin-bottom: 0.5rem;
    }
    
    .dropdown-menu a {
        text-align: center;
        padding: 0.65rem 0;
        font-size: 1.1rem;
        color: rgba(255, 255, 255, 0.6);
        background-color: transparent !important;
    }
    
    .navbar.scrolled .dropdown-menu a {
        color: rgba(0, 0, 0, 0.6);
    }
    
    .dropdown-menu a:hover {
        padding-left: 0;
        color: #0077B6;
    }
    
    .nav-item-dropdown.active .nav-chevron {
        transform: rotate(180deg);
    }
    
    .dropdown-toggle {
        display: flex;
        justify-content: center;
        width: 100%;
    }
}

/* ==========================================================================
   BLOG LAYOUT SYSTEM
   ========================================================================== */

/* Category Filter Pills */
.blog-filters-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
    margin: 2.5rem 0 3.5rem 0;
    width: 100%;
}

.blog-filter-btn {
    background: transparent;
    color: var(--color-black);
    border: 1px solid var(--color-black);
    padding: 0.75rem 2rem;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    cursor: pointer;
    transition: var(--transition-fast);
    border-radius: 0;
}

.blog-filter-btn:hover {
    background-color: var(--color-black);
    color: var(--color-white);
    letter-spacing: 0.18em;
}

.blog-filter-btn.active {
    background-color: var(--color-black);
    color: var(--color-white);
    border-color: var(--color-black);
}

/* Spotlight Featured Article */
.blog-spotlight-section {
    padding: 3rem 0;
    background-color: var(--color-offwhite);
}

.blog-spotlight-eyebrow {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    color: var(--color-gray-medium);
    display: block;
    margin-bottom: 1.5rem;
}

.spotlight-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid var(--color-gray-light);
    background-color: var(--color-white);
    transition: var(--transition-smooth);
    border-radius: 0;
}

.spotlight-card:hover {
    border-color: var(--color-black);
    box-shadow: var(--shadow-hover);
}

.spotlight-img-side {
    position: relative;
    width: 100%;
    min-height: 250px;
    overflow: hidden;
    background-color: #000;
}

.spotlight-img-side img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%);
    transition: var(--transition-smooth);
}

.spotlight-card:hover .spotlight-img-side img {
    filter: grayscale(0%);
    transform: scale(1.03);
}

.spotlight-content-side {
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-color: var(--color-white);
}

.spotlight-title {
    font-size: 1.8rem;
    line-height: 1.25;
    color: var(--color-black);
    margin-bottom: 1.2rem;
    text-transform: uppercase;
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: 0.05em;
}

.spotlight-excerpt {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--color-gray-medium);
    margin-bottom: 2rem;
}

.spotlight-read-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--color-black);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    border-bottom: 1px solid var(--color-black);
    padding-bottom: 0.25rem;
    width: fit-content;
    transition: var(--transition-fast);
}

.spotlight-read-btn svg {
    width: 16px;
    height: 16px;
    transition: transform 0.3s ease;
}

.spotlight-read-btn:hover {
    color: #0077B6;
    border-color: #0077B6;
}

.spotlight-read-btn:hover svg {
    transform: translateX(5px);
}

@media (min-width: 992px) {
    .spotlight-card {
        flex-direction: row;
        min-height: 400px;
    }
    .spotlight-img-side {
        flex: 1.2;
        min-height: 100%;
    }
    .spotlight-content-side {
        flex: 1;
        padding: 4rem 3.5rem;
    }
    .spotlight-title {
        font-size: 2.2rem;
    }
}

/* Blog Grid System */
.blog-feed-section {
    padding: 2rem 0 5rem 0;
    background-color: var(--color-offwhite);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem 2rem;
    width: 100%;
}

.blog-card {
    background-color: var(--color-white);
    border: 1px solid var(--color-gray-light);
    border-radius: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.4s ease, transform 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
}

.blog-card:hover {
    transform: translateY(-8px);
    border-color: var(--color-black);
    box-shadow: var(--shadow-hover);
}

.blog-card-image {
    width: 100%;
    aspect-ratio: 16/10;
    overflow: hidden;
    background-color: #000;
}

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

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

.blog-card-content {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    flex: 1;
    background-color: var(--color-white);
}

.blog-meta {
    display: flex;
    gap: 1.2rem;
    align-items: center;
    margin-bottom: 1rem;
    font-size: 0.75rem;
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: 0.08em;
}

.blog-date {
    color: var(--color-gray-medium);
}

.blog-tag {
    color: #0077B6;
    text-transform: uppercase;
}

.blog-card-title {
    font-size: 1.2rem;
    color: var(--color-black);
    margin-bottom: 1rem;
    line-height: 1.4;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    font-family: var(--font-heading);
    font-weight: 700;
}

.blog-excerpt {
    font-size: 0.9rem;
    line-height: 1.65;
    color: var(--color-gray-medium);
    margin-bottom: 2rem;
    flex: 1;
}

.btn-read-blog {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: var(--color-black);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 0.08em;
    transition: var(--transition-fast);
    text-transform: uppercase;
    margin-top: auto;
    border-bottom: 1px solid var(--color-black);
    padding-bottom: 0.2rem;
    width: fit-content;
}

.btn-read-blog svg {
    width: 14px !important;
    height: 14px !important;
    transition: transform 0.3s ease;
}

.btn-read-blog:hover {
    color: #0077B6;
    border-color: #0077B6;
}

.btn-read-blog:hover svg {
    transform: translateX(4px);
}

@media (max-width: 992px) {
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

@media (max-width: 600px) {
    .blog-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .blog-card-content {
        padding: 1.5rem;
    }
}

/* Luxury Newsletter Sign-up */
.blog-newsletter-section {
    padding: 6rem 0;
    background-color: var(--color-offwhite);
    border-top: 1px solid var(--color-gray-light);
}

.newsletter-card {
    background-color: var(--color-dark);
    color: var(--color-white);
    padding: 5rem 4rem;
    text-align: center;
    border-radius: 0;
    border: 1px solid rgba(255, 255, 255, 0.08);
    max-width: 850px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.newsletter-eyebrow {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    color: #0077B6;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.newsletter-title {
    font-size: 2.2rem;
    color: var(--color-white);
    margin-bottom: 1rem;
    letter-spacing: 0.05em;
    font-family: var(--font-heading);
    font-weight: 700;
    text-transform: uppercase;
}

.newsletter-desc {
    font-size: 0.95rem;
    color: var(--color-gray-light);
    line-height: 1.6;
    max-width: 600px;
    margin-bottom: 2.5rem;
}

.newsletter-form {
    display: flex;
    width: 100%;
    max-width: 550px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    padding-bottom: 0.5rem;
    transition: var(--transition-fast);
}

.newsletter-form:focus-within {
    border-color: #0077B6;
}

.newsletter-input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    color: var(--color-white);
    font-family: var(--font-body);
    font-size: 0.95rem;
    padding: 0.75rem 1rem 0.75rem 0;
}

.newsletter-input::placeholder {
    color: rgba(255, 255, 255, 0.4);
    letter-spacing: 0.1em;
    font-size: 0.8rem;
}

.btn-newsletter-subscribe {
    background: transparent;
    border: none;
    color: #0077B6;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 0.15em;
    cursor: pointer;
    padding: 0.75rem 1rem;
    transition: var(--transition-fast);
    text-transform: uppercase;
}

.btn-newsletter-subscribe:hover {
    color: var(--color-white);
}

@media (max-width: 768px) {
    .newsletter-card {
        padding: 3.5rem 2rem;
    }
    .newsletter-title {
        font-size: 1.8rem;
    }
    .newsletter-form {
        flex-direction: column;
        gap: 1rem;
        border-bottom: none;
        padding-bottom: 0;
    }
    .newsletter-input {
        background-color: rgba(255,255,255,0.05);
        padding: 1rem;
        border-radius: 0;
        border: 1px solid rgba(255,255,255,0.1);
        text-align: center;
    }
    .btn-newsletter-subscribe {
        background-color: #0077B6;
        color: var(--color-black);
        padding: 1rem;
        width: 100%;
        text-align: center;
        transition: var(--transition-fast);
    }
    .btn-newsletter-subscribe:hover {
        background-color: var(--color-white);
        color: var(--color-black);
    }
}

/* Editorial Article Detail Page Layout */
.article-page-main {
    padding: 8.5rem 0 5rem 0 !important; /* Clears the fixed top navbar */
    background-color: var(--color-offwhite);
}

.article-top-nav {
    max-width: 900px;
    margin: 0 auto;
    width: 100%;
}

.btn-back-blog-top {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: var(--color-gray-medium);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    transition: var(--transition-fast);
    margin-bottom: 2rem;
}

.btn-back-blog-top svg {
    width: 14px;
    height: 14px;
    transition: transform 0.3s ease;
}

.btn-back-blog-top:hover {
    color: var(--color-black);
}

.btn-back-blog-top:hover svg {
    transform: translateX(-4px);
}

.article-detail-card {
    background-color: var(--color-white);
    border: 1px solid var(--color-gray-light);
    padding: 5rem 4rem;
    border-radius: 0;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    transition: var(--transition-smooth);
}

.article-detail-card:hover {
    box-shadow: var(--shadow-hover);
}

.article-detail-header {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    text-align: center;
    border-bottom: 1px solid var(--color-gray-light);
    padding-bottom: 2.5rem;
}

.article-detail-tag {
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    color: #0077B6;
    font-family: var(--font-heading);
    font-weight: 700;
    text-transform: uppercase;
}

.article-detail-title {
    font-size: 2.4rem;
    line-height: 1.25;
    color: var(--color-black);
    text-transform: uppercase;
    font-family: var(--font-heading);
    font-weight: 700;
    margin: 0.5rem 0;
    letter-spacing: 0.05em;
}

.article-detail-date {
    font-size: 0.85rem;
    color: var(--color-gray-medium);
    letter-spacing: 0.05em;
}

.article-detail-hero-container {
    width: 100%;
    aspect-ratio: 21/9;
    overflow: hidden;
    background-color: var(--color-black);
    border: 1px solid var(--color-gray-light);
}

.article-detail-hero-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%);
    transition: var(--transition-smooth);
}

.article-detail-card:hover .article-detail-hero-container img {
    filter: grayscale(0%);
}

.article-detail-body {
    width: 100%;
    max-width: 750px;
    margin: 0 auto;
    font-family: var(--font-body);
    font-size: 1.1rem;
    line-height: 1.85;
    color: var(--color-gray-dark);
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.article-para {
    margin-bottom: 0.5rem;
    text-align: justify;
}

.article-dropcap-para::first-letter {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 700;
    float: left;
    line-height: 0.8;
    margin-right: 0.75rem;
    margin-top: 0.25rem;
    color: var(--color-black);
    border: 1px solid var(--color-black);
    padding: 0.4rem 0.6rem;
    background-color: var(--color-white);
}

.article-quote {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    line-height: 1.5;
    color: #0077B6;
    border-left: 3px solid var(--color-black);
    padding-left: 2rem;
    margin: 2rem 0;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    text-align: left;
}

.article-detail-bottom-nav {
    display: flex;
    justify-content: center;
    border-top: 1px solid var(--color-gray-light);
    padding-top: 3rem;
    margin-top: 1rem;
}

.btn-back-blog {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: var(--color-white);
    background-color: var(--color-black);
    border: 1px solid var(--color-black);
    padding: 1rem 2.5rem;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    transition: var(--transition-fast);
    border-radius: 0;
    cursor: pointer;
}

.btn-back-blog svg {
    width: 16px;
    height: 16px;
    transition: transform 0.3s ease;
}

.btn-back-blog:hover {
    background-color: transparent;
    color: var(--color-black);
}

.btn-back-blog:hover svg {
    transform: translateX(-5px);
}

@media (max-width: 768px) {
    .article-page-main {
        padding: 7rem 0 3rem 0 !important; /* Clears mobile navbar */
    }
    .article-detail-card {
        padding: 3rem 1.5rem;
        gap: 1.5rem;
    }
    .article-detail-header {
        padding-bottom: 1.5rem;
    }
    .article-detail-title {
        font-size: 1.8rem;
    }
    .article-detail-hero-container {
        aspect-ratio: 16/10;
    }
    .article-detail-body {
        font-size: 1rem;
        line-height: 1.75;
    }
    .article-quote {
        font-size: 1.1rem;
        padding-left: 1.25rem;
        margin: 1.5rem 0;
    }
    .article-dropcap-para::first-letter {
        font-size: 2.8rem;
        padding: 0.3rem 0.5rem;
    }
    .article-detail-bottom-nav {
        padding-top: 2rem;
    }
}/* Homepage Before/After Section */
.home-before-after-section {
    padding: 6rem 0;
    background-color: var(--color-white);
    border-top: 1px solid var(--color-gray-light);
    border-bottom: 1px solid var(--color-gray-light);
}

.home-before-after-container {
    max-width: 1200px; /* reduced section width to match reference and look clean */
    margin: 0 auto;
    padding: 0 2rem;
}

.home-before-after-layout {
    display: grid;
    grid-template-columns: 320px minmax(0, 1fr); /* reduced left column width for balance */
    gap: 3.5rem; /* slightly tighter gap */
    align-items: center;
}

.home-before-after-text-col {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.home-before-after-subtitle {
    font-family: var(--font-heading); /* sharp luxury headings font */
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    color: #64748b;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
}

.home-before-after-title {
    font-family: var(--font-heading); /* sharp bold headings font matching site identity */
    font-size: 2.8rem;
    font-weight: 700;
    line-height: 1.15;
    color: var(--color-black);
    text-transform: uppercase;
    letter-spacing: 0.03em;
    margin-bottom: 1.5rem;
}

.home-before-after-title .title-sub {
    font-family: var(--font-body); /* brand luxury body font */
    font-size: 1.5rem;
    font-weight: 400;
    color: #64748b;
    display: block;
    margin-top: 0.5rem;
    text-transform: none; /* keep natural title case */
    letter-spacing: 0.02em;
}

.home-before-after-desc {
    font-family: var(--font-body); /* brand luxury body font */
    font-size: 1.05rem;
    line-height: 1.6;
    color: #475569;
    margin-bottom: 2.5rem;
}

.btn-book-visit-premium {
    align-self: flex-start;
    padding: 1rem 2.5rem;
    background-color: var(--color-black);
    color: var(--color-white);
    border: 1px solid var(--color-black);
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    transition: var(--transition-smooth);
    cursor: pointer;
    text-align: center;
}

.btn-book-visit-premium:hover {
    background-color: transparent;
    color: var(--color-black);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
}

.home-before-after-grid-col {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

/* Redefined mini comparison slider for home grid */
.home-before-after-grid-col .slider-container {
    height: 200px; /* rectangular and compact like screenshot */
    margin-bottom: 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    border: 1px solid #f1f5f9;
    transition: all 0.3s ease;
}

.home-before-after-grid-col .slider-container:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
    border-color: #e2e8f0;
}

.home-before-after-grid-col .slider-label {
    position: absolute;
    background-color: rgba(162, 180, 199, 0.9) !important; /* soft steel blue/grey pill badge matching screenshot */
    color: var(--color-white) !important;
    font-family: var(--font-body);
    font-size: 0.7rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 6px;
    z-index: 5; /* sit on top of clipped images to prevent badge clipping */
    pointer-events: none;
    box-shadow: none;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.home-before-after-grid-col .before-label {
    top: 12px;
    left: 12px;
    bottom: unset;
    right: unset;
}

.home-before-after-grid-col .after-label {
    bottom: 12px;
    right: 12px;
    top: unset;
    left: unset;
}

.home-before-after-grid-col .slider-handle-button {
    width: 36px;
    height: 36px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.home-before-after-grid-col .slider-handle-button svg {
    width: 14px;
    height: 14px;
    stroke-width: 2.5px;
}

@media (max-width: 1200px) {
    .home-before-after-layout {
        grid-template-columns: 320px minmax(0, 1fr);
        gap: 2.5rem;
    }
    .home-before-after-title {
        font-size: 2.4rem;
    }
}

@media (max-width: 1024px) {
    .home-before-after-layout {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .home-before-after-text-col {
        text-align: center;
        align-items: center;
    }
    
    .btn-book-visit-outline {
        align-self: center;
    }
    
    .home-before-after-title {
        font-size: 2.6rem;
    }
}

@media (max-width: 640px) {
    .home-before-after-grid-col {
        grid-template-columns: 1fr;
    }
    
    .home-before-after-grid-col .slider-container {
        height: 220px;
    }
    
    .home-before-after-container {
        padding: 0 1rem;
    }
}

/* Clinic Stats Strip Section */
.clinic-stats-strip-section {
    background-color: var(--color-offwhite); /* Warm beige background matching awards */
    border-top: 1px solid var(--color-gray-light);
    padding: 2.25rem 0;
    width: 100%;
}

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

.stat-strip-item {
    display: flex;
    align-items: center;
    gap: 1.2rem;
}

.stat-icon-circle {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #F4F8FA;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.stat-icon-circle i {
    width: 22px;
    height: 22px;
    color: #111111;
}

.google-reviews-icon {
    background: #ffffff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

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

.stat-number {
    font-size: 1.45rem;
    font-weight: 700;
    color: #111111;
    font-family: 'D-DIN', sans-serif;
    line-height: 1.1;
}

.stat-label {
    font-size: 0.8rem;
    color: #666666;
    font-weight: 500;
    margin-top: 0.15rem;
    font-family: 'Brandon Grotesque', sans-serif;
}

@media (max-width: 991px) {
    .stats-strip-container {
        justify-content: center;
        gap: 2.5rem;
    }
}

@media (max-width: 640px) {
    .clinic-stats-strip-section {
        padding: 3rem 0;
    }
    .stats-strip-container {
        flex-direction: column;
        align-items: flex-start;
        padding-left: 2rem;
        gap: 2rem;
    }
}

/* Awards & Media Scrolling Showcase */
.awards-marquee-section {
    background-color: var(--color-offwhite); /* Warm beige background */
    border-top: 1px solid var(--color-gray-light); /* Delicate warm border */
    border-bottom: 1px solid var(--color-gray-light);
    padding: 2.25rem 0;
    overflow: hidden;
    position: relative;
    width: 100%;
}

.awards-marquee-container {
    width: 100%;
    overflow: hidden;
    position: relative;
    display: flex;
}

.awards-marquee-track {
    display: flex;
    align-items: center;
    gap: 6rem;
    width: max-content;
    animation: scroll-left 35s linear infinite;
    will-change: transform;
}

.awards-logo-item {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.awards-logo-item img {
    height: 68px; /* 1.8X increase from original 38px */
    width: auto;
    display: block;
    transition: opacity 0.3s ease;
    opacity: 0.85;
}

.awards-logo-item:hover img {
    opacity: 1;
}

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

/* Responsive adjustment for scrolling awards */
@media (max-width: 768px) {
    .awards-marquee-section {
        padding: 1.5rem 0;
    }
    .awards-marquee-track {
        gap: 3.5rem;
        animation-duration: 25s;
    }
    .awards-logo-item img {
        height: 50px; /* 1.8X increase from original 28px */
    }
}

/* Grayscale Before & After Grid Showcase Styles */
.home-before-after-header {
    margin-bottom: 3rem;
}

.home-before-after-subtitle {
    display: block;
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: var(--color-black);
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.home-before-after-desc-centered {
    max-width: 800px;
    margin: 0 auto;
    font-family: var(--font-body);
    font-size: 1.05rem;
    line-height: 1.6;
    color: #475569;
}

.home-before-after-grid-layout {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin: 3rem 0;
}

.transformation-card {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4/3;
    cursor: pointer;
    background-color: #000;
}

.transformation-image-wrapper {
    width: 100%;
    height: 100%;
    filter: grayscale(100%);
    transition: filter 0.45s ease;
    position: relative;
}

.transformation-card:hover .transformation-image-wrapper {
    filter: grayscale(0%);
}

.layout-side-by-side {
    display: flex;
    width: 100%;
    height: 100%;
}

.layout-side-by-side img {
    width: 50%;
    height: 100%;
    object-fit: cover;
}

.layout-side-by-side img.preview-before {
    border-right: 1px solid #fff;
}

.layout-stacked {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
}

.stacked-img-box {
    height: 50%;
    width: 100%;
    overflow: hidden;
}

.stacked-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.before-box {
    border-bottom: 1px solid #fff;
}

.transformation-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 10;
}

.transformation-card:hover .transformation-overlay {
    opacity: 1;
}

.transformation-btn {
    background-color: rgba(0, 0, 0, 0.85);
    color: var(--color-white);
    border: 1px solid var(--color-white);
    padding: 0.75rem 1.5rem;
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    transform: scale(0.9);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    text-align: center;
}

.transformation-card:hover .transformation-btn {
    transform: scale(1);
}

.transformation-btn:hover {
    background-color: var(--color-white);
    color: var(--color-black);
    border-color: var(--color-white);
}

.home-before-after-footer {
    margin-top: 3.5rem;
}

.link-see-all-transformations {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--color-black);
    text-decoration: none;
    border-bottom: 1.5px solid var(--color-black);
    padding-bottom: 4px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    transition: all 0.2s ease;
}

.link-see-all-transformations:hover {
    color: #0077B6;
    border-bottom-color: #0077B6;
}

/* Transformation Modal Content & Sliders */
.transformation-modal-content {
    max-width: 600px;
    width: 90%;
    padding: 1.25rem;
    background-color: var(--color-white);
    border: 1px solid var(--color-black);
    border-radius: 0;
}

.transformation-modal-body {
    position: relative;
    width: 100%;
    aspect-ratio: 1.25; /* clean rectangular slider layout */
    background-color: #121212;
}

.modal-slider-container {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.modal-slider-container .slider-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.modal-slider-container .slider-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.modal-slider-container .slider-label {
    position: absolute;
    z-index: 5;
    padding: 0.4rem 0.8rem;
    background-color: #a2b4c7;
    color: var(--color-white);
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: 6px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
#modal-slider-container .before-label {
    top: 12px !important;
    left: 12px !important;
    right: auto !important;
    bottom: auto !important;
    width: auto !important;
    height: auto !important;
}

#modal-slider-container .after-label {
    bottom: 12px !important;
    right: 12px !important;
    top: auto !important;
    left: auto !important;
    width: auto !important;
    height: auto !important;
}

.modal-slider-container .slider-range-input {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: ew-resize;
    z-index: 15;
    margin: 0;
}

.modal-slider-container .slider-handle {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 2px;
    background-color: var(--color-white);
    z-index: 10;
    pointer-events: none;
    left: 50%;
    transform: translateX(-50%);
}

.modal-slider-container .slider-handle-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    background-color: var(--color-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
    color: var(--color-black);
}

.modal-slider-container .slider-handle-button svg {
    width: 16px;
    height: 16px;
    stroke-width: 2.5px;
}

@media (max-width: 1024px) {
    .home-before-after-grid-layout {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.25rem;
    }
    .home-before-after-subtitle {
        font-size: 1.8rem;
    }
}

@media (max-width: 640px) {
    .home-before-after-grid-layout {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    .home-before-after-subtitle {
        font-size: 1.5rem;
    }
    .transformation-card {
        aspect-ratio: 4/3;
    }
    .transformation-btn {
        font-size: 0.75rem;
        padding: 0.6rem 1.2rem;
    }
    .transformation-modal-content {
        padding: 0.75rem;
    }
    .transformation-modal-body {
        aspect-ratio: 1.2;
    }
}

/* ==========================================================================
   PRISTINE DENTAL CARE CLINIC - PREMIUM STYLING SHEET
   Theme: Luxury Monochrome (Black & White)
   Typography: D-DIN (Headings) & HvDTrial Brandon Grotesque (Body)
   ========================================================================== */

/* Font Imports */
@import url('https://fonts.cdnfonts.com/css/d-din');
@import url('https://fonts.cdnfonts.com/css/hvdtrial-brandon-grotesque');
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700;800&display=swap');

/* Design Tokens & Variables */
:root {
    --color-black: #091026;      /* Deep Navy Black */
    --color-dark: #0B2545;       /* Rich Sapphire Navy Blue */
    --color-gray-dark: #134074;  /* Deep Slate/Diamond Blue */
    --color-gray-medium: #0077B6;/* Bright Diamond Blue Accent */
    --color-gray-light: #EEF4F8; /* Soft Ice Blue Border */
    --color-offwhite: #F4F8FA;   /* Premium Clinical Ice White Canvas */
    --color-white: #ffffff;
    --color-primary: #0077B6;    /* Primary Sky Blue Highlight */
    --color-primary-gradient: linear-gradient(135deg, #0077B6 0%, #00B4D8 100%);
    --color-primary-gradient-hover: linear-gradient(135deg, #0088CC 0%, #00C6FF 100%);
    
    --font-heading: 'D-DIN', sans-serif;
    --font-body: 'HvDTrial Brandon Grotesque', sans-serif;
    --font-reviews: 'Montserrat', sans-serif;
    
    --transition-smooth: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-fast: all 0.2s ease;
    
    --shadow-soft: 0 15px 35px rgba(0, 0, 0, 0.05);
    --shadow-hover: 0 25px 50px rgba(0, 0, 0, 0.1);
    --shadow-input: inset 0 2px 4px rgba(0,0,0,0.02);
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

a {
    text-decoration: none !important;
    color: inherit;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    background-color: var(--color-offwhite);
    color: var(--color-dark);
}

body {
    font-family: var(--font-body);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

/* Container Utilities */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

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

/* Premium Typography Rules */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-black);
}

p {
    font-size: 1.125rem;
    font-weight: 400;
    color: var(--color-gray-medium);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 99999 !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    background-color: rgba(13, 13, 13, 0.95);
    backdrop-filter: blur(10px);
    transition: var(--transition-smooth);
    padding: 0.8rem 0;
}

.navbar.scrolled {
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-soft);
}

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

.logo-block {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start; /* Align logo to the left corner */
    justify-content: center;
    text-decoration: none;
    transition: var(--transition-smooth);
}

.navbar.scrolled .logo-block {
    margin-top: 0;
    margin-bottom: 0;
    padding: 0;
}

.logo-script {
    font-family: 'Great Vibes', cursive;
    font-size: 1.95rem;
    color: #0077B6; /* Elegant gold unscrolled */
    line-height: 1.05;
    font-weight: 400;
    letter-spacing: 0.01em;
    transition: var(--transition-fast);
}

.navbar.scrolled .logo-script {
    color: #121212; /* Dark black on scrolled */
}

.logo-subtitle {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.65rem;
    color: #ffffff; /* White unscrolled */
    letter-spacing: 0.15em;
    margin-top: 0.15rem;
    text-transform: uppercase;
    line-height: 1;
    transition: var(--transition-fast);
}

.navbar.scrolled .logo-subtitle {
    color: #666666; /* Gray on scrolled */
}

.nav-links {
    flex: 2; /* Centering ratio */
    display: flex;
    justify-content: center; /* Center links horizontally */
    align-items: center;
    gap: 2.5rem;
    list-style: none;
}

.nav-cta {
    flex: 1; /* Match logo ratio to balance centering */
    display: flex;
    justify-content: flex-end; /* Align CTA button to the right corner */
    align-items: center;
}

.mobile-only-btn {
    display: none; /* Hidden on desktop */
}

.nav-link {
    text-decoration: none;
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition-fast);
    position: relative;
    padding: 0.5rem 0;
}

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

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

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

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

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

.navbar.scrolled .nav-link::after {
    background-color: var(--color-black);
}

.btn-book-nav {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    background: var(--color-primary-gradient) !important;
    color: var(--color-white) !important;
    border: none !important;
    padding: 0.7rem 1.8rem;
    border-radius: 50px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    transition: var(--transition-smooth);
    text-decoration: none !important;
}

.btn-book-nav i {
    width: 16px;
    height: 16px;
    stroke-width: 2px;
    margin-bottom: 2px; /* optical alignment */
}

.btn-book-nav:hover {
    background: var(--color-primary-gradient-hover) !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 119, 182, 0.35);
    text-decoration: none !important;
}

.btn-book-nav:hover::after {
    display: none;
}

.navbar.scrolled .btn-book-nav {
    background: var(--color-primary-gradient) !important;
    color: var(--color-white) !important;
    border: none;
}

.navbar.scrolled .btn-book-nav:hover {
    background: var(--color-primary-gradient-hover) !important;
    color: var(--color-white) !important;
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--color-white);
    font-size: 1.5rem;
    transition: var(--transition-fast);
}

.navbar.scrolled .menu-toggle {
    color: var(--color-black);
}

.menu-toggle.active {
    color: #ffffff !important;
}

.menu-toggle .close-icon {
    display: none;
}

.menu-toggle.active .menu-icon {
    display: none;
}

.menu-toggle.active .close-icon {
    display: block;
}

/* Hero Section */
/* Hero Section */
.hero-section {
    position: relative;
    height: 92vh; /* Increased container height for a grander look */
    min-height: 550px;
    background-color: var(--color-dark);
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: var(--color-white);
    padding-top: 80px;
    overflow: hidden; /* Prevent background video overflow */
}

/* Hero Section Overlay and Content ordering for video backgrounds */
.hero-section .hero-overlay {
    display: none; /* Completely remove the dark black overlay */
}

.hero-section .hero-content {
    position: relative;
    z-index: 3;
}

/* Clear, sharp, full-color background video with no filters (scaled up to cover rounding gaps) */
.hero-section .header-video-bg {
    filter: none !important;
    height: 108% !important;
    top: -4% !important;
    transform: scale(1.05) !important;
    pointer-events: none; /* Disable mouse/pointer interactions, preventing manual pause/controls */
}

/* Text shadow shader to ensure maximum readability over the colored video */
.hero-section .hero-title,
.hero-section .hero-subtitle,
.hero-section .hero-description {
    text-shadow: 0 3px 12px rgba(0, 0, 0, 0.85), 0 1px 3px rgba(0, 0, 0, 0.5);
}

/* Page Header for Inner Subpages */
.page-header {
    position: relative;
    height: 45vh;
    min-height: 350px;
    background-color: var(--color-dark);
    background-image: linear-gradient(rgba(0,0,0,0.65), rgba(0,0,0,0.75)), url('assets/dental clinic near me.avif');
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: var(--color-white);
    padding-top: 80px;
}

.before-after-hero,
.testimonials-hero {
    height: 100vh;
    min-height: 650px;
}

.hero-content {
    max-width: 800px;
    padding: 0 2rem;
    z-index: 2;
}

.hero-title {
    font-size: 4rem;
    line-height: 1.1;
    color: var(--color-white);
    margin-bottom: 0.5rem;
}

.hero-subtitle {
    font-size: 2.2rem;
    font-weight: 400;
    letter-spacing: 0.15em;
    color: var(--color-white);
    margin-bottom: 2rem;
    border-bottom: 1.5px solid rgba(255, 255, 255, 0.2);
    display: inline-block;
    padding-bottom: 0.5rem;
}

.hero-description {
    font-size: 1.25rem;
    color: var(--color-gray-light);
    max-width: 600px;
    margin: 0 auto;
    font-weight: 300;
}

/* Animations */
.animate-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Booking Section & Floating Card */
.booking-section {
    position: relative;
    z-index: 10;
    margin-top: -100px; /* Overlaps Hero */
    padding-bottom: 5rem;
}

.booking-container {
    max-width: 1150px; /* 15% increase in width */
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Split Booking Card Layout */
.booking-card-split {
    display: grid;
    grid-template-columns: 36% 64%;
    background-color: var(--color-white);
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.12), 0 10px 20px rgba(0, 0, 0, 0.05); /* Deep premium shadow */
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 24px;
    overflow: hidden;
}

/* Left Pane: Info & Branding */
.booking-info-pane {
    background-color: var(--color-dark);
    padding: 2rem 2rem;
    color: var(--color-white);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.booking-badge {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    color: #0077B6; /* Gold */
    margin-bottom: 0.25rem;
    display: block;
}

.booking-pane-title {
    font-size: 2rem;
    color: var(--color-white);
    margin-bottom: 0.2rem;
    line-height: 1.1;
}

.booking-pane-subtitle {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    color: #0077B6;
    margin-bottom: 0.75rem;
}

.booking-pane-desc {
    font-size: 0.95rem;
    color: var(--color-gray-light);
    line-height: 1.5;
    margin-bottom: 1rem;
    font-weight: 300;
}

.clinic-details-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.detail-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.detail-icon {
    width: 20px;
    height: 20px;
    color: #0077B6;
    margin-top: 2px;
}

.detail-item h5 {
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    color: var(--color-white);
    margin-bottom: 0.2rem;
}

.detail-item p {
    font-size: 0.9rem;
    color: #cccccc;
}

/* Right Pane: Form Inputs */
.booking-form-pane {
    padding: 2rem 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.booking-form-title {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--color-black);
    position: relative;
}

.booking-form-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: var(--color-black);
}

.booking-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* Form Row side-by-side elements */
.form-row-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.1rem;
}

/* Interactive Time Grid Selector */
.time-slots-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(105px, 1fr));
    gap: 8px;
    margin-top: 0.75rem;
    max-height: 220px;
    overflow-y: auto;
    padding: 6px;
    border: 1px solid var(--color-gray-light);
    border-radius: 8px;
    background-color: var(--color-offwhite);
}

.time-slot-btn {
    background-color: var(--color-white);
    border: 1px solid var(--color-gray-light);
    border-radius: 6px;
    padding: 9px 8px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--color-gray-dark);
    text-align: center;
    cursor: pointer;
    transition: var(--transition-fast);
}

.time-slot-btn:hover:not(:disabled) {
    border-color: var(--color-black);
    background-color: var(--color-offwhite);
}

.time-slot-btn.selected {
    background-color: #0077B6; /* Gold brand background */
    border-color: #0077B6;
    color: var(--color-white);
}

.time-slot-btn:disabled {
    background-color: #f2f2f2;
    border-color: #e5e5e5;
    color: #b5b5b5; /* Greyed out */
    cursor: not-allowed;
    text-decoration: line-through;
}

/* Clickable trigger styling to look like select dropdown */
.time-select-trigger-btn {
    width: 100%;
    padding: 0.7rem 1.1rem;
    border: 1px solid #c0c0c0;
    border-radius: 8px;
    background-color: #f5f5f5;
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--color-dark);
    outline: none;
    transition: var(--transition-fast);
    box-shadow: var(--shadow-input);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.time-select-trigger-btn:hover {
    border-color: var(--color-black);
    background-color: var(--color-white);
}

.time-chevron-icon {
    width: 16px;
    height: 16px;
    color: var(--color-gray-medium);
    pointer-events: none;
}

/* Time Slot Modal Layout & Grid Styling */
.time-slot-modal-content {
    max-width: 600px;
    width: 90%;
    padding: 2.5rem;
    border-radius: 16px;
    border: none;
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.25);
    background-color: var(--color-white);
}

.time-slots-grid-popup {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    max-height: 320px;
    overflow-y: auto;
    padding: 8px;
    border: 1px solid var(--color-gray-light);
    border-radius: 8px;
    background-color: var(--color-offwhite);
}

@media (max-width: 576px) {
    .time-slots-grid-popup {
        grid-template-columns: repeat(2, 1fr);
        max-height: 250px;
    }
}

.btn-confirm-slot {
    background-color: var(--color-black);
    color: var(--color-white);
    border: 1px solid var(--color-black);
    padding: 0.8rem 2rem;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 0.1em;
    cursor: pointer;
    transition: var(--transition-fast);
    border-radius: 6px;
}

.btn-confirm-slot:hover {
    background-color: #0077B6;
    border-color: #0077B6;
}

/* Premium Confirm Button */
.btn-book-submit-premium {
    background-color: var(--color-black);
    color: var(--color-white);
    border: 1px solid var(--color-black);
    padding: 1.1rem 2rem;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 0.1em;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    transition: var(--transition-smooth);
    border-radius: 8px;
    margin-top: 1.5rem;
    width: 100%;
}

.btn-book-submit-premium i {
    width: 18px;
    height: 18px;
    transition: var(--transition-smooth);
}

.btn-book-submit-premium:hover {
    background-color: var(--color-primary); /* Golden beige on hover */
    border-color: var(--color-primary);
    color: var(--color-white);
}

.btn-book-submit-premium:hover i {
    transform: translateX(5px);
}

/* Logo Image Styling */
.logo-image {
    height: 54px;
    width: auto;
    transition: var(--transition-smooth);
    object-fit: contain;
    filter: brightness(0) invert(1) !important; /* Force logo to be white on dark header */
}

@media (max-width: 768px) {
    .logo-image {
        height: 40px;
    }
}

.navbar.scrolled .logo-image {
    height: 42px;
    filter: brightness(0) !important; /* Force logo to be black on white scrolled header */
}

@media (max-width: 768px) {
    .navbar.scrolled .logo-image {
        height: 32px;
        filter: brightness(0) !important; /* Force logo to be black on mobile white scrolled header */
    }
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.4rem; /* Reduced to 70% height spacing */
}

.form-label {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--color-gray-medium);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.form-label i {
    width: 14px;
    height: 14px;
}

.booking-form input[type="date"],
.booking-form input[type="text"],
.booking-form input[type="tel"],
.booking-form select {
    width: 100%;
    padding: 0.7rem 1.1rem; /* Proportional 70% height padding */
    border: 1px solid #c0c0c0;
    border-radius: 8px; /* Rounded fields */
    background-color: #f5f5f5;
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--color-dark);
    outline: none;
    transition: var(--transition-fast);
    box-shadow: var(--shadow-input);
    -webkit-appearance: none;
}

.booking-form input[type="date"]:focus,
.booking-form input[type="text"]:focus,
.booking-form input[type="tel"]:focus,
.booking-form select:focus {
    border-color: var(--color-black);
    background-color: var(--color-white);
}

/* Custom Select Dropdown Styling */
.custom-select-wrapper {
    position: relative;
}

.custom-select-wrapper::after {
    content: '▼';
    font-size: 0.7rem;
    color: var(--color-gray-medium);
    position: absolute;
    right: 1.25rem;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
}

/* Phone Input Group with Country Code (Unified single field) */
.phone-input-group {
    display: flex;
    align-items: center;
    width: 100%;
    border: 1px solid #c0c0c0;
    border-radius: 8px;
    background-color: #f5f5f5;
    box-shadow: var(--shadow-input);
    transition: var(--transition-fast);
}

.phone-input-group:focus-within {
    border-color: var(--color-black);
    background-color: var(--color-white);
}

.country-code-select {
    width: 82px !important;
    flex-shrink: 0;
    border: none !important;
    border-right: 1px solid #c0c0c0 !important;
    border-radius: 8px 0 0 8px !important;
    background-color: transparent !important;
    padding: 0.7rem 0.5rem !important;
    font-weight: 700;
    font-family: var(--font-body);
    color: var(--color-dark);
    outline: none;
    cursor: pointer;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23888' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 6px center;
    background-size: 11px;
    padding-right: 16px !important;
    box-shadow: none !important;
}

.phone-number-field {
    flex-grow: 1;
    width: 100% !important;
    min-width: 0;
    border: none !important;
    border-radius: 0 8px 8px 0 !important;
    background-color: transparent !important;
    padding: 0.7rem 1rem !important;
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--color-dark);
    outline: none;
    box-shadow: none !important;
}

/* Booking Grid Alignment Tweaks */
.phone-grid-group {
    margin-bottom: 0;
}

.grid-spacer {
    display: block;
}

.button-grid-group {
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
    height: 100%;
}

/* Custom Checkbox Toggle */
.sms-toggle {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    user-select: none;
}

.sms-toggle input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.sms-slider {
    position: relative;
    display: inline-block;
    width: 44px;
    height: 24px;
    background-color: var(--color-gray-light);
    transition: .4s;
    border: 1px solid var(--color-gray-light);
}

.sms-slider:before {
    position: absolute;
    content: "";
    height: 16px;
    width: 16px;
    left: 3px;
    bottom: 3px;
    background-color: var(--color-white);
    transition: .4s;
}

.sms-toggle input:checked + .sms-slider {
    background-color: var(--color-black);
    border-color: var(--color-black);
}

.sms-toggle input:checked + .sms-slider:before {
    transform: translateX(20px);
}

.sms-label {
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--color-gray-dark);
}

/* Booking Submit Button */
.btn-book-submit {
    background-color: var(--color-black);
    color: var(--color-white);
    border: 1px solid var(--color-black);
    padding: 1.2rem 3rem;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.05rem;
    letter-spacing: 0.1em;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    transition: var(--transition-smooth);
    border-radius: 8px; /* Rounded corners */
}

.btn-book-submit i {
    width: 18px;
    height: 18px;
    transition: var(--transition-smooth);
}

.btn-book-submit:hover {
    background-color: var(--color-white);
    color: var(--color-black);
}

.btn-book-submit:hover i {
    transform: translateX(5px);
}

/* Experience / The Craft Section */
.experience-section {
    padding: 6rem 0;
    background-color: var(--color-white);
}

.section-title {
    font-size: 2.2rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--color-black);
}

.section-subtitle {
    max-width: 700px;
    margin: 0 auto 4rem auto;
    font-size: 1.15rem;
    line-height: 1.7;
    font-weight: 300;
}

.experience-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
}

.experience-col {
    padding: 1rem 0;
}

.experience-focus-title {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.75rem;
}

.experience-focus-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 1px;
    background-color: var(--color-black);
}

.experience-text {
    font-size: 1.05rem;
    line-height: 1.7;
    text-align: justify;
}

/* Before / After Transformation Slider */
.slider-section {
    padding: 6rem 0;
    background-color: var(--color-offwhite);
    border-top: 1px solid var(--color-gray-light);
    border-bottom: 1px solid var(--color-gray-light);
}

.slider-wrapper {
    max-width: 900px;
    margin: 0 auto;
}

.comparison-slider {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(0, 0, 0, 0.1);
    --position: 50%;
}

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

.image-before {
    z-index: 1;
}

.image-after-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    clip-path: polygon(0 0, var(--position) 0, var(--position) 100%, 0 100%);
}

.slider-handle {
    position: absolute;
    top: 0;
    bottom: 0;
    left: var(--position);
    transform: translateX(-50%);
    width: 4px;
    background-color: var(--color-white);
    z-index: 3;
    pointer-events: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.handle-line {
    flex-grow: 1;
    width: 2px;
    background-color: var(--color-white);
    box-shadow: 0 0 10px rgba(0,0,0,0.3);
}

.handle-button {
    background-color: var(--color-white);
    color: var(--color-black);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
    border: 2px solid var(--color-black);
    cursor: ew-resize;
    pointer-events: auto;
    transition: var(--transition-fast);
}

.handle-button:hover {
    transform: scale(1.1);
    background-color: var(--color-black);
    color: var(--color-white);
    border-color: var(--color-white);
}

.handle-button i {
    width: 18px;
    height: 18px;
}

.slider-label {
    position: absolute;
    bottom: 20px;
    padding: 0.5rem 1rem;
    font-family: var(--font-heading);
    font-size: 0.85rem;
    letter-spacing: 0.1em;
    font-weight: 700;
    color: var(--color-white);
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    z-index: 4;
    pointer-events: none;
}

.label-before {
    right: 20px;
}

.label-after {
    left: 20px;
}

/* Services Section */
.services-section {
    padding: 6rem 0;
    background-color: var(--color-white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
}

.service-card {
    background-color: var(--color-offwhite);
    border: 1px solid var(--color-gray-light);
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: var(--transition-smooth);
}

.service-card:hover {
    transform: translateY(-5px);
    border-color: var(--color-black);
    box-shadow: var(--shadow-soft);
}

.service-image-container {
    position: relative;
    width: 100%;
    aspect-ratio: 4/3;
    overflow: hidden;
    background-color: var(--color-gray-light);
    border-bottom: 1px solid var(--color-gray-light);
}

.service-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%) contrast(1.1);
    transition: var(--transition-smooth);
}

.service-card:hover .service-image {
    transform: scale(1.05);
    filter: grayscale(0%) contrast(1);
}

.service-content {
    padding: 2.5rem 2rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex-grow: 1;
    gap: 2rem;
}

.service-desc {
    font-size: 1.05rem;
    line-height: 1.6;
    color: var(--color-gray-dark);
}

.btn-service-cta {
    display: block;
    text-align: center;
    border: 1px solid var(--color-black);
    background-color: var(--color-white);
    color: var(--color-black);
    text-decoration: none;
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: 0.1em;
    font-size: 0.95rem;
    padding: 1rem 0;
    transition: var(--transition-smooth);
}

.btn-service-cta:hover {
    background-color: var(--color-black);
    color: var(--color-white);
}

/* About Doctor Section */
.about-doctor-section {
    padding: 6rem 0;
    background-color: var(--color-offwhite);
    border-top: 1px solid var(--color-gray-light);
    border-bottom: 1px solid var(--color-gray-light);
}

.about-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    align-items: center;
}

.badge-about {
    display: inline-block;
    background-color: var(--color-black);
    color: var(--color-white);
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    padding: 0.4rem 1.2rem;
    margin-bottom: 1.5rem;
}

.about-name {
    font-size: 2.8rem;
    line-height: 1.1;
    margin-bottom: 0.5rem;
}

.about-qualifications {
    font-size: 1.05rem;
    font-weight: 400;
    color: var(--color-gray-medium);
    margin-bottom: 2rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.qualification-divider {
    color: var(--color-gray-light);
}

.about-bio-lead {
    font-size: 1.15rem;
    font-weight: 500;
    line-height: 1.7;
    color: var(--color-dark);
    margin-bottom: 1.5rem;
}

.about-bio-text {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--color-gray-medium);
    margin-bottom: 2.5rem;
}

.about-actions {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.btn-about-book {
    background-color: var(--color-black);
    color: var(--color-white);
    border: 1px solid var(--color-black);
    padding: 1rem 2rem;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 0.1em;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition-smooth);
}

.btn-about-book:hover {
    background-color: var(--color-white);
    color: var(--color-black);
}

.btn-about-book i {
    width: 16px;
    height: 16px;
    transition: var(--transition-smooth);
}

.btn-about-book:hover i {
    transform: translateX(3px);
}

.btn-about-more {
    background-color: transparent;
    color: var(--color-black);
    border: 1px solid var(--color-black);
    padding: 1rem 2.2rem;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 0.1em;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    transition: var(--transition-smooth);
}

.btn-about-more:hover {
    background-color: var(--color-black);
    color: var(--color-white);
}

.about-image-wrapper {
    position: relative;
    padding: 0.75rem;
    background-color: var(--color-white);
    border: 1px solid var(--color-gray-light);
    box-shadow: var(--shadow-soft);
}

.about-photo {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    filter: grayscale(100%);
    transition: var(--transition-smooth);
}

.about-image-wrapper:hover .about-photo {
    filter: grayscale(0%);
}

.experience-badge {
    position: absolute;
    bottom: -15px;
    right: -15px;
    background-color: var(--color-black);
    color: var(--color-white);
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    border: 2px solid var(--color-white);
    box-shadow: var(--shadow-hover);
}

.badge-icon-box {
    display: flex;
    align-items: center;
    justify-content: center;
}

.badge-icon-box i {
    width: 24px;
    height: 24px;
    color: var(--color-white);
}

.badge-text-box {
    display: flex;
    flex-direction: column;
}

.badge-number {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    line-height: 1;
}

.badge-label {
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 400;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--color-gray-light);
}

/* Duplicate reviews styles removed - custom glassmorphic executive styles dominate now */


/* Footer Styling */
.footer {
    background-color: var(--color-black);
    color: var(--color-gray-medium);
    padding: 5rem 0 3rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr 1.5fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-col.brand {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.footer-tagline {
    font-size: 1rem;
    color: var(--color-gray-medium);
    max-width: 250px;
}

.footer-title {
    font-size: 1rem;
    color: var(--color-white);
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
    display: inline-block;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 20px;
    height: 1px;
    background-color: var(--color-white);
}

.footer-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-col ul a {
    text-decoration: none;
    color: var(--color-gray-medium);
    font-size: 0.95rem;
    transition: var(--transition-fast);
}

.footer-col ul a:hover {
    color: var(--color-white);
}

.footer-col p {
    font-size: 0.95rem;
    color: var(--color-gray-medium);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.footer-icon {
    width: 16px;
    height: 16px;
    color: var(--color-white);
}

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

/* Modal Styling */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(5px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition-smooth);
}

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

.modal-content {
    background-color: var(--color-white);
    width: 100%;
    max-width: 500px;
    padding: 3rem;
    position: relative;
    border: 1px solid var(--color-black);
    transform: translateY(20px);
    transition: var(--transition-smooth);
}

.modal.active .modal-content {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    font-size: 1.8rem;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--color-gray-medium);
    transition: var(--transition-fast);
}

.modal-close:hover {
    color: var(--color-black);
}

.modal-header {
    text-align: center;
    margin-bottom: 2rem;
}

.modal-success-icon {
    width: 48px;
    height: 48px;
    color: var(--color-black);
    margin-bottom: 1rem;
}

.modal-title {
    font-size: 1.4rem;
    color: var(--color-black);
}

.modal-body {
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--color-gray-dark);
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

.modal-details {
    background-color: var(--color-offwhite);
    padding: 1.5rem;
    border: 1px solid var(--color-gray-light);
    margin: 1.5rem 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.modal-details p {
    font-size: 0.95rem;
    color: var(--color-black);
}

.modal-details p strong {
    font-family: var(--font-heading);
    letter-spacing: 0.05em;
}

.modal-note {
    font-size: 0.9rem;
    color: var(--color-gray-medium);
}

.btn-modal-close {
    width: 100%;
    background-color: var(--color-black);
    color: var(--color-white);
    border: 1px solid var(--color-black);
    padding: 1rem 0;
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: 0.1em;
    cursor: pointer;
    transition: var(--transition-smooth);
    border-radius: 0;
}

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

/* Cases Selection Tabs (For Before/After Slider) */
.cases-tabs-container {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 1.5rem;
}

.case-tab-btn {
    background: transparent;
    border: 1px solid var(--color-gray-light);
    color: var(--color-gray-medium);
    padding: 0.6rem 1.8rem;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    cursor: pointer;
    transition: var(--transition-fast);
    border-radius: 0;
}

.case-tab-btn:hover {
    border-color: var(--color-black);
    color: var(--color-black);
}

.case-tab-btn.active {
    background-color: var(--color-black);
    color: var(--color-white);
    border-color: var(--color-black);
}

/* Signature Treatments Section */
.signature-treatments-section {
    padding: 6rem 0;
    background-color: #121212; /* Solid dark background */
    color: var(--color-white);
}

.text-gold {
    color: #0077B6 !important;
}

.text-gold-light {
    color: #F4F8FA !important;
}

.white-text {
    color: #c0c0c0 !important;
}

.light-text {
    color: #dddddd !important;
}

.signature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    margin-top: 3.5rem;
}

.signature-card {
    background-color: #1c1c1c;
    border: 1px solid #2e2e2e;
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: var(--transition-smooth);
}

.signature-card:hover {
    transform: translateY(-5px);
    border-color: #0077B6;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.5);
}

.signature-image-container {
    width: 100%;
    aspect-ratio: 16/9;
    overflow: hidden;
    background-color: #252525;
    border-bottom: 1px solid #2e2e2e;
}

.signature-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%);
    transition: var(--transition-smooth);
}

.signature-card:hover .signature-image {
    transform: scale(1.05);
    filter: grayscale(0%);
}

.signature-card-content {
    padding: 2.5rem 2rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex-grow: 1;
    gap: 1.5rem;
}

.signature-card-title {
    font-size: 1.35rem;
    color: var(--color-white);
}

.signature-card-desc {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #a0a0a0;
}

.btn-watch-cases {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    border: 1px solid var(--color-white);
    background-color: var(--color-white);
    color: var(--color-black);
    text-decoration: none;
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: 0.1em;
    font-size: 0.9rem;
    padding: 0.9rem 0;
    width: 100%;
    transition: var(--transition-smooth);
    border-radius: 0;
}

.btn-watch-cases i {
    width: 18px;
    height: 18px;
}

.btn-watch-cases:hover {
    background-color: transparent;
    color: var(--color-white);
    border-color: var(--color-white);
}

/* Some Transformed Smiles Section */
.transformed-smiles-section {
    position: relative;
    padding: 8rem 0;
    background-image: url('assets/smiles_collage.jpg');
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
    color: var(--color-white);
    overflow: hidden;
}

.collage-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(10, 10, 10, 0.88);
    z-index: 1;
}

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

.transformed-content-container {
    display: flex;
    justify-content: center;
    margin-top: 4rem;
}

.video-testimonial-card {
    position: relative;
    width: 100%;
    max-width: 650px;
    border: 4px solid var(--color-white);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
    overflow: hidden;
    cursor: pointer;
}

.video-thumbnail {
    width: 100%;
    height: auto;
    display: block;
    filter: grayscale(20%);
    transition: var(--transition-smooth);
}

.video-testimonial-card:hover .video-thumbnail {
    transform: scale(1.02);
    filter: grayscale(0%);
}

.video-overlay-btn {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(0, 0, 0, 0.15);
    transition: var(--transition-fast);
}

.video-testimonial-card:hover .video-overlay-btn {
    background-color: rgba(0, 0, 0, 0.3);
}

.play-btn-circle {
    width: 76px;
    height: 76px;
    background-color: rgba(255, 255, 255, 0.95);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: var(--transition-smooth);
    border: 2px solid var(--color-white);
}

.play-btn-circle i {
    width: 24px;
    height: 24px;
    color: var(--color-black);
    margin-left: 4px; /* Centering offset for play icon */
}

.video-testimonial-card:hover .play-btn-circle {
    transform: scale(1.1);
    background-color: #0077B6;
}

.video-testimonial-card:hover .play-btn-circle i {
    color: var(--color-white);
}

.video-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.85));
    padding: 2rem 1.5rem 1.5rem 1.5rem;
    color: var(--color-white);
}

.video-patient-name {
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
    text-transform: none;
    letter-spacing: 0.02em;
    color: var(--color-white);
}

.video-patient-duration {
    font-size: 0.8rem;
    font-family: var(--font-body);
    color: #cccccc;
}

.btn-transformed-more {
    background-color: #0077B6;
    color: var(--color-white);
    border: 1px solid #0077B6;
    padding: 1.2rem 3.5rem;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 0.1em;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    transition: var(--transition-smooth);
    border-radius: 0;
    box-shadow: 0 4px 15px rgba(197, 168, 128, 0.3);
}

.btn-transformed-more:hover {
    background-color: var(--color-white);
    color: var(--color-black);
    border-color: var(--color-white);
    box-shadow: 0 4px 20px rgba(255, 255, 255, 0.4);
}

.btn-transformed-more i {
    width: 18px;
    height: 18px;
    transition: var(--transition-smooth);
}

/* Seamless Procedure Gallery Section (3-column tiled grid matching screenshot) */
.gallery-section {
    padding: 6rem 0 0 0;
    background-color: var(--color-white);
    overflow: hidden;
}

.container-title-box {
    max-width: 800px;
    margin: 0 auto 3.5rem auto;
    padding: 0 1.5rem;
}

.gallery-tiled-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0; /* Zero gaps for a seamless tiled appearance */
    width: 100%;
}

.gallery-tile-item {
    position: relative;
    aspect-ratio: 4/3; /* Consistent landscape aspect ratio */
    overflow: hidden;
    cursor: pointer;
    background-color: var(--color-black);
}

.gallery-tile-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    display: block;
}

/* Subtle dark gradient overlay to ensure text legibility */
.gallery-tile-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.65) 0%, rgba(0, 0, 0, 0.1) 60%, rgba(0, 0, 0, 0) 100%);
    opacity: 0.85;
    transition: opacity 0.4s ease;
}

.gallery-tile-title {
    position: absolute;
    bottom: 1.5rem;
    left: 1.5rem;
    color: var(--color-white);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.2rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    z-index: 10;
    transition: transform 0.4s ease, color 0.4s ease;
}

/* Hover Effects */
.gallery-tile-item:hover img {
    transform: scale(1.05); /* Gentle premium magnification */
}

.gallery-tile-item:hover .gallery-tile-overlay {
    opacity: 0.95; /* Darken overlay slightly */
}

.gallery-tile-item:hover .gallery-tile-title {
    color: #0077B6; /* Transition to signature gold on hover */
    transform: translateY(-2px);
}

/* Specialized Treatments Grid Section (New Grid matching image 1) */
.specialized-treatments-section {
    padding: 6rem 0;
    background-color: var(--color-offwhite);
    border-top: 1px solid var(--color-gray-light);
    border-bottom: 1px solid var(--color-gray-light);
}

.specialized-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 3.5rem;
}

.specialized-card {
    background-color: var(--color-white);
    border: 1px solid var(--color-gray-light);
    border-radius: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: var(--transition-smooth);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.01);
}

.specialized-card:hover {
    transform: translateY(-4px);
    border-color: var(--color-black);
    box-shadow: var(--shadow-soft);
}

.specialized-image-box {
    width: 100%;
    aspect-ratio: 16/10;
    overflow: hidden;
    background-color: var(--color-gray-light);
    border-bottom: 1px solid var(--color-gray-light);
}

.specialized-image-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%) contrast(1.05);
    transition: var(--transition-smooth);
}

.specialized-card:hover .specialized-image-box img {
    filter: grayscale(0%) contrast(1);
    transform: scale(1.04);
}

.specialized-info {
    padding: 2.2rem 2rem;
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    flex-grow: 1;
}

.specialized-card-title {
    font-size: 1.35rem;
    color: var(--color-black);
    margin-bottom: 0.25rem;
}

.specialized-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    margin-bottom: 3.5rem; /* Leaves space for the arrow button */
}

.specialized-list li {
    font-size: 0.95rem;
    line-height: 1.4;
    color: var(--color-gray-dark);
    position: relative;
    padding-left: 1.25rem;
}

.specialized-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    top: 0;
    color: var(--color-gray-medium);
    font-weight: 700;
}

.btn-card-arrow {
    position: absolute;
    bottom: 2rem;
    left: 2rem;
    width: 44px;
    height: 44px;
    background-color: var(--color-offwhite);
    border: 1px solid var(--color-gray-light);
    color: var(--color-black);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
    text-decoration: none;
}

.btn-card-arrow i {
    width: 18px;
    height: 18px;
    transition: var(--transition-fast);
}

.btn-card-arrow:hover {
    background-color: var(--color-black);
    color: var(--color-white);
    border-color: var(--color-black);
}

.btn-card-arrow:hover i {
    transform: translateX(2px);
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */

@media (max-width: 1024px) {
    .hero-title {
        font-size: 3.2rem;
    }
    
    .hero-subtitle {
        font-size: 1.8rem;
    }
    
    .booking-section {
        margin-top: -60px;
    }
    
    .booking-card-split {
        grid-template-columns: 1fr;
        border-radius: 16px;
    }
    
    .booking-info-pane {
        padding: 2.5rem 2rem;
    }
    
    .booking-form-pane {
        padding: 2.5rem 2rem;
    }
    
    .form-row-2 {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }
    
    .time-slots-grid {
        grid-template-columns: repeat(auto-fill, minmax(90px, 1fr));
    }
    
    .btn-book-submit {
        width: 100%;
        justify-content: center;
    }
    
    .experience-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
        max-width: 500px;
        margin: 0 auto;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }

    /* About Section Responsive */
    .about-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .about-image-col {
        order: -1;
    }

    /* Reviews Section Responsive */
    .reviews-layout {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .reviews-summary-col {
        padding: 2rem 1.5rem !important;
        margin-bottom: 1.5rem;
    }

    .review-card {
        flex: 0 0 calc(50% - 0.75rem); /* Show exactly 2 cards side-by-side on tablet */
    }

    .reviews-carousel-control.prev-btn {
        left: -10px;
    }

    .reviews-carousel-control.next-btn {
        right: -10px;
    }

    /* Signature Treatments Responsive */
    .signature-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        max-width: 500px;
        margin: 3.5rem auto 0 auto;
    }

    /* Transformed Smiles Responsive */
    .transformed-smiles-section {
        padding: 6rem 0;
    }

    /* Gallery & Specialized Grid Tablet Responsive */
    .gallery-tiled-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .specialized-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }
    
    .nav-cta {
        display: none; /* Hide desktop button on mobile */
    }
    
    .navbar.scrolled {
        background-color: rgba(13, 13, 13, 0.95) !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
    }
    .navbar.scrolled .menu-toggle {
        color: #ffffff !important;
    }
    
    .mobile-only-btn {
        display: block !important;
        width: 100% !important;
        padding: 1.5rem !important;
        border-bottom: none !important;
    }
    
    .nav-links {
        position: fixed !important;
        top: 75px !important; /* Start right below the navbar */
        left: 0 !important;
        width: 100% !important;
        height: calc(100vh - 75px) !important;
        background-color: #091026 !important; /* Premium dark warm brown background */
        display: flex !important;
        flex-direction: column !important;
        justify-content: flex-start !important;
        align-items: stretch !important; /* Stretch rows to full width */
        gap: 0 !important;
        padding: 0 !important;
        transform: translateY(-120%) !important;
        transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
        z-index: 998 !important;
        overflow-y: auto !important;
        flex: none !important;
    }
    
    .navbar.scrolled .nav-links {
        background-color: #091026 !important;
        top: 70px !important;
        height: calc(100vh - 70px) !important;
    }
    
    .nav-links.active {
        transform: translateY(0) !important;
    }
    
    .nav-links li {
        width: 100% !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
    }
    
    .nav-link {
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        width: 100% !important;
        height: 60px !important;
        padding: 0 1.5rem !important;
        font-family: 'HvDTrial Brandon Grotesque', sans-serif !important;
        font-weight: 800 !important;
        font-size: 1.05rem !important;
        color: #ffffff !important;
        text-transform: uppercase !important;
        letter-spacing: 0.06em !important;
        text-decoration: none !important;
        background: transparent !important;
        transition: background-color 0.2s ease !important;
    }
    
    .nav-link:active {
        background-color: rgba(255, 255, 255, 0.03) !important;
    }
    
    .navbar.scrolled .nav-link {
        color: #ffffff !important; /* Maintain white contrast over brown background */
    }
    
    .nav-chevron {
        width: 16px !important;
        height: 16px !important;
        stroke-width: 3px !important;
        color: #0077B6 !important; /* Luxury Gold chevron */
        transition: transform 0.3s ease !important;
    }
    
    .btn-book-nav {
        background: #0077B6 !important;
        color: #ffffff !important;
        width: 100% !important;
        height: 52px !important;
        border-radius: 50px !important;
        font-family: 'HvDTrial Brandon Grotesque', sans-serif !important;
        font-weight: 800 !important;
        font-size: 1.02rem !important;
        text-transform: uppercase !important;
        letter-spacing: 0.06em !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 8px !important;
        border: none !important;
        box-shadow: 0 4px 15px rgba(197, 160, 89, 0.3) !important;
        margin: 0 !important;
    }
    
    /* Eka style mobile sub-dropdown list rows */
    .dropdown-menu {
        position: static !important;
        transform: none !important;
        left: auto !important;
        opacity: 1 !important;
        visibility: visible !important;
        min-width: 0 !important;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.35s ease-out;
        display: flex !important;
        flex-direction: column !important;
        gap: 0 !important;
        padding: 0 !important;
        margin: 0 !important;
        width: 100% !important;
        background-color: #091026 !important; /* Darker row background for clarity */
        box-shadow: none !important;
        border: none !important;
        z-index: auto !important;
    }
    .nav-item-dropdown.active .dropdown-menu {
        max-height: 300px;
    }
    .dropdown-menu a {
        display: flex !important;
        align-items: center !important;
        width: 100% !important;
        height: 52px !important;
        padding-left: 2.2rem !important;
        font-family: 'HvDTrial Brandon Grotesque', sans-serif !important;
        font-weight: 700 !important;
        font-size: 0.92rem !important;
        color: rgba(255, 255, 255, 0.75) !important;
        text-transform: uppercase !important;
        letter-spacing: 0.05em !important;
        text-decoration: none !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.02) !important;
        background-color: transparent !important;
        transition: all 0.2s ease !important;
        text-align: left !important;
    }
    .dropdown-menu a::before {
        content: '›' !important;
        margin-right: 10px !important;
        color: #0077B6 !important;
        font-weight: 800 !important;
        font-size: 1.1rem !important;
        line-height: 1 !important;
    }
    .dropdown-menu a:hover, .dropdown-menu a:active {
        color: #0077B6 !important;
        background-color: rgba(255, 255, 255, 0.02) !important;
        padding-left: 2.2rem !important;
    }
    
    .hero-section {
        height: 70vh;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.4rem;
        margin-bottom: 1.5rem;
    }
    
    .hero-description {
        font-size: 1.05rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .modal-content {
        padding: 2rem 1.5rem;
    }

    /* About Section Mobile */
    .about-name {
        font-size: 2.2rem;
    }

    .about-qualifications {
        margin-bottom: 1.5rem;
    }

    .about-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .btn-about-book,
    .btn-about-more {
        justify-content: center;
    }

    .experience-badge {
        right: 10px;
        bottom: 10px;
    }

    /* Reviews Section Mobile */
    .reviews-section {
        padding: 2rem 0 !important; /* Extremely tight vertical padding */
    }

    .reviews-section .container {
        padding-left: 12px !important;
        padding-right: 12px !important;
    }

    .reviews-layout {
        grid-template-columns: 1fr !important;
        gap: 0.75rem !important;
    }

    .reviews-header {
        margin-bottom: 0.85rem !important;
    }

    .reviews-section-title {
        font-size: 1.5rem !important;
        line-height: 1.25 !important;
        margin-bottom: 0.15rem !important;
    }

    .reviews-section-subtitle {
        font-size: 0.68rem !important;
        letter-spacing: 0.05em !important;
        line-height: 1.3 !important;
    }

    /* Super compact Google Rating Card on mobile (single horizontal row, exactly like Eka's header score) */
    .reviews-summary-col {
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        justify-content: center !important;
        align-items: center !important;
        gap: 8px !important;
        padding: 0.5rem 0.8rem !important;
        max-width: 320px !important;
        height: auto !important;
        margin: 0 auto 0.5rem auto !important;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.02) !important;
        border-radius: 10px !important;
    }

    .google-badge-header {
        display: none !important; /* Hide redundant label */
    }

    .reviews-score-large {
        font-size: 1.4rem !important;
        margin: 0 !important;
        line-height: 1 !important;
    }

    .reviews-stars-row {
        margin: 0 !important;
        gap: 0.1rem !important;
    }

    .reviews-stars-row i.star-filled,
    .reviews-stars-row svg.star-filled {
        width: 13px !important;
        height: 13px !important;
    }

    .reviews-verdict-badge {
        font-size: 0.65rem !important;
        padding: 2px 6px !important;
        margin: 0 !important;
        display: inline-block !important;
    }

    .reviews-count-text {
        font-size: 0.68rem !important;
        margin: 0 !important;
        color: #718096 !important;
        display: inline-block !important;
    }

    .reviews-divider {
        display: none !important; /* Hide giant border line */
    }

    .google-logo-wrapper {
        display: none !important; /* Hide giant Google logo on mobile */
    }

    .reviews-carousel-wrapper {
        padding: 0 !important; /* Zero padding inside wrapper to let card take 100% width of container */
        margin-bottom: 2.2rem !important;
        width: 100% !important;
    }

    .review-card {
        flex: 0 0 100%;
        min-height: 380px !important; /* Make the card taller like a portrait image */
        display: flex !important;
        flex-direction: column !important;
        justify-content: space-between !important;
        padding: 1.25rem 1.25rem !important; /* Spacious internal padding */
        border-radius: 16px !important;
        box-sizing: border-box !important;
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.04) !important;
    }

    /* Rotating pastel colorful card themes (Eka inspired) */
    /* Card 1: Lavender/Purple theme */
    .review-card:nth-child(3n+1) {
        background: linear-gradient(135deg, #F3E8FF 0%, #FAE8FF 100%) !important;
        border: 1px solid #E9D5FF !important;
    }
    .review-card:nth-child(3n+1) .user-name {
        color: #581C87 !important;
    }
    .review-card:nth-child(3n+1) .review-text {
        border-left: 2px solid #C084FC !important;
    }
    .review-card:nth-child(3n+1) .btn-read-more {
        color: #7C3AED !important;
    }

    /* Card 2: Mint/Teal theme */
    .review-card:nth-child(3n+2) {
        background: linear-gradient(135deg, #E6F4FF 0%, #D1FAE5 100%) !important;
        border: 1px solid #A7F3D0 !important;
    }
    .review-card:nth-child(3n+2) .user-name {
        color: #065F46 !important;
    }
    .review-card:nth-child(3n+2) .review-text {
        border-left: 2px solid #34D399 !important;
    }
    .review-card:nth-child(3n+2) .btn-read-more {
        color: #059669 !important;
    }

    /* Card 3: Rose/Peach theme */
    .review-card:nth-child(3n+3) {
        background: linear-gradient(135deg, #FFE4E6 0%, #FFF3CD 100%) !important;
        border: 1px solid #FECDD3 !important;
    }
    .review-card:nth-child(3n+3) .user-name {
        color: #9F1239 !important;
    }
    .review-card:nth-child(3n+3) .review-text {
        border-left: 2px solid #F43F5E !important;
    }
    .review-card:nth-child(3n+3) .btn-read-more {
        color: #E11D48 !important;
    }

    .review-card .card-header {
        margin-bottom: 0.5rem !important;
        display: flex !important;
        align-items: center !important;
    }

    .review-card .avatar-box {
        width: 44px !important;
        height: 44px !important;
        font-size: 0.95rem !important;
        border: 1.5px solid rgba(197, 160, 89, 0.4) !important;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05) !important;
        background-color: #ffffff !important;
        color: #0077B6 !important;
    }

    .review-card .user-name {
        font-size: 0.92rem !important;
        font-weight: 700 !important;
    }

    .review-card .review-time {
        font-size: 0.72rem !important;
        color: #8a9ba8 !important;
    }

    .review-card .card-google-icon {
        width: 16px !important;
        height: 16px !important;
    }

    .review-card .card-rating {
        margin-bottom: 0.6rem !important;
        display: flex !important;
        align-items: center !important;
    }

    .review-card .review-text {
        font-family: 'Cormorant Garamond', Georgia, serif !important; /* Italic serif quote */
        font-style: italic !important;
        font-size: 0.98rem !important;
        line-height: 1.45 !important;
        color: #334155 !important;
        margin-bottom: 0.6rem !important;
        padding-left: 8px !important;
        -webkit-line-clamp: 4 !important; /* Decreased text line clamp */
    }

    .review-card .btn-read-more {
        font-size: 0.72rem !important;
        font-weight: 800 !important;
        text-transform: uppercase !important;
        letter-spacing: 0.05em !important;
        padding: 0 !important;
        margin: 0 !important;
    }

    /* Position control buttons on the left and right edges vertically centered */
    .reviews-carousel-control {
        width: 34px !important;
        height: 34px !important;
        top: 50% !important;
        bottom: auto !important;
        transform: translateY(-50%) !important;
        background: rgba(255, 255, 255, 0.95) !important;
        border: 1px solid rgba(197, 168, 128, 0.4) !important;
        box-shadow: 0 4px 12px rgba(0,0,0,0.08) !important;
        z-index: 10 !important;
    }

    .reviews-carousel-control i,
    .reviews-carousel-control svg {
        width: 16px !important;
        height: 16px !important;
        color: #0077B6 !important;
    }

    .reviews-carousel-control.prev-btn {
        left: 4px !important;
    }

    .reviews-carousel-control.next-btn {
        right: 4px !important;
    }

    /* Split Booking Panel Mobile Optimizations */
    .booking-card-split {
        grid-template-columns: 1fr !important;
        border-radius: 16px !important;
        overflow: hidden !important;
        padding: 0 !important;
        margin: 0 12px !important;
    }
    
    .booking-info-pane {
        width: 100% !important;
        margin: 0 !important;
        border-radius: 0 !important;
        border-top-left-radius: 16px !important;
        border-top-right-radius: 16px !important;
        padding: 2.2rem 1.6rem !important;
    }
    
    .booking-pane-title {
        font-size: 1.6rem !important;
        line-height: 1.25 !important;
    }
    
    .booking-form-pane {
        width: 100% !important;
        margin: 0 !important;
        padding: 2.2rem 1.6rem !important;
    }

    /* Stats Difference Section Mobile Stacking */
    .stats-premium-list {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
    }
    
    .stats-premium-section {
        overflow: visible !important;
    }

    /* Transformed Smiles Section Mobile */
    .transformed-smiles-section {
        padding: 4rem 0;
    }

    .play-btn-circle {
        width: 60px;
        height: 60px;
    }

    .btn-transformed-more {
        padding: 1rem 2.5rem;
        width: 100%;
        justify-content: center;
    }

    /* Gallery & Specialized Grid Mobile Responsive */
    .gallery-tiled-grid {
        grid-template-columns: 1fr;
    }

    .gallery-comparison {
        flex-direction: row; /* Keep side-by-side to save height */
    }

    .specialized-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        max-width: 450px;
        margin: 3.5rem auto 0 auto;
    }
}

/* ==========================================================================
   Before/After Sliders, View Story & Verification Styling
   ========================================================================== */
.slider-container {
    position: relative;
    width: 100%;
    height: 250px;
    overflow: hidden;
    border-radius: 12px;
    user-select: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.05);
    margin-bottom: 1.25rem;
}

.slider-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.slider-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.before-img {
    z-index: 1;
}

.after-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    clip-path: polygon(50% 0, 100% 0, 100% 100%, 50% 100%);
    /* NOTE: 'will-change: clip-path' was always-on for every slider, which
       promoted all 20+ before/after images to permanent GPU layers. Under
       memory pressure the browser then discarded and re-decoded them while
       scrolling — the "images disappear then reload on scroll" bug. Removed. */
}

.after-img img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slider-label {
    position: absolute;
    bottom: 12px;
    padding: 4px 8px;
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    border-radius: 4px;
    z-index: 5;
    pointer-events: none;
}

.before-label {
    right: 12px;
    background-color: rgba(0, 0, 0, 0.75);
    color: var(--color-white);
}

.after-label {
    left: 12px;
    background-color: var(--color-white);
    color: var(--color-black);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
}

.slider-range-input {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: ew-resize;
    z-index: 10;
    margin: 0;
    padding: 0;
}

.slider-handle {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 2px;
    background-color: var(--color-white);
    z-index: 8;
    pointer-events: none;
    transform: translateX(-50%);
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.4);
    will-change: left;
}

.slider-handle-line {
    width: 100%;
    height: 100%;
    background-color: var(--color-white);
}

.slider-handle-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 36px;
    height: 36px;
    background-color: var(--color-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(0, 0, 0, 0.08);
    color: var(--color-black);
}

.slider-handle-button i {
    width: 16px;
    height: 16px;
}

/* View Story Button Styling */
.btn-view-story {
    margin-top: 0.75rem;
    padding: 0.7rem 1.25rem;
    background-color: transparent;
    border: 1px solid var(--color-black);
    color: var(--color-black);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    cursor: pointer;
    transition: var(--transition-smooth);
    border-radius: 6px;
    width: 100%;
}

.btn-view-story i {
    width: 14px;
    height: 14px;
    transition: var(--transition-fast);
}

.btn-view-story:hover {
    background-color: var(--color-black);
    color: var(--color-white);
}

.btn-view-story:hover i {
    transform: translateX(3px);
}

/* OTP Modal Customizations */
.otp-modal-content {
    max-width: 400px !important;
    padding: 2.5rem !important;
    border-radius: 16px !important;
    border: none !important;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.35) !important;
}

.otp-icon-wrapper {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: rgba(197, 168, 128, 0.1);
    color: #0077B6;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
}

.otp-shield-icon {
    width: 28px;
    height: 28px;
    stroke-width: 2.25px;
}

.otp-inputs-row {
    display: flex;
    justify-content: center;
    gap: 0.85rem;
    margin: 1.75rem 0 1.25rem;
}

.otp-digit {
    width: 46px;
    height: 56px;
    border: 1.5px solid var(--color-gray-light);
    border-radius: 10px;
    font-size: 1.75rem;
    font-weight: 700;
    text-align: center;
    font-family: var(--font-heading);
    color: var(--color-black);
    background-color: var(--color-offwhite);
    outline: none;
    transition: var(--transition-fast);
}

.otp-digit:focus {
    border-color: #0077B6;
    background-color: var(--color-white);
    box-shadow: 0 0 8px rgba(197, 168, 128, 0.25);
}

.otp-digit:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.otp-error-msg {
    color: #ea4335;
    font-size: 0.85rem;
    margin-bottom: 1rem;
    display: none;
    font-weight: 700;
}

.otp-timer-text {
    font-size: 0.85rem;
    color: var(--color-gray-medium);
    margin-bottom: 0.75rem;
}

.otp-demo-note {
    font-size: 0.8rem;
    color: var(--color-gray-medium);
    background-color: var(--color-offwhite);
    padding: 0.5rem;
    border-radius: 6px;
    display: inline-block;
    border: 1px dashed rgba(0, 0, 0, 0.1);
    margin-bottom: 1.25rem;
}

.gold-highlight {
    color: #0077B6;
    font-weight: 700;
}

.btn-otp-verify {
    width: 100%;
    background-color: var(--color-black);
    color: var(--color-white);
    border: none;
    padding: 0.85rem 0;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 0.05em;
    cursor: pointer;
    border-radius: 8px;
    transition: var(--transition-smooth);
}

.btn-otp-verify:hover {
    background-color: #1a1a1a;
}

/* Simulated Smartphone SMS */
.greeting-modal-content {
    max-width: 440px !important;
    padding: 2.25rem !important;
    border-radius: 20px !important;
    border: none !important;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.35) !important;
}

.modal-success-header {
    margin-bottom: 1.25rem;
}

.success-checkmark-circle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: rgba(52, 168, 83, 0.15);
    color: #34a853;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 0.75rem;
}

.success-checkmark-icon {
    width: 24px;
    height: 24px;
    stroke-width: 3px;
}

.success-title {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.3rem;
    letter-spacing: 0.05em;
    color: var(--color-black);
    margin-bottom: 0.25rem;
}

.success-subtitle {
    font-size: 0.85rem;
    color: var(--color-gray-medium);
    line-height: 1.4;
}

.patient-name-gold {
    color: #0077B6;
    font-weight: 700;
}

.verified-status {
    color: #34a853;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.verified-status i {
    width: 14px;
    height: 14px;
    stroke-width: 3px;
}

.greeting-status-note {
    font-size: 0.85rem;
    color: var(--color-gray-medium);
    line-height: 1.5;
    margin: 1rem 0 1.5rem;
    text-align: center;
}

.greeting-details-box {
    background-color: var(--color-offwhite);
    border: 1px solid var(--color-gray-light);
    border-radius: 8px;
    padding: 1.25rem;
    text-align: left;
    margin-bottom: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
}

.detail-label {
    color: var(--color-gray-medium);
}

.detail-value {
    color: var(--color-black);
    font-weight: 700;
}

.btn-greeting-close {
    width: 100%;
    background-color: var(--color-black);
    color: var(--color-white);
    border: none;
    padding: 0.85rem 0;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 0.05em;
    cursor: pointer;
    border-radius: 8px;
    transition: var(--transition-smooth);
}

.btn-greeting-close:hover {
    background-color: #1a1a1a;
}

/* Case Story Details sheet */
.story-modal-content {
    max-width: 600px !important;
    padding: 2.5rem !important;
    border-radius: 16px !important;
    border: none !important;
    box-shadow: 0 25px 55px rgba(0, 0, 0, 0.4) !important;
}

.story-header {
    border-bottom: 1px solid var(--color-gray-light);
    padding-bottom: 1rem;
    margin-bottom: 1.25rem;
}

.story-case-number {
    display: none !important;
}

.story-title {
    font-size: 1.45rem;
    color: var(--color-black);
}

.story-comparison-wrapper {
    margin-bottom: 1.25rem;
}

.story-images-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.story-img-card {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.05);
    aspect-ratio: 4 / 3;
}

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

.story-img-tag {
    position: absolute;
    bottom: 8px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.65rem;
    letter-spacing: 0.05em;
    padding: 2px 5px;
    border-radius: 3px;
}

.tag-before {
    right: 8px;
    background-color: rgba(0, 0, 0, 0.75);
    color: var(--color-white);
}

.tag-after {
    left: 8px;
    background-color: var(--color-white);
    color: var(--color-black);
    box-shadow: 0 2px 4px rgba(0,0,0,0.15);
}

.story-details-text {
    max-height: 200px;
    overflow-y: auto;
    padding-right: 8px;
    margin-bottom: 1.5rem;
    text-align: left;
}

.story-details-text::-webkit-scrollbar {
    width: 4px;
}

.story-details-text::-webkit-scrollbar-track {
    background: #f5f5f5;
}

.story-details-text::-webkit-scrollbar-thumb {
    background: #ddd;
    border-radius: 2px;
}

.story-subheading {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: var(--color-black);
    margin: 1rem 0 0.4rem;
    text-transform: uppercase;
}

.story-subheading:first-of-type {
    margin-top: 0;
}

.story-desc {
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: var(--color-gray-dark);
    line-height: 1.5;
}

.story-quote {
    background-color: var(--color-offwhite);
    border-left: 2px solid #0077B6;
    padding: 0.85rem;
    margin: 0.85rem 0;
    font-style: italic;
}

.story-quote p {
    color: var(--color-dark);
    margin-bottom: 0.4rem;
    font-size: 0.85rem;
    line-height: 1.4;
}

.story-quote cite {
    font-size: 0.8rem;
    color: var(--color-gray-medium);
    font-weight: 700;
    display: block;
    text-transform: uppercase;
}

.btn-story-close {
    width: 100%;
    background-color: var(--color-black);
    color: var(--color-white);
    border: none;
    padding: 0.85rem 0;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 0.05em;
    cursor: pointer;
    border-radius: 8px;
    transition: var(--transition-smooth);
}

.btn-story-close:hover {
    background-color: #1a1a1a;
}

@media (max-width: 576px) {
    .story-images-grid {
        grid-template-columns: 1fr;
    }
    
    .otp-inputs-row {
        gap: 0.5rem;
    }
    
    .otp-digit {
        width: 40px;
        height: 50px;
        font-size: 1.5rem;
    }
}

/* ==========================================================================
   ELITE GALLERY PAGE ADDITIONS
   ========================================================================== */

/* ==========================================================================
   CLINIC GALLERY SHOWCASE SYSTEM
   ========================================================================== */

.gallery-page-main {
    padding: 4rem 0 6rem 0;
    background-color: var(--color-offwhite);
}

/* Clinic Booking Section (Luxury CTA - Open Footer Integrated) */
.gallery-booking-section {
    padding: 3rem 0;
    margin-top: 2rem;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(197, 168, 128, 0.02) 100%);
    width: 100%;
}

.gallery-booking-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 2rem;
}

.booking-tag {
    font-size: 0.75rem;
    letter-spacing: 0.25em;
    color: #0077B6;
    font-family: var(--font-heading);
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 0.3rem;
}

.booking-title {
    font-size: 2.2rem;
    color: var(--color-black);
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin: 0;
    line-height: 1.2;
}

.booking-gold-divider {
    width: 50px;
    height: 1.5px;
    background-color: #0077B6;
    margin: 1rem auto;
}

.booking-desc {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--color-gray-medium);
    max-width: 620px;
    margin: 0 auto 1.5rem auto;
    font-family: var(--font-body);
}

.btn-gallery-book-now {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    text-decoration: none;
    color: var(--color-white);
    background-color: var(--color-black);
    border: 1px solid var(--color-black);
    padding: 1rem 2.8rem;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    border-radius: 0;
    cursor: pointer;
}

.btn-gallery-book-now svg {
    width: 14px !important;
    height: 14px !important;
}

.btn-gallery-book-now:hover {
    background-color: transparent;
    color: var(--color-black);
    transform: translateY(-3px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
}

/* Gallery Section blocks */
.gallery-section-block {
    padding: 3rem 0 5rem 0;
    border-bottom: 1px solid var(--color-gray-light);
    width: 100%;
}

.gallery-section-block:last-of-type {
    border-bottom: none;
    padding-bottom: 2rem;
}

.gallery-section-header {
    margin-bottom: 3.5rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.gallery-section-tag {
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    color: #0077B6;
    font-family: var(--font-heading);
    font-weight: 700;
    text-transform: uppercase;
}

.gallery-section-title {
    font-size: 2.2rem;
    color: var(--color-black);
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin: 0.5rem 0;
}

.gallery-section-desc {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--color-gray-medium);
    max-width: 650px;
    margin: 0 auto;
    text-align: center;
}

/* Gallery Tiled Grid & Cards */
.gallery-tiled-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    width: 100%;
    transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1), transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-tile-item {
    position: relative;
    aspect-ratio: 3/2; /* 1.50 aspect ratio matches landscape 500x334 images perfectly */
    overflow: hidden;
    background-color: #0d0d11;
    border: 1px solid rgba(197, 168, 128, 0.15); /* Light luxury gold border */
    cursor: pointer;
    border-radius: 0;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.5s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-tile-item:hover {
    transform: translateY(-4px);
    border-color: #0077B6; /* Elegant gold border on hover */
    box-shadow: 0 15px 35px rgba(197, 168, 128, 0.15); /* Luxury shadow with gold tint */
}

.gallery-tile-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(80%) contrast(1.05) brightness(0.95);
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1), filter 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-tile-item:hover img {
    transform: scale(1.06);
    filter: grayscale(0%) contrast(1) brightness(1);
}

.gallery-tile-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(13, 13, 17, 0.85) 0%, rgba(13, 13, 17, 0.3) 60%, rgba(13, 13, 17, 0.05) 100%);
    opacity: 0.85;
    transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1), backdrop-filter 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-tile-item:hover .gallery-tile-overlay {
    opacity: 0.9;
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
}

.gallery-tile-title {
    position: absolute;
    bottom: 1.5rem;
    left: 1.5rem;
    right: 1.5rem;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--color-white);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    pointer-events: none;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), color 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 5;
}

.gallery-tile-item:hover .gallery-tile-title {
    transform: translateY(-8px);
    color: #0077B6;
}

.gallery-tile-hover-content {
    position: absolute;
    top: 45%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--color-white);
    opacity: 0;
    transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1), transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: none;
    z-index: 5;
}

.gallery-tile-item:hover .gallery-tile-hover-content {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.gallery-tile-hover-content svg {
    width: 28px;
    height: 28px;
    color: #0077B6;
}

.gallery-tile-hover-content span {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.7rem;
    letter-spacing: 0.2em;
}

/* Custom Card Delete Actions */
.btn-gallery-delete {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background-color: rgba(255, 68, 68, 0.9);
    color: var(--color-white);
    border: none;
    padding: 0.5rem;
    cursor: pointer;
    transition: var(--transition-fast);
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.btn-gallery-delete:hover {
    background-color: #ff2222;
    transform: scale(1.1);
}

.btn-gallery-delete svg {
    width: 14px !important;
    height: 14px !important;
}

.gallery-empty-state {
    grid-column: 1 / -1;
    text-align: center;
    padding: 6rem 2rem;
    color: var(--color-gray-medium);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.gallery-empty-state svg {
    width: 48px;
    height: 48px;
    color: var(--color-gray-light);
}

.gallery-empty-state p {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

/* Lightbox Dynamic Specific Styles */
.gallery-lightbox-content {
    max-width: 950px !important;
    width: 90% !important;
    padding: 0 !important;
    overflow-y: auto !important;
    max-height: 90vh !important;
    border-radius: 0 !important;
    background-color: var(--color-white);
}

.gallery-lightbox-layout {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.gallery-lightbox-img-side {
    background-color: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    aspect-ratio: 16/9;
    max-height: 480px;
    overflow: hidden;
    border-bottom: 1px solid var(--color-gray-light);
}

.gallery-lightbox-img-side img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-lightbox-info-side {
    padding: 3rem 4rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    background-color: var(--color-white);
    width: 100%;
}

.gallery-lightbox-tag {
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    color: #0077B6;
    font-family: var(--font-heading);
    font-weight: 700;
    text-transform: uppercase;
}

.gallery-lightbox-title {
    font-size: 2.2rem;
    line-height: 1.25;
    color: var(--color-black);
    text-transform: uppercase;
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: 0.05em;
}

.gallery-lightbox-date {
    font-size: 0.8rem;
    color: var(--color-gray-medium);
    letter-spacing: 0.05em;
}

.gallery-lightbox-divider {
    height: 1px;
    background-color: var(--color-gray-light);
    width: 100%;
    margin: 0.25rem 0;
}

.lightbox-info-body-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 3.5rem;
}

.gallery-lightbox-desc-section {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.gallery-lightbox-desc-section h4 {
    font-size: 0.85rem;
    letter-spacing: 0.15em;
    color: var(--color-black);
    font-family: var(--font-heading);
    font-weight: 700;
    text-transform: uppercase;
}

.gallery-lightbox-desc-section p {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--color-gray-dark);
    font-family: var(--font-body);
    text-align: justify;
}

.gallery-lightbox-specs {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding: 0;
    margin: 0;
}

.gallery-lightbox-specs li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.95rem;
    line-height: 1.5;
    color: var(--color-gray-dark);
    font-family: var(--font-body);
}

.lightbox-check-icon {
    width: 18px !important;
    height: 18px !important;
    color: #0077B6;
    flex-shrink: 0;
    margin-top: 0.1rem;
}

.btn-lightbox-book {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    text-decoration: none;
    color: var(--color-white);
    background-color: var(--color-black);
    border: 1px solid var(--color-black);
    padding: 1.2rem 2.5rem;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    transition: var(--transition-fast);
    border-radius: 0;
    cursor: pointer;
    width: 100%;
}

.btn-lightbox-book svg {
    width: 14px !important;
    height: 14px !important;
}

.btn-lightbox-book:hover {
    background-color: transparent;
    color: var(--color-black);
}

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

@media (max-width: 900px) {
    .gallery-tiled-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    .gallery-upload-card {
        padding: 3rem 2rem;
    }
    .gallery-lightbox-info-side {
        padding: 3rem 2.5rem;
    }
    .lightbox-info-body-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 600px) {
    .gallery-tiled-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    .gallery-filter-container {
        gap: 0.5rem;
    }
    .gallery-filter-btn {
        padding: 0.6rem 1.2rem;
        font-size: 0.7rem;
    }
    .admin-uploader-form {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    .file-drag-container {
        height: 200px;
    }
}

/* ==========================================================================
   DROPDOWN NAVIGATION SYSTEM
   ========================================================================== */

.nav-item-dropdown {
    position: relative;
}

.dropdown-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    cursor: pointer;
}

.nav-chevron {
    width: 14px;
    height: 14px;
    transition: transform 0.3s ease;
    stroke-width: 2.5;
}

.nav-item-dropdown:hover .nav-chevron {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(15px);
    background-color: rgba(13, 13, 13, 0.98);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    padding: 0.8rem 0;
    min-width: 260px;
    list-style: none;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.45);
    z-index: 1001;
}

.nav-item-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.dropdown-menu li {
    width: 100%;
}

.dropdown-menu a {
    display: block;
    padding: 0.75rem 2rem;
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    text-align: left;
    text-transform: uppercase;
}

.dropdown-menu a:hover {
    background-color: rgba(255, 255, 255, 0.04);
    color: #0077B6;
    padding-left: 2.3rem;
}

/* Scrolled Navbar Modifiers */
.navbar.scrolled .dropdown-menu {
    background-color: rgba(255, 255, 255, 0.98);
    border-color: rgba(0, 0, 0, 0.07);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.12);
}

.navbar.scrolled .dropdown-menu a {
    color: rgba(0, 0, 0, 0.75);
}

.navbar.scrolled .dropdown-menu a:hover {
    background-color: rgba(0, 0, 0, 0.03);
    color: #0077B6;
}

/* Responsive Dropdown accordion for mobile devices */
@media (max-width: 1024px) {
    .dropdown-menu {
        position: static;
        transform: none;
        opacity: 1;
        visibility: visible;
        background: transparent;
        border: none;
        box-shadow: none;
        padding: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1);
        width: 100%;
        min-width: 0;
        text-align: center;
        z-index: auto;
    }
    
    .nav-item-dropdown.active .dropdown-menu {
        max-height: 250px;
        margin-top: 1rem;
        margin-bottom: 0.5rem;
    }
    
    .dropdown-menu a {
        text-align: center;
        padding: 0.65rem 0;
        font-size: 1.1rem;
        color: rgba(255, 255, 255, 0.6);
        background-color: transparent !important;
    }
    
    .navbar.scrolled .dropdown-menu a {
        color: rgba(0, 0, 0, 0.6);
    }
    
    .dropdown-menu a:hover {
        padding-left: 0;
        color: #0077B6;
    }
    
    .nav-item-dropdown.active .nav-chevron {
        transform: rotate(180deg);
    }
    
    .dropdown-toggle {
        display: flex;
        justify-content: center;
        width: 100%;
    }
}

/* ==========================================================================
   BLOG LAYOUT SYSTEM
   ========================================================================== */

/* Category Filter Pills */
.blog-filters-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
    margin: 2.5rem 0 3.5rem 0;
    width: 100%;
}

.blog-filter-btn {
    background: transparent;
    color: var(--color-black);
    border: 1px solid var(--color-black);
    padding: 0.75rem 2rem;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    cursor: pointer;
    transition: var(--transition-fast);
    border-radius: 0;
}

.blog-filter-btn:hover {
    background-color: var(--color-black);
    color: var(--color-white);
    letter-spacing: 0.18em;
}

.blog-filter-btn.active {
    background-color: var(--color-black);
    color: var(--color-white);
    border-color: var(--color-black);
}

/* Spotlight Featured Article */
.blog-spotlight-section {
    padding: 3rem 0;
    background-color: var(--color-offwhite);
}

.blog-spotlight-eyebrow {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    color: var(--color-gray-medium);
    display: block;
    margin-bottom: 1.5rem;
}

.spotlight-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid var(--color-gray-light);
    background-color: var(--color-white);
    transition: var(--transition-smooth);
    border-radius: 0;
}

.spotlight-card:hover {
    border-color: var(--color-black);
    box-shadow: var(--shadow-hover);
}

.spotlight-img-side {
    position: relative;
    width: 100%;
    min-height: 250px;
    overflow: hidden;
    background-color: #000;
}

.spotlight-img-side img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%);
    transition: var(--transition-smooth);
}

.spotlight-card:hover .spotlight-img-side img {
    filter: grayscale(0%);
    transform: scale(1.03);
}

.spotlight-content-side {
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-color: var(--color-white);
}

.spotlight-title {
    font-size: 1.8rem;
    line-height: 1.25;
    color: var(--color-black);
    margin-bottom: 1.2rem;
    text-transform: uppercase;
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: 0.05em;
}

.spotlight-excerpt {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--color-gray-medium);
    margin-bottom: 2rem;
}

.spotlight-read-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--color-black);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    border-bottom: 1px solid var(--color-black);
    padding-bottom: 0.25rem;
    width: fit-content;
    transition: var(--transition-fast);
}

.spotlight-read-btn svg {
    width: 16px;
    height: 16px;
    transition: transform 0.3s ease;
}

.spotlight-read-btn:hover {
    color: #0077B6;
    border-color: #0077B6;
}

.spotlight-read-btn:hover svg {
    transform: translateX(5px);
}

@media (min-width: 992px) {
    .spotlight-card {
        flex-direction: row;
        min-height: 400px;
    }
    .spotlight-img-side {
        flex: 1.2;
        min-height: 100%;
    }
    .spotlight-content-side {
        flex: 1;
        padding: 4rem 3.5rem;
    }
    .spotlight-title {
        font-size: 2.2rem;
    }
}

/* Blog Grid System */
.blog-feed-section {
    padding: 2rem 0 5rem 0;
    background-color: var(--color-offwhite);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem 2rem;
    width: 100%;
}

.blog-card {
    background-color: var(--color-white);
    border: 1px solid var(--color-gray-light);
    border-radius: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.4s ease, transform 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
}

.blog-card:hover {
    transform: translateY(-8px);
    border-color: var(--color-black);
    box-shadow: var(--shadow-hover);
}

.blog-card-image {
    width: 100%;
    aspect-ratio: 16/10;
    overflow: hidden;
    background-color: #000;
}

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

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

.blog-card-content {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    flex: 1;
    background-color: var(--color-white);
}

.blog-meta {
    display: flex;
    gap: 1.2rem;
    align-items: center;
    margin-bottom: 1rem;
    font-size: 0.75rem;
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: 0.08em;
}

.blog-date {
    color: var(--color-gray-medium);
}

.blog-tag {
    color: #0077B6;
    text-transform: uppercase;
}

.blog-card-title {
    font-size: 1.2rem;
    color: var(--color-black);
    margin-bottom: 1rem;
    line-height: 1.4;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    font-family: var(--font-heading);
    font-weight: 700;
}

.blog-excerpt {
    font-size: 0.9rem;
    line-height: 1.65;
    color: var(--color-gray-medium);
    margin-bottom: 2rem;
    flex: 1;
}

.btn-read-blog {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: var(--color-black);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 0.08em;
    transition: var(--transition-fast);
    text-transform: uppercase;
    margin-top: auto;
    border-bottom: 1px solid var(--color-black);
    padding-bottom: 0.2rem;
    width: fit-content;
}

.btn-read-blog svg {
    width: 14px !important;
    height: 14px !important;
    transition: transform 0.3s ease;
}

.btn-read-blog:hover {
    color: #0077B6;
    border-color: #0077B6;
}

.btn-read-blog:hover svg {
    transform: translateX(4px);
}

@media (max-width: 992px) {
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

@media (max-width: 600px) {
    .blog-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .blog-card-content {
        padding: 1.5rem;
    }
}

/* Luxury Newsletter Sign-up */
.blog-newsletter-section {
    padding: 6rem 0;
    background-color: var(--color-offwhite);
    border-top: 1px solid var(--color-gray-light);
}

.newsletter-card {
    background-color: var(--color-dark);
    color: var(--color-white);
    padding: 5rem 4rem;
    text-align: center;
    border-radius: 0;
    border: 1px solid rgba(255, 255, 255, 0.08);
    max-width: 850px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.newsletter-eyebrow {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    color: #0077B6;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.newsletter-title {
    font-size: 2.2rem;
    color: var(--color-white);
    margin-bottom: 1rem;
    letter-spacing: 0.05em;
    font-family: var(--font-heading);
    font-weight: 700;
    text-transform: uppercase;
}

.newsletter-desc {
    font-size: 0.95rem;
    color: var(--color-gray-light);
    line-height: 1.6;
    max-width: 600px;
    margin-bottom: 2.5rem;
}

.newsletter-form {
    display: flex;
    width: 100%;
    max-width: 550px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    padding-bottom: 0.5rem;
    transition: var(--transition-fast);
}

.newsletter-form:focus-within {
    border-color: #0077B6;
}

.newsletter-input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    color: var(--color-white);
    font-family: var(--font-body);
    font-size: 0.95rem;
    padding: 0.75rem 1rem 0.75rem 0;
}

.newsletter-input::placeholder {
    color: rgba(255, 255, 255, 0.4);
    letter-spacing: 0.1em;
    font-size: 0.8rem;
}

.btn-newsletter-subscribe {
    background: transparent;
    border: none;
    color: #0077B6;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 0.15em;
    cursor: pointer;
    padding: 0.75rem 1rem;
    transition: var(--transition-fast);
    text-transform: uppercase;
}

.btn-newsletter-subscribe:hover {
    color: var(--color-white);
}

@media (max-width: 768px) {
    .newsletter-card {
        padding: 3.5rem 2rem;
    }
    .newsletter-title {
        font-size: 1.8rem;
    }
    .newsletter-form {
        flex-direction: column;
        gap: 1rem;
        border-bottom: none;
        padding-bottom: 0;
    }
    .newsletter-input {
        background-color: rgba(255,255,255,0.05);
        padding: 1rem;
        border-radius: 0;
        border: 1px solid rgba(255,255,255,0.1);
        text-align: center;
    }
    .btn-newsletter-subscribe {
        background-color: #0077B6;
        color: var(--color-black);
        padding: 1rem;
        width: 100%;
        text-align: center;
        transition: var(--transition-fast);
    }
    .btn-newsletter-subscribe:hover {
        background-color: var(--color-white);
        color: var(--color-black);
    }
}

/* Editorial Article Detail Page Layout */
.article-page-main {
    padding: 8.5rem 0 5rem 0 !important; /* Clears the fixed top navbar */
    background-color: var(--color-offwhite);
}

.article-top-nav {
    max-width: 900px;
    margin: 0 auto;
    width: 100%;
}

.btn-back-blog-top {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: var(--color-gray-medium);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    transition: var(--transition-fast);
    margin-bottom: 2rem;
}

.btn-back-blog-top svg {
    width: 14px;
    height: 14px;
    transition: transform 0.3s ease;
}

.btn-back-blog-top:hover {
    color: var(--color-black);
}

.btn-back-blog-top:hover svg {
    transform: translateX(-4px);
}

.article-detail-card {
    background-color: var(--color-white);
    border: 1px solid var(--color-gray-light);
    padding: 5rem 4rem;
    border-radius: 0;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    transition: var(--transition-smooth);
}

.article-detail-card:hover {
    box-shadow: var(--shadow-hover);
}

.article-detail-header {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    text-align: center;
    border-bottom: 1px solid var(--color-gray-light);
    padding-bottom: 2.5rem;
}

.article-detail-tag {
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    color: #0077B6;
    font-family: var(--font-heading);
    font-weight: 700;
    text-transform: uppercase;
}

.article-detail-title {
    font-size: 2.4rem;
    line-height: 1.25;
    color: var(--color-black);
    text-transform: uppercase;
    font-family: var(--font-heading);
    font-weight: 700;
    margin: 0.5rem 0;
    letter-spacing: 0.05em;
}

.article-detail-date {
    font-size: 0.85rem;
    color: var(--color-gray-medium);
    letter-spacing: 0.05em;
}

.article-detail-hero-container {
    width: 100%;
    aspect-ratio: 21/9;
    overflow: hidden;
    background-color: var(--color-black);
    border: 1px solid var(--color-gray-light);
}

.article-detail-hero-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%);
    transition: var(--transition-smooth);
}

.article-detail-card:hover .article-detail-hero-container img {
    filter: grayscale(0%);
}

.article-detail-body {
    width: 100%;
    max-width: 750px;
    margin: 0 auto;
    font-family: var(--font-body);
    font-size: 1.1rem;
    line-height: 1.85;
    color: var(--color-gray-dark);
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.article-para {
    margin-bottom: 0.5rem;
    text-align: justify;
}

.article-dropcap-para::first-letter {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 700;
    float: left;
    line-height: 0.8;
    margin-right: 0.75rem;
    margin-top: 0.25rem;
    color: var(--color-black);
    border: 1px solid var(--color-black);
    padding: 0.4rem 0.6rem;
    background-color: var(--color-white);
}

.article-quote {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    line-height: 1.5;
    color: #0077B6;
    border-left: 3px solid var(--color-black);
    padding-left: 2rem;
    margin: 2rem 0;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    text-align: left;
}

.article-detail-bottom-nav {
    display: flex;
    justify-content: center;
    border-top: 1px solid var(--color-gray-light);
    padding-top: 3rem;
    margin-top: 1rem;
}

.btn-back-blog {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: var(--color-white);
    background-color: var(--color-black);
    border: 1px solid var(--color-black);
    padding: 1rem 2.5rem;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    transition: var(--transition-fast);
    border-radius: 0;
    cursor: pointer;
}

.btn-back-blog svg {
    width: 16px;
    height: 16px;
    transition: transform 0.3s ease;
}

.btn-back-blog:hover {
    background-color: transparent;
    color: var(--color-black);
}

.btn-back-blog:hover svg {
    transform: translateX(-5px);
}

@media (max-width: 768px) {
    .article-page-main {
        padding: 7rem 0 3rem 0 !important; /* Clears mobile navbar */
    }
    .article-detail-card {
        padding: 3rem 1.5rem;
        gap: 1.5rem;
    }
    .article-detail-header {
        padding-bottom: 1.5rem;
    }
    .article-detail-title {
        font-size: 1.8rem;
    }
    .article-detail-hero-container {
        aspect-ratio: 16/10;
    }
    .article-detail-body {
        font-size: 1rem;
        line-height: 1.75;
    }
    .article-quote {
        font-size: 1.1rem;
        padding-left: 1.25rem;
        margin: 1.5rem 0;
    }
    .article-dropcap-para::first-letter {
        font-size: 2.8rem;
        padding: 0.3rem 0.5rem;
    }
    .article-detail-bottom-nav {
        padding-top: 2rem;
    }
}/* Homepage Before/After Section */
.home-before-after-section {
    padding: 6rem 0;
    background-color: var(--color-white);
    border-top: 1px solid var(--color-gray-light);
    border-bottom: 1px solid var(--color-gray-light);
}

.home-before-after-container {
    max-width: 1200px; /* reduced section width to match reference and look clean */
    margin: 0 auto;
    padding: 0 2rem;
}

.home-before-after-layout {
    display: grid;
    grid-template-columns: 320px minmax(0, 1fr); /* reduced left column width for balance */
    gap: 3.5rem; /* slightly tighter gap */
    align-items: center;
}

.home-before-after-text-col {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.home-before-after-subtitle {
    font-family: var(--font-heading); /* sharp luxury headings font */
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    color: #64748b;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
}

.home-before-after-title {
    font-family: var(--font-heading); /* sharp bold headings font matching site identity */
    font-size: 2.8rem;
    font-weight: 700;
    line-height: 1.15;
    color: var(--color-black);
    text-transform: uppercase;
    letter-spacing: 0.03em;
    margin-bottom: 1.5rem;
}

.home-before-after-title .title-sub {
    font-family: var(--font-body); /* brand luxury body font */
    font-size: 1.5rem;
    font-weight: 400;
    color: #64748b;
    display: block;
    margin-top: 0.5rem;
    text-transform: none; /* keep natural title case */
    letter-spacing: 0.02em;
}

.home-before-after-desc {
    font-family: var(--font-body); /* brand luxury body font */
    font-size: 1.05rem;
    line-height: 1.6;
    color: #475569;
    margin-bottom: 2.5rem;
}

.btn-book-visit-premium {
    align-self: flex-start;
    padding: 1rem 2.5rem;
    background-color: var(--color-black);
    color: var(--color-white);
    border: 1px solid var(--color-black);
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    transition: var(--transition-smooth);
    cursor: pointer;
    text-align: center;
}

.btn-book-visit-premium:hover {
    background-color: transparent;
    color: var(--color-black);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
}

.home-before-after-grid-col {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

/* Redefined mini comparison slider for home grid */
.home-before-after-grid-col .slider-container {
    height: 200px; /* rectangular and compact like screenshot */
    margin-bottom: 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    border: 1px solid #f1f5f9;
    transition: all 0.3s ease;
}

.home-before-after-grid-col .slider-container:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
    border-color: #e2e8f0;
}

.home-before-after-grid-col .slider-label {
    position: absolute;
    background-color: rgba(162, 180, 199, 0.9) !important; /* soft steel blue/grey pill badge matching screenshot */
    color: var(--color-white) !important;
    font-family: var(--font-body);
    font-size: 0.7rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 6px;
    z-index: 5; /* sit on top of clipped images to prevent badge clipping */
    pointer-events: none;
    box-shadow: none;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.home-before-after-grid-col .before-label {
    top: 12px;
    left: 12px;
    bottom: unset;
    right: unset;
}

.home-before-after-grid-col .after-label {
    bottom: 12px;
    right: 12px;
    top: unset;
    left: unset;
}

.home-before-after-grid-col .slider-handle-button {
    width: 36px;
    height: 36px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.home-before-after-grid-col .slider-handle-button svg {
    width: 14px;
    height: 14px;
    stroke-width: 2.5px;
}

@media (max-width: 1200px) {
    .home-before-after-layout {
        grid-template-columns: 320px minmax(0, 1fr);
        gap: 2.5rem;
    }
    .home-before-after-title {
        font-size: 2.4rem;
    }
}

@media (max-width: 1024px) {
    .home-before-after-layout {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .home-before-after-text-col {
        text-align: center;
        align-items: center;
    }
    
    .btn-book-visit-outline {
        align-self: center;
    }
    
    .home-before-after-title {
        font-size: 2.6rem;
    }
}

@media (max-width: 640px) {
    .home-before-after-grid-col {
        grid-template-columns: 1fr;
    }
    
    .home-before-after-grid-col .slider-container {
        height: 220px;
    }
    
    .home-before-after-container {
        padding: 0 1rem;
    }
}

/* Clinic Stats Strip Section */
.clinic-stats-strip-section {
    background-color: var(--color-offwhite); /* Warm beige background matching awards */
    border-top: 1px solid var(--color-gray-light);
    padding: 2.25rem 0;
    width: 100%;
}

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

.stat-strip-item {
    display: flex;
    align-items: center;
    gap: 1.2rem;
}

.stat-icon-circle {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #F4F8FA;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.stat-icon-circle i {
    width: 22px;
    height: 22px;
    color: #111111;
}

.google-reviews-icon {
    background: #ffffff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

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

.stat-number {
    font-size: 1.45rem;
    font-weight: 700;
    color: #111111;
    font-family: 'D-DIN', sans-serif;
    line-height: 1.1;
}

.stat-label {
    font-size: 0.8rem;
    color: #666666;
    font-weight: 500;
    margin-top: 0.15rem;
    font-family: 'Brandon Grotesque', sans-serif;
}

@media (max-width: 991px) {
    .stats-strip-container {
        justify-content: center;
        gap: 2.5rem;
    }
}

@media (max-width: 640px) {
    .clinic-stats-strip-section {
        padding: 3rem 0;
    }
    .stats-strip-container {
        flex-direction: column;
        align-items: flex-start;
        padding-left: 2rem;
        gap: 2rem;
    }
}

/* Awards & Media Scrolling Showcase */
.awards-marquee-section {
    background-color: var(--color-offwhite); /* Warm beige background */
    border-top: 1px solid var(--color-gray-light); /* Delicate warm border */
    border-bottom: 1px solid var(--color-gray-light);
    padding: 2.25rem 0;
    overflow: hidden;
    position: relative;
    width: 100%;
}

.awards-marquee-container {
    width: 100%;
    overflow: hidden;
    position: relative;
    display: flex;
}

.awards-marquee-track {
    display: flex;
    align-items: center;
    gap: 6rem;
    width: max-content;
    animation: scroll-left 35s linear infinite;
    will-change: transform;
}

.awards-logo-item {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.awards-logo-item img {
    height: 68px; /* 1.8X increase from original 38px */
    width: auto;
    display: block;
    transition: opacity 0.3s ease;
    opacity: 0.85;
}

.awards-logo-item:hover img {
    opacity: 1;
}

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

/* Responsive adjustment for scrolling awards */
@media (max-width: 768px) {
    .awards-marquee-section {
        padding: 1.5rem 0;
    }
    .awards-marquee-track {
        gap: 3.5rem;
        animation-duration: 25s;
    }
    .awards-logo-item img {
        height: 50px; /* 1.8X increase from original 28px */
    }
}

/* Grayscale Before & After Grid Showcase Styles */
.home-before-after-header {
    margin-bottom: 3rem;
}

.home-before-after-subtitle {
    display: block;
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: var(--color-black);
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.home-before-after-desc-centered {
    max-width: 800px;
    margin: 0 auto;
    font-family: var(--font-body);
    font-size: 1.05rem;
    line-height: 1.6;
    color: #475569;
}

.home-before-after-grid-layout {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin: 3rem 0;
}

.transformation-card {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4/3;
    cursor: pointer;
    background-color: #000;
}

.transformation-image-wrapper {
    width: 100%;
    height: 100%;
    filter: grayscale(100%);
    transition: filter 0.45s ease;
    position: relative;
}

.transformation-card:hover .transformation-image-wrapper {
    filter: grayscale(0%);
}

.layout-side-by-side {
    display: flex;
    width: 100%;
    height: 100%;
}

.layout-side-by-side img {
    width: 50%;
    height: 100%;
    object-fit: cover;
}

.layout-side-by-side img.preview-before {
    border-right: 1px solid #fff;
}

.layout-stacked {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
}

.stacked-img-box {
    height: 50%;
    width: 100%;
    overflow: hidden;
}

.stacked-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.before-box {
    border-bottom: 1px solid #fff;
}

.transformation-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 10;
}

.transformation-card:hover .transformation-overlay {
    opacity: 1;
}

.transformation-btn {
    background-color: rgba(0, 0, 0, 0.85);
    color: var(--color-white);
    border: 1px solid var(--color-white);
    padding: 0.75rem 1.5rem;
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    transform: scale(0.9);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    text-align: center;
}

.transformation-card:hover .transformation-btn {
    transform: scale(1);
}

.transformation-btn:hover {
    background-color: var(--color-white);
    color: var(--color-black);
    border-color: var(--color-white);
}

.home-before-after-footer {
    margin-top: 3.5rem;
}

.link-see-all-transformations {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--color-black);
    text-decoration: none;
    border-bottom: 1.5px solid var(--color-black);
    padding-bottom: 4px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    transition: all 0.2s ease;
}

.link-see-all-transformations:hover {
    color: #0077B6;
    border-bottom-color: #0077B6;
}

/* Transformation Modal Content & Sliders */
.transformation-modal-content {
    max-width: 600px;
    width: 90%;
    padding: 1.25rem;
    background-color: var(--color-white);
    border: 1px solid var(--color-black);
    border-radius: 0;
}

.transformation-modal-body {
    position: relative;
    width: 100%;
    aspect-ratio: 1.25; /* clean rectangular slider layout */
    background-color: #121212;
}

.modal-slider-container {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.modal-slider-container .slider-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.modal-slider-container .slider-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.modal-slider-container .slider-label {
    position: absolute;
    z-index: 5;
    padding: 0.4rem 0.8rem;
    background-color: #a2b4c7;
    color: var(--color-white);
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: 6px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
#modal-slider-container .before-label {
    top: 12px !important;
    left: 12px !important;
    right: auto !important;
    bottom: auto !important;
    width: auto !important;
    height: auto !important;
}

#modal-slider-container .after-label {
    bottom: 12px !important;
    right: 12px !important;
    top: auto !important;
    left: auto !important;
    width: auto !important;
    height: auto !important;
}

.modal-slider-container .slider-range-input {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: ew-resize;
    z-index: 15;
    margin: 0;
}

.modal-slider-container .slider-handle {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 2px;
    background-color: var(--color-white);
    z-index: 10;
    pointer-events: none;
    left: 50%;
    transform: translateX(-50%);
}

.modal-slider-container .slider-handle-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    background-color: var(--color-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
    color: var(--color-black);
}

.modal-slider-container .slider-handle-button svg {
    width: 16px;
    height: 16px;
    stroke-width: 2.5px;
}

@media (max-width: 1024px) {
    .home-before-after-grid-layout {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.25rem;
    }
    .home-before-after-subtitle {
        font-size: 1.8rem;
    }
}

@media (max-width: 640px) {
    .home-before-after-grid-layout {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    .home-before-after-subtitle {
        font-size: 1.5rem;
    }
    .transformation-card {
        aspect-ratio: 4/3;
    }
    .transformation-btn {
        font-size: 0.75rem;
        padding: 0.6rem 1.2rem;
    }
    .transformation-modal-content {
        padding: 0.75rem;
    }
    .transformation-modal-body {
        aspect-ratio: 1.2;
    }
}

/* ==========================================================================
   About Clinic Section (Premium Editorial Collage Design)
   ========================================================================== */
.about-clinic-section {
    padding: 7rem 0;
    background-color: #f2f2f2; /* Light off-white gray matching context */
    overflow: visible; /* Prevent any floating badges from clipping */
    position: relative;
}

.about-clinic-container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Asymmetric Editorial Grid */
.about-clinic-grid {
    display: grid;
    grid-template-columns: 740px 1fr;
    gap: 3.5rem;
    align-items: center;
}

/* Left Side: Image Collage */
.about-clinic-visual-new {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem 2rem 2rem 5.5rem;
}

.about-collage-wrapper {
    position: relative;
    width: 100%;
    max-width: 620px;
    height: 680px;
}

/* Main Portrait Frame (Elegant Rounded Diagonal Shape) */
.collage-main-frame {
    width: 520px;
    height: 660px;
    border-radius: 170px 34px 170px 34px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    border: 4px solid #ffffff;
    background-color: #ffffff;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}

.about-clinic-slideshow-new {
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.slideshow-track-new {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    width: 100%;
    height: 100%;
    transition: transform 1s cubic-bezier(0.65, 0, 0.35, 1);
}

.slideshow-track-new .about-clinic-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    flex-shrink: 0;
}

/* Overlapping Accent Frame */
.collage-accent-frame {
    width: 340px;
    height: 250px;
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    border: 6px solid #ffffff;
    position: absolute;
    bottom: 0;
    right: 0;
    z-index: 2;
}

.collage-accent-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Rehab Cases Slideshow styling */
.rehab-slideshow-container {
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: #000000;
    position: relative;
}

.rehab-slideshow-track {
    display: flex;
    width: 600%; /* 6 slides */
    height: 100%;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.rehab-slide {
    width: 16.6666%; /* 1/6 of track */
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.rehab-slide-header {
    background: rgba(26, 26, 26, 0.9);
    color: #0077B6;
    font-size: 10px;
    font-weight: 700;
    text-align: center;
    padding: 6px 4px;
    font-family: var(--font-body);
    letter-spacing: 0.05em;
    border-bottom: 1.5px solid rgba(197, 168, 128, 0.3);
    z-index: 10;
}

.rehab-slide-body {
    flex: 1;
    display: flex;
    width: 100%;
    height: calc(100% - 24px); /* Subtract header height */
    position: relative;
}

.rehab-half {
    width: 50%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.rehab-half:first-child {
    border-right: 1px solid rgba(255, 255, 255, 0.2);
}

.rehab-half img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.rehab-label {
    position: absolute;
    bottom: 8px;
    background: rgba(0, 0, 0, 0.7);
    color: #ffffff;
    font-size: 8px;
    font-weight: 700;
    padding: 3px 6px;
    border-radius: 4px;
    letter-spacing: 0.05em;
    font-family: var(--font-body);
}

.rehab-half.before .rehab-label {
    left: 8px;
}

.rehab-half.after .rehab-label {
    right: 8px;
    background: #0077B6;
    color: #000000;
}

/* Minimal Luxury Float Badges */
.luxury-badge {
    position: absolute;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(197, 168, 128, 0.25);
    padding: 0.8rem 1.4rem;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.06);
    display: flex;
    flex-direction: column;
    z-index: 3;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.luxury-badge:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(197, 168, 128, 0.15);
}

.badge-gold-num {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: #0077B6;
    line-height: 1.1;
    margin-bottom: 0.2rem;
}

.badge-dark-lbl {
    font-family: var(--font-body);
    font-size: 0.72rem;
    color: var(--color-gray-dark);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Position Badges on the Left to Avoid Text Overlap */
.badge-top-left {
    top: 60px;
    left: -50px;
}

.badge-mid-left {
    top: 52%;
    left: -75px;
    transform: translateY(-50%);
}

.badge-mid-left:hover {
    transform: translateY(-50%) translateY(-5px);
}

.badge-bottom-right {
    bottom: 35px;
    left: -50px;
}

/* Right Side: Editorial Content styling */
.about-clinic-content-new {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.about-section-tag {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 700;
    color: #0077B6;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-bottom: 1.25rem;
}

.about-clinic-title-new {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    color: #0077B6; /* Elegant signature gold */
    line-height: 1.15;
    margin-bottom: 0.5rem;
    letter-spacing: -0.01em;
}

.about-clinic-quote-new {
    font-family: var(--font-body);
    font-size: 1.15rem;
    font-weight: 400;
    color: var(--color-gray-medium);
    margin-bottom: 1.25rem;
    letter-spacing: 0.01em;
}

.about-lead-paragraph {
    font-family: var(--font-body);
    font-size: 1.12rem;
    line-height: 1.65;
    color: var(--color-gray-dark);
    font-weight: 550;
    margin-bottom: 1.5rem;
    border-left: 3px solid #0077B6;
    padding-left: 1.2rem;
}

.about-details-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.75rem;
}

.details-column p {
    font-family: var(--font-body);
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--color-gray-medium);
}

/* Luxury Outlined Button CTA */
.btn-about-clinic-premium {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    background-color: var(--color-black);
    color: #ffffff;
    padding: 1rem 2.2rem;
    border-radius: 4px;
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.btn-about-clinic-premium i {
    width: 16px;
    height: 16px;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-about-clinic-premium:hover {
    background-color: #0077B6;
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(197, 168, 128, 0.25);
}

.btn-about-clinic-premium:hover i {
    transform: translateX(5px);
}

/* Responsive adjustments for New Editorial About Layout */
@media (max-width: 1199px) {
    .about-clinic-grid {
        grid-template-columns: 1fr;
        gap: 4rem;
    }
    
    .about-clinic-visual-new {
        padding: 2rem 0;
    }
    
    .about-collage-wrapper {
        margin: 0 auto;
        max-width: 480px;
        height: 480px;
    }
    
    .collage-main-frame {
        width: 340px;
        height: 440px;
    }
    
    .collage-accent-frame {
        width: 220px;
        height: 170px;
    }

    .about-clinic-title-new {
        font-size: 2.2rem;
    }
}

@media (max-width: 640px) {
    .about-clinic-section {
        padding: 4.5rem 0;
    }
    
    .about-collage-wrapper {
        max-width: 320px;
        height: 380px;
    }
    
    .collage-main-frame {
        width: 240px;
        height: 320px;
        border-radius: 60px 15px 60px 15px;
    }
    
    .collage-accent-frame {
        width: 140px;
        height: 105px;
        bottom: 10px;
        right: -10px;
        border-width: 3px;
        border-radius: 12px;
    }

    .luxury-badge {
        padding: 0.35rem 0.65rem;
        border-radius: 8px;
        box-shadow: 0 4px 10px rgba(0,0,0,0.06);
    }
    
    .badge-gold-num {
        font-size: 0.95rem;
        margin-bottom: 0.05rem;
    }

    .badge-dark-lbl {
        font-size: 0.58rem;
    }

    .badge-top-left {
        top: 25px;
        left: -30px;
    }

    .badge-mid-left {
        top: 45%;
        left: -35px;
    }

    .badge-bottom-right {
        bottom: 25px;
        left: -30px;
    }

    .about-clinic-title-new {
        font-size: 2.2rem;
    }

    .about-clinic-quote-new {
        font-size: 1.2rem;
    }

    .about-lead-paragraph {
        font-size: 1.15rem;
        padding-left: 1rem;
    }

    .about-details-columns {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

/* ==========================================================================
   Signature Treatments Section (Premium Editorial 3-Card Display)
   ========================================================================== */
.signature-treatments-section {
    padding: 8rem 0;
    background-color: #0b0f19; /* Deep premium luxury dark background */
    background-image:
        radial-gradient(ellipse 60% 50% at 50% 0%, rgba(197, 168, 128, 0.15) 0%, transparent 70%),
        radial-gradient(ellipse 40% 30% at 85% 85%, rgba(197, 168, 128, 0.08) 0%, transparent 60%);
    position: relative;
    overflow: hidden;
}

.signature-treatments-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 0;
}

.signature-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.signature-header {
    margin-bottom: 4rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 1;
}

.signature-eyebrow {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: #0077B6; /* Brighter premium gold */
    background: rgba(197, 158, 108, 0.12); /* Brighter gold background */
    border: 1px solid rgba(197, 158, 108, 0.4); /* Brighter gold border */
    padding: 0.4rem 1.2rem;
    border-radius: 100px;
    margin-bottom: 1.25rem;
}

.signature-title {
    font-family: var(--font-heading);
    font-size: 3.2rem;
    color: #ffffff;
    font-weight: 700;
    letter-spacing: -0.01em;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}

.signature-subtitle {
    font-family: var(--font-body);
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.6;
}

.signature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    position: relative;
    z-index: 1;
}

.signature-card {
    position: relative;
    height: 460px;
    border-radius: 24px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.45);
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), 
                border-color 0.5s cubic-bezier(0.16, 1, 0.3, 1),
                box-shadow 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.signature-card-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 0;
}

.signature-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.4) 60%, rgba(0, 0, 0, 0.15) 100%);
    transition: background-color 0.5s ease;
    z-index: 1;
}

.signature-card-content {
    position: relative;
    z-index: 2;
    padding: 2rem 1.8rem;
    display: flex;
    flex-direction: column;
    height: auto;
    transform: translateY(92px);
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.signature-number {
    font-family: var(--font-heading);
    font-size: 3.2rem;
    font-weight: 700;
    color: #0077B6;
    opacity: 0.7;
    margin-bottom: 0.2rem;
    line-height: 1.1;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.5s ease;
}

.signature-card-title {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.5rem;
    letter-spacing: -0.01em;
    line-height: 1.2;
}

.signature-card-desc {
    font-family: var(--font-body);
    font-size: 1.05rem;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1.2rem;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
    transition-delay: 0.05s;
}

.btn-signature-action {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #0077B6;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease, color 0.3s ease;
    transition-delay: 0.1s;
    align-self: flex-start;
}

.btn-signature-action i {
    width: 16px;
    height: 16px;
    transition: transform 0.3s ease;
}

/* Hover States */
.signature-card:hover {
    border-color: rgba(197, 168, 128, 0.45);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.65), 0 0 30px rgba(197, 168, 128, 0.05);
}

.signature-card:hover .signature-card-bg {
    transform: scale(1.08);
}

.signature-card:hover .fmr-before-bg {
    opacity: 0 !important;
}

.signature-card:hover .fmr-after-bg {
    opacity: 1 !important;
}

.signature-card:hover .smile-before-bg {
    opacity: 0 !important;
}

.signature-card:hover .smile-after-bg {
    opacity: 1 !important;
}

.signature-card:hover .signature-card-overlay {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.98) 0%, rgba(0, 0, 0, 0.55) 55%, rgba(0, 0, 0, 0.2) 100%);
}

.signature-card:hover .signature-card-content {
    transform: translateY(0);
}

.signature-card:hover .signature-card-desc {
    opacity: 1;
    transform: translateY(0);
}

.signature-card:hover .btn-signature-action {
    opacity: 1;
    transform: translateY(0);
}

.signature-card:hover .signature-number {
    transform: scale(1.1) translateY(-5px);
    opacity: 1;
}

.btn-signature-action:hover {
    color: #ffffff;
}

.btn-signature-action:hover i {
    transform: translateX(4px);
}

/* Responsive Overrides */
@media (max-width: 1024px) {
    .signature-treatments-section {
        padding: 6rem 0;
    }
    
    .signature-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        max-width: 600px;
        margin: 0 auto;
    }
    
    .signature-card {
        height: 480px;
    }
    
    .signature-card-content {
        transform: none; /* Always show details on mobile for better visibility */
        padding: 2.5rem 2rem;
    }
    
    .signature-card-desc,
    .btn-signature-action {
        opacity: 1;
        transform: none;
    }
    
    .signature-number {
        font-size: 2.8rem;
    }
}

@media (max-width: 768px) {
    .signature-treatments-section {
        padding: 2.5rem 0 !important; /* Decrease top/bottom padding to make it screen-fit */
    }
    
    .signature-header {
        margin-bottom: 1.5rem !important; /* Decrease margin below header */
    }
    
    .signature-eyebrow {
        font-size: 0.72rem !important;
        margin-bottom: 0.2rem !important;
        letter-spacing: 0.15rem !important;
    }
    
    .signature-title {
        font-size: 1.6rem !important; /* Compact size */
        margin-bottom: 0.4rem !important;
        text-align: center !important;
    }
    
    .signature-subtitle {
        display: none !important; /* HIDE the subtitle completely on mobile as requested: "text ko thoda kam karo upar se"! */
    }

    .signature-container {
        padding: 0 12px !important;
    }

    .signature-grid {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch !important;
        scroll-snap-type: x mandatory !important;
        gap: 0 !important; /* Managed by margin-right on cards */
        width: 100% !important;
        max-width: none !important;
        margin: 0 !important;
        padding-bottom: 0.5rem !important;
    }
    
    .signature-grid::-webkit-scrollbar {
        display: none !important; /* Hide scrollbar */
    }
    
    .signature-card {
        flex: 0 0 290px !important; /* Exact fit card width so it slides from left to right */
        height: 380px !important; /* Reduced card height slightly to fit screen beautifully */
        margin-right: 14px !important;
        scroll-snap-align: start !important;
    }
    
    .signature-card:last-child {
        margin-right: 0 !important;
    }

    .signature-card-content {
        padding: 1.5rem !important;
        transform: none !important; /* Keep info visible */
    }
    
    .signature-number {
        font-size: 2.2rem !important;
        margin-bottom: 0.1rem !important;
        padding-top: 6px !important;
        line-height: 1.2 !important;
    }
    
    .signature-card-title {
        font-size: 1.35rem !important;
        margin-bottom: 0.5rem !important;
        color: #ffffff !important;
    }
    
    .signature-card-desc {
        font-size: 0.82rem !important;
        line-height: 1.4 !important;
        margin-bottom: 1rem !important;
        color: rgba(255, 255, 255, 0.8) !important;
    }
    
    .btn-signature-action {
        font-size: 0.78rem !important;
        opacity: 1 !important;
        transform: none !important;
    }
}



/* ==========================================================================
   STATS DARK SECTION — Same design language as Treatments Range
   ========================================================================== */

.stats-premium-section {
    padding: 7rem 0;
    background-color: #a7c5e2; /* 20% Lighter powdered sky blue chalkboard board */
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.15) 1px, transparent 1px), 
        linear-gradient(90deg, rgba(255, 255, 255, 0.15) 1px, transparent 1px);
    background-size: 35px 35px; /* Grid lines sizing */
    position: relative;
    overflow: hidden;
    border-top: 1px solid rgba(197, 168, 128, 0.15);
    /* Soft vignette inner shadow around board edges */
    box-shadow: inset 0 0 100px rgba(15, 37, 55, 0.25);
}

.stats-premium-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.stats-premium-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 3.5rem;
    align-items: start; /* Align tops of visual and notes at the same level */
}

.stats-premium-visual {
    width: 100%;
}

.stats-premium-header {
    text-align: center; /* Center header elements over the chalkboard board */
    margin-bottom: 4rem; /* Gap between header and content grid */
}

.stats-premium-eyebrow {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: #1c3d5a; /* Deep navy/slate blue eyebrow for perfect legibility on light background */
    margin-bottom: 0.8rem;
}

.stats-premium-title {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    font-weight: 700;
    color: #0f2537; /* Deep midnight blue for excellent contrast on sky blue board */
    letter-spacing: -0.01em;
    line-height: 1.25;
    text-transform: none;
    margin: 0 auto;
    max-width: 820px; /* Constrain width for elegant text wrapping */
}

/* Visual container styling is defined in the animations section below */

/* Right Side 2x2 Grid of Pinned Cards */
.stats-premium-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.8rem;
}

.stat-premium-item {
    display: flex;
    flex-direction: column;
    padding: 1.8rem 1.6rem;
    border: 1px solid rgba(197, 168, 128, 0.15);
    /* Tight soft shadow representing paper flat against the board */
    box-shadow: 3px 8px 20px rgba(10, 25, 18, 0.22), 0 2px 4px rgba(0, 0, 0, 0.06);
    /* Luxurious damped transition for scroll entrance and hover lifts */
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.8s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s ease;
    position: relative;
    cursor: pointer;
    overflow: visible;
}

/* Initial state (hidden) for staggered board entrance - flat/straight layout with no tilts */
.stat-premium-item:nth-child(1) { 
    opacity: 0;
    transform: translateY(45px) scale(0.95) rotate(0deg); 
    background-color: #F4F8FA; /* Premium Warm Pastel Yellow Post-it */
    background-image: linear-gradient(rgba(197, 168, 128, 0.12) 1px, transparent 1px);
    background-size: 100% 26px;
    border-radius: 14px 10px 12px 15px / 12px 14px 15px 10px;
}
.stat-premium-item:nth-child(2) { 
    opacity: 0;
    transform: translateY(45px) scale(0.95) rotate(0deg); 
    background-color: #e5f2ff; /* Premium Soft Pastel Sky Blue Cardstock */
    border-radius: 10px 15px 13px 11px / 13px 11px 14px 15px;
}
.stat-premium-item:nth-child(3) { 
    opacity: 0;
    transform: translateY(45px) scale(0.95) rotate(0deg); 
    background-color: #F4F8FA; /* Premium Pastel Peach Rose Architect Grid */
    background-image: 
        linear-gradient(rgba(197, 168, 128, 0.08) 1px, transparent 1px), 
        linear-gradient(90deg, rgba(197, 168, 128, 0.08) 1px, transparent 1px);
    background-size: 18px 18px;
    border-radius: 15px 12px 16px 10px / 11px 15px 12px 16px;
}
.stat-premium-item:nth-child(4) { 
    opacity: 0;
    transform: translateY(45px) scale(0.95) rotate(0deg); 
    background-color: #e6f6ef; /* Premium Soft Pastel Mint Sage Green Paper */
    border-radius: 12px 13px 15px 12px / 15px 12px 11px 14px;
}

/* Luxury 3D Red Push-Pin pinning the note */
.stat-premium-item::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 13px;
    height: 13px;
    background: radial-gradient(circle at 35% 35%, #ff8c8c 0%, #e63946 35%, #b70918 75%, #6a000b 100%); /* Hyper-realistic shiny red plastic */
    border-radius: 50%;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.25), inset 0 -1px 2px rgba(0, 0, 0, 0.15);
    z-index: 10;
    transition: all 0.4s ease;
}

/* Off-center push-pin placements for natural human layout feel */
.stat-premium-item:nth-child(1)::before { left: 47%; }
.stat-premium-item:nth-child(2)::before { left: 53%; }
.stat-premium-item:nth-child(3)::before { left: 50%; }
.stat-premium-item:nth-child(4)::before { left: 48%; }

/* Pin Needle Drop Shadow */
.stat-premium-item::after {
    content: '';
    position: absolute;
    top: 5px;
    left: calc(50% + 2px);
    width: 4px;
    height: 4px;
    background: rgba(0, 0, 0, 0.35);
    border-radius: 50%;
    filter: blur(1px);
    z-index: 9;
    transition: all 0.4s ease;
}

.stat-premium-item:hover {
    border-color: rgba(197, 168, 128, 0.5);
    /* Shadow expands and blurs as paper translates straight up off the board */
    box-shadow: 8px 24px 40px rgba(10, 25, 18, 0.38), 0 6px 12px rgba(0, 0, 0, 0.1);
    z-index: 12;
    transform: translateY(-8px) scale(1.02) rotate(0deg) !important;
}

.stat-premium-item:hover::before {
    transform: translateX(-50%) scale(1.1);
}

.stat-premium-item:hover::after {
    transform: translate(2px, 2px);
}

.stat-premium-value {
    font-family: var(--font-heading);
    font-size: 3.2rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 0.6rem;
    letter-spacing: -0.02em;
    display: flex;
    align-items: baseline;
    color: #0f172a;
}

.stat-premium-value .stat-count-number {
    background: linear-gradient(135deg, #0f172a 30%, #1e293b 90%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-premium-value .stat-dark-suffix {
    font-size: 1.6rem;
    font-weight: 600;
    color: #64748b;
    margin-left: 0.15rem;
    transition: color 0.4s ease;
}

.stat-premium-item:hover .stat-dark-suffix {
    color: #0077B6;
}

.stat-premium-label {
    font-family: var(--font-body);
    font-size: 1.05rem;
    font-weight: 700;
    color: #1e293b;
    line-height: 1.4;
    margin-bottom: 0.8rem;
    min-height: 2.8rem; /* Keeps titles aligned across cards */
    display: flex;
    align-items: center;
}

.stat-premium-detail {
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 500;
    color: #64748b;
    line-height: 1.5;
    opacity: 0.85;
    transition: all 0.4s ease;
}

.stat-premium-item:hover .stat-premium-detail {
    color: #334155;
    opacity: 1;
}

/* Staggered entrance animation classes */
.stats-premium-visual {
    opacity: 0;
    transform: translateY(45px) scale(0.96) rotate(-1deg); /* Slight initial scale and tilt */
    transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1), transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
}

.stats-premium-visual.visible {
    opacity: 1;
    transform: translateY(0) scale(1) rotate(0deg); /* Lands flat on board */
}

/* Staggered visible states for cards - all straightened at rotate(0deg) */
.stat-premium-item.visible:nth-child(1) { opacity: 1; transform: translateY(0) scale(1) rotate(0deg); }
.stat-premium-item.visible:nth-child(2) { opacity: 1; transform: translateY(0) scale(1) rotate(0deg); }
.stat-premium-item.visible:nth-child(3) { opacity: 1; transform: translateY(0) scale(1) rotate(0deg); }
.stat-premium-item.visible:nth-child(4) { opacity: 1; transform: translateY(0) scale(1) rotate(0deg); }

/* Watercolor sketch visual pinned on board */
.stats-premium-image-wrap {
    position: relative;
    border-radius: 4px; /* Realistic clean cut paper corners */
    perspective: 1000px;
    aspect-ratio: 4 / 3; /* Matches the watercolor canvas aspect ratio exactly */
    width: 100%;
    transform: rotate(0deg); /* Straightened sketch paper hung flat */
    background: #F4F8FA; /* Premium watercolor paper sheet background */
    padding: 1.2rem; /* Creating realistic white margin borders around painting */
    border: 1px solid rgba(197, 168, 128, 0.15);
    /* Soft paper-sheet cast shadow on green board background */
    box-shadow: 5px 14px 30px rgba(10, 25, 18, 0.4), 0 2px 5px rgba(0, 0, 0, 0.1);
    /* Smooth cushioned lift transition */
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Top-Left Red Push-Pin for sketch */
.stats-premium-image-wrap::before {
    content: '';
    position: absolute;
    top: 5px; /* Pin sits on the top paper border area */
    left: 20px;
    width: 14px;
    height: 14px;
    background: radial-gradient(circle at 35% 35%, #ff8c8c 0%, #e63946 35%, #b70918 75%, #6a000b 100%); /* Hyper-realistic shiny red plastic */
    border-radius: 50%;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.25), inset 0 -1px 2px rgba(0, 0, 0, 0.15);
    z-index: 10;
    transition: all 0.4s ease;
}

/* Top-Right Red Push-Pin for sketch */
.stats-premium-image-wrap::after {
    content: '';
    position: absolute;
    top: 7px; /* Slight height offset for natural pinned alignment */
    right: 20px;
    width: 14px;
    height: 14px;
    background: radial-gradient(circle at 35% 35%, #ff8c8c 0%, #e63946 35%, #b70918 75%, #6a000b 100%); /* Hyper-realistic shiny red plastic */
    border-radius: 50%;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.25), inset 0 -1px 2px rgba(0, 0, 0, 0.15);
    z-index: 10;
    transition: all 0.4s ease;
}

.stats-premium-image-wrap:hover {
    transform: translateY(-8px) scale(1.015) rotate(0deg); /* Lift straight up, preserve natural straightened angle */
    /* Deeper shadow to match lifted paper height */
    box-shadow: 12px 28px 52px rgba(5, 15, 10, 0.52), 0 4px 10px rgba(0, 0, 0, 0.15);
}

.stats-premium-image-wrap:hover::before {
    transform: scale(1.08);
}

.stats-premium-image-wrap:hover::after {
    transform: scale(1.08);
}

.stats-premium-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    mix-blend-mode: multiply;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
    opacity: 0.98;
}

/* Book Consultation Button inside chalkboard */
.stats-premium-cta-wrap {
    margin-top: 2.2rem;
    text-align: center;
    width: 100%;
}

.stats-premium-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    background: #ffd000; /* Warm post-it yellow background for high visibility */
    color: #0f2537; /* Dark navy blue text for perfect contrast and legibility */
    padding: 1.05rem 2.2rem;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.92rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    border-radius: 8px; /* Reduced curve for a modern flat ticket look */
    border: 1px solid #ffd000;
    text-decoration: none;
    box-shadow: 0 8px 20px rgba(15, 37, 55, 0.2);
    transition: all 0.45s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
}

.stats-premium-btn:hover {
    background: #ffffff; /* Premium white hover card background */
    border-color: #ffffff;
    color: #0f2537;
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(255, 255, 255, 0.25);
}

.stats-premium-btn:active {
    transform: translateY(-1px);
}

.stats-premium-btn .btn-arrow-icon {
    transition: transform 0.3s ease;
}

.stats-premium-btn:hover .btn-arrow-icon {
    transform: translateX(4px);
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .stats-premium-grid {
        gap: 3rem;
    }
    .stats-premium-title {
        font-size: 2.2rem;
    }
}

@media (max-width: 768px) {
    .stats-premium-section {
        padding: 4.5rem 0;
    }
    .stats-premium-grid {
        grid-template-columns: 1fr;
        gap: 3.5rem;
    }
    .stats-premium-header {
        text-align: center;
    }
    .stats-premium-title {
        font-size: 2rem;
    }
    .stat-premium-item {
        padding-left: 1.5rem;
        margin-bottom: 0;
    }
    .stat-premium-value {
        font-size: 2.4rem;
    }
}

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

.testimonials-premium-section {
    padding: 75px 0 65px;
    background: radial-gradient(circle at 50% 50%, rgba(0, 180, 216, 0.06) 0%, transparent 65%), linear-gradient(180deg, #F1F7FD 0%, #D6EBFC 100%);
    position: relative;
    overflow: hidden;
}

.testimonials-premium-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem; /* Aligned with standard container padding */
    position: relative;
}

/* Header spacing and alignment */
.testimonials-premium-header {
    margin-bottom: 4.5rem; /* Balanced gap to clear the scaled card while keeping group tight */
    padding: 0;
}

.testimonials-premium-eyebrow {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: #0077B6;
    margin-bottom: 0.6rem; /* Tighter grouping */
}

.testimonials-premium-title {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    font-weight: 700;
    color: #0f172a;
    letter-spacing: -0.01em;
    line-height: 1.2;
    margin-bottom: 0.8rem; /* Tighter grouping */
}

.testimonials-premium-subtitle {
    font-family: var(--font-body);
    font-size: 1.05rem;
    line-height: 1.7;
    color: #475569;
    max-width: 700px;
    margin: 0 auto;
}

/* Carousel Layout */
.testimonials-carousel-outer {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.testimonials-carousel-wrapper {
    overflow: hidden;
    width: 100%;
    padding-top: 55px; /* Room for active card scaling upward */
    margin-top: -55px; /* Compensate for padding to preserve vertical layout */
}

.testimonials-carousel-track {
    display: flex;
    gap: 1.8rem;
    align-items: flex-end;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

/* Testimonial Premium Card - Taller & Symmetrical Sizing */
.testimonial-premium-card {
    flex: 0 0 calc((100% - (1.8rem * 2)) / 3); /* Exactly 3 cards visible on desktop */
    min-width: 300px;
    height: 510px; /* Reduced by 15% */
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    background-size: cover;
    background-position: center;
    box-shadow: 0 15px 35px rgba(15, 23, 42, 0.08);
    transform-origin: bottom center;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.5s ease, background 0.4s ease;
}

/* Active centered card grows 10% taller from top only via GPU scale */
.testimonial-premium-card.active-card {
    transform: scale(1.1);
    z-index: 3;
}

/* Luxury Overlay Shader */
.testimonial-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, 
        rgba(15, 23, 42, 0.95) 0%, 
        rgba(15, 23, 42, 0.65) 50%, 
        rgba(15, 23, 42, 0.2) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 2.8rem 2.2rem;
    transition: background 0.4s ease;
}

.testimonial-premium-card:hover {
    box-shadow: 0 25px 45px rgba(15, 23, 42, 0.12);
}

.testimonial-premium-card:hover .testimonial-card-overlay {
    background: linear-gradient(to top, 
        rgba(15, 23, 42, 0.98) 0%, 
        rgba(15, 23, 42, 0.75) 55%, 
        rgba(15, 23, 42, 0.3) 100%);
}

/* Card Content Alignment */
.testimonial-card-content {
    text-align: left;
    display: flex;
    flex-direction: column;
}

.testimonial-quote-icon {
    font-family: 'Great Vibes', serif, sans-serif;
    font-size: 5rem;
    color: rgba(197, 168, 128, 0.45);
    line-height: 0.8;
    margin-bottom: -0.8rem;
    margin-top: -1.5rem;
}

.testimonial-card-text {
    font-family: var(--font-body);
    font-size: 1.18rem; /* Increased size for premium readability */
    line-height: 1.6;
    color: #f1f5f9;
    margin-bottom: 1.8rem;
    font-weight: 400;
}

.testimonial-card-author {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 700;
    color: #0077B6; /* Signature luxury gold */
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin: 0;
}

/* Absolute Floating Navigation Controls */
.testimonials-control-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #ffffff;
    border: 1px solid rgba(197, 168, 128, 0.2);
    color: #0f172a;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    z-index: 10;
}

.testimonials-control-btn i {
    width: 20px;
    height: 20px;
}

.testimonials-control-btn:hover:not(:disabled) {
    background-color: #0f172a;
    border-color: #0f172a;
    color: #ffffff;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.testimonials-control-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.testimonials-control-btn.prev-btn {
    left: -1rem;
}

.testimonials-control-btn.next-btn {
    right: -1rem;
}

/* Dots container with 15px bottom spacing */
.testimonials-dots-container {
    display: none !important;
    justify-content: center;
    align-items: center;
    gap: 0.65rem;
    margin-top: 1.8rem; /* Brought closer to cards */
    padding-bottom: 0;
}

.testimonials-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(15, 23, 42, 0.15); /* Slate gray tint for high contrast on light bg */
    border: 1px solid rgba(15, 23, 42, 0.08);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

.testimonials-dot:hover {
    background-color: rgba(197, 168, 128, 0.7); /* Luxury gold highlight on hover */
    border-color: rgba(197, 168, 128, 0.7);
}

.testimonials-dot.active {
    width: 36px;
    border-radius: 100px;
    background-color: #0077B6; /* Solid gold active pill */
    border-color: #0077B6;
    box-shadow: 0 3px 10px rgba(197, 168, 128, 0.35); /* Subtle gold glow shadow */
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .testimonial-premium-card {
        flex: 0 0 calc((100% - 1.8rem) / 2); /* 2 cards visible */
    }
    .testimonials-control-btn.prev-btn {
        left: -1rem;
    }
    .testimonials-control-btn.next-btn {
        right: -1rem;
    }
}

@media (max-width: 768px) {
    .testimonials-premium-container {
        padding: 0 12px !important;
    }
    .testimonials-premium-header {
        margin-bottom: 1.25rem !important;
    }
    .testimonials-premium-eyebrow {
        font-size: 0.72rem !important;
        margin-bottom: 0.15rem !important;
        letter-spacing: 0.15rem !important;
    }
    .testimonials-premium-title {
        font-size: 1.55rem !important;
        margin-bottom: 0.35rem !important;
    }
    .testimonials-premium-subtitle {
        font-size: 0.85rem !important;
        line-height: 1.4 !important;
        margin-bottom: 0 !important;
        padding: 0 10px !important;
    }
    .testimonials-carousel-wrapper {
        padding-top: 10px !important;
        margin-top: -10px !important;
    }
    .testimonial-premium-card {
        flex: 0 0 100%; /* 1 card visible */
        height: 520px !important; /* Increased height to fit content nicely and align author text */
    }
    .testimonials-control-btn {
        display: none !important; /* Hide arrows on mobile, use swiping */
    }
}

/* CTA Schedule Section */
.cta-schedule-section {
    background-color: var(--color-white);
    padding: 6rem 1rem;
    text-align: center;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.cta-schedule-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-black);
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
}

.cta-schedule-highlight {
    color: #3b82f6; /* Accent blue for 'Schedule' */
}

.cta-schedule-subtitle {
    font-family: var(--font-body);
    font-size: 1.25rem;
    color: var(--color-gray-medium);
    margin-bottom: 2.5rem;
    font-weight: 400;
}

.btn-cta-schedule {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.9rem 2.2rem;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-black);
    background-color: transparent;
    border: 2px solid var(--color-black);
    border-radius: 12px;
    transition: var(--transition-fast);
    cursor: pointer;
}

.btn-cta-schedule .arrow {
    margin-left: 0.5rem;
    font-size: 1.1rem;
    transition: transform 0.2s ease;
}

.btn-cta-schedule:hover {
    background-color: var(--color-black);
    color: var(--color-white);
}

.btn-cta-schedule:hover .arrow {
    transform: translateX(4px);
}

@media (max-width: 768px) {
    .cta-schedule-section {
        padding: 4rem 1rem;
    }
    .cta-schedule-title {
        font-size: 1.8rem;
    }
    .cta-schedule-subtitle {
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }
}

/* Redefining Excellence Header Section */
.redefining-excellence-header {
    position: relative;
    height: 75vh;
    min-height: 500px;
    background-color: var(--color-dark);
    background-image: linear-gradient(90deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.4) 60%, rgba(0,0,0,0.1) 100%), url('assets/silhouette.png');
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    text-align: left;
    color: #fff;
    padding-top: 80px;
    padding-left: 8%;
    padding-right: 8%;
}

.redefining-hero-content {
    max-width: 650px;
    z-index: 2;
}

.redefining-hero-title {
    font-family: var(--font-heading);
    font-size: 3.2rem;
    font-weight: 700;
    line-height: 1.15;
    color: #fff;
    margin-bottom: 1.5rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.redefining-hero-description {
    font-family: var(--font-body);
    font-size: 1.25rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.85);
    margin: 0;
    font-weight: 300;
    letter-spacing: 0.5px;
}

@media (max-width: 768px) {
    .redefining-excellence-header {
        height: 60vh;
        min-height: 400px;
        background-image: linear-gradient(180deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.65) 100%), url('assets/silhouette.png');
        padding-left: 5%;
        padding-right: 5%;
        align-items: center;
        justify-content: center;
        text-align: center;
    }
    .redefining-hero-title {
        font-size: 2.2rem;
        margin-bottom: 1rem;
    }
    .redefining-hero-description {
        font-size: 1.1rem;
    }
    }
}

.specialities-header {
    max-width: 850px;
    margin: 0 auto 4.5rem auto;
    text-align: center;
}

.speciality-title-gold {
    color: #0077B6;
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    letter-spacing: 0.12em;
    font-family: var(--font-heading);
    text-transform: uppercase;
}

.specialities-subtitle-white {
    font-family: var(--font-body);
    font-size: 1.05rem;
    line-height: 1.75;
    color: #475569;
    margin: 0;
    font-weight: 400;
}

.specialities-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: flex-start;
}

.specialities-visual {
    position: sticky;
    top: 130px;
    height: 580px;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(197, 168, 128, 0.35);
    box-shadow: 0 20px 50px rgba(197, 168, 128, 0.15), 0 5px 15px rgba(0, 0, 0, 0.04);
}

.visual-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.visual-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: contrast(1.05) brightness(0.68);
    opacity: 0;
    transform: scale(1.06);
    transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 1;
}

.visual-image.active {
    opacity: 1;
    transform: scale(1);
    z-index: 2;
}

.visual-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(0,0,0,0.15) 30%, rgba(0,0,0,0.88) 100%);
    z-index: 3;
    pointer-events: none;
}

.visual-icon-box {
    position: absolute;
    top: 30px;
    left: 30px;
    width: 58px;
    height: 58px;
    border-radius: 16px;
    border: 1.5px solid rgba(197, 168, 128, 0.4);
    background-color: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5;
    color: #0077B6;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

.visual-icon-box svg {
    width: 24px;
    height: 24px;
    stroke-width: 1.8px;
}

.visual-content-container {
    position: absolute;
    bottom: 35px;
    left: 35px;
    right: 35px;
    z-index: 5;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.visual-pill-badge {
    font-family: var(--font-heading);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: #0077B6;
    border: 1px solid rgba(197, 168, 128, 0.3);
    padding: 0.4rem 1rem;
    border-radius: 30px;
    background-color: rgba(197, 168, 128, 0.05);
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.visual-main-title {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: 0.03em;
    margin: 0 0 0.8rem 0;
    line-height: 1.25;
}

.visual-gold-line {
    width: 40px;
    height: 2px;
    background-color: #0077B6;
    margin-bottom: 1rem;
}

.visual-main-desc {
    font-family: var(--font-body);
    font-size: 0.92rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.72);
    margin: 0 0 1.8rem 0;
}

.visual-btn-book {
    display: inline-flex;
    align-items: center;
    gap: 1.2rem;
    background-color: #0077B6;
    color: #0B2545;
    text-decoration: none;
    padding: 0.75rem 1.8rem;
    border-radius: 30px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 0.05em;
    transition: all 0.3s ease;
}

.visual-btn-book:hover {
    background-color: #ffffff;
    color: #0f2537;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(197, 168, 128, 0.25);
}

.visual-btn-arrow {
    width: 24px;
    height: 24px;
    background-color: rgba(15, 15, 15, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    transition: background-color 0.2s ease;
}

.visual-btn-book:hover .visual-btn-arrow {
    background-color: #0f2537;
}

.visual-btn-arrow svg {
    width: 12px;
    height: 12px;
    stroke-width: 2.5px;
}

/* Accordion Styling */
.speciality-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.speciality-item {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    padding: 1.75rem 2rem;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.speciality-item:hover, .speciality-item.active {
    background: #ffffff;
    border-color: #0077B6;
    box-shadow: 0 15px 35px rgba(197, 168, 128, 0.15), 0 5px 15px rgba(0, 0, 0, 0.03);
}

.speciality-item-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.speciality-header-left {
    display: flex;
    align-items: center;
    gap: 1.2rem;
}

.speciality-icon-circle {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1.5px solid rgba(197, 168, 128, 0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(197, 168, 128, 0.7);
    transition: var(--transition-fast);
}

.speciality-item:hover .speciality-icon-circle, .speciality-item.active .speciality-icon-circle {
    border-color: #0077B6;
    color: #0077B6;
    background-color: rgba(197, 168, 128, 0.08);
}

.speciality-icon-circle svg {
    width: 20px;
    height: 20px;
    stroke-width: 1.8px;
}

.speciality-number {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: rgba(197, 168, 128, 0.3);
    transition: var(--transition-fast);
}

.speciality-item:hover .speciality-number, .speciality-item.active .speciality-number {
    color: #0077B6;
}

.speciality-item-title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: #0f172a;
    transition: var(--transition-fast);
}

.speciality-chevron-circle {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1.5px solid rgba(197, 168, 128, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #475569;
    transition: all 0.3s ease;
}

.speciality-item.active .speciality-chevron-circle {
    background-color: #0077B6;
    border-color: #0077B6;
    color: #0B2545;
}

.speciality-chevron-circle svg {
    width: 18px;
    height: 18px;
    stroke-width: 2.2px;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.speciality-item.active .speciality-chevron-circle svg {
    transform: rotate(180deg);
}

.speciality-item-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.6s cubic-bezier(0.16, 1, 0.3, 1), margin-top 0.4s ease;
    margin-top: 0;
    padding-left: 4.1rem; /* Aligns content with title text (skipping icon offset) */
}

.speciality-item.active .speciality-item-body {
    max-height: 400px;
    margin-top: 1.5rem;
}

.speciality-item-desc {
    font-family: var(--font-body);
    font-size: 0.92rem;
    line-height: 1.7;
    color: #475569;
    margin-bottom: 1.5rem;
}

.speciality-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-bottom: 0.5rem;
}

.speciality-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-heading);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    padding: 0.55rem 1.1rem;
    background: rgba(197, 168, 128, 0.08);
    color: #0077B6;
    border: 1px solid rgba(197, 168, 128, 0.35);
    border-radius: 8px;
    text-transform: uppercase;
    transition: all 0.25s ease;
}

.speciality-tag svg {
    width: 14px;
    height: 14px;
    stroke-width: 2.2px;
}

.speciality-tag:hover {
    background: rgba(197, 168, 128, 0.08);
    border-color: rgba(197, 168, 128, 0.45);
}



@media (max-width: 992px) {
    .specialities-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .specialities-visual {
        position: relative;
        top: 0;
        height: 380px;
        box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
    }
    .specialities-section {
        padding: 6rem 0;
    }
}

/* ==========================================================================
   BACKGROUND VIDEO HERO HERO STYLING
   ========================================================================== */

.header-video-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    filter: grayscale(100%) contrast(1.1) brightness(0.45) blur(2px);
    transform: scale(1.05);
}

.page-header {
    position: relative;
    overflow: hidden;
}

.page-header .hero-overlay {
    z-index: 2;
    background: rgba(0, 0, 0, 0.55); /* slightly darker overlay for better text contrast */
}

.page-header .hero-description {
    color: #ffffff !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.6);
    font-weight: 400;
}

.page-header .hero-content {
    position: relative;
    z-index: 3;
}

.page-header-video-full {
    height: 100vh !important;
    min-height: 100vh !important;
    padding-top: 0 !important; /* adjust for absolute overlay or navigation */
}

/* ==========================================================================
   SMILE EXPERIENCE SECTION CARDS
   ========================================================================== */

.smile-experience-section {
    background: radial-gradient(circle at center, #ffffff 0%, #fafafa 100%);
    padding: 8rem 0;
    border-bottom: 1px solid #f0f0f0;
}

.philosophy-badge {
    display: inline-block;
    font-size: 0.8rem;
    letter-spacing: 0.25em;
    color: var(--gold-color);
    border: 1px solid var(--gold-color);
    padding: 7px 20px;
    margin-bottom: 2rem;
    text-transform: uppercase;
    font-weight: 600;
    border-radius: 50px;
    font-family: 'D-DIN', sans-serif;
}

.smile-experience-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    margin-top: 2rem;
}

.smile-experience-card {
    position: relative;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid #eaeaea;
    padding: 3.5rem 2.5rem;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.02);
    transition: all 0.7s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    z-index: 1;
}

.smile-experience-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--gold-color), #F4F8FA, var(--gold-color));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 2;
}

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

.smile-experience-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.08);
    border-color: rgba(212, 175, 55, 0.3);
}

.smile-card-icon-wrapper {
    width: 75px;
    height: 75px;
    background: #fafafa;
    border: 1px solid #eee;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.smile-experience-card:hover .smile-card-icon-wrapper {
    background: var(--gold-color);
    border-color: var(--gold-color);
    transform: scale(1.15) translateY(-4px);
    box-shadow: 0 10px 25px rgba(212, 175, 55, 0.3);
}

.smile-card-icon {
    width: 28px;
    height: 28px;
    color: var(--gold-color);
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.smile-experience-card:hover .smile-card-icon {
    color: #000000;
    transform: scale(1.1);
}

/* Scroll reveal helper classes */
.js-enabled .reveal-card {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1), transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.js-enabled .reveal-card.active {
    opacity: 1;
    transform: translateY(0);
}

/* ==========================================================================
   SMILE PROCESS TIMELINE STYLING
   ========================================================================== */

.smile-timeline-wrapper {
    position: relative;
    background-color: #ffffff;
}

.process-stage-block {
    position: relative;
    padding: 12rem 0;
    min-height: 85vh;
    display: flex;
    align-items: center;
    background-color: #ffffff;
    overflow: hidden;
}

.process-stage-container {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 7rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.process-text-column {
    text-align: left;
    padding-left: 0;
}

.process-stage-num {
    font-family: var(--font-heading), sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: #0077B6;
    display: block;
    margin-bottom: 0.5rem;
    line-height: 1;
}

.process-stage-tag {
    font-size: 0.75rem;
    letter-spacing: 0.3em;
    color: var(--gold-color);
    font-weight: 700;
    text-transform: uppercase;
    display: block;
    margin-bottom: 0.5rem;
    font-family: 'D-DIN', sans-serif;
}

.process-stage-title {
    font-size: 2.6rem;
    line-height: 1.2;
    margin-bottom: 2rem;
    color: #111111;
    font-family: 'D-DIN', sans-serif;
    font-weight: 300;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.process-stage-desc {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555555;
    margin-bottom: 3rem;
}

.process-checklist {
    list-style: none;
    padding: 0;
    margin: 0;
}

.process-checklist li {
    font-size: 1.05rem;
    color: #333333;
    display: flex;
    align-items: center;
    margin-bottom: 1.2rem;
    font-weight: 500;
    border-left: 2px solid rgba(212, 175, 55, 0.4);
    padding-left: 1.2rem;
    line-height: 1.4;
}

/* Overlapping Graphics & Connecting Paths */
.process-graphic-column {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.graphic-image-wrapper {
    position: relative;
    border-radius: 12px;
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    width: 100%;
}

.image-pos-main,
.image-pos-sub {
    position: relative;
    width: 100%;
}

.process-img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    display: block;
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.shadow-main {
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.05);
}

.shadow-sub {
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.05);
}

/* Luxury Glassmorphic Bubble Tags */
.floating-bubble {
    position: absolute;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px) saturate(180%);
    -webkit-backdrop-filter: blur(12px) saturate(180%);
    border: 1px solid rgba(212, 175, 55, 0.25);
    border-radius: 4px;
    padding: 10px 20px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #111111;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.04);
    z-index: 10;
    white-space: nowrap;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.image-pos-main .floating-bubble,
.image-pos-sub .floating-bubble {
    bottom: 25px;
    left: 25px;
}

.graphic-image-wrapper:hover {
    transform: translateY(-5px);
    z-index: 5;
}

.process-graphic-column:hover .process-img {
    border-color: rgba(212, 175, 55, 0.3);
}

.graphic-image-wrapper:hover .floating-bubble {
    background: #111111;
    color: #ffffff;
    border-color: #111111;
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}



/* Responsive adjustment */
@media (max-width: 991px) {
    .process-stage-block {
        padding: 3rem 0 !important; /* Save vertical height on mobile */
        min-height: auto !important; /* Reset desktop height limits */
    }

    .process-stage-container {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    .process-text-column {
        padding: 0 10px !important; /* Spacing from screen borders */
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    .process-stage-title {
        font-size: 1.6rem !important; /* Compact title size to prevent long word overflows! */
        line-height: 1.25 !important;
        letter-spacing: 0.04em !important;
        padding-bottom: 0.8rem !important;
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
    }

    .process-stage-desc {
        font-size: 0.92rem !important;
        line-height: 1.55 !important;
        margin-bottom: 1.5rem !important;
    }

    .process-checklist li {
        font-size: 0.9rem !important;
        padding-left: 1rem !important;
        margin-bottom: 0.8rem !important;
    }

    .process-graphic-column {
        height: auto !important;
        gap: 16px !important;
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 10px !important; /* Padding for mobile layout fit */
        box-sizing: border-box !important;
    }

    .image-pos-main,
    .image-pos-sub {
        width: 100% !important;
        max-width: 100% !important;
        position: relative !important;
    }

    .process-img {
        width: 100% !important;
        height: auto !important;
        aspect-ratio: 16 / 9 !important;
    }

    .smile-timeline-wrapper::before {
        display: none !important;
    }

    .timeline-progress-line {
        display: none !important;
    }
    
    .timeline-indicator-node {
        display: none !important;
    }
}

/* ==========================================================================
   SMILE BENEFITS BANNER (Low Height Luxury Showcase)
   ========================================================================== */
.smile-benefits-banner {
    background: linear-gradient(135deg, #0077B6 0%, #134074 100%);
    padding: 3.5rem 0;
    color: var(--color-white);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.smile-benefits-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.08) 0%, transparent 60%);
    pointer-events: none;
}

.smile-benefits-container {
    display: grid;
    grid-template-columns: 1fr 2.2fr;
    gap: 4rem;
    align-items: center;
}

.benefits-info-pane {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.benefits-badge {
    display: inline-block;
    align-self: flex-start;
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.25em;
    color: rgba(255, 255, 255, 0.8);
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    padding-bottom: 2px;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
}

.benefits-title {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    line-height: 1.15;
    color: var(--color-white);
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.benefits-grid-pane {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.benefits-col {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.benefit-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    transition: transform 0.3s ease;
}

.benefit-item:hover {
    transform: translateX(5px);
}

.benefit-icon {
    width: 18px;
    height: 18px;
    color: rgba(255, 255, 255, 0.9);
    flex-shrink: 0;
    margin-top: 3px;
}

.benefit-item p {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.85);
    margin: 0;
    font-weight: 400;
    letter-spacing: 0.01em;
}

@media (max-width: 1024px) {
    .smile-benefits-container {
        gap: 3rem;
    }
    .benefits-title {
        font-size: 1.8rem;
    }
}

@media (max-width: 991px) {
    .smile-benefits-container {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    .benefits-grid-pane {
        gap: 2rem;
    }
}

@media (max-width: 767px) {
    .benefits-grid-pane {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }
    .benefits-col {
        gap: 1.25rem;
    }
    .smile-benefits-banner {
        padding: 3rem 0;
    }
}

/* ==========================================================================
   SMILE BEFORE & AFTER BANNER
   ========================================================================== */
.smile-before-after-banner {
    background-color: #ebf2f7;
    padding: 5rem 0;
    border-top: 1px solid var(--color-gray-light);
    border-bottom: 1px solid var(--color-gray-light);
    position: relative;
    overflow: hidden;
}

.smile-ba-container {
    display: grid;
    grid-template-columns: 1fr minmax(0, 2fr);
    gap: 4rem;
    align-items: center;
}

.ba-info-pane {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.ba-badge {
    display: inline-block;
    align-self: flex-start;
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.25em;
    color: var(--color-primary);
    border-bottom: 1px solid var(--color-gray-light);
    padding-bottom: 2px;
    text-transform: uppercase;
}

.ba-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    line-height: 1.1;
    color: var(--color-black);
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.ba-title span {
    display: block;
    font-weight: 300;
    color: var(--color-primary);
}

.ba-desc {
    font-family: var(--font-body);
    font-size: 1.05rem;
    line-height: 1.6;
    color: var(--color-primary);
    margin: 0;
}

.btn-ba-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    background-color: var(--color-black);
    color: var(--color-white);
    border: 1px solid var(--color-black);
    padding: 1rem 2rem;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 0.1em;
    text-decoration: none;
    align-self: flex-start;
    transition: var(--transition-smooth);
    margin-top: 1rem;
}

.btn-ba-cta:hover {
    background-color: transparent;
    color: var(--color-black);
}

.btn-ba-cta i {
    width: 16px;
    height: 16px;
    transition: transform 0.3s ease;
}

.btn-ba-cta:hover i {
    transform: translateX(4px);
}

.smile-ba-carousel-wrapper {
    position: relative;
    width: 100%;
    overflow: visible;
}

.smile-ba-track-container {
    overflow: hidden;
    width: 100%;
}

.smile-ba-track {
    display: flex;
    gap: 1.5rem;
    transition: transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
    will-change: transform;
}

.ba-slider-card {
    flex: 0 0 calc(50% - 0.75rem);
    background: var(--color-white);
    border: 1px solid var(--color-gray-light);
    border-radius: 12px;
    padding: 1rem;
    box-shadow: var(--shadow-soft);
    transition: var(--transition-smooth);
    box-sizing: border-box;
}

.ba-slider-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.ba-slider-card .slider-container {
    height: 220px;
    margin-bottom: 0.75rem;
}

.ba-slider-info h4 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    color: var(--color-black);
    margin-bottom: 0.25rem;
    text-transform: uppercase;
}

.ba-slider-info p {
    font-family: var(--font-body);
    font-size: 0.9rem;
    line-height: 1.4;
    color: var(--color-primary);
    margin: 0;
}

.ba-carousel-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: var(--color-white);
    color: #475569;
    border: 1px solid #cbd5e1;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.2s ease;
    z-index: 20;
}

.ba-carousel-control:hover {
    background-color: var(--color-dark);
    color: var(--color-white);
    border-color: var(--color-dark);
}

.ba-carousel-control.prev-btn {
    left: -20px;
}

.ba-carousel-control.next-btn {
    right: -20px;
}

.ba-carousel-control i {
    width: 20px;
    height: 20px;
}

/* Responsive Adjustments */
@media (max-width: 991px) {
    .smile-ba-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

@media (max-width: 767px) {
    .smile-before-after-banner {
        padding: 2.5rem 0 !important; /* Save vertical spacing */
    }
    
    .smile-ba-container {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        text-align: center !important;
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 16px !important;
        gap: 1.5rem !important;
        box-sizing: border-box !important;
    }
    
    .ba-info-pane {
        width: 100% !important;
        max-width: 100% !important;
        align-items: center !important;
        text-align: center !important;
        gap: 0.5rem !important;
        margin-bottom: 1rem !important;
        box-sizing: border-box !important;
    }
    
    .ba-badge {
        align-self: center !important;
    }

    .ba-title {
        font-size: 1.55rem !important; /* Exact mobile size to avoid overflow */
        line-height: 1.2 !important;
        text-align: center !important;
        width: 100% !important;
    }
    
    .ba-title span {
        display: block !important;
        font-size: 1.55rem !important;
    }
    
    .ba-desc {
        font-size: 0.88rem !important;
        line-height: 1.45 !important;
        text-align: center !important;
        width: 100% !important;
    }
    
    .btn-ba-cta {
        padding: 0.75rem 1.5rem !important;
        font-size: 0.85rem !important;
        align-self: center !important;
        margin-top: 0.5rem !important;
        width: 100% !important;
        max-width: 280px !important;
    }

    .smile-ba-carousel-wrapper {
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 12px !important; /* Spacing so arrows don't bleed out and overflow */
        box-sizing: border-box !important;
    }

    .smile-ba-track-container {
        overflow: hidden !important;
        width: 100% !important;
    }

    .ba-slider-card {
        flex: 0 0 100% !important;
        padding: 0.75rem !important; /* Tighter padding for slider card on mobile */
    }
    
    .ba-slider-card .slider-container {
        height: 180px !important; /* Slightly reduced height on mobile to look compact and clean */
    }
    
    .ba-carousel-control {
        width: 36px !important;
        height: 36px !important;
    }
    
    .ba-carousel-control.prev-btn {
        left: -8px !important;
    }
    
    .ba-carousel-control.next-btn {
        right: -8px !important;
    }
}

/* ==========================================================================
   SMILE PROCESS STICKY STACKING EFFECT
   ========================================================================== */
@media (min-width: 992px) and (min-height: 700px) {
    .smile-timeline-wrapper {
        position: relative;
        background-color: #ffffff;
        overflow: visible !important;
    }

    .process-stage-block {
        position: sticky;
        top: 80px; /* Accounts for header navbar height */
        height: calc(100vh - 80px);
        padding: 0;
        box-shadow: 0 -20px 40px rgba(0, 0, 0, 0.04);
        border-top: 1px solid rgba(0, 0, 0, 0.02);
        display: flex;
        align-items: center;
        overflow: hidden;
    }

    #stage-analysis {
        z-index: 1;
        background-color: #ffffff;
    }

    #stage-preview {
        z-index: 2;
        background-color: #F4F8FA; /* Premium warm clay/sand background */
    }

    #stage-crafting {
        z-index: 3;
        background-color: #f3f5f8; /* Elegant light slate-blue background */
    }

    #stage-aftercare {
        z-index: 4;
        background-color: #ffffff;
    }
    
    .process-stage-container {
        align-content: center;
    }
}

/* ==========================================================================
   STAGE ELEMENT REFINEMENT (AESTHETIC & PROFESSIONAL EDITORIAL)
   ========================================================================== */
.process-text-column {
    position: relative;
    z-index: 2;
}

.process-stage-num {
    position: absolute !important;
    top: -4rem !important;
    left: -2.5rem !important;
    font-family: var(--font-heading) !important;
    font-size: 11rem !important;
    font-weight: 800 !important;
    color: rgba(197, 168, 128, 0.07) !important;
    line-height: 1 !important;
    z-index: -1 !important;
    pointer-events: none !important;
    margin: 0 !important;
    background: none !important;
    -webkit-text-fill-color: initial !important;
    display: inline-block;
}

.process-stage-title {
    font-family: 'D-DIN', sans-serif !important;
    font-weight: 300 !important;
    font-size: 2.8rem !important;
    letter-spacing: 0.08em !important;
    color: var(--color-black) !important;
    position: relative;
    padding-bottom: 1.25rem;
}

.process-stage-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 1px;
    background-color: #0077B6;
}

.process-checklist li {
    font-family: var(--font-body);
    font-size: 1.05rem;
    font-weight: 500;
    color: var(--color-gray-dark);
    border-left: 2px solid #0077B6 !important;
    padding-left: 1.5rem !important;
    margin-bottom: 1.25rem !important;
    transition: var(--transition-fast);
}

.process-checklist li:hover {
    border-left-width: 4px !important;
    padding-left: 1.35rem !important;
    color: var(--color-black);
}

/* ==========================================================================
   STATIC BEFORE & AFTER PHOTO GRID
   ========================================================================== */
.static-ba-gallery-section {
    padding: 80px 0;
    background: #ffffff;
}

.static-ba-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px auto;
}

.static-ba-title {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #111;
    margin-bottom: 20px;
    letter-spacing: 0.05em;
}

.static-ba-desc {
    font-family: var(--font-body);
    font-size: 1rem;
    color: #666;
    line-height: 1.6;
}

.static-ba-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.static-split-item {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    display: flex;
}

.static-split-item.horizontal-split {
    flex-direction: column;
}

.static-split-item img {
    width: 50%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%);
    transition: filter 0.5s ease;
}

.static-split-item:hover img {
    filter: grayscale(0%);
}

.static-split-item.horizontal-split img {
    width: 100%;
    height: 50%;
}

.static-before {
    object-position: left center;
    border-right: 1px solid #fff;
}

.static-after {
    object-position: right center;
}

.static-split-item.horizontal-split .static-before {
    object-position: center top;
    border-right: none;
    border-bottom: 1px solid #fff;
}

.static-split-item.horizontal-split .static-after {
    object-position: center bottom;
}

@media (max-width: 991px) {
    .static-ba-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .static-ba-grid {
        grid-template-columns: 1fr;
    }
}

.static-ba-footer {
    text-align: center;
    margin-top: 50px;
}

.btn-view-all {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 36px;
    background-color: var(--color-black);
    color: var(--color-white);
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.btn-view-all i {
    margin-left: 10px;
    width: 18px;
    height: 18px;
    transition: transform 0.3s ease;
}

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

.btn-view-all:hover i {
    transform: translateX(4px);
}

.static-split-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 10;
}

.static-split-item:hover .static-split-overlay {
    opacity: 1;
}

.btn-full-transform {
    display: inline-block;
    padding: 12px 24px;
    background: #ffffff;
    color: #111111;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    text-decoration: none;
    border-radius: 4px;
    transform: translateY(20px);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.static-split-item:hover .btn-full-transform {
    transform: translateY(0);
}

.btn-full-transform:hover {
    background: var(--color-gold, #0077B6);
    color: #ffffff;
}

/* ==========================================================================
   FAQ SECTION
   ========================================================================== */
.smile-faq-section {
    padding: 100px 0;
    background-color: var(--color-offwhite);
}

.faq-filters {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.faq-filter-btn {
    padding: 10px 25px;
    background-color: transparent;
    border: 2px solid #ddd;
    color: var(--color-gray-dark);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.faq-filter-btn:hover {
    border-color: #111;
    color: #111;
}

.faq-filter-btn.active {
    background-color: #111;
    border-color: #111;
    color: #fff;
}

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

.faq-item {
    background-color: #ffffff;
    border-radius: 8px;
    margin-bottom: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    border: 1px solid rgba(0,0,0,0.04);
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item.hide {
    display: none;
}

.faq-question {
    width: 100%;
    text-align: left;
    padding: 20px 25px;
    background: none;
    border: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--color-black);
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background-color: rgba(0, 0, 0, 0.02);
}

.faq-question span {
    display: flex;
    align-items: center;
    gap: 10px;
}

.faq-question i {
    transition: transform 0.3s ease;
    color: #111;
}

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

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-answer p {
    padding: 0 25px 25px 25px;
    font-family: var(--font-body);
    font-size: 1.05rem;
    color: var(--color-gray-dark);
    line-height: 1.6;
    margin: 0;
}

/* ==========================================================================
   BEFORE & AFTER SMILE TRANSFORMATIONS GALLERY STYLES
   ========================================================================== */

.category-nav-section {
    padding: 5rem 0 3rem 0;
    background-color: var(--color-white);
}

.category-nav-subtitle {
    display: block;
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--color-gray-dark);
    margin-bottom: 0.5rem;
}

.category-nav-title {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 2.5rem;
    letter-spacing: 0.05em;
    color: var(--color-black);
    text-transform: uppercase;
}

.category-nav-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.category-nav-card {
    position: relative;
    aspect-ratio: 16/10;
    background-size: cover;
    background-position: center;
    cursor: pointer;
    overflow: hidden;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.category-nav-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.75) 0%, rgba(0, 0, 0, 0.3) 55%, rgba(0, 0, 0, 0.1) 100%);
    transition: opacity 0.4s ease;
    z-index: 1;
}

.category-nav-name {
    position: absolute;
    bottom: 1.5rem;
    left: 1.5rem;
    color: var(--color-white);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.25rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    z-index: 2;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.category-nav-hover-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -30%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--color-white);
    opacity: 0;
    z-index: 3;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease;
}

.category-nav-hover-content i {
    width: 28px;
    height: 28px;
}

.category-nav-hover-content span {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 0.15em;
}

/* Hover effects */
.category-nav-card:hover {
    transform: scale(1.02);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.category-nav-card:hover .category-nav-overlay {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.4) 55%, rgba(0, 0, 0, 0.2) 100%);
}

.category-nav-card:hover .category-nav-name {
    transform: translateY(-8px);
}

.category-nav-card:hover .category-nav-hover-content {
    transform: translate(-50%, -50%);
    opacity: 1;
}

/* Portfolio Filters */
.portfolio-filters-container {
    width: 100%;
    padding-bottom: 1.5rem;
    margin-bottom: 3.5rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.portfolio-filters {
    display: flex;
    gap: 0.75rem 1rem;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0;
}

.portfolio-filter-btn {
    padding: 0.75rem 1.6rem;
    background-color: transparent;
    border: 1px solid var(--color-gray-light);
    border-radius: 2px;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 0.75rem;
    letter-spacing: 0.08em;
    color: var(--color-gray-dark);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    white-space: nowrap;
}

.portfolio-filter-btn:hover {
    border-color: var(--color-black);
    color: var(--color-black);
    background-color: #f5f5f5;
}

.portfolio-filter-btn.active {
    background-color: var(--color-black);
    border-color: var(--color-black);
    color: var(--color-white);
    box-shadow: none;
}

/* Gallery Grid & Case Cards */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    margin-top: 1rem;
}

.gallery-item {
    background-color: var(--color-white);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 4px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 24px rgba(0,0,0,0.02);
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.05);
}

.gallery-item.hide {
    display: none !important;
}

.case-badge {
    align-self: flex-start;
    background-color: var(--color-black);
    color: var(--color-white);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.6rem;
    letter-spacing: 0.1em;
    padding: 0.35rem 0.75rem;
    margin-bottom: 1.25rem;
    border-radius: 0px;
    text-transform: uppercase;
}

.gallery-item-title {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--color-black);
    margin-bottom: 1.25rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

/* Slider Customization */
.gallery-grid .slider-container {
    position: relative;
    width: 100%;
    height: auto !important; /* Bypasses the global fixed 380px height, allowing aspect-ratio to calculate height dynamically from fluid width */
    aspect-ratio: 4/3;
    overflow: hidden;
    border: 1px solid var(--color-gray-light);
    border-radius: 2px;
}

.gallery-grid .slider-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.gallery-grid .slider-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-grid .after-img {
    z-index: 2;
    clip-path: polygon(50% 0, 100% 0, 100% 100%, 50% 100%);
}

.gallery-grid .slider-label {
    position: absolute;
    bottom: 0.75rem;
    padding: 0.3rem 0.6rem;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.6rem;
    letter-spacing: 0.08em;
    color: var(--color-white);
    z-index: 3;
    border-radius: 2px;
    pointer-events: none;
}

.gallery-grid .before-label {
    left: 0.75rem;
    right: auto;
    background-color: rgba(0, 0, 0, 0.7);
}

.gallery-grid .after-label {
    right: 0.75rem;
    left: auto;
    background-color: rgba(0, 0, 0, 0.7);
}

.gallery-grid .slider-range-input {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    z-index: 5;
    cursor: ew-resize;
    -webkit-appearance: none;
}

.gallery-grid .slider-handle {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 1px;
    background-color: rgba(255, 255, 255, 0.85);
    z-index: 4;
    pointer-events: none;
    transform: translateX(-50%);
}

.gallery-grid .slider-handle-line {
    width: 1px;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.85);
    box-shadow: 0 0 6px rgba(0,0,0,0.25);
}

.gallery-grid .slider-handle-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: var(--color-white);
    border: 1px solid var(--color-black);
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--color-black);
    box-shadow: 0 2px 8px rgba(0,0,0,0.12);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-grid .slider-container:hover .slider-handle-button {
    background-color: var(--color-black);
    color: var(--color-white);
    transform: translate(-50%, -50%) scale(1.08);
}

.gallery-grid .slider-handle-button i {
    width: 14px;
    height: 14px;
}

.gallery-item-desc {
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--color-gray-dark);
    line-height: 1.6;
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
    text-align: left;
}

.case-testimonial {
    border-left: 2px solid var(--color-black);
    padding-left: 1.25rem;
    margin-bottom: 1.5rem;
    text-align: left;
}

.case-testimonial p {
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-style: italic;
    color: var(--color-black);
    margin-bottom: 0.4rem;
}

.case-testimonial cite {
    display: block;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 0.05em;
    color: var(--color-gray-medium);
    font-style: normal;
    text-transform: uppercase;
}

.btn-view-story {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    padding: 0.9rem;
    background: transparent;
    border: 1px solid var(--color-black);
    border-radius: 2px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 0.08em;
    color: var(--color-black);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    margin-top: auto;
    text-transform: uppercase;
}

.btn-view-story:hover {
    background-color: var(--color-black);
    border-color: var(--color-black);
    color: var(--color-white);
}

.btn-view-story i {
    width: 14px;
    height: 14px;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-view-story:hover i {
    transform: translateX(3px);
}

/* Video Testimonial Cards */
.case-video-testimonial {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    overflow: hidden;
    cursor: pointer;
    margin-bottom: 1.5rem;
    border: 1px solid var(--color-gray-light);
}

.case-video-testimonial img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.case-video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(0px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 0.75rem;
    color: var(--color-white);
    transition: background 0.4s cubic-bezier(0.16, 1, 0.3, 1), backdrop-filter 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 2;
}

.case-video-overlay span {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.75rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    opacity: 0.9;
}

.case-play-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: var(--color-white);
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--color-black);
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.case-play-btn i {
    width: 18px;
    height: 18px;
    fill: var(--color-black);
    margin-left: 2px;
}

.case-video-testimonial:hover img {
    transform: scale(1.03);
}

.case-video-testimonial:hover .case-video-overlay {
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(1.5px);
}

.case-video-testimonial:hover .case-play-btn {
    transform: scale(1.08);
}

/* Video Modal styling override */
.video-modal-content {
    max-width: 800px !important;
    padding: 1.5rem !important;
    background-color: var(--color-black) !important;
    border: none !important;
    border-radius: 0 !important;
}

.video-player-container {
    width: 100%;
    aspect-ratio: 16/9;
    background-color: var(--color-black);
    position: relative;
    overflow: hidden;
}

.video-player-container video {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.video-modal-info {
    padding: 1rem 0.5rem 0.5rem 0.5rem;
    text-align: left;
}

.video-modal-info h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--color-white);
    margin: 0;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

#video-close-btn {
    color: rgba(255, 255, 255, 0.6) !important;
}

#video-close-btn:hover {
    color: var(--color-white) !important;
}

/* Responsive Breakpoints */
@media (max-width: 1024px) {
    .category-nav-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.25rem;
    }
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    .portfolio-filters-container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
}

@media (max-width: 768px) {
    .category-nav-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .category-nav-title {
        font-size: 2rem;
    }
}

/* ==========================================================================
   PATIENT SPEAKS CAROUSEL SECTION
   ========================================================================== */
.patient-speaks-section {
    padding: 6rem 0;
    background-color: var(--color-white);
    position: relative;
    overflow: hidden;
}

.patient-speaks-carousel-outer {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin-top: 3rem;
}

.patient-speaks-carousel-wrapper {
    width: 100%;
    overflow-x: auto;
    position: relative;
    padding: 10px 0; /* for hover scale shadow clearance */
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    scrollbar-width: none; /* Hide scrollbar for Firefox */
}

.patient-speaks-carousel-wrapper::-webkit-scrollbar {
    display: none; /* Hide scrollbar for Chrome/Safari */
}

.patient-speaks-carousel-track {
    display: flex;
    gap: 2rem;
    width: max-content;
}

.patient-speaks-card {
    flex: 0 0 360px !important;
    width: 360px !important;
    min-width: 0;
    cursor: pointer;
    background-color: var(--color-white);
    transition: var(--transition-smooth);
    scroll-snap-align: start;
}

.speaks-card-img {
    width: 100%;
    aspect-ratio: 3 / 4;
    background-size: cover;
    background-position: center;
    border-radius: 12px;
    position: relative;
    overflow: hidden;
    filter: grayscale(100%);
    transition: var(--transition-smooth);
    border: 1px solid var(--color-gray-light);
}

.patient-speaks-card:hover .speaks-card-img {
    filter: grayscale(0%); /* Transition to full color on hover */
    transform: none; /* Disable waving/translating */
    box-shadow: var(--shadow-soft);
    border-color: var(--color-black);
}

/* Play Button and Gradients */
.speaks-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0) 50%, rgba(0,0,0,0.85) 100%);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 1.5rem;
    box-sizing: border-box;
}

.speaks-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
    transition: var(--transition-smooth);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 2;
}

.patient-speaks-card:hover .speaks-play-btn {
    background-color: var(--color-white);
    color: var(--color-black);
    transform: translate(-50%, -50%) scale(1.1);
    box-shadow: 0 0 25px rgba(255, 255, 255, 0.5);
}

.speaks-play-btn i {
    width: 24px;
    height: 24px;
    fill: currentColor;
    margin-left: 2px; /* Center play triangle properly */
}

/* Overlay Text Badge (Name + Patient) */
.speaks-patient-name-badge {
    position: absolute;
    bottom: 1.5rem;
    left: 1.5rem;
    color: var(--color-white);
    z-index: 2;
    text-align: left;
}

.speaks-patient-name-badge h4 {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--color-white);
    margin-bottom: 0.2rem;
    line-height: 1.1;
    text-transform: uppercase;
}

.speaks-patient-name-badge span {
    font-family: var(--font-body);
    font-size: 0.7rem;
    letter-spacing: 0.15em;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
}

/* Detailed Information Below Card */
.speaks-card-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 0.25rem 0.5rem 0.25rem;
    background-color: transparent;
}

.speaks-patient-details {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
    text-align: left;
}

.speaks-name {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--color-black);
    letter-spacing: 0.05em;
    margin: 0;
    text-transform: capitalize;
}

.speaks-location {
    font-family: var(--font-body);
    font-size: 0.85rem;
    color: var(--color-gray-medium);
}

.speaks-treatment {
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-black);
    border-bottom: 1.5px solid var(--color-black);
    padding-bottom: 2px;
    transition: var(--transition-fast);
}

.patient-speaks-card:hover .speaks-treatment {
    letter-spacing: 0.12em;
}

/* Prev/Next Controls */
.speaks-control-btn {
    position: absolute;
    top: calc(50% - 20px - 25px); /* centered on images */
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--color-white);
    border: 1px solid var(--color-gray-light);
    color: var(--color-black);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: var(--transition-fast);
    box-shadow: var(--shadow-soft);
}

.speaks-control-btn:hover {
    background-color: var(--color-black);
    color: var(--color-white);
    border-color: var(--color-black);
    box-shadow: var(--shadow-hover);
}

.speaks-control-btn.prev-btn {
    left: -25px;
}

.speaks-control-btn.next-btn {
    right: -25px;
}

.speaks-control-btn i {
    width: 20px;
    height: 20px;
}

/* View More Button */
.btn-view-more-speaks {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--color-black);
    border-bottom: 2px solid var(--color-black);
    padding-bottom: 4px;
    transition: var(--transition-smooth);
    margin-top: 1.5rem;
}

.btn-view-more-speaks:hover {
    gap: 1.25rem;
    border-bottom-color: var(--color-gray-medium);
}

/* Responsive Queries */
@media (max-width: 992px) {
    .patient-speaks-card {
        flex: 0 0 300px !important;
        width: 300px !important;
    }
    .speaks-control-btn.prev-btn {
        left: -15px;
    }
    .speaks-control-btn.next-btn {
        right: -15px;
    }
}

@media (max-width: 600px) {
    .patient-speaks-card {
        flex: 0 0 80vw !important;
        width: 80vw !important;
    }
    .speaks-control-btn.prev-btn {
        left: -5px;
    }
    .speaks-control-btn.next-btn {
        right: -5px;
    }
}

/* Sleek Premium Eye Button design */
.view-story-btn {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background-color: #0f2537; /* Midnight Blue */
    border: 2px solid #0077B6; /* Gold border */
    color: #0077B6; /* Gold icon */
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 15;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 15px rgba(15, 37, 55, 0.35);
}

.view-story-btn:hover {
    background-color: #0077B6; /* Gold on hover */
    color: #ffffff; /* White icon */
    border-color: #0077B6;
    transform: scale(1.12) rotate(10deg);
    box-shadow: 0 8px 25px rgba(197, 168, 128, 0.5);
}

.view-story-btn i,
.view-story-btn svg,
.view-story-btn i svg {
    width: 20px !important;
    height: 20px !important;
    stroke-width: 2px;
    pointer-events: none;
    display: block;
}

/* ==========================================================================
   REDESIGNED MODERN MEDICAL CLINICAL CONTACT V3 - PRISTINE DENTAL CARE BRAND ALIGNMENT
   ========================================================================== */
.contact-page-body {
    background-color: var(--color-dark) !important;
    color: var(--color-white) !important;
}

/* Header styling with premium layout */
.contact-header-v3 {
    position: relative;
    padding: 11rem 0 9rem 0;
    text-align: center;
    background-color: var(--color-dark);
    background-image: linear-gradient(to bottom, rgba(0,0,0,0.85), rgba(0,0,0,0.95)), url('assets/dental clinic near me.avif');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    border-bottom: 1px solid rgba(197, 168, 128, 0.15);
    color: var(--color-white);
}

.contact-header-container {
    max-width: 850px;
    margin: 0 auto;
    padding: 0 1.5rem;
    position: relative;
    z-index: 2;
}

.contact-badge-v3 {
    display: inline-block;
    background-color: rgba(197, 168, 128, 0.08);
    color: #0077B6;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    border: 1px solid rgba(197, 168, 128, 0.4);
    padding: 0.6rem 2.2rem;
    border-radius: 0 !important;
    margin-bottom: 2rem;
    font-family: var(--font-heading);
}

.contact-title-v3 {
    font-size: 4.5rem;
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: 1.5rem;
    font-family: var(--font-heading), sans-serif;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    position: relative;
}

.contact-title-v3::after {
    content: '';
    display: block;
    width: 60px;
    height: 1px;
    background-color: #0077B6;
    margin: 1.5rem auto 0 auto;
}

.contact-desc-v3 {
    font-size: 1.15rem;
    color: #a3a3a3;
    max-width: 600px;
    margin: 0 auto;
    font-weight: 400;
    line-height: 1.8;
    letter-spacing: 0.03em;
}

/* Workspace container */
.contact-workspace-v3 {
    padding: 8rem 0;
    background-color: var(--color-dark);
}

.container-v3 {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Editorial Philosophy Intro */
.appointment-banner-v3 {
    background-color: #121212;
    border: 1px solid rgba(197, 168, 128, 0.18);
    border-top: 2px solid #0077B6;
    border-radius: 0 !important;
    padding: 3rem 4rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6rem;
    box-shadow: none;
    transition: var(--transition-smooth);
}

.appointment-banner-v3:hover {
    border-color: rgba(197, 168, 128, 0.35);
}

.banner-left-v3 {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.banner-icon-circle-v3 {
    width: 58px;
    height: 58px;
    background-color: rgba(197, 168, 128, 0.08);
    color: #0077B6;
    border: 1px solid rgba(197, 168, 128, 0.3);
    border-radius: 0 !important;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.banner-icon-circle-v3 svg,
.banner-icon-circle-v3 i {
    width: 24px;
    height: 24px;
}

.banner-text-v3 h3 {
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--color-white);
    margin: 0 0 0.35rem 0;
}

.banner-text-v3 p {
    font-family: var(--font-body);
    font-size: 1.05rem;
    color: #a3a3a3;
    margin: 0;
    letter-spacing: 0.02em;
}

.btn-banner-book-v3 {
    background-color: #0077B6;
    color: var(--color-dark);
    text-decoration: none;
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-weight: 700;
    padding: 1.1rem 2.5rem;
    border-radius: 0 !important;
    display: inline-flex;
    align-items: center;
    gap: 0.85rem;
    border: 1px solid #0077B6;
    transition: var(--transition-smooth);
}

.btn-banner-book-v3:hover {
    background-color: var(--color-white);
    border-color: var(--color-white);
    color: var(--color-dark);
    box-shadow: 0 10px 25px rgba(255, 255, 255, 0.1);
}

/* Two-column layout structured as thin-border grid */
.grid-columns-v3 {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 0;
    border: 1px solid rgba(197, 168, 128, 0.15);
    background-color: #121212;
    margin-bottom: 6rem;
}

/* Left form column - Flat Editorial Layout */
.message-form-column-v3 {
    background-color: transparent;
    border: none !important;
    border-right: 1px solid rgba(197, 168, 128, 0.15) !important;
    border-radius: 0 !important;
    padding: 6rem 5rem;
    box-shadow: none;
    transition: var(--transition-smooth);
}

.message-form-column-v3:hover {
    background-color: rgba(197, 168, 128, 0.01);
}

.section-title-v3 {
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-size: 2.2rem;
    font-weight: 500;
    color: var(--color-white);
    margin: 0 0 0.5rem 0;
}

.section-subtitle-v3 {
    display: block;
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.25em;
    color: #0077B6;
    text-transform: uppercase;
    margin-bottom: 3.5rem;
    border-bottom: 1px solid rgba(197, 168, 128, 0.4);
    padding-bottom: 0.8rem;
    width: fit-content;
}

.form-element-v3 {
    display: flex;
    flex-direction: column;
    gap: 2.2rem;
}

.form-group-v3 {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    position: relative;
}

.label-v3 {
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 0.78rem;
    font-weight: 600;
    color: #0077B6;
}

.input-v3 {
    width: 100%;
    padding: 1.1rem 1.4rem;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 0 !important;
    background-color: rgba(255, 255, 255, 0.03);
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--color-white);
    outline: none;
    transition: var(--transition-fast);
}

.input-v3:focus {
    border-color: #0077B6;
    background-color: rgba(255, 255, 255, 0.05);
    box-shadow: 0 4px 20px rgba(197, 168, 128, 0.15);
}

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

/* Phone select group */
.phone-group-v3 {
    display: flex;
    align-items: center;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 0 !important;
    overflow: hidden;
    background-color: rgba(255, 255, 255, 0.03);
    transition: var(--transition-fast);
}

.phone-group-v3:focus-within {
    border-color: #0077B6;
    background-color: rgba(255, 255, 255, 0.05);
    box-shadow: 0 4px 20px rgba(197, 168, 128, 0.15);
}

.select-country-v3 {
    width: 90px;
    border: none !important;
    border-right: 1px solid rgba(255, 255, 255, 0.12) !important;
    background-color: transparent !important;
    padding: 1.1rem 0.6rem !important;
    font-weight: 600;
    color: var(--color-white);
    outline: none;
    cursor: pointer;
    border-radius: 0 !important;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233abaf4' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 8px center;
    background-size: 11px;
    padding-right: 18px !important;
}

.select-country-v3 option {
    background-color: var(--color-dark);
    color: var(--color-white);
}

.input-phone-v3 {
    flex-grow: 1;
    border: none !important;
    background-color: transparent !important;
    padding: 1.1rem 1.4rem !important;
    font-size: 1rem;
    color: var(--color-white);
    outline: none;
}

.select-v3 {
    width: 100%;
    padding: 1.1rem 1.4rem;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 0 !important;
    background-color: rgba(255, 255, 255, 0.03);
    font-size: 1rem;
    color: var(--color-white);
    outline: none;
    cursor: pointer;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233abaf4' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 14px;
    padding-right: 38px !important;
    transition: var(--transition-fast);
}

.select-v3 option {
    background-color: var(--color-dark);
    color: var(--color-white);
}

.select-v3:focus {
    border-color: #0077B6;
    background-color: rgba(255, 255, 255, 0.05);
    box-shadow: 0 4px 20px rgba(197, 168, 128, 0.15);
}

.textarea-v3 {
    width: 100%;
    padding: 1.1rem 1.4rem;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 0 !important;
    background-color: rgba(255, 255, 255, 0.03);
    font-size: 1rem;
    color: var(--color-white);
    outline: none;
    resize: vertical;
    transition: var(--transition-fast);
}

.textarea-v3:focus {
    border-color: #0077B6;
    background-color: rgba(255, 255, 255, 0.05);
    box-shadow: 0 4px 20px rgba(197, 168, 128, 0.15);
}

.time-trigger-v3 {
    width: 100%;
    padding: 1.1rem 1.4rem;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 0 !important;
    background-color: rgba(255, 255, 255, 0.03);
    font-size: 1rem;
    color: var(--color-white);
    outline: none;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition-fast);
}

.time-trigger-v3:hover {
    border-color: #0077B6;
}

.time-trigger-v3 svg {
    width: 16px;
    height: 16px;
    color: #0077B6;
}

.form-note-v3 {
    font-size: 0.8rem;
    color: #888888;
    margin: 0;
    line-height: 1.6;
    letter-spacing: 0.02em;
}

.btn-submit-inquiry-v3 {
    background-color: #0077B6;
    color: var(--color-dark);
    border: 1px solid #0077B6;
    padding: 1.3rem 2rem;
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-size: 1rem;
    font-weight: 700;
    border-radius: 0 !important;
    cursor: pointer;
    transition: var(--transition-smooth);
    width: 100%;
    margin-top: 1rem;
}

.btn-submit-inquiry-v3:hover {
    background-color: var(--color-white);
    border-color: var(--color-white);
    color: var(--color-dark);
    box-shadow: 0 15px 35px rgba(255, 255, 255, 0.1);
}

/* Right locations column - Integrated flat editorial layout */
.locations-column-v3 {
    display: flex;
    flex-direction: column;
    gap: 0;
    background-color: transparent;
    padding: 6rem 5rem;
}

.location-card-v3 {
    background-color: transparent;
    border: none;
    border-radius: 0 !important;
    padding: 0 0 3.5rem 0;
    box-shadow: none;
    display: flex;
    align-items: flex-start;
    gap: 2rem;
    transition: var(--transition-smooth);
}

.card-icon-v3 {
    width: 58px;
    height: 58px;
    background-color: rgba(197, 168, 128, 0.08);
    color: #0077B6;
    border: 1px solid rgba(197, 168, 128, 0.3);
    border-radius: 0 !important;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.card-icon-v3 svg {
    width: 24px;
    height: 24px;
}

.card-content-v3 {
    flex-grow: 1;
}

.card-title-v3 {
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--color-white);
    margin: 0 0 1.25rem 0;
    border-bottom: 1px solid rgba(197, 168, 128, 0.15);
    padding-bottom: 0.85rem;
}

.card-address-v3 {
    font-family: var(--font-body);
    font-size: 1.05rem;
    color: #c7c7c7;
    line-height: 1.8;
    margin: 0 0 2rem 0;
    letter-spacing: 0.02em;
}

.card-meta-row-v3 {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    margin-bottom: 2.5rem;
}

.meta-item-v3 {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 500;
    color: #a3a3a3;
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.meta-item-v3 svg {
    width: 18px;
    height: 18px;
    color: #0077B6;
}

.card-buttons-v3 {
    display: flex;
    gap: 1.5rem;
    margin-top: 2rem;
}

.btn-card-outline-v3 {
    flex-grow: 1;
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: var(--color-white);
    background-color: transparent;
    padding: 1rem 1.25rem;
    border-radius: 0 !important;
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.9rem;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    transition: var(--transition-smooth);
}

.btn-card-outline-v3:hover {
    border-color: #0077B6;
    color: #0077B6;
    background-color: rgba(197, 168, 128, 0.05);
}

.btn-card-solid-v3 {
    flex-grow: 1;
    background-color: #0077B6;
    color: var(--color-dark);
    border: 1px solid #0077B6;
    padding: 1rem 1.25rem;
    border-radius: 0 !important;
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.9rem;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    transition: var(--transition-smooth);
}

.btn-card-solid-v3:hover {
    background-color: var(--color-white);
    border-color: var(--color-white);
    color: var(--color-dark);
    box-shadow: 0 10px 20px rgba(255, 255, 255, 0.08);
}

/* Blueprint Dark Map Frame */
.map-frame-container-v3 {
    border: 1px solid rgba(197, 168, 128, 0.15);
    padding: 0.4rem;
    background-color: #121212;
    margin-top: 1.5rem;
    box-shadow: none;
    transition: var(--transition-smooth);
}

.map-frame-container-v3:hover {
    border-color: rgba(197, 168, 128, 0.35);
}

.map-frame-container-v3 iframe {
    display: block;
    width: 100%;
    border: none;
    filter: invert(90%) hue-rotate(180deg) brightness(95%) contrast(110%);
}

/* Guidelines Section */
.guidelines-section-v3 {
    margin-top: 8rem;
    margin-bottom: 6rem;
}

.guidelines-title-v3 {
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 2.8rem;
    font-weight: 500;
    color: var(--color-white);
    text-align: center;
    margin-bottom: 4.5rem;
    position: relative;
}

.guidelines-title-v3::after {
    content: '';
    display: block;
    width: 60px;
    height: 1px;
    background-color: #0077B6;
    margin: 1.5rem auto 0 auto;
}

.guidelines-card-v3 {
    background-color: #121212;
    border: 1px solid rgba(197, 168, 128, 0.15);
    border-radius: 0 !important;
    padding: 5rem 4.5rem;
    box-shadow: none;
    transition: var(--transition-smooth);
}

.guidelines-card-v3:hover {
    border-color: rgba(197, 168, 128, 0.35);
}

.guidelines-list-v3 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.guidelines-item-v3 {
    display: flex;
    align-items: flex-start;
    gap: 2rem;
    border-bottom: 1px solid rgba(197, 168, 128, 0.1);
    padding-bottom: 2.5rem;
}

.guidelines-item-v3:nth-last-child(-n+2) {
    border-bottom: none;
    padding-bottom: 0;
}

.guidelines-num-v3 {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    font-weight: 700;
    color: #0077B6;
    line-height: 1;
    flex-shrink: 0;
    width: 50px;
}

.item-text-v3 strong {
    display: block;
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 1.25rem;
    color: var(--color-white);
    margin-bottom: 0.65rem;
}

.item-text-v3 p {
    font-size: 1.05rem;
    color: #a3a3a3;
    margin: 0;
    line-height: 1.7;
}

/* Emergency banner - Redesigned to sharp, serious charcoal warning module */
.emergency-banner-v3 {
    background-color: #1c1515;
    border: 1px solid rgba(239, 68, 68, 0.25);
    border-left: 5px solid #ef4444;
    border-radius: 0 !important;
    padding: 3.5rem;
    text-align: center;
    margin-top: 6rem;
    box-shadow: none;
    transition: var(--transition-smooth);
}

.emergency-banner-v3:hover {
    border-color: #ef4444;
}

.emergency-banner-v3 h3 {
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 1.8rem;
    font-weight: 700;
    color: #ef4444;
    margin: 0 0 1rem 0;
}

.emergency-banner-v3 p {
    font-size: 1.15rem;
    color: #e4e4e7;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
}

/* Modals Overrides for Contact Page UI consistency */
.time-slot-modal-content {
    border-radius: 0 !important;
    border: 1px solid var(--color-black) !important;
    box-shadow: 0 30px 70px rgba(0,0,0,0.35) !important;
}

.time-slots-grid-popup {
    border-radius: 0 !important;
    border: 1px solid var(--color-gray-light) !important;
}

.time-slot-btn {
    border-radius: 0 !important;
}

.otp-modal-content {
    border-radius: 0 !important;
    border: 1px solid var(--color-black) !important;
}

.otp-icon-wrapper {
    border-radius: 0 !important;
    background-color: rgba(197, 168, 128, 0.1) !important;
    color: #0077B6 !important;
}

.otp-digit {
    border-radius: 0 !important;
}

.greeting-modal-content {
    border-radius: 0 !important;
    border: 1px solid var(--color-black) !important;
}

.success-checkmark-circle {
    border-radius: 0 !important;
    background-color: rgba(197, 168, 128, 0.1) !important;
    color: #0077B6 !important;
}

.verified-status {
    color: #0077B6 !important;
}

/* Responsive Media Queries */
@media (max-width: 991px) {
    .grid-columns-v3 {
        grid-template-columns: 1fr;
        gap: 0;
        border: 1px solid rgba(197, 168, 128, 0.15);
    }
    .message-form-column-v3 {
        border-right: none !important;
        border-bottom: 1px solid rgba(197, 168, 128, 0.15) !important;
        padding: 3.5rem 2rem !important;
    }
    .locations-column-v3 {
        padding: 3.5rem 2rem !important;
    }
    .appointment-banner-v3 {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.75rem;
        padding: 2.5rem;
    }
    .btn-banner-book-v3 {
        width: 100%;
        justify-content: center;
    }
    .guidelines-grid-v4 {
        grid-template-columns: 1fr;
    }
    .guidelines-item-v4 {
        border-right: none !important;
        border-bottom: 1px solid rgba(197, 168, 128, 0.15) !important;
        padding: 3rem 2rem !important;
    }
}

/* ==========================================================================
   SPLIT-PANE BOOKING FORM INTERFACE DEVELOPMENTS (PRISTINE CLINICAL WHITE THEME)
   ========================================================================== */
.contact-page-body {
    background-color: #ffffff !important;
    color: var(--color-dark) !important;
}

.contact-workspace-v3 {
    padding: 8rem 0;
    background-color: #ffffff !important;
}

.contact-header-v3 {
    position: relative;
    padding: 11rem 0 9rem 0;
    text-align: center;
    background-color: #fcfcfc !important;
    background-image: none !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05) !important;
    color: var(--color-dark) !important;
}

.contact-badge-v3 {
    display: inline-block;
    background-color: rgba(197, 168, 128, 0.08) !important;
    color: #0077B6 !important;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    border: 1px solid rgba(197, 168, 128, 0.4) !important;
    padding: 0.6rem 2.2rem;
    border-radius: 0 !important;
    margin-bottom: 2rem;
    font-family: var(--font-heading);
}

.contact-title-v3 {
    font-size: 4.5rem;
    font-weight: 700;
    color: var(--color-black) !important;
    margin-bottom: 1.5rem;
    font-family: var(--font-heading), sans-serif;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    position: relative;
}

.contact-title-v3::after {
    content: '';
    display: block;
    width: 60px;
    height: 1px;
    background-color: #0077B6;
    margin: 1.5rem auto 0 auto;
}

.contact-desc-v3 {
    font-size: 1.15rem;
    color: var(--color-gray-medium) !important;
    max-width: 600px;
    margin: 0 auto;
    font-weight: 400;
    line-height: 1.8;
    letter-spacing: 0.03em;
}

/* Philosophy Banner */
.appointment-banner-v3 {
    background-color: #ffffff !important;
    border: 1px solid rgba(197, 168, 128, 0.2) !important;
    border-top: 2px solid #0077B6 !important;
    border-radius: 0 !important;
    padding: 3rem 4rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6rem;
    box-shadow: none;
    transition: var(--transition-smooth);
}

.banner-icon-circle-v3 {
    width: 58px;
    height: 58px;
    background-color: #fafafa !important;
    color: #0077B6 !important;
    border: 1px solid rgba(197, 168, 128, 0.3) !important;
    border-radius: 0 !important;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.banner-text-v3 h3 {
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--color-black) !important;
    margin: 0 0 0.35rem 0;
}

.banner-text-v3 p {
    font-family: var(--font-body);
    font-size: 1.05rem;
    color: var(--color-gray-medium) !important;
    margin: 0;
    letter-spacing: 0.02em;
}

.btn-banner-book-v3 {
    background-color: var(--color-black) !important;
    color: var(--color-white) !important;
    text-decoration: none;
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-weight: 700;
    padding: 1.1rem 2.5rem;
    border-radius: 0 !important;
    display: inline-flex;
    align-items: center;
    gap: 0.85rem;
    border: 1px solid var(--color-black) !important;
    transition: var(--transition-smooth);
}

.btn-banner-book-v3:hover {
    background-color: #0077B6 !important;
    border-color: #0077B6 !important;
    color: var(--color-white) !important;
    box-shadow: 0 10px 25px rgba(197, 168, 128, 0.15);
}

/* Back Button */
.btn-back-to-calendar-v4 {
    background: transparent;
    border: none;
    color: #0077B6;
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    cursor: pointer;
    margin-bottom: 2rem;
    padding: 0;
    transition: var(--transition-fast);
}

.btn-back-to-calendar-v4:hover {
    color: var(--color-white);
}

.btn-back-to-calendar-v4 svg {
    width: 16px;
    height: 16px;
}

.booking-form-title-v4 {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--color-white);
    margin-bottom: 3.5rem;
}

.booking-form-subtitle-v4 {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    color: var(--color-white);
    margin-bottom: 1.5rem;
}

.login-banner-v4 {
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(197, 168, 128, 0.12);
    padding: 1.25rem 2rem;
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: #a3a3a3;
    margin-bottom: 2.5rem;
}

.login-banner-v4 a {
    color: #0077B6;
    text-decoration: underline !important;
    font-weight: 600;
}

.form-group-half-v4 {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 2rem;
}

/* ==========================================================================
   ELITE HIGH-CONTRAST INLINE SCHEDULER WIDGET (CALENDAR + SLOTS GRID)
   ========================================================================== */
.scheduler-container-v4 {
    display: grid;
    grid-template-columns: 1.1fr 1fr 0.9fr;
    gap: 3.5rem;
    border: 1px solid rgba(197, 168, 128, 0.18);
    background-color: #121212;
    padding: 4.5rem;
    margin-bottom: 6rem;
    align-items: start;
    transition: var(--transition-smooth);
}

.scheduler-column-title-v4 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-white);
    margin-bottom: 2.5rem;
    border-bottom: 1px solid rgba(197, 168, 128, 0.15);
    padding-bottom: 0.75rem;
}

/* 1. Calendar Pane Styles */
.calendar-header-v4 {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.calendar-month-display-v4 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    color: var(--color-white);
}

.calendar-nav-btn-v4 {
    background: transparent;
    border: 1px solid rgba(197, 168, 128, 0.3);
    color: #0077B6;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-fast);
}

.calendar-nav-btn-v4:hover {
    background-color: #0077B6;
    color: var(--color-dark);
    border-color: #0077B6;
}

.calendar-weekdays-grid-v4 {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    text-align: center;
    margin-bottom: 1rem;
}

.weekday-label-v4 {
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 700;
    color: #888888;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.calendar-days-grid-v4 {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    row-gap: 0.75rem;
    column-gap: 0.5rem;
}

.calendar-day-v4 {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 500;
    color: #a3a3a3;
    cursor: pointer;
    position: relative;
    transition: var(--transition-fast);
}

.calendar-day-v4:hover:not(.day-empty-v4):not(.day-disabled-v4) {
    background-color: rgba(197, 168, 128, 0.1);
    color: #0077B6;
}

.day-empty-v4 {
    cursor: default;
    opacity: 0;
}

.day-disabled-v4 {
    color: #444444;
    cursor: not-allowed;
    text-decoration: line-through;
}

.day-selected-v4 {
    background-color: #0077B6 !important;
    color: var(--color-dark) !important;
    font-weight: 700;
}

.day-selected-v4::after {
    content: '';
    position: absolute;
    bottom: 4px;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background-color: var(--color-dark);
}

/* 2. Slots Pane Styles */
.slots-container-v4 {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.slots-grid-v4 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    max-height: 380px;
    overflow-y: auto;
    padding-right: 0.5rem;
}

.slots-grid-v4::-webkit-scrollbar {
    width: 4px;
}

.slots-grid-v4::-webkit-scrollbar-thumb {
    background-color: rgba(197, 168, 128, 0.3);
}

.slot-btn-v4 {
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #c7c7c7;
    padding: 1rem 0.5rem;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 500;
    text-align: center;
    cursor: pointer;
    transition: var(--transition-fast);
}

.slot-btn-v4:hover:not(.slot-booked-v4) {
    border-color: #0077B6;
    color: #0077B6;
}

.slot-btn-selected-v4 {
    background-color: #0077B6 !important;
    border-color: #0077B6 !important;
    color: var(--color-dark) !important;
    font-weight: 600;
}

.slot-booked-v4 {
    opacity: 0.25;
    cursor: not-allowed;
    text-decoration: line-through;
    background-color: transparent;
}

/* 3. Service Details Pane Styles */
.details-pane-v4 {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.details-card-v4 {
    background-color: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(197, 168, 128, 0.15);
    padding: 2.2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.details-row-v4 {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.details-row-v4 label {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    color: #888888;
    text-transform: uppercase;
}

.details-val-v4 {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 500;
    color: var(--color-white);
}

.details-val-highlight-v4 {
    color: #0077B6 !important;
    font-weight: 600;
}

.btn-scheduler-next-v4 {
    background-color: #0077B6;
    color: var(--color-dark);
    border: 1px solid #0077B6;
    padding: 1.25rem;
    width: 100%;
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    cursor: pointer;
    transition: var(--transition-smooth);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}

.btn-scheduler-next-v4:hover:not(:disabled) {
    background-color: var(--color-white);
    border-color: var(--color-white);
    color: var(--color-dark);
}

.btn-scheduler-next-v4:disabled {
    opacity: 0.35;
    cursor: not-allowed;
}

/* 4. Sliding Patient Intake Layout Screen */
.patient-intake-screen-v4 {
    display: none;
    max-width: 600px;
    margin: 0 auto 6rem auto;
    background-color: #121212;
    border: 1px solid rgba(197, 168, 128, 0.18);
    border-top: 3px solid #0077B6;
    padding: 5rem 4rem;
    transition: var(--transition-smooth);
}

.patient-intake-screen-v4.active {
    display: block;
    animation: slideUpIntake 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.intake-summary-banner-v4 {
    background-color: rgba(197, 168, 128, 0.05);
    border: 1px solid rgba(197, 168, 128, 0.15);
    padding: 1.5rem 2rem;
    margin-bottom: 3rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.intake-summary-text-v4 h4 {
    font-family: var(--font-heading);
    font-size: 0.8rem;
    letter-spacing: 0.08em;
    color: #888888;
    text-transform: uppercase;
    margin: 0 0 0.3rem 0;
}

.intake-summary-text-v4 p {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    color: var(--color-white);
    margin: 0;
}

.btn-change-schedule-v4 {
    background: transparent;
    border: none;
    color: #0077B6;
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    cursor: pointer;
    text-decoration: underline;
}

.btn-change-schedule-v4:hover {
    color: var(--color-white);
}

/* Tablet / Mobile responsive scheduler overrides */
@media (max-width: 991px) {
    .scheduler-container-v4 {
        grid-template-columns: 1fr;
        gap: 4rem;
        padding: 3rem 2rem;
    }
    .slots-grid-v4 {
        max-height: none;
    }
    .patient-intake-screen-v4 {
        padding: 3.5rem 2rem;
    }
}


/* Guidelines v4 Custom Horizontal Grid Section */
.guidelines-grid-v4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    border: 1px solid rgba(197, 168, 128, 0.15);
    background-color: #121212;
}

.guidelines-item-v4 {
    padding: 4rem 3rem;
    border-right: 1px solid rgba(197, 168, 128, 0.15);
    display: flex;
    flex-direction: column;
    gap: 2.2rem;
    transition: var(--transition-smooth);
}

.guidelines-item-v4:last-child {
    border-right: none;
}

.guidelines-item-v4:hover {
    background-color: rgba(197, 168, 128, 0.02);
}

.guidelines-num-v4 {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 300;
    color: #0077B6;
    line-height: 1;
    opacity: 0.8;
}

.item-text-v4 h3 {
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--color-white);
    margin-bottom: 1rem;
    line-height: 1.4;
}

.item-text-v4 p {
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: #a3a3a3;
    line-height: 1.7;
    margin: 0;
}

/* ==========================================================================
   CLEAN LUXURY LIGHT/WHITE CLINICAL THEME OVERRIDES
   ========================================================================== */
.contact-page-body {
    background-color: #ffffff !important;
    color: #222222 !important;
}

/* Scheduler Container & Screens */
.contact-page-body .scheduler-container-v4,
.contact-page-body .patient-intake-screen-v4 {
    background-color: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 4rem 0rem 4rem 0rem !important;
}

.contact-page-body .scheduler-column-title-v4 {
    color: #111111 !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06) !important;
}

/* Calendar month display */
.contact-page-body .calendar-month-display-v4 {
    color: #111111 !important;
}

.contact-page-body .calendar-nav-btn-v4 {
    border: 1px solid rgba(197, 168, 128, 0.4) !important;
    color: #0077B6 !important;
}

.contact-page-body .calendar-nav-btn-v4:hover {
    background-color: #0077B6 !important;
    color: #ffffff !important;
}

.contact-page-body .weekday-label-v4 {
    color: #777777 !important;
}

.contact-page-body .calendar-day-v4 {
    color: #222222 !important;
}

.contact-page-body .calendar-day-v4:hover:not(.day-empty-v4):not(.day-disabled-v4) {
    background-color: rgba(197, 168, 128, 0.1) !important;
    color: #0077B6 !important;
}

.contact-page-body .day-disabled-v4 {
    color: #dddddd !important;
    text-decoration: line-through;
}

.contact-page-body .day-selected-v4 {
    background-color: #0077B6 !important;
    color: #ffffff !important;
}

/* Slots Pane */
.contact-page-body .slot-btn-v4 {
    background-color: #fafafa !important;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
    color: #444444 !important;
}

.contact-page-body .slot-btn-v4:hover:not(.slot-booked-v4) {
    border-color: #0077B6 !important;
    color: #0077B6 !important;
    background-color: rgba(197, 168, 128, 0.05) !important;
}

.contact-page-body .slot-btn-selected-v4 {
    background-color: #0077B6 !important;
    border-color: #0077B6 !important;
    color: #ffffff !important;
}

.contact-page-body .slot-booked-v4 {
    opacity: 0.18 !important;
    background-color: transparent !important;
    color: #cccccc !important;
}

/* Details Pane */
.contact-page-body .details-val-v4 {
    color: #111111 !important;
}

.contact-page-body .details-row-v4 label {
    color: #666666 !important;
}

.contact-page-body .details-row-v4 {
    border-color: rgba(0, 0, 0, 0.08) !important;
}

.contact-page-body .btn-scheduler-next-v4 {
    background-color: #0077B6 !important;
    color: #ffffff !important;
    border-color: #0077B6 !important;
}

.contact-page-body .btn-scheduler-next-v4:hover:not(:disabled) {
    background-color: #111111 !important;
    border-color: #111111 !important;
    color: #ffffff !important;
}

/* Booking Form Elements */
.contact-page-body .booking-form-title-v4,
.contact-page-body .booking-form-subtitle-v4 {
    color: #111111 !important;
}

.contact-page-body .login-banner-v4 {
    background-color: #fafafa !important;
    border: 1px solid rgba(0, 0, 0, 0.06) !important;
    color: #555555 !important;
}

.contact-page-body .btn-back-to-calendar-v4 {
    color: #0077B6 !important;
}

.contact-page-body .btn-back-to-calendar-v4:hover {
    color: #111111 !important;
}

/* Form Inputs */
.contact-page-body .input-v3,
.contact-page-body .textarea-v3,
.contact-page-body .select-v3,
.contact-page-body .phone-group-v3 {
    background-color: #fafafa !important;
    border: 1px solid rgba(0, 0, 0, 0.1) !important;
    color: #111111 !important;
}

.contact-page-body .input-v3:focus,
.contact-page-body .textarea-v3:focus,
.contact-page-body .select-v3:focus,
.contact-page-body .phone-group-v3:focus-within {
    background-color: #ffffff !important;
    border-color: #0077B6 !important;
    box-shadow: 0 4px 15px rgba(197, 168, 128, 0.1) !important;
}

.contact-page-body .select-country-v3 {
    border-right: 1px solid rgba(0, 0, 0, 0.1) !important;
    color: #111111 !important;
}

.contact-page-body .select-country-v3 option,
.contact-page-body .select-v3 option {
    background-color: #ffffff !important;
    color: #111111 !important;
}

.contact-page-body .input-phone-v3 {
    color: #111111 !important;
}

/* Guidelines */
.contact-page-body .guidelines-grid-v4 {
    background-color: #ffffff !important;
    border: 1px solid rgba(197, 168, 128, 0.22) !important;
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.03) !important;
}

.contact-page-body .guidelines-item-v4 {
    border-right: 1px solid rgba(197, 168, 128, 0.15) !important;
}

.contact-page-body .guidelines-item-v4:hover {
    background-color: rgba(197, 168, 128, 0.03) !important;
}

.contact-page-body .item-text-v4 h3 {
    color: #111111 !important;
}

.contact-page-body .item-text-v4 p {
    color: #555555 !important;
}

/* ==========================================================================
   HIGH-DENSITY COMPACT OVERRIDES (PREVENT FORM SCROLLING)
   ========================================================================== */
.contact-page-body .form-element-v3 {
    display: flex;
    flex-direction: column;
    gap: 1.1rem !important; /* Heavily reduced gap between rows from 2.2rem to 1.1rem */
}

.contact-page-body .form-group-v3 {
    gap: 0.35rem !important; /* Reduced vertical space between label and input */
}

.contact-page-body .form-row-2-v3 {
    gap: 1.25rem !important; /* Narrower gap between columns */
}

.contact-page-body .booking-form-title-v4 {
    font-size: 2.2rem !important; /* Slightly smaller size to fit space nicely */
    margin-bottom: 1.2rem !important; /* Reduced bottom margin */
}

.contact-page-body .booking-form-subtitle-v4 {
    margin-bottom: 0.65rem !important; /* Reduced margin above inputs */
    font-size: 1.2rem !important;
}

.contact-page-body .login-banner-v4 {
    margin-bottom: 1.2rem !important; /* Reduced spacing */
    padding: 0.75rem 1.25rem !important; /* Extremely compact padding */
    font-size: 0.85rem !important;
}

.contact-page-body .btn-back-to-calendar-v4 {
    margin-bottom: 0.85rem !important; /* Reduced margin */
}

.contact-page-body .input-v3,
.contact-page-body .textarea-v3,
.contact-page-body .select-v3,
.contact-page-body .phone-group-v3 {
    padding: 0.75rem 1.1rem !important; /* Compact interior input padding */
    font-size: 0.95rem !important;
}

.contact-page-body .select-country-v3 {
    padding: 0.75rem 0.5rem !important;
    font-size: 0.95rem !important;
}

.contact-page-body .input-phone-v3 {
    padding: 0.75rem 1.1rem !important;
    font-size: 0.95rem !important;
}

.contact-page-body .textarea-v3 {
    min-height: 90px !important; /* Smaller text area height */
}

/* Align slots grid scroll height to avoid layout shift */
.contact-page-body .slots-grid-v4 {
    max-height: 330px !important;
}

/* Guidelines section spacing and title visibility overrides */
.contact-page-body .scheduler-container-v4 {
    margin-top: 6.5rem !important; /* High-end clearance from fixed sticky navigation bar */
    margin-bottom: 2rem !important;
    padding-bottom: 1rem !important;
}

.contact-page-body .guidelines-section-v3 {
    margin-top: 4.5rem !important; /* Elegant spacing increased slightly from upper section */
    margin-bottom: 5rem !important;
}

.contact-page-body .guidelines-title-v3 {
    color: #111111 !important; /* Fix white-on-white invisible heading text */
    font-size: 2.2rem !important;
    margin-bottom: 3.5rem !important; /* Increased space below heading */
}

/* Guidelines UI Luxury Masterpiece Redesign (Flat Left-Accent Cards Layout) */
.contact-page-body .guidelines-grid-v4 {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 2rem !important; /* Breathable gap between clean cards */
    border: none !important;
    background: transparent !important;
    box-shadow: none !important;
}

/* Responsive grid for tablets/mobile */
@media (max-width: 991px) {
    .contact-page-body .guidelines-grid-v4 {
        grid-template-columns: 1fr !important;
        gap: 2.2rem !important;
    }
}

.contact-page-body .guidelines-item-v4 {
    background-color: #ffffff !important; /* Clean premium paper white */
    border: none !important; /* Remove standard box borders */
    border-left: 3px solid rgba(197, 168, 128, 0.18) !important; /* Single delicate gold vertical timeline border on the left */
    padding: 2.5rem 2rem !important; /* Luxurious comfortable padding */
    display: flex;
    flex-direction: column;
    gap: 1.4rem !important;
    position: relative !important;
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.015) !important; /* Gentle shadow */
    transition: all 0.45s cubic-bezier(0.16, 1, 0.3, 1) !important;
    overflow: hidden; /* Lock in watermark */
}

.contact-page-body .guidelines-item-v4:hover {
    transform: translateX(6px) !important; /* High-end horizontal timeline slide instead of simple lift! */
    border-left-color: #0077B6 !important; /* Bright active gold indicator */
    box-shadow: 0 15px 40px rgba(197, 168, 128, 0.07) !important; /* Soft warm gold glow */
}

.contact-page-body .guideline-card-header {
    display: flex;
    justify-content: flex-start; /* Align icon left */
    align-items: center;
    width: 100%;
}

.contact-page-body .guideline-icon-wrapper {
    width: 44px;
    height: 44px;
    border-radius: 50% !important;
    border: 1px solid rgba(197, 168, 128, 0.25) !important;
    background-color: rgba(197, 168, 128, 0.02) !important;
    color: #0077B6 !important;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.contact-page-body .guideline-icon-wrapper svg {
    width: 18px;
    height: 18px;
    stroke-width: 1.5;
}

.contact-page-body .guidelines-item-v4:hover .guideline-icon-wrapper {
    background-color: #0077B6 !important;
    color: #ffffff !important;
    border-color: #0077B6 !important;
    transform: scale(1.1) rotate(6deg) !important;
}

/* Watermark step numbers (Elite modern editorial technique) */
.contact-page-body .guidelines-num-v4 {
    font-size: 5rem !important; /* Large, bold background watermark */
    font-weight: 700 !important;
    color: rgba(197, 168, 128, 0.05) !important; /* Extremely light and subtle */
    position: absolute !important;
    right: 1rem !important;
    top: 0.5rem !important;
    font-family: var(--font-heading);
    letter-spacing: -0.05em;
    z-index: 1;
    pointer-events: none;
    transition: all 0.4s ease !important;
}

.contact-page-body .guidelines-item-v4:hover .guidelines-num-v4 {
    color: rgba(197, 168, 128, 0.1) !important; /* Brighten slightly on hover */
    transform: scale(1.05) !important;
}

.contact-page-body .item-text-v4 {
    position: relative;
    z-index: 2; /* Sit cleanly on top of watermark */
}

.contact-page-body .item-text-v4 h3 {
    color: #111111 !important;
    font-size: 1.05rem !important;
    font-weight: 600 !important;
    letter-spacing: 0.06em !important;
    margin-bottom: 0.65rem !important;
    text-transform: uppercase;
}

.contact-page-body .item-text-v4 p {
    color: #666666 !important;
    font-size: 0.88rem !important;
    line-height: 1.7 !important;
    font-family: var(--font-body);
}

/* ==========================================================================
   URGENT CLINICAL SUPPORT (FULL-WIDTH LIGHT THEME PREMIUM REDESIGN)
   ========================================================================== */
.contact-page-body .emergency-banner-v3-full {
    width: 100% !important;
    background-color: #fff9f9 !important; /* Soft, delicate premium rose/crimson tint background */
    border-top: 1px solid rgba(220, 53, 69, 0.12) !important; /* Elegant top border line */
    border-bottom: 1px solid rgba(220, 53, 69, 0.12) !important; /* Elegant bottom border line */
    padding: 3.5rem 0 !important; /* Generous breathing vertical space */
    margin: 4.5rem 0 0 0 !important; /* Align flush with footer top */
}

.contact-page-body .emergency-banner-content-v4 {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.contact-page-body .emergency-banner-content-v4 h3 {
    font-family: var(--font-heading);
    color: #9d1c24 !important; /* Premium deep burgundy urgent color */
    font-size: 1.35rem !important;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.16em !important;
    margin-bottom: 0.85rem !important;
}

.contact-page-body .emergency-banner-content-v4 p {
    font-family: var(--font-body);
    color: #666666 !important; /* Clean readable clinical description color */
    font-size: 0.95rem !important;
    line-height: 1.75 !important;
    letter-spacing: 0.02em !important;
    margin: 0 !important;
}

/* ==========================================================================
   EXPLICIT BRAND FONT FAMILY OVERRIDES
   ========================================================================== */
.contact-page-body .scheduler-column-title-v4,
.contact-page-body .calendar-month-display-v4,
.contact-page-body .weekday-label-v4,
.contact-page-body .details-row-v4 label,
.contact-page-body .booking-form-title-v4,
.contact-page-body .booking-form-subtitle-v4,
.contact-page-body .label-v3,
.contact-page-body .btn-back-to-calendar-v4,
.contact-page-body .btn-scheduler-next-v4,
.contact-page-body .guidelines-num-v4,
.contact-page-body .item-text-v4 h3,
.contact-page-body .guidelines-title-v3 {
    font-family: 'HvDTrial Brandon Grotesque', 'HVD Trial Brandon Grotesque', var(--font-body), sans-serif !important;
}

.contact-page-body .calendar-day-v4,
.contact-page-body .slot-btn-v4,
.contact-page-body .details-val-v4,
.contact-page-body .login-banner-v4,
.contact-page-body .input-v3,
.contact-page-body .textarea-v3,
.contact-page-body .select-v3,
.contact-page-body .select-country-v3,
.contact-page-body .input-phone-v3,
.contact-page-body .item-text-v4 p,
.contact-page-body .emergency-banner-content-v4 p {
    font-family: var(--font-body) !important;
}

/* ==========================================================================
   SIGNATURE LUXURY FOOTER SECTION STYLE (COMPACT 15% REDUCED HEIGHT)
   ========================================================================== */
.footer {
    background: linear-gradient(180deg, #070c14 0%, #030509 100%) !important;
    padding: 3rem 0 1.5rem 0 !important;
    position: relative;
    border-top: 1px solid transparent !important;
    color: #ffffff !important;
    width: 100% !important;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, rgba(114, 92, 58, 0) 0%, rgba(114, 92, 58, 0.8) 50%, rgba(114, 92, 58, 0) 100%);
    width: 100%;
}

.footer .container {
    max-width: 1600px !important;
    margin: 0 auto !important;
    padding: 0 2rem !important;
}

/* Top Signature Block */
.footer-signature-block {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    margin-bottom: 2rem !important;
}

.footer-pre-title {
    font-family: 'HvDTrial Brandon Grotesque', 'HVD Trial Brandon Grotesque', sans-serif !important;
    font-size: 0.8rem !important;
    letter-spacing: 0.4em !important;
    color: rgba(255, 255, 255, 0.4) !important;
    margin-bottom: 0.8rem !important;
    text-transform: uppercase !important;
    font-weight: 500 !important;
    transition: color 0.3s ease;
}

.footer-signature-block:hover .footer-pre-title {
    color: #0077B6 !important;
}

.footer-logo-img-wrapper {
    display: inline-block !important;
    transition: transform 0.4s ease;
}

.footer-signature-block:hover .footer-logo-img-wrapper {
    transform: scale(1.05);
}

.footer-logo-image {
    height: 70px !important;
    width: auto !important;
    filter: none !important;
}

/* Footer Columns Grid */
.footer-grid-luxury {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 2.5rem !important;
    margin-bottom: 2.5rem !important;
    border-top: 1px solid rgba(255, 255, 255, 0.05) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
    padding: 2.5rem 0 !important;
    max-width: 1200px !important;
    margin: 0 auto 2.5rem auto !important;
}

.footer-col-luxury {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    text-align: left !important;
    justify-self: center !important;
}

.footer-col-luxury h4 {
    font-family: 'HvDTrial Brandon Grotesque', 'HVD Trial Brandon Grotesque', sans-serif !important;
    font-size: 0.9rem !important;
    letter-spacing: 0.2em !important;
    color: #0077B6 !important;
    margin-bottom: 1.25rem !important;
    text-transform: uppercase !important;
    font-weight: 700 !important;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-col-luxury h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background-color: rgba(255, 255, 255, 0.2);
    transition: width 0.3s ease;
}

.footer-col-luxury:hover h4::after {
    width: 50px;
    background-color: #0077B6;
}

.footer-col-luxury ul {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.footer-col-luxury ul li {
    margin-bottom: 0.6rem !important;
}

.footer-col-luxury ul a {
    font-family: var(--font-body), sans-serif !important;
    color: rgba(255, 255, 255, 0.7) !important;
    text-decoration: none !important;
    font-size: 0.95rem !important;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
    letter-spacing: 0.05em !important;
    font-weight: 500 !important;
    display: inline-block !important;
}

.footer-col-luxury ul a:hover {
    color: #ffffff !important;
    transform: translateX(6px) !important;
}

.footer-col-luxury p {
    font-family: var(--font-body), sans-serif !important;
    color: rgba(255, 255, 255, 0.7) !important;
    font-size: 0.95rem !important;
    line-height: 1.6 !important;
    margin: 0 !important;
    letter-spacing: 0.05em !important;
    font-weight: 500 !important;
    transition: color 0.3s ease;
}

.footer-col-luxury:hover p {
    color: rgba(255, 255, 255, 0.95);
}

/* Centered Social Links */
.footer-social-row {
    display: flex !important;
    justify-content: center !important;
    gap: 1.25rem !important;
    margin-bottom: 2rem !important;
}

.footer-social-link {
    color: rgba(255, 255, 255, 0.6) !important;
    background: rgba(255, 255, 255, 0.03) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 50% !important;
    width: 44px !important;
    height: 44px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.footer-social-link:hover {
    color: #ffffff !important;
    background: rgba(114, 92, 58, 0.15) !important;
    border-color: #0077B6 !important;
    transform: translateY(-4px) !important;
    box-shadow: 0 5px 15px rgba(114, 92, 58, 0.3) !important;
}

.footer-social-svg {
    width: 18px !important;
    height: 18px !important;
}

/* Footer Bottom Copyright */
.footer-bottom-luxury {
    text-align: center !important;
    border-top: 1px solid rgba(255, 255, 255, 0.05) !important;
    padding-top: 1.5rem !important;
}

.footer-bottom-luxury p {
    font-family: var(--font-body), sans-serif !important;
    font-size: 0.72rem !important;
    color: rgba(255, 255, 255, 0.3) !important;
    letter-spacing: 0.12em !important;
    margin: 0 !important;
    text-transform: uppercase !important;
}

/* Responsive Footer */
@media (max-width: 991px) {
    .footer-grid-luxury {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 1.5rem !important;
    }
}

@media (max-width: 575px) {
    .footer-grid-luxury {
        grid-template-columns: 1fr !important;
        text-align: center !important;
    }
    .footer-col-luxury {
        align-items: center !important;
    }
}


/* ==========================================================================
   AESTHETIC REVAMP: BEFORE & AFTER PAGE (LUXURY MONOCHROME & GOLD)
   ========================================================================== */

/* 2. Visual Category Selector Updates */
.category-nav-card {
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    position: relative;
    overflow: hidden;
}

.category-nav-card-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.category-nav-card:hover .category-nav-card-img {
    transform: scale(1.08);
}

.category-nav-card:hover {
    border-color: rgba(197, 168, 128, 0.4);
    box-shadow: 0 15px 35px rgba(197, 168, 128, 0.12);
}

.category-nav-card-footer {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    backdrop-filter: blur(12px) saturate(140%);
    -webkit-backdrop-filter: blur(12px) saturate(140%);
    background: rgba(13, 13, 13, 0.65);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 1.15rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 3;
    transition: var(--transition-smooth);
}

.category-nav-card:hover .category-nav-card-footer {
    background: rgba(13, 13, 13, 0.8);
    border-top-color: rgba(197, 168, 128, 0.3);
}

.category-nav-card .category-nav-name {
    position: static;
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    color: var(--color-white);
    margin: 0;
    transition: color 0.3s ease;
}

.category-nav-card:hover .category-nav-name {
    color: #0077B6;
}

.category-nav-card .category-nav-hover-content {
    position: static;
    transform: none;
    opacity: 1;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.35rem;
}

.category-nav-card .category-nav-hover-content i {
    width: 16px;
    height: 16px;
    color: #0077B6;
    transform: translateX(-4px);
    transition: transform 0.3s ease;
}

.category-nav-card:hover .category-nav-hover-content i {
    transform: translateX(0);
}

.category-nav-card .category-nav-hover-content span {
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.6);
    display: none; /* Keep layout clean and show arrow only */
}

/* 3. Portfolio Filters Updates */
.portfolio-filters-container {
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
    margin-bottom: 3rem;
}

@media (max-width: 768px) {
    .portfolio-filters-container {
        overflow-x: auto;
        padding-bottom: 1rem;
        -webkit-overflow-scrolling: touch;
    }
    
    .portfolio-filters {
        justify-content: flex-start !important;
        flex-wrap: nowrap !important;
        padding: 0 1rem !important;
    }
}

.portfolio-filter-btn {
    border-radius: 30px; /* Fully rounded capsules */
    border: 1px solid rgba(197, 168, 128, 0.25);
    padding: 0.6rem 1.4rem;
    font-size: 0.725rem;
    letter-spacing: 0.08em;
    font-weight: 700;
    background-color: var(--color-white);
    color: var(--color-gray-dark);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.portfolio-filter-btn:hover {
    background-color: rgba(197, 168, 128, 0.05);
    border-color: rgba(197, 168, 128, 0.6);
    color: #0077B6;
}

.portfolio-filter-btn.active {
    background-color: var(--color-black) !important;
    border-color: var(--color-black) !important;
    color: #0077B6 !important; /* Gold text on active black capsule */
    box-shadow: 0 4px 12px rgba(197, 168, 128, 0.15);
}

/* 4. Gallery Item Cards & Sliders */
.transformations-gallery-section {
    background-color: #fcfcfc !important; /* Soft luxury light background */
    padding-bottom: 5rem !important;
}

.gallery-container {
    max-width: 1400px !important;
}

.gallery-grid {
    gap: 2rem;
}

.gallery-item {
    border-radius: 16px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    background-color: var(--color-white);
    padding: 0 !important; /* Bleed images to card edges */
    overflow: hidden; /* Clips children to match card border-radius */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02); /* Clean premium shadow */
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s ease, box-shadow 0.4s ease;
}

.gallery-item:hover {
    transform: translateY(-6px);
    border-color: rgba(197, 168, 128, 0.35);
    box-shadow: 0 20px 45px rgba(197, 168, 128, 0.08); /* Gold glow on hover */
}

.gallery-item-content {
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.case-badge-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.85rem;
    width: 100%;
}

.gallery-item .case-badge {
    background-color: rgba(197, 168, 128, 0.1);
    border: 1px solid rgba(197, 168, 128, 0.35);
    color: #0077B6; /* Gold text on soft background */
    font-size: 0.65rem;
    font-weight: 700;
    padding: 0.3rem 0.85rem;
    border-radius: 30px;
    letter-spacing: 0.08em;
    display: inline-block;
    text-transform: uppercase;
}

.case-num-tag {
    display: none !important;
}

.gallery-item-title {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    margin-bottom: 1rem;
    color: var(--color-black);
    text-transform: uppercase;
    line-height: 1.25;
}

/* Clinical Metadata Grid */
.case-meta-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 0.5rem 1rem;
    background: #fafafa;
    border-top: 1px solid rgba(0, 0, 0, 0.04);
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
    padding: 0.85rem 0;
    margin-bottom: 1.25rem;
    width: 100%;
}

.case-meta-item {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.case-meta-item:first-child {
    border-right: 1px solid rgba(0, 0, 0, 0.05);
    padding-right: 0.5rem;
}

.case-meta-item .meta-label {
    font-size: 0.6rem;
    font-weight: 700;
    color: var(--color-gray-medium);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 0.2rem;
}

.case-meta-item .meta-value {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--color-black);
}

/* Luxury Slider Updates */
.gallery-grid .slider-container {
    border-radius: 0;
    border: none;
    aspect-ratio: 3/2 !important;
}

.gallery-grid .before-label {
    display: none !important;
}

.gallery-grid .after-label {
    display: none !important;
}

.gallery-grid .slider-handle {
    width: 2px;
    background-color: #0077B6;
    box-shadow: 0 0 10px rgba(197, 168, 128, 0.8);
}

.gallery-grid .slider-handle-line {
    width: 2px;
    background-color: #0077B6;
}

.gallery-grid .slider-handle-button {
    background-color: var(--color-black);
    border: 2px solid #0077B6;
    color: #0077B6;
    box-shadow: 0 0 15px rgba(197, 168, 128, 0.4);
}

.gallery-grid .slider-container:hover .slider-handle-button {
    background-color: #0077B6;
    color: var(--color-black);
    border-color: var(--color-black);
    box-shadow: 0 0 20px rgba(197, 168, 128, 0.8);
}

.gallery-item-desc {
    display: none !important;
    font-family: var(--font-body);
    font-size: 0.9rem;
    line-height: 1.55;
    color: var(--color-gray-medium);
    margin-bottom: 1.25rem;
}

/* Premium Styled Quote */
.case-testimonial {
    display: none !important;
    border-left: 2px solid #0077B6;
    background-color: rgba(197, 168, 128, 0.02);
    padding: 0.85rem 1.15rem;
    border-radius: 0 8px 8px 0;
    margin-bottom: 1.5rem;
    text-align: left;
}

.case-testimonial p {
    font-family: Georgia, serif;
    font-size: 0.925rem;
    line-height: 1.5;
    color: var(--color-gray-dark);
    margin: 0;
    font-style: italic;
}

.case-testimonial cite {
    font-family: var(--font-heading);
    font-size: 0.725rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: #0077B6;
    display: block;
    margin-top: 0.5rem;
    text-transform: uppercase;
}

.gallery-item .btn-view-story {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    padding: 0.85rem;
    background: var(--color-black);
    border: 1px solid var(--color-black);
    border-radius: 50px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 0.08em;
    color: var(--color-white);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    margin-top: auto;
    text-transform: uppercase;
}

.gallery-item .btn-view-story i {
    width: 12px;
    height: 12px;
    color: var(--color-white);
    transition: transform 0.3s ease, color 0.3s ease;
}

.gallery-item .btn-view-story:hover {
    background-color: var(--color-primary);
    color: var(--color-white);
    border-color: var(--color-primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(114, 92, 58, 0.35);
}

.gallery-item .btn-view-story:hover i {
    color: var(--color-white);
    transform: translateX(4px);
}

/* 5. Editorial Dark Case Story Modal -> Turned to Elegant Light Theme */
#story-modal {
    background-color: rgba(20, 20, 20, 0.4);
    backdrop-filter: blur(15px) saturate(140%);
    -webkit-backdrop-filter: blur(15px) saturate(140%);
}

#story-modal .modal-content {
    background-color: var(--color-white);
    border: 1px solid rgba(197, 168, 128, 0.25);
    border-radius: 12px;
    max-width: 920px !important;
    padding: 2.5rem !important;
    color: var(--color-black);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.12);
}

#story-modal .modal-close {
    color: rgba(0, 0, 0, 0.5);
    font-weight: 300;
}

#story-modal .modal-close:hover {
    color: #0077B6;
}

#story-modal .story-case-number {
    color: #0077B6;
    font-weight: 800;
    font-size: 0.725rem;
    letter-spacing: 0.1em;
}

#story-modal .story-title {
    color: var(--color-black);
    font-size: 1.65rem;
    letter-spacing: 0.04em;
}

#story-modal .story-body {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 2.25rem;
    margin-top: 1.5rem;
    margin-bottom: 2rem;
    align-items: stretch;
}

#story-modal .story-comparison-wrapper {
    margin-bottom: 0;
}

#story-modal .story-images-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

#story-modal .story-img-card {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.08);
    aspect-ratio: 4/3;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.06);
}

#story-modal .story-img-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

#story-modal .story-img-badge {
    position: absolute;
    top: 10px;
    padding: 0.3rem 0.65rem;
    font-size: 0.6rem;
    font-weight: 700;
    font-family: var(--font-heading);
    letter-spacing: 0.05em;
    border-radius: 3px;
    z-index: 5;
}

#story-modal .before-badge {
    left: 10px;
    background-color: rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.1);
    color: var(--color-black);
}

#story-modal .after-badge {
    right: 10px;
    background-color: #0077B6;
    color: var(--color-black);
    font-weight: 700;
}

#story-modal .story-details-text {
    display: flex;
    flex-direction: column;
    gap: 1.35rem;
    padding-right: 0.75rem;
    max-height: 520px;
    overflow-y: auto;
}

#story-modal .story-details-text::-webkit-scrollbar {
    width: 4px;
}

#story-modal .story-details-text::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.02);
}

#story-modal .story-details-text::-webkit-scrollbar-thumb {
    background: rgba(197, 168, 128, 0.3);
    border-radius: 2px;
}

#story-modal .story-section-block {
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    padding-bottom: 1.15rem;
}

#story-modal .story-section-block:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

#story-modal .story-subheading {
    font-size: 0.725rem;
    color: #0077B6;
    margin-bottom: 0.45rem;
    letter-spacing: 0.08em;
    display: flex;
    align-items: center;
    gap: 0.35rem;
    font-weight: 700;
}

#story-modal .story-subheading i {
    width: 13px;
    height: 13px;
    color: #0077B6;
}

#story-modal .story-desc {
    font-size: 0.95rem;
    line-height: 1.5;
    color: rgba(0, 0, 0, 0.7);
}

#story-modal .story-quote {
    border-left: 2px solid #0077B6;
    background-color: rgba(197, 168, 128, 0.04);
    padding: 0.75rem 1rem;
    border-radius: 0 6px 6px 0;
    margin: 0.5rem 0 0 0;
}

#story-modal .story-quote p {
    font-family: Georgia, serif;
    font-size: 0.925rem;
    font-style: italic;
    color: rgba(0, 0, 0, 0.8);
    line-height: 1.45;
}

#story-modal .story-quote cite {
    display: block;
    font-family: var(--font-heading);
    font-size: 0.725rem;
    color: #0077B6;
    font-weight: 700;
    letter-spacing: 0.05em;
    margin-top: 0.4rem;
}

#story-modal .story-footer {
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    padding-top: 1.25rem;
    display: flex;
    justify-content: flex-end;
}

#story-modal .btn-story-close {
    background-color: transparent;
    border: 1px solid var(--color-black);
    color: var(--color-black);
    padding: 0.65rem 1.75rem;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.775rem;
    letter-spacing: 0.08em;
    cursor: pointer;
    border-radius: 4px;
    transition: all 0.3s ease;
}

#story-modal .btn-story-close:hover {
    background-color: var(--color-black);
    color: var(--color-white);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

@media (max-width: 991px) {
    #story-modal .story-body {
        grid-template-columns: 1fr;
        gap: 1.75rem;
    }
    
    #story-modal .story-details-text {
        max-height: none;
    }
}

/* Modal Interactive Slider Styling */
.modal-interactive-slider-container {
    margin-top: 1.5rem;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    padding-top: 1.25rem;
}

.modal-interactive-slider-container .slider-title-label {
    font-size: 0.75rem;
    color: #0077B6;
    margin-bottom: 0.85rem;
    letter-spacing: 0.08em;
    display: flex;
    align-items: center;
    gap: 0.35rem;
    font-weight: 700;
}

.modal-interactive-slider-container .slider-title-label i {
    width: 14px;
    height: 14px;
    color: #0077B6;
}

#story-modal-slider-container {
    border-radius: 8px;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
    aspect-ratio: 16/10.5 !important;
}

#story-modal-slider-container .before-label {
    display: none !important;
}

#story-modal-slider-container .after-label {
    display: none !important;
}

#story-modal-slider-container .slider-handle {
    width: 2px;
    background-color: #0077B6;
    box-shadow: 0 0 10px rgba(197, 168, 128, 0.8);
}

#story-modal-slider-container .slider-handle-line {
    width: 2px;
    background-color: #0077B6;
}

#story-modal-slider-container .slider-handle-button {
    background-color: var(--color-black);
    border: 2px solid #0077B6;
    color: #0077B6;
    box-shadow: 0 0 15px rgba(197, 168, 128, 0.4);
}

#story-modal-slider-container:hover .slider-handle-button {
    background-color: #0077B6;
    color: var(--color-black);
    border-color: var(--color-black);
    box-shadow: 0 0 20px rgba(197, 168, 128, 0.8);
}

/* Custom changes for compact before-after gallery */
.case-meta-grid {
    display: none !important;
}

@media (min-width: 1025px) {
    .gallery-grid {
        grid-template-columns: repeat(4, 1fr) !important;
        gap: 1.5rem !important;
    }
}

.gallery-item-content {
    padding: 1.25rem !important;
}

.gallery-item-title {
    font-size: 0.95rem !important;
    margin-bottom: 0.75rem !important;
}

.gallery-item .btn-view-story {
    padding: 0.65rem !important;
    font-size: 0.725rem !important;
}


/* ==========================================================================
   SVG / HTML TEXT LOGO ACCENTS
   ========================================================================== */
.logo-container-svg {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none !important;
}

.logo-tooth-svg {
    width: 32px;
    height: 32px;
    color: var(--color-white);
    transition: var(--transition-smooth);
}

.logo-text-wrap {
    display: flex;
    flex-direction: column;
    line-height: 1;
    transition: var(--transition-smooth);
}

.logo-brand-main {
    font-family: var(--font-heading);
    font-size: 1.45rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    color: var(--color-white);
    transition: var(--transition-smooth);
}

.logo-brand-sub {
    font-family: var(--font-heading);
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    color: var(--color-gray-light);
    margin-top: 1px;
    transition: var(--transition-smooth);
}

/* Scrolled Navbar Theme Transitions */
.navbar.scrolled .logo-tooth-svg {
    color: var(--color-dark) !important;
}

.navbar.scrolled .logo-brand-main {
    color: var(--color-dark) !important;
}

.navbar.scrolled .logo-brand-sub {
    color: var(--color-gray-medium) !important;
}

/* ══════════════════════════════════════════════════════════════
   GLOBAL SITE FOOTER — Dark Navy Slate Design (Eka-style)
   ══════════════════════════════════════════════════════════════ */
.site-footer {
    background-color: #091026;
    color: rgba(255, 255, 255, 0.75);
    padding: 60px 0 0 0;
    font-family: 'HvDTrial Brandon Grotesque', 'HVD Trial Brandon Grotesque', var(--font-body), sans-serif;
    border-top: 3px solid #C5A059;
}
.site-footer a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: all 0.25s ease;
}
.site-footer a:hover {
    color: #0077B6 !important;
    padding-left: 4px;
}
.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 32px;
}

/* ── Main 5-Column Grid ── */
.footer-columns {
    display: grid;
    grid-template-columns: 1.1fr 1fr 1.3fr 1fr 1.2fr;
    gap: 36px;
    padding-bottom: 40px;
}
.footer-column {
    display: flex;
    flex-direction: column;
    text-align: left;
}
.footer-column h3 {
    font-family: 'D-DIN', sans-serif;
    font-size: 0.95rem;
    font-weight: 800;
    margin-bottom: 22px;
    color: #fff;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer-column ul li {
    margin-bottom: 10px;
    font-size: 0.88rem;
    line-height: 1.45;
}
.footer-column ul li a {
    color: rgba(255, 255, 255, 0.55);
}
.footer-column ul li a:hover {
    color: #0077B6 !important;
}

/* ── Column 1: Logo + Socials ── */
.brand-col {
    display: flex;
    flex-direction: column;
}
.brand-col .footer-logo-col-img {
    height: 70px;
    filter: brightness(0) invert(1);
    object-fit: contain;
    margin-bottom: 14px;
    display: block;
    align-self: flex-start;
}
.brand-tagline-footer {
    font-size: 0.82rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.5);
    margin: 0 0 20px 0;
}
.brand-col .social-title {
    font-family: 'D-DIN', sans-serif;
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    margin-bottom: 12px;
    color: #ffffff;
    text-transform: uppercase;
}
.brand-col .social-icons {
    display: flex;
    gap: 12px;
    align-items: center;
}
.brand-col .social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
    transition: all 0.25s ease;
}
.brand-col .social-icon:hover {
    background-color: #0077B6;
    border-color: #0077B6;
    color: #fff;
    transform: translateY(-2px);
}
.brand-col .social-icon svg {
    width: 16px;
    height: 16px;
    display: block;
}

/* ── Location Column ── */
.footer-column .location-text {
    font-size: 0.86rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.55);
    margin: 0 0 16px 0;
}
.footer-column .footer-directions-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'D-DIN', sans-serif;
    font-size: 0.78rem;
    color: #C5A059 !important;
    font-weight: 800;
    text-decoration: none;
    border: 1px solid rgba(197, 160, 89, 0.4);
    padding: 8px 18px;
    border-radius: 24px;
    transition: all 0.25s ease;
    width: fit-content;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    background: transparent;
}
.footer-column .footer-directions-btn:hover {
    background: #C5A059;
    border-color: #C5A059;
    color: #091026 !important;
}

/* ── Column 5: Clinic Hours & Book Appointment ── */
.brand-info-col .clinic-hours-desc {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.55);
    line-height: 1.5;
    margin-bottom: 12px;
}
.brand-info-col .clinic-hours-desc strong {
    color: #ffffff;
    font-weight: 700;
}
.brand-info-col .clinic-phone {
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: #ffffff;
}
.brand-info-col .footer-book-btn {
    display: inline-block;
    background: var(--color-primary-gradient);
    color: #ffffff !important;
    text-align: center;
    padding: 11px 26px;
    border-radius: 25px;
    font-family: 'D-DIN', sans-serif;
    font-weight: 800;
    font-size: 0.82rem;
    letter-spacing: 0.03em;
    transition: all 0.25s ease;
    text-transform: uppercase;
    box-shadow: 0 4px 12px rgba(0, 119, 182, 0.25);
    border: none;
}
.brand-info-col .footer-book-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 119, 182, 0.4);
    background: var(--color-primary-gradient-hover);
}

/* ── Mission Statements Row ── */
.footer-middle {
    background-color: rgba(0, 0, 0, 0.15);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 20px 32px;
    margin: 0 -32px;
}
.footer-mission-banner {
    display: flex;
    justify-content: space-between;
    gap: 30px;
}
.mission-item {
    font-size: 0.84rem;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.5;
    display: flex;
    align-items: center;
    gap: 8px;
}
.mission-bullet {
    color: #0077B6;
    font-weight: bold;
}

/* ── Copyright Bar ── */
.footer-bottom {
    background-color: rgba(0, 0, 0, 0.22);
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    padding: 16px 32px;
    margin: 0 -32px;
    text-align: center;
}
.footer-bottom .copyright-text {
    font-size: 0.76rem;
    color: rgba(255, 255, 255, 0.35);
    letter-spacing: 0.03em;
    margin: 0;
}

/* ── Responsive: Tablet ── */
@media (max-width: 992px) {
    .footer-columns {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px;
    }
    .footer-mission-banner {
        flex-direction: column;
        gap: 12px;
    }
}

/* ── Responsive: Mobile ── */
@media (max-width: 600px) {
    .site-footer {
        padding: 36px 0 0 0 !important;
        text-align: left !important;
    }
    .footer-container {
        padding: 0 20px;
    }
    .footer-columns {
        grid-template-columns: 1fr !important;
        gap: 28px !important;
        padding-bottom: 30px;
    }
    .footer-column {
        align-items: flex-start !important;
        text-align: left !important;
    }
    .footer-columns .footer-column:nth-child(1) { 
        grid-column: 1 / -1 !important; 
        align-items: flex-start !important;
        text-align: left !important;
    }
    .brand-col .social-icons {
        justify-content: flex-start !important;
    }
    .footer-columns .footer-column:nth-child(2) { grid-column: 1 / -1 !important; }
    .footer-columns .footer-column:nth-child(3) { grid-column: 1 / -1 !important; }
    .footer-columns .footer-column:nth-child(4) { grid-column: 1 / -1 !important; }
    .footer-columns .footer-column:nth-child(5) { grid-column: 1 / -1 !important; }

    .footer-column h3 {
        font-size: 1rem !important;
        margin-bottom: 12px !important;
    }
    .footer-column ul li {
        margin-bottom: 8px !important;
        font-size: 0.88rem !important;
    }
    .footer-middle {
        margin: 0 -20px !important;
        padding: 16px 20px !important;
        text-align: left !important;
    }
    .mission-text {
        font-size: 0.82rem !important;
        line-height: 1.4 !important;
        margin-bottom: 8px !important;
        text-align: left !important;
    }
    .footer-bottom {
        margin: 0 -20px !important;
        padding: 12px 20px !important;
        text-align: center !important;
    }
}

/* Explicit rule to render footer Lucide SVG icons correctly */
.brand-col .social-icon svg {
    width: 16px !important;
    height: 16px !important;
    stroke: rgba(255, 255, 255, 0.7) !important;
    stroke-width: 2px !important;
    fill: none !important;
    display: inline-block !important;
    transition: stroke 0.2s ease !important;
}
.brand-col .social-icon:hover svg {
    stroke: #fff !important;
}


/* ==========================================================================
   WHY CHOOSE US PREMIUM SECTION (Matching First Screenshot Style)
   ========================================================================== */

/* ============================================================
   WHY CHOOSE US SECTION — EXECUTIVE LUXURY REDESIGN
   ============================================================ */
.why-choose-premium-section {
    padding: 95px 0 90px;
    background: radial-gradient(circle at 10% 20%, rgba(0, 180, 216, 0.05) 0%, transparent 60%), radial-gradient(circle at 90% 80%, rgba(0, 119, 182, 0.06) 0%, transparent 60%), linear-gradient(180deg, #FFFFFF 0%, #F3F9FD 50%, #E8F4FC 100%);
    position: relative;
    overflow: hidden;
    font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.why-choose-premium-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 40px;
    width: 100%;
}

.why-choose-premium-header {
    text-align: center;
    margin-bottom: 45px;
}

.why-choose-premium-eyebrow {
    display: inline-block;
    font-family: 'D-DIN', sans-serif;
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #0077B6;
    background: rgba(0, 119, 182, 0.08);
    padding: 6px 18px;
    border-radius: 30px;
    margin-bottom: 12px;
    border: 1px solid rgba(0, 119, 182, 0.15);
}

.why-choose-premium-title {
    font-family: 'D-DIN', sans-serif;
    font-size: clamp(28px, 3vw, 44px);
    font-weight: 800;
    color: #091026;
    letter-spacing: -0.01em;
    margin: 0 0 10px 0;
}

.why-choose-premium-subtitle {
    font-size: 0.95rem;
    color: #475569;
    max-width: 680px;
    margin: 0 auto;
    font-weight: 500;
    line-height: 1.5;
}

.why-choose-premium-grid-v3 {
    display: grid;
    grid-template-columns: 1fr 1.15fr 1fr;
    gap: 28px;
    align-items: center;
}

.why-choose-col-left,
.why-choose-col-right {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.why-choose-col-center {
    display: flex;
    justify-content: center;
    align-items: center;
}

.why-choose-card {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    background: #ffffff;
    border-radius: 20px;
    padding: 20px 22px;
    box-shadow: 0 10px 30px rgba(9, 16, 38, 0.04);
    border: 1px solid rgba(0, 119, 182, 0.1);
    transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), transform 1s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease, box-shadow 0.3s ease;
}

/* Scroll Animation entry rules if JS is active */
.why-choose-premium-section.js-active .why-choose-card {
    opacity: 0;
}

.why-choose-premium-section.js-active .why-choose-col-left .why-choose-card {
    transform: translateX(-55px) translateY(10px) rotate(-1deg);
}

.why-choose-premium-section.js-active .why-choose-col-right .why-choose-card {
    transform: translateX(55px) translateY(10px) rotate(1deg);
}

.why-choose-card.visible {
    opacity: 1 !important;
    transform: translateX(0) translateY(0) rotate(0deg) !important;
}

.why-choose-card:hover {
    transform: translateY(-5px) scale(1.01) !important;
    box-shadow: 0 20px 45px rgba(0, 119, 182, 0.15);
    border-color: #0077B6;
}

.why-choose-card-icon-box {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.why-choose-card-icon-box i,
.why-choose-card-icon-box svg {
    width: 22px;
    height: 22px;
}

.fmr-icon-box {
    background: linear-gradient(135deg, #0077B6 0%, #00B4D8 100%);
    color: #ffffff;
}
.fmr-icon-box svg { stroke: #ffffff; }

.hygiene-icon-box {
    background: linear-gradient(135deg, #059669 0%, #10B981 100%);
    color: #ffffff;
}
.hygiene-icon-box svg { stroke: #ffffff; }

.comfort-icon-box {
    background: linear-gradient(135deg, #E11D48 0%, #F43F5E 100%);
    color: #ffffff;
}
.comfort-icon-box svg { stroke: #ffffff; }

.journey-icon-box {
    background: linear-gradient(135deg, #D97706 0%, #F59E0B 100%);
    color: #ffffff;
}
.journey-icon-box svg { stroke: #ffffff; }

.why-choose-card-content {
    flex: 1;
}

.card-head-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 6px;
    flex-wrap: wrap;
}

.why-choose-card-content h3 {
    font-family: 'D-DIN', sans-serif;
    font-size: 1.1rem;
    font-weight: 800;
    color: #091026;
    margin: 0;
}

.feature-chip {
    font-family: 'D-DIN', sans-serif;
    font-size: 0.72rem;
    font-weight: 800;
    padding: 3px 10px;
    border-radius: 20px;
    letter-spacing: 0.03em;
}

.chip-fmr { background: #E0F2FE; color: #0284C7; }
.chip-hygiene { background: #DCFCE7; color: #16A34A; }
.chip-comfort { background: #FFE4E6; color: #E11D48; }
.chip-journey { background: #FEF3C7; color: #D97706; }

.why-choose-card-content p {
    font-size: 0.85rem;
    color: #475569;
    line-height: 1.55;
    margin: 0;
}

/* Image Column & Frame */
.why-choose-image-col {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.why-choose-image-frame {
    position: relative;
    width: 100%;
    height: 480px;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(9, 16, 38, 0.14);
    border: 5px solid #ffffff;
    background-color: #ffffff;
    transition: opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1), transform 1.2s cubic-bezier(0.16, 1, 0.3, 1), filter 1.2s ease;
}

.why-choose-premium-section.js-active .why-choose-image-frame {
    opacity: 0;
    transform: scale(0.92) translateY(50px);
    filter: blur(4px);
}

.why-choose-image-frame.visible {
    opacity: 1 !important;
    transform: scale(1) translateY(0) !important;
    filter: blur(0) !important;
}

.why-choose-main-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 85% center;
}

.why-choose-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(9,16,38,0) 50%, rgba(9,16,38,0.3) 100%);
    pointer-events: none;
}

/* Floating Glass Badges on Image */
.floating-glass-badge {
    position: absolute;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 18px;
    padding: 12px 18px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 12px 30px rgba(9, 16, 38, 0.15);
    z-index: 5;
    opacity: 0;
    transform: scale(0.85) translateY(20px);
    transition: opacity 0.8s cubic-bezier(0.34, 1.56, 0.64, 1), transform 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.why-choose-image-frame.visible .floating-glass-badge {
    opacity: 1;
    transform: scale(1) translateY(0);
}

.why-choose-image-frame.visible .badge-exp {
    transition-delay: 0.4s;
    animation: floatBadgeExp 4s ease-in-out infinite alternate;
    animation-delay: 1.2s;
}

.why-choose-image-frame.visible .badge-rating {
    transition-delay: 0.65s;
    animation: floatBadgeRating 4s ease-in-out infinite alternate;
    animation-delay: 1.45s;
}

.badge-exp {
    top: 24px;
    left: 24px;
}

.badge-rating {
    bottom: 24px;
    right: 24px;
}

.badge-icon {
    font-size: 1.4rem;
}

.badge-text strong {
    display: block;
    font-family: 'D-DIN', sans-serif;
    font-size: 1.05rem;
    font-weight: 800;
    color: #091026;
    line-height: 1.1;
}

.badge-text span {
    font-size: 0.74rem;
    color: #64748B;
    font-weight: 600;
}

@keyframes floatBadgeExp {
    0% { transform: translateY(0) scale(1); }
    100% { transform: translateY(-8px) scale(1); }
}

@keyframes floatBadgeRating {
    0% { transform: translateY(0) scale(1); }
    100% { transform: translateY(-8px) scale(1); }
}

@media (max-width: 1024px) {
    .why-choose-premium-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .why-choose-image-frame {
        height: 380px;
    }
}

@media (max-width: 992px) {
    .why-choose-premium-section {
        min-height: auto; /* Allow natural flow on mobile */
        display: block;
        padding: 4rem 0;
    }
    .why-choose-premium-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .why-choose-image-frame {
        height: 420px;
        max-width: 550px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    /* Hide the image column on mobile views */
    .why-choose-image-col {
        display: none !important;
    }
    
    .why-choose-premium-section {
        padding: 2.5rem 0 !important;
    }
    
    .why-choose-premium-section .why-choose-premium-container {
        padding-left: 12px !important;
        padding-right: 12px !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    
    .why-choose-premium-grid {
        grid-template-columns: 1fr !important;
        gap: 1rem !important;
    }

    .why-choose-premium-header {
        text-align: center !important;
        margin-bottom: 2rem !important;
    }

    /* Hide decorative rules on mobile */
    .why-choose-premium-eyebrow,
    .why-choose-premium-decor {
        display: none !important;
    }

    /* Pink Header Pill (Exactly like Eka mock header) */
    .why-choose-premium-title {
        display: inline-block !important;
        background-color: #fbcdd3 !important; /* Soft Pink */
        color: #0b4c8c !important; /* Eka dark blue text */
        font-family: var(--font-heading) !important;
        font-size: 1.45rem !important;
        font-weight: 700 !important;
        padding: 0.8rem 2.2rem !important;
        border-radius: 50px !important;
        text-transform: none !important;
        letter-spacing: 0.01em !important;
        box-shadow: 0 4px 15px rgba(251, 205, 211, 0.4) !important;
        margin: 0 auto !important;
        border: none !important;
    }

    .why-choose-features-col {
        gap: 1rem !important;
    }

    /* Hide card icons for exact mock match */
    .why-choose-card-icon-box {
        display: none !important;
    }

    .why-choose-card {
        display: block !important;
        transform: none !important;
        opacity: 1 !important;
        transition: none !important;
        border-radius: 20px !important;
        padding: 1.5rem !important;
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.02) !important;
        border: none !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    
    .why-choose-card:hover {
        transform: none !important;
    }

    /* Alternating Mockup Card Colors (Yellow/Blue/Yellow/Blue) */
    /* Card 1 & 3: Yellow/Orange theme */
    .why-choose-card:nth-child(odd) {
        background-color: #F4F8FA !important;
    }
    /* Card 2 & 4: Light Blue theme */
    .why-choose-card:nth-child(even) {
        background-color: #b3e5fc !important;
    }

    /* Card titles (Dark Blue) */
    .why-choose-card-content h3 {
        color: #0b4c8c !important;
        font-family: var(--font-heading) !important;
        font-size: 1.3rem !important;
        font-weight: 700 !important;
        margin-bottom: 0.8rem !important;
        text-transform: none !important;
        letter-spacing: 0.01em !important;
        display: block !important;
    }

    .desktop-only-desc {
        display: none !important;
    }

    /* Bullet lists styling inside cards */
    .mobile-only-bullets {
        display: block !important;
        margin: 0.8rem 0 0 0 !important;
        padding-left: 1.25rem !important;
        list-style-type: disc !important;
    }

    .mobile-only-bullets li {
        font-size: 0.96rem !important;
        color: #1e293b !important;
        line-height: 1.55 !important;
        margin-bottom: 0.6rem !important;
        font-weight: 500 !important;
        list-style-type: disc !important;
    }
    
    .mobile-only-bullets li:last-child {
        margin-bottom: 0 !important;
    }
}


/* ==========================================================================
   TRANSFORMATION GALLERY CARD & SLIDER UPGRADE
   ========================================================================== */

.transformations-gallery-section {
    padding-top: 130px;
    padding-bottom: 7rem;
}

.transformations-gallery-section .gallery-grid {
    grid-template-columns: repeat(auto-fill, minmax(360px, 1fr)) !important;
    gap: 3rem !important;
    margin-top: 2rem !important;
}

.transformations-gallery-section .gallery-item {
    background: linear-gradient(135deg, #e2e8f0, #cbd5e0) !important; /* Continuous Silver Grey Background */
    border-radius: 24px !important;
    padding: 0 !important;
    overflow: hidden !important;
    border: 1px solid rgba(197, 168, 128, 0.16) !important;
    box-shadow: 0 10px 30px rgba(197, 168, 128, 0.03) !important;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.5s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease !important;
    display: flex !important;
    flex-direction: column !important;
}

/* Category filter: this must beat the 'display:flex !important' rule above, so a
   hidden (filtered-out) card actually disappears. Higher specificity + !important. */
.transformations-gallery-section .gallery-item.hide {
    display: none !important;
}

.transformations-gallery-section .gallery-item:hover {
    transform: translateY(-8px) !important;
    box-shadow: 0 20px 40px rgba(197, 168, 128, 0.12) !important;
    border-color: rgba(197, 168, 128, 0.4) !important;
}

.transformations-gallery-section .gallery-grid .slider-container {
    height: 280px !important;
    border-radius: 24px 24px 0 0 !important;
    overflow: hidden !important;
    margin-bottom: 0 !important; /* CRITICAL: Remove the white gap completely */
}

.transformations-gallery-section .slider-label {
    background-color: #0077B6 !important;
    color: #ffffff !important;
    font-family: var(--font-body) !important;
    font-weight: 700 !important;
    font-size: 0.72rem !important;
    letter-spacing: 0.05em !important;
    padding: 0.4rem 1rem !important;
    border-radius: 6px !important;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1) !important;
    top: 15px !important;
}
.transformations-gallery-section .before-label {
    left: 15px !important;
}
.transformations-gallery-section .after-label {
    right: 15px !important;
}

.transformations-gallery-section .slider-handle-button {
    background-color: #ffffff !important;
    color: #0f2537 !important;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15) !important;
    border: 2px solid #edf2f7 !important;
}

.transformations-gallery-section .gallery-item-content {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 0.9rem 1rem !important; /* Slightly tighter padding for spacious feel */
    background: linear-gradient(135deg, #e2e8f0, #cbd5e0) !important; /* Elegant Darker Silver Grey Gradient */
    border-radius: 0 0 24px 24px !important;
    flex-grow: 1 !important;
    gap: 0.6rem !important; /* Balanced gap */
    border-top: 1px solid rgba(0, 0, 0, 0.08) !important;
}

.transformations-gallery-section .case-card-left {
    display: flex !important;
    align-items: center !important;
    gap: 0.6rem !important;
    min-width: 0 !important; /* Prevents overflow */
    flex-grow: 1 !important;
}

.transformations-gallery-section .case-card-icon-circle {
    width: 36px !important; /* Compact icon */
    height: 36px !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
    background-color: rgba(15, 37, 55, 0.06) !important;
}

.transformations-gallery-section .case-card-icon-circle svg {
    width: 15px !important;
    height: 15px !important;
}

.transformations-gallery-section .case-card-text-block {
    display: flex !important;
    flex-direction: column !important;
    gap: 0.15rem !important;
    text-align: left !important;
    align-items: flex-start !important;
    min-width: 0 !important;
}

.transformations-gallery-section .gallery-item-title {
    font-family: var(--font-body) !important;
    font-size: 0.82rem !important; /* Fits perfectly */
    font-weight: 800 !important;
    color: #0f2537 !important;
    margin: 0 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.03em !important;
    line-height: 1.2 !important;
    text-align: left !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    width: 100% !important;
}

.transformations-gallery-section .gallery-item-subtitle {
    font-family: var(--font-body) !important;
    font-size: 0.72rem !important;
    color: #4a5568 !important;
    font-weight: 600 !important;
    text-align: left !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    width: 100% !important;
}

.transformations-gallery-section .btn-open-case-file {
    background: #0f2537 !important;
    color: #ffffff !important;
    border: 1px solid #0f2537 !important;
    padding: 7px 14px !important; /* Compact button padding */
    border-radius: 20px !important;
    font-family: var(--font-body) !important;
    font-weight: 700 !important;
    font-size: 0.68rem !important; /* Sleek text size */
    letter-spacing: 0.06em !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.35rem !important;
    cursor: pointer !important;
    transition: all 0.25s ease !important;
    white-space: nowrap !important;
    flex-shrink: 0 !important;
    width: auto !important; /* CRITICAL FIX: prevents stretching */
    margin: 0 !important;   /* CRITICAL FIX: overrides margin-top: auto */
    box-shadow: 0 3px 8px rgba(15, 37, 55, 0.15) !important;
}

.transformations-gallery-section .btn-open-case-file:hover {
    color: #0f2537 !important;
    background: #0077B6 !important;
    border-color: #0077B6 !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 5px 12px rgba(197, 168, 128, 0.35) !important;
}

/* Premium Filter Buttons */
.transformations-gallery-section .portfolio-filters {
    display: flex !important;
    justify-content: center !important;
    flex-wrap: wrap !important;
    gap: 1rem !important;
    margin-bottom: 2.5rem !important;
}

.transformations-gallery-section .portfolio-filter-btn {
    padding: 0.75rem 1.6rem !important;
    background-color: #ffffff !important;
    border: 1px solid rgba(0, 0, 0, 0.06) !important;
    border-radius: 30px !important;
    font-family: var(--font-body) !important;
    font-weight: 700 !important;
    font-size: 0.82rem !important;
    letter-spacing: 0.04em !important;
    color: #4b5563 !important;
    cursor: pointer !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02) !important;
    transition: all 0.3s ease !important;
    display: flex !important;
    align-items: center !important;
    gap: 0.5rem !important;
}

.transformations-gallery-section .portfolio-filter-btn svg {
    width: 16px !important;
    height: 16px !important;
    stroke-width: 2.2px !important;
}

.transformations-gallery-section .portfolio-filter-btn:hover {
    border-color: #0077B6 !important;
    color: #0077B6 !important;
    background-color: #ffffff !important;
    transform: translateY(-2px) !important;
}

.transformations-gallery-section .portfolio-filter-btn.active {
    background-color: #0f2537 !important;
    border-color: #0f2537 !important;
    color: #ffffff !important;
    box-shadow: 0 4px 15px rgba(15, 37, 87, 0.15) !important;
}

/* Premium Outline View More Transformations Button */
.btn-view-more-transformations {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 1rem 2.2rem !important;
    border-radius: 12px !important;
    border: 2px solid #0f2537 !important;
    background-color: transparent !important;
    color: #0f2537 !important;
    font-family: var(--font-heading) !important;
    font-weight: 700 !important;
    font-size: 0.85rem !important;
    letter-spacing: 0.08em !important;
    text-decoration: none !important;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.02) !important;
}

.btn-view-more-transformations:hover {
    background-color: #0f2537 !important;
    color: #ffffff !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 20px rgba(15, 37, 55, 0.15) !important;
}

.btn-view-more-transformations svg {
    transition: transform 0.25s ease !important;
}

.btn-view-more-transformations:hover svg {
    transform: translateX(4px) !important;
}





/* ============================================================
   IMAGE PROTECTION (deterrent) — block drag-save, long-press
   save (iOS), and text selection of images site-wide.
   ============================================================ */
img {
  -webkit-user-drag: none;
  -khtml-user-drag: none;
  -moz-user-drag: none;
  user-drag: none;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

/* Branded Watermark Overlay on before-after slider images to prevent theft via screenshots */
.slider-img::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 220px;
  height: 110px;
  background-image: url('assets/logo.png?v=2');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  opacity: 0.28;
  z-index: 10;
  pointer-events: none;
}

/* Watermark for static side-by-side before-after cards in the story modal */
.story-img-card::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 120px;
  height: 60px;
  background-image: url('assets/logo.png?v=2');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  opacity: 0.28;
  z-index: 5;
  pointer-events: none;
}

/* Hide floating Google reCAPTCHA badge visually without affecting phone auth functionality */
.grecaptcha-badge {
  visibility: hidden !important;
}

/* ============================================================
   MOBILE OPTIMIZATIONS: STICKY BOTTOM BAR & CONSULTATION MODAL
   ============================================================ */
@media (min-width: 769px) {
    .mobile-sticky-bar {
        display: none !important;
    }
}

@media (max-width: 768px) {
    /* Hide old floating chat bubble trigger on mobile */
    .dental-chat-trigger, .dental-chat-teaser {
        display: none !important;
    }
    .mobile-sticky-bar {
        position: fixed !important;
        bottom: 0 !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        height: 72px !important;
        background: #ffffff !important;
        backdrop-filter: none !important;
        border: none !important;
        border-top: 1px solid #d1d5db !important;
        border-radius: 0 !important;
        display: flex !important;
        justify-content: space-around !important;
        align-items: center !important;
        z-index: 9999 !important;
        box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.06) !important;
        padding: 0 10px 8px 10px !important;
    }
    .mobile-sticky-tab {
        flex: 1 !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        color: #0d2c54 !important;
        text-decoration: none !important;
        font-size: 0.72rem !important;
        font-family: 'HvDTrial Brandon Grotesque', sans-serif !important;
        font-weight: 700 !important;
        text-transform: capitalize !important;
        letter-spacing: 0.02em !important;
        gap: 5px !important;
        transition: all 0.2s ease !important;
        height: 100% !important;
    }
    .mobile-sticky-tab:not(:last-child) {
        border-right: 1px solid #d1d5db !important;
    }
    .mobile-sticky-tab svg {
        width: 22px !important;
        height: 22px !important;
    }
    .mobile-sticky-tab:active {
        opacity: 0.7 !important;
    }
    /* Add extra padding at bottom of body so content isn't blocked by the bar */
    body {
        padding-bottom: 90px !important;
    }
}

/* Mobile Consultation Modal CSS */
/* Mobile Consultation Modal CSS */
.mobile-consultation-modal {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background: rgba(15, 37, 55, 0.45) !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
    display: none;
    align-items: center !important;
    justify-content: center !important;
    z-index: 100000 !important;
    padding: 1rem !important;
}
.mobile-consultation-modal.active {
    display: flex !important;
}
.mcm-dialog {
    background: #ffffff !important;
    width: 100% !important;
    max-width: 440px !important;
    border-radius: 24px !important;
    padding: 1.75rem 1.25rem !important;
    position: relative !important;
    box-shadow: 0 25px 50px -12px rgba(15, 37, 55, 0.25), 0 0 0 1px rgba(197, 160, 89, 0.15) !important;
    animation: mcmSlideUp 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
    overflow: hidden !important;
}
.mcm-dialog::before {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 4px !important;
    background: linear-gradient(90deg, #0f2537, #0077B6, #0f2537) !important;
}
@keyframes mcmSlideUp {
    from { transform: translateY(20px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}
.mcm-close-btn {
    position: absolute !important;
    top: 14px !important;
    right: 14px !important;
    width: 28px !important;
    height: 28px !important;
    border-radius: 50% !important;
    background: #f1f5f9 !important;
    border: none !important;
    font-size: 1.1rem !important;
    color: #64748b !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: all 0.2s ease !important;
    line-height: 1 !important;
    z-index: 10 !important;
}
.mcm-close-btn:hover {
    background: #e2e8f0 !important;
    color: #0f2537 !important;
    transform: rotate(90deg) !important;
}
.mcm-header {
    text-align: center !important;
    margin-bottom: 1rem !important;
}
.mcm-header h3 {
    font-family: 'HvDTrial Brandon Grotesque', sans-serif !important;
    font-size: 1.35rem !important;
    font-weight: 800 !important;
    color: #0f2537 !important;
    margin: 0 0 0.25rem 0 !important;
    letter-spacing: 0.03em !important;
    text-transform: uppercase !important;
}
.mcm-header p {
    font-size: 0.78rem !important;
    color: #64748b !important;
    margin: 0 !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.05em !important;
}
.mcm-direct-buttons {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 0.75rem !important;
    margin-bottom: 0.75rem !important;
}
.mcm-btn {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    padding: 0.75rem 1rem !important;
    border-radius: 50px !important;
    text-decoration: none !important;
    font-weight: 700 !important;
    font-size: 0.8rem !important;
    font-family: 'HvDTrial Brandon Grotesque', sans-serif !important;
    text-transform: uppercase !important;
    letter-spacing: 0.04em !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}
.mcm-btn-phone {
    background: #f8fafc !important;
    color: #0f2537 !important;
    border: 1px solid #e2e8f0 !important;
}
.mcm-btn-phone:hover {
    background: #f1f5f9 !important;
    transform: translateY(-1px) !important;
}
.mcm-btn-whatsapp {
    background: #25d366 !important;
    color: #ffffff !important;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.15) !important;
}
.mcm-btn-whatsapp:hover {
    background: #22c55e !important;
    box-shadow: 0 6px 16px rgba(37, 211, 102, 0.25) !important;
    transform: translateY(-1px) !important;
}
.mcm-divider {
    display: flex !important;
    align-items: center !important;
    text-align: center !important;
    margin-bottom: 0.75rem !important;
}
.mcm-divider::before, .mcm-divider::after {
    content: '' !important;
    flex: 1 !important;
    border-bottom: 1px solid #f1f5f9 !important;
}
.mcm-divider span {
    padding: 0 12px !important;
    font-size: 0.75rem !important;
    font-weight: 700 !important;
    color: #94a3b8 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.05em !important;
}
.mcm-callback-header {
    text-align: center !important;
    margin-bottom: 0.75rem !important;
}
.mcm-callback-header h4 {
    font-family: 'HvDTrial Brandon Grotesque', sans-serif !important;
    font-size: 0.95rem !important;
    font-weight: 800 !important;
    color: #0f2537 !important;
    margin: 0 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.04em !important;
}
.mcm-form {
    margin: 0 !important;
    padding: 0 !important;
}
.mcm-form-group {
    margin-bottom: 0.65rem !important;
    display: flex !important;
    flex-direction: column !important;
}
.mcm-form-group label {
    font-size: 0.7rem !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    color: #64748b !important;
    margin-bottom: 0.25rem !important;
    letter-spacing: 0.05em !important;
}
.mcm-form-group input, .mcm-form-group select {
    padding: 0.6rem 0.85rem !important;
    border: 1px solid #cbd5e1 !important;
    border-radius: 10px !important;
    font-size: 0.85rem !important;
    color: #0f2537 !important;
    background: #f8fafc !important;
    outline: none !important;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
}
.mcm-form-group input::placeholder {
    color: #94a3b8 !important;
}
.mcm-form-group input:focus, .mcm-form-group select:focus {
    border-color: #0077B6 !important;
    background: #ffffff !important;
    box-shadow: 0 0 0 3px rgba(197, 160, 89, 0.12) !important;
}
.mcm-submit-btn {
    width: 100% !important;
    background: #0f2537 !important;
    color: #ffffff !important;
    border: none !important;
    padding: 0.8rem !important;
    border-radius: 12px !important;
    font-family: 'HvDTrial Brandon Grotesque', sans-serif !important;
    font-weight: 800 !important;
    font-size: 0.95rem !important;
    text-transform: uppercase !important;
    letter-spacing: 0.06em !important;
    cursor: pointer !important;
    margin-top: 0.5rem !important;
    box-shadow: 0 4px 12px rgba(15, 37, 55, 0.15) !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}
.mcm-submit-btn:hover {
    background: #0077B6 !important;
    box-shadow: 0 6px 20px rgba(197, 160, 89, 0.3) !important;
    transform: translateY(-1px) !important;
}
.mcm-submit-btn:active {
    transform: translateY(0px) !important;
}

/* Mobile Stats Card block style (hidden on desktop) */
.about-mobile-stats-card {
    display: none;
}

@media (max-width: 768px) {
    /* Hide the old portrait collage on mobile */
    .about-clinic-visual-new .about-collage-wrapper {
        display: none !important;
    }
    
    .about-clinic-visual-new {
        height: auto !important;
        margin-bottom: 2rem !important;
    }



    .mobile-stat-row {
        display: flex !important;
        align-items: center !important;
        gap: 1.25rem !important;
        width: 100% !important;
        text-align: left !important;
    }

    /* Circular icon container with soft warm beige-grey background */
    .stat-icon-circle {
        width: 54px !important;
        height: 54px !important;
        border-radius: 50% !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        flex-shrink: 0 !important;
    }

    .icon-circle-beige {
        background-color: #F4F8FA !important; /* Soft mockup beige circle */
    }

    .icon-circle-white {
        background-color: #ffffff !important; /* White circular card background */
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05) !important;
        border: 1px solid rgba(0, 0, 0, 0.03) !important;
    }

    /* Outline icons */
    .stat-icon {
        width: 22px !important;
        height: 22px !important;
        color: #334155 !important;
        stroke-width: 1.8px !important;
    }

    /* Text info column */
    .stat-info {
        display: flex !important;
        flex-direction: column !important;
        font-family: var(--font-reviews) !important; /* Clean premium sans-serif */
    }

    .stat-number {
        font-size: 1.45rem !important;
        font-weight: 700 !important;
        color: #1a202c !important;
        line-height: 1.25 !important;
    }

    .stat-label {
        font-size: 0.9rem !important;
        font-weight: 500 !important;
        color: #64748b !important;
        margin-top: 1px !important;
        line-height: 1.3 !important;
    }

    .stat-number-google {
        display: flex !important;
        align-items: center !important;
        gap: 4px !important;
    }

    .stat-star {
        color: #fbbf24 !important; /* Gold star */
        font-size: 1.15rem !important;
        line-height: 1 !important;
    }
}

/* ==========================================================================
   MOBILE RESPONSIVE OVERRIDES: BEFORE/AFTER GRID & FAQ SECTION
   ========================================================================== */
@media (max-width: 768px) {
    /* 1. Home Page Static Before/After Section Compactness & Padding */
    .home-before-after-section {
        padding: 2.5rem 0 !important;
    }
    
    .home-before-after-container {
        padding: 0 8px !important; /* Decrease side padding to increase card width */
    }
    
    .home-before-after-header {
        margin-bottom: 1.5rem !important;
    }
    
    .home-before-after-subtitle {
        font-size: 1.55rem !important; /* Tighter heading size */
        margin-bottom: 0.4rem !important;
        text-align: center !important;
    }
    
    .home-before-after-desc-centered {
        font-size: 0.88rem !important;
        line-height: 1.45 !important;
        margin-top: 0.5rem !important;
        padding: 0 10px !important;
        text-align: center !important;
    }
    
    .home-before-after-grid-layout {
        gap: 10px !important;
        margin: 1.5rem 0 0 0 !important;
    }

    .transformation-card {
        aspect-ratio: 4/3 !important;
    }

    /* 2. FAQ Section Mobile Optimizations */
    .smile-faq-section {
        padding: 3rem 0 !important; /* More compact padding */
    }
    
    .smile-faq-section .container {
        padding: 0 8px !important; /* Decrease container side padding */
    }
    
    .smile-faq-section .section-title {
        font-size: 1.55rem !important; /* Reduced header font size */
        margin-bottom: 0.4rem !important;
        text-align: center !important;
    }
    
    .smile-faq-section .section-subtitle {
        font-size: 0.88rem !important;
        line-height: 1.4 !important;
        margin-top: 0.4rem !important;
        text-align: center !important;
    }
    
    .faq-filters {
        gap: 8px !important;
        margin-bottom: 25px !important;
    }
    
    .faq-filter-btn {
        padding: 8px 16px !important;
        font-size: 0.8rem !important;
    }
    
    .faq-accordion {
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 !important;
    }
    
    .faq-item {
        margin-bottom: 10px !important;
        border-radius: 8px !important;
    }
    
    .faq-question {
        padding: 14px 12px !important; /* Tighter inner padding to increase usable text width */
        font-size: 0.95rem !important; /* Smaller question text */
        line-height: 1.35 !important;
    }
    
    .faq-question span {
        gap: 8px !important;
    }
    
    .faq-answer p {
        padding: 0 12px 14px 12px !important; /* Tighter padding for answer */
        font-size: 0.85rem !important;
        line-height: 1.4 !important;
    }
}

/* ==========================================================================
   MOBILE RESPONSIVE OVERRIDES: PROCESS TIMELINE STAGES (CASCADING RESOLUTION)
   ========================================================================== */
@media (max-width: 991px) {
    .process-stage-block {
        padding: 3rem 0 !important; /* Save vertical height on mobile */
        min-height: auto !important; /* Reset desktop height limits */
    }

    .process-stage-container {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    .process-text-column {
        padding: 0 10px !important; /* Spacing from screen borders */
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    .process-stage-title {
        font-family: 'D-DIN', sans-serif !important;
        font-weight: 300 !important;
        font-size: 1.6rem !important; /* Compact title size to prevent long word overflows! */
        line-height: 1.25 !important;
        letter-spacing: 0.04em !important;
        padding-bottom: 0.8rem !important;
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
    }

    .process-stage-desc {
        font-size: 0.92rem !important;
        line-height: 1.55 !important;
        margin-bottom: 1.5rem !important;
    }

    .process-checklist li {
        font-size: 0.9rem !important;
        padding-left: 1rem !important;
        margin-bottom: 0.8rem !important;
    }

    .process-graphic-column {
        height: auto !important;
        gap: 16px !important;
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 10px !important; /* Padding for mobile layout fit */
        box-sizing: border-box !important;
    }

    .image-pos-main,
    .image-pos-sub {
        width: 100% !important;
        max-width: 100% !important;
        position: relative !important;
    }

    .process-img {
        width: 100% !important;
        height: auto !important;
        aspect-ratio: 16 / 9 !important;
    }
}

/* ==========================================================================
   MOBILE RESPONSIVE OVERRIDES: GALLERY GRID PADDING & LIGHTBOX COMPACTNESS
   ========================================================================== */
@media (max-width: 768px) {
    /* 1. Reduce gallery page container side padding by 25% to make grid wider */
    .gallery-page-main .container {
        padding: 0 10px !important;
    }
    
    .gallery-tiled-grid {
        gap: 12px !important; /* Slightly tighter gaps on mobile */
    }

    /* 2. Reduce gallery lightbox/open-image modal height by 30-35% and make it compact */
    .gallery-lightbox-content {
        max-height: 78vh !important;
        width: 92% !important;
        margin: 0 auto !important;
        border-radius: 16px !important; /* Premium rounded style matching widgets */
    }

    .gallery-lightbox-img-side {
        height: 205px !important; /* Increased height so image doesn't cut off */
        max-height: 205px !important;
        aspect-ratio: auto !important;
    }

    .gallery-lightbox-info-side {
        padding: 1rem !important; /* Make bottom part compact */
        gap: 0.75rem !important;
    }

    .gallery-lightbox-title {
        font-size: 1.2rem !important; /* Scale down title size */
        line-height: 1.25 !important;
        margin-bottom: 0.1rem !important;
    }

    .gallery-lightbox-tag {
        font-size: 0.68rem !important;
    }

    .gallery-lightbox-date {
        font-size: 0.68rem !important;
    }

    .gallery-lightbox-divider {
        margin: 0.3rem 0 !important;
    }

    .gallery-lightbox-desc-simple {
        margin: 0.3rem 0 !important;
    }

    .gallery-lightbox-desc-simple p {
        font-size: 0.84rem !important;
        line-height: 1.4 !important;
        color: #4a5568 !important;
    }

    .btn-lightbox-book {
        padding: 0.75rem 1.25rem !important; /* Extremely compact booking button height */
        font-size: 0.72rem !important;
        gap: 0.4rem !important;
    }
}

/* ==========================================================================
   MOBILE RESPONSIVE OVERRIDES: BOOKINGS/CONTACT CALENDAR COMPACTNESS
   ========================================================================== */
@media (max-width: 768px) {
    /* 1. Reduce padding of the booking container on mobile */
    .contact-page-body .scheduler-container-v4 {
        padding: 1.5rem 8px !important; /* Save visual space and prevent screen border bleed */
        margin-bottom: 2rem !important;
    }

    /* 2. Force calendar and available slots grid to stack vertically on mobile instead of side-by-side */
    .scheduler-selection-views-v4 {
        grid-template-columns: 1fr !important;
        gap: 1.8rem !important;
    }

    /* 3. Reduce vertical margins/gaps of calendar elements for compactness */
    .scheduler-column-title-v4 {
        font-size: 1.1rem !important;
        margin-bottom: 1rem !important;
        padding-bottom: 0.5rem !important;
    }

    .calendar-header-v4 {
        margin-bottom: 1rem !important;
    }

    .calendar-month-display-v4 {
        font-size: 1.05rem !important;
    }

    .calendar-nav-btn-v4 {
        width: 32px !important;
        height: 32px !important;
    }

    .calendar-weekdays-grid-v4 {
        margin-bottom: 0.5rem !important;
    }

    .weekday-label-v4 {
        font-size: 0.7rem !important;
    }

    .calendar-days-grid-v4 {
        row-gap: 0.35rem !important;
        column-gap: 0.25rem !important;
    }

    .calendar-day-v4 {
        font-size: 0.88rem !important;
    }

    /* 4. Compact the slots view below it */
    .slots-container-v4 {
        margin-top: 1rem !important;
    }

    .slots-grid-v4 {
        gap: 10px !important;
    }

    .slot-btn-v4 {
        padding: 8px 12px !important;
        font-size: 0.8rem !important;
    }

    .contact-page-body .btn-back-to-calendar-v4 {
        margin-top: 1.5rem !important;
        padding: 10px 18px !important;
        font-size: 0.8rem !important;
    }

    /* 5. Compact the final intake form screen on mobile */
    .patient-intake-screen-v4 {
        padding: 1.5rem 10px !important;
    }

    .booking-form-title-v4 {
        font-size: 1.25rem !important;
        margin-bottom: 0.5rem !important;
    }

    .booking-form-subtitle-v4 {
        font-size: 0.8rem !important;
        margin-bottom: 1.5rem !important;
    }

    .form-group-v3 {
        margin-bottom: 1rem !important;
    }

    .label-v3 {
        font-size: 0.8rem !important;
        margin-bottom: 4px !important;
    }

    .input-v3,
    .textarea-v3,
    .select-v3,
    .select-country-v3,
    .input-phone-v3 {
        padding: 10px 14px !important;
        font-size: 0.85rem !important;
        height: 42px !important;
    }

    .textarea-v3 {
        height: 80px !important;
    }

    .btn-scheduler-next-v4 {
        padding: 10px 20px !important;
        font-size: 0.85rem !important;
        height: 44px !important;
    }
}

/* ==========================================================================
   MOBILE RESPONSIVE OVERRIDES: BEFORE & AFTER TRANSFORMATION CASES PAGE
   ========================================================================== */
@media (max-width: 768px) {
    /* Compact the top padding of the section header to reduce whitespace */
    .gallery-section.transformations-gallery-section {
        padding-top: 210px !important;
    }

    .transformations-gallery-section .gallery-section-header {
        margin-bottom: 1.5rem !important;
        gap: 0.3rem !important;
    }

    .transformations-gallery-section .gallery-section-title {
        font-size: 1.6rem !important;
    }

    .transformations-gallery-section .gallery-section-desc {
        font-size: 0.88rem !important;
        line-height: 1.5 !important;
    }

    /* Compact the filters row */
    .transformations-gallery-section .portfolio-filters {
        gap: 0.6rem !important;
        margin-bottom: 1.5rem !important;
    }

    .transformations-gallery-section .portfolio-filter-btn {
        padding: 0.6rem 1.25rem !important;
        font-size: 0.76rem !important;
        gap: 0.4rem !important;
    }

    .transformations-gallery-section .gallery-grid {
        grid-template-columns: 1fr !important; /* Forces single column stacking on mobile */
        gap: 1.5rem !important;
        margin-top: 1.5rem !important;
    }
    
    .transformations-gallery-section .gallery-container {
        padding: 0 10px !important; /* Decrease side padding for extra width */
    }

    .transformations-gallery-section .gallery-grid .slider-container {
        height: 220px !important; /* Compact, screen-fitting slider height */
    }
    
    .transformations-gallery-section .gallery-item {
        border-radius: 16px !important;
        margin: 0 auto !important; /* Perfectly center aligned */
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    /* Hide Patient Speaks section on mobile */
    .patient-speaks-section {
        display: none !important;
    }

    /* Hide Specialities section on mobile */
    .specialities-section {
        display: none !important;
    }
}



/* ============================================================
   CLINIC STATS CARD VIEW STYLES
   ============================================================ */
.clinic-stats-card-section {
    padding: 70px 0;
    background-color: #F4F8FA;
    position: relative;
    overflow: hidden;
}
.stats-card-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
.stats-header {
    margin-bottom: 45px;
}
.stats-section-title {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 800;
    color: #0d2c54;
    margin-bottom: 12px;
}
.stats-section-subtitle {
    font-size: 1.1rem;
    color: #5a6e85;
    max-width: 700px;
    margin: 0 auto;
    font-family: var(--font-body);
}
.stats-card-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 24px;
}
.stat-card {
    border-radius: 24px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 220px;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 4px 20px rgba(13, 44, 84, 0.02);
    border: 1px solid rgba(13, 44, 84, 0.05);
}
.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(13, 44, 84, 0.07);
}
.stat-card-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}
.stat-card-icon-wrapper {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.45);
    display: flex;
    align-items: center;
    justify-content: center;
}
.stat-card-icon-wrapper svg,
.stat-card-icon-wrapper i {
    width: 22px;
    height: 22px;
    color: #0d2c54 !important;
}
.stat-card-badge {
    background: rgba(255, 255, 255, 0.55);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.76rem;
    font-weight: 700;
    color: #0d2c54;
    letter-spacing: 0.02em;
}
.stat-card-number-wrapper {
    margin-bottom: 8px;
}
.stat-card-number {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.1;
    color: #0d2c54;
    letter-spacing: -0.02em;
}
.stat-card-text {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 800;
    line-height: 1.2;
    color: #0d2c54;
    letter-spacing: -0.01em;
}
.stat-card-label {
    font-size: 0.96rem;
    font-weight: 700;
    color: #4a5d71;
    font-family: var(--font-body);
}

/* Pastel themes matching premium design */
.stat-card-teal {
    background-color: #a2e8dd;
    grid-column: span 2;
}
.stat-card-blue {
    background-color: #b3d7ff;
    grid-column: span 2;
}
.stat-card-gold {
    background-color: #F4F8FA;
    grid-column: span 2;
}
.stat-card-cream {
    background-color: #F4F8FA;
    grid-column: span 3;
}
.stat-card-coral {
    background-color: #ffccd5;
    grid-column: span 3;
}

@media (max-width: 992px) {
    .stats-card-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    .stat-card-teal { grid-column: span 2; }
    .stat-card-blue { grid-column: span 2; }
    .stat-card-gold { grid-column: span 2; }
    .stat-card-cream { grid-column: span 2; }
    .stat-card-coral { grid-column: span 4; }
}

@media (max-width: 768px) {
    .stats-section-title {
        font-size: 1.6rem;
    }
    .stats-section-subtitle {
        font-size: 0.95rem;
    }
    .stats-card-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .stat-card {
        grid-column: span 1 !important;
        min-height: 180px;
        padding: 24px;
    }
    .stat-card-number {
        font-size: 2.6rem;
    }
    .stat-card-text {
        font-size: 2rem;
    }
}




/* Viewport specific block toggles to isolate desktop layout from mobile */
.desktop-only-view-block {
    display: block !important;
}
.mobile-only-view-block {
    display: none !important;
}

@media (max-width: 768px) {
    .desktop-only-view-block {
        display: none !important;
    }
    .mobile-only-view-block {
        display: block !important;
    }
}

/* ============================================================
   ABOUT CLINIC: EDITORIAL CARD VIEW LAYOUT (MOBILE OVERRIDES)
   ============================================================ */
.about-clinic-section-new {
    padding: 80px 0;
    background-color: #F4F8FA;
    font-family: var(--font-body);
}
.about-premium-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 24px;
}
.about-premium-header {
    text-align: center;
    margin-bottom: 40px;
}
.about-premium-header .header-line-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 8px;
}
.about-premium-header .header-line {
    width: 40px;
    height: 1px;
    background-color: #0077B6;
}
.about-premium-header .header-tag {
    font-size: 0.85rem;
    font-weight: 700;
    color: #0077B6;
    letter-spacing: 0.15em;
}
.about-premium-header .header-title {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 800;
    color: #134074;
    letter-spacing: 0.02em;
    margin: 0;
}
.btn-about-story {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background-color: #0B2545;
    color: #ffffff !important;
    padding: 16px 40px;
    border-radius: 12px;
    font-size: 0.95rem;
    font-weight: 700;
    text-decoration: none !important;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(66, 53, 37, 0.2);
    letter-spacing: 0.05em;
}
.btn-about-story:hover {
    background-color: #0077B6;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(197, 160, 89, 0.3);
}
.btn-about-story i {
    width: 18px;
    height: 18px;
    transition: transform 0.2s ease;
}
.btn-about-story:hover i {
    transform: translateX(4px);
}
.about-mobile-view {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}
.about-mob-profile-pic {
    width: 170px;
    height: 170px;
    border-radius: 40px;
    overflow: hidden;
    margin-bottom: 14px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border: 3px solid #ffffff;
}
.about-mob-profile-pic img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.about-mob-title {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 800;
    color: #134074;
    line-height: 1.4;
    margin-bottom: 12px;
    max-width: 320px;
}
.about-mob-subtitle {
    font-size: 0.85rem;
    font-weight: 700;
    color: #0077B6;
    margin-bottom: 24px;
    line-height: 1.5;
}
.about-mob-bio-box {
    text-align: left;
    border-left: 3px solid #0077B6;
    padding-left: 16px;
    margin-bottom: 30px;
    background: rgba(255, 255, 255, 0.4);
    padding-top: 10px;
    padding-bottom: 10px;
    border-radius: 0 12px 12px 0;
}
.about-mob-bio-box p {
    font-size: 0.88rem;
    color: #4a5568;
    line-height: 1.65;
    margin: 0;
}
.about-mobile-view .about-credentials-card {
    display: grid;
    grid-template-columns: repeat(3, 1fr) !important;
    padding: 12px 2px !important;
    margin-bottom: 16px !important;
    border-radius: 16px !important;
    border: 1px solid rgba(13, 44, 84, 0.06) !important;
    background: #ffffff !important;
    box-shadow: 0 4px 15px rgba(0,0,0,0.04) !important;
    width: 100%;
}
.about-mobile-view .credential-col {
    padding: 6px 2px !important;
    justify-content: flex-start !important;
    gap: 8px !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    display: flex;
}
.about-mobile-view .credential-col:not(:last-child) {
    border-right: 1px solid rgba(13, 44, 84, 0.08) !important;
}
.about-mobile-view .pill-icon-box {
    width: 36px !important;
    height: 36px !important;
    min-width: 36px !important;
    border-radius: 50%;
    background-color: #F4F8FA;
    display: flex;
    align-items: center;
    justify-content: center;
}
.about-mobile-view .pill-icon-box svg {
    width: 20px;
    height: 20px;
    color: #0077B6 !important;
}
.about-mobile-view .pill-text-box {
    display: flex;
    flex-direction: column;
    align-items: center !important;
}
.about-mobile-view .pill-title {
    font-size: 0.8rem !important;
    font-weight: 800;
    color: #134074;
}
.about-mobile-view .pill-subtitle {
    font-size: 0.68rem !important;
    color: #5f758d !important;
    font-weight: 700;
}

/* ============================================================
   CLINIC STATS CARD VIEW STYLES (MOBILE)
   ============================================================ */
.clinic-stats-card-section {
    padding: 40px 0;
    background-color: #F4F8FA;
    position: relative;
    overflow: hidden;
}
.stats-card-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
.stats-header {
    margin-bottom: 30px;
}
.stats-header .header-line-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 8px;
}
.stats-header .header-line {
    width: 40px;
    height: 1px;
    background-color: #0077B6;
}
.stats-header .header-tag {
    font-size: 0.85rem;
    font-weight: 700;
    color: #0077B6;
    letter-spacing: 0.15em;
}
.stats-section-title {
    font-family: var(--font-heading);
    font-size: 1.45rem !important;
    font-weight: 800 !important;
    color: #134074;
    margin: 12px 0 10px 0 !important;
    line-height: 1.4 !important;
    text-align: center !important;
}
.stats-title-dark {
    color: #134074 !important;
}
.stats-title-gold {
    color: #0077B6 !important;
}
.stats-section-subtitle {
    font-size: 0.85rem !important;
    color: #5f758d !important;
    max-width: 320px !important;
    margin: 0 auto !important;
    line-height: 1.55 !important;
    padding: 0 10px !important;
    font-family: var(--font-body);
    text-align: center !important;
}
.stats-card-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}
.stat-card {
    border-radius: 24px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 180px;
    transition: all 0.3s ease;
    border: 1px solid rgba(13, 44, 84, 0.05);
}
.stat-card-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}
.stat-card-icon-wrapper {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.45);
    display: flex;
    align-items: center;
    justify-content: center;
}
.stat-card-icon-wrapper svg,
.stat-card-icon-wrapper i {
    width: 22px;
    height: 22px;
    color: #0d2c54 !important;
}
.stat-card-badge {
    background: rgba(255, 255, 255, 0.55);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.76rem;
    font-weight: 700;
    color: #0d2c54;
    letter-spacing: 0.02em;
}
.stat-card-number-wrapper {
    margin-bottom: 8px;
}
.stat-card-number {
    font-family: var(--font-heading);
    font-size: 2.6rem;
    font-weight: 800;
    line-height: 1.1;
    color: #0d2c54;
    letter-spacing: -0.02em;
}
.stat-card-text {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 800;
    line-height: 1.2;
    color: #0d2c54;
    letter-spacing: -0.01em;
}
.stat-card-label {
    font-size: 0.96rem;
    font-weight: 700;
    color: #4a5d71;
    font-family: var(--font-body);
}
.stat-card-teal { background-color: #a2e8dd; }
.stat-card-blue { background-color: #b3d7ff; }
.stat-card-gold { background-color: #F4F8FA; }
.stat-card-cream { background-color: #F4F8FA; }
.stat-card-coral { background-color: #ffccd5; }

/* Mobile vertical spacing adjustments to tighten space between header and portrait */
@media (max-width: 768px) {
    .about-clinic-section-new {
        padding: 40px 0 30px 0 !important;
    }
    .about-premium-header {
        margin-bottom: 12px !important;
    }
    .about-premium-header .header-title {
        font-size: 1.8rem !important;
        margin-top: 5px !important;
    }
    .about-mobile-view .about-mob-profile-pic {
        margin-top: 0 !important;
        margin-bottom: 12px !important;
    }
}

/* ============================================================
   GOOGLE TESTIMONIAL CARDS: PREMIUM SOLID DESIGN & UI/UX FIX
   ============================================================ */
@media (max-width: 768px) {
    /* Narrow the track container so cards don't touch the screen edge */
    .reviews-carousel-track-container {
        margin-left: 20px !important;
        margin-right: 20px !important;
        width: auto !important;
        padding: 10px 0 !important;
    }

    /* Move controls outside the card bounds */
    .reviews-carousel-control {
        width: 36px !important;
        height: 36px !important;
        background: #ffffff !important;
        border: 1px solid rgba(197, 168, 128, 0.4) !important;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08) !important;
        z-index: 20 !important;
    }
    .reviews-carousel-control.prev-btn {
        left: 2px !important;
    }
    .reviews-carousel-control.next-btn {
        right: 2px !important;
    }

    /* Transform review card to solid white with unified brand gold theme */
    .review-card {
        background: #ffffff !important;
        border: 1px solid rgba(13, 44, 84, 0.08) !important;
        box-shadow: 0 8px 30px rgba(0, 0, 0, 0.03) !important;
        padding: 1.5rem !important;
        border-radius: 16px !important;
        min-height: 280px !important;
        height: auto !important;
    }

    /* Override all 3n pastel child styles with solid white theme */
    .review-card:nth-child(3n+1),
    .review-card:nth-child(3n+2),
    .review-card:nth-child(3n+3) {
        background: #ffffff !important;
        border: 1px solid rgba(13, 44, 84, 0.08) !important;
    }

    /* Unified Typography & Left Accent Border */
    .review-card:nth-child(3n+1) .user-name,
    .review-card:nth-child(3n+2) .user-name,
    .review-card:nth-child(3n+3) .user-name {
        color: #0f2537 !important;
        font-family: var(--font-heading) !important;
        font-weight: 800 !important;
        font-size: 1.1rem !important;
    }

    .review-card:nth-child(3n+1) .review-text,
    .review-card:nth-child(3n+2) .review-text,
    .review-card:nth-child(3n+3) .review-text {
        border-left: 3px solid #0077B6 !important; /* Rich brand gold */
        padding-left: 14px !important;
        color: #4a5568 !important;
        font-family: var(--font-reviews) !important;
        font-size: 0.9rem !important;
        line-height: 1.6 !important;
        margin: 1rem 0 !important;
    }

    .review-card:nth-child(3n+1) .btn-read-more,
    .review-card:nth-child(3n+2) .btn-read-more,
    .review-card:nth-child(3n+3) .btn-read-more {
        color: #0077B6 !important; /* Gold read more button */
        font-weight: 700 !important;
        text-transform: uppercase !important;
        font-size: 0.85rem !important;
        letter-spacing: 0.05em !important;
    }
}




/* ============================================================
   GLOBAL BODY MOBILE PADDING OVERRIDE FOR STICKY BOTTOM NAV
   ============================================================ */
@media (max-width: 768px) {
    body {
        padding-bottom: 85px !important;
    }
}

/* ============================================================
   RESPONSIVE CASE STUDY STORY MODAL MOBILE OVERFLOW FIX
   ============================================================ */
@media (max-width: 767px) {
    .transformations-gallery-section {
        padding-top: 210px !important; /* Push header down on mobile to prevent navbar collision */
    }

    #story-modal .modal-content {
        width: 92% !important;
        max-width: 100% !important;
        margin: 0 auto;
        padding: 1.5rem 1rem !important; /* Reduced horizontal padding to prevent right side collision */
        max-height: 90vh;
        overflow-y: auto;
    }
    
    #story-modal-slider-container {
        height: auto !important;
        aspect-ratio: 16/10.5 !important;
        max-width: 100% !important;
    }
    
    .story-images-grid {
        grid-template-columns: 1fr !important; /* Stack images if grid is shown on mobile */
        gap: 0.75rem !important;
    }

    /* Category filter horizontal scroll logic to prevent vertical stacking */
    .transformations-gallery-section .portfolio-filters-container {
        overflow-x: auto !important;
        padding-bottom: 0.5rem !important;
        -webkit-overflow-scrolling: touch !important;
    }

    .transformations-gallery-section .portfolio-filters {
        flex-wrap: nowrap !important;
        justify-content: flex-start !important;
        padding: 0 10px 10px 10px !important;
        scrollbar-width: none !important;
        display: flex !important;
    }

    .transformations-gallery-section .portfolio-filters::-webkit-scrollbar {
        display: none !important;
    }

    .transformations-gallery-section .portfolio-filter-btn {
        flex: 0 0 auto !important;
    }
}

/* ============================================================
   TABLET / iPAD OPTIMISATION  (769px – 1024px)
   Does NOT affect mobile (≤768px) or desktop (>1024px)
   ============================================================ */
@media (min-width: 769px) and (max-width: 1024px) {

    /* ── NAVBAR: switch to hamburger on tablet ── */
    .menu-toggle {
        display: block !important;
    }

    .nav-cta {
        display: none !important;
    }

    .nav-links {
        position: fixed !important;
        top: 72px !important;
        left: 0 !important;
        width: 100% !important;
        height: calc(100vh - 72px) !important;
        background-color: #091026 !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: flex-start !important;
        align-items: stretch !important;
        gap: 0 !important;
        padding: 0 !important;
        transform: translateY(-120%) !important;
        transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
        z-index: 998 !important;
        overflow-y: auto !important;
        flex: none !important;
    }

    .navbar.scrolled .nav-links {
        background-color: #091026 !important;
        top: 68px !important;
        height: calc(100vh - 68px) !important;
    }

    .nav-links.active {
        transform: translateY(0) !important;
    }

    .nav-links li {
        width: 100% !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
    }

    .nav-link {
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        width: 100% !important;
        height: 64px !important;
        padding: 0 2rem !important;
        font-size: 1.1rem !important;
        font-weight: 800 !important;
        color: #ffffff !important;
        text-transform: uppercase !important;
        letter-spacing: 0.06em !important;
        text-decoration: none !important;
        background: transparent !important;
    }

    .mobile-only-btn {
        display: block !important;
        width: 100% !important;
        padding: 1.5rem !important;
        border-bottom: none !important;
    }

    /* Dropdown accordion on tablet — same max-height pattern as mobile */
    .dropdown-menu {
        position: static !important;
        background-color: #091026 !important;
        box-shadow: none !important;
        border: none !important;
        padding: 0 !important;
        display: flex !important;
        flex-direction: column !important;
        gap: 0 !important;
        width: 100% !important;
        max-height: 0 !important;
        overflow: hidden !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
        border-radius: 0 !important;
        transition: max-height 0.35s ease-out !important;
        min-width: 0 !important;
        margin: 0 !important;
    }

    .nav-item-dropdown.active .dropdown-menu {
        max-height: 400px !important;
    }

    .dropdown-menu a,
    .dropdown-item {
        display: flex !important;
        align-items: center !important;
        width: 100% !important;
        height: 54px !important;
        padding: 0 3rem !important;
        font-size: 0.92rem !important;
        font-weight: 700 !important;
        color: rgba(255, 255, 255, 0.75) !important;
        text-transform: uppercase !important;
        letter-spacing: 0.05em !important;
        text-decoration: none !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.03) !important;
        background-color: transparent !important;
        transition: background-color 0.2s ease !important;
        box-sizing: border-box !important;
    }

    /* ── HERO ── */
    .hero-title {
        font-size: 3.5rem !important;
    }

    .hero-subtitle {
        font-size: 2rem !important;
    }

    /* ── CONTENT GRIDS ── */
    .services-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 2rem !important;
        max-width: none !important;
    }

    .experience-grid {
        grid-template-columns: 1fr 1fr !important;
        gap: 2rem !important;
    }

    .specialized-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 2rem !important;
    }

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

    /* ── SIGNATURE TREATMENTS — horizontal swipe scroll like mobile ── */
    .signature-treatments-section {
        padding: 4rem 0 !important;
    }

    .signature-title {
        font-size: 2.6rem !important;
    }

    .signature-container {
        overflow: visible !important;
        padding: 0 !important;
    }

    .signature-grid {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch !important;
        scroll-snap-type: x mandatory !important;
        gap: 0 !important;
        padding-left: 10px !important;
        padding-bottom: 1rem !important;
        grid-template-columns: unset !important;
    }

    .signature-grid::-webkit-scrollbar {
        display: none !important;
    }

    .signature-card {
        flex: 0 0 78vw !important;
        max-width: 360px !important;
        height: 440px !important;
        margin-right: 16px !important;
        scroll-snap-align: start !important;
        width: auto !important;
    }

    .signature-card:last-child {
        margin-right: 10px !important;
    }

    .signature-card-content {
        transform: none !important;
        padding: 1.75rem !important;
    }

    .signature-card-desc,
    .btn-signature-action {
        opacity: 1 !important;
        transform: none !important;
    }

    /* ── GALLERY ── */
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 2rem !important;
    }

    .transformations-gallery-section .gallery-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    /* ── BEFORE & AFTER PAGE TOP PADDING ── */
    .gallery-section.transformations-gallery-section {
        padding-top: 140px !important;
    }

    /* ── BOOKING FORM ── */
    .form-row-2 {
        grid-template-columns: 1fr 1fr !important;
    }

    .time-slots-grid {
        grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)) !important;
    }

    /* ── REVIEWS SECTION — stacked + symmetric on tablet ── */
    .reviews-layout {
        grid-template-columns: 1fr !important;
        gap: 2.5rem !important;
    }

    .reviews-summary-col {
        max-width: 280px !important;
        margin: 0 auto !important;
    }

    .review-card {
        flex: 0 0 calc(50% - 0.75rem) !important; /* Show 2 cards side-by-side symmetrically */
        min-width: 0 !important;
    }

    .reviews-carousel-wrapper {
        padding: 0 4.5rem !important; /* Room for prev/next buttons */
        box-sizing: border-box !important;
    }

    .reviews-carousel-control.prev-btn {
        left: 1.5rem !important;
    }

    .reviews-carousel-control.next-btn {
        right: 1.5rem !important;
    }

    /* ── TESTIMONIALS SLIDER — symmetric 2-up on tablet ── */
    .testimonials-carousel-wrapper {
        padding: 0 4.5rem !important; /* Room for buttons on the sides */
        box-sizing: border-box !important;
    }

    .testimonial-premium-card {
        flex: 0 0 calc(50% - 0.9rem) !important; /* Exactly 2 cards visible */
        min-width: 0 !important;
        height: 480px !important;
    }

    .testimonial-premium-card.active-card {
        transform: none !important;
    }

    .testimonials-control-btn.prev-btn {
        left: 1.5rem !important;
    }

    .testimonials-control-btn.next-btn {
        right: 1.5rem !important;
    }

    /* ── FOOTER ── */
    .footer-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 2rem !important;
    }

    /* ── CONTAINERS ── */
    .container {
        padding: 0 10px !important;
    }
    .signature-container {
        padding: 0 !important;
    }

    /* ── HERO SECTION ── */
    .hero-section {
        height: 80vh !important;
        min-height: 560px !important;
        padding-top: 80px !important;
    }

    .hero-title {
        font-size: 3.8rem !important;
        line-height: 1.1 !important;
    }

    .hero-subtitle {
        font-size: 2.1rem !important;
    }

    .hero-description {
        font-size: 1rem !important;
        letter-spacing: 0.12em !important;
    }

    /* Booking section below hero — reduce negative overlap on tablet */
    .booking-section {
        margin-top: -60px !important;
        padding-bottom: 4rem !important;
    }

    .booking-card-split {
        grid-template-columns: 1fr !important;
    }

    .booking-info-pane {
        display: none !important; /* Hide left info pane — only show form on tablet */
    }

    .booking-form-pane {
        padding: 2.5rem !important;
        border-radius: 24px !important;
    }

    /* ── DR. BARI ── */
    .experience-grid {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
    }

    /* About / Doctor photo visual area */
    .about-visual,
    .doctor-visual {
        min-height: 480px !important;
    }

    .about-photo-wrap {
        width: 85% !important;
        max-width: 400px !important;
        margin: 0 auto !important;
    }

    /* Floating stat badges — keep them visible */
    .stat-badge {
        font-size: 1rem !important;
    }

    /* Before/After comparison slider in experience section */
    .comparison-slider,
    .slider-container {
        aspect-ratio: 4/3 !important;
        width: 100% !important;
        max-width: none !important;
    }

    .slider-wrapper,
    .slider-section {
        padding: 3rem 0 !important;
    }
}

/* ============================================================
   REDESIGNED EXECUTIVE SECTION WITH VIDEO BACKDROP (MAINBESTDENTISTMUMBAI.mp4) & BOOKING FORM
   ============================================================ */
.home-about-v2-section {
  position: relative;
  background: #091026;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 100px 0 35px;
  overflow: hidden;
  font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  width: 100%;
  box-sizing: border-box;
}

.home-about-v2-video {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  object-fit: cover;
  z-index: 0;
  pointer-events: none;
}

.home-about-v2-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(9, 16, 38, 0.45) 0%, rgba(11, 23, 42, 0.55) 100%);
  z-index: 1;
  pointer-events: none;
}

.home-about-v2-container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 40px;
  position: relative;
  z-index: 2;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 100%;
}

.home-about-v2-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 50px;
}

/* Left Content Column (High Contrast over Bright Video) */
.home-about-v2-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 5px 16px;
  border-radius: 50px;
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 16px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.home-about-v2-badge .badge-icon {
  width: 15px;
  height: 15px;
  stroke-width: 2.2;
}

.home-about-v2-title {
  font-family: 'D-DIN', sans-serif;
  font-size: clamp(32px, 3.4vw, 48px);
  font-weight: 800;
  color: #ffffff;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 0 0 14px 0;
  text-transform: uppercase;
  text-shadow: 0 4px 16px rgba(0, 0, 0, 0.7);
}

.home-about-v2-title .title-serif-italic,
.home-about-v2-title .title-highlight {
  font-family: 'D-DIN', sans-serif;
  font-style: normal;
  font-weight: 800;
  color: #38BDF8;
  text-transform: uppercase;
  display: inline-block;
  text-shadow: 0 4px 16px rgba(0, 0, 0, 0.7);
}

.home-about-v2-line {
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, #38BDF8 0%, rgba(56, 189, 248, 0.3) 100%);
  border-radius: 4px;
  margin-bottom: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.home-about-v2-lead {
  font-size: 1rem;
  line-height: 1.7;
  color: #ffffff;
  font-weight: 500;
  margin-bottom: 24px;
  max-width: 38em;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7);
}

/* Highlights Grid */
.home-about-v2-highlights {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px 18px;
  margin-bottom: 28px;
}

.highlight-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  font-weight: 700;
  color: #ffffff;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.7);
}

.highlight-item .check-icon {
  width: 17px;
  height: 17px;
  color: #38BDF8;
  flex-shrink: 0;
}

/* Buttons */
.home-about-v2-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-about-v2-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, #0077B6 0%, #0096C7 100%);
  color: #ffffff !important;
  padding: 14px 30px;
  border-radius: 50px;
  font-family: 'D-DIN', sans-serif;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: 0 10px 25px rgba(0, 119, 182, 0.35);
  border: 1.5px solid #0077B6;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-about-v2-primary:hover {
  background: transparent;
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 15px 35px rgba(0, 119, 182, 0.45);
}

.btn-about-v2-primary i, .btn-about-v2-primary svg {
  width: 16px;
  height: 16px;
  stroke-width: 2.5;
}

/* Right Column: Appointment Booking Card */
.home-about-v2-card {
  display: flex;
  justify-content: center;
}

.sec-booking-card {
  width: 100%;
  max-width: 420px;
  background: #ffffff;
  border-radius: 20px;
  border: 1px solid rgba(0, 119, 182, 0.15);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.3);
  padding: 22px 24px;
}

.sec-booking-header {
  margin-bottom: 14px;
}

.sec-booking-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: 'D-DIN', sans-serif;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: #0077B6;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.sec-booking-tag i, .sec-booking-tag svg {
  width: 13px;
  height: 13px;
}

.sec-booking-title {
  font-family: 'D-DIN', sans-serif;
  font-size: 1.3rem;
  font-weight: 800;
  color: #091026;
  margin: 0 0 2px 0;
  text-transform: uppercase;
  letter-spacing: -0.01em;
}

.sec-booking-sub {
  font-size: 0.78rem;
  color: #64748B;
  margin: 0;
  font-weight: 500;
}

/* Form inputs inside card */
.sec-booking-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.sec-form-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.sec-form-group label {
  font-size: 0.72rem;
  font-weight: 700;
  color: #091026;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-family: 'D-DIN', sans-serif;
}

.sec-input-box {
  position: relative;
  display: flex;
  align-items: center;
}

.sec-input-box input,
.sec-select-field {
  width: 100%;
  height: 42px;
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 10px;
  padding: 0 38px 0 14px;
  font-size: 0.85rem;
  color: #091026;
  font-family: inherit;
  font-weight: 500;
  outline: none;
  transition: all 0.2s ease;
}

.sec-select-field {
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
}

.sec-input-box input:focus,
.sec-select-field:focus {
  border-color: #0077B6;
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(0, 119, 182, 0.12);
}

.sec-input-box i,
.sec-input-box svg {
  position: absolute;
  right: 14px;
  width: 16px;
  height: 16px;
  color: #94A3B8;
  pointer-events: none;
}

.sec-phone-row {
  display: flex;
  gap: 10px;
}

.sec-code-select {
  width: 76px;
  height: 42px;
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 10px;
  padding: 0 8px;
  font-weight: 700;
  font-size: 0.85rem;
  color: #091026;
  font-family: 'D-DIN', sans-serif;
  outline: none;
  cursor: pointer;
}

.sec-phone-input {
  flex: 1;
}

.btn-confirm-booking,
.btn-sec-confirm {
  width: 100%;
  height: 46px;
  background: linear-gradient(135deg, #0077B6 0%, #0096C7 100%);
  color: #ffffff;
  border: none;
  border-radius: 10px;
  font-family: 'D-DIN', sans-serif;
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(0, 119, 182, 0.28);
  transition: all 0.3s ease;
  margin-top: 4px;
}

.btn-confirm-booking:hover,
.btn-sec-confirm:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(0, 119, 182, 0.38);
}

.btn-sec-confirm i, .btn-sec-confirm svg {
  width: 16px;
  height: 16px;
  stroke-width: 2.5;
}

.sec-spam-note {
  font-size: 0.74rem;
  color: #64748B;
  text-align: center;
  margin: 2px 0 0 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  font-weight: 500;
}

.sec-spam-note i, .sec-spam-note svg {
  width: 14px;
  height: 14px;
  color: #0077B6;
}

/* Stats Bar (Solid Crisp White Card with High-Contrast Text) */
.home-about-v2-stats {
  margin-top: 45px;
  background: #ffffff;
  border-radius: 20px;
  border: 1px solid rgba(0, 119, 182, 0.15);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 22px 18px;
}

.v2-stat-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 0 20px;
  border-right: 1px solid rgba(0, 119, 182, 0.12);
}

.v2-stat-item:last-child {
  border-right: 0;
}

.v2-stat-icon-wrapper {
  width: 44px;
  height: 44px;
  background: rgba(0, 119, 182, 0.08);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0077B6;
  flex-shrink: 0;
}

.v2-stat-icon-wrapper svg, .v2-stat-icon-wrapper i {
  width: 22px;
  height: 22px;
  stroke-width: 2;
}

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

.v2-stat-number {
  font-family: 'D-DIN', sans-serif;
  font-size: 1.25rem;
  font-weight: 800;
  color: #091026;
  line-height: 1.1;
  letter-spacing: -0.01em;
}

.v2-stat-label {
  font-size: 0.78rem;
  color: #64748B;
  font-weight: 500;
  margin-top: 3px;
}

/* Responsive */
@media (max-width: 1024px) {
  .home-about-v2-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .home-about-v2-content {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .home-about-v2-line {
    margin: 0 auto 24px;
  }
  .home-about-v2-highlights {
    grid-template-columns: 1fr;
    text-align: left;
  }
  .home-about-v2-actions {
    justify-content: center;
  }
  .home-about-v2-stats {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 24px;
    padding: 24px 16px;
  }
  .v2-stat-item:nth-child(2n) {
    border-right: 0;
  }
}

@media (max-width: 640px) {
  .home-about-v2-section {
    padding: 55px 0 40px;
  }
  .home-about-v2-container {
    padding: 0 20px;
  }
  .home-about-v2-title {
    font-size: 28px;
  }
  .sec-booking-card {
    padding: 24px 18px;
  }
  .home-about-v2-stats {
    grid-template-columns: 1fr;
    row-gap: 16px;
  }
  .v2-stat-item {
    border-right: 0;
    border-bottom: 1px solid rgba(0, 119, 182, 0.12);
    padding: 14px 0;
  }
  .v2-stat-item:last-child {
    border-bottom: 0;
  }
}
@media (prefers-reduced-motion:reduce){
  .bari-btn{transition:none;}
  .bari-btn:hover{transform:none;}
}
/* ===== ABOUT REDESIGN — DR. BARI — END ===== */

/* ===== ABOUT PAGE CARDS & SPLIT SECTION STYLES ===== */
.about-features-container-wrap {
  background-color: #F4F8FA;
  padding: 60px 0;
}

.about-features-grid {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 40px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.about-feature-card-modern {
  background: #ffffff;
  border-radius: 16px;
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 10px 30px rgba(9, 16, 38, 0.05);
  border: 1px solid rgba(0, 119, 182, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-feature-card-modern:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 40px rgba(0, 119, 182, 0.12);
}

.about-feature-card-text h4 {
  font-size: 1.1rem;
  font-weight: 800;
  color: #091026;
  margin: 0 0 6px 0;
  text-transform: uppercase;
}

.about-feature-card-text p {
  font-size: 0.85rem;
  color: #3A506B;
  margin: 0;
  line-height: 1.4;
}

.about-feature-card-icon {
  color: #0077B6;
  font-size: 1.6rem;
  flex-shrink: 0;
}

.about-split-layout-section {
  background-color: #ffffff;
  padding: 90px 0;
}

.about-split-layout-container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 40px;
}

.about-split-header {
  text-align: center;
  max-width: 750px;
  margin: 0 auto 60px auto;
  position: relative;
}

.about-split-header h2 {
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 800;
  color: #091026;
  margin-bottom: 16px;
  text-transform: uppercase;
}

.about-split-header p {
  font-size: 1.1rem;
  color: #3A506B;
  line-height: 1.6;
}

.clinical-watermark-tooth {
  position: absolute;
  top: -20px;
  right: -20px;
  width: 100px;
  height: 100px;
  opacity: 0.05;
  color: #0077B6;
  pointer-events: none;
  overflow: hidden;
}

.clinical-watermark-tooth svg {
  width: 100%;
  height: 100%;
}

.about-split-row-modern {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
  margin-bottom: 70px;
}

.about-split-row-modern:nth-child(even) {
  direction: rtl;
}

.about-split-row-modern:nth-child(even) .about-split-text-box {
  direction: ltr;
}

.about-split-img-box {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(9, 16, 38, 0.08);
  background: linear-gradient(135deg, #EEF6FC 0%, #D6EBFC 100%);
  aspect-ratio: 1.2;
  display: flex;
  justify-content: center;
  align-items: center;
}

.about-split-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.about-split-img-box img[src*="dr_bari_consulting"] {
  object-position: 85% center;
}

.about-split-img-box img[src*="dr_bari_inspecting"] {
  object-position: 70% center;
}

.about-split-row-modern:hover .about-split-img-box img {
  transform: scale(1.04);
}

.about-split-img-box img[src*="cutout"],
.about-split-img-box img[src*="no_bg"] {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  align-self: flex-end;
  padding: 10px;
}

.about-split-text-box h3 {
  font-size: 1.8rem;
  font-weight: 800;
  color: #091026;
  margin-bottom: 16px;
  text-transform: uppercase;
}

.about-split-text-box p {
  font-size: 1.05rem;
  color: #3A506B;
  line-height: 1.6;
  margin-bottom: 20px;
}

.about-split-text-box ul {
  list-style: none;
  padding: 0;
}

.about-split-text-box ul li {
  font-size: 0.95rem;
  color: #091026;
  font-weight: 600;
  margin-bottom: 10px;
  position: relative;
  padding-left: 24px;
}

.about-split-text-box ul li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #0077B6;
  font-weight: 900;
}

@media (max-width: 1024px) {
  .about-features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .about-split-row-modern {
    grid-template-columns: 1fr;
    direction: ltr !important;
  }
}



/* ============================================================
   TREATMENT SERVICES GRID SECTION (ORTHOSQUARE STYLE 10 CARDS)
   ============================================================ */
.treatments-grid-section {
  padding: 80px 0 70px;
  background: #ffffff;
  font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  width: 100%;
}

.treatments-grid-container {
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 30px;
}

.treatments-header {
  margin-bottom: 48px;
}

.treatments-main-title {
  font-family: 'D-DIN', sans-serif;
  font-size: clamp(24px, 2.5vw, 36px);
  font-weight: 800;
  color: #0077B6;
  text-align: center;
  margin: 0 0 10px 0;
  letter-spacing: -0.01em;
}

.treatments-sub-title {
  font-size: 1.05rem;
  color: #475569;
  text-align: center;
  font-weight: 500;
  margin: 0;
}

.treatments-cards-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 22px;
}

.treatment-card {
  background: #ffffff;
  border: 1px solid #BEE3F8;
  border-radius: 16px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  box-shadow: 0 4px 14px rgba(0, 119, 182, 0.05);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.treatment-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 32px rgba(0, 119, 182, 0.12);
  border-color: #0077B6;
}

.treatment-img-box {
  width: 100%;
  height: 140px;
  background: #E0F2FE;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-bottom: 16px;
}

.treatment-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.treatment-card:hover .treatment-img-box img {
  transform: scale(1.06);
}

.treatment-card-title {
  font-family: 'D-DIN', sans-serif;
  font-size: 1.05rem;
  font-weight: 800;
  color: #0F172A;
  margin: 0 0 6px 0;
  line-height: 1.25;
}

.treatment-card-desc {
  font-size: 0.8rem;
  color: #64748B;
  margin: 0 0 16px 0;
  line-height: 1.4;
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 500;
}

.btn-treatment-cta {
  width: 100%;
  height: 42px;
  background: var(--color-primary-gradient);
  color: #ffffff !important;
  border-radius: 25px;
  font-family: 'D-DIN', sans-serif;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border: none;
  box-shadow: 0 4px 14px rgba(0, 119, 182, 0.25);
  transition: all 0.3s ease;
  margin-top: auto;
}

.btn-treatment-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 119, 182, 0.4);
  background: var(--color-primary-gradient-hover);
}

/* Responsive Grid */
@media (max-width: 1200px) {
  .treatments-cards-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
}

@media (max-width: 768px) {
  .treatments-cards-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  .treatment-card {
    padding: 14px;
  }
  .treatment-img-box {
    height: 125px;
  }
}



/* ============================================================
   BEFORE & AFTER SECTION — LUXURY EXECUTIVE BACKGROUND REDESIGN
   ============================================================ */
.home-before-after-section {
  padding: 95px 0 90px;
  background: linear-gradient(180deg, #091026 0%, #0F172A 50%, #0B132B 100%) !important;
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
}

/* Background Glowing Accent Orbs */
.home-before-after-section::before {
  content: '';
  position: absolute;
  top: -20%;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(0, 119, 182, 0.15) 0%, rgba(9, 16, 38, 0) 70%);
  pointer-events: none;
  z-index: 0;
}

.home-before-after-container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 30px;
  position: relative;
  z-index: 2;
}

.home-before-after-header {
  margin-bottom: 48px;
}

.home-before-after-subtitle {
  font-family: 'D-DIN', sans-serif !important;
  font-size: clamp(26px, 2.8vw, 42px) !important;
  font-weight: 800 !important;
  color: #ffffff !important;
  letter-spacing: -0.01em !important;
  text-transform: uppercase !important;
  display: block;
  margin-bottom: 12px;
}

.home-before-after-desc-centered {
  font-size: 0.95rem;
  color: #94A3B8;
  max-width: 650px;
  margin: 0 auto;
  line-height: 1.6;
  font-weight: 500;
}

.home-before-after-grid-layout {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}

.transformation-card {
  background: rgba(255, 255, 255, 0.04) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  border-radius: 20px;
  padding: 10px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.35) !important;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}

.transformation-card:hover {
  transform: translateY(-6px);
  border-color: #0077B6 !important;
  box-shadow: 0 25px 50px rgba(0, 119, 182, 0.25) !important;
  background: rgba(255, 255, 255, 0.07) !important;
}

.transformation-image-wrapper {
  border-radius: 14px;
  overflow: hidden;
  position: relative;
}

.transformation-image-wrapper img {
  border-radius: 8px;
  transition: transform 0.4s ease;
}

.transformation-card:hover .transformation-image-wrapper img {
  transform: scale(1.03);
}

.link-see-all-transformations {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 36px;
  background: linear-gradient(135deg, #0077B6 0%, #00B4D8 100%) !important;
  color: #ffffff !important;
  border-radius: 30px;
  font-family: 'D-DIN', sans-serif;
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(0, 119, 182, 0.35);
  transition: all 0.3s ease;
}

.link-see-all-transformations:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(0, 119, 182, 0.5);
  background: linear-gradient(135deg, #0088CC 0%, #00C6FF 100%) !important;
}

@media (max-width: 992px) {
  .home-before-after-grid-layout {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .home-before-after-grid-layout {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   ABOUT HERO SECTION — CLINIC & DOCTOR PAGES (.bari-hero)
   ============================================================ */
:root {
  --bari-blue: #0077B6;
  --bari-blue-dk: #005A8B;
  --bari-ink: #091026;
  --bari-body: #475569;
  --bari-blob: #D5E6F8;
  --bari-dot: #C9D9EC;
  --bari-page: #F4F8FC;
}

.bari-hero {
  position: relative;
  background: linear-gradient(180deg, #F7FAFD 0%, var(--bari-page) 100%);
  padding: 120px 0 0; /* Clear header */
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  box-sizing: border-box;
}

.bari-hero__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  display: grid;
  grid-template-columns: 1.02fr .98fr;
  align-items: center;
  column-gap: 24px;
  flex: 1;
  width: 100%;
}

/* ---------- Left Column ---------- */
.bari-hero__copy {
  padding-bottom: 40px;
  text-align: left;
}

.bari-eyebrow {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .135em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin: 0 0 22px;
}

.bari-title {
  margin: 0;
  font-weight: 800;
  color: var(--bari-ink);
  font-size: clamp(38px, 4.35vw, 58px);
  line-height: 1.08;
  letter-spacing: -.022em;
  text-transform: uppercase;
}

.bari-rule {
  width: 58px;
  height: 4px;
  border-radius: 3px;
  background: var(--color-primary);
  margin: 30px 0 28px;
}

.bari-lead {
  margin: 0 0 34px;
  max-width: 30em;
  font-size: 16.5px;
  line-height: 1.8;
  color: var(--bari-body);
  font-weight: 500;
}

.bari-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--color-primary-gradient);
  color: #fff !important;
  text-decoration: none;
  padding: 17px 34px;
  border-radius: 999px;
  font-family: 'D-DIN', sans-serif;
  font-size: 13.5px;
  font-weight: 800;
  letter-spacing: .09em;
  text-transform: uppercase;
  box-shadow: 0 12px 26px rgba(0, 119, 182, 0.28);
  transition: background .25s ease, transform .25s ease, box-shadow .25s ease;
}

.bari-btn:hover {
  background: var(--color-primary-gradient-hover);
  transform: translateY(-2px);
  box-shadow: 0 16px 32px rgba(0, 119, 182, 0.34);
}

.bari-btn svg {
  width: 17px;
  height: 17px;
  stroke-width: 2.5;
}

/* ---------- Right Column: blob + portrait ---------- */
.bari-hero__visual {
  position: relative;
  height: 520px;
  align-self: end;
}

.bari-blob {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 90%;
  height: 84%;
  fill: var(--bari-blob) !important;
}

.bari-portrait {
  position: absolute;
  right: 3%;
  bottom: -28px;
  height: 106%;
  width: auto;
  max-width: none;
  filter: drop-shadow(0 22px 36px rgba(16,27,51,.16));
}

/* dotted grids */
.bari-dots {
  position: absolute;
  background-image: radial-gradient(var(--bari-dot) 1.6px, transparent 1.6px);
  background-size: 11px 11px;
}

.bari-dots--l {
  width: 74px;
  height: 96px;
  left: 4%;
  top: 30%;
  opacity: .9;
}

.bari-dots--r {
  width: 86px;
  height: 74px;
  right: 0;
  top: 12%;
  opacity: .8;
}

/* ---------- Stat Bar ---------- */
.bari-stats {
  position: relative;
  z-index: 3;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px 45px;
  width: 100%;
  box-sizing: border-box;
}

.bari-stats__card {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 22px 55px rgba(16,27,51,.10);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 34px 20px;
  border: 1px solid rgba(0, 119, 182, 0.08);
}

.bari-stat {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 2px 26px;
  border-right: 1px solid #E7EDF4;
}

.bari-stat:last-child {
  border-right: 0;
}

.bari-stat__icon {
  flex: none;
  color: var(--color-primary);
  margin-top: 1px;
}

.bari-stat__icon svg, .bari-stat__icon i {
  width: 34px;
  height: 34px;
  stroke-width: 1.6;
}

.bari-stat__val {
  font-size: 22px;
  font-weight: 800;
  color: var(--bari-ink);
  line-height: 1.15;
  margin: 0 0 5px;
  letter-spacing: -.01em;
}

.bari-stat__lbl {
  font-size: 13px;
  line-height: 1.5;
  color: var(--bari-body);
  font-weight: 500;
  margin: 0;
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .bari-hero {
    min-height: auto;
    padding-top: 100px;
    padding-bottom: 30px;
  }
  .bari-hero__inner {
    grid-template-columns: 1fr;
    row-gap: 24px;
  }
  .bari-hero__copy {
    padding-bottom: 0;
    text-align: left;
  }
  .bari-hero__visual {
    height: 430px;
    max-width: 460px;
    margin: 0 auto;
    width: 100%;
  }
  .bari-blob {
    width: 100%;
    height: 86%;
    right: 0;
  }
  .bari-portrait {
    right: 50%;
    transform: translateX(50%);
    height: 104%;
  }
  .bari-stats {
    margin: 20px auto 0;
    padding: 0 40px;
  }
  .bari-stats__card {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 30px;
    padding: 30px 8px;
  }
  .bari-stat:nth-child(2n) {
    border-right: 0;
  }
  .bari-stat:nth-child(-n+2) {
    padding-bottom: 26px;
    border-bottom: 1px solid #E7EDF4;
  }
}

@media (max-width: 640px) {
  .bari-hero {
    padding-top: 86px;
  }
  .bari-hero__inner, .bari-stats {
    padding: 0 20px;
  }
  .bari-lead {
    font-size: 15.5px;
  }
  .bari-hero__visual {
    height: 360px;
  }
  .bari-dots {
    display: none;
  }
  .bari-stats {
    margin: 0;
    padding: 0 10px;
  }
  .bari-stats__card {
    grid-template-columns: 1fr;
    row-gap: 0;
    padding: 8px 10px;
  }
  .bari-stat {
    border-right: 0;
    border-bottom: 1px solid #E7EDF4;
    padding: 20px 16px;
  }
  .bari-stat:last-child {
    border-bottom: 0;
  }
  .bari-stat:nth-child(-n+2) {
    padding-bottom: 20px;
  }
}
/* ============================================================
   ABOUT PAGES SECTION POLISH — IMAGE FADE, QUOTE, BENTO CARDS, CTA
   ============================================================ */

/* Bottom fade-out mask to blend doctor transparent cutout into blue profile card background */
.about-split-img-box img[src*="dr_bari_cutout"] {
  mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 85%, rgba(0,0,0,0) 100%);
  -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 85%, rgba(0,0,0,0) 100%);
}

/* Luxury Peer Review Testimonial Card Redesign */
.about-comparison-block-modern {
  background: radial-gradient(circle at 50% 50%, rgba(0, 180, 216, 0.08) 0%, transparent 70%), #091026; /* Dark luxury base */
  padding: 100px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  position: relative;
  overflow: hidden;
}

.about-comparison-container-modern {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 40px;
}

.about-comparison-eyebrow {
  display: block;
  text-align: center;
  font-family: 'D-DIN', sans-serif;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #00B4D8; /* Electric Cyan */
  margin-bottom: 30px;
}

.about-peer-review-card {
  background: rgba(255, 255, 255, 0.03); /* Dark frosted glass */
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 28px;
  padding: 60px 50px 50px;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.25);
  position: relative;
  text-align: center;
}

.about-peer-review-card::before {
  content: "“";
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  font-family: 'Newsreader', serif;
  font-size: 9rem;
  line-height: 1;
  color: rgba(0, 180, 216, 0.15); /* Glowing cyan quote icon */
  pointer-events: none;
}

.about-peer-review-card blockquote {
  font-family: 'Newsreader', serif;
  font-style: italic;
  font-size: 1.42rem;
  line-height: 1.8;
  color: #ffffff; /* White high-contrast text */
  font-weight: 500;
  margin: 0 0 28px 0;
  position: relative;
  z-index: 2;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.about-peer-review-card cite {
  display: block;
  font-family: 'D-DIN', sans-serif;
  font-size: 0.95rem;
  font-weight: 800;
  color: #00B4D8; /* Electric Cyan */
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-style: normal;
}

.about-team-container-modern {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 45px;
  width: 100%;
  box-sizing: border-box;
}

/* Specialized Treatments Grid & Bento Cards styling matching mockup */
.specialized-treatments-section {
  background: radial-gradient(circle at 80% 20%, rgba(0, 180, 216, 0.04) 0%, transparent 60%), #ffffff;
  padding: 100px 0 95px;
}

.treatments-centered-header {
  text-align: center;
  margin-bottom: 55px;
}

.treatments-eyebrow-centered {
  display: inline-block;
  font-family: 'D-DIN', sans-serif;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #0077B6;
  background: rgba(0, 119, 182, 0.08);
  padding: 6px 18px;
  border-radius: 30px;
  margin-bottom: 15px;
  border: 1px solid rgba(0, 119, 182, 0.15);
}

.treatments-title-centered {
  font-family: 'D-DIN', sans-serif !important;
  font-size: clamp(28px, 3.5vw, 44px) !important;
  font-weight: 900;
  color: #091026;
  letter-spacing: -0.01em;
  margin: 0 0 14px 0 !important;
  text-transform: uppercase;
  line-height: 1.15;
}

.treatments-title-centered .highlight-blue {
  color: #0077B6;
}

.treatments-centered-rule {
  width: 50px;
  height: 3.5px;
  background: #0077B6;
  border-radius: 2px;
  margin: 0 auto 18px;
}

.treatments-subtitle-centered {
  font-size: 0.96rem;
  color: #475569;
  max-width: 600px;
  margin: 0 auto;
  font-weight: 500;
  line-height: 1.6;
}

.practice-areas-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  padding: 0;
  list-style: none;
  margin: 0;
}

.practice-areas-list li {
  position: relative;
  background: #091026; /* Dark background base */
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  padding: 40px 30px;
  text-align: left;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 10px 30px rgba(9, 16, 38, 0.04);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 320px;
  box-sizing: border-box;
}

.practice-areas-list li:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 50px rgba(0, 119, 182, 0.25);
  border-color: #00B4D8;
}

/* Immersive Background Illustration */
.practice-card-bg-ill {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  pointer-events: none;
  z-index: 1;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.practice-areas-list li:hover .practice-card-bg-ill {
  transform: scale(1.06);
}

/* Dark gradient overlay for extreme readability */
.practice-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(9, 16, 38, 0.05) 0%, rgba(9, 16, 38, 0.4) 40%, rgba(9, 16, 38, 0.92) 100%);
  z-index: 2;
  pointer-events: none;
}

.practice-card-content {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  height: 100%;
  width: 100%;
  color: #ffffff;
}

.practice-card-icon {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  margin-bottom: 25px;
  transition: all 0.3s ease;
}

.practice-areas-list li:hover .practice-card-icon {
  background: #0077B6;
  border-color: #0077B6;
  color: #ffffff;
}

.practice-card-icon svg {
  width: 20px;
  height: 20px;
  stroke-width: 2.2;
}

.practice-areas-list li h4 {
  font-family: 'D-DIN', sans-serif !important;
  font-weight: 800;
  font-size: 1.25rem;
  color: #ffffff;
  margin: 0 0 10px 0;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  line-height: 1.2;
}

.practice-areas-list li p {
  font-size: 0.88rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.8);
  margin: 0 0 25px 0;
  font-weight: 500;
}

.practice-card-arrow {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  transition: all 0.3s ease;
  margin-top: auto;
}

.practice-areas-list li:hover .practice-card-arrow {
  background: #0077B6;
  color: #ffffff;
  transform: translateX(4px);
}

.practice-card-arrow svg {
  width: 16px;
  height: 16px;
  stroke-width: 2.5;
}

/* Consultation CTA Section styling */
.cta-block-about {
  background-color: #F3F9FD;
  border-top: 1px solid rgba(0, 119, 182, 0.08);
}

.text-center-about {
  max-width: 720px;
  text-align: center;
  margin: 0 auto;
}

.text-center-about h2 {
  font-family: 'D-DIN', sans-serif !important;
  font-size: clamp(2rem, 3.5vw, 2.6rem) !important;
  font-weight: 800;
  color: #091026;
  margin-bottom: 20px;
  letter-spacing: -0.01em;
  text-transform: uppercase;
}

.text-center-about p {
  font-size: 1.05rem;
  line-height: 1.65;
  color: #475569;
  font-weight: 500;
  margin-bottom: 35px;
}

.about-cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-cta-about {
  height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 40px !important;
  font-weight: 800;
  font-family: 'D-DIN', sans-serif !important;
  background: var(--color-primary-gradient) !important;
  color: white !important;
  border-radius: 30px !important;
  text-decoration: none;
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: 0 10px 24px rgba(0, 119, 182, 0.25);
  transition: all 0.3s ease;
}

.btn-cta-about:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(0, 119, 182, 0.35);
  background: var(--color-primary-gradient-hover) !important;
}

.btn-whatsapp-about {
  height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 40px !important;
  font-weight: 800;
  font-family: 'D-DIN', sans-serif !important;
  border: 1px solid #25d366 !important;
  background-color: #25d366 !important;
  color: white !important;
  border-radius: 30px !important;
  text-decoration: none;
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: 0 10px 24px rgba(37, 211, 102, 0.2);
  transition: all 0.3s ease;
}

.btn-whatsapp-about:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(37, 211, 102, 0.3);
  background-color: #20ba59 !important;
}

}

@media (max-width: 1024px) {
  .practice-areas-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .practice-areas-list {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .about-peer-review-card {
    padding: 45px 25px 30px;
  }
  .about-peer-review-card::before {
    font-size: 6.5rem;
    top: 5px;
  }
  .about-peer-review-card blockquote {
    font-size: 1.15rem;
  }
}

/* ============================================================
   ABOUT CLINIVE PAGE REDESIGN — EXCLUSIVE BRAND NEW STYLES
   ============================================================ */

/* 1. Clinic Hero Premium */
.clinic-hero-premium {
  position: relative;
  min-height: 100vh;
  background: url('assets/clinic_interior_bg.jpg') no-repeat center center/cover;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 120px 0 60px;
  box-sizing: border-box;
}

.clinic-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(9, 16, 38, 0.9) 0%, rgba(9, 16, 38, 0.6) 50%, rgba(9, 16, 38, 0.3) 100%);
  z-index: 1;
}

.clinic-hero-container {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 0 45px;
  position: relative;
  z-index: 2;
  box-sizing: border-box;
}

.clinic-hero-card {
  max-width: 600px;
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 28px;
  padding: 50px;
  color: #ffffff;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.3);
  text-align: left;
}

.clinic-hero-eyebrow {
  display: inline-block;
  font-family: 'D-DIN', sans-serif;
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: #00B4D8;
  margin-bottom: 20px;
}

.clinic-hero-title {
  font-family: 'D-DIN', sans-serif !important;
  font-size: clamp(34px, 4.5vw, 54px) !important;
  font-weight: 900;
  line-height: 1.1;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  margin: 0 0 20px 0 !important;
  color: #ffffff;
}

.text-gradient-cyan {
  background: linear-gradient(135deg, #00B4D8 0%, #90E0EF 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.clinic-hero-desc {
  font-size: 1.05rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 35px;
}

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

.clinic-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #0077B6 0%, #00B4D8 100%);
  color: #ffffff !important;
  font-family: 'D-DIN', sans-serif;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 13px;
  padding: 16px 30px;
  border-radius: 30px;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(0, 180, 216, 0.35);
  transition: all 0.3s ease;
}

.clinic-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(0, 180, 216, 0.45);
}

.clinic-btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.15);
  font-family: 'D-DIN', sans-serif;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 13px;
  padding: 16px 30px;
  border-radius: 30px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.clinic-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
}

/* 2. Clinic Pillars Section */
.clinic-pillars-section {
  background: radial-gradient(circle at 20% 80%, rgba(0, 180, 216, 0.04) 0%, transparent 60%), #ffffff;
  padding: 100px 0;
}

.clinic-pillars-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 45px;
  box-sizing: border-box;
}

.clinic-section-header {
  text-align: center;
  max-width: 650px;
  margin: 0 auto 60px;
}

.clinic-eyebrow {
  display: inline-block;
  font-family: 'D-DIN', sans-serif;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #0077B6;
  background: rgba(0, 119, 182, 0.08);
  padding: 5px 15px;
  border-radius: 30px;
  margin-bottom: 15px;
}

.clinic-section-header h2 {
  font-family: 'D-DIN', sans-serif !important;
  font-size: clamp(28px, 3.5vw, 44px) !important;
  font-weight: 900;
  text-transform: uppercase;
  color: #091026;
  margin: 0 0 16px 0 !important;
  line-height: 1.15;
}

.clinic-section-header p {
  font-size: 0.98rem;
  line-height: 1.6;
  color: #475569;
  margin: 0;
  font-weight: 500;
}

.clinic-pillars-title {
  font-family: 'Newsreader', serif !important;
  font-weight: 400;
  font-style: normal;
  font-size: clamp(32px, 4vw, 48px) !important;
  color: #091026;
  text-transform: none !important;
  letter-spacing: -0.02em;
  margin: 0 0 16px 0 !important;
  line-height: 1.15;
}

.clinic-pillars-title em {
  font-family: 'Newsreader', serif !important;
  font-style: italic;
  font-weight: 300;
  color: #0077B6;
}

.clinic-pillars-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  max-width: 1050px;
  margin: 0 auto;
}

.clinic-pillar-card {
  background: #ffffff;
  border: 1px solid rgba(9, 16, 38, 0.05);
  border-radius: 28px;
  padding: 45px 35px;
  text-align: left;
  position: relative;
  overflow: hidden;
  display: flex;
  gap: 25px;
  align-items: flex-start;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 10px 35px rgba(9, 16, 38, 0.02);
}

.clinic-pillar-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 0;
  background: linear-gradient(to bottom, #0077B6, #00B4D8);
  transition: height 0.35s ease;
}

.clinic-pillar-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 25px 55px rgba(9, 16, 38, 0.06);
  border-color: rgba(0, 119, 182, 0.12);
}

.clinic-pillar-card:hover::before {
  height: 100%;
}

.pillar-number {
  position: absolute;
  top: 25px;
  right: 35px;
  font-family: 'Newsreader', serif;
  font-size: 3.8rem;
  font-weight: 300;
  font-style: italic;
  color: rgba(0, 119, 182, 0.06);
  line-height: 1;
  user-select: none;
  transition: color 0.35s ease;
}

.clinic-pillar-card:hover .pillar-number {
  color: rgba(0, 180, 216, 0.15);
}

.clinic-pillar-icon {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  background: #ffffff;
  border: 1px solid rgba(0, 119, 182, 0.1);
  box-shadow: 0 4px 15px rgba(0, 119, 182, 0.03);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0077B6;
  flex-shrink: 0;
  transition: all 0.4s ease;
  position: relative;
}

.clinic-pillar-card:hover .clinic-pillar-icon {
  background: linear-gradient(135deg, #0077B6 0%, #00B4D8 100%);
  color: #ffffff;
  border-color: transparent;
  box-shadow: 0 8px 22px rgba(0, 180, 216, 0.25);
}

.clinic-pillar-icon svg {
  width: 24px;
  height: 24px;
  stroke-width: 2.2;
}

.clinic-pillar-info {
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: relative;
  z-index: 2;
  max-width: calc(100% - 85px);
}

.clinic-pillar-card h3 {
  font-family: 'D-DIN', sans-serif !important;
  font-weight: 800;
  font-size: 1.1rem;
  color: #091026;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.clinic-pillar-card p {
  font-size: 0.88rem;
  line-height: 1.6;
  color: #475569;
  margin: 0;
  font-weight: 500;
}

/* 3. Clinic Tech Showcase */
.clinic-tech-showcase {
  background: radial-gradient(circle at 80% 20%, rgba(0, 180, 216, 0.08) 0%, transparent 60%), #091026;
  padding: 100px 0;
  color: #ffffff;
}

.clinic-tech-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 45px;
  box-sizing: border-box;
}

.clinic-tech-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 60px;
}

.clinic-tech-copy {
  text-align: left;
}

.clinic-eyebrow-glowing {
  display: inline-block;
  font-family: 'D-DIN', sans-serif;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  color: #00B4D8;
  margin-bottom: 15px;
}

.clinic-tech-copy h2 {
  font-family: 'D-DIN', sans-serif !important;
  font-size: clamp(28px, 3.5vw, 44px) !important;
  font-weight: 900;
  text-transform: uppercase;
  color: #ffffff;
  margin: 0 0 16px 0 !important;
  line-height: 1.15;
}

.clinic-tech-copy p {
  font-size: 1rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 35px;
}

.clinic-tech-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.clinic-tech-list li {
  display: flex;
  gap: 15px;
  align-items: flex-start;
}

.tech-list-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(0, 180, 216, 0.15);
  border: 1px solid rgba(0, 180, 216, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #00B4D8;
  flex-shrink: 0;
  margin-top: 2px;
}

.tech-list-icon svg {
  width: 14px;
  height: 14px;
  stroke-width: 3;
}

.clinic-tech-list li strong {
  display: block;
  font-size: 0.95rem;
  color: #ffffff;
  margin-bottom: 3px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.clinic-tech-list li span {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.5;
}

.clinic-tech-visual {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4);
  aspect-ratio: 1.15;
}

.clinic-tech-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tech-visual-glow {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(9, 16, 38, 0.6) 100%);
  pointer-events: none;
}

/* 4. Interactive Comparison Section */
.clinic-comparison-section {
  background: #F4F8FC;
  padding: 100px 0;
}

.clinic-comparison-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 45px;
  box-sizing: border-box;
}

.clinic-comparison-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.comparison-card {
  border-radius: 28px;
  padding: 45px;
  text-align: left;
  box-shadow: 0 15px 35px rgba(9, 16, 38, 0.04);
}

.comparison-card.premium-card {
  background: #ffffff;
  border: 1px solid rgba(0, 119, 182, 0.15);
  border-top: 6px solid #0077B6;
}

.comparison-card.standard-card {
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(9, 16, 38, 0.08);
}

.comparison-card h3 {
  font-family: 'D-DIN', sans-serif !important;
  font-weight: 800;
  font-size: 1.35rem;
  margin: 0 0 30px 0;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.premium-card h3 {
  color: #0077B6;
}

.standard-card h3 {
  color: #64748B;
}

.comparison-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.comparison-card ul li {
  display: flex;
  gap: 15px;
  align-items: flex-start;
  font-size: 0.92rem;
  line-height: 1.55;
  font-weight: 500;
}

.premium-card ul li {
  color: #334155;
}

.standard-card ul li {
  color: #64748B;
}

.comparison-card ul li svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  margin-top: 2px;
}

.premium-card ul li svg {
  color: #0077B6;
}

.standard-card ul li svg {
  color: #94A3B8;
}

/* 5. Clinic Team Section */
.clinic-team-section {
  background: #ffffff;
  padding: 100px 0;
}

.clinic-team-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 45px;
  box-sizing: border-box;
}

.clinic-team-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  max-width: 900px;
  margin: 0 auto;
}

.clinic-team-card {
  background: #ffffff;
  border: 1px solid rgba(0, 119, 182, 0.08);
  border-radius: 28px;
  padding: 24px;
  text-align: left;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 12px 35px rgba(9, 16, 38, 0.03);
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.clinic-team-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 50px rgba(0, 119, 182, 0.12);
  border-color: #0077B6;
}

.doctor-photo-wrapper {
  width: 100%;
  height: 310px;
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  background: linear-gradient(135deg, #EEF6FC 0%, #D6EBFC 100%);
  border: 1px solid rgba(0, 119, 182, 0.08);
}

.clinic-doctor-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.clinic-team-card:hover .clinic-doctor-photo {
  transform: scale(1.03);
}

/* Specific styling for transparent portrait cutout */
.clinic-doctor-photo.cutout-style {
  object-fit: contain;
  object-position: bottom center;
  width: 92%;
  height: 92%;
  margin: 0 auto;
  display: block;
  position: absolute;
  bottom: 0;
  left: 4%;
}

.clinic-team-card:hover .clinic-doctor-photo.cutout-style {
  transform: scale(1.03) translateY(-2px);
}

.clinic-team-info {
  display: flex;
  flex-direction: column;
  padding: 0 8px 8px;
}

.clinic-team-card h3 {
  font-family: 'D-DIN', sans-serif !important;
  font-weight: 800;
  font-size: 1.35rem;
  color: #091026;
  margin: 0 0 6px 0;
  text-transform: uppercase;
  letter-spacing: 0.01em;
}

.clinic-doctor-role {
  display: block;
  font-family: 'Manrope', sans-serif;
  font-size: 0.85rem;
  font-weight: 800;
  color: #0077B6;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 14px;
}

.clinic-team-divider {
  width: 40px;
  height: 3.5px;
  background: #0077B6;
  border-radius: 2px;
  margin-bottom: 16px;
}

.clinic-team-card p {
  font-size: 0.88rem;
  line-height: 1.6;
  color: #475569;
  margin: 0;
  font-weight: 500;
}

.clinic-team-associates {
  grid-column: span 2;
  text-align: center;
  margin-top: 45px;
  border-top: 1px solid rgba(9, 16, 38, 0.06);
  padding-top: 35px;
}

.clinic-team-associates p {
  font-size: 0.95rem;
  color: rgba(9, 16, 38, 0.6);
  max-width: 600px;
  margin: 0 auto;
  font-weight: 500;
  line-height: 1.6;
}

/* Responsive Media Queries */
@media (max-width: 1024px) {
  .clinic-pillars-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
  .clinic-tech-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .clinic-tech-visual {
    max-width: 500px;
    margin: 0 auto;
    width: 100%;
  }
}

@media (max-width: 768px) {
  .clinic-hero-premium {
    min-height: auto;
    padding-top: 100px;
  }
  .clinic-hero-card {
    padding: 35px 25px;
  }
  .clinic-pillars-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .clinic-pillar-card {
    padding: 30px 25px;
    gap: 20px;
  }
  .clinic-comparison-grid,
  .clinic-team-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .clinic-hero-buttons {
    flex-direction: column;
    gap: 12px;
  }
  .clinic-btn-primary, .clinic-btn-secondary {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .clinic-pillars-grid {
    grid-template-columns: 1fr;
  }
  .clinic-hero-card {
    border-radius: 20px;
    padding: 25px 20px;
  }
  .clinic-hero-container,
  .clinic-pillars-container,
  .clinic-tech-container,
  .clinic-comparison-container,
  .clinic-team-container {
    padding: 0 20px;
  }
  .comparison-card,
  .clinic-team-card {
    padding: 30px 20px;
  }
}
