/* Css reset  */
* {
    margin: 0;
    padding: 0;
}
html{
    scroll-behavior: smooth;
}

/* css variables  */
:root {
    --navbar-height: 50px;
}

/* navigation bar  */
#navbar {
    display: flex;
    align-items: center;
    position: relative;
    /* position: sticky; */
    /* top: 0; */

}

/* navigation bar logo and image  */

#logo img {
    height: 100px;
    margin: 20px 40px;
    border-radius: 50px;

}

/* navigation bar list styling  */
#navbar ul {
    display: flex;
}

#navbar ul li {
    list-style: none;
    font-size: 1.3rem;
}

#navbar ul li a {
    display: block;
    /* display ko block kiya qki padding deni hai  */
    padding: 3px 22px;
    border-radius: 20px;
    text-decoration: none;
    color: black;
    font-weight: bold;
}

#navbar ul li a:hover {
    color: white;
    background-color: black;
}

#navbar::before {
    content: "";
    background-color: black;
    position: absolute;
    top: 0px;
    left: 0px;
    height: 100%;
    width: 100%;
    z-index: -1;
    opacity: 0.4;
}

/* home section  */
#home {
    display: flex;
    flex-direction: column;
    padding: 3px 200px;
    justify-content: center;
    align-items: center;
    height: 330px;
    /* is height ko baad me inspect krke set kiya barabr krne ke liye  */
}

#home::before {
    content: "";
    background: url('Amanhomepage.jpg') no-repeat center center/cover;
    position: absolute;
    top: 0px;
    left: 0px;
    height: 78%;
    /* ye height baad me set ki phle 100 hi de rkhi thi  */
    width: 100%;
    z-index: -1;
    opacity: 0.6;

}

#home h1 {
    /* color: darkgray; */
    text-align: center;
}

#home p {
    text-align: center;
    font-size: 1.3rem;
    font-weight: bold;
}

/* utility classes  */
.primary {
    font-size: 2.8rem;
    padding: 12px;
}

.secondary {
    font-size: 1.8rem;
    padding: 12px;
    margin: 10px;
}

.center {
    text-align: center;
}

.call-buttn {
    padding: 10px 25px;
    border: 3px solid black;
    background-color: brown;
    font-size: 1.5rem;
    font-weight: bolder;
    border-radius: 15px;
    margin: 17px;
    cursor: pointer;
}

.call-buttn a{
    color: black;
}

.call-buttn:hover {
    background-color: tomato;
}

/* services section  */
#services {
    margin: 5px 34px;
    display: flex;
}

#services .box {
    border: 5px solid rgb(155, 0, 0);
    padding: 34px;
    margin: 3px 6px;
    border-radius: 23px;
    background-color: grey;
}

#services .box img {
    height: 200px;
    margin: auto;
    display: block;
    /* upr ki teeno property lgakr mai image ko box ke center me le aaya  */
    border-radius: 15px;
}

/* contact section  */
#contact {
    position: relative;
    /* height: 244px; */
    background-color: bisque;
}


footer {
    position: relative;
    background: black;
    color: white;
    padding: 9px 20px;


}