﻿/* ================================================================
   EDULYNK WEBSITE
   CONTACT / DEMONSTRATION
   ================================================================ */


/* ================================================================
   HERO
   ================================================================ */

.contact-hero {
    position: relative;
    overflow: hidden;
    padding: 95px 0 125px;
    text-align: center;
    background: linear-gradient( 180deg, #ffffff 0%, #fbfcff 75%, #f8faff 100% );
}

.contact-glow {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.contact-glow-one {
    top: -400px;
    left: 50%;
    width: 1000px;
    height: 720px;
    transform: translateX(-50%);
    background: radial-gradient( circle, rgba(55, 103, 240, 0.13), rgba(55, 103, 240, 0) 68% );
}

.contact-glow-two {
    right: -250px;
    bottom: -400px;
    width: 650px;
    height: 650px;
    background: radial-gradient( circle, rgba(19, 184, 166, 0.07), rgba(19, 184, 166, 0) 70% );
}

.contact-hero-content {
    position: relative;
    z-index: 3;
    max-width: 900px;
    margin: auto;
}

.contact-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 24px;
    padding: 7px 14px 7px 8px;
    color: #3559c8;
    background: #f1f4ff;
    border: 1px solid #e0e7ff;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 650;
}

.contact-eyebrow-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    color: #ffffff;
    background: var(--edulynk-primary);
    border-radius: 50%;
}

.contact-hero h1 {
    margin: 0 0 25px;
    color: var(--edulynk-dark);
    font-size: clamp(58px, 6vw, 84px);
    font-weight: 780;
    line-height: 1;
    letter-spacing: -4.5px;
}

    .contact-hero h1 span {
        color: var(--edulynk-primary);
    }

.contact-hero p {
    max-width: 720px;
    margin: auto;
    color: var(--edulynk-muted);
    font-size: 18px;
    line-height: 1.75;
}


/* ================================================================
   MAIN
   ================================================================ */

.contact-main {
    position: relative;
    z-index: 5;
    margin-top: -50px;
    padding-bottom: 120px;
    background: #ffffff;
}


/* ================================================================
   SUCCESS
   ================================================================ */

.contact-success {
    display: flex;
    align-items: center;
    gap: 15px;
    max-width: 1100px;
    margin: 0 auto 25px;
    padding: 18px 22px;
    color: #226f65;
    background: #effbf8;
    border: 1px solid #cceee6;
    border-radius: 15px;
}

.contact-success-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 42px;
    height: 42px;
    color: #ffffff;
    background: #13a892;
    border-radius: 50%;
}

.contact-success strong {
    display: block;
    margin-bottom: 2px;
    font-size: 14px;
}

.contact-success p {
    margin: 0;
    font-size: 12px;
}


/* ================================================================
   PANEL
   ================================================================ */

.contact-panel {
    display: grid;
    grid-template-columns: 0.82fr 1.18fr;
    max-width: 1180px;
    margin: auto;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid #e3e8ef;
    border-radius: 29px;
    box-shadow: 0 35px 85px rgba(24, 39, 78, 0.13);
}


/* ================================================================
   LEFT INFORMATION
   ================================================================ */

.contact-info {
    position: relative;
    padding: 55px;
    color: #ffffff;
    background: linear-gradient( 145deg, #142448 0%, #1e3970 55%, #2852a8 100% );
}

    .contact-info::before {
        content: "";
        position: absolute;
        top: -190px;
        right: -180px;
        width: 500px;
        height: 500px;
        background: radial-gradient( circle, rgba(102, 143, 255, 0.32), rgba(102, 143, 255, 0) 70% );
        border-radius: 50%;
    }

.contact-info-inner {
    position: relative;
    z-index: 2;
}

.contact-mini-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 51px;
    height: 51px;
    margin-bottom: 27px;
    color: #ffffff;
    background: var(--edulynk-primary);
    border-radius: 15px;
    box-shadow: 0 15px 32px rgba(14, 35, 90, 0.30);
    font-size: 21px;
}

.contact-info-kicker {
    display: block;
    margin-bottom: 8px;
    color: #9fb7ff;
    font-size: 11px;
    font-weight: 700;
}

.contact-info h2 {
    max-width: 440px;
    margin-bottom: 19px;
    color: #ffffff;
    font-size: 35px;
    font-weight: 740;
    line-height: 1.13;
    letter-spacing: -1.5px;
}

.contact-info-description {
    max-width: 440px;
    margin-bottom: 36px;
    color: rgba(255, 255, 255, 0.69);
    font-size: 14px;
    line-height: 1.75;
}


/* ================================================================
   BENEFITS
   ================================================================ */

.contact-benefits {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.contact-benefit {
    display: flex;
    gap: 13px;
}

    .contact-benefit > span {
        display: flex;
        align-items: center;
        justify-content: center;
        flex: 0 0 auto;
        width: 38px;
        height: 38px;
        color: #a9bfff;
        background: rgba(255, 255, 255, 0.08);
        border: 1px solid rgba(255, 255, 255, 0.10);
        border-radius: 11px;
    }

    .contact-benefit strong {
        display: block;
        margin-bottom: 3px;
        color: #ffffff;
        font-size: 12px;
    }

    .contact-benefit p {
        max-width: 350px;
        margin: 0;
        color: rgba(255, 255, 255, 0.57);
        font-size: 10px;
        line-height: 1.55;
    }


/* ================================================================
   INFO FOOTER
   ================================================================ */

.contact-info-footer {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 55px;
    padding-top: 25px;
    border-top: 1px solid rgba(255, 255, 255, 0.11);
}

.contact-info-footer-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.09);
    border-radius: 10px;
}

.contact-info-footer small,
.contact-info-footer strong {
    display: block;
}

.contact-info-footer small {
    color: #9fb7ff;
    font-size: 8px;
}

.contact-info-footer strong {
    max-width: 280px;
    color: #ffffff;
    font-size: 10px;
}


/* ================================================================
   FORM SIDE
   ================================================================ */

.contact-form-side {
    padding: 55px 60px;
    background: #ffffff;
}

.contact-form-heading {
    margin-bottom: 34px;
}

    .contact-form-heading > span {
        display: block;
        margin-bottom: 5px;
        color: var(--edulynk-primary);
        font-size: 11px;
        font-weight: 700;
    }

    .contact-form-heading h2 {
        margin-bottom: 8px;
        color: var(--edulynk-dark);
        font-size: 31px;
        font-weight: 740;
        letter-spacing: -1.1px;
    }

    .contact-form-heading p {
        margin: 0;
        color: var(--edulynk-muted);
        font-size: 13px;
    }


/* ================================================================
   FORM
   ================================================================ */

.contact-form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 17px;
    margin-bottom: 17px;
}

.contact-field label {
    display: block;
    margin-bottom: 7px;
    color: #344054;
    font-size: 11px;
    font-weight: 650;
}

    .contact-field label span {
        color: #ef6d67;
    }

.contact-input-wrap {
    position: relative;
}

    .contact-input-wrap > i {
        position: absolute;
        top: 50%;
        left: 14px;
        z-index: 2;
        color: #98a2b3;
        font-size: 13px;
        transform: translateY(-50%);
    }

.contact-input {
    width: 100%;
    min-height: 48px;
    padding: 0 14px 0 40px;
    color: #344054;
    background: #ffffff;
    border: 1px solid #dfe4eb;
    border-radius: 11px;
    outline: none;
    font-size: 12px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

    .contact-input::placeholder {
        color: #a3abb7;
    }

    .contact-input:focus {
        border-color: #8da8f8;
        box-shadow: 0 0 0 4px rgba(55, 103, 240, 0.08);
    }

.contact-select {
    appearance: auto;
    cursor: pointer;
}

.contact-field-full {
    margin-top: 2px;
    margin-bottom: 18px;
}

.contact-textarea-wrap {
    position: relative;
}

.contact-textarea {
    min-height: 135px;
    padding: 14px;
    resize: vertical;
    line-height: 1.6;
}


/* ================================================================
   ERRORS
   ================================================================ */

.contact-field-error {
    display: block;
    min-height: 14px;
    margin-top: 4px;
    color: #d85656;
    font-size: 9px;
}

.contact-validation-summary {
    margin-bottom: 18px;
    color: #c84e4e;
    font-size: 10px;
}

    .contact-validation-summary ul {
        margin: 0;
        padding-left: 17px;
    }


/* ================================================================
   CONSENT
   ================================================================ */

.contact-consent {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    margin-top: 3px;
}

.contact-checkbox {
    flex: 0 0 auto;
    width: 16px;
    height: 16px;
    margin-top: 2px;
    accent-color: var(--edulynk-primary);
}

.contact-consent label {
    margin: 0;
    color: #667085;
    font-size: 10px;
    line-height: 1.55;
}

.contact-consent-error {
    margin-left: 25px;
}


/* ================================================================
   SUBMIT
   ================================================================ */

.contact-submit {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    width: 100%;
    min-height: 53px;
    margin-top: 19px;
    color: #ffffff;
    background: linear-gradient( 135deg, var(--edulynk-primary), #4b78f4 );
    border: 0;
    border-radius: 12px;
    box-shadow: 0 12px 26px rgba(55, 103, 240, 0.21);
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

    .contact-submit:hover {
        transform: translateY(-2px);
        box-shadow: 0 16px 35px rgba(55, 103, 240, 0.28);
    }

.contact-form-security {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: 13px;
    color: #98a2b3;
    font-size: 9px;
}

    .contact-form-security i {
        color: #6f7c90;
    }


/* ================================================================
   HELP
   ================================================================ */

.contact-help {
    padding: 110px 0;
    background: #f8fafc;
}

.contact-help-heading {
    max-width: 800px;
    margin-bottom: 48px;
}

.contact-help-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 17px;
}

.contact-help-card {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 14px;
    padding: 24px;
    background: #ffffff;
    border: 1px solid #e6eaf0;
    border-radius: 17px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

    .contact-help-card:hover {
        transform: translateY(-3px);
        box-shadow: 0 15px 35px rgba(16, 24, 40, 0.07);
    }

    .contact-help-card > span {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 46px;
        height: 46px;
        border-radius: 13px;
        font-size: 17px;
    }

        .contact-help-card > span.blue {
            color: var(--edulynk-primary);
            background: var(--edulynk-primary-light);
        }

        .contact-help-card > span.green {
            color: #079b89;
            background: #eaf9f6;
        }

        .contact-help-card > span.purple {
            color: #925bc8;
            background: #f5eefc;
        }

    .contact-help-card small,
    .contact-help-card strong,
    .contact-help-card p {
        display: block;
    }

    .contact-help-card small {
        color: #98a2b3;
        font-size: 8px;
    }

    .contact-help-card strong {
        color: #344054;
        font-size: 12px;
    }

    .contact-help-card p {
        margin: 3px 0 0;
        color: #667085;
        font-size: 9px;
    }

    .contact-help-card > i {
        color: var(--edulynk-primary);
    }


/* ================================================================
   RESPONSIVE
   ================================================================ */

@media (max-width: 1199.98px) {

    .contact-info {
        padding: 45px;
    }

    .contact-form-side {
        padding: 50px 45px;
    }
}


@media (max-width: 991.98px) {

    .contact-hero {
        padding: 80px 0 110px;
    }

        .contact-hero h1 {
            font-size: 65px;
        }

    .contact-panel {
        grid-template-columns: 1fr;
    }

    .contact-info {
        padding: 50px;
    }

    .contact-info-description {
        max-width: 650px;
    }

    .contact-benefits {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-form-side {
        padding: 50px;
    }

    .contact-help-grid {
        grid-template-columns: 1fr;
    }
}


@media (max-width: 767.98px) {

    .contact-hero {
        padding: 60px 0 95px;
    }

        .contact-hero h1 {
            font-size: clamp(46px, 12vw, 60px);
            letter-spacing: -3px;
        }

        .contact-hero p {
            font-size: 16px;
        }

    .contact-main {
        margin-top: -35px;
        padding-bottom: 80px;
    }

    .contact-panel {
        border-radius: 22px;
    }

    .contact-info {
        padding: 38px 28px;
    }

        .contact-info h2 {
            font-size: 31px;
        }

    .contact-form-side {
        padding: 38px 28px;
    }

    .contact-form-grid {
        grid-template-columns: 1fr;
    }

    .contact-benefits {
        grid-template-columns: 1fr;
    }

    .contact-help {
        padding: 80px 0;
    }
}


@media (max-width: 575.98px) {

    .contact-hero {
        padding-top: 50px;
    }

        .contact-hero h1 {
            font-size: clamp(42px, 12vw, 52px);
            letter-spacing: -2.5px;
        }

    .contact-main {
        margin-top: -25px;
    }

    .contact-info {
        padding: 32px 22px;
    }

    .contact-form-side {
        padding: 32px 20px;
    }

    .contact-form-heading h2 {
        font-size: 27px;
    }

    .contact-help-card {
        padding: 18px;
    }
}


@media (max-width: 420px) {

    .contact-hero h1 {
        font-size: 42px;
        letter-spacing: -2px;
    }

    .contact-eyebrow {
        font-size: 11px;
    }
}
