@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@200;300;400;500;600;700;800;900&display=swap');

:root {
    --color-main: #eb7434;
    --color-text: #0e2b3d;
    --color-text-light: #f4f4f4;
    --color-bg-1: #e0e0e0;
    --color-bg-2: #212121;



    --box-shadow-white: 20px 20px 60px #bebebe,
        -20px -20px 60px #ffffff;
    --box-shadow-dark: 20px 20px 60px #191919,
        -20px -20px 60px #3c3c3c;
    --box-shadow-inset-white: inset 10px 10px 20px #bebebe,
        inset -10px -10px 20px #ffffff;
    --box-shadow-inset-dark: inset 10px 10px 20px #191919,
        inset -10px -10px 20px #3c3c3c;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    text-transform: capitalize;
    font-family: 'Nunito', sans-serif;
    list-style: none;
    outline: none;
    border: none;
    transition: all .2s linear;
}

html {
    font-size: 62.5%;
    scroll-behavior: smooth;
    scroll-padding-top: 7rem;
    overflow-x: hidden;
    background: var(--color-bg-1);
    color: var(--color-text);
}

html::-webkit-scrollbar{
    width: .8rem;
}

html::-webkit-scrollbar-track{
    background: transparent;
}

html::-webkit-scrollbar-thumb{
    background: var(--color-main);
    border-radius: .5rem;
}

section {
    padding: 2rem 9%;
}

/* .box-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(35rem, 1fr));
    gap: 3.5rem;
} */

/* =========== navbar start ============= */

nav {
    padding: 3rem 9%;
}

nav .nav-bar {
    position: fixed;
    z-index: 1000;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--color-bg-1);
    box-shadow: var(--box-shadow-white);
    padding: 1% 9%;
}

nav .nav-bar .logo img {
    width: 50%;
}

nav .nav-bar .menu ul {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

nav .nav-bar .menu ul li a {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--color-text);
    transition: all 300ms ease;
}

nav .nav-bar .menu ul li a:hover {
    color: var(--color-main);
}

/* =========== mobile menu start ============= */

#menuToggle {
    display: none;
}

#checkbox {
    display: none;
}

.toggle {
    position: relative;
    width: 4rem;
    cursor: pointer;
    margin: auto;
    display: block;
    height: calc(4px * 3 + 11px * 5);
}

.bar {
    position: absolute;
    left: 0;
    right: 0;
    height: 0.4rem;
    border-radius: calc(4px / 2);
    background: var(--color-main);
    color: inherit;
    opacity: 1;
    transition: none 0.35s cubic-bezier(.5, -0.35, .35, 1.5) 0s;
}

/***** Tornado Animation *****/

.bar--top {
    bottom: calc(50% + 11px + 4px/ 2);
    transition-property: bottom, transform;
    transition-delay: calc(0s + 0.35s) * .6;
}

.bar--middle {
    top: calc(50% - 4px/ 2);
    transition-property: opacity, transform;
    transition-delay: calc(0s + 0.35s * .3);
}

.bar--bottom {
    top: calc(50% + 11px + 4px/ 2);
    transition-property: top, transform;
    transition-delay: 0s;
}

#checkbox:checked+.toggle .bar--top {
    transform: rotate(-135deg);
    transition-delay: 0s;
    bottom: calc(50% - 4px/ 2);
}

#checkbox:checked+.toggle .bar--middle {
    opacity: 0;
    transform: rotate(-135deg);
    transition-delay: calc(0s + 0.35s * .3);
}

#checkbox:checked+.toggle .bar--bottom {
    top: calc(50% - 4px/ 2);
    transform: rotate(-225deg);
    transition-delay: calc(0s + 0.35s * .6);
}

/* =========== mobile menu end ============= */

/* =========== navbar end ============= */

/* =========== home section start ============= */

.home {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
    padding-top: 7rem;
}

.home .image {
    flex: 1 1 45rem;
}

.home .image img {
    width: 100%;
    height: 80vh;
}

.home .content {
    flex: 1 1 45rem;
    display: grid;
    row-gap: 4rem;
}

.home .content h3 {
    font-size: 1.8rem;
    color: var(--color-main);
}

.home .content h2 {
    font-size: 4rem;
}

.home .content p {
    font-size: 1.5rem;
    color: var(--color-text);
    line-height: 1.7;
    padding: 1rem 0;
}

.home .content .button .btn {
    color: var(--color-text);
    padding: 0.7em 1.7em;
    font-size: 1.8rem;
    font-weight: 500;
    border-radius: 0.5em;
    cursor: pointer;
    border: 1px solid var(--color-bg-1);
    background: var(--color-bg-1);
    transition: all 0.3s linear;
    box-shadow: var(--box-shadow-white);
    display: inline-flex;
    align-items: center;
    gap: 1.2rem;
}

.home .content .button .btn:hover {
    box-shadow: var(--box-shadow-inset-white);
    color: var(--color-main);
}

/* =========== home section end ============= */

/* =========== services section strat ============= */

.services {
    text-align: center;
}

.services .box-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(35rem, 1fr));
    gap: 3.5rem;
}

.services h2 {
    font-size: 3.8rem;
    font-weight: 700;
    color: var(--color-main);
    padding: inherit;
}

.services p {
    font-size: 1.8rem;
    font-weight: 400;
}

.services .box-container {
    padding: 4rem 0;
}

.services .box-container .box {
    height: 100%;
    box-shadow: var(--box-shadow-white);
    background: var(--color-bg-1);
    border-radius: 2rem;
    padding: 1rem;
}

.services .box-container .box .image {
    width: 100%;
    height: 25rem;
}

.services .box-container .box .image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 1rem;
}

.services .box-container .box .content {
    display: flex;
    flex-direction: column;
    padding: .8rem;
    text-align: left;
}


/* =========== services section end ============= */

/* =========== about section strat ============= */

.about {
    text-align: center;
    height: auto;
}

.about h2 {
    font-size: 3.8rem;
    font-weight: 700;
    color: var(--color-main);
    padding: inherit;
}

.about .box-container {
    padding: 4rem 0;
    display: flex;
    flex-direction: column;
    row-gap: 6rem;
}

.about .box-container .box {
    height: 100%;
    box-shadow: var(--box-shadow-white);
    background: var(--color-bg-1);
    border-radius: 2rem;
    padding: 1rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(35rem, 1fr));
    gap: 1.8rem;
}

.about .box-container .box .image {
    width: 100%;
    height: 100%;
}

.about .box-container .box .image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 1rem;
}

.about .box-container .box .content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: .8rem;
    text-align: left;
}

.about .box-container .box .content h2 {
    font-size: 2.4rem;
}

.about .box-container .box .content p {
    font-size: 1.8rem;
    padding: 1rem;
}

/* =========== services section end ============= */

/* =========== contact section start ============= */

.contact {
    text-align: center;
    margin-bottom: 4rem;
}

.contact h2 {
    font-size: 3.8rem;
    font-weight: 700;
    color: var(--color-main);
    padding: inherit;
}

.contact .box-container {
    padding: 4rem 0;
}

.contact .box-container .box {
    height: 100%;
    box-shadow: var(--box-shadow-white);
    background: var(--color-bg-1);
    border-radius: 2rem;
    padding: 1rem;
    display: grid;
    /* grid-template-columns: repeat(auto-fit, minmax(35rem, 1fr)); */
    gap: 1.8rem;
}

.contact .box-container .box .map {
    width: 100%;
    height: 100%;
}

.contact .box-container .box .map iframe {
    width: 100%;
    height: 50vh;
    object-fit: cover;
    border-radius: 1rem;
}

.contact .box-container .box .content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(35rem, 1fr));
    gap: 1.8rem;
    padding: .8rem;
    align-items: center;
}

.contact .box-container .box .content .contact-box {
    display: grid;
    align-items: center;
    row-gap: 2rem;
    padding: 2.8rem;
}

.contact .box-container .box .content .contact-box span {
    width: 5.4rem;
    height: 5.4rem;
    color: var(--color-main);
    font-size: 2.4rem;
    border: .4rem solid var(--color-main);
    border-radius: 50%;
    padding: 1rem;
    margin: auto;
}

.contact .box-container .box .content h2 {
    font-size: 2.4rem;
}

.contact .box-container .box .content p {
    font-size: 1.8rem;
}

.contact .box-container .box .content a {
    color: var(--color-text);
    font-size: 1.8rem;
}

/* =========== contact section end ============= */

/* =========== footer section start ============= */

footer .credit {
    font-size: 2rem;
    text-align: center;
    border-top: .1rem solid var(--color-text-light);
    padding: 1rem;
    padding-top: 2rem;
    margin-top: 2rem;
    color: var(--color-text);
}

footer .credit span {
    color: var(--color-main);
}

/* =========== footer section end ============= */

/* =========== whatsapp start =========== */

.wa-widget-send-button {
    left: 1.5rem !important;
}

.wa-chat-bubble {
    left: 1.5rem !important;
}

/* =========== whatsapp end =========== */

/* media queries */

@media (max-width:991px) {

    html {
        font-size: 55%;
    }

    nav .nav-bar {
        padding: 1% 4%;
    }

    .home .image img {
        height: 100%;
    }


}

@media (max-width:768px) {

    .home .content {
        top: 10%;
    }

    #menuToggle {
        display: inline-block;
    }

    .nav-bar .menu {
        position: absolute;
        top: 115%;
        left: 0;
        right: 0;
        background: var(--color-bg-1);
        box-shadow: var(--box-shadow-white);
        border-radius: 1rem;
        clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
    }

    .nav-bar .menu.active {
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    }

    nav .nav-bar {
        padding: 1% 2%;
    }

    nav .nav-bar .menu ul {
        display: flex;
        flex-direction: column;
        padding: 3rem;
    }

    nav .nav-bar .menu ul li {
        width: 100%;
        padding: 1rem;
    }

    nav .nav-bar .menu ul li a {
        display: block;
        width: 100%;
        padding: 1rem;
    }

    nav .nav-bar .menu ul li a:hover {
        box-shadow: var(--box-shadow-inset-white);
        border-radius: 1rem;
        color: var(--color-main);
    }
}

@media (max-width:450px) {

    html {
        font-size: 50%;
    }

}