/* ========================================================================== */
/* CONTACT US PAGE                                                   */
/* ========================================================================== */

/* section 1: HERO */

.contact-hero {
    position: relative;
    width: 100%;
    min-height: 100vh;
    margin-left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    overflow: hidden;
}

    .contact-hero::before {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient( 135deg, rgba(3, 47, 79, 0.85), rgba(10, 75, 121, 0.75) );
        z-index: 2;
    }

    .contact-hero::after {
        content: "";
        position: absolute;
        bottom: -1px;
        left: 0;
        width: 100%;
        height: 48px;
        background: white;
        border-top-left-radius: 48px;
        border-top-right-radius: 48px;
        z-index: 6;
    }

.contact-hero-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    z-index: 1;
}

.contact-hero-content {
    position: relative;
    z-index: 3;
    max-width: 900px;
    padding: 100px 40px;
    margin-bottom: 100px;
    text-align: center;
}

.contact-eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.14rem;
    font-size: 0.85rem;
    font-weight: 600;
    opacity: 0.85;
    margin-bottom: 12px;
}

.contact-hero h1 {
    font-size: 2.6rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.contact-hero-text {
    font-size: 1.05rem;
    line-height: 1.6;
    opacity: 0.9;
}


/*  section 2: CONTENT */

.contact-section {
    margin-top: 60px;
    position: relative;
    z-index: 10;
}

.contact-grid {
    max-width: 1200px;
    margin: 0 auto 160px auto;
    padding: 0 40px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}


/* left: INFO */

.contact-list {
    list-style: none;
    padding: 0;
    margin-top: 40px;
    display: grid;
    gap: 24px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    color: black;
}

.contact-content {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.contact-title {
    margin: 0;
    font-size: 1rem;
    font-weight: 700;
    color: #032f4f;
}

.contact-text {
    font-size: 0.95rem;
    color: #48687f;
    line-height: 1.5;
}

.contact-label {
    font-size: 0.8rem;
    font-weight: 600;
    color: #7a8fa3;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.contact-icon {
    width: 95px;
    height: auto;
    flex-shrink: 0;
    opacity: 0.85;
    margin-top: -22px;
}

.contact-links {
    display: flex;
    gap: 14px;
}

    .contact-links a {
        font-size: 0.95rem;
        font-weight: 600;
        color: #4f8bff;
        text-decoration: none;
    }

        .contact-links a:hover {
            text-decoration: none;
        }


/*  right: FORM */

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding: 10px 0;
    margin-top: 8px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.form-row:only-of-type {
    grid-template-columns: 1fr;
}

.message-title {
    margin-top: 38px;
    font-size: 1.8rem;
    font-weight: 700;
    color: #032f4f;
    margin-bottom: 24px;
    position: relative;
    line-height: 1.2;
    text-align: center;
}

.message-subtitle {
    margin-top: 6px;
    margin-bottom: 22px;
    font-size: 1rem;
    color: rgba(2, 42, 70, 0.65);
    line-height: 1.5;
}


    .message-title::after {
        content: "";
        display: block;
        width: 260px;
        height: 3px;
        margin-top: 10px;
        background: linear-gradient(90deg, #4f8bff, #6ea8ff);
        border-radius: 2px;
        margin-left: auto;
        margin-right: auto;
    }

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 16px 18px;
    font-size: 1rem;
    border-radius: 8px;
    border: 1px solid rgba(0,0,0,0.15);
    font-family: inherit;
}

.contact-form textarea {
    min-height: 180px;
    resize: vertical;
}

    .contact-form input:focus,
    .contact-form textarea:focus {
        outline: none;
        border-color: #4f8bff;
        box-shadow: 0 0 0 2px rgba(79,139,255,0.15);
    }

/* Submit button */
.contact-submit-btn {
    width: 100%;
    padding: 14px;
    margin-top: 16px;
    border-radius: 8px;
    border: none;
    background: #4f8bff;
    color: white;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
}

    .contact-submit-btn:hover {
        background: #3b73e6;
    }

@media (max-width: 991.98px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 0 24px;
        margin-bottom: 60px;
    }
}

@media (max-width: 575.98px) {
    .form-row {
        grid-template-columns: 1fr;
        gap: 24px; /* Maintain vertical gap */
    }

    .contact-icon {
        width: 60px;
        margin-top: 0;
    }
    
    .contact-hero-content {
        padding: 80px 24px;
    }
    
    .contact-hero h1 {
        font-size: 2rem;
    }
}

/* Register Interest Form - Single Row Centering */
.contact-form-wrapper form:not(.contact-form) {
    max-width: 480px;
    margin-inline: auto;
}

