* {
  margin: 0px;
  padding: 0px;
  box-sizing: border-box;
}

@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");

:root {
  --lien: #ffffff;
  --primary: #618eff;
  --back: #040510;
  --white: #ffffff;
  --green: #026a38;
  --content: calc((100vw / 12) * 9.5);
  --xsmall: calc((100vw / 12) * 0.25);
  --small: calc((100vw / 12) * 0.5);
  --mid: calc(100vw / 12);
  --big: calc((100vw / 12) * 2);
  --maxheight: 1920px;
}

html {
  scroll-behavior: auto;
  overflow-x: hidden;
  font-family: "Poppins", sans-serif;
  color: var(--white);
  scroll-behavior: smooth;
}

/*body */
#bg-fade {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  opacity: 0;
  pointer-events: none;
  z-index: 100;
  transition: opacity 0.5s;
}

body {
  background: #f5f5f5;
  transition: background 0.7s;
}

body.bg-white {
  background: #d4d3e4;
}

body.bg-white .sec4 h2,
body.bg-white .sec4 h3,
body.bg-white .sec4 p {
  color: var(--back);
}

body {
  height: 100%;
  margin: 0px;
  padding: 0px;
  max-width: var(--maxheight);
  background-color: var(--back);
  background-size: 100%;
  scroll-behavior: smooth;
  margin: auto;
}

main {
  position: absolute;
  width: 100vw;
  left: 0;
  top: 0;

  scroll-behavior: smooth;
  overflow: visible;
}

ul,
li {
  list-style-type: none;
}

/* ===== FAQ Style dynamique et attrayant ===== */
.faq {
  border-radius: 24px;
  width: 100%;
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.1) inset;
  backdrop-filter: blur(7px);
  max-width: 680px;
}

.faq details {
  border-radius: 16px;
  margin-bottom: 1.6rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(163, 224, 38, 0.07);
  box-shadow: 0 1px 8px 0 rgba(163, 224, 38, 0.03) inset;
  transition: box-shadow 0.4s cubic-bezier(0.4, 2, 0.6, 1), background 0.3s;
  overflow: hidden;
  position: relative;
}

.faq details[open] {
  border-color: rgba(175, 177, 255, 0.18);
}

.faq summary {
  font-size: 1.13rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  cursor: pointer;
  padding: 1.35rem 2.2rem 1.35rem 2.9rem;
  position: relative;
  outline: none;
  display: flex;
  align-items: center;
  transition: color 0.25s, background 0.25s;
  user-select: none;
  background: transparent;
  justify-content: left;
}

.faq summary:hover {
  color: var(--lien);
  background: rgba(var(--back), 0.07);
  box-shadow: 0 2px 8px 0 rgba(var(--lien), 0.03) inset;
}

@keyframes breathing {
  0% {
    opacity: 1;
    width: 70%;
  }
  50% {
    opacity: 0.5;
    width: 68%;
  }
  100% {
    opacity: 1;
    width: 70%;
  }
}

.hero .illustration {
  /*animation: breathing ease-in-out 3s infinite;*/
  animation-delay: 1s;
  opacity: 0.8;
}

/* Flèche animée subtile */
.faq summary::before {
  content: "";
  display: inline-block;
  width: 0.85rem;
  height: 0.85rem;
  margin-right: 1.1rem;
  border-right: 2px solid #0b5ff6;
  border-bottom: 2px solid #0b5ff6;
  border-radius: 1px;
  transform: rotate(45deg);
  transition: transform 0.4s, border-color 0.4s;
  opacity: 0.85;
}

.faq details[open] summary::before {
  transform: rotate(-90deg) scale(1.08);
  opacity: 1;
}

.faq p {
  color: #f4fff0;
  font-size: 1.06rem;
  padding: 30px;
  line-height: 1.75;
  animation: fadeInFAQ 0.7s cubic-bezier(0.4, 2, 0.6, 1);
  font-weight: 400;
  letter-spacing: 0.01em;
}

@keyframes fadeInFAQ {
  from {
    opacity: 0;
    transform: translateY(16px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 600px) {
  .faq {
    padding: 1.2rem 0.3rem;
    margin: 0;
  }

  footer .content {
    gap: 5rem 0rem !important;
  }

  .faq summary,
  .faq p {
    padding-left: 1.2rem;
    padding-right: 1.2rem;
  }
}

.alt {
  color: #ff0f00;
}

section {
  margin: var(--mid) 0 0 0;
  position: relative;
  width: 100%;
}

section .content,
footer .content {
  max-width: var(--maxheight);
  width: 80%;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  align-items: center;
  gap: var(--xsmall);
}

a {
  color: var(--lien);
  text-decoration: none;
}

a:hover {
  color: var(--lien);
}

h1 {
  font-weight: 500;
  font-size: 48px;
}

h2 {
  font-size: 44px;
  font-weight: 400;
}

h2 span {
  font-weight: 500;
}

h3 span {
  font-weight: 500;
}

p {
  font-size: 18px;
}

header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  margin: 0;
  backdrop-filter: blur(5px);
  background: linear-gradient(
    0deg,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 0.5) 100%
  );
}

header .content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: var(--content);
  margin: auto;
  padding: 15px;
}

header .logo {
  display: flex;
  justify-content: center;
  align-items: center;
}

header .left {
  display: inline-flex;
  gap: var(--xsmall);
  align-items: center;
  justify-content: center;
}

header div .logo img {
  width: 150px;
  margin: auto;
}

header nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: fit-content;
  gap: var(--xsmall);
}

header nav a {
  color: var(--white);
}

header nav a:hover,
header nav a.active {
  font-weight: 500;
  color: var(--white);
}

button {
  background: linear-gradient(
    247deg,
    #0b5ff6ad 5% 0%,
    rgba(255, 255, 255, 0.22) 30% 100%
  );
  border-radius: 7px;
  padding: 12px 18px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 600;
  transition: all 0.2s ease-in-out;
  color: var(--white);
  cursor: pointer;
  border: none;
}

button svg {
  fill: var(--white);
  transition: all 0.2s ease-in-out;
}

button.scnd {
  background: rgba(255, 255, 255, 0.22);
  color: var(--white);
}

button.scnd svg {
  transform: rotate(90deg);
}

button:hover {
  scale: 1.02;
  font-size: 18px;
  transition: all 0.2s ease-in-out;
}

button:hover svg {
  margin-right: -10px;
  margin-left: 10px;
  transition: all 0.2s ease-in-out;
}

button.white {
  background: var(--white);
  color: var(--back);
}

button.white svg {
  fill: var(--back);
}

/* Language dropdown */
.lang-dropdown {
  position: relative;
  margin-left: 12px;
  z-index: 200;
}

.lang-dropdown .lang-current {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 16px;
  font-size: 14px;
  font-weight: 600;
  font-family: "Poppins", sans-serif;
  color: var(--back);
  background: var(--white);
  border: none;
  border-radius: 7px;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
  text-decoration: none;
}

.lang-dropdown .lang-current:hover {
  scale: 1.02;
}

.lang-dropdown .lang-current .flag {
  display: none;
}

.lang-dropdown .lang-current .lang-arrow {
  font-size: 10px;
  transition: transform 0.2s ease;
  margin-left: 2px;
}

.lang-dropdown:hover .lang-current .lang-arrow,
.lang-dropdown.open .lang-current .lang-arrow {
  transform: rotate(180deg);
}

.lang-dropdown .lang-options {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  background: var(--white);
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
  min-width: 130px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
}

.lang-dropdown:hover .lang-options,
.lang-dropdown.open .lang-options {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.lang-dropdown .lang-options a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  font-size: 14px;
  font-weight: 500;
  color: var(--back);
  text-decoration: none;
  transition: background 0.15s;
  font-family: "Poppins", sans-serif;
}

.lang-dropdown .lang-options a:hover {
  background: rgba(97, 142, 255, 0.1);
}

.lang-dropdown .lang-options a.active-lang {
  background: rgba(97, 142, 255, 0.15);
  font-weight: 600;
}

.lang-dropdown .lang-options .flag {
  font-size: 18px;
  line-height: 1;
}

/* Mobile language dropdown */
.mobile-menu .lang-dropdown {
  margin-top: 20px;
  margin-left: 0;
}

.mobile-menu .lang-dropdown .lang-current {
  padding: 12px 24px;
  font-size: 16px;
}

.mobile-menu .lang-dropdown .lang-options {
  position: relative;
  top: 6px;
  right: auto;
  background: rgba(255, 255, 255, 0.1);
  box-shadow: none;
  border-radius: 10px;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, opacity 0.3s ease;
}

.mobile-menu .lang-dropdown.open .lang-options {
  max-height: 200px;
  opacity: 1;
  visibility: visible;
  transform: none;
}

.mobile-menu .lang-dropdown .lang-options a {
  color: var(--white);
  padding: 12px 20px;
}

.mobile-menu .lang-dropdown .lang-options a:hover {
  background: rgba(255, 255, 255, 0.1);
}

.mobile-menu .lang-dropdown .lang-options a.active-lang {
  background: rgba(255, 255, 255, 0.15);
}

.hero {
  /* Couleur de fond de secours pendant le chargement du background */
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  height: 110vh;
  margin: 0;
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  position: relative;  
}

.hero::before {
  content: "";
  position: absolute;
  background-image: url("/img/heroback.png");
  inset: 0;
  z-index: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  pointer-events: none;
  width: 100vw;
  transform: translateX(-50%);
  left: 50%;
  height: 120vh; /* même hauteur que .hero */
  animation: fadeInBg 1.2s cubic-bezier(0.5, 0, 0.1, 1) 0.2s forwards;
}

.hero::after {
  content: "";
  position: absolute;
  background: #0b1a2c; /* adapte cette couleur à ton design */
  inset: 0;
  z-index: -1;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat; 
  pointer-events: none;
  width: 100vw;
  transform: translateX(-50%);
  left: 50%;
  height: 110vh; /* même hauteur que .hero */ 
}

@keyframes fadeInBg {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.hero .content {
  margin-top: 15vh;
  z-index: 1;
}

.hero .content .text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: left;
  gap: 5vh;
  z-index: 1;
}

.hero .content .text ul {
  display: flex;
  flex-direction: row;
  justify-content: left;
  align-items: left;
  gap: 2vh;
}

.hero .content .text ul li {
  font-size: 16px;
  background: rgba(255, 255, 255, 0);
  border-radius: 7px;
  padding: 3px 18px 3px 8px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
  border: 0.3px solid rgba(255, 255, 255, 0.126);
  color: var(--white);
}

.hero .title {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: left;
  gap: 1vh;
}

.hero .content .text ul li svg {
  max-width: 40px;
  width: 4vh;
}

.sec5 svg {
  width: 40px;
}

.hero .content .actions {
  display: flex;
  flex-direction: row;
  justify-content: left;
  align-items: left;
  gap: 20px;
  margin-top: 20px;
}

.hero .content .logo {
  width: 20%;
  max-width: 400px;
  flex: 1;
}

.hero .content .logo img {
  height: 100%;
  max-height: 100px;
}

.hero .content .text {
  grid-column-start: 1;
  grid-column-end: -1;
  height: 47vh;
}

.hero .content .text h1 {
  font-size: 42px;
}

.hero .content .text p {
  font-size: 32px;
}

.hero .illustration {
  position: absolute;
  bottom: 0%;
  left: 50%;
  transform: translateX(-25%);
  width: 120vh;
}

.hero .illustration svg {
  width: 100%;
  height: 100%;
}

.sec2 { 
  margin-top: -15vh;
  padding-top: 10%;
}

.sec2 .content {
  z-index: 1;
  position: relative;
}

.sec2::before {
  margin-top: -20vh;
  content: "";
  position: absolute; 
  background: linear-gradient(
    0deg,
    #040510 50% 0%,
    rgba(255, 255, 255, 0) 100% 100%
  );
  width: 100vw; 
  height: calc(20vh + 100%);
  transform: translateX(-50%);
    left: 50%;
}

.sec2 .content h2 {
  grid-column: 1/ -1;
  text-align: center;
}

.sec3 {
  margin-top: var(--small);
}

.sec3 ol {
  grid-column: 2/ -2;
  display: flex;
  flex-direction: column;
  justify-content: left;
  align-items: center;
}

.sec3 ol li {
  display: flex;
  list-style-type: none;
  width: 100%;
  justify-content: left;
  align-items: center;
  gap: -40px;
  position: relative;
  margin-top: 40px;
}

.sec3 ol li .numb {
  font-size: 75px;
  font-weight: 500;
  margin-right: -10px;
  z-index: 10;
}

.sec3 ol li:nth-child(2),
.sec3 ol li:nth-child(4) {
  justify-content: right;
}

.sec3 ol li .card {
  display: flex;
  flex-direction: column;
  justify-content: left;
  align-items: left;
  gap: 10px;
  background: linear-gradient(287deg, #181818 0%, #040510 100%);
  padding: 20px 30px;
  position: relative;
  overflow: hidden;
  border-radius: 15px;
  width: 60%;
  border: #252636 solid 01px;
}

.sec3 ol li:nth-child(2) .card::before,
.sec3 ol li:nth-child(4) .card::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  transform: rotate(180deg);
  opacity: 0.6;
  background-image: url("data:image/svg+xml;utf8,<svg width='308' height='386' viewBox='0 0 308 386' fill='none' xmlns='http://www.w3.org/2000/svg'><path d='M308 93.2803V202.141L210.051 103.925C195.432 88.3441 175.907 79.9342 154.902 79.9342C133.897 79.9342 115.913 87.7347 101.741 102.015C87.4873 116.214 79.7017 135.106 79.7017 155.278V386H0V157.451C0 71.4431 68.8139 0.853173 153.341 0C155.166 0 156.889 4.47035e-08 158.532 0.0812546C195.878 0.954742 231.583 16.6166 259.157 44.2431L308 93.26V93.2803Z' fill='url(%23paint0_linear_1015_112)' fill-opacity='0.32'/><defs><linearGradient id='paint0_linear_1015_112' x1='305.344' y1='240.575' x2='98.4822' y2='196.067' gradientUnits='userSpaceOnUse'><stop offset='0.01' stop-color='%23025CF3' stop-opacity='0'/><stop offset='1' stop-color='%23025CF3'/></linearGradient></defs></svg>");
  background-repeat: no-repeat;
  background-size: cover;
  width: 60%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

.sec3 ol li:nth-child(3) .card::before,
.sec3 ol li:nth-child(1) .card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  background-size: cover;
  opacity: 0.6;
  width: 60%;
  height: 100%;
  background-image: url("data:image/svg+xml;utf8,<svg width='308' height='386' viewBox='0 0 308 386' fill='none' xmlns='http://www.w3.org/2000/svg'><path d='M308 93.2803V202.141L210.051 103.925C195.432 88.3441 175.907 79.9342 154.902 79.9342C133.897 79.9342 115.913 87.7347 101.741 102.015C87.4873 116.214 79.7017 135.106 79.7017 155.278V386H0V157.451C0 71.4431 68.8139 0.853173 153.341 0C155.166 0 156.889 4.47035e-08 158.532 0.0812546C195.878 0.954742 231.583 16.6166 259.157 44.2431L308 93.26V93.2803Z' fill='url(%23paint0_linear_1015_112)' fill-opacity='0.32'/><defs><linearGradient id='paint0_linear_1015_112' x1='305.344' y1='240.575' x2='98.4822' y2='196.067' gradientUnits='userSpaceOnUse'><stop offset='0.01' stop-color='%23025CF3' stop-opacity='0'/><stop offset='1' stop-color='%23025CF3'/></linearGradient></defs></svg>");
  background-repeat: no-repeat;
  z-index: 0;
  pointer-events: none;
}

.sec3 ol li .card img {
  width: 80px;
  position: absolute;
  scale: 1.2;
  top: -20px;
  right: 30px;
}

.sec3 ol li .card p {
  width: 80%;
  z-index: 1;
}

.sec3 ol li .card h3 {
  z-index: 1;
}

.chemin {
  display: block;
  position: absolute;
  z-index: 10;
  width: 50%;
  height: 2px;
  left: calc(40px + 7%);
  bottom: 50%;
  border-bottom: 2px solid rgba(255, 255, 255, 0.7);
  opacity: 0;
  transform: scaleX(0);
  transform-origin: left;
  z-index: -1;
  border-radius: 15px;
}

.chemin.chemin-3 {
  right: 7%;
  left: auto;
  transform-origin: right;
}

.chemin.chemin-3 {
  right: 7%;
  left: auto;
  transform-origin: right;
}

.sec3 ol li {
  position: relative;
}

.chemin.chemin-2,
.chemin.chemin-4 {
  width: 50%;
  left: calc(40px + 7%);
  bottom: 50%;
  border-left: 2px solid rgba(255, 255, 255, 0.126);
  border-bottom: 2px solid rgba(255, 255, 255, 0.126);
  height: 0;
  border-radius: 0px 0px 0px 15px;

  /* sera animé vers 200% */
}

.chemin.chemin-3 {
  width: 50%;
  right: 7%;
  border-radius-bottom-right: 15px;
  bottom: 50%;
  border-right: 2px solid rgba(255, 255, 255, 0.126);
  border-bottom: 2px solid rgba(255, 255, 255, 0.126);
  height: 0;
  border-radius: 0px 0px 15px 0px;
  /* sera animé vers 100% */
}

.sec4 {
  padding-bottom: 100px;
  padding-top: 100px;
  overflow: hidden;
}

.sec4 .content {
  gap: 30px;
}

body .sec4 .content h2.alt {
  color: var(--white);
  font-weight: 500;
  text-align: center;
}

body.bg-white .sec4 .content h2.alt {
  color: var(--back);
}

.sec4 .content h2 {
  color: var(--back);
}

.sec4 .content p {
  color: var(--back);
}

.sec4 .content h3 {
  color: var(--back);
  font-weight: 400;
  font-size: 32px;
}

.sec4 button {
  background: var(--back);
  color: var(--white);
}

.sec4 .content.w1 {
  margin-bottom: 100px;
}

.sec4 .content.w1 .txt {
  grid-column: 1/6;
}

.sec4 .content.w1 .txt h2.grey {
  color: #6f6f6f;
}

.sec4 .content.w1 .txt h2.grey span {
  text-decoration: line-through;
  font-weight: 400;
}

.sec4 .content.w1 .illustration {
  grid-column: 7/ -1;
  position: relative;
  height: 100%;
  align-items: flex-start;
  display: flex;
}

.sec4 .content.w1 .illustration .down {
  width: 50%;
}

header .logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

header .available {
  padding: 5px;
  border-radius: 7px;
  background: rgba(0, 0, 0, 0.472);
  display: flex;
  align-items: center;
  gap: 5px;
}

header .available p {
  font-size: 12px;
  font-weight: 500;
}

header .available span {
  background: greenyellow;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
}

.sec4 .content.w1 .illustration .up {
  background: rgba(255, 255, 255, 0.299);
  border-radius: 60px 60px 60px 17px;
  z-index: 2;
  width: 70%;
  backdrop-filter: blur(2px);
  box-shadow: 0px 0px 100px rgb(0 0 0 / 39%);
  margin-left: -20%;
  margin-top: 20%;
}

.sec4 .content p {
  padding-top: 20px;
}

.sec4 .content.w2 {
  width: 100%;
  position: relative;
}

.sec4 .content.w2 .back {
  position: absolute;
  left: 20%;
  bottom: 20%;
  height: 100%;
  z-index: -1;
  opacity: 0.3;
}

.sec4 .content.w2 .imgs {
  grid-column: 1/ -1;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: -20px;
}

.sec4 .content.w0 h2 {
  grid-column: 1/ -1;
  margin-bottom: 100px;
}

.sec4 .content.w2 .imgs img {
  width: 150px;
  height: 150px;
  max-width: 30vw;
  max-height: 30vw;
  object-fit: cover;
  border-radius: 50%;
  margin: 0px -10px 0 -10px;
}

.sec4 .content.w2 .txt {
  grid-column: 4/ -4;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.sec4 .content.w2 .txt button {
  margin-top: 20px;
}

.sec5 .content {
  margin-top: var(--small);
}

.sec5 .txt {
  grid-column: 2/11;
}

.sec5 p {
  font-size: 38px;
  font-weight: 400;
  margin-bottom: 20px;
}

.sec5 h3 {
  color: grey;
  font-size: 32px;
}

.sec5 .services {
  grid-column: 1/13;
  margin-top: var(--small);
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 20px;
  position: relative;
  height: 600px;
}

.sec5 .service1 {
  grid-column: 1/5;
  grid-row: 1/3;
  background-image: url("/img/web.png");
  background-size: cover;
  background-position: center;
  padding: 20px;
  border-radius: 15px;
  box-shadow: 0px 0px 100px rgb(0 0 0 / 39%);
  border: 0.3px solid rgba(255, 255, 255, 0.126);
}

.sec5 .service2 {
  grid-column: 5/9;
  grid-row: 1/3;
  background-image: url("/img/net.png");
  background-size: cover;
  background-position: center;
  padding: 20px;
  border-radius: 15px;
  box-shadow: 0px 0px 100px rgb(0 0 0 / 39%);
  border: 0.3px solid rgba(255, 255, 255, 0.126);
}

.sec5 .service3 {
  grid-column: 9/13;
  grid-row: 1/2;
  background-image: url("/img/phone.png");
  background-size: cover;
  background-position: center;
  padding: 20px;
  border-radius: 15px;
  box-shadow: 0px 0px 100px rgb(0 0 0 / 39%);
  border: 0.3px solid rgba(255, 255, 255, 0.126);
}

.sec5 .service4 {
  grid-column: 9/13;
  grid-row: 2/3;
  background-image: url("/img/print.png");
  background-size: cover;
  background-position: center;
  padding: 20px;
  border-radius: 15px;
  box-shadow: 0px 0px 100px rgb(0 0 0 / 39%);
  border: 0.3px solid rgba(255, 255, 255, 0.126);
}

.service-hover-text {
  opacity: 0;
  pointer-events: none;
  position: absolute;
  left: 0%;
  bottom: 0%;
  background: rgba(0, 0, 0, 0.664);
  backdrop-filter: blur(2px);
  color: #fff;
  padding: 18px 24px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 500;
  box-shadow: 0 4px 24px 0 rgba(0, 0, 0, 0.127);
  transition: opacity 0.32s, transform 0.32s;
  z-index: 10;
  width: 100%;
  text-align: left;
  line-height: 1.5;
  border-radius: 15px;
}
.service-hover-btn {
  background: var(--back);
  color: var(--white);
  margin-top: 20px;
}

.service:hover {
  box-shadow: 0px 0px 100px rgb(0 0 0 / 39%);
  border: 0.3px solid rgba(255, 255, 255, 0.126);
}

.service1,
.service2,
.service3,
.service4 {
  position: relative;
  overflow: visible;
  overflow: hidden;
}

.service1::before,
.service2::before,
.service3::before,
.service4::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 110%;
  height: 110%;
  background: linear-gradient(
    to bottom,
    rgba(59, 3, 3, 0.3),
    rgba(13, 6, 71, 0.575)
  );
  z-index: 9;
}

.service1:hover .service-hover-text,
.service2:hover .service-hover-text,
.service3:hover .service-hover-text,
.service4:hover .service-hover-text {
  opacity: 1;
  pointer-events: auto;
}

.service1:hover,
.service2:hover,
.service3:hover,
.service4:hover {
  box-shadow: 0px 0px 100px rgb(0 0 0 / 39%);
  border: 0.3px solid rgb(255, 255, 255);
}

.sec5 .services h4 {
  font-size: 16px;
  background: rgba(0, 0, 0, 0.559);
  border-radius: 7px;
  padding: 3px 8px;
  display: flex;
  backdrop-filter: blur(5px);
  z-index: 10;
  width: fit-content;
  align-items: center;
  position: relative;
  gap: 10px;
  font-weight: 500;
  border: 0.3px solid rgba(255, 255, 255, 0.434);
  color: var(--white);
}

.sec6 {
  margin: 100px auto;
}

.sec6 h3 {
  grid-column: 2/ 6;
  font-size: 32px;
  font-weight: 400;
  text-align: center;
  text-align: left;
}

.sec6 .faq {
  grid-column: 6/ -1;
  margin-top: 0px;
}

.sec6 .faq.left {
  grid-column: 1/6;
}

.contact ul li a:hover {
  background: rgba(255, 255, 255, 0.06);
}

.contact ul {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact ul li a {
  color: var(--white);
  text-decoration: none;
  font-weight: 500;
  font-size: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: all 0.18s ease;
  border-radius: 7px;
  padding: 15px;
  border: 0.3px solid rgba(255, 255, 255, 0.126);
}

.contact h3 {
  font-size: 32px;
}
.contact p {
  font-size: 18px;
}
.contact form {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

section.contact .content {
  align-items: start;
}

section.contact.hero {
  overflow: visible;
}

.contact .left {
  grid-column: 1 / 5;
  grid-row: 1;
  align-self: start; /* indispensable en grid */
  position: sticky; /* une seule position */
  top: 180px; /* ajuste selon la hauteur du header */
  z-index: 1;

  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  /* évite le margin sur l’élément sticky */
  margin-top: 0;
  padding: 50px 0px;
}

.contact .right {
  z-index: 2;
  margin-top: 10%;
  border-radius: 15px;
  padding: 20px;
  background: rgba(0, 0, 0, 0.06);
  grid-row: 1;
}

.hero.contact::before { 
  position: fixed;
   
}

.contact form .meta .counter {
  transform: translateY(-100%);
  padding-left: 10px;
}

.contact .right {
  grid-column: 6/ -1;
  margin-top: 10%;
}

.contact form ul {
  display: flex;
  flex-direction: row;
  justify-content: left;
  align-items: left;
  gap: 2vh;
  padding-top: 20px;
  margin: 0px;
}

.contact form button {
  width: 100%;
}

.contact form ul li {
  font-size: 16px;
  background: rgba(255, 255, 255, 0);
  border-radius: 7px;
  padding: 15px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
  border: 0.3px solid rgba(255, 255, 255, 0.126);
  color: var(--white);
}

.contact form ul li svg {
  max-width: 40px;
  width: 4vh;
}

/* ===== Contact form: floating labels inside inputs ===== */
.contact form .field {
  position: relative;
}

.contact form .field input,
.contact form .field textarea {
  width: 100%;
  padding: 20px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(25, 24, 24, 0.339);
  color: var(--white);
  outline: none;
}

.contact form .field label {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 14px;
  color: rgba(255, 255, 255, 0.85);
  pointer-events: none;
  transition: all 0.18s ease;
  padding: 0 6px;
}

.contact form .field .labelmessage {
  position: absolute;
  left: 12px;
  top: 20%;
  transform: translateY(-50%);
  font-size: 14px;
  color: rgba(255, 255, 255, 0.85);
  pointer-events: none;
  transition: all 0.18s ease;
  padding: 0 6px;
}

.contact small {
  position: absolute;
  left: 0;
  bottom: 0;
  transform: translateY(100%);
  font-size: 12px;
}

/* Float label on focus or when the field has content (placeholder hack) */
.contact form .field:focus-within label,
.contact form .field input:not(:placeholder-shown) + label,
.contact form .field textarea:not(:placeholder-shown) + label {
  top: -8px;
  transform: none;
  font-size: 12px;
  background: var(--back);
  opacity: 0.95;
}

/* Support for browser autofill */
.contact form .field input:-webkit-autofill + label {
  top: -8px;
  transform: none;
  font-size: 12px;
  background: var(--back);
  border-radius: 7px;
  opacity: 0.95;
}

/* Optional: icon inside field (right side) */
.contact form .field .icon {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0.85;
  pointer-events: none;
}

footer .content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 100px;
}

footer h1 {
  margin-top: 70px;
  font-size: 160px;
  font-weight: 700;
  color: transparent;
  -webkit-text-stroke: 3px #fff;
  text-stroke: 3px #fff;
  letter-spacing: -3px;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 20px;
  line-height: 0.7;
}

footer h1 span {
  font-size: 120px;
}

footer ul {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 50px;
}

footer ul li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
}

footer .txt {
  grid-column: 1/ 6;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 20px;
}

footer .mentions {
  width: 100%;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 20px;
}

footer .mentions p {
  font-size: 16px;
  color: var(--white);
}

button {
  font-weight: 500;
  cursor: pointer;
  overflow: hidden;
  display: inline-block;
  position: relative;
  width: fit-content;
  gap: 10px;
}

button svg {
  padding-left: 10px;
  width: 33px;
}

/* Responsive */
@media (max-width: 1024px) {
  header {
    display: none;
  }

  section.topFade {
    margin-top: -20vh !important; 
  }

  .illustration svg {
    height: 160%;
  }

  .hero .content .text h1 {
    font-size: 6vw;
  }

  .hero .content .text p {
    font-size: 16px;
  }

  .hero::before, .hero::after {
    height: 100vh;
  }

  .hero .content {
    width: 90vw !important;
    max-width: 100vw !important;
    margin: 0 auto;
    height: 70vh;
  }

  .hero {
    height: auto;
    min-height: 100vh;
    padding: 5vw 0 12vw 0;
    overflow: hidden;
  }
  .hero .illustration {
    width: 125vw !important;
    margin: 0 auto;
    display: flex;
    align-items: flex-end;
    transform: translateX(-50%);
  }
  .hero .content .text {
    gap: 6vw;
    align-items: flex-start;
    padding: 0 4vw;
  }
  .hero .content .text ul {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: left;
    gap: 2vw;
    padding: 0;
  }

  .hero .content .logo img {
    min-width: 120px;
    max-width: 50vw;
    margin: 0 auto 3vw 0;
    display: block;
  }

  /* Redimensionnement des textes principaux */
  h1,
  .hero h1,
  .sec5 p {
    font-size: 6vw;
  }
  h2,
  .hero h2 {
    font-size: 6vw;
  }
  h3,
  .hero h3 {
    font-size: 4.5vw;
  }
  p,
  .hero p,
  .hero .content .text ul li {
    font-size: 14px;
  }
  button,
  .hero button {
    font-size: 16px;
    padding: 16px 32px;
    backdrop-filter: blur(10px);
  }
  nav a {
    font-size: 4vw;
  }

  .mobile-menu a {
    font-size: 8vw;
  }

  .hero .content .actions {
    justify-content: center;
    flex-direction: column-reverse;
    gap: 3vw;
    align-items: left;
  }

  .sec2 {
    margin-top: -5vh;
  }

  section .content,
  footer .content {
    max-width: var(--maxheight);
    width: 90%;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    align-items: center;
    gap: var(--xsmall);
  }

  .hero .content .text ul li svg {
    width: 26px;
  }

  .chemin.chemin-2,
  .chemin.chemin-4 {
    left: calc(20px + 7%);
  }

  .sec3 ol li .card {
    width: 100%;
    padding: 4vw;
  }

  .sec3 ol li .card img {
    width: 80px;
    position: absolute;
    scale: 1.2;
    top: -20px;
    right: 10px;
    opacity: 0.6;
  }
  .sec3 ol li .card h3 {
    font-size: 14px;
  }

  .sec3 ol li .numb {
    font-size: 35px;
    font-weight: 500;
  }

  .sec3 ol {
    grid-column: 1 / -1;
  }

  .sec4 {
    padding-bottom: 5vw;
    padding-top: 5vw;
  }

  .sec4 .content.w0 h2 {
    grid-column: 1 / -1;
    margin-bottom: 50px;
  }

  .sec4 .content.w1 .txt {
    grid-column: 1 / -1;
    grid-row: 2 /3;
  }

  .sec4 .content.w1 .illustration {
    grid-column: 1 / -1;
    grid-row: 1 / 2;
  }

  .sec4 .content.w1 {
    margin-bottom: 100px;
  }

  .sec4 .content .txt h2 {
    font-size: 6vw;
  }

  .sec4 .content .txt p {
    font-size: 14px;
  }

  .sec4 .content.w2 .txt {
    grid-column: 1 / -1;
    grid-row: 2 / 3;
  }
  .sec4 .content.w2 {
    width: 90%;
  }
  .sec4 .content.w2 .imgs {
    grid-column: 1 / -1;
    grid-row: 1 / 2;
  }

  .sec5 .txt {
    grid-column: 1 / -1;
    grid-row: 1 / 2;
  }

  .sec5 .services {
    height: 900px;
  }

  .sec5 .service1 {
    grid-column: 1 / -1;
    grid-row: 1/ 2;
  }

  .sec5 .service2 {
    grid-column: 1 / -1;
    grid-row: 2 / 3;
  }

  .sec5 .service3 {
    grid-column: 1 / -1;
    grid-row: 3 / 4;
  }

  .sec5 .service4 {
    grid-column: 1 / -1;
    grid-row: 4 / 5;
  }

  .sec6 h3 {
    grid-column: 1 / -1;
    grid-row: 1 / 2;
  }

  .sec6 .faq {
    grid-column: 1 / -1;
    grid-row: 2 / 3;
  }

  footer .txt {
    grid-column: 1 / -1;
  }

  footer h1 {
    display: flex;
    flex-direction: column;
    font-size: 25vw;
    line-height: 0.7;
    letter-spacing: -3px;
    margin-bottom: 20px;

    -webkit-text-stroke: 1px #fff;
    text-stroke: 1px #fff;
  }

  footer h1 span {
    font-size: 22vw;
  }

  footer h2 {
    font-size: 4vw;
  }

  footer ul {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 40px;
    grid-column: 1 / -1;
  }
  footer .mentions {
    grid-column: 1 / -1;

    flex-direction: column;
    gap: 10px;
  }

  footer ul li {
    gap: 20px;
  }

  footer ul li img {
    width: 50px;
    height: 50px;
  }

  footer .mentions p {
    font-size: 12px;
  }
}

/* --- MENU MOBILE --- */
.menu-toggle {
  display: none;
  z-index: 200;
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}
.menu-toggle span {
  display: block;
  width: 30px;
  height: 4px;
  background: #ffffff;
  border-radius: 2px;
  transition: all 0.3s;
}
.menu-toggle.open span:nth-child(1) {
  transform: translateY(15px) rotate(45deg);
}
.menu-toggle.open span:nth-child(2) {
  opacity: 0;
}
.menu-toggle.open span:nth-child(3) {
  transform: translateY(-5px) rotate(-45deg);
}

.mobile-menu {
  display: none;
  position: fixed;
  z-index: 150;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgb(0 0 0 / 51%);
  backdrop-filter: blur(22px);
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 2.5rem;
  font-size: 2rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: opacity 0.3s;
  opacity: 0;
  pointer-events: none;
}

.mobile-menu.open {
  display: flex;
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu a {
  color: #ffffff;
  text-decoration: none;
  transition: color 0.2s;
}
.mobile-menu a.active,
.mobile-menu a:hover {
  color: #0077ff;
}

body.menu-open {
  overflow: hidden;
}

.mobile-header {
  z-index: 200;
  padding: 2vw;
  display: none;
  justify-content: space-between;
  align-items: center;
  position: fixed;
  width: 100%;
}

.mobile-logo {
  display: none;
  z-index: 210;
  width: 150px;
  height: 40px; 
  pointer-events: none;
  transition: opacity 0.3s, transform 0.3s;
}
.mobile-logo img {
  width: 100%;
  height: auto;
  display: block;
}

@media (max-width: 1024px) {
  .mobile-logo {
    display: block;
    display: flex; 
  }
  body.menu-open .mobile-logo {
    opacity: 0 !important;
    pointer-events: none !important;
  }

  .mobile-header {
    display: flex;
  }
  header {
    display: none;
  }
  .menu-toggle {
    display: flex;
  }
  .mobile-menu {
    display: flex;
  }

  .hero .content .text {
    grid-column-start: 1;
    grid-column-end: -1;
    height: fit-content;
    padding-top: 75px;
  }

  .sec2::before {
    margin-top: -10vh;
    content: "";
    position: absolute;
    background: linear-gradient(0deg, #040510 50% 0%, rgba(255, 255, 255, 0) 100% 100%);
    width: 100vw;
    height: calc(20vh + 100%);
    transform: translateX(-50%);
    left: 50%;
}
}

/*service */

.hero.service-page {
  height: fit-content;
}

.hero.service-page .illustrate {
  position: absolute;
  right: 0;
  bottom: 0;

  height: 100%;
}

.hero.service-page .content {
  margin-top: 10vh;
  margin-bottom: 10vh;
}

.hero.service-page .illustrate svg {
  height: 100%;
}

.hero.service-page .category {
  width: 100px;
}

section.topFade {
  margin-top: -12vh;
  padding-top: 10%;
  position: relative;
}

section.topFade .content::before {
  z-index: 0;
  content: "";
  position: absolute;  
  height: 100%;
  background: linear-gradient(0deg, #040510 60%, rgba(255, 255, 255, 0) 100%);
  width: 100vw; 
  transform: translateX(-50%);
    left: 50%;
}


.topFade::before {
  z-index: 0;
  content: "";
  position: absolute;  
  height: 30%;
  background: linear-gradient(0deg, #040510 60%, rgba(255, 255, 255, 0) 100%);
  width: 100vw; 
  transform: translateX(-50%);
    left: 50%;
}

.secLeftRight .txt {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: left;
  gap: 20px;
}

.secLeftRight .txt h2 {
  font-size: 38px;
  text-align: left;
}

.secLeftRight .txt p {
  font-size: 16px;
}

.secLeftRight .imgHover {
  width: 100%;
  height: 100%;
}

.secLeftRight .left {
  grid-column: 1/ 7;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 40px;
  height: 100%;
  z-index: 2;
  padding: 20px;
}

.service-page.secLeftRight .right {
  grid-column: 7/ 13;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 40px;
  height: 100%;
  z-index: 2;
  padding: 20px;
}

.imgHover {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
}

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

.imgHover::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to bottom,
    rgba(59, 3, 3, 0.2),
    rgba(13, 6, 71, 0.375)
  );
  z-index: 9;
}

.secDetails h2 {
  grid-column: 1/ -1;
  text-align: center;
  font-weight: 500;
}

.secDetails .leftCard {
  grid-column: 1/ 7;
}

.secDetails .rightCard {
  grid-column: 7/ 13;
}

.secDetails .cardDetails img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.secDetails .cardDetails li::marker {
  list-style-type: circle;
  padding-left: 20px;
}

.secDetails .cardDetails {
  background-color: rgba(255, 255, 255, 0.133);
  border-radius: 30px;
  overflow: hidden;
}

.secDetails .cardDetails h3 {
  font-size: 24px; 
  font-weight: 400;
}

.secDetails .cardDetails p {
  font-size: 14px;
}

.secDetails .cardDetails .txt {
  padding: 20px;
  display: flex;
  gap: 10px;
  flex-direction: column;
}

.secDetails .cardDetails {
  height: 100%;
  position: relative;
  display: flex;
  gap: 0px;
  flex-direction: column;
}

.secDetails .cardDetails .imgHover {
  height: 200px;
  width: 100%;
}

.secDetails .bottomCard {
  display: flex;
  grid-column: 1/ 9;
  grid-row: 3/ 4;
  flex-direction: row;
}

.secDetails .bottomCard .imgHover {
  height: 100%;
}

.bottomRight {
  grid-column: 9/ -1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 20px;
  height: 100%;
}

.secDetails .bottomRight h2 {
  text-align: left;
  font-size: 28px;
  font-weight: 500;
  margin-bottom: 0px;
}

.bottomRight .txt {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding: 0px;
  gap: 20px;
}

.portfolio .txt {
  grid-column: 1/ -1;
  margin-bottom: 10px;
}

.portfolio .portfolioContent {
  grid-column: 1/ -1;
}

/* Portfolio slider */
.portfolio .portfolio-slider {
  position: relative;
  width: 100%;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
}

.portfolio .portfolio-viewport {
  overflow: hidden;
}

.portfolio .portfolio-track {
  display: grid;
  grid-auto-flow: column;
  gap: 16px;
  will-change: transform;
}

.portfolio .portfolio-card {
  width: clamp(240px, 28vw, 360px);
  background: linear-gradient(287deg, #181818 0%, #040510 100%);
  border: 0.3px solid rgba(255, 255, 255, 0.126);
  border-radius: 14px;
  overflow: hidden;
  position: relative;
  cursor: pointer;
}

.portfolio .portfolio-card .media::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to bottom,
    rgba(59, 3, 3, 0.2),
    rgba(13, 6, 71, 0.375)
  );
  z-index: 9;
}

.portfolio .portfolio-card .media {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
  padding: 14px;
}

.portfolio .portfolio-card .media img {
  width: 100%;
  height: 100%;
  position: inherit;
  object-fit: cover;
  transform-origin: center center;
  z-index: 9;
}

.portfolio .portfolio-card .info {
  padding: 14px 14px 18px;
}

.portfolio .portfolio-card .info h4 {
  font-size: 18px;
  font-weight: 500;
  margin-bottom: 6px;
}

.portfolio .portfolio-card .info p {
  font-size: 14px;
  opacity: 0.8;
}

.portfolio .portfolio-card .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    0deg,
    rgba(0, 0, 0, 0.55) 0%,
    rgba(0, 0, 0, 0.15) 100%
  );
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  z-index: 10;
}

.portfolio .portfolio-card .overlay .cta {
  background: var(--white);
  color: black;
  padding: 10px 16px;
  border-radius: 5px;
  font-size: 14px;
  font-weight: 500;
}

.portfolio .portfolio-slider .arrow {
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--white);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
}

.portfolio .portfolio-slider .arrow:hover {
  transform: scale(1.05);
  background: rgba(255, 255, 255, 0.22);
}

@media (max-width: 1024px) {
  .portfolio .portfolio-card {
    width: clamp(220px, 44vw, 320px);
  }
}


@media (min-width: 1750px) {
  .sec2 {
    margin-top: -20vh;
  }
  .sec2::before {
    margin-top: -20vh;
    height: calc(100% + 30vh);
  }
}

@media (max-width: 640px) {
  .portfolio .portfolio-slider {
    grid-template-columns: 1fr;
  }
  .portfolio .portfolio-slider .arrow {
    display: none;
  }
  .portfolio .portfolio-card {
    width: clamp(220px, 80vw, 340px);
  }

  /* Style grab pour le viewport sur mobile */
  .portfolio .portfolio-viewport {
    cursor: grab;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
  }

  .portfolio .portfolio-viewport:active {
    cursor: grabbing;
  }

  /* Améliore le touch sur les cartes */
  .portfolio .portfolio-card {
    touch-action: pan-y pinch-zoom;
  }
}

/* =====================
   Selectable services
   ===================== */
.service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 12px 0 4px;
  padding: 0;
}

.service-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px 8px 10px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  cursor: pointer;
  user-select: none;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.06s ease;
}

.service-item svg {
  width: 24px;
  height: 24px;
}

.service-item:hover {
  border-color: rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.06);
}

.service-item:active {
  transform: scale(0.98);
}

.service-item:focus {
  outline: 2px solid #a5d1ff;
  outline-offset: 2px;
}

.service-item.active,
.service-item[aria-pressed="true"] {
  background: linear-gradient(287deg, #181818 0%, #040510 100%);
  border-color: #a5d1ff;
  box-shadow: 0 0 0 3px rgba(165, 209, 255, 0.18) inset;
}

@media (max-width: 1024px) {
  .service-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
  }

  .secLeftRight .content {
    row-gap: 40px !important;
  }

  .hero.service-page .illustrate {
    position: absolute;
    left: 0;
    bottom: 0;
    height: 100%;
  }
  .secLeftRight .txt {
    grid-column: 1/ -1;
    padding: 0px 0px 0px 0px !important;
    gap: 10px !important;
  }

  .secLeftRight .left {
    grid-column: 1/ -1;
    padding: 0px 0px 0px 0px !important;
    gap: 20px !important;
  }

  .secLeftRight .imgHover {
    width: 100%;
    height: 200px;
}
    

  .service-page.secLeftRight .right {
    grid-column: 1/ -1;
    flex-direction: column-reverse;
    padding: 0px 0px 0px 0px !important;
    gap: 20px !important;
  }

  .secLeftRight .txt {
    grid-column: 1/ -1;
  }

  .secDetails h2 {
    font-size: 28px;
  }

  .secDetails .txt {
    grid-column: 1/ -1;
  }

  .secDetails .cardDetails {
    grid-column: 1/ -1;
  }

  .secDetails .cardDetails .txt {
    grid-column: 1/ -1;
  }

  .bottomRight {
    grid-column: 1/ -1;
  }

  section.contact {
    height: fit-content;
  }

  section.contact .content {
    height: fit-content;
  }

  .hero.contact::before {
    height: 100vh;
  }

  section.contact .content .left {
    grid-column: 1/ -1;
    align-items: start;
    position: relative;
    grid-row: 1/ 2;
    top: 0;
    padding: 0px 0px 0px 0px !important;
  }

  .contact form ul li {
    font-size: 16px;
    background: rgba(255, 255, 255, 0);
    border-radius: 7px;
    padding: 7px 7px 7px 0px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
    border: 0.3px solid rgba(255, 255, 255, 0.126);
    color: var(--white);
    flex-direction: row;
  }

  section.contact .content .left img {
    width: 70%;
    max-width: 400px;
  }

  section.contact .content .right {
    grid-column: 1 / -1;
    align-items: start;
    grid-row: 2 / 3;
    gap: 20px;
    display: flex;
    flex-direction: column;
  }

  section.contact .content {
    margin-bottom: 20px !important;
  }

  .hero.service-page {
    min-height: fit-content;
  }

  .hero.service-page .content {
    margin-top: 10vh;
    margin-bottom: 20vh;
    height: fit-content;
  }

  .secLeftRight .txt h2 {
    font-size: 22px;
    text-align: left;
    font-weight: 500;
}

  .secLeftRight .txt p {
    font-size: 14px;
  }
  .secDetails h2 {
    font-size: 6vw;
    text-align: left;
  }
  .secDetails .bottomCard {
    display: flex;
    flex-direction: column;
}
 

.service-page.secDetails {
    padding-top: 100px;
    padding-bottom: 100px;
}

.service-page.secDetails .content {
    row-gap: 40px;
}

  .secDetails .bottomCard .imgHover {
    height: 200px;
  }
  .secDetails .cardDetails h3 {
    font-size: 18px;
    margin-bottom: 20px;
}
  .secDetails .cardDetails p {
    font-size: 14px;
}
.portfolio.visible {
  padding-top: 100px;
}

.sec4 .content.w2 .imgs { 
  flex-wrap: wrap;
}

}
/* ...existing code... */
.dropdown {
  position: relative;
  display: inline-block;
}

.dropbtn {
  cursor: pointer;
}

.dropdown-content {
  display: none;
  position: absolute;
  background: #fff;
  min-width: 160px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  z-index: 10;
}

.dropdown-content a {
  color: #222;
  padding: 10px 16px;
  text-decoration: none;
  display: block;
}

.dropdown-content a:hover {
  background: #f2f2f2;
}

.dropdown:hover .dropdown-content {
  display: block;
}

footer.contactfooter { 
   z-index: 1;
   position: relative;
}

footer.contactfooter::before {
  content: "";
  position: absolute;
  background: linear-gradient(
    0deg,
    #040510 50% 0%,
    rgba(255, 255, 255, 0) 100% 100%
  );
  width: 100vw;
  height: 100%;
  transform: translateX(-50%);
    left: 50%;
}

footer.contactfooter .content {
  z-index: 1;
  position: relative;
}


