/* ==========================================
   DR. MANISH KUMAR MAHALA - CLINICAL DESIGN SYSTEM
   MEDICAL GRADIENTS, GLASSMORPHIC CARDS, IMAGES & PULSE
   ========================================== */

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

:root {
    --primary-h: 184;
    --primary-s: 80%;
    
    /* Medical Theme - Clinical Light Mode */
    --primary: hsl(var(--primary-h), var(--primary-s), 14%);
    --primary-light: hsl(var(--primary-h), var(--primary-s), 22%);
    --primary-soft: hsl(var(--primary-h), 25%, 90%);
    --secondary: hsl(var(--primary-h), 85%, 36%);
    --secondary-soft: hsl(var(--primary-h), 85%, 93%);
    --accent: hsl(38, 92%, 52%);
    --accent-dark: hsl(38, 92%, 42%);
    --accent-soft: hsl(38, 92%, 92%);
    
    /* Medical Gradient Page Background - soft clinical teals */
    --bg-body: linear-gradient(135deg, hsl(184, 45%, 93%) 0%, hsl(184, 25%, 96%) 100%);
    --bg-body-color: hsl(184, 35%, 95%);
    --bg-card: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.85) 100%);
    --bg-section-alt: linear-gradient(135deg, hsl(184, 40%, 91%) 0%, hsl(184, 20%, 94%) 100%);
    --bg-navbar: rgba(235, 245, 246, 0.85);
    
    --text-primary: hsl(var(--primary-h), 45%, 11%);
    --text-secondary: hsl(var(--primary-h), 12%, 32%);
    --text-muted: hsl(var(--primary-h), 10%, 48%);
    
    --border-color: rgba(15, 133, 140, 0.16);
    --border-glow: rgba(15, 133, 140, 0.35);
    
    --shadow-sm: 0 4px 15px rgba(9, 46, 51, 0.04);
    --shadow-md: 0 12px 35px rgba(9, 46, 51, 0.08);
    --shadow-lg: 0 25px 60px rgba(9, 46, 51, 0.14);
    
    /* Constants */
    --font-sans: 'Outfit', sans-serif;
    --font-serif: 'Playfair Display', serif;
    --radius-lg: 24px;
    --radius-md: 16px;
    --radius-sm: 12px;
    --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Clinical Dark Mode */
[data-theme="dark"] {
    --primary: hsl(var(--primary-h), 20%, 95%);
    --primary-light: hsl(var(--primary-h), 15%, 85%);
    --primary-soft: hsl(var(--primary-h), 40%, 14%);
    --secondary: hsl(var(--primary-h), 80%, 46%);
    --secondary-soft: hsl(var(--primary-h), 40%, 12%);
    
    /* Dark Obsidian Clinical Background */
    --bg-body: linear-gradient(135deg, hsl(var(--primary-h), 65%, 4%) 0%, hsl(var(--primary-h), 45%, 7%) 100%);
    --bg-body-color: hsl(var(--primary-h), 55%, 5%);
    --bg-card: linear-gradient(135deg, hsl(var(--primary-h), 50%, 10%) 0%, hsl(var(--primary-h), 60%, 7%) 100%);
    --bg-section-alt: linear-gradient(135deg, hsl(var(--primary-h), 60%, 7%) 0%, hsl(var(--primary-h), 50%, 9%) 100%);
    --bg-navbar: rgba(6, 18, 20, 0.85);
    
    --text-primary: hsl(var(--primary-h), 15%, 92%);
    --text-secondary: hsl(var(--primary-h), 10%, 76%);
    --text-muted: hsl(var(--primary-h), 8%, 55%);
    
    --border-color: rgba(24, 185, 196, 0.18);
    --border-glow: rgba(24, 185, 196, 0.45);
    
    --shadow-sm: 0 4px 15px rgba(0, 0, 0, 0.4);
    --shadow-md: 0 12px 35px rgba(0, 0, 0, 0.55);
    --shadow-lg: 0 25px 60px rgba(0, 0, 0, 0.7);
}

/* --- Global Resets & Setup --- */
* {
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
    font-size: 16px;
}
body {
    font-family: var(--font-sans);
    background: var(--bg-body);
    background-color: var(--bg-body-color);
    color: var(--text-secondary);
    margin: 0;
    overflow-x: hidden;
    line-height: 1.7;
    transition: background 0.4s ease, color 0.4s ease;
}
h1, h2, h3, h4, h5, h6 {
    color: var(--text-primary);
    font-weight: 700;
    line-height: 1.25;
    margin-top: 0;
    transition: color 0.4s ease;
}
p {
    margin-bottom: 1.25rem;
}
a {
    color: var(--secondary);
    text-decoration: none;
    transition: var(--transition);
}
a:hover {
    color: var(--accent);
}
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: var(--bg-body-color);
}
::-webkit-scrollbar-thumb {
    background: var(--secondary);
    border-radius: 99px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--accent);
}

/* --- Layout Utility Classes --- */
.section-padding {
    padding: 100px 0;
}
.section-padding-sm {
    padding: 70px 0;
}
.section-alt, .bg-light {
    background: var(--bg-section-alt) !important;
}
.glass-effect {
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-md);
}

/* --- ECG Pulse Animation --- */
@keyframes ecgPulse {
    0% { box-shadow: 0 0 0 0 rgba(15, 133, 140, 0.45); }
    70% { box-shadow: 0 0 0 15px rgba(15, 133, 140, 0); }
    100% { box-shadow: 0 0 0 0 rgba(15, 133, 140, 0); }
}
.ecg-pulse-element {
    animation: ecgPulse 2s infinite;
}

/* --- Premium Buttons --- */
.btn-premium {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    font-weight: 600;
    font-size: 15px;
    border-radius: 50px;
    overflow: hidden;
    z-index: 1;
    border: none;
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(15, 133, 140, 0.2);
    transition: var(--transition);
}
.btn-premium-primary {
    background: linear-gradient(135deg, var(--secondary), var(--primary-light));
    color: #ffffff !important;
}
.btn-premium-primary::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    z-index: -1;
    transition: opacity 0.5s ease;
    opacity: 0;
}
.btn-premium-primary:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(245, 169, 37, 0.35);
}
.btn-premium-primary:hover::before {
    opacity: 1;
}
.btn-premium-white {
    background: #ffffff;
    color: hsl(184, 80%, 15%) !important;
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}
.btn-premium-white:hover {
    background: var(--accent);
    color: hsl(184, 80%, 15%) !important;
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(245, 169, 37, 0.35);
}
.btn-premium-outline {
    background: transparent;
    color: var(--text-primary) !important;
    border: 2px solid var(--secondary);
    box-shadow: none;
}
.btn-premium-outline:hover {
    background: var(--secondary);
    color: #ffffff !important;
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(15, 133, 140, 0.2);
}

/* --- Section Headers --- */
.section-title-wrapper {
    max-width: 750px;
    margin: 0 auto 55px;
    text-align: center;
}
.section-badge {
    display: inline-block;
    padding: 6px 18px;
    font-size: 12.5px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--secondary);
    background: var(--secondary-soft);
    border: 1px solid var(--border-color);
    border-radius: 50px;
    margin-bottom: 18px;
}
.section-title {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 3.5vw, 2.75rem);
    color: var(--text-primary);
    margin-bottom: 18px;
}
.section-subtitle {
    color: var(--text-secondary);
    font-size: 16.5px;
}

/* --- Theme Switch Toggle --- */
.theme-switch {
    display: inline-flex;
    align-items: center;
    background: rgba(15, 133, 140, 0.15);
    padding: 4px;
    border-radius: 50px;
    cursor: pointer;
    position: relative;
    width: 60px;
    height: 30px;
    border: 1px solid var(--border-color);
}
.theme-switch-thumb {
    position: absolute;
    top: 2px;
    left: 2px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
[data-theme="dark"] .theme-switch-thumb {
    transform: translateX(30px);
    background: var(--accent);
    color: #000000;
}

/* --- Header & Navigation --- */
.topbar {
    background: var(--primary);
    color: rgba(255, 255, 255, 0.85);
    font-size: 13.5px;
    padding: 9px 0;
}
.topbar-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}
.topbar-contacts {
    display: flex;
    gap: 25px;
}
.topbar-contacts a {
    color: rgba(255, 255, 255, 0.85);
}
.topbar-contacts a:hover {
    color: var(--accent);
}
.topbar-socials {
    display: flex;
    gap: 15px;
}
.topbar-socials a {
    color: rgba(255, 255, 255, 0.85);
}
.topbar-socials a:hover {
    color: var(--accent);
    transform: translateY(-2px);
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--bg-navbar);
    border-bottom: 1px solid var(--border-color);
    backdrop-filter: blur(20px);
    transition: var(--transition);
}
.site-header.scrolled {
    padding: 8px 0;
    box-shadow: var(--shadow-md);
}
.navbar-brand-custom {
    display: flex;
    align-items: center;
    gap: 12px;
}
.brand-icon-wrapper {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--secondary), var(--primary-light));
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 20px;
    box-shadow: 0 6px 16px rgba(15, 133, 140, 0.3);
}
.brand-text strong {
    display: block;
    color: var(--text-primary);
    font-size: 19px;
    font-weight: 800;
    line-height: 1.1;
}
.brand-text span {
    display: block;
    font-size: 11.5px;
    color: var(--text-muted);
    font-weight: 500;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.nav-links-custom {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}
.nav-links-custom > li > a {
    display: block;
    padding: 10px 16px;
    font-size: 14.5px;
    font-weight: 600;
    color: var(--text-primary);
    border-radius: 50px;
}
.nav-links-custom > li > a:hover,
.nav-links-custom > li > a.active {
    color: var(--secondary);
    background: var(--secondary-soft);
}
.nav-links-custom .dropdown-menu-custom {
    position: absolute;
    top: 110%;
    left: 0;
    width: 250px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-lg);
    border-radius: var(--radius-md);
    padding: 10px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
}
.nav-links-custom .dropdown:hover .dropdown-menu-custom {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.dropdown-menu-custom li a {
    display: block;
    padding: 10px 16px;
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 14px;
    border-radius: var(--radius-sm);
}
.dropdown-menu-custom li a:hover {
    color: var(--secondary);
    background: var(--secondary-soft);
    padding-left: 20px;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}
.nav-toggle-custom {
    display: none;
    border: none;
    background: var(--border-color);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    position: relative;
    cursor: pointer;
}
.nav-toggle-custom span {
    position: absolute;
    left: 11px;
    width: 18px;
    height: 2px;
    background: var(--text-primary);
    transition: var(--transition);
}
.nav-toggle-custom span:nth-child(1) { top: 14px; }
.nav-toggle-custom span:nth-child(2) { top: 19px; }
.nav-toggle-custom span:nth-child(3) { top: 24px; }
.nav-toggle-custom.active span:nth-child(1) { transform: rotate(45deg); top: 19px; }
.nav-toggle-custom.active span:nth-child(2) { opacity: 0; }
.nav-toggle-custom.active span:nth-child(3) { transform: rotate(-45deg); top: 19px; }

/* --- Hero Section --- */
.hero-section {
    position: relative;
    padding: 140px 0 100px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--bg-body-color), var(--secondary-soft));
    transition: background-color 0.4s ease;
}
.hero-shapes {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}
.hero-shape-1 {
    position: absolute;
    top: -10%; right: -5%;
    width: 500px; height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(15, 133, 140, 0.15) 0%, transparent 70%);
}
.hero-shape-2 {
    position: absolute;
    bottom: -15%; left: -5%;
    width: 600px; height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(245, 169, 37, 0.1) 0%, transparent 70%);
}
.hero-content-col {
    position: relative;
    z-index: 2;
}
.hero-eyebrow {
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--secondary);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
}
.hero-eyebrow::before {
    content: '';
    width: 24px; height: 2px;
    background: var(--secondary);
}
.hero-title-main {
    font-family: var(--font-serif);
    font-size: clamp(2.5rem, 5vw, 4rem);
    color: var(--text-primary);
    line-height: 1.1;
    margin-bottom: 24px;
}
.hero-desc {
    font-size: 17px;
    color: var(--text-secondary);
    margin-bottom: 35px;
    max-width: 600px;
}
.hero-btns {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}
.hero-stats-row {
    display: flex;
    gap: 35px;
    border-top: 1px solid var(--border-color);
    padding-top: 25px;
}
.hero-stat-item h3 {
    font-size: 28px;
    font-weight: 800;
    color: var(--secondary);
    margin-bottom: 4px;
}
.hero-stat-item p {
    font-size: 13.5px;
    color: var(--text-muted);
    font-weight: 600;
    margin: 0;
}

.hero-visual-col {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: center;
    align-items: center;
}
.hero-image-wrapper {
    position: relative;
    width: 100%;
    max-width: 440px;
}
.hero-image-backdrop {
    position: absolute;
    inset: -15px;
    background: linear-gradient(135deg, var(--secondary), var(--accent));
    border-radius: var(--radius-lg);
    transform: rotate(3deg);
    z-index: -1;
    opacity: 0.15;
}
.hero-doctor-img {
    width: 100%;
    height: 480px;
    object-fit: cover;
    object-position: top;
    border-radius: var(--radius-lg);
    border: 5px solid var(--bg-card);
    box-shadow: var(--shadow-lg);
}
.floating-glass-card {
    position: absolute;
    bottom: 25px;
    left: -30px;
    background: var(--bg-card);
    backdrop-filter: blur(12px);
    border: 1px solid var(--border-color);
    padding: 16px 24px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 15px;
}
.floating-glass-card .icon-badge {
    width: 42px; height: 42px;
    border-radius: 12px;
    background: var(--accent-soft);
    color: var(--accent-dark);
    display: flex; align-items: center; justify-content: center;
    font-size: 20px;
}
.floating-glass-card h5 {
    font-size: 15px;
    margin: 0 0 2px;
}
.floating-glass-card p {
    font-size: 12.5px;
    color: var(--text-muted);
    margin: 0;
    font-weight: 500;
}

/* --- Trust Strip --- */
.trust-strip-sec {
    padding: 0;
    margin-top: -45px;
    position: relative;
    z-index: 10;
}
.trust-card {
    padding: 24px 30px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    background: var(--bg-card);
    display: flex;
    align-items: center;
    gap: 20px;
    height: 100%;
    transition: var(--transition);
}
.trust-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--border-glow);
}
.trust-icon-box {
    width: 52px; height: 52px;
    border-radius: 14px;
    background: var(--secondary-soft);
    color: var(--secondary);
    display: flex; align-items: center; justify-content: center;
    font-size: 22px;
}
.trust-info h4 {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 4px;
}
.trust-info p {
    font-size: 13.5px;
    color: var(--text-muted);
    margin: 0;
}

/* --- Features / Why Choose Us --- */
.feature-card-custom {
    padding: 40px 30px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    background: var(--bg-card);
    box-shadow: var(--shadow-sm);
    height: 100%;
    text-align: center;
    transition: var(--transition);
}
.feature-card-custom:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--border-glow);
}
.feature-icon-wrapper {
    width: 70px; height: 70px;
    border-radius: 20px;
    background: linear-gradient(135deg, var(--secondary-soft), rgba(245,169,37,0.1));
    color: var(--secondary);
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 28px;
    margin-bottom: 24px;
    transition: var(--transition);
}
.feature-card-custom:hover .feature-icon-wrapper {
    background: linear-gradient(135deg, var(--secondary), var(--accent));
    color: #ffffff;
    transform: rotate(6deg);
}
.feature-card-custom h4 {
    font-size: 19px;
    margin-bottom: 12px;
}
.feature-card-custom p {
    font-size: 14.5px;
    color: var(--text-secondary);
    margin: 0;
}

/* --- Doctor Section / About Home --- */
.doc-section {
    background: var(--bg-section-alt);
}
.doc-visual-box {
    position: relative;
    padding: 15px;
}
.doc-visual-backdrop {
    position: absolute;
    inset: 0;
    border-radius: var(--radius-lg);
    background: var(--secondary-soft);
    transform: rotate(-3deg);
    z-index: 0;
    border: 1px solid var(--border-color);
}
.doc-img {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 520px;
    object-fit: cover;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    border: 4px solid var(--bg-card);
}
.doc-badge-experience {
    position: absolute;
    bottom: 40px;
    right: -20px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-lg);
    border-radius: var(--radius-md);
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 2;
}
.doc-badge-experience strong {
    font-size: 32px;
    font-weight: 900;
    color: var(--secondary);
    line-height: 1;
}
.doc-badge-experience span {
    font-size: 13px;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.2;
}

.doc-info-content h2 {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 3.2vw, 2.5rem);
    margin-bottom: 10px;
}
.doc-subtitle-degree {
    color: var(--secondary);
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 25px;
    display: block;
}
.doc-points-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin: 30px 0;
}
.doc-point-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    background: var(--bg-card);
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-color);
    font-weight: 600;
    font-size: 14.5px;
    color: var(--text-primary);
}
.doc-point-item i {
    color: var(--secondary);
}

/* --- Services Grid Section (WITH IMAGES) --- */
.services-section-wrapper {
    background: var(--bg-body);
}
.service-card-premium {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    z-index: 1;
    transition: var(--transition);
}
.service-card-premium:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--border-glow);
}
.service-image-container {
    position: relative;
    height: 200px;
    overflow: hidden;
}
.service-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.service-card-premium:hover .service-image-container img {
    transform: scale(1.08);
}
.service-image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(9, 46, 51, 0) 60%, rgba(9, 46, 51, 0.4) 100%);
}
.service-card-body {
    padding: 24px 28px 28px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}
.service-card-icon-floater {
    width: 50px; height: 50px;
    border-radius: 12px;
    background: var(--bg-card);
    color: var(--secondary);
    border: 1px solid var(--border-color);
    display: flex; align-items: center; justify-content: center;
    font-size: 20px;
    margin-top: -45px;
    margin-bottom: 16px;
    position: relative;
    z-index: 5;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}
.service-card-premium:hover .service-card-icon-floater {
    background: var(--secondary);
    color: #ffffff;
    border-color: var(--secondary);
}
.service-card-premium h4 {
    font-size: 18px;
    margin-bottom: 12px;
    font-weight: 700;
}
.service-card-premium p {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 20px;
    flex-grow: 1;
}
.service-card-link {
    font-weight: 700;
    font-size: 13.5px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--secondary);
    margin-top: auto;
}
.service-card-premium:hover .service-card-link {
    color: var(--accent-dark);
}
.service-card-link i {
    transition: transform 0.3s ease;
}
.service-card-premium:hover .service-card-link i {
    transform: translateX(5px);
}

/* --- Stats banner Section --- */
.stats-banner-sec {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    position: relative;
    overflow: hidden;
    padding: 70px 0;
}
.stats-box-premium {
    text-align: center;
    padding: 20px;
    color: #ffffff;
    height: 100%;
}
.stats-box-icon {
    font-size: 32px;
    color: var(--accent);
    margin-bottom: 16px;
}
.stats-box-premium h2 {
    font-size: 42px;
    font-weight: 900;
    color: #ffffff;
    margin-bottom: 6px;
}
.stats-box-premium p {
    font-size: 14.5px;
    font-weight: 600;
    letter-spacing: 0.5px;
    color: rgba(255,255,255,0.75);
    margin: 0;
}

/* --- Case Studies & Awareness --- */
.case-card-premium {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    height: 100%;
    transition: var(--transition);
}
.case-card-premium:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--border-glow);
}
.case-img-container {
    position: relative;
    overflow: hidden;
    height: 250px;
}
.case-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}
.case-card-premium:hover .case-img-container img {
    transform: scale(1.08);
}
.case-category {
    position: absolute;
    top: 15px; left: 15px;
    padding: 5px 12px;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    color: #ffffff;
    background: var(--secondary);
    border-radius: 4px;
}
.case-content-box {
    padding: 24px;
}
.case-content-box h4 {
    font-size: 18px;
    margin-bottom: 10px;
}
.case-content-box p {
    font-size: 14px;
    color: var(--text-secondary);
    margin: 0;
}

/* --- Health Videos Section --- */
.videos-section {
    background: var(--bg-section-alt);
}
.video-card-premium {
    position: relative;
    height: 380px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    cursor: pointer;
    background: #000000;
}
.video-card-premium video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.75;
    transition: transform 0.6s ease, opacity 0.4s ease;
}
.video-card-premium:hover video {
    transform: scale(1.05);
    opacity: 0.9;
}
.video-play-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 25px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0) 60%);
}
.video-play-icon {
    width: 60px; height: 60px;
    border-radius: 50%;
    background: #ffffff;
    align-self: center;
    margin-top: auto;
    margin-bottom: auto;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
    transition: var(--transition);
}
.video-play-icon i {
    font-size: 20px;
    color: var(--secondary);
    margin-left: 4px;
}
.video-card-premium:hover .video-play-icon {
    background: var(--accent);
    transform: scale(1.1);
}
.video-card-premium:hover .video-play-icon i {
    color: hsl(184, 80%, 15%);
}
.video-card-title {
    color: #ffffff;
    font-size: 16px;
    font-weight: 700;
    margin: 0;
}

/* Video Modal */
.video-modal-custom {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.9);
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.video-modal-custom.active {
    display: flex;
}
.video-modal-content {
    position: relative;
    width: 100%;
    max-width: 900px;
    background: #000000;
    border-radius: var(--radius-md);
    overflow: hidden;
}
.video-modal-content video {
    width: 100%;
    height: auto;
    max-height: 80vh;
    display: block;
}
.video-modal-close {
    position: absolute;
    top: 15px; right: 20px;
    color: #ffffff;
    font-size: 32px;
    cursor: pointer;
    z-index: 10;
}

/* --- Call To Action (CTA) --- */
.cta-sec-premium {
    background: var(--bg-body);
}
.cta-box-premium {
    padding: 50px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
    border: 1px solid rgba(255,255,255,0.05);
}
.cta-box-premium::before {
    content: '';
    position: absolute;
    top: -50%; right: -20%;
    width: 300px; height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(245, 169, 37, 0.15) 0%, transparent 70%);
}
.cta-text-side {
    position: relative;
    z-index: 2;
    max-width: 650px;
}
.cta-text-side span {
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--accent);
    margin-bottom: 8px;
    display: inline-block;
}
.cta-text-side h2 {
    color: #ffffff;
    font-family: var(--font-serif);
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    margin-bottom: 12px;
}
.cta-text-side p {
    color: rgba(255, 255, 255, 0.85);
    margin: 0;
}
.cta-btn-side {
    position: relative;
    z-index: 2;
}

/* --- Contact Page Specific --- */
.contact-grid-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    padding: 45px;
}
.contact-line-premium {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    padding: 20px;
    background: var(--bg-section-alt);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    margin-bottom: 20px;
}
.contact-line-icon {
    width: 48px; height: 48px;
    border-radius: 12px;
    background: var(--secondary-soft);
    color: var(--secondary);
    display: flex; align-items: center; justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}
.contact-line-info h6 {
    font-size: 15px;
    margin-bottom: 4px;
}
.contact-line-info p {
    margin: 0;
    font-size: 14px;
    color: var(--text-secondary);
}
.form-group-premium {
    margin-bottom: 20px;
}
.form-group-premium label {
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 8px;
    color: var(--text-primary);
}
.form-control-premium {
    width: 100%;
    padding: 12px 18px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    background: var(--bg-section-alt);
    color: var(--text-primary);
    transition: var(--transition);
    font-size: 14.5px;
}
.form-control-premium:focus {
    border-color: var(--secondary);
    background: var(--bg-card);
    box-shadow: 0 0 0 4px rgba(15, 133, 140, 0.1);
    outline: none;
}
.map-container-premium {
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 8px solid var(--bg-card);
    box-shadow: var(--shadow-lg);
}

/* --- Gallery Page Specific --- */
.gallery-grid-item {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    height: 320px;
    border: 3px solid var(--bg-card);
    transition: var(--transition);
}
.gallery-grid-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}
.gallery-grid-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}
.gallery-grid-item:hover img {
    transform: scale(1.06);
}
.gallery-item-caption {
    position: absolute;
    inset: auto 15px 15px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 15px 20px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    transform: translateY(10px);
    opacity: 0;
    transition: var(--transition);
}
.gallery-grid-item:hover .gallery-item-caption {
    transform: translateY(0);
    opacity: 1;
}
.gallery-item-caption h5 {
    margin: 0;
    font-size: 15px;
    font-weight: 700;
}

/* --- Inner Page Hero Banner --- */
.page-hero-banner {
    padding: 110px 0;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    position: relative;
    overflow: hidden;
    text-align: center;
}
.page-hero-banner::before {
    content: '';
    position: absolute;
    bottom: -150px; right: -150px;
    width: 350px; height: 350px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(245, 169, 37, 0.12) 0%, transparent 70%);
}
.page-hero-content {
    position: relative;
    z-index: 2;
    color: #ffffff;
}
.page-hero-content h1 {
    font-family: var(--font-serif);
    font-size: clamp(2.2rem, 4.5vw, 3.5rem);
    color: #ffffff;
    margin-bottom: 12px;
}
.page-hero-content p {
    color: rgba(255,255,255,0.85);
    font-size: 17px;
    max-width: 700px;
    margin: 0 auto;
}

/* --- Service Details Page Specific --- */
.service-details-visual {
    position: relative;
}
.service-details-visual img {
    border-radius: var(--radius-lg);
    width: 100%;
    height: 440px;
    object-fit: cover;
    box-shadow: var(--shadow-lg);
    border: 4px solid var(--bg-card);
}
.service-details-badge {
    position: absolute;
    bottom: 25px; left: 25px;
    padding: 8px 18px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    font-weight: 700;
    font-size: 14px;
    border-radius: 50px;
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    gap: 8px;
}
.service-details-content h2 {
    font-family: var(--font-serif);
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    margin-bottom: 15px;
}
.treatment-checklist-custom {
    list-style: none;
    padding: 0;
    margin: 25px 0;
}
.treatment-checklist-custom li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: var(--bg-card);
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-color);
    margin-bottom: 12px;
    font-weight: 600;
    font-size: 14.5px;
    color: var(--text-primary);
}
.treatment-checklist-custom i {
    color: var(--secondary);
    font-size: 17px;
}

/* Timeline Process Indicators */
.timeline-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 40px 30px;
    text-align: center;
    height: 100%;
    position: relative;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}
.timeline-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--border-glow);
}
.timeline-number {
    width: 50px; height: 50px;
    border-radius: 50%;
    background: var(--secondary-soft);
    color: var(--secondary);
    display: flex; align-items: center; justify-content: center;
    font-weight: 800;
    font-size: 20px;
    margin: 0 auto 24px;
    box-shadow: 0 4px 10px rgba(15, 133, 140, 0.1);
}
.timeline-card:hover .timeline-number {
    background: var(--secondary);
    color: #ffffff;
}
.timeline-card h4 {
    font-size: 18px;
    margin-bottom: 12px;
}
.timeline-card p {
    font-size: 14px;
    color: var(--text-secondary);
    margin: 0;
}

/* --- Floating Call Actions & WhatsApp --- */
.floating-actions-wrapper {
    position: fixed;
    right: 25px;
    bottom: 25px;
    z-index: 2000;
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.float-btn-item {
    width: 52px; height: 52px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 20px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    position: relative;
    transition: var(--transition);
}
.float-btn-item:hover {
    color: #ffffff;
    transform: scale(1.1) translateY(-3px);
}
.float-btn-item.float-call {
    background: var(--secondary);
}
.float-btn-item.float-whatsapp {
    background: #25D366;
}
.float-btn-item::after {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 2px solid currentColor;
    opacity: 0.4;
    animation: pulseGlow 1.8s infinite;
}
@keyframes pulseGlow {
    0% { transform: scale(1); opacity: 0.4; }
    100% { transform: scale(1.4); opacity: 0; }
}

/* --- Footer Area --- */
.main-site-footer {
    background: var(--primary);
    color: rgba(255, 255, 255, 0.7);
    padding-top: 80px;
    font-size: 14.5px;
    border-top: 1px solid rgba(255,255,255,0.06);
}
.footer-logo-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}
.footer-logo-wrapper .brand-icon-wrapper {
    box-shadow: none;
}
.footer-logo-wrapper h4 {
    color: #ffffff;
    font-size: 20px;
    font-weight: 800;
    margin: 0;
}
.footer-logo-wrapper p {
    color: rgba(255, 255, 255, 0.65);
    font-size: 11px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin: 0;
}
.footer-about-text {
    margin-bottom: 25px;
}
.footer-social-links {
    display: flex;
    gap: 12px;
}
.footer-social-links a {
    width: 36px; height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,0.06);
    color: #ffffff;
    display: flex; align-items: center; justify-content: center;
    font-size: 14px;
}
.footer-social-links a:hover {
    background: var(--accent);
    color: #000000;
    transform: translateY(-3px);
}
.footer-column-title {
    color: #ffffff;
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 24px;
    position: relative;
    padding-bottom: 10px;
}
.footer-column-title::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 40px; height: 2px;
    background: var(--accent);
}
.footer-quick-links {
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer-quick-links li {
    margin-bottom: 12px;
}
.footer-quick-links a {
    color: rgba(255, 255, 255, 0.7);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.footer-quick-links a:hover {
    color: var(--accent);
    transform: translateX(4px);
}
.footer-contact-details {
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.footer-contact-item {
    display: flex;
    gap: 12px;
}
.footer-contact-item i {
    color: var(--accent);
    margin-top: 4px;
}
.footer-contact-item a {
    color: rgba(255, 255, 255, 0.7);
}
.footer-contact-item a:hover {
    color: var(--accent);
}
.footer-bottom-bar {
    margin-top: 60px;
    padding: 20px 0;
    border-top: 1px solid rgba(255,255,255,0.06);
    font-size: 13px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 15px;
}
.footer-bottom-bar p {
    margin: 0;
}

/* --- Scroll Animations (IntersectionObserver triggers) --- */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}
.delay-100 { transition-delay: 100ms; }
.delay-200 { transition-delay: 200ms; }
.delay-300 { transition-delay: 300ms; }
.delay-400 { transition-delay: 400ms; }

/* --- Responsive Adjustments --- */
@media (max-width: 991.98px) {
    .nav-links-custom {
        position: fixed;
        top: 0;
        left: -100%;
        width: 300px;
        height: 100vh;
        background: var(--bg-card);
        flex-direction: column;
        align-items: flex-start;
        padding: 80px 30px;
        gap: 15px;
        box-shadow: var(--shadow-lg);
        transition: left 0.4s cubic-bezier(0.16, 1, 0.3, 1);
        z-index: 999;
    }
    .nav-links-custom.show {
        left: 0;
    }
    .nav-toggle-custom {
        display: block;
        z-index: 1000;
    }
    .nav-links-custom .dropdown-menu-custom {
        position: static;
        opacity: 1;
        visibility: visible;
        box-shadow: none;
        border: none;
        background: transparent;
        transform: none;
        padding-left: 20px;
        display: none;
    }
    .nav-links-custom .dropdown.active .dropdown-menu-custom {
        display: block;
    }
    .hero-section {
        padding: 100px 0 60px;
    }
    .hero-image-wrapper {
        margin-top: 50px;
    }
    .trust-strip-sec {
        margin-top: 30px;
    }
    .cta-box-premium {
        padding: 30px;
        text-align: center;
        justify-content: center;
    }
}

@media (max-width: 767.98px) {
    .section-padding {
        padding: 60px 0;
    }
    .section-padding-sm {
        padding: 40px 0;
    }
    .doc-img {
        height: 380px;
    }
    .doc-badge-experience {
        right: 0;
        bottom: 10px;
    }
    .doc-points-grid {
        grid-template-columns: 1fr;
    }
}

/* =========================================================
   PREMIUM DOCTOR WEBSITE POLISH - v2 PROFESSIONAL CLINICAL UI
   Added for stronger doctor-brand look, depth, card layout,
   refined backgrounds, image treatment and motion effects.
   ========================================================= */
:root {
    --primary: #082f49;
    --primary-light: #0f4c75;
    --primary-soft: #e9f7fb;
    --secondary: #088ea3;
    --secondary-soft: #e5fbff;
    --accent: #d7a444;
    --accent-dark: #b98624;
    --accent-soft: #fff4d8;
    --bg-body: radial-gradient(circle at 8% 8%, rgba(8, 142, 163, 0.12), transparent 34%), radial-gradient(circle at 90% 12%, rgba(215, 164, 68, 0.14), transparent 30%), linear-gradient(135deg, #f7fcff 0%, #edf7fb 44%, #f9fcfd 100%);
    --bg-body-color: #f4fbfd;
    --bg-card: linear-gradient(145deg, rgba(255,255,255,.98), rgba(244,251,253,.9));
    --bg-section-alt: linear-gradient(135deg, rgba(230,248,252,.92), rgba(255,255,255,.92));
    --bg-navbar: rgba(255,255,255,.82);
    --text-primary: #082638;
    --text-secondary: #355769;
    --text-muted: #6d8490;
    --border-color: rgba(8, 142, 163, .18);
    --border-glow: rgba(8, 142, 163, .38);
    --shadow-sm: 0 8px 22px rgba(8, 47, 73, .08);
    --shadow-md: 0 18px 45px rgba(8, 47, 73, .12);
    --shadow-lg: 0 30px 80px rgba(8, 47, 73, .18);
}
[data-theme="dark"] {
    --primary: #dffcff;
    --primary-light: #9ee9f3;
    --primary-soft: rgba(11, 65, 87, .85);
    --secondary: #22d3ee;
    --secondary-soft: rgba(34, 211, 238, .12);
    --accent: #f2c46d;
    --accent-dark: #d9a140;
    --accent-soft: rgba(242, 196, 109, .13);
    --bg-body: radial-gradient(circle at 10% 10%, rgba(34, 211, 238, .12), transparent 35%), radial-gradient(circle at 85% 15%, rgba(242,196,109,.11), transparent 30%), linear-gradient(135deg, #061621 0%, #071d29 54%, #041018 100%);
    --bg-body-color: #061621;
    --bg-card: linear-gradient(145deg, rgba(10, 37, 52, .96), rgba(4, 23, 34, .92));
    --bg-section-alt: linear-gradient(135deg, rgba(7, 31, 45, .95), rgba(8, 45, 57, .82));
    --bg-navbar: rgba(6, 22, 33, .82);
    --text-primary: #eefcff;
    --text-secondary: #c3dce3;
    --text-muted: #85a6b1;
    --border-color: rgba(34, 211, 238, .18);
    --border-glow: rgba(34, 211, 238, .45);
    --shadow-sm: 0 8px 22px rgba(0, 0, 0, .28);
    --shadow-md: 0 18px 45px rgba(0, 0, 0, .38);
    --shadow-lg: 0 30px 80px rgba(0, 0, 0, .48);
}
body {
    background-attachment: fixed;
    min-height: 100vh;
}
body::before {
    content: '';
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: -1;
    background-image: radial-gradient(rgba(8,142,163,.13) 1px, transparent 1px);
    background-size: 26px 26px;
    mask-image: linear-gradient(to bottom, rgba(0,0,0,.8), rgba(0,0,0,.18));
}
::selection { background: var(--secondary); color: #fff; }
.container { position: relative; z-index: 1; }

/* Smooth loader + progress */
.clinic-loader {
    position: fixed;
    inset: 0;
    z-index: 20000;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-body);
    transition: opacity .45s ease, visibility .45s ease;
}
.clinic-loader.hidden { opacity: 0; visibility: hidden; }
.loader-heart {
    width: 76px;
    height: 76px;
    border-radius: 24px;
    background: linear-gradient(135deg, var(--secondary), var(--primary-light));
    color: #fff;
    display: grid;
    place-items: center;
    font-size: 30px;
    box-shadow: var(--shadow-lg);
    animation: loaderBeat 1.2s infinite ease-in-out;
}
@keyframes loaderBeat { 0%,100%{ transform: scale(1);} 45%{ transform: scale(1.12) rotate(-4deg);} }
.scroll-progress {
    position: fixed;
    left: 0;
    top: 0;
    height: 4px;
    width: 0;
    z-index: 20001;
    background: linear-gradient(90deg, var(--secondary), var(--accent));
    box-shadow: 0 0 18px rgba(8,142,163,.55);
}

/* Header / Navigation polish */
.topbar {
    background: linear-gradient(90deg, #072b3d, #065f73 55%, #083247) !important;
    color: rgba(255,255,255,.92);
    border-bottom: 1px solid rgba(255,255,255,.08);
}
.topbar a, .topbar span { color: rgba(255,255,255,.92) !important; }
.topbar-socials a {
    width: 30px;
    height: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255,255,255,.12);
    backdrop-filter: blur(10px);
}
.site-header {
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-bottom: 1px solid rgba(8,142,163,.14);
    box-shadow: 0 12px 34px rgba(8,47,73,.06);
}
.site-header.scrolled {
    box-shadow: 0 14px 45px rgba(8,47,73,.14);
    border-bottom-color: rgba(8,142,163,.2);
}
.navbar-brand-custom { gap: 14px; }
.brand-icon-wrapper {
    background: linear-gradient(135deg, var(--secondary), var(--primary-light)) !important;
    color: #fff !important;
    box-shadow: 0 12px 30px rgba(8,142,163,.24);
    position: relative;
    overflow: hidden;
}
.brand-icon-wrapper::after {
    content: '';
    position: absolute;
    inset: -35%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,.32), transparent);
    transform: rotate(28deg) translateX(-130%);
    animation: shineMove 4s infinite;
}
@keyframes shineMove { 0%, 65% { transform: rotate(28deg) translateX(-130%); } 100% { transform: rotate(28deg) translateX(130%); } }
.brand-text strong { letter-spacing: -.25px; }
.brand-text span { color: var(--secondary) !important; font-weight: 700; }
.nav-links-custom > li > a {
    border-radius: 999px;
    padding: 9px 14px !important;
    position: relative;
}
.nav-links-custom > li > a.active,
.nav-links-custom > li > a:hover {
    background: var(--secondary-soft);
    color: var(--secondary) !important;
}
.dropdown-menu-custom {
    border-radius: 20px !important;
    padding: 12px !important;
    border: 1px solid var(--border-color) !important;
    box-shadow: var(--shadow-lg) !important;
}
.dropdown-menu-custom a {
    border-radius: 12px;
}
.dropdown-menu-custom a:hover {
    background: var(--secondary-soft) !important;
    color: var(--secondary) !important;
}
.theme-switch {
    border: 1px solid var(--border-color);
    background: var(--bg-card) !important;
    box-shadow: var(--shadow-sm);
}

/* Hero - premium clinical banner */
.hero-section {
    min-height: 760px;
    display: flex;
    align-items: center;
    padding: 115px 0 100px !important;
    background:
        linear-gradient(110deg, rgba(247,252,255,.97) 0%, rgba(239,250,253,.94) 48%, rgba(238,248,250,.86) 100%),
        url('../../images/bacground.jpeg') center/cover no-repeat;
    position: relative;
    isolation: isolate;
}
[data-theme="dark"] .hero-section {
    background:
        linear-gradient(110deg, rgba(6,22,33,.97) 0%, rgba(7,34,48,.94) 52%, rgba(5,24,35,.88) 100%),
        url('../../images/bacground.jpeg') center/cover no-repeat;
}
.hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background: radial-gradient(circle at 79% 42%, rgba(8,142,163,.16), transparent 25%), radial-gradient(circle at 16% 74%, rgba(215,164,68,.15), transparent 24%);
}
.hero-section::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    height: 110px;
    background: linear-gradient(to bottom, transparent, var(--bg-body-color));
    pointer-events: none;
}
.hero-eyebrow,
.section-badge {
    background: linear-gradient(135deg, var(--secondary-soft), rgba(255,244,216,.86));
    border: 1px solid rgba(8,142,163,.14);
    color: var(--secondary) !important;
    box-shadow: 0 12px 28px rgba(8,142,163,.08);
}
.hero-title-main,
.section-title,
.doc-info-content h2,
.page-hero-content h1,
.service-details-content h2,
.cta-text-side h2 {
    letter-spacing: -.8px;
}
.hero-title-main {
    max-width: 780px;
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--primary-light) 58%, var(--secondary) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent !important;
}
.hero-desc { max-width: 670px; font-size: 18px; }
.hero-btns { gap: 16px; }
.hero-stats-row { gap: 16px; }
.hero-stat-item {
    background: var(--bg-card) !important;
    border: 1px solid var(--border-color) !important;
    box-shadow: var(--shadow-md) !important;
    border-radius: 20px !important;
    padding: 18px 20px !important;
    min-width: 145px;
    position: relative;
    overflow: hidden;
}
.hero-stat-item::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(8,142,163,.08), transparent 60%);
}
.hero-stat-item h3, .counter-val { color: var(--secondary) !important; }
.hero-image-wrapper,
.doc-visual-box,
.service-details-visual {
    transform-style: preserve-3d;
}
.hero-image-wrapper::before {
    content: '';
    position: absolute;
    inset: 38px -18px -16px 42px;
    border-radius: 32px;
    border: 2px dashed rgba(8,142,163,.24);
    z-index: 0;
}
.hero-doctor-img,
.doc-img,
.service-details-visual img {
    filter: saturate(1.04) contrast(1.03);
}
.hero-doctor-img {
    border-radius: 34px 34px 120px 34px !important;
    border: 8px solid rgba(255,255,255,.82) !important;
    box-shadow: 0 36px 90px rgba(8,47,73,.22) !important;
}
.floating-glass-card {
    background: rgba(255,255,255,.78) !important;
    border: 1px solid rgba(255,255,255,.62) !important;
    backdrop-filter: blur(18px);
    box-shadow: 0 24px 50px rgba(8,47,73,.18) !important;
}
[data-theme="dark"] .floating-glass-card { background: rgba(6,22,33,.78) !important; border-color: rgba(34,211,238,.18) !important; }
.icon-badge,
.trust-icon-box,
.feature-icon-wrapper,
.service-card-icon-floater,
.contact-line-icon,
.timeline-number,
.stats-box-icon {
    box-shadow: 0 12px 26px rgba(8,142,163,.14);
}

/* Section polish */
.section-padding { position: relative; }
.section-title-wrapper { margin-bottom: 50px !important; }
.section-title {
    background: linear-gradient(135deg, var(--text-primary), var(--primary-light));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent !important;
}
.section-subtitle { font-size: 16.5px; }
.trust-strip-sec { margin-top: -60px !important; }
.trust-card,
.feature-card-custom,
.service-card-premium,
.case-card-premium,
.video-card-premium,
.contact-grid-card,
.timeline-card,
.gallery-grid-item,
.service-details-visual img,
.map-container-premium {
    position: relative;
    isolation: isolate;
}
.trust-card::after,
.feature-card-custom::after,
.service-card-premium::after,
.case-card-premium::after,
.contact-grid-card::after,
.timeline-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(135deg, rgba(255,255,255,.38), transparent 42%, rgba(8,142,163,.08));
    opacity: .72;
    pointer-events: none;
    z-index: -1;
}
.trust-card:hover,
.feature-card-custom:hover,
.service-card-premium:hover,
.case-card-premium:hover,
.gallery-grid-item:hover,
.contact-grid-card:hover,
.timeline-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}
.feature-card-custom { min-height: 265px; }
.feature-card-custom h4,
.service-card-premium h4,
.case-content-box h4,
.timeline-card h4 { letter-spacing: -.2px; }
.feature-icon-wrapper,
.service-card-icon-floater,
.contact-line-icon {
    background: linear-gradient(135deg, var(--secondary-soft), rgba(255,244,216,.9));
}
.doc-section {
    background:
        radial-gradient(circle at 15% 20%, rgba(8,142,163,.12), transparent 30%),
        var(--bg-section-alt) !important;
}
.doc-visual-backdrop {
    background: linear-gradient(135deg, rgba(8,142,163,.22), rgba(215,164,68,.16)) !important;
}
.doc-img { border-radius: 34px !important; }
.doc-badge-experience {
    backdrop-filter: blur(16px);
    border-left: 5px solid var(--accent) !important;
}
.doc-point-item,
.treatment-checklist-custom li {
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}
.doc-point-item:hover,
.treatment-checklist-custom li:hover {
    transform: translateX(6px);
    border-color: var(--border-glow);
}

/* Service image cards */
.services-section-wrapper {
    background:
        radial-gradient(circle at 93% 8%, rgba(8,142,163,.12), transparent 30%),
        radial-gradient(circle at 7% 92%, rgba(215,164,68,.14), transparent 34%),
        var(--bg-body) !important;
}
.service-card-premium {
    border-radius: 28px !important;
    box-shadow: 0 18px 46px rgba(8,47,73,.10) !important;
}
.service-image-container { height: 230px !important; }
.service-image-container::before {
    content: '';
    position: absolute;
    inset: 12px;
    border: 1px solid rgba(255,255,255,.65);
    border-radius: 20px;
    z-index: 2;
    pointer-events: none;
}
.service-image-overlay {
    background: linear-gradient(180deg, rgba(8,47,73,0) 35%, rgba(8,47,73,.72) 100%) !important;
}
.service-card-body { padding: 28px 30px 32px !important; }
.service-card-icon-floater {
    width: 58px !important;
    height: 58px !important;
    margin-top: -57px !important;
    border-radius: 18px !important;
    border: 3px solid rgba(255,255,255,.78) !important;
}
.service-card-link {
    padding-top: 12px;
    border-top: 1px solid var(--border-color);
    justify-content: space-between;
}

/* Stats and cases */
.stats-banner-sec {
    background: linear-gradient(135deg, #082f49, #088ea3) !important;
}
.stats-banner-sec::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255,255,255,.18) 1px, transparent 1px);
    background-size: 24px 24px;
    opacity: .38;
}
.stats-box-premium {
    position: relative;
    border-radius: 22px;
    border: 1px solid rgba(255,255,255,.14);
    background: rgba(255,255,255,.08);
    backdrop-filter: blur(10px);
}
.case-img-container::after,
.gallery-grid-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 45%, rgba(8,47,73,.58));
    opacity: .92;
    pointer-events: none;
}
.case-category {
    background: linear-gradient(135deg, var(--secondary), var(--accent-dark)) !important;
    border-radius: 999px !important;
    letter-spacing: .5px;
}
.video-card-premium {
    border: 6px solid rgba(255,255,255,.88);
    box-shadow: 0 24px 60px rgba(8,47,73,.18) !important;
}
[data-theme="dark"] .video-card-premium { border-color: rgba(34,211,238,.15); }
.video-card-premium::after {
    content: 'Watch Video';
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 2;
    padding: 7px 13px;
    border-radius: 999px;
    background: rgba(255,255,255,.88);
    color: #082f49;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .7px;
}

/* Inner pages */
.page-hero-banner {
    padding: 125px 0 115px !important;
    background:
        linear-gradient(135deg, rgba(8,47,73,.92), rgba(8,142,163,.86)),
        url('../../images/banner1.jpeg') center/cover no-repeat !important;
}
.page-hero-banner::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    height: 70px;
    background: linear-gradient(to bottom, transparent, var(--bg-body-color));
}
.page-hero-content h1 { text-shadow: 0 10px 28px rgba(0,0,0,.18); }
.service-details-visual img {
    border-radius: 30px !important;
    border: 8px solid rgba(255,255,255,.78) !important;
}
.service-details-visual::before {
    content: '';
    position: absolute;
    inset: 34px -18px -18px 34px;
    border-radius: 30px;
    background: linear-gradient(135deg, rgba(8,142,163,.18), rgba(215,164,68,.14));
    z-index: -1;
}
.service-details-badge {
    background: rgba(255,255,255,.82) !important;
    backdrop-filter: blur(16px);
    color: #082638 !important;
}
.timeline-card {
    border: 1px solid var(--border-color) !important;
    box-shadow: var(--shadow-md) !important;
    border-radius: 24px !important;
    overflow: hidden;
}
.timeline-number {
    background: linear-gradient(135deg, var(--secondary), var(--primary-light)) !important;
    color: #fff !important;
}
.contact-grid-card {
    border-radius: 30px !important;
    box-shadow: var(--shadow-lg) !important;
}
.contact-line-premium {
    transition: var(--transition);
}
.contact-line-premium:hover {
    transform: translateX(6px);
    border-color: var(--border-glow);
    box-shadow: var(--shadow-sm);
}
.form-control-premium {
    min-height: 52px;
}
.form-control-premium:hover { border-color: rgba(8,142,163,.34); }
.map-container-premium { border-radius: 30px !important; }
.gallery-grid-item {
    height: 350px !important;
    border-radius: 28px !important;
    border: 8px solid rgba(255,255,255,.86) !important;
}
.gallery-item-caption {
    z-index: 4;
    opacity: 1 !important;
    transform: translateY(0) !important;
    background: rgba(255,255,255,.84) !important;
    backdrop-filter: blur(16px);
}
[data-theme="dark"] .gallery-item-caption { background: rgba(6,22,33,.82) !important; }

/* CTA and footer */
.cta-box-premium {
    background:
        radial-gradient(circle at 83% 28%, rgba(215,164,68,.25), transparent 28%),
        linear-gradient(135deg, #082f49, #066b82 58%, #09374e) !important;
    border-radius: 34px !important;
    border: 1px solid rgba(255,255,255,.13) !important;
    box-shadow: 0 30px 90px rgba(8,47,73,.26) !important;
}
.cta-box-premium::after {
    content: '';
    position: absolute;
    inset: 16px;
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 26px;
    pointer-events: none;
}
.main-site-footer {
    background: linear-gradient(135deg, #061d2a, #082f49 55%, #04121b) !important;
    position: relative;
    overflow: hidden;
}
.main-site-footer::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255,255,255,.14) 1px, transparent 1px);
    background-size: 26px 26px;
    opacity: .2;
}
.footer-logo-wrapper, .footer-column-title, .footer-about-text, .footer-quick-links, .footer-contact-details, .footer-bottom-bar { position: relative; z-index: 1; }
.footer-social-links a,
.float-btn-item {
    box-shadow: 0 16px 38px rgba(0,0,0,.24) !important;
}
.float-call { background: linear-gradient(135deg, #088ea3, #0f4c75) !important; }
.float-whatsapp { background: linear-gradient(135deg, #25d366, #0f9f54) !important; }

/* Button interaction */
.btn-premium {
    letter-spacing: .15px;
    box-shadow: 0 13px 30px rgba(8,142,163,.22) !important;
}
.btn-premium::after {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: rgba(255,255,255,.35);
    transform: scale(0);
    opacity: 0;
}
.btn-premium:hover::after {
    animation: btnRipple .6s ease;
}
@keyframes btnRipple { 0%{ transform: scale(0); opacity: .55;} 100%{ transform: scale(22); opacity: 0;} }

/* Animated floating medical shapes */
.clinic-bubble {
    position: fixed;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(8,142,163,.13);
    pointer-events: none;
    z-index: 0;
    animation: bubbleFloat 12s linear infinite;
}
.clinic-bubble:nth-child(even) { background: rgba(215,164,68,.12); animation-duration: 15s; }
@keyframes bubbleFloat {
    0% { transform: translateY(105vh) translateX(0); opacity: 0; }
    12% { opacity: 1; }
    88% { opacity: .7; }
    100% { transform: translateY(-20vh) translateX(70px); opacity: 0; }
}

/* Better mobile spacing */
@media (max-width: 991.98px) {
    .hero-section { min-height: auto; padding: 86px 0 70px !important; }
    .hero-title-main { font-size: clamp(2.3rem, 9vw, 3.6rem) !important; }
    .hero-stats-row { flex-wrap: wrap; }
    .hero-stat-item { flex: 1 1 135px; }
    .nav-links-custom { background: var(--bg-card) !important; backdrop-filter: blur(24px); }
    .trust-strip-sec { margin-top: 25px !important; }
    .page-hero-banner { padding: 95px 0 80px !important; }
}
@media (max-width: 575.98px) {
    .topbar-info { gap: 8px; }
    .brand-text strong { font-size: 15px; }
    .brand-text span { font-size: 11px; }
    .hero-btns .btn-premium, .btn-premium { width: 100%; }
    .hero-stats-row { display: grid !important; grid-template-columns: 1fr; }
    .doc-img, .service-details-visual img { height: 360px !important; }
    .contact-grid-card { padding: 26px !important; }
    .cta-box-premium { padding: 32px 24px !important; }
    .floating-actions-wrapper { right: 14px !important; bottom: 18px !important; }
}


.hero-section {
    margin-top: -90px;
}

@media (max-width: 768px) {
    .hero-section {
        margin-top: -50px;
    }
}
