nav ul li a.links,
.search-icon {
  color: #fff;
  text-decoration: none;
  font-size: 1.3rem;
  font-weight: 500;
  padding: 0.625rem 0.9375rem;
}

/* ── Accessibility: contrast fixes (WCAG AA) ── */

/* visually-hidden spans inside carousel buttons inherit white from the
   parent button; WAVE sees white-on-light → low contrast. Force dark. */
.carousel-control-prev .visually-hidden,
.carousel-control-next .visually-hidden {
  color: #212529 !important;
  background-color: transparent !important;
}

/* text-muted / text-secondary: Bootstrap default (#6c757d) only passes
   AA on white; bump to a darker shade. */
.text-muted,
.text-secondary {
  color: #595c5f !important;
}

/* Placeholder text must also meet 4.5:1 */
::placeholder {
  color: #595c5f !important;
  opacity: 1 !important;
}

.project-title {
  font-family: "Playwrite AU VIC Guides", Helvetica, Arial, sans-serif;
  font-size: 2.5rem;
  letter-spacing: -0.0625rem;
}

.cards-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.25rem;
  overflow: hidden;
  width: 100%;
}

.card-center {
  position: relative;
  width: 100%;
  max-width: 31.25rem;
  height: 28.125rem;
  border-radius: 0.25rem;
  overflow: hidden;
}

.card-center img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-custom-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 1.875rem;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
}

.card-side {
  width: 9.375rem;
  height: 28.125rem;
  opacity: 0.6;
  border-radius: 0.25rem;
  overflow: hidden;
  flex-shrink: 0;
}

.card-side img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.main-navbar {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4.25rem;
  background-color: #0a0a0a;
  z-index: 9999;
  border-bottom: 0.0625rem solid rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(0.625rem);
  -webkit-backdrop-filter: blur(0.625rem);
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 2rem;
  gap: 2rem;
}

.nav-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  text-decoration: none;
}

.nav-logo img {
  height: 2.625rem;
  width: auto;
  object-fit: contain;
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 0.25rem;
  flex: 1;
  justify-content: center;
}

.nav-links .nav-item {
  color: #d1d5db;
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.45rem 0.9rem;
  border-radius: 0.25rem;
  transition:
    color 0.2s ease,
    background 0.2s ease;
}

.nav-links .nav-item:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.06);
}

.nav-links .nav-item.active {
  color: #c8ff00;
}

.nav-search {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: transparent;
  border: none;
  color: #d1d5db;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  padding: 0.45rem 0.75rem;
  border-radius: 0.25rem;
  transition:
    color 0.2s ease,
    background 0.2s ease;
  flex-shrink: 0;
}

.nav-search:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.06);
}

.nav-search i {
  font-size: 1rem;
}

.nav-burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 0.3125rem;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0.25rem;
}

.nav-burger span {
  display: block;
  width: 1.5rem;
  height: 0.125rem;
  background: #ffffff;
  border-radius: 0.125rem;
  transition: all 0.3s ease;
}

.hero-content {
  background-color: #0a0a0a;
  color: white;
  padding: 0;
  max-width: 100%;
  min-height: 85vh;
  margin: 0 auto;
  display: flex;
  align-items: center;
}

.hero-content .container {
  padding-top: 6.25rem;
  padding-bottom: 3.75rem;
  z-index: 4;
  position: relative;
}

.hero-overflow-img {
  position: absolute;
  top: 0;
  right: 0;
  width: 52%;
  height: 100%;
  object-fit: contain;
  object-position: right top;
  z-index: 20;
  display: block;
  pointer-events: none;
}

.hero-img-col {
  min-height: 0.0625rem;
}

.hero-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.8125rem 1.75rem;
  background-color: #e5ff00;
  color: #000000;
  text-decoration: none;
  border-radius: 0.375rem;
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-top: 1.25rem;
  transition:
    background 0.25s ease,
    transform 0.2s ease,
    box-shadow 0.25s ease;
  box-shadow: 0 0.25rem 1.25rem rgba(229, 255, 0, 0.25);
}

.hero-btn:hover {
  background-color: #f0ff33;
  transform: translateY(-0.125rem);
  box-shadow: 0 0.5rem 1.875rem rgba(229, 255, 0, 0.4);
  color: #000;
}

.contact-info {
  font-size: 1rem;
  font-weight: 300;
  margin-top: 1.25rem;
}

.bine {
  position: absolute;
  margin: 0 auto;
  width: 50%;
  height: 75%;
  border: none;
}

h4 {
  font-size: 1.5rem;
  border-left: 0.125rem solid white;
  padding-left: 0.5rem;
  display: inline-block;
  white-space: nowrap;
  overflow: hidden;
  animation: blinkCursor 0.8s infinite;
}

@keyframes blinkCursor {
  50% {
    border-color: transparent;
  }
}

.page-shell {
  min-height: 100vh;
  padding: 4rem 0;
}

.section-kicker {
  color: #053bff;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.section-title {
  max-width: 47.5rem;
  margin: 0.8rem auto 0;
  font-size: clamp(2rem, 4vw, 3.6rem);
  font-weight: 900;
  line-height: 1.05;
}

.cards-carousel {
  margin-top: 3rem;
}

.slide-card {
  height: 100%;
  overflow: hidden;
  background: #fff;
  border: 0.0625rem solid #e5e7eb;
  border-radius: 0.5rem;
  box-shadow: 0 1.125rem 2.8125rem rgba(15, 23, 42, 0.08);
}

.slide-card img {
  width: 100%;
  height: 13.75rem;
  object-fit: cover;
}

.slide-card-body {
  padding: 1.25rem;
}

.slide-card-icon {
  display: inline-grid;
  width: 2.625rem;
  height: 2.625rem;
  margin-bottom: 1rem;
  place-items: center;
  color: #fff;
  background: #111827;
  border-radius: 0.5rem;
  font-size: 1.2rem;
}

.slide-card h3 {
  font-size: 1.15rem;
  font-weight: 800;
}

.slide-card p {
  color: #6b7280;
}

.carousel-control-prev,
.carousel-control-next {
  width: 3.4rem;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  width: 2.7rem;
  height: 2.7rem;
  background-color: #111827;
  border-radius: 62.4375rem;
  background-size: 55%;
}

.carousel-indicators {
  position: static;
  margin: 2rem 0 0;
}

/* Override Bootstrap default carousel indicators */
.carousel-indicators [data-bs-target] {
  width: 2.375rem;
  height: 0.25rem;
  border: 0;
  border-radius: 62.4375rem;
  background-color: #111827;
}

/*  mode tablette et inferieur (en plus petit ecran)*/

body,
html {
  font-family:
    "Poppins",
    system-ui,
    -apple-system,
    sans-serif;
  overflow-x: hidden;
}

.team-card {
  background: #fff;
  border-radius: 1rem;
  overflow: hidden;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.team-card: hover {
  transform: translateY(-0.375rem);
  box-shadow: 0 1rem 2.5rem rgba(15, 23, 42, 0.12);
}

.team-img-wrap {
  width: 100%;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border-radius: 0.75rem;
  background: #f1f5f9;
}

.team-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.team-card:hover .team-img {
  transform: scale(1.05);
}

.team-info h6 {
  font-size: 0.95rem;
  color: #0f172a;
}

.team-info small {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.container-fluid.p-0 {
  overflow: visible !important;
}

/*  mode tablette et inferieur (en plus petit ecran)*/
@media (max-width: 47.9988rem) {
  .page-shell {
    padding: 2.5rem 0;
  }

  .carousel-control-prev,
  .carousel-control-next {
    display: none;
  }
}

/*  mode tablette et inferieur (en plus petit ecran)*/
@media (max-width: 43.75rem) {
  #navbarNav {
    background-color: rgba(255, 255, 255, 0.603) !important;
    color: black;
    backdrop-filter: blur(0.625rem);
    font-weight: 500;
    -webkit-backdrop-filter: blur(0.5rem);
    padding: 0.9375rem 0.625rem;
    border-radius: 0 0 0.625rem 0.625rem;
  }

  #navbarNav a {
    color: rgb(27, 26, 26) !important;
  }

  .hero-content img {
    position: relative;
    width: 100%;
    height: auto;
    margin-bottom: 1.5625rem;
  }

  .hero-content h1 {
    font-size: 1.9rem;
    font-weight: bold;
  }

  .hero-content p {
    font-size: 1rem;
    font-weight: 300;
  }

  .hero-content .row {
    display: flex !important;
    flex-direction: column-reverse !important;
    align-items: center !important;
  }

  .mbs {
    margin-bottom: 0 !important;
    gap: 0.9375rem;
    background-color: #000;
    padding: 1.25rem;
    color: #fff;
    flex-direction: column;
  }

  .mbts {
    background-color: #000;
    color: #fff;
    justify-content: center;
    padding: 1.25rem;
    gap: 15%;
    flex-direction: column;
  }

  .colors-section {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 15vh;
    text-align: center;
    background-color: #003bfd;
  }

  .colors-section p {
    color: #fff;
    font-size: 1.2rem;
    font-weight: 700;
  }

  .project {
    background-color: #ffffff;
    color: #000000;
    padding: 1.25rem;
    max-width: 100%;
    text-align: center;
    margin: 0 auto;
  }

  .project h3 {
    text-align: center;
    margin-top: 3.125rem;
    margin-bottom: 1.875rem;
    font-size: 2.5rem;
    font-weight: 700;
  }

  .section-cards,
  .cards {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    justify-content: center;
    border: 0.0625rem solid #9e9797;
  }

  .cards {
    min-width: 100%;
  }

  .panel-hero {
    background-color: #e5ff00;
    padding: 1.875rem 1.25rem;
    margin: 2.5rem 0 0 0;
    text-align: center;
    border-radius: 1rem;
  }
}
#searchBar {
  display: none;
  padding: 0.625rem;
}

#searchBar.active {
  display: block;
}

/*  mode tablette et superieur (en gros ecran)*/
@media (min-width: 43.75rem) {
  .hero-content img {
    position: absolute;
    top: 0;
    width: 50%;
    height: 70%;
    object-fit: cover;
    z-index: 2;
  }

  .contact {
    display: flex;
    gap: 1.25rem;
    padding: 1.625rem;
    font-weight: 500;
  }

  .colors-section {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 15vh;
    text-align: center;
    background-color: #003bfd;
  }

  .colors-section p {
    color: #fff;
    font-size: 1.2rem;
    font-weight: 700;
  }

  .mbs {
    max-width: 10%;
    gap: 0.9375rem;
    background-color: #000;
    color: #fff;
    margin-bottom: -9.375rem;
  }

  .mbts {
    background-color: #000;
    color: #fff;
    justify-content: center;
    padding: 1.25rem;
    gap: 15%;
  }

  .project {
    display: flex;
    flex-direction: column;
    padding: 1.25rem;
    max-width: 50%;
    background-color: #ffffff;
    color: #000000;
    text-align: center;
    margin: 0 auto;
  }

  .project h3 {
    text-align: center;
    margin-top: 3.125rem;
    margin-bottom: 1.875rem;
    font-size: 2.5rem;
    font-weight: 700;
  }

  .project-content.section-cards,
  .cards,
  .section-cards {
    display: flex;
    gap: 1.25rem;
    justify-content: center;
    border: 0.0625rem solid #9e9797;
  }

  .panel-hero {
    background-color: #e5ff00;
    padding: 3.125rem;
    margin: 7.5rem 0 0 0;
    border-radius: 1.25rem;
  }

  .panel-hero img {
    border-radius: 1rem;
    box-shadow: 0 0.9375rem 2.1875rem rgba(0, 0, 0, 0.15);
  }

  .panel-hero h3 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #000;
  }

  .op {
    margin: -6.25rem 0 0 0;
  }

  .skill-item {
    margin-bottom: 1.5625rem !important;
    margin-top: 1.875rem;
    width: 100%;
  }
}

/* progress bar global styling */
.skill-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 0.0625rem;
  font-size: 0.9rem;
}

.progress-background {
  height: 0.5rem;
  background-color: rgba(0, 0, 0, 0.1);
  border-radius: 0;
}

.progress-noir {
  background-color: #000000;
  height: 100%;
}

@media (min-width: 62rem) {
  .yellow-overlap-img {
    position: absolute !important;
    top: -12.5rem !important;
    left: 0 !important;
    width: 90% !important;
    height: calc(90% + 15rem) !important;
    margin-left: 6.25rem;
    margin-bottom: 12.5rem;
    z-index: 1;
    margin-top: 6.25rem;
  }

  .yellow-img-col {
    min-height: 31.25rem !important;
    overflow: visible;
    padding-left: 6.25rem;
  }
}

/* reponsive pour les image 2 */
@media (max-width: 61.9988rem) {
  .yellow-overlap-img {
    position: relative !important;
    top: 0 !important;
    width: 100% !important;
    height: auto !important;
    margin-top: 2rem !important;
    margin-bottom: 2rem !important;
  }

  .bine {
    position: relative;
    margin: 0 auto;
    width: 100%;
    height: 18.75rem;
    border: none;
  }
}
/* reponsive pour les image */

@media (max-width: 47.9988rem) {
  .hero-wrapper {
    display: flex;
    flex-direction: column;
  }

  .hero-overflow-img {
    order: 1;
    position: relative;
    top: 0;
    display: block;
    margin: 0 auto;
    width: 90%;
    max-width: 28.125rem;
    height: auto;
  }

  .hero-content {
    order: 2;
    min-height: auto;
  }

  .hero-content .container {
    padding-top: 2.5rem;
    padding-bottom: 1.875rem;
  }
}

/* reponsive pour les navigation */
@media (max-width: 48rem) {
  .nav-burger {
    display: flex;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 4.25rem;
    left: 0;
    width: 100%;
    flex-direction: column;
    background-color: #0a0a0a;
    padding: 1rem 0;
    border-bottom: 0.0625rem solid rgba(255, 255, 255, 0.07);
    gap: 0;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links li {
    width: 100%;
    text-align: center;
  }

  .nav-links .nav-item {
    display: block;
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
  }

  .nav-search span {
    display: none;
  }

  .pdc {
    padding-top: 5%;
    display: flex;
    flex-direction: column;
  }

  .pdt {
    padding-top: 5%;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }
}
@media (max-width: 47.9375rem) {
  .hero-section {
    height: auto !important;
    min-height: 100vh;
    padding: 7.5rem 1.25rem 3.75rem !important;
  }
  .hero-section .row {
    flex-direction: column;
    gap: 1.25rem;
  }
  .hero-section .hero-title {
    margin-top: 0 !important;
    text-align: center;
  }
  .hero-section .hero-text {
    margin-top: 0 !important;
  }
  .hero-section p {
    max-width: 100% !important;
    text-align: center !important;
  }
  #navbarNav {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(0.625rem);
    padding: 0.9375rem;
    border-radius: 0 0 0.75rem 0.75rem;
  }
  #navbarNav a {
    color: #000 !important;
  }
}
@media (max-width: 35.9375rem) {
  footer .col-6 {
    flex: 0 0 100%;
    max-width: 100%;
    text-align: center !important;
  }
  footer .text-end {
    text-align: center !important;
    margin-top: 0.625rem;
  }
}

/* ── Premium Styling Elements ── */

.transition-all {
  transition: all 0.3s ease-in-out !important;
}

.hover-up: hover {
  transform: translateY(-0.3125rem) !important;
  box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.175) !important;
}

.hover-shadow {
  transition: all 0.3s ease-in-out;
}
.hover-shadow:hover {
  box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.1) !important;
  transform: translateY(-0.1875rem);
}

.text-gradient {
  background: linear-gradient(45deg, #0d6efd, #0dcaf0);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

