/* style/contact.css */

/* General page styles */
.page-contact {
    font-family: Arial, sans-serif;
    color: #333;
    background-color: #f8f9fa;
}

.page-contact__hero {
    background-color: #0A2463; /* Main brand color */
    color: #FFFFFF; /* White text for contrast */
    padding: 80px 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
}

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

.page-contact__hero-title {
    font-size: 2.8em;
    margin-bottom: 15px;
    color: #FFD700; /* Auxiliary color for emphasis */
    line-height: 1.2;
}

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

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

.page-contact__hero-image {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

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

.page-contact__button--primary {
    background-color: #FFD700; /* Auxiliary color */
    color: #0A2463; /* Main brand color for text */
}

.page-contact__button--primary:hover {
    background-color: #e6c200;
    transform: translateY(-2px);
}

.page-contact__section-title {
    font-size: 2.2em;
    color: #0A2463; /* Main brand color */
    text-align: center;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.page-contact__section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: #FFD700; /* Auxiliary color */
    border-radius: 2px;
}

.page-contact__section-description {
    font-size: 1.1em;
    color: #555;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px;
    line-height: 1.6;
}

.page-contact__contact-info {
    padding: 60px 20px;
    background-color: #ffffff;
}

.page-contact__info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

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

.page-contact__info-card:hover {
    transform: translateY(-5px);
}

.page-contact__info-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 20px;
    filter: drop-shadow(2px 2px 4px rgba(0,0,0,0.2));
}

.page-contact__card-title {
    font-size: 1.6em;
    color: #0A2463; /* Main brand color */
    margin-bottom: 15px;
}

.page-contact__card-text {
    color: #666;
    font-size: 1em;
    line-height: 1.6;
    margin-bottom: 20px;
}

.page-contact__link {
    color: #0A2463; /* Main brand color */
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: color 0.3s ease;
}

.page-contact__link:hover {
    color: #FFD700; /* Auxiliary color */
}

.page-contact__link--disabled {
    color: #999;
    cursor: not-allowed;
    text-decoration: none;
}

.page-contact__social-links {
    display: flex;
    gap: 15px;
    margin-top: 10px;
}

.page-contact__social-link {
    color: #0A2463;
    font-size: 1.1em;
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-contact__social-link:hover {
    color: #FFD700;
}

.page-contact__form-section {
    padding: 60px 20px;
    background-color: #f8f9fa;
}

.page-contact__contact-form {
    max-width: 700px;
    margin: 0 auto;
    background-color: #ffffff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

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

.page-contact__form-label {
    display: block;
    font-weight: bold;
    margin-bottom: 8px;
    color: #0A2463; /* Main brand color */
    font-size: 1.05em;
}

.page-contact__form-input,
.page-contact__form-textarea {
    width: calc(100% - 24px); /* Account for padding */
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1em;
    color: #333;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.page-contact__form-input:focus,
.page-contact__form-textarea:focus {
    border-color: #FFD700; /* Auxiliary color */
    box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.3);
    outline: none;
}

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

.page-contact__button--submit {
    width: 100%;
    background-color: #0A2463; /* Main brand color */
    color: #FFFFFF; /* White text for contrast */
    padding: 15px;
    font-size: 1.2em;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
    border: none;
}

.page-contact__button--submit:hover {
    background-color: #1a3c7c; /* Slightly darker main color */
    transform: translateY(-2px);
}

.page-contact__faq {
    padding: 60px 20px;
    background-color: #e0e7ed; /* Light background for FAQ */
}

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

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

.page-contact__faq-question {
    padding: 20px 25px;
    font-size: 1.3em;
    color: #0A2463; /* Main brand color */
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #fbfdff;
    border-bottom: 1px solid #eee;
    margin: 0;
    font-weight: bold;
}

.page-contact__faq-question:focus {
    outline: 2px solid #FFD700;
    outline-offset: 2px;
}

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

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

.page-contact__faq-answer {
    padding: 0 25px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-out, padding 0.5s ease-out;
    background-color: #ffffff;
}

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

.page-contact__faq-answer p {
    margin: 0;
    color: #555;
    line-height: 1.7;
    font-size: 1em;
}

/* Responsive Design */
@media (max-width: 768px) {
    .page-contact__hero {
        padding: 60px 15px;
    }

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

    .page-contact__hero-description {
        font-size: 1em;
    }

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

    .page-contact__contact-info, 
    .page-contact__form-section, 
    .page-contact__faq {
        padding: 40px 15px;
    }

    .page-contact__contact-form {
        padding: 30px;
    }

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

    .page-contact__section-description {
        font-size: 0.95em;
    }

    .page-contact__faq-question {
        font-size: 1.1em;
        padding: 15px 20px;
    }

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

@media (max-width: 480px) {
    .page-contact__hero-title {
        font-size: 1.6em;
    }

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

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

    .page-contact__contact-form {
        padding: 20px;
    }
}