/* style/contact.css */
.page-contact {
    background-color: #FFFFFF; /* Custom background color */
    color: #000000; /* Dark text for light background */
    font-family: Arial, sans-serif;
    line-height: 1.6;
    padding-top: var(--header-offset, 120px); /* Space for fixed header */
}

.page-contact__hero-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
    gap: 40px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(240, 240, 240, 0.95)); /* Light gradient background */
    border-bottom: 1px solid #eee;
}

.page-contact__hero-content {
    max-width: 800px;
}

.page-contact__hero-title {
    font-size: 3.2em;
    color: #000000;
    margin-bottom: 20px;
    font-weight: bold;
    line-height: 1.2;
}

.page-contact__hero-description {
    font-size: 1.2em;
    color: #333333;
    margin-bottom: 30px;
}

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

.page-contact__button {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease;
    font-size: 1.1em;
    border: 2px solid transparent;
}

.page-contact__button--primary {
    background-color: #FCBC45; /* Login color */
    color: #000000;
    border-color: #FCBC45;
}

.page-contact__button--primary:hover {
    background-color: #e0a53b;
    border-color: #e0a53b;
}

.page-contact__button--secondary {
    background-color: #000000;
    color: #FFFFFF; /* Register color */
    border-color: #000000;
}

.page-contact__button--secondary:hover {
    background-color: #333333;
    border-color: #333333;
}

.page-contact__button--outline {
    background-color: transparent;
    color: #000000;
    border-color: #000000;
}

.page-contact__button--outline:hover {
    background-color: #000000;
    color: #FFFFFF;
}

.page-contact__hero-image-wrapper {
    width: 100%;
    max-width: 1000px;
    margin-top: 40px;
}

.page-contact__hero-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.page-contact__methods-section {
    max-width: 1200px;
    margin: 60px auto;
    padding: 0 20px;
    text-align: center;
}

.page-contact__methods-title {
    font-size: 2.8em;
    color: #000000;
    margin-bottom: 40px;
    font-weight: bold;
}

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

.page-contact__method-card {
    background-color: #F8F8F8;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-contact__method-icon {
    width: 250px; /* Min size 200px */
    height: 187px; /* Maintain aspect ratio for 400x300 */
    margin-bottom: 20px;
    border-radius: 8px;
}

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

.page-contact__method-description {
    font-size: 1em;
    color: #555555;
    margin-bottom: 25px;
    flex-grow: 1;
}

.page-contact__faq-section {
    max-width: 1000px;
    margin: 60px auto;
    padding: 0 20px;
    text-align: center;
}

.page-contact__faq-title {
    font-size: 2.8em;
    color: #000000;
    margin-bottom: 40px;
    font-weight: bold;
}

.page-contact__faq-container {
    text-align: left;
    margin-bottom: 40px;
}

.page-contact__faq-item {
    background-color: #F8F8F8;
    border-radius: 8px;
    margin-bottom: 15px;
    padding: 25px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

.page-contact__faq-question {
    font-size: 1.3em;
    color: #000000;
    margin-bottom: 10px;
    cursor: pointer;
    font-weight: bold;
    position: relative;
    padding-right: 30px;
}

.page-contact__faq-question::after {
    content: '+';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.2em;
    transition: transform 0.3s ease;
}

.page-contact__faq-item.active .page-contact__faq-question::after {
    content: '-';
    transform: translateY(-50%) rotate(180deg);
}

.page-contact__faq-answer {
    font-size: 1em;
    color: #555555;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
    padding-top: 0;
}

.page-contact__faq-item.active .page-contact__faq-answer {
    max-height: 200px; /* Adjust as needed */
    padding-top: 15px;
}

.page-contact__faq-cta {
    margin-top: 50px;
    padding: 40px;
    background-color: #F0F0F0;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.page-contact__faq-cta-text {
    font-size: 1.5em;
    color: #000000;
    margin-bottom: 25px;
    font-weight: bold;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .page-contact__hero-title {
        font-size: 2.8em;
    }
    .page-contact__methods-title,
    .page-contact__faq-title {
        font-size: 2.4em;
    }
}

@media (max-width: 768px) {
    .page-contact__hero-section {
        flex-direction: column;
        padding: 40px 15px;
    }
    .page-contact__hero-title {
        font-size: 2.2em;
    }
    .page-contact__hero-description {
        font-size: 1em;
    }
    .page-contact__hero-actions {
        flex-direction: column;
        gap: 15px;
    }
    .page-contact__button {
        width: 100%;
        max-width: 300px;
    }
    .page-contact__hero-image-wrapper {
        margin-top: 30px;
    }
    .page-contact__methods-section,
    .page-contact__faq-section {
        margin: 40px auto;
        padding: 0 15px;
    }
    .page-contact__methods-title,
    .page-contact__faq-title {
        font-size: 2em;
        margin-bottom: 30px;
    }
    .page-contact__method-card {
        padding: 25px;
    }
    .page-contact__method-icon {
        width: 200px; /* Ensure minimum size */
        height: 150px; /* Maintain aspect ratio */
    }
    .page-contact__method-heading {
        font-size: 1.5em;
    }
    .page-contact__faq-question {
        font-size: 1.1em;
    }
    .page-contact__faq-cta {
        padding: 30px;
    }
    .page-contact__faq-cta-text {
        font-size: 1.2em;
    }
    /* Ensure all images within .page-contact are responsive and don't overflow */
    .page-contact img {
        max-width: 100%;
        height: auto;
    }
}

@media (max-width: 480px) {
    .page-contact__hero-title {
        font-size: 1.8em;
    }
    .page-contact__methods-title,
    .page-contact__faq-title {
        font-size: 1.6em;
    }
    .page-contact__button {
        font-size: 1em;
        padding: 12px 25px;
    }
    .page-contact__methods-grid {
        grid-template-columns: 1fr;
    }
    .page-contact__method-icon {
        width: 200px; /* Ensure minimum size */
        height: 150px; /* Maintain aspect ratio */
    }
    .page-contact__faq-question {
        font-size: 1em;
    }
    .page-contact__faq-cta-text {
        font-size: 1em;
    }
}