.page-contact {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #FFF5E1; /* Main text color on dark backgrounds */
    background-color: var(--bg-color); /* Inherit from shared.css */
}

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

.page-contact__hero-section {
    position: relative;
    padding-top: 10px; /* Small top padding as body handles --header-offset */
    padding-bottom: 0;
    padding-left: 0;
    padding-right: 0;
    text-align: center;
    overflow: hidden;
    background-color: var(--bg-color);
}

.page-contact__hero-image-wrapper {
    width: 100%;
    max-height: 675px; /* Adjust as needed */
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

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

.page-contact__hero-content {
    padding: 40px 20px;
    max-width: 900px;
    margin: 0 auto;
}

.page-contact__main-title {
    font-weight: bold;
    color: #FFF5E1;
    line-height: 1.2;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    font-size: clamp(2em, 4vw, 3.5em); /* Responsive font size */
}

.page-contact__description {
    font-size: 1.1em;
    color: #f0f0f0;
    margin-bottom: 30px;
}

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

.page-contact__btn-primary,
.page-contact__btn-secondary,
.page-contact__card-button,
.page-contact__form-submit-button,
.page-contact__faq-link {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    white-space: normal;
    word-wrap: break-word;
    box-sizing: border-box;
    max-width: 100%;
}

.page-contact__btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

.page-contact__btn-secondary:hover {
    background: #C91F17;
    color: #ffffff;
    border-color: #C91F17;
}

.page-contact__info-section,
.page-contact__faq-section {
    padding: 60px 0;
    color: #FFF5E1; /* Light text on dark background */
}

.page-contact__form-section,
.page-contact__social-section {
    padding: 60px 0;
    color: #333333; /* Dark text on default/light background */
    background-color: #f8f8f8; /* A light background for contrast */
}

.page-contact__section-title {
    font-weight: bold;
    color: #FFF5E1; /* For dark sections */
    text-align: center;
    margin-bottom: 20px;
    font-size: 2.2em;
}

.page-contact__form-section .page-contact__section-title,
.page-contact__social-section .page-contact__section-title {
    color: #C91F17; /* Brand color for titles on light sections */
}

.page-contact__section-description {
    font-size: 1.05em;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px auto;
    color: #f0f0f0; /* For dark sections */
}

.page-contact__form-section .page-contact__section-description,
.page-contact__social-section .page-contact__section-description {
    color: #555555; /* Darker text for light sections */
}

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

.page-contact__contact-card {
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    border: 1px solid #F2B544;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%; /* Ensure cards have equal height */
}

.page-contact__card-title {
    font-size: 1.5em;
    font-weight: bold;
    margin-bottom: 15px;
    color: #F4D34D; /* Gold color for card titles */
}

.page-contact__card-text {
    margin-bottom: 20px;
    line-height: 1.5;
    flex-grow: 1;
}

.page-contact__address-text {
    font-style: normal;
    margin-bottom: 20px;
    flex-grow: 1;
}

.page-contact__card-button {
    margin-top: auto; /* Push button to bottom */
    padding: 12px 25px;
    font-size: 1em;
    border: none;
}

.page-contact__card-button:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

.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);
    border: 1px solid #e0e0e0;
}

.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 #ddd;
    border-radius: 5px;
    font-size: 1em;
    box-sizing: border-box;
    color: #333333;
}

.page-contact__form-input:focus,
.page-contact__form-textarea:focus {
    border-color: #C91F17;
    outline: none;
    box-shadow: 0 0 5px rgba(201, 31, 23, 0.3);
}

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

.page-contact__form-submit-button {
    width: 100%;
    padding: 15px;
    font-size: 1.1em;
    border: none;
    border-radius: 8px;
    cursor: pointer;
}

.page-contact__form-submit-button:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

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

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

.page-contact__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    cursor: pointer;
    font-weight: bold;
    font-size: 1.1em;
    position: relative;
    list-style: none; /* For details/summary */
}

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

.page-contact__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    color: #F4D34D;
}

.page-contact__faq-item[open] .page-contact__faq-toggle {
    content: '−';
}

.page-contact__faq-answer {
    padding: 0 25px 20px;
    font-size: 1em;
    line-height: 1.6;
    color: #f0f0f0;
}

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

.page-contact__faq-link {
    color: #F4D34D; /* Gold link color */
    text-decoration: underline;
}

.page-contact__faq-link:hover {
    color: #FFCC66;
}

.page-contact__social-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.page-contact__social-icon {
    display: block;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.page-contact__social-icon:hover {
    transform: translateY(-5px) scale(1.05);
}

.page-contact__social-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* General image responsive styles */
.page-contact img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-contact__main-title {
        font-size: clamp(1.8em, 4.5vw, 3em);
    }
    .page-contact__section-title {
        font-size: 2em;
    }
    .page-contact__contact-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
    .page-contact__social-icon {
        width: 150px;
        height: 150px;
    }
}

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

    /* HERO Section */
    .page-contact__hero-section {
        padding-top: 10px !important;
    }
    .page-contact__hero-content {
        padding: 20px 15px;
    }
    .page-contact__main-title {
        font-size: clamp(1.5em, 6vw, 2.5em) !important;
        margin-bottom: 15px;
    }
    .page-contact__description {
        font-size: 1em;
        margin-bottom: 20px;
    }
    .page-contact__cta-buttons {
        flex-direction: column;
        gap: 15px;
        padding: 0 15px;
    }

    /* Buttons */
    .page-contact__btn-primary,
    .page-contact__btn-secondary,
    .page-contact__card-button,
    .page-contact__form-submit-button,
    .page-contact__faq-link {
        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 {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden;
    }

    /* General Images */
    .page-contact img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    .page-contact__hero-image-wrapper {
        max-height: none;
    }

    /* Other content modules (sections and cards) */
    .page-contact__container {
        padding: 0 15px;
    }
    .page-contact__info-section,
    .page-contact__form-section,
    .page-contact__faq-section,
    .page-contact__social-section {
        padding: 40px 0;
    }
    .page-contact__section-title {
        font-size: 1.8em;
        margin-bottom: 15px;
    }
    .page-contact__section-description {
        font-size: 0.95em;
        margin-bottom: 30px;
    }
    .page-contact__contact-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .page-contact__contact-card {
        padding: 25px;
    }
    .page-contact__form-input,
    .page-contact__form-textarea {
        padding: 10px;
    }
    .page-contact__contact-form {
        padding: 30px 15px;
    }
    .page-contact__faq-question {
        padding: 15px 20px;
        font-size: 1em;
    }
    .page-contact__faq-answer {
        padding: 0 20px 15px;
    }
    .page-contact__social-links {
        gap: 20px;
    }
    .page-contact__social-icon {
        width: 120px;
        height: 120px;
    }
    .page-contact__card {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    }
}