/* ========================================
   Istronix - Responsive Enhancements
   Non-destructive additions only.
   Original styles remain in style.css
   ======================================== */

/* ========================================
   GLOBAL BOX-SIZING & IMAGE FIXES
   ======================================== */
* {
    box-sizing: border-box;
}

img {
    max-width: 100%;
    height: auto;
}

.img-box {
    height: auto !important;
}

/* ========================================
   FOCUS & ACCESSIBILITY
   ======================================== */
a:focus-visible,
button:focus-visible {
    outline: 3px solid #0ebab1;
    outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ========================================
   PRINT STYLES
   ======================================== */
@media print {
    .loader-container,
    .footer,
    .call-to-action,
    .get-quote-action,
    .floating-enquiry-form,
    .floatbutton {
        display: none !important;
    }
}

/* ========================================
   FLOATING ENQUIRY FORM
   ======================================== */
.float-form .fldset {
    margin-bottom: 12px;
}

.float-form .fldset label {
    display: block;
    margin-bottom: 4px;
    font-size: 13px;
    font-weight: 500;
    color: #333;
}

.float-form .fldset input[type=text],
.float-form .fldset input[type=email],
.float-form .fldset input[type=tel],
.float-form .fldset textarea {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
    background: #f8f8f8;
    box-sizing: border-box;
    margin: 0;
}

.float-form .fldset textarea {
    min-height: 80px;
    resize: vertical;
}

.float-form .fldset input[type=submit] {
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 6px;
    background: #0ebab1;
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 5px;
}

.float-form .fldset input[type=submit]:hover {
    background: #0ca89f;
}

.float-form .fldset .hide-robot {
    display: none;
}

/* ========================================
   Google reCaptcha badge
   ======================================== */
.grecaptcha-badge {
    visibility: hidden !important;
}

/* ========================================
   PRICE PAGE CERTIFICATE
   ======================================== */
.certificate-bx {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 20px;
}

/* ========================================
   THANK YOU PAGE
   ======================================== */
.thankyou {
    margin-top: 60px;
    margin-bottom: 60px !important;
}

.thankyou h4 {
    font-size: 40px;
}

.thankyou .fa-check {
    font-size: 30px;
    width: 80px;
    height: 80px;
    line-height: 80px;
    padding: 0;
}

/* ================================================================
   ULTRA WIDE (1920px+)
   ================================================================ */
@media (min-width: 1920px) {
    .container {
        max-width: 1400px;
    }
}

/* ================================================================
   XL DESKTOP (1440px - 1919px)
   ================================================================ */
@media (min-width: 1440px) and (max-width: 1919.98px) {
    .container {
        max-width: 1320px;
    }
}

/* ================================================================
   LARGE DESKTOP (1280px - 1439px)
   ================================================================ */
@media (min-width: 1280px) and (max-width: 1439.98px) {
    .container {
        max-width: 1200px;
    }
}

/* ================================================================
   LARGE SCREENS / TV (1200px - 1279px)
   ================================================================ */
@media (min-width: 1200px) and (max-width: 1279.98px) {
    .container {
        max-width: 1140px;
    }

    .main-banner h1 {
        font-size: 52px;
    }

    .main-banner h1 span {
        font-size: 56px;
    }

    .main-banner p {
        font-size: 20px;
    }

    .landing .headers-banner h1 {
        font-size: 56px;
    }

    .gerneral-box h1 {
        font-size: 60px;
        line-height: 66px;
    }

    .size-100 h2 {
        font-size: 80px;
        line-height: 80px;
    }

    .pricing-area .container {
        max-width: 1200px;
    }

    .package-box .p-head label {
        font-size: 18px;
    }

    .package-box .p-head ins {
        font-size: 36px;
    }

    /* Pricing carousel on large screens */
    .pricing-carousel-wrapper {
        overflow: hidden;
    }
}

/* ================================================================
   LAPTOPS / MEDIUM SCREENS (1024px - 1199px)
   ================================================================ */
@media (min-width: 1024px) and (max-width: 1199.98px) {
    .container {
        max-width: 960px;
    }

    .gerneral-box h1 {
        font-size: 52px;
        line-height: 58px;
    }

    .main-h1 h1 {
        font-size: 48px;
    }

    .size-100 h2 {
        font-size: 72px;
    }

    .main-banner h1 span {
        font-size: 42px;
    }

    .landing .headers-banner h1 {
        font-size: 48px;
    }

    .portfolio-container {
        width: 100%;
        padding: 0 20px;
    }

    .pd-left-70 {
        padding-left: 30px !important;
    }

    header .navbar ul.menu li a {
        font-size: 12px;
        padding: 7px 0;
    }

    header .navbar ul.menu li {
        padding: 0 5px;
    }

    .client-login a {
        font-size: 12px !important;
        padding: 4px 6px !important;
    }

    /* Pricing carousel on laptop */
    .pricing-carousel-track .wpb_column {
        width: 300px !important;
        flex: 0 0 300px !important;
        max-width: 300px !important;
    }

    .pricing-carousel-track .vc_column_container {
        flex: 0 0 300px;
        max-width: 300px;
    }

    /* Footer on laptop */
    .istronix-footer .footer-main-row {
        display: flex;
        flex-wrap: wrap;
    }
}

/* ================================================================
   SMALL LAPTOP / TABLET LANDSCAPE (992px - 1023px)
   ================================================================ */
@media (min-width: 992px) and (max-width: 1023.98px) {
    .container {
        max-width: 720px;
    }

    h2 {
        font-size: 28px;
    }

    h3 {
        font-size: 22px;
    }

    .main-banner h1 {
        font-size: 32px;
    }

    .main-banner h1 span {
        font-size: 36px;
    }

    /* ---- HERO BUTTONS CENTERED ---- */
    .main-banner .col-sm-8 {
        text-align: center;
    }

    .main-banner .solid-btn,
    .main-banner .see-throw-btn {
        display: inline-block;
        margin: 8px 6px;
    }

    .gerneral-box h1 {
        font-size: 42px;
        line-height: 48px;
    }

    .size-100 h2 {
        font-size: 48px;
        line-height: 48px;
    }

    .size-84 h2 {
        font-size: 32px;
    }

    .headers-banner {
        padding: 120px 0 60px !important;
    }

    .headers-banner h1 {
        font-size: 34px !important;
    }

    .section-pd {
        padding: 50px 0 30px;
    }

    /* Services - 2 cols */
    .services-list .webiconbox {
        flex: 0 0 50% !important;
        max-width: 50% !important;
        width: 50% !important;
        text-align: center;
    }

    .services-list .webiconbox h3 {
        font-size: 17px;
    }

    .services-list .webiconbox p {
        font-size: 13px !important;
    }

    .services-list .webiconbox img {
        width: 60px;
        height: auto;
    }

    /* Counter - 2 cols */
    .counter-area .wpb_column.vc_col-sm-3 {
        width: 50% !important;
        flex: 0 0 50% !important;
    }

    .counter-area .right-border {
        border-right: none !important;
    }

    .counter-no p strong,
    .counter-no p strong span {
        font-size: 40px !important;
    }

    .counter-no {
        width: 100%;
        text-align: center;
        padding: 20px 0;
    }

    /* Portfolio - 3 cols */
    .portfolio-tabs .tabcontent .col-lg-3 {
        width: 33.333% !important;
        display: inline-block;
        float: none;
        margin-bottom: 20px;
        text-align: center;
        vertical-align: top;
        padding: 0 8px;
    }

    .portfolio-tabs .tabcontent .row {
        text-align: center;
        margin: 0 auto;
    }

    .img-box img {
        width: 100%;
        height: auto;
        display: block;
    }

    .big-text h2 {
        font-size: 32px;
    }

    /* Pricing */
    .pricing-area .vc_col-sm-4 {
        width: 50% !important;
        flex: 0 0 50% !important;
        max-width: 50% !important;
        display: inline-block !important;
        text-align: center;
        vertical-align: top;
        padding: 0 10px;
        margin-bottom: 20px;
    }

    .pricing-area .tab-panel .vc_row {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 0;
        text-align: center;
    }

    .pricing-carousel-track {
        display: flex !important;
        flex-wrap: wrap !important;
        justify-content: center !important;
        gap: 20px;
        width: 100% !important;
        animation: none !important;
        transform: none !important;
    }

    .pricing-carousel-track .wpb_column {
        width: 45% !important;
        flex: 0 0 45% !important;
        max-width: 45% !important;
        float: none !important;
        display: block !important;
    }

    .pricing-carousel-wrapper {
        overflow: visible !important;
    }

    /* CTA */
    .call-to-action .col-sm-6 {
        text-align: center !important;
        width: 100% !important;
        margin-bottom: 15px;
    }

    .call-to-action .solid-btn,
    .call-to-action .see-throw-btn {
        display: inline-block;
        margin: 8px auto !important;
        text-align: center;
        font-size: 14px;
        padding: 12px 24px;
    }

    .call-to-action h3 {
        text-align: center;
        font-size: 26px;
    }

    .call-to-action p {
        text-align: center;
    }

    /* Footer */
    .footer-main-row {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 30px;
    }

    .footer-about-col {
        width: 100% !important;
        text-align: center;
    }

    .footer-services-col,
    .footer-quick-col {
        width: 50% !important;
        flex: 0 0 50%;
        max-width: 50%;
        text-align: center;
    }

    .footer-logo {
        text-align: center;
        margin-bottom: 15px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    .footer-bottom .menu {
        flex-direction: column;
        align-items: center;
        gap: 8px;
    }

    .footer-social-icon {
        text-align: center !important;
        margin-top: 15px;
    }

    .copyright {
        text-align: center;
    }

    /* Blog */
    .blog-area .col-md-4 {
        width: 50% !important;
    }

    /* Services page */
    .services-main-right .webiconbox {
        width: 50% !important;
    }

    .services-menu.services-main-side {
        width: 100% !important;
        margin-bottom: 30px;
    }

    .tab-width-full {
        width: 100% !important;
    }

    /* Contact */
    .contact-settings .col-sm-6 {
        width: 50% !important;
    }
}

/* ================================================================
   TABLET (820px - 991px)
   ================================================================ */
@media (min-width: 820px) and (max-width: 991.98px) {
    .container {
        max-width: 760px;
        margin: 0 auto;
        padding-left: 20px;
        padding-right: 20px;
    }

    h2 {
        font-size: 28px;
    }

    h3 {
        font-size: 22px;
    }

    .gerneral-box h1 {
        font-size: 42px;
        line-height: 48px;
    }

    .main-banner h1 {
        font-size: 32px;
    }

    .main-banner h1 span {
        font-size: 36px;
    }

    .main-banner p {
        font-size: 18px;
    }

    /* ---- HERO BUTTONS CENTERED ---- */
    .main-banner .col-sm-8 {
        text-align: center;
    }

    .main-banner .solid-btn,
    .main-banner .see-throw-btn {
        display: inline-block;
        margin: 8px 6px;
    }

    .size-100 h2 {
        font-size: 48px;
        line-height: 48px;
    }

    .size-84 h2,
    .headers-banner.fancy-header h1 {
        font-size: 38px;
    }

    .visible-content {
        max-width: 80%;
        font-size: 20px;
    }

    .section-pd {
        padding: 50px 0 30px;
    }

    .padding-50 {
        padding: 30px !important;
    }

    .padding-100 {
        padding: 40px !important;
    }

    .pd-left-70 {
        padding-left: 15px !important;
    }

    /* ---- HERO ---- */
    .div-centers .container {
        display: block !important;
    }

    /* ---- SERVICES (2 cols centered) ---- */
    .services-list {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 0;
        margin: 0 auto;
        text-align: center;
    }

    .services-list .webiconbox {
        flex: 0 0 50% !important;
        max-width: 50% !important;
        width: 50% !important;
        min-height: auto !important;
        margin-bottom: 0 !important;
        text-align: center;
    }

    .services-list .webiconbox .icon-spacing,
    .home .webiconbox .icon-spacing {
        text-align: center;
    }

    .services-list .webiconbox h3 {
        font-size: 17px;
    }

    .services-list .webiconbox p {
        font-size: 13px !important;
    }

    .services-list .webiconbox img {
        width: 60px;
        height: auto;
    }

    .services-list .home-icons {
        margin-bottom: 10px;
        margin-top: 10px;
        text-align: center !important;
    }

    .services-list .wpb_single_image.vc_align_left.home-icons {
        text-align: center !important;
    }

    .big-text h2 {
        font-size: 32px;
    }

    .big-text p {
        font-size: 16px;
    }

    /* ---- COUNTER (2 cols centered) ---- */
    .counter-area.vc_row.wpb_row.vc_row-fluid.vc_custom_1578245736027.vc_row-has-fill {
        left: auto !important;
        width: 100% !important;
        max-width: 100% !important;
        padding-left: 20px !important;
        padding-right: 20px !important;
        position: relative !important;
    }

    .counter-area .right-border {
        border-right: none !important;
    }

    .counter-area .wpb_column {
        margin-bottom: 20px;
    }

    .counter-area .wpb_column.vc_col-sm-3 {
        width: 50% !important;
        flex: 0 0 50% !important;
    }

    .counter-no {
        width: 100%;
        text-align: center;
        padding: 20px 0;
    }

    .counter-no p {
        font-size: 14px;
    }

    .counter-no p strong,
    .counter-no p strong span {
        font-size: 40px !important;
    }

    .counter-area {
        padding-bottom: 30px !important;
    }

    .counter-area .margin-60 {
        margin-top: 30px;
    }

    /* ---- WHY CHOOSE US (bento grid) ---- */
    .bento-grid-row {
        grid-template-columns: 1fr 1fr !important;
        gap: 16px !important;
        justify-items: center;
    }

    .premium-card-wrapper {
        min-width: auto;
        flex: 0 0 calc(50% - 8px);
        max-width: calc(50% - 8px);
    }

    .premium-why-card {
        padding: 24px 20px !important;
    }

    .premium-why-card h3 {
        font-size: 15px !important;
    }

    .premium-why-card .icon-container i {
        font-size: 28px !important;
    }

    .premium-why-section {
        padding: 80px 0;
    }

    .premium-why-section h2 {
        font-size: 36px;
    }

    /* ---- PORTFOLIO (3 cols centered) ---- */
    .tab {
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 10px;
        justify-content: center;
    }

    .tab button {
        font-size: 13px;
        padding: 10px 16px;
        white-space: nowrap;
        flex-shrink: 0;
    }

    .portfolio-tabs .tabcontent .col-lg-3 {
        width: 33.333% !important;
        float: none !important;
        display: inline-block !important;
        margin-bottom: 20px;
        text-align: center;
        vertical-align: top;
        padding: 0 8px;
    }

    .portfolio-tabs .tabcontent .row {
        text-align: center;
        margin: 0 auto;
    }

    .portfolio-listing .col-lg-3,
    .portfolio-tabs .col-lg-3 {
        width: 33.333% !important;
    }

    .img-box {
        height: auto !important;
    }

    .img-box img {
        width: 100%;
        height: auto;
        display: block;
    }

    /* ---- PRICING (2 cols centered) ---- */
    .tabset {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        white-space: nowrap;
        text-align: center;
        padding-bottom: 5px;
    }

    .tabset > label {
        font-size: 13px;
        padding: 10px 12px;
        white-space: nowrap;
        display: inline-block;
        float: none;
    }

    .tab-panel {
        padding: 30px 0;
    }

    .pricing-area .vc_col-sm-4 {
        width: 50% !important;
        flex: 0 0 50% !important;
        max-width: 50% !important;
        float: none !important;
        display: inline-block !important;
        text-align: center;
        vertical-align: top;
        padding: 0 10px;
        margin-bottom: 20px;
    }

    .pricing-area .tab-panel .vc_row {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 0;
        text-align: center;
    }

    .pricing-carousel-wrapper {
        overflow: visible !important;
    }

    .pricing-carousel-track {
        display: flex !important;
        flex-wrap: wrap !important;
        justify-content: center !important;
        gap: 20px;
        width: 100% !important;
        animation: none !important;
        transform: none !important;
    }

    .pricing-carousel-track .wpb_column {
        width: 45% !important;
        flex: 0 0 45% !important;
        max-width: 45% !important;
        float: none !important;
        display: block !important;
    }

    .pricing-carousel-track .vc_column_container {
        flex: 0 0 100% !important;
        max-width: 100% !important;
    }

    .package-box .p-head label {
        font-size: 16px;
    }

    .package-box .p-head ins {
        font-size: 28px;
    }

    .package-box .p-content ul li {
        font-size: 13px;
    }

    /* ---- CTA (centered) ---- */
    .call-to-action {
        padding: 40px 0 !important;
    }

    .call-to-action h3 {
        font-size: 28px;
        text-align: center;
        margin-bottom: 14px;
    }

    .call-to-action p {
        text-align: center;
        font-size: 16px;
        padding-right: 0;
    }

    .call-to-action .col-sm-6 {
        text-align: center !important;
        width: 100% !important;
        margin-bottom: 15px;
    }

    .call-to-action .solid-btn,
    .call-to-action .see-throw-btn {
        display: inline-block;
        margin: 8px auto !important;
        text-align: center;
        font-size: 14px;
        padding: 12px 24px;
    }

    .display-vertical {
        flex-direction: column;
        text-align: center;
    }

    /* ---- FOOTER ---- */
    .istronix-footer {
        padding: 40px 0 20px;
    }

    .footer-main-row {
        display: flex;
        flex-direction: column;
        gap: 30px;
        align-items: center;
    }

    .footer-about-col {
        width: 100% !important;
        text-align: center;
    }

    .footer-services-col,
    .footer-quick-col {
        width: 100% !important;
        flex: 0 0 100%;
        max-width: 100%;
        text-align: center;
    }

    .footer-services-col ul,
    .footer-quick-col ul {
        list-style: none;
        padding: 0;
        margin: 0;
    }

    .footer-logo {
        text-align: center;
        margin-bottom: 15px;
    }

    .footer-logo img {
        max-width: 160px;
    }

    .footer-about-col p {
        font-size: 14px !important;
        text-align: center;
    }

    .istronix-footer h3 {
        font-size: 28px;
        text-align: center;
    }

    .footer-phone.istronix-contact-line {
        flex-direction: column;
        gap: 8px;
        justify-content: center;
        align-items: center;
    }

    .footer-phone.istronix-contact-line span {
        display: block;
        text-align: center;
    }

    .widget-social {
        margin-top: 15px;
        text-align: center;
    }

    .footer-services-menu li a {
        font-size: 14px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    .footer-bottom .menu {
        flex-direction: column;
        align-items: center;
        gap: 8px;
    }

    .footer-bottom .menu li a {
        font-size: 12px;
    }

    .copyright {
        font-size: 13px !important;
        text-align: center;
    }

    .footer-social-icon {
        text-align: center !important;
        margin-top: 15px;
    }

    .footer-social-icon a {
        margin: 0 5px;
    }

    /* ---- BLOG ---- */
    .blog-area .col-md-4 {
        width: 50% !important;
    }

    .blog-entry-title {
        font-size: 1.25rem;
    }

    .blog-inner .post-entry h2 {
        font-size: 22px;
        line-height: 28px !important;
    }

    .blog-inner .post-entry p {
        font-size: 15px !important;
    }

    .blog-inner {
        padding: 20px;
    }

    .blog-sidebar {
        margin-top: 30px;
    }

    /* ---- HEADER BANNERS ---- */
    .headers-banner {
        padding: 120px 0 60px !important;
    }

    .headers-banner h1 {
        font-size: 38px !important;
    }

    .headers-banner p {
        font-size: 16px !important;
    }

    .headers-banner .container {
        max-width: 760px;
    }

    /* ---- SERVICES PAGE ---- */
    .services-menu.services-main-side {
        width: 100% !important;
        margin-bottom: 30px;
    }

    .tab-width-full {
        width: 100% !important;
    }

    .services-main-right .webiconbox {
        width: 50% !important;
    }

    .services-main-right .right-border {
        border-right: none !important;
    }

    .services-main-right .home-icons img {
        width: 60px;
        height: auto;
    }

    /* ---- ABOUT PAGE ---- */
    .about-page .wpb_column.vc_col-sm-5,
    .about-page .wpb_column.vc_col-sm-7 {
        width: 100% !important;
    }

    .about-page .logoimg {
        text-align: center;
        margin-top: 30px;
        margin-bottom: 30px !important;
    }

    .about-page .logoimg img {
        max-width: 400px !important;
        padding: 25px 15px !important;
    }

    /* ---- CONTACT PAGE ---- */
    .contact-settings .col-sm-6 {
        width: 50% !important;
    }

    .contact-settings .col-md-6 {
        width: 50%;
        padding-right: 0;
    }

    .contact-settings ul.contact-info li {
        font-size: 16px;
        padding: 5px 0 5px 30px;
    }

    /* ---- OVERLAP FIXES ---- */
    .overlap-250,
    .overlap-275,
    .overlap-300,
    .overlap-350,
    .overlap-porfolio,
    .minus-top {
        margin-top: -40px !important;
    }

    .overlap-300 {
        margin-top: -80px !important;
    }

    .portfolio-flasher {
        margin-bottom: 0 !important;
        padding-bottom: 0 !important;
    }

    .flip-col {
        flex-direction: column-reverse !important;
    }

    .flip-col .vc_col-sm-6 {
        width: 100% !important;
    }

    /* ---- VC OVERRIDES ---- */
    .vc_row {
        margin-left: -10px !important;
        margin-right: -10px !important;
    }

    .margin-60 {
        margin-top: 30px;
    }

    .margin-80 {
        margin-top: 30px;
    }

    .margin-bt-150 {
        margin-bottom: 50px;
    }

    .big-boxes {
        padding: 30px 15px !important;
    }

    .size-100 h2 {
        font-size: 48px;
        line-height: 48px;
    }

    .single-image-float {
        position: relative;
        top: 0;
        right: 0;
        margin: 20px 0;
    }

    .flasher-price {
        position: relative;
        right: 0;
        top: 0;
        margin: 20px auto;
    }

    .content-text h2 {
        font-size: 26px;
    }

    .big-services {
        display: none;
    }

    .pakistan {
        display: none;
    }

    .testimonial h2 {
        font-size: 28px;
    }

    .bullets-points h2 {
        font-size: 30px;
    }

    .flip-text h2 {
        font-size: 24px;
    }

    .ending-notes h2 {
        font-size: 32px !important;
    }

    .number-flash h2 {
        font-size: 28px !important;
    }

    .round-flasher {
        width: 180px;
        height: 180px;
        padding-top: 50px;
        font-size: 16px;
        left: -20px;
        top: -40px;
    }

    .round-flasher h4 {
        font-size: 22px;
    }

    .certificate-bx {
        flex-direction: column !important;
        align-items: center !important;
        gap: 15px !important;
    }

    /* ---- FLOATING BUTTON ---- */
    .floatbutton {
        right: 15px !important;
        bottom: 15px !important;
    }

    .whatsapp-fx {
        width: 45px;
        height: 45px;
        font-size: 22px;
        line-height: 43px;
        right: 60px;
        bottom: 80px;
    }

    .wpcf7-checkbox .wpcf7-list-item {
        display: block;
        word-break: break-word;
    }
}

/* ================================================================
   TABLET (768px - 819px)
   Most critical breakpoint - centering, grid, spacing fixes
   ================================================================ */
@media (min-width: 768px) and (max-width: 819.98px) {
    .container {
        max-width: 720px;
        margin: 0 auto;
        padding-left: 20px;
        padding-right: 20px;
    }

    h2 {
        font-size: 28px;
    }

    h3 {
        font-size: 22px;
    }

    .gerneral-box h1 {
        font-size: 42px;
        line-height: 48px;
    }

    .main-banner h1 {
        font-size: 32px;
    }

    .main-banner h1 span {
        font-size: 36px;
    }

    .main-banner p {
        font-size: 18px;
    }

    /* ---- HERO BUTTONS CENTERED ---- */
    .main-banner .col-sm-8 {
        text-align: center;
    }

    .main-banner .solid-btn,
    .main-banner .see-throw-btn {
        display: inline-block;
        margin: 8px 6px;
    }

    .size-100 h2 {
        font-size: 48px;
        line-height: 48px;
    }

    .size-84 h2,
    .headers-banner.fancy-header h1 {
        font-size: 38px;
    }

    .visible-content {
        max-width: 80%;
        font-size: 20px;
    }

    .section-pd {
        padding: 50px 0 30px;
    }

    .padding-50 {
        padding: 30px !important;
    }

    .padding-100 {
        padding: 40px !important;
    }

    /* ---- HERO ---- */
    .div-centers .container {
        display: block !important;
    }

    /* ---- SERVICES (2 cols centered) ---- */
    .services-list {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 0;
        margin: 0 auto;
        text-align: center;
    }

    .services-list .webiconbox {
        flex: 0 0 50% !important;
        max-width: 50% !important;
        width: 50% !important;
        min-height: auto !important;
        margin-bottom: 0 !important;
        text-align: center;
    }

    .services-list .webiconbox .icon-spacing,
    .home .webiconbox .icon-spacing {
        text-align: center;
    }

    .services-list .webiconbox h3 {
        font-size: 17px;
    }

    .services-list .webiconbox p {
        font-size: 13px !important;
    }

    .services-list .webiconbox img {
        width: 60px;
        height: auto;
    }

    .services-list .home-icons {
        margin-bottom: 10px;
        margin-top: 10px;
        text-align: center !important;
    }

    .services-list .wpb_single_image.vc_align_left.home-icons {
        text-align: center !important;
    }

    .big-text h2 {
        font-size: 32px;
    }

    .big-text p {
        font-size: 16px;
    }

    /* ---- COUNTER (2 cols centered) ---- */
    .counter-area.vc_row.wpb_row.vc_row-fluid.vc_custom_1578245736027.vc_row-has-fill {
        left: auto !important;
        width: 100% !important;
        max-width: 100% !important;
        padding-left: 20px !important;
        padding-right: 20px !important;
        position: relative !important;
    }

    .counter-area .right-border {
        border-right: none !important;
    }

    .counter-area .wpb_column {
        margin-bottom: 20px;
    }

    .counter-area .wpb_column.vc_col-sm-3 {
        width: 50% !important;
        flex: 0 0 50% !important;
    }

    .counter-no {
        width: 100%;
        text-align: center;
        padding: 20px 0;
    }

    .counter-no p {
        font-size: 14px;
    }

    .counter-no p strong,
    .counter-no p strong span {
        font-size: 40px !important;
    }

    .counter-area {
        padding-bottom: 30px !important;
    }

    .counter-area .margin-60 {
        margin-top: 30px;
    }

    /* ---- WHY CHOOSE US (bento grid) ---- */
    .bento-grid-row {
        grid-template-columns: 1fr 1fr !important;
        gap: 16px !important;
        justify-items: center;
    }

    .premium-card-wrapper {
        min-width: auto;
        flex: 0 0 calc(50% - 8px);
        max-width: calc(50% - 8px);
    }

    .premium-why-card {
        padding: 24px 20px !important;
    }

    .premium-why-card h3 {
        font-size: 15px !important;
    }

    .premium-why-card .icon-container i {
        font-size: 28px !important;
    }

    .premium-why-section {
        padding: 80px 0;
    }

    .premium-why-section h2 {
        font-size: 36px;
    }

    .blog-entry-title {
        font-size: 1.25rem;
    }

    /* ---- PORTFOLIO (2 cols on small tablet) ---- */
    .tab {
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 10px;
        justify-content: center;
    }

    .tab button {
        font-size: 13px;
        padding: 10px 16px;
        white-space: nowrap;
        flex-shrink: 0;
    }

    .portfolio-tabs .tabcontent .col-lg-3 {
        width: 50% !important;
        float: none !important;
        display: inline-block !important;
        margin-bottom: 20px;
        text-align: center;
        vertical-align: top;
        padding: 0 8px;
    }

    .portfolio-tabs .tabcontent .row {
        text-align: center;
        margin: 0 auto;
    }

    .portfolio-tabs .col-lg-3 {
        width: 50% !important;
    }

    .img-box {
        height: auto !important;
    }

    .img-box img {
        width: 100%;
        height: auto;
        display: block;
    }

    /* ---- PRICING (2 cols centered) ---- */
    .pricing-area .vc_col-sm-4 {
        width: 50% !important;
        flex: 0 0 50% !important;
        max-width: 50% !important;
        float: none !important;
        display: inline-block !important;
        text-align: center;
        vertical-align: top;
        padding: 0 10px;
        margin-bottom: 20px;
    }

    .pricing-area .tab-panel .vc_row {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 0;
        text-align: center;
    }

    .pricing-carousel-wrapper {
        overflow: visible !important;
    }

    .pricing-carousel-track {
        display: flex !important;
        flex-wrap: wrap !important;
        justify-content: center !important;
        gap: 20px;
        width: 100% !important;
        animation: none !important;
        transform: none !important;
    }

    .pricing-carousel-track .wpb_column {
        width: 45% !important;
        flex: 0 0 45% !important;
        max-width: 45% !important;
        float: none !important;
        display: block !important;
    }

    /* ---- CTA (centered) ---- */
    .call-to-action {
        padding: 40px 0 !important;
    }

    .call-to-action h3 {
        font-size: 26px;
        text-align: center;
        margin-bottom: 14px;
    }

    .call-to-action p {
        text-align: center;
        font-size: 16px;
        padding-right: 0;
    }

    .call-to-action .col-sm-6 {
        text-align: center !important;
        width: 100% !important;
        margin-bottom: 15px;
    }

    .call-to-action .solid-btn,
    .call-to-action .see-throw-btn {
        display: inline-block;
        margin: 8px auto !important;
        text-align: center;
        font-size: 14px;
        padding: 12px 24px;
    }

    .display-vertical {
        flex-direction: column;
        text-align: center;
    }

    /* ---- FOOTER ---- */
    .istronix-footer {
        padding: 40px 0 20px;
    }

    .footer-main-row {
        display: flex;
        flex-direction: column;
        gap: 30px;
        align-items: center;
    }

    .footer-about-col {
        width: 100% !important;
        text-align: center;
    }

    .footer-services-col,
    .footer-quick-col {
        width: 100% !important;
        flex: 0 0 100%;
        max-width: 100%;
        text-align: center;
    }

    .footer-logo {
        text-align: center;
        margin-bottom: 15px;
    }

    .footer-logo img {
        max-width: 160px;
    }

    .footer-about-col p {
        font-size: 14px !important;
        text-align: center;
    }

    .footer-phone.istronix-contact-line {
        flex-direction: column;
        gap: 8px;
        justify-content: center;
        align-items: center;
    }

    .footer-phone.istronix-contact-line span {
        display: block;
        text-align: center;
    }

    .widget-social {
        margin-top: 15px;
        text-align: center;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    .footer-bottom .menu {
        flex-direction: column;
        align-items: center;
        gap: 8px;
    }

    .copyright {
        font-size: 13px !important;
        text-align: center;
    }

    .footer-social-icon {
        text-align: center !important;
        margin-top: 15px;
    }

    /* ---- HEADER BANNERS ---- */
    .headers-banner {
        padding: 120px 0 60px !important;
    }

    .headers-banner h1 {
        font-size: 34px !important;
    }

    .headers-banner .container {
        max-width: 720px;
    }

    /* ---- OVERLAP FIXES ---- */
    .overlap-250,
    .overlap-275,
    .overlap-300,
    .overlap-350,
    .overlap-porfolio,
    .minus-top {
        margin-top: -40px !important;
    }

    .overlap-300 {
        margin-top: -80px !important;
    }

    .portfolio-flasher {
        margin-bottom: 0 !important;
        padding-bottom: 0 !important;
    }

    .flip-col {
        flex-direction: column-reverse !important;
    }

    .flip-col .vc_col-sm-6 {
        width: 100% !important;
    }

    /* ---- VC OVERRIDES ---- */
    .vc_row {
        margin-left: -10px !important;
        margin-right: -10px !important;
    }

    .margin-60 {
        margin-top: 30px;
    }

    .size-100 h2 {
        font-size: 48px;
        line-height: 48px;
    }

    .testimonial h2 {
        font-size: 28px;
    }

    .bullets-points h2 {
        font-size: 28px;
    }

    .flip-text h2 {
        font-size: 22px;
    }

    .ending-notes h2 {
        font-size: 28px !important;
    }

    .certificate-bx {
        flex-direction: column !important;
        align-items: center !important;
    }

    .whatsapp-fx {
        width: 45px;
        height: 45px;
        font-size: 22px;
        line-height: 43px;
        right: 60px;
        bottom: 80px;
    }
}


/* ================================================================
   LARGE PHONES & SMALL TABLETS (640px - 767px)
   ================================================================ */
@media (min-width: 640px) and (max-width: 767.98px) {
    .container {
        max-width: 600px;
        padding-left: 15px;
        padding-right: 15px;
    }

    h2 {
        font-size: 24px;
    }

    h3 {
        font-size: 20px;
    }

    p {
        font-size: 15px !important;
    }

    .main-banner h1 {
        font-size: 26px;
    }

    .main-banner h1 span {
        font-size: 28px;
    }

    .main-banner p {
        font-size: 15px;
    }

    /* ---- HERO BUTTONS CENTERED ---- */
    .main-banner .col-sm-8 {
        text-align: center;
    }

    .main-banner .solid-btn,
    .main-banner .see-throw-btn {
        display: inline-block;
        margin: 8px 6px;
    }

    .size-100 h2 {
        font-size: 40px;
        line-height: 40px;
    }

    .size-84 h2 {
        font-size: 32px;
    }

    .section-pd {
        padding: 40px 0 20px;
    }

    /* ---- SERVICES (2 cols) ---- */
    .services-list {
        display: flex !important;
        flex-wrap: wrap !important;
        justify-content: center;
        gap: 0;
        padding: 0;
        text-align: center;
    }

    .services-list .webiconbox {
        flex: 0 0 50% !important;
        max-width: 50% !important;
        width: 50% !important;
        min-height: auto !important;
        margin-bottom: 0 !important;
        border-right: none !important;
        text-align: center;
    }

    .services-list .webiconbox:last-child {
        flex: 0 0 100% !important;
        max-width: 100% !important;
    }

    .services-list .webiconbox h3 {
        font-size: 15px;
    }

    .services-list .webiconbox p {
        font-size: 12px !important;
    }

    .services-list .webiconbox img {
        width: 50px;
    }

    .services-list .home-icons {
        text-align: center !important;
    }

    .big-text h2 {
        font-size: 28px;
    }

    .big-text p {
        font-size: 15px;
    }

    /* ---- COUNTER (stacked vertically on mobile) ---- */
    .counter-area .wpb_column.vc_col-sm-3 {
        width: 100% !important;
        flex: 0 0 100% !important;
    }

    .counter-area .right-border {
        border-right: none !important;
    }

    .counter-no p strong,
    .counter-no p strong span {
        font-size: 36px !important;
    }

    .counter-no {
        width: 100%;
        text-align: center;
    }

    /* ---- PORTFOLIO (2 cols) ---- */
    .portfolio-tabs .tabcontent .col-lg-3 {
        width: 50% !important;
        display: inline-block;
        float: none;
        margin-bottom: 15px;
        padding: 0 5px;
        vertical-align: top;
    }

    .portfolio-tabs .tabcontent .row {
        text-align: center;
    }

    .portfolio-listing .col-lg-3 {
        width: 50%;
        padding: 5px;
    }

    .tab button {
        font-size: 12px;
        padding: 8px 12px;
    }

    /* ---- PRICING ---- */
    .pricing-area .vc_col-sm-4 {
        width: 100% !important;
        flex: 0 0 100% !important;
    }

    .pricing-area .tab-panel .vc_row {
        display: block;
    }

    .pricing-carousel-track .wpb_column {
        width: 100% !important;
        flex: 0 0 100% !important;
        max-width: 100% !important;
    }

    /* ---- CTA ---- */
    .call-to-action h3 {
        font-size: 22px;
    }

    .call-to-action .solid-btn,
    .call-to-action .see-throw-btn {
        display: block;
        margin: 10px auto !important;
        max-width: 220px;
        text-align: center;
    }

    .call-to-action .col-sm-6 {
        text-align: center !important;
        width: 100% !important;
    }

    /* ---- FOOTER ---- */
    .footer-main-row {
        display: flex;
        flex-direction: column;
        gap: 25px;
    }

    .footer-about-col,
    .footer-services-col,
    .footer-quick-col {
        width: 100% !important;
        text-align: center;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    .footer-bottom .menu {
        flex-direction: column;
        align-items: center;
        gap: 8px;
    }

    .copyright {
        text-align: center;
    }

    .footer-social-icon {
        text-align: center !important;
    }

    /* ---- WHY CHOOSE US (bento grid) ---- */
    .bento-grid-row {
        grid-template-columns: 1fr 1fr !important;
        gap: 12px !important;
        justify-items: center;
    }

    .premium-card-wrapper {
        min-width: auto;
        flex: 0 0 calc(50% - 8px);
        max-width: calc(50% - 8px);
    }

    .premium-why-card {
        padding: 20px 15px !important;
    }

    .premium-why-card h3 {
        font-size: 14px !important;
    }

    .premium-why-card .icon-container i {
        font-size: 28px !important;
    }

    .premium-why-section {
        padding: 60px 0;
    }

    .premium-why-section h2 {
        font-size: 28px;
        margin-bottom: 40px;
    }

    .blog-entry-title {
        font-size: 1.15rem;
    }

    /* ---- HEADERS ---- */
    .headers-banner {
        padding: 110px 0 50px !important;
    }

    .headers-banner h1 {
        font-size: 28px !important;
    }

    /* ---- VC OVERRIDES ---- */
    .wpb_column {
        width: 100% !important;
    }

    .vc_col-xs-6 {
        width: 50% !important;
        float: left;
    }

    .vc_col-xs-12 {
        width: 100% !important;
    }

    .right-border {
        border-right: none !important;
    }

    .left-border {
        border-left: none !important;
    }

    .padding-100 {
        padding: 30px !important;
    }

    .padding-50 {
        padding: 20px !important;
    }

    .margin-60 {
        margin-top: 30px;
    }

    .size-100 h2 {
        font-size: 40px;
        line-height: 40px;
    }

    .ending-notes h2 {
        font-size: 28px !important;
    }

    .testimonial h2 {
        font-size: 24px;
    }

    .bullets-points h2 {
        font-size: 26px;
    }

    .flip-text h2 {
        font-size: 20px;
    }

    .single-image-float {
        position: relative;
        top: 0;
        right: 0;
        margin: 20px 0;
    }

    .overlap-250,
    .overlap-275,
    .overlap-300,
    .overlap-350,
    .overlap-porfolio,
    .minus-top {
        margin-top: 0 !important;
    }

    .portfolio-flasher {
        margin-bottom: 0 !important;
        padding-bottom: 0 !important;
    }

    .flip-col {
        flex-direction: column-reverse !important;
    }

    .flip-col .vc_col-sm-6 {
        width: 100% !important;
    }

    .certificate-bx {
        flex-direction: column !important;
        align-items: center !important;
    }

    .founded-box {
        display: none;
    }

    .contact-settings .col-sm-6,
    .contact-settings .col-md-6 {
        width: 100% !important;
    }
}


/* ================================================================
   PHONES (576px - 639px)
   ================================================================ */
@media (min-width: 576px) and (max-width: 639.98px) {
    .container {
        max-width: 540px;
        padding-left: 15px;
        padding-right: 15px;
    }

    h2 {
        font-size: 24px;
    }

    h3 {
        font-size: 20px;
    }

    p {
        font-size: 15px !important;
    }

    .main-banner h1 {
        font-size: 24px;
    }

    .main-banner h1 span {
        font-size: 26px;
    }

    .main-banner p {
        font-size: 15px;
    }

    .size-100 h2 {
        font-size: 36px;
        line-height: 36px;
    }

    .section-pd {
        padding: 40px 0 20px;
    }

    /* ---- SERVICES (2 cols) ---- */
    .services-list {
        display: flex !important;
        flex-wrap: wrap !important;
        justify-content: center;
        gap: 0;
        padding: 0;
        text-align: center;
    }

    .services-list .webiconbox {
        flex: 0 0 50% !important;
        max-width: 50% !important;
        width: 50% !important;
        text-align: center;
    }

    .services-list .webiconbox:last-child {
        flex: 0 0 100% !important;
        max-width: 100% !important;
    }

    .services-list .webiconbox h3 {
        font-size: 15px;
    }

    .services-list .webiconbox p {
        font-size: 12px !important;
    }

    .services-list .webiconbox img {
        width: 50px;
    }

    .services-list .webiconbox .icon-spacing {
        text-align: center;
    }

    /* ---- COUNTER (stacked vertically on mobile) ---- */
    .counter-area .wpb_column.vc_col-sm-3 {
        width: 100% !important;
        flex: 0 0 100% !important;
    }

    .counter-area .right-border {
        border-right: none !important;
    }

    .counter-no p strong,
    .counter-no p strong span {
        font-size: 36px !important;
    }

    .counter-no {
        width: 100%;
        text-align: center;
    }

    .counter-area .wpb_column {
        margin-bottom: 20px;
    }

    /* ---- WHY CHOOSE US (bento grid) ---- */
    .bento-grid-row {
        grid-template-columns: 1fr 1fr !important;
        gap: 12px !important;
        justify-items: center;
    }

    .premium-card-wrapper {
        flex: 0 0 calc(50% - 8px);
        max-width: calc(50% - 8px);
    }

    .premium-why-card {
        padding: 20px 15px !important;
    }

    .premium-why-card h3 {
        font-size: 14px !important;
    }

    .premium-why-card .icon-container i {
        font-size: 28px !important;
    }

    .premium-why-section {
        padding: 50px 0;
    }

    .premium-why-section h2 {
        font-size: 28px;
        margin-bottom: 30px;
    }

    .blog-entry-title {
        font-size: 1.15rem;
    }

    /* ---- PORTFOLIO (2 cols) ---- */
    .portfolio-tabs .tabcontent .col-lg-3 {
        width: 50% !important;
        display: inline-block;
        float: none;
        margin-bottom: 15px;
        padding: 0 5px;
        vertical-align: top;
    }

    .portfolio-tabs .tabcontent .row {
        text-align: center;
    }

    .tab button {
        font-size: 12px;
        padding: 8px 12px;
    }

    /* ---- PRICING (1 col) ---- */
    .pricing-area .vc_col-sm-4 {
        width: 100% !important;
        flex: 0 0 100% !important;
        max-width: 100% !important;
    }

    .pricing-carousel-track .wpb_column {
        width: 100% !important;
        flex: 0 0 100% !important;
        max-width: 100% !important;
    }

    .pricing-box {
        max-width: 100%;
        overflow: hidden;
    }

    .pricing-box .plan-inside {
        padding: 10px 20px;
    }

    .pricing-box .plan-header {
        padding: 25px 15px 0;
    }

    /* ---- CTA ---- */
    .call-to-action h3 {
        font-size: 22px;
        text-align: center;
    }

    .call-to-action p {
        text-align: center;
        font-size: 14px !important;
    }

    .call-to-action .solid-btn,
    .call-to-action .see-throw-btn {
        display: block;
        margin: 10px auto !important;
        max-width: 220px;
        text-align: center;
    }

    .call-to-action .col-sm-6 {
        width: 100% !important;
        text-align: center !important;
    }

    /* ---- HERO BUTTONS ---- */
    .main-banner .col-sm-8 {
        text-align: center !important;
    }

    /* ---- HIDE HOME FLASHER TEXT ON MOBILE ---- */
    .home-flasher p {
        display: none !important;
    }

    .main-banner .solid-btn,
    .main-banner .see-throw-btn {
        display: inline-block;
        margin: 8px 6px;
    }

    /* ---- FOOTER ---- */
    .footer-main-row {
        display: flex;
        flex-direction: column;
        gap: 25px;
    }

    .footer-about-col,
    .footer-services-col,
    .footer-quick-col {
        width: 100% !important;
        text-align: center;
    }

    .istronix-footer h3 {
        text-align: center;
    }

    .footer-logo {
        text-align: center;
        margin-bottom: 15px;
    }

    .footer-logo img {
        max-width: 160px;
    }

    .footer-about-col p {
        text-align: center;
    }

    .footer-phone.istronix-contact-line {
        flex-direction: column;
        gap: 8px;
        justify-content: center;
        align-items: center;
    }

    .widget-social {
        margin-top: 15px;
        text-align: center;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    .footer-bottom .menu {
        flex-direction: column;
        align-items: center;
        gap: 8px;
    }

    .copyright {
        font-size: 13px !important;
        text-align: center;
    }

    .footer-social-icon {
        text-align: center !important;
        margin-top: 12px;
    }

    .footer-social-icon a {
        margin: 0 5px;
    }

    /* ---- VC OVERRIDES ---- */
    .wpb_column {
        width: 100% !important;
    }

    .vc_col-xs-6 {
        width: 50% !important;
        float: left;
    }

    .right-border {
        border-right: none !important;
    }

    .padding-100 {
        padding: 30px !important;
    }

    .padding-50 {
        padding: 20px !important;
    }

    .margin-60 {
        margin-top: 30px;
    }

    .margin-80 {
        margin-top: 30px;
    }

    .big-boxes {
        padding: 25px 15px !important;
    }

    .overlap-250,
    .overlap-275,
    .overlap-300,
    .overlap-350,
    .overlap-porfolio,
    .minus-top {
        margin-top: 0 !important;
    }

    .portfolio-flasher {
        margin-bottom: 0 !important;
        padding-bottom: 0 !important;
    }

    .flip-col {
        flex-direction: column-reverse !important;
    }

    .flip-col .vc_col-sm-6 {
        width: 100% !important;
    }

    .single-image-float {
        position: relative;
        top: 0;
        right: 0;
        margin: 20px 0;
    }

    .flasher-price {
        position: relative;
        right: 0;
        top: 0;
        margin: 20px auto;
    }

    .certificate-bx {
        flex-direction: column !important;
        align-items: center !important;
    }

    .founded-box {
        display: none;
    }

    .headers-banner {
        padding: 110px 0 50px !important;
    }

    .headers-banner h1 {
        font-size: 26px !important;
    }

    .headers-banner p {
        font-size: 15px !important;
    }

    .display-vertical {
        flex-direction: column;
        text-align: center;
    }

    .testimonial h2 {
        font-size: 24px;
    }

    .testimonial p {
        font-size: 16px;
    }

    .bullets-points h2 {
        font-size: 26px;
    }

    .flip-text h2 {
        font-size: 20px;
    }

    .ending-notes h2 {
        font-size: 28px !important;
    }

    .contact-settings .col-sm-6,
    .contact-settings .col-md-6 {
        width: 100% !important;
    }

    .blog-area .col-md-4 {
        width: 100% !important;
    }

    .blog-inner {
        padding: 15px;
    }

    .blog-inner .post-entry h2 {
        font-size: 20px;
        line-height: 26px !important;
    }

    .blog-inner .post-entry p {
        font-size: 14px !important;
    }

    .blog-sidebar {
        margin-top: 30px;
    }

    .number-flash h2 {
        font-size: 24px !important;
    }

    .round-flasher {
        width: 160px;
        height: 160px;
        padding-top: 40px;
        font-size: 14px;
        left: -10px;
        top: -30px;
    }

    .round-flasher h4 {
        font-size: 20px;
    }

    .whatsapp-fx {
        width: 45px;
        height: 45px;
        font-size: 22px;
        line-height: 43px;
        right: 60px;
        bottom: 80px;
    }

    .floatbutton {
        right: 15px !important;
        bottom: 15px !important;
    }
}


/* ================================================================
   MOBILE (max-width: 575px)
   Global rules for all mobile sizes
   ================================================================ */
@media (max-width: 575.98px) {
    html, body {
        overflow-x: hidden;
        width: 100%;
        max-width: 100%;
    }

    body {
        overflow-x: hidden;
    }

    *[style*="background-attachment: fixed"] {
        background-attachment: scroll !important;
    }

    .container {
        max-width: 100%;
        padding-left: 15px;
        padding-right: 15px;
    }

    /* ---- HIDE HOME FLASHER TEXT ON MOBILE ---- */
    .home-flasher p {
        display: none !important;
    }

    /* Responsive typography */
    h1 {
        font-size: 24px;
    }

    h2 {
        font-size: 22px;
    }

    h3 {
        font-size: 18px;
    }

    h4,
    p {
        font-size: 14px !important;
    }

    .main-banner h1 {
        font-size: 24px;
        line-height: 1.2;
    }

    .main-banner h1 span {
        font-size: 26px;
    }

    .main-banner p {
        font-size: 15px;
        line-height: 22px;
    }

    .size-100 h2 {
        font-size: 32px;
        line-height: 32px;
    }

    .size-84 h2,
    .headers-banner.fancy-header h1 {
        font-size: 28px;
    }

    .big-text h2 {
        font-size: 26px !important;
    }

    .big-text p {
        font-size: 14px !important;
    }

    .section-pd {
        padding: 30px 0 15px;
    }

    /* ---- OVERFLOW PROTECTION ---- */
    .Starter-kit {
        max-width: 100%;
        width: auto;
    }

    .image-right,
    .left-image {
        min-width: auto;
    }

    .visible-content {
        max-width: 100%;
    }

    .height-500,
    .height-450,
    .height-550,
    .height-600,
    .small-banner .vc_column-inner {
        height: auto;
        min-height: 200px;
    }

    /* ---- HEADER ---- */
    header {
        padding: 15px 0 0;
    }

    header .container {
        max-width: 100%;
        padding: 0;
    }

    .main-bar .navbar .col-sm-3,
    .main-bar .navbar .col-sm-6 {
        display: none !important;
    }

    .responsive-header {
        display: flex !important;
        align-items: center;
        padding: 10px 15px;
    }

    #responsive-menu {
        padding: 20px;
    }

    #responsive-menu ul li a {
        font-size: 15px;
        padding: 12px 0;
    }

    /* ---- HERO ---- */
    .main-banner {
        min-height: 50vh !important;
        height: auto !important;
        padding: 100px 0 50px !important;
        overflow: hidden;
    }

    .main-banner > .container {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        padding-left: 15px !important;
        padding-right: 15px !important;
        margin: 0 auto !important;
    }

    .main-banner .col-sm-8 {
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 !important;
        text-align: center !important;
        float: none !important;
        display: block !important;
    }

    .main-banner .solid-btn,
    .main-banner .see-throw-btn {
        margin-bottom: 15px;
        font-size: 14px;
        padding: 12px 20px;
        display: block !important;
        max-width: 240px !important;
        margin-left: auto !important;
        margin-right: auto !important;
        float: none !important;
        width: auto !important;
    }

    /* Hide empty column */
    .main-banner .col-sm-6 {
        display: none !important;
    }

    /* ---- PARTNERS ---- */
    .partners-area {
        padding: 20px 0;
    }

    .partners-area ul li {
        padding: 8px;
    }

    .partners-area ul li img {
        max-height: 25px;
    }

    /* ---- SERVICES (1 col centered) ---- */
    .services-list {
        display: flex !important;
        flex-wrap: wrap !important;
        justify-content: center;
        gap: 0;
        padding: 0;
        text-align: center;
    }

    .services-list .webiconbox {
        flex: 0 0 100% !important;
        max-width: 100% !important;
        width: 100% !important;
        text-align: center;
        padding: 15px !important;
    }

    .services-list .webiconbox h3 {
        font-size: 17px;
    }

    .services-list .webiconbox p {
        font-size: 13px !important;
    }

    .services-list .webiconbox img {
        width: 60px;
        height: auto;
    }

    .services-list .home-icons {
        margin-top: 10px;
        margin-bottom: 10px;
        text-align: center !important;
    }

    .services-list .webiconbox .icon-spacing {
        text-align: center;
    }

    /* ---- COUNTER (2 cols) ---- */
    .counter-area .right-border {
        border-right: none !important;
    }

    .counter-area .wpb_column {
        margin-bottom: 20px;
    }

    .counter-area .wpb_column.vc_col-sm-3 {
        width: 50% !important;
        flex: 0 0 50% !important;
    }

    .counter-no {
        width: 100%;
        text-align: center;
        padding: 15px 0;
    }

    .counter-no p {
        font-size: 13px;
    }

    .counter-no p strong,
    .counter-no p strong span {
        font-size: 32px !important;
    }

    .counter-area {
        padding-bottom: 20px !important;
    }

    .counter-area .margin-60 {
        margin-top: 20px;
    }

    /* ---- PORTFOLIO (1 col centered) ---- */
    .tab {
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 10px;
        justify-content: flex-start;
    }

    .tab button {
        font-size: 12px;
        padding: 8px 14px;
        white-space: nowrap;
        flex-shrink: 0;
    }

    .portfolio-tabs .col-lg-3 {
        width: 100%;
        padding: 5px;
        text-align: center;
    }

    .portfolio-tabs .tabcontent .col-lg-3 {
        width: 100% !important;
        display: block;
        margin-bottom: 15px;
    }

    .portfolio-tabs .tabcontent .row {
        text-align: center;
    }

    .img-box {
        height: auto !important;
        overflow: visible !important;
    }

    .img-box img {
        width: 100%;
        height: auto;
        display: block;
    }

    .portfolio-listing .col-lg-3 {
        width: 100%;
        padding: 5px;
    }

    /* ---- PRICING (1 col centered) ---- */
    .tabset {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        white-space: nowrap;
        text-align: center;
        padding-bottom: 5px;
    }

    .tabset > label {
        font-size: 12px;
        padding: 10px 14px;
        white-space: nowrap;
        display: inline-block;
        float: none;
    }

    .pricing-area .vc_col-sm-4 {
        width: 100% !important;
        flex: 0 0 100% !important;
        max-width: 100% !important;
        margin-bottom: 20px;
    }

    .pricing-area .tab-panel .vc_row {
        display: block;
        text-align: center;
    }

    .pricing-carousel-track .wpb_column {
        width: 100% !important;
        flex: 0 0 100% !important;
        max-width: 100% !important;
    }

    .pricing-area .customscroll {
        height: auto !important;
        overflow: visible !important;
    }

    .package-box .p-head label {
        font-size: 16px;
    }

    .package-box .p-head ins {
        font-size: 28px;
    }

    /* ---- CTA (centered) ---- */
    .call-to-action {
        padding: 30px 0 !important;
    }

    .call-to-action h3 {
        font-size: 20px;
        text-align: center;
    }

    .call-to-action p {
        text-align: center;
        font-size: 14px !important;
    }

    .call-to-action .col-sm-6 {
        text-align: center !important;
        width: 100% !important;
    }

    .call-to-action .solid-btn,
    .call-to-action .see-throw-btn {
        display: block;
        margin: 10px auto !important;
        max-width: 240px;
        text-align: center;
        font-size: 14px;
        padding: 12px 20px;
    }

    /* ---- WHY CHOOSE US ---- */
    .bento-grid-row {
        grid-template-columns: 1fr !important;
        gap: 12px !important;
        justify-items: center;
    }

    .premium-card-wrapper {
        min-width: 100%;
        flex: 0 0 100%;
        max-width: 100%;
    }

    .premium-why-card {
        padding: 20px 15px !important;
    }

    .premium-why-card h3 {
        font-size: 14px !important;
    }

    .premium-why-card .icon-container i {
        font-size: 26px !important;
    }

    .premium-why-section {
        padding: 40px 0;
    }

    .premium-why-section h2 {
        font-size: 24px;
        margin-bottom: 30px;
    }

    /* ---- HEADER BANNERS ---- */
    .headers-banner {
        padding: 100px 0 40px !important;
    }

    .headers-banner h1 {
        font-size: 24px !important;
    }

    .headers-banner p {
        font-size: 14px !important;
    }

    .headers-banner .post-info {
        font-size: 14px;
    }

    /* ---- FOOTER (stacked, centered) ---- */
    .istronix-footer {
        padding: 30px 0 15px;
    }

    .footer-main-row {
        display: flex;
        flex-direction: column;
        gap: 25px;
        align-items: center;
    }

    .footer-about-col {
        width: 100% !important;
        text-align: center;
    }

    .footer-services-col,
    .footer-quick-col {
        width: 100% !important;
        flex: 0 0 100%;
        max-width: 100%;
        text-align: center;
    }

    .istronix-footer h3 {
        text-align: center;
        font-size: 22px;
    }

    .footer-logo {
        text-align: center;
        margin-bottom: 15px;
    }

    .footer-logo img {
        max-width: 140px;
    }

    .footer-about-col p {
        font-size: 13px !important;
        text-align: center;
    }

    .footer-phone.istronix-contact-line {
        flex-direction: column;
        gap: 8px;
        justify-content: center;
        align-items: center;
    }

    .footer-phone.istronix-contact-line span {
        display: block;
        text-align: center;
    }

    .widget-social {
        margin-top: 15px;
        text-align: center;
    }

    .footer-services-menu {
        padding: 0;
        margin: 0;
    }

    .footer-services-menu li a {
        font-size: 13px;
    }

    .footer-logo {
        text-align: center;
        margin-bottom: 15px;
    }

    .footer-logo img {
        max-width: 140px;
    }

    .footer-about-col p {
        font-size: 13px !important;
        text-align: center;
    }

    .istronix-footer h3 {
        font-size: 24px;
        text-align: center;
    }

    .footer-phone.istronix-contact-line {
        flex-direction: column;
        gap: 8px;
        justify-content: center;
        align-items: center;
    }

    .footer-phone.istronix-contact-line span {
        display: block;
        text-align: center;
    }

    .widget-social {
        margin-top: 15px;
        text-align: center;
    }

    .footer-services-menu {
        padding: 0;
        margin: 0;
    }

    .footer-services-menu li a {
        font-size: 13px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    .footer-bottom .menu {
        flex-direction: column;
        align-items: center;
        gap: 8px;
        padding: 0;
        margin: 0;
    }

    .footer-bottom .menu li a {
        font-size: 12px;
    }

    .copyright {
        font-size: 12px !important;
        text-align: center;
    }

    .footer-social-icon {
        text-align: center !important;
        margin-top: 12px;
    }

    .footer-social-icon a {
        margin: 0 5px;
    }

    /* ---- ABOUT PAGE ---- */
    .about-page .wpb_column.vc_col-sm-5,
    .about-page .wpb_column.vc_col-sm-7 {
        width: 100% !important;
    }

    .about-page .logoimg {
        text-align: center;
        margin-top: 20px;
        margin-bottom: 20px !important;
    }

    .about-page .logoimg img {
        max-width: 100% !important;
        padding: 20px 10px !important;
    }

    .founded-box {
        display: none;
    }

    /* ---- SERVICES PAGE ---- */
    .services-menu.services-main-side {
        width: 100% !important;
        margin-bottom: 30px;
    }

    .services-main-side h2 {
        font-size: 22px;
    }

    .services-main-side p {
        width: 100%;
    }

    .tab-width-full {
        width: 100% !important;
    }

    .services-main-right .webiconbox {
        width: 100% !important;
    }

    .services-main-right .right-border {
        border-right: none !important;
    }

    /* ---- BLOG ---- */
    .blog-area .col-md-4 {
        width: 100% !important;
    }

    .blog-area .post-entry {
        padding: 0 15px;
    }

    .blog-area .post-details h2 {
        font-size: 18px;
    }

    .blog-inner {
        padding: 15px;
    }

    .blog-inner .post-entry h2 {
        font-size: 20px;
        line-height: 26px !important;
    }

    .blog-inner .post-entry p {
        font-size: 14px !important;
    }

    .blog-sidebar {
        margin-top: 30px;
    }

    /* ---- CONTACT PAGE ---- */
    .contact-settings .col-sm-6 {
        width: 100% !important;
    }

    .contact-settings .col-md-6 {
        width: 100%;
        padding-right: 0;
    }

    .contact-settings h2 {
        font-size: 24px !important;
    }

    .contact-settings ul.contact-info li {
        font-size: 14px;
        padding: 5px 0 5px 28px;
    }

    .contact-settings #contact-form {
        padding-top: 0 !important;
    }

    /* ---- VC OVERRIDES ---- */
    .vc_row {
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    .wpb_column {
        width: 100% !important;
    }

    .vc_col-xs-6 {
        width: 50% !important;
        float: left;
    }

    .right-border {
        border-right: none !important;
    }

    .left-border {
        border-left: none !important;
    }

    .padding-100 {
        padding: 20px !important;
    }

    .padding-50 {
        padding: 15px !important;
    }

    .margin-60 {
        margin-top: 20px;
    }

    .margin-80 {
        margin-top: 20px;
    }

    .margin-bt-150 {
        margin-bottom: 30px;
    }

    .pd-300 {
        padding-bottom: 40px;
    }

    .big-boxes {
        padding: 20px 15px !important;
    }

    .single-image-float {
        position: relative;
        top: 0;
        right: 0;
        margin: 15px 0;
    }

    .flasher-price {
        position: relative;
        right: 0;
        top: 0;
        margin: 15px auto;
    }

    .left-space {
        padding-left: 15px;
    }

    /* ---- OVERLAP FIXES ---- */
    .overlap-250,
    .overlap-275,
    .overlap-300,
    .overlap-350,
    .overlap-porfolio,
    .minus-top {
        margin-top: 0 !important;
    }

    .portfolio-flasher {
        margin-bottom: 0 !important;
        padding-bottom: 0 !important;
    }

    .flip-col {
        flex-direction: column-reverse !important;
    }

    .flip-col .vc_col-sm-6 {
        width: 100% !important;
    }

    /* ---- MISC ---- */
    .text-center p br {
        display: none;
    }

    .visible-content {
        max-width: 100%;
        font-size: 18px;
        line-height: 30px;
    }

    .content-text h2 {
        font-size: 24px;
    }

    .testimonial h2 {
        font-size: 22px;
    }

    .testimonial p {
        font-size: 15px;
    }

    .bullets-points h2 {
        font-size: 24px;
    }

    .flip-text h2 {
        font-size: 18px;
    }

    .ending-notes {
        margin: 15px 0 30px !important;
    }

    .ending-notes h2 {
        font-size: 24px !important;
    }

    .ending-notes p {
        font-size: 16px !important;
    }

    .number-flash h2 {
        font-size: 22px !important;
    }

    .number-flash .fa {
        font-size: 16px;
        margin-right: 8px;
    }

    .round-flasher {
        width: 140px;
        height: 140px;
        padding-top: 35px;
        font-size: 14px;
        left: -10px;
        top: -30px;
    }

    .round-flasher h4 {
        font-size: 18px;
    }

    .Process {
        width: 100%;
    }

    .Process h2 {
        font-size: 28px;
    }

    .main-h1 h1 {
        font-size: 28px;
    }

    .main-h1 p {
        width: 100%;
    }

    .certificate-bx {
        flex-direction: column !important;
        align-items: center !important;
        gap: 12px !important;
    }

    .scrol-menu ul {
        white-space: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .scrol-menu li {
        margin-right: 10px;
    }

    .big-services {
        display: none;
    }

    .pakistan {
        display: none;
    }

    hr {
        display: none;
    }

    .vc_empty_space {
        display: none;
    }

    /* ---- FORMS ---- */
    .query-frm .col-md-6,
    .query-frm .col-md-12 {
        padding: 0 !important;
    }

    .sp-contact .wpcf7 .wpcf7-form-control-wrap input[type=text],
    .sp-contact .wpcf7 .wpcf7-form-control-wrap input[type=email],
    .sp-contact .wpcf7 .wpcf7-form-control-wrap input[type=tel],
    .sp-contact .wpcf7 .wpcf7-form-control-wrap select,
    .sp-contact .wpcf7 .wpcf7-form-control-wrap textarea {
        height: 42px;
        font-size: 14px;
    }

    .sp-contact textarea {
        height: 100px !important;
    }

    .contact-flasher .vc_column-inner {
        padding: 20px !important;
    }

    .contact-flasher .wpcf7 .wpcf7-form-control-wrap input[type=text],
    .contact-flasher .wpcf7 .wpcf7-form-control-wrap input[type=email],
    .contact-flasher .wpcf7 .wpcf7-form-control-wrap input[type=tel] {
        margin-bottom: 10px;
    }

    .pd-left-70 {
        padding-left: 0 !important;
    }

    .wpcf7-checkbox .wpcf7-list-item {
        display: block;
        word-break: break-word;
    }

    .wpcf7-checkbox .wpcf7-list-item-label {
        font-size: 12px !important;
        word-break: break-word;
    }

    /* ---- COUNTER SPACING ---- */
    .counter-area .margin-60 {
        margin-top: 20px;
    }

    .counter-area {
        padding-bottom: 20px !important;
    }

    .counter-area .wpb_column {
        margin-bottom: 15px;
    }

    /* ---- FLOATING BUTTON ---- */
    .floatbutton {
        right: 10px !important;
        bottom: 10px !important;
    }

    .floatbutton .btns_wrap a {
        font-size: 11px;
        padding: 6px;
    }

    .floatbutton .float-form {
        width: 260px;
        right: 0;
        bottom: 55px;
    }

    .floatbutton .float-form h3 {
        font-size: 15px;
    }

    .whatsapp-fx {
        width: 40px;
        height: 40px;
        font-size: 20px;
        line-height: 38px;
        right: 55px;
        bottom: 70px;
    }

    /* ---- PAGE SPECIFIC ---- */
    .icon-settings .wpb_column {
        width: 100% !important;
    }

    .icon-settings .right-border {
        border-right: none !important;
    }

    .icon-settings .mb-30 {
        margin-bottom: 15px;
    }

    .teamtext {
        margin-top: 30px;
        margin-left: 0;
    }

    .teaminfo {
        width: 100%;
    }

    .blog-sticky {
        position: relative;
        top: 0;
    }

    .seo-sticky {
        position: relative;
        top: 0;
    }

    .light-header {
        padding: 10px 0;
    }

    .slider-content {
        padding: 12px;
    }

    .slider-content h2 {
        font-size: 18px;
    }

    .video-btn {
        padding: 40px 0;
    }

    .compare-img .vc_single_image-wrapper {
        display: block;
        text-align: center;
    }

    .wpb_single_image img {
        max-width: 100%;
        height: auto;
    }
}


/* ================================================================
   TINY MOBILE (320px - 374px)
   ================================================================ */
@media (min-width: 320px) and (max-width: 374.98px) {
    .container {
        padding-left: 10px;
        padding-right: 10px;
    }

    h2 {
        font-size: 20px;
    }

    h3 {
        font-size: 16px;
    }

    p {
        font-size: 13px !important;
    }

    .main-banner h1 {
        font-size: 20px;
    }

    .main-banner h1 span {
        font-size: 22px;
    }

    .main-banner p {
        font-size: 13px;
        line-height: 20px;
    }

    .size-100 h2 {
        font-size: 28px;
        line-height: 28px;
    }

    .big-text h2 {
        font-size: 22px !important;
    }

    .services-list {
        display: flex !important;
        flex-wrap: wrap !important;
        justify-content: center;
        text-align: center;
    }

    .services-list .webiconbox {
        flex: 0 0 100% !important;
        max-width: 100% !important;
        width: 100% !important;
        text-align: center;
    }

    .services-list .webiconbox .icon-spacing {
        text-align: center;
    }

    .counter-area .wpb_column.vc_col-sm-3 {
        width: 100% !important;
        flex: 0 0 100% !important;
    }

    .counter-no p strong,
    .counter-no p strong span {
        font-size: 28px !important;
    }

    .portfolio-tabs .tabcontent .col-lg-3 {
        width: 100% !important;
    }

    .portfolio-listing .col-lg-3 {
        width: 100%;
    }

    .call-to-action h3 {
        font-size: 18px;
    }

    .call-to-action .solid-btn,
    .call-to-action .see-throw-btn {
        max-width: 200px;
        font-size: 13px;
        padding: 10px 16px;
    }

    .main-banner .solid-btn,
    .main-banner .see-throw-btn {
        max-width: 200px;
        font-size: 13px;
        padding: 10px 16px;
    }

    .footer-logo img {
        max-width: 120px;
    }

    .istronix-footer h3 {
        font-size: 20px;
    }

    .floatbutton {
        right: 5px !important;
        bottom: 5px !important;
    }

    .whatsapp-fx {
        width: 35px;
        height: 35px;
        font-size: 16px;
        line-height: 33px;
        right: 45px;
        bottom: 65px;
    }
}
