/* Page Header Spacing */
.page-header {
    padding-top: 140px;
    padding-bottom: 40px;
    text-align: center;
}

/* Professional List Layout */
.contact-container {
    max-width: 800px;
    margin: 0 auto 4rem;
}

.contact-item {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 1.2rem 1.5rem;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.glass-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 2.5rem;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

/* ======================== */
/* Classic Premium Contact  */
/* ======================== */
.contact-container {
    perspective: none;
}

.contact-card-wrapper {
    display: flex;
    flex-wrap: wrap;
    background: rgba(255, 255, 255, 0.03);
    /* Standard Dark Glass */
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    border-radius: 20px;
    overflow: hidden;
    /* Clean edges */
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    position: relative;
    z-index: 1;
}

/* Fix Inputs Interaction - Standard */
.glass-input {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    padding: 1rem;
    border-radius: 12px;
    width: 100%;
    margin-top: 0.5rem;
    transition: all 0.3s;
}

.glass-input:focus {
    border-color: var(--accent-aqua);
    background: rgba(255, 255, 255, 0.1);
}

[data-theme="light"] .glass-input {
    background: #F8FAFC;
    border-color: #CBD5E1;
    color: #1E293B;
}

/* Standard Panels */
.contact-left-panel,
.contact-right-panel {
    padding: 3rem;
    flex: 1;
    min-width: 300px;
}

.contact-left-panel {
    background: rgba(0, 0, 0, 0.2);
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-right-panel {
    background: transparent;
}

/* Light Theme Adjustments */
[data-theme="light"] .contact-card-wrapper {
    background: rgba(255, 255, 255, 0.9);
    border-color: #E2E8F0;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.05);
}

[data-theme="light"] .contact-left-panel {
    background: rgba(59, 130, 246, 0.03);
    border-right: 1px solid #E2E8F0;
}

[data-theme="light"] .contact-right-panel {
    background: transparent;
}

/* Remove fancy 3D transforms */
.contact-heading,
.form-title,
.info-item-row,
.form-group,
.social-links,
.btn-submit {
    transform: none !important;
}

/* ======================== */
/* Light Theme: Prism Glass */
/* ======================== */
[data-theme="light"] .contact-card-wrapper {
    /* Prism Spotlight */
    background:
        radial-gradient(800px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
            rgba(255, 255, 255, 0.8),
            rgba(255, 255, 255, 0.4) 40%),
        rgba(255, 255, 255, 0.65) !important;

    border: 1px solid rgba(255, 255, 255, 0.8);
    box-shadow:
        0 20px 50px rgba(0, 0, 0, 0.05),
        inset 0 0 20px rgba(255, 255, 255, 0.5);
    /* Inner Glow */
}

/* Rainbow Edge Refraction */
[data-theme="light"] .contact-card-wrapper::after {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: 24px;
    padding: 1px;
    background: linear-gradient(135deg,
            rgba(255, 0, 128, 0.3),
            rgba(0, 255, 255, 0.3),
            rgba(255, 255, 0, 0.3));
    -webkit-mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0.6;
    pointer-events: none;
    /* CRITICAL: Allow clicks to pass through */
    z-index: 1;
}

[data-theme="light"] .contact-left-panel {
    background: transparent !important;
}

[data-theme="light"] .contact-heading {
    text-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Ensure Interactive Elements are Clickable */
.social-links,
.btn-submit {
    position: relative;
    z-index: 10;
    /* Float above overlays */
    transform: translateZ(60px);
    /* Physical 3D pop */
    cursor: pointer;
}

.glass-icon-btn,
.btn,
.glass-input {
    pointer-events: auto !important;
    position: relative;
    z-index: 20;
    /* Force clickable */
}

.contact-item:hover,
.contact-item:active {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(0, 240, 255, 0.3);
    transform: translateX(5px);
}

.item-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin-right: 1.5rem;
    flex-shrink: 0;
}

.item-content {
    flex-grow: 1;
}

.item-label {
    color: #94A3B8;
    font-size: 0.85rem;
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.item-value {
    color: #fff;
    font-size: 1.1rem;
    font-weight: 500;
}

.item-action {
    color: var(--accent-aqua);
    text-decoration: none;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(0, 240, 255, 0.05);
    border: 1px solid rgba(0, 240, 255, 0.1);
    transition: all 0.3s;
}

.item-action:hover,
.item-action:active {
    background: var(--accent-aqua);
    color: #0F172A;
    transform: rotate(-15deg);
}

/* Specific Colors */
.bg-blue {
    background: rgba(59, 130, 246, 0.1);
    color: #3B82F6;
}

.bg-green {
    background: rgba(34, 197, 94, 0.1);
    color: #22C55E;
}

.bg-red {
    background: rgba(239, 68, 68, 0.1);
    color: #EF4444;
}

.bg-purple {
    background: rgba(168, 85, 247, 0.1);
    color: #A855F7;
}

.bg-orange {
    background: rgba(249, 115, 22, 0.1);
    color: #F97316;
}

/* Social Hub Grid */
.social-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.social-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: all 0.3s;
}

.social-card:hover,
.social-card:active {
    transform: translateY(-5px);
}

.social-card.facebook:hover {
    background: rgba(24, 119, 242, 0.1);
    border-color: #1877F2;
    box-shadow: 0 10px 30px rgba(24, 119, 242, 0.15);
}

.social-card.linkedin:hover {
    background: rgba(10, 102, 194, 0.1);
    border-color: #0A66C2;
    box-shadow: 0 10px 30px rgba(10, 102, 194, 0.15);
}

.social-card i {
    font-size: 2.5rem;
    margin-right: 1.2rem;
    transition: transform 0.3s;
}

.social-card:hover i,
.social-card:active i {
    transform: scale(1.1);
}

.social-card .content h3 {
    color: #fff;
    font-size: 1.1rem;
    margin-bottom: 0.2rem;
    font-weight: 600;
}

.social-card .content p {
    color: #94A3B8;
    font-size: 0.85rem;
    margin: 0;
}

.social-card.facebook i {
    color: #1877F2;
}

.social-card.linkedin i {
    color: #0A66C2;
}

@media (max-width: 600px) {
    .social-grid {
        grid-template-columns: 1fr;
    }
}

/* Light Theme Overrides */
/* Light Theme Overrides */
[data-theme="light"] .contact-item {
    background: #fff;
    border-color: #E2E8F0;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

[data-theme="light"] .contact-item:hover {
    border-color: #3B82F6;
    transform: translateX(5px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .item-value {
    color: #1E293B;
}

[data-theme="light"] .item-action {
    background: rgba(59, 130, 246, 0.1);
    color: #3B82F6;
    border-color: rgba(59, 130, 246, 0.2);
}

[data-theme="light"] .item-action:hover {
    background: #3B82F6;
    color: #fff;
}

[data-theme="light"] .social-card {
    background: #fff;
    border-color: #E2E8F0;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

[data-theme="light"] .social-card .content h3 {
    color: #1E293B;
}

[data-theme="light"] .social-card .content p {
    color: #64748B;
}

/* Glass Buttons */
.glass-icon-btn.large {
    width: 50px;
    height: 50px;
    font-size: 1.2rem;
}

.glass-icon-btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    transition: all 0.3s;
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-decoration: none;
}

.glass-icon-btn:hover,
.glass-icon-btn:active {
    background: var(--accent-aqua);
    color: #000;
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 240, 255, 0.3);
    border-color: var(--accent-aqua);
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(0, 240, 255, 0.4);
}

/* Brand Colors for Social Buttons */
.glass-icon-btn.facebook {
    background: rgba(24, 119, 242, 0.1);
    border-color: rgba(24, 119, 242, 0.3);
    color: #1877F2;
}

.glass-icon-btn.facebook:hover {
    background: #1877F2;
    border-color: #1877F2;
    color: #fff;
    box-shadow: 0 5px 20px rgba(24, 119, 242, 0.4);
}

.glass-icon-btn.linkedin {
    background: rgba(10, 102, 194, 0.1);
    border-color: rgba(10, 102, 194, 0.3);
    color: #0A66C2;
}

.glass-icon-btn.linkedin:hover {
    background: #0A66C2;
    border-color: #0A66C2;
    color: #fff;
    box-shadow: 0 5px 20px rgba(10, 102, 194, 0.4);
}

.glass-icon-btn.zalo {
    background: rgba(0, 104, 255, 0.1);
    border-color: rgba(0, 104, 255, 0.3);
    color: #0068FF;
}

.glass-icon-btn.zalo:hover {
    background: #0068FF;
    border-color: #0068FF;
    color: #fff;
    box-shadow: 0 5px 20px rgba(0, 104, 255, 0.4);
}