/* General styles for the contact page */
.page-contact {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #FFF1E8; /* Text Main from custom palette */
    background-color: #140C0C; /* Background from custom palette */
}

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

.page-contact__hero-section {
    position: relative;
    padding-top: 10px; /* Small top padding, relying on body for header offset */
    text-align: center;
    overflow: hidden; /* Ensure no image overflow */
}

.page-contact__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    max-height: 675px; /* Limit height for aesthetic */
}

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

.page-contact__main-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem); /* Responsive H1 font size */
    color: #F3C54D; /* Gold from custom palette */
    margin-bottom: 20px;
    font-weight: bold;
    line-height: 1.2;
}

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

/* Section Titles and Descriptions */
.page-contact__section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    color: #F3C54D; /* Gold */
    text-align: center;
    margin-bottom: 20px;
    font-weight: bold;
}

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

/* Form Section */
.page-contact__form-section {
    padding: 60px 0;
    background-color: #2A1212; /* Card BG from custom palette */
}

.page-contact__contact-form {
    max-width: 600px;
    margin: 0 auto;
    padding: 30px;
    background-color: #140C0C; /* Background color for the form itself */
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

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

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

.page-contact__form-input,
.page-contact__form-textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #6A1E1E; /* Border from custom palette */
    border-radius: 5px;
    background-color: #2A1212; /* Card BG */
    color: #FFF1E8;
    font-size: 1em;
    box-sizing: border-box;
}

.page-contact__form-input::placeholder,
.page-contact__form-textarea::placeholder {
    color: rgba(255, 241, 232, 0.7); /* Lighter version of Text Main */
}

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

.page-contact__submit-button {
    display: block;
    width: 100%;
    padding: 15px 25px;
    border: none;
    border-radius: 5px;
    background: linear-gradient(180deg, #FFB04A 0%, #D86A14 100%); /* Button gradient */
    color: #ffffff;
    font-size: 1.1em;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease;
    text-transform: uppercase;
    box-sizing: border-box; /* Ensure padding doesn't make it overflow */
}

.page-contact__submit-button:hover {
    background: linear-gradient(180deg, #FFC06A 0%, #E87A24 100%);
}

/* Other Methods Section */
.page-contact__other-methods-section {
    padding: 60px 0;
    background-color: #140C0C; /* Background */
}

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

.page-contact__method-card {
    background-color: #2A1212; /* Card BG */
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%; /* Ensure cards have equal height */
    box-sizing: border-box;
}

.page-contact__method-icon {
    width: 200px; /* Enforced min size */
    height: 200px; /* Enforced min size */
    object-fit: contain; /* Keep aspect ratio */
    margin-bottom: 20px;
    display: block; /* Ensure it's a block element for margin auto */
}

.page-contact__method-title {
    font-size: 1.5em;
    color: #F3C54D; /* Gold */
    margin-bottom: 15px;
    font-weight: bold;
}

.page-contact__method-text {
    color: #FFF1E8;
    margin-bottom: 25px;
    flex-grow: 1; /* Push button to bottom */
}

.page-contact__btn-outline {
    display: inline-block;
    padding: 12px 25px;
    border: 2px solid #F3C54D; /* Gold border */
    border-radius: 5px;
    color: #F3C54D; /* Gold text */
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    box-sizing: border-box;
    max-width: 100%; /* For responsive buttons */
    white-space: normal;
    word-wrap: break-word;
    text-align: center;
}

.page-contact__btn-outline:hover {
    background-color: #F3C54D;
    color: #140C0C; /* Background color for text on hover */
}

/* FAQ Section */
.page-contact__faq-section {
    padding: 60px 0;
    background-color: #2A1212; /* Card BG */
}

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

.page-contact__faq-item {
    background-color: #140C0C; /* Background */
    border: 1px solid #6A1E1E; /* Border */
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
}

.page-contact__faq-item summary {
    list-style: none; /* Hide default marker */
    padding: 20px 25px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: bold;
    color: #F3C54D; /* Gold */
    font-size: 1.15em;
    transition: background-color 0.3s ease;
}

.page-contact__faq-item summary:hover {
    background-color: rgba(243, 197, 77, 0.1); /* Light gold hover */
}

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

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

.page-contact__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    margin-left: 15px;
    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: 0 25px 20px;
    color: #FFF1E8;
    font-size: 1em;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease-out;
}

.page-contact__faq-item[open] .page-contact__faq-answer {
    max-height: 500px; /* Sufficient height for content */
    padding: 15px 25px 20px;
    transition: max-height 0.5s ease-in, padding 0.5s ease-in;
}

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

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

.page-contact__faq-answer a:hover {
    color: #FFB04A; /* Lighter gold on hover */
}

/* CTA Section */
.page-contact__cta-section {
    padding: 60px 0;
    text-align: center;
    background-color: #140C0C; /* Background */
}

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

.page-contact__btn-primary,
.page-contact__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 1.1em;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
    box-sizing: border-box;
    max-width: 100%; /* For responsive buttons */
    white-space: normal;
    word-wrap: break-word;
    text-align: center;
}

.page-contact__btn-primary {
    background: linear-gradient(180deg, #FFB04A 0%, #D86A14 100%); /* Button gradient */
    color: #ffffff;
    border: none;
}

.page-contact__btn-primary:hover {
    background: linear-gradient(180deg, #FFC06A 0%, #E87A24 100%);
}

.page-contact__btn-secondary {
    background-color: transparent;
    color: #F3C54D; /* Gold text */
    border: 2px solid #F3C54D; /* Gold border */
}

.page-contact__btn-secondary:hover {
    background-color: #F3C54D;
    color: #140C0C; /* Background color for text on hover */
}

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

    .page-contact__main-title {
        font-size: clamp(2rem, 4.5vw, 3rem);
    }

    .page-contact__section-title {
        font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    }

    .page-contact__hero-image {
        max-height: 500px;
    }

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

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

    .page-contact__container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }

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

    .page-contact__hero-image {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        max-height: 400px;
    }

    .page-contact__main-title {
        font-size: clamp(1.8rem, 6vw, 2.5rem);
    }

    .page-contact__section-title {
        font-size: clamp(1.6rem, 5.5vw, 2.2rem);
    }

    /* Form specific adjustments */
    .page-contact__contact-form {
        padding: 20px;
    }

    .page-contact__submit-button {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    /* Other methods grid */
    .page-contact__methods-grid {
        grid-template-columns: 1fr;
    }

    .page-contact__method-card {
        padding: 25px;
    }

    .page-contact__method-icon {
        width: 200px !important;
        height: 200px !important;
        max-width: 100% !important;
        height: auto !important;
    }

    .page-contact__btn-outline {
        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;
    }

    /* FAQ Section */
    .page-contact__faq-item summary {
        padding: 15px 20px;
        font-size: 1em;
    }

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

    /* CTA buttons */
    .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;
    }

    /* Ensure all images are responsive */
    .page-contact img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
}