/* =========================================
   PRINCE SOLUTIONS
   RESPONSIVE STYLES
========================================= */


/* =========================================
   TABLET
========================================= */

@media (max-width: 1000px) {

    .container {
        width: min(100% - 32px, 900px);
    }


    /* NAV */

    .nav-menu {
        gap: 18px;
    }


    /* HERO */

    .hero {
        min-height: auto;

        padding: 90px 0;
    }

    .hero-content {
        grid-template-columns: 1fr;

        text-align: center;
    }

    .hero-text {
        margin: auto;
    }

    .hero-text > p {
        margin-left: auto;
        margin-right: auto;
    }

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

    .hero-trust {
        justify-content: center;
    }

    .hero-visual {
        min-height: 400px;
    }


    /* SERVICES */

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


    /* SOLUTIONS */

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

    .solution-card:last-child {
        grid-column: span 2;
    }


    /* WHY */

    .why-grid {
        gap: 45px;
    }


    /* PROCESS */

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

        gap: 40px;
    }

    .process-line {
        display: none;
    }


    /* CTA */

    .cta-content {
        flex-direction: column;

        text-align: center;
    }


    /* CONTACT */

    .contact-grid {
        gap: 40px;
    }


    /* FOOTER */

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

}


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

@media (max-width: 700px) {

    .container {
        width: min(100% - 28px, 560px);
    }


    /* HEADER */

    .navbar {
        min-height: 70px;
    }

    .menu-toggle {
        display: block;
    }

    .nav-menu {
        position: absolute;

        top: 70px;
        left: 0;
        right: 0;

        display: none;

        flex-direction: column;
        align-items: stretch;

        gap: 0;

        padding: 12px 20px 20px;

        background: white;

        border-bottom: 1px solid var(--border);

        box-shadow:
            0 20px 30px rgba(0,0,0,0.08);
    }

    .nav-menu.open {
        display: flex;
    }

    .nav-menu > a {
        padding: 14px 5px;

        border-bottom: 1px solid #f0f1f3;
    }

    .nav-menu .nav-button {
        margin-top: 10px;

        text-align: center;

        border: 0;
    }


    /* HERO */

    .hero {
        padding: 75px 0 65px;
    }

    .hero-content {
        gap: 40px;
    }

    .hero h1 {
        font-size: 43px;

        letter-spacing: -2px;
    }

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

    .hero-buttons {
        flex-direction: column;

        align-items: stretch;

        margin-bottom: 35px;
    }

    .hero-buttons .btn {
        width: 100%;
    }

    .hero-trust {
        gap: 18px;

        justify-content: space-between;
    }

    .hero-trust strong {
        font-size: 12px;
    }

    .hero-trust span {
        font-size: 10px;
    }


    /* HERO VISUAL */

    .hero-visual {
        min-height: 330px;
    }

    .hero-card-main {
        width: 75%;

        padding: 30px 20px;
    }

    .security-icon {
        width: 70px;
        height: 70px;

        font-size: 32px;
    }

    .hero-card-main h3 {
        font-size: 19px;
    }

    .floating-card {
        padding: 10px 12px;
    }

    .card-one {
        top: 25px;
    }

    .card-two {
        bottom: 20px;
    }


    /* SECTIONS */

    .section {
        padding: 70px 0;
    }

    .section-heading {
        display: block;

        margin-bottom: 35px;
    }

    .section-heading h2 {
        font-size: 34px;

        margin-bottom: 15px;
    }

    .section-heading > p {
        font-size: 14px;
    }


    /* SERVICES */

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

    .service-card {
        padding: 25px;
    }


    /* SOLUTIONS */

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

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

    .solution-card:last-child {
        grid-column: auto;
    }


    /* WHY */

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

    .why-content h2 {
        font-size: 35px;
    }

    .why-image {
        min-height: 360px;
    }


    /* PROCESS */

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

        gap: 35px;
    }


    /* CTA */

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

    .cta-content {
        align-items: stretch;
    }

    .cta-section h2 {
        font-size: 32px;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .cta-buttons .btn {
        width: 100%;
    }


    /* CONTACT */

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

    .contact-info h2 {
        font-size: 36px;
    }

    .contact-form-wrapper {
        padding: 25px 18px;
    }

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


    /* FOOTER */

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

        gap: 35px;

        padding: 55px 0;
    }

}


/* =========================================
   SMALL PHONES
========================================= */

@media (max-width: 380px) {

    .hero h1 {
        font-size: 37px;
    }

    .hero-trust {
        gap: 10px;
    }

    .hero-trust strong {
        font-size: 11px;
    }

    .hero-trust span {
        font-size: 9px;
    }

    .floating-card {
        transform: scale(0.9);
    }

}