/* style/contact.css */

/* Base styles for the contact page */
.page-contact {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333333; /* Dark text for light body background #f4f7f6 */
    background-color: #f4f7f6; /* Ensure consistency with body background */
}

/* Hero Section */
.page-contact__hero-section {
    position: relative;
    display: flex;
    flex-direction: column; /* Image on top, text below */
    align-items: center;
    justify-content: center;
    padding: 10px 0 60px 0; /* Small top padding, larger bottom padding */
    background-color: #08160F; /* Custom background color */
    color: #F2FFF6; /* Main text color for dark background */
    text-align: center;
    overflow: hidden;
}

.page-contact__hero-image-wrapper {
    width: 100%;
    max-height: 500px; /* Limit height for hero image */
    overflow: hidden;
    margin-bottom: 30px; /* Space between image and text */
}

.page-contact__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    filter: brightness(0.7); /* Slightly dim the image for better text readability if it were overlaid, though text is below */
}

.page-contact__hero-content {
    position: relative; /* Ensure content is above any potential background elements */
    z-index: 2;
    max-width: 900px;
    padding: 0 20px;
}

.page-contact__main-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem); /* Responsive font size for H1 */
    font-weight: 700;
    margin-bottom: 20px;
    color: #F2FFF6; /* Main text color */
    line-height: 1.2;
}

.page-contact__description {
    font-size: 1.25rem;
    margin-bottom: 30px;
    color: #A7D9B8; /* Secondary text color */
}

/* Call to Action Button */
.page-contact__cta-button {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal; /* Allow text to wrap */
    word-wrap: break-word; /* Break long words */
}

.page-contact__btn-primary {
    background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Custom button gradient */
    color: #ffffff;
    border: none;
}

.page-contact__btn-primary:hover {
    filter: brightness(1.1);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.page-contact__btn-secondary {
    background: #ffffff;
    color: #11A84E; /* Brand primary color for text */
    border: 2px solid #11A84E; /* Brand primary color for border */
}

.page-contact__btn-secondary:hover {
    background: #11A84E;
    color: #ffffff;
}

/* General Section Styling */
.page-contact__section {
    padding: 60px 20px;
    background-color: #f4f7f6; /* Light background for most sections */
    color: #333333; /* Dark text for light background */
}

.page-contact__dark-section {
    background-color: #08160F; /* Dark background */
    color: #F2FFF6; /* Light text for dark background */
}

.page-contact__light-bg {
    background-color: #ffffff; /* Explicitly white background */
    color: #333333; /* Dark text */
}

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

.page-contact__section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 30px;
    text-align: center;
    color: #11A84E; /* Brand primary color for section titles */
}

.page-contact__dark-section .page-contact__section-title {
    color: #F2C14E; /* Gold color for titles on dark background */
}

.page-contact__text-block {
    font-size: 1.1rem;
    margin-bottom: 20px;
    text-align: justify;
}

.page-contact__text-block a {
    color: #11A84E;
    text-decoration: underline;
}

.page-contact__dark-section .page-contact__text-block a {
    color: #F2C14E;
}

/* Channels Section Specifics */
.page-contact__channels-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-contact__channel-card {
    background-color: #11271B; /* Card background color */
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #F2FFF6; /* Light text for card background */
}

.page-contact__channel-icon {
    width: 100%; /* Ensure image takes full width of card container */
    max-width: 300px; /* Max width for icon within card */
    height: auto;
    margin-bottom: 20px;
    border-radius: 8px;
    object-fit: cover;
}

.page-contact__channel-title {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #F2C14E; /* Gold color for channel titles */
}

.page-contact__channel-description {
    font-size: 1rem;
    margin-bottom: 15px;
    color: #A7D9B8; /* Secondary text color */
}

.page-contact__channel-info {
    font-size: 1.1rem;
    font-weight: 500;
    color: #F2FFF6;
    margin-top: 10px;
}

/* Guide Section Specifics */
.page-contact__guide-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-contact__step-item {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    color: #333333;
}

.page-contact__step-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #11A84E;
}

.page-contact__step-description {
    font-size: 1rem;
    color: #555555;
}

/* FAQ Section Specifics */
.page-contact__faq-list {
    margin-top: 40px;
}

.page-contact__faq-item {
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    color: #333333;
}

.page-contact__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    background-color: #f9f9f9;
    color: #11A84E; /* Brand primary for question text */
    border-bottom: 1px solid #e0e0e0;
    list-style: none; /* For details/summary */
}

.page-contact__faq-item[open] .page-contact__faq-question {
    background-color: #f0f0f0;
}

.page-contact__faq-question::-webkit-details-marker {
    display: none;
}

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

.page-contact__faq-toggle {
    font-size: 1.5rem;
    font-weight: 700;
    width: 30px;
    text-align: center;
    transition: transform 0.3s ease;
    color: #11A84E;
}

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

.page-contact__faq-answer {
    padding: 20px 25px;
    font-size: 1rem;
    color: #555555;
    background-color: #ffffff;
}

/* CTA Section Specifics */
.page-contact__cta-section .page-contact__section-title,
.page-contact__cta-section .page-contact__text-block {
    text-align: center;
}

.page-contact__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
    flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-contact__main-title {
        font-size: clamp(2rem, 6vw, 3rem);
    }
    .page-contact__section-title {
        font-size: 2rem;
    }
    .page-contact__channels-grid,
    .page-contact__guide-steps {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

@media (max-width: 768px) {
    .page-contact {
        font-size: 16px;
        line-height: 1.6;
    }
    .page-contact__hero-section {
        padding: 10px 15px 40px 15px;
    }
    .page-contact__main-title {
        font-size: clamp(1.8rem, 8vw, 2.5rem);
    }
    .page-contact__description {
        font-size: 1rem;
    }
    .page-contact__section {
        padding: 40px 15px;
    }
    .page-contact__section-title {
        font-size: 1.8rem;
    }
    .page-contact__text-block {
        font-size: 0.95rem;
    }
    .page-contact__channels-grid,
    .page-contact__guide-steps {
        grid-template-columns: 1fr;
    }
    .page-contact__channel-card,
    .page-contact__step-item,
    .page-contact__faq-item {
        padding: 20px;
    }
    .page-contact__channel-title {
        font-size: 1.5rem;
    }
    .page-contact__faq-question {
        font-size: 1.1rem;
        padding: 15px 20px;
    }
    .page-contact__faq-answer {
        padding: 15px 20px;
    }
    .page-contact__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
    .page-contact__cta-button,
    .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;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-contact__cta-buttons,
    .page-contact__button-group,
    .page-contact__btn-container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        flex-wrap: wrap !important;
        gap: 10px;
    }
    .page-contact img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-contact__section,
    .page-contact__card,
    .page-contact__container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-contact__video-section {
        padding-top: 10px !important;
    }
}

/* Ensure no filter on images */
.page-contact img {
    filter: none;
}