/* =========================================================
   CONTACT PAGE
   ========================================================= */

.contact-hero {
    position: relative;
    padding: 70px 0 75px;
    background: linear-gradient(135deg, #094191 0%, #073474 100%);
    color: #fff;
    overflow: hidden;
}

.contact-hero::after {
    content: "";
    position: absolute;
    width: 420px;
    height: 420px;
    right: -190px;
    top: -260px;
    border: 1px solid rgba(255,255,255,0.10);
    border-radius: 50%;
}

.contact-hero .container {
    position: relative;
    z-index: 1;
    max-width: 1100px;
}

.contact-eyebrow {
    display: inline-block;
    margin-bottom: 14px;
    color: #f9a925;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.5px;
}

.contact-hero h1 {
    max-width: 750px;
    margin: 0 0 18px;
    color: #fff !important;
    font-size: clamp(40px, 5vw, 58px);
    line-height: 1.1;
    letter-spacing: -1px;
}

.contact-hero h1 span {
    display: block;
    color: #f9a925 !important;
}

.contact-hero p {
    max-width: 680px;
    margin: 0;
    color: rgba(255,255,255,0.86);
    font-size: 17px;
    line-height: 1.7;
}


/* =========================================================
   CONTACT MAIN
   ========================================================= */

.contact-section {
    padding: 80px 0;
    background: #f8fafc;
}

.contact-layout {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 70px;
    align-items: start;
}


/* Contact information */

.contact-info {
    padding-top: 12px;
}

.contact-info .section-eyebrow {
    color: #094191;
}

.contact-info h2 {
    margin: 0 0 14px;
    color: #111827;
    font-size: 36px;
    line-height: 1.2;
}

.contact-intro {
    max-width: 480px;
    margin: 0;
    color: #6b7280;
    font-size: 15px;
    line-height: 1.8;
}


.contact-options {
    display: grid;
    gap: 15px;
    margin-top: 32px;
}

.contact-option {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 17px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 9px;
}

.contact-option-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    border-radius: 8px;
    background: #094191;
    color: #fff;
    font-size: 17px;
}

.contact-option span {
    display: block;
    margin-bottom: 4px;
    color: #6b7280;
    font-size: 12px;
}

.contact-option a,
.contact-option strong {
    color: #111827;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
}

.contact-option a:hover {
    color: #094191;
}


.contact-note {
    margin-top: 25px;
    padding: 20px;
    border-left: 3px solid #f9a925;
    background: #fff;
}

.contact-note strong {
    display: block;
    margin-bottom: 6px;
    color: #111827;
    font-size: 14px;
}

.contact-note p {
    margin: 0;
    color: #6b7280;
    font-size: 13px;
    line-height: 1.6;
}


/* =========================================================
   CONTACT FORM
   ========================================================= */

.contact-form-card {
    padding: 35px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.06);
}

.contact-form-heading {
    margin-bottom: 25px;
}

.contact-form-heading h2 {
    margin: 0 0 7px;
    color: #111827;
    font-size: 25px;
}

.contact-form-heading p {
    margin: 0;
    color: #6b7280;
    font-size: 14px;
}


.contact-form {
    display: grid;
    gap: 18px;
}

.contact-form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.contact-form-group {
    display: flex;
    flex-direction: column;
}

.contact-form-group label {
    margin-bottom: 7px;
    color: #374151;
    font-size: 13px;
    font-weight: 600;
}

.contact-form-group label span {
    color: #d62828;
}

.contact-form-group input,
.contact-form-group select,
.contact-form-group textarea {
    width: 100%;
    box-sizing: border-box;
    padding: 11px 13px;
    border: 1px solid #d9dee7;
    border-radius: 6px;
    background: #fff;
    color: #111827;
    font-family: inherit;
    font-size: 14px;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-form-group input,
.contact-form-group select {
    min-height: 44px;
}

.contact-form-group textarea {
    min-height: 125px;
    resize: vertical;
}

.contact-form-group input::placeholder,
.contact-form-group textarea::placeholder {
    color: #9ca3af;
}

.contact-form-group input:focus,
.contact-form-group select:focus,
.contact-form-group textarea:focus {
    border-color: #094191;
    box-shadow: 0 0 0 3px rgba(9,65,145,0.08);
}


/* Submit */

.contact-submit-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 48px;
    margin-top: 3px;
    padding: 12px 22px;
    border: 0;
    border-radius: 7px;
    background: #f9a925;
    color: #111827;
    font-family: inherit;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.25s ease, transform 0.25s ease;
}

.contact-submit-btn span {
    font-size: 18px;
}

.contact-submit-btn:hover {
    background: #ffb83d;
    transform: translateY(-1px);
}

.contact-form-note {
    margin: -5px 0 0;
    color: #9ca3af;
    font-size: 11px;
    text-align: center;
}


/* Alerts */

.contact-alert {
    margin-bottom: 20px;
    padding: 12px 14px;
    border-radius: 6px;
    font-size: 13px;
}

.contact-alert-error {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #991b1b;
}

.contact-alert-success {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    color: #166534;
}


/* =========================================================
   BOTTOM CTA
   ========================================================= */

.contact-bottom {
    padding: 65px 0;
    background: #fff;
}

.contact-bottom-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 35px;
    padding: 42px 48px;
    border-radius: 13px;
    background: #073474;
    color: #fff;
}

.contact-bottom-eyebrow {
    display: block;
    margin-bottom: 9px;
    color: #f9a925;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.4px;
}

.contact-bottom h2 {
    margin: 0 0 8px;
    color: #fff;
    font-size: 30px;
}

.contact-bottom h2 span {
    color: #f9a925;
}

.contact-bottom p {
    margin: 0;
    color: rgba(255,255,255,0.78);
    font-size: 14px;
    line-height: 1.6;
}

.contact-courses-btn {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    flex-shrink: 0;
    padding: 13px 21px;
    border-radius: 7px;
    background: #f9a925;
    color: #111827;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: background 0.25s ease;
}

.contact-courses-btn:hover {
    background: #ffb83d;
    color: #111827;
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 900px) {

    .contact-layout {
        grid-template-columns: 1fr;
        gap: 45px;
    }

    .contact-info {
        padding-top: 0;
    }

    .contact-intro {
        max-width: 650px;
    }

    .contact-bottom-content {
        padding: 35px;
    }
}


@media (max-width: 650px) {

    .contact-hero {
        padding: 60px 0;
    }

    .contact-hero h1 {
        font-size: 40px;
    }

    .contact-section {
        padding: 60px 0;
    }

    .contact-form-card {
        padding: 25px 20px;
    }

    .contact-form-row {
        grid-template-columns: 1fr;
    }

    .contact-bottom {
        padding: 55px 0;
    }

    .contact-bottom-content {
        flex-direction: column;
        align-items: flex-start;
        padding: 30px 25px;
    }

    .contact-courses-btn {
        width: 100%;
        justify-content: center;
    }
}