* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: "Poppins", sans-serif;
}

html {
  scroll-behavior: smooth;
}
.noscroll {
  overflow: hidden;
}
a:hover {
  text-decoration: none;
}

/* Header base style */
header {
  background-color: #ffffff;
  padding: 25px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  position: relative;
  z-index: 100;
  transition: all 0.4s ease-in-out;
  box-shadow: none;
}

/* Sticky animated */
.sticky {
  position: sticky;
  top: 0;
  padding: 15px 40px;
  background-color: rgba(255, 255, 255, 0.95);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.07);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

/* Logo resizing when sticky */
header h1 {
  font-size: 1.8rem;
  font-weight: 600;
  color: #2d2d2d;
  transition: font-size 0.3s ease-in-out;
}

.sticky h1 {
  font-size: 1.4rem;
}

/* === Logo === */
header h1 {
  font-size: 1.8rem;
  font-weight: 600;
  color: #2d2d2d;
  transition: 0.3s;
}

/* === Navigation === */
nav {
  display: flex;
  gap: 30px;
  align-items: center;
  transition: all 0.4s ease;
}

nav a {
  color: #2d2d2d;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
  position: relative;
}

nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 0%;
  height: 2px;
  background-color: #2d2d2d;
  transition: 0.3s ease;
}

nav a:hover::after {
  width: 100%;
}

/* === Burger icon === */
.menu-icons {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  width: 30px;
  height: 25px;
  justify-content: center;
}
.menu-icons span {
  height: 3px;
  background: #2d2d2d;
  width: 100%;
  border-radius: 4px;
  transition: all 0.3s ease;
}

/* === Burger animation when active === */
.menu-icons.active span:nth-child(1) {
  transform: rotate(45deg) translateY(8px);
}
.menu-icons.active span:nth-child(2) {
  opacity: 0;
}
.menu-icons.active span:nth-child(3) {
  transform: rotate(-45deg) translateY(-8px);
}

/* === Responsive === */
@media (max-width: 768px) {
  nav {
    flex-direction: column;
    align-items: flex-start;
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    width: 100%;
    max-height: 0;
    overflow: hidden;
    padding: 0 40px;
  }

  nav.active {
    max-height: 300px;
    padding: 20px 40px;
  }

  .menu-icons {
    display: flex;
  }
}

a,
button {
  cursor: pointer;
}

/* === Base === */
#banner {
  position: relative;
  background-image: url("../img/banner-bk.jpg");
  background-size: cover;
  background-position: center;
  padding: 100px 0;
  overflow: hidden;
}

/* Couche sombre par-dessus l’image pour lisibilité */
#banner .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    180deg,
    rgba(25, 36, 64, 0.9),
    rgba(25, 36, 64, 0.9)
  );
  z-index: 1;
}

/* Contenu au-dessus de l’overlay */
.banner-content {
  position: relative;
  z-index: 2;
}

/* Texte lisible et stylé */
.banner-content h1,
.banner-content p {
  color: #fff;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.banner-content h1 {
  font-size: 2.8rem;
  font-weight: 700;
  line-height: 1.3;
}

.banner-content p {
  font-size: 1.15rem;
  max-width: 700px;
}

/* === Séparateur SVG */
.separator {
  display: block;
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 2;
}

/* === Forme flottante animée */
.floating-shapes {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  overflow: hidden;
}

.floating-shapes .circle {
  position: absolute;
  border-radius: 50%;
  opacity: 0.2;
  background: #00ffad;
  animation: float 6s infinite ease-in-out;
}

.circle.one {
  width: 120px;
  height: 120px;
  top: 10%;
  left: 5%;
}

.circle.two {
  width: 80px;
  height: 80px;
  top: 30%;
  left: 85%;
  background: #ffffff;
}

.circle.three {
  width: 60px;
  height: 60px;
  top: 75%;
  left: 10%;
  background: #00e69c;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-20px);
  }
}
/* Bouton CTA - Modern Glow Pulse */
#btForm {
  background-color: #00ffad;
  color: #192440;
  font-weight: 700;
  padding: 14px 32px;
  border-radius: 30px;
  font-size: 1.1rem;
  border: none;
  outline: none;
  cursor: pointer;
  position: relative;
  z-index: 2;
  box-shadow: 0 0 0 rgba(0, 255, 173, 0.5);
  animation: pulse 2.5s infinite;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#btForm:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0, 255, 173, 0.4);
  animation: none;
}

/* Animation Pulse */
@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(0, 255, 173, 0.5);
  }
  70% {
    box-shadow: 0 0 0 18px rgba(0, 255, 173, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(0, 255, 173, 0);
  }
}

.swiper {
  width: 95%;
  height: 420px;
  position: relative;
  margin: 50px auto;
  overflow: hidden;
  border-radius: 16px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

/* Slides */
.swiper-slide {
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Texte animé */
.swiper-text {
  background: rgba(0, 0, 0, 0.45);
  padding: 25px 30px;
  border-radius: 12px;
  text-align: center;
  color: #fff;
  max-width: 80%;
  animation: fadeInUp 1s ease-in-out;
  backdrop-filter: blur(6px);
}

.swiper-text h2 {
  font-size: 2rem;
  font-weight: 700;
  margin: 0;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(40px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Pagination stylée */
.swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  background: #ccc;
  opacity: 0.6;
  transition: all 0.3s ease;
  margin: 0 5px !important;
}

.swiper-pagination-bullet-active {
  width: 16px;
  height: 16px;
  background: #00ffad;
  opacity: 1;
  box-shadow: 0 0 0 4px rgba(0, 255, 173, 0.25);
}

/* Flèches */
.swiper-button-next,
.swiper-button-prev {
  color: #00ffad;
  transition: 0.3s;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
  transform: scale(1.2);
}

/* Responsive */
@media (max-width: 768px) {
  .swiper-text h2 {
    font-size: 1.4rem;
  }
}

@media (max-width: 576px) {
  .swiper-text h2 {
    font-size: 1.1rem;
  }
}
.swiper-particles {
  position: absolute;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.05) 1px,
    transparent 1px
  );
  background-size: 30px 30px;
  pointer-events: none;
  z-index: 1;
  animation: particleMove 10s linear infinite;
}

@keyframes particleMove {
  from {
    background-position: 0 0;
  }
  to {
    background-position: 100px 100px;
  }
}

/* Features section styling */
.wave-separator {
  position: absolute;
  width: 100%;
  height: 150px;
  overflow: hidden;
  margin-top: -1px;
}

.wave-separator svg {
  display: block;
  width: 100%;
  height: 100%;
}

.features {
  text-align: center;
  padding: 80px 20px;
  position: relative;
  background-color: #f9fcff;
  overflow: hidden;
}

.features h2 {
  font-size: 2.8em;
  font-weight: 700;
  color: #1d3557;
  margin-bottom: 30px;
}
.features h2::after {
  content: "";
  display: block;
  width: 60px;
  height: 4px;
  background-color: #00ffad;
  margin: 10px auto 0;
  border-radius: 4px;
}

.features p {
  font-size: 1.1rem;
  color: rgba(0, 0, 0, 0.9);
  margin-bottom: 40px;
}

.features .d-flex {
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
}

/* Feature cards */
.feature-item {
  background: linear-gradient(145deg, #ffffff, #eaf2f8);
  border-radius: 20px;
  position: relative;
  padding: 30px 20px;
  flex: 1 1 280px;
  max-width: 340px;
  min-height: 300px;
  border: 2px solid rgba(40, 116, 166, 0.2);
  box-shadow: 0 8px 20px rgba(40, 116, 166, 0.1);
  transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.feature-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 255, 173, 0.25);
  border-color: #00ffad;
}

/* Floating blob effect */
.feature-item::before {
  content: "";
  position: absolute;
  bottom: -50px;
  right: -50px;
  width: 120px;
  height: 120px;
  background: radial-gradient(circle, rgba(0, 255, 173, 0.3), transparent 70%);
  border-radius: 50%;
  z-index: 0;
  transition: transform 0.6s ease, opacity 0.4s ease;
}

.feature-item:hover::before {
  transform: scale(2) translate(-30%, -30%);
  opacity: 0.6;
}

/* Pulse animation */
.feature-item::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 200%;
  height: 200%;
  border-radius: 50%;
  background: rgba(0, 255, 173, 0.2);
  z-index: 0;
  opacity: 0;
  transform: translate(-50%, -50%) scale(1);
  animation: pulse 1.5s infinite;
}

.feature-item:hover::after {
  animation: pulse-hover 1.5s infinite;
}

@keyframes pulse-hover {
  0% {
    opacity: 0.8;
    transform: translate(-50%, -50%) scale(1.1);
  }
  50% {
    opacity: 0.3;
    transform: translate(-50%, -50%) scale(1.3);
  }
  100% {
    opacity: 0.8;
    transform: translate(-50%, -50%) scale(1.1);
  }
}

/* Text styles */
.feature-item div {
  position: relative;
  z-index: 1;
}

.feature-item i {
  color: #00ffad;
  margin-bottom: 20px;
  font-size: 2.5rem;
  transition: transform 0.3s ease, color 0.3s ease;
}

.feature-item:hover i {
  transform: scale(1.2) rotate(3deg);
  color: #007960;
}

.feature-item h3 {
  font-size: 1.3em;
  margin-bottom: 10px;
  color: #1d3557;
  font-weight: bold;
}

.feature-item p {
  font-size: 1em;
  color: rgba(0, 0, 0, 0.9);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .feature-item {
    min-height: 260px;
  }

  .feature-item i {
    font-size: 2rem;
  }

  .features h2 {
    font-size: 1.8rem;
  }

  .features p {
    font-size: 1rem;
  }
}

/* About Us section styling */
#about {
  padding: 100px 20px;
  background-color: #ffffff;
  position: relative;
  overflow: hidden;
}

.container-about {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  flex-wrap: wrap;
  gap: 40px;
  position: relative;
  z-index: 1;
}

.about-text {
  flex: 1 1 500px;
  z-index: 2;
  animation: fadeInLeft 1s ease forwards;
  opacity: 0;
}

.about-text h2 {
  font-size: 2.5em;
  color: #1b4f72;
  font-weight: bold;
  margin-bottom: 15px;
}

.about-text .subtitle {
  font-size: 1.3em;
  color: #00bfa6;
  margin-bottom: 20px;
  font-weight: bold;
}

.about-text .description {
  font-size: 1.1em;
  color: rgba(0, 0, 0, 0.9);
  line-height: 1.7;
  margin-bottom: 15px;
}

.about-image {
  flex: 1 1 400px;
  text-align: center;
  animation: fadeInRight 1s ease forwards;
  opacity: 0;
}

.about-image img {
  max-width: 100%;
  height: auto;
}

/* Floating background bubble */
#about::before {
  content: "";
  position: absolute;
  bottom: -100px;
  left: -80px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(0, 255, 173, 0.15), transparent 70%);
  border-radius: 50%;
  z-index: 0;
  animation: float 10s ease-in-out infinite;
}

/* Animations */
@keyframes fadeInLeft {
  from {
    transform: translateX(-50px);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes fadeInRight {
  from {
    transform: translateX(50px);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes float {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(20px);
  }
  100% {
    transform: translateY(0);
  }
}

/* Responsive */
@media (max-width: 768px) {
  .container-about {
    flex-direction: column;
    text-align: center;
  }

  .about-text,
  .about-image {
    flex: 1 1 100%;
    animation: none;
    opacity: 1;
  }

  .about-text h2 {
    font-size: 2em;
  }

  .about-text .subtitle {
    font-size: 1.1em;
  }

  .about-text .description {
    font-size: 1em;
  }
}
/* Mission highlight */
.mission-highlight {
  position: relative;
  background: rgba(0, 255, 173, 0.07);
  border-left: 4px solid #00ffad;
  border-radius: 12px;
  padding: 20px 20px 20px 60px;
  color: #1b4f72;
  font-weight: bold;
  box-shadow: 0 4px 20px rgba(0, 255, 173, 0.1);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.mission-highlight:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(0, 255, 173, 0.25);
}

/* Icon inside the paragraph */
.mission-icon {
  position: absolute;
  top: 18px;
  left: 20px;
  font-size: 1.5em;
  color: #00ffad;
  animation: pulseGlow 2s infinite;
}

/* Animation glow */
@keyframes pulseGlow {
  0%,
  100% {
    text-shadow: 0 0 6px rgba(0, 255, 173, 0.3);
  }
  50% {
    text-shadow: 0 0 12px rgba(0, 255, 173, 0.6);
  }
}

/* Responsive */
@media (max-width: 768px) {
  .mission-highlight {
    padding: 20px 20px 20px 50px;
    font-size: 1em;
  }

  .mission-icon {
    top: 15px;
    left: 15px;
    font-size: 1.3em;
  }
}

.about-header {
  text-align: center;
  margin-bottom: 50px;
  animation: fadeUp 1s ease forwards;
  opacity: 0;
}

.about-header h2 {
  font-size: 2.8em;
  font-weight: bold;
  color: #1b4f72;
  position: relative;
  display: inline-block;
}

.about-header h2::after {
  content: "";
  display: block;
  width: 60px;
  height: 4px;
  background-color: #00ffad;
  margin: 10px auto 0;
  border-radius: 4px;
}

/* Animation fade-up */
@keyframes fadeUp {
  from {
    transform: translateY(30px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* Responsive */
@media (max-width: 768px) {
  .about-header h2 {
    font-size: 2.2em;
  }
}

/* Contact section styling */
#contact {
  padding: 100px 20px;
  background: linear-gradient(
      to bottom right,
      rgba(40, 116, 166, 0.9),
      rgba(40, 116, 166, 0.7)
    ),
    url("../img/office (1).jpg") center/cover no-repeat;
  color: #ffffff;
  position: relative;
}

#contact h2 {
  font-size: 2.5em;
  font-weight: 700;
}

#contact p {
  font-size: 1.1em;
  color: #eaf6fb;
}

#contact ul li {
  padding: 5px 0;
  font-size: 1em;
  color: #d6ecf8;
}

#contact form {
  background-color: rgba(255, 255, 255, 0.05);
  padding: 30px;
  border-radius: 15px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

#contact form label {
  color: #ffffff;
  font-weight: 500;
}

#contact form input,
#contact form textarea {
  background-color: rgba(255, 255, 255, 0.1);
  border: 1px solid #aed6f1;
  color: #ffffff;
  border-radius: 8px;
  transition: all 0.3s ease;
}

#contact form input:focus,
#contact form textarea:focus {
  border-color: #00ffad;
  box-shadow: 0 0 10px #00ffad55;
  outline: none;
}

#contact form input::placeholder,
#contact form textarea::placeholder {
  color: #aed6f1;
}

#contact form button {
  background-color: #00ffad;
  color: #192440;
  padding: 12px 25px;
  font-weight: bold;
  border-radius: 25px;
  transition: 0.3s ease-in-out;
  border: none;
  position: relative;
  overflow: hidden;
}

#contact form button::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(
    circle,
    rgba(0, 255, 173, 0.2) 10%,
    transparent 60%
  );
  animation: pulseGlow 2s infinite;
  z-index: 0;
}

#contact form button:hover {
  transform: translateY(-2px);
}

#contact form button span {
  position: relative;
  z-index: 1;
}

/* Message alerts */
#contact .alert {
  margin-top: 10px;
  font-weight: 500;
  border-radius: 8px;
}

/* Pulse animation */
@keyframes pulseGlow {
  0% {
    transform: scale(1);
    opacity: 0.6;
  }
  50% {
    transform: scale(1.1);
    opacity: 0.3;
  }
  100% {
    transform: scale(1);
    opacity: 0.6;
  }
}

/* Responsive */
@media (max-width: 768px) {
  #contact .row {
    flex-direction: column;
  }

  #contact h2 {
    font-size: 2em;
  }

  #contact form {
    margin-top: 30px;
  }
}

#copyright {
  background-color: #121a2e;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  color: #ffffff;
  font-size: 0.95rem;
  letter-spacing: 0.3px;
  position: relative;
  z-index: 2;
}

#copyright strong {
  color: #00ffad;
}

#copyright .social-icon {
  color: #ffffff;
  margin: 0 8px;
  font-size: 1.2rem;
  transition: transform 0.3s ease, color 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
}

#copyright .social-icon:hover {
  color: #00ffad;
  background: rgba(0, 255, 173, 0.1);
  transform: scale(1.2) rotate(5deg);
}

@media (max-width: 768px) {
  #copyright {
    text-align: center;
  }

  #copyright .text-md-left,
  #copyright .text-md-right {
    text-align: center !important;
  }

  #copyright .social-icon {
    margin: 0 6px;
  }
}

/* FORMULAIRE */
.overlay {
  background-color: #2d2d2da2;
  width: 100%;
  height: 100vh;
  position: fixed;
  top: 0;
  left: 0;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1002;
}
.forms-container {
  position: relative;
  max-width: 850px;
  width: 100%;
  background: #fff;
  padding: 40px 30px;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
  perspective: 2700px;
  max-height: 95%;
}
.forms-container .cover {
  position: absolute;
  top: 0;
  left: 50%;
  height: 100%;
  width: 50%;
  z-index: 98;
  transition: all 1s ease;
  transform-origin: left;
  transform-style: preserve-3d;
  backface-visibility: hidden;
}
.forms-container #flip:checked ~ .cover {
  transform: rotateY(-180deg);
}
.forms-container #flip:checked ~ .forms .login-form {
  pointer-events: none;
}
.forms-container .cover .front,
.forms-container .cover .back {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
}
.cover .back {
  transform: rotateY(180deg);
}
.forms-container .cover img {
  position: absolute;
  height: 100%;
  width: 100%;
  object-fit: cover;
  z-index: 10;
}
.forms-container .cover .text {
  position: absolute;
  z-index: 10;
  height: 100%;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.forms-container .cover .text::before {
  content: "";
  position: absolute;
  height: 100%;
  width: 100%;
  opacity: 0.5;
  background: #2874a6; /* Bleu clair */
}
.cover .text .text-1,
.cover .text .text-2 {
  z-index: 20;
  font-size: 26px;
  font-weight: 600;
  color: #fff;
  text-align: center;
}
.cover .text .text-2 {
  font-size: 15px;
  font-weight: 500;
}
.forms-container .forms {
  height: 100%;
  width: 100%;
  background: #fff;
  overflow: auto;
}
.forms-container .form-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.form-content .login-form,
.form-content .signup-form {
  width: calc(100% / 2 - 25px);
}
.forms .form-content .title {
  position: relative;
  font-size: 24px;
  font-weight: 500;
  color: #333;
}
.forms .form-content .title:before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 3px;
  width: 25px;
  background: #2874a6; /* Bleu clair */
}
.forms .signup-form .title:before {
  width: 20px;
}
.forms .form-content .input-boxes {
  margin-top: 30px;
}
.forms .form-content .input-box {
  display: flex;
  align-items: center;
  height: 50px;
  width: 100%;
  margin: 10px 0;
  position: relative;
}
.form-content .input-box input {
  height: 100%;
  width: 100%;
  outline: none;
  border: none;
  padding: 0 30px;
  font-size: 16px;
  font-weight: 500;
  border-bottom: 2px solid rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}
.form-content .input-box input:focus,
.form-content .input-box input:valid {
  border-color: #2874a6; /* Bleu clair */
}
.form-content .input-box i {
  position: absolute;
  color: #2874a6; /* Bleu clair */
  font-size: 17px;
}
.forms .form-content .text {
  font-size: 14px;
  font-weight: 500;
  color: #333;
}
.forms-container {
  overflow: hidden;
}
.forms .form-content .signup-form {
  max-height: 500px;
  overflow-y: auto;
  padding: 5px;
}
/* Scrollbar (Chrome, Safari) */
.signup-form::-webkit-scrollbar {
  width: 6px;
}

.signup-form::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 10px;
}

.signup-form::-webkit-scrollbar-thumb {
  background-color: #2874a6;
  border-radius: 10px;
  border: 2px solid #f1f1f1;
}

.signup-form::-webkit-scrollbar-thumb:hover {
  background-color: #1b4f72;
}

/* Pour Firefox */
.signup-form {
  scrollbar-width: thin;
  scrollbar-color: #2874a6 #f1f1f1;
}

.forms .form-content .text a {
  text-decoration: none;
}
.forms .form-content .text a:hover {
  text-decoration: underline;
}
.forms .form-content .button {
  color: #fff;
  margin-top: 40px;
}
.forms .form-content .button input {
  color: #fff;
  background: #2874a6; /* Bleu clair */
  border-radius: 6px;
  padding: 0;
  cursor: pointer;
  transition: all 0.4s ease;
}
.forms .form-content .button input:hover {
  background: #1b4f72; /* Bleu foncé */
}
.forms .form-content label {
  color: #1b4f72; /* Bleu foncé */
  cursor: pointer;
}
.forms .form-content label:hover {
  text-decoration: underline;
}
.forms .form-content .login-text,
.forms .form-content .sign-up-text {
  text-align: center;
  margin-top: 25px;
}
.forms-container #flip {
  display: none;
}
@media (max-width: 730px) {
  .forms-container .cover {
    display: none;
  }
  .form-content .login-form,
  .form-content .signup-form {
    width: 100%;
  }
  .form-content .signup-form {
    display: none;
  }
  .container #flip:checked ~ .forms .signup-form {
    display: block;
  }
  .container #flip:checked ~ .forms .login-form {
    display: none;
  }
}
@media (max-width: 730px) {
  .forms-container .cover {
    display: none;
  }
  .form-content .login-form,
  .form-content .signup-form {
    width: 100%;
  }
  .form-content .signup-form,
  .form-content .login-form {
    display: none;
  }
  .form-content .login-form.active,
  .form-content .signup-form.active {
    display: block;
  }
}
/* LOADER */
.spinner {
  border: 4px solid rgba(0, 0, 0, 0.1);
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border-top-color: #3498db;
  animation: spin 1s ease infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
/* ERREURS */
/* Red border for invalid input fields */
#formInscription input.error-border {
  border-color: red;
}

/* Styling for the error messages */
.error-message {
  color: red;
  font-size: 12px;
  margin-top: 5px;
  display: block;
}

