* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
/*-- Global Styles --*/
body {
  margin: 0;
  padding: 0;
  font-family: "Poppins", Arial, sans-serif;
  background-color: #0a1f44;
  color: #d3e2f4;
}

/* Header styles */
header {
  position: sticky;
  top: 0;
  z-index: 1000;
}
.header {
  background-color: #0a1f44; /* Dark blue */
  padding: 15px 0;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.full {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.logo a img {
  max-height: 50px;
}

/* Navbar links */
.navigation.navbar-dark .navbar-nav .nav-link {
  color: #d3e2f4; /* Light blue */
  font-size: 16px;
  padding: 10px 15px;
  text-transform: uppercase;
  transition: color 0.3s ease;
}

.navigation.navbar-dark .navbar-nav .nav-link:hover,
.navigation.navbar-dark .navbar-nav .nav-link:focus {
  color: #fdd430; /* Yellow highlight */
}

.navigation.navbar-dark .navbar-nav .active > .nav-link {
  color: #fdd430;
  font-weight: bold;
}

/* Toggler visibility */
.navbar-toggler {
  display: none;
  border: 1px solid;
  padding: 5px;
  border-radius: 5px;
  border-color: #d3e2f4; /* Light blue */
  margin-left: auto; /* Keep the toggler on the right */
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28211,226,244,1%29' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Responsive adjustments */
@media (max-width: 991px) {
  .navigation.navbar-dark .navbar-nav .nav-link {
    font-size: 14px;
    text-align: center;
  }
  .navbar-toggler {
    display: block;
  }
  .navbar-collapse {
    background-color: #0a1f44; /* Dark blue for mobile dropdown */
  }
  .logo_section {
    text-align: left;
  }
}

/* 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);
  }
}
/* Footer Styles */
#footer {
  background-color: #0a1f447a; /* Dark blue */
  color: #d3e2f4; /* Light blue text */
  font-size: 14px;
}

#footer a {
  color: #d3e2f4; /* Light blue */
  text-decoration: none;
  transition: color 0.3s ease;
}

#footer a:hover {
  color: #fdd430; /* Yellow highlight */
}

.social-icon {
  font-size: 20px;
  display: inline-block;
  transition: transform 0.3s ease;
}

.social-icon:hover {
  transform: scale(1.2);
}
/* Custom scrollbar */
::-webkit-scrollbar {
  width: 12px;
  height: 12px;
}

::-webkit-scrollbar-thumb {
  background-color: #007bff;
  border-radius: 10px;
  border: 3px solid #f0f0f0;
}

::-webkit-scrollbar-thumb:hover {
  background-color: #0056b3;
}

::-webkit-scrollbar-track {
  background-color: #f0f0f0;
  border-radius: 10px;
}

/* Custom scrollbar Firefox */
scrollbar {
  width: 12px;
}

scrollbar-thumb {
  background-color: #007bff;
  border-radius: 10px;
}

scrollbar-track {
  background-color: #f0f0f0;
  border-radius: 10px;
}

/* MODAL INSCRIPTION ECOLE */
body.noscroll {
  overflow: hidden;
}
.multi-step-form {
  max-width: 500px;
  margin: 50px auto;
  background: #fff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  overflow-y: auto;
}

.progress-indicator {
  display: flex;
  justify-content: space-between;
  margin-bottom: 20px;
}

.step {
  flex: 1;
  text-align: center;
  position: relative;
}

.step .indicator {
  width: 30px;
  height: 30px;
  line-height: 30px;
  border: 2px solid #ccc;
  border-radius: 50%;
  background: #f4f4f9;
  margin: 0 auto;
  font-weight: bold;
}

.step.current .indicator,
.step.completed .indicator {
  border-color: #007bff;
  background: #007bff;
  color: #fff;
}

.step.completed p {
  color: #007bff;
}

.step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 100%;
  width: calc(100% - 30px);
  height: 2px;
  background: #ccc;
  z-index: -1;
}

.step.current::after,
.step.completed::after {
  background: #007bff;
}

.form-container {
  display: flex;
  flex-direction: column;
}

.form-step {
  display: block;
}

.form-step:first-child {
  display: block;
}

.form-step.hidden {
  display: none !important;
}

h3 {
  margin-bottom: 15px;
  color: rgb(34, 34, 34);
}

label {
  margin-top: 10px;
  display: block;
  font-weight: bold;
  color: black;
}

input {
  width: 100%;
  padding: 10px;
  margin-top: 5px;
  border: 1px solid #ccc;
  border-radius: 4px;
}

input:focus {
  border-color: #007bff;
  outline: none;
}

button {
  padding: 10px 20px;
  border: none;
  background: #007bff;
  color: #fff;
  cursor: pointer;
  border-radius: 4px;
  transition: background 0.3s ease;
}

button:hover {
  background: #0056b3;
}

button:disabled {
  background: #ccc;
  cursor: not-allowed;
}

.form-navigation {
  display: flex;
  justify-content: space-between;
  margin-top: 20px;
}
/* Smooth transition for slide and opacity */
.form-step {
  display: none;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.form-step:not(.hidden) {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

/* Password feedback */
#passwordHelp {
  font-size: 12px;
  color: #888;
}

.password-weak {
  color: red;
}

.password-strong {
  color: green;
}
/* Style for error messages */
.error-message {
  color: red;
  font-size: 12px;
  display: none; /* Hide error messages by default */
}

.password-help {
  font-size: 12px;
  color: #888;
}

.password-weak {
  color: red;
}

.password-strong {
  color: green;
}
/* MODAL INSCRIPTION */
/* Modal backdrop */
.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1000;
}

/* Hidden state */
.hidden {
  display: none;
}

/* Modal */
.custom-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #fff;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  width: 90%;
  max-width: 600px;
  z-index: 1001;
  border-radius: 8px;
  animation: modalFadeIn 0.3s ease-out;
}

.modal-content {
  padding: 20px;
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #eee;
  padding-bottom: 10px;
}

.modal-title {
  font-size: 18px;
  font-weight: bold;
}

.close-modal {
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
}

.modal-body {
  margin-top: 20px;
}

/* Animation */
@keyframes modalFadeIn {
  from {
    opacity: 0;
    transform: translate(-50%, -45%);
  }
  to {
    opacity: 1;
    transform: translate(-50%, -50%);
  }
}

/* MODAL CONNEXION */

.modalconnexion {
  max-width: 430px;
  width: 100%;
  /* background: #1c1c1c; Neutral dark gray background */
  border-radius: 7px;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.5);
  padding: 10px;
  color: #f0f0f0; /* Light text color for contrast */
}

.form header {
  font-size: 1.5rem;
  font-weight: 500;
  text-align: center;
  margin-bottom: 1.5rem;
  color: #4a90e2; /* Bright blue accent for header */
}

.form input {
  height: 60px;
  width: 100%;
  padding: 0 15px;
  font-size: 17px;
  margin-bottom: 0.5rem;
  border: 1px solid #4a90e2; /* Blue accent border */
  border-radius: 6px;
  outline: none;
  /* background: #2b2b2b; Slightly lighter dark gray for inputs */
  color: #252525; /* Light text for contrast */
}

.form input:focus {
  border-color: #3445b4; /* Darker blue border on focus */
  box-shadow: 0 1px 0 rgba(52, 69, 180, 0.5); /* Subtle focus shadow */
}

.form a {
  font-size: 16px;
  color: #4a90e2; /* Blue accent for links */
  text-decoration: none;
}

.form a:hover {
  text-decoration: underline;
}

.form input.button {
  color: #fff;
  background: #4a90e2; /* Blue accent for buttons */
  font-size: 1.2rem;
  font-weight: 500;
  letter-spacing: 1px;
  margin-top: 1.7rem;
  cursor: pointer;
  transition: 0.4s;
  border: none; /* Remove border for cleaner look */
}

.form input.button:hover {
  background: #3445b4; /* Slightly darker blue on hover */
}

.signup {
  font-size: 17px;
  text-align: center;
  color: #f0f0f0; /* Keep the text light for contrast */
}

.signup label {
  color: #4a90e2; /* Blue accent for clickable labels */
  cursor: pointer;
}
.form label {
  color: rgb(41, 41, 41);
  font-weight: lighter;
  cursor: pointer;
}

.signup label:hover {
  text-decoration: underline;
}
.simple-form-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100vh;
  background-color: #0a1f44;
  padding: 20px;
  text-align: center;
}
.simple-form-container h3 {
  color: #f0f0f0;
  margin-bottom: 10px;
}
.info-text {
  color: #b0b0b0;
  font-size: 14px;
  margin-bottom: 10px;
  display: block;
}
.download-link {
  display: inline-block;
  font-size: 16px;
  animation: downloadAnimation 1s infinite;
}
.download-link a {
  color: #4a90e2;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}
.download-link a:hover {
  color: #3445b4;
}
.drop-zone {
  border: 2px dashed #ccc;
  padding: 20px;
  text-align: center;
  cursor: pointer;
  background: #f9f9f9;
  color: rgb(76, 76, 76);
  width: 80%;
  max-width: 400px;
  margin: 15px auto;
}
.drop-zone:hover {
  background: #e9e9e9;
}
.drop-zone.success {
  border-color: #4caf50;
  background: #e8f5e9;
  color: #4caf50;
  font-weight: bold;
}
.drop-zone i {
  margin-right: 8px;
}
.submit-form {
  background: #4a90e2;
  color: white;
  padding: 10px 20px;
  border: none;
  cursor: pointer;
  border-radius: 5px;
  margin-top: 15px;
  transition: background 0.3s;
}
.submit-form:hover {
  background: #3445b4;
}
@keyframes downloadAnimation {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-5px);
  }
  100% {
    transform: translateY(0);
  }
}
