@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800&display=swap");

/* Styles Généraux */
html {
  scroll-behavior: smooth;
}

body {
  font-family: "Montserrat", sans-serif;
  margin: 0;
  padding: 0;
  line-height: 1.6;
  color: #002d5a; /* Bleu foncé comme sur l'image */
  text-align: center;
  background-image: url("./Image\ 1\ 2.");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

/* Navbar */
.navbar {
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  padding: 8px 4%;
  background: rgba(0, 94, 184, 0.1); /* bleu semi-transparent */
  border: 1px solid rgba(2, 18, 32, 0.06);
  border-radius: 12px;
  margin: 8px;
  backdrop-filter: blur(4px);
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: bold;
  font-family: "Montserrat", sans-serif;
}
.logo img {
  height: 32px;
  border-radius: 50%;
  border: 1px solid #192447;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 12px;
}
.nav-links a {
  text-decoration: none;
  color: #3b82c4;
  font-weight: 500;
  font-size: 0.95rem;
  font-family: "Montserrat", sans-serif;
  transition: text-decoration 0.3s ease;
}
.nav-links a:hover {
  text-decoration: underline;
}

/* Menu Mobile (Trois tirets) */
.menu-toggle {
  display: none;
  cursor: pointer;
  flex-direction: column;
  gap: 2px;
}
.bar {
  width: 22px;
  height: 2.5px;
  background-color: #05294a;
}

/* Slider */
.hero-slider {
  padding: 10px;
  max-width: 90%;
  margin: auto;
}

.slider-container {
  height: 300px;
  border: 1px solid #ccc;
  border-radius: 20px;
  overflow: hidden;
  background: #f4f4f4;
  position: relative;
}

.slides {
  display: flex;
  height: 100%;
  transition: transform 0.8s ease-in-out;
}

.slide {
  min-width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Section À Propos */
.center-logo {
  width: 150px;
  margin-top: 20px;
}

.about-section {
  padding: 40px 10%;
  font-size: 1.1rem;
}

/* Responsive (Mobile) */
@media (max-width: 768px) {
  .nav-links {
    display: none; /* Masqué par défaut sur mobile */
    flex-direction: column;
    position: absolute;
    top: 60px;
    right: 10px;
    background: white;
    border: 1px solid #ddd;
    padding: 20px;
    width: 200px;
    border-radius: 10px;
    z-index: 100;
  }

  .nav-links.active {
    display: flex;
  }
  .menu-toggle {
    display: flex;
  }
}
:root {
  --primary-blue: #3b5998;
  --bg-gradient: linear-gradient(
    180deg,
    #6a82fb,
    #fc5c7d
  ); /* Ajustez selon vos goûts */
  --card-bg: rgba(255, 255, 255, 0.9);
}

.how-it-works {
  font-family: "Montserrat", sans-serif;
  padding: 50px 20px;
  display: flex;
  justify-content: center;
  background: #ffffff; /* Couleur de fond de page */
}

.container {
  max-width: 600px;
  text-align: center;
}

.badge {
  display: inline-block;
  padding: 8px 30px;
  border: 2px solid var(--primary-blue);
  border-radius: 50px;
  background: white;
  font-weight: bold;
  margin-bottom: -20px; /* Pour l'effet de superposition */
  position: relative;
  z-index: 2;
}

.main-card {
  background: var(--card-bg);
  border: 3px solid var(--primary-blue);
  border-radius: 60px;
  padding: 40px 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

h2 {
  color: #333;
  font-size: 1.4rem;
  margin-top: 10px;
}

.separator {
  width: 60%;
  border: 0;
  border-top: 1px solid #ccc;
  margin: 15px auto;
}

.step {
  margin: 25px 0;
  transition: transform 0.3s ease;
}

.step h3 {
  color: var(--primary-blue);
  font-size: 1.1rem;
  margin-bottom: 5px;
}

.step p {
  color: #444;
  line-height: 1.4;
}

/* Social icons uniform size */
.social-icons {
  display: flex;
  gap: 8px;
}
.social-icons .icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid var(--primary-blue);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px;
  background: #ffffff;
  box-sizing: border-box;
}
.social-icons .icon img {
  width: 60%;
  height: 60%;
  object-fit: contain;
  display: block;
}

/* Contact methods (email/phone) - horizontal and larger */
.contact-methods {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: center;
  margin-top: 10px;
}
.contact-methods .contact-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid var(--primary-blue);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px;
  background: #fff;
  box-sizing: border-box;
}
.contact-methods .contact-icon img {
  width: 60%;
  height: 60%;
  object-fit: contain;
  display: block;
}
.contact-methods .contact-icon:hover {
  transform: translateY(-2px);
  transition: transform 0.18s ease;
}

.cta-text {
  font-weight: bold;
  color: darkturquoise;
  margin-top: 30px;
}

/* Bouton Rouge */
.btn-register {
  display: inline-block;
  margin-top: 30px;
  background: #b22222;
  color: white;
  padding: 15px 40px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: background 0.3s;
}

.btn-register:hover {
  background: #8e1c1c;
}
:root {
  --dark-blue: #0a194f;
  --gray-input: #b0b0b0;
  --bg-light: #7a7a7a;
}

.contact-section {
  background-color: rgb(67, 66, 66);
  font-family: "Montserrat", sans-serif;
  padding-top: 40px;
  border-radius: 25px;
  margin: 20px;
  border: 3px solid darkturquoise;
  color: #ffffff;
  font-weight: 100;
}

.contact-container {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  padding: 20px;
}

.badge-contact {
  display: inline-block;
  border: 2px solid var(--dark-blue);
  border-radius: 50px;
  padding: 5px 60px;
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 20px;
}

.subtitle {
  font-size: 16px;
  margin-bottom: 40px;
}

/* Mise en page Colonnes */
.contact-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 50px;
}

/* Formulaire */
.contact-form {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.contact-form input[type="text"],
.contact-form input[type="email"] {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 15px;
  padding: 12px 20px;
  text-align: center;
  font-weight: bold;
  color: #fff;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.2);
}

.contact-form input[type="text"]::placeholder,
.contact-form input[type="email"]::placeholder {
  color: rgba(255, 255, 255, 0.8);
}

.form-footer {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-top: 10px;
}

.btn-submit {
  background: var(--dark-blue);
  color: white;
  border: none;
  border-radius: 10px;
  padding: 12px 20px;
  cursor: pointer;
  white-space: nowrap;
}

.checkbox-container {
  font-size: 10px;
  text-align: left;
  display: flex;
  align-items: center;
  gap: 5px;
}

/* Séparateur Vertical */
.divider {
  width: 2px;
  background-color: #666;
  align-self: stretch;
}

/* Réseaux Sociaux */
.social-side {
  width: 200px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
}

.social-icons {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.icon {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-decoration: none;
  background: #333;
}

/* Footer Style */
.main-footer {
  background-color: var(--dark-blue);
  color: rgba(255, 255, 255, 0.85); /* texte légèrement assombri */
  padding: 15px 40px;
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  font-family: "Montserrat", sans-serif;
  border-radius: 12px;
  overflow: hidden;
}

.main-footer a {
  color: rgba(255, 255, 255, 0.7); /* liens un peu plus sombres */
  text-decoration: none;
  opacity: 0.9;
}

/* Responsive */
@media (max-width: 768px) {
  .contact-content {
    flex-direction: column;
    align-items: center;
  }
  .divider {
    display: none;
  }
  .main-footer {
    flex-direction: column;
    text-align: center;
    gap: 10px;
  }
}
