/* ===================================================================
 * CONTACT IMMERSIVE SECTION
 * Cyber Grid Background + Glassmorphism 2.0 + Modern Inputs
 * ===================================================================
 */

.contact-immersive {
    position: relative;
    padding: 120px 24px 100px;
    background: #0a0a0f;
    overflow: hidden;
}

/* Cyber Grid Background - Perspective effect */
.cyber-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(122, 76, 255, 0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(122, 76, 255, 0.08) 1px, transparent 1px);
    background-size: 50px 50px;
    background-position: center center;
    transform: perspective(500px) rotateX(60deg) scale(2);
    transform-origin: center top;
    opacity: 0.4;
    pointer-events: none;
    z-index: 0;
}

/* Fade out gradient on grid */
.cyber-grid::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60%;
    background: linear-gradient(to bottom, transparent, #0a0a0f);
    pointer-events: none;
}

.contact-immersive .container {
    position: relative;
    z-index: 1;
}

/* Section Header */
.contact-immersive .section-header {
    text-align: center;
    margin-bottom: 60px;
}

.contact-immersive .section-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    background: rgba(122, 76, 255, 0.1);
    border: 1px solid rgba(122, 76, 255, 0.3);
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: #7A4CFF;
    margin-bottom: 20px;
}

.contact-immersive .section-title {
    font-size: 48px;
    font-weight: 300;
    letter-spacing: -0.02em;
    color: #FFFFFF;
    margin-bottom: 16px;
    line-height: 1.2;
}

.contact-immersive .section-subtitle {
    font-size: 18px;
    font-weight: 300;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.6);
}

/* ===================================================================
 * CONTACT CONTENT LAYOUT
 * ===================================================================
 */

.contact-content-immersive {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

/* ===================================================================
 * CONTACT INFO - GLASSMORPHISM
 * ===================================================================
 */

.contact-info-glass {
    background: rgba(20, 20, 30, 0.4);
    backdrop-filter: blur(20px);
    border: 1px solid;
    border-image: linear-gradient(135deg, rgba(122, 76, 255, 0.5), transparent) 1;
    border-radius: 20px;
    padding: 40px 35px;
    box-shadow: 0 0 50px rgba(122, 76, 255, 0.15);
}

.contact-info-glass h3 {
    font-size: 28px;
    font-weight: 600;
    color: #FFFFFF;
    margin-bottom: 16px;
}

.contact-info-glass > p {
    font-size: 16px;
    font-weight: 300;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 32px;
}

/* Contact Items */
.contact-items-immersive {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-item-immersive {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.contact-item-immersive:hover {
    background: rgba(122, 76, 255, 0.05);
    border-color: rgba(122, 76, 255, 0.2);
    transform: translateX(5px);
}

/* Icon with glow circle */
.contact-icon-glow {
    width: 56px;
    height: 56px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(122, 76, 255, 0.1);
    border: 1px solid rgba(122, 76, 255, 0.3);
    border-radius: 50%;
    box-shadow: 0 0 20px rgba(122, 76, 255, 0.3);
    transition: all 0.3s ease;
}

.contact-item-immersive:hover .contact-icon-glow {
    box-shadow: 0 0 30px rgba(122, 76, 255, 0.5);
    transform: scale(1.05);
}

.contact-icon-glow i {
    font-size: 24px;
    color: #7A4CFF;
}

/* Contact Details */
.contact-details {
    flex: 1;
}

.contact-details h4 {
    font-size: 18px;
    font-weight: 600;
    color: #FFFFFF;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-details span {
    font-size: 15px;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.7);
}

/* Status Dot - Pulsing green indicator */
.status-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    margin-left: 8px;
}

.pulse-green {
    background: #00FF88;
    box-shadow: 0 0 10px #00FF88;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.6;
        transform: scale(1.2);
    }
}

/* ===================================================================
 * CONTACT FORM - GLASSMORPHISM 2.0
 * ===================================================================
 */

.contact-form-glass {
    background: rgba(20, 20, 30, 0.4);
    backdrop-filter: blur(20px);
    border: 1px solid;
    border-image: linear-gradient(135deg, rgba(122, 76, 255, 0.5), transparent) 1;
    border-radius: 20px;
    padding: 40px 35px;
    box-shadow: 0 0 50px rgba(122, 76, 255, 0.15);
}

/* Form Group - Modern floating style */
.form-group-immersive {
    position: relative;
    margin-bottom: 28px;
}

.form-group-immersive label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.3px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 10px;
    transition: color 0.3s ease;
}

/* Modern Input Style */
.form-group-immersive input,
.form-group-immersive textarea {
    width: 100%;
    padding: 14px 0;
    background: transparent;
    border: none;
    border-bottom: 2px solid rgba(255, 255, 255, 0.15);
    border-radius: 0;
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 300;
    color: #FFFFFF;
    transition: all 0.3s ease;
    outline: none;
}

.form-group-immersive input::placeholder,
.form-group-immersive textarea::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

/* Focus state - Neon purple glow */
.form-group-immersive input:focus,
.form-group-immersive textarea:focus {
    border-bottom-color: #7A4CFF;
    background: rgba(122, 76, 255, 0.05);
    box-shadow: 0 4px 20px rgba(122, 76, 255, 0.2);
}

.form-group-immersive input:focus + label,
.form-group-immersive textarea:focus + label {
    color: #7A4CFF;
}

.form-group-immersive textarea {
    resize: vertical;
    min-height: 120px;
    padding-top: 14px;
}

/* ===================================================================
 * SUBMIT BUTTON - GLOW EFFECT
 * ===================================================================
 */

.btn-submit-glow {
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 18px 32px;
    background: linear-gradient(135deg, #7A4CFF, #9D6FFF);
    border: none;
    border-radius: 12px;
    font-family: 'Inter', sans-serif;
    font-size: 17px;
    font-weight: 600;
    color: #FFFFFF;
    cursor: pointer;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(122, 76, 255, 0.4);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Inner glow effect */
.btn-inner-glow {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.btn-submit-glow:hover .btn-inner-glow {
    left: 100%;
}

.btn-submit-glow:hover {
    transform: scale(1.02);
    box-shadow: 0 12px 40px rgba(122, 76, 255, 0.6);
}

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

.btn-submit-glow i {
    font-size: 20px;
}

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

/* Tablet */
@media (max-width: 1024px) {
    .contact-immersive {
        padding: 80px 24px 60px;
    }

    .contact-immersive .section-title {
        font-size: 40px;
    }

    .contact-content-immersive {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .contact-immersive {
        padding: 60px 20px 40px;
    }

    .contact-immersive .section-header {
        margin-bottom: 40px;
    }

    .contact-immersive .section-title {
        font-size: 32px;
    }

    .contact-immersive .section-subtitle {
        font-size: 16px;
    }

    .cyber-grid {
        background-size: 40px 40px;
    }

    .contact-info-glass,
    .contact-form-glass {
        padding: 30px 24px;
    }

    .contact-info-glass h3 {
        font-size: 24px;
    }

    .contact-icon-glow {
        width: 48px;
        height: 48px;
    }

    .contact-icon-glow i {
        font-size: 20px;
    }

    .contact-details h4 {
        font-size: 16px;
    }

    .contact-details span {
        font-size: 14px;
    }

    .btn-submit-glow {
        padding: 16px 28px;
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .contact-immersive .section-title {
        font-size: 26px;
    }

    .contact-info-glass,
    .contact-form-glass {
        padding: 24px 20px;
    }

    .contact-item-immersive {
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }

    .contact-details h4 {
        justify-content: center;
    }
}
