:root {
    --primary-blue: #0d6efd;
    --dark-navy: #0b2239;
    --accent-orange: #d98e3a;
    --top-bar-bg: #0a58ca;
}

body { font-family: 'Inter', sans-serif; }

/* --- Top Utility Bar --- */
.text-primary {
    --bs-text-opacity: 1;
    color: rgb(44 67 150) !important;
}
.top-bar {
    background-color: var(--top-bar-bg);
    padding: 8px 0;
    font-size: 0.85rem;
    border-bottom: 1px solid #eee;
}
.top-bar a {
    text-decoration: none;
    color: #fff;
    transition: 0.3s;
}
.top-bar a:hover { color: var(--primary-blue); }
.social-icons a {
    margin-left: 15px;
    font-size: 1rem;
    color: #fff;
}

/* --- Main Nav --- */
.navbar { 
    background: white !important; 
    box-shadow: 0 4px 10px rgba(0,0,0,0.05); 
    padding: 0; /* Remove padding to keep items tight to the edge */
}

.logo { width: 180px; } /* Set a specific width for the logo */
.clr-white { color: #fff; }

/* --- Mega Menu FIXES --- */
/* --- Mega Menu FIXES (Starts around Line 39) --- */
@media (min-width: 992px) {
    .nav-item.dropdown.mega-dropdown { 
        position: static !important; 
        display: flex; 
        align-items: center;
        /* Padding keeps the hover area active between nav and menu */
        padding-bottom: 15px; 
        margin-bottom: -15px;
    }

    .mega-menu {
        width: 100%;
        left: 0;
        right: 0;
        top: 100%;
        margin-top: 0 !important; /* Forces menu to sit flush with navbar */
        border: none;
        border-radius: 0 0 20px 20px;
        box-shadow: 0 15px 40px rgba(0,0,0,0.12);
        padding: 30px;
        background: white;
        z-index: 1100;
        display: none; 
        border-top: 3px solid var(--primary-blue);
    }

    /* THE BRIDGE: Invisible zone ensures mouse never leaves the hover state */
    .nav-item.dropdown.mega-dropdown::before {
        content: "";
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        height: 20px; 
        background: transparent;
        z-index: 1;
    }

    .nav-item.dropdown.mega-dropdown:hover .mega-menu {
        display: block;
        animation: fadeInMega 0.3s ease-in-out forwards;
    }
}
    /* Show both the menu and the bridge on hover */
    .nav-item.dropdown.mega-dropdown:hover .mega-menu,
    .nav-item.dropdown.mega-dropdown:hover::after {
        display: block;
        animation: fadeInMega 0.3s ease-in-out forwards;
    }
}

/* Internal menu styling */
.mega-menu h6 {
    color: #0d6efd;
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.mega-menu h6 span { margin-right: 8px; font-size: 18px; }

.mega-menu a {
    display: block;
    padding: 6px 0;
    color: #555;
    text-decoration: none;
    font-size: 0.9rem;
    transition: 0.2s;
}

.mega-menu a:hover {
    color: #0d6efd;
    padding-left: 10px;
    background-color: #f8f9fa;
}

/* --- Hero Slider --- */
/* --- High-Gloss Red Gradient Hero Slider --- */
.carousel-item { 
    height: 85vh; 
    min-height: 600px; 
    background-color: var(--dark-navy); 
}

.carousel-item img { 
    object-fit: cover; 
    opacity: 0.6; 
    height: 100%; 
}

/* Fixed Position for both slides */
.carousel-caption {
    bottom: 20% !important; /* Fixed vertical position to prevent shifting */
    left: 9% !important;   /* Fixed horizontal position */
    right: auto !important;
    text-align: left;
    
    /* Glossy Red Gradient */
   /* background: linear-gradient(135deg, rgba(211, 47, 47, 0.85) 0%, rgba(255, 112, 67, 0.6) 100%);*/
    background: linear-gradient(135deg, rgb(166 27 23) 0%, rgb(211 48 43) 10%);
    /* Glassmorphism/Glossy Effect */
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    
    padding: 50px 60px; 
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.4); /* Bright border for glossy rim */
    max-width: 450px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3), inset 0 0 20px rgba(255, 255, 255, 0.1);
    
    /* Animation */
    animation: heroSlideUp 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
    z-index: 10;
}

.carousel-caption h2 { 
    font-weight: 800; 
    font-size: 2rem; 
    line-height: 1.1;
    margin-bottom: 20px; 
    color: #ffffff;
    text-shadow: 0 2px 15px rgba(0,0,0,0.2);
}

.carousel-caption p {
    font-size: 1.15rem !important;
    line-height: 1.7;
    color: #ffffff !important;
    margin-bottom: 35px;
    font-weight: 400;
}

/* White Glossy Button for high contrast */
.btn-hero {
    background: rgba(255, 255, 255, 0.95);
    border: none;
    padding: 16px 40px;
    border-radius: 50px;
    font-weight: 700;
    color: #d32f2f !important;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: 0.3s all ease;
}

.btn-hero:hover {
    transform: translateY(-3px);
    background: #ffffff;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

@keyframes heroSlideUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Mobile Alignment Fix */
@media (max-width: 991px) {
    .carousel-caption {
        left: 5% !important;
        right: 5% !important;
        bottom: 15% !important;
        padding: 30px;
        max-width: 100%;
    }
}

/* --- Red Material Gradient Button with Icon --- */
.btn-gradient {
    /* Transition from Medical Red to a warmer Coral */
    background: linear-gradient(45deg, #e63946, #f1faee00, #ff7043);
    background: linear-gradient(45deg, #d32f2f, #ff7043); 
    border: none;
    color: white !important;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    font-size: 0.85rem;
    padding: 10px 24px !important;
    border-radius: 50px !important;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 4px 15px rgba(211, 47, 47, 0.3);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

/* Hover: Darkens slightly and increases "lift" shadow */
.btn-gradient:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(211, 47, 47, 0.4);
    background: linear-gradient(45deg, #b71c1c, #f4511e);
}

.btn-gradient .material-symbols-outlined {
    font-size: 20px;
    font-variation-settings: 'FILL' 1, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}

/* --- High-End Modal Styling --- */

/* 1. Sidebar Gradient (Matches your Red/Orange brand request) */
.appointment-sidebar {
    background: linear-gradient(135deg, #d32f2f 0%, #ff7043 100%);
    position: relative;
    overflow: hidden;
}

/* 2. Floating Input Refinement */
.custom-form-group .form-control, 
.custom-form-group .form-select {
    border-radius: 15px !important;
    padding: 1.2rem 1rem !important;
    transition: all 0.3s ease;
}

.custom-form-group .form-control:focus {
    background-color: #fff !important;
    box-shadow: 0 10px 20px rgba(211, 47, 47, 0.1) !important;
    border: 1px solid #ff7043 !important;
}

/* 3. Padding & Spacing */
.modal-lg {
    max-width: 900px;
}

.modal-content {
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25) !important;
}

/* 4. Button refinement */
.modal .btn-gradient {
    border-radius: 15px !important;
    font-size: 1rem;
    letter-spacing: 0.5px;
    background: linear-gradient(45deg, #d32f2f, #ff7043); /* Cite: consistent with user color request */
}

/* 5. Mobile Adjustments */
@media (max-width: 991px) {
    .modal-body {
        padding: 2rem !important;
    }
}

.dep-lable{font-size: 1.15rem;padding-top: 30px !important;}

/* --- Label-Only Form Styles --- */

/* Sidebar Gradient */
.appointment-sidebar {
    background: linear-gradient(135deg, #d32f2f 0%, #ff7043 100%);
}

/* Form Label Styling */
.form-label {
    margin-bottom: 0.5rem;
    display: block;
}

/* Input Styling (Matching the bg-light look) */
.form-control, .form-select {
    transition: all 0.3s ease;
    font-size: 0.95rem;border: solid 1px #d63431 !important;
}

/* Focus State: Soft shadow and border highlight */
.form-control:focus, .form-select:focus {
    background-color: #ffffff !important;
    box-shadow: 0 5px 15px rgba(211, 47, 47, 0.1) !important;
    border: 1px solid #ff7043 !important;
    outline: none;
}

/* Gradient Button Adjustment */
.btn-gradient {
    background: linear-gradient(45deg, #d32f2f, #ff7043);
    border: none;
    color: white !important;
    border-radius: 12px !important;
    transition: transform 0.2s;
}

.btn-gradient:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(211, 47, 47, 0.3);
}
/* --- Welcome Section Styling --- */
.ls-2 { letter-spacing: 2px; }

.welcome-img-wrapper {
    position: relative;
    padding: 20px;
}

.welcome-img-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 80%;
    height: 80%;
    background: linear-gradient(45deg, #d32f2f15, #ff704315);
    border-radius: 20px;
    z-index: -1;
}

.experience-badge {
    position: absolute;
    bottom: -10px;
    right: 0;
    background: linear-gradient(45deg, #d32f2f, #ff7043);
    color: white;
    padding: 25px;
    border-radius: 20px;
    text-align: center;
    min-width: 150px;
    animation: float 3s ease-in-out infinite;
}

/* Float Animation for the badge */
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

.text-accent {
    color: #ff7043; /* Matches your Book Appointment button */
}

/* Button Refinement */
.btn-outline-primary {
    border: 2px solid #d32f2f;
    color: #d32f2f;
    transition: 0.3s;
}

.btn-outline-primary:hover {
    background-color: #d32f2f;
    color: white;
    border-color: #d32f2f;
}

/* --- Doctor Section Styling --- */
/* --- Specialist Section with Building Parallax --- */

.doctors-parallax-section {
    /* Using your provided building image */
    background-image: url('../img/welcome.jpg'); 
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    padding: 120px 0;
}

.parallax-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Dark Deep Navy to Brand Red overlay for text clarity */
    background: linear-gradient(135deg, rgba(11, 34, 57, 0.9) 0%, rgba(8, 24, 168, 0.7) 100%);
    z-index: 1;
}

/* Glossy Glassmorphism Doctor Cards */
.glossy-card {
    background: rgba(255, 255, 255, 0.97) !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.4) !important;
    padding-top: 85px !important;
    margin-top: 65px;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.3) !important;
    transition: transform 0.4s ease;
}

.glossy-card:hover {
    transform: translateY(-12px);
}

/* Circular Doctor Portrait Borders */
.doctor-img-container {
    width: 170px;
    height: 170px;
    margin: -155px auto 20px auto;
    border-radius: 50%;
    border: 5px solid #fff;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

/* Matching your Brand Red for Headings */
.doctor-name {
    color: #d32f2f !important;
    font-weight: 700;
}

/* Red-to-Orange Gradient Button */
.btn-gradient {
    background: linear-gradient(45deg, #d32f2f, #ff7043) !important;
    border: none;
    color: white !important;
    font-weight: 700;
    border-radius: 12px !important;
    box-shadow: 0 5px 15px rgba(211, 47, 47, 0.3);
}

/* Disable parallax on mobile for performance */
@media (max-width: 991px) {
    .doctors-parallax-section {
        background-attachment: scroll;
    }
}
.doctor-qualification.mb-3{min-height:50px;}
.navbar-nav .nav-item a{font-size:14px;}
/*new css on 27-12-25*****/
    .service-card-hover {
        transition: transform 0.3s ease, box-shadow 0.3s ease;
        border-radius: 20px;
    }
    .service-card-hover:hover {
        transform: translateY(-10px);
        box-shadow: 0 15px 30px rgba(0,0,0,0.1) !important;
    }
    .ls-2 { letter-spacing: 2px; }
    .btn-outline-primary {
        border-radius: 50px;
        font-size: 0.75rem;
        font-weight: 700;
        padding: 8px 20px;
    }
.service-card {
        border-radius: 15px;
        transition: all 0.3s ease;
        border: 1px solid #eee;
    }
    .service-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 20px rgba(0,0,0,0.1) !important;
        border-color: var(--bs-primary);
    }
    .icon-box {
        height: 70px;
        width: 70px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .btn-primary {
        background: #2b3990; /* Matches typical medical blue */
        border: none;
        font-size: 0.7rem;
        font-weight: 700;
        text-transform: uppercase;
    }
    .text-danger {
        color: #e31e24 !important; /* Matches the red icons in your reference */
    }
	
/* Services Parallax Wrapper */
.services-parallax {
    background-image: url('../img/slider01.jpg'); /* Fixed background photo */
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
}

/* Bright White Overlay */
.white-parallax-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.90); /* Subtle transparency */
    z-index: 1;
}

/* Service Card Style */
.service-card {
    border: 1px solid #eee;
    border-radius: 15px;
    transition: all 0.3s ease-in-out;
    background-color: #ffffff;
    z-index: 2;
    position: relative;
}

.service-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.08) !important;
    border-color: #e31e24; /* Changes border to red on hover */
}

/* RED OUTLINE BUTTON */
.btn-red-outline {
    border: 2px solid #e31e24;
    color: #e31e24;
    background: transparent;
    font-weight: 700;
    font-size: 0.8rem;
    padding: 8px 25px;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.btn-red-outline:hover {
    background-color: #e31e24;
    color: #ffffff !important;
    box-shadow: 0 4px 12px rgba(227, 30, 36, 0.3);
}

/* Icon Box */
.icon-box {
    width: 70px;
    height: 70px;
    background: #fff8f8;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/******* Video gallery ********/

/* --- Black Gradient Parallax --- */
.video-parallax {
    background-image: url('../img/slider01.jpg'); /* Your background image */
    background-attachment: fixed;
    background-position: center;
    background-size: cover;
}

.black-gradient-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(180deg, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.7) 100%);
    z-index: 1;
}

/* --- Video Thumbnail & Play Button --- */
/* --- Video Gallery Enhancements --- */

.video-box {
    border-radius: 15px;
    overflow: hidden;
    transition: 0.4s ease;
    background: #fff;
}

.thumbnail-wrapper {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 9; /* Maintains uniform height across all 4 videos */
}

.thumbnail-wrapper img {
    object-fit: cover;
    height: 100%;
    width: 100%;
    transition: transform 0.6s ease;
}

/* Dark tint over thumbnail that disappears on hover */
.video-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.3);
    transition: 0.3s;
}

.video-box:hover .video-overlay {
    background: rgba(0, 0, 0, 0.1);
}

.video-box:hover img {
    transform: scale(1.1);
}

/* Pulsing Play Button Styling */
.play-btn {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 55px; height: 55px;
    background: #e31e24;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    z-index: 3;
    transition: 0.3s;
    box-shadow: 0 0 15px rgba(227, 30, 36, 0.5);
}

.video-box:hover .play-btn {
    background: #2b3990; /* Brand Blue on Hover */
    transform: translate(-50%, -50%) scale(1.2);
}

/* Button Refinement */
.btn-red-outline {
    border: 2px solid #e31e24;
    color: #e31e24;
    font-weight: 700;
    font-size: 0.75rem;
    padding: 8px 20px;
    letter-spacing: 0.5px;
}

/* --- Description Box Enhancement --- */
.description-box {
    background-color: #ffffff;
    /* Attractive subtle medical pattern background */
    background-image: radial-gradient(#f0f4f8 1px, transparent 1px);
    background-size: 15px 15px; 
    border-top: 3px solid #e31e24; /* Red accent line to separate from video */
    position: relative;
    z-index: 1;
}

/* Enhancing the Heading */
.description-box h6 {
    color: #1a202c;
    font-size: 1.1rem;
    letter-spacing: -0.5px;
}

/* Enhancing the Paragraph Text */
.description-text {
    color: #4a5568 !important; /* Premium Slate Gray */
    font-size: 0.875rem;
    line-height: 1.6;
    font-weight: 500;
    margin-bottom: 1.25rem;
    /* Soft text shadow to ensure legibility over patterns */
    text-shadow: 0 1px 1px rgba(255,255,255,0.8);
}

/* Video Box Polish */
.video-box {
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.video-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 30px rgba(0,0,0,0.4) !important;
}

/* Button Hover State */
.btn-red-outline:hover {
    background-color: #e31e24;
    color: #fff !important;
    box-shadow: 0 4px 12px rgba(227, 30, 36, 0.3);
}

/************Testimonial**************/
/* --- Attractive Card Styles --- */
/* --- Light Blue Border Card Styles --- */

.light-blue-border {
    border: 2px solid #e0f2fe !important; /* Soft Sky Blue Border */
    background: #ffffff;
    border-radius: 20px;
    transition: all 0.4s ease-in-out;
}

.attractive-card:hover {
    transform: translateY(-10px);
    border-color: #7dd3fc !important; /* Slightly darker blue on hover */
    box-shadow: 0 20px 40px rgba(125, 211, 252, 0.2) !important; /* Light blue glow shadow */
}

/* Sky Blue Avatar */
.sky-blue-bg {
    background: #f0f9ff;
    color: #0369a1;
    border: 1px solid #bae6fd;
    width: 46px;
    height: 46px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

/* Badge Styling */
.source-badge {
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #0369a1;
    background: #f0f9ff;
    padding: 4px 12px;
    border-radius: 50px;
    border: 1px solid #bae6fd;
}

/* Section Texture */
.medical-pattern-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    opacity: 0.05;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'%3E%3Cpath fill='%230369a1' d='M12 2L2 7v10l10 5l10-5V7L12 2zm0 2.18L20 8.18v7.64l-8 4l-8-4V8.18l8-4z'/%3E%3C/svg%3E");
    z-index: 1;
}

/* --- Toll Free Section --- */
.tollfree-section {
    background: #ffffff;
}

.icon-circle {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* --- Footer Main --- */
/* --- Toll Free Enhanced --- */
.tollfree-enhanced {
    background: #f0f9ff; /* Soft light blue background */
    border-top: 1px solid #bae6fd;
}

.medical-pattern-light {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    opacity: 0.05;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M30 0l30 30-30 30L0 30z' fill='%230369a1' fill-opacity='0.4' fill-rule='evenodd'/%3E%3C/svg%3E");
}

.contact-pill {
    background: #ffffff;
    padding: 12px 25px;
    border-radius: 100px;
    display: flex;
    align-items: center;
    border: 1px solid #e0f2fe;
}

.icon-box-red, .icon-box-blue {
    width: 45px; height: 45px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.2rem;
}
.icon-box-red { background: #fee2e2; color: #e31e24; }
.icon-box-blue { background: #e0f2fe; color: #2b3990; }

.btn-red-pill-lg {
    background: #e31e24;
    color: white;
    font-weight: 700;
    padding: 12px 30px;
    border-radius: 50px;
    transition: 0.3s;
    border: none;
}

/* --- Footer Premium --- */
.footer-dark-premium {
    background: #0b141d;
    position: relative;
    overflow: hidden;
}

.footer-heading {
    color: #ffffff;
    font-weight: 700;
    margin-bottom: 25px;
    position: relative;
    font-size: 1rem;
}

.footer-heading::after {
    content: '';
    position: absolute;
    left: 0; bottom: -8px;
    width: 30px; height: 2px;
    background: #e31e24;
}

.footer-list {
    padding: 0;
    list-style: none;
}

.footer-list li { margin-bottom: 12px; }

.footer-list a {
    color: #94a3b8;
    text-decoration: none;
    font-size: 0.9rem;
    transition: 0.3s;
}

.footer-list a:hover {
    color: #ffffff;
    padding-left: 5px;
}

.social-links-footer a {
    width: 35px; height: 35px;
    background: rgba(255,255,255,0.05);
    color: white;
    display: inline-flex;
    align-items: center; justify-content: center;
    border-radius: 50%;
    margin-right: 10px;
    transition: 0.3s;
}

.social-links-footer a:hover {
    background: #e31e24;
    transform: translateY(-3px);
}


/* --- Enhanced Toll-Free Background & Layout --- */

.tollfree-gradient-wrap {
    position: relative;
    /* Soft gradient from white to very light medical blue */
    background: radial-gradient(circle at top right, #ffffff, #f0f9ff 100%);
    overflow: hidden;
    border-top: 1px solid #e0f2fe;
    border-bottom: 4px solid #2b3990; /* Thick blue base to transition to footer */
}

/* Unique mesh pattern that fades in from the left */
.tollfree-mesh-bg {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-image: linear-gradient(#e0f2fe 1px, transparent 1px), linear-gradient(90deg, #e0f2fe 1px, transparent 1px);
    background-size: 40px 40px;
    opacity: 0.15;
    z-index: 1;
    mask-image: linear-gradient(to right, rgba(0,0,0,1), rgba(0,0,0,0));
}

/* Glassmorphic Contact Pill */
.contact-glass-pill {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid #ffffff;
    padding: 10px 25px;
    border-radius: 100px;
    display: flex;
    align-items: center;
    min-width: 280px;
    transition: all 0.3s ease;
}

.contact-glass-pill:hover {
    transform: translateY(-5px);
    background: #ffffff;
    box-shadow: 0 15px 30px rgba(43, 57, 144, 0.1) !important;
}

.pill-label {
    display: block;
    font-size: 0.65rem;
    font-weight: 800;
    text-transform: uppercase;
    color: #64748b;
    letter-spacing: 1px;
}

.pill-number {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1e293b;
    text-decoration: none;
    transition: color 0.3s;
}

.pill-number:hover {
    color: #e31e24;
}

/* Pulse Animation for Icons */
.pulse-icon {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    font-size: 1.1rem;
}

.pulse-icon.red { background: #fee2e2; color: #e31e24; }
.pulse-icon.blue { background: #e0f9ff; color: #0369a1; }

.pulse-icon::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    animation: iconPulse 2s infinite;
}

.pulse-icon.red::after { border: 2px solid #e31e24; }
.pulse-icon.blue::after { border: 2px solid #0369a1; }

@keyframes iconPulse {
    0% { transform: scale(1); opacity: 0.8; }
    100% { transform: scale(1.6); opacity: 0; }
}
.google-trust-badge {
    background: #ffffff;
    padding: 10px 18px;
    border-radius: 12px;
    display: inline-block;
    border: 1px solid #e2e8f0;
    transition: transform 0.3s ease;
}

.google-trust-badge:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.08) !important;
}

.g-logo-small {
    width: 28px;
    height: 28px;
}

.g-stars {
    color: #fabb05; /* Official Google Star Color */
    font-size: 11px;
    margin-bottom: -2px;
}

.g-text-box {
    font-size: 12px;
    color: #1e293b;
    display: flex;
    align-items: center;
}

.g-text-box span {
    white-space: nowrap;
}

/* Align About Us dropdown behavior with the Mega Menu */
@media (min-width: 992px) {
    /* Hover triggers for both the new dropdown and specialities */
    .nav-item.dropdown:hover > .dropdown-menu {
        display: block;
        margin-top: 0; /* Aligns top position with the navbar bottom */
        opacity: 1;
        visibility: visible;
        animation: slideUp 0.3s ease-out;
    }

    /* Standardizes the About Us dropdown appearance to match site theme */
    .hover-dropdown .dropdown-menu {
        border: none;
        border-radius: 0 0 15px 15px;
        box-shadow: 0 15px 30px rgba(0,0,0,0.1);
        padding: 15px 0;
        min-width: 220px;
    }

    .hover-dropdown .dropdown-item {
        padding: 10px 25px;
        font-weight: 500;
        transition: all 0.2s ease;
    }

    .hover-dropdown .dropdown-item:hover {
        background-color: #f8f9fa;
        color: #0d6efd; /* Match primary theme color */
        padding-left: 30px;
    }
}

/* Smooth entry animation */
@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}



/*******pricing card**********/
/* Container for the effect */
.pricing-container {
    perspective: 1000px;
}

/* The Main Glass Card */
.glass-pricing-card {
    display: inline-block;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 30px 50px;
    border-radius: 25px;
    border: 2px solid #e31e24;
    box-shadow: 0 20px 40px rgba(227, 30, 36, 0.15);
    position: relative;
    transition: all 0.5s ease;
    animation: floatingCard 4s ease-in-out infinite;
}

.glass-pricing-card:hover {
    transform: translateY(-10px) rotateX(5deg);
    box-shadow: 0 30px 60px rgba(227, 30, 36, 0.25);
}

/* "Limited Offer" Tag */
.offer-label {
    background: #e31e24;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 5px 15px;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 2px;
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    box-shadow: 0 4px 10px rgba(227, 30, 36, 0.3);
}

.main-price {
    font-weight: 800;
    color: #2c3e50;
    margin: 10px 0;
}

.price-highlight {
    color: #e31e24;
    display: inline-block;
    animation: colorGlow 2s ease-in-out infinite alternate;
}

/* The Glowing Pulse Ring (GIF effect) */
.pulse-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 105%;
    height: 115%;
    border-radius: 30px;
    border: 2px solid #e31e24;
    opacity: 0;
    animation: ringPulse 2s infinite;
}

/* Animated Line */
.animated-line {
    height: 4px;
    width: 60px;
    background: linear-gradient(90deg, transparent, #e31e24, transparent);
    margin: 15px auto;
    border-radius: 2px;
}

/* KEYFRAMES FOR THE "GIF" LOOK */
@keyframes floatingCard {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

@keyframes ringPulse {
    0% { width: 100%; height: 100%; opacity: 0.5; }
    100% { width: 115%; height: 130%; opacity: 0; }
}

@keyframes colorGlow {
    from { text-shadow: 0 0 5px rgba(227, 30, 36, 0); }
    to { text-shadow: 0 0 15px rgba(227, 30, 36, 0.4); }
}

.price-footnote {
    font-size: 12px;
    color: #7f8c8d;
    margin-bottom: 0;
}

/********Doctor page************/
/* Parallax Header Logic */
.dr-profile-hero {
    position: relative;
    z-index: 1;
}

/* Make the stat boxes match the blue theme */
.stat-box {
    background: #fff;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    text-align: center;
    transition: transform 0.3s ease;
}

.stat-box:hover {
    transform: translateY(-5px);
}

.border-primary { border-color: var(--medical-blue) !important; }
/* Replace red border with a darker blue for variety */
.border-danger { border-color: #003d99 !important; }
.text-danger { color: #003d99 !important; }

/* Expertise Cards */
.expertise-card {
    border-left: 4px solid var(--medical-blue);
    background: #fff;
    transition: all 0.3s ease;
}

.expertise-card:hover {
    background: var(--soft-blue);
    transform: translateX(10px);
}

/* Button Customization */
.btn-gradient {
    background: linear-gradient(45deg, #0a58ca, #003d99);
    border: none;
    color: white;
    padding: 12px 25px;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-gradient:hover {
    box-shadow: 0 5px 15px rgba(10, 88, 202, 0.4);
    transform: scale(1.05);
}
.profile-header {
            background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
            border-bottom: 1px solid #dee2e6;
        }
        .doctor-profile-img {
            border: 8px solid #fff;
            box-shadow: 0 15px 35px rgba(0,0,0,0.1);
            border-radius: 20px;
        }
        .expertise-card {
            border-left: 4px solid #e31e24;
            background: #fff;
            transition: 0.3s;
        }
        .expertise-card:hover {
            transform: translateX(10px);
            box-shadow: 0 5px 15px rgba(0,0,0,0.05);
        }
        .stat-box {
            background: #fff;
            border-radius: 15px;
            padding: 20px;
            text-align: center;
            box-shadow: 0 10px 25px rgba(0,0,0,0.05);
        }
/* Premium Card Styling */
.stat-premium-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 30px;
    padding: 40px 30px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
}

.stat-premium-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
}
/* Background "Ghost" Icon */
.card-bg-icon {
    position: absolute;
    right: -10px;
    bottom: -10px;
    opacity: 0.05;
    transform: rotate(-15deg);
}
.card-bg-icon span { font-size: 120px; }

/* Icon Box & Pulse */
.stat-icon-box {
    position: relative;
    width: 80px;
    height: 80px;
    background: #fff;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    z-index: 2;
}

.icon-main {
    font-size: 40px;
    color: #dc3545;
}

.pulse-ring {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 20px;
    border: 2px solid #28a745;
    animation: ring-pulse 2s infinite;
}
.red-pulse { border-color: #dc3545; }

@keyframes ring-pulse {
    0% { transform: scale(1); opacity: 0.5; }
    100% { transform: scale(1.5); opacity: 0; }
}

/* Typography */
.stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: #1a1a1a;
    margin: 0;
    line-height: 1;
}

.plus-symbol {
    color: #dc3545;
    font-size: 2rem;
    vertical-align: super;
}

.stat-text {
    font-weight: 600;
    color: #666;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1px;
    margin-top: 10px;
}

/* Progress Bars */
.progress-track {
    width: 60px;
    height: 4px;
    background: #eee;
    margin: 20px auto 0;
    border-radius: 10px;
}

.progress-fill { height: 100%; border-radius: 10px; }
.green-glow { background: #28a745; box-shadow: 0 0 10px rgba(40, 167, 69, 0.5); }
.red-glow { background: #dc3545; box-shadow: 0 0 10px rgba(220, 53, 69, 0.5); }

/* Animation Classes */
.animate-reveal-up {
    animation: revealUp 0.8s cubic-bezier(0.2, 1, 0.3, 1) forwards;
}
.animate-reveal-up-delayed {
    animation: revealUp 0.8s cubic-bezier(0.2, 1, 0.3, 1) 0.2s forwards;
    opacity: 0;
}

@keyframes revealUp {
    from { transform: translateY(50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

/* Mobile Adjustment */
@media (max-width: 768px) {
    .stats-overlap-container { margin-top: -30px; }
}
/****** our clinic page***************/
/* Enhanced Clinic Hero with Parallax */
.clinic-hero {
    background: linear-gradient(rgba(0, 43, 94, 0.75), rgba(0, 43, 94, 0.75)), 
                url('../img/welcome.jpg'); /* */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed; /* This creates the parallax effect */
    padding: 140px 0; /* Slightly more padding for better visual impact */
    color: white;
}

/* Fallback for mobile devices (parallax often jitters on mobile) */
@media (max-width: 768px) {
    .clinic-hero {
        background-attachment: scroll;
    }
}
  /* Glossy Solid Effects from Doctor Profiles */
        .stat-box-solid {
            border-radius: 12px;
            padding: 40px 20px;
            text-align: center;
            transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
            color: #ffffff;
            position: relative;
            overflow: hidden;
            box-shadow: 0 10px 20px rgba(0,0,0,0.1);
        }
        .bg-glossy-blue { background-color: #007bff; }
        .bg-glossy-red { background-color: #dc3545; }
        
        .stat-box-solid::before {
            content: '';
            position: absolute;
            top: 0; left: 0; width: 100%; height: 50%;
            background: rgba(255, 255, 255, 0.15);
        }

        /* Clinic Hero Styling */
       
        /* Facility Cards */
        .facility-card {
            border: none;
            border-radius: 15px;
            overflow: hidden;
            box-shadow: 0 5px 15px rgba(0,0,0,0.08);
            transition: transform 0.3s ease;
        }
        .facility-card:hover {
            transform: translateY(-10px);
        }
        .facility-img {
            height: 250px;
            object-fit: cover;
        }