/* =========================================================
   CONTACT PAGE
========================================================= */

.contact-container {
    width: min(1200px, 90%);
    margin: 0 auto;
}

/* =========================================================
   CONTACT HERO
========================================================= */

.contact-hero {
    position: relative;
    min-height: 520px;

    display: flex;
    align-items: center;
    justify-content: center;

    background:
        linear-gradient(
            rgba(17, 48, 82, 0.62),
            rgba(17, 48, 82, 0.62)
        ),
        url("../images/hero/contact-hero.jpg") center / cover no-repeat;

    text-align: center;
    color: #fff;
}

.contact-hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(15, 42, 72, 0.10);
}

.contact-hero-content {
    position: relative;
    z-index: 2;

    width: min(850px, 90%);
    margin: 0 auto;
    padding: 90px 0 70px;
}

.contact-hero .section-eyebrow {
    color: #d5a54a;
}

.contact-hero h1 {
    margin: 18px 0 22px;

    color: #fff;
    font-family: var(--heading-font);
    font-size: clamp(3.5rem, 6vw, 5.8rem);
    font-weight: 500;
    line-height: 0.98;
}

.contact-hero p:not(.section-eyebrow) {
    max-width: 680px;
    margin: 0 auto;

    color: rgba(255, 255, 255, 0.92);
    font-size: 1.08rem;
    line-height: 1.8;
}


/* =========================================================
   CONTACT SECTION
========================================================= */

.contact-section {
    padding: 110px 0;
    background: #fff;
}

.contact-grid {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 80px;
    align-items: start;
}


/* =========================================================
   CONTACT INFO
========================================================= */

.contact-info {
    padding-top: 10px;
}

.contact-info h2 {
    margin: 15px 0 25px;

    color: var(--text);
    font-family: var(--heading-font);
    font-size: clamp(2.8rem, 4.5vw, 4.2rem);
    font-weight: 500;
    line-height: 1.05;
}

.contact-intro {
    max-width: 520px;
    margin-bottom: 38px;

    color: var(--text-light);
    font-size: 1rem;
    line-height: 1.8;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.contact-detail {
    display: flex;
    align-items: center;
    gap: 16px;

    color: var(--text);
    text-decoration: none;
}

.contact-icon {
    flex: 0 0 54px;

    width: 54px;
    height: 54px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #eef3f8;
    color: #cfa24a;

    border-radius: 50%;
}

.contact-detail strong {
    display: block;
    margin-bottom: 3px;
    font-size: 1rem;
}

.contact-detail small {
    display: block;
    color: var(--text-light);
    font-size: 0.9rem;
}

.contact-social {
    margin-top: 40px;
}

.contact-social > p {
    margin-bottom: 12px;

    color: var(--text);
    font-size: 0.9rem;
    font-weight: 600;
}

.social-links {
    display: flex;
    gap: 10px;
}

.social-links a {
    width: 42px;
    height: 42px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #173f70;
    color: #fff;

    border-radius: 50%;
    text-decoration: none;

    transition: 0.25s ease;
}

.social-links a:hover {
    background: #cfa24a;
}


/* =========================================================
   CONTACT FORM
========================================================= */

.contact-form-wrapper {
    padding: 42px;

    background: #f7f8fa;
    border: 1px solid #e5e8ec;
    border-radius: 10px;
}

.contact-form-header {
    margin-bottom: 30px;
}

.contact-form-header h3 {
    margin: 10px 0 8px;

    color: var(--text);
    font-family: var(--heading-font);
    font-size: 2.5rem;
    font-weight: 500;
}

.contact-form-header p:last-child {
    color: var(--text-light);
    line-height: 1.7;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.form-group label {
    color: var(--text);
    font-size: 0.9rem;
    font-weight: 600;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    box-sizing: border-box;

    padding: 13px 14px;

    border: 1px solid #d9dee5;
    border-radius: 6px;

    background: #fff;
    color: var(--text);

    font-family: inherit;
    font-size: 1rem;

    outline: none;

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.form-group input,
.form-group select {
    height: 50px;
}

.form-group textarea {
    min-height: 130px;
    resize: vertical;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: #1e4678;
    box-shadow: 0 0 0 3px rgba(30, 70, 120, 0.10);
}

.contact-form .btn-primary {
    align-self: flex-start;
    margin-top: 4px;
    border: none;
    cursor: pointer;
}

.form-note {
    margin-top: -6px;

    color: var(--text-light);
    font-size: 0.8rem;
    line-height: 1.5;
}


/* =========================================================
   CONTACT CTA
========================================================= */

.contact-cta {
    padding: 105px 0;

    background: #173f70;
    color: #fff;
    text-align: center;
}

.contact-cta .section-eyebrow {
    color: #d5a54a;
}

.contact-cta h2 {
    margin: 15px 0 22px;

    color: #fff;
    font-family: var(--heading-font);
    font-size: clamp(3rem, 5vw, 4.8rem);
    font-weight: 500;
    line-height: 1;
}

.contact-cta p {
    max-width: 650px;
    margin: 0 auto 32px;

    color: rgba(255, 255, 255, 0.85);
    line-height: 1.8;
}

.contact-cta-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
}

.contact-cta-buttons .btn-secondary {
    border: 1px solid rgba(255, 255, 255, 0.8);
    color: #fff;
    background: transparent;
}

.contact-cta-buttons .btn-secondary:hover {
    background: #fff;
    color: #173f70;
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 900px) {

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 55px;
    }

    .contact-info {
        max-width: 700px;
    }
}


@media (max-width: 700px) {

    .contact-hero {
        min-height: 460px;
    }

    .contact-hero-content {
        width: 90%;
        padding: 65px 0 50px;
    }

    .contact-hero h1 {
        font-size: 2.8rem;
        line-height: 1;
    }

    .contact-hero p:not(.section-eyebrow) {
        font-size: 0.95rem;
        line-height: 1.6;
    }

    .contact-section {
        padding: 70px 0;
    }

    .contact-info h2 {
        font-size: 2.8rem;
    }

    .contact-form-wrapper {
        padding: 28px 20px;
    }

    .contact-form-header h3 {
        font-size: 2.2rem;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .contact-form .btn-primary {
        width: 100%;
    }

    .contact-cta {
        padding: 75px 0;
    }

    .contact-cta h2 {
        font-size: 3rem;
    }

    .contact-cta-buttons {
        flex-direction: column;
        gap: 12px;
    }

    .contact-cta-buttons a {
        width: 100%;
        max-width: 280px;
        box-sizing: border-box;
        text-align: center;
    }
}