body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f8f8f8;
    color: #333;
}
/* Header */
header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #333;
    color: white;
    padding: 20px 40px;
}

/* Logo */
header .logo img {
    width: 120px; /* Logo plus petit */
    height: auto;
}

/* Titre */
header h1 {
    flex: 1;
    text-align: center;
    font-size: 1.8rem;
    margin: 0;
}

/* Navigation */
nav ul {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
}

nav ul li {
    margin-left: 20px;
}

nav ul li a {
    text-decoration: none;
    color: white;
    font-weight: bold;
}

nav ul li a:hover {
    color: #ffcc00;
}

/* Responsive */
@media (max-width: 768px) {
    header {
        flex-direction: column;
        text-align: center;
    }
    
    header .logo {
        margin-bottom: 15px;
    }
    
    nav ul {
        flex-direction: column;
    }
    
    nav ul li {
        margin: 10px 0;
    }
}

#hero {
    background-image: url('images/fond.jpg');
    background-size: cover; /* L'image couvre toute la section */
    background-position: center; /* L'image est centrée */
    color: white; /* Couleur du texte pour qu'il contraste avec l'arrière-plan */
    text-align: center;
    padding: 150px 20px; /* Augmentation du padding pour plus de hauteur */
    min-height: 500px; /* Hauteur minimale de la section */
}

#hero h2 {
    font-size: 2.5em;
    margin-bottom: 20px;
}

#hero p {
    font-size: 1.2em;
    margin-bottom: 30px;
}
#hero-c {
    background-image: url('images/contact-avocat.jpg');
    background-size: cover; /* L'image couvre toute la section */
    background-position: center; /* L'image est centrée */
    color: white; /* Couleur du texte pour qu'il contraste avec l'arrière-plan */
    text-align: center;
    padding: 100px 20px; /* Augmentation du padding pour plus de hauteur */
    min-height: 200px; /* Hauteur minimale de la section */
}

#hero-c h2 {
    font-size: 2.5em;
    margin-bottom: 20px;
}

#hero-c p {
    font-size: 1.2em;
    margin-bottom: 30px;
}

.btn {
    padding: 10px 20px;
    background-color: #007BFF;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
}


.btn:hover {
    transform: scale(1.1);
}

#services, #testimonials, #cases, #contact {
    padding: 50px;
    text-align: center;
}

.cases-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.case {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    max-width: 500px;
    text-align: left;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.case-img img {
    width: 100%;
    max-height: 200px;
    object-fit: cover;
    border-radius: 10px;
}

.case-content {
    text-align: left;
}

.case-content h3 {
    font-size: 20px;
    color: #003366;
}

.case-content p {
    font-size: 16px;
    color: #333;
}

.case-content ul {
    list-style: none;
    padding: 0;
}

.case-content ul li {
    font-size: 15px;
    color: #555;
    margin-bottom: 5px;
    display: flex;
    align-items: left;
    padding-left: 20px; /* Ajoute un léger décalage */
    gap: 5px;
}

.testimonials-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.testimonial {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    max-width: 450px;
    text-align: left;
    display: flex;
    align-items: center;
    gap: 15px;
}

.testimonial-img img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #003366;
}

.testimonial-content {
    flex: 1;
}

.testimonial-content p {
    font-size: 16px;
    color: #333;
}

.testimonial-content h4 {
    font-size: 18px;
    color: #003366;
    margin: 5px 0 3px;
}

.testimonial-content span {
    font-size: 14px;
    color: #777;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}


.hero-img {
    width: 60%;
    max-width: 500px;
    display: block;
    margin: 20px auto;
    border-radius: 10px;
}

/* Section Nos Services */
#services {
    background-color: #f8f9fa; /* Couleur de fond claire */
    padding: 60px 20px;
    text-align: center;
}

.container {
    max-width: 1200px;
    margin: auto;
}

#services h2 {
    font-size: 2.5em;
    color: #003366; /* Bleu foncé */
    margin-bottom: 40px;
    text-transform: uppercase;
}

.service-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.service {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    max-width: 350px;
    text-align: left;
}

.service:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

.service-img img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.service-info {
    padding: 20px;
}

.service-info h3 {
    font-size: 1.5em;
    color: #003366;
    margin-bottom: 10px;
}

.service-info p {
    font-size: 1em;
    color: #555;
}





.testimonial img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    display: block;
    margin: 10px auto;
}

.service, .testimonial {
    text-align: center;
}



/* Responsive */
@media (max-width: 768px) {
    .service-list {
        flex-direction: column;
        align-items: center;
    }

    .service {
        max-width: 90%;
    }
}


/* Section principale */
#timeline {
    background: #f9f9f9;
    padding: 60px 20px;
    text-align: center;
}

/* Titres */
.section-title {
    font-size: 32px;
    font-weight: bold;
    color: #333;
    margin-bottom: 10px;
}

.section-subtitle {
    font-size: 18px;
    color: #666;
    margin-bottom: 40px;
}

.timeline {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.timeline-item {
    display: flex;
    align-items: center;
    gap: 20px;
}

.timeline-img img {
    width: 200px;
    height: 200px;
    border-radius: 10px;
    object-fit: cover;
}

.timeline-content {
    flex: 1;
    background: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.timeline-icon {
    font-size: 30px;
    color: #003366;
    margin-bottom: 10px;
}

.section-title {
    text-align: center;
    font-size: 28px;
    color: #003366;
}

.section-subtitle {
    text-align: center;
    font-size: 18px;
    margin-bottom: 40px;
    color: #555;
}


/* ---- SECTION CONTACT ---- */
.contact-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 40px;
    background: #f8f9fa;
    border-radius: 10px;
}

.contact-image img {
    width: 100%;
    max-width: 800px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.contact-info h2 {
    font-size: 28px;
    margin-top: 20px;
    color: #333;
}

.contact-info p {
    font-size: 18px;
    color: #666;
}

.offices-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.office {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    text-align: left;
}

.office h3 {
    font-size: 22px;
    color: #007bff;
}

.office p {
    font-size: 16px;
    color: #444;
    margin: 5px 0;
}

.office a {
    text-decoration: none;
    color: #007bff;
    font-weight: bold;
}

.wrap {
    max-width: 900px;
    margin: auto;
}

.introtext h2 {
    font-size: 28px;
    color: #333;
    margin-bottom: 20px;
}

.entries {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.entry {
    text-align: center;
    width: 300px;
}

.circlewrap {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.circle {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 15px;
}

.avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-size: cover;
    background-position: center;
}

h5 {
    font-size: 18px;
    color: #007BFF;
    margin-bottom: 5px;
}

span {
    font-size: 14px;
    color: #666;
}



/* Section divisée en deux */
.split-section {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    padding: 40px;
    background-color: #f4f4f9;
}

/* Partie gauche */
.left-side {
    flex: 1;
    max-width: 50%;
    padding: 20px;
    text-align: left;
}

.left-side h2 {
    color: #003366;
}

.left-side img {
    width: 100%;
    border-radius: 10px;
    margin-top: 15px;
}

/* Partie droite (Iframe) */
.right-side {
    flex: 1;
    max-width: 50%;
    padding: 20px;
}

.right-side iframe {
    width: 100%;
    height: 500px;
    border-radius: 10px;
    border: 1px solid #ccc;
}

/* Responsive pour mobile */
@media (max-width: 768px) {
    .split-section {
        flex-direction: column;
        text-align: center;
    }
    
    .left-side, .right-side {
        max-width: 100%;
    }
}











/* Footer */
footer {
    background-color: #333;
    color: white;
    padding: 40px 20px;
    text-align: center;
    border-radius: 20px 20px 0 0;
}

.footer-container {
    max-width: 1200px;
    margin: auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: start;
    text-align: left;
    gap: 30px;
}

/* Centrer les éléments du footer */
.footer-container > div {
    flex: 1;
    min-width: 200px;
}

/* Centrer le logo */
.footer-logo img {
    max-width: 90px;
}
/* Assurer le centrage des sections sur mobile */
@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer-logo, 
    .footer-links, 
    .footer-contact {
        width: 100%;
		
		font-size: 1.2em;
    margin-bottom: 10px;
    text-transform: uppercase;
    color: #f8f9fa;
		
    }

    /* Centrer les listes de liens */
    .footer-links ul {
        padding: 0;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .footer-links ul li {
    margin-bottom: 8px;
}

.footer-links ul li a {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links ul li a:hover {
    color: #ffcc00;
}
}


/* Contact et Social */
.footer-contact p, 
.footer-contact a {
    color: white;
    font-size: 0.9em;
    text-decoration: none;
}

.footer-contact a:hover {
    text-decoration: underline;
}

/* Centrer les icônes sociales */
.social-icons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

.social-icons img {
    width: 30px;
    margin: 5px;
}

/* Bas de page */
.footer-bottom {
    margin-top: 20px;
    padding-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    font-size: 0.9em;
}

/* 📱 Responsive : tout centrer sur mobile */
@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer-container > div {
        width: 100%;
    }

    .footer-links ul {
        padding: 0;
    }

    .social-icons {
        justify-content: center;
    }
}

/* Styles pour la section Services */
#services {
    background: #f9f9f9;
    padding: 60px 20px;
    text-align: center;
}

#services .container {
    max-width: 1200px;
    margin: auto;
}

#services h2 {
    font-size: 2.5rem;
    color: #003366;
    margin-bottom: 10px;
}

#services .intro-text {
    font-size: 1.2rem;
    color: #555;
    margin-bottom: 40px;
}

.service-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.service {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 500px;
    transition: transform 0.3s ease;
}

.service:hover {
    transform: scale(1.05);
}

.service-img img {
    width: 100%;
    height: auto;
    border-bottom: 5px solid #003366;
}

.service-info {
    padding: 20px;
    text-align: left;
}

.service-info h3 {
    font-size: 1.5rem;
    color: #003366;
    display: flex;
    align-items: center;
    gap: 10px;
}

.service-info p {
    color: #666;
    margin: 10px 0;
}

.service-info ul {
    text-align: left;
    padding-left: 20px; /* Ajoute un léger décalage */
}

.service-info ul li {
    font-size: 1rem;
    color: #444;
    padding: 5px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .service-list {
        flex-direction: column;
        align-items: center;
    }

    .service {
        max-width: 90%;
    }
}







/* Conteneur principal */
.container-f {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    width: 90%;
    max-width: 400px;
    text-align: center;
}

/* Titres et texte */
h1-c {
    font-size: 1.5em;
    color: #003366;

}

p {
    font-size: 0.9em;
    color: #666;
}

/* Formulaire */
form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

label {
    font-size: 0.9em;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 8px;
    color: #333;
}

/* Champs du formulaire */
input, select {
    width: 100%;
    padding: 10px;
    font-size: 1em;
    border: 1px solid #ccc;
    border-radius: 5px;
    background: #f9f9f9;
}

/* Bouton */
button {
    background: #003366;
    color: white;
    font-size: 1em;
    padding: 12px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s;
}

button:hover {
    background: #0055a5;
}

/* Responsive */
@media (max-width: 480px) {
    .container {
        padding: 20px;
    }
}
