/* style/contact.css */

/* Variables */
:root {
    --page-contact-primary-color: #003366;
    --page-contact-secondary-color: #FFCC00;
    --page-contact-text-dark: #333333;
    --page-contact-text-light: #ffffff;
    --page-contact-background-light: #f4f7fa;
    --page-contact-background-dark: #002244;
    --page-contact-border-color: #e0e0e0;
}

.page-contact {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--page-contact-text-dark);
    background-color: var(--page-contact-background-light);
}

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

/* Hero Section */
.page-contact__hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(135deg, var(--page-contact-primary-color), var(--page-contact-background-dark));
    color: var(--page-contact-text-light);
    padding: 80px 20px;
    position: relative;
    overflow: hidden;
}

.page-contact__hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('[GALLERY:bg:abstract,geometric,pattern,subtle]') no-repeat center center/cover;
    opacity: 0.1;
    z-index: 1;
}

.page-contact__hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.page-contact__title {
    font-size: 3.5em;
    margin-bottom: 20px;
    color: var(--page-contact-secondary-color);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-contact__subtitle {
    font-size: 1.3em;
    margin-bottom: 40px;
    max-width: 700px;
    line-height: 1.8;
}

.page-contact__cta-button {
    display: inline-block;
    background-color: var(--page-contact-secondary-color);
    color: var(--page-contact-primary-color);
    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: #e6b800;
    transform: translateY(-3px);
}

.page-contact__hero-image-wrapper {
    display: none; /* Hide image on small screens */
}

.page-contact__hero-image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    margin-top: 40px;
}

/* Section Titles & Descriptions */
.page-contact__section-title {
    font-size: 2.5em;
    color: var(--page-contact-primary-color);
    text-align: center;
    margin-top: 60px;
    margin-bottom: 20px;
    position: relative;
}

.page-contact__section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background-color: var(--page-contact-secondary-color);
    margin: 10px auto 0;
    border-radius: 2px;
}

.page-contact__section-description {
    font-size: 1.1em;
    color: var(--page-contact-text-dark);
    text-align: center;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Contact Methods Section */
.page-contact__contact-methods {
    padding: 60px 0;
    background-color: var(--page-contact-background-light);
}

.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-color: var(--page-contact-text-light);
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

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

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

.page-contact__method-title {
    font-size: 1.6em;
    color: var(--page-contact-primary-color);
    margin-bottom: 15px;
}

.page-contact__method-text {
    font-size: 1em;
    color: var(--page-contact-text-dark);
    margin-bottom: 25px;
    flex-grow: 1;
}

.page-contact__method-button {
    display: inline-block;
    background-color: var(--page-contact-primary-color);
    color: var(--page-contact-text-light);
    padding: 12px 25px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    font-size: 0.95em;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.page-contact__method-button:hover {
    background-color: #004d99;
    transform: translateY(-2px);
}

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

.page-contact__social-icon img {
    width: 35px;
    height: 35px;
    transition: transform 0.3s ease;
}

.page-contact__social-icon img:hover {
    transform: scale(1.1);
}

/* FAQ Section */
.page-contact__faq {
    padding: 60px 0;
    background-color: var(--page-contact-text-light);
}

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

.page-contact__faq-item {
    background-color: var(--page-contact-background-light);
    border-radius: 10px;
    margin-bottom: 20px;
    padding: 25px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    border-left: 5px solid var(--page-contact-secondary-color);
}

.page-contact__faq-question {
    font-size: 1.4em;
    color: var(--page-contact-primary-color);
    margin-bottom: 10px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.page-contact__faq-question::after {
    content: '+';
    font-size: 1.2em;
    color: var(--page-contact-secondary-color);
    margin-left: 10px;
    transition: transform 0.3s ease;
}

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

.page-contact__faq-answer {
    font-size: 1.05em;
    color: var(--page-contact-text-dark);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-out, padding 0.5s ease-out;
    padding-top: 0;
}

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

.page-contact__faq-answer a {
    color: var(--page-contact-primary-color);
    text-decoration: underline;
}

.page-contact__faq-answer a:hover {
    color: var(--page-contact-secondary-color);
}

/* Contact Form Section */
.page-contact__form-section {
    padding: 60px 0;
    background-color: var(--page-contact-background-light);
}

.page-contact__form {
    max-width: 700px;
    margin: 40px auto 0;
    background-color: var(--page-contact-text-light);
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

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

.page-contact__form-label {
    display: block;
    font-size: 1.1em;
    color: var(--page-contact-primary-color);
    margin-bottom: 10px;
    font-weight: bold;
}

.page-contact__form-input,
.page-contact__form-textarea {
    width: calc(100% - 20px);
    padding: 12px 10px;
    border: 1px solid var(--page-contact-border-color);
    border-radius: 8px;
    font-size: 1em;
    color: var(--page-contact-text-dark);
    background-color: #f9f9f9;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.page-contact__form-input:focus,
.page-contact__form-textarea:focus {
    border-color: var(--page-contact-secondary-color);
    box-shadow: 0 0 0 3px rgba(255, 204, 0, 0.2);
    outline: none;
}

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

.page-contact__submit-button {
    display: block;
    width: 100%;
    background-color: var(--page-contact-primary-color);
    color: var(--page-contact-text-light);
    padding: 15px 20px;
    border: none;
    border-radius: 50px;
    font-size: 1.2em;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-contact__submit-button:hover {
    background-color: #004d99;
    transform: translateY(-3px);
}

.page-contact__form-message {
    text-align: center;
    margin-top: 20px;
    padding: 15px;
    border-radius: 10px;
    font-weight: bold;
    font-size: 1.1em;
}

.page-contact__form-message.success {
    background-color: #d4edda;
    color: #155724;
}

.page-contact__form-message.error {
    background-color: #f8d7da;
    color: #721c24;
}

/* Additional Info Section */
.page-contact__additional-info {
    padding: 60px 0;
    background-color: var(--page-contact-text-light);
}

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

.page-contact__info-card {
    background-color: var(--page-contact-background-light);
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.07);
    transition: transform 0.3s ease;
    border-bottom: 4px solid var(--page-contact-secondary-color);
}

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

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

.page-contact__info-title {
    font-size: 1.5em;
    color: var(--page-contact-primary-color);
    margin-bottom: 10px;
}

.page-contact__info-text {
    font-size: 0.95em;
    color: var(--page-contact-text-dark);
}

.page-contact__final-cta {
    text-align: center;
    font-size: 1.3em;
    margin-top: 60px;
    color: var(--page-contact-primary-color);
    font-weight: bold;
}

.page-contact__final-cta a {
    color: var(--page-contact-secondary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-contact__final-cta a:hover {
    color: #e6b800;
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 992px) {
    .page-contact__title {
        font-size: 2.8em;
    }
    .page-contact__subtitle {
        font-size: 1.2em;
    }
    .page-contact__section-title {
        font-size: 2em;
    }
    .page-contact__methods-grid, .page-contact__info-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

@media (max-width: 768px) {
    .page-contact__hero {
        padding: 60px 15px;
    }
    .page-contact__title {
        font-size: 2.2em;
    }
    .page-contact__subtitle {
        font-size: 1.1em;
    }
    .page-contact__cta-button {
        padding: 12px 25px;
        font-size: 1em;
    }
    .page-contact__section-title {
        font-size: 1.8em;
    }
    .page-contact__section-description {
        font-size: 1em;
    }
    .page-contact__methods-grid, .page-contact__info-grid {
        grid-template-columns: 1fr;
    }
    .page-contact__method-card, .page-contact__info-card {
        padding: 25px;
    }
    .page-contact__form {
        padding: 30px;
    }
    .page-contact__faq-question {
        font-size: 1.2em;
    }
    .page-contact__faq-answer {
        font-size: 0.95em;
    }
}

@media (max-width: 480px) {
    .page-contact__hero {
        padding: 40px 10px;
    }
    .page-contact__title {
        font-size: 1.8em;
    }
    .page-contact__subtitle {
        font-size: 0.95em;
    }
    .page-contact__cta-button {
        padding: 10px 20px;
        font-size: 0.9em;
    }
    .page-contact__section-title {
        font-size: 1.5em;
    }
    .page-contact__section-description {
        font-size: 0.9em;
    }
    .page-contact__method-icon {
        width: 50px;
        height: 50px;
    }
    .page-contact__method-title {
        font-size: 1.4em;
    }
    .page-contact__form-label {
        font-size: 1em;
    }
    .page-contact__submit-button {
        font-size: 1.1em;
    }
    .page-contact__final-cta {
        font-size: 1.1em;
    }
}