/* style/contact.css */

/* Base styles for the page-contact scope */
.page-contact {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #F2FFF6; /* Main text color for dark background */
    background-color: #08160F; /* Page background color */
}

/* Hero Section */
.page-contact__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column; /* Image on top, content below */
    align-items: center;
    padding: 60px 20px;
    padding-top: 10px; /* Small top padding, body handles header offset */
    text-align: center;
    overflow: hidden; /* Ensure content doesn't overflow */
}

.page-contact__hero-image-wrapper {
    width: 100%;
    max-width: 1920px; /* Max width for the image */
    margin-bottom: 30px; /* Space between image and content */
}

.page-contact__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    border-radius: 10px;
}

.page-contact__hero-content {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 15px;
    box-sizing: border-box;
}

.page-contact__hero-title {
    font-size: clamp(2.2rem, 4vw, 3rem); /* Responsive H1 font size */
    font-weight: bold;
    color: #F2FFF6;
    margin-bottom: 20px;
    line-height: 1.2;
    letter-spacing: -0.5px;
}

.page-contact__hero-description {
    font-size: 1.1rem;
    color: #A7D9B8; /* Secondary text color */
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* General Section Styles */
.page-contact__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    box-sizing: border-box;
}

.page-contact__section-title {
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    color: #F2FFF6;
    text-align: center;
    margin-bottom: 20px;
    font-weight: bold;
}

.page-contact__section-description {
    font-size: 1rem;
    color: #A7D9B8;
    text-align: center;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Button Styles */
.page-contact__btn-primary,
.page-contact__btn-secondary {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1rem;
    transition: all 0.3s ease;
    cursor: pointer;
    text-align: center;
    max-width: 100%; /* Ensure button responsiveness */
    box-sizing: border-box;
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Allow text wrapping */
}

.page-contact__btn-primary {
    background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
    color: #ffffff;
    border: none;
    box-shadow: 0 4px 15px rgba(42, 209, 111, 0.3);
}

.page-contact__btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(42, 209, 111, 0.4);
}

.page-contact__btn-secondary {
    background: transparent;
    color: #2AD16F;
    border: 2px solid #2AD16F;
    box-shadow: 0 2px 8px rgba(42, 209, 111, 0.1);
}

.page-contact__btn-secondary:hover {
    background: rgba(42, 209, 111, 0.1);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(42, 209, 111, 0.2);
}

/* Link Styles */
.page-contact__link {
    color: #2AD16F;
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-contact__link:hover {
    color: #57E38D; /* Glow color for hover */
    text-decoration: underline;
}

/* Channels Section */
.page-contact__channels-section {
    background-color: #08160F; /* Consistent with body background */
    padding: 80px 0;
}

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

.page-contact__channel-card {
    background-color: #11271B; /* Card Background */
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
    border: 1px solid #2E7A4E; /* Border color */
}

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

.page-contact__channel-title {
    font-size: 1.5rem;
    color: #F2FFF6;
    margin-bottom: 15px;
    font-weight: bold;
}

.page-contact__channel-text,
.page-contact__channel-email,
.page-contact__channel-phone {
    font-size: 0.95rem;
    color: #A7D9B8;
    margin-bottom: 20px;
    flex-grow: 1; /* Push button to bottom */
}

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

.page-contact__social-icon-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #0A4B2C; /* Deep Green */
    color: #F2FFF6;
    padding: 8px 15px;
    border-radius: 5px;
    text-decoration: none;
    font-size: 0.9rem;
    transition: background-color 0.3s ease;
}

.page-contact__social-icon-link:hover {
    background-color: #13994A; /* Darker green on hover */
}

/* When to Contact Section */
.page-contact__when-to-contact-section {
    background-color: #11A84E; /* Brand primary color for a dark section */
    color: #ffffff; /* White text for dark background */
    padding: 80px 0;
}

.page-contact__when-to-contact-section .page-contact__section-title {
    color: #ffffff;
}

.page-contact__when-to-contact-section .page-contact__section-description {
    color: rgba(255, 255, 255, 0.8);
}

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

.page-contact__reason-card {
    background-color: rgba(0, 0, 0, 0.3); /* Slightly transparent dark background */
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-contact__reason-title {
    font-size: 1.3rem;
    color: #F2FFF6;
    margin-bottom: 10px;
    font-weight: bold;
}

.page-contact__reason-text {
    font-size: 0.95rem;
    color: #A7D9B8;
}

.page-contact__cta-block {
    text-align: center;
    margin-top: 50px;
}

.page-contact__cta-text {
    font-size: 1.2rem;
    color: #F2FFF6;
    margin-bottom: 25px;
    font-weight: bold;
}

/* Process Section */
.page-contact__process-section {
    background-color: #08160F;
    padding: 80px 0;
}

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

.page-contact__process-card {
    background-color: #11271B;
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    border: 1px solid #2E7A4E;
}

.page-contact__step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
    color: #ffffff;
    border-radius: 50%;
    font-size: 1.8rem;
    font-weight: bold;
    margin-bottom: 20px;
    box-shadow: 0 3px 10px rgba(42, 209, 111, 0.3);
}

.page-contact__step-title {
    font-size: 1.4rem;
    color: #F2FFF6;
    margin-bottom: 10px;
    font-weight: bold;
}

.page-contact__step-text {
    font-size: 0.95rem;
    color: #A7D9B8;
}

/* FAQ Section */
.page-contact__faq-section {
    background-color: #11271B; /* Card BG color for a dark section */
    padding: 80px 0;
}

.page-contact__faq-section .page-contact__section-title {
    color: #F2FFF6;
}

.page-contact__faq-section .page-contact__section-description {
    color: #A7D9B8;
}

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

.page-contact__faq-item {
    background-color: #0A4B2C; /* Deep Green for FAQ item background */
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    border: 1px solid #2E7A4E;
}

.page-contact__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    font-size: 1.1rem;
    color: #F2FFF6;
    font-weight: bold;
    cursor: pointer;
    background-color: #0A4B2C;
    transition: background-color 0.3s ease;
    list-style: none; /* For <summary> tag */
}

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

.page-contact__faq-question:hover {
    background-color: #13994A; /* Slightly lighter green on hover */
}

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

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

/* For <details> tag, rotate toggle on open */
.page-contact__faq-item[open] .page-contact__faq-toggle {
    transform: rotate(45deg);
}

.page-contact__faq-answer {
    padding: 0 25px 20px 25px;
    font-size: 0.95rem;
    color: #A7D9B8;
    background-color: #11271B; /* Card BG for answer content */
    border-top: 1px solid #2E7A4E;
}

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


/* Commitment Section */
.page-contact__commitment-section {
    background-color: #08160F;
    padding: 80px 0;
    text-align: center;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-contact__hero-title {
        font-size: clamp(2rem, 5vw, 2.8rem);
    }
    .page-contact__section-title {
        font-size: clamp(1.6rem, 4.5vw, 2.2rem);
    }
}

@media (max-width: 768px) {
    .page-contact {
        font-size: 16px;
        line-height: 1.6;
    }
    .page-contact__hero-section {
        padding: 40px 15px;
        padding-top: 10px !important; /* body handles --header-offset, this is just aesthetic */
    }
    .page-contact__hero-image {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    .page-contact__hero-content {
        padding: 0 10px;
    }
    .page-contact__hero-title {
        font-size: clamp(1.8rem, 6vw, 2.5rem);
    }
    .page-contact__hero-description {
        font-size: 1rem;
    }
    .page-contact__container {
        padding: 30px 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    .page-contact__section-title {
        font-size: clamp(1.5rem, 5.5vw, 2rem);
    }
    .page-contact__channel-grid,
    .page-contact__reason-grid,
    .page-contact__process-steps {
        grid-template-columns: 1fr;
    }
    .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;
        display: flex;
        flex-direction: column;
    }

    /* Image responsive for mobile */
    .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;
    }

    /* Video responsive for mobile (if any) */
    .page-contact video,
    .page-contact__video {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-contact__video-section,
    .page-contact__video-container,
    .page-contact__video-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important;
    }
    .page-contact__video-section {
        padding-top: 10px !important;
    }
    .page-contact__video-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
}

/* Dark background ensures light text is used, meeting contrast requirements */
/* These are already applied via specific element styling or the base .page-contact rule */
/* .page-contact__dark-section is explicitly set for a few sections */
.page-contact__dark-section {
    background-color: #11A84E; /* Primary brand color */
    color: #ffffff;
}
.page-contact__dark-section .page-contact__section-title {
    color: #ffffff;
}
.page-contact__dark-section .page-contact__section-description {
    color: rgba(255, 255, 255, 0.8);
}

/* No CSS filters on images */
.page-contact img {
    filter: none;
}