/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

/* Contact Container */
.contact-container {
    width: 100%;
    max-width: 700px;
}

.contact-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Header */
.contact-header {
    text-align: center;
    margin-bottom: 2rem;
}

.logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 1rem;
}

.logo-icon {
    font-size: 2rem;
}

.logo h1 {
    color: #667eea;
    font-size: 1.8rem;
    font-weight: 700;
}

.contact-header h2 {
    color: #333;
    margin-bottom: 0.5rem;
    font-size: 1.8rem;
}

.contact-header p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Form */
.contact-form {
    margin-bottom: 2rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #333;
    font-weight: 600;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #e1e5e9;
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #667eea;
}

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

/* Buttons */
.btn {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    width: 100%;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

.btn-full {
    width: 100%;
}

/* Contact Info */
.contact-info {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.contact-info h3 {
    color: #333;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    color: #555;
}

.info-item:last-child {
    margin-bottom: 0;
}

.info-icon {
    font-size: 1.2rem;
}

/* Footer */
.contact-footer {
    text-align: center;
}

.back-link {
    display: inline-block;
    color: #666;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.back-link:hover {
    color: #667eea;
}

/* Dark Theme */
.theme-dark body {
    background: linear-gradient(135deg, #0f172a 0%, #111827 100%);
}

.theme-dark .contact-card {
    background: rgba(17, 24, 39, 0.95);
    border: 1px solid #1f2937;
}

.theme-dark .contact-header h2 {
    color: #e2e8f0;
}

.theme-dark .contact-header p {
    color: #94a3b8;
}

.theme-dark .form-group label {
    color: #e2e8f0;
}

.theme-dark .contact-info h3 {
    color: #e2e8f0;
}

.theme-dark .info-item {
    color: #cbd5e1;
}

.theme-dark .back-link {
    color: #94a3b8;
}

.theme-dark .back-link:hover {
    color: #a5b4fc;
}

/* Responsive */
@media (max-width: 768px) {
    .contact-card {
        padding: 1.5rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .contact-header h2 {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .contact-card {
        padding: 1.25rem;
    }
    
    .logo h1 {
        font-size: 1.5rem;
    }
    
    .contact-header h2 {
        font-size: 1.3rem;
    }
}

