.page-title {
    background-color: #3b5998;
    color: white;
    padding: 2rem 5%;
    text-align: center;
}

.page-title h1 {
    margin-bottom: 0.5rem;
}

/* Contact Intro */
.contact-intro {
    display: flex;
    flex-wrap: wrap;
    padding: 2rem 5%;
    background-color: #f5f5f5;
    margin-bottom: 2rem;
}

.contact-intro-text {
    flex: 1;
    min-width: 300px;
    padding-right: 2rem;
}

.contact-intro-text h2 {
    color: #3b5998;
    margin-bottom: 1rem;
}

.contact-intro-text p {
    margin-bottom: 1rem;
}

.contact-methods {
    flex: 1;
    min-width: 300px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.contact-method {
    flex-basis: calc(33.333% - 1rem);
    background-color: white;
    padding: 1.5rem;
    border-radius: 5px;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    margin-bottom: 1rem;
}

.contact-method img {
    width: 50px;
    height: 50px;
    margin-bottom: 1rem;
}

.contact-method h3 {
    color: #3b5998;
    margin-bottom: 0.5rem;
}

.social-links {
    display: flex;
    flex-direction: column;
}

.social-link {
    color: #3b5998;
    text-decoration: none;
    margin: 0.2rem 0;
    transition: color 0.3s;
}

.social-link:hover {
    color: #2d4373;
}

/* Contact Form */
.contact-form-section {
    padding: 2rem 5%;
    margin-bottom: 2rem;
}

.contact-form-section h2 {
    color: #3b5998;
    margin-bottom: 1.5rem;
    text-align: center;
}

.contact-form {
    max-width: 700px;
    margin: 0 auto;
    background-color: #f9f9f9;
    padding: 2rem;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #333;
    font-weight: bold;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 3px;
    font-size: 1rem;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: #3b5998;
    outline: none;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
}

.checkbox-group input {
    width: auto;
    margin-top: 0.3rem;
    margin-right: 0.8rem;
}

.checkbox-group label {
    font-weight: normal;
}

.form-actions {
    text-align: center;
}

.form-actions .btn {
    background-color: #3b5998;
    color: white;
    border: none;
    padding: 0.8rem 2rem;
    border-radius: 3px;
    cursor: pointer;
    font-size: 1rem;
    transition: background-color 0.3s;
}

.form-actions .btn:hover {
    background-color: #2d4373;
}

/* Error and Success Messages */
.error-message {
    color: #d32f2f;
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

.success-message {
    background-color: #43a047;
    color: white;
    padding: 1rem;
    border-radius: 5px;
    margin-bottom: 1.5rem;
    text-align: center;
}

.fade-out {
    opacity: 0;
    transition: opacity 0.5s;
}

.form-group input.invalid,
.form-group select.invalid,
.form-group textarea.invalid {
    border-color: #d32f2f;
}

/* FAQ Section */
.faq-section {
    padding: 2rem 5%;
    margin-bottom: 2rem;
    background-color: #f5f5f5;
}

.faq-section h2 {
    color: #3b5998;
    margin-bottom: 1.5rem;
    text-align: center;
}

.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background-color: white;
    border-radius: 5px;
    margin-bottom: 1rem;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.faq-question {
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.faq-question h3 {
    margin: 0;
    color: #3b5998;
    font-size: 1.1rem;
}

.toggle-icon {
    font-size: 1.5rem;
    color: #3b5998;
}

.faq-answer {
    padding: 0 1rem 1rem;
    display: none;
}

.faq-answer p {
    margin-bottom: 1rem;
}

.faq-answer ul {
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}

.faq-answer li {
    margin-bottom: 0.5rem;
}

.faq-item.active .toggle-icon {
    transform: rotate(45deg);
}

.faq-item.active .faq-answer {
    display: block;
}

@media (max-width: 768px) {
    .contact-methods {
        flex-direction: column;
    }
    
    .contact-method {
        flex-basis: 100%;
    }
    
    .contact-form {
        padding: 1.5rem;
    }
}
