/* ==========================================================================
   Dr. Satvik Patel - Premium Orthopedic & Robotic Joint Surgery Design System
   Cross-Browser & Fully Responsive System (iPhone, Android, Tablets, Desktops)
   Compatible with Safari (iOS/macOS), Chrome, Firefox, Edge, Samsung Internet
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,400;0,500;0,600;0,700;1,400&family=Roboto:ital,wght@0,300;0,400;0,500;0,700;1,400&display=swap');

:root {
    /* Brand Palette */
    --navy: #0B2545;
    --navy-dark: #06172E;
    --navy-light: #0F325E;
    --primary: #0B2545;
    --primary-dark: #06172E;
    --primary-light: #F1F5F9;
    --accent: #DC2626;
    --accent-yellow: #D4AF37;
    --accent-gold: #D4AF37;
    --accent-light: #FFFBF0;
    --emergency-purple: #310297;
    --alert-red: #DC2626;
    --alert-red-bright: #FF0000;
    --whatsapp-green: #25D366;
    --whatsapp-dark: #019337;
    --text-dark: #000000;
    --text-body: #222222;
    --text-muted: #555555;
    --bg-page: #FFFFFF;
    --bg-alt: #F8FAFC;
    --bg-card: #FFFFFF;
    --border-color: #E2E8F0;
    --border-gold: rgba(212, 175, 55, 0.35);

    /* Shadows & Radii */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 6px 20px rgba(11, 37, 69, 0.1);
    --shadow-lg: 0 16px 48px rgba(11, 37, 69, 0.15);
    --shadow-gold: 0 12px 32px rgba(212, 175, 55, 0.25);
    --radius-sm: 6px;
    --radius: 12px;
    --radius-lg: 18px;

    /* Typography */
    --serif: 'Poppins', 'Roboto', sans-serif;
    --sans: 'Roboto', 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    --transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);

    /* Safe Area Insets for iPhone X/11/12/13/14/15/16 and Modern Mobile Screens */
    --sat: env(safe-area-inset-top, 0px);
    --sar: env(safe-area-inset-right, 0px);
    --sab: env(safe-area-inset-bottom, 0px);
    --sal: env(safe-area-inset-left, 0px);
}

/* ── Universal Reset & Cross-Browser Normalization ─────────── */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

html {
    scroll-behavior: smooth;
    text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%;
    -moz-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
    font-size: 16px;
}

body {
    font-family: var(--sans);
    color: var(--text-body);
    background-color: var(--bg-page);
    line-height: 1.7;
    font-size: 0.95rem;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
    width: 100%;
    min-width: 320px;
    position: relative;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--serif);
    color: var(--navy);
    line-height: 1.25;
    font-weight: 700;
    word-break: break-word;
    overflow-wrap: break-word;
}

img,
picture,
video,
canvas,
svg {
    display: block;
    max-width: 100%;
    height: auto;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
    touch-action: manipulation;
}

button,
input,
select,
textarea {
    font: inherit;
    color: inherit;
    touch-action: manipulation;
}

/* Eliminate iOS Safari automatic zoom on inputs by ensuring >=16px font-size */
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
input[type="password"],
input[type="search"],
select,
textarea {
    font-size: 1rem;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.wrap {
    width: 100%;
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

@media (max-width: 480px) {
    .wrap {
        padding: 0 1rem;
    }
}

/* ── Common Section Headers ───────────────────────── */
.section-header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 3rem auto;
    padding: 0 0.5rem;
}

.section-label {
    display: inline-block;
    color: var(--accent);
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    margin-bottom: 0.6rem;
}

.section-title {
    font-size: clamp(1.65rem, 3.2vw, 2.5rem);
    color: var(--navy);
    font-weight: 700;
    margin-bottom: 0.8rem;
    line-height: 1.22;
}

.section-desc {
    color: var(--text-muted);
    font-size: clamp(0.9rem, 1.2vw, 1.02rem);
    line-height: 1.65;
}

.section-divider {
    width: 48px;
    height: 3px;
    background: var(--accent);
    border-radius: 2px;
    margin: 0.8rem auto 1.2rem auto;
}

/* ── Top Bar & Cross-Browser Ticker ───────────────── */
.top-bar {
    background-color: var(--navy-dark);
    color: rgba(255, 255, 255, 0.85);
    padding: 0.55rem 0;
    font-size: 0.82rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    position: relative;
    z-index: 1001;
}

.top-bar .wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.top-bar-left {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.8rem;
    flex-shrink: 0;
}

.top-bar-left span {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.top-bar-marquee {
    flex: 1;
    min-width: 200px;
    overflow: hidden;
    white-space: nowrap;
    color: var(--accent-gold);
    font-weight: 500;
    font-size: 0.82rem;
    position: relative;
}

.top-bar-marquee marquee {
    vertical-align: middle;
}

.top-bar-right {
    display: flex;
    gap: 1.2rem;
    align-items: center;
    flex-shrink: 0;
}

.top-bar a {
    color: rgba(255, 255, 255, 0.85);
    transition: var(--transition);
}

.top-bar a:hover {
    color: var(--accent-gold);
}

/* ── Sticky Header & Responsive Navigation ──────────── */
.main-header {
    background-color: var(--bg-card);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
    transition: box-shadow 0.3s ease, background-color 0.3s ease;
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.85rem 2.25rem 0.85rem 1.85rem;
    gap: 1.25rem;
    position: relative;
    width: 100%;
    max-width: 1320px;
    margin: 0 auto;
    box-sizing: border-box;
}

.logo {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    flex-shrink: 0;
    min-width: max-content;
}

.logo-name {
    font-family: var(--serif);
    font-size: clamp(1.15rem, 2.2vw, 1.3rem);
    font-weight: 700;
    color: var(--navy);
    line-height: 1.15;
    letter-spacing: -0.01em;
    white-space: nowrap;
}

.logo-sub {
    font-size: 0.72rem;
    color: var(--primary);
    font-weight: 600;
    letter-spacing: 0.015em;
    text-transform: uppercase;
    margin-top: 2px;
    white-space: nowrap;
    display: block;
}

.logo-sub-short {
    display: none;
}

.logo-sub-full {
    display: inline;
}

nav {
    display: flex;
    align-items: center;
    gap: clamp(0.4rem, 0.75vw, 0.85rem);
    margin-left: auto;
    margin-right: 0.25rem;
    transition: all 0.3s ease;
}

.nav-link {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.86rem;
    position: relative;
    padding: 0.35rem 0.25rem;
    transition: var(--transition);
    white-space: nowrap;
}

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

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--primary);
    border-radius: 2px;
}

/* ── Dropdown & Mega Menu Navigation ───────────────────── */
.nav-dropdown {
    position: relative;
    display: inline-block;
}

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

.dropdown-arrow {
    font-size: 0.72rem;
    transition: transform 0.3s ease;
    display: inline-block;
}

.nav-dropdown:hover .dropdown-arrow,
.nav-dropdown.open .dropdown-arrow {
    transform: rotate(180deg);
}

.nav-dropdown {
    position: relative;
    display: inline-block;
    padding-bottom: 0.4rem;
    margin-bottom: -0.4rem;
}

.nav-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background-color: #FFFFFF;
    border: 1px solid var(--border-color);
    border-top: 3px solid var(--navy);
    border-radius: var(--radius);
    box-shadow: 0 16px 48px rgba(11, 37, 69, 0.18);
    padding: 1.25rem;
    display: grid;
    grid-template-columns: repeat(3, 280px);
    gap: 1.25rem;
    z-index: 1050;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
    margin-top: 4px;
}

.nav-dropdown-menu::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%) rotate(45deg);
    width: 14px;
    height: 14px;
    background: #FFFFFF;
    border-left: 1px solid var(--border-color);
    border-top: 3px solid var(--navy);
    z-index: 1;
}

/* Invisible Hover Bridge to prevent dropdown from closing when moving mouse */
.nav-dropdown-menu::after {
    content: '';
    position: absolute;
    top: -24px;
    left: 0;
    width: 100%;
    height: 28px;
    background: transparent;
    z-index: 2;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu,
.nav-dropdown.open .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}

.dropdown-column {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.dropdown-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding-bottom: 0.6rem;
    margin-bottom: 0.4rem;
    border-bottom: 1px solid var(--border-color);
}

.dropdown-header-icon {
    font-size: 1.1rem;
}

.dropdown-header-title {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--navy);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.dropdown-item {
    display: flex;
    flex-direction: column;
    padding: 0.55rem 0.7rem;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    text-decoration: none;
}

.dropdown-item:hover {
    background-color: var(--bg-alt);
    transform: translateX(4px);
}

.dropdown-item .item-title {
    font-size: 0.86rem;
    font-weight: 600;
    color: var(--navy);
    line-height: 1.3;
}

.dropdown-item:hover .item-title {
    color: var(--accent);
}

.dropdown-item .item-desc {
    font-size: 0.75rem;
    color: var(--text-muted);
    line-height: 1.3;
    margin-top: 2px;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    flex-shrink: 0;
    margin-left: 0.5rem;
    margin-right: 1.5rem;
}

.btn-header-cta {
    background: var(--whatsapp-green);
    color: #FFFFFF !important;
    padding: 0.45rem 0.8rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.83rem;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    white-space: nowrap;
    transition: var(--transition);
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.25);
    flex-shrink: 0;
}

.btn-header-cta:hover {
    background: var(--whatsapp-dark);
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(37, 211, 102, 0.35);
}

.mobile-toggle {
    display: none;
    background: #FFFFFF;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    width: 42px;
    height: 42px;
    font-size: 1.35rem;
    color: var(--navy);
    cursor: pointer;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    flex-shrink: 0;
    user-select: none;
}

.mobile-toggle:hover,
.mobile-toggle:focus {
    background: var(--bg-alt);
    border-color: var(--primary);
}

/* ── Hero Section & Slider ────────────────────────── */
.hero-section {
    background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 100%);
    color: #FFFFFF;
    padding: clamp(3.5rem, 6vw, 5.5rem) 0;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 75% 40%, rgba(212, 175, 55, 0.12) 0%, transparent 70%);
    pointer-events: none;
}

.hero-slider-wrap {
    position: relative;
    overflow: hidden;
}

.hero-slide {
    display: none;
    opacity: 0;
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-slide.active {
    display: block;
    opacity: 1;
}

.hero-cover-img {
    border-radius: var(--radius-lg);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
    max-height: 440px;
    width: 100%;
    object-fit: cover;
    border: 3px solid rgba(212, 175, 55, 0.4);
}

.slider-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    position: absolute;
    bottom: 18px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

.slider-dots .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.35);
    border: 2px solid rgba(212, 175, 55, 0.6);
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-dots .dot.active,
.slider-dots .dot:hover {
    background: var(--accent-gold);
    width: 30px;
    border-radius: 10px;
}

.hero-container {
    display: flex;
    position: relative;
    z-index: 1;
}

@media (max-width: 992px) {
    .hero-container {
        display: flex !important;
        flex-direction: column !important;
        gap: 1.5rem !important;
    }

    .hero-portrait-card {
        width: 100% !important;
        max-width: 520px !important;
        margin: 0.5rem auto !important;
    }

    .hero-content-col {
        width: 100% !important;
    }
}

@media (min-width: 993px) {
    .hero-container {
        flex-direction: row-reverse;
        align-items: center;
        gap: 3rem;
    }

    .hero-content-col {
        flex: 1.15;
    }

    .hero-portrait-card {
        flex: 0.85;
        margin: 0;
    }
}

.hero-tag {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--accent-gold);
    background: rgba(200, 164, 92, 0.12);
    border: 1px solid rgba(200, 164, 92, 0.3);
    padding: 0.45rem 1rem;
    border-radius: 20px;
    margin-bottom: 1.2rem;
    max-width: 100%;
    overflow-wrap: break-word;
}

.hero h1,
.hero-section h1 {
    font-size: clamp(1.85rem, 4vw, 3.3rem);
    color: #D4AF37;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.1rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
}

.hero-sub {
    font-size: clamp(0.92rem, 1.4vw, 1.05rem);
    color: rgba(255, 255, 255, 0.88);
    margin-bottom: 1.8rem;
    max-width: 580px;
    line-height: 1.7;
}

/* ── Hero Key Takeaway Feature Badges (UI/UX Enhanced) ─── */
.hero-pills-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin: 1.2rem 0 1.8rem 0;
}

.hero-pill-item {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    background: rgba(255, 255, 255, 0.08);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(212, 175, 55, 0.38);
    padding: 0.45rem 0.95rem;
    border-radius: 50px;
    font-size: 0.86rem;
    font-weight: 600;
    color: #FFFFFF;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
    transition: all 0.25s ease;
}

.hero-pill-item:hover {
    background: rgba(212, 175, 55, 0.16);
    border-color: #D4AF37;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(212, 175, 55, 0.28);
}

.hero-pill-item .check {
    width: 20px;
    height: 20px;
    background: linear-gradient(135deg, #D4AF37, #F5D77F);
    color: #0B2545;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.72rem;
    font-weight: 900;
    flex-shrink: 0;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
}

.hero-btns {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    align-items: center;
}

.btn-hero-primary {
    background: var(--whatsapp-green);
    color: #FFFFFF;
    padding: 0.85rem 1.8rem;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.3);
    transition: var(--transition);
    text-align: center;
}

.btn-hero-primary:hover {
    background: var(--whatsapp-dark);
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(37, 211, 102, 0.4);
}

.btn-hero-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: #FFFFFF;
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 0.85rem 1.6rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: var(--transition);
    text-align: center;
}

.btn-hero-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.6);
}

/* Hero Portrait Card */
.hero-portrait-card {
    background: var(--bg-card);
    border-radius: var(--radius);
    padding: 1.25rem;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(255, 255, 255, 0.2);
    text-align: center;
    color: var(--text-dark);
}

.hero-portrait-img {
    width: 100%;
    height: 330px;
    object-fit: cover;
    object-position: top center;
    border-radius: 10px;
    margin-bottom: 1rem;
}

.hero-portrait-card h3 {
    font-size: 1.35rem;
    color: var(--navy);
    margin-bottom: 0.25rem;
}

.hero-portrait-card p {
    font-size: 0.85rem;
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 1rem;
}

.hero-stats-badge-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.6rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
}

.hero-stat-box {
    background: var(--bg-alt);
    padding: 0.65rem 0.4rem;
    border-radius: 8px;
}

.hero-stat-box h4 {
    font-size: 1.15rem;
    color: var(--navy);
    font-weight: 700;
}

.hero-stat-box p {
    font-size: 0.72rem;
    color: var(--text-muted);
    font-weight: 500;
    margin-bottom: 0;
}

/* ── Stats Bar ─────────────────────────────────────── */
.stats-bar {
    background: var(--bg-card);
    border-bottom: 1px solid var(--border-color);
    padding: 2.2rem 0;
}

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

.stat-card {
    padding: 0.5rem 1rem;
    position: relative;
}

.stat-card+.stat-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 15%;
    height: 70%;
    width: 1px;
    background: var(--border-color);
}

.stat-num {
    font-family: var(--serif);
    font-size: clamp(1.8rem, 3.2vw, 2.5rem);
    font-weight: 700;
    color: var(--primary-dark);
    line-height: 1.1;
}

.stat-label {
    font-size: 0.82rem;
    color: var(--text-muted);
    margin-top: 0.4rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* ── Section Base Styling ─────────────────────────── */
.section {
    padding: clamp(3rem, 5vw, 5rem) 0;
}

.section-alt {
    background-color: var(--bg-alt);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

/* ── About Section ─────────────────────────────────── */
.about-grid {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 3.5rem;
    align-items: center;
}

.about-img-frame {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 3px solid var(--bg-card);
}

.about-img-frame img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    object-position: top center;
}

.about-badge {
    position: absolute;
    bottom: 15px;
    left: 15px;
    right: 15px;
    background: rgba(27, 46, 64, 0.92);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    color: #FFFFFF;
    padding: 0.8rem 1rem;
    border-radius: 8px;
    font-size: 0.82rem;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.about-content h3 {
    font-size: clamp(1.4rem, 2.5vw, 1.8rem);
    color: var(--navy);
    margin-bottom: 1rem;
    line-height: 1.3;
}

.about-content p {
    color: var(--text-body);
    font-size: 0.96rem;
    margin-bottom: 1.4rem;
}

.qual-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.8rem;
    margin-bottom: 2rem;
    list-style: none;
}

.qual-grid li {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 0.75rem 1rem;
    border-radius: 8px;
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--navy);
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.qual-icon {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--primary-light);
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
    flex-shrink: 0;
}

.pledge-box {
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%);
    color: #FFFFFF;
    padding: 2.2rem 2.5rem;
    border-radius: var(--radius);
    margin-top: 3.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    border: 1px solid var(--border-gold);
    box-shadow: var(--shadow-md);
}

.pledge-text p {
    font-family: var(--serif);
    font-size: clamp(1rem, 1.5vw, 1.18rem);
    font-style: italic;
    color: rgba(255, 255, 255, 0.92);
    line-height: 1.6;
}

.pledge-author {
    text-align: right;
    white-space: nowrap;
}

.pledge-author h5 {
    font-size: 1.15rem;
    color: var(--accent-gold);
}

.pledge-author p {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
}

/* ── 3D Robotic Technology Showcase ───────────────── */
.robotic-tech-section {
    background: linear-gradient(135deg, #FCFBF9 0%, #F8F6F2 100%);
    position: relative;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.robotic-tech-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 3.5rem;
    align-items: center;
}

.robotic-card {
    background: var(--bg-card);
    border-radius: var(--radius);
    padding: 2rem;
    border: 1px solid var(--border-gold);
    box-shadow: var(--shadow-gold);
}

.robotic-card h3 {
    font-size: clamp(1.25rem, 2vw, 1.45rem);
    color: var(--navy);
    margin-bottom: 0.6rem;
}

.robotic-badge {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--accent);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 0.8rem;
}

.robotic-metrics-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin: 1.5rem 0;
}

.metric-item {
    background: var(--accent-light);
    padding: 1rem 0.8rem;
    border-radius: 8px;
    text-align: center;
    border: 1px solid rgba(200, 164, 92, 0.2);
}

.metric-num {
    font-family: var(--serif);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--navy);
}

.metric-lbl {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 600;
    margin-top: 0.2rem;
}

.robotic-benefits-list {
    list-style: none;
    margin: 1.5rem 0;
}

.robotic-benefits-list li {
    padding: 0.6rem 0 0.6rem 2.2rem;
    position: relative;
    font-size: 0.95rem;
    color: var(--text-body);
}

.robotic-benefits-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0.6rem;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--accent-gold);
    color: #FFFFFF;
    font-size: 0.72rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.robotic-visual-frame {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 2px solid var(--border-color);
}

.robotic-visual-frame img {
    width: 100%;
    height: 380px;
    object-fit: cover;
}

/* ── Clinical Specialties Grid ─────────────────────── */
.specialties-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
    gap: 2rem;
}

.specialty-card,
.card-spec {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 2.2rem 1.8rem;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.specialty-card::before,
.card-spec::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.specialty-card:hover,
.card-spec:hover {
    border-color: transparent;
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.specialty-card:hover::before,
.card-spec:hover::before {
    transform: scaleX(1);
}

.svc-icon-box,
.card-icon {
    width: 58px;
    height: 58px;
    border-radius: 12px;
    background: var(--primary-light);
    color: var(--primary-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin-bottom: 1.4rem;
    transition: var(--transition);
}

.specialty-card:hover .svc-icon-box {
    background: var(--navy);
    color: #FFFFFF;
}

.specialty-card h3,
.card-spec h4 {
    font-size: 1.25rem;
    color: var(--navy);
    margin-bottom: 0.75rem;
}

.specialty-card p,
.card-spec p {
    color: var(--text-muted);
    font-size: 0.92rem;
    margin-bottom: 1.5rem;
    flex-grow: 1;
    line-height: 1.65;
}

.card-cta {
    color: var(--primary);
    font-weight: 700;
    font-size: 0.88rem;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    transition: var(--transition);
}

.specialty-card:hover .card-cta {
    color: var(--accent);
    gap: 0.6rem;
}

/* ── Patient Recovery Timeline ────────────────────── */
.timeline-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
    gap: 1.5rem;
}

.timeline-step-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 1.8rem 1.4rem;
    position: relative;
    transition: var(--transition);
}

.timeline-step-card:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--primary);
}

.step-number {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--navy), var(--primary-dark));
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 1.2rem;
    box-shadow: var(--shadow-sm);
}

.timeline-step-card h4 {
    font-size: 1.1rem;
    color: var(--navy);
    margin-bottom: 0.5rem;
}

.timeline-step-card p {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* ── Patient Reviews Infinite Marquee ───────────────── */
.reviews-slider-container {
    overflow: hidden;
    position: relative;
    width: 100%;
    padding: 1rem 0;
}

.reviews-slider-container::before,
.reviews-slider-container::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 80px;
    z-index: 2;
    pointer-events: none;
}

.reviews-slider-container::before {
    left: 0;
    background: linear-gradient(to right, var(--bg-page), transparent);
}

.reviews-slider-container::after {
    right: 0;
    background: linear-gradient(to left, var(--bg-page), transparent);
}

.reviews-slider-track {
    display: flex;
    gap: 1.8rem;
    width: max-content;
    animation: scrollMarquee 32s linear infinite;
    will-change: transform;
}

.reviews-slider-container:hover .reviews-slider-track {
    animation-play-state: paused;
}

@keyframes scrollMarquee {
    0% {
        transform: translate3d(0, 0, 0);
    }

    100% {
        transform: translate3d(-50%, 0, 0);
    }
}

.review-card-slide {
    width: clamp(280px, 80vw, 360px);
    flex-shrink: 0;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 2rem 1.6rem;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    transition: var(--transition);
}

.review-card-slide:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.stars {
    color: #F59E0B;
    font-size: 1rem;
    margin-bottom: 1rem;
    letter-spacing: 2px;
}

.review-text {
    font-size: 0.93rem;
    color: var(--text-body);
    font-style: italic;
    margin-bottom: 1.5rem;
    flex-grow: 1;
    line-height: 1.65;
}

.reviewer-info h5 {
    font-size: 0.98rem;
    color: var(--navy);
    font-family: var(--sans);
    font-weight: 700;
}

.reviewer-info p {
    font-size: 0.78rem;
    color: var(--primary);
    font-weight: 600;
}

/* ── Interactive FAQ Accordion Section ───────────── */
.faq-wrap,
.faq-accordion-wrap {
    max-width: 860px;
    margin: 0 auto;
    width: 100%;
}

.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    margin-bottom: 1rem;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.faq-item:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-sm);
}

.faq-question {
    padding: 1.2rem 1.5rem;
    font-size: 1.02rem;
    font-weight: 700;
    color: var(--navy);
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    user-select: none;
    background: #FFFFFF;
    transition: var(--transition);
    gap: 1rem;
}

.faq-question .faq-icon {
    font-size: 1.3rem;
    color: var(--primary);
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.faq-item.active .faq-question {
    background: var(--primary-light);
    color: var(--primary-dark);
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    display: none;
    padding: 1.2rem 1.5rem;
    font-size: 0.95rem;
    color: var(--text-body);
    line-height: 1.75;
    border-top: 1px solid var(--border-color);
    background: #FFFFFF;
}

.faq-item.active .faq-answer {
    display: block;
}

/* HTML5 details FAQ fallback */
.faq-item summary {
    padding: 1.2rem 1.5rem;
    font-weight: 600;
    font-size: 1.02rem;
    color: var(--navy);
    cursor: pointer;
    position: relative;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: '+';
    font-size: 1.4rem;
    font-weight: 400;
    color: var(--primary);
    transition: transform 0.2s ease;
    flex-shrink: 0;
}

.faq-item[open] summary::after {
    content: '−';
    color: var(--accent);
}

.faq-item[open] summary {
    background: var(--primary-light);
    color: var(--primary-dark);
}

.faq-item p {
    padding: 1.2rem 1.5rem 1.4rem 1.5rem;
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* ── WhatsApp Banner CTA ──────────────────────────── */
.cta-banner {
    background: linear-gradient(135deg, #ECFDF5 0%, #D1FAE5 100%);
    border: 1px solid #A7F3D0;
    border-radius: var(--radius-lg);
    padding: clamp(2rem, 4vw, 3.5rem) clamp(1.2rem, 3vw, 2.5rem);
    text-align: center;
    max-width: 860px;
    margin: 0 auto;
    box-shadow: var(--shadow-md);
}

.cta-banner h2,
.cta-banner h3 {
    font-size: clamp(1.4rem, 2.5vw, 1.8rem);
    color: var(--navy);
    margin-bottom: 0.6rem;
}

.cta-banner p {
    color: var(--text-muted);
    font-size: clamp(0.92rem, 1.2vw, 1rem);
    margin-bottom: 1.8rem;
    line-height: 1.65;
}

.btn-whatsapp-large {
    background: var(--whatsapp-green);
    color: #FFFFFF !important;
    padding: 0.95rem clamp(1.2rem, 3vw, 2.4rem);
    border-radius: 10px;
    font-weight: 700;
    font-size: clamp(0.92rem, 1.2vw, 1.05rem);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.35);
    transition: var(--transition);
    max-width: 100%;
    text-align: center;
    word-break: break-word;
}

.btn-whatsapp-large:hover {
    background: var(--whatsapp-dark);
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(37, 211, 102, 0.45);
}

/* ── Comprehensive Footer ──────────────────────────── */
.footer {
    background-color: var(--navy-dark);
    color: rgba(255, 255, 255, 0.75);
    padding: clamp(3rem, 5vw, 4.5rem) 0 max(2rem, calc(var(--sab) + 1.5rem)) 0;
    font-size: 0.9rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
    gap: 2.5rem;
    padding-bottom: 2.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand h4 {
    color: #FFFFFF;
    font-size: 1.3rem;
    margin-bottom: 0.4rem;
}

.footer-brand p.sub {
    color: var(--accent-gold);
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.footer-brand p.desc {
    font-size: 0.88rem;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.7);
}

.footer-col h5 {
    color: #FFFFFF;
    font-size: 1rem;
    font-family: var(--sans);
    font-weight: 700;
    margin-bottom: 1.2rem;
    letter-spacing: 0.02em;
}

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

.footer-col ul li {
    margin-bottom: 0.65rem;
}

.footer-col ul li a {
    color: rgba(255, 255, 255, 0.75);
    transition: var(--transition);
}

.footer-col ul li a:hover {
    color: var(--accent-gold);
    padding-left: 4px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 2rem;
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.55);
}

.footer-bottom a {
    color: rgba(255, 255, 255, 0.65);
}

.footer-bottom a:hover {
    color: #FFFFFF;
}

/* ── Modals & Popups ──────────────────────────────── */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    background: rgba(18, 33, 48, 0.8);
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    padding: 1rem;
}

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

.modal-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    max-width: 650px;
    width: 100%;
    padding: clamp(1.5rem, 3vw, 2.5rem);
    position: relative;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-gold);
    max-height: 90vh;
    max-height: 90dvh;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    animation: modalPop 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalPop {
    from {
        opacity: 0;
        transform: scale(0.95) translateY(10px);
    }

    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    font-size: 1.8rem;
    color: var(--text-muted);
    cursor: pointer;
    line-height: 1;
    transition: var(--transition);
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

/* ── Floating Quick Actions: Directions & WhatsApp Stack ─── */
.floating-whatsapp {
    position: fixed;
    bottom: max(25px, calc(var(--sab) + 15px));
    right: max(25px, calc(var(--sar) + 15px));
    width: 56px;
    height: 56px;
    background-color: var(--whatsapp-green);
    color: #FFFFFF;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 20px rgba(1, 147, 55, 0.4);
    text-decoration: none;
    z-index: 999;
    transition: var(--transition);
}

.floating-whatsapp:hover {
    transform: scale(1.08) translateY(-2px);
    box-shadow: 0 8px 24px rgba(1, 147, 55, 0.55);
}

.floating-whatsapp img {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

/* Directions Button positioned directly above the WhatsApp Widget */
.floating-directions {
    position: fixed;
    bottom: max(90px, calc(var(--sab) + 80px));
    right: max(25px, calc(var(--sar) + 15px));
    width: 56px;
    height: 56px;
    background-color: var(--navy);
    color: #FFFFFF;
    border: 2px solid var(--accent-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.45rem;
    box-shadow: 0 6px 20px rgba(11, 37, 69, 0.35);
    text-decoration: none;
    z-index: 999;
    transition: var(--transition);
}

.floating-directions:hover {
    transform: scale(1.08) translateY(-2px);
    box-shadow: 0 8px 24px rgba(212, 175, 55, 0.45);
    background-color: var(--navy-dark);
}

.btn-wa-icon {
    width: 20px;
    height: 20px;
    object-fit: contain;
    vertical-align: middle;
    flex-shrink: 0;
}

/* Desktop Floating Appointment Side Tab */
.floating-appointment-btn {
    position: fixed;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    background: #D4AF37;
    color: #000000;
    font-weight: 700;
    font-family: var(--sans);
    padding: 14px 10px;
    border-radius: 12px 0 0 12px;
    box-shadow: -4px 4px 15px rgba(0, 0, 0, 0.2);
    z-index: 999;
    text-decoration: none;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    letter-spacing: 1px;
    font-size: 0.85rem;
    transition: all 0.3s ease;
    display: block;
}

.floating-appointment-btn:hover {
    background: #310297;
    color: #FFFFFF;
    transform: translateY(-50%) translateX(-4px);
}

/* ── CORI Robotic Enhanced Components ─────────────── */
.video-explainer-card {
    background: #06172E;
    border: 1px solid var(--border-gold);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.video-container-box {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    cursor: pointer;
}

.video-poster-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.85;
    transition: var(--transition);
}

.video-container-box:hover .video-poster-img {
    transform: scale(1.04);
    opacity: 0.95;
}

.play-btn-overlay {
    position: absolute;
    width: 64px;
    height: 64px;
    background: rgba(212, 175, 55, 0.95);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0B2545;
    font-size: 1.8rem;
    box-shadow: 0 0 30px rgba(212, 175, 55, 0.7);
    transition: var(--transition);
    z-index: 2;
}

.video-container-box:hover .play-btn-overlay {
    transform: scale(1.15);
    background: #D4AF37;
    box-shadow: 0 0 40px rgba(254, 237, 2, 0.9);
}

.video-explainer-body {
    padding: clamp(1.2rem, 2vw, 1.8rem);
    color: #fff;
    flex-grow: 1;
}

.video-badge {
    display: inline-block;
    background: rgba(254, 237, 2, 0.15);
    color: #D4AF37;
    font-size: 0.8rem;
    font-weight: 700;
    padding: 0.35rem 0.9rem;
    border-radius: 20px;
    border: 1px solid rgba(254, 237, 2, 0.4);
    margin-bottom: 0.8rem;
}

.robot-image-card {
    background: #ffffff;
    border: 1px solid var(--border-gold);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    box-shadow: var(--shadow-md);
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
}

.robot-image-card img {
    max-height: 380px;
    width: auto;
    object-fit: contain;
    transition: var(--transition);
}

.robot-image-card:hover img {
    transform: scale(1.02);
}

.location-chips-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 1.2rem;
}

.location-chip {
    background: var(--primary-light);
    color: var(--navy);
    font-size: 0.82rem;
    font-weight: 600;
    padding: 0.4rem 0.85rem;
    border-radius: 20px;
    border: 1px solid rgba(0, 132, 180, 0.2);
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: var(--transition);
}

.location-chip:hover {
    background: var(--navy);
    color: #fff;
    border-color: var(--navy);
}

.candidate-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.candidate-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-left: 5px solid var(--primary);
    border-radius: var(--radius);
    padding: 1.6rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.candidate-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-left-color: var(--accent-gold);
}

.candidate-title {
    color: var(--navy);
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0.6rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Responsive Tables */
.table-responsive-styled {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    margin: 1.5rem 0;
}

.table-styled {
    width: 100%;
    min-width: 600px;
    border-collapse: collapse;
    background: #fff;
    text-align: left;
}

.table-styled th {
    background: var(--navy);
    color: #fff;
    padding: 1.1rem 1.4rem;
    font-size: 0.95rem;
    font-weight: 700;
    white-space: nowrap;
}

.table-styled td {
    padding: 1rem 1.4rem;
    border-bottom: 1px solid var(--border-color);
    font-size: 0.93rem;
    color: var(--text-body);
}

.table-styled tr:nth-child(even) {
    background: var(--bg-alt);
}

.table-styled tr:last-child td {
    border-bottom: none;
}

/* Slide Deck Grid / Cards */
.slides-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
    gap: 1.8rem;
    margin-top: 2rem;
}

.slide-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-top: 4px solid var(--accent-gold);
    border-radius: var(--radius-lg);
    padding: 1.8rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.slide-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-top-color: var(--navy);
}

.slide-number-badge {
    display: inline-block;
    background: var(--navy);
    color: #D4AF37;
    font-size: 0.78rem;
    font-weight: 700;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    margin-bottom: 0.8rem;
    width: fit-content;
}

.slide-title {
    color: var(--navy);
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
    line-height: 1.35;
}

.slide-body {
    font-size: 0.94rem;
    color: var(--text-body);
    line-height: 1.7;
    flex-grow: 1;
}

.slide-body ul {
    padding-left: 1.2rem;
    margin-top: 0.5rem;
}

.slide-body li {
    margin-bottom: 0.4rem;
}

/* ── Lightbox Photo Viewer ────────────────────────── */
.lightbox-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    background: rgba(4, 15, 30, 0.94);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 1rem;
}

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

.lightbox-content-box {
    position: relative;
    max-width: 90vw;
    max-height: 75vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-img {
    max-width: 88vw;
    max-height: 72vh;
    object-fit: contain;
    border-radius: var(--radius);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6);
    border: 2px solid var(--accent-gold);
}

.lightbox-caption {
    color: #fff;
    margin-top: 1rem;
    font-size: 0.95rem;
    font-weight: 600;
    text-align: center;
    max-width: 700px;
    background: rgba(11, 37, 69, 0.88);
    padding: 0.5rem 1.2rem;
    border-radius: 25px;
    border: 1px solid var(--border-gold);
}

.lightbox-btn {
    position: absolute;
    background: rgba(212, 175, 55, 0.95);
    color: #0B2545;
    border: none;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    cursor: pointer;
    transition: var(--transition);
    z-index: 10002;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.lightbox-btn:hover {
    background: #D4AF37;
    transform: scale(1.12);
    box-shadow: 0 8px 25px rgba(254, 237, 2, 0.6);
}

.lightbox-close {
    top: 20px;
    right: 20px;
    font-size: 2rem;
}

.lightbox-prev {
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
}

.lightbox-next {
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
}

/* ── Google Reviews Marquee ───────────────────────── */
.google-reviews-marquee-wrapper {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 1.2rem 0;
    margin: 1.5rem 0;
}

.google-reviews-marquee-wrapper::before,
.google-reviews-marquee-wrapper::after {
    content: "";
    position: absolute;
    top: 0;
    width: 100px;
    height: 100%;
    z-index: 3;
    pointer-events: none;
}

.google-reviews-marquee-wrapper::before {
    left: 0;
    background: linear-gradient(to right, #F8FAFC 0%, rgba(248, 250, 252, 0) 100%);
}

.google-reviews-marquee-wrapper::after {
    right: 0;
    background: linear-gradient(to left, #F8FAFC 0%, rgba(248, 250, 252, 0) 100%);
}

.google-reviews-track {
    display: flex;
    gap: 1.8rem;
    width: max-content;
    animation: scrollGoogleReviews 40s linear infinite;
    will-change: transform;
}

.google-reviews-marquee-wrapper:hover .google-reviews-track {
    animation-play-state: paused;
}

@keyframes scrollGoogleReviews {
    0% {
        transform: translate3d(0, 0, 0);
    }

    100% {
        transform: translate3d(-50%, 0, 0);
    }
}

.google-review-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 1.6rem;
    width: clamp(280px, 80vw, 360px);
    box-shadow: var(--shadow-sm);
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: var(--transition);
}

.google-review-card:hover {
    border-color: var(--accent-gold);
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.google-review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.8rem;
}

.google-reviewer-info {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

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

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

.google-review-date {
    font-size: 0.78rem;
    color: var(--text-muted);
}

.google-logo-badge {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 0.76rem;
    font-weight: 700;
    color: #5F6368;
    background: #F1F5F9;
    padding: 3px 8px;
    border-radius: 12px;
}

.google-stars {
    color: #F59E0B;
    font-size: 1.1rem;
    margin-bottom: 0.6rem;
}

.google-review-text {
    font-size: 0.93rem;
    line-height: 1.65;
    color: var(--text-body);
    margin-bottom: 1rem;
}

.google-verified-check {
    color: #10B981;
    font-size: 0.8rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 4px;
}

/* ── Specialized Surgery Cards ─────────────────────── */
.surgeries-grid-animated {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
    gap: 2.2rem;
    margin-top: 2.5rem;
}

.surgery-card-premium {
    background: #ffffff;
    border-radius: 20px;
    border: 1px solid rgba(212, 175, 55, 0.35);
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(11, 37, 69, 0.07);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    display: flex;
    flex-direction: column;
}

.surgery-card-premium::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #0B2545 0%, #D4AF37 50%, #D4AF37 100%);
    opacity: 0.8;
    transition: opacity 0.3s ease;
    z-index: 4;
}

.surgery-card-premium:hover {
    transform: translateY(-8px);
    box-shadow: 0 22px 50px rgba(11, 37, 69, 0.16);
    border-color: var(--accent-gold);
}

.surgery-card-header-img {
    position: relative;
    height: 210px;
    overflow: hidden;
    background: #06172E;
}

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

.surgery-card-premium:hover .surgery-card-header-img img {
    transform: scale(1.08);
}

.surgery-badge-floating {
    position: absolute;
    top: 15px;
    left: 15px;
    background: rgba(11, 37, 69, 0.92);
    color: #D4AF37;
    font-size: 0.78rem;
    font-weight: 700;
    padding: 0.4rem 0.9rem;
    border-radius: 20px;
    border: 1px solid var(--border-gold);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    z-index: 2;
}

.surgery-icon-animated {
    position: absolute;
    bottom: -22px;
    right: 20px;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: var(--navy);
    color: #D4AF37;
    border: 3px solid var(--accent-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
    transition: transform 0.4s ease;
    z-index: 3;
}

.surgery-card-premium:hover .surgery-icon-animated {
    transform: scale(1.15) rotate(10deg);
    background: #0F325E;
}

.surgery-card-body-content {
    padding: 2rem 1.8rem 1.8rem 1.8rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.surgery-card-title {
    color: var(--navy);
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 0.4rem;
    line-height: 1.3;
}

.surgery-card-subtitle {
    font-size: 0.9rem;
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 1.2rem;
}

.surgery-procedure-list {
    list-style: none;
    padding-left: 0;
    margin-bottom: 1.8rem;
}

.surgery-procedure-list li {
    font-size: 0.93rem;
    color: var(--text-body);
    padding: 0.45rem 0;
    border-bottom: 1px dashed var(--border-color);
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.25s ease;
}

.surgery-procedure-list li:last-child {
    border-bottom: none;
}

.surgery-procedure-list li:hover {
    transform: translateX(4px);
    color: var(--navy);
    font-weight: 600;
}

.surgery-check-icon {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #ECFDF5;
    color: #10B981;
    font-weight: 800;
    font-size: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border: 1px solid #A7F3D0;
}

.surgery-card-btn-action {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--bg-alt);
    border: 1px solid var(--border-color);
    padding: 0.85rem 1.2rem;
    border-radius: 12px;
    color: var(--navy);
    font-weight: 700;
    font-size: 0.92rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.surgery-card-premium:hover .surgery-card-btn-action {
    background: var(--navy);
    color: #D4AF37;
    border-color: var(--navy);
}

/* ── Step-by-Step Care Timeline ───────────────────── */
.step-care-timeline {
    position: relative;
    padding: 1rem 0;
}

.step-timeline-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
    gap: 1.8rem;
    position: relative;
    z-index: 2;
}

.step-card-animated {
    background: #FFFFFF;
    border-radius: 18px;
    border: 1px solid var(--border-gold);
    padding: 2.2rem 1.6rem 2rem 1.6rem;
    position: relative;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 10px 30px rgba(11, 37, 69, 0.07);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    overflow: hidden;
}

.step-card-animated::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #D4AF37, #DC2626);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.step-card-animated:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 48px rgba(11, 37, 69, 0.16);
    border-color: #D4AF37;
}

.step-card-animated:hover::before {
    opacity: 1;
}

.step-header-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    margin-bottom: 1.4rem;
}

.step-number-badge {
    background: linear-gradient(135deg, #0B2545 0%, #06172E 100%);
    color: #D4AF37;
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    padding: 0.4rem 0.9rem;
    border-radius: 20px;
    border: 1px solid rgba(212, 175, 55, 0.4);
    box-shadow: 0 4px 12px rgba(11, 37, 69, 0.2);
    transition: all 0.3s ease;
}

.step-card-animated:hover .step-number-badge {
    background: linear-gradient(135deg, #DC2626 0%, #B91C1C 100%);
    color: #FFFFFF;
    box-shadow: 0 6px 16px rgba(220, 38, 38, 0.35);
}

.step-icon-box {
    width: 54px;
    height: 54px;
    border-radius: 14px;
    background: #F8FAFC;
    border: 2px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    transition: all 0.4s ease;
}

.step-card-animated:hover .step-icon-box {
    transform: scale(1.15) rotate(8deg);
    background: #0B2545;
    border-color: #D4AF37;
    box-shadow: 0 8px 20px rgba(11, 37, 69, 0.25);
}

.step-title-text {
    color: var(--navy);
    font-size: 1.22rem;
    font-weight: 700;
    margin-bottom: 0.6rem;
    line-height: 1.3;
}

.step-desc-text {
    font-size: 0.92rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 1.4rem;
}

.step-pill-tag {
    margin-top: auto;
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--navy);
    background: #F1F5F9;
    padding: 0.35rem 0.8rem;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

/* ── Joint Pain Quiz ──────────────────────────────── */
.quiz-box {
    background: var(--bg-card);
    border: 1px solid var(--border-gold);
    border-radius: var(--radius-lg);
    padding: clamp(1.5rem, 3vw, 2.5rem);
    box-shadow: var(--shadow-md);
    max-width: 800px;
    margin: 0 auto;
}

.quiz-option {
    display: block;
    background: var(--bg-alt);
    border: 2px solid transparent;
    padding: 1rem 1.2rem;
    border-radius: var(--radius);
    margin-bottom: 0.8rem;
    cursor: pointer;
    font-weight: 500;
    transition: var(--transition);
}

.quiz-option:hover {
    border-color: var(--primary);
    background: var(--primary-light);
}

.quiz-option input {
    margin-right: 10px;
}

/* ── Blog Portal & Cards ──────────────────────────── */
.blog-filter-bar,
.gallery-filter-bar {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 2.5rem;
}

.blog-filter-btn,
.gallery-filter-btn {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 0.55rem 1.25rem;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.88rem;
    color: var(--navy);
    cursor: pointer;
    transition: var(--transition);
}

.blog-filter-btn.active,
.blog-filter-btn:hover,
.gallery-filter-btn.active,
.gallery-filter-btn:hover {
    background: var(--navy);
    color: var(--accent-gold);
    border-color: var(--navy);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr));
    gap: 2rem;
}

.blog-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

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

.blog-img {
    height: 200px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.blog-tag {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--navy);
    color: var(--accent-gold);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
}

.blog-content {
    padding: 1.8rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.blog-meta {
    font-size: 0.82rem;
    color: var(--text-muted);
    margin-bottom: 0.6rem;
}

.blog-title {
    font-size: 1.25rem;
    color: var(--navy);
    margin-bottom: 0.8rem;
    line-height: 1.35;
}

.blog-excerpt {
    font-size: 0.92rem;
    color: var(--text-body);
    margin-bottom: 1.4rem;
    flex: 1;
}

.blog-link {
    color: var(--primary);
    font-weight: 700;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    cursor: pointer;
}

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

/* ── Medical Tourism Cards ────────────────────────── */
.tourism-hero {
    background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 100%);
    color: #fff;
    padding: clamp(3.5rem, 5vw, 5rem) 0;
    text-align: center;
}

.tourism-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.tourism-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    text-align: center;
    transition: var(--transition);
}

.tourism-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--accent-gold);
}

.tourism-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--accent);
}

/* ── Gallery Grid & Cards ─────────────────────────── */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr));
    gap: 1.5rem;
}

.gallery-card {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    height: 260px;
    box-shadow: var(--shadow-sm);
    cursor: pointer;
    border: 1px solid var(--border-color);
    background: #fff;
}

.gallery-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

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

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(18, 33, 48, 0.88) 0%, transparent 60%);
    display: flex;
    align-items: flex-end;
    padding: 1.2rem;
    color: #fff;
    font-weight: 600;
    font-size: 0.95rem;
}

/* ── Reasons & Pain Areas ─────────────────────────── */
.reasons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
    gap: 2rem;
    margin-top: 2.5rem;
}

.reason-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 2.2rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    position: relative;
}

.reason-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--accent-gold);
}

.reason-num {
    font-size: 2.8rem;
    font-family: var(--serif);
    font-weight: 700;
    color: var(--accent-gold);
    line-height: 1;
    margin-bottom: 1rem;
}

.pain-areas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr));
    gap: 1.2rem;
    margin-top: 2rem;
}

.pain-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 1.2rem 1.5rem;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    cursor: pointer;
}

.pain-card:hover {
    border-color: var(--primary);
    background: var(--primary-light);
    transform: translateY(-3px);
}

.pain-icon {
    font-size: 1.8rem;
    flex-shrink: 0;
}

.pain-title {
    font-weight: 700;
    color: var(--navy);
    font-size: 0.98rem;
}

/* ==========================================================================
   Comprehensive Responsive Breakpoints (iPhone, Android, iPad, Tablets, Desktops)
   ========================================================================== */

/* ── Large Screens & Desktops (>= 1200px) ──────────────── */
@media (min-width: 1200px) {
    .wrap {
        padding: 0 1.5rem;
    }
}

/* ── Laptops & Small Desktops (<= 1199px) ──────────────── */
@media (max-width: 1199px) and (min-width: 993px) {
    nav {
        gap: 0.6rem;
    }

    .nav-link {
        font-size: 0.81rem;
        padding: 0.3rem 0.2rem;
    }

    .logo-name {
        font-size: 1.2rem;
    }

    .logo-sub {
        font-size: 0.68rem;
    }

    .btn-header-cta {
        font-size: 0.78rem;
        padding: 0.4rem 0.65rem;
    }

    .hero-container {
        gap: 2.5rem;
    }

    .footer-grid {
        grid-template-columns: 1.2fr 1fr 1fr 1fr;
        gap: 2rem;
    }
}

/* ── Tablets & iPad Landscape (<= 992px) ──────────────── */
@media (max-width: 992px) {

    /* Hide top bar above navigation on small screens to avoid text cutoff and horizontal scroll */
    .top-bar {
        display: none !important;
    }

    .hero-portrait-card {
        max-width: 520px;
        width: 100%;
        margin: 0.5rem auto;
    }

    .hero-content-col {
        width: 100%;
    }

    .about-grid {
        display: flex;
        flex-direction: column;
        gap: 2.5rem;
    }

    .robotic-tech-grid {
        display: flex;
        flex-direction: column-reverse;
        gap: 2.5rem;
    }

    .about-img-frame {
        max-width: 540px;
        margin: 0 auto;
    }

    .robotic-visual-frame {
        max-width: 540px;
        margin: 0 auto;
    }

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

    .stat-card:nth-child(odd)::before {
        display: none;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2.5rem;
    }

    /* Keep Book OPD button visible and properly formatted on tablets and mobile screens */
    .btn-header-cta {
        display: inline-flex !important;
        padding: 0.4rem 0.75rem;
        font-size: 0.78rem;
        flex-shrink: 0;
    }

    .header-right {
        gap: 0.5rem;
        margin-right: 0.75rem;
    }

    .header-inner {
        padding: 0.85rem 1.4rem;
    }

    .logo {
        max-width: calc(100% - 60px);
    }

    /* Mobile Navigation Drawer */
    nav {
        display: none;
        position: absolute;
        top: calc(100% + 8px);
        left: 1.25rem;
        right: 1.25rem;
        background: #FFFFFF;
        flex-direction: column;
        align-items: stretch;
        padding: 1.25rem 1.4rem;
        border: 1px solid var(--border-color);
        box-shadow: 0 16px 40px rgba(11, 37, 69, 0.18);
        gap: 0.5rem;
        margin: 0;
        z-index: 9999;
        max-height: calc(100vh - 85px);
        max-height: calc(100dvh - 85px);
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        border-radius: 16px;
    }

    nav.show {
        display: flex;
        animation: navSlideDown 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    }

    @keyframes navSlideDown {
        from {
            opacity: 0;
            transform: translateY(-8px);
        }

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

    .nav-link {
        padding: 0.85rem 1rem;
        font-size: 1rem;
        border-radius: 8px;
        border-bottom: 1px solid var(--border-color);
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .nav-link:last-child {
        border-bottom: none;
    }

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

    .nav-link.active::after {
        display: none;
    }

    /* Mobile Treatments Dropdown Styles */
    .nav-dropdown {
        width: 100%;
    }

    .nav-dropdown-toggle {
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 0.85rem 1rem;
        font-size: 1rem;
        font-weight: 600;
        color: var(--text-dark);
        border-radius: 8px;
        border-bottom: 1px solid var(--border-color);
        cursor: pointer;
    }

    .nav-dropdown-menu {
        position: static;
        top: auto;
        left: auto;
        transform: none !important;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        background-color: var(--bg-alt);
        border: 1px solid var(--border-color);
        border-radius: 8px;
        box-shadow: none;
        padding: 0.75rem;
        grid-template-columns: 1fr;
        gap: 1rem;
        display: none;
        margin: 0.4rem 0 0.8rem 0;
    }

    .nav-dropdown-menu::before {
        display: none;
    }

    .nav-dropdown.open .nav-dropdown-menu {
        display: grid;
        animation: dropdownExpand 0.3s ease;
    }

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

    .mobile-toggle {
        display: flex !important;
    }
}

/* ── Phablets & Small Tablets (<= 768px) ──────────────── */
@media (max-width: 768px) {
    .top-bar {
        display: none !important;
    }

    .header-inner {
        padding: 0.8rem 1.25rem;
    }

    .logo {
        max-width: calc(100% - 55px);
    }

    .logo-name {
        font-size: 1.15rem;
    }

    .logo-sub {
        font-size: 0.68rem;
        letter-spacing: 0.02em;
    }

    .logo-sub-full {
        display: none !important;
    }

    .logo-sub-short {
        display: inline !important;
    }

    .section {
        padding: 3rem 0;
    }

    .section-header {
        margin-bottom: 2.2rem;
    }

    .hero-section {
        padding: 3rem 0 3.5rem 0;
    }

    .hero-sub {
        margin-bottom: 1.5rem;
    }

    .hero-btns {
        flex-direction: column;
        width: 100%;
    }

    .btn-hero-primary,
    .btn-hero-secondary {
        width: 100%;
        justify-content: center;
    }

    .pledge-box {
        flex-direction: column;
        text-align: center;
        padding: 1.8rem 1.4rem;
        gap: 1.5rem;
    }

    .pledge-author {
        text-align: center;
    }

    .floating-appointment-btn {
        display: none !important;
        /* Hide vertical obstructive side tab on mobile to avoid blocking content */
    }

    .google-reviews-marquee-wrapper::before,
    .google-reviews-marquee-wrapper::after,
    .reviews-slider-container::before,
    .reviews-slider-container::after {
        width: 40px;
    }
}

/* ── Standard Smartphones & Android Phones (<= 600px) ── */
@media (max-width: 600px) {
    .top-bar {
        display: none !important;
    }

    .top-bar-right {
        display: none !important;
    }

    .top-bar-left {
        display: none !important;
    }

    .top-bar-marquee {
        display: none !important;
    }

    .header-inner {
        padding: 0.75rem 1.1rem;
    }

    .logo {
        max-width: calc(100% - 110px);
    }

    .btn-header-cta {
        padding: 0.42rem 0.75rem;
        font-size: 0.78rem;
    }

    .hero-pills-row {
        gap: 0.55rem;
        margin: 1rem 0 1.3rem 0;
    }

    .hero-pill-item {
        font-size: 0.81rem;
        padding: 0.42rem 0.85rem;
        gap: 0.45rem;
        border-radius: 50px;
    }

    .hero-pill-item .check {
        width: 18px;
        height: 18px;
        font-size: 0.68rem;
    }

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

    .stat-card {
        padding: 0.5rem;
    }

    .stat-card+.stat-card::before {
        display: none;
    }

    .stat-num {
        font-size: 1.8rem;
    }

    .stat-label {
        font-size: 0.74rem;
    }

    .qual-grid,
    .robotic-metrics-grid {
        grid-template-columns: 1fr;
    }

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

    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 0.8rem;
    }

    .hero-portrait-img {
        height: 280px;
    }

    .about-img-frame img {
        height: 320px;
    }

    .robotic-visual-frame img {
        height: 280px;
    }

    .lightbox-btn {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }

    .lightbox-prev {
        left: 10px;
    }

    .lightbox-next {
        right: 10px;
    }

    .lightbox-close {
        top: 10px;
        right: 10px;
    }
}

/* ── Compact Phones & iPhone SE / 320px screens (<= 420px) */
@media (max-width: 420px) {
    .header-inner {
        padding: 0.7rem 1rem;
        gap: 0.6rem;
    }

    nav {
        left: 0.75rem;
        right: 0.75rem;
        padding: 1rem 1.15rem;
    }

    .logo-name {
        font-size: 1.05rem;
    }

    .logo-sub {
        font-size: 0.62rem;
    }

    .btn-header-cta span,
    .btn-header-cta {
        font-size: 0.75rem;
        padding: 0.4rem 0.65rem;
    }

    .stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 0.8rem;
    }

    .stat-num {
        font-size: 1.5rem;
    }

    .stat-label {
        font-size: 0.7rem;
    }

    .hero h1,
    .hero-section h1 {
        font-size: 1.7rem;
    }

    .hero-tag {
        font-size: 0.7rem;
        padding: 0.35rem 0.75rem;
    }

    .cta-banner {
        padding: 1.8rem 1rem;
    }

    .btn-whatsapp-large {
        width: 100%;
        padding: 0.85rem 1rem;
        font-size: 0.88rem;
    }

    .floating-whatsapp {
        width: 50px;
        height: 50px;
        bottom: max(18px, calc(var(--sab) + 12px));
        right: max(18px, calc(var(--sar) + 12px));
    }

    .floating-whatsapp img {
        width: 28px;
        height: 28px;
    }

    .floating-directions {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
        bottom: max(76px, calc(var(--sab) + 70px));
        right: max(18px, calc(var(--sar) + 12px));
    }
}

/* ── Accessibility & Reduced Motion Support ────────── */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    .reviews-slider-track,
    .google-reviews-track {
        animation: none !important;
        overflow-x: auto;
    }
}