/* BASE */
body {
    font-family: 'Montserrat', sans-serif;
    background: #f5f7fa;
}

/* SECTION */
.contact-section {
    padding: 120px 20px;
    width: 70%;
    margin: 0 auto;
}

/* MAIN BOX */
.contact-box {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
}

/* BACKGROUND */
.contact-bg {
    position: absolute;
    inset: 0;
    background: url('/public/images/contact-bg.jpg') center/cover no-repeat;
}

/* OVERLAY */
.contact-box::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        rgba(10,46,77,0.9) 0%,
        rgba(10,46,77,0.7) 50%,
        rgba(10,46,77,0.2) 100%
    );
}

/* CONTENT */
.contact-content {
    position: relative;
    z-index: 2;
    display: grid;
    gap: 40px;
    padding: 50px;
    color: white;
}

/* LEFT */
.contact-left {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

/* LOGO */
.nero-logo {
    width: 120px;
    height: 40px;
}

.nero-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* TEXT */
.contact-left h1 {
    font-size: 42px;
    line-height: 1.2;
}

.main-text {
    margin-top: 10px;
    font-size: 15px;
    opacity: 0.9;
}

.sub-text {
    margin-top: 10px;
    font-size: 14px;
    opacity: 0.75;
}

/* INFO GRID */
.contact-info-grid {
    margin-top: 20px;
    display: grid;
    gap: 18px;
}

/* INFO BLOCK */
.info-block {
    display: flex;
    gap: 14px;
    align-items: center;
}

/* ICON */
.icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: rgba(255,255,255,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon svg {
    width: 20px;
    stroke: white;
    fill: none;
    stroke-width: 2;
}

/* TEXT */
.info-block span {
    font-size: 12px;
    opacity: 0.7;
}

.info-block p,
.info-block a {
    font-size: 14px;
    color: white;
    text-decoration: none;
}

/* FORM CARD */
.contact-form-card {
    background: white;
    color: #111;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 25px 60px rgba(0,0,0,0.2);
}

/* TITLE */
.contact-form-card h3 {
    margin-bottom: 5px;
}

.form-sub {
    font-size: 13px;
    color: #666;
    margin-bottom: 20px;
}

/* ROW */
.row {
    display: flex;
    gap: 12px;
    margin-bottom: 10px;
}

/* INPUT */
.contact-form-card input,
.contact-form-card textarea {
    width: 100%;
    padding: 14px;
    border-radius: 12px;
    border: 1px solid #ddd;
    font-size: 14px;
}

/* TEXTAREA */
.contact-form-card textarea {
    height: 140px;
    resize: none;
}

/* FORM SECTION */
.form-section {
    margin-top: 15px;
}

.form-section label {
    font-size: 13px;
    color: #555;
    margin-bottom: 10px;
}

/* REASON BUTTONS */
.reason-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.reason-buttons label {
    padding: 10px 16px;
    border-radius: 25px;
    border: 1px solid #ddd;
    font-size: 13px;
    cursor: pointer;
    transition: 0.2s;
}

/* ACTIVE */
.reason-buttons input:checked + label {
    background: #0A2E4D;
    color: white;
    border-color: #0A2E4D;
}

/* BUTTON */
.contact-form-card button {
    width: 100%;
    padding: 14px;
    border-radius: 12px;
    border: none;
    background: linear-gradient(135deg, #0A2E4D, #1E73BE);
    color: white;
    cursor: pointer;
    margin-top: 10px;
}

/* MAP */
.map-section {
    margin-top: 40px;
}

.map-wrapper {
    border-radius: 20px;
    overflow: hidden;
    height: 350px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.1);
}

.map-wrapper iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.products-cta {
    margin-top: 50px;
    text-align: center;

}


.btn-outline {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 30px;
    border: 2px solid #0A2E4D;
    color: #0A2E4D;
    font-size: 14px;
    text-decoration: none;
    transition: 0.3s;
}   

.btn-outline:hover {
    background: #0A2E4D;
    color: white;
}

/* ========================= */
/* 📱 MOBILE OPTIMIZATION */
/* ========================= */

@media (max-width: 768px) {

    .contact-section {
        width: 100%;
        padding: 120px 15px;
    }

    .contact-box {
        border-radius: 18px;
    }

     .contact-box::after {
        background: linear-gradient(
            180deg,
            rgba(10,46,77,0.95) 0%,
            rgba(10,46,77,0.85) 50%,
            rgba(10,46,77,0.75) 100%
        );
    }

    .contact-content {
        padding: 25px 20px;
        gap: 30px;
        display: flex;
        justify-content: center;
        flex-direction: column;
    }

    /* TEXT */
    .contact-left h1 {
        font-size: 28px;
    }

    .main-text {
        font-size: 14px;
    }

    .sub-text {
        font-size: 13px;
    }

    /* INFO */
    .info-block {
        align-items: flex-start;
    }

    .icon {
        width: 42px;
        height: 42px;
    }

    /* FORM */
    .contact-form-card {
        padding: 20px;
        border-radius: 16px;
    }

    /* STACK INPUTS */
    .row {
        flex-direction: column;
        gap: 10px;
    }

    /* INPUT UX */
    .contact-form-card input,
    .contact-form-card textarea {
        padding: 8px;
        font-size: 16px; /* prevents zoom on iOS */
    }

    /* BUTTONS */
    .reason-buttons {
        gap: 8px;
    }

    .reason-buttons label {
        flex: 1;
        text-align: center;
        padding: 10px;
    }

    /* CTA */
    .contact-form-card button {
        padding: 16px;
        font-size: 15px;
    }

    /* MAP */
    .map-wrapper {
        height: 250px;
    }

}

/* DESKTOP */
@media (min-width: 768px) {
    .contact-content {
        grid-template-columns: 1.2fr 1fr;
        align-items: center;
    }

    .contact-form-card {
        justify-self: end;
        max-width: 420px;
    }
}