* {                             
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    list-style: none;
    line-height: 1.3;
    text-transform: none;          
    border: 0;
    outline: 0;
    font-family: 'Bree Serif', sans-serif;
}

html {
    font-size: 62.5%;             
    overflow-x: hidden;           
    scroll-behavior: smooth;      
    scroll-padding-top: 7rem;
}

img {
    max-width: 100%;         
}

:root {
    --white-clr1: #f2f2f2;    
    --green-clr: #1d418c;        
    --white-clr: #f9c80c;        
    --box-shadow: 0 .8rem 1rem rgba(0,0,0,.7);     
    --logo-fz: calc(18px + (30 - 18) * ((100vw - 300px) / (1600 - 300)));        
    --biggest-fz: calc(30px + (80 - 30) * ((100vw - 300px) / (1600 - 300)));     
    --large-fz: calc(20px + (35 - 20) * ((100vw - 300px) / (1600 - 300)));       
    --medium-fz: calc(14px + (20 - 14) * ((100vw - 300px) / (1600 - 300)));      
    --small-fz: calc(12px + (18 - 12) * ((100vw - 300px) / (1600 - 300)));       
    --number-icons: calc(25px + (40 - 25) * ((100vw - 300px) / (1600 - 300)));   
}


body {
    --sb-track-color: #d7d7d8;         
    --sb-thumb-color: #1d418c;      
    --sb-size: 1.2rem;                
    background: #fff4e3;          
}

body::-webkit-scrollbar {             
    width: var(--sb-size);
}

body::-webkit-scrollbar-track {       
    background: var(--sb-track-color);
    border-radius: 1rem;
}

body::-webkit-scrollbar-thumb {        
    background: var(--sb-thumb-color);
    border-radius: 1rem;
}

section {
    padding: 2rem 9%;                    
}


.btn {                  
    display: inline-block;              
    margin: 1rem 1.5rem 0rem;           
    border-radius: 5rem;                
    color: var(--green-clr);            
    background-color: var(--white-clr); 
    font-size: var(--medium-fz);        
    padding: 1rem 3rem;                 
    box-shadow: var(--box-shadow);      
    cursor: pointer;                    
    transition: 0.3s;                   
}

.btn:hover {                
    background-color: var(--green-clr); 
    color: var(--white-clr);            
}

.heading {              
    margin-bottom: 2.5rem;          
    text-align: center;             
    color: var(--white-clr);        
    font-size: var(--biggest-fz);   
}

.heading span {          
    color: var(--green-clr);        
}


header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: #f9c80c;            
    width: 100%;
    box-shadow: var(--box-shadow);    
    display: flex;                    
    justify-content: space-between;   
    align-items: center;              
    padding: 1rem 9%;                 
    z-index: 99999999;                
}

header .logo {
    font-size: var(--small-fz);
    color: var(--green-clr);      
}

header .logo .fa-tooth {
    color: var(--white-clr);      
    font-size: var(--logo-fz);
}

header .navbar {
    display: flex;           
}

header .navbar li {
    margin: 0rem 1.5rem;      
}

header .navbar li a {
    font-size: var(--medium-fz);   
    color: var(--white-clr1);       
    transition: 0.3s;              
    padding: 0.7rem;                
    background:               
    linear-gradient(#1d418c 0 0) 0 0,      
    linear-gradient(#1d418c 0 0) 0 0,
    linear-gradient(#1d418c 0 0) 100% 100%,
    linear-gradient(#1d418c 0 0) 100% 100%;
    background-repeat: no-repeat;                
    background-size: 1.5rem .2rem, .2rem 1.5rem; 
}
    
header .navbar li a:hover {
    color: var(--green-clr);     
    background-position: 100% 0%, 0% 100%, 0% 100%, 100% 0%;      
}

#menu-btn {                         
    color: var(--green-clr);        
    font-size: var(--medium-fz);    
    cursor: pointer;                
    border: .1rem solid var(--green-clr);   
    padding: 0.5rem 1.5rem;                 
    border-radius: 0.5rem;           
    display: none;                 
}


.home {
    margin-top: 7rem; 
}                      
.home .row {
    display: flex;
    align-items: center;
    flex-wrap: wrap-reverse;     
    gap: 1.5rem;                 
}
.home .row .content {
    flex: 1 1 40rem;
    text-align: center;           
}
.home .row .content h3 {        
    margin-bottom: 1rem;          
    color: var(--green-clr);       
    font-size: var(--biggest-fz);  
}
.home .row .content p {       
    margin-bottom: 1.5rem;               
    color: var(--green-clr);            
    font-size: var(--small-fz);         
    text-align: center;                
}
.home .row .content p span {          
    color: var(--green-clr);        
}
.home .row .img {                    
    flex: 1 1 40rem;
    text-align: center;             
    box-shadow: var(--box-shadow);
    border-radius: 0%;                  
    border: .5rem solid var(--green-clr); 
    object-fit: cover;                    
}
.home .row .content a {
    text-decoration: underline;
    color: var(--green-clr);
}




.about {                                 
    margin-top: 7rem;                   
}
.about .row {                            
    display: flex;                       
    align-items: center;                
    flex-wrap: wrap;                     
    gap: 2.5rem;                         
}
.about .row .img {
    flex: 1 1 40rem;                    
}
.about .row .img img {
    border-radius: 0%;                   
    border: .5rem solid var(--green-clr); 
    object-fit: cover;                    
    box-shadow: var(--box-shadow);
}
.about .row .content {                    
    flex: 1 1 40rem;                     
    color: var(--green-clr);             
}
.about .row .content h3 {                
    font-size: var(--biggest-fz);        
    color: var(--green-clr);            
}
.about .row .content p {                 
    font-size: var(--small-fz);           
    text-align: center;
}


.services .slide {                  
    width: 30rem;                       
    background-color: var(--white-clr1); 
    border-radius: 0.5rem;              
    text-align: center;                 
    margin-bottom: 4rem;                
    box-shadow: var(--box-shadow);      
}
.services .slide img {           
    height: 25rem;            
    border: .5rem solid var(--green-clr);
}
.services .slide h4 {             
    margin: 1.5rem 0rem;       
    font-size: var(--large-fz); 
}
.services .slide p {      
    font-size: var(--small-fz);       
    text-align: justify;              
}
.swiper-pagination-bullet-active {      
    background-color: var(--green-clr) !important;    
}


.doctors .slide {                       
    width: 30rem;                       
    background-color: var(--white-clr1); 
    border-radius: 0.5rem;              
    text-align: center;                 
    margin-bottom: 4rem;                
    box-shadow: var(--box-shadow);       
}
.doctors .slide img {
    height: 23rem;                      
    width: 35rem;                       
    object-fit: cover;                   
    border: .5rem solid var(--green-clr);  
}
.doctors .slide h3 {
    margin: 1.5rem 0rem;        
    font-size: var(--large-fz); 
}
.doctors .slide p {              
    font-size: var(--small-fz);  
    text-align: center;          
    padding: 1rem;              
}


.review .slide {
    width: 35rem;                      
    border-radius: 0.5rem;              
    background-color: var(--white-clr);  
    padding: 2rem;                       
    margin-bottom: 4rem;                 
    text-align: center;
     
}
.review .slide h4 {
    font-size: var(--large-fz);
    color: var(--green-clr);
}
.review .slide p {
    font-size: var(--small-fz);           
    color: var(--green-clr);
    text-align: center;
}
.review .slide a {
    font-size: var(--small-fz);          
    color: var(--green-clr);
    text-align: center;
    text-decoration: underline;
}
.review .slide .user {       
    display: flex;                   
    align-items: center;             
    gap: 1.5rem;                    
    margin-top: 1.5rem;              
    justify-content: center;
}
.review .slide .user img {    
    width: 7rem;                      
    height: 7rem;                   
    object-fit: cover;              
}
.review .slide .user h4 {         
    font-size: var(--small-fz);     
}
.review .slide .user-info .stars i {  
    font-size: 1.5rem;                      
    color: var(--green-clr);                
}


.contacts .row {
    display: flex;                      
    align-items: center;                
    flex-wrap: wrap;                    
    gap: 2.5rem;                      
}
.contacts .row .img {
    flex: 1 1 40rem;    
}
.contacts .row form {
    flex: 1 1 40rem;    
}
.contacts .row form .box {
    width: 100%;                        
    margin: 1rem 0rem 2rem;             
    border-radius: 0.5rem;              
    background-color: var(--white-clr); 
    font-size: var(--small-fz);         
    padding: 0.5rem 1rem;       
    text-transform: none;       
}
.contacts .row form textarea.box {
    height: 15rem;            
    resize: none;             
}
.contacts .row form span {
    font-size: var(--small-fz);    
    color: var(--green-clr);           
}
.contacts .row form .gender {
    margin: 1rem 0rem 2rem;               
}
.contacts .row form .gender label {
    margin-left: 0.2rem;                
    font-size: var(--small-fz);          
    color: var(--green-clr);            
    cursor: pointer;
}
.contacts .row form .gender #female {   
    margin-left: 2rem;                   
}




footer {
    text-align: center;
    margin-top: 3rem;
}
footer .share a {
    margin: 0rem 0.3rem;
    width: 4.5rem;
    height: 4.5rem;
    line-height: 4.5rem;
    border-radius: 50%;
    font-size: var(--medium-fz);
    color: var(--green-clr);
    background-color: var(--white-clr);
    transition: 0.3s;
}
footer .share a:hover {
    transform: translateY(-1rem);
    box-shadow: var(--box-shadow);
}
hr {
    width: 100%;
    border: .1rem solid rgba(0,0,0,.3);
    margin: 2rem 0rem;
}
footer .copyright {
    color: #e4ad48;
    font-size: var(--medium-fz);
}
footer .copyright span {
    color: var(--green-clr);
}
footer .copyright a {
    color: #e4ad48;
    text-decoration: underline;
}




@media (max-width: 950px) {
    header {
        padding: 1rem 2rem;     
    }
}
@media (max-width: 768px) {           
    #menu-btn {                            
        display: block;
    }
    header .navbar {
        position: absolute;      
        top: 99%;
        left: 0;
        right: 0;
        border-top: .1rem solid var(--white-clr);
        border-bottom: .1rem solid var(--white-clr);
        display: flex;
        flex-direction: column;     
        align-items: center;        
        transition: 0.3s linear;    
        clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);   
        background-color: #222;
    }
    header .navbar li {
        margin: 2rem;           
    }
    header .navbar.active {
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%); 
    }
}
