/* -------------------------------------------------------------
   RESPONSIVE DESIGN BREAKPOINTS - STANDARDIZED SECTIONS & GRIDS
------------------------------------------------------------- */

/* Global Rock-Solid Mobile Viewport Protection */
html, body {
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: hidden !important;
    box-sizing: border-box !important;
}

*, *::before, *::after {
    box-sizing: border-box !important;
}

main, #main-content, .site-header, .site-footer, section {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
}

img, video, canvas, iframe {
    max-width: 100% !important;
    height: auto;
}

/* Large Laptops & Desktops (max-width: 1200px) */
@media (max-width: 1200px) {
    .container {
        padding-left: 1.75rem;
        padding-right: 1.75rem;
    }

    .section {
        padding: 4.5rem 0;
    }

    .hero-three-cols-grid {
        grid-template-columns: 1.1fr 1fr;
        gap: 2.25rem;
    }

    .hero-dashboard-col {
        grid-column: 1 / -1;
        justify-content: center;
    }

    .hero-metrics-dashboard-wrap {
        max-width: 540px;
        width: 100%;
        margin: 0 auto;
    }

    .credentials-metrics-strip {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.25rem;
    }

    .projects-pillars-row {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.25rem;
    }

    .services-clean-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .certifications-cards-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .footer-top-grid {
        grid-template-columns: 1.5fr 1fr 1fr 1fr;
        gap: 2rem;
    }
}

/* Tablets & Small Laptops (max-width: 992px) */
@media (max-width: 992px) {
    .container {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }

    .section {
        padding: 3.75rem 0;
    }

    .hero-section {
        padding: 3.5rem 0 3.75rem 0;
    }

    .hero-left-social-pill {
        display: none;
    }

    .hero-three-cols-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2.5rem;
    }

    .hero-eyebrow-tag {
        margin: 0 auto 1rem auto;
    }

    .hero-description-lead {
        margin: 0 auto 2rem auto;
        max-width: 560px;
    }

    .hero-button-row {
        justify-content: center;
    }

    .hero-big-title {
        font-size: 2.5rem;
    }

    .about-two-cols-layout {
        grid-template-columns: 1fr;
        gap: 2.75rem;
    }

    .projects-header-grid {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }

    .exp-mockup-header-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
    }

    .exp-mockup-metrics-capsule {
        width: 100%;
        justify-content: space-around;
        flex-wrap: wrap;
        gap: 1rem;
        padding: 1rem 1.25rem;
    }

    .exp-staggered-timeline-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .exp-timeline-spine-track,
    .exp-spine-spacer-col,
    .exp-connector-anchor {
        display: none !important;
    }

    .exp-timeline-col-right {
        margin-top: 0;
    }

    .exp-mountain-callout-card {
        flex-direction: column;
        text-align: center;
        align-items: center;
        padding: 2rem 1.5rem;
    }

    .emc-graphic-col {
        width: 100px;
        margin: 0 auto;
    }

    .emc-download-btn {
        margin: 0.5rem auto 0 auto;
    }

    .about-main-heading {
        font-size: 2.25rem;
        text-align: center;
    }

    .insights-contact-grid {
        grid-template-columns: 1fr;
        gap: 2.75rem;
    }

    .blog-perfect-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .education-cards-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .certifications-cards-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.25rem;
    }

    .projects-pillars-row {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.25rem;
    }

    .ready-grow-banner-card {
        flex-direction: column;
        text-align: center;
        padding: 2.25rem 1.75rem;
        gap: 1.5rem;
    }

    .ready-grow-banner-card .rgb-btn-col {
        width: 100%;
    }

    .ready-grow-banner-card .rgb-btn-col .btn {
        width: 100%;
        max-width: 320px;
        margin: 0 auto;
    }

    .footer-top-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2.5rem;
    }

    /* Staggered Experience Journey Roadmap on Mobile/Tablet */
    .exp-staggered-timeline-container {
        display: flex !important;
        flex-direction: column !important;
        position: relative !important;
        padding-left: 36px !important;
        gap: 2rem !important;
        max-width: 100% !important;
    }

    .exp-timeline-col-left,
    .exp-timeline-col-right {
        display: contents !important;
    }

    .exp-spine-spacer-col {
        display: none !important;
    }

    /* Chronological Step Ordering */
    .exp-step-1 { order: 1 !important; margin-top: 0 !important; }
    .exp-step-2 { order: 2 !important; margin-top: 0 !important; }
    .exp-step-3 { order: 3 !important; margin-top: 0 !important; }
    .exp-step-4 { order: 4 !important; margin-top: 0 !important; }
    .exp-step-callout { order: 5 !important; margin-top: 0 !important; }

    /* Continuous Left Journey Timeline Spine */
    .exp-timeline-spine-track {
        display: block !important;
        position: absolute !important;
        left: 14px !important;
        top: 25px !important;
        bottom: 60px !important;
        width: 2px !important;
        transform: none !important;
        background-image: linear-gradient(to bottom, #CBD5E1 50%, transparent 50%) !important;
        background-size: 2px 10px !important;
        z-index: 1 !important;
    }

    /* Left Journey Connector Nodes on Mobile */
    .exp-staggered-item {
        position: relative !important;
        width: 100% !important;
    }

    .exp-connector-anchor {
        display: flex !important;
        position: absolute !important;
        left: -36px !important;
        top: 28px !important;
        transform: none !important;
        z-index: 5 !important;
        align-items: center !important;
    }

    .exp-connector-anchor.anchor-right,
    .exp-connector-anchor.anchor-left {
        right: auto !important;
        left: -36px !important;
        flex-direction: row !important;
    }

    .exp-arm-line {
        display: block !important;
        width: 12px !important;
        height: 2px !important;
        background: #CBD5E1 !important;
        order: 2 !important;
    }

    .exp-node-ring {
        display: flex !important;
        width: 24px !important;
        height: 24px !important;
        border-radius: 50% !important;
        background: #FFFFFF !important;
        order: 1 !important;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) !important;
        flex-shrink: 0 !important;
    }

    .exp-node-dot {
        width: 10px !important;
        height: 10px !important;
    }

    .exp-step-callout .exp-connector-anchor {
        display: none !important;
    }
}

/* -------------------------------------------------------------
   MOBILE NAVIGATION - ROCK-SOLID DROPDOWN (<= 992px)
------------------------------------------------------------- */
@media (max-width: 992px) {
    body {
        padding-top: 68px !important;
    }

    body.mobile-menu-open {
        overflow: hidden !important;
    }

    .site-header {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        height: 68px !important;
        background: rgba(255, 255, 255, 0.98) !important;
        backdrop-filter: blur(16px) !important;
        -webkit-backdrop-filter: blur(16px) !important;
        border-bottom: 1px solid #E2E8F0 !important;
        box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05) !important;
        z-index: 99999 !important;
    }

    .header-inner {
        height: 68px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
    }

    .mobile-nav-toggle {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 42px !important;
        height: 42px !important;
        border-radius: 10px !important;
        background: #F8FAFC !important;
        border: 1px solid #E2E8F0 !important;
        color: #0F172A !important;
        cursor: pointer !important;
        padding: 0 !important;
        transition: all 0.2s ease !important;
    }

    .mobile-nav-toggle:hover,
    .mobile-nav-toggle:focus {
        background: #FFF7ED !important;
        color: #FF5722 !important;
        border-color: #FFEDD5 !important;
    }

    .header-actions {
        display: flex !important;
        align-items: center !important;
        position: relative !important;
        z-index: 1000000 !important;
        pointer-events: auto !important;
    }

    .header-actions .btn-connect {
        display: none !important;
    }

    .mobile-nav-toggle {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 44px !important;
        height: 44px !important;
        border-radius: 10px !important;
        background: #F8FAFC !important;
        border: 1.5px solid #E2E8F0 !important;
        color: #0B0D12 !important;
        cursor: pointer !important;
        padding: 0 !important;
        position: relative !important;
        z-index: 1000001 !important;
        pointer-events: auto !important;
        touch-action: manipulation !important;
        -webkit-tap-highlight-color: transparent !important;
        transition: all 0.2s ease !important;
    }

    .mobile-nav-toggle:hover,
    .mobile-nav-toggle:focus,
    .mobile-nav-toggle:active {
        background: #FFF7ED !important;
        color: #FF5722 !important;
        border-color: #FFEDD5 !important;
    }

    /* Mobile Navigation Dropdown Menu */
    .site-header .nav-container {
        position: static !important;
        display: block !important;
    }

    .site-header .nav-menu {
        display: none !important;
        position: fixed !important;
        top: 68px !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        height: calc(100vh - 68px) !important;
        height: calc(100dvh - 68px) !important;
        background: #FFFFFF !important;
        flex-direction: column !important;
        align-items: stretch !important;
        padding: 1.25rem 1.25rem 2.5rem 1.25rem !important;
        gap: 0.5rem !important;
        list-style: none !important;
        margin: 0 !important;
        overflow-y: auto !important;
        -webkit-overflow-scrolling: touch !important;
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15) !important;
        border-top: 1px solid #E2E8F0 !important;
        z-index: 999999 !important;
    }

    .site-header .nav-menu.open {
        display: flex !important;
        animation: mobileNavFadeIn 0.2s ease forwards !important;
    }

    @keyframes mobileNavFadeIn {
        0% {
            opacity: 0;
            transform: translateY(-8px);
        }
        100% {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .site-header .nav-menu li {
        width: 100% !important;
        list-style: none !important;
    }

    .site-header .nav-menu .nav-link {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        width: 100% !important;
        padding: 0.85rem 1rem !important;
        font-size: 1rem !important;
        font-weight: 600 !important;
        color: #1E293B !important;
        background: #F8FAFC !important;
        border: 1px solid #F1F5F9 !important;
        border-radius: 10px !important;
        text-decoration: none !important;
        transition: all 0.2s ease !important;
    }

    .site-header .nav-menu .nav-link:hover,
    .site-header .nav-menu .nav-link.active {
        background: #FFF7ED !important;
        color: #FF5722 !important;
        border-color: #FFEDD5 !important;
    }

    .site-header .nav-menu .nav-link.active::after {
        display: none !important;
    }

    .mobile-nav-cta-row {
        display: block !important;
        margin-top: 0.5rem !important;
        padding-top: 0.75rem !important;
        border-top: 1px dashed #E2E8F0 !important;
    }

    .mobile-menu-direct-cta {
        width: 100% !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        padding: 0.85rem 1.25rem !important;
        font-size: 0.95rem !important;
        font-weight: 700 !important;
        border-radius: 10px !important;
        background: linear-gradient(135deg, #FF5722, #FF7043) !important;
        color: #FFFFFF !important;
        border: none !important;
        box-shadow: 0 4px 14px rgba(255, 87, 34, 0.25) !important;
    }
}

/* Mobile Landscape & Tablets (max-width: 768px) */
@media (max-width: 768px) {

    /* Hide hero floating doodles to prevent horizontal overflow */
    .hero-doodle-dart,
    .hero-doodle-orbit,
    .hero-doodle-megaphone,
    .hero-doodle-arrow,
    .hero-dot-matrix {
        display: none !important;
    }

    /* Standardized Responsive Button Padding */
    .btn {
        padding: 0.65rem 1.25rem;
        font-size: 0.9rem;
        min-height: 44px;
    }

    .btn-lg {
        padding: 0.75rem 1.35rem !important;
        font-size: 0.9375rem !important;
        min-height: 48px !important;
        white-space: normal !important;
        line-height: 1.3 !important;
    }

    .btn-sm {
        padding: 0.4rem 0.95rem !important;
        font-size: 0.8rem !important;
        min-height: 34px !important;
    }

    .section {
        padding: 3.25rem 0;
    }

    .hero-big-title {
        font-size: 2.15rem;
        line-height: 1.2;
    }

    /* Contact Page */
    .contact-main-grid {
        display: flex !important;
        flex-direction: column !important;
        width: 100% !important;
        max-width: 100% !important;
        gap: 2rem !important;
    }

    .contact-main-grid > * {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        box-sizing: border-box !important;
    }

    .contact-quick-card {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        padding: 1.5rem 1.15rem !important;
    }

    .q-form-row-2 {
        display: flex !important;
        flex-direction: column !important;
        gap: 1rem !important;
        width: 100% !important;
    }

    .q-form-field {
        width: 100% !important;
        min-width: 0 !important;
    }

    .q-form-input, .q-form-select, .q-form-textarea {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    /* Inner Page Headers */
    .section-title-large {
        font-size: 1.85rem;
    }

    .services-main-title {
        font-size: 1.75rem;
    }

    .projects-main-title {
        font-size: 1.75rem;
    }

    .projects-header-grid {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
    }

    .projects-hero-text-col {
        width: 100% !important;
    }

    .projects-header-visual-banner {
        width: 100% !important;
        max-width: 100% !important;
    }

    .projects-filter-bar {
        overflow-x: auto;
        flex-wrap: nowrap;
        -webkit-overflow-scrolling: touch;
        justify-content: flex-start;
        padding-bottom: 0.5rem;
        width: 100%;
        gap: 0.5rem;
    }

    .filter-tab {
        white-space: nowrap;
        flex-shrink: 0;
    }

    .exp-mockup-title {
        font-size: 2.15rem;
    }

    .credentials-hero-title {
        font-size: 2.15rem;
    }

    .credentials-header-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.25rem;
    }

    .credentials-header-right {
        width: 100%;
        justify-content: space-between;
        flex-wrap: wrap;
        gap: 0.75rem;
    }

    .credentials-metrics-strip {
        grid-template-columns: 1fr !important;
        gap: 0.85rem !important;
    }

    .experience-metrics-strip {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .experience-cards-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .certifications-cards-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .projects-cta-callout-banner {
        flex-direction: column;
        text-align: center;
        padding: 2rem 1.5rem;
        gap: 1.5rem;
    }

    .p-cta-buttons-col {
        justify-content: center;
        width: 100%;
    }

    .p-cta-buttons-col .p-cta-btn-primary,
    .p-cta-buttons-col .p-cta-btn-secondary {
        width: 100%;
        max-width: 320px;
        justify-content: center;
    }

    .credentials-bottom-callout-banner {
        flex-direction: column;
        text-align: center;
        padding: 2rem 1.5rem;
        gap: 1.5rem;
    }

    .cred-banner-buttons {
        justify-content: center;
        width: 100%;
    }

    .cred-banner-buttons .btn {
        width: 100%;
        max-width: 320px;
        margin: 0 auto;
    }

    .services-clean-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .brands-trust-inner {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }

    .trust-logos-row {
        justify-content: center;
        gap: 1.5rem;
        flex-wrap: wrap;
    }

    .footer-bottom-inner {
        flex-direction: column;
        gap: 1.25rem;
        text-align: center;
    }

    .cert-parchment-frame {
        padding: 1.5rem 1rem;
    }

    .cert-frame-recipient {
        font-size: 1.5rem;
    }

    /* Project Detail Page */
    .project-detail-banner-frame {
        margin-bottom: 2.25rem;
    }
}

/* Mobile Small Screens (max-width: 576px) */
@media (max-width: 576px) {
    .container {
        padding-left: 1.15rem;
        padding-right: 1.15rem;
    }

    .section {
        padding: 2.75rem 0;
    }

    .hero-section {
        padding: 2.5rem 0 3rem 0;
    }

    .hero-big-title {
        font-size: 1.85rem;
        line-height: 1.22;
    }

    .section-title-large {
        font-size: 1.6rem;
    }

    .services-main-title {
        font-size: 1.55rem;
    }

    .projects-main-title {
        font-size: 1.55rem;
    }

    .about-main-heading {
        font-size: 1.65rem;
    }

    .exp-mockup-title {
        font-size: 1.65rem;
    }

    .credentials-hero-title {
        font-size: 1.65rem;
    }

    .hero-orange-arch {
        width: 240px;
        height: 300px;
    }

    .hero-orange-arch-wrap {
        width: 260px !important;
        height: 340px !important;
    }

    .hero-orange-circle-bg {
        width: 230px !important;
        height: 230px !important;
    }

    .hero-orange-outer-ring {
        width: 250px !important;
        height: 250px !important;
    }

    .hero-button-row {
        flex-direction: column;
        width: 100%;
        gap: 0.75rem;
    }

    .hero-button-row .btn {
        width: 100%;
    }

    .about-four-stats-grid {
        grid-template-columns: 1fr;
        gap: 0.85rem;
    }

    .about-pillars-grid {
        grid-template-columns: 1fr;
        gap: 0.85rem;
    }

    .about-lead-quote-card {
        padding: 1.35rem 1.15rem;
    }

    /* About Section Automation Diagram Mobile Optimization */
    .about-laptop-mockup-card {
        padding: 1.25rem 1rem !important;
        overflow: hidden;
    }

    .laptop-screen-frame {
        max-width: 100% !important;
        height: auto !important;
        padding: 0.5rem 0.65rem;
    }

    .screen-title-bar {
        max-width: 170px !important;
    }

    .automation-nodes-flow {
        flex-direction: column !important;
        gap: 0.35rem !important;
        width: 100%;
    }

    .auto-node {
        width: 100% !important;
        justify-content: center !important;
        padding: 0.3rem 0.5rem !important;
    }

    .auto-node-arrow {
        transform: rotate(90deg);
        line-height: 0.8;
        font-size: 0.75rem;
    }

    .laptop-base-stand {
        max-width: 100% !important;
    }

    /* Core Competencies Skill Bars Mobile Optimization */
    .about-expertise-wrap {
        padding: 1.25rem 1rem !important;
        border-radius: 16px;
        overflow: hidden;
    }

    .sb-name {
        font-size: 0.785rem !important;
        line-height: 1.35;
    }

    .sb-percent {
        font-size: 0.75rem !important;
    }

    /* Work Experience Mobile Card Optimization */
    .exp-mockup-metrics-capsule {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 0.85rem;
        padding: 1.15rem 1rem;
        border-radius: 16px;
    }

    .exp-mockup-metrics-capsule .emm-divider {
        display: none;
    }

    .emm-item {
        justify-content: flex-start;
    }

    .exp-zz-card {
        padding: 1.35rem 1.15rem;
        border-radius: 16px;
    }

    .exp-zz-card-header {
        display: flex;
        flex-direction: column;
        gap: 0.75rem;
        align-items: flex-start;
    }

    .exp-zz-header-main {
        width: 100%;
    }

    .exp-zz-date-badge {
        align-self: flex-start;
        padding: 0.25rem 0.65rem;
        font-size: 0.72rem;
        border-radius: 8px;
    }

    .exp-zz-role-title {
        font-size: 1.15rem;
    }

    .exp-zz-skills-row {
        gap: 0.35rem;
    }

    .exp-zz-skill-pill {
        font-size: 0.6875rem;
        padding: 0.2rem 0.55rem;
    }

    /* Education & Credentials */
    .credentials-metrics-strip {
        grid-template-columns: 1fr !important;
        gap: 0.75rem !important;
        padding: 0 !important;
        background: transparent !important;
        border: none !important;
    }

    .credentials-header-graphic {
        display: none !important;
    }

    .education-cards-grid {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
    }

    .edu-card-item {
        padding: 1.35rem 1.15rem !important;
        border-radius: 16px !important;
    }

    .edu-card-top-row {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 0.5rem !important;
    }

    .edu-card-bottom-strip {
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 0.65rem !important;
    }

    .edu-card-bottom-strip .edu-view-cert-btn {
        width: 100% !important;
        justify-content: center !important;
    }

    .edu-card-bottom-strip .edu-verified-check {
        text-align: center !important;
        font-size: 0.75rem !important;
    }

    .cert-card-bottom-strip {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: 0.35rem !important;
        flex-wrap: nowrap !important;
        width: 100% !important;
    }

    .cert-card-bottom-strip .edu-view-cert-btn {
        width: auto !important;
        padding: 0.35rem 0.6rem !important;
        font-size: 0.72rem !important;
        flex-shrink: 0 !important;
    }

    .cert-card-bottom-strip .edu-verify-external-btn {
        width: auto !important;
        padding: 0.35rem 0.55rem !important;
        font-size: 0.72rem !important;
        flex-shrink: 0 !important;
    }

    .cert-card-bottom-strip .edu-verified-check {
        font-size: 0.72rem !important;
        margin-left: auto !important;
        white-space: nowrap !important;
        flex-shrink: 0 !important;
    }

    .edu-mock-card {
        padding: 1.35rem 1.15rem;
        border-radius: 16px;
    }

    .edu-mock-card-header {
        display: flex;
        flex-direction: column;
        gap: 0.75rem;
        align-items: flex-start;
    }

    .edu-mock-date-pill {
        align-self: flex-start;
        font-size: 0.72rem;
        padding: 0.2rem 0.6rem;
    }

    .projects-pillars-row {
        grid-template-columns: 1fr;
        gap: 0.85rem;
    }

    .projects-header-visual-banner {
        padding: 1.25rem 1rem !important;
        border-radius: 16px;
    }

    .p-vis-cards-row {
        flex-wrap: wrap !important;
        gap: 0.5rem !important;
    }

    .p-vis-mini-card {
        flex: 1 1 calc(50% - 0.5rem) !important;
        min-width: 90px;
    }

    .blog-perfect-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .q-form-row-2 {
        grid-template-columns: 1fr;
        gap: 0.85rem;
    }

    .footer-top-grid {
        grid-template-columns: 1fr 1fr !important;
        gap: 1.75rem 1.25rem !important;
    }

    .footer-brand-col {
        grid-column: 1 / -1 !important;
        margin-bottom: 0.25rem !important;
    }

    .footer-brand-col p {
        max-width: 100% !important;
    }

    .footer-nav-col {
        grid-column: 1 !important;
    }

    .footer-cred-col {
        grid-column: 2 !important;
    }

    .footer-contact-col {
        grid-column: 1 / -1 !important;
        margin-top: 0.25rem !important;
        padding-top: 1.5rem !important;
        border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
    }

    .footer-links-list a {
        font-size: 0.835rem !important;
    }

    .footer-col-title {
        font-size: 0.95rem !important;
        margin-bottom: 0.85rem !important;
    }

    .credentials-filter-tabs {
        width: 100%;
        justify-content: center;
        gap: 0.4rem;
    }

    .cred-filter-tab {
        padding: 0.45rem 0.9rem;
        font-size: 0.8rem;
    }

    .emc-download-btn {
        width: 100%;
        justify-content: center;
        font-size: 0.785rem;
    }

    /* Contact & Form Cards */
    .contact-quick-card {
        padding: 1.5rem 1.15rem !important;
        border-radius: 16px;
    }

    /* Resume Card */
    .card {
        padding: 1.5rem 1.15rem !important;
        border-radius: 16px;
    }

    /* Hero Integrated Brand Bar */
    .hero-integrated-brand-bar {
        padding: 1.25rem 1rem !important;
        border-radius: 14px;
        margin-top: 1rem;
    }

    .hero-brand-bar-inner {
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
        gap: 1rem !important;
    }

    .hero-brand-logos-row {
        justify-content: center !important;
        gap: 1.5rem !important;
        width: 100% !important;
    }

    .brand-trust-logo-img {
        height: 22px !important;
        max-width: 110px !important;
    }

    /* Hero Analytics Dashboard Mobile Optimization */
    .hero-metrics-dashboard-wrap {
        max-width: 100% !important;
        width: 100% !important;
    }

    .hero-four-cards-grid {
        grid-template-columns: 1fr 1fr !important;
        gap: 0.6rem !important;
    }

    .hero-stat-card {
        padding: 0.75rem 0.85rem !important;
    }

    .hsc-num {
        font-size: 1.35rem !important;
    }

    .hero-growth-chart-card {
        padding: 1rem !important;
        overflow: hidden;
    }

    /* Project Detail Browser Bar */
    .proj-browser-url {
        max-width: 150px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        font-size: 0.75rem !important;
    }

    .project-detail-banner-frame {
        border-radius: 14px;
    }
}

/* Extra Small Phones (max-width: 380px) */
@media (max-width: 380px) {
    .container {
        padding-left: 0.85rem;
        padding-right: 0.85rem;
    }

    .hero-big-title {
        font-size: 1.65rem;
    }

    .hero-four-cards-grid {
        grid-template-columns: 1fr !important;
    }

    .exp-mockup-metrics-capsule,
    .credentials-metrics-strip {
        grid-template-columns: 1fr;
    }

    .hero-orange-arch {
        width: 210px;
        height: 270px;
    }
}

/* -------------------------------------------------------------
   BRAND LOGO MARQUEE: FIT 3-4 LOGOS AT A TIME ON MOBILE
------------------------------------------------------------- */
@media (max-width: 768px) {
    .brand-marquee-section {
        padding: 1.25rem 0 !important;
    }

    .brand-marquee-header {
        margin-bottom: 0.65rem !important;
    }

    .brand-marquee-tag {
        font-size: 0.65rem !important;
        padding: 0.2rem 0.65rem !important;
    }

    .brand-marquee-lead {
        font-size: 0.82rem !important;
        line-height: 1.35 !important;
    }

    .brand-marquee-track-wrapper {
        padding: 0.25rem 0 !important;
        mask-image: linear-gradient(to right, transparent, black 3%, black 97%, transparent) !important;
        -webkit-mask-image: linear-gradient(to right, transparent, black 3%, black 97%, transparent) !important;
    }

    .bm-gradient-overlay {
        width: 20px !important;
    }

    .brand-marquee-slider {
        animation-duration: 20s !important;
    }

    .brand-marquee-group {
        gap: 0.85rem !important;
        padding-right: 0.85rem !important;
    }

    /* Clean Balanced Frame for Tablets */
    .brand-logo-frame {
        height: 54px !important;
        padding: 6px 16px !important;
        border-radius: 10px !important;
    }

    .bm-pure-logo-img {
        height: 34px !important;
        max-height: 34px !important;
        max-width: 120px !important;
    }

    /* Hero Floating Badges on Tablets/Mobiles */
    .hero-floating-roi-pill {
        left: -10px !important;
        top: 25px !important;
        transform: scale(0.88);
    }

    .hero-floating-ai-pill {
        right: -10px !important;
        top: 35px !important;
        transform: scale(0.88);
    }
}

@media (max-width: 480px) {
    .hero-floating-roi-pill,
    .hero-floating-ai-pill {
        display: none !important;
    }

    .brand-marquee-slider {
        animation-duration: 16s !important;
    }

    .brand-marquee-group {
        gap: 0.75rem !important;
        padding-right: 0.75rem !important;
    }

    .brand-logo-frame {
        height: 48px !important;
        padding: 6px 14px !important;
        border-radius: 10px !important;
    }

    .bm-pure-logo-img {
        height: 30px !important;
        max-height: 30px !important;
        max-width: 110px !important;
    }

    .services-clean-grid {
        grid-template-columns: 1fr !important;
        gap: 1.25rem !important;
    }

    .marketing-skills-slider {
        animation-duration: 18s !important;
    }

    .marketing-skills-strip {
        border-radius: 12px !important;
        padding: 0.75rem 0 !important;
        margin-top: 2rem !important;
    }

    .m-skill-chip {
        font-size: 0.75rem !important;
        padding: 0.35rem 0.85rem !important;
    }
}

/* -------------------------------------------------------------
   CONTACT PAGE RESPONSIVE MEDIA QUERIES
------------------------------------------------------------- */
@media (max-width: 992px) {
    .contact-hero-grid {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
        text-align: center;
    }

    .contact-hero-lead {
        margin: 0 auto 1.5rem auto !important;
    }

    .contact-value-badges-row {
        justify-content: center !important;
    }

    .contact-two-cols-layout {
        grid-template-columns: 1fr !important;
        gap: 1.75rem !important;
    }

    .contact-credibility-card {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
        padding: 1.5rem 1.25rem !important;
        text-align: center;
    }

    .ccc-left-col {
        flex-direction: column !important;
        justify-content: center !important;
        gap: 1rem !important;
    }
}

@media (max-width: 640px) {
    .contact-hero-section {
        padding: 2.5rem 0 1.75rem 0 !important;
    }

    .contact-hero-title {
        font-size: 1.95rem !important;
    }

    .cf-form-grid-2 {
        grid-template-columns: 1fr !important;
        gap: 0 !important;
    }

    .contact-form-container-card {
        padding: 1.35rem 1.1rem !important;
    }

    .direct-reach-card,
    .next-steps-dark-card {
        padding: 1.35rem 1.1rem !important;
    }

    .ccc-stats-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 0.6rem !important;
    }

    .c-mockup-floating-pill {
        transform: scale(0.8) !important;
    }

    .pill-top-growth {
        right: -5px !important;
        top: -8px !important;
    }

    .pill-bottom-leads {
        left: -5px !important;
        bottom: 8px !important;
    }

    .dr-ch-val {
        font-size: 0.82rem !important;
        word-break: break-all;
    }
}

/* -------------------------------------------------------------
   TESTIMONIALS & IMPACT SHOWCASE RESPONSIVE STYLES
------------------------------------------------------------- */
@media (max-width: 1200px) {
    .testimonials-cards-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 1.25rem !important;
    }

    .t-carousel-arrow {
        display: none !important;
    }

    .testimonials-impact-banner {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 2rem !important;
        padding: 2.25rem 2rem !important;
    }

    .impact-left-content {
        max-width: 100% !important;
    }

    .impact-metrics-grid {
        width: 100% !important;
        gap: 1.25rem !important;
    }
}

@media (max-width: 768px) {
    .testimonials-section {
        padding: 3.75rem 0 !important;
    }

    .testimonials-top-header {
        flex-direction: column !important;
        gap: 1.75rem !important;
        margin-bottom: 2rem !important;
    }

    .testimonials-heading {
        font-size: 2.15rem !important;
    }

    .testimonials-stats-row {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 1rem !important;
        width: 100% !important;
    }

    .t-stat-pill {
        flex-direction: row !important;
        align-items: center !important;
        text-align: left !important;
        background: #FFFFFF !important;
        padding: 0.65rem 0.85rem !important;
        border-radius: 12px !important;
        border: 1px solid #F1F5F9 !important;
        gap: 0.75rem !important;
    }

    .t-stat-icon-wrap {
        width: 40px !important;
        height: 40px !important;
        flex-shrink: 0 !important;
    }

    .testimonials-cards-grid {
        grid-template-columns: 1fr !important;
        gap: 1rem !important;
    }

    .testimonial-card {
        padding: 1.35rem 1.15rem !important;
    }

    .impact-title {
        font-size: 1.75rem !important;
    }

    .impact-metrics-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 1.25rem !important;
    }

    .impact-metric-col {
        padding-left: 0.85rem !important;
    }

    .impact-num {
        font-size: 1.85rem !important;
    }
}

@media (max-width: 480px) {
    .testimonials-heading {
        font-size: 1.75rem !important;
    }

    .testimonials-impact-banner {
        padding: 1.65rem 1.25rem !important;
        border-radius: 16px !important;
    }

    .impact-title {
        font-size: 1.5rem !important;
    }

    .impact-metrics-grid {
        grid-template-columns: 1fr !important;
        gap: 1.25rem !important;
    }

    .impact-metric-col {
        border-left: none !important;
        padding-left: 0 !important;
        border-top: 1px solid rgba(255, 255, 255, 0.2) !important;
        padding-top: 0.85rem !important;
    }

    .impact-metric-col:first-child {
        border-top: none !important;
        padding-top: 0 !important;
    }
}

/* -------------------------------------------------------------
   CHATBOT TABLET & MOBILE RESPONSIVE OPTIMIZATION
------------------------------------------------------------- */
/* Tablet Devices (iPad / Android Tablets: 601px - 1024px) */
@media (min-width: 601px) and (max-width: 1024px) {
    .chatbot-widget-container {
        right: 20px !important;
        bottom: 20px !important;
        z-index: 9999 !important;
    }

    .chatbot-launcher-btn {
        width: 56px !important;
        height: 56px !important;
    }

    .chatbot-modal-window {
        width: 360px !important;
        height: 530px !important;
        max-height: calc(100vh - 90px) !important;
        bottom: 70px !important;
        right: 0 !important;
        border-radius: 18px !important;
    }

    .cb-window-body {
        padding: 14px 12px !important;
        gap: 12px !important;
    }

    .cb-quick-chips {
        margin-left: 20px !important;
        gap: 6px !important;
    }

    .cb-chip-btn {
        padding: 6px 11px !important;
        font-size: 0.75rem !important;
    }

    .cb-ctrl-btn {
        width: 32px !important;
        height: 32px !important;
    }
}

/* Mobile Devices (Smartphones: <= 600px) - Perfect Viewport Fit */
@media (max-width: 600px) {
    .chatbot-widget-container {
        position: fixed !important;
        right: 14px !important;
        bottom: 14px !important;
        z-index: 99999 !important;
    }

    .chatbot-launcher-btn {
        width: 52px !important;
        height: 52px !important;
        box-shadow: 0 6px 20px rgba(255, 87, 34, 0.45) !important;
    }

    .cb-launcher-tooltip {
        display: none !important;
    }

    .chatbot-teaser-bubble {
        position: absolute !important;
        bottom: 64px !important;
        right: 0 !important;
        width: 270px !important;
        max-width: calc(100vw - 32px) !important;
        padding: 10px 12px !important;
        z-index: 99998 !important;
    }

    .chatbot-modal-window {
        position: fixed !important;
        top: auto !important;
        bottom: 76px !important;
        left: 12px !important;
        right: 12px !important;
        width: auto !important;
        max-width: 440px !important;
        margin: 0 auto !important;
        height: 500px !important;
        height: min(520px, calc(100dvh - 92px)) !important;
        max-height: calc(100dvh - 92px) !important;
        max-height: calc(100vh - 92px) !important;
        border-radius: 20px !important;
        border: 1px solid rgba(226, 232, 240, 0.95) !important;
        box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25), 0 0 0 1px rgba(0, 0, 0, 0.06) !important;
        z-index: 99999 !important;
        transform-origin: bottom right !important;
        display: flex !important;
        flex-direction: column !important;
        overflow: hidden !important;
    }

    .chatbot-modal-window.active {
        opacity: 1 !important;
        transform: translateY(0) scale(1) !important;
        pointer-events: auto !important;
    }

    .cb-window-header {
        padding: 11px 13px !important;
        height: 52px !important;
        box-sizing: border-box !important;
        flex-shrink: 0 !important;
        border-radius: 20px 20px 0 0 !important;
        background: #0B0D12 !important;
    }

    .cb-header-avatar {
        width: 34px !important;
        height: 34px !important;
    }

    .cb-header-avatar img {
        width: 34px !important;
        height: 34px !important;
    }

    .cb-header-title {
        font-size: 0.86rem !important;
    }

    .cb-ctrl-btn {
        width: 32px !important;
        height: 32px !important;
    }

    .cb-window-body {
        padding: 12px 10px !important;
        gap: 10px !important;
        flex: 1 !important;
        -webkit-overflow-scrolling: touch !important;
    }

    .cb-bubble {
        padding: 9px 12px !important;
        font-size: 0.84rem !important;
    }

    .cb-bubble-bot {
        max-width: 90% !important;
    }

    .cb-bubble-user {
        max-width: 86% !important;
    }

    .cb-quick-chips {
        margin-left: 0 !important;
        display: flex !important;
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch !important;
        padding-bottom: 6px !important;
        gap: 6px !important;
        scrollbar-width: none !important;
    }

    .cb-quick-chips::-webkit-scrollbar {
        display: none !important;
    }

    .cb-chip-btn {
        flex-shrink: 0 !important;
        white-space: nowrap !important;
        padding: 6px 11px !important;
        font-size: 0.74rem !important;
    }

    .cb-lead-capture-box {
        padding: 10px 10px !important;
        margin-top: 8px !important;
    }

    .cb-lead-input {
        padding: 8px 10px !important;
        font-size: 0.8rem !important;
    }

    .cb-lead-submit-btn {
        padding: 9px 12px !important;
        font-size: 0.78rem !important;
    }

    .cb-window-footer {
        padding: 8px 10px calc(8px + env(safe-area-inset-bottom, 0px)) 10px !important;
        flex-shrink: 0 !important;
    }

    .cb-input-form {
        padding: 3px 3px 3px 12px !important;
    }

    .cb-text-input {
        font-size: 0.85rem !important;
    }

    .cb-send-btn {
        width: 36px !important;
        height: 36px !important;
    }
}







