@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@200;400;500;600;700;800;900&family=Poppins:wght@100;200;300;400;500;600;700;800;900&family=Raleway:wght@200;300;400;500;600;700;800&family=Roboto+Slab:wght@300;400;500;600;700&display=swap');
.blog-header {
    line-height: 1;
    border-bottom: 1px solid #e5e5e5;
}


.blog-header-logo:hover {
    text-decoration: none;
}

.title{
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 3.5rem;
}

.text-thin {
    font-family: 'Raleway', sans-serif;
    font-weight: 300;
}

.text-normal {
    font-family: 'Raleway', sans-serif;
    font-weight: 400;
}

.text-bold {
    font-family: 'Raleway', sans-serif;
    font-weight: 500;
}

.bold {
    font-weight: 600;
}
.extra-bold {
    font-weight: 700;
}

.text-small{
    font-size: 0.8rem;
}

.text-big{
    font-size: 1.2rem;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
}

.gap-10{
    gap: 10px;
}

.custom-button {
    display: inline-block;
    padding: 10px 20px;
    font-size: 14px;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 4px;
    margin: 10px 0; /* Space above and below the button */
}


.shadow-1{
    box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;
}
.shadow-2{
    box-shadow: rgba(0, 0, 0, 0.05) 0px 6px 24px 0px, rgba(0, 0, 0, 0.08) 0px 0px 0px 1px;
}

.nav-item-custom{
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    color: #0f172a;
}


.circle {
    width: 100px; /* Largeur du cercle */
    height: 100px; /* Hauteur du cercle (égale à la largeur pour un cercle parfait) */
    background-color: #EC6726; /* Couleur de fond */
    border-radius: 50%; /* Bord arrondi pour créer un cercle */
    display: flex; /* Flexbox pour centrer le texte */
    justify-content: center; /* Centrer horizontalement */
    align-items: center; /* Centrer verticalement */
    color: white; /* Couleur du texte */
    font-size: 18px; /* Taille de la police */
    text-align: center; /* Alignement du texte */
}

.flex-container {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    gap: 20px; /* Consistent gap between items */
    flex-wrap: wrap; /* Allow wrapping for smaller screens */
}

.flex-item {
    text-align: center; /* Centers the content, including text and images */
    flex: 1 1 calc(25% - 20px); /* Adjusting for 4 items per row with gaps */
    box-sizing: border-box;
}

.flex-item .box-shadow {
    margin: 0 auto; /* Centers the image inside its container */
    height: 200px;
    width: 200px;
    background-size: cover;
    background-blend-mode: overlay;
    border-radius: 8px; /* Optional rounded corners */
    display: block; /* Ensures it behaves like a block element */
}

.flex-item h5 {
    margin: 15px 0 5px; /* Consistent spacing above and below */
    font-size: 18px;
}

.flex-item p {
    margin: 5px 0 15px; /* Uniform spacing around the text */
    font-size: 14px;
    min-height: 50px; /* Ensure consistent text box height */
}



.box-shadow {
    box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;
}




/*
 * Footer
 */
.blog-footer {
    padding: 2.5rem 0;
    color: #6e6e6e;
    text-align: center;
    background-color: #ececec;
    border-top: .05rem solid #e5e5e5;
}
.blog-footer p:last-child {
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .flex-container {
        flex-direction: column;
        gap: 20px; /* Smaller gap for mobile screens */
    }

    .flex-item .box-shadow {
        height: 150px; /* Adjust height for smaller screens */
        width: 150px;
    }
}