/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
/* ==========================
   TOP BAR
========================== */

.topbar{
    width:100%;
    background:#fff;
    border-bottom:1px solid #e9e9e9;
}

.topbar-container{
    max-width:1400px;
    width:95%;
    margin:auto;

    display:flex;
    justify-content:space-between;
    align-items:center;

    height:52px; /* Compact height */
}

/* Left Side */

.topbar-left{
    display:flex;
    align-items:center;
    gap:28px;
}

.top-item{
    display:flex;
    align-items:center;
    gap:8px;

    color:#555;
    font-size:14px;
}

.top-item i{
    color:#284682;
    font-size:14px;
}

.top-item a{
    text-decoration:none;
    color:#555;
    transition:.3s;
}

.top-item a:hover{
    color:#284682;
}

/* Right Side */

.topbar-right{
    display:flex;
    align-items:center;
}

.topbar-btn{
    background:rgb(40,30,170);
    color:white;
    text-decoration:none;

    display:flex;
    align-items:center;
    justify-content:center;

    height:42px;
    padding:0 20px;
    border-radius:8px;
    font-weight:600;
}

.topbar-btn:hover{
    transform:translateY(-2px);
    background: #ffcc54;
    color:rgb(40)
}
.topbar-btn{
    display:flex;
    align-items:center;
    gap:8px;
}

.topbar-btn i{
    font-size:14px;
    transition:all .3s ease;
}

.topbar-btn:hover i{
    transform:translateX(6px);
}

/* ==========================
   TABLET
========================== */

@media(max-width:991px){

    .topbar-container{
        flex-direction:column;
        height:auto;
        padding:12px 0;
        gap:12px;
    }

    .topbar-left{
        flex-wrap:wrap;
        justify-content:center;
        gap:15px;
    }

}

/* ==========================
   MOBILE
========================== */

@media(max-width:768px){

    .topbar-container{
        width:92%;
        padding:12px 0;
    }

    .topbar-left{
        width:100%;
        flex-direction:column;
        align-items:flex-start;
        gap:10px;
    }

    .top-item{
        width:100%;
    }

    .topbar-right{
        width:100%;
    }

    .topbar-btn{
        width:100%;
        justify-content:center;
        top:0;
    }

}





/* ==========================
   STICKY NAVBAR`
========================== */

.navbar{
    position:sticky;
    top:0;
    z-index:9999;

    background:#fff;
    border-bottom:1px solid #eee;
    box-shadow:0 2px 15px rgba(0,0,0,.06);
}

.navbar-inner{
    display:flex;
    justify-content:space-between;
    align-items:center;

    max-width:1400px;
    margin:auto;

    padding:12px 25px;
}

/* ==========================
   LOGO
========================== */

.logo-container{
    display:flex;
    flex-direction:column;
}

.logos{
    display:flex;
    align-items:center;
    gap:12px;
}

.logos img{
    height:60px;
    width:auto;
    display:block;
}

.tagline{
    color:#284682;
    font-size:14px;
    font-weight:600;
    margin-top:4px;
    margin-left:55px;
}

/* ==========================
   DESKTOP MENU
========================== */

.nav-links{
    display:flex;
    align-items:center;
    gap:32px;
    
    list-style:none;

    transform:translateX(-200px);
}
.nav-links li{
    position:relative;
}

.nav-links a{
    text-decoration:none;
    color:#222;
    font-size:16px;
   
    font-weight:600;
    transition:.3s;
}

.nav-links a:hover{
    color:#284682;
}

/* Dropdown Icon */

.nav-links li a i{
    font-size:11px;
    color:#284682;
    margin-left:6px;
    transition:.3s;
}

.dropdown:hover > a i{
    transform:rotate(180deg);
}

.dropdown.active > a i{
    transform:rotate(180deg);
}

/* ==========================
   DROPDOWN
========================== */

.dropdown{
    position:relative;
}

.dropdown-menu{
    position:absolute;
    top:100%;
    left:0;

    width:320px;

    background:#284682;

    list-style:none;

    display:none;

    border-radius:0 0 12px 12px;

    max-height:70vh;
    overflow-y:auto;

    z-index:9999;
}

.dropdown:hover .dropdown-menu{
    display:block;
}

.dropdown-menu li{
    border-bottom:1px solid rgba(255,255,255,.08);
}

.dropdown-menu li:last-child{
    border-bottom:none;
}

.dropdown-menu li a{
    display:block;
    padding:12px 18px;
    color:#fff;
    font-size:14px;
}

.dropdown-menu li a:hover{
    background:rgba(255,255,255,.08);
    color:#ffc83d;
}

/* ==========================
   HAMBURGER
========================== */

.menu-toggle{
    display:none;

    width:40px;
    height:40px;

    align-items:center;
    justify-content:center;

    cursor:pointer;
}

.menu-toggle i{
    font-size:26px;
    color:#284682;
}

/* ==========================
   TABLET + MOBILE
========================== */

@media(max-width:992px){

    html,
    body{
        overflow-x:hidden;
    }
.navbar{
        position:fixed;
        top:0;
        left:0;
        width:100%;

        z-index:99999;

        background:#fff;

        padding:0;
    }

    .navbar-inner{
        padding:12px 15px;
    }

    body{
        padding-top:85px;
    }

    .nav-links{
        top:85px;
    }



    .logo-container{
        max-width:80%;
    }

    .logos img{
        height:38px;
    }

    .tagline{
        margin-left:0;
        font-size:12px;
    }

    .menu-toggle{
        display:flex;
    }

    .nav-links{

        position:fixed;

        top:75px;
        left:50%;

        transform:translateX(-50%);

        width:95%;
        max-width:500px;

        background:#fff;

        border-radius:15px;

        box-shadow:0 10px 30px rgba(0,0,0,.15);

        display:none;

        flex-direction:column;

        gap:0;

        overflow:hidden;

        z-index:9998;
    }

    .nav-links.active{
        display:flex;
    }

    .nav-links li{
        width:100%;
        border-bottom:1px solid #eee;
    }

    .nav-links li:last-child{
        border-bottom:none;
    }

    .nav-links li a{

        width:100%;

        padding:15px 20px;

        display:flex;

        justify-content:space-between;
        align-items:center;
    }

    /* MOBILE DROPDOWN */
.dropdown-menu{

    position:static;

    width:100%;

    display:none;

    background:#284682;

    border-radius:0;

    max-height:250px;   /* add */

    overflow-y:auto;    /* add */

    overflow-x:hidden;  /* add */
}
.dropdown-menu::-webkit-scrollbar{
    width:5px;
}

.dropdown-menu::-webkit-scrollbar-track{
    background:#1f376b;
}

.dropdown-menu::-webkit-scrollbar-thumb{
    background:rgba(255,255,255,.5);
    border-radius:10px;
}
    .dropdown.active .dropdown-menu{
       display:block !important;
    }

    .dropdown:hover .dropdown-menu{
        display:none;
    }

    .dropdown-menu li a{
        padding:14px 25px;
        font-size:14px;
    }
       
   

}

/* ==========================
   MOBILE
========================== */

@media(max-width:576px){

    .navbar{
        padding:10px 12px;
    }

    .logos{
        gap:8px;
    }

    .logos img{
        height:32px;
    }

    .tagline{
        font-size:11px;
    }

    .menu-toggle i{
        font-size:24px;
    }

    .nav-links{
        width:96%;
        top:70px;
    }

    .nav-links li a{
        font-size:14px;
        padding:14px 16px;
    }

    .dropdown-menu li a{
        font-size:13px;
        padding:12px 20px;
    }
}

/* ==========================
   EXTRA SMALL DEVICES
========================== */

@media(max-width:380px){

    .logos img{
        height:28px;
    }

    .tagline{
        font-size:10px;
    }

    .menu-toggle i{
        font-size:22px;
    }
}
.dropdown.active .dropdown-menu{
    display:block;
}

@media(max-width:992px){

    .dropdown:hover .dropdown-menu{
        display:none;
    }

}
  @media(max-width:992px){

    .nav-links li{
        position:relative;
    }

    .dropdown-toggle{
        position:absolute;
        right:0;
        top:0;
        width:50px;
        height:52px;

        display:flex;
        align-items:center;
        justify-content:center;

        cursor:pointer;
        z-index:2;
    }

    .dropdown > a{
        width:100%;
        justify-content:flex-start !important;
        padding-right:55px !important;
    }
}




















.about-section{
    background:white;
    padding:50px 0;
}

.about-box{
    width:95%;
    max-width:1800px;
    margin:auto;
    background:#fff;
    border-radius:20px;
    overflow:hidden;
    box-shadow:0 5px 20px rgba(0,0,0,.08);
}

/* IMAGE */

.about-image{
    position:relative;
    height:300px;
}

.about-image img{
    width:100%;
    height:100%;
    object-fit:cover;
}

.overlay{
    position:absolute;
    inset:0;
    background:linear-gradient(
    to bottom,
    rgba(40,30,170,.05),
    rgba(00,00,000,.45));
}

.hero-content{
    position:absolute;
    left:80px;
    bottom:50px;
    z-index:2;
}

.hero-content h2{
    font-size:52px;
    color:#fff;
    font-weight:700;
    line-height:1.1;
    max-width:700px;
}
.breadcrumb{
    position:absolute;
    right:-750px;
    bottom:20px;

    display:flex;
    align-items:center;
    gap:15px;

    color:#fff;
    font-size:18px;
}

.breadcrumb a{
    color:#ffcc54;
    text-decoration:none;
}

/* BOTTOM */

.about-bottom{
    padding:20px 50px;

    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:30px;
}

.about-text{
    max-width:600px;
}

.about-text p{
    font-size:18px;
    text-align: justify;
    line-height:1.8;
    color:#333;
}

.support-box{
    display:flex;
    align-items:center;
    gap:25px;
}

.call-icon{
    width:55px;
    height:55px;
    border-radius:50%;
    background:#284682;

    display:flex;
    align-items:center;
    justify-content:center;
}

.call-icon i{
    color:#fff;
    font-size:28px;
}

.support-box span{
    color:#777;
    font-size:15px;
}

.support-box h4{
    font-size:20px;
    margin-top:8px;
}

/* Mobile Responsive */
@media (max-width: 768px) {

    .about-section{
        padding:30px 15px;
    }

    .about-box{
        width:100%;
        border-radius:15px;
    }

    .about-image{
        height:300px;
    }

    .hero-content{
        left:20px;
        bottom:20px;
    }

    .hero-content h2{
        font-size:28px;
        max-width:100%;
        line-height:1.3;
    }

    .breadcrumb{
        position:static;
        margin-top:15px;
        gap:8px;
        font-size:14px;
        flex-wrap:wrap;
    }

    .about-bottom{
        padding:30px 20px;
        flex-direction:column;
        align-items:flex-start;
        gap:25px;
    }

    .about-text{
        max-width:100%;
    }

    .about-text p{
        font-size:16px;
        line-height:1.7;
    }

    .support-box{
        width:100%;
        gap:15px;
    }

    .call-icon{
        width:60px;
        height:60px;
    }

    .call-icon i{
        font-size:22px;
    }

    .support-box h4{
        font-size:18px;
    }
}
@media (max-width: 480px) {

    .about-image{
        height:250px;
    }

    .hero-content h2{
        font-size:22px;
    }

    .about-bottom{
        padding:25px 15px;
    }

    .about-text p{
        font-size:15px;
    }

    .breadcrumb{
        font-size:13px;
    }

    .call-icon{
        width:55px;
        height:55px;
    }
}











/* CONTACT SECTION */

.contact-section{
    background:#f8f8f8;
    padding:60px 20px;
}

.contact-card{
    max-width:1500px;
    margin:auto;
    background:#fff;
    border-radius:24px;
    overflow:hidden;
    box-shadow:0 10px 40px rgba(0,0,0,.08);
}

.top-content{
    padding:60px;
    display:grid;
    grid-template-columns:40% 60%;
    gap:50px;
}

/* LEFT */

.contact-left h2{
    font-size:32px;
    line-height:1.2;
    color:#08284c;
    margin-bottom:50px;
    font-weight:700;
}

.info-grid{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:40px;
}

.info-box{
    display:flex;
    align-items:flex-start;
    gap:15px;
}

.icon{
    width:30px;
    height:30px;
    min-width:30px;
    border-radius:50%;
    background:#08284c;

    display:flex;
    align-items:center;
    justify-content:center;
}

.icon i{
    color:#fff;
    font-size:12px;
}

.info-box h4{
    font-size:18px;
    color:#08284c;
    margin-bottom:10px;
}

.info-box p{
    font-size:14px;
    color:#666;
    line-height:1.8;
}

/* FORM */

#appointmentForm{
    display:grid;
    grid-template-columns:1fr 1fr 220px;
    gap:22px;

    grid-template-areas:
    "name treatment button"
    "email doctor button"
    "phone date button";
}

#name{grid-area:name;}
#treatment{grid-area:treatment;}
#email{grid-area:email;}
#doctor{grid-area:doctor;}
#phone{grid-area:phone;}
#date{grid-area:date;}

#appointmentForm input,
#appointmentForm select{
    width:100%;
    height:75px;
    border:1px solid #ddd;
    border-radius:18px;
    padding:0 24px;
    font-size:18px;
    outline:none;
    background:#fff;
}

#appointmentForm input:focus,
#appointmentForm select:focus{
    border-color:#08284c;
}

/* BUTTON */

.appointment-btn{
    grid-area:button;

    border:none;
    border-radius:22px;
    background:#032447;
    color:#fff;

    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;

    gap:15px;
    cursor:pointer;
    transition:.3s;
}

.appointment-btn:hover{
    transform:translateY(-4px);
}

.appointment-btn i{
    font-size:28px;
}

.appointment-btn span{
    font-size:22px;
    font-weight:600;
}

/* MAP */

.map-box{
    padding:0 60px 60px;
}

.map-box iframe{
    width:100%;
    height:400px;
    border:none;
    border-radius:20px;
}

/* ======================
   TABLET
====================== */

@media(max-width:991px){

    .top-content{
        grid-template-columns:1fr;
        padding:40px;
    }

    .contact-left h2{
        font-size:38px;
        margin-bottom:35px;
    }

    .info-grid{
        grid-template-columns:1fr 1fr;
    }

    #appointmentForm{
        grid-template-columns:1fr 1fr;

        grid-template-areas:
        "name treatment"
        "email doctor"
        "phone date"
        "button button";
    }

    .appointment-btn{
        height:75px;
        flex-direction:row;
    }

    .map-box{
        padding:0 40px 40px;
    }
}

/* ======================
   MOBILE
====================== */

@media(max-width:576px){

    .contact-section{
        padding:30px 12px;
    }

    .top-content{
        padding:25px;
        gap:30px;
    }

    .contact-left h2{
        font-size:30px;
        line-height:1.3;
    }

    .info-grid{
        grid-template-columns:1fr;
        gap:25px;
    }

    .icon{
        width:48px;
        height:48px;
        min-width:48px;
    }

    .icon i{
        font-size:15px;
    }

    .info-box h4{
        font-size:20px;
    }

    .info-box p{
        font-size:14px;
    }

    #appointmentForm{
        grid-template-columns:1fr;

        grid-template-areas:
        "name"
        "treatment"
        "email"
        "doctor"
        "phone"
        "date"
        "button";
    }

    #appointmentForm input,
    #appointmentForm select{
        height:65px;
        font-size:16px;
    }

    .appointment-btn{
        height:65px;
        flex-direction:row;
    }

    .appointment-btn span{
        font-size:18px;
    }

    .map-box{
        padding:0 20px 20px;
    }

    .map-box iframe{
        height:280px;
    }
}












.support-section{
    padding:40px 50px;
    background:#f8f8f8;
}

.support-grid{
    max-width:1500px;
    margin:auto;

    display:grid;
    grid-template-columns:1fr 1fr;
    gap:35px;
}

.support-card{
    position:relative;
    height:600px;
    border-radius:30px;
    overflow:hidden;
}

.support-card img{
    width:100%;
    height:100%;
    object-fit:cover;
}

/* ORIGINAL IMAGE COLOR UNCHALI */

.card-overlay{
    position:absolute;
    inset:0;

}

.support-content{
    position:absolute;
    left:50%;
    top:50%;
    transform:translate(-50%,-50%);
    z-index:2;

    width:90%;
    text-align:center;
}

.support-icon{
    width:95px;
    height:95px;
    margin:auto auto 35px;

    background:#032447;
    border-radius:22px;

    display:flex;
    align-items:center;
    justify-content:center;
}

.support-icon i{
    color:#fff;
    font-size:42px;
}

.support-content h3{
    font-size:30px;
    color:#032447;
    margin-bottom:20px;
}

.support-content p{
    font-size:18px;
    color:#222;
    line-height:1.8;
    margin-bottom:8px;
}

.support-btn{
    margin-top:40px;

    display:inline-flex;
    align-items:center;
    gap:12px;

    padding:18px 40px;

    background:#032447;
    color:#fff;
    text-decoration:none;

    border-radius:14px;
    font-size:18px;
    font-weight:600;

    transition:.3s;
}

.support-btn:hover{
    transform:translateY(-4px);
}

@media(max-width:991px){

    .support-grid{
        grid-template-columns:1fr;
    }

    .support-card{
        height:600px;
    }

    .support-content h3{
        font-size:32px;
    }

    .support-content p{
        font-size:18px;
    }
}

@media(max-width:576px){

    .support-section{
        padding:50px 15px;
    }

    .support-card{
        height:500px;
        border-radius:20px;
    }

    .support-icon{
        width:75px;
        height:75px;
    }

    .support-icon i{
        font-size:30px;
    }

    .support-content h3{
        font-size:26px;
    }

    .support-content p{
        font-size:15px;
        line-height:1.7;
    }

    .support-btn{
        width:100%;
        justify-content:center;
        padding:15px 20px;
        font-size:16px;
    }
}