/* sEVERSMILE - SERVICE PAGES
   Shared stylesheet*/

 :root{
    --primary:#0B2E59;
    --secondary:#27C1C9;

    --white:#ffffff;
    --light:#F7F9FC;
    --dark:#1E293B;
    --gray:#64748B;

    --shadow:0 15px 35px rgba(0,0,0,.12);
    --transition:.4s ease;
}

/* RESET */
*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{
    font-family:'Inter',sans-serif;
    color:var(--dark);
    background:var(--white);
    overflow-x:hidden;
}

h1,h2,h3{
    font-family:'Poppins',sans-serif;
}

a{
    text-decoration:none;
}

img{
    display:block;
    max-width:100%;
}

ul{
    list-style:none;
}

.container{
    max-width:1200px;
    margin:auto;
}

/*  NAVBAR */

.navbar{
    position:absolute;
    top:0;
    left:0;
    width:100%;
    padding:18px 8%;
    display:flex;
    justify-content:space-between;
    align-items:center;
   /* background:var(--primary);*/
    z-index:100;
}

.logo img{
    width:220px;
}

.nav-menu{
    display:flex;
    gap:35px;
}

.nav-menu a{
    color:var(--white);
    font-weight:500;
    transition:var(--transition);
}

.nav-menu a:hover,
.nav-menu a.active{
    color:var(--secondary);
}

.appointment-btn{
    background:var(--secondary);
    color:var(--white);
    padding:14px 28px;
    border-radius:50px;
    font-weight:600;
    transition:var(--transition);
}

.appointment-btn:hover{
    background:var(--white);
    color:var(--primary);
}

.menu-toggle{
    display:none;
    position:relative;
    z-index:2000;
    color:var(--white);
    font-size:1.8rem;
    cursor:pointer;
}

.menu-toggle.active{
    color:var(--primary);
}

/* SERVICE HERO / BANNER */

.service-hero{
    position:relative;
    min-height:60vh;
    display:flex;
    align-items:center;
    justify-content:center;
    text-align:center;
    padding:90px 8%;
    overflow:hidden;
    background:var(--primary);
}

.service-hero img{
    position:absolute;
    inset:0;
    width:100%;
    height:100%;
    object-fit:cover;
}

.service-hero .overlay{
    position:absolute;
    inset:0;
    background:linear-gradient(
        rgba(11,46,89,.72),
        rgba(11,46,89,.72)
    );
}

.service-hero .hero-inner{
    position:relative;
    z-index:5;
    max-width:800px;
}

.service-hero h1{
    color:var(--white);
    font-size:3.2rem;
    line-height:1.15;
    margin-bottom:18px;
}

.service-hero p{
    color:rgba(255,255,255,.9);
    line-height:1.8;
    max-width:650px;
    margin:0 auto;
}

.breadcrumb{
    color:var(--secondary);
    font-weight:600;
    letter-spacing:2px;
    text-transform:uppercase;
    font-size:.85rem;
    margin-bottom:18px;
}

.breadcrumb a{
    color:rgba(255,255,255,.85);
    transition:var(--transition);
}

.breadcrumb a:hover{
    color:var(--secondary);
}

/*  INTRO / OVERVIEW */

.service-intro{
    padding:100px 8%;
    background:var(--white);
}

.intro-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:60px;
    align-items:center;
}

.section-subtitle{
    color:var(--secondary);
    font-weight:700;
    letter-spacing:2px;
    text-transform:uppercase;
    margin-bottom:15px;
}

.service-intro h2{
    font-size:2.4rem;
    color:var(--primary);
    margin-bottom:20px;
    line-height:1.25;
}

.service-intro p{
    color:var(--gray);
    line-height:1.9;
    margin-bottom:18px;
}

/* IMAGE  */
.image-frame{
    border-radius:20px;
    overflow:hidden;
    box-shadow:var(--shadow);
    background:var(--light);
    min-height:380px;
    display:flex;
    align-items:center;
    justify-content:center;
    border:2px dashed rgba(39,193,201,.4);
}

.image-frame img{
    width:100%;
    height:100%;
    object-fit:cover;
}


/*TREATMENTS / WHAT WE OFFER */

.treatments{
    padding:100px 8%;
    background:var(--light);
}

.treatments h2{
    font-size:2.6rem;
    color:var(--primary);
    text-align:center;
    margin-bottom:20px;
}

.section-text{
    max-width:650px;
    margin:0 auto 70px;
    text-align:center;
    color:var(--gray);
    line-height:1.8;
}

.section-subtitle.center{
    text-align:center;
}

.treatments-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:30px;
}

.treatment-card{
    background:var(--white);
    padding:40px 30px;
    border-radius:20px;
    box-shadow:var(--shadow);
    transition:var(--transition);
    position:relative;
    overflow:hidden;
}

.treatment-card::before{
    content:"";
    position:absolute;
    top:0;
    left:0;
    width:100%;
    height:4px;
    background:var(--secondary);
    transform:scaleX(0);
    transition:var(--transition);
}

.treatment-card:hover{
    transform:translateY(-10px);
}

.treatment-card:hover::before{
    transform:scaleX(1);
}

.treatment-icon{
    width:70px;
    height:70px;
    border-radius:50%;
    background:rgba(39,193,201,.12);
    display:flex;
    justify-content:center;
    align-items:center;
    margin-bottom:25px;
}

.treatment-icon i{
    font-size:1.8rem;
    color:var(--secondary);
}

.treatment-card h3{
    color:var(--primary);
    margin-bottom:15px;
    font-size:1.3rem;
}

.treatment-card p{
    color:var(--gray);
    line-height:1.7;
}

/*  BENEFITS LIST */

.benefits{
    padding:100px 8%;
    background:var(--white);
}

.benefits-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:60px;
    align-items:center;
}

.benefits h2{
    font-size:2.4rem;
    color:var(--primary);
    margin-bottom:25px;
    line-height:1.25;
}

.benefit-list li{
    display:flex;
    gap:15px;
    align-items:flex-start;
    padding:14px 0;
    border-bottom:1px solid rgba(100,116,139,.15);
    color:var(--gray);
    line-height:1.7;
}

.benefit-list li:last-child{
    border-bottom:none;
}

.benefit-list i{
    color:var(--secondary);
    font-size:1.1rem;
    margin-top:4px;
}

.benefit-list strong{
    color:var(--primary);
    display:block;
    margin-bottom:3px;
    font-weight:600;
}

/* PROCESS / STEPS */

.process{
    padding:100px 8%;
    background:var(--light);
}

.process h2{
    font-size:2.6rem;
    color:var(--primary);
    text-align:center;
    margin-bottom:20px;
}

.steps{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:30px;
}

.step{
    background:var(--white);
    border-radius:20px;
    padding:40px 28px;
    box-shadow:var(--shadow);
    text-align:center;
    transition:var(--transition);
}

.step:hover{
    transform:translateY(-10px);
}

.step-number{
    width:60px;
    height:60px;
    margin:0 auto 20px;
    border-radius:50%;
    background:var(--secondary);
    color:var(--white);
    font-family:'Poppins',sans-serif;
    font-weight:700;
    font-size:1.3rem;
    display:flex;
    align-items:center;
    justify-content:center;
}

.step h3{
    color:var(--primary);
    font-size:1.15rem;
    margin-bottom:12px;
}

.step p{
    color:var(--gray);
    line-height:1.7;
    font-size:.95rem;
}

/*  GALLERY  */

.service-gallery{
    padding:100px 8%;
    background:var(--white);
}

.service-gallery h2{
    font-size:2.6rem;
    color:var(--primary);
    text-align:center;
    margin-bottom:20px;
}

.gallery-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:25px;
}

.gallery-item{
    height:260px;
    border-radius:20px;
    overflow:hidden;
    background:var(--light);
    border:2px dashed rgba(39,193,201,.4);
    display:flex;
    align-items:center;
    justify-content:center;
    transition:var(--transition);
}

.gallery-item:hover{
    transform:translateY(-8px);
    box-shadow:var(--shadow);
}

.gallery-item img{
    width:100%;
    height:100%;
    object-fit:cover;
}


/* FAQ */

.faq{
    padding:100px 8%;
    background:var(--light);
}

.faq h2{
    font-size:2.6rem;
    color:var(--primary);
    text-align:center;
    margin-bottom:50px;
}

.faq-item{
    background:var(--white);
    border-radius:16px;
    box-shadow:0 8px 22px rgba(0,0,0,.06);
    margin-bottom:18px;
    overflow:hidden;
}

.faq-question{
    width:100%;
    text-align:left;
    background:none;
    border:none;
    cursor:pointer;
    padding:22px 26px;
    font-family:'Poppins',sans-serif;
    font-size:1.05rem;
    font-weight:600;
    color:var(--primary);
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:20px;
}

.faq-question i{
    color:var(--secondary);
    transition:var(--transition);
}

.faq-item.active .faq-question i{
    transform:rotate(45deg);
}

.faq-answer{
    max-height:0;
    overflow:hidden;
    transition:max-height .4s ease;
}

.faq-answer p{
    padding:0 26px 22px;
    color:var(--gray);
    line-height:1.8;
}

/* CTA */

.service-cta{
    padding:90px 8%;
    background:var(--primary);
    text-align:center;
}

.service-cta h2{
    color:var(--white);
    font-size:2.4rem;
    margin-bottom:18px;
}

.service-cta p{
    color:rgba(255,255,255,.85);
    max-width:600px;
    margin:0 auto 35px;
    line-height:1.8;
}

.cta-btn{
    display:inline-block;
    background:var(--secondary);
    color:var(--white);
    padding:18px 40px;
    border-radius:50px;
    font-weight:600;
    transition:var(--transition);
}

.cta-btn:hover{
    transform:translateY(-5px);
    box-shadow:var(--shadow);
}

.cta-btn.outline{
    background:transparent;
    border:2px solid var(--white);
    margin-left:12px;
}

.cta-btn.outline:hover{
    background:var(--white);
    color:var(--primary);
}

/* OTHER SERVICES  */

.other-services{
    padding:100px 8%;
    background:var(--white);
}

.other-services h2{
    font-size:2.4rem;
    color:var(--primary);
    text-align:center;
    margin-bottom:50px;
}

.other-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:25px;
}

.other-card{
    background:var(--light);
    border-radius:18px;
    padding:30px;
    transition:var(--transition);
    display:flex;
    gap:18px;
    align-items:center;
}

.other-card:hover{
    transform:translateY(-8px);
    box-shadow:var(--shadow);
    background:var(--white);
}

.other-card i{
    color:var(--secondary);
    font-size:1.5rem;
}

.other-card span{
    color:var(--primary);
    font-weight:600;
    font-family:'Poppins',sans-serif;
}

/* FOOTER */

.footer{
    background:var(--dark);
    color:rgba(255,255,255,.75);
    padding:50px 8%;
    text-align:center;
    line-height:1.8;
}

.footer a{
    color:var(--secondary);
}

/* WHATSAPP */

.whatsapp{
    position:fixed;
    right:25px;
    bottom:25px;
    display:flex;
    align-items:center;
    gap:14px;
    background:var(--white);
    padding:14px 18px;
    border-radius:50px;
    box-shadow:0 10px 30px rgba(0,0,0,.18);
    z-index:999;
    transition:.3s;
}

.whatsapp:hover{
    transform:translateY(-6px);
}

.fa-whatsapp{
    color:#25D366;
}

.chat-box span{
    display:block;
    color:var(--primary);
    font-weight:600;
}

.chat-box small{
    color:var(--gray);
}

/* RESPONSIVE */

@media(max-width:1200px){

    .nav-links{
        padding:80px 30px 30px;
        position:fixed;
        top:0;
        right:-100%;
        width:min(350px,85%);
        height:100vh;
        background:var(--white);
        display:flex;
        flex-direction:column;
        justify-content:center;
        align-items:center;
        gap:35px;
        transition:.4s;
        box-shadow:-15px 0 40px rgba(0,0,0,.15);
        overflow:hidden;
    }

    .nav-links.active{
        right:0;
    }

    .nav-menu{
        display:flex;
        flex-direction:column;
        justify-content:center;
        align-items:center;
        gap:35px;
        width:100%;
        height:100%;
        padding-top:70px;
    }

    .nav-menu li{
        width:100%;
    }

    .nav-links a{
        display:flex;
        align-items:center;
        width:100%;
        padding:16px 25px;
        color:var(--primary);
        font-size:1.1rem;
        font-weight:600;
        border-left:4px solid transparent;
        transition:var(--transition);
    }

    .nav-links a:hover{
        border-left-color:var(--secondary);
        color:var(--secondary);
        background:rgba(39,193,201,.08);
    }

    .appointment-btn{
        display:none;
    }

    .menu-toggle{
        display:block;
    }

    .steps{
        grid-template-columns:repeat(2,1fr);
    }
}

@media(max-width:992px){

    .treatments-grid,
    .gallery-grid,
    .other-grid{
        grid-template-columns:repeat(2,1fr);
    }

    .intro-grid,
    .benefits-grid{
        grid-template-columns:1fr;
        gap:40px;
    }
}

@media(max-width:768px){

    .service-hero h1{
        font-size:2.2rem;
    }

    .service-intro,
    .treatments,
    .benefits,
    .process,
    .service-gallery,
    .faq,
    .other-services{
        padding:80px 8%;
    }

    .service-intro h2,
    .benefits h2{
        font-size:1.9rem;
    }

    .treatments h2,
    .process h2,
    .service-gallery h2,
    .faq h2,
    .service-cta h2,
    .other-services h2{
        font-size:2rem;
    }

    .treatments-grid,
    .gallery-grid,
    .other-grid,
    .steps{
        grid-template-columns:1fr;
    }

    .section-text{
        margin-bottom:50px;
    }

    .cta-btn.outline{
        margin:15px 0 0;
        display:block;
    }

    .chat-box{
        display:none;
    }

    .whatsapp{
        padding:16px;
        border-radius:50%;
    }

    .image-frame{
        height:auto;
        min-height:unset;
    }

    .image-frame img{
        width:100%;
        height:auto;
        object-fit:contain;
    }

}

@media(max-width:568px){

    .nav-links{
        width:100vw;
    }
}
