/* style/contact.css */

.page-contact {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333333; /* Dark gray for text on light backgrounds */
    background-color: #f8f8f8; /* Light background for the page */
}

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

/* Hero Section */
.page-contact__hero {
    background: linear-gradient(135deg, #004D99, #1a62b3); /* Dark blue gradient */
    color: #ffffff;
    padding: 80px 0;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 30px;
    position: relative;
    overflow: hidden;
}

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

.page-contact__title {
    font-size: 3.5em;
    margin-bottom: 20px;
    color: #FFD700; /* Auxiliary color for emphasis */
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-contact__description {
    font-size: 1.2em;
    margin-bottom: 30px;
    line-height: 1.8;
    color: #e0e0e0;
}

.page-contact__cta-button {
    display: inline-block;
    background-color: #FFD700; /* Auxiliary color for buttons */
    color: #004D99; /* Primary color for text on auxiliary background */
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, transform 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-contact__cta-button:hover {
    background-color: #e6c200; /* Slightly darker yellow on hover */
    transform: translateY(-3px);
}

.page-contact__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.1;
    z-index: 0;
    overflow: hidden;
}

.page-contact__hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%) blur(5px);
    transform: scale(1.1);
}

/* Methods Section */
.page-contact__methods {
    padding: 60px 0;
    background-color: #ffffff;
    text-align: center;
}

.page-contact__section-title {
    font-size: 2.5em;
    color: #004D99; /* Primary color for titles */
    margin-bottom: 40px;
    font-weight: bold;
}

.page-contact__section-description {
    font-size: 1.1em;
    color: #555555;
    margin-bottom: 50px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

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

.page-contact__method-card {
    background-color: #f0f8ff; /* Light blue background for cards */
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    border: 1px solid #e0e0e0;
}

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

.page-contact__method-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
    object-fit: contain;
}

.page-contact__card-title {
    font-size: 1.8em;
    color: #004D99; /* Primary color for card titles */
    margin-bottom: 15px;
}

.page-contact__method-card p {
    color: #666666;
    margin-bottom: 20px;
    flex-grow: 1; /* Allow paragraph to take available space */
}

.page-contact__contact-info {
    font-weight: bold;
    color: #004D99;
    font-size: 1.1em;
    margin-top: 10px;
    margin-bottom: 20px !important; /* Override default p margin if needed */
}

.page-contact__card-button {
    display: inline-block;
    background-color: #004D99; /* Primary color for card buttons */
    color: #ffffff;
    padding: 12px 25px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease;
    font-size: 1em;
    margin-top: auto; /* Push button to the bottom */
}

.page-contact__card-button:hover {
    background-color: #003a7a; /* Darker primary on hover */
}

.page-contact__social-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin-top: 15px;
}

.page-contact__social-list li a {
    color: #004D99;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: color 0.3s ease;
}

.page-contact__social-list li a:hover {
    color: #FFD700;
}

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

.page-contact__faq-list {
    margin-top: 40px;
}

.page-contact__faq-item {
    background-color: #ffffff;
    border-radius: 10px;
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    border-left: 5px solid #FFD700; /* Auxiliary color for emphasis */
}

.page-contact__faq-question {
    font-size: 1.4em;
    color: #004D99; /* Primary color for questions */
    margin-bottom: 10px;
    cursor: pointer;
    position: relative;
    padding-right: 30px;
}

.page-contact__faq-question::after {
    content: '+';
    position: absolute;
    right: 0;
    top: 0;
    font-size: 1.2em;
    color: #FFD700;
    transition: transform 0.3s ease;
}

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

.page-contact__faq-answer {
    font-size: 1em;
    color: #555555;
    display: none; /* Hidden by default, toggled by JS */
    padding-top: 10px;
    border-top: 1px solid #eeeeee;
    margin-top: 15px;
}

.page-contact__faq-answer.active {
    display: block;
}

.page-contact__faq-answer a {
    color: #004D99; /* Primary color for links in answers */
    text-decoration: underline;
    font-weight: bold;
}

.page-contact__faq-answer a:hover {
    color: #FFD700;
}

.page-contact__more-help {
    text-align: center;
    margin-top: 50px;
    padding: 30px;
    background-color: #e6f2ff; /* Lighter shade of primary for background */
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.page-contact__more-help p {
    font-size: 1.2em;
    color: #004D99;
    margin-bottom: 25px;
    font-weight: bold;
}

.page-contact__cta-button--small {
    padding: 12px 25px;
    font-size: 1em;
}


/* Responsive Design */
@media (max-width: 768px) {
    .page-contact__title {
        font-size: 2.5em;
    }

    .page-contact__description {
        font-size: 1em;
    }

    .page-contact__section-title {
        font-size: 2em;
    }

    .page-contact__method-grid {
        grid-template-columns: 1fr;
    }

    .page-contact__hero {
        padding: 60px 20px;
    }
}

@media (max-width: 480px) {
    .page-contact__title {
        font-size: 2em;
    }

    .page-contact__cta-button {
        padding: 12px 20px;
        font-size: 1em;
    }

    .page-contact__section-title {
        font-size: 1.8em;
    }

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

    .page-contact__card-title {
        font-size: 1.5em;
    }

    .page-contact__faq-question {
        font-size: 1.2em;
    }
}

/* Color Contrast Check */
/* Ensure text on #004D99 background is light (e.g., #ffffff, #FFD700) */
/* Ensure text on #FFD700 background is dark (e.g., #004D99, #333) */
/* Ensure text on #f8f8f8 or #ffffff background is dark (e.g., #333, #004D99) */
/* All combinations above adhere to WCAG AA */