/* ======================================================
   RESPONSIVE.CSS - COMPLETE MOBILE OVERHAUL
   OrionSoft Technologies - All Pages
   Breakpoints: 1400 | 1200 | 991 | 768 | 576 | 480 | 380
====================================================== */

/* ==================================================
   HOMEPAGE HERO - BASE STYLES (moved from inline)
================================================== */

.home-hero {
    position: relative;
    width: 100%;
    height: 90vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    overflow: hidden;
    background-color: #fff;
    padding-top: 90px;
}

.home-hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.home-hero-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(255,255,255,0.95) 0%, rgba(255,255,255,0.6) 45%, rgba(255,255,255,0.05) 100%);
    z-index: 2;
}

.home-hero-inner {
    position: relative;
    z-index: 3;
    width: 100%;
    margin-top: 0;
}


.home-hero-text {
    max-width: 820px;
    text-align: left;
    overflow: visible;
}

.home-hero-tag {
    font-size: 13px;
    font-weight: 700;
    color: #475569;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
    white-space: normal;
    word-break: break-word;
    overflow: visible;
    display: block;
}

.home-hero-heading {
    font-size: 4rem;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.1;
    letter-spacing: -1.5px;
    margin-bottom: 25px;
    text-transform: uppercase;
}

.home-hero-heading span {
    color: #1155cc;
}

.home-hero-desc {
    font-size: 1.15rem;
    color: #475569;
    line-height: 1.6;
    margin-bottom: 40px;
    font-weight: 500;
}

.home-hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.hero-btn-primary {
    background-color: #1155cc;
    color: #fff;
    padding: 16px 32px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 15px;
    text-decoration: none;
    transition: 0.3s;
    display: inline-block;
    box-shadow: 0 4px 12px rgba(17,85,204,0.15);
}

.hero-btn-primary:hover {
    background-color: #0b3d99;
    transform: translateY(-3px);
}

.hero-btn-secondary {
    background-color: transparent;
    color: #0f172a;
    padding: 16px 32px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 15px;
    text-decoration: none;
    border: 2px solid #cbd5e1;
    transition: 0.3s;
    display: inline-block;
}

.hero-btn-secondary:hover {
    background-color: #eff6ff;
    border-color: #1155cc;
}

/* ==================================================
   MOBILE OVERLAY (created by JS)
================================================== */

.mobile-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: .35s;
}

.mobile-overlay.active {
    opacity: 1;
    visibility: visible;
}

body.menu-open {
    overflow: hidden;
}

/* ==================================================
   LARGE LAPTOP (max-width: 1400px)
================================================== */

@media (max-width:1400px) {

    .container {
        max-width: 1200px;
        padding: 0 30px;
    }

    .nav-links {
        gap: 20px;
    }

    .header-contact {
        gap: 15px;
    }

}

/* ==================================================
   LAPTOP (max-width: 1200px)
================================================== */

@media (max-width:1200px) {

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

    .logo img,
    .logo-img {
        max-height: 80px;
        width: auto;
    }

    .nav-links {
        gap: 16px;
    }

    .nav-links > li > a {
        font-size: 13px;
    }

    .header-contact {
        display: flex;
        gap: 10px;
    }

    /* Homepage */
    .home-hero-heading {
        font-size: 3.2rem;
    }

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

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

    .exp-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Industries Page */
    .industry-hero .container {
        grid-template-columns: 1fr 1fr;
        gap: 45px;
    }

    .industry-left h1 {
        font-size: 52px;
    }

    .industry-cards {
        grid-template-columns: repeat(3, 1fr);
    }

    .why-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .process-grid {
        grid-template-columns: repeat(2, 1fr);
    }

}

/* ==================================================
   TABLET (max-width: 991px)
================================================== */

@media (max-width:991px) {

    /* ------ HEADER & NAVIGATION ------ */

    header,
    #universal-header {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        z-index: 9999 !important;
        background: #fff !important;
        box-shadow: 0 2px 15px rgba(0,0,0,0.05) !important;
    }

    .navbar {
        height: 70px !important;
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        padding: 0 20px !important;
    }

    .logo img,
    .logo-img {
        max-height: 42px !important;
        width: auto !important;
    }

    .logo-link {
        flex: 0 0 auto;
    }

    .header-contact {
        display: none !important;
    }

    .nav-links {
        position: fixed !important;
        top: 70px !important;
        left: -100% !important;
        width: 300px !important;
        height: calc(100vh - 70px) !important;
        background: #fff !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        padding: 30px !important;
        gap: 0 !important;
        transition: .35s !important;
        overflow-y: auto !important;
        box-shadow: 0 20px 40px rgba(0,0,0,.15) !important;
        z-index: 99999 !important;
        display: flex !important;
    }

    .nav-links.active {
        left: 0 !important;
    }

    .nav-links > li {
        width: 100% !important;
        height: auto !important;
        padding: 0 !important;
    }

    .nav-links > li > a {
        display: block !important;
        padding: 15px 0 !important;
        font-size: 15px !important;
        height: auto !important;
        border-bottom: 1px solid #f1f5f9 !important;
        text-transform: uppercase;
    }

    /* Mega menu mobile */
    .mega-menu {
        position: static !important;
        width: 100% !important;
        max-width: 100% !important;
        box-shadow: none !important;
        border: none !important;
        border-radius: 0 !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
        display: none !important;
        background: #f8fafc !important;
        top: auto !important;
        left: auto !important;
    }

    .has-mega-menu.active .mega-menu {
        display: block !important;
    }

    /* Override desktop hover behavior on mobile */
    .has-mega-menu:hover .mega-menu {
        display: none !important;
    }

    .has-mega-menu.active:hover .mega-menu {
        display: block !important;
    }

    .has-mega-menu {
        position: relative !important;
    }

    .mega-grid {
        grid-template-columns: 1fr !important;
        padding: 15px !important;
        gap: 8px !important;
    }

    .mega-menu.about-menu {
        max-width: 100% !important;
    }

    .about-mega-grid {
        grid-template-columns: 1fr !important;
    }

    .about-insight {
        display: none !important;
    }

    .about-links {
        border-right: none !important;
        padding: 15px !important;
    }

    .mega-menu-cta {
        flex-direction: column;
        text-align: center;
        gap: 15px;
        padding: 20px;
    }

    /* Hamburger */
    .menu-toggle {
        width: 42px;
        height: 42px;
        display: flex !important;
        justify-content: center;
        align-items: center;
        cursor: pointer;
        border-radius: 8px;
        background: #1155cc;
        border: none;
    }

    .menu-toggle span {
        display: block;
        width: 22px;
        height: 2px;
        background: #fff;
        position: relative;
    }

    .menu-toggle span::before,
    .menu-toggle span::after {
        content: "";
        position: absolute;
        width: 22px;
        height: 2px;
        background: #fff;
        left: 0;
    }

    .menu-toggle span::before {
        top: -7px;
    }

    .menu-toggle span::after {
        top: 7px;
    }

    /* ------ HOMEPAGE HERO ------ */

    .home-hero {
        height: auto;
        min-height: auto;
        padding: 100px 0 60px;
    }

    .home-hero-inner {
        margin-top: 0;
    }

    .home-hero-heading {
        font-size: 2.8rem;
    }

    .home-hero-desc {
        font-size: 1rem;
    }

    /* ------ SERVICES GRID ------ */

    .services-wrapper {
        padding: 80px 0;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        border: none;
        gap: 20px;
    }

    .service-box {
        border-right: none;
        border: 1px solid #eaeaea;
        border-radius: 16px;
    }

    /* ------ METRICS GRID ------ */

    .metrics-section {
        padding: 80px 0;
    }

    .metrics-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .metric-card {
        min-height: 300px;
    }

    .metric-card-bg {
        min-height: 300px;
        padding: 30px;
    }

    .metric-card-bg h2 {
        font-size: 48px;
    }

    /* ------ AI SECTION ------ */

    .ai-section {
        padding: 80px 0;
    }

    .ai-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .ai-img-wrapper {
        height: 350px;
    }

    .ai-features {
        grid-template-columns: 1fr 1fr;
        gap: 15px;
    }

    /* ------ REVIEWS ------ */

    .reviews-section {
        padding: 80px 0;
    }

    .reviews-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .review-card {
        flex: 0 0 auto;
        width: 100%;
    }

    /* ------ EXPERTISE ------ */

    .expertise-section {
        padding: 80px 0;
    }

    .exp-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }

    /* ------ COMPLIANCE ------ */

    .compliance-section {
        padding: 80px 0;
    }

    .comp-layout {
        display: flex;
        flex-direction: column;
        gap: 40px;
    }

    .comp-left {
        flex: 1;
        margin-bottom: 0;
    }

    .comp-left h2 {
        font-size: 2.2rem;
    }

    .comp-right {
        flex: 1;
    }

    /* ------ STRATEGY BANNER ------ */

    .strategy-banner {
        padding: 60px 0;
    }

    .strategy-card {
        flex-direction: column;
        text-align: center;
        padding: 40px;
        gap: 30px;
    }

    .strategy-text h2 {
        font-size: 2rem;
    }

    /* ------ INDUSTRIES TABS ------ */

    .industries-section {
        padding: 80px 0;
    }

    .ind-header {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .ind-layout {
        flex-direction: column;
        gap: 30px;
    }

    .ind-image {
        flex: 1;
        width: 100%;
        height: 300px;
    }

    .ind-list-wrapper {
        flex: 1;
        width: 100%;
        height: auto;
        border-right: none;
        border-bottom: 1px solid #e2e8f0;
        padding-right: 0;
        padding-bottom: 20px;
        overflow-x: auto;
        overflow-y: hidden;
    }

    .ind-list {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 12px;
    }

    .ind-item {
        font-size: 1rem;
        white-space: nowrap;
    }

    .ind-content-wrapper {
        flex: 1;
        width: 100%;
        padding: 0;
    }

    /* ------ MARKETING BANNER ------ */

    .marketing-section {
        padding: 40px 0;
    }

    .mkt-box {
        flex-direction: column;
    }

    .mkt-left {
        flex: 1;
        padding: 40px;
    }

    .mkt-left h2 {
        font-size: 2rem;
    }

    .mkt-right {
        flex: 1;
        min-height: 280px;
    }

    /* ------ ALLIANCES ------ */

    .alliances-section {
        padding: 80px 0;
    }

    .alliances-section h2 {
        font-size: 2.2rem;
    }

    .alliance-card-node {
        width: 170px;
        height: 120px;
    }

    /* ------ CONNECT FORM ------ */

    .connect-section {
        padding: 80px 0;
    }

    .connect-box {
        padding: 40px;
    }

    .connect-box h2 {
        font-size: 2rem;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

    .input-group.full-width {
        grid-column: auto;
    }

    /* ------ FOOTER (Universal) ------ */

    .universal-footer {
        padding: 60px 20px 30px;
    }

    .footer-top-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 25px;
    }

    .footer-locations {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-links-row {
        grid-template-columns: repeat(2, 1fr);
    }

    /* ------ FOOTER (Style.css version) ------ */

    .footer-top {
        display: block;
        text-align: center;
    }

    .footer-brand {
        margin-bottom: 35px;
    }

    .footer-links-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

    /* ------ SECTION TITLES ------ */

    .section-title {
        font-size: 2.2rem;
        margin-bottom: 40px;
    }

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

    .section-subtitle {
        font-size: 16px;
    }

    /* ------ ABOUT PAGE ------ */

    .about-hero {
        padding: 120px 0 60px;
    }

    .about-hero-grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .about-hero-text h1 {
        font-size: 42px;
    }

    .about-hero-text p {
        max-width: 100%;
        font-size: 16px;
    }

    .about-hero-img {
        order: -1;
    }

    .about-hero-img img {
        width: 100%;
        border-radius: 20px;
    }

    .hero-partners {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 25px;
    }

    .hero-partners img {
        height: 32px;
        width: auto;
        max-width: 120px;
    }

    .story-grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .story-img {
        height: 380px;
    }

    .story-content {
        text-align: center;
    }

    .values-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .vm-grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .vm-card {
        height: 350px;
    }

    .clients-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }

    .clients-grid img {
        max-width: 100px;
    }

    .why-us-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 18px;
    }

    /* ------ CONTACT PAGE ------ */

    .contact-grid,
    .contact-wrapper,
    .why-grid,
    .process-grid,
    .testimonial-grid,
    .quick-grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .form-row {
        display: grid;
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .contact-content {
        text-align: center;
    }

    .contact-content p {
        margin: auto;
    }

    .contact-action {
        justify-content: center;
    }

    .contact-features {
        justify-content: center;
    }

    .contact-image {
        margin-top: 30px;
    }

    .contact-image img {
        border-radius: 20px;
    }

    .floating-card {
        position: relative;
        left: 0;
        bottom: 0;
        width: 100%;
        margin-top: 20px;
    }

    .contact-left,
    .contact-form {
        padding: 35px;
    }

    .cta-box {
        display: grid;
        grid-template-columns: 1fr;
        text-align: center;
    }

    .cta-btn {
        margin-top: 25px;
        display: inline-flex;
    }

    /* ------ INDUSTRIES PAGE ------ */

    .industry-hero {
        padding: 120px 0 80px;
    }

    .industry-hero .container {
        display: grid;
        grid-template-columns: 1fr;
        gap: 50px;
        text-align: center;
    }

    .industry-left p {
        margin: auto;
    }

    .industry-buttons {
        justify-content: center;
        flex-wrap: wrap;
    }

    .industry-awards {
        justify-content: center;
    }

    .industry-slider {
        max-width: 700px;
        margin: auto;
    }

    .industry-cards {
        grid-template-columns: repeat(2, 1fr);
    }

    .cta-buttons {
        justify-content: center;
    }

    .cta-box h2 {
        font-size: 42px;
    }

}

/* ==================================================
   MOBILE (max-width: 768px)
================================================== */

@media (max-width:768px) {

    /* ------ HERO ------ */

    .home-hero {
        padding: 90px 0 50px;
    }

    .home-hero-heading {
        font-size: 2.2rem;
        letter-spacing: -1px;
    }

    .home-hero-desc {
        font-size: 0.95rem;
        margin-bottom: 30px;
    }

    .home-hero-tag {
        font-size: 12px;
    }

    /* ------ SERVICES ------ */

    .services-wrapper .section-title {
        font-size: 2rem;
    }

    .service-box h3 {
        font-size: 1.2rem;
    }

    .service-box p {
        font-size: 0.9rem;
    }

    /* ------ METRICS ------ */

    .metric-card h2 {
        font-size: 3rem;
    }

    /* ------ AI ------ */

    .ai-content h2 {
        font-size: 2rem;
    }

    .ai-features {
        grid-template-columns: 1fr;
    }

    .ai-img-wrapper {
        height: 280px;
    }

    /* ------ REVIEWS ------ */

    .review-card p {
        font-size: 0.95rem;
    }

    /* ------ EXPERTISE ------ */

    .exp-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    /* ------ COMPLIANCE ------ */

    .comp-left h2 {
        font-size: 1.8rem;
    }

    .acc-header {
        font-size: 1rem;
        padding: 20px 0;
    }

    .acc-tags {
        gap: 10px;
    }

    .acc-tag {
        font-size: 12px;
        padding: 8px 14px;
    }

    /* ------ STRATEGY ------ */

    .strategy-card {
        padding: 30px;
    }

    .strategy-text h2 {
        font-size: 1.6rem;
    }

    .btn-white {
        width: 100%;
        text-align: center;
    }

    /* ------ INDUSTRIES TABS ------ */

    .ind-image {
        height: 240px;
    }

    .ind-list {
        gap: 10px;
    }

    .ind-content p {
        font-size: 1rem;
    }

    /* ------ MARKETING ------ */

    .mkt-left {
        padding: 30px;
    }

    .mkt-left h2 {
        font-size: 1.6rem;
    }

    .mkt-right {
        min-height: 250px;
    }

    /* ------ ALLIANCES ------ */

    .alliances-section h2 {
        font-size: 1.8rem;
    }

    .alliance-card-node {
        width: 150px;
        height: 110px;
    }

    .alliance-card-node img {
        max-width: 80px;
    }

    /* ------ CONNECT FORM ------ */

    .connect-box h2 {
        font-size: 1.6rem;
    }

    /* ------ FOOTER ------ */

    .footer-locations {
        grid-template-columns: 1fr;
    }

    /* ------ CONTACT PAGE ------ */

    .contact-hero {
        padding: 120px 0 70px;
    }

    .contact-content h1 {
        font-size: 38px;
        line-height: 1.2;
    }

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

    .contact-features {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .contact-features div {
        width: 100%;
    }

    .process-grid,
    .why-grid,
    .testimonial-grid,
    .quick-grid {
        grid-template-columns: 1fr;
    }

    .contact-form h2,
    .contact-left h2 {
        font-size: 30px;
    }

    .final-box h2 {
        font-size: 34px;
    }

    /* ------ INDUSTRIES PAGE ------ */

    .industry-left h1 {
        font-size: 40px;
        line-height: 1.2;
    }

    .industry-left p {
        font-size: 16px;
    }

    .industry-buttons {
        flex-direction: column;
        align-items: center;
    }

    .primary-btn,
    .secondary-btn {
        width: 240px;
    }

    .industry-cards {
        grid-template-columns: 1fr;
    }

    .why-grid {
        grid-template-columns: 1fr;
    }

    .process-grid {
        grid-template-columns: 1fr;
    }

    .industry-heading h2,
    .industry-intro h2 {
        font-size: 34px;
    }

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

    .cta-box h2 {
        font-size: 34px;
    }

}

/* ==================================================
   SMALL MOBILE (max-width: 576px)
================================================== */

@media (max-width:576px) {

    .container {
        padding: 0 18px;
    }

    /* ------ NAVIGATION ------ */

    .nav-links {
        width: 100%;
    }

    .logo img,
    .logo-img {
        max-height: 36px;
    }

    /* ------ HERO ------ */

    .home-hero {
        padding: 85px 0 40px;
    }

    .home-hero-heading {
        font-size: 1.9rem;
        letter-spacing: -0.5px;
    }

    .home-hero-tag {
        font-size: 11px;
        letter-spacing: 1px;
    }

    .home-hero-desc {
        font-size: 0.9rem;
        line-height: 1.5;
        margin-bottom: 25px;
    }

    .home-hero-buttons {
        flex-direction: column;
        gap: 12px;
    }

    .hero-btn-primary,
    .hero-btn-secondary {
        width: 100%;
        text-align: center;
        padding: 14px 24px;
        font-size: 14px;
    }

    .home-hero-gradient {
        background: linear-gradient(to bottom, rgba(255,255,255,0.95) 0%, rgba(255,255,255,0.8) 50%, rgba(255,255,255,0.6) 100%);
    }

    /* ------ SERVICES ------ */

    .services-wrapper {
        padding: 60px 0;
    }

    .services-wrapper .section-title {
        font-size: 1.6rem;
        margin-bottom: 30px;
    }

    .services-grid {
        grid-template-columns: 1fr;
        border: none;
    }

    .service-box {
        border-right: none;
        border: 1px solid #eaeaea;
        border-radius: 16px;
    }

    /* ------ METRICS ------ */

    .metrics-section {
        padding: 60px 0;
    }

    .metrics-grid {
        grid-template-columns: 1fr;
    }

    .metric-card {
        min-height: auto;
        padding: 30px 25px;
    }

    .metric-card h2 {
        font-size: 2.8rem;
    }

    .metric-card-bg {
        min-height: 240px;
    }

    .metric-card-bg h2 {
        font-size: 40px;
    }

    /* ------ AI ------ */

    .ai-section {
        padding: 60px 0;
    }

    .ai-content h2 {
        font-size: 1.6rem;
    }

    .ai-img-wrapper {
        height: 220px;
    }

    .ai-features {
        grid-template-columns: 1fr;
    }

    /* ------ REVIEWS ------ */

    .reviews-section {
        padding: 60px 0;
    }

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

    /* ------ EXPERTISE ------ */

    .expertise-section {
        padding: 60px 0;
    }

    .exp-grid {
        grid-template-columns: 1fr;
        gap: 15px;
        margin-top: 30px;
    }

    /* ------ COMPLIANCE ------ */

    .compliance-section {
        padding: 60px 0;
    }

    .comp-left h2 {
        font-size: 1.5rem;
    }

    .comp-left p {
        font-size: 0.95rem;
    }

    /* ------ STRATEGY ------ */

    .strategy-banner {
        padding: 40px 0;
    }

    .strategy-card {
        padding: 25px;
        border-radius: 16px;
    }

    .strategy-text h2 {
        font-size: 1.3rem;
    }

    .strategy-text p {
        font-size: 0.9rem;
    }

    /* ------ INDUSTRIES TABS ------ */

    .industries-section {
        padding: 60px 0;
    }

    .ind-image {
        height: 200px;
        border-radius: 14px;
    }

    .ind-list {
        gap: 8px;
    }

    .ind-item {
        font-size: 0.9rem;
        padding: 6px 12px;
        background: #f1f5f9;
        border-radius: 20px;
    }

    .ind-content p {
        font-size: 0.95rem;
    }

    .btn-outline {
        width: 100%;
        text-align: center;
    }

    /* ------ MARKETING ------ */

    .marketing-section {
        padding: 30px 0;
    }

    .mkt-left {
        padding: 25px;
    }

    .mkt-left h2 {
        font-size: 1.4rem;
    }

    .mkt-left a {
        width: 100%;
        text-align: center;
    }

    .mkt-right {
        min-height: 200px;
    }

    /* ------ ALLIANCES ------ */

    .alliances-section {
        padding: 60px 0;
    }

    .alliances-section h2 {
        font-size: 1.5rem;
        margin-bottom: 35px;
    }

    .alliance-card-node {
        width: 140px;
        height: 100px;
        padding: 15px;
    }

    .alliance-card-node img {
        max-width: 70px;
        margin-bottom: 8px;
    }

    .alliance-card-node span {
        font-size: 12px;
    }

    /* ------ CONNECT FORM ------ */

    .connect-section {
        padding: 60px 0;
    }

    .connect-box {
        padding: 25px;
        border-radius: 16px;
    }

    .connect-box h2 {
        font-size: 1.4rem;
    }

    .connect-box p {
        font-size: 0.9rem;
    }

    .btn-submit-large {
        font-size: 14px;
        padding: 14px;
    }

    /* ------ FOOTER ------ */

    .universal-footer {
        padding: 40px 18px 25px;
    }

    .footer-socials {
        flex-wrap: wrap;
    }

    .social-btn {
        font-size: 12px;
        padding: 6px 12px;
    }

    .footer-links-row {
        grid-template-columns: 1fr;
        gap: 25px;
    }

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

    .footer-bottom-links {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }

    .footer-bottom-links a {
        margin-left: 0;
    }

    /* Footer (style.css version) */

    .footer-links-grid {
        grid-template-columns: 1fr;
    }

    /* ------ ABOUT PAGE ------ */

    .about-hero {
        padding: 100px 0 50px;
    }

    .about-hero-text h1 {
        font-size: 34px;
    }

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

    .hero-partners {
        gap: 18px;
    }

    .hero-partners img {
        height: 26px;
    }

    .story-img {
        height: 280px;
    }

    .values-grid {
        grid-template-columns: 1fr;
    }

    .clients-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .why-us-grid {
        grid-template-columns: 1fr;
    }

    .vm-card {
        height: 280px;
        padding: 30px;
    }

    .vm-content h2 {
        font-size: 30px;
    }

    /* ------ CONTACT PAGE ------ */

    .contact-hero {
        padding: 110px 0 60px;
    }

    .contact-content h1 {
        font-size: 30px;
    }

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

    .primary-btn,
    .secondary-btn,
    .cta-btn,
    .final-box a,
    .contact-form button {
        width: 100%;
    }

    .contact-action {
        flex-direction: column;
    }

    .contact-features {
        grid-template-columns: 1fr;
    }

    .contact-left,
    .contact-form {
        padding: 25px;
    }

    .contact-form {
        border-radius: 18px;
    }

    .contact-left {
        border-radius: 18px;
    }

    .section-title h2 {
        font-size: 28px;
    }

    .section-title p {
        font-size: 15px;
    }

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

    .faq-btn {
        font-size: 16px;
        padding: 18px;
    }

    .quick-card {
        padding: 30px 20px;
    }

    .final-box h2 {
        font-size: 28px;
    }

    /* ------ INDUSTRIES PAGE ------ */

    .industry-hero {
        padding: 100px 0 60px;
    }

    .industry-left h1 {
        font-size: 30px;
    }

    .industry-tag {
        font-size: 12px;
        padding: 10px 18px;
    }

    .industry-buttons {
        gap: 15px;
    }

    .primary-btn,
    .secondary-btn {
        width: 100%;
    }

    .industry-awards {
        display: grid;
        grid-template-columns: 1fr;
    }

    .industry-awards div {
        width: 100%;
    }

    .industry-slider img {
        border-radius: 20px;
    }

    .industry-card {
        min-height: 360px;
    }

    .industry-card img {
        height: 360px;
    }

    .industry-overlay {
        padding: 20px;
    }

    .industry-overlay h3 {
        font-size: 22px;
    }

    .why-card {
        padding: 30px;
    }

    .process-box {
        padding: 30px;
    }

    .cta-box h2 {
        font-size: 28px;
    }

    .cta-box p {
        font-size: 15px;
    }

    .loc-card {
        max-width: 100%;
    }

}

/* ==================================================
   EXTRA SMALL MOBILE (max-width: 480px)
================================================== */

@media (max-width:480px) {

    .home-hero-heading {
        font-size: 1.7rem;
    }

    .home-hero-desc {
        font-size: 0.85rem;
    }

    .section-title {
        font-size: 1.4rem;
    }

    .services-wrapper .section-title {
        font-size: 1.4rem;
    }

    .metric-card h2 {
        font-size: 2.4rem;
    }

    .ai-content h2 {
        font-size: 1.4rem;
    }

    .comp-left h2 {
        font-size: 1.3rem;
    }

    .strategy-text h2 {
        font-size: 1.2rem;
    }

    .connect-box h2 {
        font-size: 1.2rem;
    }

    .alliances-section h2 {
        font-size: 1.3rem;
    }

    .ind-image {
        height: 180px;
    }

    .mkt-right {
        min-height: 180px;
    }

}

/* ==================================================
   VERY SMALL MOBILE (max-width: 380px)
================================================== */

@media (max-width:380px) {

    .home-hero-heading {
        font-size: 1.5rem;
    }

    .about-hero-text h1 {
        font-size: 28px;
    }

    .section-title {
        font-size: 1.3rem;
    }

    .section-title h2 {
        font-size: 24px;
    }

    .metric-card-bg h2 {
        font-size: 34px;
    }

    .strategy-text h2 {
        font-size: 1.1rem;
    }

    .connect-box h2 {
        font-size: 1.1rem;
    }

    .contact-content h1 {
        font-size: 26px;
    }

    .contact-form h2,
    .contact-left h2 {
        font-size: 24px;
    }

    .primary-btn,
    .secondary-btn {
        height: 50px;
        font-size: 14px;
    }

    .contact-features h2 {
        font-size: 28px;
    }

    .industry-left h1 {
        font-size: 26px;
    }

    .industry-heading h2,
    .industry-intro h2 {
        font-size: 26px;
    }

}

/* ==================================================
   DESKTOP ONLY (min-width: 992px)
================================================== */

@media (min-width:992px) {

    .menu-toggle {
        display: none !important;
    }

    .mobile-menu {
        display: none !important;
    }

    .mobile-overlay {
        display: none !important;
    }

}

/* ==================================================
   UNIVERSAL MOBILE RESPONSIVENESS PATCH
   Applies to all service, about, blog, and custom pages
================================================== */

@media (max-width: 991px) {
    /* Hero Section Grid Adjustments */
    .hero-grid, 
    .about-hero-grid, 
    .blog-hero-grid,
    .partner-grid {
        grid-template-columns: 1fr !important;
        gap: 40px !important;
        text-align: center !important;
    }
    
    .hero-content, 
    .about-hero-text, 
    .blog-hero-text,
    .partner-content {
        max-width: 100% !important;
        text-align: center !important;
    }
    
    .hero-bullets {
        display: inline-block !important;
        text-align: left !important;
        max-width: max-content !important;
        margin: 0 auto 30px auto !important;
    }
    
    .hero-btns, 
    .blog-hero-buttons,
    .industry-buttons {
        justify-content: center !important;
        flex-wrap: wrap !important;
        gap: 12px !important;
    }

    /* Grid layout adjustments */
    .pastel-grid,
    .services-list-grid,
    .benefits-grid,
    .ind-grid,
    .footer-links-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 20px !important;
    }

    .tech-logo-grid,
    .tech-grid {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 15px !important;
    }
    
    .partner-img {
        order: -1 !important;
        margin: 0 auto !important;
    }
}

@media (max-width: 768px) {
    /* Hero sections padding */
    .sw-hero,
    .blog-hero-section,
    .about-hero,
    section[class*="-hero"] {
        padding: 100px 0 50px 0 !important;
    }

    /* Grids stack vertically on mobile */
    .pastel-grid,
    .services-list-grid,
    .benefits-grid,
    .ind-grid,
    .footer-links-grid,
    .tech-logo-grid,
    .tech-grid {
        grid-template-columns: 1fr !important;
        gap: 15px !important;
    }

    /* Text & Headings scaling */
    .hero-content h1, 
    .about-hero-text h1, 
    .blog-hero-text h1,
    .partner-content h2 {
        font-size: 2.2rem !important;
        line-height: 1.2 !important;
    }

    .hero-content p, 
    .about-hero-text p, 
    .blog-hero-text p,
    .partner-content p {
        font-size: 1rem !important;
        line-height: 1.5 !important;
    }
    
    .quote-text {
        font-size: 1.5rem !important;
        line-height: 1.4 !important;
    }

    /* Make all buttons span 100% on mobile for thumb friendliness */
    .hero-btns,
    .blog-hero-buttons {
        flex-direction: column !important;
        width: 100% !important;
        align-items: stretch !important;
    }
    
    .hero-btns a, 
    .hero-btns button, 
    .blog-hero-buttons a, 
    .blog-hero-buttons button,
    .btn-solid, 
    .hero-btn-primary, 
    .hero-btn-secondary {
        width: 100% !important;
        text-align: center !important;
        display: block !important;
        margin: 0 !important;
    }
}

@media (max-width: 480px) {
    .hero-content h1, 
    .about-hero-text h1, 
    .blog-hero-text h1,
    .partner-content h2 {
        font-size: 1.8rem !important;
    }
    
    .quote-text {
        font-size: 1.25rem !important;
    }

    .pastel-card, 
    .sl-card, 
    .benefit-card, 
    .ind-card, 
    .partner-content {
        padding: 25px 20px !important;
    }
}

/* ==================================================
   GLOBAL OVERFLOW FIX — stops horizontal scroll
================================================== */
html, body {
    overflow-x: hidden !important;
    max-width: 100vw !important;
}
* {
    box-sizing: border-box !important;
    min-width: 0 !important;
}
img {
    max-width: 100% !important;
    height: auto;
}
.container {
    width: 100% !important;
}

/* ==================================================
   SERVICE PAGES — TABLET (max 991px)
   Covers: software-development, cloud, cms, crm,
   ecommerce, gaming, mobile-app, saas, web-design,
   website-development, hire-developer, ondc,
   membership-management, banking-as-a-service
================================================== */
@media (max-width: 991px) {

    /* Hero two-column → single */
    .hero-grid,
    .about-hero-grid,
    .blog-hero-grid,
    .partner-grid,
    .ai-grid,
    .story-grid {
        grid-template-columns: 1fr !important;
        gap: 30px !important;
        text-align: center !important;
    }

    .hero-content,
    .hero-img,
    .partner-img,
    .partner-content,
    .ai-img-wrapper,
    .story-img {
        max-width: 100% !important;
        width: 100% !important;
    }

    .ai-img-wrapper,
    .story-img { height: 260px !important; }

    .hero-btns, .hero-buttons {
        justify-content: center !important;
        flex-wrap: wrap !important;
    }

    /* 3-col → 2-col */
    .pastel-grid,
    .services-list-grid,
    .benefits-grid,
    .ind-grid,
    .values-grid,
    .why-us-grid,
    .exp-grid,
    .reviews-grid,
    .srv-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 20px !important;
    }

    /* 4-col → 2-col */
    .metrics-grid,
    .footer-links-grid,
    .footer-grid,
    .eight-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 20px !important;
    }

    /* 6-col / 5-col → 3-col */
    .tech-logo-grid,
    .tech-grid,
    .clients-grid,
    .disruptors-grid {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 12px !important;
    }

    /* Mega services grid */
    .mega-services-grid { grid-template-columns: repeat(2, 1fr) !important; }

    /* Form */
    .form-grid { grid-template-columns: 1fr !important; }
    .input-group.full-width { grid-column: span 1 !important; }

    /* Connect box */
    .connect-box { padding: 30px 20px !important; }
    .connect-box h2 { font-size: 2rem !important; }

    /* Compliance flex */
    .comp-layout { flex-direction: column !important; gap: 30px !important; }

    /* Strategy banner */
    .strategy-card {
        flex-direction: column !important;
        text-align: center !important;
        padding: 30px 20px !important;
        gap: 20px !important;
    }
    .btn-white { width: 100% !important; text-align: center !important; }

    /* Marketing / mkt box */
    .mkt-box { flex-direction: column !important; }
    .mkt-left { padding: 35px 25px !important; }
    .mkt-right { min-height: 200px !important; }

    /* Footer */
    .footer-top {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 20px !important;
    }

    /* AI features */
    .ai-features { grid-template-columns: 1fr !important; }

    /* vm-grid */
    .vm-grid { grid-template-columns: 1fr !important; }
}

/* ==================================================
   SERVICE PAGES — MOBILE (max 768px)
================================================== */
@media (max-width: 768px) {

    .container { padding: 0 18px !important; }

    /* Hero headings */
    .hero-content h1,
    .about-hero-text h1,
    .blog-hero-text h1 { font-size: 2rem !important; line-height: 1.2 !important; }

    .hero-content p,
    .about-hero-text p,
    .blog-hero-text p { font-size: 0.97rem !important; }

    .sw-hero,
    .about-hero,
    .blog-hero-section,
    section[class$="-hero"] { padding: 100px 0 50px !important; }

    /* Section titles */
    .section-title,
    h2.section-title { font-size: 1.8rem !important; letter-spacing: -0.5px !important; }

    /* Hero buttons — full width stack */
    .hero-btns,
    .hero-buttons { flex-direction: column !important; width: 100% !important; }
    .hero-btns a, .hero-btns button,
    .btn-solid, .hero-btn-primary, .hero-btn-secondary,
    .btn-quote { width: 100% !important; text-align: center !important; display: block !important; }

    /* All grids go 1-col */
    .pastel-grid,
    .services-list-grid,
    .benefits-grid,
    .ind-grid,
    .values-grid,
    .why-us-grid,
    .metrics-grid,
    .exp-grid,
    .reviews-grid,
    .footer-links-grid,
    .footer-grid { grid-template-columns: 1fr !important; gap: 15px !important; }

    /* Tech grids */
    .tech-logo-grid,
    .tech-grid { grid-template-columns: repeat(2, 1fr) !important; }
    .clients-grid,
    .disruptors-grid { grid-template-columns: repeat(2, 1fr) !important; }

    /* Partner section */
    .partner-grid { gap: 20px !important; }
    .partner-content h2 { font-size: 1.8rem !important; }

    /* Metric cards */
    .metric-card-bg { min-height: 240px !important; }
    .metric-card-bg h2 { font-size: 2.5rem !important; }

    /* Compliance */
    .comp-left h2 { font-size: 2rem !important; }

    /* Connect form */
    .connect-box h2 { font-size: 1.7rem !important; }
    .connect-box p { font-size: 0.95rem !important; }

    /* AI */
    .ai-logo { font-size: 2rem !important; }
    .ai-content p { font-size: 1rem !important; }

    /* VM Card */
    .vm-card { padding: 35px 20px !important; }
    .vm-content h2 { font-size: 2rem !important; }

    /* Quote */
    .quote-text { font-size: 1.4rem !important; }

    /* mkt */
    .mkt-left h2 { font-size: 1.9rem !important; }

    /* Strategy */
    .strategy-text h2 { font-size: 1.8rem !important; }
}

/* ==================================================
   SMALL MOBILE (max 480px)
================================================== */
@media (max-width: 480px) {

    .container { padding: 0 14px !important; }

    .hero-content h1,
    .about-hero-text h1 { font-size: 1.7rem !important; }

    .section-title,
    h2.section-title { font-size: 1.5rem !important; }

    .tech-logo-grid,
    .tech-grid { grid-template-columns: repeat(2, 1fr) !important; }

    .clients-grid { grid-template-columns: repeat(2, 1fr) !important; }

    .connect-box { padding: 25px 14px !important; }
    .connect-box h2 { font-size: 1.5rem !important; }

    .loc-card { max-width: 100% !important; }

    .pastel-card,
    .sl-card,
    .benefit-card,
    .value-card,
    .why-card { padding: 22px 16px !important; }

    .metric-card-bg { min-height: 200px !important; padding: 25px 18px !important; }
    .metric-card-bg h2 { font-size: 2rem !important; }

    /* Footer */
    .footer-links-grid { grid-template-columns: repeat(2, 1fr) !important; }
}