/* query btn */
.mobile-fixed-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    display: flex;
    background-color: #027aaa;
    /* blue background */
    z-index: 9999;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
}

.mobile-fixed-bar .bar-btn {
    flex: 1;
    text-align: center;
    padding: 15px 0;
    color: white;
    font-weight: bold;
    text-decoration: none;
    font-size: 14px;
    border-right: 1px solid #008ac0;
}

.mobile-fixed-bar .bar-btn:last-child {
    border-right: none;
}

/* Top Bar */
.top-bar {
    background: #003e6b;
    color: white;
    font-size: 14px;
    padding: 5px 0;
}

.top-bar a {
    color: white;
    text-decoration: none;
    margin-right: 15px;
}

.top-bar .emergency {
    background-color: red;
    color: white;
    padding: 3px 8px;
    border-radius: 5px;
}

/* Logo Area */
.logo-bar {
    padding: 10px 10;
    background: white;
    border-bottom: 1px solid #eee;
}

/* Main Menu */
.navbar {
    background: #ffffff;
    border-bottom: 1px solid #ccc;
}

/* Hover effect for nav-links */
.navbar-nav .nav-link {
    transition: background-color 0.3s, color 0.3s;
    padding: 10px 15px;
}

.navbar-nav .nav-link:hover {
    background-color: #f0f0f0;
    color: #ff0000;
    border-radius: 5px;
}

/* Dropdown show on hover (for large screens only) */
@media (min-width: 992px) {
    .navbar-nav .dropdown:hover>.dropdown-menu {
        display: block;
    }
}

/* Offcanvas dropdown style (for mobile) */
.offcanvas .dropdown-menu {
    position: static;
    float: none;
    display: none;
    margin-left: 1rem;
    border: none;
    background: none;
}

.offcanvas .dropdown-menu.show {
    display: block;
}

/* Hover effects for nav links */
.navbar-nav .nav-link:hover {
    color: red !important;
}

.dropdown-item:hover {
    background-color: #ffe5e5;
    color: red;
}

/* Default Hero Section */
.action-bar {
    background: #007bff;
    color: white;
    display: flex;
    justify-content: space-around;
    padding: 10px 0;
}

.divider {
    width: 80px;
    height: 2px;
    background: #333;
    margin: 10px auto 20px;
    position: relative;
}

.divider-excellence {
    width: 80px;
    height: 2px;
    background: #e7e2e2;
    margin: 10px auto 20px;
    position: relative;
}

.divider-excellence::after {
    content: "";
    position: absolute;
    left: 50%;
    top: -3px;
    transform: translateX(-50%);
    width: 8px;
    height: 8px;
    background: #fff7f7;
    border-radius: 50%;
}

/* info section */
/* Responsive */
@media (max-width: 767.98px) {
    .info-card {
        flex-direction: column;
        text-align: center;
        padding-bottom: 180px;
    }

    .info-img {
        position: absolute;
        top: auto;
        bottom: 0;
        right: 50%;
        transform: translateX(50%);
        height: 180px;
    }

    .info-text {
        padding-right: 0 !important;
    }
}

/* marqee */
/* Centers of Excellence */
body {
    margin: 0;
    padding: 0;
}

/* Section before the fixed bg */
.section-above {
    padding: 100px 20px;
    background: #f8f9fa;
}

/* Fixed background section */
.fixed-bg-container {
    margin-top: 50px;
    position: relative;
    width: 100%;
    height: 80vh;
    padding: 60px 0;
    background-image: url("https://www.venkateshwarhospitals.com/images/cta-boxed-bg-1.webp");
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    overflow: hidden;
}

.fixed-bg-container::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 24, 36, 0.801);
    z-index: 1;
}

.fixed-bg-content {
    position: relative;
    z-index: 2;
    color: white;
}

@media (max-width: 768px) {
    .fixed-bg-content h1 {
        font-size: 1.5rem;
    }

    .cancer-img {
        height: 350px;
        /* Good height for md screens */
        margin-top: 1rem;
    }

    .fixed-bg-content {
        padding: 20px;
        text-align: center;
    }
}

/* Default image styling for lg and above */
.cancer-img {
    width: 100%;
    height: 80vh;
    object-fit: cover;
    border-radius: 10px;
}

/* SM screen specific layout */
@media (max-width: 576px) {
    .cancer-img {
        height: auto;
        margin-top: 1rem;
    }

    .fixed-bg-content h1 {
        font-size: 1.6rem;
        line-height: 1.4;
    }

    .fixed-bg-content {
        padding: 20px;
        text-align: center;
    }
}

/* International Patients */
.overlay-section {
    position: relative;
    width: 100%;
}

.overlay-section img {
    width: 100%;
    height: auto;
    display: block;
}

.overlay-dark::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
}


.overlay-content {
    position: absolute;
    top: 25%;
    left: 5%;
    right: 5%;
    z-index: 2;
    color: #fff;
    max-width: 90%;
}

/* Text Sizes */
.overlay-content h1 {
    font-weight: bold;
    line-height: 1.2;
    font-size: 1rem;
}

.overlay-content p {
    line-height: 1.4;
    font-size: 0.9rem;
}

@media (min-width:576px) {
    .overlay-content h1 {
        font-size: 1.2rem
    }

    .overlay-content p {
        font-size: 1rem
    }
}

@media (min-width:768px) {
    .overlay-content h1 {
        font-size: 2.2rem
    }

    .overlay-content p {
        font-size: 1.2rem
    }
}

@media (min-width:992px) {
    .overlay-content h1 {
        font-size: 1.4rem
    }

    .overlay-content p {
        font-size: 1.1rem
    }
}

@media (min-width:1200px) {
    .overlay-content h1 {
        font-size: 2rem
    }

    .overlay-content p {
        font-size: 1.3rem
    }
}

/* Footer */
.footer-bg {
    background: url("https://www.venkateshwarhospitals.com/images/footer-bg.webp") no-repeat center center;
    background-size: cover;
    position: relative;
    z-index: 5;
    width: 100%;
}

.footer-overlay {
    background-color: rgba(8, 8, 8, 0.8);
    /* Dark transparent overlay */
    padding-top: 4rem;
    padding-bottom: 3rem;
    position: relative;
    z-index: 2;
}

.footer-bg::before {
    content: "";
    position: absolute;
    inset: 0;
    background-color: rgba(12,
            3,
            3,
            0.644);
    /* Optional additional darkness */
    z-index: 1;
}

.footer-overlay>* {
    position: relative;
    z-index: 3;
}

.social-icon {
    background-color: rgb(0, 0, 0);
    color: rgb(7, 7, 7);
    border: 2px solid white;
    border-radius: 100%;
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.5s ease, background-color 0.3s, color 0.3s;
    font-size: 18px;
}

.social-icon:hover {
    transform: rotate(360deg);
    background-color: transparent;
    color: rgb(0, 0, 0);
}

.footer-overlay .d-flex {
    flex-wrap: wrap;
    gap: 10px;
}

.social-icon {
    font-size: 18px;
}

/* Base link style for footer */
.footer-overlay a {
    position: relative;
    display: inline-block;
    color: #fff;
    text-decoration: none;
    padding-bottom: 3px;
    transition: color 0.3s ease;
}

/* Animated underline effect */
.footer-overlay a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background-color: #fff;
    transition: width 0.3s ease;
}

.footer-overlay a:hover::after {
    width: 100%;
}

/* about us */
.icon-box {
    text-align: center;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 12px;
    transition: 0.3s;
}

.icon-box:hover {
    background-color: #f8f9fa;
    transform: translateY(-5px);
}

/* ContactUs */
iframe {
    width: 100%;
    height: 300px;
    border: none;
    border-radius: 12px;
}

/* Career section */
.card-hover:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.card-hover {
    transition: 0.3s ease;
    border: none;
    border-radius: 12px;
}

.form-control:focus {
    border-color: #0d6efd;
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

/* Our doctors */
/* Doctor Card Image */
.doctor-img {
    width: 300px;
    height: 300px;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
}

.doctor-card:hover .doctor-img {
    transform: scale(1.05);
}

@media (max-width: 576px) {
    .doctor-img {
        width: 140px;
        height: 140px;
    }
}

@media (min-width: 768px) {
    .doctor-img {
        width: 180px;
        height: 180px;
    }
}

@media (min-width: 992px) {
    .doctor-img {
        width: 200px;
        height: 200px;
    }
}

/* Optional enhancements */
.card h4 {
    color: #023361;
}

.card p {
    font-size: 16px;
    line-height: 1.6;
}

/* Content Enhancements */
.card h4 {
    color: #023361;
}

.card p {
    font-size: 16px;
    line-height: 1.6;
}

/* General seurgery */
.section-content img {
    width: 100%;
    border-radius: 30px;
    border: 3px solid #003e6b !important;
}

/* paediatrics */
.section-content img {
    width: 100%;
    border-radius: 30px;
    border: 3px solid #003e6b !important;
}

/* physiotherapy section */
.divider {
    width: 80px;
    height: 4px;
    background-color: #f75700;
    margin: 10px auto;
    border-radius: 10px;
}

.physiotherapy-img {
    width: 100%;
    border: 5px solid #003e6b !important;
    border-radius: 30px;
    box-shadow: 0 5px 20px rgba(252, 4, 4, 0.2);
}

/* laboratory section */
.laboratory-img {
    width: 100%;
    border: 5px solid #003e6b !important;
    border-radius: 30px;
    box-shadow: 0 5px 20px rgba(2, 156, 9, 0.2);
}

/* .diagnostic-section */
.diagnostic-content {
    z-index: 1;
    position: relative;
    color: #fff;
    text-align: center;
}

.img-shadow {
    border-radius: 30px;
    box-shadow: 0 10px 30px rgba(255, 0, 0, 0.2);
    border: 3px solid rgb(242, 149, 67, 255);
    width: 100%;
    height: auto;
}

.alt-section {
    padding: 60px 0;
}

@media (max-width: 767px) {
    .alt-section .col-md-6 {
        padding-left: 18px;
        padding-right: 18px;
    }

    .img-shadow {
        margin: 0;
        width: 100%;
        height: auto;
    }
}

/* Media section */
.media-logo img {
    width: 100%;
    opacity: 0.8;
    transition: transform 0.3s ease;
}

.media-logo img:hover {
    transform: scale(1.05);
    opacity: 1;
}

.gallery-img {
    border-radius: 8px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    width: 100%;
    height: 100%;
}

.section-title {
    font-weight: bold;
    margin-bottom: 30px;
    text-align: center;
    color: #f75700;
}

/* banner common */
/*Responsive - Small Screens */
/* banner common */
/*Responsive - Small Screens */
.hero-banner {
    position: relative;
    width: 100%;
    height: auto;
}

.hero-banner img {
    width: 100%;
    height: auto;
    display: block;
}

/* Gradient Overlay */
.hero-banner::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-banner .overlay-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    padding: 10px;
    width: 100%;
    max-width: 90%;
    z-index: 2;
}

/* Responsive text size */
@media (max-width: 768px) {
    .hero-banner h1 {
        font-size: 2rem;
    }

    .hero-banner p {
        font-size: 1rem;
    }

    .hero-banner h4 {
        font-size: 0.9rem;
    }
}

/* Responsive tweaks */
@media (max-width: 576px) {
    .hero-banner .overlay-content {
        padding: 10px 5px;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }

    .hero-banner .banner-img {
        width: 100%;
        height: auto;
        /* full image height maintain */
        object-fit: contain;
    }

    .hero-banner .overlay-content h1 {
        font-size: 1.3rem;
        margin-bottom: 0.4rem;
    }

    .hero-banner .overlay-content .lead {
        font-size: 0.9rem;
        margin-bottom: 0.4rem;
    }

    .hero-banner .overlay-content h4 {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 2px;
        font-size: 0.8rem;
        white-space: nowrap;
        flex-wrap: nowrap;
    }

    .hero-banner .overlay-content h4 .mx-1 {
        margin-left: 1px !important;
        margin-right: 1px !important;
    }
}

/*Book an Appointment */
body {
    background-color: #f8f9fa;
}

.appointment-section {
    min-height: 70vh;
    display: flex;
    align-items: center;
    padding: 10px 0;
}

.form-control:focus {
    box-shadow: none;
    border-color: #dc3545;
}

.btn-danger {
    background-color: #dc3545;
    border: none;
}

.btn-danger:hover {
    background-color: #bb2d3b;
}

.appointment-img img {
    width: 50%;
    border-radius: 10px;
}

/* Fix for header and offcanvas overlap */
.navbar-fixed-top {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1050;
    background-color: white;
}

body {
    padding-top: 85px;
}

.offcanvas-body {
    max-height: calc(100vh - 80px);
    overflow-y: auto;
}

/* Optional: Style dropdown in offcanvas */
.offcanvas .dropdown-menu {
    position: static;
    float: none;
}

/* Empanelments       */
body,
html {
    height: 100%;
    margin: 0;
}
/* Fixed background */
.bg-fixed {
    background: url('https://thesightavenue.com/public/frontend/assets/images/Empanelment.jpg') no-repeat center center fixed;
    background-size: cover;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

/* Dark shadow overlay */
.bg-fixed::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(9, 26, 45, 0.852);
  
}

.content-section {
    color: #fff;
    padding: 60px 20px;
    margin-bottom: 20px;
    border-radius: 10px;
}

.tpa-item {
    border: 2px solid #eff3fb;
    padding: 8px;
    margin-bottom: 12px;
    font-weight: 600;
    transition: 0.3s;
    justify-content: start;
    align-items: start;
    text-align: start;
}