



* {
    scroll-padding-top: 3rem;
    scroll-behavior: smooth;
}

:root {
    --main-color: #957221;
    --bg-color: #f0e5d6;
    --text-p-color: #000000;
    --text-h2-color: #412f26;
    --big-font: 8rem;
    --h2-font: 2.4rem;
    --h3-font: 1.8rem;
    --p-font: 16px;
}

html, body {
    max-width: 100%; /* Uncommented to prevent body from exceeding viewport width */
    overflow-x: hidden; /* Prevent horizontal scroll */
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
.home{
   
    height: 90vh;
    background: url(../img/ortho/home.png);
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    

}
.home h1{
    font-size: var(--big-font);
    line-height: 1.2;
    text-align: center;

    color: #fff;
}
section{
  
    padding: 10%;
    background: linear-gradient(to top, #e6b980 0%, #eacda3 100%);
    background: transparent linear-gradient(180deg, #8f6f56 0%, #6e4829 100%) 0% 0% no-repeat;
    background: #d2bb8c;

    /* background: transparent radial-gradient(closest-side at 50% 50%, #F9F5EB 0%, #EEE0C4 100%) 0% 0% no-repeat padding-box; */
}




.about{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-bottom: 8%;
  
}


.about-inner{
    padding: 40px 20px;
    background: transparent radial-gradient(closest-side at 50% 50%, #f0daae 0%, #b99b74 100%) 0% 0% no-repeat padding-box; 
    box-shadow: 5px 2px 4px rgba(0, 0, 0, 0.2);
    border-radius: 12px;
}

.about h3{
    font-family: serif;
    font-size: var(--h3-font);
    text-align: center;
    margin-bottom: 15px;
    letter-spacing: 1px;
    color: #ffffff;
}
.about p{
    font-weight: 500;
    font-size: var(--p-font);
    text-align: justify;
    color: rgb(0, 0, 0);
    line-height: 1.8;

}


.why{

    margin-bottom: 8%;
   
}
.why-inner{
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 10px;
}
.col1{
    border-radius: 10px;
    background: transparent radial-gradient(closest-side at 50% 50%, #F9F5EB 0%, #EEE0C4 100%) 0% 0% no-repeat padding-box;
    padding: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: #d2bb8c 0px 1px 15px; 
    text-align: center;
}

.col1 img{
    background: transparent radial-gradient(closest-side at 50% 50%, #f0daae 0%, #b99b74 100%) 0% 0% no-repeat padding-box; 
     border-radius: 50px;
     width: 100px;
     height: 100px;
    
     border: #6e4829 1px solid;
}
.col1 h4{
    font-size: 22px;
    font-weight: 800;
    font-family: serif;
}


.services{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-bottom: 8%;
    width: 100%;
    overflow: hidden;
}

.services h3{
 
    font-family: serif;
    font-size: var(--h3-font);
    text-align: center;
    margin-bottom: 30px;
    letter-spacing: 1px;
    color: #080808;
    font-weight: 800;
}

.list{
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;

   
    /* background: transparent radial-gradient(closest-side at 50% 50%, #f0daae 0%, #b99b74 100%) 0% 0% no-repeat padding-box;  */

 
   
    


}




.services .list ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
    width: 100%;
    

 
}

.services .list ul li {
    color: #301e07;
    font-weight: 600;
    font-size: 20px;
    background-color: var(--bg-color);
 border-top-right-radius: 180px;
 border-bottom-right-radius: 180px;
    padding: 16px 0;
    margin-bottom: 8px;
    box-shadow: 5px 2px 4px rgba(0, 0, 0, 0.2);
    width: 90%;
    position: relative;
    padding-left: 35px;
   
     /* Optional: limits the width for large screens */
}
.services .list ul li i{

    position: absolute; /* Remove the icon from the document flow */
    left: 0; /* Position the icon on the left */
    top: 50%; /* Center the icon vertically relative to the text */
    transform: translateY(-50%); 
    font-size: 20px; /* Adjust as needed */
    background: transparent radial-gradient(closest-side at 50% 50%, #f0daae 0%, #553b18 100%) 0% 0% no-repeat padding-box; 
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
    padding-right: 10px;
    padding-left: 10px;
    -webkit-mask-image: linear-gradient(#fff 100%);
}







.cta-inner{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  
    padding: 40px 20px;
    background: transparent linear-gradient(261deg, #b99236 0%, #ffe9bd 100%) 0% 0% no-repeat padding-box;
    background: transparent radial-gradient(closest-side at 50% 50%, #f0daae 0%, #b99b74 100%) 0% 0% no-repeat padding-box; 

   text-align: center;
   border-radius: 12px;
}
.cta-inner h3{
    font-size: 24px;
    margin-bottom: 10px;
   color: white;
}
.cta-inner h2{
    font-size: 30px;
    margin-bottom: 10px;
    font-family: serif;
    color: rgb(0, 0, 0);
}

.cta-btn{
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 10px;
   
}
.cta-btn a{
  
    padding: 15px 35px;
   text-align: center;
    font-size: var(--p-font);
    font-weight: 600;
    letter-spacing: 1px;
    border-radius: .5rem;
    transition: all .50s ease; 
    margin-top: 10px ;
    box-shadow: #b28558 0px 1px 15px; 
    background: transparent linear-gradient(180deg, #FDFBF6 0%, #EEE0C4 100%) 0% 0% no-repeat;

}
.cta-btn a span{
    color: #957221;
}
.cta-btn a i{
    color: #957221;
    font-size: 16px;
    padding-right: 10px;
    animation: zoomInOut 2s infinite;
}
@keyframes zoomInOut {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.5);
    }
    100% {
        transform: scale(1);
    }
}
.ortho-btn {
    display: inline-block; /* Allows setting width, padding, etc. */
    padding: 10px 35px; /* Adjust padding as needed */
    border: none; /* Remove default button border */
    border-top-right-radius: 180px;
    border-bottom-right-radius: 180px;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    background: linear-gradient(#a06236, #d7b055);
    color: #ffffff; /* Text color */
    cursor: pointer; /* Change cursor to pointer on hover */
    transition: background 0.3s ease; /* Smooth background transition on hover */
    text-align: center; /* Center text */
    font-size: 22px; /* Adjust font size as needed */
    font-weight: bold; /* Adjust font weight as needed */
}


.ortho-btn i{
    padding-right: 8px;


}




.appo{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
   
    width: 100%;
   
}

.appo h3{
 
    font-family: serif;
    font-size: var(--h3-font);
    text-align: center;
    margin-bottom: 10px;
    letter-spacing: 1px;
    color: #080808;
    font-weight: 800;
}
.contact__form {
    margin: 20px 0;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.form__names {
  
    max-width: 600px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
}



.input-field {
    width:350px;
    background-color: rgba(255, 255, 255, 0.9);
  
    border: 1px solid hsla(0, 9%, 91%, 0.8);
    border-radius: 8px;
    padding: 20px 10px;
    margin: 10px 0;
    font-size: 12px;
}

.input-field:hover {
    box-shadow: 0 0 5px hsla(31, 88%, 63%, 0.8);
}

.btn-primary {
    margin-top: 20px;
    width: 150px;
    height: 40px;
    border: none;
    padding: 1% 1%;
    background: linear-gradient(#edcc84, #c79833);
    color: rgb(7, 7, 7);
    cursor: pointer;
    border-radius: 8px;
    font-weight: 500;
}



@media(max-width:1200px){
 
    section{
        padding:10% 8%;
    }  
    :root{
         
            
        --big-font: 6rem;
        --h2-font:2.2rem;
        --h3-font:1.8rem;
        --p-font:16px;
        
        }

        .col1 img{
         width: 100px;
         height: 100px;
        }
        .col1 h4{
            font-size: 16px;
        }
        .services .list ul li{
            font-size: 18px;
        }
      
        .services .list ul li i{
            font-size: 18px;
        }
    }
    

    @media(max-width:1100px){

    }
    
    @media(max-width:800px){
        .col{
            padding: 20px;
        }
        .col1 img{
            width: 80px;
            height: 80px;
           }
           .col1 h4{
               font-size: 12px;
               line-height: 1.2;
           }  
          
       
           .services .list ul li{
            font-size: 14px;
        }
        .services .list ul li i{
            font-size: 16px;
        }
    
       
    }
    
    @media(max-width:770px){
       
    
       
    }
    
    @media(max-width:600px){

   
    
        :root{
         
            
            --big-font:4.2rem;
            --h2-font:1.8rem;
            --h3-font:1.4rem;
            --p-font:16px;
            
            }
            .home{
                height: 70vh;
            }
     
        section{
            padding:10% 5%;
        }  
     
      
        .why-inner{
            padding: 20px;
            grid-template-columns: 1fr;
        }
        .col1 img{
            width: 100px;
            height: 100px;
        }
        .col1 h4{
            font-size: 16px;
        }

        .services .list ul li{
            font-size: 12px;
            padding-left: 30px;
        }
        .services .list ul li i{
            font-size: 16px;
            padding-right: 5px;
    padding-left: 5px;
        }
        .cta-btn{
            flex-direction: column;
        }
    
        
        }
    
        @media(max-width:450px){
            .cta-inner h3{
                font-size: 20px;
                margin-bottom: 10px;
               color: white;
            }
            .cta-inner h2{
                font-size: 24px;
                margin-bottom: 10px;
                font-family: serif;
                color: rgb(0, 0, 0);
            }
        }
        @media(max-width:400px){
            :root{
         
            
                --big-font:3.8rem;
                --h2-font:1.6rem;
                --h3-font:1.2rem;
                --p-font:12px;
                
                }
    
         
            
          
        }
    