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

.page-contact {
    background-color: var(--page-contact-bg-color);
    color: var(--page-contact-text-main);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    padding-bottom: 60px; /* Add some padding at the bottom for footer */
}

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

.page-contact__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 10px 0 80px 0; /* Small top padding, larger bottom padding */
    overflow: hidden; /* Ensure no overflow from image */
}

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

.page-contact__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.2; /* Slightly dim the background image */
}

.page-contact__hero-content-wrapper {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    padding: 40px 20px;
    background-color: rgba(17, 39, 27, 0.85); /* Card BG with transparency */
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
    margin-top: 60px; /* Push down from the top */
}

.page-contact__main-title {
    font-size: 2.8em;
    font-weight: bold;
    color: var(--page-contact-gold-color); /* Use gold for main title */
    margin-bottom: 20px;
    line-height: 1.2;
    letter-spacing: -0.02em;
    max-width: 100%;
}

.page-contact__description {
    font-size: 1.1em;
    color: var(--page-contact-text-main);
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

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

.page-contact__btn-primary,
.page-contact__btn-secondary {
    display: inline-block;
    padding: 14px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: all 0.3s ease;
    cursor: pointer;
    box-sizing: border-box;
    max-width: 100%; /* Ensure buttons don't overflow */
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word;
}

.page-contact__btn-primary {
    background: var(--page-contact-btn-gradient);
    color: #ffffff;
    border: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-contact__btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-contact__btn-secondary {
    background-color: transparent;
    color: var(--page-contact-gold-color);
    border: 2px solid var(--page-contact-gold-color);
}

.page-contact__btn-secondary:hover {
    background-color: var(--page-contact-gold-color);
    color: var(--page-contact-bg-color);
    transform: translateY(-3px);
}

.page-contact__section-title {
    font-size: 2.2em;
    color: var(--page-contact-gold-color);
    text-align: center;
    margin-top: 60px;
    margin-bottom: 20px;
    font-weight: bold;
    line-height: 1.3;
}

.page-contact__section-description {
    font-size: 1.05em;
    color: var(--page-contact-text-secondary);
    text-align: center;
    margin-bottom: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

/* Contact Methods Section */
.page-contact__methods-section {
    padding: 60px 0;
    background-color: var(--page-contact-deep-green); /* Slightly different background */
}

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

.page-contact__method-card {
    background-color: var(--page-contact-card-bg);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 20px 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__method-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.page-contact__method-icon {
    width: 100%; /* Occupy full width of card */
    max-width: 250px; /* But not too large */
    height: auto;
    object-fit: cover;
    margin-bottom: 20px;
    border-radius: 8px;
}

.page-contact__method-title {
    font-size: 1.6em;
    color: var(--page-contact-gold-color);
    margin-bottom: 15px;
    font-weight: bold;
}

.page-contact__method-text {
    font-size: 1em;
    color: var(--page-contact-text-secondary);
    margin-bottom: 20px;
    flex-grow: 1; /* Allow text to take up available space */
}

.page-contact__method-link {
    display: inline-block;
    color: var(--page-contact-secondary-color);
    text-decoration: none;
    font-weight: bold;
    border-bottom: 2px solid var(--page-contact-secondary-color);
    padding-bottom: 5px;
    transition: color 0.3s ease, border-color 0.3s ease;
}

.page-contact__method-link:hover {
    color: var(--page-contact-gold-color);
    border-color: var(--page-contact-gold-color);
}

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

.page-contact__social-link {
    background-color: var(--page-contact-primary-color);
    color: #ffffff;
    padding: 8px 15px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.page-contact__social-link:hover {
    background-color: var(--page-contact-secondary-color);
}

/* FAQ Section */
.page-contact__faq-section {
    padding: 60px 0;
}

.page-contact__faq-list {
    margin-top: 40px;
}

.page-contact__faq-item {
    background-color: var(--page-contact-card-bg);
    border-radius: 12px;
    margin-bottom: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    transition: all 0.3s ease;
}

.page-contact__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 1.2em;
    font-weight: bold;
    color: var(--page-contact-gold-color);
    cursor: pointer;
    background-color: rgba(17, 39, 27, 0.7); /* Slightly darker card bg for summary */
    border-bottom: 1px solid var(--page-contact-divider-color);
}

.page-contact__faq-item[open] .page-contact__faq-question {
    border-bottom: 1px solid var(--page-contact-primary-color);
}

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

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

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

.page-contact__faq-answer {
    padding: 20px 25px;
    font-size: 1em;
    color: var(--page-contact-text-secondary);
    border-top: 1px solid transparent; /* To prevent double border with summary */
}

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

/* Why Us Section */
.page-contact__why-us-section {
    padding: 60px 0;
    background-color: var(--page-contact-bg-color); /* Match body background */
}

.page-contact__benefits-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    list-style: none;
    padding: 0;
    margin-top: 40px;
}

.page-contact__benefit-item {
    background-color: var(--page-contact-card-bg);
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-contact__benefit-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.page-contact__benefit-title {
    font-size: 1.5em;
    color: var(--page-contact-primary-color);
    margin-bottom: 15px;
    font-weight: bold;
}

.page-contact__benefit-text {
    font-size: 1em;
    color: var(--page-contact-text-secondary);
}

/* Final CTA Section */
.page-contact__final-cta-section {
    padding: 60px 0;
    text-align: center;
    background-color: var(--page-contact-deep-green); /* Use deep green for final CTA */
}

.page-contact__cta-buttons--bottom {
    margin-top: 40px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-contact__main-title {
        font-size: 2.2em;
    }
    .page-contact__section-title {
        font-size: 1.8em;
    }
}

@media (max-width: 768px) {
    .page-contact {
        font-size: 16px;
        line-height: 1.6;
    }
    .page-contact__container {
        padding-left: 15px;
        padding-right: 15px;
    }

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

    .page-contact__hero-content-wrapper {
        margin-top: 40px;
        padding: 30px 15px;
    }

    .page-contact__main-title {
        font-size: 1.8em !important;
    }

    .page-contact__section-title {
        font-size: 1.6em !important;
        margin-top: 40px;
    }

    .page-contact__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .page-contact__btn-primary,
    .page-contact__btn-secondary {
        width: 100% !important;
        max-width: 100% !important;
        padding: 12px 20px;
        font-size: 1em;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    .page-contact__methods-section,
    .page-contact__faq-section,
    .page-contact__why-us-section,
    .page-contact__final-cta-section {
        padding: 40px 0;
    }

    .page-contact__methods-grid,
    .page-contact__benefits-list {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-contact__method-card,
    .page-contact__benefit-item,
    .page-contact__faq-item {
        padding: 20px;
    }

    .page-contact__method-icon {
        max-width: 200px; /* Adjust for smaller screens */
    }

    .page-contact__faq-question {
        font-size: 1.1em;
        padding: 15px 20px;
    }
    .page-contact__faq-answer {
        padding: 15px 20px;
    }

    /* Images responsiveness */
    .page-contact img {
        max-width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    /* Ensure all containing elements also respect max-width */
    .page-contact__section,
    .page-contact__card,
    .page-contact__container,
    .page-contact__hero-image-wrapper,
    .page-contact__methods-grid,
    .page-contact__benefits-list,
    .page-contact__faq-list {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important;
    }
}

@media (max-width: 480px) {
    .page-contact__main-title {
        font-size: 1.6em !important;
    }
    .page-contact__section-title {
        font-size: 1.4em !important;
    }
}