@import url('https://fonts.googleapis.com/css2?family=Dancing+Script:wght@400..700&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

:root {
    --primary-color: #1e1a57;
    --secondary-color: #DC3545;
    --text-dark: black;
    --light-green: #E8F5E8;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Poppins", sans-serif;
    line-height: 1.6;
    color: #2c3e50;
    overflow-x: hidden;
}

/* Common CSS */

.button {
    background: linear-gradient(135deg, #605d8b 0%, #1e1a57 100%);
    color: white;
    border: none;
    padding: 10px;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.button:hover {
    background-color: var(--secondary-color);
    color: white;
    transform: translateY(-2px);
}

.heading-font {
    font-family: 'Playfair Display', serif;
}

@media (max-width: 768px) {
    .navbar-brand img {
        height: 40px;
    }
}

#modalVideoWrap iframe,
#modalVideoWrap video {
    display: block;
    margin: 0 auto;
    /* center horizontally */
    max-width: 100%;
    max-height: 80vh;
    /* fit inside screen */
    object-fit: contain;
}


/* Custom Navbar */
.navbar-custom {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    padding: 1rem 0;
    transition: all 0.3s ease;
}


.navbar-nav .nav-link {
    font-weight: 500;
    color: #2c3e50 !important;
    margin: 0 0.5rem;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: red !important;
}

.navbar-nav .active {
    color: red !important;
    font-weight: 900;
}

.btn-appointment {
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    border: none;
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    font-weight: 500;
    transition: transform 0.3s ease;
}

.btn-appointment:hover {
    transform: translateY(-2px);
    color: white;
}

/* Hero Carousel */
.hero-carousel {
    height: 100vh;
    position: relative;
}

.carousel-item {
    height: 100vh;
    background-size: cover;
    background-position: center;
    position: relative;
}

.carousel-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /* background: linear-gradient(45deg, rgba(122, 137, 160, 0.5), rgba(160, 216, 253, 0.7)); */
    background: linear-gradient(45deg, rgba(44, 90, 160, 0.8), rgba(52, 152, 219, 0.6));
}

.tit-logo {
    border-radius: 50%;
    filter: drop-shadow(0 0 12px rgba(255, 255, 255, 0.8)) !important;
}

.carousel-content {
    position: absolute;
    top: 40%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    z-index: 2;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.btn-hero {
    padding: 1rem 2rem;
    font-size: 1.1rem;
    border-radius: 30px;
    font-weight: 600;
    margin: 0.5rem;
    transition: all 0.3s ease;
}

.btn-primary-hero {
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    border: none;
    color: white;
}

.btn-outline-hero {
    border: 2px solid white;
    color: white;
    background: transparent;
}

.btn-hero:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

/* Carousel Controls */
.carousel-control-prev,
.carousel-control-next {
    width: 5%;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    opacity: 1;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 30px;
    height: 30px;
    background-size: 100%;
}

.carousel-indicators {
    bottom: 30px;
}

.carousel-indicators [data-bs-target] {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin: 0 4px;
    border: 2px solid white;
    background-color: transparent;
    opacity: 0.5;
    transition: all 0.3s ease;
}

.carousel-indicators .active {
    background-color: white;
    opacity: 1;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in {
    animation: fadeInUp 0.8s ease-out;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }
}


/* Service Start */

.service-card {
    transition: all 0.3s ease;
    border: none;
    border-top: 4px solid transparent;
}

.service-card img {
    height: 40vh !important;
}

.service-card:hover {
    transform: translateY(-8px) !important;
    border-top: 4px solid transparent;
    border-image: linear-gradient(135deg, #605d8b, #1e1a57) 1;
    border-image-slice: 1;
    box-shadow: 0 15px 35px rgba(43, 45, 95, 0.15) !important;
}

.emergency-banner {
    background: linear-gradient(135deg, #cbe0e9 0%, #d88e95 100%);
}

.stat-number {
    font-size: 2.2rem;
    font-weight: 700;
    color: #DC3545;
}

.section-title {
    color: #2B2D5F;
}

.feature-check::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: #1e1a57;
    margin-right: 8px;
}

/* Appointment */
.appoint-card {
    background: linear-gradient(135deg, #cbe0e9 0%, #d88e95 100%);
    height: 500px;
    border-radius: 10px;
}

.green-section {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.green-section a {
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    border: 1px solid #c0392b;
    color: white;
}

.appoint-img {
    clip-path: url(#curvedShape);
    height: 100%;
    position: relative;
}

.appoint-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Placeholder for missing doctor image */
.doctor-placeholder {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: white;
    text-align: center;
    position: absolute;
    top: 0;
    left: 0;
}

/* Mobile adjustments */
@media (max-width: 767px) {
    .appoint-card {
        height: auto;
    }

    .appoint-img {
        clip-path: none;
        border-radius: 0 0 40% 40%;
        height: 250px;
    }

    .green-section {
        min-height: 250px;
    }
}

/* Testimonial */
.price-carousel .owl-nav {
    position: absolute;
    width: calc(100% + 45px);
    height: 45px;
    top: calc(50% - 22.5px);
    left: -22.5px;
    display: flex;
    justify-content: space-between;
    opacity: 0;
    transition: .5s;
}

.price-carousel:hover .owl-nav {
    opacity: 1;
}

.price-carousel .owl-nav .owl-prev,
.price-carousel .owl-nav .owl-next {
    position: relative;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: black !important;
    background: linear-gradient(135deg, #cbe0e9 0%, #d88e95 100%) !important;
    border-radius: 2px;
    font-size: 22px;
    transition: .5s;
    border: none;
}

.price-carousel .owl-nav .owl-prev:hover,
.price-carousel .owl-nav .owl-next:hover {
    background: var(--secondary);
}


.testimonial-carousel {
    background: rgba(6, 163, 218, .85);
}

.testimonial-carousel .owl-nav {
    position: absolute;
    width: calc(100% + 46px);
    height: 46px;
    top: calc(50% - 23px);
    left: -23px;
    display: flex;
    justify-content: space-between;
    z-index: 1;
}

.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next {
    position: relative;
    width: 46px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    background: var(--primary);
    border-radius: 2px;
    font-size: 22px;
    transition: .5s;
    border: none;
}

.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {
    background: var(--secondary);
}

.testimonial-carousel .owl-item img {
    width: 120px;
    height: 120px;
}

.price-item {
    margin: 0 15px;
}

.section-title h5 {
    color: var(--primary);
    font-weight: 600;
}

.text-primary {
    color: var(--primary) !important;
}

/* Fallback for missing images */
.testimonial-img {
    width: 100%;
    height: 27vh;
    background: linear-gradient(135deg, #06A3DA, #FE5D37);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 3rem;
    border-radius: 8px 8px 0 0;
}

/* Footer */
footer {
    background-image: url('../images/bg.png');
    background-size: cover;
    background-repeat: no-repeat;
}

/* About Us */
.bg-gradient-lite {
    background-color: #c2dde9;
    /* background: linear-gradient(135deg, #cbe0e9 0%,c2dde9 #d88e95 100%); */
}

.bg-gradient {
    background: linear-gradient(135deg, #2c5aa0 0%, #3498db 100%) !important;
}

/* Our Doctors */
.cmo-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
    position: relative;
}

.cmo-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 60 60"><circle cx="30" cy="30" r="1.5" fill="rgba(44,90,160,0.05)"/></svg>') repeat;
    opacity: 0.4;
}

.cmo-container {
    position: relative;
    z-index: 2;
}

.physician-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    border-radius: 16px;
    box-shadow: 0 15px 35px rgba(44, 90, 160, 0.08);
    overflow: hidden;
    transition: all 0.3s ease;
    min-height: 500px;
}

.physician-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(44, 90, 160, 0.12);
}

.physician-image-wrap {
    position: relative;
    background: linear-gradient(135deg, #2c5aa0 0%, #3498db 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    min-height: 500px;
}

.physician-photo {
    width: 100%;
    height: 100%;
    border: none;
    box-shadow: none;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.physician-photo:hover {
    transform: scale(1.02);
}

/* .physician-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(231, 76, 60, 0.95);
    color: white;
    padding: 0.4rem 0.8rem;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 600;
    z-index: 3;
} */

.physician-content {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
}

.physician-name {
    font-size: 1.8rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 0.3rem;
}

.physician-designation {
    font-size: 1.1rem;
    color: #2c5aa0;
    font-weight: 600;
    margin-bottom: 0.3rem;
}

.physician-qualifications {
    font-size: 0.95rem;
    color: #e74c3c;
    font-weight: 500;
    margin-bottom: 1.5rem;
}

.physician-quote {
    font-size: 1rem;
    font-style: italic;
    color: #34495e;
    margin: 1.5rem 0;
    padding: 1rem 1.2rem;
    background: rgba(52, 152, 219, 0.08);
    border-left: 3px solid #3498db;
    border-radius: 0 8px 8px 0;
    position: relative;
}

.physician-quote::before {
    content: '"';
    font-size: 2rem;
    color: #3498db;
    position: absolute;
    top: -5px;
    left: 8px;
    font-family: serif;
}

.physician-bio {
    color: #6c757d;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.physician-stats {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.stat-item {
    display: flex;
    align-items: center;
    font-size: 0.9rem;
    color: #27ae60;
    font-weight: 500;
}

.stat-icon {
    width: 18px;
    height: 18px;
    margin-right: 0.5rem;
    color: #27ae60;
}

.physician-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.doc-appoint {
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    border: none;
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 20px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.doc-appoint:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(231, 76, 60, 0.3);
    color: white;
}

.btn-contact {
    background: transparent;
    border: 2px solid #3498db;
    color: #3498db;
    padding: 0.75rem 1.5rem;
    border-radius: 20px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.btn-contact:hover {
    background: #3498db;
    color: white;
    transform: translateY(-2px);
}

/* Responsive */
@media (max-width: 768px) {
    .physician-image-wrap {
        min-height: 300px;
    }

    .physician-content {
        padding: 1.5rem;
    }

    .physician-name {
        font-size: 1.5rem;
    }

    .physician-actions {
        justify-content: center;
    }

    .doc-appoint,
    .btn-contact {
        flex: 1;
        text-align: center;
        min-width: 140px;
    }
}

/* Main Doctors Section */
.doctors-grid {
    padding: 80px 0;
    background: #f8fafc;
}

.specialty-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
    margin-bottom: 30px;
}

.specialty-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.specialty-card .row {
    height: 100%;
    align-items: stretch;
}

.specialty-card .col-lg-4,
.specialty-card .col-md-4 {
    display: flex;
}

.specialty-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    min-height: 280px;
}

.speciality-carder {
    padding: 0 !important;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    position: relative;
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
}

.specialty-header {
    display: flex;
    align-items: center;
    margin-bottom: 25px;
    position: relative;
    background: linear-gradient(135deg, #2c5aa0 0%, #3498db 100%);
}

.specialty-icon {
    font-size: 3.5rem;
    background-color: white;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: float 3s ease-in-out infinite;
    filter: drop-shadow(0 2px 4px rgba(44, 90, 160, 0.2));
}

.speciality-title {
    font-size: 2.2rem;
    background-color: white;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0;
    font-weight: 700;
    position: relative;
}

.speciality-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: white;
    border-radius: 2px;
}

.spl-text {
    font-size: 1.15rem;
    line-height: 1.7;
    margin-bottom: 30px;
    flex-grow: 1;
    color: #64748b;
    position: relative;
    padding: 20px;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 12px;
    border-left: 4px solid #2c5aa0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.spl-text::before {
    content: '"';
    font-size: 3rem;
    color: #2c5aa0;
    opacity: 0.3;
    position: absolute;
    top: -5px;
    left: 10px;
    font-family: Georgia, serif;
}

.doctors-list {
    padding: 0;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.doctor-item {
    padding: 20px 30px;
    border-bottom: 1px solid #f1f5f9;
    transition: all 0.3s ease;
    position: relative;
    flex: 1;
}

.doctor-item:last-child {
    border-bottom: none;
}

.doctor-item:hover {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    transform: translateX(10px);
}

.doctor-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.doctor-item:hover::before {
    transform: scaleY(1);
}

.doctor-avatar {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #2c5aa0 0%, #3498db 100%);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 1.3rem;
    margin-right: 20px;
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
}

.doctor-avatar::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(45deg);
    transition: transform 0.6s ease;
}

.doctor-item:hover .doctor-avatar::before {
    transform: rotate(45deg) translate(50%, 50%);
}

.doctor-info h5 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 5px;
}

.doctor-qualifications {
    color: #64748b;
    font-size: 0.9rem;
    line-height: 1.4;
}



/* Floating Animation */
@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .specialty-icon {
        font-size: 2.5rem;
        margin-right: 15px;
    }

    .speciality-title {
        font-size: 1.5rem;
    }

    .specialty-header {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
    }

    .specialty-icon {
        margin-right: 0;
        margin-bottom: 15px;
    }

    .doctor-item {
        padding: 15px 20px;
    }

    .doctor-avatar {
        width: 50px;
        height: 50px;
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .specialty-card img {
        height: 200px;
    }
}

/* Form */

.form-group label {
    color: black;
    font-family: bestdeals;
}

.form-group {
    margin-bottom: 20px;
}

.form {
    box-shadow: rgba(17, 17, 26, 0.1) 0px 4px 16px,
        rgba(17, 17, 26, 0.05) 0px 8px 32px;
}

.con-icon {
    background: linear-gradient(135deg, #2c5aa0 0%, #3498db 100%);
    padding: 15px;
    border-radius: 50%;
}

.con-icon i {
    font-size: 20px;
    color: white !important;
}

.con-add {
    font-family: bestdeals;
    font-size: 18px;
}

/* banner */
.hero-banner {
    background-image: url(../images/banner2.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 400px;
    padding: 2rem;
    position: relative;
    display: flex;
    align-items: center;
}

.banner-con {
    position: relative;
    z-index: 2;
    color: white;
}

.banner-tit {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: white;
}

.hero-tagline {
    font-weight: 300;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.btn-appointment {
    padding: 15px 15px;
    font-size: 0.8rem;
    font-weight: 600;
    border-radius: 50px;
    background-color: var(--primary-color);
    border: none;
    color: white;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3);
}

.btn-appointment:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 123, 255, 0.4);
    background: linear-gradient(45deg, #0056b3, #004085);
    color: white;
}

.btn-appointment:focus {
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.5);
    color: white;
}

@media (max-width: 768px) {
    .banner-tit {
        font-size: 2.5rem;
    }

    .hero-tagline {
        font-size: 1.1rem;
    }

    .hero-banner {
        min-height: 550px;
    }
}

@media (max-width: 576px) {
    .banner-tit {
        font-size: 2rem;
    }

    .btn-appointment {
        padding: 12px 25px;
        font-size: 1rem;
    }
}

.whats_pin img {
    position: fixed;
    bottom: 10px;
    left: 10px;
    width: 6%;
}

.call_pin img {
    position: fixed;
    bottom: 10px;
    right: 10px;
    width: 5%;
}

@media only screen and (max-width: 600px) {
    .whats_pin img {
        width: 15%;
    }

    .call_pin img {
        width: 15%;
    }
}


.hospital-preloader * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.hospital-preloader-body {
    font-family: 'Arial', sans-serif;
    overflow: hidden;
}

.hospital-loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #3bd6db 0%, #00bfe0 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease-out;
}

.hospital-loading-screen.hospital-fade-complete {
    opacity: 0;
    pointer-events: none;
}

.hospital-content-wrapper {
    text-align: center;
    animation: hospital-slide-up 1s ease-out;
}

.hospital-medical-symbol {
    position: relative;
    width: 50%;
    height: 45%;
    margin: 0 auto 10px;
    animation: hospital-breathing-effect 2s infinite ease-in-out;
}

.hospital-medical-symbol img {
    height: 100%;
    width: 100%;
}


.hospital-pulse-monitor {
    width: 100px;
    height: 40px;
    margin: 0 auto 10px;
    position: relative;
    overflow: hidden;
}

.hospital-ecg-line {
    position: absolute;
    width: 200%;
    height: 2px;
    background: white;
    top: 50%;
    left: -100%;
    animation: hospital-ecg-sweep 3s infinite linear;
}

.hospital-ecg-line::before {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    background: white;
    top: -9px;
    left: 20%;
    clip-path: polygon(0% 40%, 20% 0%, 40% 40%, 60% 0%, 80% 40%, 100% 40%, 90% 60%, 70% 40%, 50% 60%, 30% 40%, 10% 60%);
    animation: hospital-ecg-blip 3s infinite linear;
}

.hospital-main-title {
    color: white;
    font-size: 2.8rem;
    font-weight: bold;
    letter-spacing: 2px;
    margin-bottom: 18px;
    animation: hospital-text-breathe 2s infinite ease-in-out;
}

.hospital-sub-title {
    color: red;
    font-size: 2.5rem;
    font-weight: bold;
    letter-spacing: 1px;
}

.hospital-load-bar {
    width: 200px;
    height: 3px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 2px;
    margin: 30px auto 0;
    overflow: hidden;
}

.hospital-load-progress {
    width: 0%;
    height: 100%;
    background: linear-gradient(90deg, #4facfe 0%, #00f2fe 100%);
    border-radius: 2px;
    animation: hospital-progress-fill 4s ease-out forwards;
}

.hospital-bg-icons {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.hospital-floating-icon {
    position: absolute;
    opacity: 0.1;
    animation: hospital-drift-motion 6s infinite ease-in-out;
}

.hospital-floating-icon:nth-child(1) {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
    font-size: 30px;
}

.hospital-floating-icon:nth-child(2) {
    top: 60%;
    right: 15%;
    animation-delay: 2s;
    font-size: 25px;
}

.hospital-floating-icon:nth-child(3) {
    bottom: 20%;
    left: 15%;
    animation-delay: 4s;
    font-size: 35px;
}

.hospital-floating-icon:nth-child(4) {
    top: 30%;
    right: 25%;
    animation-delay: 1s;
    font-size: 28px;
}

/* Hospital Custom Animations */
@keyframes hospital-breathing-effect {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }
}

@keyframes hospital-shimmer-glow {
    0% {
        box-shadow: 0 0 5px rgba(255, 255, 255, 0.5);
    }

    100% {
        box-shadow: 0 0 20px rgba(255, 255, 255, 0.8), 0 0 30px rgba(255, 255, 255, 0.4);
    }
}

@keyframes hospital-ecg-sweep {
    0% {
        left: -100%;
    }

    100% {
        left: 100%;
    }
}

@keyframes hospital-ecg-blip {

    0%,
    100% {
        opacity: 0;
    }

    50% {
        opacity: 1;
    }
}

@keyframes hospital-text-breathe {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.7;
    }
}

@keyframes hospital-slide-up {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes hospital-progress-fill {
    0% {
        width: 0%;
    }

    100% {
        width: 100%;
    }
}

@keyframes hospital-drift-motion {

    0%,
    100% {
        transform: translateY(0px) rotate(0deg);
        opacity: 0.1;
    }

    50% {
        transform: translateY(-20px) rotate(180deg);
        opacity: 0.2;
    }
}

/* Hospital Responsive Styles */
@media (max-width: 768px) {
    .hospital-medical-symbol {
        width: 50%;
        height: 40%;
    }

    .hospital-cross-bar-h {
        width: 60px;
        height: 15px;
        top: 22.5px;
    }

    .hospital-cross-bar-v {
        width: 15px;
        height: 60px;
        left: 22.5px;
    }

    .hospital-main-title {
        font-size: 20px;
    }

    .hospital-load-bar {
        width: 150px;
    }
}

/* Careers */
/* Cards */
.benefit-card {
    border: none;
    border-radius: 1rem;
    transition: all 0.3s ease-in-out;
    background: #fff;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.benefit-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.benefit-icon {
    font-size: 3rem;
    color: #084972;
}

.career-form input::placeholder {
    font-weight: bold;
}


/* Gallery styles */

#gallery .btn-group .btn.active {
    color: #fff;
    background-color: #084972;
    border-color: #084972;
}

.gallery-card {
    position: relative;
    overflow: hidden;
    border-radius: 1rem;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
    transition: transform .2s ease, box-shadow .2s ease;
}

.gallery-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.1);
}

.gallery-card img {
    display: block;
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.video-thumb .play-badge {
    position: absolute;
    inset: auto auto 12px 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    font-size: 1.25rem;
}

.gallery-item {
    opacity: 1;
    visibility: visible;
    transition: opacity 0.4s ease, transform 0.4s ease, visibility 0.4s ease;
}

.gallery-item.hide {
    opacity: 0;
    visibility: hidden;
    transform: scale(0.95);
    pointer-events: none;
}

.gallery-item[hidden] {
    display: none !important;
}

/* Facilities */
.fac .card {
    transition: all 0.3s ease;
}

.fac .card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

/* Insurance */
.pmj-gradient {
    background: linear-gradient(135deg, #ebcbce 0%, #dd7e87 100%);
}

.ins-card:hover {
    transform: translateY(-8px);
    transition: all 0.3s ease;
}

.icon-circle {
    width: 80px;
    height: 80px;
}
.ins-support{
     background-color: #2b5aa1 !important;
}

.bg-pattern {
    background-image: radial-gradient(circle at 25% 25%, rgba(99, 102, 241, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(139, 92, 246, 0.1) 0%, transparent 50%);
}

.border-gradient {
    border: 3px solid transparent;
    background: linear-gradient(white, white) padding-box,
        linear-gradient(45deg, #6366f1, #8b5cf6, #06b6d4) border-box;
}

.ins-animate-fade {
    animation: fadeIn 0.8s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}