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


html{
    font-size: 62.5%;
    overflow-x: hidden;
}
a{
    text-decoration: none;
    color: black;
}
ul{
    list-style-type: none;
}
body{
    font-family: "Libre Baskerville", serif;
    max-width: 100vw;
    min-height: 100vh;
    font-size: 1.6rem; /* Base font size */
    overflow-x: hidden;
    
}

main{
    height: 100%;
    max-width: 100vw;
}

.socials a{
    color: white;
}

.socials{
    color: white;
    height: 14vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    font-size: 2rem;
    position:fixed;
    top: 50vh;
    left: 2vh;
    z-index: 1000;
    border-radius: 1.5rem;
    

}


.whatsapp-icon:hover{
    color: green;
    font-size: 3rem;
    cursor: pointer;
}
.insta-icon:hover{
    color: #8a3ab9;
    cursor: pointer;
    font-size: 3rem;
}
.facebook-icon:hover{
    color: #316FF6;
    cursor: pointer;
    font-size: 3rem;
}

.contact-now{
    background-color: rgb(123, 154, 165);
    border-radius: 2rem;
    color: white;
    outline: none;
    border: none;
    padding: 1rem;
    position: fixed;
    bottom: 2rem;
    left: 2rem;
    font-size: 2rem;
    z-index: 1000;
}
.contact-now i{
    padding-right: 1rem;

}
.contact-now:hover{
    background-color: rgb(76, 96, 103);

}
.contact-now:active{
    background-color: rgb(123, 154, 165);

}
/* -------Services Section------------ */

.service-grid {
    display: flex; /* Use flexbox for horizontal layout */
    overflow-x: auto; /* Enable horizontal scrolling */
    gap: 2vw;
    padding: 10px;
    scrollbar-width:thin; /* For modern browsers */
}

.service-grid::-webkit-scrollbar {
    height: 8px; /* Adjust scrollbar height */
}

.service-grid::-webkit-scrollbar-thumb {
    background: goldenrod; /* Customize scrollbar color */
    border-radius: 10px;
}

.service-grid::-webkit-scrollbar-track {
    background: #333; /* Scrollbar track background */
}

.service {
    min-width: 250px; /* Adjust to ensure proper sizing */
    flex: 0 0 auto; /* Prevent shrinking */
    background: #fff;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
}

#services {
    padding: 60px 20px;
    background: black;
    text-align: center;
}

#services h2 {
    color: goldenrod;
    font-size: 36px;
    margin-bottom: 20px;
}

.service h3 {
    font-size: 20px;
    margin-bottom: 10px;
}

.service p {
    font-size: 14px;
    color: #666;
}


/* Appointment Section */
#appointments {
    height: 100vh;
    padding: 60px 20px;
    text-align: center;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.6)), url('pexels-samarth-1193941.jpg') no-repeat center/cover;

    background-attachment: fixed;
}

#appointments h2 {
    color: goldenrod;
    font-size: 36px;
    margin-bottom: 20px;
}

#appointments form {
    max-width: 500px;
    margin: 0 auto;
    /* background: #f9f9f9; */
    background: rgba(255, 255, 255, 0.5);
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    /* backdrop-filter: blur(5px); */
}

#appointments label {
    display: block;
    margin-top: 10px;
    font-size: 14px;
    color: #333;
}
#appointments select{
    outline: none;
    border: none;
    width: 100%;
    height: 4vh;
}
#appointments input {
    outline: none;
    border: none;
    width: 100%;
    padding: 10px;
    margin-top: 5px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

#appointments button {
    outline: none;
    display: inline-block;
    margin-top: 20px;
    padding: 10px 20px;
    font-size: 16px;
    color: #fff;
    background: #333;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

#appointments button:hover {
    background: #555;
}



@media (max-width:1100px){
    .dropdown-menu{
        display: block;
    }
    .header-nav{
        /* visibility: hidden; */
        display: none;
    }
    .toggle-btn{
        visibility: visible;
    }
}
@media (max-width:700px){

    .header-main-title{
        font-size: 2rem;
    }
    .header-main-title span{
        font-size: 1.6rem;
    }
    
}
@media only screen and (max-width: 768px) {
    body {
        font-size: 16px; /* Adjust font sizes for readability */
    }

    .header-container {
        position: relative; /* Ensure sticky works properly */
        padding: 10px;
    }
    .home, #appointments {
        background-attachment: scroll; /* Change to scroll on smaller devices */
        background-position: center;
    }
    #contact iframe{
        width: 80vw;
    }
    .header-main-title{
        font-size: 2.0rem;
        padding: 1rem;
        margin-right: 10rem;
    }
    #change-branch{
        width: 50vw;
    }
    
}
@media only screen and (max-width: 500px) {
    .socials{
        visibility:hidden;
    }
    .dropdown-menu{
        left: 2rem;
        width: unset;
    }
}
@media only screen and (max-width: 430px) {
    .header-container i{
        font-size: 1.6rem;
    }
    .welcome-content h2{
        font-size: 8rem;
    }
    .welcome-content{
        font-size: 2rem;
    }
}