/* Form Styles */
.contact-section {
    background: linear-gradient(135deg, var(--color-bg-dark) 0%, var(--color-primary) 100%);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
    align-items: start;
}

.contact-info {
    padding: var(--space-md);
}

.contact-methods {
    margin: var(--space-lg) 0;
}

.contact-method {
    display: flex;
    gap: var(--space-sm);
    margin-bottom: var(--space-md);
    padding: var(--space-sm);
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition-medium);
}

.contact-method:hover {
    background: rgba(0, 212, 255, 0.1);
    border-color: var(--color-accent);
}

.method-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--color-accent), var(--color-success));
    border-radius: 50%;
    color: var(--color-text-dark);
    font-size: 1.2rem;
    flex-shrink: 0;
}

.method-details h3 {
    margin-bottom: var(--space-xs);
    color: var(--color-accent);
}

.method-details p {
    margin-bottom: var(--space-xs);
    font-weight: 500;
}

.method-details small {
    color: var(--color-text-muted);
    font-size: 0.9rem;
}

.consultation-areas {
    margin-top: var(--space-lg);
    padding: var(--space-md);
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.areas-list {
    list-style: none;
    margin-top: var(--space-sm);
}

.areas-list li {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-xs);
    font-size: 0.95rem;
}

.areas-list i {
    color: var(--color-success);
    font-size: 0.8rem;
    width: 16px;
}

/* Contact Form */
.contact-form-container {
    background: var(--color-bg-card);
    padding: var(--space-lg);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.contact-form-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--color-accent), var(--color-success));
}

.contact-form {
    position: relative;
    z-index: 2;
}

.form-group {
    margin-bottom: var(--space-md);
}

.form-group label {
    display: block;
    margin-bottom: var(--space-xs);
    font-weight: 500;
    color: var(--color-accent);
    font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    background: var(--color-secondary);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-md);
    color: var(--color-text-light);
    font-size: 1rem;
    transition: var(--transition-medium);
    font-family: var(--font-secondary);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-accent);
    box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--color-text-muted);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-group select {
    cursor: pointer;
}

.form-group input.error,
.form-group select.error,
.form-group textarea.error {
    border-color: var(--color-danger);
    background: rgba(255, 51, 102, 0.1);
}

.field-error {
    color: var(--color-danger);
    font-size: 0.85rem;
    margin-top: var(--space-xs);
    display: flex;
    align-items: center;
    gap: var(--space-xs);
}

.field-error::before {
    content: '⚠';
    font-size: 0.8rem;
}

.form-disclaimer {
    padding: var(--space-sm);
    background: rgba(0, 212, 255, 0.1);
    border-radius: var(--radius-sm);
    border: 1px solid rgba(0, 212, 255, 0.2);
}

.form-disclaimer small {
    display: flex;
    align-items: flex-start;
    gap: var(--space-xs);
    color: var(--color-text-muted);
    line-height: 1.4;
}

.form-disclaimer i {
    color: var(--color-accent);
    margin-top: 2px;
    flex-shrink: 0;
}

/* Alerts */
.alert {
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--radius-md);
    margin-bottom: var(--space-md);
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-weight: 500;
}

.alert-success {
    background: rgba(0, 255, 136, 0.1);
    border: 1px solid rgba(0, 255, 136, 0.3);
    color: var(--color-success);
}

.alert-error {
    background: rgba(255, 51, 102, 0.1);
    border: 1px solid rgba(255, 51, 102, 0.3);
    color: var(--color-danger);
}

.alert i {
    font-size: 1.2rem;
    flex-shrink: 0;
}

/* Response Info Cards */
.response-info {
    background: var(--color-bg-dark);
    padding: var(--space-xl) 0;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-md);
}

.info-card {
    text-align: center;
    padding: var(--space-lg);
    background: var(--color-bg-card);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition-medium);
}

.info-card:hover {
    transform: translateY(-5px);
    border-color: var(--color-accent);
    box-shadow: var(--shadow-lg);
}

.info-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--color-accent), var(--color-success));
    border-radius: 50%;
    margin: 0 auto var(--space-md);
    color: var(--color-text-dark);
    font-size: 2rem;
}

.info-card h3 {
    color: var(--color-accent);
    margin-bottom: var(--space-sm);
}

.info-card p {
    color: var(--color-text-muted);
    line-height: 1.6;
}

/* Media Contact Card */
.media-contact {
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    padding: var(--space-xl) 0;
}

.contact-card {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
    padding: var(--space-lg);
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-card h2 {
    color: var(--color-accent);
    margin-bottom: var(--space-sm);
}

.contact-details {
    margin: var(--space-lg) 0;
}

.contact-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-sm);
    font-size: 1.1rem;
}

.contact-item i {
    color: var(--color-accent);
    width: 20px;
    text-align: center;
}

/* Responsive Form Design */
@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: var(--space-md);
    }
    
    .contact-form-container {
        padding: var(--space-md);
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: stretch;
    }
    
    .hero-cta .btn {
        width: 100%;
        justify-content: center;
    }
    
    .info-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-methods {
        margin: var(--space-md) 0;
    }
    
    .contact-method {
        flex-direction: column;
        text-align: center;
        gap: var(--space-sm);
    }
    
    .method-icon {
        align-self: center;
    }
}

@media (max-width: 480px) {
    .contact-form-container {
        padding: var(--space-sm);
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 10px 12px;
    }
    
    .contact-card {
        padding: var(--space-md);
    }
    
    .method-details h3 {
        font-size: 1.1rem;
    }
    
    .areas-list {
        font-size: 0.9rem;
    }
}

/* Focus accessibility */
.form-group input:focus-visible,
.form-group select:focus-visible,
.form-group textarea:focus-visible {
    outline: 2px solid var(--color-accent);
    outline-offset: 2px;
}

/* Loading states */
.btn.loading {
    position: relative;
    color: transparent;
}

.btn.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 16px;
    height: 16px;
    border: 2px solid currentColor;
    border-radius: 50%;
    border-top-color: transparent;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}