:root{
    --primary-color: #00033e;
}


*{
    margin: 0; padding: 0;
    box-sizing: border-box;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    outline: none; border: none;
    text-decoration: none;
    text-transform: capitalize;
    transition: .2s linear;
}

html{
    font-size: 62.5%;
    scroll-behavior: smooth;
    scroll-padding-top: 6rem;
    overflow-x: hidden;
}

.btn{
    display: inline-block;
    margin-top: 1rem;
    padding: .9rem 3.5rem;
    background: #333;
    color: #fff;
    font-size: 1.7rem;
    border-radius: .5rem;
    cursor: pointer;
}

.heading{
    font-size: 3.5rem;
    color: #333;
    text-align: center;
    padding: 1rem;
    margin: 2rem 0;
    background: rgba(0,0,0,.1)
}

.heading span{
    color: var(--primary-color);
}

.btn:hover{
    background: #00033e;
}

header{
    position: fixed;
    top: 0; left: 0; right: 0;
    background: #fff;
    padding: 2rem 9%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 1000;
    box-shadow: 0 .5rem 1rem rgba(0,0,0,.1);
}

header .logo{
    font-size: 3rem;
    color: #333;
    font-weight: bolder;
}

header .logo img{
    height: 6rem;
}

header .navbar a{
    font-size: 1.7rem;
    padding: 0 1.5rem;
    color: #333;
}

header .navbar a:hover{
    color: blue;
}

header .icons a{
    font-size: 2rem;
    color: #333;
    margin-left: 2rem;
}

header .icons a:hover{
    color: blue;
}

header #toggler{
    display: none;
}

header .fa-bars{
    font-size: 2.5rem;
    color: #333;
    border-radius: .5rem;
    padding: 2rem 1.5rem;
    cursor: pointer;
    display: none;
}

section{
    padding: 10rem 9% 5rem;
}

/* Home Section */
.home{
    display: flex;
    align-items: center;
    min-height: 100vh;
    background-image: url(Images/Hero.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

.home .content{
    max-width: 50rem;
}

.home .content h3{
    font-size: 6rem;
    color: var(--primary-color);
}

.home .content span{
    font-size: 3.5rem;
    color: #0c0c0c;
    padding: 1rem 0;
}

.home .content p{
    font-size: 1.7rem;
    color: #333;
    padding: 1rem 0;
}

/* Clients Section */

@keyframes slide{
    from {
        transform: translateX(0);
    }
    to{
        transform: translateX(-100%);
    }
}

.logos{
    overflow: hidden;
    padding: 4rem 0;
    background: #ffffff;
    white-space: nowrap;
}

.logos:hover .logos-slide{
    animation-play-state: paused;
}

.logos-slide{
    display: inline-block;
    animation: 8s slide infinite linear;
}

.logos-slide img{
    height: 8rem;
    margin: 0 3rem;
}

/* About Section */

.about{
    background: #e3e3e3;
}

.about .row{
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 2rem;
    padding: 2rem 0;
    padding-bottom: 2rem;
}

.about .row .video-container{
    flex: 1 1 40rem;
    position: relative;
    padding: 2rem;
}

.about .row .video-container video{
    width: 100%;
    border: 1.5rem solid rgba(0,0,0,.1);
    border-radius: .5rem;
    box-shadow: 0 .5rem 1rem rgba(0,0,0,.1);
    height: 100%;
    object-fit: cover;
}

.about .row .video-container h3{
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    font-size: 6rem;
    background: white;
    width: 100%;
    padding: 1rem 2rem;
}

.about .row .content{
    flex: 1 1 40rem;
}

.about .row .content h3{
    font-size: 3rem;
    color: #333;
}

.about .row .content h3{
    font-size: 1.5rem;
    color: #080808;
    padding: .5rem 0;
    padding-top: 1rem;
    line-height: 1.5rem;
}

.icons-container{
    background: #eee;
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    padding-top: 5rem;
    padding-bottom: 5rem;
}

.icons-container .icons{
    display: flex;
    flex: 1 1 30rem;
    text-align: center;
    padding: 2rem;
    border: .1rem solid rgba(0,0,0,.1);
    border-radius: .5rem;
    background: #fff;
    box-shadow: 0 .5rem 1rem rgba(0,0,0,.1);
}

.icons-container .icons img{
    height: 5rem;
    margin-right: 1rem;
}

.icons-container .icons h3{
    font-size: 1.5rem;
    color: #333;
    padding-bottom: .5rem;
}

.icons-container .icons span{
    font-size: 1.3rem;
    color: #555;
}

/* Products Section */

.products .box-container{
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.products .box-container .box{
    flex: 1 1 30rem;
    box-shadow: 0 .5rem 1rem rgba(0,0,0,.1);
    border-radius: .5rem;
    border: .1rem solid rgba(0,0,0,.1);
    background: #fff;
    position: relative;
}

.products .box-container .box .discount{
    position: absolute;
    top: 1rem; left: 1rem;
    color: var(--primary-color);
    background: rgba(0,0,0,.1);
    padding: .7rem 1rem;
    font-size: 2rem;
    border-radius: .5rem;
    z-index: 1;
}

.products .box-container .box .image{
    position: relative;
    text-align: center;
    padding-top: 2rem;
    overflow: hidden;
}

.products .box-container .box .image img{
    height: 20rem;
}

.products .box-container .box:hover .image img{
    transform: scale(1.1);
}

.products .box-container .box .image .icons{
    position: absolute;
    left: 0; right: 0; bottom: -7rem;
    display: flex;
}

.products .box-container .box:hover .image .icons{
    bottom: 0;
}

.products .box-container .box .image .icons a{
    height: 5rem;
    line-height: 5rem;
    font-size: 2rem;
    width: 50%;
    background: var(--primary-color);
    color: #fff;
}

.products .box-container .box .image .icons a:hover{
    background: #141edb;
}

.products .box-container .box .image .icons .cart-btn{
    border-left: 1rem solid rgba(255,255,255,.1);
    border-right: 1rem solid rgba(255,255,255,.1);
    width: 100%;
}

.products .box-container .box .content{
    padding: 2rem;
    text-align: center;
}

.products .box-container .box .content h3{
    font-size: 2rem;
    color: #333;
}

.products .box-container .box .content .price{
    font-size: 2rem;
    color: var(--primary-color);
    font-weight: bolder;
    padding-top: 1rem;
}

.products .box-container .box .content .price span{
    font-size: 1rem;
    color: #999;
    font-weight: lighter;
    text-decoration: line-through;
}

/* Reviews Section */

.reviews .box-container{
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.reviews .box-container .box{
    flex: 1 1 30rem;
    box-shadow: 0 .5rem 1.5rem rgba(0,0,0,.1);
    border-radius: .5rem;
    border: .1rem solid rgba(0,0,0,.1);
    padding: 3rem 2rem;
    position: relative;
}

.reviews .box-container .box p{
    font-size: 1.5rem;
    color: #333;
    line-height: 1.5rem;
    padding-top: 2rem;
}

.reviews .box-container .box .fa-quote-right{
    position: absolute;
    bottom: 3rem; right: 3rem;
    font-size: 6rem;
    color: var(--primary-color);
}

.reviews .box-container .box .star{
    color: var(--primary-color);
    padding-bottom: 2rem;
}

.reviews .box-container .box .user{
    display: flex;
    align-items: center;
    gap: 1rem;
    padding-top: 2rem;
}

.reviews .box-container .box .user img{
    height: 6rem;
    width: 6rem;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 1rem;
}

.reviews .box-container .box .user h3{
    font-size: 2rem;
    color: #333;
}

.reviews .box-container .box .user span{
    font-size: 1.5rem;
    color: #999;
}


/* Testimonials */

.testimonials h3 {
  font-size: 28px;
  margin-bottom: 20px;
  color: #2c3e50;
  text-align: center;
}

.testimonials {
  padding: 60px 0;
  background-color: #fff8e4;
}
.testimonial-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 30px;
}
.testimonial-box {
  flex: 1 1 45%;
  background-color: #ff0303;
  padding: 20px;
  border-left: 4px solid #0077cc;
  border-radius: 5px;
}


/* Contact Section */

.contact .row{
    display: flex;
    flex-wrap: wrap-reverse;
    gap: 1.5rem;
    align-items: center;
}

.contact .row form{
    flex: 1 1 40rem;
    padding: 2rem 2.5rem;
    box-shadow: 0 .5rem 1.5rem rgba(0,0,0,.1);
    border: .1rem solid rgba(0,0,0,.1);
    border-radius: .5rem;
    background: #fff;
}

.contact .row form .box{
    display: flex;
    text-transform: none;
    padding: 1rem;
    font-size: 1.5rem;
    color: #333;
    border: .1rem solid rgba(0,0,0,.1);
    border-radius: .5rem;
    margin: 1rem 0;
    width: 100%;
}

.contact .row form .box:focus-within{
    border-color: var(--primary-color);
}

.contact .row form textarea{
    resize: none;
    height: 15rem;
}

.contact .row .image{
    flex: 1 1 40rem;
}

.contact .row .image img{
    width: 100%;
}

/* Footer Section */

.footer{
    background: var(--primary-color);
}

.footer .box-container{
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.footer .box-container .box{
    flex: 1 1 25rem;
}

.footer .box-container .box h3{
    color: #efefef;
    font-size: 2.5rem;
    padding-bottom: 1rem 0;
}

.footer .box-container .box a{
    display: block;
    font-size: 1.5rem;
    color: #666;
    padding: 1rem 0;
}

.footer .box-container .box a:hover{
    color: #336cfc;
    text-decoration: underline;
}

.footer .box-container .box img{
    margin-top: 1rem;
}

.footer .credit{
    text-align: center;
    padding: 1.5rem;
    padding-top: 2.5rem;
    margin-top: 1.5rem;
    border-top: .1rem solid rgba(0,0,0,.1);
    font-size: 2rem;
    color: #333;
}

.footer .credit span{
    color: var(--primary-color);
}




/* Responsive Design */
@media (max-width:991px){
    html{
        font-size: 55%;
    }

    header{
        padding: 2rem;
    }

    section{
        padding: 2rem;
    }

    header .navbar{
        position: absolute;
        top: 100%; left: 0; right: 0;
        background: #fff;
        border-top: .1rem solid rgba(0,0,0,.1);
        display: none;
        flex-direction: column;
    }

    header .navbar a{
        padding: 1.5rem;
        border-bottom: .1rem solid rgba(0,0,0,.1);
    }

    header #toggler:checked ~ .navbar{
        display: flex;
    }

    header .fa-bars{
        display: block;
    }

    .home{
        background-position: left;
    }
}

@media (max-width:768px){
    header .fa-bars{
        display: block;
    }

    header .navbar{
        position: absolute;
        top: 100%; left: 0; right: 0;
        background: #fff;
        border-top: .1rem solid rgba(0,0,0,.1);
        display: none;
        flex-direction: column;
        clip-path: polygon(0 0, 100% 0, 100% 0, 0 0%);
    }

    header #toggler:checked ~ .navbar{
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    }

    header .navbar a{
        margin: 1.5rem;
        padding: 1.5rem;
        border: .1rem solid rgba(0,0,0,.1);
        background: #fff;
        display: block;
    }

    .home .content h3{
        font-size: 5rem;
    }

    .home .content span{
        font-size: 2.5rem;
    }

    .icons-container .icons h3{
        font-size: 2rem;
    }

    .icons-container .icons span{
        font-size: 1.7rem;
    }

}

@media (max-width:450px){
    html{
        font-size: 50%;
    }

    .heading{
        font-size: 2.5rem;
    }
}