/* =========================================
   RESET
========================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


html {
    scroll-behavior: smooth;
}


body {
    font-family: "Inter", sans-serif;
    color: #171717;
    background: #ffffff;
    line-height: 1.5;
}


img {
    max-width: 100%;
    display: block;
}


a {
    text-decoration: none;
    color: inherit;
}


button,
input,
select,
textarea {
    font-family: inherit;
}


button {
    cursor: pointer;
}







/* =========================
   NAVBAR
========================= */

.navbar {
    width: 100%;
    height: 62px;

    background: #ffffff;

    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 0 6%;

    position: relative;
    z-index: 1000;
}


/* =========================
   LOGO
========================= */

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo img {
    width: 120px;
    height: auto;
    display: block;
}
@media (max-width: 700px) {

    .logo img {
        width: 100px;
    }

}

/* =========================
   DESKTOP NAV
========================= */

.nav-links {
    display: flex;
    align-items: center;

    background: #f5f5f5;

    padding: 3px;

    border-radius: 30px;
}

.nav-links a {
    text-decoration: none;

    color: #555;

    font-size: 11px;

    padding: 9px 12px;

    border-radius: 25px;

    transition: all 0.2s ease;
}

.nav-links a:hover {
    background: #ffffff;
    color: #111;
}


/* =========================
   QUOTE BUTTON
========================= */

.quote-btn {
    display: flex;
    align-items: center;

    gap: 8px;

    text-decoration: none;

    background: #2f6ee5;

    color: #ffffff;

    font-size: 10px;
    font-weight: 600;

    padding: 3px 3px 3px 15px;

    border-radius: 30px;
}

.arrow {
    width: 36px;
    height: 36px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #ffffff;

    color: #222;

    border-radius: 50%;

    font-size: 18px;
}


/* =========================
   MOBILE MENU BUTTON
========================= */

.menu-button {
    display: none;

    width: 40px;
    height: 40px;

    border: none;

    background: #f4f4f4;

    border-radius: 10px;

    cursor: pointer;

    align-items: center;
    justify-content: center;

    flex-direction: column;

    gap: 4px;

    position: relative;

    z-index: 1002;
}

.menu-button span {
    display: block;

    width: 20px;
    height: 2px;

    background: #333;

    transition: 0.3s ease;
}


/* =========================
   MOBILE MENU
========================= */

.mobile-menu {
    display: none;

    position: absolute;

    top: 63px;

    left: 15px;
    right: 15px;

    background: #ffffff;

    border-radius: 9px;

    overflow: hidden;

    z-index: 1001;

    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.mobile-menu.active {
    display: block;
}


/* =========================
   MOBILE LINKS
========================= */

.mobile-links {
    padding: 8px 9px 8px;
}

.mobile-links a {
    display: block;

    padding: 15px 14px;

    text-decoration: none;

    color: #666;

    font-size: 14px;
}

.mobile-links a:hover {
    color: #111;
}


/* =========================
   MOBILE QUOTE
========================= */

.mobile-links .mobile-quote {
    background: #2f6ee5;

    color: #ffffff;

    text-align: center;

    font-weight: 600;

    border-radius: 6px;

    margin-top: 3px;

    padding: 13px;
}


/* =========================
   LOCATION
========================= */

.location {
    background: #2f6ee5;

    color: white;

    display: flex;

    align-items: flex-start;

    gap: 18px;

    padding: 20px 27px;

    font-size: 12px;

    line-height: 1.4;
}

.location-icon {
    font-size: 15px;
}


/* =========================
   MOBILE
========================= */

@media (max-width: 900px) {

    .navbar {
        height: 63px;

        padding: 0 12px;
    }

    .logo {
        font-size: 17px;
    }

    .nav-links,
    .quote-btn {
        display: none;
    }

    .menu-button {
        display: flex;
    }

}


/* =========================
   HAMBURGER → X
========================= */

.menu-button.open span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}

.menu-button.open span:nth-child(2) {
    opacity: 0;
}

.menu-button.open span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}


/* =========================
   DESKTOP
========================= */

@media (min-width: 901px) {

    .mobile-menu {
        display: none !important;
    }

}


/* =========================
   SMALL PHONES
========================= */

@media (max-width: 500px) {

    .mobile-menu {
        left: 15px;
        right: 15px;
    }

}










/* =========================================
   CONTAINER
========================================= */

.container {
    width: min(1120px, calc(100% - 50px));
    margin: 0 auto;
}




/* =========================================
   QUOTE PAGE
========================================= */

.quote-page {
    width: 100%;

    background: #f3f3f3;

    padding: 90px 0;

    min-height: 750px;

    display: flex;
    align-items: center;
}


/*
   IMPORTANT:
   This prevents the section from shrinking
   and fixes the narrow-column problem.
*/

.quote-section {
    width: 100%;
}


/* =========================================
   QUOTE WRAPPER
========================================= */

.quote-wrapper {
    width: min(1000px, calc(100% - 40px));

    margin: 0 auto;

    display: grid;

    grid-template-columns: 43% 57%;

    background: #ffffff;

    min-height: 570px;

    overflow: hidden;
}


/* =========================================
   LEFT RED VISUAL
========================================= */

.quote-visual {
    position: relative;

    background: #ff0015;

    overflow: hidden;

    min-height: 570px;
}


/* =========================================
   DECORATIVE CIRCLES
========================================= */

.circle {
    position: absolute;

    background: #ff4050;

    border-radius: 50%;

    pointer-events: none;
}


/* Top left */

.circle-one {
    width: 150px;
    height: 150px;

    top: -30px;
    left: -30px;
}


/* Center */

.circle-two {
    width: 180px;
    height: 180px;

    top: 195px;
    left: 130px;
}


/* Bottom right */

.circle-three {
    width: 170px;
    height: 170px;

    right: -65px;
    bottom: -65px;
}


/* =========================================
   FORM AREA
========================================= */

.quote-form {
    padding: 50px 50px 40px;

    background: #ffffff;
}


.quote-form h1 {
    color: #ff3d43;

    font-size: 32px;
    line-height: 1.2;

    font-weight: 700;

    margin-bottom: 7px;
}


.quote-subtitle {
    color: #707070;

    font-size: 15px;

    margin-bottom: 10px;
}


/* =========================================
   FORM GROUP
========================================= */

.form-group {
    margin-top: 10px;
}


.form-group input,
.form-group select,
.form-group textarea {

    width: 100%;

    border: 1px solid #cccccc;

    border-radius: 4px;

    background: #ffffff;

    font-size: 14px;

    color: #171717;

    outline: none;

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}


.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #222222;
    opacity: 1;
}


/* Inputs */

.form-group input,
.form-group select {
    height: 54px;

    padding: 0 17px;
}


/* Textarea */

.form-group textarea {
    height: 105px;

    padding: 17px;

    resize: vertical;
}


/* Focus */

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {

    border-color: #ff3d43;

    box-shadow:
        0 0 0 2px rgba(255, 61, 67, 0.08);
}


/* =========================================
   SELECT
========================================= */

.form-group select {

    appearance: none;

    padding-right: 45px;

    background-image:

        linear-gradient(
            45deg,
            transparent 50%,
            #111111 50%
        ),

        linear-gradient(
            135deg,
            #111111 50%,
            transparent 50%
        );

    background-position:

        calc(100% - 20px) 22px,
        calc(100% - 14px) 22px;

    background-size:
        7px 7px,
        7px 7px;

    background-repeat: no-repeat;

    cursor: pointer;
}


/* =========================================
   FILE UPLOAD
========================================= */

.sample-upload {

    width: 100%;
    min-height: 29px;

    display: flex;

    align-items: center;
    justify-content: center;

    gap: 10px;

    background: #cbd8e7;

    color: #222222;

    cursor: pointer;

    font-size: 14px;

    text-align: center;

    padding: 5px 10px;

    transition:
        background 0.2s ease;
}


.sample-upload:hover {
    background: #bccbdd;
}


.sample-upload small {
    font-size: 14px;
}


.paperclip {
    font-size: 16px;
}


/* =========================================
   SUBMIT BUTTON
========================================= */

.submit-quote {

    margin-top: 26px;

    width: 160px;
    height: 43px;

    border: none;

    border-radius: 4px;

    background: #ff3d43;

    color: #ffffff;

    font-size: 14px;
    font-weight: 500;

    transition:
        transform 0.2s ease,
        background 0.2s ease;
}


.submit-quote:hover {
    background: #e92f36;

    transform: translateY(-2px);
}


.submit-quote:active {
    transform: translateY(0);
}


/* =========================================
   FORM MESSAGE
========================================= */

.form-message {

    display: none;

    margin-top: 12px;

    font-size: 13px;

    color: #333333;
}


/* =========================================
   FOOTER
========================================= */

.footer {
    background: #2468e8;
    color: white;
    padding: 55px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.3fr;
    gap: 50px;
}

.footer-logo {
    font-size: 15px;
    font-weight: 800;
}

.footer-logo span {
    width: 22px;
    height: 22px;
    border: 2px solid white;
    border-radius: 50%;
    display: inline-grid;
    place-items: center;
}

.footer-about p {
    max-width: 290px;
    margin-top: 13px;
    font-size: 9px;
    opacity: .85;
}

.footer h4 {
    font-size: 10px;
    margin-bottom: 14px;
}

.footer a:not(.footer-logo) {
    display: block;
    font-size: 8px;
    margin: 8px 0;
    opacity: .85;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.25);
    margin-top: 40px;
    padding-top: 15px;
    display: flex;
    justify-content: space-between;
    font-size: 8px;
    opacity: .8;
}



@media (max-width: 900px) {

    .nav-menu {
        gap: 15px;
    }

   

}


@media (max-width: 700px) {

    .container {
        width: calc(100% - 30px);
    }

    .header {
        height: 62px;
    }

    .menu-btn {
        display: block;
    }

    .nav-menu {
        display: none;
        position: absolute;
        top: 62px;
        left: 15px;
        right: 15px;
        padding: 22px;
        background: white;
        box-shadow: 0 10px 30px rgba(0,0,0,.12);
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .nav-menu.open {
        display: flex;
    }

    .header-btn {
        padding: 8px 12px;
    }




    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 6px;
    }

}



@media (max-width: 430px) {

    

    .footer-grid {
        grid-template-columns: 1fr;
    }

}

/* =========================================
   TABLET
========================================= */

@media (max-width: 900px) {

    /* Navbar */

    .navbar {
        height: 63px;

        padding: 0 12px;
    }


    .logo img {
        width: 105px;
    }


    .nav-links,
    .quote-btn {
        display: none;
    }


    .menu-button {
        display: flex;
    }


    /* Quote */

    .quote-page {
        padding: 60px 0;
    }


    .quote-wrapper {

        width: min(
            700px,
            calc(100% - 30px)
        );

        grid-template-columns: 1fr;

    }


    .quote-visual {

        min-height: 260px;

    }


    .circle-one {

        width: 120px;
        height: 120px;

        top: -30px;
        left: -25px;

    }


    .circle-two {

        width: 130px;
        height: 130px;

        top: 65px;
        left: 40%;

    }


    .circle-three {

        width: 120px;
        height: 120px;

        right: -40px;
        bottom: -50px;

    }


    .quote-form {

        padding: 40px 35px;

    }


    /* Footer */

    .footer-grid {

        grid-template-columns:
            1fr
            1fr;

        gap: 35px;

    }

}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 600px) {

    .container {
        width: calc(100% - 30px);
    }


    .quote-page {

        padding: 30px 0;

        min-height: auto;

    }


    .quote-wrapper {

        width: calc(100% - 30px);

        grid-template-columns: 1fr;

    }


    .quote-visual {

        min-height: 200px;

    }


    .quote-form {

        padding: 30px 20px;

    }


    .quote-form h1 {

        font-size: 27px;

    }


    .quote-subtitle {

        font-size: 13px;

        line-height: 1.5;

    }


    .form-group input,
    .form-group select {

        height: 50px;

        font-size: 13px;

    }


    .form-group textarea {

        height: 110px;

        font-size: 13px;

    }


    .sample-upload {

        font-size: 13px;

    }


    .sample-upload small {

        font-size: 13px;

    }


    .submit-quote {

        width: 100%;

    }


    /* Footer */

    .footer {

        padding: 45px 0 20px;

    }


    .footer-grid {

        grid-template-columns: 1fr 1fr;

        gap: 30px;

    }


    .footer-about {

        grid-column: 1 / -1;

    }


    .footer-bottom {

        flex-direction: column;

        gap: 7px;

    }

}


/* =========================================
   SMALL PHONES
========================================= */

@media (max-width: 430px) {

    .logo img {
        width: 100px;
    }


    .quote-form {

        padding: 28px 18px;

    }


    .quote-form h1 {

        font-size: 25px;

    }


    .footer-grid {

        grid-template-columns: 1fr;

    }


    .footer-about {

        grid-column: auto;

    }

}