.contact-section {
    min-height: 100vh;
    padding: 100px 5%;
    background: rgba(15, 23, 42, 0.7);
    position: relative;
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 3rem;
    margin-top: 3rem;
}

.contact-info-container {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-card {
    background: rgba(139, 92, 246, 0.1);
    border-radius: 20px;
    padding: 1.2rem;
    display: flex;
    align-items: center;
    gap: 1.2rem;
    transition: all 0.3s ease;
    border: 1px solid rgba(139, 92, 246, 0.2);
    transform: translateX(-50px);
    opacity: 0;
    animation: slideInLeft 0.5s forwards;
}

.contact-card:nth-child(2) {
    animation-delay: 0.2s;
}

.contact-card:nth-child(3) {
    animation-delay: 0.4s;
}

.contact-card:hover {
    transform: translateY(-5px);
    background: rgba(139, 92, 246, 0.2);
    border-color: #8b5cf6;
}

.card-icon {
    width: 60px;
    height: 60px;
    background: rgba(139, 92, 246, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #8b5cf6;
    transition: all 0.3s ease;
}

.contact-card:hover .card-icon {
    background: #8b5cf6;
    color: white;
    transform: rotate(360deg);
}

.card-content h3 {
    color: #8b5cf6;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    font-family: 'Space Grotesk', sans-serif;
}

.card-content p {
    color: #e2e8f0;
    font-size: 1rem;
}

.contact-form-container {
    background: rgba(139, 92, 246, 0.1);
    border-radius: 20px;
    padding: 2rem;
    border: 1px solid rgba(139, 92, 246, 0.2);
    transform: translateX(50px);
    opacity: 0;
    animation: slideInRight 0.5s forwards 0.5s;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.6rem;
}

.form-group {
    position: relative;
}

.form-input {
    width: 100%;
    background: transparent;
    border: none;
    padding: 1rem 0;
    color: white;
    font-size: 1rem;
    font-family: 'Space Grotesk', sans-serif;
}

.form-input:focus {
    outline: none;
}

.form-label {
    position: absolute;
    left: 0;
    top: 1rem;
    color: #8b5cf6;
    pointer-events: none;
    transition: all 0.3s ease;
}

.form-line {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: rgba(139, 92, 246, 0.3);
}

.form-line::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #8b5cf6;
    transition: width 0.3s ease;
}

.form-input:focus+.form-label,
.form-input:valid+.form-label {
    top: -20px;
    font-size: 0.9rem;
}

.form-input:focus~.form-line::after {
    width: 100%;
}

textarea.form-input {
    min-height: 150px;
    resize: vertical;
}

.submit-btn {
    background: #8b5cf6;
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 30px;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.submit-btn:hover {
    background: #7c3aed;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(139, 92, 246, 0.4);
}

.submit-btn i {
    transition: transform 0.3s ease;
}

.submit-btn:hover i {
    transform: translateX(5px);
}

@keyframes slideInLeft {
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideInRight {
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@media (max-width: 768px) {
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contact-form-container {
        padding: 1.5rem;
    }
}