/* home page contact us section */
/* ========================================
   CONTACT SECTION
======================================== */

.ei-contact-section {
    position: relative;
    overflow: hidden;
    background: #f5f8fc;
}

.ei-contact-section .container {
    width: 100%;
    /* max-width: 1200px; */
    margin: 0 auto;
    padding: 0 20px;
}

/* ========================================
   CONTACT BOX
======================================== */

.ei-contact-box {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    padding: 65px 70px;
    overflow: hidden;
    background: linear-gradient(
        125deg,
        #071a35 0%,
        #0b2d56 55%,
        #104b7a 100%
    );
    box-shadow: 0 20px 50px rgba(7, 26, 53, 0.15);
    isolation: isolate;
}

/* Decorative background glow */

.ei-contact-box::before {
    content: "";
    position: absolute;
    top: -140px;
    right: 100px;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    background: rgba(54, 157, 255, 0.12);
    filter: blur(10px);
    z-index: -1;
    pointer-events: none;
}

.ei-contact-box::after {
    content: "";
    position: absolute;
    right: -80px;
    bottom: -180px;
    width: 360px;
    height: 360px;
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: 50%;
    box-shadow:
        0 0 0 35px rgba(255, 255, 255, 0.025),
        0 0 0 70px rgba(255, 255, 255, 0.02);
    z-index: -1;
    pointer-events: none;
}

/* ========================================
   CONTACT CONTENT
======================================== */

.ei-contact-content {
    position: relative;
    z-index: 2;
    flex: 1;
    max-width: 760px;
}

/* Eyebrow */

.ei-contact-section .ei-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    color: #69bdff;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    line-height: 1.5;
    text-transform: uppercase;
}

.ei-contact-section .ei-eyebrow::before {
    content: "";
    display: inline-block;
    width: 28px;
    height: 2px;
    background: #45a8ff;
    border-radius: 2px;
}

/* Heading */

.ei-contact-content h2 {
    max-width: 720px;
    margin: 0 0 22px;
    color: #ffffff;
    font-size: clamp(30px, 3.5vw, 46px);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -1.2px;
}

.ei-contact-content h2 span {
    display: block;
    margin-top: 5px;
    color: #62b9ff;
}

/* Description */

.ei-contact-content p {
    max-width: 650px;
    margin: 0;
    color: #c6d5e7;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.9;
}

/* ========================================
   CONTACT ACTIONS
======================================== */

.ei-contact-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 18px;
    margin-top: 32px;
}

/* Primary Button */

.ei-contact-section .ei-btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 54px;
    padding: 15px 25px;
    border: 1px solid #2e9bff;
    border-radius: 7px;
    background: #1688e8;
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
    text-decoration: none;
    transition:
        background 0.3s ease,
        border-color 0.3s ease,
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.ei-contact-section .ei-btn-primary i {
    font-size: 17px;
    transition: transform 0.3s ease;
}

.ei-contact-section .ei-btn-primary:hover {
    background: #ffffff;
    border-color: #ffffff;
    color: #0b2d56;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.ei-contact-section .ei-btn-primary:hover i {
    transform: translate(3px, -3px);
}

/* Secondary Button */

.ei-contact-section .ei-contact-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 54px;
    padding: 14px 20px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 7px;
    background: rgba(255, 255, 255, 0.04);
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
    text-decoration: none;
    transition:
        background 0.3s ease,
        border-color 0.3s ease,
        color 0.3s ease,
        transform 0.3s ease;
}

.ei-contact-section .ei-contact-secondary:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: #ffffff;
    color: #ffffff;
    transform: translateY(-3px);
}

/* ========================================
   CONTACT ICON
======================================== */

.ei-contact-icon {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 150px;
    width: 150px;
    height: 150px;
    margin-right: 15px;
    border: 1px solid rgba(117, 195, 255, 0.35);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.07);
    box-shadow:
        0 0 0 16px rgba(255, 255, 255, 0.025),
        0 0 40px rgba(46, 155, 255, 0.12);
    transition:
        transform 0.4s ease,
        background 0.4s ease;
}

.ei-contact-icon i {
    color: #75c5ff;
    font-size: 62px;
    line-height: 1;
    transition:
        color 0.3s ease,
        transform 0.4s ease;
}

.ei-contact-box:hover .ei-contact-icon {
    background: rgba(255, 255, 255, 0.12);
    transform: translateY(-5px);
}

.ei-contact-box:hover .ei-contact-icon i {
    color: #ffffff;
    transform: scale(1.08);
}

/* ========================================
   RESPONSIVE DESIGN
======================================== */

@media (max-width: 991px) {
    .ei-contact-section {
        padding: 70px 0;
    }

    .ei-contact-box {
        gap: 25px;
        padding: 50px 40px;
    }

    .ei-contact-content h2 {
        font-size: 36px;
    }

    .ei-contact-content p {
        font-size: 15px;
    }

    .ei-contact-icon {
        flex-basis: 110px;
        width: 110px;
        height: 110px;
        margin-right: 5px;
    }

    .ei-contact-icon i {
        font-size: 46px;
    }
}

@media (max-width: 767px) {
    .ei-contact-section {
        padding: 55px 0;
    }

    .ei-contact-section .container {
        padding: 0 16px;
    }

    .ei-contact-box {
        flex-direction: column;
        align-items: flex-start;
        gap: 32px;
        padding: 38px 28px;
        border-radius: 15px;
    }

    .ei-contact-content {
        width: 100%;
        max-width: 100%;
    }

    .ei-contact-section .ei-eyebrow {
        margin-bottom: 16px;
        font-size: 11px;
        letter-spacing: 1.5px;
    }

    .ei-contact-content h2 {
        margin-bottom: 18px;
        font-size: 32px;
        line-height: 1.25;
        letter-spacing: -0.7px;
    }

    .ei-contact-content p {
        font-size: 14px;
        line-height: 1.8;
    }

    .ei-contact-actions {
        align-items: stretch;
        flex-direction: column;
        gap: 12px;
        margin-top: 25px;
    }

    .ei-contact-section .ei-btn-primary,
    .ei-contact-section .ei-contact-secondary {
        width: 100%;
        min-height: 52px;
        padding: 14px 18px;
        text-align: center;
    }

    .ei-contact-icon {
        align-self: flex-start;
        flex: 0 0 85px;
        width: 85px;
        height: 85px;
        margin: 0 0 5px 8px;
        box-shadow: 0 0 0 10px rgba(255, 255, 255, 0.025);
    }

    .ei-contact-icon i {
        font-size: 38px;
    }

    .ei-contact-box::before {
        right: -100px;
    }
}

@media (max-width: 420px) {
    .ei-contact-box {
        padding: 32px 22px;
    }

    .ei-contact-content h2 {
        font-size: 28px;
    }

    .ei-contact-section .ei-eyebrow {
        font-size: 10px;
        letter-spacing: 1.2px;
    }
}

/* ========================================
   ACCESSIBILITY
======================================== */

.ei-contact-section a:focus-visible {
    outline: 3px solid #75c5ff;
    outline-offset: 4px;
}

@media (prefers-reduced-motion: reduce) {
    .ei-contact-section *,
    .ei-contact-section *::before,
    .ei-contact-section *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}