﻿/* =========================================================
   ECC WEBSITE 2.0.3
   Contact & Consultation Experience
   ========================================================= */

.ecc-contact-hero {
    position: relative;
    overflow: hidden;
    padding: 10.5rem 0 6.5rem;
    background: radial-gradient(circle at 10% 85%, rgba(58, 190, 255, .12), transparent 32%), radial-gradient(circle at 90% 20%, rgba(101, 87, 255, .13), transparent 35%);
}

    .ecc-contact-hero::after {
        content: "";
        position: absolute;
        width: 420px;
        height: 420px;
        right: -180px;
        top: 80px;
        border-radius: 50%;
        background: rgba(101, 87, 255, .08);
        filter: blur(80px);
        pointer-events: none;
    }

.ecc-contact-eyebrow,
.ecc-section-kicker {
    display: inline-block;
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .14em;
    color: #6366f1;
}

.ecc-contact-points {
    margin-top: 2.25rem;
}

.ecc-contact-point {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.35rem;
}

.ecc-contact-point-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 34px;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(99, 102, 241, .1);
    font-size: 1.25rem;
    color: #6366f1;
}

.ecc-contact-point strong {
    display: block;
    margin-bottom: .15rem;
}

.ecc-contact-point span {
    display: block;
    color: var(--si-gray-600, #6b7280);
    font-size: .94rem;
}

.ecc-contact-summary-card {
    position: relative;
    z-index: 1;
    padding: 2.25rem;
    border: 1px solid rgba(130, 130, 160, .18);
    border-radius: 1.5rem;
    background: rgba(255, 255, 255, .82);
    box-shadow: 0 30px 80px rgba(24, 31, 70, .1);
    backdrop-filter: blur(18px);
}

.ecc-contact-card-label {
    display: block;
    margin-bottom: .55rem;
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .08em;
    color: #8a8da0;
}

.ecc-contact-summary-card h2 {
    margin-bottom: .8rem;
    font-weight: 700;
}

.ecc-contact-summary-card > p {
    margin-bottom: 1.75rem;
    color: #777b8e;
}

.ecc-contact-capability {
    display: flex;
    align-items: center;
    gap: .85rem;
    margin-top: .75rem;
    padding: .95rem 1rem;
    border-radius: .85rem;
    background: rgba(99, 102, 241, .055);
}

    .ecc-contact-capability i {
        font-size: 1.25rem;
        color: #6366f1;
    }

.ecc-contact-section {
    padding: 7rem 0;
    background: #fff;
}

.ecc-contact-info-card {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.25rem 0;
    border-top: 1px solid rgba(130, 130, 160, .15);
}

.ecc-contact-info-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    border-radius: .8rem;
    background: rgba(99, 102, 241, .09);
    color: #6366f1;
    font-size: 1.35rem;
}

.ecc-contact-info-card span {
    display: block;
    margin-bottom: .15rem;
    color: #8a8da0;
    font-size: .8rem;
}

.ecc-contact-info-card a,
.ecc-contact-info-card strong {
    color: inherit;
    font-size: .93rem;
}

.ecc-consultation-card {
    padding: 2.5rem;
    border: 1px solid rgba(130, 130, 160, .16);
    border-radius: 1.4rem;
    background: #fff;
    box-shadow: 0 24px 70px rgba(24, 31, 70, .08);
}

    .ecc-consultation-card .form-label {
        margin-bottom: .45rem;
        font-weight: 600;
    }

    .ecc-consultation-card .form-control,
    .ecc-consultation-card .form-select {
        border-color: rgba(130, 130, 160, .25);
        border-radius: .75rem;
    }

        .ecc-consultation-card .form-control:focus,
        .ecc-consultation-card .form-select:focus {
            border-color: rgba(99, 102, 241, .65);
            box-shadow: 0 0 0 .2rem rgba(99, 102, 241, .1);
        }

.ecc-contact-submit {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    margin-top: .5rem;
}

    .ecc-contact-submit > span {
        max-width: 270px;
        color: #9295a5;
        font-size: .75rem;
        line-height: 1.5;
    }

.ecc-contact-final {
    padding: 2rem 0 6rem;
}

.ecc-contact-final-inner {
    padding: 4.5rem 2rem;
    border-radius: 1.6rem;
    text-align: center;
    color: #fff;
    background: radial-gradient(circle at 20% 20%, rgba(55, 190, 255, .28), transparent 35%), linear-gradient(135deg, #141c3d, #302b78 55%, #4352b9);
}

    .ecc-contact-final-inner > span {
        display: block;
        margin-bottom: .75rem;
        font-size: .7rem;
        font-weight: 700;
        letter-spacing: .13em;
        opacity: .7;
    }

    .ecc-contact-final-inner h2 {
        max-width: 760px;
        margin: 0 auto 1rem;
        color: #fff;
    }

    .ecc-contact-final-inner p {
        max-width: 620px;
        margin: 0 auto 2rem;
        color: rgba(255, 255, 255, .72);
    }


/* Dark mode */
[data-bs-theme="dark"] .ecc-contact-section {
    background: var(--si-body-bg);
}

[data-bs-theme="dark"] .ecc-contact-summary-card,
[data-bs-theme="dark"] .ecc-consultation-card {
    background: rgba(25, 28, 45, .92);
}


/* Responsive */
@media (max-width: 991.98px) {

    .ecc-contact-hero {
        padding-top: 8.5rem;
    }

    .ecc-contact-section {
        padding: 5rem 0;
    }
}

@media (max-width: 575.98px) {

    .ecc-contact-hero {
        padding: 7.5rem 0 4rem;
    }

    .ecc-consultation-card {
        padding: 1.35rem;
    }

    .ecc-contact-submit {
        align-items: stretch;
        flex-direction: column;
    }

        .ecc-contact-submit .btn {
            width: 100%;
        }

        .ecc-contact-submit > span {
            max-width: none;
            text-align: center;
        }

    .ecc-contact-final-inner {
        padding: 3rem 1.25rem;
    }

    .ecc-contact-success {
        display: flex;
        align-items: flex-start;
        gap: 1rem;
        margin-bottom: 1.75rem;
        padding: 1rem 1.15rem;
        border: 1px solid rgba(34, 197, 94, .22);
        border-radius: .9rem;
        background: rgba(34, 197, 94, .07);
    }

    .ecc-contact-success-icon {
        display: flex;
        align-items: center;
        justify-content: center;
        flex: 0 0 36px;
        width: 36px;
        height: 36px;
        border-radius: 50%;
        background: rgba(34, 197, 94, .14);
        color: #16a34a;
        font-size: 1.25rem;
    }

    .ecc-contact-success strong {
        display: block;
        margin-bottom: .15rem;
    }

    .ecc-contact-success span {
        display: block;
        color: #5f6574;
        font-size: .9rem;
    }
}
