﻿/* ===== CAROUSEL BASE ===== */
#heroCarousel {
    position: relative;
}

:root {
    color-scheme: light;
}


.carousel-item {
    height: 100vh; /* Full screen hero */
    overflow: hidden;
    position: relative;
}

.carousel-item {
    position: relative;
}

    .carousel-item::before {
        content: "";
        position: absolute;
        inset: 0;
        background: rgba(0, 0, 0, 0.4); /* adjust darkness */
        z-index: 1;
    }

    .carousel-item img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }


/* ===== ZOOM EFFECT ===== */
.zoom-img {
    transform: scale(1);
    animation: zoomIn 6s ease forwards;
}

/* Ensure animation only runs for active slide */
.carousel-item:not(.active) .zoom-img {
    animation: none;
    transform: scale(1);
}

/* ===== ZOOM KEYFRAMES ===== */
@keyframes zoomIn {
    from {
        transform: scale(1);
    }

    to {
        transform: scale(1.15);
    }
}

/* ===== SMOOTH SLIDE / FADE ===== */
.carousel-fade .carousel-item {
    transition: opacity 1s ease-in-out;
}

/* ===== PREVENT FLASH DURING TRANSITION ===== */
.carousel-item-next .zoom-img,
.carousel-item-prev .zoom-img {
    transform: scale(1);
}



/* ===== CAPTION STYLING ===== */
.carousel-caption {
    position: absolute;
    z-index: 2;
    bottom: 20%;
}

    .carousel-caption h2 {
        width: fit-content;
        padding: 10px;
        background-color: var(--primary-color-1);
        font-size: 48px;
        font-weight: 700;
        margin-bottom: 10px;
    }

    .carousel-caption p {
        font-size: 30px;
        font-weight: 600;
        width: fit-content;
        padding: 5px;
        color: white; /*
        background-color: rgba(0, 0, 0, 0.2);
        backdrop-filter: blur(6px);
        -webkit-backdrop-filter: blur(6px);*/
    }

.product-catlog {
    padding: 55px 0px;
}

    .product-catlog h2 {
        font-size: 40px;
        font-weight: 600;
        margin: 0;
    }

.subtitle {
    font-weight: 400 !important;
    letter-spacing: 1px;
    color: var(--primary-color);
    margin-top: -1px;
}

.product-container {
    transition: all 0.4s ease-in-out; /* applies smooth transition to all properties */
    background-image: linear-gradient(to top, rgba(0,0,0,0.9) 20%, rgba(0,0,0,0) 60%), var(--image-url);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    min-height: 210px;
    margin-bottom: 20px;
    border-radius: 10px;
    color: #fff;
    display: flex;
    align-items: flex-end;
    padding: 15px 15px 10px 15px;
    position: relative; /* for better positioning if needed */
}

    /* Titles and description */
    .product-container .product-title {
        width:100% !important;
        font-size: 20px;
        color: var(--primary-color);
        transition: transform 0.4s ease-in-out, color 0.4s ease-in-out; /* added color transition */
    }

    .product-container .product-description {
        margin-top: 5px;
        margin-bottom: 0;
        line-height: 17px;
        font-size: 14px;


        transition: transform 0.4s ease-in-out, color 0.4s ease-in-out; /* added color transition */
    }

    /* Hidden "Read More" */
    .product-container .nowmore {
        opacity: 0;
        transform: translateY(20px);
        transition: opacity 0.4s ease-in-out, transform 0.4s ease-in-out;
        position: absolute;
        bottom: 10px;
        left: 15px;
    }

    /* Hover effects */
    .product-container:hover {
        /* if you want background to change on hover, for example lighten */
        filter: brightness(1.05);
    }

        .product-container:hover .nowmore {
            opacity: 1;
            transform: translateY(0);
        }

        .product-container:hover .product-title,
        .product-container:hover .product-description {
            transform: translateY(-20px);
        }


.why-choose-us {
    padding: 60px 0;
}

    .why-choose-us h2 {
        font-size: 45px;
        font-weight: 600;
        margin: 0;
        color: #ffffff;
    }

    .why-choose-us .why-choose-us-main {
    }

        .why-choose-us .why-choose-us-main img {
            height: 78px;
            padding: 10px;
            filter: brightness(0) saturate(100%) invert(53%) sepia(41%) saturate(4878%) hue-rotate(347deg) brightness(98%) contrast(94%);
        }

        .why-choose-us .why-choose-us-main h3 {
            color: white;
            font-weight: 400 !important;
            font-size: 22px;
        }

        .why-choose-us .why-choose-us-main p {
            color: white;
            font-weight: 300 !important;
            font-size: 16px;
        }


.manf-we-repr {
    padding: 50px 0px;
}

    .manf-we-repr h2 {
        font-size: 40px;
        font-weight: 600;
        margin: 0;
        text-align: center;
    }

.owl-carousel-1 .img-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 120px; /* SAME height for all items */
    padding: 15px; /* Equal space around images */
}

    .owl-carousel-1 .img-wrap img {
        max-width: 100%;
        max-height: 80px; /* Keeps logos visually equal */
        width: auto;
        height: auto;
        object-fit: contain;
    }

.testimonial-cont {
    padding: 20px 0px;
    position: relative;
    background-image: url('../files/banner/pexels-zakhar-15508177.jpg');
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

    .testimonial-cont h1 {
        color: white;
    }

    .testimonial-cont p.desc {
        color: white;
        font-size: 22px;
        line-height: 28px;
    }


    .testimonial-cont::before {
        content: "";
        position: absolute;
        inset: 0;
        background-color: rgba(0, 0, 0, 0.7); /* change color & opacity */
        z-index: 1;
    }

    /* keep content above overlay */
    .testimonial-cont > * {
        position: relative;
        z-index: 2;
    }

.testimonial-msg-cont {
    background-color: rgba(242, 101, 34,0.5) !important;
    padding: 50px;
}

    .testimonial-msg-cont img.quote {
        width: 80px;
    }

    .testimonial-msg-cont .img-frame {
        width: 60px;
        height: 60px;
        border-radius: 50%;
        overflow: hidden;
        margin-right: 20px;
    }

        .testimonial-msg-cont .img-frame img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            display: block;
        }

.our-team-main .img-frame {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 10px; /* optional */
}

    .our-team-main .img-frame img {
        width: 100%;
        height: 100%;
        display: block;
        object-fit: cover;
    }

/* Gradient overlay at bottom 30% */
.our-team-main .img-gradient {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 30%; /* bottom 30% */
    background: linear-gradient(to top, #f26522, rgba(242, 101, 34, 0)); /* fades to transparent */
    display: flex;
    align-items: flex-end; /* name/designation at bottom of gradient */
    padding: 10px;
    box-sizing: border-box;
}

/* Text on gradient */
.our-team-main .team-info h3,
.our-team-main .team-info p {
    margin: 0;
    color: #fff;
}

.our-team-main .team-info h3 {
    font-size: 1rem;
    font-weight: 600;
}

.our-team-main .team-info p {
    font-size: 0.85rem;
    font-weight: 400;
}

.get-in-touch {
    background-color: white;
    border-radius: 10px 10px 10px 10px;
    box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 12px;
}

    .get-in-touch .get-in-touch-header {
        background-color: var(--primary-color-1);
        color: white;
        border-radius: 10px;
        padding: 20px;
    }

    .get-in-touch .get-in-touch-body {
        padding: 10px;
    }

        .get-in-touch .get-in-touch-body .get-in-touch-details {
            text-align: center;
            font-size: 20px;
        }

            .get-in-touch .get-in-touch-body .get-in-touch-details .col-md-4 {
                padding: 5px;
            }

                .get-in-touch .get-in-touch-body .get-in-touch-details .col-md-4 a {
                    text-decoration: none;
                    color:black;
                    font-weight:600;
                }

@media (max-width: 768px) {
    .carousel-item {
        height: 70vh;
    }

    .carousel-caption h2 {
        font-size: 28px;
        margin-bottom: 0PX;
    }

    .carousel-caption P {
        line-height: 25px;
        font-size: 20px;
    }

    .carousel-caption {
        width: 90%;
        bottom: 0;
        left: 50%;
        transform: translateX(-50%);
        text-align: left;
    }

    .product-container {
        min-height: 220px;
    }

        .product-container .product-title {
            font-size: 16px;
        }

        .product-container .product-description {
            line-height: 15px;
            font-size: 12px;
        }
}
