html, body {
  overflow-x: hidden;
  max-width: 100%;
}

.hero-section {
  position: relative;
  min-height: 100vh;
  color: #ffffff;
  overflow: hidden;
  background:linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('/image/tranokely.jpg') center/cover no-repeat;
}

.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;
} */

.min-vh-hero {
  min-height: 50vh;
}

.hero-formation-title {
  font-size: 1.7rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.35;
  text-transform: uppercase;
  text-shadow: 3px 3px 12px rgba(0, 0, 0, 0.6);
  max-width: 900px;
  margin: 0 auto;
  margin-top: 200px;
}

@media (max-width: 768px) {
  .hero-formation-title {
    font-size: 1.5rem;
  }
  .hero-formation {
    min-height: 60vh;
  }
}



.tv-reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.8s ease var(--d, 0s), transform 0.8s cubic-bezier(0.25, 1, 0.5, 1) var(--d, 0s);
}
.tv-reveal.visible {
  opacity: 1;
  transform: translateY(0);
}


.tv-hero {
  background: linear-gradient(135deg, #07123a 0%, #0b1d5c 60%, #11307f 100%);
  padding: 130px 0 170px;  
}

.tv-hero-shape {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, transparent 45%, rgba(74, 99, 231, 0.28) 46%, rgba(74, 99, 231, 0.28) 54%, transparent 55%),
    linear-gradient(45deg, transparent 62%, rgba(126, 168, 255, 0.18) 63%, transparent 65%),
    radial-gradient(circle at 85% 20%, rgba(212, 175, 55, 0.16), transparent 45%);
  animation: tvDrift 14s ease-in-out infinite alternate;
}

@keyframes tvDrift {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to   { transform: translate3d(-2%, 3%, 0) scale(1.06); }
}

.tv-title {
  font-size: 2.3rem;
  font-weight: 800;
  line-height: 1.25;
}

.tv-divider {
  width: 70px;
  height: 3px;
  border-radius: 3px;
  background: linear-gradient(90deg, #d4af37, #f0d078);
}

.tv-text {
  font-size: 1rem;
  line-height: 1.85;
  color: #c7c9db;
}

.tv-text-accent {
  color: #ffffff;
  font-weight: 500;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.tv-poles {
  background: #f6f7fb;
}
.tv-poles .container {
  margin-top: -110px;
  position: relative;
  z-index: 3;
}

.tv-card {
  background: #fff;
  overflow: hidden;
  box-shadow: 0 14px 36px rgba(7, 18, 58, 0.14);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.tv-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 26px 55px rgba(45, 63, 174, 0.25);
}

.tv-card-img {
  position: relative;
  height: 210px;
  overflow: hidden;
}
.tv-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}
.tv-card:hover .tv-card-img img {
  transform: scale(1.1);
}
.tv-card-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(7, 18, 58, 0.5), transparent 55%);
}

.tv-card-body {
  position: relative;
}
.tv-card-body::before {
  content: '';
  position: absolute;
  top: 0;
  left: 1.5rem;
  width: 40px;
  height: 3px;
  background: #4a63e7;
  transition: width 0.4s ease;
}
.tv-card:hover .tv-card-body::before {
  width: calc(100% - 3rem);
}

.tv-card-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #1e1b4b;
  margin-bottom: 10px;
}
.tv-card-text {
  font-size: 0.9rem;
  color: #6b7280;
  line-height: 1.65;
}

@media (max-width: 768px) {
  .tv-hero { padding: 110px 0 140px; }
  .tv-title { font-size: 1.6rem; }
  .tv-poles .container { margin-top: -90px; }
}

@media (prefers-reduced-motion: reduce) {
  .tv-reveal { opacity: 1; transform: none; transition: none; }
  .tv-hero-shape { animation: none; }
}

/* Bandeau titre */
.tv-banner {
  background-size: cover;
  background-position: center;
}
.tv-banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 18, 58, 0.78), rgba(7, 18, 58, 0.88));
}
.tv-banner-title {
  max-width: 720px;
  font-size: 1.9rem;
  font-weight: 800;
  line-height: 1.3;
}

.tv-why {
  background: #f6f7fb;
}

.tv-why-img {
  height: 280px;
  object-fit: cover;
  box-shadow: 0 14px 36px rgba(7, 18, 58, 0.15);
  transition: transform 0.5s ease, box-shadow 0.5s ease;
}
.tv-why-row:hover .tv-why-img {
  transform: scale(1.02);
  box-shadow: 0 22px 48px rgba(45, 63, 174, 0.22);
}

.tv-why-text {
  position: relative;
  padding: 6px 28px;
}
.tv-why-text::before {
  content: '';
  position: absolute;
  top: 0;
  height: 100%;
  width: 3px;
  border-radius: 3px;
  background: #e5484d;
  transform: scaleY(0.4);
  transform-origin: center;
  transition: transform 0.6s ease 0.3s;
}
.tv-bar-right::before { right: 0; }
.tv-bar-left::before  { left: 0; }

/* Le trait se déploie quand le bloc apparaît */
.tv-why-row.visible .tv-why-text::before {
  transform: scaleY(1);
}

.tv-why-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: #2d3fae;
  margin-bottom: 14px;
}

.tv-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.tv-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.88rem;
  line-height: 1.65;
  color: #4a4d66;
  margin-bottom: 10px;
}
.tv-list li:last-child { margin-bottom: 0; }
.tv-list li i {
  color: #16a34a;
  margin-top: 4px;
  flex-shrink: 0;
  font-size: 0.82rem;
}

@media (max-width: 768px) {
  .tv-banner-title { font-size: 1.4rem; }
  .tv-why-img { height: 220px; }
  .tv-why-text { padding: 6px 0 6px 18px; }
  .tv-bar-right::before { right: auto; left: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .tv-why-text::before { transform: none; transition: none; }
  .tv-why-img { transition: none; }
}

.tv-pillar-head { background: #f6f7fb; }
.tv-pillar-title {
  max-width: 700px;
  font-size: 1.9rem;
  font-weight: 800;
  line-height: 1.3;
  color: #e5484d;
}

.tv-block-title {
  font-size: 1.3rem;
  font-weight: 800;
}
.tv-block-title-dark { color: #1e1b4b; }

.tv-infra {
  background-size: cover;
  background-position: center;
}
.tv-infra-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 18, 58, 0.78), rgba(7, 18, 58, 0.55));
}

.tv-white-card {
  position: relative;
  background: #fff;
  padding: 44px 24px 26px;
  margin-top: 22px;                      
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.25);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.tv-white-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.35);
}

.tv-icon {
  position: absolute;
  top: -22px;
  left: 50%;
  width: 46px;
  height: 46px;
  transform: translateX(-50%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.1rem;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.25);
  transition: transform 0.35s ease;
}
.tv-white-card:hover .tv-icon { transform: translateX(-50%) scale(1.12) rotate(-6deg); }
.tv-icon-blue  { background: linear-gradient(135deg, #2f6bff, #4a8bff); }
.tv-icon-green { background: linear-gradient(135deg, #0f9d6b, #2ecc71); }
.tv-icon-red   { background: linear-gradient(135deg, #dc2626, #f87171); }

.tv-white-title {
  font-size: 1rem;
  font-weight: 700;
  color: #1e1b4b;
  margin-bottom: 10px;
}
.tv-white-text {
  font-size: 0.85rem;
  line-height: 1.6;
  color: #5a5d78;
}

.tv-incub { background: #f6f7fb; }

.tv-color-card {
  display: flex;
  flex-direction: column;
  padding: 24px 22px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.tv-color-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.18);
}
.tv-color-blue  { background: #a6bff5; }
.tv-color-green { background: #9ccdb8; }
.tv-color-red   { background: #f0a6a8; }

.tv-color-title {
  font-size: 1rem;
  font-weight: 800;
  color: #1e1b4b;
  text-align: center;
  margin-bottom: 10px;
}
.tv-color-text {
  font-size: 0.85rem;
  line-height: 1.6;
  color: #33364f;
  text-align: center;
  margin-bottom: 18px;
  flex-grow: 1;                         
}
.tv-color-img {
  height: 200px;
  overflow: hidden;
  border-radius: 8px;
}
.tv-color-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.tv-color-card:hover .tv-color-img img { transform: scale(1.08); }

.tv-heberg { background: #f6f7fb; }

@media (max-width: 768px) {
  .tv-pillar-title { font-size: 1.45rem; }
  .tv-block-title { font-size: 1.1rem; }
}

@media (prefers-reduced-motion: reduce) {
  .tv-white-card, .tv-color-card, .tv-icon, .tv-color-img img { transition: none; }
}

.tv-talents {
  background-size: cover;
  background-position: center;
}
.tv-talents-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 18, 58, 0.55), rgba(7, 18, 58, 0.7));
}

.tv-violet-card {
  display: flex;
  flex-direction: column;
  padding: 26px 24px;
  background: linear-gradient(135deg, #5b6cf0 0%, #7c3aed 100%);
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.35);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.tv-violet-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 26px 55px rgba(0, 0, 0, 0.45);
}

.tv-violet-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 10px;
}
.tv-violet-text {
  font-size: 0.88rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 20px;
  flex-grow: 1;  
}

.tv-violet-card .tv-color-img { height: 220px; }
.tv-violet-card:hover .tv-color-img img { transform: scale(1.08); }

@media (prefers-reduced-motion: reduce) {
  .tv-violet-card { transition: none; }
}

.tv-title-red { color: #e5484d; font-weight: 800; font-size: 1.9rem; }

/* 6. Recherche */
.tv-research, .tv-resto, .tv-stats { background-size: cover; background-position: center; }
.tv-research-overlay, .tv-resto-overlay, .tv-stats-overlay {
  position: absolute; inset: 0; background: rgba(7, 18, 58, 0.72);
}
.tv-resto-overlay  { background: rgba(7, 18, 58, 0.6); }
.tv-stats-overlay  { background: rgba(7, 18, 58, 0.62); }

.tv-sub-icon {
  width: 52px; height: 52px; margin: 0 auto 12px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 1.15rem;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(4px);
}
.tv-sub-title { font-size: 1.25rem; font-weight: 800; color: #fff; }

.tv-list-card {
  background: #fff; padding: 20px 22px;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.3);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.tv-list-card:hover { transform: translateY(-6px); box-shadow: 0 22px 46px rgba(0, 0, 0, 0.4); }
.tv-list-card h5 { font-size: 0.95rem; font-weight: 700; color: #3b4ce0; text-align: center; margin-bottom: 12px; }
.tv-dots { margin: 0; padding-left: 1.1rem; font-size: 0.84rem; line-height: 1.6; color: #4a4d66; }
.tv-dots li::marker { color: #3b4ce0; }
.tv-dots li + li { margin-top: 6px; }

/* 7. Santé : 4e carte blanche */
.tv-color-white { background: #fff; }

.tv-sub-light {
  text-align: center; font-size: 1.05rem; font-weight: 800; color: #9dc0ff;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}
.tv-mini-card {
  background: #fff; padding: 20px 18px; text-align: center;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
  transition: transform 0.35s ease;
}
.tv-mini-card:hover { transform: translateY(-6px); }
.tv-mini-card i { font-size: 1.5rem; margin-bottom: 8px; }
.tv-mini-card h5 { font-size: 0.92rem; font-weight: 800; color: #1e1b4b; margin-bottom: 6px; }
.tv-mini-card p { font-size: 0.82rem; color: #5a5d78; line-height: 1.55; margin: 0; }

.tv-eco { background: #f6f7fb; }
.tv-blue-title { color: #2d3fae; }
.tv-eco-intro { max-width: 720px; font-size: 0.92rem; line-height: 1.7; color: #4a4d66; }
.tv-eco-title { font-size: 1.1rem; font-weight: 800; color: #1e1b4b; margin-bottom: 12px; }
.tv-eco-text { font-size: 0.9rem; line-height: 1.75; color: #4a4d66; }

.tv-icon-orange { background: linear-gradient(135deg, #ea580c, #fb923c); }
.tv-icon-purple { background: linear-gradient(135deg, #7c3aed, #a78bfa); }

.tv-invite { background: linear-gradient(135deg, #07123a 0%, #0b2a7a 60%, #11307f 100%); }
.tv-invite-title { max-width: 760px; font-size: 1.9rem; font-weight: 800; line-height: 1.3; }
.tv-invite-text { max-width: 760px; font-size: 0.95rem; line-height: 1.8; color: #dfe3f5; }

.tv-points { background: #f6f7fb; }
.tv-point {
  position: relative; min-height: 170px; padding: 20px; overflow: hidden;
  background-size: cover; background-position: center; color: #fff;
  box-shadow: 0 12px 30px rgba(7, 18, 58, 0.2);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.tv-point::before { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7, 18, 58, 0.6), rgba(7, 18, 58, 0.85)); }
.tv-point:hover { transform: translateY(-8px); box-shadow: 0 22px 46px rgba(7, 18, 58, 0.35); }
.tv-point > * { position: relative; }
.tv-point-badge {
  display: inline-block; margin-bottom: 10px; padding: 4px 14px; border-radius: 20px;
  background: #4a63e7; font-size: 0.78rem; font-weight: 800; letter-spacing: 1px;
}
.tv-point p { margin: 0; font-size: 0.95rem; line-height: 1.6; }

.tv-form-head { background: linear-gradient(90deg, #2f6bff 0%, #9b5cf6 55%, #5b4df0 100%); }
.tv-form-title { max-width: 720px; font-size: 1.6rem; font-weight: 800; line-height: 1.3; }

@media (max-width: 768px) {
  .tv-title-red { font-size: 1.45rem; }
  .tv-invite-title { font-size: 1.45rem; }
  .tv-form-title { font-size: 1.3rem; }
}

@media (prefers-reduced-motion: reduce) {
  .tv-list-card, .tv-mini-card, .tv-point { transition: none; }
}

.tv-form-section { background: #f6f7fb; }

.tv-form-card {
  max-width: 820px;
  background: linear-gradient(145deg, #11142a, #0a0c1c);
  border: 1px solid rgba(126, 168, 255, 0.12);
}

.tv-fieldset {
  min-width: 0;
  border: 1px solid #272b4d;
  border-radius: 12px;
  padding: 22px 24px 20px;
  margin-bottom: 22px;
}
.tv-fieldset legend {
  float: none;        
  width: auto;
  margin: 0;
  padding: 0 10px;
  font-size: 0.95rem;
  font-weight: 700;
  color: #ffffff;
}

.tv-req { color: #f87171; }

.tv-question {
  font-size: 0.85rem;
  font-weight: 600;
  color: #c7c9db;
  margin-bottom: 10px;
}
.tv-check-label {
  font-size: 0.88rem;
  color: #a9abc2;
  cursor: pointer;
}
.tv-checks .form-check { margin-bottom: 8px; }

.tv-form-note {
  font-size: 0.85rem;
  line-height: 1.65;
  color: #a9abc2;
  margin: 4px 0 20px;
}

@media (max-width: 768px) {
  .tv-fieldset { padding: 18px 16px 16px; }
}




#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);
}


.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.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); }
}

.tv-form-section {
    background: linear-gradient(90deg, rgb(47, 107, 255) 0%, rgb(155, 92, 246) 55%, rgb(91, 77, 240) 100%);
}

.tv-form-card {
  max-width: 820px;
  background: linear-gradient(145deg, #11142a, #0a0c1c);
  border: 1px solid rgba(126, 168, 255, 0.12);
}

.tv-fieldset {
  min-width: 0;
  border: 1px solid #272b4d;
  border-radius: 12px;
  padding: 22px 24px 20px;
  margin-bottom: 22px;
}

.tv-fieldset legend {
  float: none;            
  width: auto;
  margin: 0;
  padding: 0 10px;
  font-size: 0.95rem;
  font-weight: 700;
  color: #ffffff;
}

.tv-req {
  color: #f87171;         
}

.form-label-dark {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: #c7c9db;
  margin-bottom: 6px;
}

.tv-question {
  font-size: 0.85rem;
  font-weight: 600;
  color: #c7c9db;
  margin-bottom: 10px;
}

.tv-checks .form-check {
  margin-bottom: 8px;
}

.tv-check-label {
  font-size: 0.88rem;
  color: #a9abc2;
  cursor: pointer;
}

.form-check-input {
  background-color: #0e1026;
  border-color: #3a3e63;
  cursor: pointer;
}

.form-check-input:checked {
  background-color: #4a63e7;
  border-color: #4a63e7;
}

.form-check-input:focus {
  border-color: #4a63e7;
  box-shadow: 0 0 0 3px rgba(74, 99, 231, 0.25);
}

.tv-form-note {
  font-size: 0.85rem;
  line-height: 1.65;
  color: #a9abc2;
  margin: 4px 0 20px;
}

.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;
}

.input-dark.is-invalid {
  border-color: #ef4444;
  box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.15);
  background-image: none;   
}

.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);
}

.btn-contact-dark-submit:disabled {
  opacity: 0.65;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.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); }
}

.iti {
  width: 100%;
}

.iti__selected-country {
  border-radius: 10px 0 0 10px;
}

.iti__selected-dial-code {
  color: #c7c9db;
  font-size: 0.92rem;
}

.iti__selected-country:hover,
.iti__selected-country:focus-visible {
  background-color: rgba(255, 255, 255, 0.06);
}

.iti__arrow {
  border-top-color: #7ea8ff;
}

.iti__arrow--up {
  border-bottom-color: #7ea8ff;
}

.iti__dropdown-content {
  background-color: #11142a;
  border: 1px solid #272b4d;
  border-radius: 10px;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.4);
}

.iti__search-input {
  background-color: #181b36;
  border-bottom: 1px solid #272b4d;
  color: #ffffff;
}

.iti__search-input::placeholder {
  color: #5c5f78;
}

.iti__country {
  color: #c7c9db;
}

.iti__country.iti__highlight {
  background-color: rgba(74, 99, 231, 0.18);
}

.iti__dial-code {
  color: #7ea8ff;
}

.iti__divider {
  border-bottom-color: #272b4d;
}

.iti--container {
  z-index: 2000;
}

@media (max-width: 768px) {
  .tv-fieldset {
    padding: 18px 16px 16px;
  }

  .tv-form-card {
    padding: 28px 18px !important;
  }
}

.iti {
    width: 100%;
    display: block;
    position: relative;
}

.iti input.input-dark,
.iti input[type="tel"] {
    width: 100%;
    min-height: 48px;
    padding: 12px 14px 12px 78px !important;

    color: #ffffff;
    background: #181b36;
    border: 1px solid #272b4d;
    border-radius: 10px;

    font-size: 0.92rem;
    line-height: 1.5;
    outline: none;

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        background-color 0.2s ease;
}

.iti input.input-dark::placeholder,
.iti input[type="tel"]::placeholder {
    color: #626987;
    opacity: 1;
}

.iti input.input-dark:focus,
.iti input[type="tel"]:focus {
    background: #181b36;
    border-color: #4a63e7;
    box-shadow: 0 0 0 3px rgba(74, 99, 231, 0.16);
    color: #ffffff;
}

.iti .iti__country-container {
    left: 0;
}

.iti .iti__selected-country {
    height: 100%;
    padding: 0 10px;
    border-radius: 9px 0 0 9px;
    background: transparent;
    transition: background-color 0.2s ease;
}

.iti .iti__selected-country:hover {
    background: rgba(126, 168, 255, 0.08);
}

.iti .iti__selected-country:focus-visible {
    outline: 2px solid #4a63e7;
    outline-offset: -3px;
}

.iti .iti__selected-country-primary {
    display: flex;
    align-items: center;
    gap: 7px;
    background: transparent;
}

.iti .iti__arrow {
    border-top-color: #7ea8ff;
    margin-left: 6px;
}

.iti .iti__arrow--up {
    border-bottom-color: #7ea8ff;
}

.iti .iti__dropdown-content {
    margin-top: 7px;
    background: #11142a;
    border: 1px solid #272b4d;
    border-radius: 12px;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.45);
    overflow: hidden;
    z-index: 2000;
}

.iti .iti__search-input {
    width: 100%;
    padding: 12px 14px;
    color: #ffffff;
    background: #181b36;
    border: 0;
    border-bottom: 1px solid #272b4d;
    font-size: 0.9rem;
    outline: none;
}

.iti .iti__search-input::placeholder {
    color: #777f9e;
}

.iti .iti__search-input:focus {
    background: #1c2042;
    border-bottom-color: #4a63e7;
}

.iti .iti__country-list {
    max-height: 260px;
    padding: 6px;
    margin: 0;
    background: #11142a;
    scrollbar-width: thin;
    scrollbar-color: #343957 #11142a;
}

.iti .iti__country {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 8px;
    color: #c7c9db;
    font-size: 0.88rem;
    transition:
        background-color 0.15s ease,
        color 0.15s ease;
}

.iti .iti__country:hover,
.iti .iti__country.iti__highlight {
    background: rgba(74, 99, 231, 0.18);
    color: #ffffff;
}

.iti .iti__country-name {
    flex: 1;
    margin-right: 8px;
}

.iti .iti__dial-code {
    color: #7ea8ff;
    font-weight: 600;
}

.iti .iti__divider {
    border-bottom: 1px solid #272b4d;
    margin: 6px 0;
}

.iti .iti__country-list::-webkit-scrollbar {
    width: 6px;
}

.iti .iti__country-list::-webkit-scrollbar-track {
    background: #11142a;
}

.iti .iti__country-list::-webkit-scrollbar-thumb {
    background: #343957;
    border-radius: 10px;
}

.iti .iti__a11y-text {
    position: absolute !important;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
}

.iti input.is-invalid {
    border-color: #ff5d73 !important;
    box-shadow: 0 0 0 3px rgba(255, 93, 115, 0.12);
}

.iti--container {
    z-index: 2000;
}

@media (max-width: 576px) {
    .iti .iti__country-list {
        max-height: 220px;
    }
}
