/* === Contact Section === */
#contact.contact {
    background: var(--dark-color);
    position: relative;
    padding: 10rem 0;
    overflow: hidden;
}

#contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(138, 43, 226, 0.08),
        rgba(255, 20, 147, 0.08),
        rgba(0, 255, 255, 0.08)
    );
    z-index: 1;
}

#contact .container {
    position: relative;
    z-index: 2;
}

/* === Section Header === */
#contact .section-header h2 {
    font-size: 4rem;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-weight: 700;
    margin-bottom: 1.2rem;
}

#contact .section-header p {
    font-size: 1.8rem;
    color: rgba(255, 255, 255, 0.7);
}

/* === Contact Form === */
.contact-form {
    max-width: 700px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    padding: 4rem;
    backdrop-filter: blur(12px);
    transition: var(--transition);
}

.contact-form:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(138, 43, 226, 0.2);
}

/* === Form Groups === */
.form-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 2.5rem;
}

.form-group label {
    font-weight: 500;
    margin-bottom: 0.8rem;
    color: #000(255, 255, 255, 0.8);
    font-size: 1.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--border-radius);
    color: var(--light-color);
    font-size: 1.6rem;
    padding: 1.2rem 1.5rem;
    outline: none;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary-color);
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 0 3px rgba(138, 43, 226, 0.3);
}

/* === Textarea === */
.form-group textarea {
    resize: none;
}

/* === Service Dropdown (Black Background) === */
.form-group select {
    background-color: #000; /* Solid black background */
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: var(--light-color);
    border-radius: var(--border-radius);
    padding: 1.2rem 1.5rem;
    font-size: 1.6rem;
    font-family: var(--font-primary);
    appearance: none;
    outline: none;
    transition: var(--transition);
    cursor: pointer;
}

/* Optional dropdown arrow (custom look) */
.form-group select {
    background-image: linear-gradient(45deg, transparent 50%, var(--accent-color) 50%),
                      linear-gradient(135deg, var(--accent-color) 50%, transparent 50%);
    background-position: calc(100% - 20px) calc(1em + 2px),
                         calc(100% - 15px) calc(1em + 2px);
    background-size: 5px 5px, 5px 5px;
    background-repeat: no-repeat;
}

/* Hover and focus effects */
.form-group select:hover {
    border-color: var(--accent-color);
    background-color: #0a0a0a;
}

.form-group select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(138, 43, 226, 0.3);
}


/* === Submit Button === */
.contact-form .btn {
    display: inline-block;
    width: 100%;
    padding: 1.4rem;
    background: var(--gradient-1);
    border: none;
    border-radius: 50px;
    color: #000;
    font-weight: 600;
    font-size: 1.6rem;
    cursor: pointer;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.contact-form .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(138, 43, 226, 0.3);
}

/* === Form Status === */
#form-status {
    text-align: center;
    font-size: 1.5rem;
    color: var(--accent-color);
    margin-top: 1.5rem;
}

/* === Reveal Animations (consistent with your global reveal classes) === */
.reveal-text,
.reveal-card {
    opacity: 0;
    transform: translateY(30px);
    transition: var(--transition);
}

.reveal-text.active,
.reveal-card.active {
    opacity: 1;
    transform: translateY(0);
}

/* === Responsive Design === */
@media (max-width: 768px) {
    .contact-form {
        padding: 3rem 2rem;
    }
    #contact .section-header h2 {
        font-size: 3.2rem;
    }
}
