/* Grande Image */

  #centre {
      background-image: url(../img/img3.jpg);
      background-size: cover;
    }

/* Titre */

  .titre h1 {
  	text-align: center;
    margin-top: 20px;
  	margin-bottom: 40px;
  	color: #FDFDFD;
  	text-shadow: 1px 1px 3px rgba(255, 255, 255, 0.2), 
                   2px 2px 5px rgba(0, 0, 0, 0.1);
  }

/* Courant fort et courant faible */

  #courant {
  	display: flex;
  	flex-direction: column;
  	background: linear-gradient(135deg, rgba(0, 159, 253, 0.8), rgba(0, 176, 230, 1)),
  	url('../img/img8.png') no-repeat center center fixed;
    background-size: cover;
  	color:#006ec3;
  	padding: 10px 10px 0 10px;
  }

  #courant p {
  	font-size: 20px;
  }

  #courant h2 {
  	margin-bottom: 25px;
  	font-weight: bold;
    position: relative;
    display: inline-block;
  }

  #courant h2::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #006ec3, #00b0e6);
    border-radius: 2px;
  }

  #courant .row {
  	height: 100%;
  }

  #courant .col-md-5:hover {
  	transform: scale(1.05);
  	filter: brightness(1.05);
    box-shadow: 0px 8px 20px rgba(0, 110, 195, 0.3);
  }

  #courant .col-md-5 {
  	display: flex;
  	align-items: center;
  	padding: 0;
    min-height: 20em;
  }

  #courant .col-md-7 {
  	padding: 20px;
  }

  #cf .row .col-md-7, #IRVE .row .col-md-7 {
  	text-align: end; 
  }

  #CF .row .col-md-7 {
  	text-align: start; 
  }

  #cf, #CF, #IRVE {
  	background-color: #FDFDFD;
  	border-radius: 20px;
  	overflow: hidden;
  	margin-bottom: 7em;
  }

  @media (max-width: 767px) {
    #cf p, #CF p, #IRVE p {
      text-align: justify;
    }

    #cf .col-md-7, #CF .col-md-7, #IRVE .col-md-7 {
      display: flex;
      flex-direction: column;
      align-items: center;
    }
  }

  #cf:hover, #CF:hover, #IRVE:hover {
  	transform: translateY(-5px);
    box-shadow: 0px 8px 20px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease-in-out;
  }

  #cf .col-md-5 {
    background-image: url(../img/routeur.jpg);
    background-size: cover;
  }

  #CF .col-md-5 {
    background-image: url(../img/armoire.jpg);
    background-size: cover;
  }

  #IRVE .col-md-5 {
    background-image: url(../img/borne.jpg);
    background-size: cover;
  }

/* Liste des clients */

   #clients {
      background-color: white;
      padding: 50px 20px 150px;
    }

    #clients .container{
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
    }

    #clients h1 {
      margin-bottom: 1.5em;
    }

    .clients-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr); 
      gap: 100px 10px; 
      justify-items: center; 
      max-width: 1200px;
      margin: 0;
    }

    .client {
      width: 100%; 
      height: 200px; 
      display: flex;
      align-items: center;
      justify-content: center;
      opacity: 0;
      transform: translateY(50px);
      transition: opacity 0.6s ease-out, transform 0.6s ease-out;
    }

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

    .client img {
      max-width: 80%;
      max-height: 100%; 
      object-fit: contain; 
      transition: transform 0.4s ease;
  }

    .client img:hover {
      transform: scale(1.3);
    }

    @media (max-width: 1024px) {
        .clients-grid {
            grid-template-columns: repeat(3, 1fr); /* Passe en 3 colonnes sur tablettes */
        }
    }

    @media (max-width: 768px) {
        .clients-grid {
            grid-template-columns: repeat(2, 1fr); /* Passe en 2 colonnes sur petits écrans */
        }
    }

    @media (max-width: 480px) {
        .clients-grid {
            grid-template-columns: repeat(1, 1fr); /* Passe en 1 colonne sur mobiles */
        }
    }

/* Travaux */

  #travaux {
  	height: auto;
  	padding: 10px;
  	color: white;
  	font-size: 20px;
  	font-weight: bold;
  	background-image: url(../img/img6.jpg);
  	background-repeat: no-repeat;
  	background-size: cover;
    background-attachment: fixed;
  }

  #travaux h1 {
    margin-top: 15px;
  }

  #travaux .container-fluid {
  	width: 80%;
  }

  #travaux .row, #travaux .col {
  	display: flex;
  	align-items: center;
  	justify-content: center;
  }

  #travaux .row {
    position: relative;
    background: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(1.5px);
    border-radius: 15px;
    padding: 20px;
    margin: 10px;;
  }

  #travaux .col {
  	display: flex;
  	flex-direction: column;
  }

  #travaux li::marker {
  	color: #FFB400;
  }

  #travaux ul {
    list-style: none;
    padding-left: 0;
  }

  #travaux li {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
  }

  #travaux li::before {
    content: "\f0c8"; 
    font-family: "Font Awesome 5 Free";
    color: transparent;
    font-weight: 400;
    color: #FFB400;
    position: absolute;
    left: 0;
    top: 0;
    font-size: 1.2em;
    line-height: 1.2em;
    margin-right: 10px;
  }

  #travaux ul li {
    position: relative;
    display: block; 
    padding-bottom: 5px;
    padding-left: 1.5em; 
    overflow: hidden;
    width: fit-content; 
  }

  #travaux ul li::after {
    content: "";
    position: absolute;
    width: 0; 
    height: 3px; 
    background: #FFB400; 
    left: 0;
    bottom: 0;
    transition: width 0.3s ease-in-out;
  }

  #travaux #t {
    margin-bottom: 2em;
  }

  #travaux ul li:hover::after {
    width: 100%; 
  }

  #travaux h2 {
    position: relative;
    font-size: 30px;
    font-weight: bold;
    margin-bottom: 15px;
  }

  #travaux h2::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 0%;
    height: 3px;
    background: #FFB400;
    transition: width 0.5s ease-in-out;
  }

  #travaux h2:hover::after {
    width: 100%;
  }

  #travaux .col:hover {
    transform: translateY(-5px) scale(1.03);
    box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease-in-out;
  }

  @media (max-width: 450px) {
     #travaux .row {
        backdrop-filter: blur(0px);
      }
  }



