/* Universal Box-Sizing */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  overflow-x: hidden; /* Ensure no horizontal scrolling on the root elements */
  width: 100%; /* Ensure full width for the body */
}

/* General Container Adjustments */
.portfolio-container {
  max-width: 100vw;
  padding: 0 15px;
  box-sizing: border-box;
  overflow-x: hidden;
}

/* Adjust Image Sizes to Prevent Overflow */
img {
  width: 100%;
  height: auto;
  max-width: 100%;
}

/* General Styles */
h2 {
  font-size: 6vw;
  font-weight: bold;
  text-align: center;
  margin-bottom: 12px;
}

        .realisation-text {
              font-size: 20rem;
              line-height: 1;
            font-family: anton;
            font-weight: 200;
            letter-spacing: 0.1em;
            cursor: pointer;
            transition: all 0.3s ease-in-out;
            color: transparent;
             -webkit-text-stroke: 0.5px black; /* outer stroke only */
            text-stroke: 0.5px black;
            text-transform: uppercase;
            display: block;
            margin-left: 110px;
            margin-bottom: 4px;
        }

        /* Active/filled state */
        .realisation-text.active {
  color: black;
  -webkit-text-stroke-width: 0;
  text-stroke-width: 0;
  transform: translateX(60px);
  text-shadow: none;
}

        /* Hover effects */
        .realisation-text:hover {
            transform: translateX(10px);
        }

        .realisation-text.active:hover {
            transform: translateX(70px);
            -webkit-text-stroke-width: 0;
            text-stroke-width: 0;
        }

@media (max-width: 768px) {
  .realisation-text {
        font-size: 6vw;
    margin-left: -10px;
    text-align: left;
  }
}

@media (min-width: 768px) {
  h2 {
    font-size: 48px;
  }

  .realisation-text {
    font-size: 3.5rem;
  }
}


@media (max-width: 768px) {
  h2 {
    font-size: 24px;
  }

  .realisation-text {
    font-size: 9vw;
  }

  .portfolio-container {
    padding: 0 10px;
  }
}

/* Adjust Swiper Container */
.swiper-container {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

/* Opacity variations */
.fade-text {
  opacity: 0.8;
}

.more-fade-text {
  opacity: 0.6;
}

.most-fade-text {
  opacity: 0.5;
}

.plus-button {
  padding: 0.5rem 2rem;
  border: 2px solid black;
  border-radius: 10px;
  color: black;
  font-size: 1rem;
  font-weight: bold;
  display: flex;
  align-items: center;
  background: transparent;
  transition: background 0.3s, color 0.3s;
  margin-top: 2rem;
}

.plus-button:hover {
  background: black;
  color: white;
}

.plus-button svg {
  margin-left: 0.5rem;
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  transition: stroke 0.3s;
}

.plus-button:hover svg {
  stroke: white;
}

.plus-button-container {
  display: flex;
  justify-content: flex-end;
  width: 100%;
  padding-right: 36px;
}

@media (max-width: 768px) {
  .plus-button-container {
    padding-right: 10px;
  }
}

/* Swiper Pagination Styles */
.swiper-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 0;
}

.swiper-pagination-bullet {
  width: 16px;
  height: 16px;
  background: rgb(242, 200, 237);
  opacity: 1;
}

.swiper-pagination-bullet-active {
  background: white;
}

.tilted {
  transform: rotate(-15deg);
}

.badge {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  width: 200px;
  height: 100px;
  border: 2px solid white;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  color: white;
  font-weight: bold;
  font-size: 1rem;
  padding: 20px;
  line-height: 1.2;
}

.badge-container {
  position: absolute;
  bottom: -87px;
  left: 46%;
  transform: translateX(-50%) rotate(-15deg);
}

.services-plus-button {
  border: 2px solid white;
  border-radius: 10px;
  color: white;
  font-size: 1.2rem;
  font-weight: bold;
  background: transparent;
  transition: background 0.3s, color 0.3s;
  display: flex;
  align-items: center;
}

.services-plus-button:hover {
  background: black;
  color: white;
}

.services-plus-button svg {
  margin-left: 0.5rem;
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  transition: stroke 0.3s;
}

.services-plus-button:hover svg {
  stroke: white;
}

@media (max-width: 768px) {
  .services-header {
    flex-direction: row;
    justify-content: space-between;
    width: 100%;
  }

  .services-header h2 {
    font-size: 1.5rem;
  }

  .services-plus-button {
    font-size: 1rem;
    padding: 0.5rem 1rem;
  }
}

.writing-mode-vertical-rl {
  writing-mode: vertical-rl;
  text-orientation: mixed;
}

.start-label,
.finish-label {
  font-size: 5rem;
  font-weight: bold;
  height: calc(100% - 66px);
}

.start-label {
  position: absolute;
  bottom: -34px;
  left: -10px;
}

.finish-label {
  position: absolute;
  top: 74px;
  right: -13px;
}

.finish-label.finish {
  top: -32px;
}

@media (max-width: 768px) {
  .process-step {
    width: 60%;
    margin-left: auto;
    margin-right: auto;
  }
  .process-step.left {
    align-self: flex-start;
    margin-left: 0;
  }
  .process-step.right {
    align-self: flex-end;
    margin-right: 0;
  }
}

@media (max-width: 768px) {
  .home-image {
    margin-top: 20px; 
  }
}

.bg-gradient-to-r {
  background: linear-gradient(to right, #3b82f6, #ec4899);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.shadow-text {
  text-shadow: 0px -3px 10px rgba(0, 0, 0, 0.5);
}
.custom-margin {
  margin-bottom: 55px;
  margin-right: 90px;
}
.toggle-switch {
  position: relative;
  display: inline-block;
  width: 60px; 
  height: 24px;
}

.toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  transition: 0.4s;
  border-radius: 24px;
}

.slider:before {
  position: absolute;
  content: "";
  height: 20px;
  width: 20px;
  left: 2px;
  bottom: 2px;
  background-color: white;
  transition: 0.4s;
  border-radius: 50%;
}

input:checked + .slider {
  background-color: #4c51bf; 
}

input:checked + .slider:before {
  transform: translateX(26px);
}

/* Language labels */
.slider::after,
.slider::before {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 10px;
  font-weight: bold;
  color: white;
}

.slider::before {
  content: "FR";
  left: 8px;
}

.slider::after {
  content: "EN";
  right: 8px;
  opacity: 0;
  transition: opacity 0.4s;
}

input:checked + .slider::before {
  opacity: 0;
}

input:checked + .slider::after {
  opacity: 1;
}
#language-menu-small,
#language-menu-large {
  z-index: 1000; 
}
@media (min-width: 768px) {
  .home-content.custom-margin {
    margin-top: -100px;
  }
}

.band-container {
  position: relative;
  width: 100%;
  height: 284px; 
  background-color: black;
  display: flex;
  align-items: center;
  justify-content: center;
}
.band {
  position: absolute;
  width: 200%; 
  height: 92px; 
  background-color: white;
  color: black;
  font-weight: bold;
  font-size: 4rem; 
  display: flex;
  align-items: center;
  justify-content: center;
  transform: rotate(7deg); 
  overflow: hidden;
}
.band:nth-child(1) {
  transform: rotate(7deg); 
}
.band:nth-child(2) {
  transform: rotate(-7deg); 
}
.band span {
  display: inline-block;
  white-space: nowrap;
}
.band:nth-child(1) span {
  animation: moveTextLeft 20s linear infinite;
}
.band:nth-child(2) span {
  animation: moveTextRight 20s linear infinite;
}
@keyframes moveTextLeft {
  0% {
    transform: translateX(0%);
  }
  100% {
    transform: translateX(
      -20%
    ); 
  }
}
@keyframes moveTextRight {
  0% {
    transform: translateX(0%);
  }
  100% {
    transform: translateX(
      20%
    ); 
  }
}
/* Media queries for smaller screens */
@media (max-width: 768px) {
  .band-container {
    height: 200px; 
  }
  .band {
    height: 60px; 
    font-size: 2.5rem; 
  }
  .quote-button.translate-adjust {
    margin-left: 25px; 
  }
}
@media (max-width: 480px) {
  .band-container {
    height: 150px; 
  }
  .band {
    height: 45px; 
    font-size: 1.5rem; 
  }
  .quote-button.translate-adjust {
    margin-left: 25px; 
  }
}

.overflow-x-auto::-webkit-scrollbar {
  display: none;
}

.translate-adjust-development {
  top: 15px; /* Adjust this value as needed */
}

.card-width {
  width: 30rem;
}

@media (max-width: 768px) {
  .card-width {
      width: 20rem;
  }
}

@media (max-width: 480px) {
  .card-width {
      width: 23rem;
  }
}

@media (max-width: 768px) {
  .button-container-lower {
      bottom: 20px !important; 
      right: 25px !important;
  }
  .button-container-lower-development {
      bottom: 20px !important; 
  }
}
.scroll-arrow {
  background: transparent;
  border: none;
  cursor: pointer;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  transition: transform 0.3s ease-in-out;
}

.scroll-arrow-left {
  left: -50px; /* Adjust this value to control the distance from the cards */
}

.scroll-arrow-right {
  right: -50px; /* Adjust this value to control the distance from the cards */
}

.scroll-arrow:hover {
  transform: translateY(-50%) scale(1.2);
}

.services-container-wrapper {
  position: relative;
}

.services-container-wrapper .overflow-x-auto {
  padding: 0 60px; /* Adjust this value to control the padding inside the container */
}

.portfolio-custom-width {
    width: 90%;
     overflow-x: visible;
}

@media (min-width: 768px) {
    .portfolio-custom-width {
        width: 100%;
    }
}

