*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}
:root {
    --main-color: #FF6E0C;
    --gray-color: #777777;
    --main-light: #FFD6BA;
    --steps-color: #FF934A;
    --poppins-font: "poppins", sans-serif;
    --dark-black: #12141D;
    --white-color: #fff;
    --black-color: #000;
    --black-gray: #12141D;
    --form-color: #657790;
}
body {
    width: 100%;
    font-family: var(--poppins-font);
}

body::-webkit-scrollbar {
    width: 0.4em;
}
body::-webkit-scrollbar-thumb {
    background-color: #FF6E0C;
    /* outline: 1px solid slategrey; */
    border-radius: 10px;
}
body::-webkit-scrollbar-track {
    box-shadow: inset 0 0 6px #fff;
}
.container {
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto
}
@media (min-width:576px) {
    .container {
        max-width: 540px
    }
}
@media (min-width:768px) {
    .container {
        max-width: 720px
    }
}
@media (min-width:992px) {
    .container {
        max-width: 960px
    }
}
@media (min-width:1200px) {
    .container {
        max-width: 1140px
    }
}
.container-fluid {
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto
}


/*---header---section---styling------*/
.header-section {
    padding: 0 3rem;
    width: 100%;
    height: 5rem;
    box-shadow: 0 0 2px 2px rgba(0,0,0,0.09);
    display: flex;
    align-items: center;
    justify-content:space-around;
    gap:0rem;
    position: relative;
}
.logo img {
    height: 3rem;
    width: auto;
    object-fit: cover;
}
#burger-menu {
    display: none;
    height: 2rem;
    width: 2rem;
    cursor: pointer;
    z-index: 6;
    position: relative;
}
.navbar {
    display: flex;
    align-items: center;
    justify-content: stretch;
    gap: 25rem;
    margin-left: auto;
}
.navbar-items {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
}
.navbar-item {
    text-decoration: none;
    font-size: 1.05rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s linear;
    text-transform: capitalize;
    border-bottom: 2px solid transparent;
    color: var(--gray-color);
}
p#nav-services-item::after {
        content: "";
    display: inline-block;
    vertical-align: middle;
    transform: rotate(45deg);
    margin: -3px 0 0 10px;
    width: 7px;
    height: 7px;
    border-color: var(--gray-color);
    border-style: solid;
    border-width: 0 1px 1px 0;
}
p#nav-services-item:hover:after {
    border-color: currentColor;
}

p#nav-hire-item::after {
        content: "";
    display: inline-block;
    vertical-align: middle;
    transform: rotate(45deg);
    margin: -3px 0 0 10px;
    width: 7px;
    height: 7px;
    border-color: var(--gray-color);
    border-style: solid;
    border-width: 0 1px 1px 0;
}
p#nav-hire-item:hover:after {
    border-color: currentColor;
}
.navbar-item.active {
    border-bottom: 2px solid var(--main-color);
    color: var(--main-color);
}
.navbar-item:hover {
    border-bottom: 2px solid var(--main-color);
    color: var(--main-color);
}
.hire-block {
    display: none;
    position: absolute;
    top: 3.5rem;
    left: 0rem;
    height: 16rem;
    width:32rem;
    align-items: start;
    justify-content: start;
    flex-direction: column;
    padding: 0.8rem;
    flex-wrap: wrap;
    gap: 0.5rem;
    background-color: var(--white-color);
    z-index: 5;
    box-shadow: 0 0 2px 2px rgba(0,0,0,0.09);
}
.services-block {
    display: none;
    position: absolute;
    top: 3.5rem;
    left: 0rem;
    height: 20rem;
    width:20rem;
    align-items: start;
    justify-content: center;
    flex-direction: column;
    gap: 1rem;
    padding-left: 0.2rem;
    background-color: var(--white-color);
    z-index: 5;
    box-shadow: 0 0 2px 2px rgba(0,0,0,0.09);
}
.services-block:before {
    content: "";
    position: absolute;
    top: -2rem;
    left: 0;
    height: 2rem;
    width: 5rem;
    appearance: none;
}
.hire-block:before {
    content: "";
    position: absolute;
    top: -2rem;
    left: 0;
    height: 2rem;
    width: 8rem;
    appearance: none;
}
/* -----nav----services----styling----*/
#nav-services {
    position: relative;
}
#nav-services:hover  .services-block {
    display: flex;
}
#nav-services:hover .navbar-item {
    border-bottom: 2px solid var(--main-color);
    color: var(--main-color);
}
.services-block > div {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.1rem;
    cursor: pointer;
    padding-left: 1rem;
}
.services-block > div a {
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s linear;
    color: var(--black-color);
}
.services-block > div a.active {
    color: var(--main-color);
}
.services-block > div:hover a {
    color: var(--main-color);
}

/* ---navbar----hire-----developer------*/
#nav-hire {
    position: relative;
}
#nav-hire:hover  .hire-block {
    display: flex;
}
#nav-hire:hover .navbar-item {
    border-bottom: 2px solid var(--main-color);
    color: var(--main-color);
}
.hire-block > div {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    cursor: pointer;
}
.hire-block > div a {
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s linear;
    color: var(--black-color)
}
.hire-block > div:hover a {
    color: var(--main-color);
}
.hire-block > div a.active {
    color: var(--main-color);
}
.navbar .sche_a_call {
    height: 3rem;
    width: 9rem;
    border-radius: 2rem;
    background-color: var(--main-color);
    color: var(--white-color);
    font-size: 0.8rem;
    border: none;
    outline: none;
    font-family: var(--poppins-font);
    border: 1px solid transparent;
    transition: all 0.3s linear;
    text-decoration: none;
    display: flex;
    justify-content: center;
    align-items: center;
}
.navbar .sche_a_call:hover {
   border: 1px solid var(--main-color);
    background-color: transparent;
    color: var(--main-color);
    cursor: pointer;
}

/*---------------media-queries-for-header-section---*/
@media screen and (max-width: 1750px) {
    .navbar {
        gap: 10rem;
    }
}
@media screen and (max-width: 1220px) {
    .navbar {
        gap:8rem;
    }
}
@media screen and (max-width: 1100px) {
    .header-section {
        justify-content: space-between;
    }
    .navbar {
        flex-direction: column;
        gap: 5rem;
        position: absolute;
        background-color: var(--white-color);
        align-items: center;
        justify-content: start;
        left: -100%;
        top: 0;
        height: auto;
        width: 100%;
        z-index: 6;
        transition: all 0.3s linear;
        padding-top: 10rem;
        padding-bottom: 40vh;
    }
    .show-navbar {
        left: 0;
    }
    .navbar-items {
        flex-direction: column;
        align-items: start;
        justify-content: center;
    }
    #burger-menu {
        display: block;
    }
    .hire-block:before {
        display: none;
    }
    .services-block:before {
        display: none;
    }
    .hire-block {
        display: flex;
        height: 0;
        top: 0;
        left: 0;
        overflow: hidden;
        padding: 0;
        box-shadow: none;
        background-color: transparent;
        position: relative;
        transition: all 0.3s linear;
        width: 15rem;
    }
    .show-hire-block {
        height: 23rem;
        padding-top: 1.5rem;
    }
    .services-block {
        display: flex;
        height: 0;
        left: 0;
        top: 0;
        overflow: hidden;
        box-shadow: none;
        padding: 0;
        flex-wrap: nowrap;
        transition: all 0.3s linear;
        background-color: transparent;
        position: relative;
        width: 18rem;
    }
    .show-services-block {
        height: 17rem;
        padding-top: 1rem;
    }
    #nav-services-item {
        width: fit-content;
        position: relative;
    }
    #nav-services-item::before {
        content: "";
        position: absolute;
        height: 1rem;
        width: 1rem;
        background: url("public/svg-images/down.svg");
        background-size: cover;
        background-repeat: no-repeat;
        background-position: center;
        right: -3rem;
        top: 0.3rem;
        transition: all 0.3s linear;
    }
    .services-rotate-down#nav-services-item::before {
        transform: rotate(180deg);
    }
    #nav-hire-item:before {
        content: "";
        position: absolute;
        height: 1rem;
        width: 1rem;
        background: url("public/svg-images/down.svg");
        background-size: cover;
        background-repeat: no-repeat;
        background-position: center;
        right: -3rem;
        top: 0.3rem;
        transition: all 0.3s linear;
    }
    .hire-rotate-down#nav-hire-item::before {
        transform: rotate(180deg);
    }
    #nav-hire-item {
        width: fit-content;
        position: relative;
    }
}
