.page-contact {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333333; /* Default dark text on light body background */
    background-color: #FFFFFF; /* Assuming default white body background */
}

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

.page-contact__hero-section {
    position: relative;
    padding-top: var(--header-offset, 120px); /* Ensure space for fixed header */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #FFFFFF;
    background-color: #017439; /* Main brand color for hero background */
    min-height: 500px; /* Minimum height for hero */
    overflow: hidden;
}

.page-contact__hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4); /* Dark overlay for text readability */
    z-index: 1;
}

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

.page-contact__hero-section > .page-contact__container {
    position: relative;
    z-index: 2;
    padding-top: 50px; /* Additional padding within hero */
    padding-bottom: 50px;
}

.page-contact__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    font-weight: bold;
    color: #FFFFFF;
}

.page-contact__hero-description {
    font-size: 1.2em;
    max-width: 800px;
    margin: 0 auto 30px;
    color: #f0f0f0;
}

.page-contact__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.page-contact__btn-primary,
.page-contact__btn-secondary,
.page-contact__btn-link {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    text-align: center;
    box-sizing: border-box; /* Ensure padding and border are included in width */
}

.page-contact__btn-primary {
    background-color: #017439; /* Main brand color */
    color: #FFFFFF;
    border: 2px solid #017439;
}

.page-contact__btn-primary:hover {
    background-color: #005f2e; /* Slightly darker green */
    border-color: #005f2e;
}

.page-contact__btn-secondary {
    background-color: #FFFFFF;
    color: #017439; /* Main brand color */
    border: 2px solid #017439;
}

.page-contact__btn-secondary:hover {
    background-color: #f0f0f0;
    color: #005f2e;
    border-color: #005f2e;
}

.page-contact__btn-link {
    background-color: transparent;
    color: #017439;
    border: 2px solid #017439;
    padding: 8px 15px;
    font-size: 0.9em;
}

.page-contact__btn-link:hover {
    background-color: #017439;
    color: #FFFFFF;
}

.page-contact__section-title {
    font-size: 2.5em;
    text-align: center;
    margin-bottom: 20px;
    color: #017439; /* Main brand color for section titles */
    font-weight: bold;
}

.page-contact__section-description {
    font-size: 1.1em;
    text-align: center;
    max-width: 900px;
    margin: 0 auto 50px;
    color: #555555;
}

.page-contact__light-bg {
    background-color: #FFFFFF;
    color: #333333;
    padding: 60px 0;
}

.page-contact__dark-bg {
    background-color: #017439; /* Main brand color for dark sections */
    color: #FFFFFF;
    padding: 60px 0;
}

.page-contact__dark-bg .page-contact__section-title,
.page-contact__dark-bg .page-contact__form-title {
    color: #FFFFFF;
}

.page-contact__dark-bg .page-contact__section-description,
.page-contact__dark-bg .page-contact__form-description {
    color: #f0f0f0;
}

/* Contact Methods Grid */
.page-contact__contact-methods {
    padding-top: 80px;
    padding-bottom: 80px;
}

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

.page-contact__method-card {
    background-color: #f9f9f9;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-contact__card-icon {
    width: 250px; /* Ensure images are not small icons */
    height: 180px;
    object-fit: contain;
    margin-bottom: 20px;
    border-radius: 5px;
}

.page-contact__card-title {
    font-size: 1.8em;
    color: #017439;
    margin-bottom: 15px;
    font-weight: bold;
}

.page-contact__card-description {
    font-size: 1em;
    color: #555555;
    margin-bottom: 20px;
    flex-grow: 1; /* Allow description to take available space */
}

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

.page-contact__social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background-color: #017439;
    color: #FFFFFF;
    font-size: 0.9em; /* Text inside circle, not icon */
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.page-contact__social-icon:hover {
    background-color: #005f2e;
}

/* Contact Form */
.page-contact__contact-form-section {
    padding-top: 80px;
    padding-bottom: 80px;
}

.page-contact__form-title {
    font-size: 2.5em;
    text-align: center;
    margin-bottom: 20px;
    color: #FFFFFF;
    font-weight: bold;
}

.page-contact__form-description {
    font-size: 1.1em;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px;
    color: #f0f0f0;
}

.page-contact__contact-form {
    max-width: 700px;
    margin: 0 auto;
    background-color: #FFFFFF;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

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

.page-contact__form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: #333333;
}

.page-contact__form-input,
.page-contact__form-textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #cccccc;
    border-radius: 5px;
    font-size: 1em;
    box-sizing: border-box;
    color: #333333;
    background-color: #fcfcfc;
}

.page-contact__form-input::placeholder,
.page-contact__form-textarea::placeholder {
    color: #999999;
}

.page-contact__form-textarea {
    resize: vertical;
}

.page-contact__submit-button {
    width: 100%;
    padding: 15px;
    background-color: #017439;
    color: #FFFFFF;
    border: none;
    border-radius: 8px;
    font-size: 1.2em;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.page-contact__submit-button:hover {
    background-color: #005f2e;
}

.page-contact__form-note {
    text-align: center;
    margin-top: 20px;
    font-size: 0.9em;
    color: #666666;
}

/* FAQ Section */
.page-contact__faq-section {
    padding-top: 80px;
    padding-bottom: 80px;
}

.page-contact__faq-title {
    font-size: 2.5em;
    text-align: center;
    margin-bottom: 20px;
    color: #017439;
    font-weight: bold;
}

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

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

.page-contact__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    cursor: pointer;
    background-color: #FFFFFF;
    border-bottom: 1px solid #e0e0e0;
    transition: background-color 0.3s ease;
}

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

.page-contact__question-text {
    font-size: 1.2em;
    color: #017439;
    margin: 0;
    flex-grow: 1;
}

.page-contact__faq-toggle {
    font-size: 1.8em;
    font-weight: bold;
    color: #017439;
    margin-left: 15px;
    transition: transform 0.3s ease;
}

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

.page-contact__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 25px;
    transition: max-height 0.3s ease-out, padding 0.3s ease-out;
    background-color: #fefefe;
    color: #555555;
}

.page-contact__faq-item.active .page-contact__faq-answer {
    max-height: 1000px !important; /* Sufficiently large to show content */
    padding: 15px 25px 25px;
}

.page-contact__faq-answer p {
    margin: 0;
    padding-top: 10px; /* Small padding after transition */
}

.page-contact__faq-cta {
    margin-top: 50px;
}

/* Location Section */
.page-contact__location-section {
    padding-top: 80px;
    padding-bottom: 80px;
    text-align: center;
}

.page-contact__location-details {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 40px;
    margin-top: 50px;
}

.page-contact__location-image {
    max-width: 500px;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.page-contact__address-info {
    text-align: left;
    max-width: 450px;
}

.page-contact__address-info h3 {
    font-size: 1.8em;
    color: #FFFFFF;
    margin-bottom: 15px;
    font-weight: bold;
}

.page-contact__address-info p {
    font-size: 1.1em;
    color: #f0f0f0;
    margin-bottom: 10px;
}

.page-contact__address-info strong {
    color: #FFFF00; /* Yellow for emphasis on contact details */
}

/* Commitment Section */
.page-contact__commitment-section {
    padding-top: 80px;
    padding-bottom: 80px;
}

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

.page-contact__commitment-list li {
    background-color: #f9f9f9;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.page-contact__commitment-item-title {
    font-size: 1.5em;
    color: #017439;
    margin-bottom: 10px;
    font-weight: bold;
}

.page-contact__commitment-list p {
    color: #555555;
    font-size: 1em;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-contact__hero-title {
        font-size: 2.8em;
    }
    .page-contact__section-title,
    .page-contact__form-title,
    .page-contact__faq-title {
        font-size: 2em;
    }
    .page-contact__card-title {
        font-size: 1.5em;
    }
    .page-contact__question-text {
        font-size: 1.1em;
    }
    .page-contact__location-image {
        max-width: 100%;
    }
    .page-contact__address-info {
        max-width: 100%;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .page-contact__hero-section {
        min-height: 400px;
    }
    .page-contact__hero-title {
        font-size: 2.2em;
    }
    .page-contact__hero-description {
        font-size: 1em;
    }
    .page-contact__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
    .page-contact__btn-primary,
    .page-contact__btn-secondary {
        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__methods-grid {
        grid-template-columns: 1fr;
    }
    .page-contact__card-icon {
        width: 180px;
        height: 120px;
    }

    .page-contact__contact-form {
        padding: 30px 20px;
    }
    .page-contact__location-details {
        flex-direction: column;
        gap: 30px;
    }
    .page-contact__address-info {
        text-align: center;
    }

    /* Mobile image and video responsive rules */
    .page-contact img {
        max-width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    
    .page-contact__section,
    .page-contact__card,
    .page-contact__container,
    .page-contact__hero-section,
    .page-contact__contact-methods,
    .page-contact__contact-form-section,
    .page-contact__faq-section,
    .page-contact__location-section,
    .page-contact__commitment-section {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px !important;
        padding-right: 15px !important;
        overflow: hidden !important;
    }

    /* Video specific (if any, although not planned for this page) */
    .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 !important;
      padding-right: 15px !important;
      overflow: hidden !important;
    }
    .page-contact__video-section {
        padding-top: var(--header-offset, 120px) !important;
    }

    .page-contact__faq-question {
        padding: 15px 20px;
    }
    .page-contact__faq-answer {
        padding: 0 20px;
    }
    .page-contact__faq-item.active .page-contact__faq-answer {
        padding: 15px 20px 20px;
    }
}

@media (max-width: 480px) {
    .page-contact__hero-title {
        font-size: 1.8em;
    }
    .page-contact__section-title,
    .page-contact__form-title,
    .page-contact__faq-title {
        font-size: 1.8em;
    }
    .page-contact__hero-section {
        padding-top: var(--header-offset, 120px);
    }
}