/* style/contact.css */

/* Base styles for the contact page */
.page-contact {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333333; /* Default text color for light backgrounds */
    background-color: #ffffff; /* Default background for main content */
}

/* Container for content width */
.page-contact__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    box-sizing: border-box;
}

/* Section Titles and Descriptions */
.page-contact__section-title {
    font-size: 2.5em;
    color: #26A9E0;
    text-align: center;
    margin-bottom: 20px;
    font-weight: bold;
}

.page-contact__section-description {
    font-size: 1.1em;
    text-align: center;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Hero Section */
.page-contact__hero-section {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 600px; /* Adjust height as needed */
    overflow: hidden;
    text-align: center;
    color: #ffffff; /* Light text for dark background */
    background-color: #26A9E0; /* Brand primary color */
    padding-top: var(--header-offset, 120px);
}

.page-contact__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    opacity: 0.6;
}

.page-contact__hero-section .page-contact__container {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-contact__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    font-weight: bold;
    line-height: 1.2;
}

.page-contact__hero-description {
    font-size: 1.3em;
    margin-bottom: 30px;
    max-width: 800px;
}

/* Buttons */
.page-contact__btn-primary,
.page-contact__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    margin: 10px;
    cursor: pointer;
    border: 2px solid transparent;
}

.page-contact__btn-primary {
    background-color: #EA7C07; /* Login color for primary action */
    color: #ffffff;
}

.page-contact__btn-primary:hover {
    background-color: #d16e06;
}

.page-contact__btn-secondary {
    background-color: #ffffff;
    color: #26A9E0;
    border-color: #26A9E0;
}

.page-contact__btn-secondary:hover {
    background-color: #26A9E0;
    color: #ffffff;
}

/* Contact Methods Section */
.page-contact__methods-section {
    padding: 80px 0;
    background-color: #f8f8f8;
}

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

.page-contact__card {
    background-color: #ffffff;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
}

.page-contact__card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-contact__card-icon {
    width: 100%;
    max-width: 200px;
    height: auto;
    margin-bottom: 20px;
    border-radius: 8px;
    object-fit: cover;
}

.page-contact__card-title {
    font-size: 1.5em;
    color: #26A9E0;
    margin-bottom: 15px;
    font-weight: bold;
}

.page-contact__card-text {
    font-size: 1em;
    color: #555555;
    margin-bottom: 25px;
    flex-grow: 1;
}

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

.page-contact__social-link {
    color: #26A9E0;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.page-contact__social-link:hover {
    color: #1a7bb0;
}

/* Contact Form Section */
.page-contact__form-section {
    padding: 80px 0;
    background-color: #26A9E0;
    color: #ffffff;
}

.page-contact__form-section .page-contact__section-title,
.page-contact__form-section .page-contact__section-description {
    color: #ffffff;
}

.page-contact__contact-form {
    max-width: 700px;
    margin: 0 auto;
    background-color: rgba(255, 255, 255, 0.1);
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

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

.page-contact__form-label {
    display: block;
    font-size: 1.1em;
    margin-bottom: 8px;
    font-weight: bold;
}

.page-contact__form-input,
.page-contact__form-textarea {
    width: 100%;
    padding: 14px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 8px;
    background-color: rgba(255, 255, 255, 0.15);
    color: #ffffff;
    font-size: 1em;
    box-sizing: border-box;
}

.page-contact__form-input::placeholder,
.page-contact__form-textarea::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.page-contact__form-input:focus,
.page-contact__form-textarea:focus {
    outline: none;
    border-color: #ffffff;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.3);
}

.page-contact__form-submit-btn {
    width: 100%;
    padding: 15px;
    font-size: 1.2em;
    margin-top: 20px;
    border: none;
}

/* FAQ Section */
.page-contact__faq-section {
    padding: 80px 0;
    background-color: #ffffff;
}

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

.page-contact__faq-item {
    background-color: #f8f8f8;
    border-radius: 10px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-contact__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    background-color: #eaf6fc; /* Light blue background for question */
    transition: background-color 0.3s ease;
}

.page-contact__faq-question:hover {
    background-color: #d6ecf7;
}

.page-contact__faq-title {
    font-size: 1.2em;
    color: #26A9E0;
    margin: 0;
    font-weight: bold;
}

.page-contact__faq-toggle {
    font-size: 1.8em;
    font-weight: bold;
    color: #26A9E0;
    transition: transform 0.3s ease;
}

.page-contact__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 25px;
    transition: max-height 0.3s ease-out, padding 0.3s ease-out;
    color: #555555;
}

.page-contact__faq-answer p {
    padding-bottom: 20px;
    margin: 0;
}

.page-contact__faq-item.active .page-contact__faq-answer {
    max-height: 1000px !important; /* Sufficiently large to show all content */
    padding: 15px 25px;
}

.page-contact__faq-item.active .page-contact__faq-toggle {
    transform: rotate(45deg); /* Change + to X */
}

/* Call to Action Section */
.page-contact__cta-section {
    padding: 80px 0;
    background-color: #26A9E0;
    color: #ffffff;
    text-align: center;
}

.page-contact__cta-section .page-contact__section-title,
.page-contact__cta-section .page-contact__section-description {
    color: #ffffff;
}

.page-contact__cta-buttons {
    margin-top: 30px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-contact__hero-title {
        font-size: 2.8em;
    }
    .page-contact__hero-description {
        font-size: 1.1em;
    }
    .page-contact__section-title {
        font-size: 2em;
    }
    .page-contact__card-title {
        font-size: 1.3em;
    }
}

@media (max-width: 768px) {
    .page-contact__hero-section {
        height: 500px;
        padding-top: var(--header-offset, 120px) !important;
    }
    .page-contact__hero-title {
        font-size: 2.2em;
    }
    .page-contact__hero-description {
        font-size: 1em;
    }
    .page-contact__section-title {
        font-size: 1.8em;
    }
    .page-contact__section-description {
        font-size: 0.95em;
    }
    
    .page-contact__methods-grid {
        grid-template-columns: 1fr;
    }

    .page-contact__contact-form {
        padding: 30px 20px;
    }
    
    /* Mobile responsive images */
    .page-contact img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    
    /* Mobile responsive containers */
    .page-contact__section,
    .page-contact__card,
    .page-contact__container,
    .page-contact__contact-form,
    .page-contact__faq-item {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    
    /* Mobile responsive buttons */
    .page-contact__btn-primary,
    .page-contact__btn-secondary,
    .page-contact a[class*="button"],
    .page-contact a[class*="btn"] {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        margin: 10px 0 !important;
    }
    
    .page-contact__cta-buttons {
        flex-direction: column;
        gap: 10px;
    }
    
    .page-contact__faq-question {
        padding: 15px 20px;
    }
    
    .page-contact__faq-answer {
        padding: 0 20px;
    }
    
    .page-contact__faq-item.active .page-contact__faq-answer {
        padding: 15px 20px;
    }
}

@media (max-width: 480px) {
    .page-contact__hero-title {
        font-size: 1.8em;
    }
    .page-contact__hero-description {
        font-size: 0.9em;
    }
    .page-contact__section-title {
        font-size: 1.5em;
    }
    .page-contact__card-title {
        font-size: 1.2em;
    }
    .page-contact__btn-primary,
    .page-contact__btn-secondary {
        padding: 12px 20px;
        font-size: 1em;
    }
}