/* Correction soulignement rouge sur les liens */
a {
    text-decoration: none !important;
    color: inherit;
    text-decoration-color: currentColor !important;
}
a:hover, a:focus {
    text-decoration: underline;
    color: #3498db;
}

:root {
    --var-primary: #00379e;
    --var-secondary: rgb(255, 255, 255);
    --var-primary-background: rgb(153, 36, 0);
    --var-info-color: rgb(12, 0, 116);
    --var-success-color: rgb(5, 142, 5);
    --var-warning-color: rgb(240, 190, 98);
    --var-danger-color: rgb(239, 56, 56);
    --var-secondary-color: gray;
    --var-family-primary: Arial, helvetica, sans-serif;
}

body {
    font-family: var(--var-family-primary);
}
body {
    font-family: Arial, sans-serif;
    background-color: #ffffff;
}
main {
   background-color: rgb(245, 254, 255);
}
.barre-first{
    background-color: #020133;
    padding: 5px;
    color: white;
    font-size: 14px;
}

.offcanvas .offcanvas-header .btn-close{
    padding: 10px; 
}

.navbar {
    background-color: #00051feb;
    padding: 10px;
    font-size: 14px;
}
.navbar-form { width: 370px;}
.form-floating{width: 300px; }

.navbar .container .other{font-size: 15px;color: rgb(255, 255, 255); text-align: center;}
.navbar .container .nav-item :hover{color: rgb(49, 207, 255); } 
.navbar .container .active{color: rgb(49, 207, 255); font-size: 15px; text-align: center; } 


.navbar-brand .ksmLogo{width: 150px;} 
.menupied a{ text-decoration: none; color: #b6b6b6;}
.menupied a:hover{color: rgb(37, 160, 109);}
.navbar{ z-index: 9999;}
.barre-first a{text-decoration: none; color: rgb(244, 255, 247); }
.barre-first a:hover{color: rgb(0, 182, 9); background-color: rgb(255, 255, 255); border-radius: 5px;}
.row article .nsc{width: 60px;}
.row article .iosh{width: 70px; height: 30px;}





footer .row article .reseau-footer-icon img{width: 35px;}
footer .row article .reseau-footer-ico img{width: 30px;}
.section-offcanvas{background-color: #e4f5ef;}

.social-icons .reseau-footer-icon img{width: 40px; margin-top:5px ; margin-bottom: 5px; opacity: 0.5;}
.social-icons .reseau-footer-ico img{width: 35px; margin-top:5px ; margin-bottom: 5px; opacity: 0.5;}
.social-icons .reseau-footer-icon img:hover{opacity: 1; transform: scale(1.05);}
.social-icons .reseau-footer-ico img:hover{opacity: 1; transform: scale(1.02);}
.section-galerie .row article{box-shadow: 0 15px 24px rgba(0, 0, 0, 0.6)}



.animate  
{
    position: relative;
     -webkit-text-stroke: 0.3vw #695050;
     text-transform: uppercase;
     background:  linear-gradient(90deg, #ff0000, #ffff00, #ff00f3, #0033ff, #ff00c4, #ff0000);
     background-size: 50%;
     font-family: sans-serif;
     letter-spacing: 5px;
     word-spacing: 2px;
     -webkit-text-fill-color: transparent;
     -webkit-background-clip: text;
     animation: anima 10s linear infinite;
}
@keyframes anima{
    0%{
        background-position: 0%;

    }
    100%
    {
        background-position: 400%;
    }
}
.dropdown-menu .mb-3 .form-control{width: 200px;} 
.section-apres-carousel
{
    background-image: url(../image/imageKsm1.png);
     background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}


.first-section{ background-image: url(../image/Ingenier-HSE.jpg);}

footer{
    background-color: #151379;
     background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}
.foot
{
    background-color: rgba(3, 22, 56, 0.8); 
}

#back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: none;
    background-color: #005397;
    color: #fff;
    border-radius: 50%;
    padding: 10px 15px;
    font-size: 20px;
    cursor: pointer;
    transition: background-color 0.3s;
    z-index: 10000;
}

#back-to-top:hover {
    background-color:rgb(22, 53, 22);
}

.bleu-section{
    background-color: #00633d;
}
.bleu-section img{
    width: 180px;
    height: 180px;
}




/* Effet d'eau pour les images du slider */
.carousel-inner img {
    transition: transform 0.5s ease-in-out;
}

.carousel-inner img:hover {
    transform: scale(1.1);
}
/* Animations pour les sections */
.animated-image {
    opacity: 8;
    transform: translate(30px 30px);
    transition: all 0.8s ease-in-out;
}

.animated-image img {
    transition: transform 0.8s ease;
    margin-bottom: 70px;
}

.animated-image:hover {
    transform: scale(1.04);
}

.content-section {
    opacity: 10;
    transform: translateY(50px);
    transition: all 1s ease;
}

/* Activation des animations au scroll */
@media (min-width: 768px) {
    .content-section {
        will-change: opacity, transform;
        opacity: 1;
        transform: translateY(23px);
    }

    .animated-image {
        opacity: 1;
        transform: translateY(12px);
    }
}


.hidden-element {
    opacity: 0; /* L'élément est transparent au départ */
    transform: translateY(50px); /* Position initiale légèrement en dehors de l'écran */
    transition: opacity 0.6s ease-out, transform 0.8s ease-out; /* Transition douce */
}

.visible {
    opacity: 1; /* L'élément devient visible */
    transform: translateY(0); /* L'élément reprend sa position d'origine */
}

.section-lieu-de-formation {border-radius: 15px; box-shadow: 0 10px 10px rgba(0, 0, 0, 0.1); 
}

.section-trois-card article .card:hover{transform: scale(1.009); box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
}
.section-trois-card article{width: 390px; }
.green-carre-turn .carre-turn{
    width: 30px;
    height: 30px;
    animation: vinny 5s linear 0s infinite alternate;
}

@keyframes vinny {
    from{
          transform: rotate(0deg);
        }
    to{
        transform: rotate(360deg);
    }
}






/* styles.css */
.social-icons {
    position: fixed;
    top: 50%;
    right: 10px; /* Petite marge à droite */
    transform: translateY(-50%);
    z-index: 1000; /* Assure que les icônes restent au-dessus du contenu */
    opacity: 1;
    transition: opacity 2s ease-in-out; /* Transition pour l'opacité */
}

.social-icons {
    transition: transform 0.3s ease; /* Effet au survol */
    
}

.social-icon:hover {
    transform: scale(1.2); /* Agrandir légèrement au survol */
}

/* Classe pour masquer les icônes pendant le défilement */
.hidden {
    opacity: 0;
}


 /* Style pour les articles */
 .photo-frame {
    margin-top: 5px;
    padding: 7px; /* p-2 */
    text-align: center; /* Centre le contenu */
    transition: transform 0.3s ease; /* Effet de zoom au survol */
}

.photo-frame:hover{
    transform: scale(1.01);
    box-shadow: 1px 10px 10px rgba(0, 0, 0, 0.1)
}

.photo-frame img {
    width: 100%; /* L'image prend toute la largeur disponible */
    height: auto;
}

.photo-frame img:hover {
    transform: scale(1.01); /* Effet de zoom léger au survol */
    border-color: #ffffff; /* Changement de couleur de bordure au survol */
}

.bouton-galerie{opacity: 0;}
.bouton-galerie:hover{opacity: 1;}

.mission ul li
{
    margin-bottom: 10px;
}



table {
    width: 100%;
    border-collapse: collapse;
}

thead th {
    background-color: #4CAF50;
    color: white;
    padding: 10px;
}

tbody td {
    padding: 8px;
    border: 1px solid #ddd;
    text-align: center;
}

th, td:first-child {
    text-align: left;
}

td:first-child {
    width: 50%;
}

td:nth-child(2), td:nth-child(3) {
    width: 25%;
}



.section-trois .my-1{
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 115, 173, 0.1);
}
.section-trois .my-1:hover{
    box-shadow: 0 4px 8px rgba(9, 173, 255, 0.2);
    transform: scale(1.02);
    transition: all 0.5s ease;
}

.tete{
    font-size: 18px;
    font-weight: 500;
    color: #ffffff;
    text-align: justify;
}



.features-section {
    padding: 50px 0;
  
}

.feature-box {
    margin-bottom: 30px;
    background-image: url(../image/img-hh/stats-bg.jpg);
    padding: 20px;
    border-radius: 4px;
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s ease-in-out;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

.feature-box:hover {
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.2);
}

.icon {
    font-size: 40px;
    color: #5cb85c;
    margin-bottom: 20px;
}

.features-section h4 {
    color: #86ffaa;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
}

.features-section p {
    font-size: 14px;
    color: #ffffff;
}

.features-section a {
    display: block;
    margin-top: 10px;
    font-size: 14px;
    color: #00b818;
    text-decoration: none;
}

.features-section a:hover {
    text-decoration: underline;
}



.section-trois-card article .card{
    height: 520px;
    background-color:#1d325dc1;
    color: rgb(255, 255, 255);
}

.section-de-contact {
    background: linear-gradient(to bottom, #060038, #003d3a);
}




.temoignage{
    background-image: url(./images/bg2.jpg);
    background-size: cover;
}

.temoignage .contenu{
    display: flex;
    margin-top: 40px;
    width: 100%;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    flex-direction: row;
}

.temoignage .contenu .box{
    width: 340px;
    margin: 20px;
    background: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    border-radius: 15px;
    padding: 40px;
}

.temoignage .contenu .box .imbox{
    width: 90px;
    height: 90px;
    border-radius: 50px;
    position: relative;
    margin-bottom: 20px;
    overflow: hidden;
}

.temoignage .contenu .box .imbox img{
    position: relative;
    width: 100%;
    height: 100%;
    top:0;
    left: 0;
    object-fit: cover;
    justify-content: center;
    align-items: center;
}

.temoignage .contenu .box .text{
    text-align:justify;
    color: #666;
}

.temoignage .contenu .box .text h3{
    color: #00a156;
    margin-top: 20px;
    font-size: 1em;
    font-weight: 600;
}


.section-formation{
    background-image: url(../../images/A_data_center_with_rows_of_server_racks_extending_.jpg);
    width: 100%;
    height: 100%;
}

.section-formation .second-formation .h1{
    color: rgb(255, 174, 0);
    font-weight: bolder;
}
.section-formation .second-formation p{
    color: white;
    font-weight: 600;
}
.section-formation .second-formation .p2{
    color: white;
    font-weight: 600;
    font-size: 13px;
}



 
.boss {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.defilement {
    opacity: 1;
    transform: translateY(0);
}

section .row .col .card .card-body .card-text strong{
    opacity: 0.7;
    color: azure;
     visibility: visible;
}
 section .row .col .card .card-body .card-text {
 color: azure;
} 

  

