/* Form Styles */
.contact-form .form-group {
    margin-bottom: 2rem;
    position: relative;
}

.contact-form label {
    display: block;
    margin-bottom: 0.75rem;
    font-weight: 800;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.4);
    transition: color 0.3s ease;
}

.contact-form .form-control {
    width: 100%;
    padding: 1.25rem;
    background: rgba(15, 23, 42, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    color: white;
    font-size: 16px;
    /* Prevents auto-zoom on iOS Safari */
    outline: none;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.contact-form .form-control:focus {
    background: rgba(15, 23, 42, 0.6);
    border-color: var(--primary);
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.1);
}

.contact-form .form-group:focus-within label {
    color: var(--primary);
}

.contact-form .form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

@media (max-width: 600px) {
    .contact-form .form-grid {
        grid-template-columns: 1fr;
    }
}

/* Custom Select Styling */
.project-selector {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 0.75rem;
    margin-top: 0.5rem;
}

.project-option {
    position: relative;
    cursor: pointer;
}

.project-option input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.project-box {
    padding: 1rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.project-box i {
    width: 20px;
    height: 20px;
    color: rgba(255, 255, 255, 0.4);
    transition: all 0.3s ease;
}

.project-box span {
    font-size: 0.8rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.6);
}

.project-option input:checked+.project-box {
    background: rgba(59, 130, 246, 0.1);
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px -5px rgba(59, 130, 246, 0.2);
}

.project-option input:checked+.project-box i {
    color: var(--primary);
    transform: scale(1.1);
}

.project-option input:checked+.project-box span {
    color: #fff;
}

.project-option:hover .project-box {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.2);
}

/* Form Status Messages */
.status-success {
    background: rgba(34, 197, 94, 0.1) !important;
    border: 1px solid rgba(34, 197, 94, 0.2);
    color: #4ade80;
}

.status-error {
    background: rgba(239, 68, 68, 0.1) !important;
    border: 1px solid rgba(239, 68, 68, 0.2);
    color: #f87171;
}