/* ==========================================================================
   CONTACT US PAGE STYLES - SWEET TASK (CYBERPUNK GLASSMORPHISM)
   Mobile-First & Ultra-Responsive (Desktop down to 320px Tiny Screens)
   ========================================================================== */

.contact-main-layout,
.contact-main-layout *,
.contact-main-layout *::before,
.contact-main-layout *::after {
    box-sizing: border-box !important;
}

/* Main Layout Wrapper */
.contact-main-layout,
.main-content.contact-main-layout {
    min-height: calc(100vh - 80px);
    padding-top: 6.5rem !important;
    padding-bottom: 3.5rem !important;
    background: radial-gradient(circle at 50% 0%, rgba(14, 116, 144, 0.12) 0%, rgba(6, 11, 24, 0) 65%), #060b18;
    color: var(--text-primary, #f1f5f9);
    position: relative;
    overflow-x: hidden !important;
    width: 100% !important;
    max-width: 100vw !important;
}

.contact-page-container {
    max-width: 1120px;
    width: 100% !important;
    margin: 0 auto;
    padding: 0 1.25rem;
    position: relative;
    z-index: 2;
    overflow-x: hidden !important;
}

/* 1. HERO BANNER */
.contact-hero {
    text-align: center;
    padding: 2.5rem 1.75rem 2rem;
    margin-bottom: 2rem;
    background: var(--gradient-header, linear-gradient(135deg, rgba(15, 32, 67, 0.95) 0%, rgba(10, 20, 42, 0.97) 60%, rgba(6, 11, 24, 0.98) 100%));
    border: 1px solid var(--border-cyber-subtle, rgba(37, 99, 235, 0.28));
    border-radius: 20px;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5), 0 0 25px rgba(56, 189, 248, 0.1);
    position: relative;
    overflow: hidden;
}

.contact-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(56, 189, 248, 0.08) 0%, transparent 60%);
    pointer-events: none;
}

.contact-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(56, 189, 248, 0.12);
    border: 1px solid rgba(56, 189, 248, 0.35);
    color: #38bdf8;
    padding: 6px 16px;
    border-radius: 30px;
    font-size: 0.80rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 1rem;
    box-shadow: 0 0 15px rgba(56, 189, 248, 0.2);
}

.contact-hero-title {
    font-size: 2.4rem;
    font-weight: 900;
    color: #ffffff;
    margin: 0 0 0.85rem;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.contact-hero-title .highlight {
    background: linear-gradient(135deg, #38bdf8 0%, #0ea5e9 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 30px rgba(56, 189, 248, 0.3);
}

.contact-hero-desc {
    font-size: 1.02rem;
    color: var(--text-secondary, #94a3b8);
    max-width: 680px;
    margin: 0 auto 1.5rem;
    line-height: 1.6;
}

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

.contact-hero-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: rgba(6, 14, 34, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.82rem;
    font-weight: 600;
    color: #cbd5e1;
}

/* 2. MAIN 2-COLUMN LAYOUT */
.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1.35fr;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

/* Side Info Cards */
.contact-info-col {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.contact-card {
    background: var(--gradient-header, linear-gradient(135deg, rgba(15, 32, 67, 0.95) 0%, rgba(10, 20, 42, 0.97) 60%, rgba(6, 11, 24, 0.98) 100%));
    border: 1px solid var(--border-cyber-subtle, rgba(37, 99, 235, 0.28));
    border-radius: 18px;
    padding: 1.5rem;
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
    transition: all 0.25s ease;
}

.contact-card:hover {
    border-color: rgba(56, 189, 248, 0.4);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6), 0 0 20px rgba(56, 189, 248, 0.1);
}

.contact-channel-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 1.25rem;
}

.contact-channel-item:last-child {
    margin-bottom: 0;
}

.contact-channel-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    flex-shrink: 0;
}

.contact-channel-icon.cyan {
    background: rgba(56, 189, 248, 0.15);
    color: #38bdf8;
    border: 1px solid rgba(56, 189, 248, 0.35);
}

.contact-channel-icon.emerald {
    background: rgba(16, 185, 129, 0.15);
    color: #34d399;
    border: 1px solid rgba(16, 185, 129, 0.35);
}

.contact-channel-icon.amber {
    background: rgba(245, 158, 11, 0.15);
    color: #f59e0b;
    border: 1px solid rgba(245, 158, 11, 0.35);
}

.contact-channel-info {
    flex: 1;
    min-width: 0;
}

.contact-channel-label {
    font-size: 0.76rem;
    color: #64748b;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.5px;
    margin-bottom: 2px;
}

.contact-channel-value {
    font-size: 0.95rem;
    font-weight: 700;
    color: #ffffff;
    word-break: break-all;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.contact-channel-value a {
    color: #38bdf8;
    text-decoration: none;
    transition: color 0.2s ease;
}

.contact-channel-value a:hover {
    color: #67e8f9;
    text-decoration: underline;
}

.btn-copy-chip {
    background: rgba(56, 189, 248, 0.12);
    border: 1px solid rgba(56, 189, 248, 0.3);
    color: #38bdf8;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.70rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-copy-chip:hover {
    background: #38bdf8;
    color: #060b18;
}

/* Social links in contact card */
.contact-social-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    margin-top: 1rem;
}

.contact-social-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: rgba(6, 14, 34, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 10px 4px;
    color: #cbd5e1;
    text-decoration: none;
    font-size: 0.72rem;
    font-weight: 600;
    transition: all 0.2s ease;
}

.contact-social-btn i {
    font-size: 1.1rem;
    color: #38bdf8;
}

.contact-social-btn:hover {
    background: rgba(14, 116, 144, 0.3);
    border-color: #38bdf8;
    color: #ffffff;
    transform: translateY(-2px);
}

/* Form Container Card */
.contact-form-card {
    background: var(--gradient-header, linear-gradient(135deg, rgba(15, 32, 67, 0.95) 0%, rgba(10, 20, 42, 0.97) 60%, rgba(6, 11, 24, 0.98) 100%));
    border: 1px solid var(--border-cyber-subtle, rgba(37, 99, 235, 0.28));
    border-radius: 20px;
    padding: 2rem;
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
}

.contact-form-head {
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.contact-form-title {
    font-size: 1.35rem;
    font-weight: 800;
    color: #ffffff;
    margin: 0 0 6px;
}

.contact-form-subtitle {
    font-size: 0.88rem;
    color: #94a3b8;
    margin: 0;
}

.contact-form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.15rem;
    margin-bottom: 1.15rem;
}

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

.contact-form-group.full-width {
    grid-column: 1 / -1;
    margin-bottom: 0;
}

.contact-label {
    font-size: 0.82rem;
    font-weight: 700;
    color: #cbd5e1;
    display: flex;
    align-items: center;
    gap: 6px;
}

.contact-input,
.contact-select,
.contact-textarea {
    width: 100%;
    background: rgba(6, 14, 34, 0.85);
    border: 1.5px solid rgba(56, 189, 248, 0.25);
    border-radius: 12px;
    padding: 11px 14px;
    color: #ffffff;
    font-size: 0.92rem;
    font-family: inherit;
    outline: none;
    box-sizing: border-box;
    transition: all 0.2s ease;
}

.contact-input:focus,
.contact-select:focus,
.contact-textarea:focus {
    border-color: #38bdf8;
    box-shadow: 0 0 15px rgba(56, 189, 248, 0.3);
}

.contact-select {
    cursor: pointer;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2338bdf8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 14px;
    padding-right: 36px;
    appearance: none;
    -webkit-appearance: none;
}

.contact-select option {
    background: #0b132b;
    color: #ffffff;
}

.contact-textarea {
    resize: vertical;
    min-height: 120px;
    line-height: 1.5;
}

.btn-contact-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    background: linear-gradient(135deg, #0284c7 0%, #38bdf8 100%);
    color: #ffffff;
    border: none;
    border-radius: 12px;
    padding: 13px 24px;
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 4px 18px rgba(56, 189, 248, 0.35);
    transition: all 0.25s ease;
}

.btn-contact-submit:hover:not(:disabled) {
    box-shadow: 0 6px 25px rgba(56, 189, 248, 0.55);
    transform: translateY(-1px);
}

.btn-contact-submit:disabled {
    opacity: 0.65;
    cursor: not-allowed;
}

/* ==========================================================================
   RESPONSIVE DESIGN (Matching terms.css precision)
   ========================================================================== */

/* Tablet & Medium Screens (768px - 991px) */
@media (max-width: 991px) {
    .contact-main-layout,
    .main-content.contact-main-layout {
        padding-top: 6.5rem !important;
        padding-bottom: 2.5rem !important;
    }

    .contact-layout {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .contact-hero {
        padding: 1.75rem 1.5rem;
        border-radius: 18px;
        margin-bottom: 1rem;
        margin-top: 0.5rem;
    }

    .contact-hero-title {
        font-size: 1.75rem;
    }
}

/* Standard Mobile (480px - 767px) - Matching terms.css spacing and compact typography */
@media (max-width: 767px) {
    .contact-main-layout,
    .main-content.contact-main-layout {
        padding-top: 6.25rem !important;
        padding-bottom: 2rem !important;
    }

    .contact-page-container {
        padding: 0 0.85rem;
    }

    .contact-hero {
        padding: 1.25rem 1.1rem;
        border-radius: 15px;
        margin-bottom: 0.85rem;
        margin-top: 0.75rem;
    }

    .contact-hero-badge {
        font-size: 0.68rem;
        padding: 3px 9px;
        margin-bottom: 0.65rem;
    }

    .contact-hero-title {
        font-size: 1.38rem;
        margin-bottom: 0.5rem;
    }

    .contact-hero-desc {
        font-size: 0.82rem;
        line-height: 1.5;
        margin-bottom: 0.85rem;
    }

    .contact-hero-meta {
        gap: 6px;
    }

    .contact-hero-meta-item {
        font-size: 0.72rem;
        padding: 3px 7px;
    }

    .contact-form-grid {
        grid-template-columns: 1fr;
        gap: 0.85rem;
        margin-bottom: 0.85rem;
    }

    .contact-form-card {
        padding: 1.25rem 1rem;
    }
}

/* Small / Tiny Mobile (320px - 479px) - Ultra-Compact text & perfect header gap matching terms.css */
@media (max-width: 479px) {
    .contact-main-layout,
    .main-content.contact-main-layout {
        padding-top: 6.0rem !important;
        padding-bottom: 2rem !important;
    }

    .contact-page-container {
        padding: 0 0.65rem !important;
    }

    .contact-hero {
        padding: 1rem 0.85rem;
        border-radius: 13px;
        margin-top: 0.75rem;
        margin-bottom: 0.85rem;
    }

    .contact-hero-badge {
        font-size: 0.64rem;
        padding: 2px 7px;
        margin-bottom: 0.5rem;
    }

    .contact-hero-title {
        font-size: 1.22rem;
        margin-bottom: 0.4rem;
    }

    .contact-hero-desc {
        font-size: 0.76rem;
        line-height: 1.45;
        margin-bottom: 0.75rem;
    }

    .contact-hero-meta {
        gap: 5px;
    }

    .contact-hero-meta-item {
        font-size: 0.68rem;
        padding: 2px 6px;
    }

    .contact-layout {
        gap: 0.75rem;
    }

    .contact-card {
        padding: 0.85rem 0.75rem;
        border-radius: 12px;
    }

    .contact-channel-item {
        gap: 8px;
        margin-bottom: 10px;
    }

    .contact-channel-icon {
        width: 28px;
        height: 28px;
        font-size: 0.85rem;
        border-radius: 8px;
    }

    .contact-channel-label {
        font-size: 0.68rem;
    }

    .contact-channel-value {
        font-size: 0.76rem;
    }

    .btn-copy-chip {
        font-size: 0.62rem;
        padding: 2px 6px;
    }

    .contact-social-grid {
        gap: 5px;
    }

    .contact-social-btn {
        padding: 6px 2px;
        font-size: 0.64rem;
        border-radius: 8px;
    }

    .contact-social-btn i {
        font-size: 0.85rem;
    }

    .contact-form-card {
        padding: 0.95rem 0.75rem;
        border-radius: 12px;
    }

    .contact-form-title {
        font-size: 0.98rem;
        margin-bottom: 4px;
    }

    .contact-form-subtitle {
        font-size: 0.74rem;
        margin-bottom: 0.75rem;
    }

    .contact-form-grid {
        gap: 0.65rem;
        margin-bottom: 0.65rem;
    }

    .contact-form-group {
        margin-bottom: 0.65rem;
    }

    .contact-label {
        font-size: 0.72rem;
        margin-bottom: 4px;
    }

    .contact-input,
    .contact-select,
    .contact-textarea {
        padding: 7px 10px;
        font-size: 0.78rem;
        border-radius: 9px;
    }

    .contact-textarea {
        min-height: 90px;
    }

    .btn-contact-submit {
        padding: 8px 16px;
        font-size: 0.78rem;
        border-radius: 9px;
        width: 100%;
    }
}

/* Extra Small / Folded (under 360px) */
@media (max-width: 359px) {
    .contact-main-layout,
    .main-content.contact-main-layout {
        padding-top: 5.75rem !important;
        padding-bottom: 1.75rem !important;
    }

    .contact-hero {
        margin-top: 0.65rem;
        padding: 0.85rem 0.7rem;
    }

    .contact-hero-title {
        font-size: 1.15rem;
    }

    .contact-form-title {
        font-size: 0.92rem;
    }

    .contact-channel-value {
        font-size: 0.72rem;
    }
}
