html, body {
  overflow-x: hidden;
  max-width: 100%;
}

.stage-section {
  background: linear-gradient(135deg, #07123a 0%, #0b1d5c 55%, #11307f 100%);
}

.stage-bg-glow {
  position: absolute;
  top: -30%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.18) 0%, transparent 70%);
  pointer-events: none;
}

.stage-badge {
  background-color: rgba(212, 175, 55, 0.15);
  color: #e8c766;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 7px 18px;
  border-radius: 20px;
  border: 1px solid rgba(212, 175, 55, 0.35);
}

.stage-title {
  font-size: 4rem;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
}

.stage-gold {
  color: #d4af37;
}

.stage-ribbon {
  font-size: 1.8rem;
  font-weight: 800;
  color: #ffffff;
  background-color: #0a1a4d;
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 8px 26px 8px 18px;
  clip-path: polygon(0 0, 100% 0, calc(100% - 16px) 50%, 100% 100%, 0 100%);
}

.stage-subtitle {
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #c7c9db;
}

.stage-feature {
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(212, 175, 55, 0.2);
  transition: transform 0.3s ease, background-color 0.3s ease, border-color 0.3s ease;
}

.stage-feature:hover {
  transform: translateX(8px);
  background-color: rgba(255, 255, 255, 0.09);
  border-color: rgba(212, 175, 55, 0.55);
}

.stage-feature-icon {
  width: 46px;
  height: 46px;
  background-color: rgba(212, 175, 55, 0.12);
  border: 1.5px solid #d4af37;
  color: #d4af37;
  font-size: 1.1rem;
}

.stage-feature-title {
  font-size: 0.95rem;
  font-weight: 800;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.btn-stage {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: linear-gradient(135deg, #d4af37, #f0d078);
  color: #0a1a4d;
  font-weight: 800;
  font-size: 1rem;
  border-radius: 30px;
  padding: 14px 34px;
  text-decoration: none;
  animation: stagePulse 2.2s infinite;
  transition: transform 0.25s ease;
}

.btn-stage i {
  transition: transform 0.25s ease;
}

.btn-stage:hover {
  color: #0a1a4d;
  transform: translateY(-3px) scale(1.03);
  animation-play-state: paused;
}

.btn-stage:hover i {
  transform: translateX(5px);
}

@keyframes stagePulse {
  0%   { box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.55); }
  70%  { box-shadow: 0 0 0 16px rgba(212, 175, 55, 0); }
  100% { box-shadow: 0 0 0 0 rgba(212, 175, 55, 0); }
}

.stage-slogan {
  font-style: italic;
  color: #9db4ff;
  font-size: 0.95rem;
}

/* Visuel */
.stage-visual {
  max-width: 520px;
}

.stage-visual img {
  aspect-ratio: 4 / 4.4;
  object-fit: cover;
}

.stage-pin {
  position: absolute;
  top: -18px;
  left: -18px;
  width: 78px;
  height: 78px;
  background-color: #ffffff;
  border: 5px solid #0b2a7a;
  color: #0b2a7a;
  font-size: 1.8rem;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.4);
  animation: stageFloat 3.2s ease-in-out infinite;
}

.stage-float-card {
  position: absolute;
  bottom: 22px;
  left: -22px;
  background-color: #ffffff;
  color: #0a1a4d;
  font-weight: 700;
  font-size: 0.85rem;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.35);
  animation: stageFloat 3.8s ease-in-out infinite reverse;
}

.stage-float-card i {
  color: #16a34a;
}

@keyframes stageFloat {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-8px); }
}

@media (max-width: 991.98px) {
  .stage-title { font-size: 3rem; }
}

@media (max-width: 576px) {
  .stage-title { font-size: 2.4rem; }
  .stage-ribbon { font-size: 1.3rem; }
  .stage-pin { left: -6px; top: -12px; width: 62px; height: 62px; font-size: 1.4rem; }
  .stage-float-card { left: 8px; font-size: 0.78rem; }
}

.stage-section {
  min-height: 640px;
  background-color: #07123a;
}

/* La photo en fond, collée à droite, avec un fondu vers la gauche */
.stage-section::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 55%;
  height: 100%;
  background: url('/image/stage.png') right center / cover no-repeat;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 45%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 45%);
  z-index: 0;
}

/* Halo or discret */
.stage-section::after {
  content: '';
  position: absolute;
  top: -30%;
  left: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.15) 0%, transparent 70%);
  pointer-events: none;
  z-index: 1;
}

@media (max-width: 991.98px) {
  .stage-title { font-size: 3rem; }

  /* Sur tablette et mobile : photo derrière tout le contenu, assombrie */
  .stage-section::before {
    width: 100%;
    opacity: 0.28;
    -webkit-mask-image: none;
    mask-image: none;
    background-position: center top;
  }
}

.hero-section {
  position: relative;
  min-height: 100vh;
  color: #ffffff;
  overflow: hidden;
  background: url('/image/accueil.png') 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;m
  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);
  }
}

.apropos-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;
}

.apropos-title {
  font-size: 3.3rem;
  font-weight: 700;
  margin-bottom: 25px;
  text-shadow: 3px 3px 10px rgba(0, 0, 0, 0.5);
}

.apropos-subtitle {
  font-size: 1.7rem;
  font-weight: 400;
  max-width: 850px;
  margin: 0 auto;
  opacity: 0.95;
  line-height: 1.5;
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 768px) {
  .apropos-title {
    font-size: 2rem;
  }
  .apropos-subtitle {
    font-size: 1.1rem;
  }
}

.offres-section {
  background-color: #f2f3f7;
}

.offres-title {
  font-size: 2.3rem;
  font-weight: 700;
  color: #1e1b4b;
}

.offre-card {
  background-color: #ffffff;
  border-radius: 16px;
  padding: 40px 30px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.offre-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

.offre-icon {
  font-size: 2.8rem;
  margin-bottom: 20px;
}

.offre-card-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: #1e1b4b;
  margin-bottom: 15px;
}

.offre-card-text {
  font-size: 0.95rem;
  color: #6b7280;
  line-height: 1.6;
  margin-bottom: 25px;
  flex-grow: 1;
}

.btn-offre {
  background-color: #635bfc;
  color: #fff;
  font-weight: 600;
  border-radius: 30px;
  padding: 10px 28px;
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-block;
}

.btn-offre:hover {
  background-color: #4f46e5;
  color: #fff;
  transform: scale(1.05);
  box-shadow: 0 5px 15px rgba(99, 91, 252, 0.35);
}

@media (max-width: 768px) {
  .offres-title {
    font-size: 1.8rem;
  }
}

.albums-section {
  background-color: #f2f3f7;
  overflow: hidden;
}

.albums-title {
  font-size: 2.3rem;
  font-weight: 700;
  color: #1e1b4b;
}

.albums-track-wrapper {
  overflow: hidden;
  width: 100%;
}

.albums-track {
  display: flex;
  gap: 25px;
  width: max-content;
  animation: scrollAlbums 30s linear infinite;
}

.albums-track-wrapper:hover .albums-track {
  animation-play-state: paused;
}

@keyframes scrollAlbums {
  from { transform: translateX(0); }
  to { transform: translateX(-40%); }
}

.album-card {
  background-color: #1e2138;
  border-radius: 16px;
  padding: 20px;
  width: 320px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.album-photo-container {
  width: 100%;
  height: 220px;
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  margin-bottom: 20px;
}

.album-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  opacity: 1;
  transition: opacity 1s ease-in-out;
}

.album-photo.fade-out {
  opacity: 0;
}

.btn-album {
  background-color: #635bfc;
  color: #fff;
  font-weight: 600;
  border-radius: 30px;
  padding: 10px 28px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-album:hover {
  background-color: #4f46e5;
  color: #fff;
  transform: translateY(-2px);
}

@media (max-width: 768px) {
  .albums-title {
    font-size: 1.8rem;
  }
  .album-card {
    width: 260px;
  }
}

.engagement-section {
  background-color: #f2f3f7;
}

.engagement-title {
  font-size: 2.3rem;
  font-weight: 700;
  color: #1e1b4b;
}

.engagement-card {
  position: relative;
  min-height: 380px;
  border-radius: 16px;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 30px;
  color: #fff;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.engagement-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.engagement-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0.2));
}

.engagement-overlay-dark {
  background: linear-gradient(to top, rgba(10, 12, 40, 0.85), rgba(10, 12, 40, 0.35));
}

.engagement-icon {
  position: absolute;
  top: 25px;
  left: 25px;
  width: 44px;
  height: 44px;
  border: 2px solid rgba(255, 255, 255, 0.7);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.1rem;
  z-index: 2;
}

.engagement-content {
  position: relative;
  z-index: 2;
}

.engagement-card-title {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 12px;
  text-align: center;
}

.engagement-card-text {
  font-size: 0.95rem;
  opacity: 0.9;
  line-height: 1.5;
  margin-bottom: 0;
  text-align: center;
}

.revealy {
  opacity: 0;
  transform: translateX(-60px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.revealy.active {
  opacity: 1;
  transform: translateX(0);
}

.revealyG {
  opacity: 0;
  transform: translateX(-60px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.revealyG.active {
  opacity: 1;
  transform: translateX(0);
}

@media (max-width: 768px) {
  .engagement-title {
    font-size: 1.8rem;
  }
  .engagement-card {
    min-height: 300px;
  }
  .revealyG{
    opacity: 0;
    transform: translateX(60px);
    transition: opacity 0.8s ease, transform 0.8s ease;
  }
  .revealyG.active {
    opacity: 1;
    transform: translateX(0);
  }
}

.pourquoi-header {
  min-height: 45vh;
  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: 60px 0;
}

.pourquoi-title {
  font-size: 2.8rem;
  font-weight: 700;
  margin-bottom: 20px;
  text-shadow: 3px 3px 10px rgba(0, 0, 0, 0.5);
}

.pourquoi-subtitle {
  font-size: 1.2rem;
  font-weight: 400;
  max-width: 700px;
  margin: 0 auto;
  opacity: 0.95;
  line-height: 1.5;
}

.pourquoi-points {
  background-color: #e9eaf0;
}

.pourquoi-item {
  display: flex;
  align-items: center;
  gap: 40px;
  padding: 20px 0;
}

.pourquoi-icon {
  flex-shrink: 0;
  width: 110px;
  height: 110px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pourquoi-icon img {
  width: 200%;
  height: 200%;
  object-fit: contain;
}

.pourquoi-text p {
  font-size: 1.1rem;
  color: #333333;
  line-height: 1.7;
  margin-bottom: 0;
}

.text-accent {
  color: #4a63e7;
}

@media (max-width: 768px) {
  .pourquoi-title {
    font-size: 2rem;
  }
  .pourquoi-item {
    flex-direction: column;
    text-align: center;
    gap: 20px;
  }
}

.atouts-section {
  background-color: #14172b;
  color: #ffffff;
}

.atout-row {
  display: flex;
  align-items: center;
  gap: 50px;
  padding: 60px 0 0 0;
  /* border-bottom: 1px solid rgba(255, 255, 255, 0.08); */
  /* flex-direction: row-reverse; */
}

.atout-row:last-child {
  border-bottom: none;
}

.atout-row-reverse {
  flex-direction: row-reverse;
}

/* @media (max-width: 768px) {
  .atout-row-reverse {
    flex-direction: row-reverse;
  }
} */

.atout-text {
  flex: 1;
}

.atout-media {
  flex: 1;
}

.atout-media img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.atout-title {
  font-size: 1.6rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 15px;
}

.atout-desc {
  font-size: 1rem;
  color: #b8bacc;
  margin-bottom: 20px;
  line-height: 1.6;
}

.atout-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.atout-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.95rem;
  color: #d5d6e2;
  margin-bottom: 14px;
  line-height: 1.5;
}

.atout-list li i {
  color: #2ecc71;
  margin-top: 4px;
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .atout-row,
  .atout-row-reverse {
    flex-direction: column;
    gap: 25px;
    padding: 40px 0;
  }

  .atout-title {
    font-size: 1.3rem;
  }
}

.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);
}

.conclusion-overlay {
  background: linear-gradient(180deg, rgba(10, 12, 30, 0.75), rgba(10, 12, 30, 0.55));
  z-index: 1;
}

.conclusion-content {
  max-width: 750px;
  opacity: 0;
  transform: scale(0.85);
  transition: opacity 0.9s ease, transform 0.9s cubic-bezier(0.25, 1, 0.5, 1);
}

.conclusion-content.active {
  opacity: 1;
  transform: scale(1);
}

@media (max-width: 768px) {
  .conclusion-content h2 {
    font-size: 1.6rem !important;
  }
}

.tech-valley-section {
  background-color: #0d0f1f;
}

.tech-valley-bg-shape {
  position: absolute;
  inset: 0;
  z-index: 1;
  background-image: 
    linear-gradient(135deg, transparent 45%, rgba(74, 99, 231, 0.25) 46%, rgba(74, 99, 231, 0.25) 54%, transparent 55%),
    linear-gradient(45deg, transparent 60%, rgba(74, 99, 231, 0.15) 62%, transparent 64%);
  background-size: 100% 100%, 100% 100%;
}

.btn-tech-valley {
  background-color: #4a63e7;
  color: #fff;
  font-weight: 600;
  border-radius: 30px;
  padding: 12px 32px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-tech-valley:hover {
  background-color: #3850c9;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(74, 99, 231, 0.4);
}

/* .tech-valley-video {
  max-width: 400px;
  height: 240px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
} */
.tech-valley-video video {
  object-fit: cover;
}

.tech-valley-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.85);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #1e1b4b;
  font-size: 1.3rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.tech-valley-play-btn:hover {
  background-color: #ffffff;
  transform: translate(-50%, -50%) scale(1.1);
}

@media (max-width: 768px) {
  .tech-valley-section h2 {
    font-size: 1.5rem !important;
  }
  .tech-valley-video {
    max-width: 100%;
  
  }
}

#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: 9999;
}

.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;
  }
}

.album-modal-content {
  background: #0d0f1f;
  border: 1px solid rgba(126, 168, 255, 0.15);
  border-radius: 16px;
}

.album-counter {
  color: #7ea8ff;
  font-size: 0.85rem;
  font-weight: 600;
}

#albumSlides .carousel-item img {
  width: 100%;
  height: 70vh;
  object-fit: contain;
  background: #05060f;
  border-radius: 12px;
}

.album-arrow {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.album-thumbs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 6px;
}

.album-thumbs img {
  width: 74px;
  height: 54px;
  object-fit: cover;
  border-radius: 8px;
  opacity: 0.5;
  cursor: pointer;
  border: 2px solid transparent;
  transition: opacity 0.2s ease, border-color 0.2s ease;
  flex-shrink: 0;
}

.album-thumbs img:hover { opacity: 0.85; }

.album-thumbs img.active {
  opacity: 1;
  border-color: #4a63e7;
}

@media (max-width: 768px) {
  #albumSlides .carousel-item img { height: 50vh; }
}

.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); }
}