* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

.hero-image {
    background-image: linear-gradient(rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.1)), url("../../frontend/images/banner-background.webp");
    height: 100vh;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    display: flex;
    align-items: center;
    /* vertically center */
}

.hero-text {
    color: white;
    text-align: start;
    margin-bottom: 50px;
}

.hero-text h1 {
    font-family: "Jost", sans-serif;
    font-optical-sizing: auto;
    /* font-size: calc(1rem + 1vw); */
    font-size: 2vw;
    line-height: 54px;
    text-transform: uppercase;
    background: #fbcc2a;
    display: inline-block;
    color: black;
    padding: 10px 20px;
    width: 40%;
}

.hero-text h2 {
    font-family: "Jost", sans-serif;
    font-optical-sizing: auto;
    font-size: 2vw;
    line-height: 54px;
    text-transform: uppercase;
    background-color: #1B98BF;
    display: inline-block;
    color: #fff;
    padding: 10px 20px;
    width: 40%;
}

.hero-text p {
    font-family: "Poppins", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 15px;
    line-height: 27px;
    background-color: #1B98BF;
    display: inline-block;
    color: #fff;
    padding: 10px 20px;
    margin-top: 20px;
    width: 40%;
}

.hero-text .explore-btn {
    font-family: "Jost", Sans-serif;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    fill: #000000;
    color: #000000;
    /* background: linear-gradient(106deg, rgba(243, 129, 25, 1) 46%, rgba(251, 204, 42, 1) 78%); */
    background-color: #fbcc2a;
    border-radius: 0px 0px 0px 0px;
    padding: 16px 25px 16px 25px;
    text-transform: uppercase;
    border: none;
    transition: all 0.2s;
}

.hero-text .explore-btn:hover {
    background-color: #FFFFFF;
}


/* highlight-product */
.product-1-container {
    height: 340px;
}

.highlight-product {
    background-color: #FFFFFF;
    text-align: start;
    position: absolute;
    top: 98%;
    left: 50%;
    transform: translate(-50%, -8vh);
    color: white;
}

.highlight-product-card-text-img {
    width: 25%;
}

.highlight-product-card-text h5 {
    font-family: "Jost", sans-serif;
    color: #222222;
    font-size: 20px;
    line-height: 28px;
    text-align: center;
    margin: 10px 0;
}

.highlight-product-card-text p {
    font-family: "Poppins", sans-serif;
    color: #666666;
    font-size: 14px;
    line-height: 25px;
    text-align: center;
}


/* video */
.video-container-sidebar {
    border-radius: 0.5rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.video-container-sidebar:hover {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}

.video-container-sidebar .ratio iframe {
    border-radius: 0.5rem;
}

/* our-clients-section  */
.client-card {
    background: #fff;
    border: 1px solid #eee;
    transition: all 0.35s ease;
    height: 120px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.05);
}

.client-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
    border-color: #0d6efd;
}

.client-logo {
    width: auto;
    height: 80px;
    object-fit: contain;
    /* filter: grayscale(100%); */
    opacity: 1;
    transition: all 0.3s ease;
}

.client-card:hover .client-logo {
    filter: none;
    opacity: 1;
    transform: scale(1.05);
}






/* services */
.services-container h1 {
    font-size: 60px;
    font-weight: 700;
    font-family: "Poppins", sans-serif;
    line-height: 80px;
}

.services-container h6 {
    font-size: 20px;
    font-weight: 500;
    font-family: "Jost", sans-serif;
    line-height: 22px;
}

.services-container p {
    font-size: 14px;
    font-weight: 400;
    font-family: "Poppins", sans-serif;
    line-height: 25px;
}



/* product */
.product-card-overlay {
    position: relative;
    display: block;
    overflow: hidden;
    text-decoration: none !important;
    background-color: #f8f9fa;
    border: 1px solid #ddd;
    height: 100%;
}

/* Styling for the image to fill the card */
.product-card-overlay .product-image {
    max-width: 100%;
    height: auto;
    object-fit: fill;
    display: block;
    transition: transform 0.4s ease-in-out;
}

/* --- PRODUCT NAME OVERLAY --- */
/* --- PRODUCT NAME OVERLAY (DESKTOP DEFAULT - HIDDEN) --- */
.product-name-overlay {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 100%;
    transform: translateY(-50%) scale(0.8);
    /* background: linear-gradient(45deg, rgba(0, 123, 255, 0.8), rgba(40, 167, 69, 0.8)); */
    /* background: linear-gradient(45deg, rgba(10, 34, 57, 0.7) 0%, rgba(14, 143, 191, 0.7) 100%); */
    background: linear-gradient(45deg, rgba(241, 241, 241, 0.6) 0%, rgba(241, 241, 241, 0.6) 100%);
    /* padding: 15px 10px; */
    opacity: 0;
    /* HIDDEN BY DEFAULT */
    visibility: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    transition: opacity 0.4s ease-in-out, transform 0.4s ease-in-out, visibility 0.4s ease-in-out;
}

/* Styling for the product title within the overlay */
.product-name-overlay .product-title {
    color: #0f0f0f;
    margin: 0;
    font-size: 1.3rem;
    font-weight: bold;
    line-height: 1.3;
    /* Optional: Limit lines for long names */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    /* Show up to 2 lines */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* --- HOVER EFFECTS --- */

/* When hovering over the entire card */
.product-card-overlay:hover .product-image {
    /* transform: scale(1.1); */
    /* Slight zoom on the image */
}

/* ... existing hover styles remain ... */
.product-card-overlay:hover .product-name-overlay {
    opacity: 1;
    visibility: visible;
    transform: translateY(-50%) scale(1);
}


/* --- MOBILE STYLES (Screen width up to 767px) --- */
@media (max-width: 767px) {

    /* Styling for the image to fill the card */
    .product-card-overlay .product-image {
        width: 90%;
        display: block;
        transition: transform 0.4s ease-in-out;
    }

    /* 1. Make the overlay ALWAYS visible on mobile */
    .product-name-overlay {
        padding: 10px 10px;
        height: auto;
        opacity: 1;
        top: 95%;
        visibility: visible;
        transform: translateY(-50%) scale(1);
        background: linear-gradient(45deg, rgba(10, 34, 57, 0.7) 0%, rgba(14, 143, 191, 0.7) 100%);
        transition: none;
    }

    /* 2. Disable the image zoom on mobile to prevent accidental zooming/shifting */
    .product-card-overlay .product-image {
        transform: none !important;
    }

    /* 3. Also disable the hover effects on the overlay for mobile if you want to be extra safe */
    .product-card-overlay:hover .product-name-overlay {
        opacity: 1;
        visibility: visible;
        transform: translateY(-50%) scale(1);
    }

    /* Styling for the product title within the overlay */
    .product-name-overlay .product-title {
        color: #fff;
        margin: 0;
        font-size: 0.8rem;
        font-weight: bold;
        line-height: 1.3;
        /* Optional: Limit lines for long names */
        display: -webkit-box;
        -webkit-line-clamp: 2;
        /* Show up to 2 lines */
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-overflow: ellipsis;
    }
}



/* mobile-responsive */
@media screen and (max-width: 767px) {
    .hero-image {
        background-image: linear-gradient(rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.1)), url("../../frontend/images/banner-background.webp");
        height: 50vh;
        background-position: center;
        background-repeat: no-repeat;
        background-size: cover;

        display: flex;
        align-items: center;
        /* vertically center */
    }

    .hero-text {
        color: white;
        text-align: start;
        margin-bottom: 0px;
    }

    .hero-text h1 {
        font-family: "Jost", sans-serif;
        font-optical-sizing: auto;
        /* font-size: calc(1rem + 1vw); */
        font-size: 20px;
        line-height: 34px;
        text-transform: uppercase;
        background: #fbcc2a;
        display: inline-block;
        color: black;
        padding: 5px 20px;
        width: 100%;
    }

    .hero-text h2 {
        font-family: "Jost", sans-serif;
        font-optical-sizing: auto;
        font-size: 18px;
        line-height: 34px;
        text-transform: uppercase;
        background-color: #1B98BF;
        display: inline-block;
        color: #fff;
        padding: 5px 20px;
        width: 100%;
    }

    .hero-text p {
        font-family: "Poppins", sans-serif;
        font-weight: 400;
        font-style: normal;
        font-size: 15px;
        line-height: 27px;
        background-color: #1B98BF;
        display: inline-block;
        color: #fff;
        padding: 10px 20px;
        margin-top: 20px;
        width: 40%;
    }

    .hero-text .explore-btn {
        font-family: "Jost", Sans-serif;
        font-size: 15px;
        font-weight: 500;
        fill: #000000;
        color: #000000;
        /* background: linear-gradient(106deg, rgba(243, 129, 25, 1) 46%, rgba(251, 204, 42, 1) 78%); */
        background-color: #fbcc2a;
        border-radius: 0px 0px 0px 0px;
        padding: 10px 10px;
        text-transform: uppercase;
        border: none;
        transition: all 0.2s;
        margin-top: 20px;
    }

    .hero-text .explore-btn:hover {
        background-color: #FFFFFF;
    }


    /* highlight-product */
    .product-1-container {
        height: 900px;
    }

    .highlight-product {
        background-color: #FFFFFF;
        text-align: start;
        position: absolute;
        top: 60%;
        left: 50%;
        transform: translate(-50%, -8vh);
        color: white;
    }

    .highlight-product-card-text-img {
        width: 25%;
    }

    .highlight-product-card-text h5 {
        font-family: "Jost", sans-serif;
        color: #222222;
        font-size: 20px;
        line-height: 28px;
        text-align: center;
        margin: 10px 0;
    }

    /* video */
    .video-iframe {
        height: 400px;
        width: 100%;
    }
}