/* General styles for the contact page */
.page-contact {
    font-family: 'Arial', sans-serif;
    background-color: var(--background-color, #0A0A0A); /* Inherit from shared, default to dark */
    color: var(--text-main, #FFF6D6); /* Light text on dark background */
    line-height: 1.6;
}

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

.page-contact__section-title {
    font-size: 36px;
    font-weight: 700;
    color: var(--text-main, #FFF6D6);
    text-align: center;
    margin-bottom: 20px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.page-contact__section-description {
    font-size: 18px;
    color: #ccc;
    text-align: center;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Hero Section */
.page-contact__hero-section {
    position: relative;
    padding-top: 10px; /* Small top padding, shared.css handles body padding */
    padding-bottom: 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.page-contact__hero-image-wrapper {
    position: relative;
    width: 100%;
    height: 500px; /* Adjust height as needed */
    overflow: hidden;
    margin-bottom: 30px;
    border-radius: 10px;
}

.page-contact__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: brightness(0.7); /* Slightly dim the image for text readability */
}

.page-contact__hero-content {
    text-align: center;
    max-width: 900px;
    padding: 0 20px;
}

.page-contact__main-title {
    font-size: clamp(2.2em, 4vw, 3.5em); /* Responsive font size */
    font-weight: 700;
    color: var(--text-main, #FFF6D6);
    margin-bottom: 15px;
    line-height: 1.2;
    text-shadow: 0 3px 6px rgba(0, 0, 0, 0.4);
}

.page-contact__description {
    font-size: 1.1em;
    color: #e0e0e0;
    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 buttons to wrap 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: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    max-width: 100%; /* Ensure buttons adapt to container */
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
    text-align: center;
}

.page-contact__btn-primary {
    background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
    color: #111; /* Dark text for golden button */
    border: none;
}

.page-contact__btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
    opacity: 0.9;
}

.page-contact__btn-secondary {
    background: #111111; /* Card BG */
    color: var(--primary-color, #F2C14E);
    border: 2px solid var(--primary-color, #F2C14E);
}

.page-contact__btn-secondary:hover {
    background: var(--primary-color, #F2C14E);
    color: #111;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

/* Form Section */
.page-contact__form-section {
    padding: 60px 0;
    background-color: var(--card-bg, #111111); /* Card background */
    margin-bottom: 40px;
    border-radius: 10px;
}

.page-contact__contact-form {
    max-width: 700px;
    margin: 0 auto;
    padding: 30px;
    background: #1a1a1a;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
}

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

.page-contact__form-label {
    display: block;
    margin-bottom: 8px;
    font-size: 1em;
    font-weight: 600;
    color: var(--text-main, #FFF6D6);
}

.page-contact__form-input,
.page-contact__form-textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border-color, #3A2A12);
    border-radius: 5px;
    background: #222;
    color: #FFF6D6;
    font-size: 1em;
    box-sizing: border-box;
}

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

.page-contact__form-input:focus,
.page-contact__form-textarea:focus {
    border-color: var(--primary-color, #F2C14E);
    outline: none;
    box-shadow: 0 0 0 2px rgba(242, 193, 78, 0.3);
}

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

.page-contact__form-submit-btn {
    display: block;
    width: 100%;
    padding: 15px 20px;
    background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
    color: #111;
    border: none;
    border-radius: 8px;
    font-size: 1.1em;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-contact__form-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
    opacity: 0.9;
}

/* Other Contact Methods Section */
.page-contact__methods-section {
    padding: 60px 0;
    text-align: center;
}

.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: var(--card-bg, #111111);
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--border-color, #3A2A12);
}

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

.page-contact__method-icon {
    width: 400px; /* Recommended size for content images */
    height: 300px;
    object-fit: contain;
    margin-bottom: 20px;
    display: block;
    margin-left: auto;
    margin-right: auto;
    border-radius: 5px; /* Ensure images are not small icons */
    min-width: 200px; /* Minimum size requirement */
    min-height: 200px; /* Minimum size requirement */
}

.page-contact__method-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color, #F2C14E);
    margin-bottom: 15px;
}

.page-contact__method-text {
    font-size: 1em;
    color: #ccc;
    margin-bottom: 25px;
}

.page-contact__method-btn {
    display: inline-block;
    padding: 12px 25px;
    background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
    color: #111;
    border: none;
    border-radius: 6px;
    font-size: 1em;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
    text-align: center;
}

.page-contact__method-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    opacity: 0.9;
}

/* FAQ Section */
.page-contact__faq-section {
    padding: 60px 0;
    background-color: var(--background-color, #0A0A0A);
    margin-bottom: 40px;
}

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

details.page-contact__faq-item {
    margin-bottom: 15px;
    border-radius: 10px;
    border: 1px solid var(--border-color, #3A2A12);
    overflow: hidden;
    background: var(--card-bg, #111111);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}
details.page-contact__faq-item summary.page-contact__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    cursor: pointer;
    user-select: none;
    list-style: none;
    transition: background-color 0.3s ease;
    font-size: 1.1em;
    font-weight: 600;
    color: var(--text-main, #FFF6D6);
}
details.page-contact__faq-item summary.page-contact__faq-question::-webkit-details-marker {
    display: none;
}
details.page-contact__faq-item summary.page-contact__faq-question:hover {
    background: #1a1a1a;
}
.page-contact__faq-qtext {
    flex: 1;
    line-height: 1.5;
    text-align: left;
}
.page-contact__faq-toggle {
    font-size: 28px;
    font-weight: bold;
    color: var(--primary-color, #F2C14E);
    flex-shrink: 0;
    margin-left: 15px;
    width: 30px;
    text-align: center;
}
details.page-contact__faq-item .page-contact__faq-answer {
    padding: 0 25px 20px;
    background: #1a1a1a;
    border-radius: 0 0 10px 10px;
    color: #ccc;
    font-size: 1em;
}
.page-contact__faq-answer p {
    margin-top: 10px;
    margin-bottom: 0;
}

/* CTA Banner Section */
.page-contact__cta-banner {
    padding: 80px 0;
    background: linear-gradient(90deg, #F2C14E 0%, #FFD36B 100%); /* Brand colors for banner */
    text-align: center;
    border-radius: 10px;
    margin-top: 60px;
    margin-bottom: 60px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.page-contact__cta-banner-inner {
    max-width: 900px;
    padding: 0 20px;
}

.page-contact__cta-banner-title {
    font-size: 3.2em;
    font-weight: 800;
    color: #111; /* Dark text on light golden background */
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 0 2px 4px rgba(255, 255, 255, 0.3);
}

.page-contact__cta-banner-description {
    font-size: 1.2em;
    color: #333;
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.page-contact__btn-large {
    padding: 18px 40px;
    font-size: 1.2em;
    border-radius: 10px;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-contact__hero-image-wrapper {
        height: 400px;
    }
    .page-contact__main-title {
        font-size: clamp(2em, 5vw, 3em);
    }
    .page-contact__section-title {
        font-size: 32px;
    }
    .page-contact__cta-banner-title {
        font-size: 2.8em;
    }
}

@media (max-width: 768px) {
    .page-contact__hero-section {
        padding-top: 10px !important; /* Ensure small padding on mobile */
        padding-bottom: 40px;
    }
    .page-contact__hero-image-wrapper {
        height: 300px;
        margin-bottom: 20px;
    }
    .page-contact__hero-image {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    .page-contact__hero-content {
        padding: 0 15px;
    }
    .page-contact__main-title {
        font-size: clamp(1.8em, 6vw, 2.5em);
        margin-bottom: 10px;
    }
    .page-contact__description {
        font-size: 1em;
        margin-bottom: 20px;
    }
    .page-contact__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
    .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;
        padding: 12px 20px;
        font-size: 1em;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding-left: 15px;
        padding-right: 15px;
    }
}