/* Hero Section pour la page Contact */
.page-hero {
    background: linear-gradient(rgba(0, 0, 123, 0.7), rgba(0, 0, 123, 0.7)), url('https://images.unsplash.com/photo-1513694203232-719a280e022f?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1769&q=80');
    background-size: cover;
    background-position: center;
    height: 50vh;
    display: flex;
    align-items: center;
    text-align: center;
    color: white;
}

.page-hero-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
}

.page-hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.breadcrumb {
    display: flex;
    justify-content: center;
    list-style: none;
    margin-top: 1rem;
}

.breadcrumb li {
    margin: 0 0.5rem;
}

.breadcrumb li a {
    color: white;
    text-decoration: none;
}

.breadcrumb li:after {
    content: ">";
    margin-left: 1rem;
    color: #e30303;
}

.breadcrumb li:last-child:after {
    content: "";
}

/* Contact Section */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 3rem;
    margin-top: 2rem;
}

.contact-info {
    background: #00007b;
    color: white;
    padding: 2.5rem;
    border-radius: 10px;
    height: fit-content;
}

.contact-info h3 {
    margin-bottom: 2rem;
    font-size: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.contact-info h3:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: #e30303;
}

.contact-detail {
    display: flex;
    margin-bottom: 2rem;
    align-items: flex-start;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 1rem;
    font-size: 1.2rem;
}

.contact-text h4 {
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.contact-text p {
    margin: 0;
    line-height: 1.6;
}

.social-links {
    margin-top: 2.5rem;
}

.social-links h4 {
    margin-bottom: 1rem;
}

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-icons a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    text-decoration: none;
    transition: background 0.3s;
    font-size: 1.2rem;
}

.social-icons a:hover {
    background: #e30303;
}

/* Contact Form */
.contact-form-container {
    background: white;
    padding: 2.5rem;
    border-radius: 10px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
}

.contact-form-container h3 {
    margin-bottom: 2rem;
    color: #00007b;
    font-size: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.contact-form-container h3:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: #e30303;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #333;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #00007b;
    box-shadow: 0 0 0 3px rgba(0, 0, 123, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    margin-top: 1.5rem;
}

.checkbox-group input {
    width: auto;
    margin-right: 0.8rem;
    margin-top: 0.3rem;
}

.checkbox-group label {
    display: inline;
    font-weight: normal;
}

.error-message {
    display: block;
    color: #e30303;
    font-size: 0.85rem;
    margin-top: 0.5rem;
    min-height: 1.2rem;
}

.btn-submit {
    width: 100%;
    padding: 1.2rem;
    font-size: 1.1rem;
    margin-top: 1rem;
    position: relative;
}

.btn-text, .btn-loading {
    transition: opacity 0.3s;
}

.btn-outline {
    background: transparent;
    border: 2px solid #00007b;
    color: #00007b;
    padding: 0.8rem 1.8rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-outline:hover {
    background: #00007b;
    color: white;
}

.form-message {
    margin-top: 1.5rem;
    padding: 1rem;
    border-radius: 5px;
    text-align: center;
    display: none;
}

.form-message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    display: block;
}

.form-message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    display: block;
}

/* Map Section */
.map-section {
    padding: 5rem 0;
    background: #f0f0f0;
}

#map {
    height: 450px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
}

.map-actions {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
}

/* FAQ Section */
.faq-section {
    background: white;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid #eee;
    margin-bottom: 1rem;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 0;
    cursor: pointer;
}

.faq-question h4 {
    color: #00007b;
    margin: 0;
    font-size: 1.1rem;
}

.faq-question i {
    color: #00007b;
    transition: transform 0.3s;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 300px;
}

.faq-answer p {
    padding-bottom: 1.5rem;
    margin: 0;
    line-height: 1.6;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(rgba(0, 0, 123, 0.8), rgba(0, 0, 123, 0.8)), url('https://images.unsplash.com/photo-1545235617-9465d2a55698?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1780&q=80');
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
    padding: 5rem 0;
}

.cta-section h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.cta-section p {
    max-width: 700px;
    margin: 0 auto 2rem;
    font-size: 1.2rem;
}

/* Responsive pour la page Contact */
@media (max-width: 968px) {
    .contact-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
}

@media (max-width: 768px) {
    .page-hero h1 {
        font-size: 2.5rem;
    }
    
    .contact-info,
    .contact-form-container {
        padding: 1.5rem;
    }
    
    #map {
        height: 350px;
    }
    
    .faq-question h4 {
        font-size: 1rem;
        padding-right: 1rem;
    }
}