/* ===========================
   GOOGLE FONT
=========================== */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    scroll-behavior:smooth;
    font-family:'Poppins',sans-serif;
}

:root{
    --primary:#0056b3;
    --secondary:#00a8e8;
    --accent:#ff6b35;
    --dark:#0f172a;
    --light:#f8fbff;
    --white:#ffffff;
    --shadow:0 10px 30px rgba(0,0,0,.08);
}

html,
body{
    width:100%;
    overflow-x:hidden;
    background:var(--light);
    color:#333;
}

img{
    max-width:100%;
    display:block;
}

a{
    text-decoration:none;
}

section{
    padding:90px 6%;
}

.section-title{
    text-align:center;
    margin-bottom:60px;
}

.section-title h2{
    font-size:clamp(2rem,4vw,3rem);
    color:var(--primary);
    position:relative;
    display:inline-block;
}

.section-title h2::after{
    content:'';
    position:absolute;
    width:70%;
    height:4px;
    background:var(--accent);
    left:15%;
    bottom:-12px;
    border-radius:50px;
}

/* ===========================
   TOP BAR
=========================== */

.top-bar{
    background:var(--primary);
    color:white;
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:10px 6%;
    font-size:.9rem;
}

.top-bar div{
    display:flex;
    align-items:center;
    gap:8px;
}

/* ===========================
   HEADER
=========================== */

header{
    position:sticky;
    top:0;
    z-index:1000;

    display:flex;
    justify-content:space-between;
    align-items:center;

    background:white;

    padding:15px 6%;

    box-shadow:0 3px 20px rgba(0,0,0,.08);
}

.logo{
    display:flex;
    align-items:center;
    gap:12px;
}

.logo img{
    width:65px;
    height:65px;
    border-radius:50%;
    object-fit:cover;
}

.logo h2{
    color:var(--primary);
    font-size:1.2rem;
}

.logo span{
    color:#666;
    font-size:.85rem;
}

nav{
    display:flex;
    gap:30px;
}

nav a{
    color:#222;
    font-weight:500;
    transition:.3s;
}

nav a:hover{
    color:var(--primary);
}

.menu-btn{
    display:none;
    font-size:28px;
    cursor:pointer;
    color:var(--primary);
}

/* ===========================
   HERO SECTION
=========================== */

.hero{
    min-height:115vh;

    background:
    linear-gradient(
        rgba(0,0,0,.65),
        rgba(0,0,0,.55)
    ),
    url("images/hero.jpeg");
    background-size:cover;
    background-position: center -2vw;
    background-repeat:no-repeat;

    display:flex;
    justify-content:center;
    align-items:center;
    text-align:center;

    position:relative;
}

.hero-content{
    position:relative;
    z-index:2;
    max-width:900px;
    padding:20px;
    color:white;
}

.hero-badge{
    display:inline-block;

    padding:10px 20px;

    border-radius:50px;

    background:rgba(255,255,255,.15);

    border:1px solid rgba(255,255,255,.2);

    backdrop-filter:blur(8px);

    margin-bottom:25px;
}

.hero-content h1{
    font-size:clamp(2.5rem,7vw,5rem);
    line-height:1.1;
    margin-bottom:20px;
}

.hero-content p{
    max-width:700px;
    margin:auto;
    line-height:1.8;
    margin-bottom:35px;
}

.hero-buttons{
    display:flex;
    justify-content:center;
    gap:15px;
    flex-wrap:wrap;
}

.btn{
    padding:15px 30px;
    border-radius:50px;
    background:var(--primary);
    color:white;
    font-weight:600;
    transition:.3s;
}

.btn:hover{
    transform:translateY(-5px);
}

.btn-secondary{
    background:var(--accent);
}

/* ===========================
   ABOUT
=========================== */

.about-content{
    display:grid;
    grid-template-columns:2fr 1fr;
    gap:40px;
    align-items:center;
}

.about-text{
    background:white;
    padding:40px;
    border-radius:20px;
    box-shadow:var(--shadow);
}

.about-text h3{
    color:var(--primary);
    margin-bottom:20px;
}

.about-text p{
    line-height:1.9;
    margin-bottom:15px;
}

.doctor-card{
    background:
    linear-gradient(
        135deg,
        var(--primary),
        var(--secondary)
    );

    color:white;
    text-align:center;

    padding:50px 30px;

    border-radius:20px;

    box-shadow:var(--shadow);
}

.doctor-card h3{
    margin-bottom:10px;
}

.doctor-card p{
    margin-bottom:10px;
}
.doctor-image{
    width:180px;
    height:180px;
    margin:0 auto 25px;
    border-radius:50%;
    padding:5px;
    background:white;
}

.doctor-image img{
    width:100%;
    height:100%;
    object-fit:cover;
    border-radius:50%;
}

.doctor-details{
    display:flex;
    justify-content:center;
    gap:30px;
    margin-top:25px;
}

.doctor-details strong{
    display:block;
    font-size:1.5rem;
}

/* ===========================
   STATS
=========================== */

.stats{
    background:
    linear-gradient(
        135deg,
        var(--primary),
        var(--secondary)
    );

    color:white;

    display:grid;
    grid-template-columns:
    repeat(auto-fit,minmax(220px,1fr));

    gap:30px;

    text-align:center;
}

.stat h2{
    font-size:3rem;
    font-weight:700;
}

.stat p{
    margin-top:10px;
    font-size:1rem;
}

/* ===========================
   SERVICES
=========================== */

.service-grid{
    display:grid;
    grid-template-columns:
    repeat(auto-fit,minmax(280px,1fr));

    gap:25px;
}

.card{
    background:white;

    padding:35px 25px;

    border-radius:20px;

    box-shadow:var(--shadow);

    text-align:center;

    transition:.4s;
}

.card:hover{
    transform:translateY(-10px);
}

.card i{
    font-size:50px;
    color:var(--primary);
    margin-bottom:20px;
}

.card h3{
    margin-bottom:12px;
}

.card p{
    color:#666;
    line-height:1.7;
}

/* ===========================
   WHY US
=========================== */

.why-grid{
    display:grid;

    grid-template-columns:
    repeat(auto-fit,minmax(250px,1fr));

    gap:20px;
}

.why-grid div{
    background:white;

    padding:25px;

    border-radius:15px;

    box-shadow:var(--shadow);

    text-align:center;

    font-weight:600;
}

/* ===========================
   GALLERY
=========================== */

.gallery-grid{
    display:grid;

    grid-template-columns:
    repeat(auto-fit,minmax(300px,1fr));

    gap:20px;
}

.gallery-grid img{
    width:100%;
    aspect-ratio:1/1;

    object-fit:cover;

    border-radius:20px;

    box-shadow:var(--shadow);

    cursor:pointer;

    transition:.4s;
}

.gallery-grid img:hover{
    transform:scale(1.04);
}

/* ===========================
   HOME COLLECTION
=========================== */

.collection-box{
    background:white;

    max-width:900px;

    margin:auto;

    text-align:center;

    padding:50px;

    border-radius:20px;

    box-shadow:var(--shadow);
}

.collection-box i{
    font-size:60px;
    color:var(--primary);

    margin-bottom:20px;
}

.collection-box h3{
    margin-bottom:15px;
}

/* ===========================
   TESTIMONIALS
=========================== */

.testimonial-container{
    display:grid;

    grid-template-columns:
    repeat(auto-fit,minmax(300px,1fr));

    gap:25px;
}

.testimonial-card{
    background:white;

    padding:35px;

    border-radius:20px;

    box-shadow:var(--shadow);

    text-align:center;
}

.testimonial-card p{
    line-height:1.8;
    margin-bottom:15px;
}

/* ===========================
   FAQ
=========================== */

.faq{
    max-width:1000px;
    margin:auto;
}

.faq-item{
    background:white;

    margin-bottom:15px;

    border-radius:10px;

    overflow:hidden;

    box-shadow:var(--shadow);
}

.faq-question{
    width:100%;

    border:none;

    background:white;
    
    color:#0065be;

    padding:20px;

    text-align:left;

    cursor:pointer;

    font-size:1rem;

    font-weight:600;
}
.faq-question:hover{
    background:rgb(0,101,190);
    color:#fff;
}

.faq-answer{
    display:none;

    padding:0 20px 20px;

    color:#555;

    line-height:1.8;
}

.faq-item.active .faq-answer{
    display:block;
}

/* ===========================
   CONTACT
=========================== */

.contact-grid{
    display:grid;

    grid-template-columns:1fr 1fr;

    gap:30px;
}

.contact-info,
.contact form{
    background:white;

    padding:40px;

    border-radius:20px;

    box-shadow:var(--shadow);
}

.contact-info h3{
    color:var(--primary);
    margin-bottom:20px;
}

.contact-info p{
    margin-bottom:15px;
    line-height:1.8;
}

form{
    display:flex;
    flex-direction:column;
    gap:15px;
}

input,
textarea{
    width:100%;

    padding:15px;

    border:1px solid #ddd;

    border-radius:10px;

    outline:none;
}

input:focus,
textarea:focus{
    border-color:var(--primary);
}

textarea{
    resize:none;
}

button{
    border:none;

    background:var(--primary);

    color:white;

    padding:15px;

    border-radius:10px;

    cursor:pointer;

    font-size:1rem;

    transition:.3s;
}

button:hover{
    background:var(--secondary);
}

/* ===========================
   GOOGLE MAP
=========================== */

.map{
    padding:0;
}

.map iframe{
    width:100%;
    height:450px;
    border:none;
}

/* ===========================
   FOOTER
=========================== */

footer{
    background-color: #111111;
    color: #ffffff;
    padding: 70px 6% 30px;
    font-size: 0.9rem;
    border-top: 3px solid var(--primary);
    text-align: left;
}

.footer-container {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-col {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-col-about {
    padding-right: 20px;
}

.footer-title {
    color: #ffffff;
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 5px;
    position: relative;
    padding-bottom: 10px;
}

.footer-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 3px;
    background-color: var(--secondary);
    border-radius: 2px;
}

.footer-col-title {
    color: #ffffff;
    font-size: 1.15rem;
    font-weight: 600;
    position: relative;
    padding-bottom: 10px;
    margin-bottom: 5px;
}

.footer-col-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 3px;
    background-color: var(--secondary);
    border-radius: 2px;
}

.footer-desc {
    color: #bbbbbb;
    line-height: 1.7;
}

.footer-badges {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 5px;
}

.footer-badges li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #ffffff;
    font-weight: 500;
}

.footer-badges li i {
    color: var(--secondary);
    font-size: 1rem;
}

.footer-links {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: #bbbbbb;
    transition: 0.3s ease;
    display: inline-block;
}

.footer-links a:hover {
    color: var(--secondary);
    transform: translateX(5px);
}

.footer-col-contact {
    gap: 12px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: #bbbbbb;
    line-height: 1.6;
}

.contact-item i {
    color: var(--secondary);
    font-size: 1rem;
    margin-top: 4px;
    width: 16px;
    text-align: center;
}

.contact-item a {
    color: #bbbbbb;
    transition: 0.3s ease;
}

.contact-item a:hover {
    color: var(--secondary);
}

.footer-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 10px;
}

.btn-whatsapp-footer {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background-color: #25D366;
    color: #ffffff;
    padding: 10px 18px;
    border-radius: 6px;
    font-weight: 600;
    transition: 0.3s ease;
    font-size: 0.85rem;
    max-width: 180px;
}

.btn-whatsapp-footer:hover {
    background-color: #1ebd59;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(37, 211, 102, 0.2);
}

.play-store-badge {
    display: inline-block;
    transition: 0.3s ease;
    max-width: 140px;
}

.play-store-badge:hover {
    transform: translateY(-2px);
}

.play-store-badge svg {
    display: block;
    width: 100%;
    height: auto;
}

.footer-bottom {
    margin-top: 60px;
    padding-top: 25px;
    border-top: 1px solid #222222;
}

.footer-bottom-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    max-width: 1200px;
    margin: 0 auto;
}

.copyright {
    color: #888888;
    font-size: 0.85rem;
}

.bottom-links {
    display: flex;
    gap: 20px;
}

.bottom-links a {
    color: #888888;
    font-size: 0.85rem;
    transition: 0.3s ease;
}

.bottom-links a:hover {
    color: var(--secondary);
}

@media(max-width: 992px) {
    .footer-container {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
    
    .footer-col-about {
        padding-right: 0;
    }
}

@media(max-width: 576px) {
    .footer-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-bottom-container {
        flex-direction: column;
        text-align: center;
    }
    
    .bottom-links {
        justify-content: center;
    }
}

/* ===========================
   FLOATING BUTTONS
=========================== */

.whatsapp{
    position:fixed;

    right:20px;
    bottom:20px;

    width:60px;
    height:60px;

    border-radius:50%;

    background:#25D366;

    color:white;

    display:flex;

    justify-content:center;
    align-items:center;

    font-size:28px;

    z-index:1000;

    box-shadow:
    0 10px 25px rgba(0,0,0,.2);
}

.call{
    position:fixed;

    right:20px;
    bottom:90px;

    width:60px;
    height:60px;

    border-radius:50%;

    background:var(--primary);

    color:white;

    display:flex;

    justify-content:center;
    align-items:center;

    font-size:24px;

    z-index:1000;

    box-shadow:
    0 10px 25px rgba(0,0,0,.2);
}

/* ===========================
   SCROLLBAR
=========================== */

::-webkit-scrollbar{
    width:8px;
}

::-webkit-scrollbar-thumb{
    background:var(--primary);
    border-radius:20px;
}

/* ===========================
   TABLET
=========================== */

@media(max-width:992px){

    .about-content{
        grid-template-columns:1fr;
    }

    .contact-grid{
        grid-template-columns:1fr;
    }

}

/* ===========================
   MOBILE
=========================== */

@media(max-width:768px){

    .top-bar{
        flex-direction:column;
        gap:8px;
        text-align:center;
    }

    .menu-btn{
        display:block;
    }

    nav{
        position:absolute;

        top:100%;
        left:0;

        width:100%;

        background:white;

        flex-direction:column;

        display:none;

        padding:20px;
    }

    nav.active{
        display:flex;
    }

    .hero-content h1{
        font-size:2.3rem;
    }

    .hero-buttons{
        flex-direction:column;
        align-items:center;
    }

    .btn{
        width:250px;
    }

    .gallery-grid{
        grid-template-columns:1fr;
    }

    .stats{
        grid-template-columns:1fr;
    }

    section{
        padding:70px 5%;
    }

}

/* ===========================
   SMALL MOBILE
=========================== */

@media(max-width:480px){

    .logo img{
        width:50px;
        height:50px;
    }

    .logo h2{
        font-size:1rem;
    }

    .hero-content h1{
        font-size:1.9rem;
    }

    .hero-content p{
        font-size:.95rem;
    }

    .btn{
        width:100%;
    }

    .whatsapp,
    .call{
        width:52px;
        height:52px;
        font-size:22px;
    }

    .call{
        bottom:80px;
    }

}
/* LIGHTBOX */

#lightbox{
    position:fixed;
    inset:0;
    background:rgba(0,0,0,.9);
    display:none;
    justify-content:center;
    align-items:center;
    z-index:9999;
}

#lightbox.active{
    display:flex;
}

#lightbox img{
    max-width:90%;
    max-height:90%;
    border-radius:10px;
}

/* SCROLL TOP BUTTON */

#topBtn{
    position:fixed;
    bottom:160px;
    right:20px;

    width:55px;
    height:55px;

    border:none;
    border-radius:50%;

    background:#ff6b35;
    color:white;

    display:none;

    justify-content:center;
    align-items:center;

    cursor:pointer;

    z-index:999;
}

/* ===========================
   ABOUT SECTION POLICY BUTTON
=========================== */

/* ===========================
   ABOUT SECTION POLICY BUTTON
=========================== */

.btn-policy {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    border-radius: 50px;
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
    font-weight: 600;
    transition: .3s;
    font-size: 0.95rem;
    cursor: pointer;
}

.btn-policy:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 86, 179, 0.2);
}

@media(max-width: 480px) {
    .btn-policy {
        width: 100%;
        justify-content: center;
    }
}

/* ===========================
   NAVBAR DROPDOWN SUBDIVISION
=========================== */

.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--white);
    min-width: 180px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    padding: 10px 0;
    z-index: 1100;
    border: 1px solid rgba(0,0,0,0.05);
}

.dropdown-menu a {
    color: #333;
    padding: 10px 20px;
    display: block;
    font-size: 0.9rem;
    font-weight: 400;
    transition: 0.2s;
}

.dropdown-menu a:hover {
    background-color: var(--light);
    color: var(--primary);
    padding-left: 25px;
}

/* Show dropdown overlay on desktop hover */
@media(min-width: 769px) {
    .dropdown:hover .dropdown-menu {
        display: block;
        animation: dropFade 0.3s ease;
    }
}

@keyframes dropFade {
    from { opacity: 0; transform: translateX(-50%) translateY(10px); }
    to { opacity: 1; transform: translateX(-50%) translateY(0); }
}

/* Mobile Responsive adjustment for dropdown cascade */
@media(max-width: 768px) {
    .dropdown {
        width: 100%;
        text-align: left;
    }

    .dropdown-toggle {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        padding: 5px 0;
    }

    .dropdown-menu {
        position: static;
        transform: none;
        box-shadow: none;
        width: 100%;
        padding: 5px 0 5px 15px;
        background: transparent;
        border: none;
    }

    .dropdown.open-mobile .dropdown-menu {
        display: block;
    }
}