.page-contact {
    padding-top: var(--header-offset, 120px); /* Ensures content is not hidden by fixed header */
    background-color: var(--secondary-color); /* Matches body background from shared.css */
    color: #333333; /* Dark text for light background */
    font-family: Arial, sans-serif;
    line-height: 1.6;
}

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

/* Hero Section */
.page-contact__hero-section {
    background-color: #000000; /* Main color for hero background */
    color: #FFFFFF; /* White text for dark background */
    padding: 80px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-contact__hero-container {
    position: relative;
    z-index: 1;
}

.page-contact__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    font-weight: bold;
    line-height: 1.2;
    color: #FCBC45; /* Accent color for title */
}

.page-contact__hero-description {
    font-size: 1.2em;
    max-width: 800px;
    margin: 0 auto 40px auto;
    line-height: 1.8;
}

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

.page-contact__hero-button {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, color 0.3s ease;
    min-width: 200px; /* Ensure button minimum width */
    text-align: center;
}

.page-contact__hero-button--primary {
    background-color: #FCBC45; /* Login color */
    color: #000000; /* Dark text on accent background */
    border: 2px solid #FCBC45;
}

.page-contact__hero-button--primary:hover {
    background-color: #e0a53a;
    border-color: #e0a53a;
}

.page-contact__hero-button--secondary {
    background-color: #FFFFFF; /* Register color */
    color: #000000; /* Dark text on white background */
    border: 2px solid #FFFFFF;
}

.page-contact__hero-button--secondary:hover {
    background-color: #f0f0f0;
    border-color: #f0f0f0;
}

/* General Section Styling */
.page-contact__section-title {
    font-size: 2.5em;
    color: #000000; /* Main color for titles */
    text-align: center;
    margin-bottom: 20px;
    padding-top: 40px;
}

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

/* Contact Methods Section */
.page-contact__methods-section {
    padding: 60px 0;
    background-color: #f9f9f9;
}

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

.page-contact__method-card {
    background-color: #FFFFFF;
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
}

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

.page-contact__method-icon {
    width: 400px; /* Min size 200px, actual display 400x300 */
    height: 300px;
    object-fit: cover;
    margin-bottom: 20px;
    border-radius: 8px;
}

.page-contact__method-title {
    font-size: 1.8em;
    color: #000000;
    margin-bottom: 15px;
}

.page-contact__method-text {
    font-size: 1em;
    color: #666666;
    margin-bottom: 20px;
    flex-grow: 1;
}

.page-contact__method-info a {
    color: #FCBC45;
    text-decoration: none;
    font-weight: bold;
}

.page-contact__method-info a:hover {
    text-decoration: underline;
}

.page-contact__method-button {
    display: inline-block;
    background-color: #FCBC45;
    color: #000000;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1em;
    transition: background-color 0.3s ease;
    margin-top: 15px;
}

.page-contact__method-button:hover {
    background-color: #e0a53a;
}

/* Contact Form Section */
.page-contact__form-section {
    padding: 60px 0;
    background-color: #FFFFFF;
}

.page-contact__contact-form {
    max-width: 700px;
    margin: 0 auto;
    background-color: #f9f9f9;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

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

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

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

.page-contact__form-input:focus,
.page-contact__form-textarea:focus {
    border-color: #FCBC45;
    outline: none;
    box-shadow: 0 0 0 3px rgba(252, 188, 69, 0.3);
}

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

.page-contact__form-submit-button {
    display: block;
    width: 100%;
    padding: 15px;
    background-color: #FCBC45;
    color: #000000;
    border: none;
    border-radius: 8px;
    font-size: 1.2em;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.page-contact__form-submit-button:hover {
    background-color: #e0a53a;
}

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

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

.page-contact__faq-item {
    background-color: #FFFFFF;
    border-radius: 12px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.page-contact__faq-question {
    font-size: 1.3em;
    color: #000000;
    padding: 20px;
    cursor: pointer;
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #FFFFFF;
    border-bottom: 1px solid #eeeeee;
    margin: 0;
}

.page-contact__faq-question::after {
    content: '+';
    font-size: 1.5em;
    transition: transform 0.3s ease;
}

.page-contact__faq-question.active::after {
    content: '-';
    transform: rotate(0deg);
}

.page-contact__faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease-out;
}

.page-contact__faq-answer.active {
    max-height: 500px; /* Adjust based on max content height */
    padding: 20px;
}

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

.page-contact__faq-answer a {
    color: #FCBC45;
    text-decoration: none;
    font-weight: bold;
}

.page-contact__faq-answer a:hover {
    text-decoration: underline;
}

/* Social Media Section */
.page-contact__social-media-section {
    padding: 60px 0;
    background-color: #000000; /* Main color for background */
    color: #FFFFFF;
}

.page-contact__social-media-section .page-contact__section-title,
.page-contact__social-media-section .page-contact__section-description {
    color: #FFFFFF; /* White text for dark background */
}

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

.page-contact__social-icon-link {
    display: block;
    transition: transform 0.3s ease;
}

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

.page-contact__social-icon {
    width: 200px; /* Minimum size 200x200px */
    height: 200px;
    object-fit: contain;
    border-radius: 50%; /* Make them circular */
    background-color: rgba(255, 255, 255, 0.1); /* Slight background for contrast */
    padding: 10px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-contact__hero-title {
        font-size: 3em;
    }
    .page-contact__section-title {
        font-size: 2em;
    }
    .page-contact__social-icon {
        width: 180px;
        height: 180px;
    }
}

@media (max-width: 768px) {
    .page-contact__hero-title {
        font-size: 2.5em;
    }
    .page-contact__hero-description {
        font-size: 1em;
    }
    .page-contact__hero-actions {
        flex-direction: column;
        gap: 15px;
    }
    .page-contact__hero-button {
        width: 100%;
        max-width: 300px;
    }
    .page-contact__method-grid {
        grid-template-columns: 1fr;
    }
    .page-contact__method-icon {
        width: 100%; /* Ensure images are responsive */
        height: auto;
    }
    .page-contact__social-icon {
        width: 150px; /* Still >= 200px in HTML, but visually smaller on mobile via CSS */
        height: 150px;
    }
    .page-contact__form-section, .page-contact__faq-section, .page-contact__social-media-section {
        padding: 40px 0;
    }
    .page-contact__contact-form {
        padding: 30px;
    }
    .page-contact__faq-question {
        font-size: 1.1em;
    }
    .page-contact__faq-answer p {
        font-size: 0.95em;
    }
    /* Mobile image overflow prevention */
    .page-contact img {
        max-width: 100%;
        height: auto;
    }
}

@media (max-width: 480px) {
    .page-contact__hero-title {
        font-size: 2em;
    }
    .page-contact__section-title {
        font-size: 1.8em;
    }
    .page-contact__method-icon {
        width: 100%;
        height: auto;
    }
    .page-contact__social-icon {
        width: 100px; /* Still >= 200px in HTML, but visually smaller on mobile via CSS */
        height: 100px;
    }
}