/* ===== Effluent Product Section Start ===== */

.effluent-container {
    padding: 60px 20px;
    background: #f5f5f5;
}

.effluent-title {
    font-size: 32px;
    margin-bottom: 30px;
    font-weight: 600;
}

.effluent-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.effluent-card {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.effluent-card h3 {
    color: #0d6efd;
    margin-bottom: 15px;
}

.effluent-content {
    display: flex;
    gap: 20px;
}

.effluent-img img {
    width: 200px;
    height: 150px;
    object-fit: cover;
    border: 1px solid #ccc;
}

.effluent-details p {
    margin: 5px 0;
    font-size: 14px;
}

.effluent-price {
    font-weight: bold;
    margin-top: 10px;
}

.enquiry-btn {
    margin-top: 15px;
    display: inline-block;
    padding: 10px 20px;
    background: #dc3545;
    color: #fff;
    border-radius: 4px;
    text-decoration: none;
}

.enquiry-btn:hover {
    background: #b02a37;
}

/* Responsive */
@media(max-width: 768px){
    .effluent-grid {
        grid-template-columns: 1fr;
    }

    .effluent-content {
        flex-direction: column;
    }

    .effluent-img img {
        width: 100%;
        height: auto;
    }
}

/* ===== Effluent Product Section End ===== */

/* ===== Fix Dropdown Visibility Issue ===== */

/* Make sure dropdown appears above everything */


/* Fix dropdown cut issue globally WITHOUT breaking hover */

.navbar .dropdown-menu {
    z-index: 9999;
}

/* Only remove overflow issue */
.bg-breadcrumb {
    overflow: visible !important;
}


.gallery-img {
    aspect-ratio: 1/1;
    width: 100%;        /* ADD THIS */
    height: 100%;       /* ADD THIS */
    object-fit: cover;

    transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

/* hover image ke parent pe lagao */
.card:hover .gallery-img {
    transform: scale(1.08);
}
.card {
    overflow: hidden;
    height:100%;
}




/* .gallery-container {
    padding: 260px 120px;
    text-align: center;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 120px;
}

.gallery-item img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 10px;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

/* Hover effect */
/* .gallery-item img:hover {
    transform: scale(1.08);
 box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

@media(max-width: 768px){
    .gallery-grid {
        grid-template-columns: 1fr;
    }
}
.gallery-item {
    opacity: 0;
    transform: translateY(50px);
    transition: 0.6s ease;
}
/* jab scroll me aaye */
/* .gallery-item.show {
    opacity: 1;
    transform: translateY(0);
}
.gallery-item.show:hover {
    transform: translateY(-10px);
}

.gallery-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
}

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.gallery-item:nth-child(1) { animation-delay: 0.1s; }
 .gallery-item:nth-child(2) { animation-delay: 0.2s; } 
 .gallery-item:nth-child(3) { animation-delay: 0.3s; } 
 .gallery-item:nth-child(4) { animation-delay: 0.4s; } 
 .gallery-item:nth-child(5) { animation-delay: 0.5s; } 
 .gallery-item:nth-child(6) { animation-delay: 0.6s; } 
 .gallery-item:nth-child(7) { animation-delay: 0.7s; } */ */

 .container {
    width: 80%;
    margin: auto;
    padding: 40px 0;
}   

.service-box {
    display: flex;
    gap: 30px;
    align-items: center;
}

.left {
    flex: 1;
}

.left img {
    width: 100%;
    border-radius: 10px;
}

.right {
    flex: 1;
}

.right h2 {
    margin-bottom: 15px;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .service-box {
        flex-direction: column;
    }
}






/* Animation keyframes */
@keyframes fadeSlideUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Background floating animation */
@keyframes bgMove {
    0% { background-position: center top; }
    50% { background-position: center center; }
    100% { background-position: center top; }
}

/* Main container */
    
/* Smooth page feel */
body {
    scroll-behavior: smooth;
}






/*  
.slider {
    width: 28%;
    max-width: 800px;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    margin: auto;
}

.slides {
    display: flex;
}

.slides img {
    width: 100%;          
    flex: 0  0 50%;       
    height: 50%;
    object-fit: cover;
}  */

/* .slider-img {
    height: 300px;
    object-fit: cover;
}
.carousel {
    max-width: 600px;   /* desktop size control */
    /* margin: auto; */
/* } */

/* @media (max-width: 768px)
 {
    .carousel {
        max-width: 100%;
    }

    .slider-img {
        height: 200px; 
    }
}  */



.custom-slider img {
    width: 100%;
    height: 350px;
    object-fit: contain;
}

/* Tablet */
@media (max-width: 992px) {
    .custom-slider img {
        height: 280px;
    }
}

/* Mobile */
@media (max-width: 576px) {
    .custom-slider img {
        height: 200px;
    }
}


.about-banner {
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;

    height: 60vh;
    padding: 0;
}


.custom-slider .carousel-inner {
    overflow: hidden;   /* 🔥 extra image hide */
}

.custom-slider .carousel-item {
    height: 350px;      /* 🔥 fix height */
}

.custom-slider img {
    width: 100%;
    height: 100%;
    object-fit: contain;  /* ya cover (agar cut chalta hai) */
}

@media (max-width: 768px) {
    .custom-slider .carousel-item {
        height: 200px;
    }
}

/* ===== Page Banner (Scoped) ===== */
.page-banner {
    height: 300px;
    overflow: hidden;
}

.page-banner .banner-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.page-banner .banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    text-align: center;
}

.page-banner h1 {
    font-size: 40px;
}

/* Mobile */
@media (max-width: 768px) {
    .page-banner {
        height: 180px;
    }

    .page-banner h1 {
        font-size: 24px;
    }
}


.navbar{
    z-index:9999;
}




.navbar .dropdown-toggle::after {
    display: none !important;
    content: none !important;
}
.navbar .nav-link,
.navbar .dropdown-toggle {
    position: relative;
}

.navbar .nav-link.active::after,
.navbar .dropdown-toggle.active::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -6px;
    transform: translateX(-50%);
    
    border-left: 7px solid transparent;
    border-right: 7px solid transparent;
    border-top: 7px solid #0d6efd;
}
/* for clients of home */
.img-box {
    width: 30%;
    height: 220px;
    margin: 5px;
    background: #f5f5f5; /* clean background */
    display: flex;
    align-items: center;
    justify-content: center;
}

.img-box img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain; /* ✅ NO CUT */
}
/* Button full height me rahe but center align ho */
.custom-btn {
    top: 50%;
    transform: translateY(-50%);
    width: auto;
}

/* Arrow styling */
.arrow {
    font-size: 40px;
    color: white;
    background: rgba(0,0,0,0.5);
    padding: 10px 15px;
    border-radius: 50%;
    display: inline-block;
}

/* Left & Right positioning */
.carousel-control-prev {
    left: 10px;
}

.carousel-control-next {
    right: 10px;
}
.custom-btn {
    top: 90;  /* pehle 50% tha → ab thoda upar */
    transform: translateY(-45%);
}
.gallery-img {
    transition: transform 0.4s ease;
}

.card:hover .gallery-img {
    transform: scale(1.1);
}

.custom-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    padding-top: 60px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.9);
    text-align: center;
}

.custom-modal img {
    max-width: 90%;
    max-height: 80vh;
    margin-top: 40px;
}

.close-btn {
    position: absolute;
    top: 20px;
    right: 40px;
    color: #fff;
    font-size: 40px;
    cursor: pointer;
}

.nav {
    position: absolute;
    top: 50%;
    color: white;
    font-size: 50px;
    cursor: pointer;
    padding: 10px;
    user-select: none;
}

.left { left: 20px; }
.right { right: 20px; }


/* /* for underline triangles */

.nav-item.active .nav-link {
    color: #00bcd4 !important;
}

.nav-item.active::after {
    content: "";
    display: block;
    margin: auto;
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 6px solid #00bcd4;
}