/* Home Page Hero Section */
.hero-overlay{
    background-image: url(../img/bg/bg5.jpg);
    background-size: cover;
    background-position: center;
    opacity: 0.5;
}
.hero-overlay img{
    width: 120vw;
    opacity: 0.5;
    animation: float 8s ease-in-out infinite;
}
.hero-content{
    color: var(--light);
}
.btn-secondary {
    color: var(--light);
}
.shape-2 {
    background: var(--brand-green);
}
/* End of Home Page Hero Section */

/* Home Page Main Content */
/* ============================ */
.home-main{
    margin-top: 0;
    display: grid;
}

/* ----------------------- */
.container p{
    font-size: 16px;
    max-width: 1100px;
    margin: 0 auto;
    font-weight: 300;
}

.container{
    padding: 30px 20px;
    border-radius: 0;
}

/* --- Service In Short --- */
#Service-In-Short{
    padding: 40px 20px;
}
.service-in-short{
    display: grid;
    grid-template-columns: 1fr 1fr;
}
.content{
    padding: 20px;
    text-align: start;
}
.content h2{
    margin: 0 0 20px 0;
}
.services-list{
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 20px 0 0 20px;
}
.service-item{
    display: flex;
    align-items: center;
    gap: 10px;
}
.service-item i{
    font-size: 20px;
}
.service-item h4{
    font-size: 18px;
    font-weight: 500;
    margin: 0;
}
.service-in-short img{
    height: 100%;
    width: 100%;
}
.service-image{
    height: 75vh;
    overflow: hidden;
}

/* ----- Description ----- */
#Description{
    padding: 100px 20px;
    background: var(--primary);
    color: var(--light);
}
#Description h2{
    border-color: var(--secondary);
}
.description{
    padding: 10px 10px 30px 10px;
}
.description p{
    font-size: 15px;
    letter-spacing: 1px;
    line-height: 22px;
    font-weight: 200;
}


/* --- Industries We Serve --- */
#Industry{
    padding: 40px 0;
}
.industry{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(125px, 1fr));
    margin: 40px 0;
    border: solid 1px var(--primary);
}
.industry-card{
    border: solid 1px var(--primary);
    height: 150px;
    position: relative;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}
.industry-card img{
    height: 100%;
    width: 100%;
    object-fit: cover;
    object-position: top;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0.4;
}
.industry-card h4{
    background: var(--bgopacity);
    color: var(--brand-green);
    font-size: 18px;
    font-weight: 500;
    z-index: 1;
    padding: 5px;
}

/* --- Our Clients  --- */
.clients-grid{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(60px, 1fr));
    gap: 20px;
    padding: 40px 20px;
    overflow: hidden;
}
.client-card{
    display: flex;
    justify-content: center;
    align-items: center;
}
.client-card img{
    width: 80px;
}

/* --- Testimonials --- */
#Testimonials{
    padding: 80px 20px;
    background: var(--primary);
    color: var(--light);
}
#Testimonials h2{
    border-color: var(--secondary);
}
.testimonials-grid{
    padding: 10px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 20px;
    margin-top: 20px;
}
.testimonial-card {
    background: var(--bgopacity);
    border-radius: 45px 0 45px 0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: start;
    padding: 15px;
}
.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}
.testimonial-card img{
    width: 65px;
    height: 90px;
    border-radius: 50%;
    object-fit: cover;
    object-position: center;
}
.testimonial-card h4 {
    color: var(--brand-green);
    padding: 0;
    margin: 5px 0 0px 5px;
    font-size: 18px;
    line-height: 18px;
    font-weight: 500;
    padding: 0;
}
.testimonial-card h6{
    margin: 0px 0 10px 5px;
    font-size: 12px;
    font-weight: 400;
    color: var(--bgcol);
    font-style: italic;
}
.testimonial-card p {
    font-size: 14px;
    line-height: 1.6;
    margin: 5px 0 5px 5px;
    color: var(--brand-b);
    font-weight: 300;
}
/* ================================== */
/* ========= Tablet Styles ========== */
@media (max-width: 1024px) {
    .hero-overlay img{
        width: 160vw;
    }
    .service-image{
        height: 35vh;
    }
    .client-card img{
        width: 70px;
    }
    .testimonials-grid{
        max-width: 680px;
        margin: 40px auto;
        display: flex;
        justify-content: flex-start;
        overflow: scroll;
        scroll-behavior: smooth;
    }
    .testimonial-card{
        min-width: 280px;
    }
    .testimonial-card:hover {
        transform: translateX(-5px);
    }
}

/* ========== Mobile Styles ========== */
@media (max-width: 600px) {
    .hero-overlay img{
        width: 240vw;
    }
    .service-in-short{
        grid-template-columns: 1fr;
    }
    .testimonials-grid{
        max-width: 320px;
        margin: 20px auto;
    }
    .testimonial-card{
        min-width: 260px;
    }
}
/* ======== */