/* ========================================================
       COMPREHENSIVE RESPONSIVE STYLES (MOBILE TO DESKTOP)
       Optimized for 360px - 480px - 768px - 1024px - 1440px
       ======================================================== */

    /* Universal safety against horizontal overflow */
    html, body {
      overflow-x: hidden !important;
      max-width: 100vw !important;
      width: 100% !important;
    }

    /* Input zoom fix for iOS Safari */
    input, select, textarea {
      font-size: 16px !important;
    }

    /* Tablet Breakpoint (<= 1024px) */
    @media (max-width: 1024px) {
      .hero-grid,
      .about-split,
      .contact-grid {
        grid-template-columns: 1fr !important;
        gap: 36px;
      }
      .pillar-content-grid {
        grid-template-columns: 1fr !important;
        gap: 20px;
      }
      .footer-grid {
        grid-template-columns: 1fr 1fr !important;
        gap: 32px;
      }
      .services-grid {
        grid-template-columns: 1fr !important;
        gap: 24px;
      }
    }

    /* Mobile Landscape & Tablets (<= 768px) */
    @media (max-width: 768px) {
      .wrap {
        padding: 0 18px !important;
      }

      /* Header & Nav */
      .nav-container {
        height: 68px !important;
      }
      .brand-logo-img {
        height: 48px !important;
        max-width: 160px !important;
      }
      .nav-links,
      .nav-cta-desktop {
        display: none !important;
      }
      .menu-toggle {
        display: flex !important;
      }
      .logo-title {
        font-size: 13.5px !important;
      }
      .logo-subtitle {
        font-size: 9.5px !important;
        letter-spacing: 1px !important;
      }
      .logo-badge {
        width: 38px !important;
        height: 38px !important;
        font-size: 17px !important;
      }

      /* Hero Section */
      .hero {
        padding: 48px 0 52px !important;
      }
      .hero h1 {
        font-size: 26px !important;
        line-height: 1.25 !important;
        margin-bottom: 14px !important;
      }
      .hero p.lead {
        font-size: 15.5px !important;
        margin-bottom: 24px !important;
      }
      .hero-ctas {
        display: flex !important;
        flex-direction: column !important;
        gap: 10px !important;
        width: 100% !important;
      }
      .hero-ctas .btn {
        width: 100% !important;
        padding: 12px 18px !important;
        box-sizing: border-box !important;
      }
      .hero-image-wrapper {
        border-radius: 12px !important;
      }
      .hero-image-wrapper img {
        height: 220px !important;
      }
      .hero-floating-card {
        position: static !important;
        margin-top: 14px !important;
        padding: 12px 14px !important;
      }
      .hero-trust {
        grid-template-columns: 1fr !important;
        gap: 12px !important;
        padding-top: 20px !important;
      }

      /* Stats Section */
      .stats-section {
        padding: 36px 0 !important;
      }
      .stats-grid {
        grid-template-columns: 1fr 1fr !important;
        gap: 12px !important;
      }
      .stat-card {
        padding: 16px 10px !important;
      }
      .stat-num {
        font-size: 28px !important;
        margin-bottom: 4px !important;
      }
      .stat-label {
        font-size: 13px !important;
      }
      .stat-desc {
        font-size: 11px !important;
        display: -webkit-box;
        line-clamp: 2;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
      }

      /* Section Common Typography */
      section {
        padding: 56px 0 !important;
      }
      .section-title {
        font-size: 24px !important;
        margin-bottom: 10px !important;
      }
      .section-subtitle {
        font-size: 15px !important;
        margin-bottom: 28px !important;
      }

      /* Advantages */
      .advantage-grid {
        grid-template-columns: 1fr !important;
        gap: 16px !important;
      }
      .adv-card {
        padding: 20px 18px !important;
      }

      /* About Section & Legalities */
      .about-img-box img {
        height: 220px !important;
      }
      .about-badge {
        font-size: 11.5px !important;
        padding: 8px 14px !important;
        bottom: -10px !important;
        right: 12px !important;
      }
      .legal-card {
        padding: 16px 14px !important;
        margin: 20px 0 24px !important;
      }
      .legal-grid {
        grid-template-columns: 1fr !important;
        gap: 8px !important;
      }
      .mission-grid {
        grid-template-columns: 1fr !important;
        gap: 14px !important;
      }
      .mission-card {
        padding: 20px 18px !important;
      }
      .mission-card h4,
      .mission-body h4 {
        min-height: auto !important;
      }
      .values-container {
        padding: 18px 16px !important;
      }
      .value-chip {
        padding: 8px 12px !important;
        font-size: 12px !important;
      }

      /* Services Section */
      .pillar-card {
        padding: 20px 16px !important;
      }
      .pillar-title {
        font-size: 18px !important;
      }
      .pillar-lead {
        font-size: 14px !important;
        margin-bottom: 16px !important;
      }
      .pillar-gallery.cols-3 {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 8px !important;
      }
      .pillar-gallery.cols-2 {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 8px !important;
      }
      .pillar-gallery img {
        height: 110px !important;
      }
      .services-grid {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
      }
      .service-image-box {
        height: 180px !important;
      }
      .service-body {
        padding: 20px 16px !important;
      }
      .service-title {
        font-size: 18px !important;
      }
      .service-standards-keywords {
        font-size: 11px !important;
        word-break: break-word !important;
        overflow-wrap: break-word !important;
      }

      /* Projects Horizontal Filter & Grid */
      .projects-filter {
        display: flex !important;
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        gap: 8px !important;
        padding-bottom: 8px !important;
        margin-bottom: 24px !important;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
      }
      .projects-filter::-webkit-scrollbar {
        display: none;
      }
      .filter-btn {
        flex-shrink: 0 !important;
        padding: 6px 14px !important;
        font-size: 12.5px !important;
      }
      .projects-grid {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
      }
      .project-img-box {
        height: 180px !important;
      }
      .project-body {
        padding: 18px 16px !important;
      }
      .project-title {
        font-size: 16px !important;
      }
      .project-metrics-badge {
        font-size: 11px !important;
        padding: 4px 8px !important;
      }

      /* Testimonials */
      .partners-bar {
        padding: 16px !important;
        margin-bottom: 32px !important;
      }
      .sectors-pills {
        gap: 6px !important;
      }
      .sector-pill {
        font-size: 11.5px !important;
        padding: 5px 10px !important;
      }
      .testimonials-grid {
        grid-template-columns: 1fr !important;
        gap: 18px !important;
      }
      .testimonial-card {
        padding: 20px 16px !important;
      }
      .testimonial-quote {
        font-size: 14px !important;
      }

      /* Articles */
      .articles-grid {
        grid-template-columns: 1fr !important;
        gap: 18px !important;
      }
      .article-card {
        padding: 20px 16px !important;
      }
      .article-title {
        font-size: 16px !important;
      }

      /* Contact & RFQ Form */
      .contact-grid {
        grid-template-columns: 1fr !important;
        gap: 24px !important;
      }
      .contact-info-card,
      .form-card {
        padding: 22px 16px !important;
      }
      .form-row {
        grid-template-columns: 1fr !important;
        gap: 0 !important;
      }
      .form-title {
        font-size: 19px !important;
      }

      /* Footer */
      footer {
        padding: 48px 0 24px !important;
      }
      .footer-grid {
        grid-template-columns: 1fr !important;
        gap: 28px !important;
      }
      .footer-bottom {
        flex-direction: column !important;
        text-align: center !important;
        gap: 10px !important;
      }

      /* Floating WhatsApp Button on Mobile */
      .wa-float span.wa-label {
        display: none !important;
      }
      .wa-float {
        padding: 0 !important;
        width: 52px !important;
        height: 52px !important;
        border-radius: 50% !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        bottom: 18px !important;
        right: 18px !important;
      }
      .wa-icon-svg {
        width: 26px !important;
        height: 26px !important;
      }

      /* Modals on Mobile */
      .modal-overlay {
        padding: 10px !important;
      }
      .modal-dialog {
        max-height: 94vh !important;
        border-radius: 12px !important;
      }
      .modal-header {
        padding: 16px 18px !important;
      }
      .modal-title-box h3 {
        font-size: 16.5px !important;
      }
      .modal-body {
        padding: 18px 16px !important;
        font-size: 14px !important;
      }
    }

    /* Small Mobile Devices (<= 380px) */
    @media (max-width: 380px) {
      .wrap {
        padding: 0 14px !important;
      }
      .logo-title {
        font-size: 12px !important;
      }
      .logo-badge {
        width: 34px !important;
        height: 34px !important;
        font-size: 15px !important;
      }
      .nav-actions {
        gap: 6px !important;
      }
      .lang-btn {
        padding: 3px 7px !important;
        font-size: 10.5px !important;
      }
      .theme-btn,
      .menu-toggle {
        width: 32px !important;
        height: 32px !important;
      }
      .hero h1 {
        font-size: 22px !important;
      }
      .stat-num {
        font-size: 24px !important;
      }
      .pillar-gallery.cols-3,
      .pillar-gallery.cols-2 {
        grid-template-columns: 1fr !important;
      }
      .pillar-gallery img {
        height: 160px !important;
      }
    }
