/* =============================================================================
   RESPONSIVE STYLESHEET — Desktop-First
   Breakpoints: 991px (tablet) → 767px (mobile) → 576px (small mobile)
   ============================================================================= */



@media (min-width: 992px) and (max-width: 1330px){
.desktop_menu_wrap .navbar-nav {
    gap: .8vw;
}
.navbar-nav .nav-link {
   font-size: clamp(0.813rem, 0.5vw + 0.5rem, 1.25rem);
}

.home_heading {
        font-size: 4.5rem;
        line-height: 5.5rem;
    }


}


@media (min-width: 768px) and (max-width: 991px){
    .container-fluid {
        padding-left: 30px !important;
        padding-right: 30px !important;
    }
    .home_heading {
        font-size: 3.5rem;
        line-height: 5.5rem;
    }

    .transform_space .container-fluid .left_top_image {
        left: 90px;
    }
    .transform_space .container-fluid .right_bottom_image {
        right: 90px;
    }


    
}


/* =============================================================================
   MIN-WIDTH OVERRIDES (Desktop-only rules)
   ============================================================================= */

@media (min-width: 992px) {
    /* Navigation */
    .navbar .dropdown:hover > .dropdown-menu {
        display: block;
        margin-top: 0;
    }

    /* Layout */
    .border-lg-start {
        border-left: 1px solid #ddd8ca;
    }

    /* .homes-card {
        padding: 5rem 0;
    } */

    /* Smart design: left-aligned feature icons */
    .left .feature-icon {
        margin-left: auto;
    }
}

@media (max-width: 991px){

    .offcanvas-header { align-items: start;}
    .offcanvas-header h5 { font-size: 1.8rem;}
    .offcanvas-header .custom-logo {max-width: 100px; margin-left: 20px}
    .offcanvas-header .btn-close { margin-top: 0; margin-right: 0; font-size: 20px;}
    .offcanvas .dropdown:hover > .dropdown-menu {
        display: block;
        margin-top: 0;
    }

    .offcanvas .navbar-nav {
        margin-left: 20px;
    }

    .navbar-nav .menu-item.active:before {
        left: -20px;
        top: 23px;
    }

    .navbar-nav .menu-item.active .dropdown-menu .menu-item.active:before { top: 16px;}

    .search_btn {
        margin-left: 20px;
    }




    .project-slider-wrapper .project-slide {
        flex: 0 0 83vw;
    }
    .project_img img {
        height: 516px;
    }
    .service_img img {
        height: 218px;
    }



}

@media (min-width: 768px) {
    /* Search panel variants */
    #search.left {
        left: 0;
        height: 100vh;
        width: 0;
    }

    #search.right {
        height: 100vh;
        width: 0;
        right: 0;
        left: auto !important;
    }

    #search.bottom.left,
    #search.bottom.right,
    #search.top.left,
    #search.top.right {
        height: 0;
    }

    #search.bottom {
        bottom: 0;
        top: auto !important;
    }

    #search.fade {
        height: 100vh;
        width: 100vw;
        transition: opacity 0.5s;
    }

    /* Gallery */
    .img-tall,
    .img-tall img {
        min-height: 420px;
        height: 100%;
    }

    .sub-col-left {
        height: 100%;
    }

    

}

@media screen and (min-width: 37.5em) {
    .menu-toggle {
        display: none;
    }

    .main-navigation ul {
        display: flex;
    }
}


/* =============================================================================
   MAX-WIDTH: 991px — Tablet
   ============================================================================= */

@media (max-width: 991px) {
    /* Navigation */
    .logo_img {
        max-width: 90px;
    }

    .desktop_menu_wrap {
        display: none;
    }

    /* Hero */
    .hero-section {
        padding: 48px 0 40px;
        min-height: unset;
    }

    .hero-text-col {
        margin-bottom: 2rem;
        text-align: left;
    }

    .hero-body,
    .hero-image-wrap {
        max-width: 100%;
    }

    /* Typography — section titles */
    .section-title {
        font-size: 46px;
    }

    .section-desc {
        font-size: 18px;
    }

    /* About */
    .about-banner-content h1 {
        font-size: 42px;
    }

    .counter-item {
        border: none;
        margin-bottom: 20px;
    }

    /* Payment */
    .payment-content h2 {
        font-size: 42px;
    }

    .payment-content p {
        font-size: 18px;
    }

    /* Blog */
    .blog-title {
        font-size: 48px;
    }

    .blog-desc {
        font-size: 18px;
    }

    .blog-card {
        height: 450px;
    }

    .blog-prev,
    .blog-next {
        display: none;
    }

    /* Instagram */
    #sb_instagram #sbi_images {
        grid-template-columns: repeat(3, 1fr);
    }

    /* Footer */
    .site-footer {
        padding: 60px 0 30px;
    }

    .footer-bottom,
    .copyright {
        text-align: center;
    }

    .footer-policy {
        justify-content: center;
    }

    /* Services */
    .service-content {
        padding-left: 0;
        /* margin-top: 80px; */
    }

    /* .service-feature-box {
        width: 92%;
    } */

    .feature-item h5 {
        font-size: 18px;
    }

    .service-description {
        font-size: 18px;
    }

    .service-pill {
        font-size: 18px;
        min-height: 60px;
    }

    /* Work process */
    .process-title {
        min-height: auto;
        margin-bottom: 20px;
    }

    /* .process-title h2 {
        font-size: 48px;
    } */

    .process-number {
        font-size: 56px;
    }

    /* Materials */
    .material-card img {
        height: 360px;
    }

    /* Smart design */
    .smart-design-section {
        padding: 70px 0;
    }

    .smart-title {
        font-size: 46px;
    }

    .smart-desc {
        font-size: 18px;
    }

    .feature-box {
        text-align: center;
    }

    .feature-icon {
        margin: 0 auto 18px;
    }

    /* Project overview */
    .overview-main-image img {
        height: 420px;
    }

    /* Project information */
    .project-information .section-title {
        font-size: 46px;
    }

    .info-item {
        border-bottom: 1px solid #ddd8ca;
    }

    /* Working process */
    .working-process .section-title {
        font-size: 46px;
    }

    /* Transformation blueprint */
    .transformation-blueprint .section-title {
        font-size: 46px;
    }

    .blueprint-card img {
        height: 380px;
    }

    /* Testimonial */
    .testimonial-wrapper {
        flex-direction: column;
        gap: 40px;
    }

    .testimonial-content,
    .testimonial-slider-wrap {
        width: 100%;
    }

    .testimonial-prev {
        left: 10px;
    }

    .testimonial-next {
        right: 10px;
    }

    /* Contact */
    .cream-panel {
        min-height: unset;
        border-radius: 1.5rem;
        padding: 2rem;
    }

    .contact-heading {
        font-size: 2.4rem;
    }

    /* Gallery */
    .img-gallery-right {
        min-height: 320px;
        max-height: 420px;
    }
}


/* =============================================================================
   MAX-WIDTH: 767px — Mobile
   ============================================================================= */

@media (max-width: 767px) {
    /* Hero */
    .hero-section {
        padding: 36px 0 32px;
    }

    /* Typography — section titles */
    .section-title {
        font-size: 34px;
    }

    .section-desc {
        font-size: 16px;
        line-height: 1.8;
    }

    /* Payment */
    /* .payment-section {
        border-radius: 25px;
    } */

    .payment-content h2 {
        font-size: 32px;
    }

    .payment-content p {
        font-size: 16px;
    }

    /* Instagram */
    #sb_instagram #sbi_images {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Services */
    /* .service-feature-box {
        position: relative !important;
        transform: none !important;
        left: auto !important;
        bottom: auto;
        width: 100%;
        margin-top: 20px;
    } */

    .feature-item {
        padding: 15px 0;
        margin-bottom: 35px !important;
        text-align: center;
    }

    .feature-item h5 {
        font-size: 14px;
    }

    .feature-item h4 {
        font-size: 22px;
    }

    .feature-icon {
        width: 60px;
        height: 60px;
        margin: 0 auto 15px;
    }

    .feature-icon img {
        width: 28px;
    }

    .service-pill {
        font-size: 16px;
    }

    .service-description {
        font-size: 16px;
    }

    /* Work process */
    .work-process-section {
        padding: 60px 0;
    }

    /* .process-title h2 {
        font-size: 38px;
    } */

    .process-card {
        padding: 24px;
    }

    .process-number {
        font-size: 46px;
        margin-bottom: 20px;
    }

    .process-card h3 {
        font-size: 20px;
    }

    .process-card p {
        font-size: 16px;
    }

    /* Materials */
    .premium-materials {
        padding: 60px 0;
    }

    .material-card img {
        height: 300px;
    }

    .material-overlay {
        left: 15px;
        right: 15px;
        bottom: 15px;
        padding: 16px;
    }

    .material-overlay h4 {
        font-size: 18px;
    }

    /* Smart design */
    .smart-title {
        font-size: 34px;
    }

    .smart-desc {
        font-size: 16px;
        line-height: 1.8;
    }

    /* Project overview */
    .project-overview {
        padding: 60px 0;
    }

    .overview-main-image img {
        height: 300px;
    }

    .overview-small-image img {
        height: 220px;
    }

    .overview-content p {
        font-size: 15px;
    }

    /* Project information */
    .project-information {
        padding: 60px 0;
    }

    .project-information .section-title {
        font-size: 34px;
    }

    .project-information .section-description {
        font-size: 15px;
    }

    .info-item {
        min-height: 120px;
        padding: 25px 15px;
    }

    .info-item h4 {
        font-size: 24px;
    }

    /* Working process */
    .working-process {
        padding: 60px 0;
    }

    .working-process .section-title {
        font-size: 34px;
    }

    .working-process .process-card {
        padding: 50px 20px 25px;
    }

    .working-process .process-card h4 {
        font-size: 24px;
    }

    /* Transformation blueprint */
    .transformation-blueprint {
        padding: 60px 0;
    }

    .transformation-blueprint .section-title {
        font-size: 34px;
    }

    .blueprint-card img {
        height: 280px;
    }

    .blueprint-card h4 {
        font-size: 24px;
    }

    /* Blog */
    .blog-card-wrap {
        height: 360px;
    }

    /* Post navigation */
    .post-navigation .nav-links {
        flex-direction: column;
    }

    .post-navigation .nav-next {
        text-align: left;
    }

    /* Search */
    .search-grid {
        grid-template-columns: 1fr;
    }

    /* Sidebar */
    .sidebar-nav {
        margin-bottom: 2rem;
    }

    .point-box { border: none !important; }
    .feature-box:nth-child(odd) .feature-inner { padding-left: 30px; }
    .feature-box { border: 1px solid #DEDEDE; margin-bottom: 10px; }

    .why-choose-us .image-box { order: -1;}
    .trusted-items img { max-width: 50px; max-height: 50px;}

    .about_image { height: auto;}
    .home_about_image { height: auto; padding: 100px 0;}

    .transform_space_inner_container .bg-image { width: 100%; height: 100%;}
    .transform_space .container-fluid .right_bottom_image,
    .transform_space .container-fluid .left_top_image { width: 100px; height: 100px;}

    .service-image-wrapper .main-img {min-height: 410px;}

}


/* =============================================================================
   MAX-WIDTH: 576px — Small Mobile
   ============================================================================= */

@media (max-width: 576px) {

    .container-fluid {
        padding-left: 30px !important;
        padding-right: 30px !important;
    }

    /* Instagram */
    #sb_instagram #sbi_images {
        grid-template-columns: repeat(2, 1fr);
    }

    .home_heading,
    .about_section .about_heading,
    .service_slider_section h2 { font-size: 36px; line-height: 50px;}

    .transform_space .container-fluid .transform_space_inner_container h2 { font-size: 36px; line-height: 50px;}

    .project_slider_section, .service_slider_section { padding: 20px 0 20px;}

    .service-feature-box .feature-item-new { display: flex; flex-direction: column; align-items: center; justify-content: center;}
    .service-feature-box .feature-item-new h5 { text-align: center;}

    .my_btn_one { padding: 15px 15px; display:block; max-width: 80%; text-align: center; margin: 0 auto;}

    .transform_space .container-fluid .left_top_image { left:50px; } 
    .transform_space .container-fluid .right_bottom_image { right:50px; z-index: -1; } 

}