:root{
    --primary:#0077b6;
    --secondary:#00b4d8;
    --light:#f8fbff;
    --dark:#1f2937;
}

html{
    scroll-behavior:smooth;
}

/* body{
    font-family:'Segoe UI',sans-serif;
    overflow-x:hidden;
} */

body{
    font-family:'Segoe UI',sans-serif;
    overflow-x:hidden;
    background:#fff;
}

/* ======================
   NAVBAR
====================== */

.navbar{
    padding:15px 0;
    background:#fff !important;
}

.navbar-brand{
    font-size:28px;
    font-weight:700;
}

.nav-link{
    font-weight:600;
    color:#222 !important;
}

.nav-link:hover{
    color:var(--primary) !important;
}

.navbar-toggler{
    box-shadow:none !important;
}

.offcanvas{
    width:300px;
}

.offcanvas-header{
    border-bottom:1px solid #eee;
}

.offcanvas-body .nav-link{
    padding:12px 0;
    font-size:17px;
    border-bottom:1px solid #f2f2f2;
}

#home{
    margin-top:-90px;
}

/* ======================
   GLOBAL
====================== */

section{
    padding:80px 0;
}

.section-title{
    font-size:38px;
    font-weight:700;
    color:var(--primary);
    margin-bottom:20px;
}

/* ======================
   HERO SECTION
====================== */

.hero-slide{
    min-height:100vh;
    position:relative;
    display:flex;
    align-items:center;
}

.overlay{
    position:absolute;
    inset:0;
    background:rgba(0,0,0,.55);
}

.hero-content{
    position:relative;
    z-index:2;
    color:#fff;
    max-width:700px;
}

.hero-content h1{
    font-size:65px;
    font-weight:800;
    line-height:1.2;
    margin-bottom:20px;
}

.hero-content p{
    font-size:22px;
    margin-bottom:30px;
}

.carousel-control-prev,
.carousel-control-next{
    width:60px;
}

.btn-main{
    background:var(--primary);
    color:#fff;
    padding:12px 30px;
    border:none;
}

.btn-main:hover{
    background:#005b8a;
    color:#fff;
}

.btn-lg{
    padding:10px 20px;
    font-size:15px;
}

/* ======================
   ABOUT SECTION
====================== */

.about-img,
.doctor-img{
    border-radius:20px;
    overflow:hidden;
}

.doctor-img{
    box-shadow:0 15px 40px rgba(0,0,0,.1);
}

.about-img img,
.doctor-img img{
    width:100%;
}

.about-content h3{
    color:var(--primary);
    font-weight:700;
}

.about-content p{
    line-height:1.9;
}

/* ======================
   SERVICES
====================== */

.service-card{
    background:#fff;
    padding:30px;
    border-radius:15px;
    text-align:center;
    box-shadow:0 5px 20px rgba(0,0,0,.08);
    transition:.4s;
    height:100%;
}

.service-card:hover{
    transform:translateY(-8px);
}

.service-card i{
    font-size:45px;
    color:var(--primary);
}

/* ======================
   WHY CHOOSE US
====================== */

.why-box{
    background:#fff;
    padding:35px;
    border-radius:20px;
    text-align:center;
    box-shadow:0 10px 25px rgba(0,0,0,.08);
    transition:.4s;
}

.why-box:hover{
    transform:translateY(-10px);
}

.why-box i{
    font-size:45px;
    color:var(--primary);
    margin-bottom:20px;
}

/* ======================
   APPOINTMENT
====================== */

.appointment{
    background:linear-gradient(135deg,var(--primary),var(--secondary));
    color:#fff;
}

.form-control{
    padding:12px;
}

/* ======================
   GALLERY
====================== */

.gallery-slider{
    overflow:hidden;
    position:relative;
}

.gallery-track{
    display:flex;
    gap:20px;
    width:max-content;
    animation:scroll 30s linear infinite;
}

.gallery-track img{
    width:300px;
    height:220px;
    object-fit:cover;
    border-radius:15px;
}

@keyframes scroll{
    from{
        transform:translateX(0);
    }
    to{
        transform:translateX(-50%);
    }
}

/* ======================
   COUNTER
====================== */

.counter-section{
    background:var(--primary);
    color:#fff;
}

.counter-box{
    text-align:center;
    padding:30px;
}

.counter-box h2{
    font-size:48px;
    font-weight:700;
}

/* ======================
   FEATURE CARD
====================== */

.feature-card{
    background:#fff;
    padding:35px;
    border-radius:15px;
    text-align:center;
    box-shadow:0 10px 30px rgba(0,0,0,.08);
    transition:.4s;
    height:100%;
}

.feature-card:hover{
    transform:translateY(-10px);
}

.feature-card i{
    font-size:50px;
    color:var(--primary);
    margin-bottom:20px;
}

/* ======================
   MISSION
====================== */

.mission-box{
    background:var(--light);
    padding:40px;
    border-radius:20px;
    height:100%;
}

/* ======================
   CONTACT
====================== */

.contact-box{
    background:#fff;
    padding:30px;
    border-radius:15px;
    box-shadow:0 4px 15px rgba(0,0,0,.08);
}

/* ======================
   ABOUT PAGE
====================== */

.about-banner{
    background:
    linear-gradient(rgba(0, 118, 182, 0.425),rgba(0, 118, 182, 0.484)),
    url('images/bread.jpg');
    background-size:cover;
    background-position:center;
    padding:120px 0;
    color:#fff;
}

.about-banner h1{
    font-size:55px;
    font-weight:700;
}

/* ======================
   CTA
====================== */

.cta-section{
    background:linear-gradient(135deg,var(--primary),var(--secondary));
    color:#fff;
    border-radius:25px;
    padding:60px;
}

.btn-custom{
    background:#fff;
    color:var(--primary);
    padding:12px 30px;
    border-radius:50px;
    font-weight:600;
}

.btn-custom:hover{
    background:#f1f1f1;
}

/* ======================
   TREATMENT PAGE
====================== */

.treatment-banner{
    min-height:65vh;
    background:
    linear-gradient(rgba(0,0,0,.55),rgba(0,0,0,.55)),
    url('images/treatment-banner.jpg');
    background-size:cover;
    background-position:center;
    display:flex;
    align-items:center;
    color:#fff;
}

.treatment-banner h1{
    font-size:65px;
    font-weight:800;
}

.treatment-banner p{
    font-size:20px;
}

.treatment-card{
    background:#fff;
    border-radius:20px;
    overflow:hidden;
    transition:.4s;
    height:100%;
    box-shadow:0 15px 40px rgba(0,0,0,.08);
}

.treatment-card:hover{
    transform:translateY(-10px);
}

.treatment-img{
    height:240px;
    overflow:hidden;
}

.treatment-img img{
    width:100%;
    height:100%;
    object-fit:cover;
    transition:.5s;
}

.treatment-card:hover img{
    transform:scale(1.1);
}

.treatment-content{
    padding:30px;
}

.treatment-icon{
    width:70px;
    height:70px;
    border-radius:50%;
    background:#eaf6ff;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:28px;
    color:var(--primary);
    margin-bottom:20px;
}

/* ======================
   PROCESS
====================== */

.process-box{
    text-align:center;
    padding:30px;
    background:#fff;
    border-radius:20px;
    box-shadow:0 10px 25px rgba(0,0,0,.07);
    height:100%;
}

.step{
    width:70px;
    height:70px;
    margin:auto;
    border-radius:50%;
    background:var(--primary);
    color:#fff;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:28px;
    font-weight:700;
    margin-bottom:20px;
}

/* ======================
   TREATMENT CTA
====================== */

.cta{
    background:linear-gradient(135deg,var(--primary),var(--secondary));
    color:#fff;
    border-radius:30px;
    padding:70px 40px;
}

.btn-book{
    background:#fff;
    color:var(--primary);
    padding:14px 35px;
    border-radius:50px;
    font-weight:700;
}

.btn-book:hover{
    background:#f8f9fa;
}

/* ======================
   FAQ
====================== */

.accordion-button:not(.collapsed){
    background:#eaf6ff;
    color:var(--primary);
}

/* ======================
   RESPONSIVE
====================== */

@media(max-width:991px){

    .navbar-brand{
        font-size:22px;
    }

    .offcanvas{
        width:280px;
    }

    .hero-slide{
        min-height:80vh;
    }

    .hero-content h1{
        font-size:42px;
    }

    .hero-content p{
        font-size:18px;
    }
}

@media(max-width:768px){

    .hero h1{
        font-size:38px;
    }

    .section-title{
        font-size:30px;
    }

    .gallery-track img{
        width:220px;
        height:160px;
    }

    .about-banner{
        padding:80px 0;
    }

    .about-banner h1{
        font-size:36px;
    }

    .cta-section{
        padding:35px 20px;
    }

    .treatment-banner{
        text-align:center;
        padding:80px 0;
    }

    .treatment-banner h1{
        font-size:40px;
    }
}

@media(max-width:767px){

    .hero-slide{
        min-height:75vh;
        text-align:center;
    }

    .hero-content h1{
        font-size:32px;
        line-height:1.3;
    }

    .hero-content p{
        font-size:16px;
    }
}



/* ======================
   FOOTER
====================== */
/* ==========================
   FOOTER
========================== */

.footer-section{
    background:#0f172a;
    color:#cbd5e1;
    padding:80px 0 0;
}

.footer-logo{
    max-width:220px;
}

.footer-about p{
    line-height:1.9;
    margin-bottom:25px;
}

.footer-title{
    color:#fff;
    font-size:22px;
    font-weight:700;
    margin-bottom:25px;
    position:relative;
}

.footer-title::after{
    content:'';
    width:50px;
    height:3px;
    background:#00b4d8;
    position:absolute;
    left:0;
    bottom:-10px;
}

.footer-links,
.footer-contact{
    list-style:none;
    padding:0;
    margin:0;
}

.footer-links li{
    margin-bottom:12px;
}

.footer-links li a{
    color:#cbd5e1;
    text-decoration:none;
    transition:.3s;
}

.footer-links li a:hover{
    color:#00b4d8;
    padding-left:8px;
}

.footer-contact li{
    margin-bottom:15px;
    display:flex;
    align-items:flex-start;
    gap:12px;
    line-height:1.6;
}

.footer-contact i{
    color:#00b4d8;
    margin-top:4px;
}

.footer-social{
    display:flex;
    gap:12px;
}

.footer-social a{
    width:42px;
    height:42px;
    background:rgba(255,255,255,.08);
    color:#fff;
    border-radius:50%;
    display:flex;
    align-items:center;
    justify-content:center;
    transition:.3s;
    text-decoration:none;
}

.footer-social a:hover{
    background:#00b4d8;
    transform:translateY(-5px);
}

.footer-bottom{
    border-top:1px solid rgba(255,255,255,.1);
    margin-top:60px;
    padding:25px 0;
}

.footer-bottom p{
    color:#94a3b8;
    font-size:15px;
}

@media(max-width:991px){

.footer-section{
    text-align:center;
}

.footer-title::after{
    left:50%;
    transform:translateX(-50%);
}

.footer-contact li{
    justify-content:center;
}

.footer-social{
    justify-content:center;
}

}

@media(max-width:768px){

.footer-section{
    padding-top:60px;
}

.footer-title{
    margin-top:20px;
}

}