/* =====================================================
   1. GLOBAL STYLES
===================================================== */

body{
    font-family:Arial, sans-serif;
    background:#f8fafc;
}

section{
    overflow:hidden;
}


/* =====================================================
   2. TOP BAR + NAVBAR
===================================================== */

.top-bar{
    font-size:14px;
}

.navbar{
    position:sticky;
    top:0;
    z-index:999;
}

.navbar .nav-link{
    color:#fff !important;
    font-weight:500;
}


/* =====================================================
   3. HERO SECTION
===================================================== */

.hero-section{
    min-height:90vh;
    background: linear-gradient(135deg, #0d6efd, #0a58ca);
    position:relative;
    overflow:hidden;
}

/* Hero background glow overlay */
.hero-overlay{
    position:absolute;
    top:0;
    left:0;
    width:100%;
    height:100%;
    background:
        radial-gradient(circle at 20% 30%, rgba(255,255,255,0.15), transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(255,255,255,0.10), transparent 40%);
}

/* Badge style */
.hero-badge{
    background:rgba(255,255,255,0.15);
    backdrop-filter:blur(10px);
    border:1px solid rgba(255,255,255,0.2);
    font-size:14px;
}

/* Hero text styles */
.hero-title{
    line-height:1.2;
    letter-spacing:0.5px;
}

.hero-text{
    opacity:0.9;
}

/* Hero buttons */
.hero-btn,
.hero-btn-outline{
    border-radius:50px;
    padding:12px 28px;
    font-weight:600;
}

/* Floating animation image */
.animate-float{
    animation: float 3s ease-in-out infinite;
}

@keyframes float{
    0%{ transform:translateY(0px); }
    50%{ transform:translateY(-15px); }
    100%{ transform:translateY(0px); }
}

/* Responsive hero */
@media(max-width:768px){
    .hero-section{
        text-align:center;
        padding:80px 0;
    }
}


/* =====================================================
   4. CARDS (GLOBAL UI)
===================================================== */

.card{
    border-radius:20px;
    overflow:hidden;
    transition:0.4s;
}

.card:hover{
    transform:translateY(-10px);
}


/* =====================================================
   5. BUTTONS
===================================================== */

.btn-primary{
    border-radius:50px;
    padding:12px 30px;
}


/* =====================================================
   6. SERVICES / DEPARTMENTS / DOCTORS
===================================================== */

.service-img{
    height:240px;
    object-fit:cover;
}

.department-img{
    width:100%;
    height:180px;
    object-fit:cover;
    border-radius:15px;
}

.doctor-img{
    width:120px;
    height:120px;
    border-radius:50%;
    object-fit:cover;
}


/* =====================================================
   7. COUNTER SECTION
===================================================== */

.counter-section{
    background:#0d6efd;
}


/* =====================================================
   8. BLOG SECTION
===================================================== */

.blog-img{
    height:250px;
    object-fit:cover;
}


/* =====================================================
   9. APPOINTMENT SECTION
===================================================== */

.appointment-section{
    margin-top:40px;
}

.appointment-card{
    border-radius:20px;
    position:relative;
    z-index:10;
}


/* =====================================================
   10. FOOTER
===================================================== */

footer{
    background:#0f172a;
}

.footer-links li{
    margin-bottom:10px;
}

.footer-links li a{
    color:#fff;
    text-decoration:none;
}

.footer-links li a:hover{
    color:#dbeafe;
}


/* =====================================================
   11. RESPONSIVE FIXES
===================================================== */

@media(max-width:768px){

    .hero-section{
        text-align:center;
        padding:80px 0;
    }

    .appointment-card{
        margin-top:0;
    }

}

.gallery-box{
    position:relative;
    overflow:hidden;
    border-radius:15px;
    cursor:pointer;
}

.gallery-box img{
    width:100%;
    height:220px;
    object-fit:cover;
    transition:0.4s;
}

/* zoom effect */
.gallery-box:hover img{
    transform:scale(1.1);
}

/* overlay */
.gallery-overlay{
    position:absolute;
    bottom:0;
    left:0;
    width:100%;
    padding:10px;
    background:rgba(0,0,0,0.6);
    color:#fff;
    font-weight:500;
    font-size:14px;
    text-align:center;
    opacity:0;
    transition:0.3s;
}

/* show overlay on hover */
.gallery-box:hover .gallery-overlay{
    opacity:1;
}

.tpa-box{
    background:#fff;
    padding:20px;
    border-radius:15px;
    box-shadow:0 5px 20px rgba(0,0,0,0.05);
    transition:0.3s;
    display:flex;
    align-items:center;
    justify-content:center;
    height:100%;
}

/* image styling */
.tpa-box img{
    max-height:60px;
    width:auto;
    object-fit:contain;
    filter: grayscale(100%);
    transition:0.3s;
}

/* hover effect */
.tpa-box:hover{
    transform:translateY(-8px);
    box-shadow:0 10px 25px rgba(0,0,0,0.1);
}

.tpa-box:hover img{
    filter: grayscale(0%);
    transform:scale(1.05);
}