:root {
    --primary: #0284c7;
    --primary-glow: rgba(2, 132, 199, 0.4);
    --secondary: #0ea5e9;
    --accent: #10b981;
    --bg-light: #f8fafc;
    --text-dark: #0f172a;
    --text-muted: #64748b;
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-light);
    color: var(--text-dark);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* --- HEADER --- */
.header-wrapper {
    position: fixed;
    top: 25px;
    left: 0;
    width: 100%;
    z-index: 1050;
    transition: all 0.4s ease;
}

.navbar-glass {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 100px;
    padding: 10px 25px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    max-width: 1200px;
    margin: 0 auto;
}

.navbar-brand {
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--text-dark) !important;
}

.nav-link {
    font-weight: 500;
    color: var(--text-dark) !important;
    margin: 0 15px;
    padding: 8px 15px !important;
    border-radius: 50px;
    transition: 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    background: var(--primary-glow);
    color: var(--primary) !important;
}

.btn-premium {
    background: var(--primary);
    color: white !important;
    border: none;
    font-weight: 600;
    padding: 12px 28px;
    border-radius: 50px;
    box-shadow: 0 8px 20px var(--primary-glow);
    transition: all 0.3s ease;
}

.btn-premium:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 25px var(--primary-glow);
    background: #0369a1;
}

/* ============================= */
/* 📱 MOBILE RESPONSIVE FIXES   */
/* ============================= */

@media (max-width: 991px) {

    .header-wrapper {
        top: 15px;
    }

    .navbar-glass {
        border-radius: 20px;
        padding: 10px 18px;
    }

    .navbar-nav {
        margin-top: 15px;
        text-align: center;
    }

    .nav-link {
        margin: 8px 0;
    }

    .btn-premium {
        width: 100%;
        margin-top: 15px;
    }
}


/* --- HERO SECTION --- */
.hero-section {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 700px;
    background-color: #000;
    overflow: hidden;
}

.swiper {
    width: 100%;
    height: 100%;
}

.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.1);
    transition: transform 8s ease;
}

.swiper-slide-active .hero-img {
    transform: scale(1);
}

/* Slow zoom out effect on active slide */

/* Gradient Overlay for clear images & readable text */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(15, 23, 42, 0.7) 0%, rgba(15, 23, 42, 0.1) 100%);
    z-index: 2;
}

.hero-content {
    position: absolute;
    top: 50%;
    left: 8%;
    transform: translateY(-50%);
    z-index: 10;
    max-width: 650px;
    color: white;
}

.hero-title,
.hero-desc,
.hero-btns {
    opacity: 0;
    transform: translateY(40px);
    transition: all 1s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.swiper-slide-active .hero-title {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.4s;
}

.swiper-slide-active .hero-desc {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.6s;
}

.swiper-slide-active .hero-btns {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.8s;
}

.hero-title {
    font-size: 4.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
    letter-spacing: -1px;
    text-shadow: 0px 4px 15px rgba(0, 0, 0, 0.3);
}

.hero-title span {
    color: var(--secondary);
}

.hero-desc {
    font-size: 1.2rem;
    font-weight: 400;
    opacity: 0.9;
    margin-bottom: 35px;
    line-height: 1.6;
    text-shadow: 0px 2px 10px rgba(0, 0, 0, 0.5);
}

/* --- BENTO BOX STATS --- */
.hero-bento-grid {
    position: absolute;
    bottom: 40px;
    right: 8%;
    z-index: 10;
    display: flex;
    gap: 20px;
}

.bento-card {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 15px 25px;
    border-radius: 20px;
    color: white;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.8s ease;
}

.swiper-slide-active .bento-card {
    transform: translateY(0);
    opacity: 1;
    transition-delay: 1s;
}

.bento-icon {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
}

.bento-text h4 {
    margin: 0;
    font-size: 1.4rem;
    font-weight: 700;
}

.bento-text p {
    margin: 0;
    font-size: 0.8rem;
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Swiper Controls */
.swiper-pagination-bullet {
    background: #fff;
    opacity: 0.4;
    width: 10px;
    height: 10px;
    transition: 0.3s;
}

.swiper-pagination-bullet-active {
    background: var(--secondary);
    opacity: 1;
    width: 30px;
    border-radius: 10px;
}

@media (max-width: 991px) {

    .hero-section {
        height: 65vh;
        /* better than 100vh on mobile */
        min-height: 600px;
    }

    .hero-content {
        left: 6%;
        right: 6%;
        top: 52%;
        transform: translateY(-52%);
        max-width: 100%;
    }

    .hero-title {
        font-size: 1.9rem;
        /* reduce big 4.5rem */
        line-height: 1.25;
        letter-spacing: 0;
        margin-bottom: 15px;
    }


    .hero-desc {
        font-size: 0.85rem;
        line-height: 1.5;
        margin-bottom: 22px;
    }

    .hero-btns .btn {
        width: 100%;
        padding: 12px;
        font-size: 0.9rem;
        border-radius: 40px;
    }

    .hero-bento-grid {
        right: 5%;
        bottom: 20px;
    }

    .bento-card {
        padding: 12px 18px;
        gap: 10px;
    }

    .bento-text h4 {
        font-size: 1.1rem;
    }

    .bento-text p {
        font-size: 0.7rem;
    }
}

@media (max-width: 576px) {

    .hero-title {
        font-size: 1.8rem;
    }

    .hero-desc {
        font-size: 0.85rem;
    }

    .hero-bento-grid {
        position: relative;
        bottom: auto;
        right: auto;
        margin-top: 20px;
    }

    .hero-content {
        top: 45%;
        transform: translateY(-45%);
    }
}



/* --- PREMIUM VIDEO SECTION STYLES --- */
:root {
    --primary-color: #0284c7;
    /* Your Blue */
    --secondary-color: #10b981;
    /* Naam Hospital Green */
    --surface-color: #f8fafc;
}

.video-section {
    padding: 120px 0 80px;
    background: #ffffff;
    position: relative;
    overflow: visible;
    /* Allows the video to pull up smoothly */
}

/* Subtle background pattern for modern look */
.bg-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(#e2e8f0 1px, transparent 1px);
    background-size: 24px 24px;
    opacity: 0.4;
    z-index: 1;
}

/* -- VIDEO PRESENTATION AREA -- */
.video-presentation {
    position: relative;
    transform: translateY(-60px);
    /* Pulled up to overlap previous section */
    z-index: 5;
}

/* Decorative backdrop offset behind the video */
.video-backdrop {
    position: absolute;
    top: -20px;
    bottom: -20px;
    left: -20px;
    right: 20px;
    background: linear-gradient(135deg, rgba(2, 132, 199, 0.05), rgba(16, 185, 129, 0.05));
    border-radius: 36px;
    z-index: -1;
}

.video-wrapper {
    position: relative;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15), 0 0 0 8px rgba(255, 255, 255, 0.8);
    /* Modern multi-layered shadow/border */
    background: #000;
    z-index: 5;
    transition: transform 0.4s ease;
}

.video-wrapper iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Floating Glassmorphism Badge on Video */
.floating-stat-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 16px 24px;
    border-radius: 50px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.5);
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 10;
    animation: float 4s ease-in-out infinite;
}

.pulse-ring {
    width: 12px;
    height: 12px;
    background: #ef4444;
    /* Red recording dot */
    border-radius: 50%;
    position: relative;
}

.pulse-ring::after {
    content: '';
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    border-radius: 50%;
    border: 2px solid #ef4444;
    animation: pulseAnim 1.5s linear infinite;
}

/* -- TEXT & TYPOGRAPHY -- */
.text-content-area {
    position: relative;
    z-index: 5;
}

/* -- NEW HEADING CLASS -- */
.section-main-heading {
    font-size: 2.6rem;
    letter-spacing: -1px;
    line-height: 1.2;
    color: #0f172a;
}

/* Trending Gradient Text */
.text-gradient {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.lead-text {
    font-size: 1.15rem;
    line-height: 1.7;
    color: #475569 !important;
}

/* Modern Pill Badge */
.section-badge {
    padding: 8px 18px;
    background: #f1f5f9;
    color: var(--primary-color);
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    border: 1px solid #e2e8f0;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background-color: var(--primary-color);
    border-radius: 50%;
    margin-right: 8px;
}

/* -- BENTO FEATURE CARDS -- */
.modern-bento {
    padding: 24px;
    border-radius: 24px;
    background: #ffffff;
    border: 1px solid #f1f5f9;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02), 0 2px 4px -1px rgba(0, 0, 0, 0.01);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
}

.modern-bento:hover {
    background: #ffffff;
    border-color: #e2e8f0;
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.08);
    transform: translateY(-5px);
}

/* Icon Enclosures (Very trendy right now) */
.icon-wrapper {
    width: 54px;
    height: 54px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    font-size: 1.5rem;
}

.bg-blue-light {
    background: rgba(2, 132, 199, 0.1);
    color: var(--primary-color);
}

.bg-green-light {
    background: rgba(16, 185, 129, 0.1);
    color: var(--secondary-color);
}

/* -- ANIMATIONS -- */
@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }

    100% {
        transform: translateY(0px);
    }
}

@keyframes pulseAnim {
    0% {
        transform: scale(0.8);
        opacity: 0.8;
    }

    100% {
        transform: scale(2);
        opacity: 0;
    }
}

/* -- RESPONSIVE TWEAKS -- */
@media (max-width: 991px) {
    .video-presentation {
        transform: translateY(0);
        margin-top: 20px;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .floating-stat-badge {
        right: 20px;
        bottom: -20px;
    }

    .video-backdrop {
        display: none;
    }

    /* Hide decoration on mobile for cleaner look */
}

/* =========================================
   SCROLL REVEAL ANIMATIONS
   ========================================= */

/* 1. Video Animation (Left to Right) */
.reveal-video {
    opacity: 0;
    /* Keeps your original -60px Y position, but moves it left by 60px */
    transform: translate(-60px, -60px) !important;
    transition: all 1.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal-video.is-visible {
    opacity: 1;
    /* Returns to normal position */
    transform: translate(0, -60px) !important;
}

/* 2. Text Content (Right to Left) */
.reveal-right {
    opacity: 0;
    transform: translateX(60px);
    transition: all 1.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal-right.is-visible {
    opacity: 1;
    transform: translateX(0);
}

/* 3. Bento Cards (Bottom to Top) */
.reveal-up {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal-up.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Delays to make cards appear one after another */
.delay-1 {
    transition-delay: 0.3s;
}

.delay-2 {
    transition-delay: 0.5s;
}

/* Mobile optimization for Animations */
@media (max-width: 991px) {
    .reveal-video {
        transform: translate(-30px, 0) !important;
    }

    .reveal-video.is-visible {
        transform: translate(0, 0) !important;
    }

    .reveal-right {
        transform: translateX(30px);
    }

    .reveal-up {
        transform: translateY(20px);
    }

    /* Remove delays on mobile for faster loading feel */
    .delay-1,
    .delay-2 {
        transition-delay: 0.1s;
    }
}





/* popup*/



.btn-premium {
    background: linear-gradient(135deg, #007bff, #0056b3);
    color: white;
    border-radius: 50px;
    padding: 10px 24px;
    font-weight: 600;
    border: none;
    transition: all 0.3s ease;
}

.btn-premium:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 15px rgba(0, 123, 255, 0.3);
    color: white;
}

/* Modern Modal Styling */
.modern-modal {
    border-radius: 20px;
    border: none;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.modern-modal .modal-header {
    border-bottom: none;
    padding: 25px 25px 10px 25px;
}

.modern-modal .modal-body {
    padding: 20px 25px 30px 25px;
}

/* Floating Labels & Input Styling */
.modern-input {
    border-radius: 12px;
    background-color: #f8f9fa;
    border: 1.5px solid #e9ecef;
    transition: all 0.3s ease;
}

.modern-input:focus {
    background-color: #ffffff;
    border-color: #0056b3;
    /* WhatsApp Green */
    box-shadow: 0 0 0 4px rgba(37, 211, 102, 0.15);
}

/* WhatsApp Button */
.btn-whatsapp {
    background: linear-gradient(135deg, #007bff, #0056b3);
    color: #fff;
    border-radius: 50px;
    /* Pill shape */
    padding: 12px 20px;
    font-weight: 600;
    font-size: 1.1rem;
    border: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-whatsapp:hover {
    background: linear-gradient(135deg, #007bff, #0056b3);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px #007bff;
    color: #fff;
}



/* Floating Book Appointment Button mobile responsive */
.floating-book-btn {
    position: fixed !important;
    bottom: 25px !important;
    
    /* --- Centering Magic (Force Fix) --- */
    left: 50% !important;
    right: auto !important; 
    transform: translateX(-50%) !important;
    margin: 0 !important; 
    
    z-index: 9999;

    width: 60%; 
    max-width: 300px; 
    height: 55px;
    
    border-radius: 50px; 
    
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px; 

    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
    font-weight: 600; 
}
/* Optional smooth animation */
.floating-book-btn {
    animation: floatBtn 2s ease-in-out infinite;
}

@keyframes floatBtn {
    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-5px);
    }

    100% {
        transform: translateY(0);
    }
}

/* ========================================= */
/* FOOTER STYLES */
/* ========================================= */

.hospital-footer {
    background-color: #0f172a; /* Premium Dark Slate */
    color: #e2e8f0;
    font-family: 'Outfit', sans-serif;
}

.footer-text {
    color: #94a3b8;
    line-height: 1.8;
    font-size: 0.95rem;
}

.footer-title {
    color: #ffffff;
    position: relative;
    padding-bottom: 10px;
}

.footer-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 3px;
    background: #0ea5e9; /* matching bootstrap primary/info color */
    border-radius: 5px;
}

/* Footer Links */
.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #94a3b8;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-links a i {
    font-size: 0.8rem;
    margin-right: 8px;
    color: #0ea5e9;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: #0ea5e9;
    transform: translateX(5px); /* Hover Slide Effect */
}

/* Contact List */
.footer-contact .contact-icon {
    width: 35px;
    height: 35px;
    background: rgba(14, 165, 233, 0.1);
    color: #0ea5e9;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-right: 15px;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.footer-contact .contact-text {
    color: #94a3b8;
    font-size: 0.95rem;
    line-height: 1.6;
}

.footer-contact .contact-text a {
    color: #94a3b8;
    text-decoration: none;
    transition: 0.3s ease;
}

.footer-contact .contact-text a:hover {
    color: #0ea5e9;
}

/* Social Buttons */
.social-btn {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    color: #ffffff;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-btn:hover {
    background: #0ea5e9;
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(14, 165, 233, 0.4);
}

/* Footer Bottom */
.footer-bottom {
    border-color: rgba(255, 255, 255, 0.1) !important;
}

.copyright-text {
    color: #94a3b8;
    font-size: 0.9rem;
}

.footer-legal-links a {
    color: #94a3b8;
    text-decoration: none;
    font-size: 0.9rem;
    transition: 0.3s ease;
}

.footer-legal-links a:hover {
    color: #0ea5e9;
}

.emergency-badge {
    font-size: 0.75rem;
    padding: 5px 10px;
    letter-spacing: 0.5px;
}