/* --- Contact Section (The Connection) --- */
.contact-section {
    width: 100%;
    max-width: 1400px;
    margin: 4rem auto;
    padding: 2rem;
    position: relative;
    font-family: 'Outfit', sans-serif;
}

.contact-container {
    background: #0a0a0a;
    border-radius: 40px;
    padding: 4rem;
    border: 1px solid #222;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    overflow: hidden;
    position: relative;
}

/* Background Grid Effect */
.contact-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 40px 40px;
    pointer-events: none;
    z-index: 0;
}

.contact-header {
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
    z-index: 1;
}

.contact-header .section-title {
    color: white;
    font-size: 3rem;
    letter-spacing: -1px;
    margin-bottom: 0.5rem;
}

.contact-header .section-subtitle {
    color: #eae9e9;
    font-size: 1.1rem;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 4rem;
    position: relative;
    z-index: 1;
}

/* Form Styles */
.contact-form-box {
    background: rgba(20, 20, 20, 0.6);
    backdrop-filter: blur(10px);
    padding: 3rem;
    border-radius: 24px;
    border: 1px solid #333;
    transition: transform 0.3s ease;
}

.contact-form-box:hover {
    transform: translateY(-5px);
    border-color: #555;
}

.input-group {
    margin-bottom: 2rem;
}

.input-group label {
    display: block;
    color: #888;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.input-group input,
.input-group textarea {
    width: 100%;
    background: rgba(0, 0, 0, 0.3);
    border: none;
    border-bottom: 2px solid #333;
    color: white;
    padding: 1rem;
    font-family: 'Outfit', sans-serif;
    font-size: 1rem;
    transition: all 0.3s;
    border-radius: 4px 4px 0 0;
}

.input-group input:focus,
.input-group textarea:focus {
    outline: none;
    border-bottom-color: #fff;
    background: rgba(255, 255, 255, 0.05);
}

.input-group textarea {
    min-height: 150px;
    resize: vertical;
}

.transmit-btn {
    width: 100%;
    background: white;
    color: black;
    border: none;
    padding: 1.2rem;
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.transmit-btn:hover {
    background: #ccc;
    transform: scale(1.02);
}

.transmit-btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.8), transparent);
    transition: 0.5s;
}

.transmit-btn:hover::after {
    left: 100%;
}

/* Info Box & Signal Visual */
.contact-info-box {
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: white;
}

.signal-visual {
    width: 100%;
    height: 150px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-bottom: 3rem;
}

.wave {
    width: 6px;
    height: 20px;
    background: #444;
    border-radius: 3px;
    animation: wave-anim 1s infinite ease-in-out;
}

.wave:nth-child(2) {
    animation-delay: 0.1s;
    height: 30px;
}

.wave:nth-child(3) {
    animation-delay: 0.2s;
    height: 40px;
}

.wave:nth-child(4) {
    animation-delay: 0.3s;
    height: 30px;
}

.wave:nth-child(5) {
    animation-delay: 0.4s;
    height: 20px;
}

@keyframes wave-anim {

    0%,
    100% {
        transform: scaleY(1);
        background: #444;
    }

    50% {
        transform: scaleY(1.5);
        background: white;
        box-shadow: 0 0 10px white;
    }
}

.line-item {
    margin-bottom: 2rem;
    padding-left: 1.5rem;
    border-left: 2px solid #333;
}

.line-item h4 {
    color: #888;
    font-size: 0.9rem;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.line-item p {
    font-size: 1.2rem;
    font-weight: 500;
}

/* Responsive */
@media (max-width: 1024px) {
    .contact-section {
        margin: 2rem auto;
        padding: 1.5rem;
    }

    .contact-container {
        padding: 2.5rem 2rem;
    }

    .contact-header {
        margin-bottom: 3rem;
    }

    .contact-header .section-title {
        font-size: 2.5rem;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .contact-form-box {
        padding: 2rem;
    }
}

@media (max-width: 768px) {
    .contact-section {
        margin: 1.5rem auto;
        padding: 1rem;
    }

    .contact-container {
        padding: 2rem 1.5rem;
        border-radius: 24px;
    }

    .contact-header {
        margin-bottom: 2rem;
    }

    .contact-header .section-title {
        font-size: 2rem;
    }

    .contact-header .section-subtitle {
        font-size: 1rem;
    }

    .contact-grid {
        gap: 2rem;
    }

    .contact-form-box {
        padding: 1.5rem;
        border-radius: 16px;
    }

    .input-group {
        margin-bottom: 1.5rem;
    }

    .input-group input,
    .input-group textarea {
        padding: 0.8rem;
        font-size: 0.95rem;
    }

    .input-group textarea {
        min-height: 120px;
    }

    .transmit-btn {
        padding: 1rem;
        font-size: 0.9rem;
    }

    .signal-visual {
        height: 120px;
        margin-bottom: 2rem;
    }

    .line-item {
        margin-bottom: 1.5rem;
        padding-left: 1rem;
    }

    .line-item p {
        font-size: 1.1rem;
    }
}