/* style/contact.css */

/* Base styles for the page-contact scope */
.page-contact {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333333; /* Default dark text for light body background */
    background-color: #FFFFFF; /* Explicitly set for clarity if shared doesn't */
    padding-bottom: 50px; /* Add some padding at the bottom */
}

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

/* Hero Section */
.page-contact__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 60px 20px;
    padding-top: 10px; /* Small top padding as body handles header offset */
    background-color: #f0f8ff; /* Light background for hero */
}

.page-contact__hero-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    box-sizing: border-box;
    display: flex;
    flex-direction: column; /* Image above text */
    align-items: center;
    gap: 30px;
}

.page-contact__hero-image {
    width: 100%;
    height: auto;
    max-width: 100%;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    display: block; /* Ensure image is a block element */
}

.page-contact__hero-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.page-contact__main-title {
    font-size: 2.8em;
    font-weight: 700;
    color: #26A9E0;
    margin-bottom: 20px;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.page-contact__intro-text {
    font-size: 1.1em;
    color: #555555;
    margin-bottom: 30px;
}

/* Buttons */
.page-contact__cta-button {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 5px;
    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;
    cursor: pointer;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-contact__btn-primary {
    background-color: #26A9E0;
    color: #ffffff;
    border: 2px solid #26A9E0;
}

.page-contact__btn-primary:hover {
    background-color: #1e87c2;
    border-color: #1e87c2;
}

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

.page-contact__btn-secondary:hover {
    background-color: #e0f2ff;
    color: #1e87c2;
    border-color: #1e87c2;
}

/* Section titles and descriptions */
.page-contact__section-title {
    font-size: 2.2em;
    font-weight: 700;
    color: #26A9E0;
    text-align: center;
    margin-bottom: 20px;
}

.page-contact__section-title--white {
    color: #ffffff;
}

.page-contact__description {
    font-size: 1em;
    color: #555555;
    text-align: center;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-contact__description--white {
    color: #f0f0f0;
}

/* Contact Info Section */
.page-contact__contact-info-section {
    padding: 80px 0;
    background-color: #f9f9f9; /* Light background for contrast */
}

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

.page-contact__info-card {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
}

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

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

.page-contact__card-detail {
    font-size: 1em;
    color: #333333;
    font-weight: bold;
    margin-bottom: 15px;
}

.page-contact__card-detail a {
    color: #26A9E0;
    text-decoration: none;
}

.page-contact__card-detail a:hover {
    text-decoration: underline;
}

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

.page-contact__social-icon img {
    
    
    border-radius: 50%;
    transition: transform 0.3s ease;
    display: block; /* Ensure images are block for proper sizing */
}

.page-contact__social-icon img:hover {
    transform: translateY(-5px);
}

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

.page-contact__contact-form {
    max-width: 700px;
    margin: 0 auto;
    background-color: rgba(255, 255, 255, 0.1);
    padding: 40px;
    border-radius: 8px;
    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: 500;
    color: #ffffff;
}

.page-contact__form-input,
.page-contact__form-textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 5px;
    background-color: rgba(255, 255, 255, 0.1);
    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;
    background-color: rgba(255, 255, 255, 0.2);
}

.page-contact__form-textarea {
    resize: vertical;
    min-height: 120px;
}

/* 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: #f0f8ff; /* Light blue background for FAQ item */
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.page-contact__faq-item summary {
    list-style: none; /* Hide default marker */
}

.page-contact__faq-item summary::-webkit-details-marker {
    display: none; /* Hide default marker for webkit */
}

.page-contact__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    background-color: #26A9E0; /* Brand color for question */
    color: #ffffff;
    font-size: 1.2em;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

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

.page-contact__faq-qtext {
    flex-grow: 1;
}

.page-contact__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    margin-left: 15px;
    transition: transform 0.3s ease;
}

.page-contact__faq-item[open] .page-contact__faq-toggle {
    transform: rotate(45deg); /* Rotate for 'x' or '-' effect */
}

.page-contact__faq-answer {
    padding: 20px 25px;
    background-color: #e0f2ff; /* Lighter blue for answer background */
    color: #333333;
    font-size: 1em;
    border-top: 1px solid #c0e0f0;
}

.page-contact__faq-answer p {
    margin-bottom: 0;
    color: #333333; /* Ensure dark text */
}

.page-contact__faq-answer a {
    color: #26A9E0;
    text-decoration: none;
}

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

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

.page-contact__cta-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.page-contact__cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    width: 100%; /* Ensure container fills width for mobile wrapping */
}

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

    .page-contact__container,
    .page-contact__hero-section,
    .page-contact__contact-info-section,
    .page-contact__form-section,
    .page-contact__faq-section,
    .page-contact__cta-section {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px !important;
        padding-right: 15px !important;
    }
    
    .page-contact__hero-section {
        padding-top: 10px !important; /* Ensure small padding, not --header-offset */
    }

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

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

    .page-contact__hero-image,
    .page-contact__social-icon img {
        max-width: 100% !important;
        height: auto !important;
        display: block !important;
    }

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

    .page-contact__cta-buttons {
        flex-direction: column !important; /* Stack buttons vertically */
        gap: 15px !important;
    }

    .page-contact__cta-button {
        max-width: 100% !important;
        width: 100% !important;
        padding: 12px 20px !important;
        font-size: 1em !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }
    
    .page-contact__faq-question {
        font-size: 1.1em;
        padding: 15px 20px;
    }
    
    .page-contact__faq-answer {
        padding: 15px 20px;
    }
}

/* Specific color rules from custom settings */
.page-contact__btn-login { /* Example for login button */
    background-color: #EA7C07;
    border-color: #EA7C07;
    color: #FFFFFF;
}
.page-contact__btn-login:hover {
    background-color: #d16e06;
    border-color: #d16e06;
}

/* Ensure all images and video elements are responsive */
.page-contact img,
.page-contact video,
.page-contact__video { /* If video is ever added */
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
}

/* All containers with images/videos should handle overflow */
.page-contact__section,
.page-contact__card,
.page-contact__container,
.page-contact__hero-container,
.page-contact__info-card,
.page-contact__faq-item,
.page-contact__contact-form,
.page-contact__cta-container,
.page-contact__cta-buttons,
.page-contact__social-links {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important; /* Prevent content overflow */
}