       /* Default (Desktop) */
            .responsive-video {
              width: 100%;
              height: 500px;
              object-fit: fill;
              background: #000;
              display: block;
            }

            /* Tablet */
            @media (max-width: 991px) {
              .responsive-video {
                height: 300px;
              }
            }

            /* Mobile */
            @media (max-width: 576px) {
              .responsive-video {
                height: 200px;
              }
            }

       /* featured client projects section  */

            @keyframes featuredScroll {
                0% { transform: translateX(0); }
                100% { transform: translateX(-50%); }
            }
            .featured-projects-scroll {
                display: flex;
                gap: 1.5rem;
                overflow: hidden;
                position: relative;
            }
            .featured-projects-scroll-inner {
                display: flex;
                gap: 1rem;
                animation: featuredScroll 10s linear infinite;
            }

            /* FEATURED PROJECTS RESPONSIVE STYLING */
            @media (max-width: 767px) {
            .featured-projects-scroll {
                gap: 0.8rem !important;
                padding: 0.5rem !important;
            }

            .featured-project-card {
                min-width: 150px !important;
                max-width: 150px !important;
            }

            .featured-project-card img {
                height: 200px !important;  /* 👈 reduced height on mobile */
                border-radius: 12px !important;
                /* object-fit: contain !important; */
            }

            .container-fluid h1 {
                font-size: 1.3rem !important;
                padding: 10px !important;
                margin-bottom: 0 !important;
            }
            }











         /* callback section  */
             @media (max-width: 767px) {
                    .container-fluid .row > div {
                        border-radius: 18px !important;
                        padding-bottom: 0px !important;
                        padding-top: 0px !important;
                        /* margin-bottom: 1.5rem; */
                    }
                    .container-fluid .row {
                        flex-direction: column !important;
                    }
                    /* Fix left padding for About Our Organization right column on mobile */
                    .about-org-section .col-lg-6.px-4 {
                        padding-left: 0 !important;
                        padding-right: 0 !important;
                    }
                    /* Ensure image with counter is not cut off in mobile view */
                    .about-org-section .col-lg-6.mb-4.mb-lg-0.position-relative {
                        width: 100vw !important;
                        max-width: 100vw !important;
                        margin-left: auto !important;
                        margin-right: auto !important;
                        left: 0 !important;
                        right: 0 !important;
                        transform: none !important;
                        padding-left: 0 !important;
                        padding-right: 0 !important;
                        min-height: 300px !important;
                    }
                    .about-org-image-box {
                        border-radius: 0 !important;
                        width: 100vw !important;
                        max-width: 100vw !important;
                        margin-left: auto !important;
                        margin-right: auto !important;
                        left: 0 !important;
                        right: 0 !important;
                        transform: none !important;
                    }
                        /* Show both counters side by side in mobile view */
                        .about-org-section .about-org-stats {
                        flex-direction: row !important;
                        justify-content: center !important;
                        align-items: stretch !important;
                        gap: 1rem !important;
                        width: 100% !important;
                        left: 50% !important;
                        transform: translateX(-50%) !important;
                        position: absolute !important;
                        bottom: 2rem !important;
                        margin: 0 auto !important;
                        }
                        .about-org-section .stat-box {
                        min-width: 120px !important;
                        width: 42vw !important;
                        max-width: 220px !important;
                        margin-bottom: 0 !important;
                        border-radius: 18px !important;
                        }

                        /* Shrink the SVG icons */
                        .about-org-section svg {
                            width: 50px !important;
                            height: 50px !important;
                            margin-bottom: 4px !important;
                        }

                        /* Reduce the large numbers (37+, 15+) */
                        .about-org-section .d-flex.flex-column.align-items-center > div:first-of-type {
                            font-size: 1.2rem !important;
                        }

                        /* Reduce the labels (Our Range Available, Our Service Cities) */
                        .about-org-section .d-flex.flex-column.align-items-center > div:last-of-type {
                            font-size: 0.85rem !important;
                        }

                        /* Optional: tighten spacing between the two boxes */
                        .about-org-section .d-flex.flex-row.align-items-center.justify-content-center.gap-4.mb-4 {
                            gap: 1rem !important;
                        }

                       /* Reduce background image height */
                        .about-org-section .about-org-image-box {
                            min-height: 300px !important;
                        }

                        /* Optional: move stats slightly upward to stay centered visually */
                        .about-org-section .about-org-stats {
                            bottom: 1rem !important;
                        }

                        /* Reduce the size of the counters inside */
                        .about-org-section .stat-value {
                            font-size: 1.6rem !important;
                        }

                        .about-org-section .stat-label {
                            font-size: 0.8rem !important;
                        }

                        /* Optional: reduce box padding for compact look */
                        .about-org-section .stat-box {
                            padding: 0.8rem !important;
                            min-width: 140px !important;
                        }

                         /* Reduce only paragraph text inside Our Ranges cards */
                        .container .range-card .card-body p {
                            font-size: 0.6rem !important;
                            line-height: 0.7rem !important;
                            margin-bottom: 0.3rem !important;
                        }

                        .card-body {
                            padding: 6px !important;
                        }
                }


/* Card hover effect for all cards */
        .card,
        .featured-project-card {
        transition: transform 0.2s cubic-bezier(.4,2,.3,1), box-shadow 0.2s cubic-bezier(.4,2,.3,1);
        }
        .card:hover,
        .featured-project-card:hover {
        transform: translateY(-8px) scale(1.04);
        box-shadow: 0 8px 32px rgba(253, 66, 4, 0.18), 0 2px 8px rgba(0,0,0,0.12);
        z-index: 2;
        }
        .about-org-section {
        background: linear-gradient(90deg, #222222 60%, #2d1a0b 100%);
        margin-bottom: 2rem;
        box-shadow: 0 8px 32px rgba(34,34,34,0.12), 0 2px 8px rgba(0,0,0,0.08);
        }
        .about-org-image-box {
        min-height: 340px;
        overflow: hidden;
        position: relative;
        }
        .about-org-stats {
        z-index: 2;
        gap: 0;
        }
        .stat-box {
        min-width: 220px;
        border-radius: 18px;
        margin: 0;
        }
        .about-org-title {
        color: #fff;
        font-size: 2.6rem;
        font-weight: bold;
        margin-bottom: 1.5rem;
        }
        .about-org-desc {
        color: #ccc;
        font-size: 1.2rem;
        margin-bottom: 2rem;
        }
        .about-org-btn {
        background: none;
        color: #fff;
        border: 2px solid #ff8000;
        font-weight: bold;
        font-size: 1.3rem;
        border-radius: 8px;
        padding: 1rem 2.5rem;
        transition: background 0.2s, color 0.2s;
        }
        .about-org-btn:hover {
        background: #ff8000;
        color: #fff;
        }

    @media (max-width: 991px) {
        .about-org-section {
            border-radius: 12px;
            padding: 1.5rem 0.5rem;
        }
        .about-org-title {
            font-size: 1.3rem;
            margin-bottom: 1rem;
        }
        .about-org-desc {
            font-size: 0.95rem;
            margin-bottom: 1rem;
        }
        .about-org-image-box {
            min-height: 180px;
        }
        .stat-box {
            min-width: 110px;
            padding: 0.7rem;
            font-size: 0.9rem;
        }
            .about-org-stats {
            flex-direction: row;
            gap: 0.5rem;
            }
    }

        /* Eye-catching info section styles */
        .info-highlight {
        background: linear-gradient(135deg, #fff7e6 0%, #ffe0b2 100%);
        border-radius: 32px;
        box-shadow: 0 8px 32px rgba(255,128,0,0.12), 0 2px 8px rgba(0,0,0,0.08);
        padding: 3rem 2rem;
        margin-top: 2rem;
        margin-bottom: 2rem;
        }
        .info-title {
        color: #ff8000;
        font-size: 3.2rem;
        font-weight: 900;
        letter-spacing: 2px;
        text-shadow: 0 2px 8px rgba(255,128,0,0.15);
        margin-bottom: 2rem;
        }
        .info-desc {
        font-size: 1.6rem;
        color: #444;
        margin-bottom: 1.5rem;
        font-weight: 500;
        }
        .info-readmore {
        color: #ff8000;
        font-weight: bold;
        font-size: 1.3rem;
        letter-spacing: 1px;
        text-decoration: underline;
        cursor: pointer;
        transition: color 0.2s;
        }
        .info-readmore:hover {
        color: #d35400;
        }
        .info-btn {
        font-size: 1.3rem;
        font-weight: bold;
        min-width: 220px;
        padding: 1rem 2rem;
        border-radius: 8px;
        box-shadow: 0 2px 8px rgba(0,0,0,0.10);
        transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
        }
        .info-btn-orange {
        background: linear-gradient(90deg, #ff8000 60%, #ffb84d 100%);
        color: #fff;
        border: none;
        }
        .info-btn-orange:hover {
        background: linear-gradient(90deg, #ffb84d 0%, #ff8000 100%);
        transform: scale(1.05);
        box-shadow: 0 4px 16px rgba(255,128,0,0.18);
        }
        .info-btn-dark {
        background: #222;
        color: #fff;
        border: none;
        }
        .info-btn-dark:hover {
        background: #444;
        transform: scale(1.05);
        box-shadow: 0 4px 16px rgba(0,0,0,0.18);
        }

    @media (max-width: 768px) {
        .info-title {
            font-size: 2.2rem;
        }
        .info-desc {
            font-size: 1.1rem;
        }
        .info-highlight {
            padding: 2rem 0.5rem;
        }
        .info-btn {
            font-size: 1rem;
            min-width: 140px;
            padding: 0.7rem 1.2rem;
        }
    }

    /* Reduce video height for a more compact look */
    @media (max-width: 991px) {
        .main-video {
            height: 180px;
        }
    }
    @media (max-width: 576px) {
        .main-video {
            height: 120px;
        }
        .about-org-section {
            padding: 0.7rem 0.1rem;
            border-radius: 8px;
        }
        .about-org-title {
            font-size: 0.85rem;
            margin-bottom: 0.5rem;
        }
        .about-org-desc {
            font-size: 0.7rem;
            margin-bottom: 0.5rem;
        }
        .about-org-image-box {
            min-height: 50px;
            max-height: 80px;
        }
            .about-org-image-box img, .about-org-image-box svg {
            max-width: 60px !important;
            height: auto !important;
            }
        .stat-box {
            min-width: 40px;
            padding: 0.15rem;
            font-size: 0.6rem;
        }
        .about-org-stats {
            flex-direction: column;
            gap: 0.3rem;
            left: 50%;
            transform: translateX(-50%);
            bottom: 0.5rem;
        }
    }
    @media (max-width: 991px) {
        main .video-row {
            gap: 1rem;
        }
        .main-video {
            max-width: 100vw;
            min-width: 220px;
        }
    }
    @media (max-width: 576px) {
        main .video-row {
            gap: 0.5rem;
        }
        .main-video {
            max-width: 90vw;
            min-width: 180px;
        }
    }


        /* =====================
        MOBILE OPTIMIZATION
        ===================== */
    @media (max-width: 576px) {

        /* General Spacing */
        section {
            /* padding: 1rem 0.5rem !important; */
            margin-top: 0.5rem !important;
            margin-bottom: 0.5rem !important;
        }

        /* Headings and Paragraphs */
        h1, h2, h3 {
            font-size: 1.5rem !important;
            margin-bottom: 0.5rem !important;
        }
        p {
            font-size: 0.8rem !important;
            line-height: 1.3 !important;
            margin-bottom: 0.5rem !important;
        }

        /* Buttons */
        .btn, .info-btn, .btn-warning {
            font-size: 0.85rem !important;
            padding: 0.4rem 0.8rem !important;
            min-width: auto !important;
            height: auto !important;
        }


        /* Orange City Elevators section */
        .container.text-center h1 {
            font-size: 1.3rem !important;
        }
        .container.text-center p {
            font-size: 0.75rem !important;
            margin-top: 0.5rem !important;
        }
        .container.text-center a {
            font-size: 0.75rem !important;
        }

        /* Our Ranges cards */
        .card {
            min-height: 220px !important;
            max-width: 200px !important;
        }
        .card img {
            height: 180px !important;
        }
        .card-title {
            font-size: 0.7rem !important;
        }

        /* About Organization section */
        .about-org-title {
            font-size: 1.2rem !important;
        }
        .about-org-desc {
            font-size: 0.95rem !important;
        }
        .stat-box {
            padding: 0.4rem !important;
            font-size: 0.7rem !important;
        }

        /* Request A Call Back section */
        .col-md-6 h2 {
            font-size: 1.1rem !important;
            margin-bottom: 10px !important;
        }
        .col-md-6 h4 {
            font-size: 0.9rem !important;
        }
        .col-md-6 p {
            font-size: 0.75rem !important;
            margin-top: 0.5rem !important;
        }
        form .form-control {
            padding: 0.5rem !important;
            font-size: 0.75rem !important;
        }
    }

           /* Gallery images */
        /* ===== GALLERY RESPONSIVE FIX ===== */
/* ===== GALLERY RESPONSIVE FIX (FINAL) ===== */
@media (max-width: 767px) {

  /* Reduce heading size */
  section h1 {
    font-size: 1.3rem !important;
    padding: 10px !important;
    margin-bottom: 0 !important;
  }

  .gallerycarusalsection h1{
    margin: 0 !important;
    padding-top: 0px !important;
  }

  /* Compact the gallery grid on mobile */
  #galleryCarousel .row {
    display: flex !important;
    flex-wrap: nowrap !important;
    /* overflow-x: auto !important; */
    gap: 0px !important;
    margin: 0 !important;
    justify-content: center !important;
    padding: 0 8px !important;
  }

  /* Each image column smaller */
  #galleryCarousel .col-12 {
    flex: 0 0 auto !important;
    width: 26% !important; /* 2 per screen approx */
    padding-left: 2px;
    padding-right: 2px;
  }

  /* Image styling */
  #galleryCarousel img {
    height: 140px !important;
    object-fit: cover !important;
    border-radius: 10px !important;
  }

  /* Hide arrows on mobile for cleaner look */
  #galleryCarousel .carousel-control-prev,
  #galleryCarousel .carousel-control-next {
    display: none !important;
  }
}




@media (max-width: 767px) {
  /* Remove Bootstrap's side padding on this container */
  section.container.my-4.sm\:my-5.md\:my-5.px-0 {
    padding-left: 8px !important;
    padding-right: 8px !important;
  }

  /* Ensure row centers evenly */
  .row.justify-content-center {
    margin-left: 0 !important;
    margin-right: 0 !important;
    justify-content: center !important;
  }

  /* Each column takes up exactly half width and stays centered */
  .col-6 {
    flex: 0 0 50% !important;
    max-width: 50% !important;
    padding-left: 6px !important;
    padding-right: 6px !important;
    display: flex;
    justify-content: center;
  }

  /* Make sure card width adapts well */
  .range-card {
    width: 100% !important;
    max-width: 100% !important;
  }
}






/* css for video section */

/* Default (Desktop / Laptop) */
.video-section {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.video-container {
  width: 95%; /* ✅ Adds left/right space on laptop view */
  max-width: 3000px; /* Optional: keeps it neat on very large screens */
  margin: 0 auto;
}

.responsive-video {
  width: 100%;
  height: 460px;
  object-fit: contain;
  background:white;
  display: block;
  border-radius: 12px; /* Optional: smooth corners */
}

/* Tablet */
@media (max-width: 991px) {
  .responsive-video {
    height: 300px;
  }
}

@media(max-width: 399px) {
    .responsive-video {
        height: 160px !important;
        border-radius: 0; /* Optional: no rounding on mobile */
    }
 }

/* Mobile */
@media (max-width: 576px) {
  .video-container {
    width: 100%; /* ✅ Full width again on mobile */
  }
  .responsive-video {
    height: 200px;
    border-radius: 0; /* Optional: no rounding on mobile */
  }
}


@media (max-width: 767px) {
  /* Reduce vertical spacing for all section main headings */
  section h1 {
    margin-top: 10px !important;
    margin-bottom: 10px !important;
    padding-top: 10px !important;
    padding-bottom: 10px !important;
    font-size: 1.3rem !important; /* optional: slightly smaller text */
  }
}
