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);
}

.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;
}

.btn-more:hover {
  background-color: #4f46e5;
  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);
} */

.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);
  }
}

/* .hero-formation {
  min-height: 70vh;
  display: flex;
  align-items: center;
  background: linear-gradient(rgba(5, 6, 15, 0.65), rgba(5, 6, 15, 0.75)),
              url('/image/cfp.jpg') center/cover no-repeat;
} */

.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;
  }
}

.points-section {
  background-color: #0d0f1f;
}

.points-module-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: #7ea8ff;
  text-transform: uppercase;
}

.duration-box {
  background-color: #14172b;
  border-radius: 10px;
  padding: 16px 24px;
  text-align: center;
  max-width: 500px;
  font-size: 1rem;
}

.points-heading {
  font-size: 1.2rem;
  font-weight: 700;
  color: #ffffff;
}

.point-card {
  background-color: #14172b;
  border-radius: 12px;
  padding: 28px 30px;
  height: 100%;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.point-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.25);
}

.point-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #7ea8ff;
  margin-bottom: 12px;
}

.point-text {
  font-size: 0.92rem;
  color: #d5d6e2;
  line-height: 1.7;
  margin-bottom: 0;
}

@media (max-width: 768px) {
  .points-module-title {
    font-size: 1.15rem;
  }
}

.check-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.92rem;
  color: #d5d6e2;
  line-height: 1.6;
  margin-bottom: 14px;
}

.check-list li:last-child {
  margin-bottom: 0;
}

.check-list li i {
  color: #2ecc71;
  margin-top: 4px;
  flex-shrink: 0;
}

.conclusion-module-box {
  background-color: #14172b;
  border-radius: 14px;
  padding: 32px 36px;
}

.conclusion-module-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 14px;
}

.conclusion-module-text {
  font-size: 0.98rem;
  color: #c4c6da;
  line-height: 1.7;
}

@media (max-width: 768px) {
  .conclusion-module-box {
    padding: 24px 22px;
  }
}



#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);
}

