

/* Header modifié */
/* header {
    background: white;
} */

/* .header-top {
    background-color: #2c3e50;
    color: white;
    padding: 8px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-main {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-left: 20px;
    padding-right: 20px;
} */

.logo {
    max-width: 150px;
}

.contact-info {
    text-align: right;
}

.contact-info p:first-child {
    color: #666;
    margin-bottom: 5px;
}

.contact-info p:nth-child(2) {
    color: #4E8B71;
    margin-bottom: 5px;
}

.contact-info p:last-child {
    color: #666;
}

nav {
    background: beige;
    border-bottom: 1px solid #ddd;
}

nav ul {
    list-style: none;
    display: flex;
    justify-content: start;
    gap: 2rem;
    padding: 15px 20px;
    margin: 0;
}

nav a {
    text-decoration: none;
    color: #333;
    font-weight: normal;
    font-size: 14px;
}

nav a:hover {
    color: #4E8B71;
}


div {
    margin-bottom: 4px;
    /* Espace entre les div */
}

/* Reste des styles inchangés */
.loader-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: white;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.loader {
    width: 50px;
    height: 50px;
    border: 5px solid #f3f3f3;
    border-top: 5px solid #0047AB;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.carousel {
    position: relative;
    height: 400px;
    overflow: hidden;
}

.carousel-inner {
    height: 100%;
    position: relative;
}

.carousel-slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    background-size: cover;
    background-position: center;
}

.carousel-slide.active {
    opacity: 1;
}

.carousel-text {
    font-size: 2.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    padding: 1rem;
    background: rgba(0, 0, 0, 0.3);
}
/* 
footer {
    background: #333;
    color: white;
    padding: 2rem 0;
    margin-top: 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.footer-section h3 {
    margin-bottom: 1rem;
    color: #0047AB;
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: white;
    text-decoration: none;
}
*/



.login-menu {
    display: flex;
    align-items: center;
}

.login-menu a {
    color: white;
    text-decoration: none;
    padding: 0 10px;
    font-size: 14px;
}

.login-menu a:hover {
    color: #4E8B71;
}


.container {
    text-align: center;
    padding: 20px;
    color: black;
    animation: fadeIn 1.5s ease-in-out;
}

.container h1 {
    font-size: 3rem;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    margin-bottom: 20px;
    animation: zoomIn 1s ease-in-out;
}

.container p {
    font-size: 1.2rem;
    line-height: 1.6;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.4);
    animation: fadeInText 2s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes zoomIn {
    from {
        transform: scale(0.5);
    }

    to {
        transform: scale(1);
    }
}

@keyframes fadeInText {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.two-column {
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 20px;
    margin-top: 20px;
}

.two-column img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

.two-column .text {
    max-width: 45%;
    font-size: 1rem;
    line-height: 1.5;
}

.five-section {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 10px;
    padding: 20px;
    margin-top: 20px;
    height: 200px;
    background-image: url('image/imgdiv1.jpg');
    /* Remplacez par le chemin de votre image */
    background-size: cover;
    background-position: center;
}

.five-section div {
    background: rgba(255, 255, 255, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    font-weight: bold;
    border: 1px solid #ddd;
    border-radius: 5px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

.separator {
    text-align: center;
    font-size: 1.8rem;
    font-weight: bold;
    margin: 20px 0;
    padding: 10px 0;
    border-top: 2px solid #ddd;
    border-bottom: 2px solid #ddd;
    color: #0047AB;
    /*color: black;*/
}

/* Ajout d'espacement entre les divs du body */
.two-column {
    margin: 40px 0;
    padding: 30px;
    background-color: rgba(255, 255, 255, 0.9);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.two-column:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

/* Style des images dans les rectangles */
.image-container {
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.image-container img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.image-container:hover img {
    transform: scale(1.05);
}

/* Style du séparateur */
.separator {
    margin: 50px 0;
    padding: 20px 0;
    background: linear-gradient(to right, transparent, rgba(0, 0, 0, 0.1), transparent);
    transform: translateY(-5px);
    transition: transform 0.3s ease;
}

.separator:hover {
    transform: translateY(-8px);
}

/* Animation pour le texte */
.text {
    transition: opacity 0.3s ease;
    padding: 20px;
    border-radius: 8px;
}

.text:hover {
    background-color: rgba(0, 0, 0, 0.02);
}

/* Style des titres dans les sections */
.text h1 {
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #4E8B71;
    transition: color 0.3s ease;
    color: #0047AB;
}

.text h1:hover {
    color: #4E8B71;
}

/* Ajustement du carousel pour correspondre au style */
.carousel {
    margin-bottom: 40px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    overflow: hidden;
}

/* Animation de chargement des sections */
.two-column {
    animation: fadeInUp 0.8s ease-out forwards;
    opacity: 0;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Effet de transition générale */
* {
    transition: all 0.3s ease-in-out;
}


.logo {
    max-width: 150px;
}

.nav-menu {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-grow: 1;
}

.nav-menu ul {
    list-style: none;
    display: flex;
    gap: 2rem;
    margin: 0;
    padding: 0;
}

.nav-menu a {
    text-decoration: none;
    color: #333;
    font-weight: normal;
    font-size: 14px;
}

.nav-menu a:hover {
    color: #4E8B71;
}

.contact-info {
    text-align: right;
}
