/* =========================================================
   CONTACT PAGE — Modernized Glassmorphism & Fluid Layout
   Christian Agyapong Portfolio
   Design System: Warm Brown & Cream (Claude Theme)
   ========================================================= */

/* ── HERO SECTION ─────────────────────────────────────────── */
.contact-hero-modern {
    padding: 130px 0 60px 0;
    text-align: center;
    position: relative;
    background: transparent;
}

.contact-hero-content {
    max-width: 820px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.contact-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(204, 103, 65, 0.1);
    border: 1px solid rgba(204, 103, 65, 0.22);
    padding: 6px 18px;
    border-radius: 9999px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: #CC6741;
    margin-bottom: 1.5rem;
}

.badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #10B981;
    box-shadow: 0 0 8px rgba(16, 185, 129, 0.7);
    animation: beaconPulse 2s infinite;
}

@keyframes beaconPulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.3); opacity: 0.7; }
}

.contact-hero-title {
    font-size: clamp(2.4rem, 5.5vw, 3.6rem);
    font-weight: 800;
    line-height: 1.15;
    color: #2C1810;
    letter-spacing: -0.02em;
    margin-bottom: 1.2rem;
}

.gradient-text {
    background: linear-gradient(135deg, #CC6741 0%, #A3522F 50%, #7C4A3A 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.contact-hero-subtitle {
    font-size: 1.15rem;
    line-height: 1.75;
    color: #5C3D2E;
    max-width: 700px;
    margin-bottom: 2.5rem;
}

.contact-meta-pills {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.meta-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(250, 243, 232, 0.85);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(204, 103, 65, 0.15);
    padding: 8px 18px;
    border-radius: 9999px;
    font-size: 0.85rem;
    color: #5C3D2E;
    box-shadow: 0 4px 12px rgba(44, 24, 16, 0.03);
}

.meta-pill i {
    color: #CC6741;
}

.meta-pill strong {
    color: #2C1810;
}

/* ── WORKSPACE 2-COLUMN GRID ──────────────────────────────── */
.contact-workspace {
    padding: 30px 0 90px 0;
    position: relative;
}

.workspace-grid {
    display: grid;
    grid-template-columns: minmax(320px, 390px) 1fr;
    gap: 2.2rem;
    align-items: start;
}

/* ── LEFT SIDEBAR CARDS ───────────────────────────────────── */
.workspace-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.8rem;
}

.glass-hub-card {
    background: rgba(250, 243, 232, 0.8) !important;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(204, 103, 65, 0.16) !important;
    border-radius: 22px;
    padding: 1.8rem;
    box-shadow: 0 10px 32px rgba(44, 24, 16, 0.04), 0 1px 3px rgba(44, 24, 16, 0.02);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.glass-hub-card:hover {
    transform: translateY(-4px);
    border-color: rgba(204, 103, 65, 0.3);
    box-shadow: 0 18px 45px rgba(44, 24, 16, 0.08);
}

.hub-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(204, 103, 65, 0.12);
}

.hub-icon-badge {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    background: linear-gradient(135deg, #CC6741 0%, #A3522F 100%);
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: 0 4px 14px rgba(204, 103, 65, 0.3);
}

.hub-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #2C1810;
    letter-spacing: -0.01em;
}

.hub-desc {
    font-size: 0.82rem;
    color: #8C6B5A;
}

/* ── Direct Channels List ─────────────────────────────────── */
.direct-channels-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.channel-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    border-radius: 14px;
    background: rgba(253, 250, 246, 0.85);
    border: 1px solid rgba(204, 103, 65, 0.1);
    transition: all 0.25s ease;
}

.channel-item:hover {
    background: #FFFFFF;
    border-color: rgba(204, 103, 65, 0.28);
    transform: translateX(3px);
    box-shadow: 0 4px 14px rgba(44, 24, 16, 0.05);
}

.channel-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.05rem;
    flex-shrink: 0;
}

.channel-icon.email-accent {
    background: rgba(204, 103, 65, 0.12);
    color: #CC6741;
}

.channel-icon.phone-accent {
    background: rgba(16, 185, 129, 0.12);
    color: #10B981;
}

.channel-icon.linkedin-accent {
    background: rgba(10, 102, 194, 0.12);
    color: #0A66C2;
}

.channel-icon.github-accent {
    background: rgba(44, 24, 16, 0.1);
    color: #2C1810;
}

.channel-icon.twitter-accent {
    background: rgba(0, 0, 0, 0.08);
    color: #1A1A1A;
}

.channel-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.channel-label {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #8C6B5A;
}

.channel-value {
    font-size: 0.88rem;
    font-weight: 600;
    color: #2C1810;
    text-decoration: none;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    transition: color 0.2s ease;
}

.channel-value:hover {
    color: #CC6741;
}

.copy-btn,
.channel-action-btn {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    border: 1px solid rgba(204, 103, 65, 0.15);
    background: rgba(245, 237, 224, 0.6);
    color: #7C4A3A;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    cursor: pointer;
    text-decoration: none;
    position: relative;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.copy-btn:hover,
.channel-action-btn:hover {
    background: #CC6741;
    color: #FFFFFF;
    border-color: #CC6741;
    transform: scale(1.08);
}

.copy-tooltip {
    position: absolute;
    bottom: -28px;
    left: 50%;
    transform: translateX(-50%) translateY(4px);
    background: #2C1810;
    color: #FFFFFF;
    font-size: 0.68rem;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 6px;
    opacity: 0;
    pointer-events: none;
    transition: all 0.2s ease;
    white-space: nowrap;
    z-index: 10;
}

.copy-btn:hover .copy-tooltip {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* ── Location Card ────────────────────────────────────────── */
.location-card {
    display: flex;
    align-items: center;
    gap: 16px;
}

.location-visual {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(204, 103, 65, 0.15) 0%, rgba(196, 149, 106, 0.2) 100%);
    border: 1px solid rgba(204, 103, 65, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #CC6741;
    font-size: 1.4rem;
    position: relative;
    flex-shrink: 0;
}

.radar-pulse {
    position: absolute;
    inset: -4px;
    border-radius: 18px;
    border: 1.5px solid rgba(204, 103, 65, 0.4);
    animation: radarRipple 2.5s infinite;
}

@keyframes radarRipple {
    0% { transform: scale(0.9); opacity: 0.9; }
    100% { transform: scale(1.3); opacity: 0; }
}

.location-content {
    flex: 1;
}

.location-title-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 2px;
}

.location-title-wrap h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #2C1810;
}

.timezone-tag {
    font-size: 0.65rem;
    font-weight: 700;
    color: #CC6741;
    background: rgba(204, 103, 65, 0.12);
    padding: 2px 6px;
    border-radius: 6px;
}

.location-sub {
    font-size: 0.8rem;
    color: #8C6B5A;
    line-height: 1.4;
    margin-bottom: 6px;
}

.live-clock-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.78rem;
    color: #5C3D2E;
}

.live-beacon {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #10B981;
    box-shadow: 0 0 6px #10B981;
}

/* ── Commitments Card ─────────────────────────────────────── */
.commitments-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: #2C1810;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 1rem;
}

.commitments-title i {
    color: #CC6741;
}

.commitments-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.commitments-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.82rem;
    line-height: 1.5;
    color: #5C3D2E;
}

.commitments-list li i {
    color: #7C9B6A;
    font-size: 0.9rem;
    margin-top: 3px;
    flex-shrink: 0;
}

/* ── RIGHT MAIN INQUIRY FORM CARD ─────────────────────────── */
.glass-form-card {
    background: rgba(250, 243, 232, 0.88) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(204, 103, 65, 0.2) !important;
    border-radius: 28px;
    padding: 2.8rem;
    box-shadow: 0 20px 50px rgba(44, 24, 16, 0.06), 0 2px 8px rgba(44, 24, 16, 0.03);
    position: relative;
    overflow: hidden;
}

.glass-form-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #CC6741 0%, #E89A76 50%, #A3522F 100%);
    opacity: 0.85;
}

.form-header-box {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1.2rem;
    margin-bottom: 2.2rem;
    padding-bottom: 1.6rem;
    border-bottom: 1px solid rgba(204, 103, 65, 0.14);
}

.form-title-wrap h2 {
    font-size: 1.75rem;
    font-weight: 800;
    color: #2C1810;
    letter-spacing: -0.02em;
    margin-bottom: 6px;
    line-height: 1.2;
}

.form-title-wrap p {
    font-size: 0.95rem;
    color: #7C4A3A;
    line-height: 1.5;
    margin: 0;
}

.form-badge-status {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: rgba(16, 185, 129, 0.12);
    border: 1px solid rgba(16, 185, 129, 0.28);
    padding: 6px 14px;
    border-radius: 9999px;
    font-size: 0.76rem;
    font-weight: 700;
    color: #047857;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.1);
}

.badge-dot-green {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #10B981;
    box-shadow: 0 0 8px rgba(16, 185, 129, 0.8);
    animation: beaconPulse 2s infinite;
}

.form-section-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #8C6B5A;
    margin: 1.8rem 0 1rem 0;
}

.form-section-label:first-of-type {
    margin-top: 0;
}

/* ── Interactive Scope Chips ──────────────────────────────── */
.chips-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 1.8rem;
}

.scope-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(253, 250, 246, 0.95);
    border: 1.5px solid rgba(204, 103, 65, 0.18);
    color: #5C3D2E;
    font-size: 0.88rem;
    font-weight: 600;
    padding: 10px 18px;
    border-radius: 9999px;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    touch-action: manipulation;
    user-select: none;
    -webkit-user-select: none;
    box-shadow: 0 2px 6px rgba(44, 24, 16, 0.03);
}

.scope-chip i {
    font-size: 0.95rem;
    color: #CC6741;
    transition: all 0.25s ease;
}

.scope-chip:hover {
    border-color: rgba(204, 103, 65, 0.45);
    color: #CC6741;
    background: #FFFFFF;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(204, 103, 65, 0.14);
}

.scope-chip.active {
    background: linear-gradient(135deg, #CC6741 0%, #A3522F 100%);
    color: #FFFFFF;
    border-color: transparent;
    box-shadow: 0 6px 20px rgba(204, 103, 65, 0.38);
    transform: translateY(-2px);
}

.scope-chip.active i {
    color: #FFE6A7;
    transform: scale(1.15);
}

/* ── Form Inputs & Layout ─────────────────────────────────── */
.form-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.2rem;
    margin-bottom: 1.2rem;
}

.form-floating-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 1.2rem;
}

.form-floating-group label {
    font-size: 0.82rem;
    font-weight: 700;
    color: #2C1810;
}

.label-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.char-counter {
    font-size: 0.72rem;
    color: #8C6B5A;
}

.input-wrap {
    position: relative;
    display: flex;
    align-items: center;
}

.input-icon {
    position: absolute;
    left: 14px;
    color: #A3522F;
    font-size: 0.95rem;
    pointer-events: none;
    opacity: 0.8;
}

.input-wrap input,
.input-wrap select,
.textarea-wrap textarea {
    width: 100%;
    background: rgba(253, 250, 246, 0.95);
    border: 1.5px solid rgba(204, 103, 65, 0.18);
    border-radius: 12px;
    padding: 12px 14px 12px 42px;
    font-size: 0.95rem;
    font-family: inherit;
    color: #2C1810;
    outline: none;
    transition: all 0.25s ease;
    box-sizing: border-box;
}

.textarea-wrap textarea {
    padding: 14px 16px;
    resize: vertical;
    min-height: 120px;
    line-height: 1.6;
}

.input-wrap input::placeholder,
.textarea-wrap textarea::placeholder {
    color: #A89082;
    opacity: 0.8;
}

.input-wrap input:focus,
.input-wrap select:focus,
.textarea-wrap textarea:focus {
    border-color: #CC6741;
    background: #FFFFFF;
    box-shadow: 0 0 0 3px rgba(204, 103, 65, 0.15);
}

/* ── Form Actions & Submit ────────────────────────────────── */
.form-action-row {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-top: 1rem;
    flex-wrap: wrap;
}

.btn-submit-modern {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: linear-gradient(135deg, #CC6741 0%, #A3522F 100%);
    color: #FFFFFF;
    border: none;
    border-radius: 9999px;
    padding: 14px 34px;
    font-size: 1rem;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(204, 103, 65, 0.35);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    touch-action: manipulation;
}

.btn-submit-modern:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 14px 35px rgba(204, 103, 65, 0.45);
}

.btn-submit-modern:active {
    transform: scale(0.98);
}

.form-status-box {
    font-size: 0.88rem;
    font-weight: 600;
    color: #5C3D2E;
    flex: 1;
}

.form-status-box.success {
    color: #059669;
}

.form-status-box.error {
    color: #DC2626;
}

/* ── 4-STEP COLLABORATION PROCESS ─────────────────────────── */
.process-section {
    padding: 80px 0 110px 0;
    position: relative;
}

.section-header-centered {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 3.5rem auto;
}

.section-pill-tag {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #CC6741;
    background: rgba(204, 103, 65, 0.1);
    border: 1px solid rgba(204, 103, 65, 0.2);
    padding: 6px 14px;
    border-radius: 9999px;
    margin-bottom: 1rem;
}

.section-header-centered .section-title {
    font-size: clamp(2rem, 4vw, 2.8rem) !important;
    font-weight: 800 !important;
    color: #2C1810;
    margin-bottom: 0.8rem;
    letter-spacing: -0.02em;
}

.section-header-centered .section-subtitle {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #5C3D2E;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
    gap: 1.8rem;
}

.process-card {
    background: rgba(250, 243, 232, 0.75);
    backdrop-filter: blur(14px);
    border: 1px solid rgba(204, 103, 65, 0.15);
    border-radius: 20px;
    padding: 2.2rem 1.6rem;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.process-card:hover {
    transform: translateY(-6px);
    background: rgba(253, 250, 246, 0.95);
    border-color: rgba(204, 103, 65, 0.32);
    box-shadow: 0 16px 40px rgba(44, 24, 16, 0.08);
}

.process-step-num {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    font-size: 1.6rem;
    font-weight: 800;
    color: rgba(204, 103, 65, 0.22);
    font-family: inherit;
}

.process-icon-wrap {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: rgba(204, 103, 65, 0.12);
    color: #CC6741;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    margin-bottom: 1.4rem;
    transition: transform 0.3s ease;
}

.process-card:hover .process-icon-wrap {
    transform: scale(1.1) rotate(6deg);
}

.process-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: #2C1810;
    margin-bottom: 0.6rem;
}

.process-card p {
    font-size: 0.88rem;
    line-height: 1.65;
    color: #5C3D2E;
}

/* ── RESPONSIVE ADAPTATIONS ───────────────────────────────── */
@media (max-width: 980px) {
    .workspace-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 640px) {
    .contact-hero-modern {
        padding: 100px 0 40px 0;
    }

    .glass-form-card {
        padding: 1.5rem;
        border-radius: 20px;
    }

    .form-grid-2 {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .form-header-box {
        flex-direction: column;
        align-items: flex-start;
    }

    .btn-submit-modern {
        width: 100%;
    }
}
