/* ==========================================================================
   Dr. Agrawal's Dental Clinic & Implant Centre - Main Stylesheet
   Luxury Aesthetic:
   - Primary Deep Navy: #112338 (Headers, Buttons, Accents, Topbar, Footer)
   - Warm Gold Accent: #c29548 (Stars, Eyebrows, Badges, Highlights)
   - Warm Light Ivory: #FAF7F2 (Page Body, Clean Hero, Light Sections)
   - Pure White: #ffffff (Cards, Modals, Dropdowns)
   - Typography: Libre Caslon Display (Headings), Outfit (Body/UI)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Libre+Caslon+Display&family=Outfit:wght@300;400;500;600;700&display=swap');

:root {
    --primary-navy: #112338;
    --primary-navy-dark: #0a1624;
    --primary-navy-light: #1c3554;
    --primary-gold: #c29548;
    --primary-gold-dark: #a37831;
    --primary-gold-light: #d9ad5b;
    --bg-ivory: #FAF7F2;
    --bg-white: #ffffff;
    --bg-cream-alt: #F4EEE7;
    --bg-dark: #112338;
    --bg-darker: #0a1624;
    --text-dark: #112338;
    --text-body: #334155;
    --text-muted: #64748b;
    --border-light: #e8e2d8;
    --border-subtle: #ede7de;
    --font-heading: 'Libre Caslon Display', Georgia, serif;
    --font-body: 'Outfit', sans-serif;
    --transition-smooth: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --shadow-card: 0 10px 30px rgba(17, 35, 56, 0.05);
    --shadow-hover: 0 18px 40px rgba(17, 35, 56, 0.12);
}

/* Base Resets */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    outline: none;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 300;
    line-height: 1.8;
    color: var(--text-body);
    background-color: var(--bg-ivory);
    overflow-x: hidden;
}

p {
    margin-bottom: 18px;
    font-size: 15px;
    font-weight: 300;
    line-height: 1.8;
    color: var(--text-body);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 400;
    line-height: 1.25;
    color: var(--text-dark);
    margin-bottom: 15px;
}

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

a:hover {
    color: var(--primary-gold);
}

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

ul {
    list-style: none;
}

/* Utilities & Containers */
.container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 20px;
}

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

.section-padding-top-0 {
    padding-top: 0;
}

.section-padding-bottom-0 {
    padding-bottom: 0;
}

.text-center { text-align: center; }
.text-start { text-align: start; }
.text-end { text-align: end; }

.sub-title {
    font-family: var(--font-body);
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 4px;
    color: var(--primary-gold);
    font-weight: 600;
    margin-bottom: 15px;
    display: inline-block;
}

.sub-title.border-bot-light {
    border-bottom: 1.5px solid var(--border-light);
    padding-bottom: 8px;
}

.sub-title.border-bot-dark {
    border-bottom: 1.5px solid rgba(194, 149, 72, 0.4);
    color: var(--primary-gold-light);
    padding-bottom: 8px;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 38px;
    line-height: 1.25em;
    color: var(--text-dark);
    margin-bottom: 24px;
    letter-spacing: -0.5px;
}

.section-title.whte {
    color: #ffffff;
}

.section-subtitle {
    font-family: var(--font-body);
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--primary-gold);
    margin-bottom: 10px;
    font-weight: 600;
}

/* Star Rating */
.star-rating-wrap {
    display: inline-flex;
    gap: 4px;
    color: var(--primary-gold);
    font-size: 15px;
    margin-bottom: 12px;
}

.star-rating-wrap i {
    color: var(--primary-gold);
}

/* Buttons */
.butn-light a, .butn-dark a, .btn-gold, .btn-navy {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 13px 32px;
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    border-radius: 8px;
    transition: var(--transition-smooth);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

/* Outline Navy button (DISCOVER CLINIC) */
.butn-light a {
    background: transparent;
    color: var(--primary-navy);
    border: 1.5px solid var(--primary-navy);
}

.butn-light a:hover {
    background: var(--primary-navy);
    border-color: var(--primary-navy);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(17, 35, 56, 0.18);
}

.promo-banner .butn-light a,
.testimonials-section .butn-light a {
    background: transparent;
    color: #ffffff;
    border: 1.5px solid rgba(255, 255, 255, 0.85);
}

.promo-banner .butn-light a:hover,
.testimonials-section .butn-light a:hover {
    background: var(--primary-gold);
    border-color: var(--primary-gold);
    color: #ffffff;
    box-shadow: 0 10px 25px rgba(194, 149, 72, 0.3);
}

/* Filled Navy button (BOOK CONSULTATION) */
.butn-dark a, .btn-navy {
    background: var(--primary-navy);
    color: #ffffff;
    border: 1.5px solid var(--primary-navy);
    box-shadow: 0 4px 15px rgba(17, 35, 56, 0.15);
}

.butn-dark a:hover, .btn-navy:hover {
    background: var(--primary-gold);
    border-color: var(--primary-gold);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(194, 149, 72, 0.25);
}

.btn-gold {
    background: var(--primary-navy);
    color: #ffffff;
    border: 1.5px solid var(--primary-navy);
}

.btn-gold:hover {
    background: var(--primary-gold);
    border-color: var(--primary-gold);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(194, 149, 72, 0.25);
}

.butn-dark-outline a {
    display: inline-flex;
    align-items: center;
    padding: 10px 24px;
    font-size: 13px;
    font-family: var(--font-body);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    border: 1.5px solid var(--primary-navy);
    color: var(--primary-navy);
    border-radius: 8px;
    transition: var(--transition-smooth);
}

.butn-dark-outline a:hover {
    background: var(--primary-navy);
    border-color: var(--primary-navy);
    color: #ffffff;
}

/* ==========================================================================
   Header Topbar & Navigation
   ========================================================================== */
.topbar {
    background-color: var(--primary-navy);
    color: #f1f5f9;
    font-size: 13px;
    padding: 9px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.topbar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.topbar-info {
    display: flex;
    align-items: center;
    gap: 25px;
}

.topbar-info a, .topbar-info span {
    color: #e2e8f0;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
}

.topbar-info a:hover {
    color: var(--primary-gold-light);
}

.topbar-info i {
    color: var(--primary-gold);
}

.topbar-social {
    display: flex;
    align-items: center;
    gap: 12px;
}

.topbar-social a {
    color: #e2e8f0;
    font-size: 13px;
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    transition: var(--transition-smooth);
}

.topbar-social a:hover {
    background: var(--primary-gold);
    color: #ffffff;
}

/* Navbar */
.navbar {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(250, 247, 242, 0.96);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(17, 35, 56, 0.08);
    transition: var(--transition-smooth);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 4px 25px rgba(17, 35, 56, 0.08);
}

.navbar-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
}

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

.logo-icon {
    font-size: 32px;
    color: var(--primary-gold);
    line-height: 1;
}

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

.logo-title {
    font-family: var(--font-heading);
    font-size: 26px;
    color: var(--primary-navy);
    letter-spacing: 0.2px;
    line-height: 1.1;
    display: block;
}

.logo-title span {
    color: var(--primary-gold);
}

.logo-tagline {
    font-family: var(--font-body);
    font-size: 9.5px;
    letter-spacing: 2.5px;
    color: var(--text-muted);
    text-transform: uppercase;
    margin-top: 3px;
    font-weight: 500;
}

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

.nav-item {
    position: relative;
}

.nav-link {
    font-family: var(--font-body);
    font-size: 14.5px;
    font-weight: 500;
    color: var(--primary-navy);
    padding: 8px 0;
    display: flex;
    align-items: center;
    gap: 6px;
    letter-spacing: 0.3px;
}

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

.nav-link i.fa-angle-down {
    font-size: 11px;
    transition: transform 0.2s ease;
}

.nav-item:hover .nav-link i.fa-angle-down {
    transform: rotate(180deg);
}

/* Dropdown */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: #ffffff;
    min-width: 250px;
    border-radius: 8px;
    padding: 12px 0;
    box-shadow: 0 15px 35px rgba(17, 35, 56, 0.12);
    border: 1px solid var(--border-light);
    border-top: 3px solid var(--primary-gold);
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: var(--transition-smooth);
    z-index: 1010;
}

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

.dropdown-item {
    padding: 10px 22px;
    font-size: 14px;
    color: var(--text-body);
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: var(--transition-smooth);
}

.dropdown-item:hover {
    color: var(--primary-navy);
    background: rgba(194, 149, 72, 0.09);
    padding-left: 26px;
}

.dropdown-submenu {
    position: relative;
}

.dropdown-submenu > .dropdown-menu {
    top: 0;
    left: 100%;
    margin-left: 2px;
    border-top: 1px solid var(--border-light);
    border-left: 3px solid var(--primary-gold);
}

.dropdown-submenu:hover > .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Nav Action button ("Book Appointment") */
.nav-cta {
    background: var(--primary-navy) !important;
    color: #ffffff !important;
    padding: 10px 24px !important;
    border-radius: 8px;
    font-weight: 500;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(17, 35, 56, 0.18);
    transition: var(--transition-smooth);
}

.nav-cta:hover {
    background: var(--primary-gold) !important;
    color: #ffffff !important;
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(194, 149, 72, 0.25);
}

/* Mobile Toggle */
.navbar-toggler {
    display: none;
    background: transparent;
    border: none;
    color: var(--primary-navy);
    font-size: 24px;
    cursor: pointer;
    padding: 5px;
}

/* ==========================================================================
   Hero Header Section (Light Luxury Aesthetic)
   ========================================================================== */
.hero-header {
    position: relative;
    min-height: 580px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(180deg, #FAF7F2 0%, #F5EEE6 100%);
    color: var(--text-dark);
    overflow: hidden;
    padding: 90px 20px;
}

.hero-video-bg {
    display: none;
}

.hero-fallback-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 30%, rgba(194, 149, 72, 0.08) 0%, transparent 70%);
    z-index: 1;
}

.hero-overlay {
    display: none;
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    max-width: 900px;
    padding: 20px;
}

.hero-tag {
    font-size: 13.5px;
    text-transform: uppercase;
    letter-spacing: 4.5px;
    color: var(--primary-gold);
    font-weight: 600;
    margin-bottom: 8px;
}

.hero-est {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 4px;
    color: var(--primary-gold);
    margin-bottom: 24px;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.hero-est::before,
.hero-est::after {
    content: "";
    display: inline-block;
    width: 28px;
    height: 1.5px;
    background: var(--primary-gold);
    opacity: 0.6;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 64px;
    line-height: 1.15;
    color: var(--primary-navy);
    margin-bottom: 20px;
    letter-spacing: -0.5px;
}

.hero-since {
    font-family: var(--font-heading);
    font-size: 22px;
    color: #41556b;
    margin-bottom: 34px;
    font-style: italic;
    font-weight: 400;
}

.hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    flex-wrap: wrap;
}

.sound-toggle-btn {
    display: none;
}

/* ==========================================================================
   Welcome / About Section
   ========================================================================== */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 60px;
    align-items: center;
}

.about-left-col {
    display: flex;
    flex-direction: column;
}

.rating-badge {
    display: flex;
    align-items: center;
    gap: 20px;
    background: #ffffff;
    padding: 24px 30px;
    border-radius: 8px;
    box-shadow: var(--shadow-card);
    margin-top: 30px;
    border-left: 4px solid var(--primary-gold);
    border-top: 1px solid var(--border-light);
    border-right: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
}

.rating-score {
    font-family: var(--font-heading);
    font-size: 46px;
    color: var(--primary-navy);
    line-height: 1;
    padding-right: 20px;
    border-right: 1px solid var(--border-light);
}

.rating-details p {
    margin-bottom: 4px;
    font-size: 14px;
    font-weight: 500;
    color: var(--primary-navy);
}

/* 4-Image Mosaic Grid */
.mosaic-gallery {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 24px !important;
    row-gap: 24px !important;
    column-gap: 24px !important;
}

.mosaic-item {
    border-radius: 14px !important;
    overflow: hidden !important;
    position: relative !important;
    box-shadow: 0 10px 25px rgba(17, 35, 56, 0.1) !important;
    border: 1px solid var(--border-light) !important;
    height: 220px !important;
    margin: 0 !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

.mosaic-item img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
    transition: transform 0.6s ease !important;
}

.mosaic-item:hover img {
    transform: scale(1.05) !important;
}

/* ==========================================================================
   Promo Banner (Deep Navy Parallax)
   ========================================================================== */
.promo-banner {
    position: relative;
    background: linear-gradient(135deg, rgba(14, 28, 45, 0.92) 0%, rgba(17, 35, 56, 0.94) 100%),
                url('../images/stock/unsplash-1629909613654-28e377c37b09-w1600.jpg') center/cover fixed;
    color: #ffffff;
    padding: 100px 0;
    text-align: center;
}

.promo-badge {
    display: inline-block;
    background: rgba(194, 149, 72, 0.2);
    border: 1px solid var(--primary-gold);
    color: var(--primary-gold-light);
    padding: 6px 18px;
    font-size: 12px;
    letter-spacing: 3px;
    text-transform: uppercase;
    border-radius: 50px;
    margin-bottom: 20px;
    font-weight: 500;
}

.promo-title, .promo-banner .hero-title, .promo-banner h1, .promo-banner h2 {
    font-family: var(--font-heading);
    font-size: 42px;
    color: #ffffff !important;
    margin-bottom: 18px;
}

.promo-desc, .promo-banner p {
    max-width: 650px;
    margin: 0 auto 30px auto;
    color: #cbd5e1 !important;
    font-size: 16px;
}

/* ==========================================================================
   Doctor Profiles Showcase
   ========================================================================== */
.doctor-spotlight {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.doctor-img-wrap {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(17, 35, 56, 0.12);
    border: 1px solid var(--border-light);
}

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

/* ==========================================================================
   Doctor Team Cards (About Us & Showcase)
   ========================================================================== */
.doctor-team-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.doctor-team-card {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(17, 35, 56, 0.08);
    border: 1px solid var(--border-light);
    display: flex;
    flex-direction: row;
    align-items: stretch;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.doctor-team-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(17, 35, 56, 0.12);
}

.doctor-team-img {
    flex: 0 0 44%;
    min-height: 380px;
    position: relative;
    overflow: hidden;
    background: #f1f5f9;
}

.doctor-team-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    transition: transform 0.5s ease;
}

.doctor-team-card:hover .doctor-team-img img {
    transform: scale(1.04);
}

.doctor-team-content {
    flex: 1;
    padding: 30px 25px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.doctor-team-badge {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--primary-gold);
    font-weight: 600;
    margin-bottom: 8px;
    display: block;
}

.doctor-team-name {
    font-family: var(--font-heading);
    font-size: 22px;
    color: var(--primary-navy);
    margin-bottom: 12px;
    line-height: 1.25;
}

.doctor-team-bio {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 20px;
}

.doctor-experience-tag {
    position: absolute;
    bottom: 25px;
    left: 25px;
    background: rgba(17, 35, 56, 0.94);
    backdrop-filter: blur(8px);
    border-left: 3px solid var(--primary-gold);
    padding: 14px 22px;
    color: #ffffff;
    border-radius: 6px;
}

.doctor-experience-tag span {
    display: block;
    font-family: var(--font-heading);
    font-size: 24px;
    color: var(--primary-gold);
    line-height: 1;
}

.doctor-experience-tag small {
    font-size: 12px;
    color: #cbd5e1;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* ==========================================================================
   Treatments 6-Grid Section
   ========================================================================== */
.treatments-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.treatment-card {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-card);
    border: 1px solid var(--border-light);
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
}

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

.treatment-img {
    height: 230px;
    overflow: hidden;
    position: relative;
}

.treatment-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.treatment-img.doctor-card-img img,
.doctor-portrait-img {
    object-position: center 12% !important;
}

.treatment-card:hover .treatment-img img {
    transform: scale(1.05);
}

.treatment-content {
    padding: 30px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.treatment-category {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--primary-gold);
    font-weight: 600;
    margin-bottom: 8px;
}

.treatment-name {
    font-family: var(--font-heading);
    font-size: 24px;
    color: var(--primary-navy);
    margin-bottom: 12px;
}

.treatment-content p {
    font-size: 14.5px;
    color: var(--text-body);
    margin-bottom: 22px;
    flex-grow: 1;
}

/* ==========================================================================
   Single-Sitting Fixed Teeth Feature
   ========================================================================== */
.fixed-teeth-section {
    background: #ffffff;
    padding: 80px 0;
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
}

.fixed-teeth-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 50px;
    align-items: center;
}

.video-container {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(17, 35, 56, 0.1);
    background: var(--primary-navy);
    border: 1px solid var(--border-light);
}

.video-container video, .video-container img {
    width: 100%;
    display: block;
    height: 380px;
    object-fit: cover;
}

.feature-list {
    margin: 20px 0;
}

.feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 12px;
    font-size: 15px;
    color: var(--text-body);
}

.feature-list li i {
    color: var(--primary-gold);
    margin-top: 4px;
}

/* ==========================================================================
   Why Choose Us (6 Pillars)
   ========================================================================== */
.pillars-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-top: 40px;
}

.pillar-card {
    background: #ffffff;
    padding: 35px 28px;
    border-radius: 8px;
    box-shadow: var(--shadow-card);
    border: 1px solid var(--border-light);
    transition: var(--transition-smooth);
    border-bottom: 3px solid transparent;
    position: relative;
}

.pillar-card:hover {
    transform: translateY(-6px);
    border-bottom-color: var(--primary-gold);
    border-color: var(--border-light);
    box-shadow: var(--shadow-hover);
}

.pillar-number {
    font-family: var(--font-heading);
    font-size: 24px;
    color: #cbd5e1;
    position: absolute;
    top: 25px;
    right: 25px;
}

.pillar-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(194, 149, 72, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--primary-gold);
    margin-bottom: 22px;
}

.pillar-title {
    font-family: var(--font-heading);
    font-size: 22px;
    color: var(--primary-navy);
    margin-bottom: 12px;
}

.pillar-card p {
    font-size: 14.5px;
    margin-bottom: 0;
    color: var(--text-body);
}

/* ==========================================================================
   Testimonials Slider
   ========================================================================== */
.testimonials-section {
    background: linear-gradient(135deg, rgba(14, 28, 45, 0.94) 0%, rgba(17, 35, 56, 0.96) 100%),
                url('../images/stock/unsplash-1579684385127-1ef15d508118-w1600.jpg') center/cover fixed;
    color: #ffffff;
}

.testimonial-container {
    max-width: 860px;
    margin: 0 auto;
    position: relative;
    padding: 20px 0;
}

.testimonial-slide {
    display: none;
    text-align: center;
    animation: fadeIn 0.6s ease;
}

.testimonial-slide.active {
    display: block;
}

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

.testimonial-quote {
    font-family: var(--font-body);
    font-size: 18px;
    line-height: 1.8;
    color: #f1f5f9;
    font-weight: 300;
    margin-bottom: 28px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.author-avatar {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid var(--primary-gold);
}

.author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-info h5 {
    font-family: var(--font-heading);
    font-size: 19px;
    color: #ffffff;
    margin-bottom: 2px;
}

.author-info span {
    font-size: 13px;
    color: var(--primary-gold-light);
}

.testimonial-controls {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 35px;
}

.testimonial-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.35);
    cursor: pointer;
    transition: var(--transition-smooth);
}

.testimonial-dot.active, .testimonial-dot:hover {
    background: var(--primary-gold);
    transform: scale(1.2);
}

/* ==========================================================================
   Facilities / Clinic Showcase
   ========================================================================== */
.facilities-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.facility-card {
    background: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-card);
    border: 1px solid var(--border-light);
    transition: var(--transition-smooth);
}

.facility-card:hover {
    transform: translateY(-6px);
    border-color: var(--primary-gold);
    box-shadow: var(--shadow-hover);
}

.facility-img {
    height: 220px;
    overflow: hidden;
}

.facility-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.facility-card:hover .facility-img img {
    transform: scale(1.06);
}

.facility-content {
    padding: 28px;
}

.facility-content h4 {
    font-family: var(--font-heading);
    font-size: 22px;
    color: var(--primary-navy);
    margin-bottom: 12px;
}

.facility-content p {
    font-size: 14.5px;
    margin-bottom: 0;
    color: var(--text-body);
}

/* ==========================================================================
   Blog / Articles Section
   ========================================================================== */
.blogs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.blog-card {
    background: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-card);
    border: 1px solid var(--border-light);
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-6px);
    border-color: var(--primary-gold);
    box-shadow: var(--shadow-hover);
}

.blog-img {
    height: 210px;
    overflow: hidden;
}

.blog-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog-card:hover .blog-img img {
    transform: scale(1.06);
}

.blog-content {
    padding: 26px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.blog-content h3 {
    font-family: var(--font-heading);
    font-size: 20px;
    color: var(--primary-navy);
    line-height: 1.35;
    margin-bottom: 12px;
}

.blog-content p {
    font-size: 14.5px;
    color: var(--text-body);
    margin-bottom: 20px;
    flex-grow: 1;
}

/* ==========================================================================
   FAQ Accordion Section
   ========================================================================== */
.faq-wrap {
    max-width: 950px;
    margin: 40px auto 0 auto;
}

.accordion-item {
    background: #ffffff;
    border-radius: 8px;
    margin-bottom: 15px;
    box-shadow: var(--shadow-card);
    overflow: hidden;
    border: 1px solid var(--border-light);
    transition: var(--transition-smooth);
}

.accordion-header {
    padding: 20px 25px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    user-select: none;
    transition: var(--transition-smooth);
    font-family: var(--font-heading);
    font-size: 18px;
    color: var(--primary-navy);
}

.accordion-header:hover {
    color: var(--primary-gold);
}

.accordion-header i {
    font-size: 14px;
    transition: transform 0.3s ease;
    color: var(--primary-gold);
}

.accordion-item.active .accordion-header {
    border-bottom: 1px solid var(--border-light);
    color: var(--primary-gold);
}

.accordion-item.active .accordion-header i {
    transform: rotate(180deg);
}

.accordion-body {
    padding: 0 25px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
}

.accordion-item.active .accordion-body {
    padding: 20px 25px;
    max-height: 500px;
}

.accordion-body p {
    font-size: 14.5px;
    line-height: 1.8;
    color: var(--text-body);
    margin-bottom: 0;
}

/* ==========================================================================
   Footer (Deep Navy & Warm Gold)
   ========================================================================== */
.footer {
    background: var(--primary-navy);
    color: #cbd5e1;
    padding-top: 80px;
}

.footer-top {
    padding-bottom: 60px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 1.3fr 0.9fr 1.1fr;
    gap: 40px;
}

.footer-col h3 {
    font-family: var(--font-heading);
    font-size: 22px;
    color: #ffffff;
    margin-bottom: 22px;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 35px;
    height: 2px;
    background: var(--primary-gold);
}

.footer-col p {
    color: #cbd5e1;
    font-size: 14px;
    line-height: 1.8;
}

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

.footer-links a {
    color: #cbd5e1;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition-smooth);
}

.footer-links a:hover {
    color: var(--primary-gold-light);
    padding-left: 5px;
}

.footer-social-icons {
    display: flex;
    gap: 12px;
    margin-top: 18px;
}

.footer-social-icons a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    transition: var(--transition-smooth);
}

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

.footer-bottom {
    padding: 25px 0;
    font-size: 13.5px;
    color: #94a3b8;
    background: var(--primary-navy-dark);
}

.footer-bottom-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

/* ==========================================================================
   Mobile Floating Action Bar & Scroll to Top
   ========================================================================== */
.floating-mobile-bar {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 999;
    box-shadow: 0 -2px 15px rgba(17, 35, 56, 0.2);
}

.floating-mobile-bar a {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 10px;
    font-size: 14px;
    font-weight: 500;
    color: #ffffff;
    text-align: center;
}

.floating-mobile-bar .call-btn {
    background: var(--primary-navy);
    border-right: 1px solid rgba(255, 255, 255, 0.15);
}

.floating-mobile-bar .whatsapp-btn {
    background: #25D366;
}

.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 45px;
    height: 45px;
    background: var(--primary-gold);
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(17, 35, 56, 0.25);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-smooth);
    z-index: 900;
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    background: var(--primary-navy);
    transform: translateY(-4px);
}

/* ==========================================================================
   Appointment Booking Modal
   ========================================================================== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(17, 35, 56, 0.7);
    backdrop-filter: blur(6px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-smooth);
    padding: 20px;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-card {
    background: #ffffff;
    border-radius: 12px;
    width: 100%;
    max-width: 600px;
    padding: 35px;
    position: relative;
    box-shadow: 0 25px 50px rgba(17, 35, 56, 0.25);
    border: 1px solid var(--border-light);
    max-height: 90vh;
    overflow-y: auto;
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

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

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: transparent;
    border: none;
    font-size: 20px;
    color: var(--text-muted);
    cursor: pointer;
    transition: var(--transition-smooth);
}

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

.modal-card h3 {
    font-family: var(--font-heading);
    font-size: 28px;
    color: var(--primary-navy);
    margin-bottom: 8px;
}

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

.form-group label {
    display: block;
    font-size: 13.5px;
    font-weight: 500;
    margin-bottom: 6px;
    color: var(--primary-navy);
}

.form-control {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #dcd3d0;
    border-radius: 6px;
    font-family: var(--font-body);
    font-size: 14.5px;
    background: #fdfdfd;
    color: var(--text-dark);
    transition: var(--transition-smooth);
}

.form-control:focus {
    border-color: var(--primary-gold);
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(194, 149, 72, 0.15);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

/* Toast alert */
.toast-notice {
    position: fixed;
    top: 25px;
    right: 25px;
    background: var(--primary-navy);
    color: #ffffff;
    padding: 16px 24px;
    border-radius: 8px;
    border-left: 4px solid var(--primary-gold);
    box-shadow: 0 10px 30px rgba(17, 35, 56, 0.3);
    z-index: 3000;
    transform: translateX(120%);
    transition: transform 0.4s ease;
    display: flex;
    align-items: center;
    gap: 12px;
}

.toast-notice.show {
    transform: translateX(0);
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1024px) {
    .treatments-grid, .pillars-grid, .facilities-grid, .blogs-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .hero-title {
        font-size: 52px;
    }
    
    .about-grid, .doctor-spotlight, .fixed-teeth-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .navbar-toggler {
        display: block;
    }
    
    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #FAF7F2;
        border-bottom: 2px solid var(--primary-gold);
        flex-direction: column;
        align-items: flex-start;
        padding: 20px 25px;
        gap: 15px;
        box-shadow: 0 20px 40px rgba(17, 35, 56, 0.15);
        display: none;
    }
    
    .nav-menu.open {
        display: flex;
    }
    
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border-top: none;
        padding-left: 15px;
        background: transparent;
        display: none;
    }
    
    .nav-item.open > .dropdown-menu {
        display: block;
    }
    
    .treatments-grid, .pillars-grid, .facilities-grid, .blogs-grid, .mosaic-gallery, .doctor-team-grid {
        grid-template-columns: 1fr;
    }
    
    .doctor-team-card {
        flex-direction: row;
    }

    @media (max-width: 600px) {
        .doctor-team-card {
            flex-direction: column;
        }
        .doctor-team-img {
            min-height: 320px;
            height: 320px;
            flex: none;
        }
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-title {
        font-size: 38px;
    }
    
    .hero-header {
        padding: 60px 15px;
        min-height: auto;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .floating-mobile-bar {
        display: flex;
    }
    
    .topbar {
        display: none;
    }
    
    body {
        padding-bottom: 50px;
    }

    .logo-title {
        font-size: 20px;
    }

    .logo-tagline {
        font-size: 8.5px;
        letter-spacing: 2px;
    }
}

@media (max-width: 480px) {
    .logo-title {
        font-size: 18px;
    }

    .logo-tagline {
        font-size: 7.5px;
        letter-spacing: 1.5px;
    }
}

/* ==========================================================================
   Folder-Based Gallery & Lightbox Styles
   ========================================================================== */
.gallery-section-header {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 40px auto;
}

.gallery-filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-bottom: 40px;
}

.gallery-filter-btn {
    padding: 10px 22px;
    border-radius: 30px;
    background: #ffffff;
    border: 1px solid var(--border-light);
    color: var(--primary-navy);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition-smooth);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.gallery-filter-btn:hover {
    border-color: var(--primary-gold);
    color: var(--primary-gold);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(194, 149, 72, 0.15);
}

.gallery-filter-btn.active {
    background: var(--primary-navy);
    color: #ffffff;
    border-color: var(--primary-navy);
}

.gallery-filter-btn.active i {
    color: var(--primary-gold);
}

/* Folders Grid View */
.gallery-folders-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.folder-card {
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(11, 27, 43, 0.08);
    border: 1px solid var(--border-light);
    transition: all 0.4s cubic-bezier(0.2, 0, 0.2, 1);
    cursor: pointer;
    display: flex;
    flex-direction: column;
    position: relative;
}

.folder-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-gold);
    box-shadow: 0 20px 40px rgba(11, 27, 43, 0.15), 0 0 0 1px rgba(194, 149, 72, 0.3);
}

/* Carousel Image Area */
.folder-preview-wrap {
    position: relative;
    height: 260px;
    background: #0b1b2b;
    overflow: hidden;
}

.carousel-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1s ease-in-out, transform 6s ease;
    transform: scale(1.05);
}

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

.folder-card:hover .carousel-slide.active {
    transform: scale(1.06);
}

/* Carousel Dot Indicators */
.carousel-dots {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 6px;
    z-index: 5;
}

.carousel-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.5);
    transition: all 0.4s ease;
}

.carousel-dot.active {
    background: var(--primary-gold);
    border-color: var(--primary-gold);
    transform: scale(1.3);
    box-shadow: 0 0 8px rgba(194, 149, 72, 0.6);
}

/* Photo count badge */
.folder-stack-indicator {
    position: absolute;
    top: 14px;
    right: 14px;
    background: rgba(11, 27, 43, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: #ffffff;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
    border: 1px solid rgba(194, 149, 72, 0.4);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    z-index: 5;
}

.folder-stack-indicator i {
    color: var(--primary-gold);
}

/* Minimal folder content — just name */
.folder-content-minimal {
    padding: 18px 22px 16px 22px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.folder-icon-inline {
    width: 38px;
    height: 38px;
    min-width: 38px;
    background: linear-gradient(135deg, var(--primary-gold), #d4a856);
    color: #ffffff;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    box-shadow: 0 4px 12px rgba(194, 149, 72, 0.35);
    transition: transform 0.3s ease;
}

.folder-card:hover .folder-icon-inline {
    transform: rotate(-6deg) scale(1.1);
}

.folder-title-minimal {
    font-family: var(--font-heading);
    font-size: 17px;
    color: var(--primary-navy);
    line-height: 1.3;
    flex-grow: 1;
    margin: 0;
}

.folder-open-hint {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 600;
    color: #b0b8c0;
    white-space: nowrap;
    transition: color 0.3s ease;
}

.folder-card:hover .folder-open-hint {
    color: var(--primary-gold);
}

.folder-open-hint i {
    transition: transform 0.3s ease;
}

.folder-card:hover .folder-open-hint i {
    transform: translateX(4px);
}

/* ==========================================================================
   Opened Folder View (Inside Folder)
   ========================================================================== */
.folder-detail-view {
    display: none;
    animation: fadeInSlide 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.folder-detail-view.active {
    display: block;
}

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

.folder-nav-header {
    background: #ffffff;
    border: 1px solid var(--border-light);
    border-radius: 12px;
    padding: 24px 30px;
    margin-bottom: 35px;
    box-shadow: var(--shadow-card);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.folder-nav-left {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.btn-back-folders {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: var(--primary-navy);
    color: #ffffff;
    border-radius: 30px;
    font-size: 13.5px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.btn-back-folders:hover {
    background: var(--primary-gold);
    transform: translateX(-3px);
    box-shadow: 0 4px 12px rgba(194, 149, 72, 0.3);
}

.folder-nav-info h2 {
    font-family: var(--font-heading);
    font-size: 24px;
    color: var(--primary-navy);
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.folder-nav-info p {
    font-size: 14px;
    color: var(--text-body);
    margin: 0;
}

.folder-nav-count {
    padding: 8px 18px;
    background: #fdf8ed;
    border: 1px solid var(--primary-gold);
    color: var(--primary-gold);
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
}

/* Grid of Images Inside Opened Folder */
.folder-images-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.gallery-photo-card {
    background: #ffffff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow-card);
    border: 1px solid var(--border-light);
    cursor: pointer;
    position: relative;
    group: relative;
    transition: var(--transition-smooth);
}

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

.photo-img-wrap {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.photo-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-photo-card:hover .photo-img-wrap img {
    transform: scale(1.08);
}

.photo-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(11, 27, 43, 0.85) 0%, rgba(11, 27, 43, 0.2) 60%, transparent 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 20px;
}

.gallery-photo-card:hover .photo-overlay {
    opacity: 1;
}

.photo-zoom-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.7);
    width: 48px;
    height: 48px;
    background: rgba(194, 149, 72, 0.95);
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.gallery-photo-card:hover .photo-zoom-icon {
    transform: translate(-50%, -50%) scale(1);
}

.photo-info {
    padding: 16px 20px;
    background: #ffffff;
}

.photo-title {
    font-family: var(--font-heading);
    font-size: 16px;
    color: var(--primary-navy);
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.photo-caption {
    font-size: 12.5px;
    color: #666666;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ==========================================================================
   Full Screen Lightbox Modal
   ========================================================================== */
.gallery-lightbox {
    position: fixed;
    inset: 0;
    background: rgba(10, 18, 28, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 99999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 30px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.lightbox-content {
    max-width: 1000px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.lightbox-img-container {
    max-width: 100%;
    max-height: 75vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(194, 149, 72, 0.3);
}

.lightbox-img {
    max-width: 100%;
    max-height: 75vh;
    object-fit: contain;
    border-radius: 6px;
    user-select: none;
    transition: transform 0.25s ease;
}

.lightbox-caption-bar {
    width: 100%;
    margin-top: 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.08);
    padding: 12px 20px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    flex-wrap: wrap;
    gap: 10px;
}

.lightbox-title {
    font-family: var(--font-heading);
    font-size: 18px;
    color: #ffffff;
    margin: 0;
}

.lightbox-desc {
    font-size: 13px;
    color: #d1d5db;
    margin: 2px 0 0 0;
}

.lightbox-counter {
    font-size: 13px;
    color: var(--primary-gold);
    font-weight: 600;
    background: rgba(194, 149, 72, 0.15);
    padding: 4px 12px;
    border-radius: 15px;
    border: 1px solid rgba(194, 149, 72, 0.4);
}

.lightbox-btn-close {
    position: absolute;
    top: -50px;
    right: 0;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #ffffff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.lightbox-btn-close:hover {
    background: #e74c3c;
    border-color: #e74c3c;
    transform: rotate(90deg);
}

.lightbox-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(11, 27, 43, 0.7);
    border: 1px solid rgba(194, 149, 72, 0.5);
    color: #ffffff;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s ease;
    z-index: 10;
}

.lightbox-nav-btn:hover {
    background: var(--primary-gold);
    color: #ffffff;
    transform: translateY(-50%) scale(1.1);
}

.lightbox-prev {
    left: -70px;
}

.lightbox-next {
    right: -70px;
}

@media (max-width: 991px) {
    .gallery-folders-grid,
    .folder-images-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .lightbox-prev {
        left: 10px;
    }
    .lightbox-next {
        right: 10px;
    }
}

@media (max-width: 600px) {
    .gallery-folders-grid,
    .folder-images-grid {
        grid-template-columns: 1fr;
    }
    .folder-nav-header {
        padding: 18px 20px;
    }
    .lightbox-content {
        padding: 10px;
    }
    .lightbox-btn-close {
        top: -40px;
        right: 10px;
    }
}

/* ==========================================================================
   Header refresh: calmer top bar, logo mark, underline navigation, pill CTA
   ========================================================================== */
.topbar {
    padding: 7px 0;
    border-bottom: 1px solid rgba(194, 149, 72, 0.25);
}

.topbar-info {
    gap: 0;
}

.topbar-info a,
.topbar-info span {
    position: relative;
    padding: 0 18px;
    font-size: 12.5px;
    color: #cbd5e1;
}

.topbar-info > *:first-child {
    padding-left: 0;
}

/* thin dividers between the contact details */
.topbar-info > * + *::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 1px;
    height: 12px;
    background: rgba(255, 255, 255, 0.18);
    transform: translateY(-50%);
}

.topbar-info i,
.topbar-hours i {
    color: var(--primary-gold);
    font-size: 12px;
}

.topbar-social {
    gap: 18px;
}

.topbar-hours {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12.5px;
    color: #cbd5e1;
}

.topbar-social a.topbar-whatsapp {
    width: auto;
    height: auto;
    gap: 6px;
    padding: 4px 12px;
    border-radius: 999px;
    border: 1px solid rgba(37, 211, 102, 0.35);
    background: rgba(37, 211, 102, 0.12);
    color: #e2f7ea;
    font-size: 12.5px;
    font-weight: 500;
}

.topbar-social a.topbar-whatsapp i {
    color: #25d366;
    font-size: 14px;
}

.topbar-social a.topbar-whatsapp:hover {
    background: #25d366;
    border-color: #25d366;
    color: #ffffff;
}

.topbar-social a.topbar-whatsapp:hover i {
    color: #ffffff;
}

/* Logo: white tooth on the gold gradient used by the app icon and login page */
.logo-mark {
    width: 46px;
    height: 46px;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 13px;
    background: linear-gradient(135deg, var(--primary-gold), var(--primary-gold-light));
    color: #ffffff;
    font-size: 21px;
    box-shadow: 0 6px 16px rgba(194, 149, 72, 0.28);
}

/* Navigation: gold underline slides in on hover and marks the current page */
.nav-menu {
    gap: 30px;
}

.nav-link {
    position: relative;
}

.nav-link:not(.nav-cta)::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 2px;
    height: 2px;
    border-radius: 2px;
    background: var(--primary-gold);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.25s ease;
}

.nav-link:not(.nav-cta):hover::after,
.nav-link.active::after {
    transform: scaleX(1);
}

/* Current page: navy text + gold underline (gold text on ivory is hard to read) */
.nav-link.active {
    color: var(--primary-navy);
}

/* Book Appointment: rounded pill with a calendar icon */
.nav-cta {
    gap: 8px;
    padding: 11px 22px !important;
    border-radius: 999px;
}

.nav-cta i {
    color: var(--primary-gold-light);
    font-size: 13px;
}

.nav-cta:hover i {
    color: #ffffff;
}

/* Treatments sub-menus open to the right, which runs off-screen below ~1280px wide: open them leftwards instead */
@media (min-width: 769px) and (max-width: 1280px) {
    .dropdown-submenu > .dropdown-menu {
        left: auto;
        right: 100%;
        margin-left: 0;
        margin-right: 2px;
        border-left: 1px solid var(--border-light);
        border-right: 3px solid var(--primary-gold);
    }
}

/* Small laptops / tablets in landscape: keep logo and menu on one line */
@media (min-width: 769px) and (max-width: 1100px) {
    .nav-menu {
        gap: 18px;
    }
    .logo-title {
        font-size: 22px;
        white-space: nowrap;
    }
    .nav-cta {
        padding: 10px 16px !important;
        white-space: nowrap;
    }
}

@media (min-width: 769px) and (max-width: 1000px) {
    .nav-cta i {
        display: none;
    }
    .logo-tagline {
        letter-spacing: 1.5px;
    }
}

/* Narrow tablets / small windows, just above the phone menu (769-900px): the full menu needs ~870px,
   so drop the "Home" link (the logo already goes home) and tighten spacing */
@media (min-width: 769px) and (max-width: 900px) {
    .nav-menu {
        gap: 12px;
    }
    .nav-menu > .nav-item:first-child {
        display: none;
    }
    .logo-wrapper {
        gap: 10px;
    }
    .logo-mark {
        width: 40px;
        height: 40px;
        border-radius: 11px;
        font-size: 18px;
    }
    .logo-title {
        font-size: 19px;
    }
    .logo-tagline {
        font-size: 8.5px;
        letter-spacing: 1px;
    }
    .nav-cta {
        padding: 9px 12px !important;
    }
}

/* Tablets: not enough room for every contact detail on one line; the email is in the footer and on Contact */
@media (min-width: 601px) and (max-width: 900px) {
    .topbar-info a[href^="mailto:"] {
        display: none;
    }
}

@media (max-width: 1024px) {
    /* keep the top bar on one line on smaller laptops and tablets */
    .topbar-hours {
        display: none;
    }
}

@media (max-width: 768px) {
    /* Phone menu: no underline animation; current page shown in gold as before */
    .nav-link:not(.nav-cta)::after {
        display: none;
    }
    .nav-link.active {
        color: var(--primary-gold);
    }
    .logo-mark {
        width: 40px;
        height: 40px;
        border-radius: 11px;
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    .logo-mark {
        width: 36px;
        height: 36px;
        border-radius: 10px;
        font-size: 16px;
    }
}

/* ==========================================================================
   Mobile usability fixes
   ========================================================================== */

/* Booking form close button: same look, but a 44x44 tap area (was 12x23) */
.modal-close {
    top: 10px;
    right: 10px;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

@media (max-width: 768px) {
    /* iPhones zoom into any form field whose text is smaller than 16px. Keeping fields at 16px
       lets pinch-to-zoom stay enabled (the page no longer sets maximum-scale=1). */
    input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]),
    select,
    textarea {
        font-size: 16px !important;
    }

    /* Menu button: 44x44 tap area */
    .navbar-toggler {
        min-width: 44px;
        min-height: 44px;
        padding: 6px 8px;
    }

    /* Footer links: taller tap areas, same visual spacing */
    .footer-links li {
        margin-bottom: 0;
    }
    .footer-links a {
        padding: 10px 0;
    }
}

@media (max-width: 480px) {
    /* Logo tagline was 7.5px: too small to read */
    .logo-tagline {
        font-size: 9.5px;
        letter-spacing: 0.8px;
    }
}
