@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Roboto;
}
html{
    scroll-behavior: smooth;
}
:root {
    --background-color: #000000;
    --heading-color: rgb(255, 255, 255);
    --text-color: rgba(255, 255, 255, 0.897);
    --primary-color: #ffeb01;
    --link-color: rgba(255, 255, 255);
    --border-color: rgba(255, 255, 255, 0.61);
    --box-shadow-color: rgba(255, 255, 255, 0.87);
}

body {
    background-color: var(--background-color);
    color: var(--text-color);
    font-family: Roboto;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 500;
    text-align: center;
    color: var(--heading-color);
}

h1 {
    font-size: 35px;


}

p {
    font-size: 16px;
    font-weight: 400;
    line-height: 25px;
    color: var(--text-color);
}

p a {
    color: var(--primary-color);
    font-weight: 700;
    letter-spacing: 1px;
}


li {
    list-style: none;

}

a {
    text-decoration: none;
    color: var(--link-color);
    font-weight: 500;
    transition: all 0.3s ease-in-out;
}

a:hover {
    color: var(--primary-color);
}

/* Our header */
header {
    display: flex;
    flex-direction: row;
    top: 0px;
    justify-content: center;
    align-items: center;
    height: 90px;
    border-bottom: 1px solid var(--border-color);
    width: 100%;
    z-index: 1000;
    padding: 10px 0px;
}

nav {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    height: 50px;
    align-content: center;
    align-items: center;
    width: 1140px;

}

#logo {
    width: 230px;
    padding-left: 30px;
}

nav ul {
    display: flex;
    flex-direction: row;
    justify-content: end;
    width: 100%;
    gap: 25px;
    padding-right: 30px;
}

nav ul li a {
    font-size: 16px;
    text-align: center;


}

nav ul li a:hover {
    color: var(--primary-color);
}

ul li a.active {
    color: var(--primary-color);
}

.nav-btn {
    display: flex;
    justify-content: center;
    margin-right: 10px;
    padding: 10px 25px;

}

#hamburger {
    display: flex;
    height: 40px;
    justify-content: center;
    align-items: center;
    width: 40px;
    font-size: 25px;
    border-radius: 50%;
    margin-right: 10px;
    transition: all 0.3s ease-in-out;
    display: none;
}

#hamburger:hover {
    cursor: pointer;
    background-color: #242424;
}

/* Button */

.btn {
    position: relative;
    background-color: var(--heading-color);
    color: var(--background-color);
    font-size: 16px;
    font-family: Roboto;
    padding: 10px 25px;
    border-radius: 5px;
    text-align: center;
    width: fit-content;
    transition: all 0.3s ease-in-out;
    z-index: 1;
    overflow: hidden;
}
.btn:hover{
    color: var(--background-color);
}


.btn::before {
    content: '';
    position: absolute;
    width: 115%;
    height: 100%;
    top: 0;
    left: 0;
    background-color: var(--primary-color);
    z-index: -1;
    border-radius: 0px 30px 30px 0px;
    transform: translatex(-100%);
    transition: all 0.4s linear;

}

.btn:hover::before {
    transform: translatex(0);

}


/* Our Main Content */





/* home page */




main {
    display: flex;
    flex-direction: column;
    width: 100%;
    margin: auto;
    align-items: center;
}

hr {
    width: 100%;
    height: 1px;
    border: none;
    border-bottom: 1px solid var(--border-color);
}

#home-hero {
    display: flex;
    flex-direction: row;
    height: auto;
    justify-content: center;
    align-content: center;
    flex-wrap: wrap;
    max-width: 1140px;
    position: relative;

}

.hero-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: auto;
    width: 50%;
    padding: 30px 30px;
    gap: 20px;
}





/* Animated Name */

.animated-name {
    width: 100%;
    display: inline-flex;
    font-size: 30px;
    font-weight: 500;
    letter-spacing: 0.1px;
}

.moving-text li {
    list-style: none;
    margin-right: 7px;
    color: var(--primary-color);
}

.fixed-text-before {
    position: relative;
    margin-right: 7px;
    z-index: 2;
}

.fixed-text-after {
    position: relative;
    z-index: 1;
    background-color: var(--background-color);
    animation: type 1.5s infinite steps(5) alternate;


}


/* Animated name ends here */

.hero-img {
    padding: 10px;
    display: flex;
    flex-direction: column;
    height: fit-content;
    width: 50%
}

.hero-img img {
    width: 100%;
    object-fit: contain;

}

/* Hero section ends here */
.arrow-gif {
    width: 30px;
    position: relative;
    top: -10px;
    z-index: 1000;
    background-color: var(--background-color);
}

#arrow-gif {
    filter: invert(100%);

}

.featured-in {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    height: fit-content;
    align-items: center;
    gap: 20px;
    border: 1px solid;
    border-width: 1px 1px 1px 0px;
    border-color: var(--border-color);
    top: -27px;
    padding: 30px 0px;
    animation: featured-in 1s ease-in-out;
    overflow: hidden;


}

.featured-in-items {
    display: grid;
    max-width: 1140px;
    height: auto;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: auto;
    gap: 20px;
    padding: 10px;


}

.featured-in h2 {
    font-size: 35px;
    font-weight: 500;

}

.featured-in-items img {

    border-radius: 10px;
    box-shadow: 0px 0px 10px;
    padding: 30px;
    height: auto;
    height: 100%;
    width: 100%;
    object-fit: contain;

}

/* Featured in ends here */

.offers {
    display: flex;
    flex-direction: column;
    align-items: center;
    align-content: center;
    max-width: 1140px;
    padding: 40px 0px 50px 0px;


}

.offers h2 {
    font-size: 35px;
    padding-bottom: 40px;
    font-weight: 500;
    text-align: center;
}

.offers-box {
    display: flex;
    flex-direction: row;
    width: 100%;
    height: fit-content;
    gap: 40px;
    justify-content: center;
    align-items: center;

}

.single-offer-box {
    display: flex;
    flex-direction: column;
    width: 50%;
    height: fit-content;
    gap: 20px;
    padding: 20px;
    justify-content: center;
    align-items: center;
    border-radius: 10px;
    box-shadow: 0px 0px 10px 0px var(--box-shadow-color);

}

.single-offer-box img {
    width: 50%;
    object-fit: contain;
}

.single-offer-box h3 {
    font-size: 25px;
}

.single-offer-box p {
    text-align: center;
    line-height: 25px;
}

/* Offers section ends here */
#about {
    display: flex;
    width: 100%;
    justify-content: center;
    border-top: 1px solid var(--border-color);
}

.about-box {
    display: flex;
    position: relative;
    width: 1140px;
    flex-direction: row;
    justify-content: center;
    align-items: stretch;
    padding: 50px 0px;
}

.about-img {
    position: relative;
    flex: 1;
    display: flex;
    width: 50%;
    height: auto;
    align-items: center;
    justify-content: center;
}

.about-img img {
    width: 100%;
    object-fit: contain;
}

.about-content {
    display: flex;
    flex: 1;
    justify-content: start;
    flex-direction: column;
    height: auto;
    width: 50%;
    gap: 10px;
    padding: 10px;
    position: relative;
}

.about-content h2 {
    font-size: 30px;
    font-weight: 500;
    padding: 10px 0px;
}

.about-content h3 {
    font-size: 20px;
    font-weight: 400;
}

.about-content p {
    font-size: 16px;
    line-height: 20px;
    margin: 15px 0px;
}

.about-content ul {
    display: flex;
    flex-direction: column;
    gap: 10px;

}

.about-content ul li i {
    font-size: 14px;
    color: var(--primary-color);
    margin-right: 10px;
}

#testimonials {
    display: flex;
    width: 100%;
    flex-direction: column;


}

.testimonial {
    display: flex;
    justify-content: center;
    width: 100%;
    padding: 30px 0px;
    border-top: 1px solid var(--border-color);
}

.test-box {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    max-width: 1140px;

}

.test-video {
    display: flex;
    position: relative;
    width: 50%;
    padding: 10px 10px;
}

.test-video img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.test-Content {
    display: flex;
    position: relative;
    flex-direction: column;
    width: 50%;
    padding: 10px 10px;
    gap: 10px;
}

.test-Content .test-name {
    font-size: 15px;
}

.test-Content .test-rating {
    font-size: 16px;

}

.test-Content .test-text {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

/* Gallery */
#gallery {
    display: flex;
    flex-direction: column;
    width: 100%;
    align-items: center;
    padding: 30px 0px;
}

.gallery-content {
    display: flex;
    flex-direction: column;
    max-width: 1140px;
    align-items: center;
    justify-content: center;

}

.gallery-content h1 {
    font-weight: 500;
    padding-bottom: 30px;
}

.gallery-content h3 {
    font-weight: 500;
    padding-bottom: 20px;
}

.gallery-content img {
    width: 80%;
    object-fit: contain;
}

/* testimonial section 2 */
#testimonial-2 {
    display: flex;
    justify-content: center;
    width: 100%;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding-bottom: 30px;
}

.testimonial-section-2 {
    display: grid;
    grid-template-columns: repeat(3, minmax(250px, 370px));
    grid-auto-rows: auto;
    gap: 20px;
    padding: 10px;
    max-width: 1140px;

}

.single-testimonial-box {
    width: 100%;
    border: 3px solid #334155;
    border-radius: 10px;
    padding: 10px;
    display: flex;
    flex-wrap: wrap;
}

.single-testimonial-img-box {
    display: flex;
    padding-top: 10px;
    align-items: center;
    gap: 10px;

}

.single-testimonial-img-box img {
    width: 85px;
}

.single-testimonial-img-box h2 {
    font-weight: 500;
}

/* Footer section */
footer {
    display: flex;
    justify-content: center;
    flex-direction: row;
    flex-wrap: wrap;
    width: 100%;
    border-top: 1px solid var(--border-color);

    /* background-color: rgb(5, 138, 0); */
}

.footer-content {
    display: grid;
    width: 1140px;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: auto;
    gap: 10px;
}

.footer-single-box {
    display: flex;
    flex-direction: column;
    padding: 20px 10px;
    width: 100%;
    height: auto;
    text-align: start;
}
.footer-single-box .footer-logo{
    width: 200px;
    left: 0%;
    margin-top: -20px;
    cursor: pointer;
}
.footer-single-box .social-media {
    width: 100%;
    padding-top: 20px;
    display: flex;

}

.footer-single-box .social-media img{
    width: 30px;
    margin-right: 30px;
    cursor: pointer;

}
.footer-single-box h2{
    text-align: start;
    font-weight: 25px;
    margin-bottom: 10px;

}
.footer-single-box ul{
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 10px 0px;
}
.footer-single-box ul a{
    font-weight: 400;
    color: var(--text-color);
}
.footer-single-box ul a:hover{
    color: var(--primary-color);
}
.footer-copywrite {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 40px;
    border-top: 1px solid var(--border-color);

}








@media (max-width: 820px) {
    nav {
        justify-content: space-between;
    }

    #logo {
        width: 200px;
        padding-left: 10px;
    }

    #hamburger {
        display: flex;
        padding: 5px;
        margin-right: 0px;
    }

    nav ul {
        display: none;
        flex-direction: column;
        position: absolute;
        right: 0px;
        justify-content: center;
        top: 65px;
        height: 200px;
        background-color: #000000;
        z-index: 100;
        border-radius: 10px;
        gap: 20px;
        padding: 10px;
        box-shadow: 0px 0px 10px 0px rgb(255, 255, 255);
        transition: all 0.3s ease-in-out;
        animation: menu 0.3s alternate;
    }

    .btn {
        padding: 10px 20px;
        margin: 0;
    }

    /* Home page */
    main {
        width: 100%;
    }

    /* home hero section */
    #home-hero {
        flex-direction: column;
        width: 100%;
    }

    .hero-info,
    .hero-img {
        width: 100%;
        padding: 20px;
        height: fit-content;
        justify-content: center;
        align-items: center;
    }

    /* Featured in section */

    .featured-in {
        width: 100%;
        animation: featured-in 0.8s linear;
        border-width: 1px 0px 1px 0px;
    }

    .featured-in h2 {
        font-size: 25px;
    }

    .featured-in-items {
        width: 100%;
        grid-template-columns: repeat(2, 1fr);
    }

    /* Offers boxes */
    .offers {
        width: 100%;
    }

    .offers h2 {
        font-size: 25px;
    }

    .offers-box {
        flex-direction: column;
    }

    .single-offer-box {
        width: 95%;
    }


    /* About section */


    .about-box {
        flex-direction: column;
        width: 100%;
        padding: 0px;
    }

    .about-img,
    .about-content {
        width: 100%;

    }

    /* testimonial section */
    .test-box {
        width: 100%;
        padding: 0px;
    }

    .test-box .test-video,
    .test-box .test-Content {
        width: 100%;

    }

    .testimonial-section-2 {
        grid-template-columns: 100%;
    }

    /* Foooter section */
    .footer-content {
        width: 100%;
        grid-template-columns: repeat(1, 1fr);
    }
    .footer-single-box{
        border-bottom: 1px solid var(--border-color);

    }
    .footer-copywrite{
        border: none;
    }
}


@media(max-width:350px) {
    .nav-btn {
        display: none;
    }
}




@keyframes menu {
    from {
        transform: translateX(100%);
    }

    to {
        transform: translateX(0);
    }
}

@keyframes type {
    from {
        left: 0px;
    }

    to {
        left: -100px
    }
}

@keyframes featured-in {
    from {
        left: -100%;
        border-radius: 10px;
        border-width: 1px 1px 1px 0px;
    }

    to {
        left: 0;
        border-radius: 1px;
        border-width: 1px 0px 1px 0px;
    }
}