/* style/contact.css */
:root {
    --primary-color: #007BFF;
    --secondary-color: #28A745;
    --text-color-dark: #333333;
    --text-color-light: #ffffff;
    --background-dark: #000000;
    --background-light: #f1f3f5;
    --card-background: #ffffff;
    --border-color: #e0e0e0;
}

/* Base styles for the contact page */
.page-contact {
    color: var(--text-color-light); /* Light text on dark body background */
    background-color: var(--background-dark); /* Inherits from body, but explicitly set for clarity */
    line-height: 1.6;
    font-family: 'Arial', sans-serif;
}

/* Fixed navigation bar spacing */
.page-contact__hero-contact-section {
    padding-top: 120px; /* Desktop: Adjust based on actual header height */
    padding-bottom: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    text-align: center;
}

.page-contact__container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.page-contact__main-title {
    font-size: 3.2em;
    color: var(--text-color-light);
    margin-bottom: 20px;
    font-weight: bold;
    line-height: 1.2;
}

.page-contact__subtitle {
    font-size: 1.2em;
    color: rgba(255, 255, 255, 0.9);
    max-width: 800px;
    margin: 0 auto;
}

/* Contact Info Section */
.page-contact__contact-info-section {
    padding: 60px 0;
    background-color: var(--background-dark);
}

.page-contact__info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.page-contact__info-card {
    background-color: var(--card-background);
    color: var(--text-color-dark);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-contact__info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.page-contact__info-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
    display: block;
    margin-left: auto;
    margin-right: auto;
    max-width: 100%;
    height: auto;
}

.page-contact__card-title {
    font-size: 1.8em;
    color: var(--primary-color);
    margin-bottom: 15px;
    font-weight: bold;
}

.page-contact__card-text, .page-contact__info-card address {
    font-size: 1em;
    color: var(--text-color-dark);
    margin-bottom: 20px;
}

.page-contact__btn-link {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--text-color-light);
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.page-contact__btn-link:hover {
    background-color: var(--secondary-color);
}

/* Contact Form Section */
.page-contact__contact-form-section {
    padding: 60px 0;
    background-color: var(--background-dark);
}

.page-contact__form-card {
    background-color: var(--card-background);
    color: var(--text-color-dark);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    max-width: 700px;
    margin: 0 auto;
}

.page-contact__form-title {
    font-size: 2.2em;
    color: var(--primary-color);
    margin-bottom: 15px;
    text-align: center;
    font-weight: bold;
}

.page-contact__form-description {
    font-size: 1em;
    color: var(--text-color-dark);
    margin-bottom: 30px;
    text-align: center;
}

.page-contact__form-group {
    margin-bottom: 20px;
}

.page-contact__form-label {
    display: block;
    font-size: 1em;
    color: var(--text-color-dark);
    margin-bottom: 8px;
    font-weight: bold;
}

.page-contact__form-input,
.page-contact__form-textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-size: 1em;
    color: var(--text-color-dark);
    background-color: #fcfcfc;
    box-sizing: border-box;
}

.page-contact__form-input::placeholder,
.page-contact__form-textarea::placeholder {
    color: #888;
}

.page-contact__form-textarea {
    resize: vertical;
}

.page-contact__btn-submit {
    display: block;
    width: 100%;
    background-color: var(--primary-color);
    color: var(--text-color-light);
    padding: 15px;
    border: none;
    border-radius: 5px;
    font-size: 1.1em;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.page-contact__btn-submit:hover {
    background-color: var(--secondary-color);
}

/* FAQ Section */
.page-contact__faq-section {
    padding: 60px 0;
    background-color: var(--background-dark);
}

.page-contact__faq-main-title {
    font-size: 2.5em;
    color: var(--text-color-light);
    margin-bottom: 40px;
    text-align: center;
    font-weight: bold;
}

.page-contact__faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.page-contact__faq-item {
    margin-bottom: 15px;
    border-radius: 5px;
    overflow: hidden;
}

.page-contact__faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
    padding: 0 15px;
    opacity: 0;
    color: var(--text-color-dark);
}

.page-contact__faq-item.active .page-contact__faq-answer {
    max-height: 2000px !important;
    padding: 20px 15px !important;
    opacity: 1;
    background: #f9f9f9;
    border-radius: 0 0 5px 5px;
}

.page-contact__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 20px;
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    cursor: pointer;
    user-select: none;
    transition: background-color 0.3s ease, border-color 0.3s ease;
    position: relative;
}

.page-contact__faq-question:hover {
    background: #f5f5f5;
    border-color: #d0d0d0;
}

.page-contact__faq-question:active {
    background: #eeeeee;
}

.page-contact__faq-question h3 {
    margin: 0;
    padding: 0;
    flex: 1;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.5;
    pointer-events: none;
    color: var(--text-color-dark);
}

.page-contact__faq-toggle {
    font-size: 24px;
    font-weight: bold;
    line-height: 1;
    color: #666;
    transition: transform 0.3s ease, color 0.3s ease;
    flex-shrink: 0;
    margin-left: 15px;
    pointer-events: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
}

.page-contact__faq-item.active .page-contact__faq-toggle {
    color: var(--primary-color);
}

.page-contact__faq-answer p a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: bold;
}

.page-contact__faq-answer p a:hover {
    text-decoration: underline;
}

/* Social Media Section */
.page-contact__social-media-section {
    padding: 60px 0;
    background-color: var(--background-dark);
    text-align: center;
}

.page-contact__social-title {
    font-size: 2.5em;
    color: var(--text-color-light);
    margin-bottom: 20px;
    font-weight: bold;
}

.page-contact__social-description {
    font-size: 1.1em;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 30px;
}

.page-contact__social-links {
    display: flex;
    justify-content: center;
    gap: 25px;
}

.page-contact__social-icon-link {
    display: block;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.page-contact__social-icon-link:hover {
    background-color: var(--primary-color);
    transform: translateY(-5px);
}

.page-contact__social-icon {
    width: 40px;
    height: 40px;
    max-width: 100%;
    height: auto;
}

/* Responsive Design */
@media (max-width: 768px) {
    .page-contact {
        font-size: 16px;
        line-height: 1.6;
    }

    .page-contact__hero-contact-section {
        padding-top: 100px !important; /* Mobile: Adjust based on actual header height */
        padding-bottom: 40px;
    }

    .page-contact__main-title {
        font-size: 2.2em;
    }

    .page-contact__subtitle {
        font-size: 1em;
    }

    .page-contact__contact-info-section,
    .page-contact__contact-form-section,
    .page-contact__faq-section,
    .page-contact__social-media-section {
        padding: 40px 0;
    }

    .page-contact__info-grid {
        grid-template-columns: 1fr;
    }

    .page-contact__info-card {
        padding: 25px;
    }

    .page-contact__info-icon {
        width: 60px;
        height: 60px;
        margin-bottom: 15px;
    }

    .page-contact__card-title {
        font-size: 1.5em;
    }

    .page-contact__form-card {
        padding: 30px 20px;
    }

    .page-contact__form-title {
        font-size: 1.8em;
    }

    .page-contact__faq-main-title {
        font-size: 2em;
    }

    .page-contact__faq-question {
        padding: 15px;
        flex-wrap: wrap;
    }
    
    .page-contact__faq-question h3 {
        font-size: 15px;
        margin-bottom: 0;
        width: calc(100% - 40px);
    }
    
    .page-contact__faq-toggle {
        margin-left: 10px;
        width: 24px;
        height: 24px;
        font-size: 20px;
    }
    
    .page-contact__faq-answer {
        padding: 0 15px;
    }
    
    .page-contact__faq-item.active .page-contact__faq-answer {
        padding: 15px !important;
    }

    .page-contact__social-title {
        font-size: 2em;
    }

    .page-contact__social-icon-link {
        width: 50px;
        height: 50px;
    }

    .page-contact__social-icon {
        width: 30px;
        height: 30px;
    }

    /* Mobile image responsive fix */
    .page-contact img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    
    .page-contact__container, 
    .page-contact__info-card, 
    .page-contact__form-card, 
    .page-contact__faq-list, 
    .page-contact__social-links {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-contact__form-input, .page-contact__form-textarea, .page-contact__btn-submit {
        width: 100% !important;
    }
}