/* =============================================
   RMV Hospital - Complete Stylesheet
   ALL PHASES: Mobile Optimization + Sticky CTAs + WhatsApp + All Fixes
   ============================================= */

:root {
    --primary: #0066CC;
    --primary-dark: #004C99;
    --primary-light: #E6F0FA;
    --secondary: #20B486;
    --secondary-light: #E6F7F1;
    --accent: #FF6B35;
    --accent-light: #FFF0EB;
    --whatsapp: #25D366;
    --whatsapp-dark: #128C7E;
    --text-dark: #1A1A2E;
    --text-muted: #6B7280;
    --gray-100: #F3F4F6;
    --gray-200: #E5E7EB;
    --gray-300: #D1D5DB;
    --white: #FFFFFF;
    --gradient-primary: linear-gradient(135deg, #0066CC 0%, #004C99 100%);
    --gradient-secondary: linear-gradient(135deg, #20B486 0%, #1a9b6c 100%);
    --gradient-hero: linear-gradient(135deg, #0066CC 0%, #20B486 100%);
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.15);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 30px;
}

/* === Base Styles === */
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

/* === Emergency Banner === */
.emergency-banner {
    background: var(--gradient-primary);
    color: var(--white);
    padding: 8px 0;
    font-size: 0.875rem;
}

    .emergency-banner a {
        color: var(--white);
    }

        .emergency-banner a:hover {
            text-decoration: underline;
        }

@media (max-width: 767.98px) {
    .emergency-banner {
        padding: 6px 0;
        font-size: 0.8rem;
    }
}

/* === Navbar + Book Appointment Button === */
.navbar {
    background: var(--white);
    box-shadow: var(--shadow-sm);
    padding: 12px 0;
    transition: all 0.3s ease;
}

    .navbar.scrolled {
        padding: 8px 0;
        box-shadow: var(--shadow-md);
    }

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

    .navbar-brand img {
        height: 62px;
        width: auto;
    }

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

.brand-name {
    font-weight: 600;
    font-size: 1.35rem;
    color: var(--primary);
    line-height: 1.2;
}

.brand-kannada {
    font-size: 0.78rem;
    color: var(--secondary);
    line-height: 1.2;
    font-weight: 500;
    display: block;
}

.brand-tagline {
    font-size: 0.7rem;
    color: var(--text-muted);
    line-height: 1.2;
}

.nav-link {
    font-weight: 500;
    color: var(--text-dark) !important;
    padding: 8px 16px !important;
    border-radius: var(--radius-sm);
    transition: all 0.3s ease;
}

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

.btn-emergency {
    background: var(--accent);
    color: var(--white) !important;
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    border: none;
}

    .btn-emergency:hover {
        background: #e55a2b;
        transform: translateY(-2px);
    }

.btn-book-appointment {
    background: var(--secondary);
    color: var(--white) !important;
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    border: none;
    text-decoration: none;
}

    .btn-book-appointment:hover {
        background: #1a9b6c;
        color: var(--white) !important;
        transform: translateY(-2px);
    }

/* MOBILE NAVBAR FIX - Logo & Hamburger same row */
@media (max-width: 991.98px) {
    .navbar > .container {
        flex-wrap: nowrap;
    }

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

        .navbar-brand img {
            height: 48px;
        }

    .brand-name {
        font-size: 1.1rem;
    }

    .brand-tagline {
        display: none;
    }

    .navbar-toggler {
        flex-shrink: 0;
        padding: 4px 8px;
        border: none;
    }

        .navbar-toggler:focus {
            box-shadow: none;
        }

    .navbar-collapse {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        box-shadow: var(--shadow-md);
        padding: 15px;
        z-index: 1000;
    }

    .navbar-nav .nav-link {
        padding: 12px 15px !important;
        border-bottom: 1px solid var(--gray-100);
    }

    .btn-emergency {
        justify-content: center;
        margin-top: 10px;
        width: 100%;
    }

    .navbar .btn-book-appointment {
        display: none;
    }
}

/* === Quick CTA Bar (Below Hero) === */
.quick-cta-bar {
    background: var(--white);
    box-shadow: var(--shadow-md);
    padding: 15px 0;
    position: relative;
    z-index: 100;
}

    .quick-cta-bar .cta-buttons {
        display: flex;
        justify-content: center;
        gap: 15px;
        flex-wrap: wrap;
    }

    .quick-cta-bar .btn {
        padding: 12px 24px;
        font-weight: 600;
        border-radius: 50px;
        display: inline-flex;
        align-items: center;
        gap: 8px;
        transition: all 0.3s ease;
    }

    .quick-cta-bar .btn-call {
        background: var(--accent);
        color: var(--white);
        border: none;
    }

        .quick-cta-bar .btn-call:hover {
            background: #e55a2b;
            color: var(--white);
            transform: translateY(-2px);
        }

    .quick-cta-bar .btn-book {
        background: var(--secondary);
        color: var(--white);
        border: none;
    }

        .quick-cta-bar .btn-book:hover {
            background: #1a9b6c;
            color: var(--white);
            transform: translateY(-2px);
        }

    .quick-cta-bar .btn-whatsapp {
        background: var(--whatsapp);
        color: var(--white);
        border: none;
    }

        .quick-cta-bar .btn-whatsapp:hover {
            background: var(--whatsapp-dark);
            color: var(--white);
            transform: translateY(-2px);
        }

    .quick-cta-bar .btn-find {
        background: var(--primary);
        color: var(--white);
        border: none;
    }

        .quick-cta-bar .btn-find:hover {
            background: var(--primary-dark);
            color: var(--white);
            transform: translateY(-2px);
        }

@media (max-width: 767.98px) {
    .quick-cta-bar {
        padding: 12px 0;
    }

        .quick-cta-bar .cta-buttons {
            gap: 8px;
        }

        .quick-cta-bar .btn {
            padding: 10px 16px;
            font-size: 0.85rem;
            flex: 1 1 calc(50% - 8px);
            justify-content: center;
        }
}

@media (max-width: 400px) {
    .quick-cta-bar .btn {
        flex: 1 1 100%;
    }
}

/* === Floating WhatsApp Button (Desktop) === */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
}

    .whatsapp-float .whatsapp-btn {
        width: 60px;
        height: 60px;
        background: var(--whatsapp);
        color: var(--white);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.75rem;
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
        transition: all 0.3s ease;
        text-decoration: none;
        position: relative;
    }

        .whatsapp-float .whatsapp-btn:hover {
            background: var(--whatsapp-dark);
            transform: scale(1.1);
            color: var(--white);
        }

    .whatsapp-float .whatsapp-tooltip {
        background: var(--white);
        color: var(--text-dark);
        padding: 8px 16px;
        border-radius: 8px;
        font-size: 0.85rem;
        font-weight: 500;
        box-shadow: var(--shadow-md);
        white-space: nowrap;
        opacity: 0;
        transform: translateX(10px);
        transition: all 0.3s ease;
        pointer-events: none;
        position: absolute;
        right: 70px;
        top: 50%;
        margin-top: -16px;
    }

    .whatsapp-float:hover .whatsapp-tooltip {
        opacity: 1;
        transform: translateX(0);
    }

    .whatsapp-float .whatsapp-btn::before {
        content: '';
        position: absolute;
        width: 60px;
        height: 60px;
        border-radius: 50%;
        background: var(--whatsapp);
        opacity: 0.3;
        animation: whatsappPulse 2s infinite;
        z-index: -1;
    }

@keyframes whatsappPulse {
    0% {
        transform: scale(1);
        opacity: 0.3;
    }

    50% {
        transform: scale(1.3);
        opacity: 0;
    }

    100% {
        transform: scale(1);
        opacity: 0;
    }
}

@media (max-width: 991.98px) {
    .whatsapp-float {
        display: none;
    }
}

/* === Mobile Sticky Bottom CTA Bar === */
.mobile-sticky-cta {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--white);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
    padding: 10px 15px;
    z-index: 1000;
}

    .mobile-sticky-cta .cta-grid {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 8px;
    }

    .mobile-sticky-cta .cta-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 8px 5px;
        border-radius: var(--radius-sm);
        text-decoration: none;
        transition: all 0.3s ease;
    }

        .mobile-sticky-cta .cta-item i {
            font-size: 1.25rem;
            margin-bottom: 3px;
        }

        .mobile-sticky-cta .cta-item span {
            font-size: 0.65rem;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }

    .mobile-sticky-cta .cta-call {
        background: var(--accent);
        color: var(--white);
    }

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

    .mobile-sticky-cta .cta-book {
        background: var(--secondary);
        color: var(--white);
    }

    .mobile-sticky-cta .cta-directions {
        background: var(--primary);
        color: var(--white);
    }

@media (max-width: 991.98px) {
    .mobile-sticky-cta {
        display: block;
    }

    body {
        padding-bottom: 80px;
    }
}

@media (max-width: 400px) {
    .mobile-sticky-cta .cta-grid {
        gap: 5px;
    }

    .mobile-sticky-cta .cta-item {
        padding: 6px 3px;
    }

        .mobile-sticky-cta .cta-item i {
            font-size: 1.1rem;
        }

        .mobile-sticky-cta .cta-item span {
            font-size: 0.55rem;
        }
}

/* === Hero Section - Condensed Mobile === */
.hero-section {
    background: linear-gradient(135deg, #f8faff 0%, #e6f0fa 100%);
    padding: 60px 0 40px;
    position: relative;
    overflow: hidden;
}

    .hero-section::before {
        content: '';
        position: absolute;
        top: -50%;
        right: -20%;
        width: 80%;
        height: 150%;
        background: var(--gradient-hero);
        border-radius: 50%;
        opacity: 0.1;
        z-index: 0;
    }

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

    .hero-content .badge {
        background: var(--primary-light);
        color: var(--primary);
        padding: 8px 16px;
        border-radius: 50px;
        font-weight: 600;
        font-size: 0.85rem;
        margin-bottom: 15px;
        display: inline-block;
    }

    .hero-content h1 {
        font-size: 2.75rem;
        font-weight: 800;
        line-height: 1.2;
        margin-bottom: 15px;
        color: var(--text-dark);
    }

        .hero-content h1 span {
            color: var(--primary);
        }

    .hero-content p {
        font-size: 1.1rem;
        color: var(--text-muted);
        margin-bottom: 25px;
    }

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

.hero-stats {
    display: flex;
    gap: 30px;
}

.hero-stat {
    text-align: center;
}

    .hero-stat .number {
        font-size: 1.75rem;
        font-weight: 800;
        color: var(--primary);
    }

    .hero-stat .label {
        font-size: 0.85rem;
        color: var(--text-muted);
    }

/* === Hero Right Side: Image + Floating Stack === */
.hero-right-wrapper {
    display: flex;
    align-items: center;
    gap: 16px;
    width: 100%;
    height: 100%;
}

    .hero-right-wrapper .hero-image {
        flex: 1;
        min-width: 0;
        position: relative;
        z-index: 1;
    }

        .hero-right-wrapper .hero-image img {
            border-radius: var(--radius-xl);
            box-shadow: var(--shadow-lg);
            width: 100%;
            height: auto;
            display: block;
        }

/* === Floating Cards Stack - Right of Hero Image === */
.hero-floating-stack {
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex-shrink: 0;
    width: 195px;
}

.floating-card {
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(10px);
    padding: 12px 14px;
    border-radius: var(--radius-md);
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: center;
    gap: 10px;
    white-space: nowrap;
    border-left: 3px solid transparent;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

    .floating-card:nth-child(1) {
        border-left-color: #E53935;
    }

    .floating-card:nth-child(2) {
        border-left-color: #43A047;
    }

    .floating-card:nth-child(3) {
        border-left-color: #1976D2;
    }

    .floating-card:nth-child(4) {
        border-left-color: #FB8C00;
    }

    .floating-card:hover {
        transform: translateX(-4px);
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.12);
    }

    .floating-card .icon {
        width: 36px;
        height: 36px;
        border-radius: 10px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1rem;
        flex-shrink: 0;
    }

        .floating-card .icon.emergency {
            background: #FFEBEE;
            color: #E53935;
        }

        .floating-card .icon.checkup {
            background: #E8F5E9;
            color: #43A047;
        }

        .floating-card .icon.doctors {
            background: #E3F2FD;
            color: #1976D2;
        }

        .floating-card .icon.insurance {
            background: #FFF3E0;
            color: #FB8C00;
        }

    .floating-card .text strong {
        display: block;
        font-size: 0.8rem;
        font-weight: 600;
        color: var(--text-dark);
    }

    .floating-card .text span {
        display: block;
        font-size: 0.68rem;
        color: var(--text-muted);
        margin-top: 1px;
    }

@keyframes fadeSlideIn {
    from {
        opacity: 0;
        transform: translateX(20px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}
/* Continuous float after slide-in */
.floating-card:nth-child(1) {
    animation: fadeSlideIn 0.5s ease-out 0.1s both, floatUpDown 3s ease-in-out 0.6s infinite;
}

.floating-card:nth-child(2) {
    animation: fadeSlideIn 0.5s ease-out 0.2s both, floatUpDown 3s ease-in-out 1.2s infinite;
}

.floating-card:nth-child(3) {
    animation: fadeSlideIn 0.5s ease-out 0.3s both, floatUpDown 3s ease-in-out 1.8s infinite;
}

.floating-card:nth-child(4) {
    animation: fadeSlideIn 0.5s ease-out 0.4s both, floatUpDown 3s ease-in-out 2.4s infinite;
}

@keyframes floatUpDown {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-6px);
    }
}

/* Floating stack - medium desktops */
@media (min-width: 992px) and (max-width: 1199.98px) {
    .hero-right-wrapper {
        gap: 12px;
    }

    .hero-floating-stack {
        width: 170px;
        gap: 8px;
    }

    .floating-card {
        padding: 10px 12px;
        gap: 8px;
    }

        .floating-card .icon {
            width: 32px;
            height: 32px;
            font-size: 0.9rem;
        }

        .floating-card .text strong {
            font-size: 0.74rem;
        }

        .floating-card .text span {
            font-size: 0.62rem;
        }
}
/* Floating stack - large desktops */
@media (min-width: 1400px) {
    .hero-floating-stack {
        width: 210px;
        gap: 12px;
    }

    .floating-card {
        padding: 14px 16px;
    }

        .floating-card .icon {
            width: 40px;
            height: 40px;
            font-size: 1.1rem;
        }

        .floating-card .text strong {
            font-size: 0.85rem;
        }

        .floating-card .text span {
            font-size: 0.72rem;
        }
}

@media (max-width: 991.98px) {
    .hero-section {
        padding: 30px 0 25px;
    }

    .hero-content .badge {
        padding: 6px 12px;
        font-size: 0.75rem;
        margin-bottom: 10px;
    }

    .hero-content h1 {
        font-size: 1.75rem;
        margin-bottom: 10px;
    }

    .hero-content p {
        font-size: 0.9rem;
        margin-bottom: 15px;
    }

    .hero-buttons {
        margin-bottom: 20px;
        gap: 10px;
    }

        .hero-buttons .btn {
            padding: 10px 16px;
            font-size: 0.9rem;
        }

    .hero-stats {
        gap: 15px;
        justify-content: center;
    }

    .hero-stat .number {
        font-size: 1.25rem;
    }

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

    .hero-floating-stack {
        display: none;
    }
}

@media (max-width: 575.98px) {
    .hero-section {
        padding: 20px 0 20px;
    }

    .hero-content h1 {
        font-size: 1.5rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

        .hero-buttons .btn {
            width: 100%;
            justify-content: center;
        }
}

/* === Quick Access Cards === */
.quick-access {
    padding: 40px 0;
    background: var(--white);
}

.quick-card {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 25px;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    height: 100%;
}

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

    .quick-card .icon {
        width: 60px;
        height: 60px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 0 auto 15px;
        font-size: 1.5rem;
    }

    .quick-card.emergency .icon {
        background: #FFEBEE;
        color: #E53935;
    }

    .quick-card.opd .icon {
        background: #E3F2FD;
        color: #1976D2;
    }

    .quick-card.pharmacy .icon {
        background: #E8F5E9;
        color: #43A047;
    }

    .quick-card.diagnostics .icon {
        background: #FFF3E0;
        color: #FB8C00;
    }

    .quick-card h4 {
        font-size: 1.1rem;
        margin-bottom: 8px;
    }

    .quick-card p {
        font-size: 0.875rem;
        color: var(--text-muted);
        margin-bottom: 0;
    }

@media (max-width: 991.98px) {
    .quick-access {
        padding: 25px 0;
    }

    .quick-card {
        padding: 15px;
    }

        .quick-card .icon {
            width: 45px;
            height: 45px;
            font-size: 1.2rem;
            margin-bottom: 10px;
        }

        .quick-card h4 {
            font-size: 0.95rem;
            margin-bottom: 5px;
        }

        .quick-card p {
            font-size: 0.75rem;
            display: none;
        }
}

/* === Section Styles - Reduced Padding === */
.section-padding {
    padding: 60px 0;
}

.section-padding-sm {
    padding: 40px 0;
}

@media (max-width: 991.98px) {
    .section-padding {
        padding: 35px 0;
    }

    .section-padding-sm {
        padding: 25px 0;
    }
}

@media (max-width: 575.98px) {
    .section-padding {
        padding: 25px 0;
    }

    .section-padding-sm {
        padding: 20px 0;
    }
}

.section-header {
    text-align: center;
    margin-bottom: 40px;
}

    .section-header .badge {
        background: var(--primary-light);
        color: var(--primary);
        padding: 8px 20px;
        border-radius: 50px;
        font-weight: 600;
        font-size: 0.85rem;
        margin-bottom: 15px;
        display: inline-block;
    }

    .section-header h2 {
        font-size: 2.25rem;
        font-weight: 700;
        margin-bottom: 10px;
    }

    .section-header p {
        color: var(--text-muted);
        font-size: 1.05rem;
        max-width: 600px;
        margin: 0 auto;
    }

@media (max-width: 991.98px) {
    .section-header {
        margin-bottom: 25px;
    }

        .section-header .badge {
            padding: 6px 14px;
            font-size: 0.75rem;
            margin-bottom: 10px;
        }

        .section-header h2 {
            font-size: 1.5rem;
            margin-bottom: 8px;
        }

        .section-header p {
            font-size: 0.9rem;
        }
}

/* === Page Header - Reduced Height === */
.page-header {
    background: var(--gradient-primary);
    color: var(--white);
    padding: 40px 0 35px;
    position: relative;
}

    .page-header::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='%23ffffff' fill-opacity='0.05'%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;
    }

    .page-header .container {
        position: relative;
        z-index: 1;
    }

    .page-header .breadcrumb {
        background: transparent;
        padding: 0;
        margin-bottom: 10px;
    }

    .page-header .breadcrumb-item a {
        color: rgba(255, 255, 255, 0.8);
    }

    .page-header .breadcrumb-item.active {
        color: var(--white);
    }

    .page-header .breadcrumb-item + .breadcrumb-item::before {
        color: rgba(255, 255, 255, 0.6);
    }

    .page-header h1 {
        font-size: 2.25rem;
        font-weight: 700;
        margin-bottom: 8px;
    }

    .page-header p {
        font-size: 1rem;
        opacity: 0.9;
        margin-bottom: 0;
    }

@media (max-width: 991.98px) {
    .page-header {
        padding: 25px 0 20px;
    }

        .page-header h1 {
            font-size: 1.5rem;
            margin-bottom: 5px;
        }

        .page-header p {
            font-size: 0.875rem;
        }

        .page-header .breadcrumb {
            font-size: 0.75rem;
            margin-bottom: 8px;
        }
}

@media (max-width: 575.98px) {
    .page-header {
        padding: 20px 0 15px;
    }

        .page-header h1 {
            font-size: 1.35rem;
        }
}

/* === Service Cards === */
.service-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    height: 100%;
}

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

    .service-card .card-icon {
        height: 120px;
        background: var(--gradient-primary);
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 3rem;
        color: var(--white);
    }

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

    .service-card h4 {
        font-size: 1.15rem;
        font-weight: 600;
        margin-bottom: 10px;
    }

    .service-card p {
        color: var(--text-muted);
        font-size: 0.9rem;
        margin-bottom: 15px;
    }

.btn-link {
    color: var(--primary);
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: gap 0.3s ease;
    background: none;
    border: none;
    padding: 0;
}

    .btn-link:hover {
        gap: 10px;
        color: var(--primary-dark);
    }

@media (max-width: 991.98px) {
    .service-card .card-icon {
        height: 80px;
        font-size: 2rem;
    }

    .service-card .card-body {
        padding: 15px;
    }

    .service-card h4 {
        font-size: 1rem;
    }

    .service-card p {
        font-size: 0.8rem;
        margin-bottom: 10px;
    }
}

/* === Doctor Cards === */
.doctor-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

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

    .doctor-card .card-image {
        height: 220px;
        position: relative;
        overflow: hidden;
    }

        .doctor-card .card-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

    .doctor-card .specialty-badge {
        position: absolute;
        bottom: 10px;
        right: 10px;
        background: var(--primary);
        color: var(--white);
        padding: 5px 12px;
        border-radius: 20px;
        font-size: 0.75rem;
        font-weight: 600;
    }

    .doctor-card .card-body {
        padding: 20px;
        text-align: center;
    }

    .doctor-card h4 {
        font-size: 1.1rem;
        font-weight: 600;
        margin-bottom: 5px;
    }

    .doctor-card .qualifications {
        color: var(--text-muted);
        font-size: 0.85rem;
        margin-bottom: 15px;
    }
    /* OPD Timings in Doctor Cards - Phase 3 */
    .doctor-card .opd-timing {
        background: var(--primary-light);
        color: var(--primary);
        padding: 8px 12px;
        border-radius: var(--radius-sm);
        font-size: 0.8rem;
        margin-bottom: 15px;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 5px;
    }

        .doctor-card .opd-timing i {
            font-size: 0.9rem;
        }

@media (max-width: 991.98px) {
    .doctor-card .card-image {
        height: 180px;
    }

    .doctor-card .card-body {
        padding: 15px;
    }

    .doctor-card h4 {
        font-size: 1rem;
    }

    .doctor-card .qualifications {
        font-size: 0.8rem;
        margin-bottom: 10px;
    }

    .doctor-card .opd-timing {
        font-size: 0.75rem;
        padding: 6px 10px;
    }
}

/* === Feature Cards === */
.feature-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 30px;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    height: 100%;
}

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

    .feature-card .icon {
        width: 60px;
        height: 60px;
        background: var(--primary-light);
        color: var(--primary);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.5rem;
        margin-bottom: 20px;
    }

    .feature-card.text-center .icon {
        margin: 0 auto 20px;
    }

    .feature-card h4 {
        font-size: 1.15rem;
        font-weight: 600;
        margin-bottom: 10px;
    }

    .feature-card p {
        color: var(--text-muted);
        font-size: 0.9rem;
        margin-bottom: 0;
    }

@media (max-width: 991.98px) {
    .feature-card {
        padding: 20px;
    }

        .feature-card .icon {
            width: 50px;
            height: 50px;
            font-size: 1.25rem;
            margin-bottom: 15px;
        }

        .feature-card h4 {
            font-size: 1rem;
        }

        .feature-card p {
            font-size: 0.85rem;
        }
}

/* === Testimonial Cards === */
.testimonial-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 30px;
    box-shadow: var(--shadow-sm);
    height: 100%;
}

    .testimonial-card .stars {
        color: #FFC107;
        margin-bottom: 15px;
    }

    .testimonial-card .quote {
        font-size: 1rem;
        color: var(--text-dark);
        font-style: italic;
        margin-bottom: 20px;
        line-height: 1.7;
    }

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

    .testimonial-card .author-image {
        width: 50px;
        height: 50px;
        border-radius: 50%;
        object-fit: cover;
    }

    .testimonial-card .author-info strong {
        display: block;
        font-size: 0.95rem;
    }

    .testimonial-card .author-info span {
        font-size: 0.8rem;
        color: var(--text-muted);
    }

@media (max-width: 991.98px) {
    .testimonial-card {
        padding: 20px;
    }

        .testimonial-card .quote {
            font-size: 0.9rem;
            margin-bottom: 15px;
        }
}

/* === Stats Section === */
.stats-section {
    background: var(--gradient-primary);
    padding: 50px 0;
    color: var(--white);
}

.stat-item {
    text-align: center;
    padding: 20px;
}

    .stat-item .number {
        font-size: 3rem;
        font-weight: 800;
        line-height: 1;
        margin-bottom: 10px;
    }

    .stat-item .label {
        font-size: 1rem;
        opacity: 0.9;
    }

@media (max-width: 991.98px) {
    .stats-section {
        padding: 30px 0;
    }

    .stat-item {
        padding: 10px;
    }

        .stat-item .number {
            font-size: 2rem;
            margin-bottom: 5px;
        }

        .stat-item .label {
            font-size: 0.8rem;
        }
}

/* === CTA Section === */
.cta-section {
    background: var(--gradient-primary);
    padding: 60px 0;
    color: var(--white);
}

    .cta-section h2 {
        font-size: 2rem;
        font-weight: 700;
        margin-bottom: 15px;
        color: var(--white);
    }

    .cta-section p {
        font-size: 1.1rem;
        opacity: 0.9;
        margin-bottom: 25px;
    }

.btn-white {
    background: var(--white);
    color: var(--primary);
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
}

    .btn-white:hover {
        background: var(--gray-100);
        color: var(--primary-dark);
        transform: translateY(-2px);
    }

@media (max-width: 991.98px) {
    .cta-section {
        padding: 35px 0;
    }

        .cta-section h2 {
            font-size: 1.5rem;
            margin-bottom: 10px;
        }

        .cta-section p {
            font-size: 0.95rem;
            margin-bottom: 20px;
        }

    .btn-white {
        padding: 10px 20px;
    }
}

/* === Footer - Social Links Hidden === */
.footer {
    background: #1A1A2E;
    color: rgba(255, 255, 255, 0.8);
    padding: 60px 0 0;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

    .footer-logo img {
        height: 40px;
    }

    .footer-logo span {
        font-size: 1.5rem;
        font-weight: 700;
        color: var(--white);
    }

.footer h5 {
    color: var(--white);
    font-weight: 600;
    margin-bottom: 20px;
}

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

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

    .footer-links a {
        color: rgba(255, 255, 255, 0.7);
        display: flex;
        align-items: center;
        gap: 8px;
        transition: all 0.3s ease;
    }

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

.footer-contact .contact-item {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
}

    .footer-contact .contact-item i {
        color: var(--primary);
        font-size: 1.1rem;
        margin-top: 3px;
    }

    .footer-contact .contact-item p {
        margin: 0;
    }

    .footer-contact .contact-item a {
        color: rgba(255, 255, 255, 0.8);
    }

        .footer-contact .contact-item a:hover {
            color: var(--white);
        }
/* Social Links - HIDDEN until pages ready */
.social-links {
    display: none;
    gap: 10px;
}

    .social-links a {
        width: 40px;
        height: 40px;
        background: rgba(255, 255, 255, 0.1);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        color: var(--white);
        transition: all 0.3s ease;
    }

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

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px 0;
    margin-top: 40px;
}

    .footer-bottom p {
        margin: 0;
        font-size: 0.9rem;
    }

@media (max-width: 991.98px) {
    .footer {
        padding: 40px 0 0;
        padding-bottom: 80px;
    }

        .footer h5 {
            margin-bottom: 15px;
        }

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

/* === Buttons === */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.btn-primary {
    background: var(--primary);
    border-color: var(--primary);
    padding: 10px 24px;
    border-radius: 50px;
    font-weight: 600;
}

    .btn-primary:hover {
        background: var(--primary-dark);
        border-color: var(--primary-dark);
        transform: translateY(-2px);
    }

.btn-secondary {
    background: var(--secondary);
    border-color: var(--secondary);
    padding: 10px 24px;
    border-radius: 50px;
    font-weight: 600;
}

    .btn-secondary:hover {
        background: #1a9b6c;
        border-color: #1a9b6c;
    }

.btn-outline-primary {
    border: 2px solid var(--primary);
    color: var(--primary);
    background: transparent;
    padding: 10px 24px;
    border-radius: 50px;
    font-weight: 600;
}

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

.btn-outline-light {
    border: 2px solid rgba(255, 255, 255, 0.5);
    color: var(--white);
    background: transparent;
    padding: 10px 24px;
    border-radius: 50px;
    font-weight: 600;
}

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

.btn-outline-secondary {
    border: 2px solid var(--secondary);
    color: var(--secondary);
    background: transparent;
    padding: 10px 24px;
    border-radius: 50px;
    font-weight: 600;
}

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

.btn-lg {
    padding: 14px 32px;
    font-size: 1.05rem;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.875rem;
}

/* === Utility Classes === */
.bg-gray-100 {
    background-color: var(--gray-100);
}

.bg-gray-50 {
    background-color: #f8fafc;
}

.bg-primary-light {
    background-color: var(--primary-light);
}

.bg-secondary-light {
    background-color: var(--secondary-light);
}

.text-primary {
    color: var(--primary) !important;
}

.text-secondary {
    color: var(--secondary) !important;
}

.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* === Insurance Table with Cashless/Reimbursement Column - Phase 3 === */
.insurance-table {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

    .insurance-table .table {
        margin-bottom: 0;
    }

    .insurance-table th {
        background: var(--gray-100);
        font-weight: 600;
        padding: 15px 20px;
        border: none;
    }

    .insurance-table td {
        padding: 15px 20px;
        vertical-align: middle;
        border-color: var(--gray-100);
    }

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

    .status-badge.accepted {
        background: #E8F5E9;
        color: #2E7D32;
    }

    .status-badge.not-accepted {
        background: #FFEBEE;
        color: #C62828;
    }
/* Payment Type Badges - Phase 3 */
.payment-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

    .payment-badge.cashless {
        background: #E8F5E9;
        color: #2E7D32;
    }

    .payment-badge.reimbursement {
        background: #FFF3E0;
        color: #E65100;
    }

    .payment-badge.both {
        background: #E3F2FD;
        color: #1565C0;
    }

/* === Contact Page === */
.contact-info-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 30px;
    box-shadow: var(--shadow-sm);
}

    .contact-info-card .info-item {
        display: flex;
        gap: 15px;
        margin-bottom: 25px;
    }

        .contact-info-card .info-item:last-child {
            margin-bottom: 0;
        }

        .contact-info-card .info-item .icon {
            width: 50px;
            height: 50px;
            background: var(--primary-light);
            color: var(--primary);
            border-radius: 12px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.25rem;
            flex-shrink: 0;
        }

        .contact-info-card .info-item h5 {
            font-size: 1rem;
            font-weight: 600;
            margin-bottom: 5px;
        }

        .contact-info-card .info-item p {
            margin-bottom: 0;
            color: var(--text-muted);
        }

.contact-form-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 30px;
    box-shadow: var(--shadow-sm);
}

.pricing-table {
    background: var(--white);
    border-radius: var(--radius-md);
    overflow: hidden;
}

    .pricing-table .table th {
        background: var(--gray-100);
        font-weight: 600;
    }

    .pricing-table .price {
        color: var(--primary);
        font-weight: 600;
    }

/* === Forms === */
.form-control, .form-select {
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--gray-200);
    transition: all 0.3s ease;
}

    .form-control:focus, .form-select:focus {
        border-color: var(--primary);
        box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.1);
    }

.form-label {
    font-weight: 500;
    margin-bottom: 8px;
}

.field-validation-error {
    color: #dc3545;
    font-size: 0.85rem;
    margin-top: 5px;
    display: block;
}

/* === Category & Doctor Category Styles === */
.category-summary-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .category-summary-card:hover {
        transform: translateY(-5px);
        box-shadow: var(--shadow-lg) !important;
    }

.category-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.category-icon-sm {
    width: 45px;
    height: 45px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.service-card.partner-service .card-icon.partner {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
}

.schedule-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: var(--secondary);
    color: white;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
}

.category-section {
    padding-bottom: 2rem;
    border-bottom: 1px solid #eee;
}

    .category-section:last-child {
        border-bottom: none;
    }

.doctor-card.category-visiting .card-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--secondary);
}

.doctor-card.category-consultant .card-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: #0dcaf0;
}

.page-header.visiting-header {
    background: linear-gradient(135deg, var(--secondary) 0%, #1a9b6c 100%);
}

.page-header.consultant-header {
    background: linear-gradient(135deg, #0dcaf0 0%, #0aa2c0 100%);
}

.page-header.partner-header {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
}

.subcategory-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.subcategory-header h4 {
    color: var(--text-dark);
    font-weight: 600;
}

.partner-info-card {
    background: linear-gradient(135deg, #f8f9ff 0%, #f0f4ff 100%);
    border-left: 4px solid var(--secondary);
}

.services-offered-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.icon-circle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

@media (max-width: 575.98px) {
    .row.g-4 {
        --bs-gutter-y: 1rem;
    }

    .d-flex.gap-3 {
        gap: 0.75rem !important;
    }
}
