:root {
    --white: #ffffff;
    --blue: #100de0;
    --orange: #ff8800;
    --black: #000;
    --red: #db1b1be5;


    
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Bebas Neue', sans-serif;
    scroll-padding-top: 1rem;
    scroll-behavior: smooth;
    list-style: none;
    text-decoration: none;
}

.section {
    padding: 4rem 0 2rem;
}


.navbar {
    background: var(--black);
    height: 60px;
    padding: 0.5rem calc((100vw - 1200px) / 2);
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    
}

.navbar__logo {
    text-decoration: none;
    width: 29%;
    


}
.navbar__link {
    color: var(--white);
    text-decoration: none;
    padding: 0rem 1rem;
    font-size: 110%;
    letter-spacing: .3px;

}
.navbar__link:hover {
    color: var(--red);
    border-bottom: 3px solid var(--red);

}

@media screen and (max-width: 768px) {
    body.active {
        overflow-y: hidden;
        overflow-x: hidden;
    }
    .navbar__link {
        display: flex;
        align-items: center;
        
    }

    .navbar__logo {
        width: 60%;
    }
    
    .navbar__menu {
        display: grid;
        grid-template-columns: 1fr;
        grid-template-rows: repeat(6, 100px);
        place-items: center;
        position: absolute;
        width: 100%;
        top: -1000px;
    }

    .navbar__menu :hover {
        color: var(--red);
        border-bottom: 3px solid var(--red)
    }

    .navbar__menu.active {
        top: 100%;
        opacity: 1;
        z-index: 99;
        height: 100vh;
        font-size: 1.5rem;
        background: var(--black);
    }
    .navbar__toggle .bar {
        width: 25px;
        height: 3px;
        margin: 5px auto;
        transition: all 0.3s ease-in-out;
        background: var(--white);
        display: block;
        cursor: pointer;
    }

    #mobile-menu {
        position: absolute;
        top: 15%;
        right: 5%;
        transform: translate(5%, 20%);
    }

    #mobile-menu.is-active .bar:nth-child(2) {
        opacity: 0;
    }
    #mobile-menu.is-active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    #mobile-menu.is-active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
}

/* Home Section */
.home {
    max-width: 1300px;
    margin: auto;
    width: 100%;
    min-height: 640px;
    display: flex;
    align-items: center;
    background: url(/images/main2.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center left;
    
}

.home-text {
    padding-left: 130px;
}

.home-text h1{
    font-size: 2.4rem;
}

.home-text span {
    color: var(--red);
}

.home-text p{
    font-size: 1.2rem;
    font-weight: 300;
    margin: 0.5rem 0 1.2rem;
    letter-spacing: .2rem;
}

.btn {
    padding: 10px 22px;
    background: var(--red);
    color: var(--white);
    font-weight: 400;
}

.btn:hover {
    background-color: #ff1616;

}
.button {
    padding: 1rem 4rem;
    border: none;
    background: var(--red);
    color: var(--white);
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    outline: none;
    transition: 0.3s ease;
    text-decoration: none;
    border-radius: 10px;
    text-align: center;
}

.button2 {
    display: grid;
    margin: 50px;
    padding: 1rem 4rem;
    border: none;
    background: var(--red);
    color: var(--white);
    font-size: 1.1rem;
    letter-spacing: .15rem;
    font-weight: bold;
    cursor: pointer;
    outline: none;
    transition: 0.3s ease;
    text-decoration: none;
    border-radius: 100px;
    text-align: center;
    font-style: oblique;
    font-weight: 1000;
    background:  linear-gradient(to bottom, rgb(0, 0, 0), rgba(250, 102, 4, 0.884));
}

.button3 {
    display: grid;
    margin: 50px;
    padding: 1rem 4rem;
    border: none;
    background: var(--red);
    color: var(--white);
    font-size: 1.1rem;
    letter-spacing: .2rem;
    font-weight: bold;
    cursor: pointer;
    outline: none;
    transition: 0.3s ease;
    text-decoration: none;
    border-radius: 100px;
    text-align: center;
    font-style: oblique;
    font-weight: 1000;
    background:  linear-gradient(to bottom, rgb(0, 0, 0), rgba(247, 119, 15, 0.815));
    
}



.button:hover {
    background: var(--black);
}

.button2:hover {
    background: var(--black);
}

.button3:hover {
    background: var(--black);
}



/* Services Section */
.Services {
    padding: 6rem calc((100vw - 1200px) / 2);
}

.Services__container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    padding: 1 rem;
    padding-left: 1rem;

}

.Services__img {
    width: 100%;
    height: 100%;
}

.topline {
    color: white;
    text-transform:uppercase;
    font-weight: bold;
    margin-bottom: 1rem;
    padding-left: 1rem;
}

.Services__heading {
    margin-bottom: 1rem;
    font-size: clamp(6rem, 6vw, 3rem);
    padding-left: 1rem;

}

.Services__features {
    list-style: none;
}

.Services__feature {
    font-size: clamp(1rem, 5vw, 1.2rem);
    padding-left: 2rem;
    letter-spacing: 4px;
    color:rgb(255, 100, 11);
    font-weight: bolder;

}

.Services__feature animate-services span {
    color:aqua;
}

.Services__feature__sub {
    margin-bottom: 1.5rem;
    margin-right: 150px;
    letter-spacing: 0.5px;
    padding-left: 2rem;
    color:rgb(0, 0, 0);
}

@media screen and (max-width: 768px) {
    .Services__container {
        grid-template-columns: 1fr;
    }
    .button {
        grid-template-columns: 1fr;
    }
    .button2 {
        grid-template-columns: 1fr;
    }

}
/* Membership Section */
.memberships {
    background: var(--black);
    color: var(--white);
    padding:6rem calc((100vw - 1100px) / 2);
    text-align: center;
}

.memberships h1 {
    margin-bottom: 1rem;
    font-size: clamp(2rem, 5vw, 3rem);
    padding: 0 1rem;
}

.membership__desc {
    margin-bottom: 3rem;
    font-size: clamp(1rem, 3vw, 1.5rem);
    padding: 1rem;
}

.membership__wrapper {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 1rem;
}

.membership__card {
    padding: 2rem;
    min-height: 450px;
    width: 325px;
    background: var(--white);
    color: var(--black);
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.memebership__perks {
    min-height: 150px;
}

.membership__card p {
    margin-bottom: 1rem;
}

.membership__card h3 {
    font-size: clamp(1rem, 5vw, 2rem);
    margin-bottom: 2rem;
}

@media screen and (max-width: 1100px) {
    .membership__wrapper {
        flex-direction: column;
        align-items: center;
    }

    .membership__card {
        width: 300px;
        margin-bottom: 2rem;
    }
}

/* Team Section */
.team {
    padding: 8rem calc ((100vw - 1100px) / 2);
}

.team__wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: repeat(auto, 350px);
}

.team__card {
    margin: 1rem;
    border-radius: 10px;
    position: relative;
}

.topline {
    align-items: center;
    font-weight: bolder;
    font-size: large;
    color: red;
}
.team__text {
    padding: 1rem;
}

.team__text h1 {
    margin-bottom: 1rem;
    font-size: 3rem;
}

.team__desc {
    font-size: clamp(1rem, 3vw, 1.3rem);
    line-height: 1.4;
}

.team__img {
width: 100%;
height: 100%;
border-radius: 10px;
}

.text__text:nth-child(1) {
    grid-row: 1/3;
    grid-column: 2 / 3;

}

.team__text:nth-child(2) {
    grid-row: 5 /6;
    grid-column: 1 /2;
}

.team__card:nth-child(3) {
    grid-row: 1 /3;
    grid-column: 1 /2;
}

@media screen and (max-width: 768px) {
    .team__wrapper {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }

    .text__text:nth-child(1) {
        grid-row: 1/2;
        grid-column: 1 / 2;
    
    }
    
    .team__text:nth-child(2) {
        grid-row: 6 /7;
        grid-column: 1 /2;
    }
    
    .team__card:nth-child(3) {
        grid-row: 3 /4;
        grid-column: 1 /2;
    }
}
/* Form section */
.email {
    background:  linear-gradient(180deg, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.6) 35%, rgba(0, 0, 0, 0.6) 100%), url('./images/email1.png') no-repeat center;
    background-size: cover;
    height: 450px;
    width: 100%;
    padding: 5rem calc((100vw - 1300px) / 2);
    color: var(--white);
    display: flex;
    justify-content: center;
    align-items: center;
}
.email__content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.email__content h1 {
    text-align: center;
    margin-bottom: 1rem;
    font-size: clamp(1rem, 2.5vw, 1.5rem);
    padding: 0 1rem;
    margin-bottom: 2rem;
}

form {
    z-index: 10;
}

.form__wrap input {
    padding: 1rem 1.5rem;
    outline: none;
    width: 350px;
    height: 50px;
    border: none;
    margin-right: 1rem;
    border-radius: 4px;
}

@media  screen and (max-width: 768px) {
    .form__wrap{
        display: flex;
        flex-direction: column;
        padding: 0 1rem;
    }

    .form__wrap input {
        margin-bottom: 1rem;
        width: 100%;
        margin-right: 0;
    }

    button {
        width: 100%;
        min-width: 350px;
    }
}

@media screen and (max-width: 400px) {
    button {
        width: 100%;
        min-width: 250px;
    }
    
}

/* Footer Section */
.footer {
    padding: 5rem calc((100vw - 1100px) /2);
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    color: var(--white);
    background: var(--black);
}

.footer__desc {
    padding: 0 2rem;
}

.footer__desc h1 {
    margin-bottom: 2rem;
    color:rgb(255, 255, 255);
    font-size: 1.5rem;
    width: 200px;
}

.footer__desc p {
    margin-bottom: 2rem;
}

#phone {
    font-weight: bold;
    font-size: 1.2rem;
}

.footer__wrapper {
    display: grid;
    grid-template-columns: repeat(3, 1fr);

}

.footer__links {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 2rem 2rem;
}

.footer__instagram {
    display:flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 0rem 6rem;
    margin-top: -150px;
}

.footer__title {
    font-size: 14px;
    margin-bottom: 16px;
}

.footer__link {
    text-decoration: none;
    color: rgb(242, 242, 242);
    font-size: 14px;
    margin-bottom: 0.5rem;
}

.footer__link:hover {
 color: var(--red);
}

@media screen and (max-width: 820px) {
    .footer__wrapper {
        grid-template-columns: 1fr;
    }
}

@media screen and (max-width: 400px) {
    .footer__desc {
        padding: 1rem;
    }

    .footer__links {
        padding: 1rem;
    }
}

.form-control {
    width: 100%;
}

/* Trucks section */

.heading {
    text-align: center;
}

.heading span{
    font-weight: 500;
    color: var(--red)
}

.heading p{
    font-size: .938rem;
    font-weight: 300;
}

.trucks-container {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    margin-top: 2rem;
}

.trucks-container .box {
    flex: 1 1 17rem;
    position:relative;
    height: 200px;
    border-radius: 0.5rem;
    overflow: hidden;

}

.trucks-container .box img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    overflow: hidden;
}

.trucks-container .box img:hover{
    transform: scale(1.1);
    transition: 0.5s;

}

.trucks-container .box h2{
    position: absolute;
    bottom: 1rem;
    left: 1rem;
    font-weight: 400;
    font-size: 1rem;
    background-color: #c9bdb5;
    padding: 8px;
    border-radius: 0.5rem;

}

.trucks-container .box:hover h2{
    background: #63e90a;
    color: #000000;

}
img {
    width: 100%;
}
