/* ------------------------------
   Max-width breakpoints (mobile-first)
------------------------------- */

@media (max-width: 1439px) {
.partner_contentBox .subtext .content h2 { margin-bottom: 22px; font-size: 40px; line-height: 56px; }
}
@media (max-width: 1200px) {

}


@media (max-width: 991px) {
.project-container { grid-template-columns: repeat(2, 1fr); }
.services-new .gdlr-core-column-lg-20 { border: 0; }
.square-bullet.tech { columns: 2;  }
}


@media (max-width: 767px) {
.item-card .text { top: 50px; }
.item-card .button { bottom: 20%;} 
.item-card img { opacity: 0.4;}
.client_thumb span { width: 30.3%; padding: 5px 5px; }
.footer-right-column-border { border-right: none; border-bottom: 1px solid #5a5a5a !important; }
.services-new .gdlr-core-column-lg-20 , 
.services-new .gdlr-core-column-lg-20:nth-child(6), .services-new .gdlr-core-column-20:nth-child(5) { border-bottom: 1px solid #dfdfdf; }
}


@media (max-width: 576px) {

.seocrawler-body h1{ font-size: 36px; } 
.seocrawler-body h2{ font-size: 28px; } 
.seocrawler-body h3{ font-size: 24px; } 
.seocrawler-body h4{ font-size: 20px; } 
.seocrawler-body h5{ font-size: 16px; } 
.seocrawler-body h6{ font-size: 14px; } 
.seocrawler-logo-inner{ max-width: 130px; margin-right: 0px; } 
h2 br { display: none;}
.gdlr-core-counter-item .gdlr-core-counter-item-number { font-size: 40px; }
.counter-grid { gap: 20px 20px; }
.bannerArea .container { padding: 0 15px; }
.project-container { grid-template-columns: repeat(1, 1fr); padding: 0 5px; }
.square-bullet.tech { columns: 1;  }
}
@media (max-width: 415px) { 
.seocrawler-main-menu-right-button { padding: 8px 13px; margin-top: -7px; margin-left: 25px; }
}
/* ------------------------------
   Min-width breakpoints (desktop-first)
------------------------------- */



@media (min-width: 577px) {  }

@media (min-width: 768px) { 
.process { display: inline-block; }
.process__item { width: 49%; display: inline-block; }
.custom-process-box { display: flex; margin: 0 10px 20px 0; border-radius: 1px; padding-top: 10px; position: relative; border-top: 2px solid #14151b;  }
.custom-process-box p { width: calc(100% - 144px); padding: 0 30px 0 50px; }
 }
@media (min-width: 992px) {   
.square-tick.two-column { columns: 2;  } 
   }
@media (min-width: 1024px) { 
.custom-process-box p { padding: 0 0 0 25px;  }
}
@media (min-width: 1200px) { 
.process { display: flex; flex-direction: row; justify-content: space-between;  }
.process__item { width: 100%; }
.process__item:not(:last-of-type)::after { content: ""; width: 1px; height: 75%; background: #8c8c8c; position: absolute;
   right: 0; top: 50%; opacity: 0.2; transform: translateY(-50%);  }
 }

/* ------------------------------
   Global Image and Container Fixes
------------------------------- */

/* Ensure all images are responsive by default */
img {
    max-width: 100%;
    height: auto;
}

/* Fix container overflow */
.seocrawler-page-wrapper,
.gdlr-core-page-builder-body,
.seocrawler-content-container,
.gdlr-core-pbf-wrapper,
.gdlr-core-pbf-section {
    overflow-x: hidden;
    max-width: 100%;
}

/* Fix banner images for mobile */
.bannerArea img,
.banner_slide img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

/* Fix service column images */
.gdlr-core-column-service-media img,
.gdlr-core-media-image img {
    max-width: 100%;
    height: auto;
}

/* Fix logo for mobile */
@media (max-width: 576px) {
    .seocrawler-logo-inner img {
        max-width: 100%;
        height: auto;
    }
    
    /* Stack columns on mobile */
    .gdlr-core-pbf-column-20,
    .gdlr-core-pbf-column-30,
    .gdlr-core-pbf-column-40 {
        width: 100% !important;
    }
    
    /* Better padding on mobile */
    .gdlr-core-item-pdlr {
        padding-left: 15px !important;
        padding-right: 15px !important;
    }
    
    /* Fix header padding mobile */
    .seocrawler-top-bar-container {
        flex-direction: column;
        text-align: center;
    }
    
    .seocrawler-top-bar-left,
    .seocrawler-top-bar-right {
        width: 100%;
        text-align: center;
        padding: 5px 0;
    }
}

/* Fix footer responsiveness */
@media (max-width: 768px) {
    footer .gdlr-core-pbf-column {
        width: 100% !important;
        padding: 20px 15px !important;
    }
    
    .footer-right-column-border {
        border-right: none !important;
        border-bottom: 1px solid #5a5a5a;
        margin-bottom: 20px;
        padding-bottom: 20px;
    }
}

/* Fix client logos grid */
@media (max-width: 480px) {
    .client_thumb span {
        width: 45%;
    }
}

/* Fix counter grid for small screens */
@media (max-width: 400px) {
    .counter-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* Prevent text overflow */
.gdlr-core-title-item-title,
.gdlr-core-skin-title,
h1, h2, h3, h4, h5, h6 {
    word-wrap: break-word;
    overflow-wrap: break-word;
}

/* Fix form responsiveness */
@media (max-width: 576px) {
    .form-outer {
        grid-template-columns: 1fr;
    }
    
    .wpcf7-form input,
    .wpcf7-form textarea {
        width: 100%;
    }
}
