stylesheet.css


/**
* Template Name: iPortfolio
* Template URL: https://bootstrapmade.com/iportfolio-bootstrap-portfolio-websites-template/
* Updated: Jun 29 2024 with Bootstrap v5.3.3
* Author: BootstrapMade.com
* License: https://bootstrapmade.com/license/
*/
/*--------------------------------------------------------------
# Font & Color Variables
# Help: https://bootstrapmade.com/color-system/
--------------------------------------------------------------*/
/* Fonts */
:root {
  --default-font: "Work Sans", sans-serif; /* Clean, moderne pour le body text */
  --heading-font: "Quicksand", sans-serif; /* Artistique and moderne pour headings */
  --nav-font: "Poppins", sans-serif; /* Moderne and elegant pour navigation */
}
/* Global Colors */
:root {
  --background-color: #faf3e0; /* Beige crème pour le fond */
  --default-color: #283845; /* Bleu-gris profond pour le texte principal */
  --heading-color: #b56576; /* Rose doux pour les titres */
  --accent-color: #b56576; /* Rose doux pour les boutons et liens */
  --surface-color: #a3b18a; /* Vert sauge pour les zones interactives */
  --contrast-color: #283845; /* Bleu-gris profond pour les icônes et contrastes */
}
/* Nav Menu Colors */
:root {
  --nav-color: #283845; /* Bleu-gris profond pour les liens de navigation */
  --nav-hover-color: #a3b18a; /* Vert sauge pour l'effet hover */
  --nav-dropdown-background-color: #faf3e0; /* Beige crème pour les menus déroulants */
  --nav-dropdown-color: #283845; /* Bleu-gris profond pour les liens du menu déroulant */
  --nav-dropdown-hover-color: #a3b18a; /* Vert sauge pour l'effet hover */
}
/* Text Contrast */
body {
  background-color: var(--background-color);
  color: var(--default-color);
  font-family: var(--default-font);
}
h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--heading-color);
  font-weight: bold;
  font-family: var(--heading-font);
  text-transform: uppercase;
}
p,
a {
  color: var(--default-color);
}
a {
  text-decoration: none;
  transition: 0.3s;
}
a:hover {
  color: color-mix(in srgb, var(--accent-color), transparent 25%);
  text-decoration: none;
}
/* Buttons */
button {
  background-color: var(--accent-color);
  color: var(--background-color);
  border: 2px solid var(--default-color);
  font-weight: bold;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color 0.3s, color 0.3s;
}
button:hover {
  background-color: var(--nav-hover-color);
  color: var(--default-color);
}
/* Nav Menu */
nav {
  background-color: var(
    --background-color
  ); /* Même couleur que le fond de la page */
  color: var(--nav-color);
  font-family: var(--nav-font);
}
nav a {
  color: var(--nav-color);
  text-decoration: none;
}
nav a:hover {
  color: var(--nav-hover-color);
}
/* Other UI Elements */
.icon {
  color: var(--contrast-color);
}
.light-background {
  background-color: var(--surface-color);
  color: var(--default-color);
}
/* Styles pour le menu déroulant */
.navmenu .dropdown-menu {
  display: none; /* Caché par défaut */
  position: absolute;
  background-color: var(
    --background-color
  ); /* Utilisation d'une couleur définie */
  border: 1px solid var(--default-color);
  padding: 10px;
  list-style: none;
  z-index: 10;
}
.navmenu .dropdown:hover .dropdown-menu {
  display: block; /* Afficher au survol */
}
.navmenu .dropdown-menu select {
  width: 100%;
  padding: 5px;
  border: 1px solid var(--default-color);
  border-radius: 4px;
  background-color: var(--surface-color); /* Couleur adaptée */
  color: var(--default-color);
}
/*--------------------------------------------------------------
# General Styling & Shared Classes
--------------------------------------------------------------*/
.language-dropdown {
  margin-top: 10px;
  display: inline-block;
}
.language-dropdown select {
  padding: 8px 12px;
  font-size: 16px;
  border: 1px solid #f4cccc; /* Remplacé par une couleur valide */
  border-radius: 5px;
  background-color: #f4cccc; /* Remplacé par une couleur valide */
  color: #a3b18a;
  cursor: pointer;
  transition: border-color 0.3s;
}
.language-dropdown select:hover {
  border-color: #0056b3; /* Change border color on hover */
}
/* Personnalisation du curseur avec un GIF et ajustement de position */
body {
  cursor: url("images/curseur.gif") 16 16, auto;
}
/* PHP Email Form Messages
------------------------------*/
.php-email-form .error-message {
  display: none;
  background: #df1529;
  color: #ffffff;
  text-align: left;
  padding: 15px;
  margin-bottom: 24px;
  font-weight: 600;
}
.php-email-form .sent-message {
  display: none;
  color: #ffffff;
  background: #059652;
  text-align: center;
  padding: 15px;
  margin-bottom: 24px;
  font-weight: 600;
}
.php-email-form .loading {
  display: none;
  background: var(--surface-color);
  text-align: center;
  padding: 15px;
  margin-bottom: 24px;
}
.php-email-form .loading:before {
  content: "";
  display: inline-block;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  margin: 0 10px -6px 0;
  border: 3px solid var(--accent-color);
  border-top-color: var(--surface-color);
  animation: php-email-form-loading 1s linear infinite;
}
@keyframes php-email-form-loading {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
/*--------------------------------------------------------------
# Global Header
--------------------------------------------------------------*/
.header {
  color: var(--default-color);
  background-color: var(--background-color);
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  padding: 0 15px;
  width: 300px;
  transition: all ease-in-out 0.3s;
  overflow-y: auto;
  z-index: 997;
  border-right: 1px solid
    color-mix(in srgb, var(--default-color), transparent 90%);
}
.header .profile-img img {
  margin: 15px auto;
  display: block;
  width: 120px;
  border: 8px solid color-mix(in srgb, var(--default-color), transparent 85%);
}
.header .logo {
  line-height: 1;
  margin-bottom: 15px;
}
.header .logo img {
  max-height: 32px;
  margin-right: 8px;
}
.header .logo h1 {
  font-size: 24px;
  margin: 0;
  font-weight: 700;
  color: var(--heading-color);
}
.header .social-links {
  margin: 0 0 20px 0;
}
.header .social-links a {
  font-size: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: color-mix(in srgb, var(--default-color), transparent 90%);
  color: var(--default-color);
  margin: 0 2px;
  border-radius: 50%;
  text-align: center;
  width: 40px;
  height: 40px;
  transition: 0.3s;
}
.header .social-links a:hover {
  color: var(--contrast-color);
  background: var(--accent-color);
}
@media (min-width: 1200px) {
  .header ~ main,
  .header ~ #footer {
    margin-left: 300px;
  }
}
@media (max-width: 1199px) {
  .header {
    left: -100%;
  }
}
.header.header-show {
  left: 0;
}
.header .header-toggle {
  color: var(--contrast-color);
  background-color: var(--accent-color);
  font-size: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  position: fixed;
  top: 15px;
  right: 15px;
  z-index: 9999;
  transition: background-color 0.3s;
}
.header .header-toggle:hover {
  color: var(--contrast-color);
  background-color: color-mix(in srgb, var(--accent-color) 90%, white 15%);
}
/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/
.mobile-nav-toggle {
  display: none;
}
.navmenu {
  padding: 0;
  z-index: 9997;
}
.navmenu ul {
  list-style: none;
  padding: 0 0 20px 0;
  margin: 0;
}
.navmenu a,
.navmenu a:focus {
  color: var(--nav-color);
  padding: 15px 10px;
  font-family: var(--nav-font);
  font-size: 16px;
  font-weight: 400;
  display: flex;
  align-items: center;
  white-space: nowrap;
  transition: 0.3s;
  width: 100%;
}
.navmenu a .navicon,
.navmenu a:focus .navicon {
  font-size: 20px;
  margin-right: 10px;
}
.navmenu a .toggle-dropdown,
.navmenu a:focus .toggle-dropdown {
  font-size: 12px;
  line-height: 0;
  margin-left: auto;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: 0.3s;
  flex-shrink: 0;
  background-color: color-mix(in srgb, var(--accent-color), transparent 90%);
}
.navmenu a .toggle-dropdown:hover,
.navmenu a:focus .toggle-dropdown:hover {
  background-color: var(--accent-color);
  color: var(--contrast-color);
}
.navmenu a:hover,
.navmenu .active,
.navmenu .active:focus {
  color: var(--nav-hover-color);
}
.navmenu a:hover .navicon,
.navmenu .active .navicon,
.navmenu .active:focus .navicon {
  color: var(--accent-color);
}
.navmenu .active .toggle-dropdown,
.navmenu .active:focus .toggle-dropdown {
  background-color: var(--accent-color);
  color: var(--contrast-color);
  transform: rotate(180deg);
}
.navmenu .dropdown {
  display: block;
}
.navmenu .dropdown a,
.navmenu .dropdown a:focus {
  color: --nav-dropdown-color;
}
.navmenu .dropdown a:hover,
.navmenu .dropdown .active,
.navmenu .dropdown .active:focus {
  color: var(--nav-dropdown-hover-color);
}
.navmenu .dropdown ul {
  position: static;
  display: none;
  z-index: 99;
  padding: 5px 10px;
  margin: 5px 10px;
  background-color: var(--nav-dropdown-background-color);
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
  box-shadow: none;
  transition: all 0.5s ease-in-out;
}
.navmenu .dropdown ul ul {
  background-color: rgba(33, 37, 41, 0.1);
}
.navmenu .dropdown > .dropdown-active {
  display: block;
  background-color: rgba(33, 37, 41, 0.03);
}
/*--------------------------------------------------------------
# Global Footer
--------------------------------------------------------------*/
.footer {
  color: var(--default-color);
  background-color: var(--background-color);
  font-size: 14px;
  padding: 40px 0;
  position: relative;
  border-top: 1px solid
    color-mix(in srgb, var(--default-color), transparent 90%);
}
.footer .copyright p {
  margin-bottom: 0;
}
.footer .credits {
  margin-top: 4px;
  font-size: 13px;
  text-align: center;
}
/*--------------------------------------------------------------
# Preloader
--------------------------------------------------------------*/
#preloader {
  position: fixed;
  inset: 0;
  z-index: 999999;
  overflow: hidden;
  background: var(--background-color);
  transition: all 0.6s ease-out;
}
#preloader:before {
  content: "";
  position: fixed;
  top: calc(50% - 30px);
  left: calc(50% - 30px);
  border: 6px solid #ffffff;
  border-color: var(--accent-color) transparent var(--accent-color) transparent;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  animation: animate-preloader 1.5s linear infinite;
}
@keyframes animate-preloader {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
/*--------------------------------------------------------------
# Scroll Top Button
--------------------------------------------------------------*/
.scroll-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 15px;
  bottom: -15px;
  z-index: 99999;
  background-color: var(--accent-color);
  width: 44px;
  height: 44px;
  border-radius: 50px;
  transition: all 0.4s;
}
.scroll-top i {
  font-size: 24px;
  color: var(--contrast-color);
  line-height: 0;
}
.scroll-top:hover {
  background-color: color-mix(in srgb, var(--accent-color), transparent 20%);
  color: var(--contrast-color);
}
.scroll-top.active {
  visibility: visible;
  opacity: 1;
  bottom: 15px;
}
/*--------------------------------------------------------------
# Disable aos animation delay on mobile devices
--------------------------------------------------------------*/
@media screen and (max-width: 768px) {
  [data-aos-delay] {
    transition-delay: 0 !important;
  }
}
/*--------------------------------------------------------------
# Global Page Titles & Breadcrumbs
--------------------------------------------------------------*/
.page-title {
  color: var(--default-color);
  background-color: var(--background-color);
  padding: 25px 0;
  position: relative;
}
.page-title h1 {
  font-size: 24px;
  font-weight: 700;
}
.page-title .breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 14px;
  font-weight: 400;
}
.page-title .breadcrumbs ol li + li {
  padding-left: 10px;
}
.page-title .breadcrumbs ol li + li::before {
  content: "/";
  display: inline-block;
  padding-right: 10px;
  color: color-mix(in srgb, var(--default-color), transparent 70%);
}
/*--------------------------------------------------------------
# Global Sections
--------------------------------------------------------------*/
section,
.section {
  color: var(--default-color);
  background-color: var(--background-color);
  padding: 60px 0;
  overflow: clip;
}
/*--------------------------------------------------------------
# Global Section Titles
--------------------------------------------------------------*/
.section-title {
  padding-bottom: 60px;
  position: relative;
}
.section-title h2 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 20px;
  padding-bottom: 20px;
  position: relative;
}
.section-title h2:after {
  content: "";
  position: absolute;
  display: block;
  width: 50px;
  height: 3px;
  background: var(--accent-color);
  left: 0;
  bottom: 0;
}
.section-title p {
  margin-bottom: 0;
}
/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/
.hero {
  width: 100%;
  min-height: 100vh;
  position: relative;
  padding: 80px 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}
.hero:before {
  content: "";
  background: color-mix(in srgb, var(--background-color), transparent 70%);
  position: absolute;
  inset: 0;
  z-index: 2;
}
.hero .container {
  position: relative;
  z-index: 3;
}
.hero h2 {
  margin: 0;
  font-size: 64px;
  font-weight: 700;
}
.hero p {
  margin: 5px 0 0 0;
  font-size: 26px;
}
.hero p span {
  letter-spacing: 1px;
  border-bottom: 2px solid var(--accent-color);
}
.hero .social-links {
  margin-top: 25px;
}
.hero .social-links a {
  font-size: 24px;
  display: inline-block;
  color: color-mix(in srgb, var(--default-color), transparent 50%);
  line-height: 1;
  margin-right: 20px;
  transition: 0.3s;
}
.hero .social-links a:hover {
  color: var(--accent-color);
}
@media (max-width: 768px) {
  .hero h2 {
    font-size: 32px;
  }
  .hero p {
    font-size: 20px;
  }
}
/*--------------------------------------------------------------
# About Section
--------------------------------------------------------------*/
.about .content h2 {
  font-weight: 700;
  font-size: 24px;
}
.about .content ul {
  list-style: none;
  padding: 0;
}
.about .content ul li {
  margin-bottom: 20px;
  display: flex;
  align-items: center;
}
.about .content ul strong {
  margin-right: 10px;
}
.about .content ul i {
  font-size: 16px;
  margin-right: 5px;
  color: var(--accent-color);
  line-height: 0;
}
/*--------------------------------------------------------------
# Stats Section
--------------------------------------------------------------*/
.stats .stats-item {
  padding: 30px;
  width: 100%;
}
.stats .stats-item i {
  color: var(--accent-color);
  display: block;
  font-size: 44px;
  float: left;
  line-height: 0;
}
.stats .stats-item .purecounter {
  color: var(--heading-color);
  font-size: 48px;
  line-height: 40px;
  display: block;
  font-weight: 700;
  margin-left: 60px;
}
.stats .stats-item p {
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  padding: 15px 0 0 0;
  margin: 0 0 0 60px;
  font-family: var(--heading-font);
  font-size: 14px;
}
/*--------------------------------------------------------------
# Skills Section
--------------------------------------------------------------*/
.skills .progress {
  height: 60px;
  display: block;
  background: none;
  border-radius: 0;
}
.skills .progress .skill {
  color: var(--heading-color);
  padding: 0;
  margin: 0 0 6px 0;
  text-transform: uppercase;
  display: block;
  font-weight: 600;
  font-family: var(--heading-font);
}
.skills .progress .skill .val {
  float: right;
  font-style: normal;
}
.skills .progress-bar-wrap {
  background: color-mix(in srgb, var(--default-color), transparent 90%);
  height: 10px;
}
.skills .progress-bar {
  width: 1px;
  height: 10px;
  transition: 0.9s;
  background-color: var(--accent-color);
}
/*--------------------------------------------------------------
# Resume Section
--------------------------------------------------------------*/
.resume .resume-title {
  color: var(--heading-color);
  font-size: 26px;
  font-weight: 700;
  margin-top: 20px;
  margin-bottom: 20px;
}
.resume .resume-item {
  padding: 0 0 20px 20px;
  margin-top: -2px;
  border-left: 2px solid var(--accent-color);
  position: relative;
}
.resume .resume-item h4 {
  line-height: 18px;
  font-size: 18px;
  font-weight: 600;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  margin-bottom: 10px;
}
.resume .resume-item h5 {
  font-size: 16px;
  padding: 5px 15px;
  display: inline-block;
  font-weight: 600;
  margin-bottom: 10px;
}
.resume .resume-item ul {
  padding-left: 20px;
}
.resume .resume-item ul li {
  padding-bottom: 10px;
}
.resume .resume-item:last-child {
  padding-bottom: 0;
}
.resume .resume-item::before {
  content: "";
  position: absolute;
  width: 16px;
  height: 16px;
  border-radius: 50px;
  left: -9px;
  top: 0;
  background: var(--background-color);
  border: 2px solid var(--accent-color);
}
/*--------------------------------------------------------------
# Portfolio Section
--------------------------------------------------------------*/
.portfolio .portfolio-filters {
  padding: 0;
  margin: 0 auto 20px auto;
  list-style: none;
  text-align: center;
}
.portfolio .portfolio-filters li {
  cursor: pointer;
  display: inline-block;
  padding: 0;
  font-size: 14px;
  font-weight: 400;
  margin: 0 10px;
  line-height: 1;
  text-transform: uppercase;
  margin-bottom: 10px;
  transition: all 0.3s ease-in-out;
}
.portfolio .portfolio-filters li:hover,
.portfolio .portfolio-filters li.filter-active {
  color: var(--accent-color);
}
.portfolio .portfolio-filters li:first-child {
  margin-left: 0;
}
.portfolio .portfolio-filters li:last-child {
  margin-right: 0;
}
@media (max-width: 575px) {
  .portfolio .portfolio-filters li {
    font-size: 14px;
    margin: 0 5px;
  }
}
.portfolio .portfolio-content {
  position: relative;
  overflow: hidden;
}
.portfolio .portfolio-content img {
  transition: 0.3s;
}
.portfolio .portfolio-content .portfolio-info {
  opacity: 0;
  position: absolute;
  inset: 0;
  z-index: 3;
  transition: all ease-in-out 0.3s;
  background: rgba(0, 0, 0, 0.6);
  padding: 15px;
}
.portfolio .portfolio-content .portfolio-info h4 {
  font-size: 14px;
  padding: 5px 10px;
  font-weight: 400;
  color: #ffffff;
  display: inline-block;
  background-color: var(--accent-color);
}
.portfolio .portfolio-content .portfolio-info p {
  position: absolute;
  bottom: 10px;
  text-align: center;
  display: inline-block;
  left: 0;
  right: 0;
  font-size: 16px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.8);
}
.portfolio .portfolio-content .portfolio-info .preview-link,
.portfolio .portfolio-content .portfolio-info .details-link {
  position: absolute;
  left: calc(50% - 40px);
  font-size: 26px;
  top: calc(50% - 14px);
  color: #fff;
  transition: 0.3s;
  line-height: 1.2;
}
.portfolio .portfolio-content .portfolio-info .preview-link:hover,
.portfolio .portfolio-content .portfolio-info .details-link:hover {
  color: var(--accent-color);
}
.portfolio .portfolio-content .portfolio-info .details-link {
  left: 50%;
  font-size: 34px;
  line-height: 0;
}
.portfolio .portfolio-content:hover .portfolio-info {
  opacity: 1;
}
.portfolio .portfolio-content:hover img {
  transform: scale(1.1);
}
/*--------------------------------------------------------------
# Compétences/services Details Section 1
--------------------------------------------------------------*/
#service-details {
  padding: 80px 0; /* Espacement autour de la section */
  background-color: #e8a9a1; /* Dusty Pink pour le fond */
}

.services-list {
  display: table-column-group;
  flex-wrap: wrap; /* Permet aux éléments de s'ajuster sur plusieurs lignes */
  justify-content: space-evenly; /* Distribution uniforme des éléments */
  gap: 100px; /* Espacement entre les items */
}

.service-item {
  background-color: transparent; /* Pas de fond */
  border: none; /* Pas de bordure */
  width: calc(33.33% - 20px); /* Prend 1/3 de la largeur, moins l'espacement */
  text-align: center;
  transition: transform 0.3s ease; /* Animation de transformation */
  box-sizing: border-box; /* Assure que la largeur ne dépasse pas la zone allouée */
}

.service-item:hover {
  transform: scale(1.05); /* Agrandir légèrement l'élément au survol */
}
.icon-and-title {
  display: flex;
  align-items: center;
  gap: 10px; /* Espace entre l'icône et le titre */
  width: 100%;
}

.icon2 {
  font-size: 24px; /* Ajustez la taille de l'icône si nécessaire */
}

.service-title2 {
  font-weight: bold;
  font-size: 18px; /* Taille du texte du titre */
  width: 70%;
}

.icon {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #e8a9a1; /* Dusty Pink */
  border-radius: 50%; /* Cercle */
  width: 60px; /* Réduction de la taille du cercle */
  height: 60px; /* Réduction de la taille du cercle */
  padding: 10px; /* Réduction de l'espace autour de l'icône */
  font-size: 30px; /* Réduction de la taille de l'icône */
  color: white; /* Couleur de l'icône */
  transition: background-color 0.3s ease; /* Animation au survol */
}

.service-item:hover .icon {
  background-color: #9daf94; /* Vert sauge au survol */
}

.service-title {
  font-size: 20px; /* Augmentation de la taille du titre */
  font-weight: 700;
  color: #333; /* Couleur du texte */
  margin-top: 15px;
}

.description {
  color: #555; /* Texte de description */
  font-size: 14px;
  margin-top: 10px;
}

.service-item .btn {
  background-color: #d18f8d; /* Dusty Pink pour les boutons */
  color: white;
  padding: 10px 20px;
  text-decoration: none;
  border-radius: 4px;
  font-size: 14px;
  display: inline-block;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.service-item .btn:hover {
  background-color: #a8bca8; /* Vert sauge pour le survol */
  transform: translateY(-3px); /* Effet de légère élévation */
}

/* Responsivité */
@media (max-width: 1024px) {
  .service-item {
    width: calc(50% - 20px); /* 2 éléments par ligne sur tablettes */
  }
}

@media (max-width: 768px) {
  .service-item {
    width: 100%; /* 1 élément par ligne sur mobile */
  }

  .service-title {
    font-size: 16px; /* Taille de police réduite sur mobile */
  }

  .service-item .btn {
    padding: 8px 16px; /* Bouton plus petit sur mobile */
  }
}

/*--------------------------------------------------------------
# Compétences/services Details Section 2
--------------------------------------------------------------*/

#service-details2 {
  padding: 80px 0; /* Espacement autour de la section */
  background-color: #faf3e0; /* Dusty Pink pour le fond */
  display: flex; /* Utilisation de flexbox pour centrer le contenu */
  justify-content: center; /* Centrer horizontalement */
  align-items: flex-start; /* Aligner les éléments au début de la page */
  text-align: center; /* Centrer le texte */
}

.services-list2 {
  display: flex; /* Utilisation de flexbox pour aligner les items en ligne */
  flex-wrap: wrap; /* Permet aux éléments de s'ajuster sur plusieurs lignes */
  justify-content: center; /* Centrer les éléments horizontalement */
  gap: 50px; /* Espacement entre les items */
  max-width: 1200px; /* Limite la largeur maximale de la section */
  width: 100%; /* S'assure que la liste prend toute la largeur disponible */
}

.service-item2 {
  background-color: transparent; /* Pas de fond */
  border: none; /* Pas de bordure */
  width: calc(33.33% - 50px); /* Prend 1/3 de la largeur, moins l'espacement */
  text-align: center;
  transition: transform 0.3s ease; /* Animation de transformation */
  box-sizing: border-box; /* Assure que la largeur ne dépasse pas la zone allouée */
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.service-item2:hover {
  transform: scale(1.05); /* Agrandir légèrement l'élément au survol */
}

.icon2 {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #b56576; /* Dusty Pink */
  border-radius: 50%; /* Cercle */
  width: 80px; /* Taille du cercle */
  height: 80px; /* Taille du cercle */
  padding: 12px; /* Espacement autour de l'icône */
  font-size: 35px; /* Taille de l'icône */
  transition: background-color 0.3s ease; /* Animation au survol */
}

.service-item2:hover .icon2 {
  background-color: #9daf94; /* Vert sauge au survol */
}

.service-title2 {
  font-size: 22px;
  font-weight: 700;
  color: #b56576;
  height: 60px; /* Hauteur fixe pour les titres */
  display: flex; /* Active le flexbox */
  align-items: center; /* Aligne verticalement */
  justify-content: center; /* Centrage horizontal (au cas où le texte ne serait pas aligné) */
  text-align: center; /* Assure que le texte est centré */
  margin: 0; /* Supprime les marges pour éviter les décalages */
  word-wrap: break-word; /* Permet au texte de s'adapter si nécessaire */
}

.description2 {
  color: #a8bca8; /* Texte de description */
  font-size: 14px;
  margin-top: 10px;
}

.service-item2 .btn {
  background-color: #b56576; /* Dusty Pink pour les boutons */
  color: white;
  padding: 12px 24px; /* Ajustement du padding pour des boutons proportionnels */
  text-decoration: none;
  border-radius: 4px;
  font-size: 14px;
  display: inline-block;
  width: auto; /* La largeur du bouton s'ajuste au texte */
  min-width: 160px; /* Largeur minimale si le texte est court */
  text-align: center;
  transition: background-color 0.3s ease, transform 0.2s ease;
  margin-top: 15px; /* Un peu d'espace au-dessus du bouton */
}

.service-item2 .btn:hover {
  background-color: #a8bca8; /* Vert sauge pour le survol */
  transform: translateY(-3px); /* Effet de légère élévation */
}

/* Responsivité */
@media (max-width: 1024px) {
  .service-item2 {
    width: calc(50% - 50px); /* 2 éléments par ligne sur tablettes */
  }

  .service-item2 .btn {
    min-width: 140px; /* Largeur minimale pour les boutons sur tablettes */
  }
}

@media (max-width: 768px) {
  .service-item2 {
    width: 100%; /* 1 élément par ligne sur mobile */
  }

  .service-item2 .btn {
    min-width: 120px; /* Largeur encore plus réduite sur mobile */
  }
}

/*--------------------------------------------------------------
# Testimonials Section
--------------------------------------------------------------*/
.testimonials .testimonials-carousel,
.testimonials .testimonials-slider {
  overflow: hidden;
}
.testimonials .testimonial-item {
  box-sizing: content-box;
  text-align: center;
  min-height: 320px;
}
.testimonials .testimonial-item .testimonial-img {
  width: 90px;
  border-radius: 50%;
  margin: 0 auto;
}
.testimonials .testimonial-item h3 {
  font-size: 18px;
  font-weight: bold;
  margin: 10px 0 5px 0;
}
.testimonials .testimonial-item h4 {
  font-size: 14px;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  margin: 0;
}
.testimonials .testimonial-item .quote-icon-left,
.testimonials .testimonial-item .quote-icon-right {
  color: color-mix(in srgb, var(--accent-color), transparent 40%);
  font-size: 26px;
  line-height: 0;
}
.testimonials .testimonial-item .quote-icon-left {
  display: inline-block;
  left: -5px;
  position: relative;
}
.testimonials .testimonial-item .quote-icon-right {
  display: inline-block;
  right: -5px;
  position: relative;
  top: 10px;
  transform: scale(-1, -1);
}
.testimonials .testimonial-item p {
  font-style: italic;
  margin: 0 15px 15px 15px;
  padding: 20px;
  background-color: var(--surface-color);
  position: relative;
  margin-bottom: 35px;
  border-radius: 6px;
  box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.1);
}
.testimonials .testimonial-item p::after {
  content: "";
  width: 0;
  height: 0;
  border-top: 20px solid var(--surface-color);
  border-right: 20px solid transparent;
  border-left: 20px solid transparent;
  position: absolute;
  bottom: -20px;
  left: calc(50% - 20px);
}
.testimonials .swiper-wrapper {
  height: auto;
}
.testimonials .swiper-pagination {
  margin-top: 40px;
  position: relative;
}
.testimonials .swiper-pagination .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background-color: var(--background-color);
  opacity: 1;
  border: 1px solid var(--accent-color);
}
.testimonials .swiper-pagination .swiper-pagination-bullet-active {
  background-color: var(--accent-color);
}
/* Animation de pulsation */
@keyframes neon-pulse {
  0%,
  100% {
    box-shadow: 0 0 5px rgba(255, 182, 193, 0.6),
      /* Rose clair */ 0 0 10px rgba(255, 182, 193, 0.4),
      0 0 20px rgba(255, 182, 193, 0.2);
  }
  50% {
    box-shadow: 0 0 15px rgba(255, 182, 193, 0.8),
      0 0 30px rgba(255, 182, 193, 0.6), 0 0 45px rgba(255, 182, 193, 0.4);
  }
}

/* Style pour les items des témoignages */
.testimonial-item {
  position: relative;
  padding: 20px;
  border-radius: 10px;
  background-color: #ffffff;
  text-align: center;
  transition: transform 0.3s ease;
}

.testimonial-item:hover {
  transform: scale(1.05);
}

/* Pulsation rose */
.neon-pulse {
  animation: neon-pulse 2.5s infinite;
  border: 2px solid rgba(255, 182, 193, 0.5); /* Bordure rose clair */
}

/*--------------------------------------------------------------
# Contact Section
--------------------------------------------------------------*/
.contact .info-wrap {
  background-color: var(--surface-color);
  box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.1);
  padding: 30px;
}
@media (max-width: 575px) {
  .contact .info-wrap {
    padding: 20px;
  }
}
.contact .info-item {
  margin-bottom: 40px;
}
.contact .info-item i {
  font-size: 20px;
  color: var(--accent-color);
  background: color-mix(in srgb, var(--accent-color), transparent 92%);
  width: 44px;
  height: 44px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50px;
  transition: all 0.3s ease-in-out;
  margin-right: 15px;
}
.contact .info-item h3 {
  padding: 0;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 5px;
}
.contact .info-item p {
  padding: 0;
  margin-bottom: 0;
  font-size: 14px;
}
.contact .info-item:hover i {
  background: var(--accent-color);
  color: var(--contrast-color);
}
.contact .php-email-form {
  background-color: var(--surface-color);
  height: 100%;
  padding: 30px;
  box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.1);
}
@media (max-width: 575px) {
  .contact .php-email-form {
    padding: 20px;
  }
}
.contact .php-email-form input[type="text"],
.contact .php-email-form input[type="email"],
.contact .php-email-form textarea {
  font-size: 14px;
  padding: 10px 15px;
  box-shadow: none;
  border-radius: 0;
  color: var(--default-color);
  background-color: var(--surface-color);
  border-color: color-mix(in srgb, var(--default-color), transparent 80%);
}
.contact .php-email-form input[type="text"]:focus,
.contact .php-email-form input[type="email"]:focus,
.contact .php-email-form textarea:focus {
  border-color: var(--accent-color);
}
.contact .php-email-form input[type="text"]::placeholder,
.contact .php-email-form input[type="email"]::placeholder,
.contact .php-email-form textarea::placeholder {
  color: color-mix(in srgb, var(--default-color), transparent 70%);
}
.contact .php-email-form button[type="submit"] {
  color: var(--contrast-color);
  background: var(--accent-color);
  border: 0;
  padding: 10px 30px;
  transition: 0.4s;
  border-radius: 50px;
}
.contact .php-email-form button[type="submit"]:hover {
  background: color-mix(in srgb, var(--accent-color), transparent 25%);
}
/*--------------------------------------------------------------
# Portfolio Details Section
--------------------------------------------------------------*/
.portfolio-details .portfolio-details-slider img {
  width: 100%;
}
.portfolio-details .portfolio-details-slider .swiper-pagination {
  margin-top: 20px;
  position: relative;
}
.portfolio-details
  .portfolio-details-slider
  .swiper-pagination
  .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background-color: color-mix(in srgb, var(--default-color), transparent 85%);
  opacity: 1;
}
.portfolio-details
  .portfolio-details-slider
  .swiper-pagination
  .swiper-pagination-bullet-active {
  background-color: var(--accent-color);
}
.portfolio-details .portfolio-info {
  padding: 30px;
  box-shadow: 0px 0 30px rgba(0, 0, 0, 0.1);
}
.portfolio-details .portfolio-info h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid
    color-mix(in srgb, var(--default-color), transparent 85%);
}
.portfolio-details .portfolio-info ul {
  list-style: none;
  padding: 0;
  font-size: 15px;
}
.portfolio-details .portfolio-info ul li + li {
  margin-top: 10px;
}
.portfolio-details .portfolio-description {
  padding-top: 30px;
}
.portfolio-details .portfolio-description h2 {
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 20px;
}
.portfolio-details .portfolio-description p {
  padding: 0;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
}
/*--------------------------------------------------------------
# Service Details Section
--------------------------------------------------------------*/
.service-details .services-list {
  padding: 10px 30px;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
  margin-bottom: 20px;
}
.service-details .services-list a {
  display: block;
  line-height: 1;
  padding: 8px 0 8px 15px;
  border-left: 3px solid
    color-mix(in srgb, var(--default-color), transparent 70%);
  margin: 20px 0;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  transition: 0.3s;
}
.service-details .services-list a.active {
  color: var(--heading-color);
  font-weight: 700;
  border-color: var(--accent-color);
}
.service-details .services-list a:hover {
  border-color: var(--accent-color);
}
.service-details .services-img {
  margin-bottom: 20px;
}
.service-details h3 {
  font-size: 26px;
  font-weight: 700;
}
.service-details h4 {
  font-size: 20px;
  font-weight: 700;
}
.service-details p {
  font-size: 15px;
}
.service-details ul {
  list-style: none;
  padding: 0;
  font-size: 15px;
}
.service-details ul li {
  padding: 5px 0;
  display: flex;
  align-items: center;
}
.service-details ul i {
  font-size: 20px;
  margin-right: 8px;
  color: var(--accent-color);
}

/* Style général */
#service-details {
  padding: 50px 0;
  background-color: #faf3e0;
}

.services-list {
  background-color: #fff;
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.service-item {
  margin-bottom: 20px;
}

.service-title {
  font-size: 1.2rem;
  font-weight: 600;
  color: #333;
  margin-bottom: 10px;
  display: block;
}

.btn-primary {
  background-color: #b56576; /* Vert sauge */
  color: #f9f9f9;
  padding: 10px 20px;
  font-size: 1rem;
  border-radius: 5px;
  text-decoration: none;
  display: inline-block;
  width: 100%;
  text-align: center;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.btn-primary:hover {
  background-color: #9cba9d; /* Couleur plus foncée au survol */
  transform: translateY(-2px);
}

/* Responsive design */
@media (max-width: 768px) {
  .col-lg-4 {
    width: 100%; /* Prend toute la largeur sur mobile */
  }
  .btn-primary {
    width: 100%; /* Les boutons prennent toute la largeur sur mobile */
  }
}
