@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600&display=swap');

:root{
    --primary:#1f2e88;
    --secondary:#2f66d4;
    --hover: #a2d9f5;
    --black:#333;
    --white:#fff;
    --light-color:#666;
    --light-bg:#eee;
    --border:.2rem solid rgba(0,0,0,.1);
    --box-shadow:0 .5rem 1rem rgba(0,0,0,.1);
}

*{
    font-family: 'Poppins', sans-serif;
    margin: 0; padding: 0;
    box-sizing: border-box;
    outline: none; border: none;
    text-decoration: none;
    text-transform: capitalize;
    transition: .2s linear;
}

html{
    font-size: 62.5%;
    overflow-x: hidden;
    scroll-padding-top: 9rem;
    scroll-behavior: smooth;
}

html::-webkit-scrollbar{
    width: .8rem;
}

html::-webkit-scrollbar-track{
    background: transparent;
}

html::-webkit-scrollbar-thumb{
    background: var(--primary);
    border-radius: 5rem;
}

section{
    padding: 5rem 7%;
}

.heading{
    font-size: 4rem;
    text-align: center;
    color: var(--black);
    text-transform: uppercase;
    font-weight: bolder;
    margin-bottom: 3rem;
}

.btn{
    margin-top: 1rem;
    display: inline-block;
    padding: 1rem 3rem;
    border-radius: .5rem;
    background: var(--primary);
    cursor: pointer;
    font-size: 1.7rem;
    color: var(--white);
}

.btn:hover{
    background: var(--secondary);
}

/* header */

.header{
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    background: var(--white);
    box-shadow: var(--box-shadow);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 2rem 9%;
    height: 90px;
}

.header .navbar img{
    height: 50px;
    width: 67%;
    padding-right: 0.2rem;
}


.header .navbar{
    display: flex;
    padding-top: 0.3%;
    text-align: center;
    
}
.header .navbar a{
    font-size: 1.8rem;
    color: var(--black);
    margin: 0 1rem;
    padding-left: 45px;
    padding-top: 15px;
    font-weight: bold;
    
}

.header .navbar a:hover{
    color: var(--primary);
}

.header .btn{
    margin-top: 0;
    padding-left: 1%;
    padding-right: 1%;
    padding-top: 2px;
}

#menu-btn{
    font-size: 2.5rem;
    cursor: pointer;
    color: var(--black);
    margin-left: 1.7rem;
    display: none;
}

#menu-btn:hover{
    color: var(--primary);
}


.nav-topbar{
    height: 4em;
    padding-left: 3vw;
    padding-right: 3vw;
}
.nav-topbar{
    justify-content: flex-end;
}
.nav-topbar {
    height: 7em;
    grid-column-gap: 2.5em;
    border-bottom-width: 0;
    border-bottom-color: transparent;
}
.nav-topbar {
    width: 100%;
    height: 3em;
    
    grid-column-gap: 2em;
    grid-row-gap: 1em;
    background-color: rgba(3,25,44,.9);
    border-bottom: 1px solid rgba(255,255,255,.2);
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 0 1.5em;
    display: flex;
}
* {
    box-sizing: border-box;
}











.topbar-link-block.tab-is-hide {
    display: none;
}



.topbar-link-block {
    flex: 1;
    font-size: .8em;
}

.topbar-link-block {
    grid-column-gap: 1em;
    color: var(--linen-2);
    letter-spacing: .15em;
    text-indent: 0.15em;
    text-transform: uppercase;
    border-bottom: 1px solid transparent;
    justify-content: center;
    align-self: stretch;
    align-items: center;
    font-size: .8em;
    font-weight: 400;
    line-height: 1em;
    transition: color .2s,border-color .2s;
    display: flex;
    position: relative;
    top: 1px;
}
/* header end */





/*topup*/

/* CSS for Top Up Button */
.top-up-button {
    position: fixed;
    bottom: 20px;
    right: 10px;
    background-color: #031f3d;
    color: #fff;
    padding: 20px 5px;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    display: none;
}

.top-up-button a {
    color: #fff;
    text-decoration: none;
    font-size: medium;
    font-weight: 500;
}
/*end topup*/


/*header subtitle start*/
element.style {
    opacity: 1;
    transform: translate3d(0px, 0px, 0px) scale3d(1, 1, 1) rotateX(0deg) rotateY(0deg) rotateZ(0deg) skew(0deg, 0deg);
    transform-style: preserve-3d;
}
.header-subtitle {
    font-size: .9em;
}
.header-subtitle {
    color: var(--tan);
    text-align: center;
    -webkit-text-stroke-width: 0.3px;
    -webkit-text-stroke-color: var(--white);
    text-transform: uppercase;
    flex: none;
    font-family: Arial,Helvetica Neue,Helvetica,sans-serif;
    font-size: .8em;
    line-height: 1em;
}




/*header subtitle end*/



/* home */

.home{
    min-height: 100vh;
    display: flex;
    align-items: center;
    
    background-color:rgba(12,33,66,.9);
    
    background-size: cover;
    background-position: center;
}

.home .content{
    max-width: 135rem;
    padding-left: 8rem;
    padding-bottom: 10rem;
}

.home .content h1{
    font-size: 8rem;
    color: var(--white);
    line-height: 2.25;
    padding-top: 10rem; 
    margin-right: 0%;
    text-align: center;
}

.home .content h2{
    font-size: 1rem;
    color: var(--white);
    line-height: 4.50px;
    text-align: center;
    padding-top: 5%;

}

.home .content p{
    line-height: 2;
    font-size: 2.0rem;
    color: var(--light-color);
    padding: 1rem 0;
}


/* home end */

/* about us */

.about .row{
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.about .row .image{
    flex: 1 1 40rem;
}

.about .row .image img{
    width: 120%;
    height: 65%;
}

.about .row .content{
    flex: 1 1 40rem;
}

.about .row .content h3{
    color: var(--black);
    font-size: 4.5rem;
    line-height: 1.5;

}

.about .row .content p{
    font-size: 1.6rem;
    color: var(--light-color);
    padding: 1rem 0;
    line-height: 2;
    
}

/* about end */

/*TREATMENTS  */

.TREATMENTS{
    background: var(--light-bg);
}

.TREATMENTS .box-container{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(25rem, 4fr));
    gap: 3rem;
}

.TREATMENTS .box-container .box{
    padding: 3rem;
    text-align: center;
    background: var(--white);
    box-shadow: var(--box-shadow);
    border-radius: 3rem;
}

.TREATMENTS .box-container .box:hover{
    background: var(--hover);
}

.TREATMENTS .box-container .box img{
    margin: 1rem 0;
    height: 9.9rem;
}

.TREATMENTS .box-container .box h3{
    font-size: 2rem;
    padding: 1rem 2;
    color: var(--black);
}

.TREATMENTS .box-container .box p{
    font-size: 1.5rem;
    color: var(--light-color);
    line-height: 1.5;
}
.TREATMENTS .box-container .box a{
    font-size: 1.5rem;
    color: var(--light-color);
    line-height: 1.5;
}

/* services section ends */





/* blog */

.blog .box-container{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(30rem, 1fr));
    gap: 1.5rem;
}

.blog .box-container .box{
    border: var(--border);
}

.blog .box-container .box .image{
    height: 25rem;
    width: 100%;
    overflow: hidden;
}

.blog .box-container .box .image img{
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.blog .box-container .box:hover .image img{
    transform: scale(1.2);
}

.blog .box-container .box .content{
    padding: 2rem 1.5rem;
}

.blog .box-container .box .content .link{
    display: inline-block;
    margin-bottom: 3rem;
    padding: .6rem 1.5rem;
    background: var(--primary);
    font-size: 1.4rem;
    color: var(--white);
}

.blog .box-container .box .content .link:hover{
    background: var(--secondary);
}

.blog .box-container .box .content .icons{
    padding-bottom: 1.7rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.blog .box-container .box .content .icons a{
    font-size: 1.4rem;
    color: var(--light-color);
}

.blog .box-container .box .content .icons a:hover{
    color: var(--primary);
}

.blog .box-container .box .content .icons a i{
    color: var(--primary);
    padding-right: .5rem;
}

.blog .box-container .box .content h3{
    font-size: 2.2rem;
    color: var(--black);
}

.blog .box-container .box .content p{
    padding: 1rem 0;
    font-size: 1.4rem;
    color: var(--light-color);
    line-height: 2;
}



/*review start*/

.review{
    background: var(--light-bg);
    
}

.review .review-box{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(25rem, 4fr));
    gap: 3rem;
}

.review .review-box .box{
    padding: 3rem;
    text-align: center;
    background: var(--white);
    box-shadow: var(--box-shadow);
    border-radius: 3rem;
}

.review .review-box .box:hover{
    background: var(--hover);
    
}

.review .review-box .box img{
    margin: 1rem 0;
    height: 9.9rem;
    
}

.review .review-box .box h3{
    font-size: 2rem;
    padding: 1rem 2;
    color: var(--black);
}

.review .review-box .box p{
    font-size: 1.5rem;
    color: var(--light-color);
    line-height: 1.5;
}
.review .review-box .box a{
    font-size: 1.5rem;
    color: var(--light-color);
    line-height: 1.5;
}



/*review end*/



/*theeth page css*/

.blogpage .boxpage-container{
    display: flex;
    /* grid-template-columns: repeat(auto-fit, minmax(30rem, 1fr)); */
    gap: 1.5rem;   
}

.blogpage .boxpage-container .box{
    /* border: var(--border); */
    box-sizing: border-box;
}

.blogpage .boxpage-container .box .image{
    height: 50rem;
    width: 100%;
    overflow: hidden;
    margin-left: 10%;
}


.blogpage .boxpage-container .box .image img{
    height: 80%;
    width: 80%;
    object-fit: contain;
}

.blogpage .boxpage-container .box .content{
    padding: 5rem 1.5rem;
    text-align: center;
    font-weight: normal;
    font-size: large;
    
}


.blogpage .boxpage-container .box .content .link{
    display: inline-block;
    margin-bottom: 3rem;
    padding: .6rem 1.5rem;
    background: var(--primary);
    font-size:2.5rem;
    color: var(--white);
}


.blogpage .boxpage-container .box .content h3{
    font-size: 2.9rem;
    color: var(--black);
}

.blogpage .boxpage-container .box .content p{
    padding: 1rem 0;
    font-size: 1.4rem;
    text-align: left;
    font-style: inherit;
    font-weight: 400;
    color:black;
    line-height: 2;
}












/*implant */

.implantpage .implantpage-container{
    display: flex;
    /* grid-template-columns: repeat(auto-fit, minmax(30rem, 1fr)); */
    gap: 1.5rem;   
}

.implantpage .implantpage-container .box{
    /* border: var(--border); */
    box-sizing: border-box;
}

.implantpage .implantpage-container .box .image{
    height: 70rem;
    width: 100%;
    overflow: hidden;
    margin-left: 10%;
}


.implantpage .implantpage-container .box .image img{
    height: 95%;
    width: 80%;
    object-fit: contain;
}

.implantpage .implantpage-container .box .content{
    padding: 0 1.5rem;
    text-align: center;
    font-weight: normal;
    font-size: large;
    
}


.implantpage .implantpage-container .box .content .link{
    display: inline-block;
    margin-bottom: 2rem;
    padding: .6rem 1.5rem;
    background: var(--primary);
    font-size:2.5rem;
    color: var(--white);
}


.implantpage .implantpage-container .box .content h3{
    font-size: 2.9rem;
    color: var(--black);
}

.implantpage .implantpage-container .box .content p{
    padding: 1rem 0;
    font-size: 1.4rem;
    text-align: left;
    font-style: inherit;
    font-weight: 400;
    color:black;
    line-height: 2;
}

/*end implant*/




/* CSS for Top Up Button */
.top-up-button {
    position: fixed;
    bottom: 20px;
    right: 10px;
    background-color: #031f3d;
    color: #fff;
    padding: 20px 5px;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    display: none;
}

.top-up-button a {
    color: #fff;
    text-decoration: none;
    font-size: medium;
    font-weight: 500;
}


















/* blog ends*/

/* contact */

 .contact{
    background: var(--light-bg);
}
 
.contact .getappointment{
    font-size:large;
    margin-left: 28%;
    
    margin-right: 40%;
    border-radius: 2rem;
    text-align:center;
    color:#000;
    cursor: pointer;
    
}
 





/*.contact form .box{
    margin: 1rem 0;
    width: 100%;
    background: var(--light-bg);
    border-radius: .5rem;
    padding: 1rem;
    font-size: 1.7rem;
    color: var(--black);
    text-transform: capitalize;
}  */




/* contact ends */


/* footer */

.footer{
    text-align: center;
}

.footer .box-container{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(25rem, 1fr));
    gap: rem;
}

.footer .box-container .box h3{
    font-size: 2.2rem;
    padding: 1rem 0;
    color: var(--secondary);
}


.footer .box-container .box p{
    font-size: 1.5rem;
    padding: .5rem 0;
    line-height: 2;
    color: var(--light-color);
}

.footer .box-container .box .share{
    margin-top: 1rem;
}

.footer .box-container .box .share a{
    height: 4.5rem;
    width: 4.5rem;
    background: var(--primary);
    color: var(--white);
    line-height: 4.5rem;
    border-radius: 10%;
    font-size: 1.7rem;
    margin-right: .3rem;
    text-align: center;
    
}

.footer .box-container .box .share a:hover{
    background: var(--secondary);
}

.footer .box-container .box .link{
    display: block;
    font-size: 1.7rem;
    line-height: 2;
    color: var(--primary);
    padding: .5rem 0;
}

.footer .box-container .box .link:hover{
    color: var(--hover);
}

.footer .credit{
    margin-top: 3rem;
    padding-top: 3rem;
    font-size: 2rem;
    text-align: center;
    text-transform: capitalize;
    color: var(--primary);
    border-top: .1rem solid var(--secondary);
}

.footer .credit span{
    color: var(--secondary);
}


/* footer ends */









/* media queries */

@media (max-width: 991px){

    html{
        font-size: 55%;
    }

    .header .btn{
        display: none;
    }

    section{
        padding: 2rem;
    }

}

@media (max-width: 768px){

    #menu-btn{
        display: inline-block;
    }

    #menu-btn.fa-times{
        transform: rotate(180deg);
    }

    .header .navbar{
        position: absolute;
        top: 99%; left: 0; right: 0;
        background: var(--white);
        border-top: var(--border);
        padding: 1rem 0;
        text-align: center;
        flex-flow: column;
        clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
    }

    .header .navbar.active{
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    }

    .header .navbar a{
        display: block;
        padding: 1rem 0;
        font-size: 2rem;
    }

    .home{
        background-position: left;
    }

    .home .content{
        max-width: 50rem;
        padding-left: 3rem;
    }

    .home .content h3{
        font-size: 4rem;
    }

}

@media(max-width:450px){

    html{
        font-size: 50%;
    }

    .home .content h3{
        font-size: 3rem;
    }

}













/*mheader*/

.headerm{
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    background: var(--white);
    box-shadow: var(--box-shadow);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 2rem 9%;
}

.headerm .navbarm img{
    height: 50px;
    width: 67%;
    padding-right: 0.2rem;
    
    
}
.headerm .navbarm{
    display: flex;
    padding-top: 0.3%;
    text-align: center;
    
}
.headerm .navbarm a{
    font-size: 1.8rem;
    color: var(--black);
    margin: 0 1rem;
    padding-left: 45px;
    padding-top: 1%;
    font-weight: bold;
    
}

.headerm .navbarm a:hover{
    color: var(--primary);
}

.headerm .btn{
    margin-top: 0;
    padding-left: 1%;
    padding-right: 1%;
}

#menu-btn{
    font-size: 2.5rem;
    cursor: pointer;
    color: var(--black);
    margin-left: 1.7rem;
    display: none;
}

#menu-btn:hover{
    color: var(--primary);
}

/* header end */


























.footermpage{
    text-align: center;
}

.footermpage .boxmpage-container{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(25rem, 1fr));
    gap: 1rem;
}

.footermpage .boxmpage-container .boxm h3{
    font-size: 2.2rem;
    padding: 1rem 0;
    color: var(--secondary);
}

.footermpage .boxmpage-container .boxm p{
    font-size: 1.5rem;
    padding: .5rem 0;
    line-height: 2;
    color: var(--light-color);
}

.footermpage .boxmpage-container .boxm .share{
    margin-top: 1rem;
}

.footermpage .boxmpage-container .boxm .share a{
    height: 4.5rem;
    width: 4.5rem;
    background: var(--primary);
    color: var(--white);
    line-height: 4.5rem;
    border-radius: 10%;
    font-size: 1.7rem;
    margin-right: .3rem;
    text-align: center;
    
    
}

.footermpage .boxmpage-container .boxm .share a:hover{
    background: var(--secondary);
}

.footermpage .boxmpage-container .boxm .link{
    display: block;
    font-size: 1.7rem;
    line-height: 2;
    color: var(--primary);
    padding: .5rem 0;
}

.footermpage .boxmpage-container .boxm .link:hover{
    color: var(--hover);
}

.footermpage .credit{
    margin-top: 3rem;
    padding-top: 3rem;
    font-size: 2rem;
    text-align: center;
    text-transform: capitalize;
    color: var(--primary);
    border-top: .1rem solid var(--secondary);
  
}

.footermpage .credit span{
    color: var(--secondary);
}




/*gallery css*/

.gallery{
    background: var(--light-bg);
}

.gallery .gbox-container{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(10rem, 3fr));
    gap: 1rem;
}

.gallery .gbox-container .box{
    padding: 5rem;
    text-align: center;
    background: var(--white);
    box-shadow: var(--box-shadow);
    border-radius: 2rem;
    padding-bottom: 5rem;
}



.gallery .gbox-container .box img{
    margin: 0.5rem;
    height: 25rem;
    width: 45%;
    
}


/*end gallery css*/
