*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;   
}
html, body{
    overflow-x: hidden;
}
body{
    font-family: sans-serif;
}
header{
    background-color: teal;
    height: 80px;
    width: 100%;
    padding: 10px;
    position: fixed;
    top: 0;
}
.head-container{
    display: flex;
    justify-content: space-around;
    align-items: center;
    gap: 4px;
}
.logo1{
    width: 50px;
    height: 50px;
}
.name-text{
    font-family: 'Times New Roman', Times, serif;
    font-size: 2.5rem;
    color: white;
}
.input-bar{

    width: 300px;
    height: 30px;
    border: 2px solid rgb(66, 58, 58);
    border-radius: 10px;
}
.nav-container .ul-container{
    display: flex;
    gap: 20px;
    list-style: none;
}
li a {
    padding: 0px 10px;
    text-decoration: none;
    color: white;
    font-size: 1.3rem;
}
/* main {
    margin-top: 100px;
    padding-top: 20px;
} */

.sec-1 img{
    display: block;
    justify-self:center;
    height: 600px;
    width: 100%;
}
.sec-2-1{
    padding: 20px;
    display: flex;
    gap: 4px;
    justify-content: space-around;
    align-items: center;
}
.sec-2 h1{
    width: 100%;
     background: linear-gradient(to right, rgb(230, 180, 0), rgb(255, 220, 50));
    padding: 40px;
    text-align: center;
    font-family:Arial, Helvetica, sans-serif;
    font-size: 3rem;
    text-transform:uppercase;
    color: white;
    border: 2px solid black;
}
.para {
    margin: 10px auto; 
    padding: 50px;
    word-spacing: 2px;
    line-height: 2rem;
    max-width: 800px;
    background-color: rgb(238, 245, 245);
    border-radius: 24px;
    box-shadow: 5px 5px 1px rgb(209, 209, 216);
   
}

.ser-img{
    margin: auto;
    width: 30vw;
    height: 200px;
    border-radius: 24px;
    box-shadow: 5px 5px 2px  gray;
}

.sec-3 h1{
    width: 100%;
    border: 2px solid black;
    background-color: rgb(0, 248, 21);
    padding: 40px;
    text-align: center;
    font-family:Arial, Helvetica, sans-serif;
    font-size: 3rem;
    text-transform:uppercase;
    color: white;
}
.add-service{
    display: flex;
    justify-content: space-around;
    align-items: center;
    gap: 4px;
    margin: auto;
}
.sec-3-1{
    margin: 10px auto; 
    padding: 50px;
    word-spacing: 2px;
    line-height: 2rem;
    max-width: 800px;
    background-color: rgb(238, 245, 245);
    border-radius: 24px;
    box-shadow: 5px 5px 1px rgb(209, 209, 216);
}
.sec-4 h1{
    margin-top: 10px;
    width: 100%;
    /* border: 2px solid black; */
    background-color: rgb(105, 7, 29);
    padding: 40px;
    text-align: center;
    font-family:Arial, Helvetica, sans-serif;
    font-size: 3rem;
    text-transform:uppercase;
    color: white;
}
.help-container{
    padding: 10px;
    display: flex;
    align-items: center;
    justify-content: space-around;
    gap: 4px;
    margin: auto;
}
footer{
    margin-bottom: 0;
    width: 100%;
    background-color: rgb(27, 26, 26);
}
.foot-container{
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 10px;
}
.left-container img{

    margin-top: 20px;
    width: 100px;
    height: 100px;
    border-radius: 24px;
    box-shadow: 5px 3px rgb(55, 59, 55);
}
.right-container .para1{
    padding: 20px;
    color: white;

}
.para2{
    text-align: center;
    background-color: black;
    color: white;
    padding: 10px;
    font-size: 1rem;
}
section {
    scroll-margin-top: 100px; /* Adjust based on your header height */
}
li a:hover {
    color: yellow;
    text-decoration: underline;
}
/* Responsive Design */
@media (max-width: 768px) {
    header {
        height: auto; /* Allow it to grow based on content */
        padding-bottom: 20px;
    }
    main {
        margin-top: 150px; /* Increase to match new header size */
    }
    .nav-container .ul-container {
        display: flex;
        flex-direction: column;
        gap: 10px; /* Adds space between links */
    }
    
    
    .head-container {
        flex-direction: column; /* Stack logo, search bar, and nav */
        gap: 5px;
        text-align: center;
    }
    .head-container img,.input-bar{
        display: none;
    }

    .input-bar {
        width: 90%; /* Make the search bar full width */
    }

    .nav-container .ul-container {
        flex-direction: column; /* Stack nav links */
        gap: 10px;
    }

    .sec-2-1, .add-service, .help-container {
        flex-direction: column; /* Stack text and images */
        text-align: center;
    }

    .ser-img {
        width: 90%; /* Make images responsive */
        height: auto;
    }

    .foot-container {
        flex-direction: column;
        text-align: center;
    }
}

