html, body {
  overflow-x: hidden;
  max-width: 100%;
}

.hero-section {
  position: relative;
  min-height: 100vh;
  color: #ffffff;
  overflow: hidden;
}

.navbar-brand img {
  height: 40px;
  width: auto;
  object-fit: contain;
}

.custom-toggler {
  border: none !important;
  padding: 4px 8px;
  background: transparent;
  box-shadow: none !important;
}

.custom-toggler .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%28255, 255, 255, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.navbar-dark .navbar-nav .nav-link {
  color: #ffffff;
  font-weight: 500;
  padding: 0.5rem 1rem;
}

.btn-purple {
  background-color: #635bfc;
  color: #fff;
  border-radius: 20px;
  padding: 6px 18px;
  font-size: 0.9rem;
  border: none;
  transition: all 0.3s ease-in-out;
}

.btn-purple:hover {
  background-color: #4f46e5;
  transform: scale(1.05);
  text-shadow: 0px 10px 20px rgba(0, 0, 0, 0.3);
}

.btn-green {
  background-color: #10b981;
  color: #fff;
  border-radius: 20px;
  padding: 6px 18px;
  font-size: 0.9rem;
  border: none;
  transition: all 0.3s ease-in-out;
}

.btn-green:hover {
  background-color: #059669;
  transform: scale(1.05);
  text-shadow: 0px 10px 20px rgba(0, 0, 0, 0.3);
}

.custom-hero-row {
  width: 120%;
  padding: 40px 0 0 0;
}

.hero-title {
  font-size: 1.7rem;
  font-weight: 700;
  line-height: 1.3;
  text-shadow: 5px 5px 5px rgb(0 0 0 / 74%);
  padding-top: 80px;
}

.highlight-orange {
  color: rgb(255 177 69 / 1);
}

.hero-description {
  font-size: 1.4rem;
  opacity: 0.9;
  margin-top: 1.5rem;
  margin-bottom: 2rem;
  max-width: 100%;
}

.dropdown-menu-dark .dropdown-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.dropdown-menu-dark .dropdown-item:hover {
  background-color: rgba(255, 255, 255, 0.15);
  transform: translateX(0.25rem);
}

.flag-image {
  width: 24px;
  height: 16px;
  object-fit: cover;
  vertical-align: middle;
}

.btn-lang {
  background: transparent;
  color: #fff;
  border: none;
  font-size: 0.9rem;
  padding: 4px 8px;
}

.btn-lang:hover,
.btn-lang:focus,
.btn-lang:active {
  background: rgba(255, 255, 255, 0.1) !important;
  color: #fff !important;
}

.btn-lang::after {
  margin-left: 6px;
}

.dropdown-toggle::after {
  transition: transform 0.3s ease;
}

.dropdown-toggle[aria-expanded="true"]::after {
  transform: rotate(180deg);
}

@media (max-width: 992.98px) {
  .hero-title {
    font-size: 2rem;
    padding-top: 80px;
  }

  .custom-hero-row {
    width: 80%;
    padding: 20px 0 30px 20px;
  }

  .hero-description {
    font-size: 1.5rem;
    max-width: 80%;
    padding-top: 30px;
  }
}

@media (max-width: 660.98px) {
  .hero-description {
    font-size: 1.2rem;
    max-width: 80%;
    padding-top: 30px;
  }
}

@media (max-width: 550.98px) {
  .hero-title {
    font-size: 1.3rem;
    padding-top: 80px;
  }

  .custom-hero-row {
    width: 100%;
    padding: 20px 0 30px 20px;
  }

  .hero-description {
    font-size: 1.2rem;
    max-width: 100%;
    padding-top: 30px;
  }
}

.formations-dropdown {
  position: relative;
}

.formations-dropdown .dropdown-menu {
  display: block;
  position: absolute;
  top: 100%;
  left: -40%;
  margin-left: 10px;
  min-width: 180px;
  opacity: 0;
  visibility: hidden;
  /* transform: translateX(10px); */
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
  pointer-events: none;
  z-index: 1050;
}

.formations-dropdown .dropdown-menu.show {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
  pointer-events: auto;
}

.formations-menu .formation-item {
  cursor: pointer;
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity 0.25s ease, transform 0.25s ease,
              background-color 0.2s ease, color 0.2s ease,
              padding-left 0.2s ease;
  border-left: 3px solid transparent;
}

.formations-dropdown .dropdown-menu.show .formation-item {
  opacity: 1;
  transform: translateY(0);
}

.formations-menu .formation-item:hover {
  background-color: rgba(248, 238, 221, 0.15);
  color: rgb(253, 253, 253);
  border-left-color: rgb(255, 255, 255);
  padding-left: 1.5rem;
}

.formations-menu li:nth-child(1) .formation-item { transition-delay: 0.05s; }
.formations-menu li:nth-child(2) .formation-item { transition-delay: 0.1s; }
.formations-menu li:nth-child(3) .formation-item { transition-delay: 0.15s; }

.formations-dropdown .dropdown-toggle::after {
  transition: transform 0.3s ease;
}

.formations-dropdown .dropdown-toggle[aria-expanded="true"]::after {
  transform: rotate(180deg);
}

:root {
  --brand-dark: #2d2a6e;
  --brand-accent: #635bfc;
}

.navbar {
  transition: all 0.3s ease;
  padding: 20px 0;
  z-index: 1030;
  background-color: transparent;
}

.navbar.scrolled {
  background-color: #3063bb  !important;
  padding: 10px 0;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
  transition: all 0.3s ease;
}

.navbar .nav-link {
  color: #ffffff !important;
  transition: color 0.3s ease;
}

/* .navbar.scrolled .nav-link {
  color: var(--brand-dark) !important;
} */

/* .navbar.scrolled .nav-link:hover,
.navbar.scrolled .nav-link.active {
  color: var(--brand-accent) !important;
} */

.navbar .btn-lang {
  color: #fff;
  transition: color 0.3s ease;
}

/* .navbar.scrolled .btn-lang {
  color: var(--brand-dark);
} */


.hero-module {
  min-height: 100vh;
  padding-top: 100px;
}

.hero-module-title {
  font-size: 2rem;
  font-weight: 800;
  color: #ffffff;
  text-transform: uppercase;
  text-shadow: 3px 3px 12px rgba(0, 0, 0, 0.6);
}

.hero-module-text {
  font-size: 1.1rem;
  color: #e4e5ee;
  line-height: 1.8;
  text-align: justify;
  max-width: 720px;
  text-shadow: 1px 1px 6px rgba(0, 0, 0, 0.5);
}

@media (max-width: 768px) {
  .hero-module-title {
    font-size: 1.6rem;
  }
  .hero-module-text {
    text-align: left;
    font-size: 1rem;
  }
}

.custom-toggler .navbar-toggler-icon {
  transition: filter 0.3s ease;
}

.navbar.scrolled .custom-toggler .navbar-toggler-icon {
  filter: invert(1);
}

@media (max-width: 992px) {
  .formations-dropdown .dropdown-menu {
    left: 30%;
    top: 0%;
    margin-left: 0;
    margin-top: 10px;
    transform: translateY(10px);
  }
  .formations-dropdown .dropdown-menu.show {
    transform: translateY(0);
  }
}

.etablissements-section {
  /* background-color: #0d0f1f; */
}

.etablissement-card {
  background-color: #ffffff;
  border-radius: 16px;
  padding: 36px 30px;
  height: 100%;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.etablissement-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.3);
}

.etablissement-logo {
  max-width: 160px;
  max-height: 70px;
  object-fit: contain;
}

.etablissement-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #1e1b4b;
  line-height: 1.4;
  margin-bottom: 14px;
}

.etablissement-text {
  font-size: 0.92rem;
  color: #5a5d78;
  line-height: 1.7;
  margin-bottom: 24px;
  flex-grow: 1;
}

.btn-etablissement {
  background-color: #4a63e7;
  color: #ffffff;
  font-weight: 600;
  font-size: 0.9rem;
  border-radius: 30px;
  padding: 10px 28px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-etablissement:hover {
  background-color: #3850c9;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(74, 99, 231, 0.35);
}

.btn-more {
  background-color: #4963fa;
  color: #fff;
  border-radius: 25px 25px 25px 0px;
  padding: 12px 28px;
  font-weight: 600;
  border: none;
  box-shadow: 1px 3px 14px rgba(79, 70, 229, 0.4);
  display: inline-block;
  text-decoration: none;
  font-size: 1.3rem;
  transition: all 0.3s ease-in-out;
  z-index: 100;
}

.btn-more:hover {
  background-color: #4f46e5;
  transform: scale(1.05);
  text-shadow: 0px 10px 20px rgba(0, 0, 0, 0.3);
}

@media (max-width: 768px) {
  .etablissement-card {
    padding: 28px 22px;
  }
  .etablissement-title {
    font-size: 0.98rem;
  }
}




.partenariat-hero {
  min-height: 50vh;
  background: linear-gradient(rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.55)),
              url('/image/appartement.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  color: #ffffff;
  padding: 0px 0;
}

.partenariat-hero-title {
  font-size: 1.9rem;
  font-weight: 800;
  color: #ffffff;
}

.partenariat-photo-card {
  position: relative;
  min-height: 220px;
  border-radius: 14px;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: flex-end;
  transition: transform 0.8s ease, box-shadow 0.8s ease;
  /* transition: all 0.8s ease;  */
}

.partenariat-photo-card:hover {
  /*  transition: transform 0.8s ease, box-shadow 0.8s ease; */
  /* transition: all 0.8s ease; */
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);  
}

.partenariat-photo-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.25) 60%, rgba(0,0,0,0.1) 100%);
}

/* .partenariat-photo-card:hover .partenariat-photo-overlay{
  background: linear-gradient(0deg, rgba(74,99,231,0.75) 0%, rgba(0,0,0,0.3) 70%);
} */

.partenariat-photo-content {
  position: relative;
  z-index: 2;
  padding: 22px;
  color: #ffffff;
}

.partenariat-photo-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.partenariat-photo-text {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.85);
}

/* OPPORTUNITÉS */
.opportunites-section {
  background-color: #f2f3f7;;
}

.opportunites-title {
  font-size: 1.6rem;
  font-weight: 700;
  color: #2e4aff;
}

.opportunite-card {
  background-color: #ffffff;
  border: 1px solid rgba(126, 168, 255, 0.1);
  border-radius: 14px;
  padding: 30px 24px;
  height: 100%;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

.opportunite-card:hover {
  transform: translateY(-8px);
  border-color: rgba(126, 168, 255, 0.35);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.opportunite-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: #ffffff;
  margin-bottom: 18px;
  transition: transform 0.35s ease;
}

.opportunite-card:hover .opportunite-icon {
  transform: scale(1.1) rotate(-6deg);
}

.opp-blue   { background: linear-gradient(135deg, #4a63e7, #6f8bff); }
.opp-green  { background: linear-gradient(135deg, #0f9d6b, #2ecc71); }
.opp-purple { background: linear-gradient(135deg, #8b5cf6, #a78bfa); }
.opp-teal   { background: linear-gradient(135deg, #0d9488, #2dd4bf); }
.opp-indigo { background: linear-gradient(135deg, #3730a3, #6366f1); }
.opp-red    { background: linear-gradient(135deg, #dc2626, #f87171); }
.opp-pink   { background: linear-gradient(135deg, #db2777, #f472b6); }
.opp-orange { background: linear-gradient(135deg, #ea580c, #fb923c); }

.opportunite-title {
  font-size: 1.02rem;
  font-weight: 700;
  color: #1e1b4b;
  margin-bottom: 10px;
}

.opportunite-text {
  font-size: 0.86rem;
  color: #6b7280;
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}

.btn-opportunite {
  background-color: #4a63e7;
  color: #ffffff;
  font-weight: 600;
  font-size: 0.82rem;
  border-radius: 24px;
  padding: 8px 20px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-opportunite:hover {
  background-color: #3850c9;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(74, 99, 231, 0.35);
}

.partenariat-cta {
  /* min-height: 50vh; */
  background: linear-gradient(rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.55)),
              url('/image/appartement.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  color: #ffffff;
  padding: 0px 0;
}

.partenariat-cta-overlay {
  position: absolute;
  inset: 0;
}

.partenariat-cta-title {
  font-size: 1.6rem;
  font-weight: 800;
  color: #ffffff;
  max-width: 750px;
  margin: 0 auto;
}

.partenariat-cta-sub {
  font-size: 0.95rem;
  color: #8fd6b0;
  font-weight: 600;
}

@media (max-width: 768px) {
  .partenariat-hero-title { font-size: 1.4rem; }
  .opportunites-title { font-size: 1.3rem; }
  .partenariat-cta-title { font-size: 1.2rem; }
}

/* jjj */
/* Intro */
.academique-intro {
  background-color: #f2f3f7;
}

.academique-title {
  font-size: 1.7rem;
  font-weight: 800;
  color: #2e4aff;
}

.academique-subtitle {
  font-size: 0.98rem;
  color: #6b7280;
  line-height: 1.7;
  max-width: 750px;
}

.academique-photo-section {
  min-height: 50vh;
  background: linear-gradient(rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.55)),
              url('/image/appartement.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  color: #ffffff;
  padding: 0px 0;
}

.academique-photo-overlay {
  position: absolute;
  inset: 0;
  /* background: linear-gradient(180deg, rgba(10,12,28,0.55) 0%, rgba(10,12,28,0.72) 100%); */
}

.academique-photo-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: #ffffff;
  text-shadow: 1px 1px 8px rgba(0,0,0,0.4);
}

/* .academique-float-card {
  background-color: #ffffff;
  border-radius: 16px;
  padding: 30px 26px;
  height: 100%;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.3);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
} */

.academique-float-card {
  background-color: #ffffff;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.academique-float-card:hover {
  transform: translateY(-8px);
}

/* .academique-float-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 55px rgba(0, 0, 0, 0.4);
} */

/* .academique-float-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #2d3fae;
  margin-bottom: 12px;
} */

/* .academique-float-text {
  font-size: 0.88rem;
  color: #5a5d78;
  line-height: 1.6;
} */

.academique-float-icon {
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, #4a3fd1, #7a5fe0);
  color: #ffffff;
  font-size: 1.2rem;
}

/* Section titres communs */
.academique-section-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: #2e4aff;
}

/* Opportunités */
.academique-opp-section {
  background-color: #f2f3f7;
}

.academique-opp-card {
  background-color: #ffffff;
  border-radius: 16px;
  padding: 34px 28px;
  height: 100%;
  text-align: center;
  box-shadow: 0 10px 30px rgba(45, 63, 174, 0.08);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.academique-opp-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 45px rgba(45, 63, 174, 0.15);
}

.academique-opp-icon {
  width: 58px;
  height: 58px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: linear-gradient(135deg, #4a3fd1, #7a5fe0);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  box-shadow: 0 10px 22px rgba(74, 63, 209, 0.35);
  transition: transform 0.35s ease;
}

.academique-opp-card:hover .academique-opp-icon {
  transform: scale(1.1) rotate(-8deg);
}

.academique-opp-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #2d3fae;
  margin-bottom: 12px;
}

.academique-opp-text {
  font-size: 0.92rem;
  color: #6b7280;
  line-height: 1.65;
}

.academique-humain-section {
  background-color: #f2f3f7;
}

.academique-humain-item {
  background-color: #ffffff;
  border-radius: 14px;
  padding: 26px 18px;
  height: 100%;
  text-align: center;
  box-shadow: 0 8px 20px rgba(45, 63, 174, 0.06);
  transition: transform 0.3s ease;
}

.academique-humain-item:hover {
  transform: translateY(-5px);
}

.academique-humain-icon {
  width: 46px;
  height: 46px;
  margin: 0 auto 14px;
  border-radius: 12px;
  background-color: rgba(74, 63, 209, 0.1);
  color: #4a3fd1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.academique-humain-title {
  font-size: 0.88rem;
  font-weight: 700;
  color: #2d3fae;
  line-height: 1.4;
  margin-bottom: 0;
}

@media (max-width: 768px) {
  .academique-title { font-size: 1.3rem; }
  .academique-photo-title { font-size: 1.2rem; }
  .academique-float-card { padding: 24px 20px; }
}

/*  */
.academique-opp-card {
  padding-top: 44px;
}

.academique-opp-icon-corner {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background-color: rgba(74, 63, 209, 0.1);
  color: #4a3fd1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

.check-list-light {
  list-style: none;
  padding: 0;
  margin: 0;
}

.check-list-light li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.85rem;
  color: #5a5d78;
  line-height: 1.55;
  margin-bottom: 10px;
}

.check-list-light li:last-child {
  margin-bottom: 0;
}

.academique-opp-card {
  position: relative;
  padding: 32px 24px;
  background-color: #ffffff;
  border-radius: 12px;
  border: 1px solid #eef0f6;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  overflow: hidden;  
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.academique-opp-icon-corner {
  position: absolute;
  bottom: -10px;       
  right: -20px;        
  top: auto;           
  left: auto;          
  
  width: auto;
  height: auto;
  border-radius: 0;    
  background-color: transparent !important; 
  
  font-size: 8rem;     
  color: #4a3fd1;
  opacity: 0.30;       
  pointer-events: none; 
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1), opacity 0.4s ease;
}


.academique-opp-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(74, 63, 209, 0.08);
}

.academique-opp-card:hover .academique-opp-icon-corner {
  opacity: 0.15; 
  transform: scale(1.12) rotate(-10deg); 
}

.academique-opp-title {
  font-size: 1.15rem;
  font-weight: 600;
  color: #1e223c;
  margin-bottom: 16px;
  position: relative;
  z-index: 2; 
}

.check-list-light {
  list-style: none;
  padding: 0;
  margin: 0;
  position: relative;
  z-index: 2; 
}

.check-list-light li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.85rem;
  color: #5a5d78;
  line-height: 1.55;
  margin-bottom: 10px;
}

.check-list-light li:last-child {
  margin-bottom: 0;
}

.check-list-light li i {
  color: #4a63e7;
  margin-top: 3px;
  flex-shrink: 0;
  font-size: 0.82rem;
}

.academique-impact-card {
  background-color: #ffffff;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.academique-impact-card:hover {
  transform: translateY(-8px);
}

.academique-impact-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, #4a3fd1, #7a5fe0);
  color: #ffffff;
  font-size: 1.3rem;
  box-shadow: 0 10px 22px rgba(74, 63, 209, 0.3);
  transition: transform 0.35s ease;
}

.academique-impact-card:hover .academique-impact-icon {
  transform: scale(1.1) rotate(-8deg);
}

.academique-conclusion-box {
  max-width: 850px;
  background-color: #c4fcdf;
}

@media (max-width: 768px) {
  .academique-conclusion-box {
    max-width: 100%;
  }
}

.culturel-row > div h4 {
  border-left: 3px solid #b91c1c;
  padding-left: 14px;
}

.culturel-check-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.culturel-check-list li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.86rem;
  color: #5a5d78;
  line-height: 1.6;
  margin-bottom: 10px;
}

.culturel-check-list li:last-child {
  margin-bottom: 0;
}

.culturel-check-list li i {
  color: #16a34a;
  margin-top: 3px;
  flex-shrink: 0;
  font-size: 0.82rem;
}

.contact-dark-section {
  background: radial-gradient(ellipse at top, #141730 0%, #05060f 75%);
}

.contact-dark-card {
  max-width: 820px;
  background: linear-gradient(145deg, #11142a, #0a0c1c);
  border: 1px solid rgba(126, 168, 255, 0.12);
}

.contact-dark-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #2ecc71;
  box-shadow: 0 0 10px #2ecc71;
  animation: pulseDot 1.8s infinite;
}

@keyframes pulseDot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}

select .input-dark {
  color: #c7c9db;
  cursor: pointer;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%237ea8ff' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

select .input-dark:focus {
  border-color: #4a63e7;
  background-color: #1c2042;
  box-shadow: 0 0 0 4px rgba(74, 99, 231, 0.18);
}

select.input-dark {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%237ea8ff' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
}

.contact-dark-label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #7ea8ff;
}

.form-label-dark {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: #c7c9db;
  margin-bottom: 6px;
}

.input-dark {
  background-color: #181b36;
  border: 1.5px solid #272b4d;
  color: #ffffff;
  font-size: 0.92rem;
  padding: 12px 16px;
  border-radius: 10px;
}

.input-dark::placeholder {
  color: #5c5f78;
}

.input-dark:focus {
  background-color: #1c2042;
  border-color: #4a63e7;
  box-shadow: 0 0 0 4px rgba(74, 99, 231, 0.18);
  color: #ffffff;
}

select.input-dark {
  color: #c7c9db;
}

/* .consentement-box {
  background-color: #181b36;
  border: 1px solid #272b4d;
} */

.consentement-text {
  font-size: 0.82rem;
  color: #a9abc2;
  line-height: 1.5;
}

.form-check-input {
  background-color: #0e1026;
  border-color: #3a3e63;
}

.form-check-input:checked {
  background-color: #4a63e7;
  border-color: #4a63e7;
}

.form-check-input:focus {
  box-shadow: 0 0 0 3px rgba(74, 99, 231, 0.25);
}

.btn-contact-dark-submit {
  background: linear-gradient(135deg, #4a63e7, #6f8bff);
  color: #ffffff;
  font-weight: 700;
  font-size: 1rem;
  border: none;
  border-radius: 12px;
  padding: 15px;
  transition: all 0.3s ease;
}

.btn-contact-dark-submit i {
  transition: transform 0.3s ease;
}

.btn-contact-dark-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(74, 99, 231, 0.45);
}

.btn-contact-dark-submit:hover i {
  transform: translateX(5px);
}

@media (max-width: 768px) {
  .contact-dark-card {
    padding: 28px 22px !important;
  }
}

.detail-opportunite {
  animation: fadeInDetail 0.5s ease;
}

@keyframes fadeInDetail {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}



#contact-form .form-control:focus,
#contact-form .form-control:focus ~ .input-group-text,
#contact-form .input-group:focus-within .input-group-text {
  border-color: #4a63e7;
  box-shadow: 0 0 0 3px rgba(74, 99, 231, .2);
}
#contact-form .form-control::placeholder {
  color: #6b7280;
}

.footer-heading {
  border-bottom: 2px solid #4a63e7;
  width: fit-content;
}

.footer-link {
  color: #b8bacc;
  transition: color 0.2s ease;
}

.footer-link:hover {
  color: #4a63e7;
}

.footer-social-icon {
  width: 33px;
  height: 33px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #b8bacc;
  font-size: 0.95rem;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.footer-social-icon:hover,
a:hover .footer-social-icon {
  border-color: #4a63e7;
  background-color: #4a63e7;
  color: #ffffff;
  transform: translateY(-3px);
}

.back-to-top-btn {
  position: fixed;
  bottom: 25px;
  right: 25px;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background-color: #4a63e7;
  color: #ffffff;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(74, 99, 231, 0.4);
  opacity: 0;
  visibility: hidden;
  transform: translateY(15px);
  transition: all 0.3s ease;
  z-index: 999;
}

.back-to-top-btn.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top-btn:hover {
  background-color: #3850c9;
  transform: translateY(-4px);
  box-shadow: 0 12px 25px rgba(74, 99, 231, 0.5);
}

@media (max-width: 576px) {
  .back-to-top-btn {
    bottom: 15px;
    right: 15px;
    width: 42px;
    height: 42px;
  }
}

.diag-in-left,
.diag-in-right {
  opacity: 0;
  transition: opacity 0.9s ease, transform 0.9s cubic-bezier(0.25, 1, 0.5, 1);
}

.diag-in-left {
  transform: translate(-50px, 50px);
}

.diag-in-right {
  transform: translate(50px, 50px);
}

.diag-in-left.active,
.diag-in-right.active {
  opacity: 1;
  transform: translate(0, 0);
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.contact-status {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  border-radius: 10px;
  padding: 12px 16px;
  font-size: 0.88rem;
  line-height: 1.5;
  animation: statusIn 0.3s ease;
}

.contact-status[hidden] {
  display: none;
}

.contact-status i {
  margin-top: 3px;
  flex-shrink: 0;
}

.contact-status ul {
  margin: 0;
  padding-left: 1.1rem;
}

.contact-status.error {
  background-color: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.4);
  color: #fca5a5;
}

.contact-status.success {
  background-color: rgba(46, 204, 113, 0.12);
  border: 1px solid rgba(46, 204, 113, 0.4);
  color: #86efac;
}

@keyframes statusIn {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}

.input-dark.is-invalid {
  border-color: #ef4444;
  box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.15);
  background-image: none;  
}

select.input-dark.is-invalid {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%237ea8ff' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
}

.form-check-input.is-invalid {
  border-color: #ef4444;
}

.consentement-box:has(.is-invalid) {
  border-color: rgba(239, 68, 68, 0.5);
}