/* =========================================
   CONTACT HERO
========================================= */

.contact-hero {
    isolation: isolate;
}


/* Decorative Orbs */

.contact-orb {
    position: absolute;
    width: 16rem;
    height: 16rem;
    border: 1px solid rgba(0, 103, 214, 0.15);
    border-radius: 999px;
    pointer-events: none;
}


.contact-orb-left {
    top: 18%;
    left: -7rem;
    box-shadow:
        0 0 70px rgba(0, 103, 214, 0.08),
        inset 0 0 50px rgba(0, 103, 214, 0.04);
}


.contact-orb-right {
    right: -7rem;
    bottom: 12%;
    width: 20rem;
    height: 20rem;
    border-color: rgba(34, 211, 238, 0.12);
    box-shadow:
        0 0 80px rgba(34, 211, 238, 0.06),
        inset 0 0 50px rgba(34, 211, 238, 0.03);
}


/* Gradient Line */

.contact-line {
    width: min(100%, 32rem);
    height: 1px;
    background: linear-gradient(90deg,
            transparent,
            rgba(0, 103, 214, 0.3),
            #0067D6,
            rgba(34, 211, 238, 0.8),
            rgba(0, 103, 214, 0.3),
            transparent);
    box-shadow: 0 0 18px rgba(0, 103, 214, 0.45);
}


/* =========================================
   ENTRANCE ANIMATION
========================================= */

.contact-animate {
    opacity: 0;
    transform: translateY(28px);
    animation: contactEntrance 0.8s ease forwards;
}


.contact-label {
    animation-delay: 0.1s;
}


.contact-title {
    animation-delay: 0.2s;
}


.contact-description {
    animation-delay: 0.35s;
}


.contact-line {
    animation-delay: 0.5s;
}


.contact-actions {
    animation-delay: 0.65s;
}


.contact-support {
    animation-delay: 0.8s;
}


@keyframes contactEntrance {

    from {
        opacity: 0;
        transform: translateY(28px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }

}


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

@media (max-width: 639px) {

    .contact-hero {
        min-height: auto;
    }


    .contact-orb-left {
        left: -10rem;
        top: 10%;
    }


    .contact-orb-right {
        right: -12rem;
        bottom: 5%;
    }

}


@media (max-width: 480px) {

    .contact-title {
        font-size: 2.35rem;
    }


    .contact-description {
        line-height: 1.75rem;
    }

}


/* =========================================
   CONTACT INFORMATION SECTION
========================================= */

.contact-info-card {
    position: relative;
    display: flex;
    min-height: 100%;
    flex-direction: column;
    overflow: hidden;
    padding: 1.5rem;
    border: 1px solid rgba(51, 65, 85, 0.7);
    border-radius: 1.25rem;
    background: linear-gradient(145deg,
            rgba(15, 23, 42, 0.88),
            rgba(2, 6, 23, 0.75));
    text-decoration: none;
    transition:
        transform 0.35s ease,
        border-color 0.35s ease,
        box-shadow 0.35s ease,
        background 0.35s ease;
}


.contact-info-card:hover {
    transform: translateY(-7px);
    border-color: rgba(0, 103, 214, 0.7);
    background: linear-gradient(145deg,
            rgba(15, 23, 42, 0.95),
            rgba(0, 103, 214, 0.08));
    box-shadow:
        0 20px 50px rgba(0, 0, 0, 0.2),
        0 0 35px rgba(0, 103, 214, 0.1);
}


/* Large Icon */

.contact-info-icon {
    display: flex;
    width: 4rem;
    height: 4rem;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.4rem;
    border: 1px solid rgba(0, 103, 214, 0.3);
    border-radius: 1.1rem;
    background: linear-gradient(135deg,
            rgba(0, 103, 214, 0.25),
            rgba(34, 211, 238, 0.08));
    color: #38bdf8;
    box-shadow: inset 0 0 25px rgba(0, 103, 214, 0.08);
}


.contact-info-icon svg {
    width: 1.75rem;
    height: 1.75rem;
}


.contact-info-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: #ffffff;
}


.contact-address {
    margin-top: 1rem;
    color: #94a3b8;
    font-size: 0.85rem;
    line-height: 1.8;
}


.contact-main-text {
    margin-top: 1rem;
    color: #ffffff;
    font-size: 1rem;
    font-weight: 600;
    transition: color 0.3s ease;
}


.contact-info-card:hover .contact-main-text {
    color: #38bdf8;
}


.contact-email {
    overflow-wrap: anywhere;
    font-size: 0.9rem;
}


.contact-sub-text {
    margin-top: 0.8rem;
    color: #64748b;
    font-size: 0.82rem;
    line-height: 1.65;
}


/* Card Footer */

.contact-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-top: auto;
    padding-top: 1.25rem;
    color: #64748b;
    font-size: 0.78rem;
    font-weight: 500;
}


.contact-card-footer svg {
    width: 1rem;
    height: 1rem;
    transition: transform 0.3s ease;
}


.contact-info-card:hover .contact-card-footer {
    color: #38bdf8;
}


.contact-info-card:hover .contact-card-footer svg {
    transform: translate(3px, -3px);
}


/* Business Hours */

.business-hours {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    margin-top: 1rem;
}


.business-hours div {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}


.business-hours span {
    color: #64748b;
    font-size: 0.8rem;
}


.business-hours strong {
    color: #e2e8f0;
    font-size: 0.9rem;
    font-weight: 600;
}


/* =========================================
   SECTION GRADIENT LINE
========================================= */

.contact-section-line {
    width: min(100%, 48rem);
    height: 1px;
    background: linear-gradient(90deg,
            transparent,
            rgba(0, 103, 214, 0.25),
            #0067D6,
            rgba(34, 211, 238, 0.7),
            rgba(0, 103, 214, 0.25),
            transparent);
    box-shadow: 0 0 18px rgba(0, 103, 214, 0.3);
}


/* =========================================
   QUICK CONNECT
========================================= */

.quick-connect-card {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 1.1rem;
    min-height: 100%;
    padding: 1.5rem;
    border: 1px solid rgba(51, 65, 85, 0.7);
    border-radius: 1.25rem;
    background: rgba(15, 23, 42, 0.55);
    text-decoration: none;
    transition:
        transform 0.35s ease,
        border-color 0.35s ease,
        background 0.35s ease,
        box-shadow 0.35s ease;
}


.quick-connect-card:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 103, 214, 0.75);
    background: rgba(0, 103, 214, 0.06);
    box-shadow: 0 0 30px rgba(0, 103, 214, 0.08);
}


.quick-connect-icon {
    display: flex;
    flex-shrink: 0;
    width: 3.25rem;
    height: 3.25rem;
    align-items: center;
    justify-content: center;
    border-radius: 0.9rem;
    background: rgba(0, 103, 214, 0.12);
    color: #38bdf8;
}

.quick-connect-icon i {
    font-size: 1.4rem;
}


.quick-connect-icon svg {
    width: 1.4rem;
    height: 1.4rem;
}


.quick-connect-card h3 {
    color: #ffffff;
    font-size: 1rem;
    font-weight: 700;
}


.quick-connect-card p {
    margin-top: 0.55rem;
    color: #64748b;
    font-size: 0.82rem;
    line-height: 1.65;
}


.quick-connect-arrow {
    position: absolute;
    top: 1.4rem;
    right: 1.4rem;
    width: 1rem;
    height: 1rem;
    color: #475569;
    transition:
        color 0.3s ease,
        transform 0.3s ease;
}


.quick-connect-card:hover .quick-connect-arrow {
    color: #38bdf8;
    transform: translate(3px, -3px);
}


/* =========================================
   SCROLL ANIMATION
========================================= */

.scroll-animate {
    opacity: 0;
    transform: translateY(35px);
    transition:
        opacity 0.75s ease,
        transform 0.75s ease;
}


.scroll-animate.show {
    opacity: 1;
    transform: translateY(0);
}


/* Staggered Card Delays */

.contact-card-delay-1 {
    transition-delay: 0.05s;
}


.contact-card-delay-2 {
    transition-delay: 0.12s;
}


.contact-card-delay-3 {
    transition-delay: 0.19s;
}


.contact-card-delay-4 {
    transition-delay: 0.26s;
}


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

@media (max-width: 639px) {

    .contact-info-card {
        padding: 1.25rem;
        border-radius: 1rem;
    }


    .quick-connect-card {
        padding: 1.25rem;
        border-radius: 1rem;
    }


    .contact-info-icon {
        width: 3.5rem;
        height: 3.5rem;
    }


    .contact-info-icon svg {
        width: 1.5rem;
        height: 1.5rem;
    }


    .quick-connect-icon {
        width: 3rem;
        height: 3rem;
    }

}