.inter-<uniquifier > {
  font-family: "Inter", sans-serif;
  font-optical-sizing: auto;
  font-weight: <weight>;
  font-style: normal;
}
* {
  font-family: "Inter" !important ;
}

.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

.container-fluid,
#portfolio,
#services,
body {
  background-color: #eee !important;
}

/* Navbar Styling */
.navbar {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 10;
  background-color: transparent !important;
}

.navbar .nav-link {
  color: white !important;
}

.navbar .nav-link:hover,
.navbar .nav-link.active {
  color: #ddd !important;
}

.navbar-brand img {
  height: 40px;
}

.navbar-toggler {
  border-color: white !important;
}

.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='white' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}
/* Mobile dropdown menu styles */
@media (max-width: 991.98px) {
  /* Only apply these styles on mobile */
  .navbar-collapse {
    background-color: white !important;
  }

  .navbar-collapse .nav-link {
    color: black !important;
  }

  .navbar-collapse .nav-link:hover,
  .navbar-collapse .nav-link.active {
    color: #555 !important;
  }
}
/* Nouveau CSS pour video-header */
.video-header {
  position: relative;
  width: 100%;
  height: 100vh; /* Prend toute la hauteur d'écran */
  overflow: hidden;
  display: flex;
  justify-content: center; /* Centrage horizontal */
  align-items: flex-end; /* Aligne le bas de la vidéo avec le bas du conteneur */
}

.video-header video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center bottom; /* Force l'affichage du bas de vidéo */
}

/* Conservez le reste de votre CSS existant */
.video-overlay-content {
  position: relative;
  z-index: 2;
  color: white;
  text-align: center;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.video-header::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

/* Version Mobile - Solution sans espace vide */
@media (max-width: 768px) {
  .video-header {
    height: auto;
    min-height: unset; /* Supprime la hauteur minimale */
    aspect-ratio: unset; /* Supprime le ratio forcé */
    display: block;
  }
  
  .video-header video {
    position: relative;
    width: 100%;
    height: auto;
    max-height: 80vh;
    object-fit: contain;
  }
}

#angled-box-container {
  margin: 0;
  padding: 0;
  min-height: 1000px;
  position: relative;
}

.angled-box-1 #main {
  display: inline-block;
  background-color: #252525 !important ;
  padding: 2% 4%;
  padding-left: 8%;
  transform: rotate(-5deg);
  position: absolute;
  left: -30px;
}
.angled-box-1 #main h2 {
  font-weight: 900 !important;
  color: #f2f2f2;
  font-size: 5.3vw;
}

.angled-box-1 #sub1 {
  display: inline-block;
  width: 40%;
  height: 20%;
  background-color: #252525 !important ;
  transform-origin: 0% 50%;
  transform: rotate(-78deg);
  position: absolute;
  left: -5%;
}
.angled-box-1 #sub2 {
  display: inline-block;
  width: 16%;
  height: 12%;
  background-color: #252525 !important ;
  transform-origin: 0% 50%;
  transform: rotate(12deg);
  position: absolute;
  top: 20%;
  left: -5%;
}

.angled-box-1 p {
  display: inline-block;
  position: absolute;
  top: 25%;
  width: 30%;
  left: 14%;
  font-size: 30px;
  font-weight: 500 !important;
}

.boxes {
  position: relative;
  min-height: inherit;
  z-index: 2;
}
@keyframes slow-rotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.slow-rotate {
  animation: slow-rotate 20s linear infinite;
}

.angled-box-2 .shape {
  display: inline-block;
  position: absolute;
  top: 25%;
  right: 20%;
  width: 130px;
}
.angled-box-2 {
  margin-top: -800px;
  min-height: 1000px;
  padding-top: 600px;
  position: absolute;
  top: 50%;
  width: 100%;
  overflow: hidden;
  /*	background-color: yellow;*/
}

.angled-box-2 #main {
  display: inline-block;
  background-color: #252525 !important ;
  padding: 2% 4%;
  padding-right: 8%;
  transform: rotate(5deg);
  position: absolute;
  right: -20px;
}
.angled-box-2 #main h2 {
  font-weight: 900 !important;
  color: #f2f2f2;
  font-size: 5.3vw;
}

.angled-box-2 #sub1 {
  display: inline-block;
  width: 30%;
  height: 10%;
  background-color: #252525 !important ;
  transform-origin: 100% 50%;
  transform: rotate(50deg);
  position: absolute;
  right: -0px;
}
.angled-box-2 #sub2 {
  display: inline-block;
  width: 16%;
  height: 12%;
  background-color: #252525 !important ;
  transform-origin: 100% 50%;
  transform: rotate(-16deg);
  position: absolute;
  top: 16%;
  right: -5%;
}

.angled-box-2 p {
  display: inline-block;
  position: absolute;
  top: 55%;
  width: 40%;
  right: 14%;
  font-size: 30px;
  text-align: right;
  font-weight: 500 !important;
}

.angled-box-3 {
  margin-top: -100px;
  padding-top: 100px;
  min-height: 1000px;
  position: absolute;
  top: 50%;
  width: 100%;
  overflow: hidden;
}

.angled-box-3 #main {
  display: inline-block;
  background-color: #252525 !important ;
  padding: 2% 4%;
  padding-left: 16%;
  transform: rotate(-5deg);
  position: absolute;
  left: -30px;
}
.angled-box-3 #main h2 {
  font-weight: 900 !important;
  color: #f2f2f2;
  font-size: 5.3vw;
}

.angled-box-3 #sub1 {
  display: inline-block;
  width: 15%;
  height: 12%;
  background-color: #252525 !important ;
  transform-origin: 0% 50%;
  transform: rotate(10deg);
  top: -2%;
  position: absolute;
  left: -5%;
}
.angled-box-3 #sub2 {
  display: inline-block;
  width: 15%;
  height: 12%;
  background-color: #252525 !important ;
  transform-origin: 0% 50%;
  transform: rotate(65deg);
  top: 8%;
  position: absolute;
  left: -5%;
}

.angled-box-3 p {
  display: inline-block;
  position: absolute;
  top: 33%;
  width: 30%;
  left: 14%;
  font-size: 30px;
  font-weight: 500 !important;
}

.angled-box-4 .shape {
  display: inline-block;
  position: absolute;
  bottom: 25%;
  left: 8%;
  width: 130px;
}

.angled-box-4 {
  margin-top: -250px;
  padding-top: 150px;
  min-height: 450px;
  position: absolute;
  top: 100%;
  width: 100%;
  overflow: hidden;
  border-bottom: 1px solid black;
}

.angled-box-4 #main {
  background-color: #f2f2f2 !important;
  padding: 2% 3%;
  padding-right: 18%;
  transform: rotate(12deg);
  position: absolute;
  right: -50px;
  border: 1px solid black;
}

.angled-box-4 #main h2 {
  font-weight: 900 !important;
  color: #252525  ;
  font-size: 5.3vw;
  z-index: 92;
}
.fill-hover {
  position: relative;
  display: inline-block;
  overflow: hidden;
  padding: 20px 40px;
  cursor: pointer;
  color: #252525 !important ;
  transition: color 0.4s ease;
  z-index: 10;
}

.fill-hover::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background-color: #252525 !important ;
  transition: width 0.4s ease;
  z-index: -1;
}

.fill-hover:hover::before {
  width: 100%;
}

.fill-hover h2 {
  position: relative;
  z-index: 1; /* text on top */
  margin: 0;
  transition: color 0.4s ease;
}

.fill-hover:hover h2 {
  color: #f2f2f2 !important; /* text color on hover */
}

.angled-box-4 #main2 {
  background-color: #f2f2f2 !important;
  padding: 2% 3%;
  padding-right: 18%;
  transform: rotate(5deg);
  position: absolute;
  bottom: -90px;
  right: -50px;
  border: 1px solid black;
}
.angled-box-4 #main2 h2 {
  font-weight: 900 !important;
  background-color: #f2f2f2 !important;
  color: #f2f2f2 !important;
  font-size: 5.5vw;

  position: relative;
  z-index: 2;

  text-shadow: #000 0px 0px 1px, #000 0px 0px 1px, #000 0px 0px 1px,
    #000 0px 0px 1px, #000 0px 0px 1px, #000 0px 0px 1px;
  -webkit-font-smoothing: antialiased;
}

#contact-form {
  background-color: #f2f2f2;
}
.contact-form {
  position: relative;
  z-index: 99;
  max-width: 700px;
  margin: 50px auto;
  margin-top: 10%;
  padding: 20px;
}

.contact-form input,
textarea {
  border-radius: 0 !important;
  border: 1px solid black !important;
}
.contact-form .form-label {
  font-weight: 500;
  color: #000;
}
.form-control,
.form-control:focus {
  background-color: #e3e3e3;
  border-color: #ccc;
  box-shadow: none;
}
.social-icons {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-top: 40px;
}
.social-icons img {
  width: 24px;
  height: 24px;
  cursor: pointer;
}

/* Extra small devices (phones, 600px and down) */
@media only screen and (max-width: 600px) {
  /* Angled Box 1 adjustments */

  .angled-box-1 #main h2 {
    font-size: 26px;
  }
  .angled-box-1 #main {
    padding: 4% 5%;
    padding-left: 20%;
  }
  .angled-box-1 #sub1 {
    height: 4%;
    transform: rotate(-17deg);
    left: -8%;
    top: -1%;
  }
  .angled-box-1 #sub2 {
    width: 15% !important;
    height: 3% !important;
    top: 7%;
    transform: rotate(11deg);
  }

  .angled-box-1 p {
    top: 10%;
    font-size: 18px;
    width: 65%;
    left: 14%;
  }

  /* Angled Box 2 adjustments */

  .angled-box-2 .shape {
    display: inline-block;
    position: absolute;
    top: 20%;
    right: 8%;
    width: 70px;
  }
  .angled-box-2 #main {
    width: 80%;
    padding: 4% 5%;
    padding-right: 1% !important ;
  }
  .angled-box-2 #main h2 {
    font-size: 26px;
  }

  .angled-box-2 #sub1 {
    width: 30% !important;
    height: 4% !important;
    transform: rotate(60deg);
  }

  .angled-box-2 #sub2 {
    top: 7%;
    width: 15% !important;
    height: 4% !important;
    transform: rotate(-12deg);
  }
  .angled-box-2 p {
    top: 43%;
    font-size: 18px;
    width: 65%;
  }

  /* Angled Box 3 adjustments */
  .angled-box-3 {
    margin-top: -20px;
  }

  .angled-box-3 #main h2 {
    font-size: 26px;
  }
  .angled-box-3 #main {
    padding: 4% 4%;
    padding-left: 30%;
    padding-right: 10%;
  }

  .angled-box-3 #sub1 {
    top: 6%;
    transform: rotate(18deg);
    width: 15% !important;
    height: 3% !important;
  }

  .angled-box-3 #sub2 {
    width: 15% !important;
    height: 3% !important;
  }

  .angled-box-3 p {
    top: 18%;
    font-size: 18px;
    width: 65%;
  }

  /* Angled Box 4 adjustments */

  .angled-box-4 .shape {
    display: inline-block;
    position: absolute;
    bottom: 10%;
    left: 5%;
    width: 70px;
  }
  .angled-box-4 {
    margin-top: -330px;
    padding-top: 150px;
    min-height: 220px;
  }

  .angled-box-4 #main2 {
    padding-right: 18%;
    transform: rotate(6deg);

    bottom: -16%;
    right: -50px;
    border: 1px solid black;
  }
  .contact-form {
    margin-top: -12%;
  }
}

/* Small devices (portrait tablets and large phones, 600px and up) */
@media only screen and (min-width: 600px) and (max-width: 767px) {
  /* Angled Box 1 adjustments */
  .angled-box-1 #sub1 {
    height: 6%;
    transform: rotate(-17deg);
    left: -8%;
    top: -1%;
  }
  .angled-box-1 #sub2 {
    width: 15% !important;
    height: 5% !important;
    top: 8%;
    transform: rotate(12deg);
  }

  .angled-box-1 p {
    top: 14%;
    font-size: 24px;
    width: 65%;
    left: 14%;
  }

  /* Angled Box 2 adjustments */

  .angled-box-2 .shape {
    display: inline-block;
    position: absolute;
    top: 15%;
    right: 15%;
    width: 110px;
  }
  .angled-box-2 #sub1 {
    width: 33% !important;
    height: 7% !important;
    transform: rotate(70deg);
  }

  .angled-box-2 #sub2 {
    top: 9%;
    width: 15% !important;
    height: 6% !important;
    transform: rotate(-12deg);
  }
  .angled-box-2 p {
    top: 46%;
    font-size: 24px;
    width: 65%;
  }

  .angled-box-3 {
    margin-top: 20px;
  }

  /* Angled Box 3 adjustments */
  .angled-box-3 #sub1 {
    top: 8%;
    width: 15% !important;
    height: 6% !important;
  }

  .angled-box-3 #sub2 {
    width: 15% !important;
    height: 8% !important;
  }

  .angled-box-3 p {
    top: 22%;
    font-size: 24px;
    width: 65%;
  }

  /* Angled Box 4 adjustments */
  .angled-box-4 .shape {
    display: inline-block;
    position: absolute;
    bottom: 15%;
    left: 8%;
    width: 110px;
  }
  .angled-box-4 {
    margin-top: -200px;
    padding-top: 150px;
    min-height: 250px;
  }

  .angled-box-4 #main2 {
    padding-right: 18%;
    transform: rotate(5deg);

    bottom: -18%;
    right: -50px;
    border: 1px solid black;
  }

  .contact-form {
    margin-top: 2%;
  }
}

/* Medium devices (landscape tablets, 768px and up) */
@media only screen and (min-width: 768px) and (max-width: 991px) {
  /* Angled Box 1 adjustments */

  .angled-box-1 #sub1 {
    transform: rotate(-87deg);
    left: -8%;
    top: -2%;
  }
  .angled-box-1 #sub2 {
    width: 15% !important;
    height: 6% !important;
    top: 9%;
    transform: rotate(12deg);
  }

  .angled-box-1 p {
    top: 14%;
    font-size: 24px;
    width: 35%;
    left: 14%;
  }

  /* Angled Box 2 adjustments */

  .angled-box-2 .shape {
    display: inline-block;
    position: absolute;
    top: 25%;
    right: 20%;
    width: 110px;
  }
  .angled-box-2 #sub1 {
    width: 33% !important;
    height: 7% !important;
    transform: rotate(70deg);
  }

  .angled-box-2 #sub2 {
    top: 10%;
    width: 15% !important;
    height: 6% !important;
    transform: rotate(-12deg);
  }
  .angled-box-2 p {
    top: 46%;
    font-size: 24px;
    width: 35%;
  }

  /* Angled Box 3 adjustments */
  .angled-box-3 #sub1 {
    top: 8%;
    width: 15% !important;
    height: 6% !important;
  }

  .angled-box-3 #sub2 {
    width: 15% !important;
    height: 8% !important;
  }

  .angled-box-3 p {
    top: 22%;
    font-size: 24px;
    width: 35%;
  }

  /* Angled Box 4 adjustments */
  .angled-box-4 .shape {
    display: inline-block;
    position: absolute;
    bottom: 15%;
    left: 8%;
    width: 110px;
  }
  .angled-box-4 {
    margin-top: -350px;
    padding-top: 150px;
    min-height: 300px;
  }

  .angled-box-4 #main2 {
    padding-right: 18%;
    transform: rotate(5deg);

    bottom: -18%;
    right: -50px;
    border: 1px solid black;
  }
  .contact-form {
    margin-top: 2%;
  }
}

/* Large devices (laptops/desktops, 992px and up) */
@media only screen and (min-width: 992px) and (max-width: 1199px) {
  /* Angled Box 1 adjustments */
  .angled-box-1 #sub1 {
    transform: rotate(-87deg);
    left: -7%;
  }
  .angled-box-1 #sub2 {
    width: 15% !important;
    height: 8% !important;
    top: 12%;
    transform: rotate(12deg);
  }

  .angled-box-1 p {
    top: 16%;
    font-size: 26px;
    width: 35%;
    left: 14%;
  }

  /* Angled Box 2 adjustments */
  .angled-box-2 #sub1 {
    width: 33% !important;
    height: 7% !important;
    transform: rotate(70deg);
  }

  .angled-box-2 #sub2 {
    top: 11%;
    width: 15% !important;
    height: 6% !important;
    transform: rotate(-12deg);
  }
  .angled-box-2 p {
    top: 46%;
    font-size: 26px;
    width: 35%;
  }

  /* Angled Box 3 adjustments */
  .angled-box-3 #sub1 {
    top: 12%;
    width: 15% !important;
    height: 6% !important;
  }

  .angled-box-3 #sub2 {
    width: 15% !important;
    height: 8% !important;
  }

  .angled-box-3 p {
    top: 22%;
    font-size: 26px;
    width: 35%;
  }

  /* Angled Box 4 adjustments */
  .angled-box-4 {
    margin-top: -250px;
    padding-top: 150px;
    min-height: 320px;
  }

  .angled-box-4 #main2 {
    padding-right: 18%;
    transform: rotate(5deg);

    bottom: -18%;
    right: -50px;
    border: 1px solid black;
  }
}

/* Medium devices (landscape tablets, 768px and up) */
@media only screen and (min-width: 1200px) and (max-width: 1699px) {
  /* Angled Box 1 adjustments */
  .angled-box-1 #sub1 {
    transform: rotate(-87deg);
  }
  .angled-box-1 #sub2 {
    width: 15% !important;
    height: 10% !important;
    top: 15%;
    transform: rotate(12deg);
  }

  .angled-box-1 p {
    top: 22%;
    width: 30%;
    left: 14%;
  }

  /* Angled Box 2 adjustments */
  .angled-box-2 #sub1 {
    width: 30% !important;
    height: 10% !important;
  }

  .angled-box-2 #sub2 {
    top: 12%;
    width: 15% !important;
    height: 10% !important;
    transform: rotate(-20deg);
  }
  .angled-box-2 p {
    top: 50%;
    width: 30%;
  }

  /* Angled Box 3 adjustments */
  .angled-box-3 #sub1 {
    top: 16%;
    width: 15% !important;
    height: 7% !important;
  }

  .angled-box-3 #sub2 {
    width: 15% !important;
    height: 10% !important;
  }

  .angled-box-3 p {
    top: 26%;
    width: 30%;
  }

  /* Angled Box 4 adjustments */
  .angled-box-4 {
    margin-top: -250px;
    padding-top: 150px;
    min-height: 400px;
  }

  .angled-box-4 #main2 {
    padding-right: 18%;
    transform: rotate(5deg);

    bottom: -16%;
    right: -50px;
    border: 1px solid black;
  }
}

@media only screen and (min-width: 1700px) and (max-width: 2800px) {
  /* Angled Box 1 adjustments */

  .angled-box-1 #sub1 {
    transform: rotate(-80deg);
    left: -4%;
  }
  .angled-box-1 #sub2 {
    width: 15% !important;
    height: 10% !important;
    top: 25%;
    transform: rotate(12deg);
  }

  .angled-box-1 p {
    top: 35%;
    width: 30%;
    left: 14%;
    font-size: 35px;
  }

  /* Angled Box 2 adjustments */
  .angled-box-2 #sub1 {
    width: 25% !important;
    height: 12% !important;
   transform: rotate(62deg);
  }

  .angled-box-2 #sub2 {
    top: 19%;
    width: 15% !important;
    height: 12% !important;
    transform: rotate(-20deg);
  }
  .angled-box-2 p {
    top: 58%;
    width: 30%;
    font-size: 35px;
  }

  /* Angled Box 3 adjustments */
  .angled-box-3{
    margin-top: 50px;
  }
  .angled-box-3 #sub1 {
    top: 20%;
    width: 15% !important;
    height: 9% !important;
  }

  .angled-box-3 #sub2 {
    width: 15% !important;
    height: 10% !important;
  }

  .angled-box-3 p {
    top: 38%;
    width: 30%;
    font-size: 35px;
  }

  /* Angled Box 4 adjustments */
  .angled-box-4 {
    margin-top: -50px;
    padding-top: 250px;
    min-height: 600px;
  }

  .angled-box-4 #main2 {
    padding-right: 18%;
    transform: rotate(5deg);

    bottom: -16%;
    right: -50px;
    border: 1px solid black;
  }

    .contact-form {
    margin-top: 25%;
  }
}

.card img {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.card img:hover {
  transform: scale(1.05);
  cursor: pointer;
}
