:root {
  --bleu-nuit: #0A1F44;
  --blanc: #FFFFFF;
  --bleu-clair: #1E90FF;
  --gris-clair: #F2F2F2;
  --orange-accent: #FFA500;
}

body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  background-color: var(--blanc);
  color: var(--bleu-nuit);
  line-height: 1.6;

}

section {
  padding: 20px;
  box-sizing: border-box;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/*slogan*/
.slogan-banner {
  background-color:  white !important;
  color: #01284e;
  text-align: center;
  font-size: 1.2rem;
  font-weight: 500px;
  font-family: 'Orbitron', sans-serif;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 1s ease-out forwards;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 20px;
  margin-top: 80px;
}

/*.top-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: rgb(226, 67, 67);
    color: black;
    font-family: 'Orbitron', sans-serif;
    font-size: 1rem;
  margin: 0;
    height: 50px;
     border: solid;
  }*/


.nav-right {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-right: 20px;
  margin-top: 10px;

}

.intra {
  color: blue;
  text-decoration: none;
  font-weight: bold;
}

.language-selector {
  display: flex;
  align-items: center;
  gap: 5px;
  color: white;
}

.language-selector select {
  padding: 5px 10px;
  border: none;
  border-radius: 4px;
  background-color: white;
  color: #03335c;
}

.icon-wrapper {
  display: flex;
  align-items: center;
  gap: 8px;
}

.icon-img {
  width: 20px;
  height: 20px;

}

.nav-left,
.nav-right {
  display: flex;
  align-items: center;
  gap: 15px;
}

.nav-left {
  margin-left: 50px;
}

.icon-text {
  max-width: 0;
  opacity: 0;
  white-space: nowrap;
  overflow: hidden;
  transition: max-width 0.4s ease, opacity 0.3s ease, margin-left 0.3s;
  color: #9fccf8;
  font-size: 1rem;
  margin-left: 0;
}

.icon-wrapper:hover .icon-text {
  max-width: 120px;
  opacity: 1;
  margin-left: 10px;
}

/*hero*/

.home-hero {
  position: relative;
  overflow: hidden;
  height: 750px;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.07);
 
 

}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-align: center;
  opacity: 0;
  transition: opacity 1s ease;
}

.hero-slide.active {
  opacity: 1;
  z-index: 2;
}

.slide {

  width: 100%;
  background-size: cover;
  background-position: center;
  position: absolute;

}

.hero-slide .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 0 20px;
}

.hero-content h1 {
  font-size: 6.5rem;
  margin-bottom: 10px;
  font-weight: bolder;
  font-family: Orbitron', sans-serif';
}

.hero-content p {
  font-size: 3rem;
  margin: 0;
}

@media (max-width: 600px) {
  .home-hero {
    height: 320px;
  }

  .hero-content h1 {
    font-size: 1.4rem;

  }

  .hero-content p {
    font-size: 1rem;
  }
}

.slider-dots {
  position: absolute;
  bottom: 25px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 3;
}

.slider-dot {
  width: 12px;
  height: 12px;
  background: rgba(255, 255, 255, 0.6);
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.8s;
  border: none;
  outline: none;
}

.slider-dot.active {
  background: #fff;
}

/*header*/
.logo {
  height: 60px;
  margin-right: 10px;
}

header h1 {
  font-family: 'Orbitron', sans-serif;
  font-size: 3.2rem;
  margin: 0;
  color: #01284e;
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 40px;
  background: linear-gradient(to right, white 10%, #b0d4f1 35%, #3b5f8f 60%, #01284e 90%);
  color: white;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 999;
  transition: background 1s ease-in-out;

}

.header-left {
  display: flex;
  align-items: center;
  gap: 15px;
  float: left;


}

.header-right {
  display: flex;
  align-items: center;
  gap: 5px;
  float: right;
  justify-content: flex-end;
  margin-top: 15px;
}

nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;

}

nav ul li {
  position: relative;
  margin: 0 10px;

}

nav ul li a {
  color: white;
  text-decoration: none;
  font-weight: 400;
  padding: 5px;
  display: block;
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #01284e;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  min-width: 160px;
}

.dropdown:hover .dropdown-menu {
  display: block;
}

.dropdown-menu li {
  margin: 0;

}

.dropdown-menu li a {
  padding: 10px 15px;
  white-space: nowrap;
}

.dropdown-menu li a:hover {
  background-color: #03335c;
}

.menu-button {
  display: none;
}


/*responsive_navbar*/
@media (max-width: 768px) {

  header {
    padding: 10px 10px;
  }

  .logo {
    margin-right: 0px;
    height: 50px;
  }

  header h1 {
    font-size: 1.6rem;
    color: white;
  }

  .header-left {
    display: flex;
    align-items: center;
    float: left;
  }

  .navbar-right .dropdown-menu {
    right: 0;
    left: auto;
  }

  .navbar-right .dropdown-menu-left {
    right: auto;
    left: 0;
  }

  nav ul {
    flex-direction: column;
    background-color: #01284e;
    position: absolute;
    top: 100%;
    right: 0;
    width: 100%;
    display: none;
  }

  nav ul li {
    margin: 0;
    text-align: center;
    border-bottom: 1px solid #ffffff33;
  }

  nav ul li a {
    padding: 15px 0;
  }

  .menu-button {
    padding: 8px 16px;
    background-color: #03335c;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1.2rem;
    display: block;

  }

  nav.active ul {
    display: flex;
  }

  .dropdown .dropdown-menu {
    display: none;
  }

  .dropdown.active .dropdown-menu {
    display: block;
  }

  .dropdown-menu {
    position: static;
    background-color: #03335c;
    box-shadow: none;
  }

  .header-right {
    flex-direction: column;
    align-items: flex-end;
    margin-top: 10px;
  }
}

/*hero2*/
.qui-sommes-nous {
  background-color: #fff;
  color: #1a1a2e;
  box-shadow: 0 6px 40px rgba(26, 26, 46, 0.05);
  border-radius: 20px;
}

.texte {
  background: #fff;
  padding: 0 30px;
}

.texte h2 {
  font-size: 3rem;
  margin-bottom: 30px;
  font-weight: bold;
}

.texte p {
  font-size: 1.25rem;
  line-height: 1.7;
  text-align: justify;
  margin-bottom: 30px;
}

.ct-but {
  display: inline-block;
  background-color: #8B1E3F;
  color: #fff;
  padding: 12px 28px;
  border-radius: 50px;
  text-decoration: none;
  font-size: 1.15rem;
  font-weight: 500;
  transition: 0.3s;
  margin-left: 0;
  box-shadow: 0 4px 16px rgba(26, 26, 46, 0.08);
}

.ct-but:hover,
.ct-but:focus {
  background-color: #1a1a2e;
  color: #fff;
}

.img-fluid {
  width: 80%;
  max-width: 350px;
  height: auto;
  animation: float 5s ease-in-out infinite;
  border-radius: 100%;
  box-shadow: 0 6px 30px rgba(26, 26, 46, 0.10);
  object-fit: cover;
  margin: 0 auto;
  display: block;
}

@keyframes float {
  0% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-20px);
  }

  100% {
    transform: translateY(0px);
  }
}

@media (max-width: 991.98px) {
  .qui-sommes-nous {
    margin-top: 40px;
    padding: 40px 0;
    border-radius: 12px;
  }

  .texte h2 {
    font-size: 2.3rem;
  }

  .texte p {
    font-size: 1.1rem;
  }

  .img-fluid {
    width: 90%;
    max-width: 300px;
  }
}

@media (max-width: 767.98px) {
  .qui-sommes-nous {
    margin-top: 20px;
    padding: 20px 0 10px 0;
    border-radius: 0;
    box-shadow: none;
  }

  .row.align-items-center {
    flex-direction: column !important;
  }

  .text-col,
  .img-col {
    width: 100%;
    max-width: 100%;
  }

  .texte {
    padding: 0 10px;
    text-align: center;
  }

  .texte h2 {
    font-size: 2rem;
    margin-bottom: 20px;
  }

  .texte p {
    font-size: 1rem;
    text-align: left;
    margin-bottom: 20px;
  }

  .ct-but {
    font-size: 1rem;
    padding: 10px 20px;
  }

  .img-fluid {
    width: 75vw;
    max-width: 220px;
    margin-top: 24px;
    margin-bottom: 5px;
  }
}

@media (max-width: 400px) {
  .texte h2 {
    font-size: 1.3rem;
  }

  .img-fluid {
    max-width: 140px;
  }
}

.cable-section {
  height: 55vh;
  background-size: cover;
  background-repeat: no-repeat;
  position: relative;
  margin-bottom: 50px;

}

.cable-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(1, 4, 6, 0.458);
}

.overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: white;
  font-size: 5rem;
  font-weight: 200;
  font-family: "Arial", sans-serif;
  width: 90%;
  opacity: 0;
  animation: fadeInUp 1.5s ease-out forwards;
}

.background-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;

}

/*cables et dc*/

/*nos cables*/
.ana {
  background: #d4ecff;
  padding: 60px 0;
  margin-top: 50px;
  height: 650px;
}

.datacenter-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  width: 640px;
  margin-left: -150px;
  z-index: 1;
  background: #d4ecff;
  height: 580px;
}

.datacenter-img {
  width: 100%;
  z-index: 2;
  position: relative;
  height: 580px;
  background: #d4ecff;

}

.datacenter-img img {
  width: 90%;
  height: 580px;
  object-fit: cover;
  box-shadow: 0 10px 36px rgba(30, 80, 170, 0.08);
  border-top-left-radius: 16px;
  border-top-right-radius: 16px;
  display: block;
  margin-left: 35px;
}

.datacenter-content {
  position: absolute;
  left: 50%;
  bottom: 0px;
  transform: translateX(-50%);
  width: 100%;
  background: ghostwhite;
  box-shadow: 0 10px 36px rgba(30, 80, 170, 0.08);
  padding: 40px 28px 30px 28px;
  color: #01284e;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
  z-index: 3;
  border: 1.5px solid #f7f7ff;
  margin-left: 100px;
}

.datacenter-content h2 {
  font-size: 2.1rem;
  font-weight: 700;
  margin-bottom: 16px;
  line-height: 1.1;
}

.datacenter-content h2 span {
  color: #007BFF;
}

.datacenter-content p {
  font-size: 1.12rem;
  margin-bottom: 0;
  line-height: 1.7;
  font-family: Verdana, Geneva, Tahoma, sans-serif;
}

@media (max-width: 991.98px) {
  .ana {
    margin: 0;
  }

  .slogan-banner {
    display: none;
  }

  .datacenter-block {
    max-width: 98vw;
    margin: 0;
  }

  .datacenter-img img {
    height: 340px;

  }

  .datacenter-content {
    padding: 28px 12px 18px 12px;
    font-size: 1rem;
    margin: 0;
  }
}

@media (max-width: 600px) {
  .datacenter-block {
    max-width: 100vw;
  }

  .datacenter-img {
    width: 98vw;
  }

  .datacenter-content {
    width: 98vw;
    left: 50%;
    transform: translateX(-50%);
    bottom: -10px;
    font-size: .98rem;
  }

  .datacenter-img img {
    height: 180px;
  }
}

/* Câbles Colonne */

.typewriter1 {
  font-family: 'Segoe UI', 'Open Sans', sans-serif;
  font-size: 5rem;
  margin-top: 40px;
  margin-left: 55px;
  white-space: nowrap;
  overflow: hidden;
  width: 0;
  animation: typing 4s steps(40, end) infinite, blink-caret 0.75s step-end infinite;
}

@keyframes typing {
  0% {
    width: 0;
  }

  50% {
    width: 100%;
  }

  100% {
    width: 0;
  }
}

@keyframes blink-caret {

  from,
  to {
    border-color: transparent;
  }

  50% {
    border-color: white;
  }
}

.cab {
  font-family: 'Segoe UI', 'Open Sans', sans-serif;
  font-size: 1.6rem;
  margin-top: 30px;
  white-space: nowrap;
  overflow: hidden;
  margin-left: 55px;
}

.cables-list {

  display: flex;
  flex-wrap: wrap;
  gap: 26px;
  justify-content: flex-start;
  align-items: stretch;
  height: 50%;
  background: #d4ecff;
  margin-right: -70px;
  margin-top: 65px;
  margin-left: 25px;
}

.cable-card {
  background: ghostwhite;
  border-radius: 16px;
  box-shadow: 0 3px 16px rgba(26, 26, 46, .06);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: transform .3s;
  width: 180px;
  align-items: center;
  justify-content: space-between;
}

.cable-card:hover {
  transform: translateY(-5px) scale(1.025);
  box-shadow: 0 8px 24px rgba(26, 26, 46, .09);
}

.cable-img {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 50%;
  background: ghostwhite;
  margin: 20px auto;
  display: block;
}

.cable-title {
  font-size: 1.35rem;
  font-weight: 600;
  color: #1a1a2e;
  margin: 15px 16px 5px 16px;
  font-family: 'Orbitron', sans-serif;
  text-align: center;
}

.cable-card p {
  font-size: 1rem;
  color: #333;
  margin: 0 16px 14px 16px;
  line-height: 1.6;
  text-align: center;

}

.but {

  margin: 10px 20px;
  display: block;
  color: #8B1E3F;
  border-radius: 6px;
  text-align: center;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: background-color 0.3s;
  border: none;
}

.but:hover {
  background-color: #e0e0e0;
}

/*responsive*/
@media (max-width: 767.98px) {
  .ana {
    margin-top: 30px;
    padding: 30px 0;
    border-radius: 0;
  }

  .datacenter-block,
  .cables-list {
    flex-direction: column;

  }

  .cables-list {
    min-height: unset;
    margin-top: 30px;
  }

  .cable-card {
    min-width: 80%;
    margin-bottom: 0;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .datacenter-img img {
    max-width: 95vw;
    height: 170px;
  }
}

@media (min-width: 768px) and (max-width: 1024px) {
  .ana {
    margin-top: 40px;
    padding: 40px 10px;
    border-radius: 10px;
  }

  .datacenter-block,
  .cables-list {
    flex-direction: column;
    align-items: center;
    gap: 25px;
  }

  .cables-list {
    margin-top: 30px;
    min-height: unset;
  }

  .cable-card {
    width: 90%;
    margin: 0 auto;
  }

  .datacenter-img img {
    max-width: 90vw;
    height: auto;
    max-height: 300px;
    object-fit: cover;
  }
}

/*@media (min-width: 1024px) and (max-width: 1366px) {
  .ana {
    padding: 50px 30px;
    margin-top: 100px;
    background: #06bebe;
    height: 700px;
  }

  .datacenter-block {
    display: inline;
    align-items: center;
    background: red;
    width: 100%;
   
  }
  .datacenter-img  {
    width: 100%;
    height: auto;
   
  }
  .datacenter-img img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    object-fit: cover;
     margin-left: auto;
    margin-right:50px;
  }

  .datacenter-content {
   display: flex;
  align-items: flex-start; 
  gap: 100px;
  margin-left: 300px;
  background: green;
   margin-left: auto;
    margin-right:auto;
  }
   .datacenter-content h2 {
    font-size: 2rem;
   }
   .datacenter-content p {
    font-size: 2rem;
   }


  .cables-list {
    display: flex;
    justify-content: space-between;
     gap: 100px;
    flex-wrap: nowrap; 
    background: orange;

  }

 .cable-card {
  width: 32%;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
  padding: 15px;
  box-sizing: border-box;
}


  .cable-img {
    width: 100%;
    max-height: 150px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 10px;
  }

  .typewriter1 {
    font-size: 24px;
    margin-bottom: 10px;
    color: #01284e;
  }

  .cab {
    font-size: 16px;
    margin-bottom: 20px;
  }

  .cable-title {
    font-weight: bold;
    font-size: 18px;
    color: #01284e;
    margin-bottom: 5px;
  }

  .but {
    margin-top: 10px;
    align-self: start;
    padding: 6px 12px;
    background-color: #01284e;
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-size: 14px;
  }
}*/

/*nbre pays, continents...*/

.main-section {
  background: white;
  padding: 40px 0;
  color: #01284e;
  margin-top: 20px;
}

.stat h3 {
  font-size: 30px;
  margin-bottom: 6px;
  font-weight: 700;
}

.stat p {
  font-size: 18px;
  line-height: 1.4;
}

/*partenaires*/

.partenaires-section {
  padding: 50px 20px;
  background-color: #f9f9f9;
  text-align: center;
}

.partenaires-title {
  font-size: 2.8rem;
  margin-bottom: 35px;
  color: #01284e;
  font-family: 'Orbitron', sans-serif;
  margin-top: 20px;
  font-size: 5rem;
  font-weight: bold;
}

.logos-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 30px;
  justify-items: center;
  align-items: center;
}

.logos-grid img {
  max-width: 100px;
  height: auto;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.logos-grid img:hover {
  transform: scale(1.1);
}

/* RESPONSIVE  */

@media (max-width: 575.98px) {
  .top-nav {
    margin-top: 100px;
    height: 2px;
  }

  .nav-left {
    margin-left: 10px;
  }

  .nav-right {
    gap: 10px;
    flex-wrap: wrap;
    justify-content: flex-end;
  }

  .language-selector select {
    font-size: 0.85rem;
    padding: 4px 8px;
  }

  .icon-text {
    font-size: 0.85rem;
  }

  /* Hero */
  .home-hero {
    height: 300px;
    margin-top: 50px;
  }

  .hero-content h1 {
    font-size: 1.3rem !important;
  }

  .hero-content p {
    font-size: 0.9rem !important;
  }

  .slider-dots {
    bottom: 15px;
  }

  /* Qui sommes-nous */
  .qui-sommes-nous {
    margin-top: 20px;
    padding: 20px 10px;
    border-radius: 0;
    box-shadow: none;
  }

  .row.align-items-center {
    flex-direction: column !important;
  }

  .text-col,
  .img-col {
    width: 100%;
    max-width: 100%;
  }

  .texte {
    padding: 0 15px;
    text-align: center;
  }

  .texte h2 {
    font-size: 1.8rem;
    margin-bottom: 15px;
  }

  .texte p {
    font-size: 0.9rem;
    text-align: left;
    margin-bottom: 15px;
  }

  .ct-but {
    font-size: 0.9rem;
    padding: 8px 16px;
    margin-left: 0;
  }

  .img-fluid {
    width: 70vw;
    max-width: 180px;
    margin-top: 20px;
    margin-bottom: 10px;
  }

  /* Ana Section */
  .ana {
    height: auto;
    padding: 30px 15px;
    margin-top: 30px;
  }

  .datacenter-block {
    width: 100%;
    margin-left: 0;
    height: auto;
  }

  .datacenter-img {
    height: 200px;
  }

  .datacenter-img img {
    width: 100%;
    height: 200px;
    margin-left: 0;
    border-radius: 8px 8px 0 0;
  }

  .datacenter-content {
    position: relative;
    width: 100%;
    margin-left: 0;
    padding: 20px 15px;
    border-radius: 0 0 8px 8px;
    box-shadow: 0 4px 12px rgba(30, 80, 170, 0.06);
  }

  .datacenter-content h2 {
    font-size: 1.5rem;
  }

  .datacenter-content p {
    font-size: 1rem;
  }

  /* Câbles Column */
  .typewriter1 {
    font-size: 2.5rem;
    margin-left: 15px;
    white-space: normal;
    width: 100% !important;
    animation: none;
  }

  .cab {
    font-size: 1.1rem;
    margin-left: 15px;
    white-space: normal;
  }

  .cables-list {
    margin-left: 0;
    margin-right: 0;
    height: auto;
    justify-content: center;
    gap: 15px;
  }

  .cable-card {
    width: 140px;
    margin-left: 80px;
  }

  .cable-img {
    width: 60%;
  }

  .but {
    margin-left: 40px;

    padding: 8px 16px;
    font-size: 0.9rem;
  }

  /* Main Section */
  .main-section {
    padding: 20px 10px;
  }

  .stat h3 {
    font-size: 24px;
  }

  .stat p {
    font-size: 14px;
  }

  /* Partenaires */
  .partenaires-title {
    font-size: 2rem;
    margin-bottom: 25px;
  }

  .logos-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }

  .logos-grid img {
    max-width: 70px;
  }
}

@media (min-width: 576px) and (max-width: 767.98px) {
  .home-hero {
    height: 350px;
    margin-top: 50px;
  }

  .hero-content h1 {
    font-size: 2.5rem !important;
  }

  .hero-content p {
    font-size: 1.25rem !important;
  }

  .qui-sommes-nous {
    margin-top: 40px;
    padding: 40px 20px;
    border-radius: 12px;
  }

  .texte h2 {
    font-size: 2.3rem;
  }

  .texte p {
    font-size: 1.1rem;
  }

  .img-fluid {
    width: 90%;
    max-width: 250px;
  }

  .ana {
    height: auto;
    padding: 40px 20px;
    margin-top: 40px;
  }

  .datacenter-block {
    width: 100%;
    margin-left: 0;
  }

  .datacenter-img img {
    height: 300px;
    margin-left: 0;
  }

  .datacenter-content {
    margin-left: 0;
    padding: 30px 20px;
  }

  .datacenter-content h2 {
    font-size: 1.8rem;
  }

  .datacenter-content p {
    font-size: 1.05rem;
  }

  .typewriter1 {
    font-size: 3.5rem;
    margin-left: 35px;
    width: auto !important;
    animation: none;
  }

  .cab {
    font-size: 1.3rem;
    margin-left: 35px;
  }

  .cables-list {
    margin-left: 15px;
    margin-right: 15px;
    height: auto;
    gap: 20px;
  }

  .cable-card {
    width: 160px;
  }

  .cable-img {
    width: 65%;
  }

  .but {
    margin-left: 30%;
  }

  .main-section {
    padding: 30px 15px;
  }

  .stat h3 {
    font-size: 26px;
  }

  .stat p {
    font-size: 16px;
  }

  .partenaires-title {
    font-size: 3rem;
    margin-bottom: 30px;
  }

  .logos-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
  }

  .logos-grid img {
    max-width: 80px;
  }
}

@media (min-width: 768px) and (max-width: 991.98px) {
  .home-hero {
    height: 400px;
    margin-top: 60px;
  }

  .hero-content h1 {
    font-size: 4rem !important;
  }

  .hero-content p {
    font-size: 2rem !important;
  }

  .qui-sommes-nous {
    margin-top: 50px;
    padding: 50px 40px;
    border-radius: 16px;
  }

  .texte h2 {
    font-size: 2.5rem;
  }

  .texte p {
    font-size: 1.15rem;
  }

  .img-fluid {
    max-width: 320px;
  }

  .ana {
    height: 600px;
    padding: 50px 30px;
    margin-top: 50px;
  }

  .datacenter-block {
    width: 90%;
    margin-left: 0;
  }

  .datacenter-img img {
    height: 400px;
    margin-left: 0;
  }

  .datacenter-content {
    margin-left: 0;
    padding: 35px 25px;
  }

  .datacenter-content h2 {
    font-size: 2rem;
  }

  .datacenter-content p {
    font-size: 1.1rem;
  }

  .typewriter1 {
    font-size: 4.5rem;
    margin-left: 45px;
    width: auto !important;
    animation: none;
  }

  .cab {
    font-size: 1.5rem;
    margin-left: 45px;
  }

  .cables-list {
    margin-left: 25px;
    margin-right: 25px;
    height: auto;
    gap: 25px;
  }

  .cable-card {
    width: 170px;
  }

  .cable-img {
    width: 68%;
  }

  .but {
    margin-left: 30%;
  }

  .main-section {
    padding: 35px 20px;
  }

  .stat h3 {
    font-size: 28px;
  }

  .stat p {
    font-size: 17px;
  }

  .partenaires-title {
    font-size: 4rem;
    margin-bottom: 35px;
  }

  .logos-grid {
    grid-template-columns: repeat(5, 1fr);
    gap: 30px;
  }

  .logos-grid img {
    max-width: 90px;
  }
}

@media (min-width: 992px) {
  .home-hero {
    height: 500px;
  }

  .hero-content h1 {
    font-size: 6.5rem !important;
  }

  .hero-content p {
    font-size: 3rem !important;
  }

  .qui-sommes-nous {
    margin-top: 60px;
    padding: 60px 0;
    border-radius: 20px;
  }

  .texte h2 {
    font-size: 3rem;
  }

  .texte p {
    font-size: 1.25rem;
  }

  .img-fluid {
    max-width: 350px;
  }

  .ana {
    height: 650px;
    padding: 60px 0;
    margin-top: 50px;
  }

  .datacenter-block {
    width: 640px;
    margin-left: -150px;
    height: 580px;
  }

  .datacenter-img img {
    height: 580px;
    margin-left: 35px;
  }

  .datacenter-content {
    margin-left: 100px;
    padding: 40px 28px 30px 28px;
  }

  .datacenter-content h2 {
    font-size: 2.1rem;
  }

  .datacenter-content p {
    font-size: 1.12rem;
  }

  .typewriter1 {
    font-size: 5rem;
    margin-left: 55px;
    animation: typing 4s steps(40, end) infinite, blink-caret 0.75s step-end infinite;
  }

  .cab {
    font-size: 1.6rem;
    margin-left: 55px;
  }

  .cables-list {
    margin-left: 25px;
    margin-right: -70px;
    height: 50%;
    gap: 26px;
  }

  .cable-card {
    width: 180px;
  }

  .cable-img {
    width: 70%;
  }

  .but {
    margin-left: 32%;
  }

  .main-section {
    padding: 40px 0;
  }

  .stat h3 {
    font-size: 30px;
  }

  .stat p {
    font-size: 18px;
  }

  .partenaires-title {
    font-size: 5rem;
  }

  .logos-grid {
    grid-template-columns: repeat(5, 1fr);
    gap: 30px;
  }

  .logos-grid img {
    max-width: 100px;
  }
}

/*wave section*/
.wave-section {
  position: relative;
  height: 55vh;
  background: #2e141c;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  font-size: 1.8rem;
  font-weight: 300;
  padding: 20px;
  overflow: hidden;

}

.wave {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 300%;
  height: 100px;
  background: url('data:image/svg+xml,<svg viewBox="0 0 1200 250" xmlns="http://www.w3.org/2000/svg"><path d="M0,100 C300,200 600,0 900,100 C1200,200 1500,0 1800,100 L1800,250 L0,250 Z" fill="%23d4ecff"/></svg>');
  background-repeat: repeat-x;
  animation: waveMove 5s infinite linear;

}

@keyframes waveMove {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-33.33%);
  }
}

/*footer*/
footer {
  text-align: center;
  padding: 20px;
  background-color: #2e141c;
  color: var(--blanc);
  font-family: Arial, sans-serif;
}

.contact-info {
  
  background-color: #2e141c;
  padding: 40px 20px;

}

.container1 {
  display: flex;
  justify-content: space-between;
  max-width: 100%;
  margin: 0 auto;
  flex-wrap: wrap;
}

*/ .container1 {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
  padding: 30px;
}

.contact-item {
  flex: 1;
  text-align: left;
  padding: 20px;
  margin: 10px;
  background-color: #2e141c;

}

.contact-item img {
  width: 50px;
  height: auto;
  margin-bottom: 15px;
}

.contact-item h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
  font-family: Verdana, Geneva, Tahoma, sans-serif;

}

.contact-item p {
  font-size: 1rem;
  color: white;
  font-family: Verdana, Geneva, Tahoma, sans-serif;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid #fff;
  padding-bottom: 20px;
  margin-bottom: 20px;
  margin-left: 100px;
  margin-right: 100px;
}

.footer-top .help {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 70px;
}

.footer-top .help a {
  color: var(--blanc);
  text-decoration: none;
  margin-bottom: 10px;
}

.footer-top .help a:hover {
  text-decoration: underline;
}

.footer-bottom {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin-left: 100px;
  margin-right: 100px;
}

.footer-bottom .footer-links {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 2%;
  font-size: 1.3rem;
}

.footer-bottom .footer-links p {
  display: inline;
  margin: 0;

}

.footer-bottom .footer-links a {
  color: var(--blanc);
  text-decoration: none;
  margin: 0 10px;
}

.footer-bottom .footer-links a:hover {
  text-decoration: underline;
}

.footer-left,
.footer-right {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #aaaaaa;
  margin-top: 20px;
}

.footer-left {
  margin-left: 10px;
}

.footer-right {
  margin-right: 70px;
}

/*responsive_footer*/


@media (max-width: 992px) {

  .wave {
    position: relative;
    z-index: 1;

}

.contact-info {
  
  background-color: #2e141c;
  padding: 40px 20px;

}
  .container1 {
    flex-direction: column;
    align-items: center;
    text-align: center;
    background: #2e141c;
 flex-wrap: wrap;
     display: flex;
    width: 100%;
    align-items: center;
    justify-content: center;
    gap: 20px;
    
  }

  .contact-item {
    width: 100%;
    background: #2e141c;
  
  }

  .footer-bottom {
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin: 0 20px;
  }

  .footer-left,
  .nav-right {
    margin: 0;
  }


  .icon-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
  }

  .icon-img {
    width: 30px;
    height: 30px;
  }

  .footer-bottom .footer-links {
    flex-direction: column;
    gap: 10px;
  }
}




/*@media (max-width: 992px) {
  .container1 {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .contact-item {
    width: 70%;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: center;
    gap: 5px;
  }

  .nav-right {
    justify-content: center;
  }
}


@media (max-width: 600px) {
  .contact-item h3 {
    font-size: 1.2rem;
  }

  .contact-item p {
    font-size: 0.95rem;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}*/

/*formulaire_contact*/
.cont-hero {
  position: relative;
  overflow: hidden;
  height: 130px;
  z-index: 2;
  display: flex;
  align-items: center;
  margin-top: 80px;
}

.cont-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
}

.cont-hero .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(1, 40, 78, 0.6);
  z-index: 2;
}

.cont-hero h1 {
  position: relative;
  z-index: 3;
  font-size: 5rem;
  margin-left: 150px;
  color: white;
  font-weight: bold;
  text-align: left;
}

.contact-container {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  padding: 60px 20px;
  max-width: 1200px;
  margin: auto;
  background: white;
}

.contact-left,
.contact-right {
  flex: 1 1 500px;
}

.contact-left h2 {
  font-size: 2rem;
  color: #01284e;
  margin-bottom: 10px;
}

.contact-left p {
  margin-bottom: 30px;
  color: #333;
  font-size: 1.6rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
}

.contact-form label {
  margin-top: 15px;
  margin-bottom: 5px;
  font-weight: 500;
  color: #01284e;
}

.contact-form input,
.contact-form textarea {
  padding: 12px;
  border-radius: 6px;
  border: 1px solid #ccc;
  font-size: 1rem;
}

.contact-form button {
  margin-top: 20px;
  background-color: #60162b;
  color: white;
  border: none;
  padding: 12px;
  border-radius: 50px;
  cursor: pointer;
  font-weight: bold;
}

.contact-form button:hover {
  background-color: #0A1F44;
}

.contact-right .info {
  margin-bottom: 20px;
}

.contact-right h4 {
  font-size: 1.9rem;
  margin-bottom: 10px;
  color: #01284e;
}

.contact-right p {
  margin: 5px 0;
  color: #333;
}

.map iframe {
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

/* RESPONSIVE_contact */
@media (max-width: 992px) {
  .cont-hero {
    margin: 0;

  }

  .contact-container {
    flex-direction: column;
    padding: 40px 15px;
  }

  .cont-hero h1 {
    font-size: 2.5rem;
    margin-left: 15px;
    margin-top: 50px;
  }

  .map {
    margin: 0;
    padding: 0;
  }
}

@media (max-width: 600px) {
  .cont-hero {
    height: auto;
    padding: 40px 15px;
    text-align: center;
    justify-content: center;
  }

  .cont-hero h1 {
    font-size: 2rem;
    margin-left: 0;
  }

  .contact-left p,
  .contact-right p {
    font-size: 1rem;
  }

  .contact-form input,
  .contact-form textarea {
    font-size: 0.95rem;
  }
}

/*page technology*/

.tech-banner {
  position: relative;
  color: white;
  padding: 8rem 2rem;
  text-align: left;
  min-height: 50vh;
  margin-top: 80px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.tech-banner-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.tech-banner-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(1, 40, 78, 0.7); 
  z-index: 1;
}

.tech-banner-content {
  position: relative;
  z-index: 2;
  margin-left: 100px;
  max-width: 700px;
}

.tech-banner h1 {
  font-size: 5.6rem;
  font-weight: bold;
  line-height: 1.2;
}

.typewriter {
  font-family: 'Segoe UI', 'Open Sans', sans-serif;
  font-size: 2rem;
  white-space: nowrap;
  overflow: hidden;
  width: 0;
  animation: typing 4s steps(40, end) infinite, blink-caret 0.75s step-end infinite;
}

@keyframes typing {
  0% { width: 0; }
  50% { width: 100%; }
  100% { width: 0; }
}

@keyframes blink-caret {
  from, to { border-color: transparent; }
  50% { border-color: white; }
}

.tech-banner p {
  font-size: 1.8rem;
  margin: 20px 0 40px;
  text-align: left;
  line-height: 1.8;
  font-family: 'Segoe UI', 'Open Sans', sans-serif;
}



/*texte technology*/
.projects-section {
  display: flex;
  flex-wrap: wrap;
  padding: 60px 40px;
  background-color: rgb(254, 248, 248);
  align-items: center;
  justify-content: center;
}

.projects-left {
  flex: 1;
  min-width: 300px;
  margin-right: 40px;
}

.projects-left h2 {
  font-size: 3.8rem;
  font-weight: bold;
  line-height: 1.2;
  font-family: 'Segoe UI', sans-serif;
  margin-left: 100px;
}

.projects-left .highlight {
  color: #3498db;
}

.projects-right {
  flex: 1;
  min-width: 300px;
}

.projects-right p {
  font-size: 1.6rem;
  line-height: 1.8;
  color: #333;
  font-family: 'Segoe UI', sans-serif;
}

.tech-hero {
  position: relative;
  overflow: hidden;
  height: 200px;
  margin-top: 60px;
  z-index: 2;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.tech-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
}

.tech-hero .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(1, 40, 78, 0.8);
  z-index: 2;
}

.tech-hero .hero-content1 {
  position: relative;
  z-index: 3;
  color: white;
}

.tech-hero h1 {
  font-size: 3.8rem;
  margin-bottom: 10px;
  font-weight: bold;
}

.tech-hero p {
  font-size: 2rem;
  margin: 0;
}

/*explication des cables*/
.tech-section {
  padding: 60px 20px;
  max-width: 1100px;
  margin: auto;
  margin-bottom: 5px;
}

.tech-section h2 {
  color: #01284e;
  margin-bottom: 40px;
  text-align: center;
  font-family: 'Segoe UI', sans-serif;
  font-size: 3.8rem;
  font-weight: bold;
}

.cable-block {
  display: flex;
  align-items: flex-start;
  margin-bottom: 50px;
  gap: 30px;
  flex-wrap: wrap;
}

.cable-block img {
  width: 300px;
  height: 200px;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.cable-text {
  flex: 1;
}

.cable-text h3 {
  color: #01284e;
  font-size: 2.5rem;
  margin-bottom: 10px;
  font-family: 'Segoe UI', sans-serif;
}

.cable-text p {
  color: #333;
  line-height: 1.7;
  font-size: 1.9rem;
  font-family: 'Segoe UI', sans-serif;
}

  .btn {
    text-decoration: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: bold;
    transition: all 0.3s ease;
  }
  
  .transparent-btn {
    background: #8b1e3f;
    border: 2px solid white;
    color: white;
  }
  
  .transparent-btn:hover {
    background: rgba(255, 255, 255, 0.1);
  }

/*pour la datacenter*/

.tech-section1 {
  padding: 0;
 background-color: white;
height: 530px;
}

.dt {
  color: #01284e;
  font-size: 6.5rem;
  margin-bottom: 40px;
  text-align: center;
  font-family: 'Segoe UI', sans-serif;
  font-weight: bold;
  gap: 50px;

}

.tech-content {
  display: flex;
  flex-wrap: nowrap;
  height: 100%;
  background-color: #e0f3ff;

}

.tech-text {
  height: 86, 5%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  /*padding: 40px;   ass*/
  line-height: 1.8;
  margin-left: 50px;
}

.tech-text h2 {
  color: #01284e;
  /* margin-bottom: 15px; ass*/
  font-size: 3.5rem;
  font-weight: bold;
  margin: 0;
}

.tech-text p {
  margin-bottom: 20px;
  line-height: 1.8;
  font-family: 'Segoe UI', sans-serif;
  font-size: 1.5rem;
}

.tech-text ul {
  list-style: disc;
  padding-left: 20px;
  color: #01284e;
  line-height: 1.8;
  font-family: 'Segoe UI', sans-serif;
  font-size: 1.5rem;
}

.tech-image {
  height: 100%;
  overflow: hidden;
}

.tech-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/*derniere section "technology"*/

.tech-section2 {

  text-align: center;
  background: linear-gradient(to right, #e0f3ff, #ffffff);
  font-family: 'Segoe UI', sans-serif;

}

.tech-section2 h2 {
  font-size: 5.2rem;
  color: orange;
  margin-bottom: 10px;
  font-family: 'Segoe UI', sans-serif;
  font-weight: bolder;
}

.tech-section2 p {
  font-size: 1.6rem;
  color: #333;
  margin-bottom: 40px;
  font-family: 'Segoe UI', sans-serif;
}

.tech-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
}

.stat-box {
  background: white;
  padding: 25px 35px;
  border-radius: 15px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  width: 220px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-box:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.stat-box strong {
  font-size: 2.6rem;
  color: green;
  display: block;
  margin-bottom: 8px;
}

.stat-box p {
  font-size: 1.5rem;
  color: #555;
  font-family: 'Segoe UI', sans-serif;
}

.fade-in {
  opacity: 0;
  animation: fadeIn 1s forwards;
}

.fade-up {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 1s forwards;
}

.delay-1 {
  animation-delay: 0.3s;
}

.delay-2 {
  animation-delay: 0.6s;
}

@keyframes fadeIn {
  to {
    opacity: 1;
  }
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/*responsive technology*/
.tech-banner {
  background: linear-gradient(rgba(1, 40, 78, 0.6), rgba(1, 40, 78, 0.6));
   
  color: white;
  padding: 8rem 2rem;
  text-align: left;
  min-height: 50vh;
  margin-top: 80px;
  display: flex;
  align-items: center;
}

@media (max-width: 600px) {
  .tech-section2 {
    padding: 3rem 1rem;
    text-align: center;
    background: linear-gradient(to right, #e0f3ff, #ffffff);
    font-family: 'Segoe UI', sans-serif;
    margin-top: 20px;
  }
}

.tech-banner-content {
  max-width: 700px;
  margin: 0 auto;
  padding: 0 2rem;
}

.typewriter {
  font-size: clamp(1.5rem, 4vw, 2rem);
}

.tech-banner h1 {
  font-size: clamp(2.5rem, 6vw, 5.6rem);
}

.tech-banner p,
.projects-right p,
.cable-text p,
.tech-text p,
.tech-text ul,
.tech-section2 p {
  font-size: clamp(1rem, 1.5vw, 1.8rem);
}

.projects-section {
  flex-direction: column;
  padding: 3rem 1rem;
}

.projects-left,
.projects-right {
  margin: 0;
  padding: 1rem;
  min-width: 100%;
}

.cable-block {
  flex-direction: column;
}

.cable-block img {
  width: 100%;
  height: auto;
}

.tech-content {
  flex-direction: column;
  height: auto;
}

.tech-text,
.tech-image {
  width: 100%;
  height: auto;
}

.tech-stats {
  flex-direction: column;
  align-items: center;
}

.stat-box {
  width: 80%;
  margin-bottom: 1rem;
}

/* ===== Media min ===== */
@media (min-width: 768px) {
  .projects-section {
    flex-direction: row;
    padding: 4rem 2rem;
  }

  .projects-left,
  .projects-right {
    min-width: 45%;
  }

  .cable-block {
    flex-direction: row;
  }

  .cable-block img {
    width: 300px;
    height: 200px;
  }

  .tech-content {
    flex-direction: row;
  }

  .tech-text,
  .tech-image {
    width: 50%;
  }

  .tech-stats {
    flex-direction: row;
  }

  .stat-box {
    width: 220px;
  }
}

@media (min-width: 1024px) {
  .tech-banner-content {
    margin-left: 100px;
  }

  .projects-left h2 {
    margin-left: 100px;
  }
}

@media (prefers-reduced-motion: reduce) {

  .typewriter,
  .fade-in,
  .fade-up {
    animation: none !important;
  }
}

@media (max-width: 480px) {
  .tech-banner {
    padding: 6rem 1rem;
    margin-top: 60px;
  }

  .tech-hero {
    height: auto;
    padding: 2rem 1rem;
  }

  .tech-hero h1 {
    font-size: 2.5rem;
  }

  .dt {
    font-size: 3.5rem;
    margin-top: -50px;
    color: green;
  }
}

.tech-section2 h2 {
  font-size: clamp(2.5rem, 6vw, 5.2rem);
  color: #01284e;
  margin-bottom: 1rem;
  font-weight: bolder;
  line-height: 1.2;
}

.tech-section2 p {
  font-size: clamp(1.1rem, 1.5vw, 1.6rem);
  color: #333;
  margin-bottom: 2rem;
  line-height: 1.6;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.desktop-only {
  display: none;
}

@media (min-width: 768px) {
  .tech-section2 {
    padding: 4rem 2rem;
  }

  .desktop-only {
    display: inline;
  }

  .tech-section2 p {
    margin-bottom: 3rem;
  }
}

@media (min-width: 1024px) {
  .tech-section2 {
    padding: 5rem;
  }

  .tech-section2 p {
    margin-bottom: 4rem;
  }
}

/*a propos*/

/*1er section apropos*/

.about-cover {
  background-size: cover;
  background-position: center;
  height: 100vh;
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  color: #fff;
  font-family: sans-serif;
 margin-top: 70px;
  padding: 0;


}

.about-overlay img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
}

.about-overlay {
  padding: 0;
  width: 100%;
  z-index: 2;
}

.about-overlay h2 {
  font-size: 42px;
  font-weight: 700;
  margin: 0 0 20px 0;
  padding: 30px;
  color: #fff;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.6);
  position: relative;
  z-index: 3;

}

.about-text-box {
  background: #fff;
  color: #6c6a6a;
  padding: 30px;
  max-width: 900px;
  margin: 0;
  position: relative;
  z-index: 3;
}


.about-text-box p {
  font-size: 16px;
  line-height: 2.6;
  margin-bottom: 15px;
  z-index: 3;
}

/*2e section*/
.about-banner {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  min-height: 400px;
  background-color: #f5f5f5;
  font-family: sans-serif;
}

.about-text-box1 {
  flex: 1;
  padding: 60px 40px;
  background: rgb(240, 239, 239);
  color: #0d0368;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.about-text-box1 h2 {
  font-size: 42px;
  margin-bottom: 20px;
  font-weight: bold;
  color: rgb(3, 19, 68);
}

.about-text-box1 p {

  margin-bottom: 15px;
  color: #444;
  font-size: 1.5rem;
  line-height: 2.6;
  margin-bottom: 15px;
}

.about-image {
  flex: 1;
  min-height: 400px;
  overflow: hidden;
  background: rgb(240, 239, 239);
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  margin-top: 50px;
}

/*valeurs et missions*/

.values-section {
  padding: 60px 20px;
  background-color: #f8f9fa;
  font-family: Arial, sans-serif;
  color: #01284e;

}

.values-section h2 {
  font-size: 5rem;
  text-align: center;
  margin-bottom: 50px;
  color: #01284e;
  font-weight: bold;
}

.value-block {
  max-width: 900px;
  margin: 0 auto 60px auto;
  padding-left: 40px;
  border-left: 3px dotted #00b2ff;
}

.value-block h3 {
  font-size: 1.8rem;
  margin-bottom: 20px;
  font-weight: bold;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;

}

.value-block p {
  font-size: 1.2em;
  line-height: 1.8;
  margin-bottom: 20px;
  color: #7d7d7d;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;

}

.value-block ul {
  padding-left: 20px;
  font-size: 1.2em;
  line-height: 1.8;
  color: #333;
  color: #7d7d7d;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;

}

.value-block ul li {
  margin-bottom: 10px;
}

/*section vision*/

.about-banner {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  min-height: 400px;
  background-color: #fff9f9;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.about-text-box1 {
  flex: 1;
  padding: 60px 40px;
  background: rgb(240, 239, 239);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.about-text-box1 h3 {
  font-size: 42px;
  margin-bottom: 20px;
  font-weight: bold;

}

.about-text-box1 h1 {
  font-size: 1.8rem;
  line-height: 1.8;
  font-weight: normal;
  color: #444;

}

.about-image {
  flex: 1;
  min-height: 400px;
  overflow: hidden;
  background: rgb(240, 239, 239);
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/*equipe*/

.team-section {
  padding: 60px 30px;
  background-color: #f7fafa;
  text-align: center;
  font-family: 'Segoe UI', sans-serif;
}

.team-header h2 {
  color: #01284e;
  margin-bottom: 10px;
  font-size: 5rem;
  text-align: center;
  font-weight: bold;
}

.team-header p {
  font-size: 1.6rem;
  color: #555;
  max-width: 800px;
  margin: 0 auto 40px auto;
}

.team-row {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.team-row.row-4 .team-member {
  flex: 1 1 calc(25% - 30px);
}

.team-row:not(.row-4) .team-member {
  flex: 1 1 calc(33.33% - 30px);
}

.team-member {
  background: #ffffff;
  border-radius: 15px;
  padding: 20px;
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
  max-width: 250px;
}

.team-member img {
  width: 150px;
  height: 150px;
  object-fit: cover;
  border-radius: 50%;
  border: 5px solid #00aaff;
  margin-bottom: 15px;
  transition: transform 0.4s ease, filter 0.4s ease;
}

.team-member img:hover {
  transform: scale(1.05);
  filter: brightness(1.2);
}

.team-member h3 {
  color: #01284e;
  font-size: 1.5rem;
  margin-bottom: 5px;
}

.team-member p {
  color: #777;
  font-size: 1.2rem;
}


/* resonsive_apropos */
@media (max-width: 768px) {

  .about-banner,
  .team-row {
    flex-direction: column;
    align-items: center;
  }

  .about-text-box1,
  .about-image {
    flex: 1 1 100%;
    padding: 20px;
  }

  .about-text-box1 h2 {
    font-size: 1.5rem;
  }

  .team-member {
    max-width: 100%;
    margin-bottom: 20px;
  }
}

/* petits écrans */
@media (max-width: 480px) {
  h2 {
    font-size: 1.8rem;
  }

  p {
    font-size: 1rem;
  }

  .team-header h2 {
    font-size: 2rem;
  }
}

/*page articles*/
.ar {
  margin-top: 80px;
  background-color: #f5f6f8;
}

.main-article {
  background-color: white;
  padding: 20px;
  margin-bottom: 20px;
  border-radius: 5px;
  line-height: 2.7;

}

.main-article h1 {
  font-weight: bold;
}

.sidebar {
  background-color: white;
  padding: 15px;
  border-radius: 5px;
}

.sidebar .title {
  font-weight: bold;
  font-size: 1.4em;
  margin-bottom: 20px;
  font-family: Arial, sans-serif;
}

.art-item {
  display: flex;
  margin-bottom: 15px;
}

.art-item .img {
  width: 120px;
  height: 100px;
  margin-right: 10px;
  overflow: hidden;
  object-fit: contain;
}

.img img{ 
    width: 100%;
    min-height: 90%;
}

.art-content {
  flex: 1;
}

.art-content .titre-art {
  color: green;
  font-weight: bold;
  font-size: 1.3em;
  display: block;
  margin-top: 20px;
}

.newsletter-content p {
  font-size: 0.9em;
  margin: 0;
}




/* Navigation in pages */
.breadcrumb {
  margin-top: 80px; 
  background: #5377a3 !important;
  padding: 10px 20px;
  border-radius: 5px;
  display: flex;
  font-weight: bold;
  font-size: 14px;
  color: white;
}

.breadcrumb a {
  color: white;
  text-decoration: none;
}

.breadcrumb a:hover {
  text-decoration: underline;
}

.breadcrumb span {
  color: #e0e0e0;
}




/*actualités*/
.grid-actualites {
  padding: 40px 20px;
  font-family: 'Segoe UI', sans-serif;
}

.grid-title {
  text-align: center;
  font-size: 36px;
  color: #01284e;
  margin-bottom: 30px;
   font-size: 4.2rem;
  font-weight:bold;
  font-family: sans-serif;
}
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  max-width: 1200px;
  margin: auto;
}

.news-card {
  background-color: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transition: transform 0.2s ease-in-out;
  display: flex;
  flex-direction: column;
}

.news-card:hover {
  transform: scale(1.02);
}

.news-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.news-card.large {
  grid-column: span 2;
}

.news-info {
  padding: 20px;
}

.news-info h2 {
  font-size: 20px;
  color: #01284e;
  margin: 0 0 10px;
}

.news-info p {
  font-size: 15px;
  color: #333;
}

.news-info a {
  margin-top: 10px;
  display: inline-block;
  color: #ffffff;
  padding: 8px 16px;
  text-decoration: none;
  transition: background 0.3s;
}

.news-info a:hover {
  background-color: #174a7c;
}


/* resonsive_actalité */
@media (max-width: 992px) {
  .news-grid {
    grid-template-columns: 1fr; 
  }

  .news-card,
  .news-card.large {
    grid-column: span 1; 
    width: 100%;
  }

  .news-info h2 {
    font-size: 18px;
  }

  .news-info p {
    font-size: 14px;
  }
}


/* Apply styles only on small screens (phones) */
@media screen and (max-width: 600px) {
  .articlecontent img-right,
  .articlecontent img-left {
    display: block !important;      /* stack instead of float */
    float: none !important;         /* remove float */
    width: 99% !important;          /* full width */
    height: auto !important;        /* keep aspect ratio */
    margin: 0 auto 1em !important;  /* center with spacing */
  }

  .articlecontent p, .articlecontent span {
    font-size: 1.1em !important;    /* slightly larger text for readability */
    line-height: 1.5 !important;    /* improve spacing */
  }
}


