/* ==================================================
   CONTACT PAGE
================================================== */

/* ==================================================
   1. CONTACT HERO
================================================== */

.contact-hero {
    position: relative;
    min-height: 520px;
    padding: 110px 0;
    display: flex;
    align-items: center;
    background:
        linear-gradient(
            rgba(20,30,50,.62),
            rgba(20,30,50,.62)
        ),
        url("images/contact_hero.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: var(--ns-white);
    text-align: center;
}

.contact-hero-content {
    max-width: 900px;
    margin: 0 auto;
}

.contact-label {
    display: inline-block;
    color: var(--ns-red);
    font-size: 16px;
    font-weight: 800;
    letter-spacing: 2px;
    line-height: 1.2;
    text-transform: uppercase;
    margin-bottom: 14px;
}

.contact-hero .contact-label {
    color: var(--ns-white);
}

.contact-hero h1 {
    color: var(--ns-white);
    font-size: 54px;
    font-weight: 800;
    line-height: 1.08;
    text-transform: uppercase;
    margin-bottom: 34px;
}

.contact-hero-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px;
}

.contact-hero .btn-secondary {
    background: transparent;
    border: 2px solid var(--ns-white);
    color: var(--ns-white);
}

.contact-hero .btn-secondary:hover {
    background: var(--ns-white);
    border-color: var(--ns-white);
    color: var(--ns-blue);
}

/* ==================================================
   2. CONTACT MAIN
================================================== */

.contact-main {
    background: var(--ns-light);
    padding: 100px 0;
}

#contact-form {
    scroll-margin-top: 150px;
}

.contact-main-grid {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 50px;
    align-items: start;
}

.contact-form-card,
.contact-details-card {
    background: var(--ns-white);
    border-radius: 12px;
    padding: 42px;
    box-shadow: 0 12px 30px rgba(0,0,0,.12);
}

.contact-form-card h2,
.contact-details-card h2 {
    color: var(--ns-blue);
    font-size: 42px;
    line-height: 1.15;
    margin-bottom: 18px;
}

.contact-form-card > p {
    color: #4f5d8c;
    font-size: 17px;
    line-height: 1.6;
    margin-bottom: 28px;
}

/* ==================================================
   3. CONTACT FORM
================================================== */

.contact-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 14px;
    border: 1px solid rgba(47,57,118,.14);
    border-radius: 6px;
    background: #f4f5fa;
    color: var(--ns-blue);
    font-size: 15px;
}

.contact-form select,
.contact-form textarea,
.contact-form button {
    grid-column: 1 / -1;
}

.contact-form textarea {
    min-height: 140px;
    resize: vertical;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: 2px solid rgba(182,44,50,.25);
    border-color: var(--ns-red);
    background: var(--ns-white);
}

.contact-form button {
    grid-column: 1 / -1;
    padding: 15px 24px;
    border: none;
    border-radius: 6px;
    background: var(--ns-red);
    color: var(--ns-white);
    font-size: 15px;
    font-weight: 800;
    transition: background .25s ease, transform .25s ease;
}

.contact-form button:hover {
    background: var(--ns-red-dark);
    transform: translateY(-2px);
}

.contact-form button:disabled {
    opacity: .7;
    cursor: wait;
    transform: none;
}

.contact-form-card > .contact-form-note {
    margin: 16px 0 0;
    color: #6b7195;
    font-size: 12px;
    line-height: 1.5;
    text-align: center;
}

/* ==================================================
   4. CONTACT DETAILS
================================================== */

.contact-detail-list {
    display: grid;
    gap: 14px;
    margin-top: 28px;
}

.contact-detail-item {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 16px 20px;
    background: var(--ns-light);
    border-left: 4px solid var(--ns-red);
    border-radius: 8px;
    transition: transform .25s ease, box-shadow .25s ease;
}

.contact-detail-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 24px rgba(0,0,0,.10);
}

.contact-icon {
    flex-shrink: 0;
    width: 34px;
    height: 34px;
}

.contact-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.contact-text {
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.contact-text strong {
    color: var(--ns-blue);
    font-size: 17px;
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 4px;
}

.contact-text span {
    color: #4f5d8c;
    font-size: 14px;
    line-height: 1.4;
    overflow-wrap: anywhere;
}

/* ==================================================
   5. SERVICE AREA
================================================== */

.contact-area {
    padding: 110px 0;
    background:
        linear-gradient(
            rgba(255,255,255,.60),
            rgba(255,255,255,.60)
        ),
        url("images/Contact_area.webp");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    text-align: center;
}

.contact-area-content {
    max-width: 820px;
    margin: 0 auto;
}

.contact-area h2 {
    color: var(--ns-blue);
    font-size: 46px;
    line-height: 1.15;
    margin-bottom: 24px;
}

.contact-area p {
    max-width: 760px;
    margin: 0 auto 32px;
    color: var(--ns-blue);
    font-size: 18px;
    line-height: 1.7;
}

.contact-area-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 28px;
    border-radius: 6px;
    background: var(--ns-red);
    color: var(--ns-white);
    font-size: 15px;
    font-weight: 800;
    transition: background .25s ease, transform .25s ease;
}

.contact-area-button:hover {
    background: var(--ns-red-dark);
    transform: translateY(-2px);
}

/* ==================================================
   6. CONTACT RESPONSIVE
================================================== */

@media (max-width: 900px) {

    .contact-hero {
        min-height: 460px;
        padding: 90px 0;
    }

    .contact-hero h1 {
        font-size: 40px;
    }

    .contact-main-grid {
        grid-template-columns: 1fr;
    }

    .contact-form-card h2,
    .contact-details-card h2 {
        font-size: 36px;
    }

    .contact-area {
        padding: 90px 0;
    }

    .contact-area h2 {
        font-size: 38px;
    }
}

@media (max-width: 650px) {

    .contact-hero {
        min-height: 430px;
        padding: 80px 0;
    }

    .contact-hero h1 {
        font-size: 34px;
    }

    .contact-hero-buttons {
        flex-direction: column;
    }

    .contact-hero-buttons a {
        width: 100%;
    }

    .contact-main {
        padding: 70px 0;
    }

    .contact-main-grid {
        gap: 30px;
    }

    .contact-form-card,
    .contact-details-card {
        padding: 30px 22px;
    }

    .contact-form {
        grid-template-columns: 1fr;
    }

    .contact-form-card h2,
    .contact-details-card h2 {
        font-size: 32px;
    }

    .contact-area {
        padding: 70px 0;
    }

    .contact-area h2 {
        font-size: 32px;
    }

    .contact-area p {
        font-size: 16px;
    }

    .contact-area-button {
        width: 100%;
    }
}