/**
 * Trust2 — Contact page (futuristic)
 */

body.frontend-futuristic .fe-contact-section {
    --fe-contact-card: rgba(10, 16, 28, 0.9);
    --fe-contact-border: color-mix(in srgb, var(--color-primary) 28%, rgba(255, 255, 255, 0.1));
    --fe-contact-cyan: #22d3ee;
    position: relative;
    overflow: hidden;
}

body.frontend-futuristic .fe-contact-section .linear-left,
body.frontend-futuristic .fe-contact-section .linear-right {
    display: none !important;
}

/* —— Background —— */
body.frontend-futuristic .fe-contact-section__decor {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    color: rgba(255, 255, 255, 0.06);
}

body.frontend-futuristic .fe-contact-bg__grid {
    width: 100%;
    height: 100%;
    animation: feContactGridDrift 58s linear infinite;
}

body.frontend-futuristic .fe-contact-bg__rings {
    position: absolute;
    right: -12%;
    top: 8%;
    width: min(520px, 90vw);
    height: auto;
    opacity: 0.7;
    animation: feContactRingSpin 70s linear infinite;
}

body.frontend-futuristic .fe-contact-bg__nodes {
    position: absolute;
    left: 2%;
    bottom: 12%;
    width: min(320px, 55vw);
    height: auto;
    opacity: 0.85;
}

body.frontend-futuristic .fe-contact-bg__beam {
    position: absolute;
    left: 0;
    right: 0;
    top: 42%;
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent,
        color-mix(in srgb, var(--fe-contact-cyan) 55%, transparent) 50%,
        transparent
    );
    opacity: 0.35;
    animation: feContactBeam 9s ease-in-out infinite;
}

body.frontend-futuristic .fe-contact-bg__orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(88px);
    pointer-events: none;
}

body.frontend-futuristic .fe-contact-bg__orb--1 {
    width: 400px;
    height: 400px;
    top: 0;
    left: -6%;
    background: color-mix(in srgb, var(--fe-contact-cyan) 22%, transparent);
    opacity: 0.45;
    animation: feContactOrb 18s ease-in-out infinite;
}

body.frontend-futuristic .fe-contact-bg__orb--2 {
    width: 360px;
    height: 360px;
    bottom: 0;
    right: -4%;
    background: color-mix(in srgb, var(--color-primary) 28%, transparent);
    opacity: 0.4;
    animation: feContactOrb 22s ease-in-out infinite reverse;
}

body.frontend-futuristic .fe-contact-bg__vignette {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 85% 75% at 50% 45%, transparent 35%, rgba(4, 8, 16, 0.6) 100%);
}

body.frontend-futuristic .fe-contact-section .container {
    position: relative;
    z-index: 1;
}

/* —— Page head —— */
body.frontend-futuristic .fe-contact-head {
    display: flex;
    align-items: flex-start;
    gap: 1.15rem;
    max-width: 44rem;
    margin-bottom: 2.5rem;
}

body.frontend-futuristic .fe-contact-head__icon {
    flex-shrink: 0;
    width: 4.5rem;
    height: 4.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 1.65rem;
    color: #fff;
    background: linear-gradient(135deg, var(--fe-contact-cyan), var(--color-primary));
    box-shadow: 0 10px 32px color-mix(in srgb, var(--fe-contact-cyan) 35%, transparent);
}

body.frontend-futuristic .fe-contact-title {
    font-size: clamp(1.75rem, 4vw, 2.35rem);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.03em;
    color: #fff;
    margin: 0 0 0.65rem;
}

body.frontend-futuristic .fe-contact-lead {
    font-size: 1.02rem;
    line-height: 1.7;
    color: rgba(226, 232, 240, 0.82);
    margin: 0;
}

/* —— Cards —— */
body.frontend-futuristic .fe-contact-card {
    position: relative;
    border-radius: var(--fe-radius-lg, 16px);
    border: 1px solid var(--fe-contact-border);
    background: linear-gradient(165deg, var(--fe-contact-card), rgba(5, 10, 20, 0.95));
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.38), inset 0 1px 0 rgba(255, 255, 255, 0.06);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    overflow: hidden;
}

/* Admin image: halki background — card glass/border CSS upar dikhe */
body.frontend-futuristic .fe-contact-info.fe-contact-card {
    overflow: hidden;
}

body.frontend-futuristic .fe-contact-info__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    border-radius: inherit;
}

body.frontend-futuristic .fe-contact-info__bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    opacity: 0.32;
}

body.frontend-futuristic .fe-contact-info__bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        165deg,
        color-mix(in srgb, var(--fe-contact-card) 88%, transparent) 0%,
        color-mix(in srgb, rgba(5, 10, 20, 0.95) 82%, transparent) 100%
    );
    pointer-events: none;
}

body.frontend-futuristic .fe-contact-card__corner {
    position: absolute;
    top: 0;
    right: 0;
    width: 72px;
    height: 72px;
    background: linear-gradient(225deg, color-mix(in srgb, var(--fe-contact-cyan) 25%, transparent), transparent 55%);
    pointer-events: none;
}

/* Info card + admin bg image */
body.frontend-futuristic .fe-contact-info {
    padding: 1.75rem 1.5rem !important;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0;
    min-height: 320px;
}

body.frontend-futuristic .fe-contact-info > *:not(.fe-contact-info__bg) {
    position: relative;
    z-index: 1;
}

body.frontend-futuristic .fe-contact-channel.address-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.35rem;
    padding-bottom: 1.35rem;
    border-bottom: 1px solid color-mix(in srgb, var(--color-primary) 16%, rgba(255, 255, 255, 0.08));
}

body.frontend-futuristic .fe-contact-channel.address-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

body.frontend-futuristic .fe-contact-channel__icon {
    min-width: 3rem !important;
    width: 3rem;
    height: 3rem !important;
    line-height: 3rem !important;
    border-radius: 12px !important;
    text-align: center !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    background: color-mix(in srgb, var(--color-primary) 14%, rgba(255, 255, 255, 0.06));
    border: 1px solid color-mix(in srgb, var(--fe-contact-cyan) 35%, rgba(255, 255, 255, 0.1));
}

body.frontend-futuristic .fe-contact-channel__icon i {
    font-size: 1.35rem !important;
    color: var(--fe-contact-cyan) !important;
}

body.frontend-futuristic .fe-contact-channel .content h5 {
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 0.35rem;
    opacity: 1;
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.5);
}

body.frontend-futuristic .fe-contact-channel .content a,
body.frontend-futuristic .fe-contact-channel .content p {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1rem;
    line-height: 1.5;
    margin: 0;
    text-decoration: none;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.65);
    transition: color 0.2s ease;
}

body.frontend-futuristic .fe-contact-channel .content a:hover {
    color: var(--fe-contact-cyan);
}

/* Form card */
body.frontend-futuristic .fe-contact-form-wrap.contact-form {
    padding: 1.75rem 1.5rem !important;
    background: linear-gradient(165deg, var(--fe-contact-card), rgba(5, 10, 20, 0.95)) !important;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.38), inset 0 1px 0 rgba(255, 255, 255, 0.06) !important;
}

body.frontend-futuristic .fe-contact-form-title {
    font-size: 1.35rem;
    font-weight: 600;
    color: #fff;
    margin: 0 0 1.25rem;
    letter-spacing: -0.02em;
}

body.frontend-futuristic .fe-contact-form .form-inner {
    margin-bottom: 1.1rem;
}

body.frontend-futuristic .fe-contact-form .form-inner label {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.55);
    margin-bottom: 0.4rem;
}

body.frontend-futuristic .fe-contact-form input,
body.frontend-futuristic .fe-contact-form textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border-radius: 10px;
    border: 1px solid color-mix(in srgb, var(--color-primary) 22%, rgba(255, 255, 255, 0.12)) !important;
    background: rgba(8, 14, 26, 0.75) !important;
    color: #fff !important;
    font-size: 0.95rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

body.frontend-futuristic .fe-contact-form textarea {
    min-height: 140px;
    resize: vertical;
}

body.frontend-futuristic .fe-contact-form input::placeholder,
body.frontend-futuristic .fe-contact-form textarea::placeholder {
    color: rgba(148, 163, 184, 0.65);
}

body.frontend-futuristic .fe-contact-form input:focus,
body.frontend-futuristic .fe-contact-form textarea:focus {
    outline: none;
    border-color: color-mix(in srgb, var(--fe-contact-cyan) 65%, var(--color-primary)) !important;
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--fe-contact-cyan) 18%, transparent);
}

body.frontend-futuristic .fe-contact-submit {
    margin-top: 0.25rem;
    border-radius: 999px;
    font-weight: 600;
    letter-spacing: 0.02em;
    box-shadow: 0 8px 28px color-mix(in srgb, var(--color-primary) 38%, transparent);
}

@media (max-width: 991.98px) {
    body.frontend-futuristic .fe-contact-head {
        flex-direction: column;
        align-items: center;
        text-align: center;
        margin-bottom: 2rem;
    }

    body.frontend-futuristic .fe-contact-info,
    body.frontend-futuristic .fe-contact-form-wrap.contact-form {
        padding: 1.35rem 1.15rem !important;
    }
}

@media (max-width: 767.98px) {
    body.frontend-futuristic .fe-contact-section.pt-110 {
        padding-top: 3.5rem !important;
    }

    body.frontend-futuristic .fe-contact-bg__rings {
        opacity: 0.45;
    }
}

@keyframes feContactGridDrift {
    0% { transform: translate(0, 0); }
    100% { transform: translate(-44px, -44px); }
}

@keyframes feContactRingSpin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes feContactBeam {
    0%, 100% { opacity: 0.2; transform: translateY(0); }
    50% { opacity: 0.45; transform: translateY(6px); }
}

@keyframes feContactOrb {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(12px, -10px) scale(1.05); }
}
