    /* Base Variables and Reset */
    
    @import url('https://fonts.googleapis.com/css2?family=Libre+Baskerville:ital,wght@0,400;0,700;1,400&family=Raleway:ital,wght@0,100..900;1,100..900&family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');
    @import url('https://fonts.googleapis.com/css2?family=Nunito:ital,wght@0,200..1000;1,200..1000&display=swap');
    @import url('https://fonts.googleapis.com/css2?family=Merriweather:ital,wght@0,400;0,700;1,400&family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');
    * {
        font-family: 'Merriweather', serif;
    }
    
    h1,
    h2,
    h3,
    h4,
    h5,
    h6 {
        font-family: 'Merriweather', serif;
        font-size: 16px;
        line-height: 1.6;
    }
    
     :root {
        --primary-color: #b30000;
        --secondary-color: #ff0000;
        --accent-color: #3b82f6;
        --success-color: #ff0000;
        --warning-color: #f59e0b;
        --danger-color: #b30000;
        --light-color: #f8fafc;
        --dark-color: #b30000;
        --gradient-primary: linear-gradient(135deg, #b30000, #ffffff);
        --gradient-secondary: linear-gradient(135deg, #ffffff 0%, #b30000 100%);
        --gradient-light: linear-gradient(135deg, #fff 0%, #b30000 100%);
        --shadow-light: 0 4px 6px rgba(0, 0, 0, 0.07);
        --shadow-medium: 0 10px 15px rgba(0, 0, 0, 0.1);
        --shadow-heavy: 0 20px 25px rgba(0, 0, 0, 0.15);
        --glass-bg: rgba(255, 255, 255, 0.1);
        --glass-border: rgba(255, 255, 255, 0.2);
    }
    
    * {
        margin: 0;
        padding: 0;
        box-sizing: border-box;
    }
    
    body {
        font-family: 'Nunito', sans-serif;
        font-size: 16px;
        overflow-x: hidden;
    }
    /* Main Heading - H1 */
    
    h1 {
        font-size: 3rem;
        font-weight: 700;
        /* primary hospital color */
        line-height: 1.2;
        margin-bottom: 1rem;
    }
    /* H2 */
    
    h2 {
        font-size: 2.5rem;
        font-weight: 600;
        line-height: 1.3;
        margin-bottom: 0.9rem;
    }
    /* H3 */
    
    h3 {
        font-size: 2rem;
        font-weight: 600;
        line-height: 1.3;
        margin-bottom: 0.8rem;
    }
    /* H4 */
    
    h4 {
        font-size: 1.75rem;
        font-weight: 500;
        line-height: 1.3;
        margin-bottom: 0.7rem;
    }
    /* H5 */
    
    h5 {
        font-size: 1.5rem;
        font-weight: 500;
        line-height: 1.3;
        margin-bottom: 0.6rem;
    }
    /* H6 */
    
    h6 {
        font-size: 1.25rem;
        font-weight: 400;
        line-height: 1.3;
        margin-bottom: 0.5rem;
    }
    /* Responsive adjustments */
    
    @media (max-width: 768px) {
        h1 {
            font-size: 2.25rem;
        }
        h2 {
            font-size: 2rem;
        }
        h3 {
            font-size: 1.75rem;
        }
        h4 {
            font-size: 1.5rem;
        }
        h5 {
            font-size: 1.25rem;
        }
        h6 {
            font-size: 1rem;
        }
    }
    
    html {
        scroll-behavior: smooth;
    }
    /* Utility Classes */
    
    .glass-card {
        background: var(--glass-bg);
        backdrop-filter: blur(10px);
        border: 1px solid var(--glass-border);
        border-radius: 20px;
        padding: 2rem;
        box-shadow: var(--shadow-medium);
    }
    
    .bg-light-gradient {
        background: var( --gradient-primary);
    }
    /* Buttons */
    
    .btn-3d {
        position: relative;
        padding: 0.75rem 2rem;
        border: none;
        border-radius: 50px;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        transition: all 0.3s ease;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
        transform: perspective(1px) translateZ(0);
        backface-visibility: hidden;
    }
    
    .btn-3d:hover {
        transform: translateY(-3px) scale(1.02);
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
    }
    
    .btn-3d:active {
        transform: translateY(-1px);
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    }
    
    .btn-primary.btn-3d {
        background: linear-gradient(135deg, #b30000, #ff0000);
        color: white;
        z-index: 2;
    }
    
    .btn-outline-light.btn-3d {
        background: transparent;
        border: 2px solid rgba(255, 255, 255, 0.8);
        color: white;
    }
    
    .btn-outline-light.btn-3d:hover {
        background: rgba(255, 255, 255, 0.1);
        border-color: white;
    }
    /* ================================
   Floating Ambulance Button
   ================================ */
    
    .ambulance-whatsapp-btn {
        position: fixed;
        bottom: 100px;
        /* Distance from bottom */
        left: 20px;
        /* Distance from left */
        z-index: 9999;
        /* On top */
        background: linear-gradient(135deg, #b30000, #ff0000);
        color: #fff;
        border-radius: 50%;
        width: 60px;
        height: 60px;
        display: flex;
        justify-content: center;
        align-items: center;
        font-size: 26px;
        text-decoration: none;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
        transition: transform 0.3s ease, background-color 0.3s ease;
        animation: pulse 1.5s infinite;
    }
    
    .ambulance-whatsapp-btn:hover {
        transform: scale(1.1);
    }
    /* Pulse animation */
    
    @keyframes pulse {
        0% {
            box-shadow: 0 0 0 0 rgba(179, 0, 0, 0.6);
        }
        70% {
            box-shadow: 0 0 0 15px rgba(217, 83, 79, 0);
        }
        100% {
            box-shadow: 0 0 0 0 rgba(217, 83, 79, 0);
        }
    }
    /* ================================
   Floating Appointment Button
   ================================ */
    
    .btn-pri.btn-3d {
        position: fixed !important;
        /* Always fixed */
        bottom: 30px;
        /* Distance from bottom */
        right: 20px;
        /* Distance from right */
        z-index: 2147483647 !important;
        /* Always on top */
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 12px 20px;
        font-size: 16px;
        border-radius: 8px;
        background: linear-gradient(135deg, #b30000, #ff0000);
        /* Red background */
        border: 1px solid #ff0000;
        /* Red border */
        color: #fff;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
        transition: transform 0.2s ease, background-color 0.2s ease;
        margin-bottom: 370px;
    }
    
    .btn-pri.btn-3d:hover {
        transform: scale(1.05);
        background-color: #e60000;
        /* Darker red on hover */
        border-color: #e60000;
    }
    /* ================================
   Mobile adjustments
   ================================ */
    
    @media (max-width: 576px) {
        .ambulance-whatsapp-btn {
            width: 55px;
            height: 55px;
            font-size: 24px;
            bottom: 90px;
            left: 15px;
        }
        .btn-pri.btn-3d {
            bottom: 15px;
            right: 15px;
            margin-bottom: 60px;
        }
    }
    /* ================================
   Tablet adjustments
   ================================ */
    
    @media (min-width: 577px) and (max-width: 992px) {
        .ambulance-whatsapp-btn {
            width: 60px;
            height: 60px;
            font-size: 25px;
            bottom: 18px;
            left: 18px;
        }
        .btn-pri.btn-3d {
            bottom: 18px;
            right: 80px;
            margin-bottom: 0px;
            /* Avoid overlapping ambulance button */
        }
    }
    /* Forms */
    
    .form-3d {
        border: 1px solid rgba(0, 0, 0, 0.1);
        border-radius: 12px;
        padding: 0.75rem 1rem;
        transition: all 0.3s ease;
        background: rgba(255, 255, 255, 0.9);
        backdrop-filter: blur(5px);
    }
    
    .form-3d:focus {
        outline: none;
        border-color: var(--primary-color);
        box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
        transform: translateY(-1px);
    }
    
    .medical-card {
        background: rgba(255, 255, 255, 0.1);
        backdrop-filter: blur(10px);
        border: 1px solid rgba(255, 255, 255, 0.2);
        border-radius: 20px;
        padding: 2rem;
        text-align: center;
        margin: 2rem 0;
    }
    
    .medical-card i {
        font-size: 3rem;
        color: var(--success-color);
        margin-bottom: 1rem;
    }
    
    .scroll-indicator {
        position: absolute;
        bottom: 2rem;
        left: 50%;
        transform: translateX(-50%);
        color: white;
        font-size: 1.5rem;
        cursor: pointer;
    }
    /* Page Header */
    /* Sections */
    
    .section-title {
        font-size: 2.5rem;
        font-weight: 600;
        margin-bottom: 1rem;
        color: var(--dark-color);
    }
    
    .section-subtitle {
        font-size: 1.1rem;
        color: #6b7280;
        margin-bottom: 3rem;
    }
    /* Feature Cards */
    
    .feature-card {
        text-align: center;
        padding: 2rem;
        height: 100%;
    }
    
    .feature-icon {
        font-size: 3rem;
        color: var(--primary-color);
        margin-bottom: 1.5rem;
    }
    
    .feature-card h4 {
        font-size: 1.5rem;
        font-weight: 600;
        margin-bottom: 1rem;
        color: var(--dark-color);
    }
    /* Service Cards */
    
    .services-preview {
        position: relative;
        padding: 60px 0;
    }
    
    .services-preview .overlay1 {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(224, 226, 227, 0.7);
        z-index: 1;
    }
    
    .services-preview .container {
        position: relative;
        z-index: 2;
    }
    /* Image Card */
    
    .service-card {
        position: relative;
        cursor: pointer;
        border-radius: 15px;
        overflow: hidden;
        box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
        margin-bottom: 20px;
    }
    
    .service-card img {
        width: 100%;
        height: 300px;
        object-fit: fill;
        transition: transform 0.3s;
    }
    /* Floating Ambulance Button */
    
    .ambulance-whatsapp-btn {
        position: fixed;
        bottom: 100px;
        /* Adjust vertical spacing */
        right: 20px;
        /* Distance from right edge */
        z-index: 9999;
        /* Ensure it stays above other elements */
    }
    /* Floating Book Appointment Button */
    
    .book-cta {
        position: fixed;
        bottom: 20px;
        /* Distance from bottom */
        right: 20px;
        /* Distance from right edge */
        z-index: 9999;
        /* Ensure it stays above other elements */
    }
    
    .service-card:hover img {
        transform: scale(1.05);
    }
    /* Title Overlay - visible by default */
    
    .service-title {
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        background: rgba(179, 0, 0, 0.7);
        color: #fff;
        text-align: center;
        padding: 10px 5px;
        font-weight: 600;
        transition: background 0.3s;
    }
    /* Full Description Overlay - appears on hover */
    
    .service-desc {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(179, 0, 0, 0.9);
        color: #fff;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-align: center;
        padding: 15px;
        opacity: 0;
        transition: opacity 0.4s;
    }
    
    .service-card:hover .service-desc {
        opacity: 1;
    }
    
    .service-desc h5 {
        font-size: 1.2rem;
        margin-bottom: 10px;
    }
    
    .service-desc p {
        font-size: 0.95rem;
        margin-bottom: 15px;
    }
    
    .service-desc a.btn {
        color: #b30000;
        background: #fff;
        border-radius: 30px;
        padding: 6px 14px;
        font-weight: 600;
        text-decoration: none;
        transition: background 0.3s;
    }
    
    .service-desc a.btn:hover {
        background: #ff0000;
        color: #fff;
    }
    /* Mobile: full width single column */
    
    @media (max-width: 576px) {
        .service-card img {
            height: 220px;
        }
        .col-12 {
            max-width: 100%;
        }
        .btn-primary.btn-3d {
            position: fixed !important;
            /* Always fixed on screen */
            bottom: 1px;
            /* Distance from bottom */
            right: 100px;
            /* Distance from right */
            display: flex;
            flex-direction: column;
            /* Stack buttons vertically */
            /* Space between buttons */
            z-index: 2147483647 !important;
            /* Ensure buttons are on top of footer */
        }
    }
    /* Team Cards */
    
    .team-card {
        text-align: center;
        height: 100%;
        padding: 1rem;
    }
    /* Default (Desktop) */
    
    .team-image {
        width: 300px;
        height: 330px;
        margin: 0 auto 1.5rem;
        overflow: hidden;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 5%;
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }
    /* Hover Effect */
    
    .team-image:hover {
        transform: scale(1.03);
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    }
    
    .team-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
        border-radius: 5%;
    }
    /* --- 📱 Responsive Breakpoints --- */
    /* Tablet View (max-width: 991px) */
    
    @media (max-width: 991px) {
        .team-image {
            width: 250px;
            height: 280px;
            margin-bottom: 1.2rem;
        }
    }
    /* Mobile Landscape (max-width: 767px) */
    
    @media (max-width: 767px) {
        .team-image {
            width: 480px;
            height: 350px;
            margin-bottom: 1rem;
        }
    }
    /* Mobile Portrait (max-width: 575px) */
    
    @media (max-width: 575px) {
        .team-image {
            width: 250px;
            height: 260px;
            margin-bottom: 0.8rem;
        }
        .team-card {
            padding: 0.5rem;
        }
    }
    
    .placeholder-image {
        width: 120px;
        height: 120px;
        background: var(--gradient-primary);
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 0 auto 1rem;
        color: white;
        font-size: 3rem;
    }
    
    .specialty {
        color: var(--primary-color);
        font-weight: 600;
    }
    
    .qualification {
        color: #6b7280;
        font-size: 0.9rem;
    }
    /* Value Cards */
    
    .value-card {
        padding: 25px;
        border-radius: 20px;
        text-align: center;
        color: #000000;
        transition: transform 0.3s ease, box-shadow 0.3s ease;
        backdrop-filter: blur(10px);
        /* Glass blur effect */
        background: rgba(255, 255, 255, 0.1);
        /* Transparent background */
        border: 1px solid rgba(255, 255, 255, 0.2);
        /* subtle border */
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
        text-align: center;
        padding: 2rem 1rem;
        border-radius: 15px;
        transition: all 0.3s ease;
        height: 100%;
    }
    
    .value-icon {
        font-size: 3rem;
        color: var(--primary-color);
        margin-bottom: 1.5rem;
    }
    /* Mission/Vision Cards */
    
    .mission-card,
    .vision-card {
        height: 100%;
        text-align: center;
    }
    
    .card-icon {
        font-size: 3rem;
        color: var(--primary-color);
        margin-bottom: 1.5rem;
    }
    /* Contact Forms */
    
    .contact-form {
        padding: 2.5rem;
    }
    
    .contact-info-card {
        padding: 2rem;
        height: fit-content;
    }
    
    .contact-item {
        display: flex;
        align-items: flex-start;
        margin-bottom: 2rem;
    }
    
    .contact-icon {
        font-size: 1.5rem;
        color: var(--primary-color);
        margin-right: 1rem;
        margin-top: 0.2rem;
        min-width: 30px;
    }
    
    .contact-item h6 {
        font-weight: 600;
        margin-bottom: 0.5rem;
        color: var(--dark-color);
    }
    
    .contact-item p {
        margin: 0;
        color: #6b7280;
    }
    /* Emergency Section */
    
    .emergency-section {
        background: var(--gradient-secondary);
    }
    
    .emergency-features .feature-item {
        display: flex;
        align-items: center;
        margin-bottom: 1.5rem;
    }
    
    .emergency-features i {
        font-size: 2rem;
        color: var(--primary-color);
        margin-right: 1rem;
        min-width: 50px;
    }
    
    .emergency-card {
        text-align: center;
        padding: 2.5rem;
    }
    
    .emergency-icon {
        font-size: 4rem;
        color: var(--danger-color);
        margin-bottom: 1rem;
    }
    
    .emergency-number {
        margin: 1.5rem 0;
    }
    
    .emergency-contact {
        background: rgba(239, 68, 68, 0.05);
        border: 1px solid rgba(239, 68, 68, 0.1);
    }
    /* Map Section */
    
    .map-container {
        height: 400px;
        position: relative;
        overflow: hidden;
    }
    
    .map-placeholder {
        height: 100%;
        background: var(--gradient-primary);
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 15px;
    }
    
    .map-content {
        text-align: center;
        color: white;
    }
    
    .map-content i {
        font-size: 4rem;
        margin-bottom: 1rem;
    }
    /* CTA Section */
    
    .cta-section {
        background: var(--gradient-primary);
        color: white;
        padding: 4rem 0;
    }
    
    .cta-title {
        font-size: 2.2rem;
        font-weight: 700;
        margin-bottom: 0.5rem;
    }
    
    .cta-subtitle {
        font-size: 1.1rem;
        opacity: 0.9;
    }
    /* Footer */
    /* Stats Section */
    
    .medical-stats {
        padding: 2rem;
        background: rgba(255, 255, 255, 0.1);
        backdrop-filter: blur(10px);
        border-radius: 20px;
        display: grid;
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .stat-item {
        text-align: center;
        color: white;
    }
    
    .stat-item h3 {
        font-size: 3rem;
        font-weight: 700;
        color: var(--success-color);
        margin-bottom: 0.5rem;
    }
    /* Animations */
    
    @keyframes fadeInUp {
        from {
            opacity: 0;
            transform: translateY(30px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
    
    @keyframes floating {
        0%,
        100% {
            transform: translateY(0px);
        }
        50% {
            transform: translateY(-10px);
        }
    }
    
    @keyframes pulse {
        0%,
        100% {
            transform: scale(1);
        }
        50% {
            transform: scale(1.1);
        }
    }
    
    @keyframes pulseColor {
        0%,
        100% {
            color: var(--primary-color);
        }
        50% {
            color: var(--success-color);
        }
    }
    
    @keyframes bounce {
        0%,
        20%,
        50%,
        80%,
        100% {
            transform: translateY(0);
        }
        40% {
            transform: translateY(-10px);
        }
        60% {
            transform: translateY(-5px);
        }
    }
    
    @keyframes rotate {
        from {
            transform: rotate(0deg);
        }
        to {
            transform: rotate(360deg);
        }
    }
    /* Animation Classes */
    
    .fade-in-up {
        animation: fadeInUp 0.6s ease-out;
    }
    
    .floating {
        animation: floating 3s ease-in-out infinite;
    }
    
    .floating-text {
        animation: floating 4s ease-in-out infinite;
    }
    
    .floating-logo {
        animation: floating 5s ease-in-out infinite;
    }
    
    .pulse {
        animation: pulse 2s ease-in-out infinite;
    }
    
    .pulse-slow {
        animation: pulse 3s ease-in-out infinite;
    }
    
    .bounce {
        animation: bounce 2s infinite;
    }
    
    .rotating-slow {
        animation: rotate 20s linear infinite;
    }
    /* Hover Effects */
    
    .hover-lift {
        transition: all 0.3s ease;
    }
    
    .hover-lift:hover {
        transform: translateY(-5px);
        box-shadow: var(--shadow-heavy);
    }
    /* Scroll Animations */
    
    .scroll-fade {
        opacity: 0;
        transform: translateY(50px);
        transition: all 0.6s ease;
    }
    
    .scroll-fade.visible {
        opacity: 1;
        transform: translateY(0);
    }
    /* Responsive Design */
    
    @media (max-width: 768px) {
        .hero-title {
            font-size: 2.5rem;
        }
        .hero-subtitle {
            font-size: 1rem;
        }
        .hero-buttons {
            flex-direction: column;
            gap: 1rem;
        }
        .btn-3d {
            padding: 0.6rem 1.5rem;
            font-size: 0.9rem;
        }
        .section-title {
            font-size: 2rem;
        }
        .page-title {
            font-size: 2.5rem;
        }
        .medical-stats {
            grid-template-columns: 1fr;
        }
        .stat-item h3 {
            font-size: 2rem;
        }
        .glass-card {
            padding: 1.5rem;
        }
        .contact-form {
            padding: 2rem;
        }
        .emergency-card {
            padding: 2rem;
        }
        .cta-title {
            font-size: 1.8rem;
        }
    }
    
    @media (max-width: 576px) {
        .hero-title {
            font-size: 2rem;
        }
        .section-title {
            font-size: 1.8rem;
        }
        .page-title {
            font-size: 2rem;
        }
        .feature-icon,
        .service-icon-large {
            font-size: 2.5rem;
        }
        .glass-card {
            padding: 1rem;
        }
        .contact-form {
            padding: 1.5rem;
        }
    }
    /* Print Styles */
    /* High Contrast Mode */
    
    @media (prefers-contrast: high) {
         :root {
            --primary-color: #b30000;
            --secondary-color: #ff0000;
            --dark-color: #000;
        }
        .glass-card {
            background: rgba(255, 255, 255, 0.95);
            border: 2px solid rgba(0, 0, 0, 0.2);
        }
    }
    /* Reduced Motion */
    
    @media (prefers-reduced-motion: reduce) {
        *,
        *::before,
        *::after {
            animation-duration: 0.01ms !important;
            animation-iteration-count: 1 !important;
            transition-duration: 0.01ms !important;
        }
    }
    /* ✅ HERO SECTION FIX (ALL DEVICES) */
    
    .hero-section {
        position: relative;
        margin-top: -80px;
    }
    
    .carousel-item {
        height: 100vh;
        background-size: cover;
        background-position: center;
        position: relative;
    }
    
    .carousel-item::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.55);
        z-index: 1;
    }
    /* Content Center */
    
    .hero-content {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        z-index: 2;
        color: #fff;
        text-align: center;
        width: 100%;
        padding: 0 15px;
    }
    /* Headings */
    
    .hero-content h2 {
        font-size: 2rem;
        font-weight: 700;
        margin-bottom: 10px;
    }
    
    .hero-content p {
        font-size: 1.2rem;
        margin-bottom: 20px;
    }
    /* Buttons (Desktop View - Inline) */
    
    .hero-content .mt-3 {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 1rem;
    }
    /* ✅ Mobile & Tablet Fix */
    
    @media (max-width: 768px) {
        .hero-content {
            top: 55%;
            transform: translate(-50%, -50%);
            padding: 0 20px;
        }
        .hero-content h2 {
            font-size: 1.2rem;
            line-height: 1.4;
            margin-bottom: 8px;
        }
        .hero-content p {
            font-size: 1rem;
            margin-bottom: 12px;
        }
        /* Stack Buttons Vertically */
        .hero-content .mt-3 {
            flex-direction: column;
            gap: 12px;
        }
        .hero-content .btn {
            width: 85%;
            max-width: 300px;
            text-align: center;
        }
    }
    /* Extra Small Phones (<480px) */
    
    @media (max-width: 480px) {
        .hero-content {
            top: 58%;
        }
        .hero-content h2 {
            font-size: 1.1rem;
        }
        .hero-content p {
            font-size: 0.9rem;
        }
        .hero-content .btn {
            font-size: 0.9rem;
            padding: 10px 14px;
        }
    }
    
    .hospital-img {
        max-width: 100%;
        /* reduce size to 70% of column */
        height: 500px;
        /* keep aspect ratio */
    }
    
    @media (max-width: 768px) {
        .hospital-img {
            max-width: 90%;
            height: 50%;
            /* slightly larger on mobile for visibility */
        }
    }
    /* Section Titles */
    
    .section-title {
        font-size: 2.2rem;
        font-weight: 700;
    }
    
    .section-subtitle {
        font-size: 1.1rem;
        color: #090909;
    }
    /* Service Cards */
    
    .gradient-text {
        background: linear-gradient(135deg, #b30000, #d78b8b);
        /* blue → teal */
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
        text-fill-color: transparent;
    }
    /* Glass Navigation */
    
    .glass-nav {
        background: rgba(247, 247, 247, 0.774) !important;
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        padding: 0.7rem 0;
        transition: all 0.3s ease;
        z-index: 1000;
    }
    /* Logo */
    
    .logo-img {
        height: 60px;
        width: 125px;
        transition: transform 0.3s ease;
    }
    
    .logo-img:hover {
        transform: scale(1.05);
    }
    /* Navbar Links (Pill Style) */
    
    .navbar .nav-link {
        color: #b30000 !important;
        font-weight: 500;
        padding: 0.3rem 1.1rem;
        border-radius: 25px;
        transition: all 0.3s ease;
        position: relative;
        border: 1px solid rgba(188, 49, 49, 0.93);
        background: rgba(247, 247, 247, 0.85);
    }
    /* Pill Hover + Active State */
    
    .navbar .nav-link:hover,
    .navbar .nav-link.active {
        background: linear-gradient(135deg, #b30000, #ff0000);
        border: 2px solid rgba(249, 248, 248, 0.93);
        box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
        transform: translateY(-2px);
        color: #fff !important;
    }
    /* Navbar background on scroll */
    
    .navbar.scrolled {
        background: rgba(247, 247, 247, 0.85) !important;
        backdrop-filter: blur(20px);
        transition: background 0.3s ease, box-shadow 0.3s ease;
        box-shadow: 0 3px 20px rgba(0, 0, 0, 0.1);
    }
    /* Mobile Adjustments */
    
    @media (max-width: 991px) {
        .navbar .nav-link {
            margin-bottom: 0.5rem;
            text-align: center;
            width: 100%;
        }
    }
    /* ✅ Force Navbar to collapse on iPad Pro and smaller (≤1366px) */
  @media (max-width: 1210px) {
  .navbar-expand-lg .navbar-collapse {
    display: none !important;
  }

  .navbar-expand-lg .navbar-toggler {
    display: block !important;
  }

  .navbar-collapse.show {
    display: block !important;
    background: rgba(247, 247, 247, 0.95);
    backdrop-filter: blur(20px);
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    z-index: 999;
    padding: 1rem;
    border-radius: 0 0 12px 12px;
  }

  .navbar .nav-link {
    width: 100%;
    text-align: center;
    margin-bottom: 0.5rem;
    background: rgba(255, 255, 255, 0.8);
  }

  .navbar .nav-link:hover,
  .navbar .nav-link.active {
    background: linear-gradient(135deg, #b30000, #ff0000);
    color: #fff !important;
    transform: none;
  }
}

    
    .page-header {
        position: relative;
        background-size: cover;
        background-position: center;
        height: 90vh;
        padding: 120px 0;
        color: white;
    }
    
    .page-header .overlay {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 20, 60, 0.208);
        /* blue overlay for hospital feel */
        z-index: 1;
    }
    
    .page-header .container {
        position: relative;
        z-index: 2;
    }
    
    .page-title {
        font-size: 2.8rem;
        font-weight: 700;
        margin-top: 45px;
        margin-bottom: 15px;
        text-shadow: 0 3px 8px rgba(0, 0, 0, 0.4);
    }
    
    .page-subtitle {
        font-size: 1.25rem;
        font-weight: 400;
        text-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
    }
    /* 📱 Mobile (Small devices) */
    
    @media (max-width: 576px) {
        .page-header {
            margin-top: -60px;
            height: 50vh;
            padding: 60px 15px;
            text-align: center;
        }
        .page-title {
            font-size: 1.8rem;
            /* smaller title */
        }
        .page-subtitle {
            font-size: 1rem;
        }
    }
    /* 📲 Tablets (Medium devices) */
    
    @media (min-width: 577px) and (max-width: 768px) {
        .page-header {
            height: 60vh;
            padding: 80px 20px;
        }
        .page-title {
            font-size: 2.2rem;
        }
        .page-subtitle {
            font-size: 1.1rem;
        }
    }
    /* 💻 Large devices (Desktops) */
    
    @media (min-width: 769px) {
        .page-header {
            height: 70vh;
            padding: 120px 0;
        }
        .page-title {
            font-size: 2.8rem;
        }
        .page-subtitle {
            font-size: 1.25rem;
        }
    }
    
    mple fade-in animation */ .fade-in-up {
        opacity: 0;
        transform: translateY(20px);
        animation: fadeInUp 1s ease forwards;
    }
    
    @keyframes fadeInUp {
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
    
    .btn-appointment {
        background: #eab308;
        /* Hospital gold/yellow */
        color: #fff !important;
        font-weight: 600;
        padding: 0.6rem 1.5rem !important;
        border-radius: 8px;
        display: inline-flex;
        align-items: center;
        gap: 8px;
        border: none !important;
        transition: all 0.3s ease;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    }
    /* Hover effect */
    
    .btn-appointment:hover {
        background: #ca8a04;
        /* Darker gold */
        transform: translateY(-2px);
        box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
    }
    /* Active state */
    
    .btn-appointment.active {
        background: #b45309;
        box-shadow: 0 0 0 3px rgba(234, 179, 8, 0.4);
    }
    /* Stats Overlay */
    
    .stats-overlay {
        background: rgba(255, 255, 255, 0.9);
        border-radius: 16px;
        margin-top: -50px;
        position: relative;
        z-index: 2;
    }
    
    .stat-item h3 {
        font-size: 2rem;
        font-weight: bold;
        color: #b30000;
    }
    
    .stat-item p {
        margin: 0;
        font-size: 0.95rem;
        color: #555;
    }
    /* Responsive adjustments */
    
    @media (max-width: 768px) {
        .stats-overlay {
            flex-direction: column;
            gap: 20px;
        }
    }
    /* Contact Button Style */
    
    .contact-btn {
        background-color: #ffffff;
        /* Yellow hospital tone */
        color: #b30000;
        font-weight: 600;
        padding: 10px 24px;
        border-radius: 50px;
        display: inline-flex;
        align-items: center;
        transition: all 0.3s ease-in-out;
        text-decoration: none;
        border-color: #b30000;
    }
    
    .contact-btn:hover {
        background: linear-gradient(135deg, #b30000, #ff0000);
        transform: translateY(-2px);
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
        color: #fff;
    }
    
    .hero-video-section {
        position: relative;
        width: 100%;
        height: 100vh;
        /* Full screen height */
        overflow: hidden;
    }
    
    .hero-video {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        /* Cover without distortion */
        z-index: 0;
    }
    
    .hero-overlay {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.366);
        /* Dark overlay */
        z-index: 1;
    }
    
    .hero-content {
        position: center;
        z-index: 2;
        color: #fff;
        text-align: center;
        padding: 0 20px;
    }
    /* 📱 Mobile (≤576px) */
    
    @media (max-width: 576px) {
        .hero-video-section {
            height: 60vh;
            /* Reduce height */
        }
        .hero-content h1 {
            font-size: 1.8rem;
            margin-top: 10%;
        }
        .hero-content p {
            font-size: 1rem;
            margin-bottom: 255px;
        }
    }
    /* 📲 Tablets (577px–768px) */
    
    @media (min-width: 577px) and (max-width: 768px) {
        .hero-video-section {
            height: 75vh;
        }
        .hero-content h1 {
            font-size: 2.2rem;
        }
        .hero-content p {
            font-size: 1.1rem;
        }
    }
    /* 💻 Desktop (≥769px) */
    
    @media (min-width: 769px) {
        .hero-video-section {
            height: 100vh;
        }
        .hero-content h1 {
            font-size: 3rem;
        }
        .hero-content p {
            font-size: 1.25rem;
        }
    }
    
    .fade-in-up {
        animation: fadeInUp 1s ease forwards;
        opacity: 0;
    }
    
    @keyframes fadeInUp {
        0% {
            transform: translateY(20px);
            opacity: 0;
        }
        100% {
            transform: translateY(0);
            opacity: 1;
        }
    }
    
    body {
        font-family: 'Nunito', sans-serif;
        font-size: 16px;
        background-color: #f8fbfc;
        color: #333;
    }
    
    .hero {
        background: url('img/trust/hero.jpg') no-repeat center center/cover;
        color: white;
        padding: 120px 20px;
        text-align: center;
        position: relative;
    }
    
    .hero::before {
        content: "";
        position: absolute;
        inset: 0;
        background: rgba(0, 88, 139, 0.7);
    }
    
    .hero .content {
        position: relative;
        z-index: 2;
    }
    
    .section-title {
        font-weight: 600;
        color: #b30000;
        margin-bottom: 20px;
    }
    /* Card Body Styling */
    
    .card-body {
        background-color: rgba(255, 255, 255, 0.95);
        /* semi-transparent for glass effect */
        padding: 2rem;
        border-radius: 1rem;
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
        /* soft shadow */
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }
    /* Hover effect for cards */
    
    .card-body:hover {
        transform: translateY(-5px);
        /* subtle lift */
        box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
        /* stronger shadow on hover */
    }
    /* Card Title Styling */
    
    .card-body .card-title {
        font-size: 1.5rem;
        font-weight: 700;
        color: var(--danger-color);
        /* primary hospital color */
        margin-bottom: 0.75rem;
    }
    /* Card Text Styling */
    
    .card-body .card-text {
        font-size: 1rem;
        color: #555555;
        line-height: 1.6;
    }
    /* Responsive adjustments */
    
    @media (max-width: 768px) {
        .card-body {
            padding: 1.5rem;
        }
        .card-body .card-title {
            font-size: 1.3rem;
        }
        .card-body .card-text {
            font-size: 0.95rem;
        }
    }
    
    .card-custom {
        border: none;
        border-radius: 12px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
        transition: transform 0.3s;
    }
    
    .card-custom:hover {
        transform: translateY(-5px);
    }
    
    .donation-section {
        background: linear-gradient(135deg, #e8f8ff, #d1f7e5);
        padding: 60px 20px;
        border-radius: 20px;
    }
    
    .gallery img {
        border-radius: 12px;
        transition: transform 0.3s ease-in-out;
    }
    
    .gallery img:hover {
        transform: scale(1.05);
    }
    
    .jagalur-section {
        background: #f9fbfd;
    }
    
    .section-intro {
        font-size: 1.1rem;
        color: #444;
    }
    
    .fade-in-up {
        animation: fadeInUp 1s ease forwards;
        opacity: 0;
    }
    
    @keyframes fadeInUp {
        0% {
            transform: translateY(20px);
            opacity: 0;
        }
        100% {
            transform: translateY(0);
            opacity: 1;
        }
    }
    
    .features-section {
        position: relative;
        z-index: 1;
    }
    
    .glass-card {
        background: rgba(255, 255, 255, 0.1);
        backdrop-filter: blur(10px);
        border-radius: 15px;
        transition: transform 0.3s ease, box-shadow 0.3s ease;
        border: 1px solid rgba(255, 255, 255, 0.2);
    }
    
    .hover-lift:hover {
        transform: translateY(-10px);
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    }
    
    .feature-icon i {
        transition: transform 0.3s ease;
    }
    
    .pulse-slow {
        animation: pulse 2.5s infinite;
    }
    
    .pulse {
        animation: pulse 1.5s infinite;
    }
    
    @keyframes pulse {
        0% {
            transform: scale(1);
        }
        50% {
            transform: scale(1.15);
        }
        100% {
            transform: scale(1);
        }
    }
    
    .gradient-btn {
        background: linear-gradient(135deg, #b30000, #ff0000);
        color: white !important;
        border: none;
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }
    
    .gradient-btn:hover {
        transform: translateY(-3px);
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
        color: white !important;
    }
    
    .gradient-btn1 {
        background: linear-gradient(135deg, #f6f5f5, #f7f7f7);
        color: #b30000 !important;
        border: none;
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }
    
    .gradient-btn1:hover {
        transform: translateY(-3px);
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
        color: #b30000 !important;
    }
    
    .stat-item h3 {
        font-size: 2.5rem;
        font-weight: bold;
        margin: 0;
        color: #b30000;
        /* hospital theme */
    }
    
    .gallery-img {
        width: 100%;
        height: 250px;
        /* fixed height */
        object-fit: cover;
        /* crops image to fill space without distortion */
        border-radius: 8px;
    }
    
    .about-trust-section {
        background-color: #f8f9fa;
    }
    
    @media (max-width: 767px) {
        .about-trust-section .col-lg-6 {
            text-align: center;
        }
    }
    
    .testimonials-section {
        background: #f8f9fa;
    }
    
    .testimonial-card {
        display: none;
        background: #ffffff;
        padding: 25px;
        border-radius: 15px;
        box-shadow: 0 4px 25px rgba(0, 0, 0, 0.1);
        transition: all 0.5s ease-in-out;
    }
    
    .testimonial-card.active {
        display: block;
    }
    
    .testimonial-content p {
        font-size: 16px;
        color: #333;
        line-height: 1.6;
    }
    
    .testimonial-author img {
        border: 3px solid #b30000;
    }
    
    .stars i {
        color: #ff0000;
    }
    
    .testimonial-nav .nav-dot {
        width: 12px;
        height: 12px;
        border-radius: 50%;
        border: none;
        background: #d1d1d1;
        margin: 0 5px;
        cursor: pointer;
        transition: all 0.3s ease;
    }
    
    .testimonial-nav .nav-dot.active {
        background: #b30000;
    }
    /* Video */
    
    .video-testimonial video {
        border-radius: 15px;
        box-shadow: 0 4px 25px rgba(0, 0, 0, 0.2);
        height: 350px;
    }
    /* Responsive */
    
    @media (max-width: 991px) {
        .testimonial-author {
            flex-direction: column;
            text-align: center;
        }
        .testimonial-author img {
            margin-bottom: 10px;
        }
    }
    
    .about-img {
        transform: scale(0.9);
        opacity: 0;
        transition: all 1s ease-in-out;
    }
    
    .about-img.show {
        transform: scale(1);
        opacity: 1;
    }
    
    .stats-overlay {
        background: rgba(255, 255, 255, 0.7);
        border-radius: 15px;
        margin-top: -50px;
        backdrop-filter: blur(6px);
        animation: fadeInUp 1s ease forwards;
    }
    
    @keyframes fadeInUp {
        from {
            opacity: 0;
            transform: translateY(30px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
    
    .stat-item h3 {
        font-weight: 700;
        color: #b30000;
    }
    /* Glass effect for cards */
    
    .glass-card {
        background: rgba(255, 255, 255, 0.7);
        border-radius: 20px;
        backdrop-filter: blur(8px);
    }
    /* Zoom-in animation */
    
    .zoom-img {
        transform: scale(0.9);
        opacity: 0;
        transition: all 1s ease-in-out;
    }
    
    .zoom-img.show {
        transform: scale(1);
        opacity: 1;
    }
    
    .footer a:hover {
        color: #ff0000;
        text-decoration: underline;
    }
    
    .footer input::placeholder {
        color: rgba(255, 255, 255, 0.7);
    }
    
    .footer .btn:hover {
        background-color: #ff0000;
        color: #000;
    }
    
    .equipment-img-wrapper {
        height: 250px;
        /* Fixed height for all images */
        overflow: hidden;
        border-radius: 15px;
    }
    
    .equipment-img-wrapper img {
        width: 100%;
        height: 100%;
        object-fit: fill;
        /* Ensures image fills the container without distortion */
    }
    /* Floating CTA */
    
    .book-cta {
        position: fixed;
        bottom: 400px;
        right: 20px;
        border-radius: 50px;
        padding: 12px 18px;
        z-index: 1100;
        /* ensure above most things */
        box-shadow: 0 6px 18px rgba(0, 0, 0, .15);
        /* floating effect */
    }
    /* Optional hover effect */
    /* CTA Hover */
    
    .book-cta:hover {
        transform: scale(1.05);
        box-shadow: 0 8px 22px rgba(0, 0, 0, .25);
    }
    
    .filter-btn {
        background: #fff;
        color: #b30000;
        border: 2px solid #b30000;
        padding: 8px 16px;
        font-weight: 500;
        transition: all 0.3s ease;
        border-radius: 6px;
    }
    
    .filter-btn:hover {
        background: linear-gradient(135deg, #b30000, #ff0000);
        color: #fff;
    }
    
    .filter-btn.active {
        background: linear-gradient(135deg, #b30000, #ff0000);
        color: #fff;
        border-color: transparent;
        box-shadow: 0 4px 10px rgba(179, 0, 0, 0.4);
    }
    /* --- Visual style tuned for hospital / healthcare --- */
    
    .ambulance-whatsapp-btn {
        position: fixed;
        bottom: 400px;
        left: 20px;
        background: linear-gradient(135deg, #b30000 0%, #ff0000 100%);
        color: #fff;
        border-radius: 50%;
        width: 60px;
        height: 60px;
        display: flex;
        justify-content: center;
        align-items: center;
        font-size: 26px;
        text-decoration: none;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
        z-index: 1000;
        transition: transform 0.3s ease, background-color 0.3s ease;
        animation: pulse 1.5s infinite;
    }
    
    .ambulance-whatsapp-btn:hover {
        background: linear-gradient(135deg, #b30000 0%, #ff0000 100%);
        transform: scale(1.1);
    }
    /* 🚨 Pulse Animation */
    
    @keyframes pulse {
        0% {
            box-shadow: 0 0 0 0 rgba(179, 0, 0, 0.6);
        }
        70% {
            box-shadow: 0 0 0 15px rgba(217, 83, 79, 0);
        }
        100% {
            box-shadow: 0 0 0 0 rgba(217, 83, 79, 0);
        }
    }
    /* 📱 Mobile */
    
    @media (max-width: 576px) {
        .ambulance-whatsapp-btn {
            width: 55px;
            height: 55px;
            font-size: 24px;
            bottom: 70px;
            right: 15px;
        }
    }
    /* 📲 Tablet */
    
    @media (min-width: 577px) and (max-width: 992px) {
        .ambulance-whatsapp-btn {
            width: 60px;
            height: 60px;
            font-size: 25px;
            bottom: 18px;
            right: 18px;
        }
    }
    /* 🌈 Mega Dropdown Styling */
    
    .mega-dropdown {
        background: linear-gradient(135deg, #ff0000, #b30000);
        color: #fff;
        border: none;
        min-width: 550px;
    }
    
    .mega-dropdown .row {
        margin: 0;
    }
    
    .mega-dropdown li {
        list-style: none;
    }
    
    .mega-dropdown .dropdown-item {
        color: #fff;
        font-size: 15px;
        padding: 8px 10px;
        display: flex;
        align-items: center;
        border-radius: 5px;
        transition: background-color 0.3s ease, padding-left 0.3s ease;
    }
    
    .mega-dropdown .dropdown-item i {
        color: #fff;
    }
    
    .mega-dropdown .dropdown-item:hover {
        background-color: rgba(255, 255, 255, 0.2);
        padding-left: 15px;
    }
    
    .mega-dropdown .dropdown-item:focus {
        background-color: rgba(255, 255, 255, 0.25);
    }
    /* 📱 Mobile View */
    
    @media (max-width: 576px) {
        .mega-dropdown {
            min-width: 100%;
            padding: 10px;
        }
        .mega-dropdown .dropdown-item {
            font-size: 14px;
            padding: 6px 8px;
        }
    }
    /* 📲 Tablet View */
    
    @media (min-width: 577px) and (max-width: 992px) {
        .mega-dropdown {
            min-width: 100%;
        }
    }
    /* 💻 Desktop */
    
    @media (min-width: 993px) {
        .mega-dropdown {
            min-width: 550px;
        }
    }
    /* Remove default bullets from all service feature lists */
    
    .service-features {
        list-style: none;
        /* removes bullet points */
        padding: 0;
        /* removes left indentation */
        margin: 0;
        /* resets spacing */
    }
    
    .service-features li {
        margin-bottom: 8px;
        /* spacing between items */
        display: flex;
        align-items: center;
        font-size: 15px;
    }
    
    .service-features i {
        color: #b30000;
        /* green check color */
        margin-right: 8px;
        /* spacing between icon and text */
    }
    /* 🌈 Base Section */
    
    .managing-director-section {
        position: relative;
        overflow: hidden;
        color: #0d0d0d;
    }
    /* 🌆 Background Image + Overlay */
    /* 💎 Glassmorphism Effect */
    
    .glass-card1 {
        background: rgba(255, 255, 255, 0.12);
        backdrop-filter: blur(10px);
        border: 1px solid rgba(255, 255, 255, 0.15);
        color: #050505;
    }
    /* 🩺 Doctor Photo */
    
    .director-photo {
        max-width: 380px;
        margin-top: 5px;
        height: 400px;
        border: 4px solid rgba(255, 255, 255, 0.8);
        transition: transform 0.4s ease, box-shadow 0.4s ease;
    }
    
    .director-photo:hover {
        transform: scale(1.05);
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    }
    /* 🌟 Section Title */
    
    .title-underline {
        width: 80px;
        height: 3px;
        background: #fff;
        border-radius: 3px;
        margin-top: 8px;
    }
    /* 🎞️ Animation */
    
    .fade-in-up {
        opacity: 0;
        transform: translateY(20px);
        animation: fadeInUp 1s ease-out forwards;
    }
    
    @keyframes fadeInUp {
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
    /* ✅ RESPONSIVE DESIGN */
    /* --- Desktop (≥1200px) --- */
    
    @media (min-width: 1200px) {
        .managing-director-section {
            padding: 6rem 0;
        }
        .lead {
            font-size: 1.1rem;
        }
    }
    /* --- Tablet (≥768px and <1200px) --- */
    
    @media (min-width: 768px) and (max-width: 1199px) {
        .director-photo {
            max-width: 220px;
        }
        .message-card {
            padding: 2rem;
        }
        .lead {
            font-size: 1rem;
        }
    }
    /* --- Mobile (<768px) --- */
    
    @media (max-width: 767px) {
        .managing-director-section {
            text-align: center;
        }
        .director-photo {
            max-width: 280px;
        }
        .message-card {
            padding: 1.25rem;
            text-align: left;
        }
        .display-6 {
            font-size: 1.6rem;
        }
        .lead {
            font-size: 0.95rem;
        }
        .text-end {
            text-align: center !important;
        }
    }
    /* Section Styling */
    /* QR Code Styling */
    
    .qr-section {
        margin-top: 10px;
    }
    
    .qr-code {
        width: 200px;
        height: 200px;
    }
    /* Responsive Design */
    
    @media (max-width: 576px) {
        .qr-code {
            width: 160px;
            height: 160px;
        }
    }
    
    #copyUpiBtn {
        border-radius: 50%;
        width: 34px;
        height: 34px;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: all 0.3s ease;
    }
    
    #copyUpiBtn i {
        font-size: 14px;
    }
    
    #copyUpiBtn:hover {
        background-color: #b30000;
        color: #fff;
        transform: scale(1.1);
    }
    
    .chairman-section {
        padding: 80px 0;
        background: #f8f9fa;
    }
    
    .chairman-card {
        display: flex;
        align-items: center;
        background: #fff;
        border-radius: 20px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        overflow: hidden;
        transform: translateY(50px);
        opacity: 0;
        transition: all 0.6s ease-in-out;
    }
    
    .chairman-card.visible {
        transform: translateY(0);
        opacity: 1;
    }
    
    .chairman-img {
        flex: 1;
        max-width: 400px;
        height: 600px;
        overflow: hidden;
        margin-left: 10px;
        margin-bottom: 15px;
        border-radius: 25px;
    }
    
    .chairman-img img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-right: 5px solid #b30000;
    }
    
    .chairman-content {
        flex: 2;
        padding: 40px 50px;
    }
    
    .chairman-content h2 {
        font-size: 2rem;
        font-weight: 700;
        color: #b30000;
        margin-bottom: 20px;
    }
    
    .chairman-content p {
        font-size: 1.1rem;
        line-height: 1.7;
        color: #555;
    }
    
    .chairman-sign {
        margin-top: 20px;
        font-style: italic;
        color: #333;
        font-weight: 600;
    }
    
    @media (max-width: 991px) {
        .chairman-card {
            flex-direction: column;
        }
        .chairman-img img {
            border-right: none;
            border-bottom: 5px solid #b30000;
        }
        .chairman-content {
            padding: 30px;
        }
    }
    
    .social-circle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 42px;
        height: 42px;
        border-radius: 50%;
        color: #fff;
        font-size: 20px;
        transition: all 0.3s ease;
        text-decoration: none;
    }
    /* Brand Colors */
    
    .facebook {
        background-color: #1877F2;
        /* Facebook Blue */
    }
    
    .instagram {
        background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
        /* Instagram Gradient */
    }
    
    .whatsapp {
        background-color: #25D366;
        /* WhatsApp Green */
    }
    /* Hover Effect */
    
    .social-circle:hover {
        transform: scale(1.15);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
        color: #fff;
    }
    
    .image-overlay-wrapper {
        position: relative;
        display: inline-block;
    }
    
    .image-overlay {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(252, 252, 252, 0.4);
        /* red overlay matching #b30000 */
        border: 1px solid rgba(255, 255, 255, 0.4);
        border-radius: 20px;
    }
    
    .hospital-logo {
        display: block;
        width: 160px;
        /* adjust as needed */
        height: auto;
        border-radius: 12px;
    }
    /* 🔺 Position in the top-right corner of the page or section */
    
    .top-right-logo {
        position: absolute;
        top: 20px;
        left: 20px;
        z-index: 1000;
    }
    /* Optional fade-in animation */
    
    .fade-in-up {
        opacity: 0;
        transform: translateY(20px);
        animation: fadeInUp 0.8s ease forwards;
    }
    
    @keyframes fadeInUp {
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
    /* Scroll to Top Button */
    /* 🔹 Scroll-to-Top Button Base */
    
    .scroll-top-btn {
        position: fixed;
        bottom: 30px;
        right: 30px;
        background: linear-gradient(145deg, #ffffff, #fefefe);
        color: #b30000;
        border: 2px solid #b30000;
        border-radius: 50%;
        width: 50px;
        height: 50px;
        display: flex;
        justify-content: center;
        align-items: center;
        font-size: 22px;
        cursor: pointer;
        box-shadow: 0 8px 16px rgba(179, 0, 0, 0.3);
        z-index: 9999;
        opacity: 0;
        visibility: hidden;
        transform: translateY(30px);
        transition: all 0.4s ease;
        backdrop-filter: blur(8px);
    }
    /* 🔹 Show button when scrolling down */
    
    .scroll-top-btn.show {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        /* Slide up smoothly */
    }
    /* 🔹 Hover effect */
    
    .scroll-top-btn:hover {
        background: linear-gradient(145deg, #b30000, #d61a1a);
        color: #ffffff;
        transform: translateY(-4px) scale(1.05);
        box-shadow: 0 10px 18px rgba(179, 0, 0, 0.5);
        border: 2px solid #ffffff;
    }
    
    .trust-donation-section {
        background: linear-gradient(135deg, #fff5f5, #ffeaea);
        border-top: 5px solid #b30000;
        border-bottom: 5px solid #b30000;
    }
    
    .text-gradient {
        background: linear-gradient(135deg, #b30000, #ff4d4d);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
    }
    
    .trust-image-wrapper img {
        transition: transform 0.4s ease, box-shadow 0.4s ease;
    }
    
    .trust-image-wrapper img:hover {
        transform: scale(1.03);
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    }