.header-carousel .header-carousel-item {
    height: 100vh; /* pleine hauteur d'écran */
    overflow: hidden;
    position: relative;
}

.header-carousel .header-carousel-item img {
    object-fit: cover;
    height: 100%;
    width: 100%;
}
/*style de à propos*/
.about-hero {
    background: url('/images/apropos.jpg') center/cover no-repeat;
    color: white;
    padding: 300px 0;
    text-align: center;
}

.about-hero .container {
    max-width: 800px;
    margin: auto;
    background-color: rgba(0, 0, 0, 0.4);
    padding: 30px;
    border-radius: 12px;
}

.about-content {
    padding: 60px 20px;
    background-color: #f7f7f7;
}

.about-content .container {
    max-width: 900px;
    margin: auto;
}

.about-content h2 {
    color: #222;
    margin-top: 30px;
}

.about-content p {
    font-size: 1.1rem;
    color: #444;
    line-height: 1.6;
}

.about-content ul {
    margin-top: 10px;
    padding-left: 20px;
    list-style-type: disc;
    color: #444;
}
/*la deuxieme partie juste apres l'image toujours dans apropos*/
.dark-bg {
    background-color: #f9f5f5; /* Bleu foncé */
    color:#0B2A52 ; 
    padding: 60px 20px;
}
.dark-bg + .dark-bg {
    margin-top: -110px; /* remonte le bloc suivant */
}


.split {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    align-items: center;
    justify-content: space-between;
}

.split .text {
    flex: 1;
    min-width: 300px;
}
.split .text p {
    font-size: 1.25rem; /* taille augmentée pour le paragraphe */
    line-height: 1.8;
}

.split .text ul {
    font-size: 1.2rem; /* taille des éléments de la liste */
    padding-left: 20px;
}

.split .text ul li {
    margin-bottom: 10px; /* un peu d'espacement entre les éléments */
}


.split .image {
    flex: 1;
    min-width: 300px;
}

.split .image img {
    width: 100%;
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.reverse {
    flex-direction: row-reverse;
}
/*educations*/
.dark-bg {
    background-color: #ffffff;
    color:#0B2A52;
    padding: 60px 20px;
}

.split {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    align-items: center;
    justify-content: space-between;
}

.split .text {
    flex: 1;
    min-width: 300px;
}

.split .image {
    flex: 1;
    min-width: 300px;
}

.split .image img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.reverse {
    flex-direction: row-reverse;
}

.dark-bg + .dark-bg {
    margin-top: -60px;
}

.education-bg {
    background-color: #0B2A52;
}
.bg-actualite {
    background-color: #007bff; /* ou un bleu personnalisé */
    color: white;
    min-height: 33vh; /* pour occuper 1/3 de la hauteur de la page */
}
/************************** css de technopark ***************************/
.carousel-inner img {
    object-fit: cover;
}
.custom-btn-blue,
.custom-btn-red {
    border-radius: 50px; /* arrondi style pilule */
    padding: 10px 30px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.custom-btn-blue:hover {
    background-color: #0056b3; /* bleu foncé */
    color: #fff;
    transform: scale(1.05);
}

.custom-btn-red:hover {
    background-color: #c82333; /* rouge foncé */
    color: #fff;
    transform: scale(1.05);
}

/************eleves******************/
.hover-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 15px;
}
.hover-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}
