/* ==========================================
   HERNIA SURGERY PUNJAB - PREMIUM STYLESHEET
   Core PHP + MySQL Website
   Color Theme:
   Primary Deep Teal: #0F4953
   Coral Orange: #F98E6E
   Soft Mint: #CBF5EF
   Off White: #F9FCFB
   Soft Pink: #FFCFD2
   Dark Text: #1F2937
   ========================================== */

/* CSS Variables */
:root {
    --primary: #0F4953;
    --primary-light: #1a6b7a;
    --primary-dark: #0a353c;
    --coral: #F98E6E;
    --coral-light: #ffb39c;
    --coral-dark: #e87654;
    --mint: #CBF5EF;
    --mint-dark: #a8e8df;
    --offwhite: #F9FCFB;
    --softpink: #FFCFD2;
    --darktext: #1F2937;
    --gray: #6B7280;
    --lightgray: #E5E7EB;
    --white: #FFFFFF;
    --shadow: 0 10px 40px rgba(15, 73, 83, 0.1);
    --shadow-lg: 0 25px 60px rgba(15, 73, 83, 0.15);
    --radius: 16px;
    --radius-sm: 8px;
    --radius-lg: 24px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--darktext);
    background: var(--offwhite);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

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

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

::selection { background: var(--coral); color: var(--white); }

/* Scrollbar */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--offwhite); }
::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--primary-light); }

/* ==========================================
   TOP BAR
   ========================================== */
.top-bar {
    background: var(--primary-dark);
    color: var(--white);
    padding: 8px 0;
    font-size: 13px;
    position: relative;
    z-index: 1001;
}

.top-bar a { color: var(--mint); }
.top-bar a:hover { color: var(--coral); }

.top-bar-item { display: inline-flex; align-items: center; gap: 6px; margin-right: 20px; }
.top-bar-item i { color: var(--coral); font-size: 12px; }

/* ==========================================
   NAVIGATION
   ========================================== */
.main-navbar {
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
    border-bottom: 1px solid rgba(15,73,83,0.08);
}

.main-navbar.scrolled {
    box-shadow: var(--shadow);
    background: rgba(255,255,255,0.98);
}

.navbar-brand {
    font-weight: 800;
    font-size: 22px;
    color: var(--primary) !important;
    display: flex;
    align-items: center;
    gap: 10px;
}

.brand-logo {
    width: 45px;
    height: 45px;
    background: var(--primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 20px;
}

.brand-text span { display: block; line-height: 1.2; }
.brand-text .brand-title { font-size: 16px; font-weight: 800; letter-spacing: 0.5px; }
.brand-text .brand-tagline { font-size: 10px; font-weight: 500; color: var(--coral); letter-spacing: 1px; text-transform: uppercase; }

.nav-link {
    color: var(--darktext) !important;
    font-weight: 600;
    font-size: 14px;
    padding: 28px 14px !important;
    position: relative;
    letter-spacing: 0.3px;
    white-space: nowrap;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 20px;
    left: 14px;
    right: 14px;
    height: 2px;
    background: var(--coral);
    transform: scaleX(0);
    transition: var(--transition);
    border-radius: 1px;
}

/* Medium desktop — keep everything on one row */
@media (min-width: 992px) and (max-width: 1399px) {
    .nav-link { padding: 22px 8px !important; font-size: 12.5px; letter-spacing: 0; }
    .nav-link::after { bottom: 14px; left: 8px; right: 8px; }
    .btn-cta { padding: 10px 14px !important; font-size: 11.5px; gap: 5px; }
    .navbar-brand img.navbar-logo { height: 44px !important; max-width: 200px !important; }
    .main-navbar .container { padding-left: 10px; padding-right: 10px; }
}

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

.nav-link:hover { color: var(--primary) !important; }

/* CTA Button in Nav */
.btn-cta {
    background: var(--coral);
    color: var(--white) !important;
    padding: 12px 24px !important;
    border-radius: 50px;
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    transition: var(--transition);
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 15px rgba(249, 142, 110, 0.3);
}

.btn-cta:hover {
    background: var(--coral-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(249, 142, 110, 0.4);
    color: var(--white) !important;
}

.btn-primary-nav {
    background: var(--primary);
    color: var(--white) !important;
    padding: 12px 24px !important;
    border-radius: 50px;
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    transition: var(--transition);
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-primary-nav:hover {
    background: var(--primary-light);
    transform: translateY(-2px);
}

/* ==========================================
   MEGA MENU
   ========================================== */
.mega-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    border-radius: 0 0 var(--radius) var(--radius);
    box-shadow: var(--shadow-lg);
    padding: 30px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    z-index: 999;
}

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

.mega-menu-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--mint);
}

.mega-menu-list { list-style: none; padding: 0; margin: 0; }

.mega-menu-list li { margin-bottom: 8px; }

.mega-menu-list a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    border-radius: var(--radius-sm);
    font-size: 14px;
    color: var(--darktext);
    transition: var(--transition);
}

.mega-menu-list a:hover {
    background: var(--mint);
    color: var(--primary);
    padding-left: 16px;
}

.mega-menu-list a i { color: var(--coral); font-size: 12px; }

.mega-menu-preview {
    background: var(--offwhite);
    border-radius: var(--radius);
    padding: 20px;
    text-align: center;
}

.mega-menu-preview img {
    border-radius: var(--radius-sm);
    margin-bottom: 15px;
    width: 100%;
    height: 160px;
    object-fit: cover;
}

/* ==========================================
   HERO SECTION
   ========================================== */
.hero-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 50%, var(--primary) 100%);
    min-height: 90vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: 80px 0;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 80%;
    height: 200%;
    background: radial-gradient(ellipse, rgba(203,245,239,0.08) 0%, transparent 70%);
    animation: heroGlow 8s ease-in-out infinite;
}

@keyframes heroGlow {
    0%, 100% { opacity: 0.5; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.1); }
}

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

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(249, 142, 110, 0.2);
    color: var(--coral-light);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 25px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(249, 142, 110, 0.3);
}

.hero-title {
    font-size: 52px;
    font-weight: 800;
    color: var(--white);
    line-height: 1.15;
    margin-bottom: 20px;
    letter-spacing: -0.5px;
}

.hero-title span { color: var(--coral); }

.hero-subtitle {
    font-size: 20px;
    color: var(--mint);
    margin-bottom: 20px;
    font-weight: 500;
}

.hero-text {
    font-size: 16px;
    color: rgba(255,255,255,0.85);
    margin-bottom: 35px;
    max-width: 90%;
    line-height: 1.8;
}

.hero-buttons { display: flex; gap: 15px; flex-wrap: wrap; margin-bottom: 40px; }

.btn-hero-primary {
    background: var(--coral);
    color: var(--white);
    padding: 16px 36px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 15px;
    border: none;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 8px 30px rgba(249, 142, 110, 0.4);
}

.btn-hero-primary:hover {
    background: var(--coral-dark);
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(249, 142, 110, 0.5);
    color: var(--white);
}

.btn-hero-outline {
    background: transparent;
    color: var(--white);
    padding: 16px 36px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 15px;
    border: 2px solid rgba(255,255,255,0.3);
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-hero-outline:hover {
    background: var(--white);
    color: var(--primary);
    border-color: var(--white);
}

.btn-hero-whatsapp {
    background: #25D366;
    color: var(--white);
    padding: 16px 36px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 15px;
    border: none;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.3);
}

.btn-hero-whatsapp:hover {
    background: #1fa855;
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(37, 211, 102, 0.4);
    color: var(--white);
}

/* Hero Trust Badges */
.hero-trust-badges { display: flex; flex-wrap: wrap; gap: 20px; }

.hero-trust-badge {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    padding: 12px 18px;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.1);
}

.hero-trust-badge i {
    width: 36px;
    height: 36px;
    background: rgba(249, 142, 110, 0.3);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--coral);
    font-size: 16px;
}

.hero-trust-badge span { color: var(--white); font-size: 13px; font-weight: 600; }

/* Hero Image */
.hero-image-container {
    position: relative;
    z-index: 2;
}

.hero-image-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 120%;
    background: radial-gradient(circle, rgba(203,245,239,0.15) 0%, transparent 60%);
    animation: pulse 3s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.6; }
    50% { transform: translate(-50%, -50%) scale(1.1); opacity: 1; }
}

.hero-image {
    border-radius: 30px;
    box-shadow: 0 30px 80px rgba(0,0,0,0.3);
    border: 3px solid rgba(255,255,255,0.1);
    position: relative;
    z-index: 2;
}

/* Floating Particles */
.particle {
    position: absolute;
    border-radius: 50%;
    background: rgba(203, 245, 239, 0.3);
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-20px) scale(1.1); }
}

/* ==========================================
   SECTION HEADERS
   ========================================== */
.section-header {
    text-align: center;
    margin-bottom: 64px;
    position: relative;
    animation: sectionHeaderIn 0.7s ease both;
}
@keyframes sectionHeaderIn {
    from { opacity: 0; transform: translateY(28px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* Animated badge pill */
.section-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #CBF5EF 0%, #b0eee7 100%);
    color: var(--primary);
    padding: 9px 22px;
    border-radius: 50px;
    font-size: 11.5px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.8px;
    margin-bottom: 18px;
    border: 1.5px solid rgba(15,73,83,.12);
    box-shadow: 0 2px 12px rgba(15,73,83,.10);
    position: relative;
    overflow: hidden;
}
.section-label::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,.55) 50%, transparent 100%);
    transform: translateX(-100%);
    animation: shimmer 2.4s infinite;
}
@keyframes shimmer {
    0%   { transform: translateX(-100%); }
    60%  { transform: translateX(100%); }
    100% { transform: translateX(100%); }
}

/* Section main title */
.section-title {
    font-size: 42px;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 0;
    letter-spacing: -0.5px;
    line-height: 1.2;
    position: relative;
    display: inline-block;
}
.section-title span { color: var(--coral); }

/* Animated underline bar beneath every section title */
.section-header .section-title::after {
    content: '';
    display: block;
    width: 70px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary) 0%, var(--coral) 100%);
    border-radius: 4px;
    margin: 16px auto 0;
    transition: width .5s ease;
}
.section-header:hover .section-title::after { width: 120px; }

.section-subtitle {
    font-size: 17px;
    color: var(--gray);
    max-width: 620px;
    margin: 18px auto 0;
    line-height: 1.7;
}

/* ==========================================
   GLASSMORPHISM CARDS
   ========================================== */
.glass-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: var(--radius);
    padding: 35px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: var(--shadow);
    transition: var(--transition);
    height: 100%;
}

.glass-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--mint);
}

.glass-card-icon {
    width: 65px;
    height: 65px;
    background: var(--mint);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    font-size: 28px;
    color: var(--primary);
    transition: var(--transition);
}

.glass-card:hover .glass-card-icon {
    background: var(--primary);
    color: var(--white);
    transform: scale(1.1) rotate(-5deg);
}

.glass-card h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 12px;
}

.glass-card p {
    color: var(--gray);
    font-size: 15px;
    line-height: 1.7;
}

/* ==========================================
   COUNTER SECTION
   ========================================== */
.counter-section {
    background: linear-gradient(135deg, var(--mint) 0%, var(--white) 100%);
    padding: 60px 0;
    position: relative;
    overflow: hidden;
}

.counter-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%230F4953' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}

.counter-item {
    text-align: center;
    position: relative;
    z-index: 1;
}

.counter-number {
    font-size: 48px;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 10px;
}

.counter-number span { color: var(--coral); }

.counter-label {
    font-size: 15px;
    font-weight: 600;
    color: var(--gray);
}

/* ==========================================
   DOCTOR PREVIEW SECTION
   ========================================== */
.doctor-preview-section {
    padding: 100px 0;
    background: var(--white);
    position: relative;
    overflow: hidden;
}

.doctor-image-wrapper {
    position: relative;
    display: inline-block;
}

.doctor-image-glow {
    position: absolute;
    top: -20px;
    left: -20px;
    right: -20px;
    bottom: -20px;
    background: linear-gradient(135deg, var(--mint), var(--softpink));
    border-radius: 30px;
    opacity: 0.4;
    filter: blur(30px);
    animation: glowPulse 4s ease-in-out infinite;
}

@keyframes glowPulse {
    0%, 100% { opacity: 0.3; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.02); }
}

.doctor-image {
    border-radius: 24px;
    position: relative;
    z-index: 2;
    box-shadow: var(--shadow-lg);
}

.floating-badge {
    position: absolute;
    background: var(--white);
    padding: 12px 20px;
    border-radius: 14px;
    box-shadow: var(--shadow);
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 3;
    font-size: 13px;
    font-weight: 600;
    color: var(--primary);
    animation: floatBadge 5s ease-in-out infinite;
}

.floating-badge i { color: var(--coral); font-size: 18px; }

.floating-badge.badge-1 { top: 20px; right: -30px; animation-delay: 0s; }
.floating-badge.badge-2 { bottom: 80px; left: -40px; animation-delay: 1s; }
.floating-badge.badge-3 { bottom: 20px; right: -20px; animation-delay: 2s; }

@keyframes floatBadge {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* ==========================================
   LAPAROSCOPIC VISUAL SECTION
   ========================================== */
.lap-visual-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.lap-visual-section::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 50%, rgba(249,142,110,0.1) 0%, transparent 50%);
}

.lap-step {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
    position: relative;
    z-index: 2;
}

.lap-step-number {
    width: 50px;
    height: 50px;
    background: var(--coral);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: 800;
    font-size: 18px;
    flex-shrink: 0;
}

.lap-step-content h4 { color: var(--white); font-size: 18px; font-weight: 700; margin-bottom: 5px; }
.lap-step-content p { color: rgba(255,255,255,0.8); font-size: 14px; margin: 0; }

/* ========================================== 
   HERNIA TYPES CARDS
   ========================================== */
.hernia-type-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    height: 100%;
    border: 1px solid var(--lightgray);
}

.hernia-type-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--mint);
}

.hernia-type-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: var(--transition);
}

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

.hernia-type-card-body { padding: 25px; }

.hernia-type-card h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 10px;
}

.hernia-type-card p {
    color: var(--gray);
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 15px;
}

/* ==========================================
   COMPARISON SECTION
   ========================================== */
.comparison-section { padding: 100px 0; background: var(--offwhite); }

.comparison-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 40px;
    box-shadow: var(--shadow);
    height: 100%;
}

.comparison-card.laparoscopic { border-top: 4px solid var(--primary); }
.comparison-card.open { border-top: 4px solid var(--coral); }

.comparison-card h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.comparison-card.laparoscopic h3 { color: var(--primary); }
.comparison-card.open h3 { color: var(--coral); }

.comparison-list { list-style: none; padding: 0; margin: 0; }

.comparison-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--lightgray);
    font-size: 15px;
}

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

.comparison-list li i {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    flex-shrink: 0;
}

.comparison-card.laparoscopic .comparison-list li i { background: var(--mint); color: var(--primary); }
.comparison-card.open .comparison-list li i { background: var(--softpink); color: #dc3545; }

/* ==========================================
   SYMPTOMS SECTION
   ========================================== */
.symptom-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 30px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    height: 100%;
    border: 1px solid var(--lightgray);
}

.symptom-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--softpink);
}

.symptom-icon {
    width: 70px;
    height: 70px;
    background: var(--softpink);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 30px;
    color: #dc3545;
    transition: var(--transition);
}

.symptom-card:hover .symptom-icon {
    background: #dc3545;
    color: var(--white);
    transform: scale(1.1);
}

.symptom-card h4 { font-size: 17px; font-weight: 700; color: var(--primary); margin-bottom: 10px; }
.symptom-card p { color: var(--gray); font-size: 14px; }

/* Emergency Strip */
.emergency-strip {
    background: linear-gradient(135deg, #dc3545, #ff6b6b);
    color: var(--white);
    padding: 25px;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 40px;
}

.emergency-strip i { font-size: 36px; flex-shrink: 0; }
.emergency-strip h4 { font-size: 18px; font-weight: 700; margin-bottom: 5px; }
.emergency-strip p { margin: 0; font-size: 14px; opacity: 0.9; }

/* ==========================================
   TREATMENT METHODS
   ========================================== */
.treatment-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 35px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    height: 100%;
    position: relative;
    overflow: hidden;
    border: 1px solid var(--lightgray);
}

.treatment-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--coral);
    transition: var(--transition);
}

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

.treatment-card:hover::before { width: 100%; opacity: 0.05; }

.treatment-card h3 { font-size: 20px; font-weight: 700; color: var(--primary); margin-bottom: 12px; }
.treatment-card p { color: var(--gray); font-size: 15px; line-height: 1.7; }

/* ==========================================
   PATIENT JOURNEY TIMELINE
   ========================================== */
.timeline-section { padding: 100px 0; background: var(--white); }

.timeline {
    position: relative;
    padding: 20px 0;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 3px;
    background: var(--mint);
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    margin-bottom: 40px;
    width: 50%;
}

.timeline-item:nth-child(odd) { padding-right: 50px; left: 0; }
.timeline-item:nth-child(even) { padding-left: 50px; left: 50%; }

.timeline-dot {
    position: absolute;
    width: 50px;
    height: 50px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: 700;
    font-size: 18px;
    top: 0;
    border: 4px solid var(--white);
    box-shadow: 0 0 0 4px var(--mint);
    z-index: 2;
}

.timeline-item:nth-child(odd) .timeline-dot { right: -25px; }
.timeline-item:nth-child(even) .timeline-dot { left: -25px; }

.timeline-content {
    background: var(--offwhite);
    padding: 25px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.timeline-content h4 { font-size: 18px; font-weight: 700; color: var(--primary); margin-bottom: 8px; }
.timeline-content p { color: var(--gray); font-size: 14px; margin: 0; }

/* ==========================================
   RECOVERY SECTION
   ========================================== */
.recovery-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 30px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    height: 100%;
}

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

.recovery-icon {
    width: 80px;
    height: 80px;
    background: var(--mint);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 36px;
    color: var(--primary);
    transition: var(--transition);
}

.recovery-card:hover .recovery-icon { background: var(--primary); color: var(--white); transform: rotateY(360deg); transition: 0.8s; }

.recovery-card h4 { font-size: 18px; font-weight: 700; color: var(--primary); margin-bottom: 10px; }
.recovery-card p { color: var(--gray); font-size: 14px; }

/* ==========================================
   INSURANCE SECTION
   ========================================== */
.insurance-section {
    background: linear-gradient(135deg, var(--mint) 0%, var(--white) 100%);
    padding: 80px 0;
}

.insurance-logo-track {
    display: flex;
    gap: 40px;
    animation: scrollLogos 20s linear infinite;
}

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

.insurance-logo {
    min-width: 150px;
    height: 80px;
    background: var(--white);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: var(--primary);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    font-size: 14px;
    padding: 0 20px;
}

/* ==========================================
   NRI SECTION
   ========================================== */
.nri-section { padding: 100px 0; background: var(--white); }

.nri-card {
    background: var(--offwhite);
    border-radius: var(--radius);
    padding: 35px;
    transition: var(--transition);
    height: 100%;
    border: 1px solid var(--lightgray);
}

.nri-card:hover {
    background: var(--white);
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
    border-color: var(--mint);
}

.nri-icon {
    width: 60px;
    height: 60px;
    background: var(--primary);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 26px;
    color: var(--white);
}

.nri-card h4 { font-size: 18px; font-weight: 700; color: var(--primary); margin-bottom: 10px; }
.nri-card p { color: var(--gray); font-size: 14px; }

/* ==========================================
   AWARDS SECTION
   ========================================== */
.awards-section { padding: 100px 0; background: var(--primary); position: relative; overflow: hidden; }
.awards-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(circle at 80% 20%, rgba(249,142,110,0.15) 0%, transparent 40%);
}

.award-item {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    border-radius: var(--radius);
    padding: 30px;
    display: flex;
    align-items: flex-start;
    gap: 20px;
    transition: var(--transition);
    border: 1px solid rgba(255,255,255,0.1);
    position: relative;
    z-index: 1;
}

.award-item:hover { background: rgba(255,255,255,0.15); transform: translateY(-5px); }

.award-icon {
    width: 55px;
    height: 55px;
    background: var(--coral);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--white);
    flex-shrink: 0;
}

.award-item h4 { color: var(--white); font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.award-item p { color: rgba(255,255,255,0.8); font-size: 14px; margin: 0; }

/* ==========================================
   TEAM SECTION
   ========================================== */
.team-section { padding: 100px 0; background: var(--offwhite); }

.team-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-align: center;
    height: 100%;
}

.team-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }

.team-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.team-card-body { padding: 25px; }
.team-card h4 { font-size: 18px; font-weight: 700; color: var(--primary); margin-bottom: 5px; }
.team-card p { color: var(--coral); font-size: 14px; font-weight: 600; }

/* ==========================================
   VIDEO/REELS SECTION
   ========================================== */
.video-section { padding: 100px 0; background: var(--white); }

.video-card {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    cursor: pointer;
}

.video-card:hover { transform: scale(1.02); box-shadow: var(--shadow-lg); }

.video-card img { width: 100%; height: 280px; object-fit: cover; }

.video-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(to top, rgba(15,73,83,0.9) 0%, transparent 60%);
    display: flex;
    align-items: flex-end;
    padding: 25px;
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: var(--coral);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 20px;
    box-shadow: 0 4px 20px rgba(249,142,110,0.4);
    transition: var(--transition);
}

.video-card:hover .play-button { transform: translate(-50%, -50%) scale(1.15); }

.video-info h4 { color: var(--white); font-size: 16px; font-weight: 700; margin-bottom: 5px; }
.video-info p { color: rgba(255,255,255,0.8); font-size: 13px; margin: 0; }

/* ==========================================
   TESTIMONIALS
   ========================================== */
.testimonial-section { padding: 100px 0; background: var(--offwhite); }

.testimonial-card {
    background: rgba(255,255,255,0.8);
    backdrop-filter: blur(20px);
    border-radius: var(--radius);
    padding: 40px;
    box-shadow: var(--shadow);
    border: 1px solid rgba(255,255,255,0.5);
    position: relative;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 80px;
    color: var(--coral);
    opacity: 0.3;
    line-height: 1;
    font-family: Georgia, serif;
}

.testimonial-rating { color: #ffc107; margin-bottom: 20px; font-size: 16px; }

.testimonial-text {
    font-size: 16px;
    color: var(--darktext);
    line-height: 1.8;
    margin-bottom: 25px;
    font-style: italic;
}

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

.testimonial-author img {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--mint);
}

.testimonial-author h5 { font-size: 16px; font-weight: 700; color: var(--primary); margin: 0; }
.testimonial-author p { color: var(--gray); font-size: 13px; margin: 0; }

/* ==========================================
   GOOGLE RATING BADGE
   ========================================== */
.google-rating-badge {
    background: #fff;
    border-radius: 20px;
    padding: 28px 40px;
    box-shadow: 0 6px 32px rgba(15,73,83,.10);
    display: flex;
    align-items: center;
    gap: 32px;
    flex-wrap: wrap;
    justify-content: center;
    border: 1px solid rgba(15,73,83,.06);
}
.grb-number { font-size: 64px; font-weight: 800; color: var(--primary); line-height: 1; }
.grb-stars  { color: #FBBC04; font-size: 20px; margin: 6px 0 4px; }
.grb-label  { color: var(--gray); font-size: 13px; }
.grb-divider { width: 1px; height: 70px; background: #e8ecef; }
.grb-logo   { height: 26px; display: block; }
.grb-verified, .grb-cta { text-align: center; }

/* ==========================================
   INFINITE REVIEW CAROUSEL
   ========================================== */
.review-track-wrap {
    overflow: hidden;
    width: 100%;
    /* fade edges */
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
    mask-image:         linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
}

.review-track {
    display: flex;
    gap: 24px;
    width: max-content;
    will-change: transform;
}

/* Row 1 — scrolls left */
.review-track.scroll-left  { animation: scrollLeft  42s linear infinite; }
/* Row 2 — scrolls right  */
.review-track.scroll-right { animation: scrollRight 38s linear infinite; }

/* Pause on hover / touch */
.review-track-wrap:hover .review-track { animation-play-state: paused; }

@keyframes scrollLeft  {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
@keyframes scrollRight {
    0%   { transform: translateX(-50%); }
    100% { transform: translateX(0); }
}

/* Individual review card */
.rev-card {
    background: #fff;
    border-radius: 18px;
    padding: 26px 28px;
    width: 340px;
    flex-shrink: 0;
    box-shadow: 0 4px 20px rgba(15,73,83,.08);
    border: 1px solid rgba(15,73,83,.07);
    transition: box-shadow .3s, transform .3s;
    cursor: default;
}
.rev-card:hover {
    box-shadow: 0 8px 36px rgba(15,73,83,.16);
    transform: translateY(-4px);
}

.rev-head {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}
.rev-avatar {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 800;
    font-size: 18px;
    flex-shrink: 0;
}
.rev-meta { flex: 1; min-width: 0; }
.rev-name {
    font-weight: 700;
    font-size: 14px;
    color: var(--dark);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.rev-loc  { font-size: 11px; color: var(--gray); margin-top: 2px; }
.rev-glogo { height: 15px; opacity: .7; flex-shrink: 0; }

.rev-stars {
    color: #FBBC04;
    font-size: 13px;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 4px;
}
.rev-verified {
    font-size: 11px;
    color: #34A853;
    font-weight: 600;
    margin-left: 6px;
}
.rev-verified i { margin-right: 2px; }

.rev-text {
    font-size: 13.5px;
    color: var(--gray);
    line-height: 1.75;
    margin: 0;
    font-style: italic;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Mobile — smaller cards, single row only */
@media (max-width: 575px) {
    .rev-card { width: 280px; padding: 20px; }
    .review-track { gap: 16px; }
    .google-rating-badge { padding: 20px; gap: 16px; }
    .grb-divider { display: none; }
    .grb-number { font-size: 48px; }
}

/* ==========================================
   BLOG CARDS
   ========================================== */
.blog-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    height: 100%;
}

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

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

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

.blog-card-body { padding: 25px; }

.blog-category {
    display: inline-block;
    background: var(--mint);
    color: var(--primary);
    padding: 4px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
}

.blog-card h3 { font-size: 18px; font-weight: 700; color: var(--primary); margin-bottom: 10px; line-height: 1.4; }
.blog-card p { color: var(--gray); font-size: 14px; line-height: 1.7; margin-bottom: 15px; }

.blog-read-more {
    color: var(--coral);
    font-weight: 700;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.blog-read-more:hover { color: var(--coral-dark); gap: 10px; }

/* ==========================================
   FAQ ACCORDION
   ========================================== */
.faq-section { padding: 100px 0; background: var(--white); }

.accordion-item {
    border: none;
    margin-bottom: 15px;
    border-radius: var(--radius) !important;
    overflow: hidden;
    box-shadow: var(--shadow);
    background: var(--white);
}

.accordion-button {
    padding: 22px 30px;
    font-weight: 700;
    font-size: 16px;
    color: var(--primary);
    background: var(--white);
    border: none;
    box-shadow: none !important;
}

.accordion-button:not(.collapsed) {
    background: var(--mint);
    color: var(--primary);
}

.accordion-button::after {
    background-size: 16px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: var(--mint);
    background-position: center;
}

.accordion-button:not(.collapsed)::after { background-color: var(--primary); filter: brightness(5); }

.accordion-body {
    padding: 20px 30px 30px;
    color: var(--gray);
    line-height: 1.8;
    font-size: 15px;
}

/* ==========================================
   CONTACT SECTION
   ========================================== */
.contact-section { padding: 100px 0; background: var(--offwhite); }

.contact-info-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 35px;
    box-shadow: var(--shadow);
    height: 100%;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    margin-bottom: 25px;
    padding-bottom: 25px;
    border-bottom: 1px solid var(--lightgray);
}

.contact-item:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }

.contact-item-icon {
    width: 50px;
    height: 50px;
    background: var(--mint);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 20px;
    flex-shrink: 0;
}

.contact-item h5 { font-size: 16px; font-weight: 700; color: var(--primary); margin-bottom: 5px; }
.contact-item p { color: var(--gray); font-size: 14px; margin: 0; }
.contact-item a { color: var(--coral); font-weight: 600; }
.contact-item a:hover { color: var(--coral-dark); }

/* Contact Form */
.contact-form {
    background: var(--white);
    border-radius: var(--radius);
    padding: 40px;
    box-shadow: var(--shadow);
}

.form-label { font-weight: 600; font-size: 14px; color: var(--primary); margin-bottom: 8px; }

.form-control, .form-select {
    padding: 14px 18px;
    border: 2px solid var(--lightgray);
    border-radius: var(--radius-sm);
    font-size: 15px;
    transition: var(--transition);
}

.form-control:focus, .form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(15, 73, 83, 0.1);
}

/* Map */
.map-container {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    height: 100%;
    min-height: 400px;
}

.map-container iframe { width: 100%; height: 100%; min-height: 400px; border: none; }

/* ==========================================
   FOOTER
   ========================================== */
.footer {
    background: var(--primary-dark);
    color: var(--white);
    padding: 80px 0 0;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--coral), var(--primary-light), var(--mint));
}

.footer-brand { margin-bottom: 25px; }

.footer-brand .brand-title { color: var(--white); }
.footer-brand .brand-tagline { color: var(--coral); }

.footer-about { color: rgba(255,255,255,0.8); font-size: 15px; line-height: 1.8; margin-bottom: 25px; }

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

.footer-social a {
    width: 42px;
    height: 42px;
    background: rgba(255,255,255,0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 16px;
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--coral);
    transform: translateY(-3px);
}

.footer-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 12px;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--coral);
    border-radius: 2px;
}

.footer-links { list-style: none; padding: 0; margin: 0; }

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

.footer-links a {
    color: rgba(255,255,255,0.8);
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition);
}

.footer-links a::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--coral);
    border-radius: 50%;
    transition: var(--transition);
}

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

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 15px;
    color: rgba(255,255,255,0.8);
    font-size: 14px;
}

.footer-contact-item i { color: var(--coral); margin-top: 4px; flex-shrink: 0; }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 25px 0;
    margin-top: 60px;
    text-align: center;
    color: rgba(255,255,255,0.6);
    font-size: 14px;
}

.footer-bottom a { color: var(--coral); }
.footer-bottom a:hover { color: var(--coral-light); }

/* ==========================================
   FLOATING BUTTONS
   ========================================== */
.floating-buttons {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.floating-btn {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 24px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
    transition: var(--transition);
    position: relative;
    border: none;
    cursor: pointer;
}

.floating-btn:hover { transform: scale(1.1); }

.floating-btn-whatsapp { background: #25D366; }
.floating-btn-call { background: var(--primary); }
.floating-btn-appointment { background: var(--coral); font-size: 18px; width: 64px; height: 64px; }

.floating-btn-tooltip {
    position: absolute;
    right: 70px;
    background: var(--darktext);
    color: var(--white);
    padding: 6px 14px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.floating-btn:hover .floating-btn-tooltip { opacity: 1; visibility: visible; }

/* ==========================================
   STICKY BOOK-APPOINTMENT BAR
   ========================================== */
.sticky-cta-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 10000;
    background: linear-gradient(135deg, var(--primary) 0%, #0a4a55 100%);
    box-shadow: 0 -4px 24px rgba(15,73,83,.30);
    transform: translateY(100%);
    transition: transform .45s cubic-bezier(.22,.68,0,1.2);
    will-change: transform;
}
.sticky-cta-bar.is-visible {
    transform: translateY(0);
}
.sticky-cta-bar.is-dismissed {
    transform: translateY(100%) !important;
}

.sticky-cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 14px 24px 14px 28px;
    max-width: 1400px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.sticky-cta-text {
    display: flex;
    align-items: center;
    gap: 12px;
    color: rgba(255,255,255,.95);
    font-size: 15px;
    flex: 1;
    min-width: 0;
}
.sticky-cta-text i {
    font-size: 22px;
    color: var(--coral);
    flex-shrink: 0;
}
.sticky-cta-text strong { color: #fff; }

.sticky-cta-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.sticky-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 20px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: all .25s ease;
    white-space: nowrap;
    border: 2px solid transparent;
}
.sticky-cta-btn:hover { transform: translateY(-2px); }

.sticky-wa   { background: #25D366; color: #fff; }
.sticky-wa:hover { background: #1ebe5c; color: #fff; }

.sticky-call { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.35); }
.sticky-call:hover { background: rgba(255,255,255,.22); color: #fff; }

.sticky-book { background: var(--coral); color: #fff; box-shadow: 0 4px 16px rgba(249,142,110,.45); }
.sticky-book:hover { background: #f06b40; color: #fff; box-shadow: 0 6px 22px rgba(249,142,110,.55); }

.sticky-cta-close {
    background: rgba(255,255,255,.10);
    border: none;
    color: rgba(255,255,255,.7);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
    font-size: 13px;
    transition: all .2s;
    margin-left: 4px;
}
.sticky-cta-close:hover { background: rgba(255,255,255,.22); color: #fff; }

/* On mobile hide the text label — keep buttons prominent */
@media (max-width: 767px) {
    .sticky-cta-text { display: none; }
    .sticky-cta-inner { justify-content: center; padding: 12px 16px; gap: 10px; }
    .sticky-cta-btn { padding: 10px 16px; font-size: 13px; }
    .sticky-cta-btn span { display: none; }
    .sticky-cta-btn i { font-size: 17px; }
    .sticky-cta-btn { padding: 12px 18px; border-radius: 50px; }
    .sticky-cta-close { margin-left: auto; }
}

/* Push floating circle buttons up when sticky bar is visible */
.sticky-cta-bar.is-visible ~ .floating-buttons {
    bottom: 90px;
}

/* ==========================================
   BREADCRUMB
   ========================================== */
.breadcrumb-nav {
    background: var(--mint);
    padding: 15px 0;
}

.breadcrumb {
    margin: 0;
    font-size: 14px;
}

.breadcrumb-item a { color: var(--primary); font-weight: 600; }
.breadcrumb-item.active { color: var(--gray); }
.breadcrumb-item + .breadcrumb-item::before { color: var(--coral); }

/* ==========================================
   PAGE HERO
   ========================================== */
.page-hero {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(ellipse at 30% 50%, rgba(249,142,110,0.1) 0%, transparent 50%);
}

.page-hero-title {
    font-size: 42px;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 10px;
    position: relative;
    z-index: 1;
}

.page-hero-subtitle {
    font-size: 18px;
    color: var(--mint);
    position: relative;
    z-index: 1;
}

/* ==========================================
   CONTENT SECTIONS
   ========================================== */
.content-section { padding: 80px 0; }

.content-box {
    background: var(--white);
    border-radius: var(--radius);
    padding: 40px;
    box-shadow: var(--shadow);
    margin-bottom: 30px;
}

.content-box h2 {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 3px solid var(--mint);
    display: inline-block;
}

.content-box h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--primary);
    margin: 30px 0 15px;
}

.content-box p { color: var(--gray); line-height: 1.8; margin-bottom: 15px; }

.content-box ul {
    padding-left: 20px;
    margin-bottom: 20px;
}

.content-box ul li {
    color: var(--gray);
    margin-bottom: 10px;
    line-height: 1.7;
    position: relative;
}

.content-box ul li::marker { color: var(--coral); }

/* ==========================================
   CTA BANNER
   ========================================== */
.cta-banner {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 50%, var(--coral) 100%);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.cta-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -20%;
    width: 60%;
    height: 200%;
    background: radial-gradient(ellipse, rgba(255,255,255,0.05) 0%, transparent 60%);
}

.cta-banner h2 {
    font-size: 42px;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 15px;
    position: relative;
    z-index: 1;
}

.cta-banner p {
    font-size: 18px;
    color: rgba(255,255,255,0.9);
    margin-bottom: 35px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 1;
}

/* ==========================================
   THANK YOU PAGE
   ========================================== */
.thank-you-section {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 80px 0;
}

.thank-you-icon {
    width: 100px;
    height: 100px;
    background: var(--mint);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    font-size: 48px;
    color: var(--primary);
    animation: checkBounce 0.6s ease;
}

@keyframes checkBounce {
    0% { transform: scale(0); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

/* ==========================================
   ADMIN PANEL STYLES
   ========================================== */
.admin-login-body {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.admin-login-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 50px;
    width: 100%;
    max-width: 420px;
    box-shadow: var(--shadow-lg);
}

.admin-login-card h2 {
    font-size: 28px;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 10px;
    text-align: center;
}

.admin-login-card p { color: var(--gray); text-align: center; margin-bottom: 30px; }

.admin-sidebar {
    background: var(--primary-dark);
    min-height: 100vh;
    width: 260px;
    position: fixed;
    left: 0;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
}

.admin-sidebar-brand {
    padding: 25px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    color: var(--white);
    font-weight: 700;
    font-size: 18px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.admin-sidebar-nav { list-style: none; padding: 20px 0; margin: 0; }

.admin-sidebar-nav li a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 25px;
    color: rgba(255,255,255,0.8);
    font-size: 14px;
    font-weight: 600;
    transition: var(--transition);
    border-left: 3px solid transparent;
}

.admin-sidebar-nav li a:hover,
.admin-sidebar-nav li a.active {
    background: rgba(255,255,255,0.1);
    color: var(--white);
    border-left-color: var(--coral);
}

.admin-main {
    margin-left: 260px;
    padding: 30px;
    background: var(--offwhite);
    min-height: 100vh;
}

.admin-header {
    background: var(--white);
    border-radius: var(--radius);
    padding: 20px 30px;
    margin-bottom: 30px;
    box-shadow: var(--shadow);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.stat-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 30px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

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

.stat-icon {
    width: 60px;
    height: 60px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 15px;
}

.stat-card h3 { font-size: 32px; font-weight: 800; color: var(--primary); margin-bottom: 5px; }
.stat-card p { color: var(--gray); font-size: 14px; margin: 0; }

.admin-table {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.admin-table th {
    background: var(--primary);
    color: var(--white);
    font-weight: 600;
    font-size: 13px;
    padding: 15px 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.admin-table td { padding: 15px 20px; font-size: 14px; color: var(--darktext); border-bottom: 1px solid var(--lightgray); }

/* ==========================================
   ANIMATIONS
   ========================================== */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }

/* Pulse animation for CTAs */
.pulse-animation { animation: ctaPulse 2s ease-in-out infinite; }

@keyframes ctaPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(249, 142, 110, 0.4); }
    50% { box-shadow: 0 0 0 15px rgba(249, 142, 110, 0); }
}

/* Gradient text */
.gradient-text {
    background: linear-gradient(135deg, var(--primary), var(--coral));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ==========================================
   RESPONSIVE DESIGN
   ========================================== */
@media (max-width: 991px) {
    .hero-title { font-size: 38px; }
    .section-title { font-size: 32px; }
    .page-hero-title { font-size: 32px; }
    .cta-banner h2 { font-size: 32px; }
    
    .timeline::before { left: 20px; }
    .timeline-item { width: 100% !important; padding-left: 60px !important; padding-right: 0 !important; left: 0 !important; }
    .timeline-item:nth-child(odd) .timeline-dot { left: 0; right: auto; }
    .timeline-item:nth-child(even) .timeline-dot { left: 0; }
    
    .admin-sidebar { width: 200px; }
    .admin-main { margin-left: 200px; }

    /* ---- Mobile nav collapse adjustments ---- */
    .main-navbar .navbar-collapse {
        background: #fff;
        border-top: 2px solid var(--mint);
        padding: 12px 4px 20px;
        max-height: 85vh;
        overflow-y: auto;
        box-shadow: 0 12px 30px rgba(15,73,83,.12);
    }
    .nav-link {
        padding: 12px 16px !important;
        border-bottom: 1px solid rgba(15,73,83,.06);
    }
    .nav-link::after { display: none; }
    .nav-link.active { color: var(--coral) !important; background: rgba(249,142,110,.06); }
    .navbar-toggler {
        border: 2px solid var(--primary);
        padding: 6px 10px;
        border-radius: 10px;
        color: var(--primary);
    }
    .navbar-toggler:focus { box-shadow: 0 0 0 3px rgba(15,73,83,.15); }
    .navbar-toggler-icon {
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3E%3Cpath stroke='%230F4953' stroke-width='2.5' stroke-linecap='round' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
    }
    /* Dropdowns inside collapse: stack normally */
    .dropdown-menu { box-shadow: none !important; border: none; border-radius: 0; background: #F9FCFB; padding: 0 0 0 16px; }
    .dropdown-item { font-size: 13.5px; padding: 9px 12px; border-bottom: 1px solid rgba(15,73,83,.05); }
    /* Mega menu on mobile: simple list */
    .mega-menu { min-width: unset !important; width: 100%; border: none; border-radius: 0; background: #F9FCFB; padding: 0 0 0 16px; box-shadow: none !important; }
    .mega-menu .col-md-5 { display: none; }
    .mega-menu .col-md-7 { width: 100%; }
    .mega-menu-list { padding-left: 0; }
    .mega-menu-list li a { font-size: 13px; padding: 8px 12px; }
    .mega-menu-title { font-size: 11px; padding: 8px 12px 4px; }
    /* Book Appointment button in mobile menu */
    .mobile-book-btn {
        display: flex !important;
        margin: 12px 16px 4px;
        background: var(--coral);
        color: #fff !important;
        border-radius: 50px;
        padding: 12px 20px !important;
        font-weight: 700;
        justify-content: center;
        gap: 8px;
        border-bottom: none !important;
        box-shadow: 0 4px 15px rgba(249,142,110,.3);
    }
    .mobile-book-btn:hover { background: #e87654; color: #fff !important; }
    /* Quick call bar on mobile */
    .mobile-call-bar {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 16px;
        padding: 10px 16px;
        background: var(--mint);
        font-size: 13px;
        font-weight: 600;
        color: var(--primary);
        border-bottom: 1px solid rgba(15,73,83,.1);
    }
    .mobile-call-bar a { color: var(--primary); text-decoration: none; }
}

@media (max-width: 767px) {
    .hero-title { font-size: 30px; }
    .hero-subtitle { font-size: 16px; }
    .section-title { font-size: 26px; }
    .hero-section { padding: 60px 0; min-height: auto; }
    
    .hero-buttons { flex-direction: column; }
    .btn-hero-primary, .btn-hero-outline, .btn-hero-whatsapp { width: 100%; justify-content: center; }
    
    .floating-buttons { bottom: 20px; right: 20px; }
    .floating-btn { width: 48px; height: 48px; font-size: 20px; }
    
    .admin-sidebar { transform: translateX(-100%); }
    .admin-main { margin-left: 0; }
    
    .counter-number { font-size: 36px; }
    
    .top-bar { display: none; }
    
    .section-header { margin-bottom: 40px; }
    .comparison-card { margin-bottom: 20px; }
    .award-item { margin-bottom: 15px; }
    
    .page-hero { padding: 50px 0; }
    .page-hero-title { font-size: 26px; }
    
    .cta-banner { padding: 50px 15px; }
    .cta-banner h2 { font-size: 26px; }
    
    .content-box { padding: 25px; }
    .content-box h2 { font-size: 22px; }

    .navbar-brand img.navbar-logo { height: 40px !important; }
}

/* ==========================================
   UTILITY CLASSES
   ========================================== */
.bg-primary-teal { background: var(--primary) !important; }
.bg-coral { background: var(--coral) !important; }
.bg-mint { background: var(--mint) !important; }
.bg-offwhite { background: var(--offwhite) !important; }
.bg-softpink { background: var(--softpink) !important; }
.text-primary-teal { color: var(--primary) !important; }
.text-coral { color: var(--coral) !important; }
.py-80 { padding-top: 80px; padding-bottom: 80px; }
.py-100 { padding-top: 100px; padding-bottom: 100px; }

/* Loading Spinner */
.spinner {
    width: 40px;
    height: 40px;
    border: 3px solid var(--mint);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }
