/* ================= TOP BAR ================= */

.topbar {
    background: #000;
    color: #fff;
    font-size: 14px;
    padding: 16px 0;
    position: relative;
}

.topbar .container-fluid {
    position: relative;
}

.top-left {
    position: absolute;
    left: 20px;
}

.top-center {
    text-align: center;
    width: 100%;
}

.top-right {
    position: absolute;
    right: 20px;
    margin-top: 1px;

}

.topbar i {
    margin-right: 6px;
}

/* Social Icons */
.top-right a {
    background: #fff;
    color: #000;
    padding: 4px 6px;
    margin-left: 6px;
    border-radius: 3px;
    font-size: 13px;
    display: inline-block;
    padding-right: 4px;
    
}

.top-right a:hover {
    background: #1678a2;
    color: #fff;
}


/* ================= MAIN NAVBAR ================= */

.main-navbar {
    background: #0077B6;
    padding: 20px 0;
}

/* Flex layout for logo + menu */
.main-navbar .container-fluid {
    display: flex;
    align-items: center;
}

/* Logo Left */
.logo {
    color: #fff;
    font-size: 28px;
    font-weight: 600;
    margin-left: 20px;
}

/* Menu Right */
.menu {
    list-style: none;
    display: flex;
margin-left: auto;
    padding: 0;
 margin-left: auto;
    margin-right: auto;
}

.menu li {
    margin-left: 35px;
    
}

.menu li a {
    color: #fff;
    text-decoration: none;
    font-size: 18px;
    font-weight: 500;
    position: relative;
    padding-bottom: 6px;
    display: inline-block;   /* important */
}

/* Underline Effect */
.menu li a.active::after,
.menu li a:hover::after {
    content: '';
    position: absolute;
    width: 100%;   /* text jitna hoga utna */
    height: 3px;
    background: #fff;
    left: 0;
    bottom: 0;
}


/* Dropdown */
.dropdown {
    position: relative;
}

.dropdown-menu-custom {
    position: absolute;
    top: 100%;
    left: 0;
    background: #f8f9fa;
    min-width: 230px;
    list-style: none;
    padding: 10px 0;
    margin: 0;
    border-radius: 8px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    display: none;
    z-index: 999;
}

.dropdown-menu-custom li {
    margin: 0;
}

.dropdown-menu-custom li a {
    display: block;
    padding: 10px 20px;
    color: #333;
    font-size: 16px;
    text-decoration: none;
}

.dropdown-menu-custom li a:hover {
    background: #e9ecef;
    color: #0077B6;
}

/* Hover show */
.dropdown:hover .dropdown-menu-custom {
    display: block;
}

@media (max-width: 992px) {

    /* Topbar stack */
    .top-left,
    .top-right {
        position: static;
        text-align: center;
        margin: 5px 0;
    }

    .top-center {
        margin: 5px 0;
    }

    .topbar {
        text-align: center;
        padding: 10px 0;
    }

    /* Navbar spacing reduce */
    .menu li {
        margin-left: 20px;
    }

    .menu li a {
        font-size: 16px;
    }
}

/* ================= MOBILE ================= */
@media (max-width: 768px) {

    /* Topbar full stack */
    .top-left,
    .top-center,
    .top-right {
        position: static;
        width: 100%;
        text-align: center;
        margin: 5px 0;
    }

    /* Navbar column layout */
    .main-navbar .container-fluid {
        flex-direction: column;
        align-items: center;
    }

    .logo {
        margin: 0 0 15px 0;
        font-size: 22px;
    }

    /* Menu vertical */
    .menu {
        flex-direction: column;
        width: 100%;
        margin: 0;
        text-align: center;
        margin-right:40px;
    }

    .menu li {
        margin: 10px 0;
        position: relative;
    }

    .menu li a {
        font-size: 16px;
    }

    /* Underline center fix */
    .menu li a.active::after,
    .menu li a:hover::after {
        width: 30px;
        left: 50%;
        transform: translateX(-50%);
    }

    /* ================= MOBILE DROPDOWN FIX ================= */

    .dropdown-menu-custom {
        position: static;
        display: none;
        background: transparent;
        box-shadow: none;
        padding: 0;
        margin-top: 5px;
    }

    .dropdown-menu-custom li {
        margin: 5px 0;
    }

    .dropdown-menu-custom li a {
        color: #fff;
        padding: 5px 0;
        font-size: 15px;
    }

    .dropdown-menu-custom li a:hover {
        background: none;
        color: #ffd166;
    }

    /* When active */
    .dropdown.active .dropdown-menu-custom {
        display: block;
    }
}



/* ================= FOOTER ================= */

.main-footer {
    background: #0077B6;
    color: #fff;
    padding-top:60px;
}

.footer-container {
    width: 90%;
    margin: auto;
    display: flex;
    justify-content: space-between;
    gap: 30px;
}

.footer-col {
    width: 25%;
}

/* Title */
.footer-title {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 20px;
}

/* Paragraph */
.main-footer p {
    margin-bottom: 8px;
    font-size: 15px;
}

/* Social Icons */
.footer-social {
    margin-top: 15px;
}

.footer-social a {
    background: #fff;
    color: #177ea5;
    padding: 6px 10px;
    margin-right: 8px;
    border-radius: 4px;
    display: inline-block;
    font-size: 14px;
    text-decoration: none;
}

.footer-social a:hover {
    background: #0f5f7d;
    color: #fff;
}

/* Quick Links */
.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #fff;
    text-decoration: none;
    font-size: 15px;
}

.footer-links a:hover {
    padding-left: 5px;
    transition: 0.3s;
}

/* Responsive */
@media (max-width: 992px) {
    .footer-col {
        width: 50%;
        margin-bottom: 30px;
    }
}

@media (max-width: 576px) {
    .footer-col {
        width: 100%;
    }
}

.footer-bottom {
    background: #005f8a;   /* alag color */
    padding: 15px 0;
    text-align: center;
}

.footer-bottom p {
    margin: 0;
    font-size: 14px;
    color: #fff;
}

.footer-bottom-container {
    width: 90%;
    margin: auto;
}



/* ================= banner section ================= */

.hero-slider {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 80vh; /* Full viewport height on all devices */
    max-height: 100vh;
}

.slides {
    display: flex;
    height: 100%;
    transition: transform 0.8s ease-in-out;
}

.slide {
    min-width: 100%;
    height: 100%;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures image covers full slide without distortion */
}

/* Arrows */
.prev, .next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.5);
    color: #fff;
    border: none;
    padding: 12px 18px;
    cursor: pointer;
    font-size: 22px;
    border-radius: 5px;
    z-index: 10;
}

.prev { left: 15px; }
.next { right: 15px; }

.prev:hover, .next:hover {
    background: rgba(0,0,0,0.8);
}

/* Responsive tweaks for smaller screens */
@media (max-width:1024px){
    .hero-slider { height: 20vh; }
    .prev, .next { font-size: 20px; padding: 10px 15px; }
}

@media (max-width:768px){
    .hero-slider { height: 60vh; }
    .prev, .next { font-size: 18px; padding: 8px 12px; }
}

@media (max-width:480px){
    .hero-slider { height: 20vh; }
    .prev, .next { font-size: 16px; padding: 6px 10px; }
}

/* ================= WHY CHOOSE US ================= */
.choose-section{
background: linear-gradient(135deg,#f8fafc,#e0f2fe);
}

.choose-card{
background:#fff;
padding:30px 20px;
border-radius:15px;
box-shadow:0 8px 25px rgba(0,0,0,0.08);
transition:0.3s;
height:100%;
}

.choose-card:hover{
transform:translateY(-8px);
box-shadow:0 15px 35px rgba(0,0,0,0.15);
}

.choose-icon{
width:70px;
height:70px;
background:#2563eb;
color:#fff;
font-size:28px;
display:flex;
align-items:center;
justify-content:center;
border-radius:50%;
margin:0 auto 15px;
}




/* =================ABOUT US ================= */

.doctor-section {
    background: #f8fbff;
    padding: 60px 0;
    position: relative;
}

/* Doctor Image */
.doctor-img {
    width: 450px;
    height: 450px;
    object-fit: cover;
    border-radius: 50%;
    position: relative;
    z-index: 2;
    border: 8px solid #fff;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

/* Soft Gradient Circle Behind */
.doctor-bg {
    position: absolute;
    width: 450px;
    height: 450px;
    background: linear-gradient(135deg, #0d6efd, #5dade2);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
    filter: blur(60px);
    opacity: 0.3;
}

/* Experience Badge */
.experience-badge {
    position: absolute;
    bottom: 20px;
    right: 40px;
    background: #0d6efd;
    color: #fff;
    padding: 10px 18px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 16px;
    z-index: 3;
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}

/* Content Card */
.doctor-card {
    background: #fff;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.05);
}

.doctor-card h2 {
    color: #0d6efd;
    font-weight: 700;
}

.designation {
    color: #555;
    margin-bottom: 20px;
}

.doctor-card p {
    color: #666;
    line-height: 1.7;
}

/* Button */
.btn-read {
    display: inline-block;
    margin-top: 20px;
    padding: 10px 25px;
    background: #0d6efd;
    color: #fff;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
}

.btn-read:hover {
    background: #0b5ed7;
}

/* Responsive */
@media (max-width: 992px) {

    .doctor-img {
        width: 260px;
        height: 260px;
    }

    .doctor-bg {
        width: 280px;
        height: 280px;
    }

    .experience-badge {
        right: 20px;
        bottom: 10px;
        font-size: 12px;
    }

    .doctor-card {
        margin-top: 30px;
    }
}





/* =================Service ================= */


.services-section {
    padding: 80px 0;
    background: #f4f9ff;
}

.section-title h6 {
    color: #0d6efd;
    font-weight: 600;
    letter-spacing: 1px;
}

.section-title h2 {
    font-weight: 700;
}

.service-box {
    background: #fff;
    padding: 30px 20px;
    text-align: center;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: 0.4s;
    position: relative;
    overflow: hidden;
    height: 100%;
}

.service-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.service-icon {
    font-size: 40px;
    color: #0d6efd;
    margin-bottom: 15px;
}

.service-box h5 {
    font-weight: 600;
    margin-bottom: 10px;
}

.service-box p {
    font-size: 14px;
    color: #555;
}

/* Read More Button */
.read-more {
    position: absolute;
    bottom: -50px;
    left: 50%;
    transform: translateX(-50%);
    background: #0d6efd;
    color: #fff;
    padding: 7px 18px;
    border-radius: 30px;
    font-size: 14px;
    text-decoration: none;
    transition: 0.4s;
}

.service-box:hover .read-more {
    bottom: 20px;
}

/* =================contact ================= */
.consultation-section {
    background: #f4f4f4;
}

.consultation-box {
    background: #0077B6;
    border-radius: 16px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.consultation-box h2 {
    font-size: 32px;
}

.consultation-box p {
    opacity: 0.95;
}

.consultation-box .btn {
    border-radius: 30px;
    transition: all 0.3s ease;
}

.consultation-box .btn:hover {
    background: #ffffff;
    transform: translateY(-3px);
}

/* Responsive */
@media (max-width: 768px) {
    .consultation-box {
        padding: 35px 20px;
    }

    .consultation-box h2 {
        font-size: 22px;
    }

    .consultation-box p {
        font-size: 15px;
    }
}



/* =================form ================= */

.contact-section {
    background: linear-gradient(135deg, #ffffff, #ffffff);
    position: relative;
}

/* Optional subtle pattern effect */
.contact-section::before {
    content: "";
    position: absolute;
    width: 300px;
    height: 300px;
    background: rgba(21,101,192,0.05);
    border-radius: 50%;
    top: -80px;
    left: -80px;
}

.contact-card {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.856);
    transition: all 0.3s ease;
    min-height: 100%;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.12);
}

/* Form Styling */
.form-control {
    height: 48px;
    border-radius: 6px;
    border: 1px solid #ddd;
}

textarea.form-control {
    height: auto;
}

.form-control:focus {
    box-shadow: none;
    border-color: #0077B6;
}

/* Button */
.btn-primary {
    background: #0077B6;
    border: none;
    border-radius: 6px;
    padding: 10px 30px;
    font-weight: 600;
}

.btn-primary:hover {
    background: #0077B6;
}

/* Icon Box */
.icon-box {
    width: 50px;
    height: 50px;
    background: #0077B6;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    border-radius: 8px;
}

/* Social Icons */
.social-icon {
    width: 38px;
    height: 38px;
    background: #0077B6;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    border-radius: 6px;
    transition: 0.3s;
}

.social-icon:hover {
    background: #0077B6;
}

/* Responsive */
@media (max-width: 768px) {
    .contact-card {
        padding: 25px;
    }
}



.gallery-card {
    overflow: hidden;
    border-radius: 12px;
}

.gallery-card img {
    transition: 0.4s ease;
    width: 100%;
}

.gallery-card:hover img {
    transform: scale(1.08);
}



section h1 {
    letter-spacing: 1px;
}

section ul {
    list-style: none;
    padding: 0;
}

section ul li {
    margin-bottom: 10px;
    font-size: 16px;
}




/*review-section */

.review-section {
    padding: 60px 0;
    background: #f5f5f5;
}

.review-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.review-card {
    position: relative;
    overflow: hidden;
    height: 350px;
    border-radius: 12px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.review-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.review-card:hover img {
    transform: scale(1.1);
}

/* Overlay */
.review-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0,0,0,0.5);
    color: #fff;
    padding: 20px;
    text-align: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.review-card:hover .review-content {
    opacity: 1;
}

.review-content h4 {
    margin-top: 10px;
    font-size: 16px;
    font-weight: 600;
}


.video-section{
padding:70px 0;
background:#f9fafc;
}

.video-heading{
text-align:center;
font-size:32px;
margin-bottom:10px;
}

.video-subheading{
text-align:center;
margin-bottom:40px;
color:#777;
}

/* video box */

.video-box{

position:relative;
overflow:hidden;
border-radius:15px;
cursor:pointer;
transition:0.4s;

}

.video-box video{

width:100%;
height:650px;
object-fit:cover;
transition:0.4s;

}

/* hover zoom */

.video-box:hover video{

transform:scale(1.1);

}

/* play button */

.play-icon{

position:absolute;
top:50%;
left:50%;
transform:translate(-50%,-50%) scale(0);
width:80px;
height:80px;
background:#2196f3;
border-radius:50%;
display:flex;
align-items:center;
justify-content:center;
transition:0.3s;

}

.video-box:hover .play-icon{

transform:translate(-50%,-50%) scale(1);

}

.play-triangle{

width:0;
height:0;
border-left:22px solid white;
border-top:12px solid transparent;
border-bottom:12px solid transparent;

}

/* modal */

.video-modal{

position:fixed;
inset:0;
background:rgba(0,0,0,0.85);
display:none;
align-items:center;
justify-content:center;
z-index:9999;

}

.video-modal.active{

display:flex;

}

.video-modal video{

width:80%;
max-width:900px;
border-radius:10px;

}

.close-btn{

position:absolute;
top:30px;
right:40px;
font-size:40px;
color:#fff;
cursor:pointer;

}


/*Happy client section*/

  .stat-box {
        padding: 20px;
        transition: 0.3s ease;
    }

    .stat-box:hover {
        transform: translateY(-5px);
    }

    .card {
        border-radius: 15px;
    }

    .counter {
        font-size: 38px;
    }