/* ==========================================================================
   VITALITY PHYSIOTHERAPY CLINIC - BRAND DESIGN SYSTEM
   ========================================================================== */

/* Google Fonts Import */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Plus+Jakarta+Sans:wght@600;700;800&display=swap');

:root {
    /* Color Palette */
    --primary-blue: #1a3a8f;
    --accent-magenta: #e91e8c;
    --deep-navy: #0d1f5c;
    --pure-white: #ffffff;
    --off-white: #f5f7fc;
    --near-black: #1a1a2e;
    --whatsapp-green: #25d366;
    --teal-emergency: #008080;
    
    /* Text Color Roles */
    --text-primary: var(--near-black);
    --text-secondary: #555566;
    --text-light: #888899;
    --text-white: var(--pure-white);
    
    /* Font Families */
    --font-heading: 'Plus Jakarta Sans', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Box Shadows */
    --shadow-sm: 0 2px 4px rgba(13, 31, 92, 0.05);
    --shadow-md: 0 4px 12px rgba(13, 31, 92, 0.08);
    --shadow-lg: 0 10px 25px rgba(13, 31, 92, 0.12);
    --shadow-blue: 0 8px 30px rgba(26, 58, 143, 0.2);
    --shadow-magenta: 0 8px 20px rgba(233, 30, 140, 0.25);
    --shadow-green: 0 8px 20px rgba(37, 211, 102, 0.3);
    
    /* Transitions */
    --transition-fast: all 0.2s ease;
    --transition-normal: all 0.3s ease;
    --transition-slow: all 0.5s ease;
    
    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
    --radius-pill: 50px;
    
    /* Layout Sizes */
    --nav-height: 80px;
    --container-width: 1200px;
}

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

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--pure-white);
    overflow-x: hidden;
}

/* Headings */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--deep-navy);
    font-weight: 700;
    line-height: 1.25;
    margin-bottom: 0.5em;
}

h1 { font-size: 2.5rem; font-weight: 800; }
h2 { font-size: 2.1rem; font-weight: 700; position: relative; margin-bottom: 1.5rem; }
h3 { font-size: 1.5rem; font-weight: 700; }
h4 { font-size: 1.25rem; font-weight: 600; }

p {
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

a {
    color: var(--primary-blue);
    text-decoration: none;
    transition: var(--transition-fast);
}

a:hover {
    color: var(--accent-magenta);
}

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

ul, ol {
    list-style: none;
}

/* Container */
.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* Section Common Styles */
section {
    padding: 80px 0;
}

.section-bg-alt {
    background-color: var(--off-white);
}

.section-title-wrapper {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px auto;
}

.section-title-wrapper h2 {
    color: var(--deep-navy);
}

.section-title-wrapper h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: var(--accent-magenta);
    margin: 12px auto 0 auto;
    border-radius: var(--radius-sm);
}

.section-title-wrapper .subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-top: 10px;
    font-weight: 400;
}

/* Typography Helpers */
.tagline {
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--accent-magenta);
    display: block;
    margin-bottom: 8px;
}

/* Buttons System */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: var(--radius-pill);
    transition: var(--transition-normal);
    cursor: pointer;
    border: 2px solid transparent;
    text-align: center;
    box-shadow: var(--shadow-sm);
}

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

.btn-primary:hover {
    background-color: var(--deep-navy);
    color: var(--pure-white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-accent {
    background-color: var(--accent-magenta);
    color: var(--pure-white);
    box-shadow: var(--shadow-magenta);
}

.btn-accent:hover {
    background-color: #d01579;
    color: var(--pure-white);
    transform: translateY(-2px);
    box-shadow: 0 10px 22px rgba(233, 30, 140, 0.35);
}

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

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

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

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

.btn-whatsapp {
    background-color: var(--whatsapp-green);
    color: var(--pure-white);
    box-shadow: var(--shadow-green);
}

.btn-whatsapp:hover {
    background-color: #20ba56;
    color: var(--pure-white);
    transform: translateY(-2px);
    box-shadow: 0 10px 22px rgba(37, 211, 102, 0.4);
}

.btn-teal {
    background-color: var(--teal-emergency);
    color: var(--pure-white);
}

.btn-teal:hover {
    background-color: #006666;
    color: var(--pure-white);
    transform: translateY(-2px);
}

.btn i {
    margin-right: 8px;
    font-size: 1.1rem;
}

/* ==========================================================================
   NAVIGATION & HEADER
   ========================================================================== */
.top-bar {
    background-color: var(--deep-navy);
    color: var(--pure-white);
    padding: 8px 0;
    font-size: 0.85rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

.top-bar-info {
    display: flex;
    gap: 20px;
}

.top-bar-info span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.top-bar-info i {
    color: var(--accent-magenta);
}

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

.top-bar-socials a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
}

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

header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: var(--pure-white);
    height: var(--nav-height);
    box-shadow: var(--shadow-md);
    transition: var(--transition-normal);
}

/* Scrolled Nav styling */
header.scrolled {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-lg);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.logo-wrapper a {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 55px;
    width: auto;
    object-fit: contain;
    transition: var(--transition-normal);
}

/* Navigation Links */
.nav-menu {
    display: flex;
    align-items: center;
    height: 100%;
}

.nav-item {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
}

.nav-link {
    color: var(--deep-navy);
    font-weight: 600;
    padding: 0 15px;
    height: 100%;
    display: flex;
    align-items: center;
    font-size: 0.95rem;
    position: relative;
}

.nav-link:hover, .nav-item.active > .nav-link {
    color: var(--accent-magenta);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 15px;
    right: 15px;
    height: 3px;
    background-color: var(--accent-magenta);
    transform: scaleX(0);
    transition: var(--transition-normal);
}

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

/* Dropdowns */
.dropdown-menu {
    position: absolute;
    top: var(--nav-height);
    left: 50%;
    transform: translateX(-50%) translateY(15px);
    background-color: var(--pure-white);
    min-width: 260px;
    box-shadow: var(--shadow-lg);
    border-radius: 0 0 var(--radius-md) var(--radius-md);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-normal);
    padding: 10px 0;
    border-top: 3px solid var(--accent-magenta);
    max-height: 450px;
    overflow-y: auto;
}

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

.dropdown-link {
    display: block;
    padding: 10px 20px;
    color: var(--deep-navy);
    font-weight: 500;
    font-size: 0.9rem;
    border-left: 3px solid transparent;
    transition: var(--transition-fast);
}

.dropdown-link:hover {
    background-color: var(--off-white);
    border-left-color: var(--accent-magenta);
    padding-left: 25px;
    color: var(--primary-blue);
}

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

/* ==========================================================================
   HERO IMAGE SLIDER
   ========================================================================== */
.hero-slider-section {
    position: relative;
    padding: 0;
    height: calc(100vh - var(--nav-height) - 37px); /* Compensate for header and top bar */
    min-height: 550px;
    overflow: hidden;
}

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

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1s ease, visibility 1s ease;
    z-index: 1;
}

.slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
}

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

.slide-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Custom alignment for horizontal slider images */
.slide:nth-child(2) .slide-img-wrapper img {
    object-position: center;
}

.slide:nth-child(4) .slide-img-wrapper img {
    object-position: center;
}

/* Dark left gradient overlay */
.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(13, 31, 92, 0.8) 0%, rgba(13, 31, 92, 0.4) 50%, rgba(13, 31, 92, 0.1) 100%);
    z-index: 3;
}

.slide-content-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 4;
    display: flex;
    align-items: center;
}

.slide-text {
    max-width: 650px;
    color: var(--pure-white);
}

.slide-text h2,
.slide-text p,
.slide-text .btn {
    opacity: 0;
    transform: translateY(20px);
}

.slide-text h2 {
    font-size: 3.2rem;
    font-weight: 800;
    color: var(--pure-white);
    margin-bottom: 20px;
}

.slide-text p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 30px;
}

.slide.active .slide-text h2 {
    animation: fadeInUp 0.8s ease forwards;
}

.slide.active .slide-text p {
    animation: fadeInUp 0.8s ease 0.2s forwards;
}

.slide.active .slide-text .btn {
    animation: fadeInUp 0.8s ease 0.4s forwards;
}

/* Slider Controls */
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(13, 31, 92, 0.5);
    border: none;
    color: var(--pure-white);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: var(--transition-fast);
}

.slider-arrow:hover {
    background-color: var(--accent-magenta);
}

.slider-arrow-left {
    left: 30px;
}

.slider-arrow-right {
    right: 30px;
}

.slider-dots {
    position: absolute;
    bottom: 80px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    border: none;
    cursor: pointer;
    transition: var(--transition-fast);
}

.slider-dot.active {
    background-color: var(--accent-magenta);
    transform: scale(1.2);
}

/* Floating Info Bar */
.floating-info-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--primary-blue);
    color: var(--pure-white);
    z-index: 20;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.1);
}

.info-bar-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    text-align: center;
}

.info-bar-col {
    padding: 15px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    border-right: 1px solid rgba(255, 255, 255, 0.15);
    font-size: 0.95rem;
    font-weight: 500;
}

.info-bar-col:last-child {
    border-right: none;
}

.info-bar-col i {
    color: var(--accent-magenta);
    font-size: 1.3rem;
}

.info-bar-col strong {
    font-weight: 600;
}

/* ==========================================================================
   SCROLLING SOCIAL PROOF TICKER
   ========================================================================== */
.ticker-section {
    background-color: var(--off-white);
    padding: 12px 0;
    border-bottom: 1px solid rgba(13, 31, 92, 0.05);
    overflow: hidden;
}

.ticker-wrapper {
    display: flex;
    align-items: center;
    width: 100%;
}

.ticker-title {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--primary-blue);
    white-space: nowrap;
    padding-right: 20px;
    border-right: 2px solid var(--accent-magenta);
    margin-right: 20px;
}

.ticker-content-flow {
    display: flex;
    overflow: hidden;
    white-space: nowrap;
    width: 100%;
}

.ticker-items {
    display: inline-flex;
    animation: tickerLoop 30s linear infinite;
    gap: 50px;
}

.ticker-item {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--deep-navy);
    display: flex;
    align-items: center;
    gap: 8px;
}

.ticker-item span {
    color: var(--accent-magenta);
}

/* ==========================================================================
   QUICK STATS BAR
   ========================================================================== */
.stats-section {
    background-color: var(--pure-white);
    padding: 50px 0;
    color: var(--deep-navy);
    border-top: 1px solid rgba(13, 31, 92, 0.06);
    border-bottom: 1px solid rgba(13, 31, 92, 0.06);
}

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

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

.stat-number {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--accent-magenta);
    line-height: 1.1;
    margin-bottom: 8px;
    letter-spacing: -0.02em;
}

.stat-label {
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-secondary);
}

/* ==========================================================================
   ABOUT US
   ========================================================================== */
.about-grid {
    display: grid;
    grid-template-columns: 45% 50%;
    gap: 5%;
    align-items: center;
}

.about-img-box {
    position: relative;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

.about-img-box img {
    width: 100%;
    object-fit: cover;
    border-radius: var(--radius-lg);
}

.about-badge {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background-color: var(--accent-magenta);
    color: var(--pure-white);
    padding: 15px 25px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    text-align: center;
}

.about-badge .years {
    display: block;
    font-size: 1.8rem;
    font-weight: 800;
    line-height: 1;
}

.about-badge .text {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
}

.about-content h2 {
    margin-bottom: 20px;
}

.about-usps {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin: 30px 0;
}

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

.usp-item i {
    color: #20ba56;
    font-size: 1.1rem;
}

/* ==========================================================================
   CONDITIONS WE TREAT
   ========================================================================== */
.conditions-search-wrapper {
    max-width: 500px;
    margin: -20px auto 40px auto;
    position: relative;
}

.conditions-search-wrapper input {
    width: 100%;
    padding: 14px 20px 14px 45px;
    border-radius: var(--radius-pill);
    border: 2px solid rgba(13, 31, 92, 0.1);
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--deep-navy);
    outline: none;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
}

.conditions-search-wrapper input:focus {
    border-color: var(--primary-blue);
    box-shadow: var(--shadow-md);
}

.conditions-search-wrapper i {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--primary-blue);
    font-size: 1.1rem;
}

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

.condition-card {
    background-color: var(--pure-white);
    border-radius: var(--radius-md);
    padding: 30px;
    box-shadow: var(--shadow-sm);
    border-top: 3px solid var(--accent-magenta);
    transition: var(--transition-normal);
    display: flex;
    flex-direction: column;
}

.condition-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-blue);
}

.condition-card.hidden {
    display: none;
}

.condition-icon-box {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: rgba(233, 30, 140, 0.08);
    color: var(--accent-magenta);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin-bottom: 20px;
    transition: var(--transition-normal);
}

.condition-card:hover .condition-icon-box {
    background-color: var(--accent-magenta);
    color: var(--pure-white);
}

.condition-card h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
}

.condition-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 20px;
    flex-grow: 1;
}

.condition-card .learn-more {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--primary-blue);
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.condition-card .learn-more i {
    font-size: 0.8rem;
    transition: var(--transition-fast);
}

.condition-card:hover .learn-more {
    color: var(--accent-magenta);
}

.condition-card:hover .learn-more i {
    transform: translateX(4px);
}

/* ==========================================================================
   WHY CHOOSE VITALITY
   ========================================================================== */
.why-section {
    background-color: var(--primary-blue);
    color: var(--pure-white);
}

.why-grid {
    display: grid;
    grid-template-columns: 45% 50%;
    gap: 5%;
    align-items: center;
}

.why-img-box {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

.why-img-box img {
    width: 100%;
    object-fit: cover;
    border-radius: var(--radius-lg);
}

.why-content h2 {
    color: var(--pure-white);
    margin-bottom: 30px;
}

.why-features {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.why-feature-item {
    display: flex;
    gap: 15px;
}

.why-feature-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(233, 30, 140, 0.15);
    color: var(--accent-magenta);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.why-feature-text h4 {
    color: var(--pure-white);
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.why-feature-text p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    margin-bottom: 0;
}

/* ==========================================================================
   OUR THERAPIES
   ========================================================================== */
.therapies-tabs-nav {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.tab-trigger {
    background-color: var(--off-white);
    border: none;
    color: var(--deep-navy);
    font-family: var(--font-body);
    font-weight: 600;
    padding: 10px 20px;
    border-radius: var(--radius-pill);
    cursor: pointer;
    transition: var(--transition-fast);
}

.tab-trigger:hover, .tab-trigger.active {
    background-color: var(--accent-magenta);
    color: var(--pure-white);
    box-shadow: var(--shadow-magenta);
}

.therapies-tab-content {
    display: none;
}

.therapies-tab-content.active {
    display: block;
}

.therapies-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.therapy-card {
    background-color: var(--pure-white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.therapy-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.therapy-img-wrapper {
    height: 180px;
    overflow: hidden;
    position: relative;
}

.therapy-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.therapy-card:hover .therapy-img-wrapper img {
    transform: scale(1.08);
}

.therapy-content {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.therapy-content h3 {
    font-size: 1.15rem;
    margin-bottom: 8px;
    color: var(--deep-navy);
}

.therapy-content p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 15px;
    flex-grow: 1;
}

.therapy-content .learn-more {
    font-size: 0.8rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.therapy-content:hover .learn-more {
    color: var(--accent-magenta);
}

/* ==========================================================================
   MEET DR. PREETI
   ========================================================================== */
.dr-profile-grid {
    display: grid;
    grid-template-columns: 40% 55%;
    gap: 5%;
    align-items: center;
}

.dr-profile-img-box {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.dr-profile-img-box img {
    width: 100%;
    object-fit: cover;
    border-radius: var(--radius-lg);
}

.dr-profile-img-box::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 20px;
    right: 20px;
    bottom: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: calc(var(--radius-lg) - 10px);
    pointer-events: none;
    z-index: 2;
}

.dr-profile-content h2 {
    font-size: 2.3rem;
    margin-bottom: 5px;
}

.dr-profile-qualifications {
    color: var(--accent-magenta);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 20px;
}

.dr-profile-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 25px;
}

.dr-profile-badge {
    background-color: var(--off-white);
    color: var(--deep-navy);
    font-size: 0.8rem;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: var(--radius-pill);
    border: 1px solid rgba(13, 31, 92, 0.1);
}

.dr-profile-content p {
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 30px;
}

.dr-social-links {
    display: flex;
    gap: 15px;
    margin-top: 25px;
}

.dr-social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--off-white);
    color: var(--primary-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    transition: var(--transition-fast);
}

.dr-social-link:hover {
    background-color: var(--accent-magenta);
    color: var(--pure-white);
    transform: translateY(-3px);
}

/* Credentials Timeline (For Doctor Page) */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 40px auto 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 20px;
    height: 100%;
    width: 2px;
    background-color: rgba(13, 31, 92, 0.1);
}

.timeline-item {
    position: relative;
    padding-left: 50px;
    margin-bottom: 30px;
}

.timeline-dot {
    position: absolute;
    top: 5px;
    left: 12px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background-color: var(--accent-magenta);
    border: 3px solid var(--pure-white);
    box-shadow: 0 0 0 3px rgba(233, 30, 140, 0.15);
}

.timeline-year {
    font-weight: 700;
    color: var(--accent-magenta);
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.timeline-content h4 {
    font-size: 1.05rem;
    margin-bottom: 5px;
    color: var(--deep-navy);
}

.timeline-content p {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* ==========================================================================
   PATIENT TESTIMONIALS (TEXT CAROUSEL)
   ========================================================================== */
.testimonials-carousel-wrapper {
    position: relative;
    overflow: hidden;
    padding: 10px 0;
}

.testimonials-track {
    display: flex;
    transition: transform 0.5s ease;
    gap: 30px;
}

.testimonial-slide {
    flex: 0 0 calc(33.333% - 20px);
    background-color: var(--pure-white);
    border-radius: var(--radius-md);
    padding: 30px;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 250px;
    border-top: 3px solid var(--primary-blue);
    transition: var(--transition-normal);
}

.testimonial-slide:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.testimonial-rating {
    color: #ffc107;
    margin-bottom: 15px;
}

.testimonial-rating i {
    font-size: 0.95rem;
}

.testimonial-quote {
    font-style: italic;
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.testimonial-author-avatar {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background-color: var(--off-white);
    color: var(--primary-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
    border: 2px solid rgba(26, 58, 143, 0.1);
    overflow: hidden; /* Ensure avatar image conforms to border radius */
}

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

.testimonial-author-info h4 {
    font-size: 0.95rem;
    margin-bottom: 2px;
}

.testimonial-author-info span {
    font-size: 0.75rem;
    color: var(--accent-magenta);
    font-weight: 600;
    text-transform: uppercase;
}

.testimonials-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 30px;
}

.testimonials-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(13, 31, 92, 0.15);
    border: none;
    cursor: pointer;
    transition: var(--transition-fast);
}

.testimonials-dot.active {
    background-color: var(--accent-magenta);
    transform: scale(1.2);
}

/* ==========================================================================
   VIDEO TESTIMONIALS
   ========================================================================== */
.videos-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.video-card {
    background-color: var(--pure-white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
}

.video-facade-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    background-color: var(--near-black);
    cursor: pointer;
    overflow: hidden;
}

.video-thumbnail {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.video-facade-wrapper:hover .video-thumbnail {
    transform: scale(1.05);
}

.video-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: var(--accent-magenta);
    color: var(--pure-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: var(--shadow-magenta);
    transition: var(--transition-normal);
    z-index: 5;
}

.video-play-btn i {
    margin-left: 4px;
}

.video-facade-wrapper:hover .video-play-btn {
    background-color: var(--primary-blue);
    box-shadow: var(--shadow-blue);
    transform: translate(-50%, -50%) scale(1.1);
}

.video-iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.video-info {
    padding: 15px 20px;
    border-top: 1px solid rgba(13, 31, 92, 0.05);
}

.video-info h4 {
    font-size: 0.95rem;
    margin-bottom: 2px;
}

.video-info p {
    font-size: 0.8rem;
    color: var(--text-light);
    margin-bottom: 0;
}

/* ==========================================================================
   BEFORE/AFTER & PATIENT JOURNEY
   ========================================================================== */
.journey-timeline-wrapper {
    display: flex;
    justify-content: space-between;
    position: relative;
    max-width: 900px;
    margin: 40px auto;
}

.journey-connecting-line {
    position: absolute;
    top: 30px;
    left: 10%;
    right: 10%;
    height: 4px;
    background-color: rgba(13, 31, 92, 0.1);
    z-index: 1;
}

.journey-connecting-line-progress {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: linear-gradient(to right, var(--primary-blue) 0%, var(--accent-magenta) 100%);
    z-index: 2;
}

.journey-step-item {
    position: relative;
    z-index: 5;
    text-align: center;
    width: 25%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.journey-step-circle {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background-color: var(--pure-white);
    color: var(--primary-blue);
    border: 3px solid var(--primary-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 15px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
}

.journey-step-item:nth-child(2) .journey-step-circle {
    border-color: #7d2c8d;
    color: #7d2c8d;
}

.journey-step-item:nth-child(3) .journey-step-circle {
    border-color: var(--accent-magenta);
    color: var(--accent-magenta);
}

.journey-step-item:hover .journey-step-circle {
    transform: scale(1.1);
}

.journey-step-item h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.journey-step-item p {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

/* Pain Assessment Quiz CTA box */
.quiz-cta-box {
    background-color: var(--primary-blue);
    color: var(--pure-white);
    border-radius: var(--radius-lg);
    padding: 40px;
    margin-top: 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    box-shadow: var(--shadow-lg);
}

.quiz-cta-content {
    max-width: 600px;
}

.quiz-cta-content h3 {
    color: var(--pure-white);
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.quiz-cta-content p {
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 0;
    font-size: 0.95rem;
}

.quiz-cta-btn-wrapper {
    flex-shrink: 0;
}

/* ==========================================================================
   CLINIC GALLERY (MASONRY AND LIGHTBOX)
   ========================================================================== */
.gallery-masonry {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    grid-auto-rows: 240px;
    gap: 15px;
    grid-auto-flow: dense;
}

.gallery-item {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    cursor: pointer;
}

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

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

.gallery-item-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(13, 31, 92, 0.7);
    opacity: 0;
    transition: var(--transition-normal);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--pure-white);
    font-size: 1.5rem;
}

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

/* Masonry spans for horizontal or vertical images */
.gallery-item.wide {
    grid-column: span 2;
}

.gallery-item.tall {
    grid-row: span 2;
}

/* Lightbox Modal */
.lightbox-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(13, 31, 92, 0.95);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 85%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.lightbox-img {
    max-width: 100%;
    max-height: 75vh;
    object-fit: contain;
    border-radius: var(--radius-sm);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    animation: zoomIn 0.3s ease;
}

.lightbox-caption {
    color: var(--pure-white);
    margin-top: 15px;
    font-size: 1rem;
    font-weight: 500;
}

.lightbox-close {
    position: absolute;
    top: -40px;
    right: 0;
    background: none;
    border: none;
    color: var(--pure-white);
    font-size: 2rem;
    cursor: pointer;
    transition: var(--transition-fast);
}

.lightbox-close:hover {
    color: var(--accent-magenta);
}

.lightbox-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--pure-white);
    font-size: 2.5rem;
    cursor: pointer;
    transition: var(--transition-fast);
}

.lightbox-arrow:hover {
    color: var(--accent-magenta);
}

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

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

/* ==========================================================================
   BLOG SECTION
   ========================================================================== */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.blog-card {
    background-color: var(--pure-white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: var(--transition-normal);
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.blog-card-img-wrapper {
    height: 200px;
    overflow: hidden;
}

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

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

.blog-card-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.blog-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 12px;
    font-size: 0.75rem;
    font-weight: 600;
}

.blog-date {
    color: var(--text-light);
}

.blog-category {
    background-color: rgba(233, 30, 140, 0.08);
    color: var(--accent-magenta);
    padding: 3px 8px;
    border-radius: var(--radius-sm);
    text-transform: uppercase;
}

.blog-card-content h3 {
    font-size: 1.2rem;
    margin-bottom: 12px;
    line-height: 1.4;
}

.blog-card-content h3 a {
    color: var(--deep-navy);
}

.blog-card-content h3 a:hover {
    color: var(--accent-magenta);
}

.blog-excerpt {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 20px;
    flex-grow: 1;
}

.blog-read-more {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--primary-blue);
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.blog-card:hover .blog-read-more {
    color: var(--accent-magenta);
}

.blog-card:hover .blog-read-more i {
    transform: translateX(4px);
}

/* ==========================================================================
   OPENING HOURS & LOCATION
   ========================================================================== */
.contact-block-grid {
    display: grid;
    grid-template-columns: 45% 50%;
    gap: 5%;
    align-items: stretch;
}

.hours-wrapper {
    background-color: var(--pure-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    padding: 40px;
    border-top: 4px solid var(--primary-blue);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.hours-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 30px;
}

.hours-table tr {
    border-bottom: 1px solid rgba(13, 31, 92, 0.08);
}

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

.hours-table td {
    padding: 12px 0;
    font-size: 0.95rem;
}

.hours-table td.day {
    font-weight: 600;
    color: var(--deep-navy);
}

.hours-table td.time {
    text-align: right;
    color: var(--text-secondary);
}

.emergency-highlight-box {
    background-color: rgba(0, 128, 128, 0.08);
    border-left: 4px solid var(--teal-emergency);
    padding: 20px;
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    font-size: 0.95rem;
}

.emergency-highlight-box p {
    margin-bottom: 0;
    color: var(--teal-emergency);
    font-weight: 500;
}

.emergency-highlight-box strong {
    font-weight: 700;
    font-size: 1.1rem;
    display: block;
    margin-top: 5px;
}

.map-wrapper {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    min-height: 400px;
}

.map-wrapper iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* ==========================================================================
   CONTACT US PAGE
   ========================================================================== */
.contact-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 60px;
}

.contact-action-card {
    background-color: var(--pure-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    padding: 40px 30px;
    text-align: center;
    border-top: 4px solid var(--accent-magenta);
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: var(--transition-normal);
}

.contact-action-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.contact-action-card:nth-child(2) {
    border-top-color: var(--teal-emergency);
}

.contact-action-card:nth-child(3) {
    border-top-color: var(--primary-blue);
}

.contact-card-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin-bottom: 25px;
}

.contact-action-card:nth-child(1) .contact-card-icon {
    background-color: rgba(37, 211, 102, 0.08);
    color: var(--whatsapp-green);
}

.contact-action-card:nth-child(2) .contact-card-icon {
    background-color: rgba(0, 128, 128, 0.08);
    color: var(--teal-emergency);
}

.contact-action-card:nth-child(3) .contact-card-icon {
    background-color: rgba(26, 58, 143, 0.08);
    color: var(--primary-blue);
}

.contact-action-card h3 {
    margin-bottom: 12px;
}

.contact-action-card p {
    font-size: 0.9rem;
    margin-bottom: 25px;
    color: var(--text-secondary);
    min-height: 48px;
}

/* ==========================================================================
   ENGAGEMENT WIDGETS
   ========================================================================== */

/* Floating WhatsApp Chat Button */
.whatsapp-floating-widget {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
    font-family: var(--font-body);
}

.whatsapp-trigger {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: var(--whatsapp-green);
    color: var(--pure-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    cursor: pointer;
    box-shadow: var(--shadow-green);
    transition: var(--transition-normal);
    border: none;
    outline: none;
    position: relative;
}

.whatsapp-trigger::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background-color: var(--whatsapp-green);
    opacity: 0.4;
    z-index: -1;
    animation: whatsappPulse 2s infinite;
}

.whatsapp-trigger:hover {
    transform: scale(1.08);
}

.whatsapp-trigger:hover::before {
    animation: none;
}

.whatsapp-popup-card {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 320px;
    background-color: var(--pure-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition-normal);
    border: 1px solid rgba(13, 31, 92, 0.08);
}

.whatsapp-popup-card.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.whatsapp-popup-header {
    background-color: var(--whatsapp-green);
    color: var(--pure-white);
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.whatsapp-doc-avatar {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background-color: var(--pure-white);
    padding: 2px;
    overflow: hidden;
}

.whatsapp-doc-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.whatsapp-doc-status h4 {
    color: var(--pure-white);
    margin-bottom: 2px;
    font-size: 0.95rem;
}

.whatsapp-doc-status span {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.85);
    display: flex;
    align-items: center;
    gap: 4px;
}

.whatsapp-doc-status span::before {
    content: '';
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #20ba56;
}

.whatsapp-popup-body {
    padding: 20px;
    background-color: #f7f9fa;
}

.whatsapp-msg-bubble {
    background-color: var(--pure-white);
    padding: 12px 15px;
    border-radius: 0 var(--radius-md) var(--radius-md) var(--radius-md);
    font-size: 0.85rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.03);
    margin-bottom: 15px;
    max-width: 85%;
    position: relative;
}

.whatsapp-msg-time {
    font-size: 0.7rem;
    color: var(--text-light);
    display: block;
    text-align: right;
    margin-top: 5px;
}

.whatsapp-popup-footer {
    padding: 15px 20px;
    background-color: var(--pure-white);
}

/* Floating "Am I a Candidate?" Pain Quiz Widget */
.quiz-floating-widget {
    position: fixed;
    bottom: 30px;
    left: 30px;
    z-index: 999;
    font-family: var(--font-body);
}

.quiz-trigger {
    background-color: var(--accent-magenta);
    color: var(--pure-white);
    border: none;
    padding: 14px 24px;
    border-radius: var(--radius-pill);
    font-weight: 700;
    font-size: 0.9rem;
    cursor: pointer;
    box-shadow: var(--shadow-magenta);
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition-normal);
}

.quiz-trigger:hover {
    transform: translateY(-3px);
    background-color: #d01579;
}

/* Quiz Modal */
.quiz-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(13, 31, 92, 0.85);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.quiz-modal.active {
    display: flex;
    opacity: 1;
}

.quiz-container {
    background-color: var(--pure-white);
    border-radius: var(--radius-lg);
    width: 100%;
    max-width: 500px;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    animation: zoomIn 0.3s ease;
    border-top: 4px solid var(--accent-magenta);
}

.quiz-header {
    background-color: var(--off-white);
    padding: 20px 25px;
    border-bottom: 1px solid rgba(13, 31, 92, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.quiz-header h3 {
    margin-bottom: 0;
    font-size: 1.25rem;
}

.quiz-close-btn {
    background: none;
    border: none;
    color: var(--text-light);
    font-size: 1.3rem;
    cursor: pointer;
    transition: var(--transition-fast);
}

.quiz-close-btn:hover {
    color: var(--accent-magenta);
}

.quiz-body {
    padding: 30px 25px;
}

.quiz-progress-bar-wrapper {
    height: 6px;
    background-color: rgba(13, 31, 92, 0.08);
    border-radius: var(--radius-sm);
    margin-bottom: 25px;
    overflow: hidden;
}

.quiz-progress-bar-fill {
    height: 100%;
    width: 33.33%;
    background-color: var(--accent-magenta);
    transition: var(--transition-normal);
}

.quiz-step {
    display: none;
}

.quiz-step.active {
    display: block;
}

.quiz-question {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    color: var(--deep-navy);
    font-weight: 700;
    margin-bottom: 20px;
}

.quiz-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.quiz-option-btn {
    background-color: var(--off-white);
    border: 1px solid rgba(13, 31, 92, 0.08);
    color: var(--deep-navy);
    padding: 12px 18px;
    border-radius: var(--radius-md);
    cursor: pointer;
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 0.95rem;
    text-align: left;
    transition: var(--transition-fast);
}

.quiz-option-btn:hover {
    background-color: rgba(26, 58, 143, 0.05);
    border-color: var(--primary-blue);
    color: var(--primary-blue);
}

.quiz-option-btn.selected {
    background-color: var(--primary-blue);
    border-color: var(--primary-blue);
    color: var(--pure-white);
}

.quiz-footer {
    padding: 0 25px 25px 25px;
    display: flex;
    justify-content: space-between;
}

.quiz-result-screen {
    text-align: center;
}

.quiz-result-icon {
    font-size: 3rem;
    color: #20ba56;
    margin-bottom: 15px;
}

.quiz-result-screen h4 {
    font-size: 1.25rem;
    margin-bottom: 10px;
}

.quiz-result-screen p {
    font-size: 0.9rem;
    margin-bottom: 20px;
}

/* Sticky "Book Appointment" Bar (Mobile-Only) */
.mobile-sticky-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 998;
    background-color: var(--pure-white);
    box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.1);
    display: none;
}

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

.mobile-cta-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 15px 0;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--pure-white);
    border: none;
    cursor: pointer;
    text-decoration: none;
}

.mobile-cta-call {
    background-color: var(--teal-emergency);
}

.mobile-cta-whatsapp {
    background-color: var(--whatsapp-green);
}

/* Google Reviews Badge */
.google-rating-badge-container {
    display: flex;
    justify-content: center;
    margin-top: 30px;
}

.google-rating-badge {
    background-color: var(--pure-white);
    border-radius: var(--radius-md);
    padding: 12px 25px;
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: center;
    gap: 15px;
    border: 1px solid rgba(13, 31, 92, 0.05);
    transition: var(--transition-fast);
}

.google-rating-badge:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.google-logo-icon {
    font-size: 1.5rem;
    color: #4285F4;
}

.google-rating-info {
    text-align: left;
}

.google-rating-score {
    font-weight: 700;
    color: var(--deep-navy);
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 4px;
}

.google-rating-score span {
    color: #ffc107;
}

.google-rating-reviews {
    font-size: 0.75rem;
    color: var(--text-light);
}

/* ==========================================================================
   FOOTER STRUCTURE
   ========================================================================== */
footer {
    background-color: var(--deep-navy);
    color: var(--pure-white);
    padding: 80px 0 20px 0;
    border-top: 4px solid var(--accent-magenta);
}

.footer-grid {
    display: grid;
    grid-template-columns: 28% 20% 20% 26%;
    gap: 4%;
    margin-bottom: 50px;
}

.footer-col-about .footer-logo {
    height: 50px;
    width: auto;
    object-fit: contain;
    margin-bottom: 20px;
}

.footer-col-about p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
    margin-bottom: 25px;
}

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

.footer-social-icon {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.08);
    color: var(--pure-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    transition: var(--transition-fast);
}

.footer-social-icon:hover {
    background-color: var(--accent-magenta);
    color: var(--pure-white);
    transform: translateY(-2px);
}

.footer-col h3 {
    color: var(--pure-white);
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 25px;
    position: relative;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 30px;
    height: 2px;
    background-color: var(--accent-magenta);
}

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

.footer-links-list a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition-fast);
}

.footer-links-list a::before {
    content: '\f105';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    font-size: 0.75rem;
    color: var(--accent-magenta);
    opacity: 0;
    transition: var(--transition-fast);
    display: inline-block;
    width: 0;
}

.footer-links-list a:hover {
    color: var(--pure-white);
    padding-left: 8px;
}

.footer-links-list a:hover::before {
    opacity: 1;
    width: 10px;
}

.footer-contact-info li {
    margin-bottom: 15px;
    display: flex;
    gap: 12px;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
}

.footer-contact-info i {
    color: var(--accent-magenta);
    font-size: 1.1rem;
    margin-top: 3px;
    flex-shrink: 0;
}

.footer-contact-info .btn-whatsapp {
    margin-top: 15px;
    padding: 10px 20px;
    font-size: 0.85rem;
}

.footer-bottom-bar {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
}

.footer-bottom-links {
    display: flex;
    gap: 15px;
}

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

.footer-bottom-links a:hover {
    color: var(--pure-white);
}

/* ==========================================================================
   ANIMATIONS
   ========================================================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes zoomIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

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

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

/* ==========================================================================
   RESPONSIVE DESIGN (MEDIA QUERIES)
   ========================================================================== */

/* Large Tablets & Small Desktops (max 1024px) */
@media (max-width: 1024px) {
    h1 { font-size: 2.2rem; }
    h2 { font-size: 1.8rem; }
    
    .about-grid, .why-grid, .contact-block-grid, .dr-profile-grid {
        grid-template-columns: 100%;
        gap: 40px;
    }
    
    .about-img-box, .why-img-box {
        max-width: 600px;
        margin: 0 auto;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .therapies-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .testimonial-slide {
        flex: 0 0 calc(50% - 15px);
    }
    
    .videos-grid, .blog-grid, .contact-cards-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
}

/* Medium Tablets & Mobile Devices (max 768px) */
@media (max-width: 768px) {
    header {
        height: 70px;
    }
    
    :root {
        --nav-height: 70px;
    }
    
    .top-bar {
        display: none; /* Hide top bar on mobile to save screen estate */
    }
    
    .mobile-menu-toggle {
        display: block;
        order: 3;
    }
    
    .logo-img {
        height: 45px;
    }
    
    /* Nav Menu for Mobile */
    .nav-menu {
        position: fixed;
        top: var(--nav-height);
        left: -100%;
        width: 100%;
        height: calc(100vh - var(--nav-height));
        background-color: var(--pure-white);
        flex-direction: column;
        align-items: flex-start;
        padding: 30px 20px;
        transition: var(--transition-normal);
        z-index: 999;
        overflow-y: auto;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-item {
        width: 100%;
        height: auto;
        display: block;
        margin-bottom: 15px;
    }
    
    .nav-link {
        padding: 12px 0;
        font-size: 1.1rem;
        height: auto;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    
    .nav-link::after {
        display: none; /* Hide hover line */
    }
    
    /* Mobile Dropdown styles */
    .dropdown-menu {
        position: static;
        transform: none;
        box-shadow: none;
        width: 100%;
        opacity: 1;
        visibility: visible;
        display: none; /* Toggle via JS */
        padding: 10px 0 10px 15px;
        background-color: rgba(13, 31, 92, 0.04);
        border-top: none;
        border-left: 2px solid var(--accent-magenta);
        margin-top: 5px;
    }
    
    .dropdown-link {
        color: var(--deep-navy);
        padding: 8px 10px;
    }
    
    .dropdown-link:hover {
        background-color: transparent;
        color: var(--accent-magenta);
        padding-left: 15px;
    }
    
    /* Nav CTA in Mobile Menu */
    .nav-item-cta {
        margin-top: 20px;
    }
    
    .nav-item-cta .btn {
        width: 100%;
    }
    
    /* Hero Section adjustments */
    .hero-slider-section {
        height: calc(100vh - var(--nav-height));
    }
    
    .slide-text h2 {
        font-size: 2.2rem;
    }
    
    .slide-text p {
        font-size: 1rem;
    }
    
    .info-bar-grid {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        max-width: 320px;
        margin: 0 auto;
        padding: 10px 0;
    }
    
    .info-bar-col {
        border-right: none;
        border-bottom: none;
        padding: 8px 0;
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: flex-start;
        gap: 15px;
    }
    
    /* Hide floating bar behind slider in mobile, or scroll down */
    .hero-slider-section {
        height: auto;
        min-height: auto;
    }
    
    .slider-container {
        height: 400px;
    }
    
    .slider-dots {
        bottom: 170px;
    }
    
    .floating-info-bar {
        position: static;
    }
    
    /* Ticker title hidden or wrapped */
    .ticker-title {
        font-size: 0.75rem;
        padding-right: 10px;
        margin-right: 10px;
    }
    
    /* Testimonial slider: 1 card visible on mobile */
    .testimonial-slide {
        flex: 0 0 100%;
    }
    
    .conditions-grid {
        grid-template-columns: 100%;
    }
    
    .journey-timeline-wrapper {
        flex-direction: column;
        gap: 30px;
        align-items: flex-start;
        padding-left: 20px;
    }
    
    .journey-connecting-line {
        top: 0;
        left: 52px;
        width: 4px;
        height: 80%;
    }
    
    .journey-step-item {
        width: 100%;
        flex-direction: row;
        text-align: left;
        gap: 20px;
    }
    
    .journey-step-circle {
        margin-bottom: 0;
        flex-shrink: 0;
    }
    
    .quiz-cta-box {
        flex-direction: column;
        text-align: center;
        padding: 30px 20px;
    }
    
    .quiz-cta-btn-wrapper {
        width: 100%;
    }
    
    .quiz-cta-btn-wrapper .btn {
        width: 100%;
    }
    
    .gallery-masonry {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 150px;
    }
    
    .gallery-item.wide {
        grid-column: span 1;
    }
    
    /* Show mobile-only elements */
    .mobile-sticky-cta {
        display: block;
    }
    
    /* Push content up to not get hidden by mobile CTA */
    body {
        padding-bottom: 50px;
    }
    
    /* Reposition widgets for mobile to avoid overlap */
    .whatsapp-floating-widget {
        display: none !important;
    }
    
    .quiz-floating-widget {
        bottom: 70px;
        left: 20px;
    }

    /* Prevent mobile menu submenus from shifting left on touch-hover */
    .nav-item:hover .dropdown-menu {
        transform: none !important;
        opacity: 1 !important;
        visibility: visible !important;
    }

    .dropdown-link {
        white-space: normal !important;
    }
}

/* Small Mobiles (max 480px) */
@media (max-width: 480px) {
    h1 { font-size: 1.8rem; }
    h2 { font-size: 1.5rem; }
    
    .stats-grid {
        grid-template-columns: 100%;
    }
    
    .therapies-grid, .videos-grid, .blog-grid, .contact-cards-grid, .footer-grid {
        grid-template-columns: 100%;
    }
    
    .gallery-masonry {
        grid-template-columns: 100%;
        grid-auto-rows: 200px;
    }
    
    .gallery-item.tall {
        grid-row: span 1;
    }
    
    .footer-bottom-bar {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}

/* ==========================================================================
   GLOBAL APP OVERRIDES & CORRECTIONS
   ========================================================================== */
.slider-arrow {
    display: none !important;
}

.top-bar a,
.floating-info-bar a,
.info-bar-col a {
    color: inherit !important;
    text-decoration: none !important;
}

/* ==========================================================================
   NAV SCALING — Prevent wrapping on medium desktops
   ========================================================================== */
.nav-link {
    white-space: nowrap;
}

@media (max-width: 1250px) and (min-width: 992px) {
    .nav-link {
        padding: 0 10px;
        font-size: 0.88rem;
    }
    .logo-img {
        height: 48px;
    }
    .nav-item-cta .btn {
        padding: 10px 18px;
        font-size: 0.88rem;
    }
}

@media (max-width: 1100px) and (min-width: 992px) {
    .nav-link {
        padding: 0 6px;
        font-size: 0.82rem;
    }
    .logo-img {
        height: 42px;
    }
    .nav-item-cta .btn {
        padding: 8px 14px;
        font-size: 0.8rem;
    }
}

/* Update mobile menu trigger breakpoint from 768px to 991px */
@media (max-width: 991px) {
    header {
        height: 70px;
    }

    :root {
        --nav-height: 70px;
    }

    .top-bar {
        display: none;
    }

    .mobile-menu-toggle {
        display: block;
        order: 3;
    }

    .logo-img {
        height: 45px;
    }

    .nav-menu {
        position: fixed;
        top: var(--nav-height);
        left: -100%;
        width: 100%;
        height: calc(100vh - var(--nav-height));
        background-color: var(--pure-white);
        flex-direction: column;
        align-items: flex-start;
        padding: 30px 20px;
        transition: var(--transition-normal);
        z-index: 999;
        overflow-y: auto;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-item {
        width: 100%;
        height: auto;
        display: block;
        margin-bottom: 15px;
    }

    .nav-link {
        padding: 12px 0;
        font-size: 1.1rem;
        height: auto;
        display: flex;
        justify-content: space-between;
        align-items: center;
        white-space: normal;
    }

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

    .dropdown-menu {
        position: static;
        transform: none;
        box-shadow: none;
        width: 100%;
        opacity: 1;
        visibility: visible;
        display: none;
        padding: 10px 0 10px 15px;
        background-color: rgba(13, 31, 92, 0.04);
        border-top: none;
        border-left: 2px solid var(--accent-magenta);
        margin-top: 5px;
    }

    .dropdown-link {
        color: var(--deep-navy);
        padding: 8px 10px;
    }

    .dropdown-link:hover {
        background-color: transparent;
        color: var(--accent-magenta);
        padding-left: 15px;
    }

    .nav-item-cta {
        margin-top: 20px;
    }

    .nav-item-cta .btn {
        width: 100%;
    }

    .hero-slider-section {
        height: calc(100vh - var(--nav-height));
    }

    .slide-text h2 {
        font-size: 2.2rem;
    }

    .slide-text p {
        font-size: 1rem;
    }

    .info-bar-grid {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        max-width: 320px;
        margin: 0 auto;
        padding: 10px 0;
    }

    .info-bar-col {
        border-right: none;
        border-bottom: none;
        padding: 8px 0;
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: flex-start;
        gap: 15px;
    }

    .hero-slider-section {
        height: auto;
        min-height: auto;
    }

    .slider-container {
        height: 400px;
    }

    .slider-dots {
        bottom: 170px;
    }

    .floating-info-bar {
        position: static;
    }

    .ticker-title {
        font-size: 0.75rem;
        padding-right: 10px;
        margin-right: 10px;
    }

    .testimonial-slide {
        flex: 0 0 100%;
    }

    .conditions-grid {
        grid-template-columns: 100%;
    }

    .journey-timeline-wrapper {
        flex-direction: column;
        gap: 30px;
        align-items: flex-start;
        padding-left: 20px;
    }

    .journey-connecting-line {
        top: 0;
        left: 52px;
        width: 4px;
        height: 80%;
    }

    .journey-step-item {
        width: 100%;
        flex-direction: row;
        text-align: left;
        gap: 20px;
    }

    .journey-step-circle {
        margin-bottom: 0;
        flex-shrink: 0;
    }

    .quiz-cta-box {
        flex-direction: column;
        text-align: center;
        padding: 30px 20px;
    }

    .quiz-cta-btn-wrapper {
        width: 100%;
    }

    .quiz-cta-btn-wrapper .btn {
        width: 100%;
    }

    .gallery-masonry {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 150px;
    }

    .gallery-item.wide {
        grid-column: span 1;
    }

    .mobile-sticky-cta {
        display: block;
    }

    body {
        padding-bottom: 50px;
    }

    .whatsapp-floating-widget {
        display: none !important;
    }

    .quiz-floating-widget {
        bottom: 70px;
        left: 20px;
    }

    .nav-item:hover .dropdown-menu {
        transform: none !important;
        opacity: 1 !important;
        visibility: visible !important;
    }

    .dropdown-link {
        white-space: normal !important;
    }

    /* 3-audience grid: stack on mobile */
    [style*="grid-template-columns: repeat(3, 1fr)"] {
        grid-template-columns: 1fr !important;
    }
}

/* Sub-page mobile padding fix */
@media (max-width: 991px) {
    .subpage-hero, .page-hero {
        padding-top: 40px !important;
        padding-bottom: 40px !important;
    }
}

/* Header spacing adjustment: more space before logo and after CTA button on desktop */
@media (min-width: 992px) {
    .nav-container {
        padding: 0 40px !important;
    }
}

/* ==========================================================================
   WHO WE TREAT SECTION
   ========================================================================== */
.treat-section {
    background-color: var(--off-white);
    padding: 80px 0;
}

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

.treat-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: var(--pure-white);
    border: 1px solid rgba(13, 31, 92, 0.06);
    border-radius: 16px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.treat-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(233, 30, 140, 0.2);
}

.treat-card-icon-wrapper {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 2.5rem;
    transition: all 0.3s ease;
}

.treat-card:hover .treat-card-icon-wrapper {
    transform: scale(1.1);
}

.treat-card-icon-wrapper.icon-blue {
    background: rgba(26, 58, 143, 0.06);
}

.treat-card-icon-wrapper.icon-magenta {
    background: rgba(233, 30, 140, 0.06);
}

.treat-card-icon-wrapper.icon-teal {
    background: rgba(0, 128, 128, 0.06);
}

.treat-card h3 {
    color: var(--deep-navy);
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.treat-card .conditions-list {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 12px;
}

.treat-card .highlight-info {
    color: var(--primary-blue);
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.treat-card .highlight-info i {
    font-size: 1.1rem;
}

.treat-card .btn {
    margin-top: auto;
    width: 100%;
    justify-content: center;
}

@media (max-width: 991px) {
    .treat-section {
        padding: 60px 0;
    }
    .treat-grid {
        grid-template-columns: 100% !important;
        gap: 24px;
    }
    .treat-card {
        padding: 30px 20px;
    }
}

