html {
  scroll-behavior: smooth;
}

.testimonials,
.services-section,
.skills-section {
  max-width: 1200px; /* Ajuste selon la largeur de tes sections */
  margin: 0 auto;
  padding: 0 20px; /* Pour éviter que le contenu touche les bords sur petits écrans */
}

body {
  overflow-x: hidden;
  font-weight: 300;
  font-family: Manrope, sans-serif;
  letter-spacing: 0.18px;
  background: linear-gradient(to bottom, #fff, #f1f2f5, #fff); /* Dégradé actuel */
  margin: 0;
  position: relative; /* Permet de positionner l'image en arrière-plan */
}

/* Ajout de l'image en haut à droite */
body::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 600px; /* Ajuste la taille de l’image */
  height: 600px;
  background-image: url("https://cdn.prod.website-files.com/6656e67ba33eadc8d460da9f/665713d79ff5610c83c0d80d_deco-big-vector.svg");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: top right;
  pointer-events: none; /* Empêche d'interagir avec l'image */
  z-index: -1; /* S'assure qu'elle reste en arrière-plan */
}


header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 220px;
  border-radius: 12px;
    margin-top: 0;
    margin-bottom: 0;
}





.nav-left-container {
  display: flex;
  align-items: center;
  gap: 32px;
}
@media (max-width: 768px) {
  .nav-left-container {
    gap: 0;
  }
}
.logo img {
  height: 40px;
}
.nav-links {
  list-style: none;
  display: flex;
  gap: 20px;
  padding: 0;
  margin: 0;
}
.nav-links a {
  text-decoration: none;
  font-size: 14px;
  color: #6f747f;
  font-weight: 400;
}
.nav-links a::after {
  content: "";
  position: absolute;
  width: 24px;
  height: 4px;
  background-color: #ee2a7b;
  border-radius: 2px 2px 0 0;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  opacity: 0;
  transition: opacity 0.3s, bottom 0.3s;
}
.resume-button a {
  font-size: 14px;
  color: #fff;
  background-color: #111827;
  padding: 12px 24px;
  border-radius: 50px;
  text-decoration: none;
}
.button {
  font-size: 16px;
  color: #fff;
  background-color: #111827;
  padding: 12px 24px;
  border-radius: 50px;
  text-decoration: none;
}
.divider.container-medium {
  background-color: #e4e6e9;
  height: 1px;
  margin-left: 220px;
  margin-right: 220px;
}
.stars {
  color: #fe228c;
  font-size: 1.2rem;
  margin-bottom: 10px;
}
.divider {
  border: 0;
  height: 1px;
  background-color: #e4e6e9;
  margin: 0 220px;
}
.reference-header {
  max-width: 600px;
  margin: 0 auto;
}
.reference-title {
  display: block;
  color: #ee2a7b;
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 20px;
}

.reference-button {
  font-size: 16px;
  color: #fff;
  background-color: #111827;
  padding: 12px 24px;
  border-radius: 50px;
  text-decoration: none;
  display: inline-block;
  margin-top: 20px;
  max-width: max-content;
}
.reference-button:hover {
  background-color: #f5006b;
}
@media (max-width: 1024px) {
  header {
    padding: 20px 40px;
  }
}
@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
  .resume-button {
    display: none;
  }
  header {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }
}
@media (max-width: 480px) {
  .button,
  .reference-button {
    font-size: 12px;
    padding: 8px 16px;
  }
}
button {
  grid-column: span 2;
  justify-self: start;
  padding: 12px 24px;
  background-color: #4a6fa5;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  cursor: pointer;
}
.portfolio-section {
  padding: 100px 20px;
  text-align: center;
}
.portfolio-header h2 {
  font-size: 2.5rem;
  color: #111827;
  margin-bottom: 10px;
}
.portfolio-header p {
  font-size: 1.125rem;
  color: #6b7280;
  margin-bottom: 40px;
}
.project {
  padding-top: 60px;
  padding-left: 160px;
  padding-right: 160px;
  margin-left: 160px;
  margin-right: 160px;
  background-color: #fff;
  text-align: left;
}
.project-content {
  max-width: 1440px;
  margin: 0 auto;
  line-height: 1.7;
  font: #fff;
}
.project-title {
  font-size: 64px;
  font-weight: 600;
  color: #111827;
  margin: 20px 0;
  line-height: 1.2;
}
.text-project {
  font-size: 18px;
  color: #6b7280;
  margin: 20px 0;
  line-height: 1.7;
}
.img-project {
  max-width: 100%;
  height: auto;
}
.img1 {
  object-fit: cover;
  border-radius: 8px;
}
.img2 {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
} 

// Section Projects // 

.section_package {
  z-index: 2;
  background: linear-gradient(to bottom, #fff, #fafbfc);
  padding: 80px 20px;
}
.container-extra-large,
.container-large,
.container-medium {
  max-width: 1200px;
  margin: 0 auto;
}
.fier-clients_background {
  z-index: 2;
  background-color: #fff;
  border-radius: 40px;
  overflow: hidden;
}
.padding-global {
  padding: 50px 120px;
}
.padding-section-medium {
  padding: 40px 0;
}
.package_title {
  text-align: center;
  margin-bottom: 40px;
}
.text-color-accent {
  color: #ee2a7b;
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 10px;
}
.heading-style-h1 {
  font-size: 60px;
  line-height: 1.2;
  font-weight: 600;
  margin: 0 auto;
  color: #111827;
}
.package_grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
}
.package_grid_item {
  background-color: #fafbfc;
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.package_grid_item:hover {
  transform: scale(1.05);
}
.block-screens_image {
  width: 100%;
  height: auto;
  transition: transform 0.3s ease;
}
.package_grid_item:hover .block-screens_image {
  transform: scale(1.1);
}
.block-screens_text_container {
  padding: 40px;
}
.block-screens_text_container h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 10px;
  text-align: left;
  color: #111827;
}
.block-screens_text_container p {
  color: #6b7280;
  font-size: 1rem;
  line-height: 28.8px;
  text-align: left;
}
@media (max-width: 768px) {
  .heading-style-h1 {
    font-size: 2.5rem;
    line-height: 1.2;
    margin-bottom: 40px;
  }
  .package_title {
    margin-bottom: 20px;
  }
  .padding-section-medium {
    padding: 20px 0;
  }
  .padding-global {
    padding: 40px 8px;
  }
  .package_grid {
    gap: 12px;
  }
}
.hero {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  padding: 50px 220px 50px 220px;
}
.hero-text h1 {
  position: relative;
  font-size: 60px;
  line-height: 1.2;
  color: #111827;
  font-family: Poppins, sans-serif;
}
.highlight {
  position: relative;
  display: inline-block;
  color: #111827;
}
.highlight::after {
  background-image: url(../img/scribble.svg);
content: "";
    position: absolute;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    height: 40px;
    width: 120%;
    left: -10%;
    bottom: -16px;
    z-index: -1;
}
.hero-text p {
  color: #808a9e;
  font-weight: 300;
  margin-top: 32px;
  line-height: 38px;
  font-size: 24px;
}
.hero-button {
  display: inline-flex;
  align-items: center;
  background-color: #111827;
  color: #fff;
  padding: 12px 24px;
  text-decoration: none;
  font-weight: 300;
  transition: background-color 0.3s;
  max-width: max-content;
  border-radius: 50px;
  font-size: 14px;
  gap: 8px;
  border: 1px solid #111827;
}
.hero-button:hover {
  background-color: #f5006b;
  border: 1px solid #f5006b;
}
.hero-button-outline {
  display: inline-flex;
  align-items: center;
  background-color: #fff;
  color: #111827;
  padding: 12px 24px;
  margin-left: 12px;
  text-decoration: none;
  font-weight: 300;
  font-size: 14px;
  gap: 8px;
  border: 1px solid #111827;
  border-radius: 50px;
  transition: background-color 0.3s, color 0.3s;
}
.hero-button-outline:hover {
  background-color: #111827;
  color: #fff;
}
.hero-image img {
  max-width: 100%;
  height: auto;
}
.hero_big-vector {
  z-index: -1;
  width: 40%;
  display: block;
  position: absolute;
  inset: 0 0 0 auto;
}
@media (max-width: 1024px) {
  .hero {
    padding: 20px 20px;
    flex-direction: column;
    text-align: center;
  }
  .hero-text h1 {
    font-size: 40px;
    line-height: 1.3;
  }
  .hero-image {
    margin-top: 20px;
  }
}
@media (max-width: 768px) {
  .hero-text h1 {
    font-size: 32px;
  }
}
@media (max-width: 480px) {
  .hero-text h1 {
    font-size: 40px;
  }
  .hero-text p {
    font-size: 1rem;
    line-height: 28.8px;
  }
  .hero-button,
  .hero-button-outline {
    font-size: 12px;
    border: 1px solid #111827;
  }
}
.testimonials {
  display: flex;
  justify-content: space-between;
  padding: 100px 220px;
}
.testimonial {
  width: 30%;
  text-align: center;
  transition: transform 0.3s;
}
.testimonial:hover {
  transform: translateY(-10px);
}

@media (max-width: 1024px) {
  .testimonial {
  width: 30%;
  padding: 20px 20px;
}
    .testimonials {
  display: flex;
  justify-content: space-between;
  padding: 20px 20px;
}
}

@media (max-width: 768px) {
  .testimonial {
  width: auto;
  padding: 20px 20px;
}
    .testimonials {
  display: grid;
  justify-content: space-between;
  padding: 20px 20px;
}
}

.stars {
  color: #fe228c;
  font-size: 1.2rem;
  margin-bottom: 10px;
}
.testimonial p {
  color: #111827;
  font-size: 1rem;
  line-height: 28.8px;
  margin-bottom: 10px;
}
.author {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 20px;
}
.author img {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  margin-right: 10px;
}
.author span {
  font-size: 0.875rem;
  color: #6b7280;
}


/*Contact*/
.contact-section {
    background-color: #111827;
    color: white;
    text-align: center;
    padding: 80px 20px;
    margin-top: 80px;
}

.contact-subtitle {
    font-family: Manrope, sans-serif;
    font-size: 24px;
    font-weight: 400;
    color: #808A9E;
    margin-bottom: 10px;
}

.contact-title {
    font-family: Poppins, sans-serif;
    font-size: 64px;
    font-weight: 700;
    line-height: 120%;
    margin-bottom: 20px;
}

.contact-text {
    font-family: Manrope, sans-serif;
    font-size: 20px;
    font-weight: 400;
    line-height: 32px;
    color: #D1D5DB;
}


/*Services*/

/* Section principale */
.services-section {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #111827;
  padding: 80px 20px;
  border-radius: 40px;
  color: #fff;
}

/* Container global */
.services-container {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  max-width: 1200px;
  width: 100%;
  align-items: center;
  margin: 0 auto;
  padding-right: 120px;
  padding-top: 40px;
  padding-bottom: 40px;
}


@media (max-width: 1024px) {
  .services-container{
    padding-right: 0px;

}
}

/* Conteneur vidéo + mockup */
.services-media {
  flex: 1 1 45%;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Vidéo ajustée à la taille du mockup */
.background-video {
  width: 200px; /* Même largeur que le mockup */
  height: auto;
  border-radius: 20px;
  object-fit: cover;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
  position: absolute;
  z-index: 1; /* Vidéo derrière le mockup */
}

/* Mockup superposé */
.mockup-image {
  position: relative;
  width: 220px; /* Taille du mockup */
  height: auto;
  z-index: 2; /* Mockup au-dessus de la vidéo */
}

/* Texte de la section */
.services-text {
  flex: 1 1 45%;
  text-align: left;
  color: #fff;
}

.services-quote {
  font-size: 1.2rem;
  line-height: 1.6;
  margin-bottom: 20px;
}



.skills-section {
  padding: 60px 20px;
  text-align: center;
}

.section-subtitle {
  color: #ec4899;
  font-weight: 600;
  margin-bottom: 10px;
  font-size: 16px;
}


.skills-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto 40px auto;
}

.skill-card {
  background: white;
  border-radius: 16px;
  padding: 20px;
  transition: transform 0.3s ease;
}

.skill-card:hover {
  transform: translateY(-5px);
}

.skill-card img {
  width: 100%;
  border-radius: 12px;
  margin-bottom: 20px;
}

.skill-card h3 {
  font-size: 18px;
  color: #808A9E;
  margin-bottom: 10px;
  text-align: left;
}

.skill-card p {
  font-size: 15px;
  color: #111827;
  line-height: 1.6;
  text-align: left;
}



/* Responsive */
@media (min-width: 768px) {
  .skills-grid {
    grid-template-columns: repeat(2, 1fr);
  }
.skill-card img {
  max-height: 228px;
}
}

@media (min-width: 1024px) {
  .skills-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .section-title {
    font-size: 42px;
  }
}
@media (max-width: 480px) {

.skill-card img {
  max-height: 228px;
}
}

