/* ===============================================
   CONTACT PAGE - Modern & Elegant Design
   =============================================== */

/* Hero Section - Minimal & Clean */
.contact-hero {
    backdrop-filter: blur(10px);
    padding: 80px 0 60px;
    position: relative;
    overflow: hidden;
    border-bottom: 3px solid #c9a961;
}

.contact-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="pattern" x="0" y="0" width="50" height="50" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1.5" fill="%231a4d7a"/><circle cx="0" cy="0" r="1" fill="%23c9a961"/><circle cx="50" cy="50" r="1" fill="%23c9a961"/></pattern></defs><rect width="100" height="100" fill="url(%23pattern)"/></svg>');
    opacity: 0.3;
}

.contact-hero .container {
    position: relative;
    z-index: 1;
}

.contact-hero h1 {
    color: #ffffff;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.contact-hero p {
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 400;
}

/* Main Contact Section */
.contact-section {
    background: linear-gradient(to bottom, #f8f9fa 0%, #ffffff 100%);
    padding: 60px 0;
}

/* Contact Cards */
.contact-card {
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    border: 1px solid rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 50px rgba(0,0,0,0.12);
}

.contact-card h2 {
    color: #1a4d7a;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

/* Form Styling */
.contact-form .form-label {
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.contact-form .form-label i {
    color: #c9a961;
    width: 20px;
}

.contact-form .form-control,
.contact-form .form-select {
    border-radius: 12px;
    border: 2px solid #e2e8f0;
    padding: 12px 18px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #f8fafc;
}

.contact-form .form-control:focus,
.contact-form .form-select:focus {
    border-color: #c9a961;
    box-shadow: 0 0 0 3px rgba(201, 169, 97, 0.1);
    background: white;
    outline: none;
}

.contact-form textarea.form-control {
    resize: vertical;
    min-height: 150px;
}

/* Submit Button */
.contact-submit-btn {
    background: linear-gradient(135deg, #c9a961 0%, #dfc480 100%);
    color: #1a1a1a;
    border: none;
    border-radius: 50px;
    padding: 15px 40px;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(201, 169, 97, 0.3);
    width: 100%;
}

.contact-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(201, 169, 97, 0.4);
    background: linear-gradient(135deg, #dfc480 0%, #c9a961 100%);
}

.contact-submit-btn:active {
    transform: translateY(0);
}

/* Info Sidebar */
.contact-info-card {
    background: white;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.06);
    border: 1px solid rgba(0,0,0,0.05);
    margin-bottom: 20px;
}

.contact-info-card h4 {
    color: #1a4d7a;
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.contact-info-card h6 {
    color: #c9a961;
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.contact-info-card p {
    color: #64748b;
    font-size: 0.95rem;
    margin-bottom: 0.3rem;
}

/* Help Card */
.help-card {
    background: linear-gradient(135deg, #1a4d7a 0%, #2c5f8d 100%);
    border-radius: 16px;
    padding: 30px;
    text-align: center;
    color: white;
    box-shadow: 0 5px 20px rgba(26, 77, 122, 0.3);
}

.help-card i {
    color: #c9a961;
    margin-bottom: 1rem;
}

.help-card h5 {
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.help-card p {
    opacity: 0.9;
    margin-bottom: 1rem;
}

.help-card .btn-light {
    border-radius: 25px;
    padding: 10px 25px;
    font-weight: 600;
}

/* Social Media Buttons */
.social-buttons {
    display: flex;
    gap: 10px;
}

.social-buttons .btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    transition: all 0.3s ease;
}

.social-buttons .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* Alert Messages */
.contact-alert {
    border-radius: 12px;
    border: none;
    padding: 15px 20px;
    margin-bottom: 25px;
    font-weight: 500;
}

/* ===============================================
   DARK MODE SUPPORT
   =============================================== */

[data-theme="dark"] .contact-hero {
    backdrop-filter: blur(10px);
    border-bottom: 3px solid #c9a961;
}

[data-theme="dark"] .contact-hero::before {
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="1" fill="rgba(201,169,97,0.2)"/></svg>');
}

[data-theme="dark"] .contact-hero h1 {
    color: #f8fafc;
}

[data-theme="dark"] .contact-hero p {
    color: #94a3b8;
}

[data-theme="dark"] .contact-section {
    background: linear-gradient(to bottom, #0f172a 0%, #1e293b 100%);
}

[data-theme="dark"] .contact-card {
    background: #1e293b;
    border-color: rgba(255,255,255,0.1);
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
}

[data-theme="dark"] .contact-card h2 {
    color: #f8fafc;
}

[data-theme="dark"] .contact-form .form-label {
    color: #e2e8f0;
}

[data-theme="dark"] .contact-form .form-control,
[data-theme="dark"] .contact-form .form-select {
    background: #0f172a;
    border-color: rgba(255,255,255,0.1);
    color: #f8fafc;
}

[data-theme="dark"] .contact-form .form-control::placeholder {
    color: #64748b;
}

[data-theme="dark"] .contact-form .form-control:focus,
[data-theme="dark"] .contact-form .form-select:focus {
    background: #1e293b;
    border-color: #c9a961;
    color: #f8fafc;
}

[data-theme="dark"] .contact-info-card {
    background: #1e293b;
    border-color: rgba(255,255,255,0.1);
    box-shadow: 0 5px 20px rgba(0,0,0,0.3);
}

[data-theme="dark"] .contact-info-card h4 {
    color: #f8fafc;
}

[data-theme="dark"] .contact-info-card p {
    color: #94a3b8;
}

[data-theme="dark"] .help-card {
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    box-shadow: 0 5px 20px rgba(0,0,0,0.4);
}

[data-theme="dark"] .contact-alert.alert-success {
    background: rgba(34, 197, 94, 0.15);
    color: #86efac;
    border-left: 4px solid #22c55e;
}

[data-theme="dark"] .contact-alert.alert-danger {
    background: rgba(239, 68, 68, 0.15);
    color: #fca5a5;
    border-left: 4px solid #ef4444;
}

/* ===============================================
   RESPONSIVE DESIGN
   =============================================== */

@media (max-width: 991px) {
    .contact-hero h1 {
        font-size: 2rem;
    }
    
    .contact-card {
        padding: 30px 20px;
    }
}

@media (max-width: 576px) {
    .contact-hero {
        padding: 60px 0 40px;
    }
    
    .contact-hero h1 {
        font-size: 1.75rem;
    }
    
    .contact-hero p {
        font-size: 1rem;
    }
    
    .contact-card {
        padding: 25px 15px;
    }
    
    .contact-card h2 {
        font-size: 1.5rem;
    }
    
    .contact-submit-btn {
        font-size: 1rem;
        padding: 12px 30px;
    }
}
