/* SCROLL LAG FIX */
html, body{
    scroll-behavior: smooth;
}

img, .wow, .owl-carousel, section, div{
    transform: translateZ(0);
    backface-visibility: hidden;
    will-change: transform;
}

section{
    contain: layout paint;
}

.color{
    color: #ce9233;
}

/********** Template CSS **********/

.back-to-top {
    position: fixed;
    display: none;
    right: 30px;
    bottom: 30px;
    z-index: 99;
}

.justify {
    text-align: justify;
     hyphens: auto;
}

.fw-medium {
    font-weight: 600;
}

.mt-6 {
    margin-top: 5rem;
}

.mb-6 {
    margin-bottom: 5rem;
}

.pt-6 {
    padding-top: 3rem;
}

.pb-6 {
    padding-bottom: 2rem;
}


/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}


/*** Button ***/
.btn {
    transition: .5s;
    font-weight: 600;
    text-transform: uppercase;
}

.btn-primary,
.btn-outline-primary:hover {
    color: var(--bs-light);
}

#button-1 {
    color: var(--bs-light);
    position: relative;
    top: -20%;
}

#button-2 {
    color: var(--bs-light);
    position: relative;
    top: 10%;
    left: 30%;
}

#button-3 {
    color: var(--bs-light);
    position: relative;
    top: 22%;
    left: 50%;
}

#button-4 {
    color: var(--bs-light);
    position: relative;
    top: 26%;
    left: 68%;
}

.btn-secondary,
.btn-outline-secondary:hover {
    color: var(--bs-dark);
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-xl-square {
    width: 60px;
    height: 60px;
}

.btn-xxl-square {
    width: 75px;
    height: 75px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square,
.btn-xl-square,
.btn-xxl-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
}









/*** Navbar ***/
.sticky-top {
    top: -100px;
    transition: .5s;
}

.navbar .navbar-nav .nav-link {
    margin-right: 35px;
    padding: 25px 0;
    color: var(--bs-dark);
    font-size: 16px;
    text-transform: uppercase;
    font-weight: 600;
    outline: none;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: var(--bs-primary);
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 8px;
}

@media (max-width: 991.98px) {
    .navbar .navbar-nav .nav-link  {
        margin-right: 0;
        padding: 10px 0;
    }

    .navbar .navbar-nav {
        margin-top: 15px;
        border-top: 1px solid #EEEEEE;
    }
}

@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        border: none;
        margin-top: 0;
        top: 150%;
        opacity: 0;
        visibility: hidden;
        transition: .5s;
    }

    .navbar .nav-item:hover .dropdown-menu {
        top: 100%;
        visibility: visible;
        transition: .5s;
        opacity: 1;
    }
}

/* PIPE ROLL ANIMATION */
.rolling-pipe{
    position: absolute;
    top: 20px; /* navbar ke andar adjust kar sakte ho */
    left: -300px;
    width: 100px;
    z-index: 1;
    pointer-events: none;
    animation: pipeRoll 10s linear infinite;
}

.rolling-pipe img{
    width: 100%;
    animation: pipeRotate 2s linear infinite;
}

/* Pipe move left to right */
@keyframes pipeRoll{
    0%{
        left: -300px;
        opacity: 0;
    }
    10%{
        opacity: 1;
    }
    50%{
        left: 50%;
    }
    100%{
        left: 110%;
        opacity: 0;
    }
}

@keyframes pipeRotate{
    0%{
        transform: rotate(0deg);
    }
    50%{
        transform: rotate(90deg); /* 🔥 25% of 360 */
    }
    100%{
        transform: rotate(0deg);
    }
}

@media (max-width: 768px) {
    .rolling-pipe{
        display: none;
    }

    .carousel .carousel-indicators {
            top: 0;
            bottom: 0;
            left: -10% !important;
            right: auto;
            width: 220px;
            flex-direction: column;
            margin: 0;
            margin-left: 3rem;
            z-index: 3;
            display: none;
    }
    
    .row>* {
        flex-shrink: 0;
        width: 100% !important;
        max-width: 100%;
        padding-right: calc(var(--bs-gutter-x) / 2);
        padding-left: calc(var(--bs-gutter-x) / 2);
        margin-top: var(--bs-gutter-y);
    }



}
/* 
@media (max-width: 375px) {

    .carousel .carousel-indicators {
            top: 0;
            bottom: 0;
            left: 70% !important;
            right: auto;
            width: 220px;
            flex-direction: column;
            margin: 0;
            margin-left: 3rem;
            z-index: 3;
    }
    
} */


.navbar{
    position: relative;
    z-index: 5;
}

/*** Header ***/
.carousel .carousel-caption {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    text-align: left;
    background: rgba(0, 0, 0, .65); /* thoda light kiya */
    padding: 3rem;
    padding-left: 11rem;
    z-index: 2;
}

/* Indicators */
.carousel .carousel-indicators {
    /* top: 0; */
    bottom: 0;
    left: 38%;
    right: auto;
    width: 220px;
    /* flex-direction: column; */
    /* margin: 0; */
    margin-left: 3rem;
    z-index: 3;
}

.carousel .carousel-indicators [data-bs-target] {
    width: 70px;
    height: 70px;
    text-indent: 0;
    margin: 6px 0;
    border: 2px solid #fff;
    overflow: hidden;
}

.carousel .carousel-indicators [data-bs-target] img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* -------- PIPE ANIMATION PART -------- */

.pipe {
    position: absolute;
    z-index: 1;
    opacity: 0.95;
    pointer-events: none;
}

.pipe-one {
    width: 300px;
    right: 10%;
    top: 15%;
    animation: pipeRotate 14s linear infinite,
               pipeFloat 4s ease-in-out infinite;
}

.pipe-two {
    width: 220px;
    right: -40px;
    bottom: 10%;
    animation: pipeRotateReverse 18s linear infinite,
               pipeFloat 5s ease-in-out infinite;
}

/* Animations */
@keyframes pipeRotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes pipeRotateReverse {
    from { transform: rotate(360deg); }
    to { transform: rotate(0deg); }
}

@keyframes pipeFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

/* -------- RESPONSIVE -------- */

@media (max-width: 992px) {
    .carousel .carousel-item {
        position: relative;
        min-height: 600px;
    }

    .carousel .carousel-item img {
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .carousel .carousel-indicators [data-bs-target] {
        width: 60px;
        height: 60px;
    }

    .carousel .carousel-caption {
        padding-left: 9rem;
    }

    /* mobile pe pipes hide */
    .pipe {
        display: none;
    }
}

@media (max-width: 768px) {
    .carousel .carousel-item {
        min-height: 250px;
    }

    .carousel .carousel-indicators [data-bs-target] {
        width: 50px;
        height: 50px;
    }

    .carousel .carousel-caption {
        padding-left: 7rem;
        font-size: 10px;
        padding: 0px;
        margin: 0px;
    }
    
}

@media (min-width: 1200px) {
    .carousel .carousel-item .display-1 {
        font-size: 6.5rem;
    }
    .carousel .carousel-item .display-2 {
        font-size: 2.5rem;
        position: relative;
        top: -20%;
    }
    .carousel .carousel-item .display-3 {
        font-size: 2.5rem;
        position: relative;
        top: 10%;
        left: 30%;
    }
    .carousel .carousel-item .display-4 {
        font-size: 2.5rem;
        position: relative;
        top: 22%;
        left: 40%;
    }
    .carousel .carousel-item .display-5 {
        font-size: 2.5rem;
        position: relative;
        top: 26%;
        left: 50%;
    }
}

/* Page Header (unchanged, safe) */
.page-header {
    background: linear-gradient(rgba(0,0,0,.7), rgba(0,0,0,.7)),
                url(../img/carousel-1.jpg) center center no-repeat;
    background-size: cover;
}

/* Pipe Overlay on Banner */
.pipe-overlay {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 260px;
    z-index: 2;
    pointer-events: none;
    animation: pipeRotate 14s linear infinite,
               pipeFloat 4s ease-in-out infinite;
}

/* Right side pipe */
.pipe-right {
    right: 8%;
}

/* Left side pipe (agar kabhi chahiye) */
.pipe-left {
    left: 8%;
}

/* Subtle 25% Rotation */
@keyframes pipeRotate {
    0%   { transform: translateY(-50%) rotate(0deg); }
    50%  { transform: translateY(-50%) rotate(90deg); } /* 25% of 360 */
    100% { transform: translateY(-50%) rotate(0deg); }
}

/* Full 360° Rotation */
@keyframes pipeRotate1 {
    0% {
        transform: translateY(-50%) rotate(0deg);
    }
    100% {
        transform: translateY(-50%) rotate(360deg);
    }
}

@keyframes pipeFloat {
    0%,100% { margin-top: 0; }
    50% { margin-top: -20px; }
}

/* Mobile pe pipe hide */
@media (max-width: 768px) {
    .pipe-overlay {
        /* display: none; */
        width: 50% !important;
        height: 10% !important;
        position: relative;
        right: -70px !important;
    }
    
}

/* Slide 1 – Pipe touching right edge */
.pipe-slide-1 {
    position: absolute;
    top: 50%;
    right: -120px;   /* 🔥 yahi magic hai */
    width: 320px;
    transform: translateY(-50%);
    z-index: 2;
    pointer-events: none;
    animation: pipeRotate 16s linear infinite,
               pipeFloat 4s ease-in-out infinite;
}

.pipe-slide-2 {
    position: absolute;
    top: 50%;
    left: 200px;
    width: 320px;
    transform: rotate(50deg);
    z-index: 999;
    pointer-events: auto;
    animation: glowPulse 2.5s ease-in-out infinite;
    transition: transform 0.4s ease, filter 0.4s ease;
}

@keyframes glowPulse {
    0% {
        transform: rotate(50deg) scale(1);
        filter: drop-shadow(0 0 0px rgba(255, 140, 0, 0.0));
    }
    50% {
        transform: rotate(50deg) scale(1.05);
        filter: drop-shadow(0 0 25px rgba(255, 140, 0, 0.9));
    }
    100% {
        transform: rotate(50deg) scale(1);
        filter: drop-shadow(0 0 0px rgba(255, 140, 0, 0.0));
    }
}


/* Slide 1 – Pipe touching right edge */
.pipe-slide-3 {
    position: absolute;
    top: 43%;
    right: 100px;   /* 🔥 yahi magic hai */
    width: 400px;
    transform: rotate() !important;
    z-index: 2;
    pointer-events: none;
    animation: glowPulse 2.5s ease-in-out infinite;
    /* animation: pipeRotate 16s linear infinite,
               pipeFloat 4s ease-in-out infinite; */
}

/* Slide 1 – Pipe touching right edge */
.pipe-slide-4 {
    position: absolute;
    top: 30%;
    right: 100px;   /* 🔥 yahi magic hai */
    width: 400px;
    transform: rotate();
    z-index: 2;
    pointer-events: none;
    animation: glowPulse 2.5s ease-in-out infinite;
    /* animation: pipeRotate 16s linear infinite,
               pipeFloat 4s ease-in-out infinite; */
}

/* Slide 1 – Pipe touching right edge */
.pipe-slide-5 {
    position: absolute;
    top: 55%;
    right: 100px;   /* 🔥 yahi magic hai */
    width: 400px;
    transform: rotate();
    z-index: 2;
    pointer-events: none;
    animation: glowPulse 2.5s ease-in-out infinite;
    /* animation: pipeRotate 16s linear infinite,
               pipeFloat 4s ease-in-out infinite; */
}

.pipe-slide-6 {
    position: absolute;
    top: 30%;
    left: 150px;   /* 🔥 yahi magic hai */
    width: 400px;
    transform: rotate();
    z-index: 2;
    pointer-events: none;
    animation: glowPulse 2.5s ease-in-out infinite;
    /* animation: pipeRotate 16s linear infinite,
               pipeFloat 4s ease-in-out infinite; */
}

.pipe-slide-7 {
    position: absolute;
    top: 17%;
    right: 18%;   /* 🔥 yahi magic hai */
    width: 300px;
    transform: rotate();
    z-index: 2;
    pointer-events: none;
    animation: glowPulse 2.5s ease-in-out infinite;
    /* animation: pipeRotate 16s linear infinite,
               pipeFloat 4s ease-in-out infinite; */
}

.pipe-slide-8 {
    position: absolute;
    top: 10%;
    left: -10%;   /* 🔥 yahi magic hai */
    width: 500px;
    transform: rotate(-50deg);
    z-index: 2;
    pointer-events: none;
    animation: none;
    /* animation: pipeRotate 16s linear infinite,
               pipeFloat 4s ease-in-out infinite; */
}

/* Banner Text Styling */
.welcome-text{
    color: #fff;
    font-size: 40px;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 10px;
    display: inline-block;
}

.banner-subtext{
    color: #545454;
    background: #fff;
    display: inline-block;
    padding: 8px 14px;
    font-size: 16px;
    margin-bottom: 25px;
}

/* Button */
.banner-btn{
    background-color: #ce9233;
    color: #fff;
    padding: 14px 34px;
    border: none;
    text-transform: uppercase;
    font-weight: 600;
    transition: all 0.3s ease;
}

.banner-btn:hover{
    background-color: #545454;
    color: #fff;
}

/* Text Animation */
.animate-text{
    opacity: 0;
    transform: translateY(30px);
    animation: textFadeUp 1s ease forwards;
}

.animate-text.delay-1{ animation-delay: 0.3s; }
.animate-text.delay-2{ animation-delay: 0.6s; }
.animate-text.delay-3{ animation-delay: 0.9s; }

@keyframes textFadeUp{
    to{
        opacity: 1;
        transform: translateY(0);
    }
}

.contact-btn {
    display: inline-block;
    padding: 12px 30px;
    font-size: 18px;
    font-weight: bold;
    color: #fff;                /* text color stays sharp */
    text-decoration: none;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.2); /* semi-transparent for blur */
    backdrop-filter: blur(8px);          /* main blur effect */
    -webkit-backdrop-filter: blur(8px);  /* Safari support */
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.contact-btn:hover {
    background: transparent;
    border: none;
    color: #797672;
    transform: scale(1.05);   /* subtle hover animation */
}








/*** About ***/
.about-img {
    position: relative;
    padding-left: 45px;
}

.about-img::before {
    position: absolute;
    content: "";
    width: 200px;
    height: 300px;
    top: 0;
    left: 0;
    border: 5px solid var(--bs-primary);
    animation: animateUpDown 3s ease-in-out infinite;
    z-index: -1;
}

@keyframes animateUpDown { 
    0% { 
        top: -25px;
    }
    50% { 
        top: -45px;
    }
    100% { 
        top: -25px;
    } 
}


/*** Features ***/
.feature {
    background: linear-gradient(to right, rgba(0, 0, 0, .1), rgba(0, 0, 0, 1) 50%), url(../img/home-image.jpg) left center no-repeat;
    background-size: cover;
}

.feature-row {
    box-shadow: 0 0 45px rgba(0, 0, 0, .08);
}

.feature-item {
    border-color: rgba(0, 0, 0, .03) !important;
}

.feature-icon {
    position: relative;
    transition: .5s;
}

.feature-item:hover .feature-icon {
    margin-left: 3rem;
}

.feature-item a::after {
    position: absolute;
    content: "";
    width: 100%;
    height: 1px;
    /*background: var(--bs-secondary);*/
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    z-index: -1;
}

.feature-item a:hover {
    color: var(--bs-primary) !important;
}

.feature-item a:hover::after {
    background: var(--bs-primary);
}

.experience .progress {
    height: 5px;
}

.experience .progress .progress-bar {
    width: 0px;
    transition: 3s;
}


/*** Service ***/
.service .service-item {
    position: relative;
    margin-top: 45px;
}

.service .service-inner {
    position: relative;
    height: 100%;
    margin-top: 45px;
    background: var(--bs-white);
    box-shadow: 0 0 45px rgba(0, 0, 0, .05);
}

.service .service-inner::before {
    position: absolute;
    content: "";
    width: 100%;
    height: 0;
    left: 0;
    bottom: 0;
    transition: 1s;
    background: var(--bs-primary);
}

.service .service-inner:hover::before {
    height: 100%;
    top: 0;
}

.service .service-item img {
    margin-top: -45px;
    padding-left: 45px;
}

.service .service-item * {
    position: relative;
    transition: .5s;
    z-index: 1;
}

.service .service-item:hover h5,
.service .service-item:hover p {
    color: var(--bs-white);
}

.service .service-item:hover a {
    padding-left: 45px !important;
}


/*** Appoinment ***/
.appoinment {
    background: linear-gradient(rgba(0, 0, 0, .7), rgba(0, 0, 0, .7)), url(../img/home-image-bg.png) left center no-repeat;
    background-size: cover;
    background-attachment: fixed;   /* 👈 ye main cheez hai */
}


/*** Team ***/
.team .team-item {
    background: var(--bs-white);
    box-shadow: 0 0 45px rgba(0, 0, 0, .05);
}

.team .team-item .team-social {
    position: absolute;
    width: 0;
    height: 100%;
    top: 0;
    right: 0;
    transition: .5s;
    background: var(--bs-primary);
    display: flex;
    align-items: center;
    justify-content: center;
}

.team .team-item:hover .team-social {
    width: 100%;
    left: 0;
}

.team .team-item .team-social .btn {
    opacity: 0;
    transition: .5s;
}

.team .team-item:hover .team-social .btn {
    opacity: 1;
}


/*** Testimonial ***/
.testimonial-img {
    position: relative;
    min-height: 400px;
    overflow: hidden;
}

.testimonial-img div {
    position: absolute;
    width: 100px;
    height: 100px;
    animation-duration: 5s;
}

.testimonial-img div:nth-child(1) {
    top: 10%;
    left: 10%;
    animation-delay: .1s;
}

.testimonial-img div:nth-child(2) {
    top: 60%;
    left: 20%;
    animation-delay: .4s;
}

.testimonial-img div:nth-child(3) {
    top: 20%;
    left: 60%;
    animation-delay: .7s;
}

.testimonial-img div:nth-child(4) {
    bottom: 10%;
    right: 10%;
    animation-delay: 1s;
}

.testimonial-img div::after {
    position: absolute;
    content: "";
    top: -1px;
    right: -1px;
    bottom: -1px;
    left: -1px;
    box-shadow: 0 0 10px 10px var(--bs-white) inset;
    z-index: 1;
}

.testimonial-carousel .owl-item img {
    width: 100px;
    height: 100px;
}

.testimonial-carousel .owl-nav {
    margin-top: 15px;
    display: flex;
}

.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next {
    margin-right: 15px;
    color: var(--bs-primary);
    font-size: 45px;
    transition: .5s;
}

.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {
    color: var(--bs-dark);
}

/* Center testimonial cards */
.testimonial-carousel {
    max-width: 850px;
    margin: auto;
}

/* Center content inside each testimonial */
.testimonial-item {
    text-align: center;
    padding: 10px 40px;
}

.testimonial-item .d-flex {
    justify-content: center;
}

/* Center stars */
.testimonial-item .mb-2 {
    text-align: center;
}

/* arrows container ko center karo */
.testimonial-carousel .owl-nav {
    position: relative;
    width: 100%;
    margin-top: 25px;
    display: flex;
    justify-content: center;
    gap: 25px;
}

/* arrow buttons styling */
.testimonial-carousel .owl-nav button {
    width: 45px;
    height: 45px;
    border-radius: 50% !important;
    background: #f4f4f4 !important;
    color: #c89b3c !important;
    font-size: 22px !important;
    transition: 0.3s;
}

/* hover effect */
.testimonial-carousel .owl-nav button:hover {
    background: #c89b3c !important;
    color: #fff !important;
}

/*** Contact ***/
@media (min-width: 992px) {
    .contact-info::after {
        position: absolute;
        content: "";
        width: 0px;
        height: 100%;
        top: 0;
        left: 50%;
        border-left: 1px dashed rgba(255, 255, 255, .2);
    }
}

@media (max-width: 991.98px) {
    .contact-info::after {
        position: absolute;
        content: "";
        width: 100%;
        height: 0px;
        top: 50%;
        left: 0;
        border-top: 1px dashed rgba(255, 255, 255, .2);
    }
}


/*** Appoinment ***/
.newsletter {
    background: linear-gradient(rgba(0, 0, 0, .7), rgba(0, 0, 0, .7)), url(../img/home-image-bg2.jpg) left center no-repeat;
    background-size: cover;
    background-attachment: fixed;   /* 👈 ye main cheez hai */
}


/*** Footer ***/
.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: var(--bs-secondary);
    font-weight: normal;
    text-transform: capitalize;
    transition: .3s;
}

.footer .btn.btn-link::before {
    position: relative;
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color: var(--bs-primary);
    margin-right: 10px;
}

.footer .btn.btn-link:hover {
    color: var(--bs-primary);
    letter-spacing: 1px;
    box-shadow: none;
}

.copyright {
    background: #222222;
}

.copyright a {
    color: var(--bs-white);
}

.copyright a:hover {
    color: var(--bs-primary);
}

/* 
.infra-box {
    height: 360px;
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    transform: translateY(0);
    transition: transform 0.35s ease;
}

.infra-box::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(0,0,0,0.85),
        rgba(0,0,0,0.4),
        rgba(0,0,0,0.2)
    );
    transition: 0.4s ease;
}

.infra-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

.infra-box:hover::before {
    background: linear-gradient(
        to top,
        rgba(0,0,0,0.7),
        rgba(0,0,0,0.3),
        rgba(0,0,0,0.15)
    );
}

.infra-content {
    position: absolute;
    bottom: 0;
    padding: 30px;
    color: #fff;
    z-index: 2;
    transform: translateY(40px);
    transition: all 0.4s ease;
}

.infra-box:hover .infra-content {
    transform: translateY(0);
}

.infra-content h5 {
    text-transform: uppercase;
    font-size: 19px;
    margin-bottom: 10px;
}

.infra-content p {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 10px;
    opacity: 0.95;
}

.infra-content span {
    font-size: 13px;
    font-weight: 500;
    opacity: 0.85;
} */

/* ============================= */
/* INFRASTRUCTURE SECTION */
/* ============================= */

.infra-section {
    background: #111;
    color: #fff;
}

/* Box Design */
.infra-box {
    position: relative;
    height: 300px;
    background-size: cover;
    background-position: center;
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    cursor: pointer;
    transition: 0.4s ease;
}

/* Dark Overlay */
.infra-box::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    transition: 0.4s ease;
}

/* Content Hidden Initially */
.infra-content {
    position: relative;
    text-align: center;
    padding: 20px;
    transform: translateY(100%);
    opacity: 0;
    transition: 0.4s ease;
}

.infra-content h5 {
    margin-bottom: 10px;
    font-weight: 600;
    color: #ce9233;
}

.infra-content p {
    font-size: 14px;
}

/* Arrow */
.infra-arrow {
    position: absolute;
    bottom: 20px;
    font-size: 20px;
    transition: 0.4s ease;
    z-index: 2;
}

/* Hover Effects */
.infra-box:hover .infra-content {
    transform: translateY(0);
    opacity: 1;
}

.infra-box:hover .infra-arrow {
    transform: translateY(-40px);
}

.infra-box:hover::before {
    background: rgba(0, 0, 0, 0.75);
}

/* Responsive */
@media (max-width: 768px) {
    .infra-box {
        height: 250px;
    }
    
    .feature-item a::after {
        display: none;
    }
    
    
    .bi-arrow-right::before {
        margin-right: 150px;
    }
}



.whatsapp-float {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 90px; /* tap-to-top se upar rahe */
  right: 20px;
  background-color: #fff;
  color: #25d366;
  border-radius: 50%;
  text-align: center;
  font-size: 28px;
  line-height: 55px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
  z-index: 9999;
  transition: all 0.3s ease;
}

.whatsapp-float:hover {
  background-color: #2b2c2e;
  transform: scale(1.1);
}

.whatsapp-float i {
  margin-top: 16px;
}
/* Common Floating Button Styles */
.float_btn {
    position: fixed;
    right: 20px;
    z-index: 1000;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 6px rgba(0,0,0,0.3);
    transition: all 0.3s ease;
    margin-bottom: 12px;
}

/* Specific Positions */
.call { bottom: 150px; }
.location { bottom: 225px; }

/* Default Icon Size */
.float_btn i {
    font-size: 28px;
}

/* Default Colors */
.call i { color: #007bff; }        /* Blue Phone */
.location i { color: #ff4d4d; }    /* Red Location */

/* Hover Effect */
.float_btn:hover {
    transform: scale(1.1);
    background-color: #2b2c2e;
}

/* Hover Icon Color Change */
.float_btn:hover i {
    color: #ce9233;
}


  /* Continuous Floating Animation */
.whatsapp-float,
.float_btn {
    animation: floatBreath 3s ease-in-out infinite;
}

@keyframes floatBreath {
    0%,100% {
        transform: translateY(0) scale(1);
    }
    50% {
        transform: translateY(-6px) scale(1.05);
    }
}

/* Hover Shake only on Icon */
.whatsapp-float:hover i,
.float_btn:hover i {
    animation: shake 1.5s ease;
}

@keyframes shake {
    0% { transform: rotate(0deg); }
    25% { transform: rotate(0deg); }
    50% { transform: rotate(-360deg); }
    75% { transform: rotate(10deg); }
    100% { transform: rotate(0deg); }
}



/* CHANGES */



.social-img{
    width: 18px;
    height: 18px;
    object-fit: contain;
}

.top-icons {
    /*background: none;*/
    border: none;
}





/* =========================
   TABLET FIX
========================= */
@media (max-width: 991px){

    .carousel .carousel-caption{
        align-items: center !important;
        text-align: center !important;
        padding: 2rem !important;
        padding-left: 2rem !important;
    }

    .welcome-text{
        font-size: 28px !important;
    }

    .main-heading{
        font-size: 36px !important;
    }

    .sub-heading{
        font-size: 18px !important;
    }
}


/* =========================
   MOBILE FIX
========================= */
@media (max-width: 576px){

    .carousel .carousel-caption{
        padding: 1.5rem !important;
        justify-content: center !important;
    }

    .welcome-text{
        font-size: 20px !important;
        top: 5% !important;
        left: -47% !important;
        width: 100%;
    }

    .main-heading{
        font-size: 24px !important;
        top: 0% !important;
        left: -47%;
        width: 100%;
    }

    .sub-heading{
        font-size: 10px !important;
        width: 100%;
        top: 0% !important;
        left: -47%;
    }

    .contact-btn{
        /* padding: 10px 20px !important; */
        font-size: 10px !important;
        left: -70%;
        top: 8% !important;
    }

    /* Banner image height fix */
    .carousel-item img{
        height: 65vh;
        object-fit: cover;
    }

}


/* =========================
   PIPE TABLET
========================= */
@media (max-width: 991px){

    .pipe-overlay{
        width: 180px !important;
    }

    .pipe-slide-1{ right: -60px !important; }
    .pipe-slide-2{ left: 40px !important; }
    .pipe-slide-3,
    .pipe-slide-4,
    .pipe-slide-5{
        right: 20px !important;
        width: 200px !important;
    }

    .pipe-slide-6{
        left: 20px !important;
        width: 200px !important;
    }

    .pipe-slide-7{
        right: 5% !important;
        width: 160px !important;
    }

    .pipe-slide-8{
        width: 220px !important;
        left: -5% !important;
    }
}

@media (max-width: 576px){
    .pipe-overlay{
        display: none !important;
    }
}

@media (max-width: 991px){

    #button-1,
    #button-2,
    #button-3,
    #button-4{
        position: static !important;
        margin: 10px auto !important;
        display: block !important;
        text-align: center !important;
    }
}

@media (max-width: 768px) {
    
    #button-2{
        position: relative !important;
        top: 60px;
        left: 0;
        width: 40%;
    }

    #text-2 {
        position: relative;
        top: 60px;
    }

    #button-3{
        position: relative !important;
        top: 60px;
        left: 0;
        width: 40%;
    }

    #text-3 {
        position: relative;
        top: 60px;
    }

}


/* ============================= */
/* SLIDE 2 & 3 RESPONSIVE FIX */
/* ============================= */

/* Tablet View */
@media (max-width: 991px) {

    /* Slide 2 & 3 Caption */
    .carousel-item .carousel-caption {
        text-align: center !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
        bottom: 40px !important;
        width: 90%;
    }

    .carousel-item .carousel-caption h1 {
        font-size: 32px !important;
        margin-bottom: 15px !important;
    }

    .carousel-item .carousel-caption .btn {
        padding: 10px 20px !important;
        font-size: 14px !important;
        /* margin-bottom: 20px; */
   
    }

    /* Pipes size adjust */
    .pipe-overlay {
        width: 120px !important;
    }
}


/* Mobile View */
@media (max-width: 576px) {

    .carousel-item .carousel-caption {
        bottom: 20px !important;
        width: 100%;
        height: 100%;
    }

    .carousel-item .carousel-caption h1 {
        font-size: 20px !important;
        line-height: 1.3 !important;
    }

    .carousel-item .carousel-caption .btn {
        font-size: 12px !important;
        padding: 8px 15px !important;
             width: 110px;
             left: -47%;
    }

    /* Hide extra pipes on small screens */
    .pipe-slide-3,
    .pipe-slide-4,
    .pipe-slide-5,
    .pipe-slide-6,
    .pipe-slide-7 {
        display: none !important;
    }

    .pipe-overlay {
        width: 80px !important;
    }
}


#same {
    margin-top: 25px;
}



/* Overlay */
.popup-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.7);
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

/* Popup Box */
.popup-content {
    background: #fff;
    width: 90%;
    max-width: 400px;
    padding: 30px;
    border-radius: 10px;
    position: relative;
    animation: popupFade 0.3s ease;
}

@keyframes popupFade {
    from { transform: scale(0.8); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

/* Close Button */
.close-btn {
    position: absolute;
    right: 15px;
    top: 10px;
    font-size: 22px;
    cursor: pointer;
}

/* Inputs */
.popup-content input,
.popup-content textarea {
    width: 100%;
    margin-bottom: 15px;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.popup-content textarea {
    height: 80px;
}

/* Submit Button */
.submit-btn {
    width: 100%;
    padding: 12px;
    background: #CE9233;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.submit-btn:hover {
    background: #333;
}

/* Open Button */
.open-popup-btn {
    padding: 12px 25px;
    background: #CE9233;
    color: #fff;
    border: none;
    cursor: pointer;
}

.popup-content select {
    width: 100%;
    margin-bottom: 15px;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    background: #fff;
}







/* ============================= */
/* MOBILE NAVBAR DESIGN ONLY */
/* ============================= */

@media (max-width: 991px) {

    /* Collapse menu background */
    .mobile-nav-design .navbar-collapse {
        margin-top: 10px;
        padding: 20px;
        border-radius: 15px;

        /* OPTION 1: Premium Gradient BG */
        background: linear-gradient(135deg, #797672, #545454);

        /* OPTION 2: Image Background (Agar image use karna ho to upar wali line hata kar ye use karo) */
        /*
        background: url('img/nav-bg.jpg');
        background-size: cover;
        background-position: center;
        */
    }

    /* Nav links center */
    .mobile-nav-design .navbar-nav {
        width: 100%;
        text-align: center;
    }

    .mobile-nav-design .nav-item {
        width: 100%;
    }

    .mobile-nav-design .nav-link {
        color: #ce9233 !important;
        font-size: 17px;
        font-weight: 500;
        padding: 14px 0;
        transition: 0.3s ease;
    }

    /* Hover effect */
    .mobile-nav-design .nav-link:hover {
        background: rgba(255,255,255,0.15);
        border-radius: 8px;
    }

    /* Dropdown menu mobile */
    .mobile-nav-design .dropdown-menu {
        background: rgba(255,255,255,0.1);
        border: none;
        text-align: center;
    }

    .mobile-nav-design .dropdown-item {
        color: #fff;
        padding: 10px 0;
        background: #797672;
    }

    .mobile-nav-design .dropdown-item:hover {
        background: rgba(255,255,255,0.2);
        color: #ce9233;
    }

    /* Quote button full width */
    .mobile-nav-design .btn {
        width: 100%;
        margin-top: 15px;
        border-radius: 8px;
    }

}





/* Smooth transition */
.why-icon {
    font-size: 32px;
    transition: transform 0.4s ease, color 0.4s ease;
    animation: floatIcon 2.5s ease-in-out infinite;
}

/* Hover on whole section */
.why-wrapper:hover .why-icon {
    transform: translateY(-8px) scale(1.15);
    color: #d4a017; /* optional gold */
}

@keyframes floatIcon {
    0% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
    100% { transform: translateY(0); }
}

/* Smooth animation */
.section-icon {
    transition: transform 0.4s cubic-bezier(.68,-0.55,.27,1.55);
}

/* Hover effect on whole block */
.section-wrapper:hover .section-icon {
    transform: translateY(-8px) scale(1.15);
    color: #d4a017; /* optional gold */
}

/* Smooth transition */
.hover.bg-white {
    transition: all 0.4s ease;
}

/* Hover Effect */
.hover.bg-white:hover {
    background-color: #2b2c2e !important;
    transform: translateY(-5px);
}

/* Heading & Paragraph Text Color */
.hover.bg-white:hover h2,
.hover.bg-white:hover p {
    color: #ce9233 !important;
}

/* Icon Color */
.hover.bg-white:hover .section-icon {
    color: #ce9233 !important;
}






/* pvc casing capping design */

.spec-card {
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
    border: 2px solid transparent;
}

/* Animated Gradient Border */
.spec-card::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 10px;
    padding: 2px;
    background: linear-gradient(45deg, #ce9233, #2b2c2e, #ce9233);
    -webkit-mask: 
        linear-gradient(#fff 0 0) content-box, 
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
            mask-composite: exclude;
    opacity: 0;
    transition: 0.4s;
}

/* Hover Effect */
.spec-card:hover::before {
    opacity: 1;
}

.spec-card:hover {
    transform: translateY(-10px) scale(1.02);
    background: rgba(43,44,46,0.95);
}

.spec-card:hover h5,
.spec-card:hover p,
.spec-card:hover i {
    color: #ce9233 !important;
}


.why-card {
    position: relative;
    overflow: hidden;
    transition: 0.4s ease;
}

/* Animated Left Border */
.why-card::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 5px;
    height: 0%;
    background: #ce9233;
    transition: 0.4s ease;
}

.why-card:hover::before {
    height: 100%;
}

.why-card:hover {
    background: #2b2c2e;
    transform: translateY(-8px);
}

.why-card:hover h5,
.why-card:hover p,
.why-card:hover i {
    color: #ce9233 !important;
}

.why-card {
    opacity: 0;
    transform: translateY(40px);
    animation: fadeUp 0.8s ease forwards;
}

.why-card:nth-child(1) { animation-delay: 0.2s; }
.why-card:nth-child(2) { animation-delay: 0.4s; }
.why-card:nth-child(3) { animation-delay: 0.6s; }
.why-card:nth-child(4) { animation-delay: 0.8s; }

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}





/* ISI PVC PIPE */


.isi-card {
    transition: all 0.4s ease;
}

.isi-card:hover {
    background-color: #2b2c2e;
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

.isi-card:hover h5,
.isi-card:hover h6,
.isi-card:hover p,
.isi-card:hover i {
    color: #ce9233 !important;
}




.floating-img {
    animation: floatImage 5s ease-in-out infinite;
    transition: 0.5s;
}

.floating-img:hover{
    transform: scale(1.05);
}

@keyframes floatImage {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-15px);
    }
    100% {
        transform: translateY(0px);
    }
}




