/* Contact Section */
.contact {
    padding: 5rem 2rem;
    background: var(--section-bg);
}

.contact h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--text-color);
    position: relative;
}

.contact h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-light));
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contact-form-container {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    height: 100%;
    display: flex;
    flex-direction: column;
}

#contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    flex: 1;
}

.form-group {
    position: relative;
    margin-bottom: 1rem;
}

.form-group.focused {
    z-index: 10;
}

.form-group i {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--primary-color);
    font-size: 1.2rem;
    transition: color 0.3s ease;
}

.form-group.error i {
    color: #ff4444;
}

.form-group.success i {
    color: #00c853;
}

.form-group textarea + i {
    top: 1.5rem;
    transform: none;
}

#contact-form input,
#contact-form textarea {
    width: 100%;
    padding: 1rem 1rem 1rem 3rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: var(--text-color);
    font-size: 1rem;
    transition: all 0.3s ease;
}

#contact-form textarea {
    height: 150px;
    padding-top: 1.5rem;
    resize: vertical;
}

#contact-form input:focus,
#contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(255, 0, 0, 0.1);
}

#contact-form .cta-button {
    width: 100%;
}

#contact-form .cta-button {
    width: 100%;
}

.hidden {
    display: none;
}

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

.info-card {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.info-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-color);
    position: relative;
    padding-bottom: 0.5rem;
}

.info-card h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-light));
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.info-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-top: 0.25rem;
}

.info-content h4 {
    font-size: 1rem;
    color: var(--light-text);
    margin-bottom: 0.25rem;
}

.info-content p {
    word-break: break-all;
    overflow-wrap: anywhere;
    color: var(--text-color);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.social-link {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-color);
    font-size: 1.2rem;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-link:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 0, 0, 0.3);
}

/* Loading state */
.submitting {
    opacity: 0.7;
    pointer-events: none;
}

@media screen and (max-width: 768px) {
    .contact {
        padding: 3rem 1rem;
    }

    .contact h2 {
        font-size: 2rem;
        margin-bottom: 2rem;
    }

    .contact-container {
        display: block;
        width: 100%;
        max-width: 100vw;
        padding: 0 0.5rem;
        box-sizing: border-box;
    }

    .contact-form-container,
    .info-card {
        width: 100%;
        max-width: 100%;
        margin: 0 auto 1rem auto;
        padding: 1.5rem;
        border-radius: 12px;
        box-sizing: border-box;
    }

    .contact-info {
        order: 1;
    }

    .info-card {
        margin-bottom: 1rem;
        padding: 1.25rem;
    }

    .form-group {
        margin-bottom: 1rem;
    }

    #contact-form input,
    #contact-form textarea {
        font-size: 16px;
        padding: 0.75rem 0.75rem 0.75rem 2.5rem;
    }

    #contact-form textarea {
        height: 120px;
    }

    .contact-info h3 {
        font-size: 1.25rem;
        margin-bottom: 0.75rem;
    }

    .contact-info p {
        font-size: 0.95rem;
        margin-bottom: 0.5rem;
    }

    .social-links {
        gap: 0.75rem;
    }

    .social-link {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
    }
}

@media screen and (max-width: 480px) {
    .contact {
        padding: 2rem 0.75rem;
    }

    .contact-container {
        max-width: 100vw;
        width: 100%;
        padding: 0 0.5rem;
        box-sizing: border-box;
    }

    .contact-form-container,
    .info-card {
        max-width: 100%;
        margin: 0 auto 1rem auto;
        padding: 0.75rem;
        border-radius: 12px;
        box-sizing: border-box;
    }

    .contact-form-container {
        margin-bottom: 1.5rem;
    }

    .info-card {
        margin-bottom: 1rem;
    }

    .contact h2 {
        font-size: 1.75rem;
        margin-bottom: 1.5rem;
    }

    .contact-info h3 {
        font-size: 1.1rem;
    }

    .contact-info p {
        font-size: 0.9rem;
    }

    .social-link {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
} 