/* style/contact.css */

/* Base styles for the contact page */
.page-contact {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f4f7f6;
}

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

.page-contact-title {
    font-size: 3.2em;
    color: #007BFF;
    text-align: center;
    margin-bottom: 20px;
    font-weight: bold;
}

.page-contact-subtitle {
    font-size: 1.2em;
    color: #555;
    text-align: center;
    margin-bottom: 40px;
}

.page-contact-section-title {
    font-size: 2.5em;
    color: #007BFF;
    text-align: center;
    margin-bottom: 50px;
    position: relative;
    padding-bottom: 15px;
}

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

/* Hero Section */
.page-contact-hero {
    background: linear-gradient(135deg, #007BFF 0%, #4da3ff 100%);
    color: #fff;
    padding: 80px 0 40px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-contact-hero-image {
    max-width: 100%;
    height: auto;
    margin-top: 40px;
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* Contact Methods Section */
.page-contact-methods {
    padding: 60px 0;
    background-color: #fff;
    position: relative;
    overflow: hidden;
}

.page-contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 40px;
}

.page-contact-card {
    background-color: #f9f9f9;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border-top: 5px solid #007BFF;
}

.page-contact-card-title {
    font-size: 1.8em;
    color: #007BFF;
    margin-bottom: 20px;
}

.page-contact-card-description {
    color: #666;
    margin-bottom: 25px;
}

/* Contact Form */
.page-contact-form-group {
    margin-bottom: 20px;
}

.page-contact-form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: #333;
}

.page-contact-form-group input[type="text"],
.page-contact-form-group input[type="email"],
.page-contact-form-group textarea {
    width: calc(100% - 20px);
    padding: 12px 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1em;
    color: #333;
    background-color: #fff;
}

.page-contact-form-group input:focus,
.page-contact-form-group textarea:focus {
    border-color: #007BFF;
    outline: none;
    box-shadow: 0 0 5px rgba(0, 123, 255, 0.3);
}

.page-contact-button {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease;
    cursor: pointer;
    border: none;
    font-size: 1em;
    text-align: center;
}

.page-contact-button--primary {
    background-color: #007BFF;
    color: #fff;
}

.page-contact-button--primary:hover {
    background-color: #0056b3;
}

.page-contact-button--secondary {
    background-color: #FFD700;
    color: #333;
    margin-left: 15px;
}

.page-contact-button--secondary:hover {
    background-color: #e6c200;
}

.page-contact-button--link {
    background-color: transparent;
    border: 2px solid #007BFF;
    color: #007BFF;
    padding: 8px 15px;
    font-size: 0.9em;
    margin-top: 10px;
}

.page-contact-button--link:hover {
    background-color: #007BFF;
    color: #fff;
}

/* Contact Info List */
.page-contact-info-list {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
}

.page-contact-info-list li {
    margin-bottom: 15px;
    font-size: 1.1em;
    color: #333;
}

.page-contact-info-list li strong {
    color: #007BFF;
}

.page-contact-link {
    color: #007BFF;
    text-decoration: none;
}

.page-contact-link:hover {
    text-decoration: underline;
}

/* Social Links */
.page-contact-social-links {
    margin-top: 30px;
    border-top: 1px solid #eee;
    padding-top: 20px;
}

.page-contact-social-title {
    font-size: 1.3em;
    color: #007BFF;
    margin-bottom: 15px;
}

.page-contact-social-icon {
    display: inline-block;
    margin-right: 15px;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    background-color: #007BFF;
    color: #fff;
    border-radius: 50%;
    transition: background-color 0.3s ease;
}

.page-contact-social-icon img {
    width: 24px;
    height: 24px;
    vertical-align: middle;
}

.page-contact-social-icon:hover {
    background-color: #FFD700;
    color: #333;
}

.page-contact-illustration {
    display: block;
    max-width: 80%;
    height: auto;
    margin: 50px auto 0 auto;
    border-radius: 10px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

/* FAQ Section */
.page-contact-faq-section {
    padding: 60px 0;
    background-color: #f4f7f6;
}

.page-contact-faq-list {
    margin-top: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-contact-faq-item {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.page-contact-faq-question {
    width: 100%;
    padding: 20px 25px;
    text-align: left;
    font-size: 1.2em;
    font-weight: bold;
    color: #007BFF;
    background-color: #e7f0ff;
    border: none;
    cursor: pointer;
    outline: none;
    transition: background-color 0.3s ease;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.page-contact-faq-question::after {
    content: '+';
    font-size: 1.5em;
    color: #007BFF;
    transition: transform 0.3s ease;
}

.page-contact-faq-question.active {
    background-color: #d1e3ff;
}

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

.page-contact-faq-answer {
    padding: 0 25px;
    background-color: #fff;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease-out;
}

.page-contact-faq-answer.active {
    max-height: 200px; /* Adjust as needed */
    padding: 20px 25px;
}

.page-contact-faq-answer p {
    margin-bottom: 15px;
    color: #555;
}

.page-contact-faq-image {
    display: block;
    max-width: 70%;
    height: auto;
    margin: 50px auto 0 auto;
    border-radius: 10px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

/* CTA Section */
.page-contact-cta-section {
    background: linear-gradient(90deg, #007BFF 0%, #0056b3 100%);
    color: #fff;
    padding: 80px 0;
    text-align: center;
}

.page-contact-cta-text {
    font-size: 1.3em;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-contact-cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.page-contact-cta-buttons .page-contact-button {
    min-width: 180px;
    padding: 15px 30px;
    font-size: 1.1em;
}

.page-contact-cta-image {
    display: block;
    max-width: 90%;
    height: auto;
    margin: 60px auto 0 auto;
    border-radius: 10px;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.3);
}

/* Responsive Design */
@media (max-width: 992px) {
    .page-contact-grid {
        grid-template-columns: 1fr;
    }
    .page-contact-cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    .page-contact-cta-buttons .page-contact-button {
        margin-left: 0;
        width: 80%;
    }
    .page-contact-hero-image, .page-contact-illustration, .page-contact-faq-image, .page-contact-cta-image {
        max-width: 90%;
    }
}

@media (max-width: 768px) {
    .page-contact-title {
        font-size: 2.5em;
    }
    .page-contact-section-title {
        font-size: 2em;
    }
    .page-contact-card-title {
        font-size: 1.5em;
    }
    .page-contact-faq-question {
        font-size: 1.1em;
        padding: 15px 20px;
    }
    .page-contact-faq-answer.active {
        padding: 15px 20px;
    }
    .page-contact-hero, .page-contact-methods, .page-contact-faq-section, .page-contact-cta-section {
        padding: 40px 0;
    }
    .page-contact-subtitle, .page-contact-cta-text {
        font-size: 1em;
    }
}

@media (max-width: 576px) {
    .page-contact-title {
        font-size: 2em;
    }
    .page-contact-section-title {
        font-size: 1.8em;
    }
    .page-contact-card {
        padding: 20px;
    }
    .page-contact-form-group input, .page-contact-form-group textarea {
        width: calc(100% - 10px);
    }
    .page-contact-cta-buttons .page-contact-button {
        width: 95%;
    }
}