/* ===========================
   Contact Page Styles
   =========================== */

:root {
    --primary-color: #0aa026;
    --secondary-color: #00d1b2;
    --text-light: #ffffff;
    --text-dark: #1a1a1a;
    --text-muted: #888888;
    --bg-dark: #0a192f;
    --bg-light: #0f1f35;
    --border-color: #1a2f4a;
    --card-bg: #111d2d;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 8px 16px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 16px 32px rgba(0, 0, 0, 0.4);
}

body.light {
    --text-light: #1a1a1a;
    --text-dark: #ffffff;
    --text-muted: #666666;
    --bg-dark: #f5f7fa;
    --bg-light: #ffffff;
    --border-color: #d0d0d0;
    --card-bg: #ffffff;
}

/* ===========================
   Hero Section
   =========================== */

.contact-hero {
    background: linear-gradient(135deg, var(--bg-dark) 0%, rgba(10, 160, 38, 0.05) 100%);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.contact-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: rgba(10, 160, 38, 0.1);
    filter: blur(100px);
    z-index: 0;
}

.contact-hero .container {
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 3rem;
    font-weight: 800;
    color: var(--text-light);
    margin-bottom: 15px;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.6;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* ===========================
   Quick Contact Cards
   =========================== */

.contact-quick {
    background: var(--bg-light);
    padding: 60px 0;
    border-top: 1px solid var(--border-color);
}

.quick-card {
    background: var(--card-bg);
    border-radius: 12px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
    height: 100%;
}

.quick-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
    box-shadow: var(--shadow-lg);
}

.quick-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.quick-card:hover .quick-icon {
    transform: scale(1.2);
}

.quick-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: 15px;
}

.quick-card p {
    color: var(--text-muted);
    margin-bottom: 20px;
    font-size: 0.95rem;
    line-height: 1.6;
}

.contact-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
}

.contact-link:hover {
    color: var(--secondary-color);
    transform: translateX(5px);
}

.support-hours {
    color: var(--text-light);
    font-weight: 700;
    font-size: 1.1rem;
    display: block;
    margin-top: 10px;
}

/* ===========================
   Contact Form Section
   =========================== */

.contact-form-section {
    background: var(--bg-dark);
    padding: 80px 0;
    border-top: 1px solid var(--border-color);
}

.form-wrapper {
    background: var(--card-bg);
    border-radius: 12px;
    padding: 50px;
    border: 1px solid var(--border-color);
}

.form-wrapper h2 {
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-light);
    margin-bottom: 15px;
}

.form-description {
    color: var(--text-muted);
    margin-bottom: 40px;
    font-size: 1rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
}

.form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.form-row .form-group {
    flex: 1;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    color: var(--text-light);
    font-weight: 600;
    font-size: 0.95rem;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background: var(--bg-light);
    color: var(--text-light);
    font-size: 0.95rem;
    transition: all 0.3s ease;
    font-family: inherit;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    background: var(--card-bg);
    box-shadow: 0 0 0 3px rgba(10, 160, 38, 0.1);
}

.form-control::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.form-control option {
    background: var(--bg-light);
    color: var(--text-light);
}

textarea.form-control {
    resize: vertical;
    min-height: 150px;
}

.char-count {
    display: block;
    margin-top: 8px;
    color: var(--text-muted);
    font-size: 0.85rem;
}

.form-group button {
    padding: 15px 40px;
    font-size: 1rem;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    background: var(--primary-color);
    color: white;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.form-group button:hover {
    background: var(--secondary-color);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.form-disclaimer {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-top: 20px;
}

.form-disclaimer a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}

.form-disclaimer a:hover {
    text-decoration: underline;
}

/* ===========================
   Offices Section
   =========================== */

.contact-offices {
    background: var(--bg-light);
    padding: 80px 0;
    border-top: 1px solid var(--border-color);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-light);
    margin-bottom: 15px;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin: 0;
}

.office-card {
    background: var(--card-bg);
    border-radius: 12px;
    padding: 40px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
    height: 100%;
}

.office-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
    box-shadow: var(--shadow-lg);
}

.office-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.office-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: 20px;
}

.office-address {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.8;
    margin-bottom: 25px;
}

.office-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.office-link:hover {
    color: var(--secondary-color);
    transform: translateX(5px);
}

/* ===========================
   FAQ Section
   =========================== */

.contact-faq {
    background: var(--bg-dark);
    padding: 80px 0;
    border-top: 1px solid var(--border-color);
}

.faq-accordion {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.faq-item {
    background: var(--card-bg);
    border-radius: 12px;
    border: 1px solid var(--border-color);
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: var(--primary-color);
}

.faq-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: var(--card-bg);
    user-select: none;
}

.faq-header:hover {
    background: rgba(10, 160, 38, 0.05);
}

.faq-item.active .faq-header {
    background: rgba(10, 160, 38, 0.1);
    border-bottom: 2px solid var(--primary-color);
}

.faq-header h4 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-light);
    flex: 1;
}

.faq-toggle {
    font-size: 1.2rem;
    color: var(--primary-color);
    transition: transform 0.3s ease;
    flex-shrink: 0;
    margin-left: 20px;
}

.faq-item.active .faq-toggle {
    transform: rotate(180deg);
}

.faq-content {
    max-height: 0;
    overflow: hidden;
    padding: 0 25px;
    transition: all 0.3s ease;
}

.faq-item.active .faq-content {
    max-height: 500px;
    padding: 25px;
    border-top: 1px solid var(--border-color);
}

.faq-content p {
    color: var(--text-muted);
    line-height: 1.8;
    margin: 0;
    font-size: 0.95rem;
}

.faq-content a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}

.faq-content a:hover {
    text-decoration: underline;
}

/* ===========================
   Responsive Design
   =========================== */

@media (max-width: 768px) {
    .contact-hero {
        padding: 60px 0;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .form-wrapper {
        padding: 30px;
    }

    .form-row {
        flex-direction: column;
        gap: 0;
    }

    .form-row .form-group {
        margin-bottom: 20px;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .office-card {
        padding: 30px;
    }

    .quick-card {
        padding: 30px 20px;
    }

    .quick-card h3 {
        font-size: 1.2rem;
    }

    .faq-header {
        padding: 20px;
    }

    .faq-header h4 {
        font-size: 1rem;
    }

    .faq-content {
        padding: 0 20px !important;
    }

    .faq-item.active .faq-content {
        padding: 20px !important;
    }
}

@media (max-width: 480px) {
    .contact-hero {
        padding: 40px 0;
    }

    .hero-title {
        font-size: 1.7rem;
    }

    .section-header h2 {
        font-size: 1.5rem;
    }

    .form-wrapper {
        padding: 20px;
    }

    .form-group button {
        width: 100%;
        justify-content: center;
    }

    .quick-card {
        padding: 25px 15px;
        margin-bottom: 20px;
    }

    .quick-icon {
        font-size: 2.5rem;
    }

    .office-card {
        padding: 25px 15px;
        margin-bottom: 20px;
    }

    .office-address {
        font-size: 0.9rem;
    }

    .faq-header {
        padding: 15px;
        flex-direction: column;
        align-items: flex-start;
    }

    .faq-header h4 {
        font-size: 0.95rem;
        margin-bottom: 10px;
    }

    .faq-toggle {
        align-self: flex-end;
        margin-top: -25px;
        margin-left: 0;
    }

    .form-control {
        padding: 10px 12px;
        font-size: 0.9rem;
    }
}
