.page-contact {
    color: var(--text-main); /* #F2FFF6 */
    background-color: var(--bg-main); /* #08160F */
    line-height: 1.6;
    font-family: Arial, sans-serif;
}

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

.page-contact__section {
    padding: 60px 0;
    position: relative;
}

.page-contact__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 10px 0 60px 0; /* body handles top padding, only small decorative padding here */
    overflow: hidden; /* Ensure content doesn't overflow */
}

.page-contact__hero-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.page-contact__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.5); /* Darken image for text readability, not color change */
    min-width: 200px;
    min-height: 200px;
    filter: none; /* No CSS filters to change image colors */
}

.page-contact__hero-content {
    position: relative;
    z-index: 2;
    color: #ffffff; /* Explicitly white for contrast on darkened image */
    max-width: 800px;
    padding: 20px;
    background-color: rgba(0, 0, 0, 0.4); /* Slightly transparent dark background for text */
    border-radius: 10px;
}

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

.page-contact__description {
    font-size: 1.1rem;
    margin-bottom: 30px;
    color: var(--text-secondary); /* #A7D9B8 */
}

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

.page-contact__btn-primary,
.page-contact__btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    cursor: pointer;
    box-sizing: border-box;
    max-width: 100%; /* Ensure buttons don't overflow */
    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%);
    color: #ffffff;
    border: 2px solid transparent;
}

.page-contact__btn-primary:hover {
    background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
    box-shadow: 0 0 15px var(--glow); /* #57E38D */
}

.page-contact__btn-secondary {
    background: transparent;
    color: var(--text-main); /* #F2FFF6 */
    border: 2px solid var(--border); /* #2E7A4E */
}

.page-contact__btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: var(--glow); /* #57E38D */
    color: var(--glow); /* #57E38D */
}

.page-contact__section-title {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 700;
    margin-bottom: 30px;
    text-align: center;
    color: var(--gold); /* #F2C14E */
}

.page-contact__text-block {
    font-size: 1rem;
    margin-bottom: 20px;
    color: var(--text-secondary); /* #A7D9B8 */
    text-align: justify;
}

.page-contact__text-link {
    color: var(--glow); /* #57E38D */
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-contact__text-link:hover {
    color: #ffffff;
    text-decoration: underline;
}

/* Contact Channels Section */
.page-contact__contact-channels {
    background-color: var(--bg-main); /* #08160F */
}

.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: var(--card-bg); /* #11271B */
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

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

.page-contact__channel-icon {
    width: 100%; /* Make icon fill card width */
    height: auto;
    max-width: 250px; /* Max size for icon */
    margin-bottom: 20px;
    border-radius: 8px;
    object-fit: cover;
    min-height: 200px; /* Enforce min image size */
    filter: none; /* No CSS filters to change image colors */
}

.page-contact__channel-title {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--text-main); /* #F2FFF6 */
}

.page-contact__channel-description {
    font-size: 0.95rem;
    color: var(--text-secondary); /* #A7D9B8 */
    margin-bottom: 20px;
    flex-grow: 1; /* Push button to bottom */
}

.page-contact__channel-info {
    font-size: 0.9rem;
    color: var(--text-secondary); /* #A7D9B8 */
    margin-bottom: 10px;
}

.page-contact__btn-small {
    padding: 8px 20px;
    font-size: 0.9rem;
}

/* Contact Form Section */
.page-contact__contact-form-section {
    background-color: var(--background); /* #08160F */
    padding-bottom: 0; /* Form image might extend */
}

.page-contact__form-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    margin-top: 40px;
    align-items: flex-start;
}

.page-contact__form {
    flex: 1 1 500px;
    background-color: var(--card-bg); /* #11271B */
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

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

.page-contact__form-label {
    display: block;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-main); /* #F2FFF6 */
}

.page-contact__form-input,
.page-contact__form-textarea {
    width: 100%;
    padding: 12px 15px;
    border-radius: 8px;
    border: 1px solid var(--border); /* #2E7A4E */
    background-color: var(--deep-green); /* #0A4B2C */
    color: var(--text-main); /* #F2FFF6 */
    font-size: 1rem;
    box-sizing: border-box;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.page-contact__form-input::placeholder,
.page-contact__form-textarea::placeholder {
    color: var(--text-secondary); /* #A7D9B8 */
    opacity: 0.7;
}

.page-contact__form-input:focus,
.page-contact__form-textarea:focus {
    border-color: var(--glow); /* #57E38D */
    outline: none;
    box-shadow: 0 0 0 3px rgba(87, 227, 141, 0.3);
}

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

.page-contact__form-submit-btn {
    width: auto;
    min-width: 180px;
}

.page-contact__form-image-wrapper {
    flex: 1 1 400px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.page-contact__form-image {
    width: 100%;
    height: auto;
    border-radius: 12px;
    object-fit: cover;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    min-height: 200px; /* Enforce min image size */
    filter: none; /* No CSS filters to change image colors */
}

/* FAQ Section */
.page-contact__faq-section {
    background-color: var(--bg-main); /* #08160F */
}

.page-contact__faq-list {
    margin-top: 40px;
    border-top: 1px solid var(--divider); /* #1E3A2A */
}

.page-contact__faq-item {
    background-color: var(--card-bg); /* #11271B */
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    color: var(--text-secondary); /* #A7D9B8 */
    transition: background-color 0.3s ease;
}

.page-contact__faq-item:hover {
    background-color: var(--deep-green); /* #0A4B2C */
}

.page-contact__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    color: var(--text-main); /* #F2FFF6 */
    background-color: var(--card-bg); /* #11271B */
    border-bottom: 1px solid var(--divider); /* #1E3A2A */
    list-style: none; /* For details/summary */
    transition: background-color 0.3s ease;
}

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

.page-contact__faq-question:hover {
    background-color: var(--deep-green); /* #0A4B2C */
}

.page-contact__faq-toggle {
    font-size: 1.5rem;
    line-height: 1;
    margin-left: 15px;
    color: var(--glow); /* #57E38D */
}

.page-contact__faq-item[open] .page-contact__faq-question {
    background-color: var(--deep-green); /* #0A4B2C */
    border-bottom: 1px solid var(--glow); /* #57E38D */
}

.page-contact__faq-item[open] .page-contact__faq-toggle {
    transform: rotate(45deg); /* Plus sign rotates to X */
}

.page-contact__faq-answer {
    padding: 20px;
    font-size: 0.95rem;
    color: var(--text-secondary); /* #A7D9B8 */
}

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

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

.page-contact__cta-block {
    text-align: center;
    margin-top: 50px;
    padding: 30px;
    background-color: var(--deep-green); /* #0A4B2C */
    border-radius: 12px;
}

.page-contact__cta-text {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 25px;
    color: var(--text-main); /* #F2FFF6 */
}

/* Commitment Section */
.page-contact__commitment-section {
    background-color: var(--deep-green); /* #0A4B2C */
}

.page-contact__dark-section .page-contact__section-title {
    color: var(--gold); /* #F2C14E */
}

.page-contact__dark-section .page-contact__text-block {
    color: var(--text-secondary); /* #A7D9B8 */
}

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

.page-contact__tip-card {
    background-color: var(--card-bg); /* #11271B */
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-contact__tip-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--text-main); /* #F2FFF6 */
}

.page-contact__tip-description {
    font-size: 0.95rem;
    color: var(--text-secondary); /* #A7D9B8 */
}

/* Final CTA Section */
.page-contact__final-cta {
    background-color: var(--bg-main); /* #08160F */
    text-align: center;
}

.page-contact__final-cta-content {
    padding: 40px;
    background-color: var(--card-bg); /* #11271B */
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}


/* Responsive Styles */
@media (max-width: 1024px) {
    .page-contact__hero-content {
        padding: 15px;
    }

    .page-contact__section {
        padding: 40px 0;
    }

    .page-contact__section-title {
        margin-bottom: 25px;
    }

    .page-contact__channels-grid,
    .page-contact__tips-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }

    .page-contact__form-wrapper {
        flex-direction: column;
    }

    .page-contact__form,
    .page-contact__form-image-wrapper {
        flex: 1 1 100%;
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    /* Mobile image adaptation - IMPORTANT */
    .page-contact img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    /* Mobile video adaptation - IMPORTANT */
    .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;
    }

    /* Mobile button adaptation - IMPORTANT */
    .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; /* Ensure full width on mobile */
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding-left: 15px;
        padding-right: 15px;
        text-align: center; /* Center button text if it wraps */
    }

    .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-direction: column; /* Stack buttons vertically */
        gap: 10px;
    }

    .page-contact__container {
        padding: 0 15px;
    }

    .page-contact__hero-section {
        padding: 10px 0 40px 0;
    }

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

    .page-contact__description {
        font-size: 1rem;
    }

    .page-contact__section-title {
        font-size: 1.5rem;
    }

    .page-contact__text-block {
        font-size: 0.95rem;
    }

    .page-contact__channel-card,
    .page-contact__tip-card {
        padding: 25px;
    }

    .page-contact__form {
        padding: 30px;
    }

    .page-contact__faq-question {
        font-size: 1rem;
        padding: 15px;
    }

    .page-contact__faq-answer {
        padding: 15px;
        font-size: 0.9rem;
    }

    .page-contact__cta-text {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .page-contact__channels-grid,
    .page-contact__tips-grid {
        grid-template-columns: 1fr;
    }
}

/* Custom Colors */
:root {
    --primary-color: #11A84E;
    --secondary-color: #22C768;
    --button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
    --card-bg: #11271B;
    --bg-main: #08160F;
    --text-main: #F2FFF6;
    --text-secondary: #A7D9B8;
    --border: #2E7A4E;
    --glow: #57E38D;
    --gold: #F2C14E;
    --divider: #1E3A2A;
    --deep-green: #0A4B2C;
}

/* Ensure contrast for dark background */
.page-contact,
.page-contact__hero-content,
.page-contact__channel-card,
.page-contact__form,
.page-contact__faq-item,
.page-contact__faq-question,
.page-contact__cta-block,
.page-contact__commitment-section,
.page-contact__tip-card,
.page-contact__final-cta-content {
    color: var(--text-main); /* Default light text for dark backgrounds */
}

.page-contact__hero-content {
    background-color: rgba(0, 0, 0, 0.4); /* Dark overlay for text on image */
}
.page-contact__main-title,
.page-contact__section-title,
.page-contact__channel-title,
.page-contact__tip-title,
.page-contact__cta-text {
    color: var(--gold); /* Use gold for titles for emphasis and contrast */
}
.page-contact__text-block,
.page-contact__description,
.page-contact__channel-description,
.page-contact__channel-info,
.page-contact__faq-answer,
.page-contact__tip-description {
    color: var(--text-secondary); /* Secondary light text */
}
.page-contact__form-label {
    color: var(--text-main); /* Form labels should be clear */
}
.page-contact__form-input,
.page-contact__form-textarea {
    background-color: var(--deep-green); /* Darker input background */
    color: var(--text-main);
    border-color: var(--border);
}
.page-contact__form-input::placeholder,
.page-contact__form-textarea::placeholder {
    color: var(--text-secondary);
}
.page-contact__btn-primary {
    background: var(--button-gradient);
    color: #ffffff; /* White text on button gradient */
}
.page-contact__btn-secondary {
    border-color: var(--border);
    color: var(--text-main);
}
.page-contact__btn-secondary:hover {
    border-color: var(--glow);
    color: var(--glow);
}
.page-contact__text-link {
    color: var(--glow); /* Bright green for links */
}
.page-contact__faq-toggle {
    color: var(--glow); /* Bright green for toggle */
}

/* Ensure all images meet min size and no filters */
.page-contact img {
    min-width: 200px;
    min-height: 200px;
    filter: none; /* No CSS filters to change image colors */
}