/**
 * Contact Page Styles
 * Professional contact form
 */

/* Contact Form Card */
.contact-form-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    position: relative;
    overflow: hidden;
}

.contact-form-card::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, 
        var(--primary-color), 
        var(--accent-color), 
        var(--secondary-color), 
        var(--primary-color));
    background-size: 400%;
    border-radius: 20px;
    opacity: 0.3;
    z-index: -1;
    animation: borderFlow 8s linear infinite;
}

@keyframes borderFlow {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.contact-form-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.contact-form-header i {
    color: var(--primary-color);
    text-shadow: var(--glow-primary);
}

.contact-form-header h3 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-color);
    margin: 1rem 0 0.5rem;
}

.contact-form-header p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

/* Form Controls */
.contact-form-card .form-label {
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 0.75rem;
    font-size: 1rem;
}

.contact-form-card .form-label i {
    color: var(--primary-color);
}

.contact-form-card .form-control {
    background: rgba(8, 8, 10, 0.55);
    border: 2px solid var(--glass-border);
    border-radius: var(--border-radius-sm);
    padding: 1rem 1.25rem;
    color: var(--text-color);
    font-size: 1rem;
    transition: var(--transition);
}

.contact-form-card .form-control::placeholder {
    color: #b8bcc6;
    opacity: 0.7;
}

.contact-form-card .form-control:focus {
    background: rgba(8, 8, 10, 0.65);
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(167, 139, 250, 0.18),
                inset 0 0 24px rgba(167, 139, 250, 0.06);
    color: var(--text-color);
}

.contact-form-card textarea.form-control {
    resize: vertical;
    min-height: 150px;
}

/* Send Button */
.btn-send-message {
    background: linear-gradient(135deg, var(--primary-dark), #6366f1, var(--secondary-color));
    border: none;
    color: #f8fafc;
    padding: 1.25rem 3rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    box-shadow: 0 8px 28px rgba(167, 139, 250, 0.3);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    min-width: 280px;
}

.btn-send-message::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-send-message:hover::before {
    width: 400px;
    height: 400px;
}

.btn-send-message:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 40px rgba(167, 139, 250, 0.38);
    color: #f8fafc;
}

.btn-send-message i {
    position: relative;
    z-index: 1;
}

/* Contact Info Box */
.contact-info-box {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 2.5rem;
}

.contact-info-item {
    color: var(--text-color);
}

.contact-info-item i {
    color: var(--primary-color);
    text-shadow: var(--glow-primary);
}

.contact-info-item h5 {
    font-weight: 700;
    color: #ffffff;
    margin: 1rem 0;
    font-size: 1.2rem;
}

.contact-info-item p {
    color: #e8eaed;
    margin: 0;
    line-height: 1.8;
}

.contact-info-item a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
    font-weight: 600;
}

.contact-info-item a:hover {
    color: var(--accent-color);
    text-shadow: var(--glow-accent);
}

/* Alerts in contact page */
.contact-form-card + .alert {
    margin-bottom: 2rem;
}

section .alert {
    border-radius: 15px;
    padding: 1.5rem;
    border-width: 2px;
}

section .alert-success {
    background: rgba(148, 163, 184, 0.15);
    border-color: var(--accent-color);
    color: var(--accent-color);
}

section .alert-danger {
    background: rgba(239, 68, 68, 0.15);
    border-color: #ef4444;
    color: #fca5a5;
}

/* Responsive */
@media (max-width: 768px) {
    .contact-form-card {
        padding: 2rem 1.5rem;
    }
    
    .contact-form-header h3 {
        font-size: 1.5rem;
    }
    
    .btn-send-message {
        width: 100%;
        padding: 1rem 2rem;
    }
    
    .contact-info-box {
        padding: 1.5rem;
    }
}

