/* ==========================================================
   RESPONSIVE.CSS
========================================================== */


/* ==========================================================
   LARGE LAPTOP
   1200px
========================================================== */

@media (max-width:1200px){

    .container{

        width:min(94%,1200px);

    }

    .hero-grid{

        gap:60px;

    }

    .dashboard{

        max-width:500px;

    }

}


/* ==========================================================
   TABLET
   992px
========================================================== */

@media (max-width:992px){

    section{

        padding:90px 0;

    }

    /* =========================
       NAVBAR
    ========================= */

    .menu-btn{

        display:flex;

    }

    .navbar .btn{

        display:none;

    }

    .nav-links{

        position:fixed;

        top:90px;

        left:-100%;

        width:100%;

        height:calc(100vh - 90px);

        background: var(--surface);

        flex-direction:column;

        justify-content:flex-start;

        align-items:flex-start;

        padding:60px 40px;

        gap:30px;

        transition:.4s ease;

        box-shadow:
            0 20px 40px var(--black-08);

    }

    .nav-links.active{

        left:0;

    }

    .nav-links a{

        height:auto;

        font-size:1.1rem;

    }

    .nav-links a::after{

        bottom:-6px;

    }

    /* =========================
       HERO
    ========================= */

    .hero{

        padding-top:40px;

    }

    .hero-grid{

        grid-template-columns:1fr;

        gap:70px;

    }

    .hero-content{

        text-align:center;

        margin:auto;

    }

    .hero-badge{

        justify-content:center;

    }

    .hero-buttons{

        justify-content:center;

    }

    .hero-features{

        margin:auto;

    }

    .hero-visual{

        order:-1;

    }

    .dashboard{

        max-width:650px;

        margin:auto;

    }

    .floating-card{

        display:none;

    }

}

/* ==========================================================
   TABLET LAYOUT
   992px
========================================================== */

@media (max-width:992px){

    /* =====================================================
       TRUSTED EXPERTISE
    ===================================================== */

    .trust-grid {

            grid-template-columns:
                repeat(2, 1fr);

            gap: 24px;

        }

    .trust-card {

            padding: 35px 28px;

        }
    /* =====================================================
       CORE SOLUTIONS
    ===================================================== */

    .solutions-grid{

        grid-template-columns:1fr;

        gap:28px;

    }

    .solution-card{

        padding:35px;

    }

    .solution-card ul{

        margin-bottom:25px;

    }

    /* =====================================================
       WHY US
    ===================================================== */

    .why-grid{

        grid-template-columns:repeat(2,1fr);

        gap:24px;

    }

    /* =====================================================
    CASE STUDY
    ===================================================== */

    .case-card {

        padding: 56px 45px;

    }


    .case-points {

        grid-template-columns:
            repeat(3, minmax(0, 1fr));

        gap: 14px;

    }

    /* =====================================================
       CTA
    ===================================================== */

    .cta-box{

        padding:55px 35px;

    }

    /* =====================================================
       FOOTER
    ===================================================== */

    .footer-grid{

        grid-template-columns:repeat(2,1fr);

        gap:40px;

    }

}

/* ==========================================================
   MOBILE DEVICES
   768px
========================================================== */

@media (max-width:768px){

    /* =====================================================
       GLOBAL
    ===================================================== */

    html{

        font-size:15px;

    }

    section{

        padding:70px 0;

    }

    .container{

        width:92%;

    }

    /* =====================================================
       TYPOGRAPHY
    ===================================================== */

    h1{

        font-size:2.6rem;

        line-height:1.2;

    }

    h2{

        font-size:2rem;

        line-height:1.3;

    }

    h3{

        font-size:1.2rem;

    }

    p{

        font-size:1rem;

    }

    .section-heading{

        margin-bottom:50px;

    }

    /* =====================================================
       HEADER
    ===================================================== */

    .header{

        height:80px;

    }

    body{

        padding-top:80px;

    }

    .navbar{

        gap:15px;

    }

    .logo img{

        height:42px;

    }

    .nav-links{

        top:80px;

        height:calc(100vh - 80px);

        padding:40px 30px;

    }

    /* =====================================================
       HERO
    ===================================================== */

    .hero{

        min-height:auto;

        padding:40px 0 70px;

    }

    .hero-grid{

        gap:50px;

    }

    .hero-content{

        text-align:center;

    }

    .hero-content p{

        margin-inline:auto;

    }

    .hero-badge{

        font-size:.85rem;

        padding:10px 18px;

        flex-wrap:wrap;

        justify-content:center;

    }

    .hero-buttons{

        flex-direction:column;

        align-items:stretch;

        gap:16px;

    }

    .hero-buttons .btn{

        width:100%;

        min-width:unset;

    }

    .hero-features {

        width: 100%;

        max-width: 620px;

        justify-content: center;

    }

    .feature-item{

        justify-content:flex-start;

    }

    /* =====================================================
       DASHBOARD
    ===================================================== */

    .dashboard{

        padding:22px;

        border-radius:22px;

    }

    .dashboard-header{

        flex-direction:column;

        align-items:flex-start;

        gap:15px;

    }

    .dashboard-title{

        font-size:1rem;

    }

    .dashboard-title i{

        width:40px;

        height:40px;

    }

    .status-card{

        padding:15px;

        gap:15px;

    }

    .status-left{

        gap:12px;

    }

    .status-left i{

        width:38px;

        height:38px;

        font-size:.95rem;

    }

    .status-left span{

        font-size:.92rem;

    }

    .status-success,

    .status-running{

        font-size:.85rem;

    }

    .cloud-platforms{

        flex-direction:column;

        gap:14px;

    }

    .cloud-item{

        width:100%;

    }

    /* =====================================================
       TRUSTED EXPERTISE
    ===================================================== */

    .trust-grid {

        grid-template-columns: 1fr;

    }

    /* =====================================================
       SOLUTIONS
    ===================================================== */

    .solution-card{

        padding:30px;

    }


    /* =====================================================
       WHY US
    ===================================================== */

    .why-grid{

        grid-template-columns:1fr;

    }

    /* =====================================================
        CASE STUDY
        ===================================================== */

        .case-card {

            padding: 45px 28px;

            border-radius: 24px;

        }


        .case-points {

            grid-template-columns: 1fr;

            gap: 12px;

        }


        .case-point {

            justify-content: flex-start;

        }


        .case-cta {

            width: 100%;

        }

        /* =====================================================
        FINAL CTA
        ===================================================== */

        .cta-box {

            padding: 55px 30px;

            border-radius: 24px;

        }


        .cta-actions {

            width: 100%;

        }


        .cta-actions .btn {

            width: 100%;

        }


        .cta-support {

            font-size: .78rem;

            line-height: 1.8;

        }

    /* =====================================================
       FOOTER
    ===================================================== */

    .footer{

        padding:60px 0 25px;

    }

    .footer-grid{

        grid-template-columns:1fr;

        gap:35px;

        text-align:center;

    }

    .footer-logo{

        margin-inline:auto;

    }

    .footer-social{

        justify-content:center;

    }

}

/* ==========================================================
   SMALL MOBILE DEVICES
   480px
========================================================== */

@media (max-width:480px){

    html{

        font-size:14px;

    }

    .container{

        width:94%;

    }

    section{

        padding:60px 0;

    }

    /* =========================
       HERO
    ========================= */

    h1{

        font-size:2.2rem;

    }

    h2{

        font-size:1.75rem;

    }

    .hero{

        padding:30px 0 60px;

    }

    .hero-badge{

        font-size:.75rem;

        padding:8px 14px;

    }

    .hero-buttons{

        gap:14px;

    }

    .hero-buttons .btn{

        padding:15px 20px;

        font-size:.95rem;

    }

    /* =========================
       DASHBOARD
    ========================= */

    .dashboard{

        padding:18px;

        border-radius:18px;

    }

    .dashboard-title{

        font-size:.95rem;

    }

    .dashboard-title i{

        width:36px;

        height:36px;

        font-size:.9rem;

    }

    .status-card{

        flex-direction:column;

        align-items:flex-start;

        gap:12px;

        padding:16px;

    }

    .status-left{

        width:100%;

    }

    .status-success,

    .status-running{

        align-self:flex-end;

    }

    .cloud-item{

        padding:14px;

        font-size:.9rem;

    }

    /* =========================
       CARDS
    ========================= */

    .solution-card,

    .solution-icon {

        width:64px;

        height:64px;

        font-size:24px;

    }

    }

    /* =========================
       CASE STUDY
    ========================= */

    .case-card {

        padding: 38px 20px;

        border-radius: 22px;

    }


    .case-card h2 {

        margin-top: 18px;

    }


    .case-description {

        font-size: .95rem;

    }


    .case-point {

        min-height: 52px;

        padding: 12px 14px;

        font-size: .84rem;

    }

    /* =========================
       CTA
    ========================= */

    .cta-box {

        padding: 42px 20px;

        border-radius: 22px;

    }


    .cta-support {

        max-width: 260px;

        margin-inline: auto;

    }

/* ==========================================================
   EXTRA SMALL DEVICES
   360px
========================================================== */

@media (max-width:360px){

    h1{

        font-size:2rem;

    }

    h2{

        font-size:1.55rem;

    }

    p{

        font-size:.95rem;

    }

    .hero-badge{

        font-size:.7rem;

    }

    .dashboard{

        padding:16px;

    }

    .status-left span{

        font-size:.82rem;

    }

    .cloud-item{

        font-size:.82rem;

    }

    .btn{

        padding:14px 18px;

        font-size:.9rem;

    }

}

/* ==========================================================
   LANDSCAPE MOBILE
========================================================== */

@media (max-height:700px) and (orientation:landscape){

    .hero{

        min-height:auto;

        padding:60px 0;

    }

    .hero-grid{

        gap:40px;

    }

    .nav-links{

        overflow-y:auto;

    }

}

/* ==========================================================
   LARGE DESKTOP
========================================================== */

@media (min-width:1600px){

    .container{

        max-width:1440px;

    }

    h1{

        font-size:5.2rem;

    }

    h2{

        font-size:3.8rem;

    }

    .hero-grid{

        gap:120px;

    }

}

/* ==========================================================
   ACCESSIBILITY
========================================================== */

@media (prefers-reduced-motion:reduce){

    *{

        animation:none !important;

        transition:none !important;

        scroll-behavior:auto !important;

    }

}

/* ==========================================================
   PRINT
========================================================== */

@media print{

    .header,

    .menu-btn,

    .hero-buttons,

    .floating-card,

    .cta,

    .footer{

        display:none !important;

    }

    body{

        background: var(--background);

        color:var(--text);

    }

}

/* ==========================================================
   RESPONSIVE UTILITIES
========================================================== */

.hide-mobile{

    display:block;

}

.show-mobile{

    display:none;

}

@media (max-width:768px){

    .hide-mobile{

        display:none !important;

    }

    .show-mobile{

        display:block !important;

    }

}

/* ==========================================================
   OVERFLOW FIXES
========================================================== */

.hero,
.dashboard,
.case-card,
.cta-box{

    overflow:hidden;

}

img{

    max-width:100%;

    height:auto;

}

/* ==========================================================
   theme toggle
========================================================== */

.theme-toggle{

    width:42px;

    height:42px;

}


/* ==========================================================
   GLOBAL FOOTER — RESPONSIVE
========================================================== */

@media (max-width: 768px) {

    .footer-grid {

        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        gap: 35px;

    }

    .footer-brand {

        grid-column: 1 / -1;

        max-width: none;

    }

    .footer-social {

        justify-content: flex-start;

    }

    .footer-bottom {

        flex-direction: column;

        align-items: flex-start;

    }

    .footer-legal {

        flex-wrap: wrap;

        gap: 16px;

    }

}


@media (max-width: 576px) {

    .footer {

        padding:
            60px 0 25px;

    }

    .footer-grid {

        grid-template-columns: 1fr;

        gap: 30px;

    }

    .footer-brand {

        grid-column: auto;

    }

    .footer-social {

        justify-content: center;

    }

}

/* ==========================================================
   HOMEPAGE — INDUSTRIES
========================================================== */

@media (max-width: 992px) {

    .industries-grid {

        grid-template-columns:
            repeat(2, minmax(0, 1fr));

    }

}


@media (max-width: 576px) {

    .industries-grid {

        grid-template-columns: 1fr;

    }

    .industry-card {

        padding: 26px;

    }

}

/* ==========================================================
   ABOUT PAGE — TABLET
========================================================== */

@media (max-width: 992px) {

    .about-story-grid,
    .mission-grid {

        grid-template-columns: 1fr;

        gap: 45px;

    }


    .about-story-visual {

        order: -1;

    }


    .values-grid {

        grid-template-columns:
            repeat(2, minmax(0, 1fr));

    }


    .why-points {

        grid-template-columns:
            repeat(2, minmax(0, 1fr));

    }


    .certifications-grid {

        grid-template-columns:
            repeat(2, minmax(0, 1fr));

    }

}

/* ==========================================================
   ABOUT PAGE — MOBILE
========================================================== */

@media (max-width: 576px) {

    .about-hero {

        min-height: auto;

    }


    .about-story-grid,
    .mission-grid {

        gap: 32px;

    }


    .mission-card {

        padding: 30px 24px;

    }


    .values-grid,
    .why-points,
    .certifications-grid {

        grid-template-columns: 1fr;

    }


    .story-card-body {

        padding: 24px;

    }


    .story-highlight {

        align-items: flex-start;

    }


    .timeline {

        margin-top: 40px;

    }


    .timeline::before {

        left: 23px;

        transform: none;

    }


    .timeline-item {

        display: grid;

        grid-template-columns: 48px 1fr;

        gap: 18px;

        margin-bottom: 30px;

    }


    .timeline-marker {

        grid-column: 1;

        grid-row: 1;

        width: 46px;

        height: 46px;

    }


    .timeline-content {

        grid-column: 2;

        grid-row: 1;

        padding: 22px;

    }

}

@media (max-width: 992px) {

    .why-grid {

        grid-template-columns: 1fr;

        gap: 45px;

    }


    .why-visual {

        order: -1;

    }

}

@media (max-width: 576px) {

    .why-grid {

        gap: 32px;

    }


    .security-stack-header {

        padding: 18px 20px;

    }


    .stack-layer {

        padding: 18px 20px;

    }

}

/* ==========================================================
   CAREERS PAGE — TABLET
========================================================== */

@media (max-width: 992px) {

    .culture-grid {

        grid-template-columns:
            repeat(2, minmax(0, 1fr));

    }


    .benefits-grid {

        grid-template-columns:
            repeat(2, minmax(0, 1fr));

    }


    .role-card {

        grid-template-columns:
            1fr auto;

    }


    .role-meta {

        grid-column: 1;

        flex-direction: row;

        flex-wrap: wrap;

    }


    .role-card .btn {

        grid-column: 2;

        grid-row: 1 / span 2;

    }


    .apply-box {

        grid-template-columns: 1fr;

        gap: 30px;

    }


    .apply-action {

        justify-content: flex-start;

    }

}

/* ==========================================================
   CAREERS PAGE — MOBILE
========================================================== */

@media (max-width: 576px) {

    .careers-hero {

        min-height:
            auto;

    }


    .careers-hero .dashboard {

        margin-top: 10px;

    }


    .culture-grid,
    .benefits-grid {

        grid-template-columns:
            1fr;

    }


    .culture-card {

        padding:
            28px 24px;

    }


    .benefit-card {

        padding:
            24px;

    }


    .role-card {

        display: flex;

        flex-direction: column;

        align-items: stretch;

        gap: 20px;

        padding:
            24px;

    }


    .role-main {

        align-items:
            flex-start;

    }


    .role-meta {

        min-width:
            0;

        flex-direction:
            column;

        gap: 8px;

    }


    .role-card .btn {

        width:
            100%;

    }


    .apply-box {

        padding:
            35px 24px;

        border-radius:
            22px;

    }


    .apply-action {

        width:
            100%;

    }


    .apply-action .btn {

        width:
            100%;

    }

}

@media (max-width: 480px) {

    .careers-hero .dashboard-card {

        padding: 14px;

    }


    .careers-hero .dashboard-card-icon {

        width: 40px;

        height: 40px;

    }


    .role-icon {

        width: 48px;

        height: 48px;

    }


    .apply-box {

        padding: 30px 20px;

    }

}

/* ==========================================================
   CONTACT PAGE — TABLET
========================================================== */

@media (max-width: 992px) {

    .contact-details-grid {

        grid-template-columns:
            repeat(2, minmax(0, 1fr));

    }


    .office-grid {

        grid-template-columns:
            1fr;

        gap:
            45px;

    }


    .office-visual {

        order:
            -1;

    }


    .contact-form-grid {

        grid-template-columns:
            1fr;

        gap:
            45px;

    }


    .consultation-box {

        grid-template-columns:
            1fr;

        gap:
            30px;

    }


    .consultation-action {

        justify-content:
            flex-start;

    }

}

/* ==========================================================
   CONTACT PAGE — MOBILE
========================================================== */

@media (max-width: 576px) {

    .contact-hero {

        min-height:
            auto;

    }


    .contact-hero .dashboard {

        margin-top:
            10px;

    }


    .contact-details-grid {

        grid-template-columns:
            1fr;

    }


    .contact-card {

        padding:
            26px 22px;

    }


    .office-card-content {

        padding:
            36px 24px;

    }


    .contact-form-wrapper {

        padding:
            26px 20px;

        border-radius:
            20px;

    }


    .form-highlight {

        padding:
            18px;

    }


    .consultation-box {

        padding:
            35px 24px;

        border-radius:
            22px;

    }


    .consultation-action {

        width:
            100%;

    }


    .consultation-action .btn {

        width:
            100%;

    }

}

@media (max-width: 480px) {

    .contact-hero .dashboard-card {

        padding:
            14px;

    }


    .contact-hero .dashboard-card-icon {

        width:
            40px;

        height:
            40px;

    }


    .office-detail {

        align-items:
            flex-start;

        padding:
            16px;

    }


    .office-detail-icon {

        width:
            42px;

        height:
            42px;

    }


    .contact-form-wrapper {

        padding:
            22px 16px;

    }


    .consultation-box {

        padding:
            30px 20px;

    }

}

/* ==========================================================
   SERVICES PAGE — TABLET
========================================================== */

@media (max-width: 992px) {

    .solution-grid,
    .solution-section.reverse .solution-grid {

        grid-template-columns:
            1fr;

        gap:
            45px;

    }


    .solution-visual {

        order:
            -1;

    }


    .engagement-grid {

        grid-template-columns:
            repeat(2, minmax(0, 1fr));

    }

}

/* ==========================================================
   SERVICES PAGE — MOBILE
========================================================== */

@media (max-width: 576px) {

    .solutions-hero {

        min-height:
            auto;

    }


    .solutions-hero .dashboard {

        margin-top:
            10px;

    }


    .solution-feature {

        padding:
            18px;

    }


    .security-dashboard,
    .ai-dashboard,
    .managed-dashboard {

        border-radius:
            20px;

    }


    .security-dashboard-header,
    .ai-dashboard-header,
    .managed-dashboard-header {

        padding:
            18px 20px;

    }


    .security-metric {

        padding:
            18px 20px;

    }


    .ai-dashboard-body {

        padding:
            22px;

    }


    .managed-service-item {

        padding:
            17px 20px;

    }


    .engagement-grid {

        grid-template-columns:
            1fr;

    }


    .engagement-card {

        padding:
            30px 24px;

    }


    .faq-question {

        padding:
            20px 0;

        font-size:
            .95rem;

    }


    .faq-answer {

        padding:
            0 0 20px;

    }

}

@media (max-width: 480px) {

    .solutions-hero .dashboard-card {

        padding:
            14px;

    }


    .solutions-hero .dashboard-card-icon {

        width:
            40px;

        height:
            40px;

    }


    .solution-feature-icon {

        width:
            42px;

        height:
            42px;

    }


    .security-metric-icon,
    .managed-service-icon {

        width:
            42px;

        height:
            42px;

    }


    .ai-step-number {

        width:
            38px;

        height:
            38px;

    }

}

/* ==========================================================
   END OF RESPONSIVE.CSS
========================================================== */