/* Contact page styles: built on the shared Voucher Infinity theme tokens. */
.contact-page {
    background: #fbfbfd;
}

.contact-page .navbar {
    box-shadow: 0 1px 0 rgba(12, 43, 75, .08);
}

.contact-hero {
    position: relative;
    isolation: isolate;
    padding: 166px 0 86px;
    overflow: hidden;
    color: #fff;
    background: linear-gradient(118deg, var(--secondary-color) 0%, #754582 52%, var(--primary-color) 100%);
}

.contact-hero::before,
.contact-hero::after {
    content: "";
    position: absolute;
    z-index: -1;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, .16);
}

.contact-hero::before {
    width: 390px;
    height: 390px;
    top: -230px;
    left: -110px;
    box-shadow: 0 0 0 65px rgba(255, 255, 255, .04), 0 0 0 130px rgba(255, 255, 255, .025);
}

.contact-hero::after {
    width: 350px;
    height: 350px;
    right: -135px;
    bottom: -250px;
    background: rgba(255, 255, 255, .07);
}

.contact-eyebrow,
.section-label {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    font-weight: 700;
    font-size: .78rem;
    text-transform: uppercase;
    letter-spacing: .09em;
}

.contact-eyebrow {
    padding: 9px 14px;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, .25);
    border-radius: 999px;
    background: rgba(255, 255, 255, .1);
}

.contact-hero h1 {
    margin: 18px 0 14px;
    color: #fff;
    font-size: clamp(2.25rem, 5vw, 4.1rem);
    line-height: 1.14;
    letter-spacing: -.04em;
}

.contact-hero p {
    max-width: 660px;
    margin: 0 auto;
    color: rgba(255, 255, 255, .88);
    font-size: 1.09rem;
    line-height: 1.75;
}

.contact-main-section {
    padding: 84px 0;
    background: #fbfbfd;
}

.section-label {
    color: var(--primary-color);
    margin-bottom: 13px;
}

.contact-intro h2,
.form-card-heading h2 {
    margin-bottom: 14px;
    font-size: clamp(1.8rem, 3vw, 2.45rem);
    line-height: 1.25;
    letter-spacing: -.03em;
}

.contact-intro p {
    max-width: 460px;
    color: #5f6977;
    line-height: 1.75;
}

.contact-methods {
    display: grid;
    gap: 12px;
    margin-top: 30px;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px;
    color: var(--dark-color);
    background: #fff;
    border: 1px solid #e7eaf0;
    border-radius: 14px;
    box-shadow: 0 6px 16px rgba(12, 43, 75, .035);
}

.contact-method:hover {
    color: var(--dark-color);
    border-color: rgba(162, 130, 238, .55);
    transform: translateY(-2px);
    box-shadow: 0 12px 25px rgba(12, 43, 75, .08);
}

.contact-method-icon {
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    display: grid;
    place-items: center;
    color: var(--secondary-color);
    background: var(--light-primary-color);
    border-radius: 12px;
}

.contact-method small,
.contact-method strong {
    display: block;
}

.contact-method small {
    margin-bottom: 3px;
    color: #7b8490;
    font-size: .75rem;
    font-weight: 600;
}

.contact-method strong {
    font-size: .95rem;
    font-weight: 700;
}

.contact-method-arrow {
    margin-left: auto;
    color: var(--primary-color);
    font-size: .8rem;
}

.support-note {
    display: flex;
    gap: 12px;
    margin-top: 24px;
    padding: 16px;
    color: #657080;
    background: #f3f0fc;
    border-radius: 12px;
}

.support-note i {
    margin-top: 4px;
    color: var(--primary-color);
}

.support-note p {
    margin: 0;
    font-size: .88rem;
    line-height: 1.6;
}

.support-note strong {
    color: var(--dark-color);
}

.contact-form-card {
    padding: clamp(24px, 5vw, 42px);
    background: #fff;
    border: 1px solid #e9ebf0;
    border-radius: 20px;
    box-shadow: 0 20px 48px rgba(12, 43, 75, .09);
}

.form-card-heading {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 28px;
}

.form-card-heading h2 {
    margin: 0;
    font-size: 1.65rem;
}

.form-card-heading p {
    margin: 4px 0 0;
    color: #7b8490;
    font-size: .85rem;
}

.form-card-heading p span,
.form-label span {
    color: #c44a64;
}

.form-step {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    flex: 0 0 36px;
    color: #fff;
    background: var(--primary-gradient);
    border-radius: 10px;
    font-size: .78rem;
    font-weight: 800;
}

.contact-form-card .form-label {
    margin-bottom: 7px;
    color: var(--dark-color);
    font-size: .84rem;
    font-weight: 700;
}

.contact-form-card .form-control,
.contact-form-card .form-select {
    min-height: 50px;
    padding: 12px 14px;
    color: var(--dark-color);
    border: 1px solid #dfe4ec;
    border-radius: 10px;
    box-shadow: none;
    font-size: .93rem;
}

.contact-form-card textarea.form-control {
    min-height: 130px;
    resize: vertical;
}

.contact-form-card .form-control::placeholder {
    color: #9aa3ad;
}

.contact-form-card .form-control:focus,
.contact-form-card .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(162, 130, 238, .16);
}

.contact-submit {
    width: 100%;
    padding: 15px 22px;
    color: #fff;
    border: 0;
    border-radius: 10px;
    background: var(--gradient-btn);
    box-shadow: 0 9px 20px rgba(92, 54, 104, .22);
    font-weight: 700;
}

.contact-submit i {
    margin-left: 9px;
    transition: transform .25s ease;
}

.contact-submit:hover {
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 13px 26px rgba(92, 54, 104, .3);
}

.contact-submit:hover i {
    transform: translateX(3px);
}

.contact-reassurance {
    padding: 26px 0;
    background: #f1edf8;
    border-top: 1px solid rgba(92, 54, 104, .08);
}

.contact-reassurance .col-md-4 {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    color: #687281;
    font-size: .82rem;
}

.contact-reassurance i {
    color: var(--primary-color);
}

.contact-reassurance strong {
    color: var(--dark-color);
}

.contact-reassurance span {
    display: block;
}

@media (max-width: 991.98px) {
    .contact-hero {
        padding: 138px 0 70px;
    }

    .contact-main-section {
        padding: 64px 0;
    }
}

@media (max-width: 575.98px) {
    .contact-hero {
        padding: 126px 0 58px;
    }

    .contact-hero p {
        font-size: 1rem;
    }

    .contact-main-section {
        padding: 48px 0;
    }

    .contact-method strong {
        font-size: .84rem;
    }

    .contact-reassurance .col-md-4 {
        justify-content: flex-start;
        text-align: left;
        padding-left: 18px;
        padding-right: 18px;
    }

    .contact-reassurance span {
        display: none;
    }
}