* {
  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;
  }
}

/*-- Banner Section --*/
.banner {
  background: #0a1f44 url("../img/banner-school.jpg") no-repeat center center;
  background-size: cover;
  height: 100vh; /* Full screen height */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
}

.banner-content h1 {
  color: #d3e2f4; /* Light blue */
  font-size: 48px;
  line-height: 58px;
  margin-bottom: 20px;
  font-weight: bold;
}

.banner-content p {
  color: #d3e2f4;
  font-size: 18px;
  line-height: 28px;
  margin-bottom: 30px;
}

.banner-content a {
  display: inline-block;
  margin: 10px;
  padding: 10px 20px;
  text-decoration: none;
  text-transform: uppercase;
  font-size: 14px;
  font-weight: bold;
  border-radius: 5px;
  transition: all 0.3s ease;
}

.banner-content a.btn-primary {
  background-color: #fdd430; /* Yellow primary button */
  color: #0a1f44; /* Dark blue text */
}

.banner-content a.btn-primary:hover {
  background-color: #0a1f44; /* Hover: dark blue */
  color: #fdd430; /* Hover: yellow text */
  border: 2px solid #fdd430;
}
.banner-content .icon-welcome {
  color: #fdd430; /* Yellow color to match your theme */
  margin-bottom: 20px; /* Add spacing below the icon */
  display: inline-block;
  transition: transform 0.3s ease, color 0.3s ease;
}

.banner-content .icon-welcome:hover {
  color: #d3e2f4; /* Light blue on hover */
  transform: scale(1.1); /* Slight zoom effect */
}

.banner-content a.btn-secondary {
  background-color: transparent;
  color: #fdd430;
  border: 2px solid #fdd430;
}

.banner-content a.btn-secondary:hover {
  background-color: #fdd430;
  color: #0a1f44;
}

/*-- Responsive Styles --*/
@media (max-width: 768px) {
  .banner-content h1 {
    font-size: 36px;
    line-height: 46px;
  }

  .banner-content p {
    font-size: 16px;
    line-height: 24px;
  }

  .banner-content a {
    padding: 8px 16px;
    font-size: 12px;
  }

  .navigation.navbar-dark .navbar-nav .nav-link {
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  .banner-content h1 {
    font-size: 28px;
    line-height: 38px;
  }

  .banner-content p {
    font-size: 14px;
    line-height: 20px;
  }

  .navigation.navbar-dark .navbar-nav .nav-link {
    font-size: 12px;
    padding: 8px 10px;
  }
}

/* Swiper section styling */
.swiper {
  width: 95%;
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 30px auto;
}
.swiper-slide {
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Text overlay styling */
.swiper-text {
  background: rgba(0, 0, 0, 0.502); /* Semi-transparent black background */
  padding: 20px;
  border-radius: 8px;
  text-align: center;
  color: #fff;
  max-width: 80%;
}

.swiper-text h2 {
  font-size: 2em;
  font-weight: bold;
  margin: 0;
  line-height: 1.2;
}

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

@media (max-width: 576px) {
  .swiper-text h2 {
    font-size: 1.2em;
  }
}
/* 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);
  }
}
/* Contact form */
#contact {
  padding: 50px;
  background-color: #2874a6; /* Bleu plus sombre */
  color: #ffffff;
  text-align: center;
  background-size: cover;
}

#contact ul li {
  padding: 3px 0;
  color: #aed6f1; /* Bleu clair pour le texte secondaire */
}

#contact form {
  color: #aed6f1; /* Texte des formulaires */
}

#contact form input,
#contact form textarea {
  background: transparent;
  border: 1px solid #aed6f1; /* Bordure bleu clair */
  color: #ffffff;
}

#contact form input::placeholder,
#contact form textarea::placeholder {
  color: #aed6f1; /* Placeholder en bleu clair */
}

#contact form button {
  background-color: #3498db; /* Bleu vif pour le bouton */
  border: none;
  color: #ffffff;
  padding: 10px 20px;
  font-weight: bold;
  cursor: pointer;
}

#contact form button:hover {
  background-color: #2e86c1; /* Bleu légèrement plus foncé au hover */
}

/* CONNEXION */
/* Swiper Section */
.account-types {
  text-align: center;
  margin: 50px 0;
}

.account-card {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 20px;
  text-align: center;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.account-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.account-icon {
  font-size: 48px;
  color: #0a1f44; /* Dark Blue */
  margin-bottom: 15px;
}

.account-card h3 {
  font-size: 22px;
  color: #0a1f44;
  margin-bottom: 10px;
}

.account-card p {
  font-size: 16px;
  color: #666;
  margin-bottom: 20px;
}

.account-card .btn {
  background-color: #fdd430;
  color: #0a1f44;
  padding: 10px 20px;
  border-radius: 20px;
  text-transform: uppercase;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.account-card .btn:hover {
  background-color: #0a1f44;
  color: #fdd430;
}

/* Swiper styles adjustments */
.swiper {
  margin-top: 20px;
  padding-bottom: 40px;
}

.swiper-slide {
  display: flex;
  justify-content: center;
  align-items: center;
}

/* 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;
}

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

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;
}
