/* ============================================
   EXCELCON – HYBRID PREMIUM CONTACT SECTION
   File: excelcon-contact.css
   ============================================ */

:root {
    --excon-bg-light: #f5f7fb;
    --excon-bg-card: #ffffff;
    --excon-bg-glass: rgba(255, 255, 255, 0.9);
    --excon-primary: #1d4ed8;
    --excon-primary-soft: #3b82f6;
    --excon-accent: #10b981;
    --excon-text-main: #0f172a;
    --excon-text-muted: #6b7280;
    --excon-border-soft: rgba(148, 163, 184, 0.35);
}

/* SECTION WRAPPER */

.excon-contact {
    position: relative;
    padding: 4.5rem 1.7rem 4.5rem;
    background: radial-gradient(circle at top left, #eef2ff 0, #f9fafb 42%, #ffffff 100%);
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--excon-text-main);
    overflow: hidden;
}

/* soft decorative blobs */

.excon-contact::before,
.excon-contact::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    filter: blur(30px);
    opacity: 0.8;
    pointer-events: none;
}

.excon-contact::before {
    width: 360px;
    height: 360px;
    background:
        radial-gradient(circle at 30% 30%, rgba(59, 130, 246, 0.25), transparent 65%);
    top: -130px;
    left: -140px;
    animation: exconBlobL 18s ease-in-out infinite alternate;
}

.excon-contact::after {
    width: 420px;
    height: 420px;
    background:
        radial-gradient(circle at 70% 70%, rgba(16, 185, 129, 0.22), transparent 65%);
    bottom: -150px;
    right: -180px;
    animation: exconBlobR 20s ease-in-out infinite alternate;
}

/* INNER LAYOUT */

.excon-contact-shell {
    max-width: 1180px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1.1fr);
    gap: 2.6rem;
    align-items: flex-start;
}

/* LEFT SIDE – SUMMARY + CHANNELS */

.excon-contact-left {
    animation: exconFadeLeft 0.7s ease-out forwards;
}

/* pill */

.excon-contact-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.35rem 0.9rem;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.7);
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--excon-text-muted);
    margin-bottom: 0.9rem;
    transition:
        transform 0.18s ease,
        box-shadow 0.18s ease,
        border-color 0.18s ease,
        background 0.18s ease,
        color 0.18s ease;
}

.excon-contact-pill-dot {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: radial-gradient(circle at 30% 0, var(--excon-accent), var(--excon-primary));
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.35);
    animation: exconPulseDot 1.6s ease-in-out infinite alternate;
}

.excon-contact-pill:hover {
    border-color: rgba(59, 130, 246, 0.95);
    background: #ffffff;
    color: #111827;
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.12);
    transform: translateY(-1px);
}

/* title + sub */

.excon-contact-title {
    font-size: 2rem;
    line-height: 1.18;
    font-weight: 700;
    margin-bottom: 0.55rem;
}

.excon-contact-title span {
    background: linear-gradient(120deg, #2563eb, #10b981);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.excon-contact-sub {
    font-size: 0.96rem;
    color: var(--excon-text-muted);
    max-width: 35rem;
    margin-bottom: 1.6rem;
}

/* mini meta row */

.excon-contact-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
    margin-bottom: 1.6rem;
}

/* base meta pill */

.excon-contact-meta-pill {
    padding: 0.5rem 0.9rem;
    border-radius: 999px;
    border: 1px solid rgba(209, 213, 219, 0.9);
    background: rgba(255, 255, 255, 0.95);
    font-size: 0.78rem;
    color: #111827;
    box-shadow: 0 10px 28px rgba(148, 163, 184, 0.45);
    transition:
        transform 0.18s ease,
        box-shadow 0.18s ease,
        border-color 0.18s ease,
        background 0.18s ease,
        color 0.18s ease;
}

/* premium design for first pill (response time) */

.excon-contact-meta-pill:first-child {
    position: relative;
    padding-left: 2.3rem;
    background: linear-gradient(135deg, #ecfdf5, #eff6ff);
    border-color: rgba(34, 197, 94, 0.6);
    color: #065f46;
}

.excon-contact-meta-pill:first-child::before {
    content: "⏱";
    position: absolute;
    left: 0.8rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.85rem;
}

/* meta pills hover */

.excon-contact-meta-pill:hover {
    transform: translateY(-2px);
    border-color: rgba(59, 130, 246, 0.9);
    background: #ffffff;
    color: #111827;
    box-shadow: 0 16px 38px rgba(148, 163, 184, 0.9);
}

/* CONTACT CHANNEL CARDS */

.excon-contact-channels {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 0.85rem;
    margin-bottom: 1.6rem;
}

/* ensure card content sits above glow layer and remains clickable */
.excon-contact-card {
    position: relative;
    z-index: 1;
}

.excon-contact-card::after {
    z-index: 0;
    pointer-events: none;
    /* overlay won't block clicks */
}

/* make sure text / links are above the overlay */
.excon-contact-card-body {
    position: relative;
    z-index: 1;
}

.excon-contact-card {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 0.85rem;
    align-items: flex-start;
    padding: 0.9rem 1.15rem;
    border-radius: 18px;
    border: 1px solid rgba(209, 213, 219, 0.95);
    background: radial-gradient(circle at 0 0, rgba(255, 255, 255, 0.98), #f9fafb);
    box-shadow:
        0 18px 38px rgba(148, 163, 184, 0.6),
        0 0 0 1px rgba(255, 255, 255, 0.8);
    position: relative;
    overflow: hidden;
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        border-color 0.2s ease,
        background 0.2s ease;
}

.excon-contact-card::after {
    content: "";
    position: absolute;
    inset: -30%;
    background: radial-gradient(circle at 0 0, rgba(59, 130, 246, 0.16), transparent 55%);
    opacity: 0;
    transition: opacity 0.24s ease;
}

.excon-contact-card:hover {
    transform: translateY(-3px);
    border-color: rgba(59, 130, 246, 0.9);
    box-shadow:
        0 24px 60px rgba(148, 163, 184, 0.85),
        0 0 0 1px rgba(129, 140, 248, 0.65);
    background: radial-gradient(circle at 0 0, #ffffff, #eef2ff);
}

.excon-contact-card:hover::after {
    opacity: 1;
}

/* icon */

.excon-contact-icon {
    width: 40px;
    height: 40px;
    border-radius: 14px;
    background: radial-gradient(circle at 30% 0, #2563eb, #1d4ed8);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: #eff6ff;
    box-shadow: 0 14px 30px rgba(37, 99, 235, 0.75);
    flex-shrink: 0;
    transition:
        transform 0.22s ease,
        box-shadow 0.22s ease,
        background 0.22s ease;
}

/* icon variants */

.excon-contact-icon--phone {
    background: radial-gradient(circle at 30% 0, #16a34a, #15803d);
    box-shadow: 0 14px 30px rgba(34, 197, 94, 0.75);
}

.excon-contact-icon--mail {
    background: radial-gradient(circle at 30% 0, #0ea5e9, #0369a1);
    box-shadow: 0 14px 30px rgba(59, 130, 246, 0.7);
}

.excon-contact-icon--office {
    background: radial-gradient(circle at 30% 0, #0f766e, #0e7490);
    box-shadow: 0 14px 30px rgba(45, 212, 191, 0.7);
}

.excon-contact-icon--social {
    background: radial-gradient(circle at 30% 0, #1d4ed8, #4f46e5);
    box-shadow: 0 14px 30px rgba(79, 70, 229, 0.7);
}

.excon-contact-card:hover .excon-contact-icon {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 20px 40px rgba(37, 99, 235, 0.95);
}

/* text in card */

.excon-contact-card-body {
    font-size: 0.85rem;
    color: var(--excon-text-muted);
}

.excon-contact-card-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: #0f172a;
    margin-bottom: 0.1rem;
}

.excon-contact-card-body strong {
    color: #0f172a;
}

.excon-contact-card-body a {
    color: #1d4ed8;
    text-decoration: none;
    font-weight: 500;
}

.excon-contact-card-body a:hover {
    text-decoration: underline;
}

/* social pill row inside social card */

.excon-contact-social-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin-top: 0.4rem;
}

.excon-contact-social {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.28rem 0.8rem;
    border-radius: 999px;
    border: 1px solid rgba(209, 213, 219, 0.95);
    background: rgba(255, 255, 255, 0.96);
    font-size: 0.78rem;
    color: #111827;
    text-decoration: none;
    transition:
        transform 0.18s ease,
        box-shadow 0.18s ease,
        border-color 0.18s ease,
        background 0.18s ease,
        color 0.18s ease;
}

.excon-contact-social-icon {
    width: 18px;
    height: 18px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    color: #f9fafb;
    transition:
        transform 0.18s ease,
        box-shadow 0.18s ease,
        filter 0.18s ease;
}

/* SVG inside social icon (for WhatsApp logo) */
.excon-contact-social-icon svg {
    width: 100%;
    height: 100%;
    display: block;
}

/* brand colors */

.excon-contact-social--fb .excon-contact-social-icon {
    background: #1877f2;
}

.excon-contact-social--li .excon-contact-social-icon {
    background: #0a66c2;
}

/* WhatsApp uses official SVG colors – no background */
.excon-contact-social--wa .excon-contact-social-icon {
    background: none;
    border-radius: 999px;
    padding: 0;
}

.excon-contact-social:hover {
    transform: translateY(-2px);
    border-color: rgba(129, 140, 248, 0.9);
    background: #eef2ff;
    box-shadow: 0 12px 26px rgba(148, 163, 184, 0.7);
    color: #111827;
}

.excon-contact-social:hover .excon-contact-social-icon {
    transform: translateY(-1px) scale(1.08);
    box-shadow: 0 0 0 3px rgba(148, 163, 184, 0.45);
    filter: brightness(1.05);
}

/* trust line */

.excon-contact-trust {
    margin-top: 0.9rem;
    font-size: 0.8rem;
    color: var(--excon-text-muted);
}

/* =================================
   RIGHT SIDE – FORM (GLASS CARD)
   ================================= */

.excon-contact-right {
    animation: exconFadeRight 0.75s ease-out forwards;
}

.excon-contact-form-card {
    position: relative;
    border-radius: 24px;
    padding: 1.9rem 1.8rem 2.1rem;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(241, 245, 249, 0.98));
    border: 1px solid rgba(209, 213, 219, 0.95);
    box-shadow:
        0 22px 60px rgba(148, 163, 184, 0.75),
        0 0 0 1px rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(14px);
    overflow: hidden;
}

.excon-contact-form-card::before {
    content: "";
    position: absolute;
    inset: -35%;
    background:
        radial-gradient(circle at 0 0, rgba(59, 130, 246, 0.16), transparent 55%),
        radial-gradient(circle at 100% 100%, rgba(16, 185, 129, 0.16), transparent 55%);
    opacity: 0.9;
    mix-blend-mode: soft-light;
}

.excon-contact-form-inner {
    position: relative;
    z-index: 2;
}

/* form header */

.excon-contact-form-kicker {
    font-size: 0.76rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--excon-text-muted);
    margin-bottom: 0.3rem;
}

.excon-contact-form-title {
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: #0f172a;
}

.excon-contact-form-sub {
    font-size: 0.82rem;
    color: var(--excon-text-muted);
    margin-bottom: 1.05rem;
}

/* form layout */

.excon-contact-form {
    display: flex;
    flex-direction: column;
    gap: 0.95rem;
}

.excon-contact-group-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: var(--excon-text-muted);
    margin: 0.1rem 0 0.15rem;
}

.excon-contact-grid-2 {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 0.85rem 0.95rem;
}

.excon-contact-field {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    font-size: 0.8rem;
}

.excon-contact-field label {
    color: #0f172a;
    font-weight: 500;
}

.excon-contact-req {
    color: #dc2626;
}

/* inputs */

.excon-contact-input,
.excon-contact-textarea {
    border-radius: 10px;
    border: 1px solid rgba(209, 213, 219, 0.95);
    padding: 0.6rem 0.8rem;
    font-size: 0.86rem;
    color: #0f172a;
    background: #ffffff;
    box-shadow: 0 6px 16px rgba(148, 163, 184, 0.35);
    transition:
        border-color 0.18s ease,
        box-shadow 0.18s ease,
        background 0.18s ease,
        transform 0.18s ease;
    width: 100%;
    box-sizing: border-box;
}

.excon-contact-input::placeholder,
.excon-contact-textarea::placeholder {
    color: #9ca3af;
}

.excon-contact-input:hover,
.excon-contact-textarea:hover {
    border-color: rgba(59, 130, 246, 0.9);
    background: #f9fafb;
    box-shadow: 0 10px 26px rgba(148, 163, 184, 0.55);
    transform: translateY(-1px);
}

.excon-contact-input:focus,
.excon-contact-textarea:focus {
    outline: none;
    border-color: #2563eb;
    background: #ffffff;
    box-shadow:
        0 0 0 1px rgba(129, 140, 248, 0.7),
        0 14px 30px rgba(148, 163, 184, 0.8);
    transform: translateY(-1px);
}

.excon-contact-textarea {
    min-height: 110px;
    resize: vertical;
}

/* submit row */

.excon-contact-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
    align-items: center;
    margin-top: 0.9rem;
}

.excon-contact-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.82rem 1.8rem;
    border-radius: 999px;
    border: none;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 600;
    color: #ffffff !important;
    /* force white text */
    background: linear-gradient(135deg, var(--excon-primary), var(--excon-primary-soft));
    box-shadow:
        0 24px 52px rgba(37, 99, 235, 0.8),
        0 0 0 1px rgba(129, 140, 248, 0.8);
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        filter 0.2s ease;
}

.excon-contact-btn span {
    font-size: 1.05rem;
    transition: transform 0.18s ease;
}

.excon-contact-btn:hover {
    transform: translateY(-2px) scale(1.03);
    box-shadow:
        0 32px 72px rgba(37, 99, 235, 0.95),
        0 0 0 1px rgba(191, 219, 254, 0.9);
    filter: brightness(1.05);
}

.excon-contact-btn:hover span {
    transform: translateX(3px);
}

.excon-contact-btn:active {
    transform: translateY(0);
    box-shadow: 0 20px 48px rgba(37, 99, 235, 0.85);
}

.excon-contact-actions-note {
    font-size: 0.78rem;
    color: var(--excon-text-muted);
}

/* ===============================
   ANIMATIONS
   =============================== */

@keyframes exconFadeLeft {
    from {
        opacity: 0;
        transform: translateY(18px) translateX(-14px);
    }

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

@keyframes exconFadeRight {
    from {
        opacity: 0;
        transform: translateY(18px) translateX(14px);
    }

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

@keyframes exconPulseDot {
    0% {
        transform: scale(0.9);
        box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.35);
    }

    100% {
        transform: scale(1.08);
        box-shadow: 0 0 0 8px rgba(16, 185, 129, 0.45);
    }
}

@keyframes exconBlobL {
    0% {
        transform: translate(0, 0) scale(1);
    }

    100% {
        transform: translate(18px, 12px) scale(1.06);
    }
}

@keyframes exconBlobR {
    0% {
        transform: translate(0, 0) scale(1);
    }

    100% {
        transform: translate(-18px, -14px) scale(1.08);
    }
}

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

@media (max-width: 1024px) {
    .excon-contact-shell {
        grid-template-columns: 1fr;
        gap: 2.2rem;
    }
}

@media (max-width: 768px) {
    .excon-contact {
        padding: 3.6rem 1.2rem 3.8rem;
    }

    .excon-contact-title {
        font-size: 1.7rem;
    }

    .excon-contact-form-card {
        padding: 1.7rem 1.5rem 2rem;
    }

    .excon-contact-grid-2 {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .excon-contact {
        padding: 3.2rem 1rem 3.5rem;
    }

    .excon-contact-card {
        padding: 0.8rem 0.95rem;
    }
}