/* ============================================
   CONTACT PAGE SPECIFIC STYLES
   WiFiHapa - Contact & Support Page Styles
   ============================================ */
/* Main Content */
.main-content {
    max-width: 1500px;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}


/* Hero Section */
.contact-hero {
    background: linear-gradient(145deg, #edf4ff 0%, #ffffff 100%);
    padding: 2.5rem 2rem;
    border-radius: 48px;
    margin: 1.5rem 0 2rem;
    border: 1px solid rgba(13, 110, 253, 0.05);
    transition: var(--transition, all 0.3s ease);
}

body.dark .contact-hero {
    background: var(--hero-bg, linear-gradient(145deg, #111827 0%, #1e2538 100%));
}

@media (max-width: 768px) {
    .contact-hero {
        padding: 1.5rem;
    }

    .contact-hero h1 {
        font-size: 1.8rem;
    }
}

/* Contact Cards */
.contact-card {
    background: var(--card-bg, white);
    border-radius: 28px;
    padding: 1.5rem;
    box-shadow: var(--shadow-sm, 0 2px 8px rgba(0, 0, 0, 0.04));
    border: 1px solid var(--border-light, rgba(0, 0, 0, 0.02));
    transition: var(--transition, all 0.25s ease);
    height: 100%;
}

body.dark .contact-card {
    background: var(--card-bg, #1e2538);
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg, 0 12px 30px rgba(13, 110, 253, 0.08));
}

.contact-icon {
    font-size: 1.8rem;
    color: #0d6efd;
    background: #e4edff;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 18px;
    margin-bottom: 1rem;
}

body.dark .contact-icon {
    background: #2a3448;
}

.contact-icon-gold {
    background: #fff3d6;
    color: #d4a11e;
}

.contact-icon-green {
    background: #e1f5e8;
    color: #198754;
}

.contact-icon-teal {
    background: #d0e0e8;
    color: #0b2b40;
}

.contact-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-primary, #0a2c3d);
}

.contact-link {
    color: #0d6efd;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    word-break: break-all;
}

.contact-link:hover {
    text-decoration: underline;
}

/* Social Icons Compact */
.social-icons-compact {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.social-icons-compact a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: var(--transition, all 0.2s ease);
}

.social-icons-compact a:hover {
    transform: translateY(-3px);
}

.social-icon-facebook {
    background: #1877f2;
    color: white;
}

.social-icon-instagram {
    background: #e4405f;
    color: white;
}

.social-icon-whatsapp {
    background: #25d366;
    color: white;
}

.social-icon-linkedin {
    background: #0077b5;
    color: white;
}

/* Contact Form */
.contact-form {
    background: var(--card-bg, white);
    border-radius: 28px;
    padding: 2rem;
    box-shadow: var(--shadow-sm, 0 2px 8px rgba(0, 0, 0, 0.04));
    border: 1px solid var(--border-light, rgba(0, 0, 0, 0.02));
}

body.dark .contact-form {
    background: var(--card-bg, #1e2538);
}

@media (max-width: 768px) {
    .contact-form {
        padding: 1.5rem;
    }
}

.form-control,
.form-select {
    border-radius: 16px;
    padding: 0.8rem 1.2rem;
    border: 1px solid #e9ecef;
    background: var(--input-bg, white);
    color: var(--text-primary, #0a2c3d);
}

body.dark .form-control,
body.dark .form-select {
    background: var(--input-bg, #2d3748);
    border-color: var(--border-light, rgba(255, 255, 255, 0.05));
}

.form-control:focus,
.form-select:focus {
    border-color: #0d6efd;
    box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.1);
    outline: none;
}

.btn-submit {
    background: #0d6efd;
    border: none;
    border-radius: 50px;
    padding: 0.8rem 2rem;
    font-weight: 600;
    color: white;
    transition: var(--transition, all 0.2s ease);
}

.btn-submit:hover {
    background: #0b5ed7;
    transform: scale(0.98);
}

/* Location Card */
.location-card {
    background: var(--card-bg, white);
    border-radius: 28px;
    padding: 1.8rem;
    border: 1px solid var(--border-light, rgba(0, 0, 0, 0.02));
    height: 100%;
}

body.dark .location-card {
    background: var(--card-bg, #1e2538);
}

.map-container {
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 1.5rem;
    height: 240px;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/* Office Hours */
.office-hours {
    background: var(--badge-light-bg, #f0f3fa);
    border-radius: 20px;
    padding: 1.2rem;
    border-left: 4px solid #0d6efd;
    margin-bottom: 1.2rem;
}

body.dark .office-hours {
    background: var(--badge-light-bg, #2a3448);
}

/* Emergency Support */
.emergency-support {
    background: var(--badge-light-bg, #f0f3fa);
    border-radius: 20px;
    padding: 1.2rem;
}

body.dark .emergency-support {
    background: var(--badge-light-bg, #2a3448);
}

/* Partnership Section */
.partnership-section {
    background: linear-gradient(145deg, #0b2b40 0%, #0f3a4f 100%);
    border-radius: 32px;
    padding: 2rem;
    color: white;
    margin-top: 2rem;
}

.partner-badge {
    background: rgba(255, 255, 255, 0.15);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.8rem;
}

/* Success Modal */
.modal-success {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 10000;
    align-items: center;
    justify-content: center;
}

.modal-success-content {
    background: var(--card-bg, white);
    max-width: 400px;
    width: 90%;
    border-radius: 28px;
    padding: 2rem;
    text-align: center;
    animation: slideDown 0.3s ease;
}

body.dark .modal-success-content {
    background: var(--card-bg, #1e2538);
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.success-icon {
    font-size: 4rem;
    color: #28a745;
    margin-bottom: 1rem;
}

/* Responsive */
@media (max-width: 768px) {
    .contact-card {
        padding: 1.2rem;
    }

    .contact-card h3 {
        font-size: 1.1rem;
    }

    .location-card {
        padding: 1.2rem;
    }

    .map-container {
        height: 200px;
    }

    .partnership-section {
        padding: 1.5rem;
        text-align: center;
    }

    .partner-badge {
        display: inline-block;
        margin-bottom: 0.5rem;
    }
}

@media (max-width: 576px) {
    .contact-icon {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }

    .contact-link {
        font-size: 0.8rem;
    }

    .btn-submit {
        width: 100%;
    }

    .office-hours .d-flex {
        flex-direction: column;
        gap: 0.3rem;
    }

    .emergency-support .d-flex {
        flex-direction: column;
        text-align: center;
    }
}