
.navbar-toggler {
    border-color: white; /* Bordure blanche */
}

.navbar-toggler-icon {
    filter: brightness(0) invert(1); /* Change la couleur en blanc */
}
/* Agrandir l'icône d'accueil */
.home-icon .gear-icon .people-icon .postcard-icon .telephone-icon{
    font-size: 2rem;
    color: white;
}
.navbar-custom {
   /* background-color: #ff8c00;*/ /* Orange personnalisé */
    background-color: orange; /* Orange personnalisé */
}

.navbar-custom .navbar-brand,
.navbar-custom .nav-link {
    color: white;
}

.navbar-custom .nav-link:hover {
    color: #ffd700; /* Jaune doré au survol */
}
/* Effet de brillance lors du passage du curseur */
.dropdown-item:hover, .nav-link:hover {
    background-color: #ffc107;
    color: black;
    box-shadow: 0 4px 10px rgba(255, 193, 7, 0.5);
}

/* Effet fluide pour déploiement des sous-menus */
.dropdown-menu {
    /* background: rgba(0, 0, 0, 0.9);*/
    background-color: orange;
    display: none;
    opacity: 0;
    padding: 0;
    margin: 0;
    gap: 10px;
    transition: opacity 0.5s ease-in-out;
}
/* Texte des sous-menus et sous-sous-menus en blanc */
.dropdown-menu .dropdown-item {
    color: white !important;
    /*  border-bottom: 1px solid white;*/
}
/* Sous-menu affiché */
.dropdown-menu.show {
    display: block;
    opacity: 1;
}
.dropdown-submenu {
    position: relative;
}

/* Par défaut, le sous-sous-menu s'affiche à droite */
.dropdown-submenu .dropdown-menu {
    position: absolute;
    top: 0;
    left: 100%;
    margin-top: 0;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;
    visibility: hidden;
}

/* Affichage au survol */
.dropdown-submenu:hover > .dropdown-menu {
    display: block;
    opacity: 1;
    visibility: visible;
}

/* Adaptation pour les écrans réduits (mobile & tablette) */
@media (max-width: 992px) {
    .dropdown-submenu .dropdown-menu {
        position: relative;
        left: 0;
        top: auto;
        margin-left: 25px; /* Décalage léger pour la lisibilité */
        width: 100%; /* Ajuste la largeur pour ne pas dépasser */
    }
}


/* Flèche de sous-menu */
.dropdown-submenu > a::after {
    content: "";
    font-size: 1.2rem;
    color: white;
}

/* Lien actif avec fond coloré */
.nav-item.active > .nav-link {
    background-color: mediumseagreen;
    color: white;
}

/* Effet de déploiement des sous-menus "tapis" */
.dropdown-menu.animate-dropdown {
    display: block;
    transform: translateY(-20px);
    opacity: 0;
    animation: slideDown 0.5s forwards;
}
/* Icônes */
.dropdown-item::before {
    font-family: "Bootstrap Icons";
    font-size: 16px;
    color: orange;
}

/* Animation du "tapis" */
@keyframes slideDown {
    0% {
        transform: translateY(-20px);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}
/* actualité */
/*.news-card {
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    background: #fff;
}

.news-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

!* Effet de reflet *!
.news-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(255, 255, 255, 0.1), transparent);
    transform: translateX(-50%);
    transition: opacity 0.3s ease-in-out;
    opacity: 0;
}

.news-card:hover::before {
    opacity: 1;
}

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

.news-date {
    font-size: 0.9rem;
    color: #ff5722;
    font-weight: bold;
}

.card-title {
    font-size: 1.2rem;
    font-weight: bold;
    color: #333;
}

.card-text {
    font-size: 0.95rem;
    color: #666;
}

.btn-primary {
    background-color: #ff8c00;
    border: none;
    transition: 0.3s;
}

.btn-primary:hover {
    background-color: #ff5722;
}

!* Bouton "Voir plus" *!
.btn-outline-primary {
    border-color: #ff8c00;
    color: #ff8c00;
    transition: all 0.3s ease-in-out;
}

.btn-outline-primary:hover {
    background-color: #ff8c00;
    color: white;
}*/
/* Debuit actualité */
body{
   /* background: url("/sitetest.oneci.ci/public/images/background.png");*/

}
.moneservice {
    /* background: linear-gradient(135deg, orange, green );*/
    font-family: 'Arial', sans-serif;
    padding: 25px;
    position: relative;
    margin-top:-6em ;
    background-image: linear-gradient(to left,whitesmoke,transparent) ;
}

.moneservice::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* background: url("/sitetest.oneci.ci/public/assets/images/presentation/oneci-orange-house.jpg") center/cover no-repeat;
    */filter: blur(10px);
    z-index: -1;
}

.monappeloffre {
    /* background: linear-gradient(135deg, orange, green );*/
    font-family: 'Arial', sans-serif;
    padding: 25px;
    position: relative;
    margin-top:-6em ;
}

.monappeloffre::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* background: url("/sitetest.oneci.ci/public/assets/images/presentation/oneci-orange-house.jpg") center/cover no-repeat;
    */filter: blur(10px);
    z-index: -1;
}
.monactu {
/* background: linear-gradient(135deg, orange, green );*/
    font-family: 'Arial', sans-serif;
    padding: 25px;
    position: relative;
    background-image: linear-gradient(to left,transparent,#DF7215) ;
}

.monactu::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* background: url("/sitetest.oneci.ci/public/assets/images/presentation/oneci-orange-house.jpg") center/cover no-repeat;
    */filter: blur(10px);
    z-index: -1;
}

.actualite-container {
    overflow: hidden;
    width: 100%;
   /* max-width: 1200px; */
    max-width: 1300px;
    margin: auto;
    position: relative;
    text-align: center;
}
.actualite1-container {
    overflow: hidden;
    width: 90%;
    max-width: 1200px;
    margin: auto;
    position: relative;
    text-align: center;
}
.actualite-wrapper {
    display: flex;
    gap: 15px;
    transition: transform 1s ease-in-out;
}

.actualite-card {
    flex: 0 0 calc(100% / 3 - 10px);
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    padding: 15px;
    transition: transform 0.5s, box-shadow 0.5s;
}

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

.actualite-img {
    width: 100px;
    height: 100px;
    border-radius: 8px;
    object-fit: cover;
}

.actualite-title {
    font-weight: bold;
    font-size: 1rem;
}

.actualite-date {
    font-size: 0.9rem;
    color: gray;
}

.actualite-content {
    font-size: 0.9rem;
    color: #333;
}

.btn-lire {
    background: orange;
    color: white;
    border-radius: 5px;
    padding: 5px 10px;
    text-align: center;
    display: block;
    width: fit-content;
    margin-top: 5px;
}

/* ✅ Styles pour les boutons de navigation */
.slide-controls {
    position: absolute;
    top: 50%;
    width: 100%;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    pointer-events: none; /* Permet aux cartes d'actualités de rester interactives */
}

.slide-controls button {
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 12px 15px;
    cursor: pointer;
    font-size: 24px;
    border-radius: 50%;
    transition: background 0.3s ease;
    pointer-events: all; /* Rend les boutons cliquables */
    position: absolute;
}

#prevBtn {
    left: -40px; /* Ajuste pour qu'il soit bien visible */
}
#nextBtn{
    right: -40px;
}

#nextBtn1 {
    position: absolute;
    right: 10px; /* Essaye différentes valeurs */
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    padding: 12px 15px;
    font-size: 24px;
    border-radius: 50%;
    cursor: pointer;
    display: block !important; /* Force son affichage */
    z-index: 1000; /* Assure-toi qu'il est au-dessus */
}


.slide-controls button:hover {
    background: rgba(0, 0, 0, 0.8);
}


/* fin actualité */
/* style Annonces */
.monannonce {
    /* background: linear-gradient(135deg, orange, green );*/
    font-family: 'Arial', sans-serif;
    padding: 25px;
    position: relative;
    margin-top: -2.5em;

}

.monannonce::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /*background: url(../assets/images/presentation/oneci-orange-house.jpg) center/cover no-repeat;
    background-image:linear-gradient(to left, grey, whitesmoke);*/
    /*filter: blur(10px);*/
    z-index: -1;
}
.announcement-card {
    border: none;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    padding: 20px;
}

.announcement-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.announcement-icon {
    font-size: 2.5rem;
    color: orange;
    margin-bottom: 10px;
}

.card-title {
    font-size: 1.4rem;
    font-weight: bold;
    color: #333;
}

.card-text {
    font-size: 1rem;
    color: #666;
}

.announcement-date {
    display: block;
    font-size: 0.9rem;
    color: #ff5722;
    font-weight: bold;
    margin-bottom: 10px;
}

.btn-primary {
    /*background-color: #ff8c00;*/
    background-color: orange;
    border: none;
    transition: 0.3s;
}

.btn-primary:hover {
    background-color: #ff5722;
}

/* fin style Annonces */
/* style eservice */

.moneservice {
    font-family: Arial, sans-serif;
    background: linear-gradient(135deg, transparent, #c3cfe2);
    margin: 0;
    padding: 20px;
}
.eservices-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    /*padding: 20px;*/
    padding: 0px;
    /*
    width:90%;
    margin:auto;*/

}
.eservice-card {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    padding: 20px;
    text-align: center;
    transition: all 0.5s ease-in-out;
    overflow: hidden;
    position: relative;
}
.eservice-card:hover {
    /*background: rgba(144, 238, 144, 0.7); *//* Vert clair transparent */
    background: rgba(255,255 ,255, 0.7); /* Orange clair transparent */

    transform: translateY(-5px); /* Effet bondissant */
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2); /* Ombre plus marquée */
    transition: all 0.3s ease-in-out; /* Animation fluide */
    border:1px solid orange
}

.eservice-card.expanded {
    grid-column: span 3;
}
.eservice-icon {
    font-size: 50px;
    color: #007bff;
    margin-bottom: 10px;
}
.eservice-title {
    font-weight: bold;
    font-size: 1.2rem;
}
.eservice-description {
    font-size: 0.9rem;
    color: #333;
    display: -webkit-box;
    -webkit-line-clamp: 2; /* Limite à 2 lignes */
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: max-height 0.5s ease-in-out;
}
.eservice-card.expanded .eservice-description {
    -webkit-line-clamp: unset; /* Afficher tout le texte */
    max-height: none; /* Retirer la limite de hauteur */
}
.toggle-btn {
    background-color: green;
    color: white;
    cursor: pointer;
    padding: 8px 15px;
    border-radius: 5px;
    margin-top: 10px;
    display: inline-block;
    text-decoration: none;
}
.btn-service {
    background: green;
    color: white;
    padding: 8px 15px;
    border-radius: 5px;
    display: none; /* Cacher par défaut */
    margin-top: 10px;
    text-decoration: none;
}
.btn-services {
    background: green;
    color: white;
    padding: 8px 15px;
    border-radius: 5px;
    display: block; /* Cacher par défaut */
    margin-top: 0;
    text-decoration: none;
}
.eservice-card.expanded .btn-service {
    display: inline-block; /* Afficher lorsque la carte est étendue */
}
.eservice-footer .toggle-btn {
    margin-right: 10px; /* Espacement entre les boutons */
}

@media screen and (max-width: 1024px) {
    .eservices-container {
        grid-template-columns: repeat(2, 1fr); /* Deux colonnes sur tablettes */
    }
}

@media screen and (max-width: 768px) {
    .eservices-container {
        grid-template-columns: repeat(1, 1fr); /* Une colonne sur mobiles */
    }

    .eservice-card {
        padding: 15px;
    }

    .eservice-icon {
        font-size: 40px; /* Réduire la taille de l'icône */
    }

    .eservice-title {
        font-size: 1rem;
    }

    .eservice-description {
        font-size: 0.8rem;
    }
    .monannonce {
        /* background: linear-gradient(135deg, orange, green );*/
        /*font-family: 'Arial', sans-serif;
        padding: 50px;
        position: relative;*/
        margin-top: -1em;

    }
    /*.py-3{
        display: none;
    }
    .main-wrapper{
        margin:0 0;
        position: fixed;
        z-index:99;width: 100%;
    }
    */
}


/* fin eservice */
