@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600;700;800;900&display=swap');

* {
  font-family: "poppins", sans-serif;
  margin: 0;
  padding: 0;
}

body {
  background-color: #f9f9f9;
  color: #555;
}

/* Typographie responsive globale */
h1 {
  font-size: clamp(2.5rem, 5vw, 3rem);
}

h2 {
  font-size: clamp(2rem, 4vw, 2.5rem);
}

h3 {
  font-size: clamp(1.5rem, 3.5vw, 2rem);
}

h4 {
  font-size: clamp(1rem, 2vw, 1.5rem);
}
h5{
    font-size: clamp(1rem, 2vw, 1.5rem);  
}

p,
a {
  font-size: clamp(12.5px, 1.2vw, 14px);
}

/* === CONTENU PRINCIPAL === */
.planVol {
  width: 75%;
  margin: 60px auto;
  padding: 60px 0;
}

.container-form {
  display: flex;
  gap: 50px;
  justify-content: space-between;
}

.planVol h2 {
  color:#003366;
  margin-bottom: 30px;
  font-weight: 600;
  text-align: center;
}
.step-item h5{
    color:#003366 ;
}

.steps-plan {
  gap: 100px;
  position: relative;
  padding-left: 40px;
  border-left: 4px solid #003366;
  flex-direction: column;
  display: flex;
  width: 50%;
}

.steps-plan .step-item {
  width: 100%;
  display: flex;
  align-items: flex-start;
  position: relative;
}

/* === Messages === */
.error {
  background-color: #f8d7da;
  color: #721c24;
  padding: 12px;
  border-radius: 6px;
  margin-bottom: 20px;
}

.success {
  background-color: #d4edda;
  color: #155724;
  padding: 12px;
  border-radius: 6px;
  margin-bottom: 20px;
}

.steps-plan .step-item .step-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.08);
}

.steps-plan .step-item .step-number {
  width: 40px;
  height: 40px;
  min-width: 40px;
  min-height: 40px;
  border-radius: 50%;
  background-color: #003366;
  color: white;
  font-weight: bold;
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: 'Oswald', sans-serif;
  position: absolute;
  left: -60px;
  top: 0;
}

.steps-plan .step-item .step-content {
  background-color: white;
  padding: 15px 20px;
  width: 100%;
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.1);
}
.steps-plan .step-item .step-content  a{
  font-size: 16px;
  color:#0796fe;
}
.container-vol {
  width: 50%;
}

#plandevolForm {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.1);
  padding: 40px;
  border-radius: 10px;
}



input[type="text"],
input[type="file"],
input[type="email"] {
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 8px;
  transition: border-color 0.2s ease;
  -webkit-transition: border-color 0.2s ease;
  -moz-transition: border-color 0.2s ease;
  -ms-transition: border-color 0.2s ease;
  -o-transition: border-color 0.2s ease;
}

input[type="text"]:focus,
input[type="file"]:focus,
input[type="email"]:focus {
  border-color:#003366;
  outline: none;
}

.form-group button {
  border: 1px solid #003366;
  padding: 10px;
  border-radius: 8px;
  margin-top: 10px;
  cursor: pointer;
  background: none;
  transition: background-color 0.3s ease, color 0.3s ease;
  -webkit-transition: background-color 0.3s ease, color 0.3s ease;
  -moz-transition: background-color 0.3s ease, color 0.3s ease;
  -ms-transition: background-color 0.3s ease, color 0.3s ease;
  -o-transition: background-color 0.3s ease, color 0.3s ease;
}

button:hover {
  background:#004080;
  color: #fff;
}

.checkbox-group {
  display: flex;
  gap: 10px;
  margin-top: 10px;
}

.checkbox-group p {
  color: #555;
}

/* === FULL RESPONSIVE BREAKPOINTS === */
@media (max-width: 1300px) {
  .step-item {
    width: 28%;
  }
}

@media (max-width: 1024px) {
  .step-item {
    width: 45%;
  }
}

@media (max-width: 768px) {
  .step-item {
    width: 90%;
    width: 400px;
  }

  .planVol {
    width: 90% !important;
    margin-top: -40px;
  }

  .container-form {
    flex-direction: column;
  }

  .steps-plan {
    gap: 40px;
  }

  .steps-plan,
  .container-vol {
    width: 100%;
  }

  .step-item {
    margin-bottom: 30px;
  }

  .container-vol {
    margin-top: 50px;
  }

 
  .form-group button {
    padding: 8px;
  }
}
