/**
* Template Name: MyPortfolio
* Template URL: https://bootstrapmade.com/myportfolio-bootstrap-portfolio-website-template/
* Updated: Aug 08 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: "Inconsolata",  system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  --heading-font: "Inconsolata",  sans-serif;
  --nav-font: "Inconsolata",  sans-serif;
}

/* Global Colors - The following color variables are used throughout the website. Updating them here will change the color scheme of the entire website */
:root { 
  --background-color: #ffffff; /* Background color for the entire website, including individual sections */
  --default-color: #212529; /* Default color used for the majority of the text content across the entire website */
  --heading-color: #000000; /* Color for headings, subheadings and title throughout the website */
  --accent-color: #000000; /* Accent color that represents your brand on the website. It's used for buttons, links, and other elements that need to stand out */
  --surface-color: #ffffff; /* The surface color is used as a background of boxed elements within sections, such as cards, icon boxes, or other elements that require a visual separation from the global background. */
  --contrast-color: #ffffff; /* Contrast color for text, ensuring readability against backgrounds of accent, heading, or default colors. */
}

/* Nav Menu Colors - The following color variables are used specifically for the navigation menu. They are separate from the global colors to allow for more customization options */
:root {
  --nav-color: #5b5b5b;  /* The default color of the main navmenu links */
  --nav-hover-color: #000000; /* Applied to main navmenu links when they are hovered over or active */
  --nav-mobile-background-color: #f5f5f5; /* Used as the background color for mobile navigation menu */
  --nav-dropdown-background-color: #ffffff; /* Used as the background color for dropdown items that appear when hovering over primary navigation items */
  --nav-dropdown-color: #5b5b5b; /* Used for navigation links of the dropdown items in the navigation menu. */
  --nav-dropdown-hover-color: #000000; /* Similar to --nav-hover-color, this color is applied to dropdown navigation links when they are hovered over. */
}

/* Color Presets - These classes override global colors when applied to any section or element, providing reuse of the sam color scheme. */

.light-background {
  --background-color: #f9f9f9;
  --surface-color: #ffffff;
}

.dark-background {
  --background-color: #060606;
  --default-color: #ffffff;
  --heading-color: #ffffff;
  --surface-color: #252525;
  --contrast-color: #ffffff;
}

/* Smooth scroll */
:root {
  scroll-behavior: smooth;
}

/*--------------------------------------------------------------
# General Styling & Shared Classes
--------------------------------------------------------------*/
/* Curseur global */
body {
  color: var(--default-color);
  background-color: var(--background-color);
  font-family: var(--default-font);
  cursor: url('../img/cursor.cur'), auto;
}

/* Curseur au survol des liens et boutons */
a:hover,
button:hover,
a *,
button * {
  cursor: url('../img/cursor-special.cur'), auto !important;
}

/* Optionnel : curseur spécial aussi pendant le clic */
a:active,
button:active {
  cursor: url('../img/cursor-special.cur'), auto !important;
}


a {
  color: var(--accent-color);
  text-decoration: none;
  transition: 0.3s;
}

a:visited,
a:active {
  color: var(--accent-color);
  text-decoration: none;
}

a:hover {
  color: color-mix(in srgb, var(--accent-color), transparent 25%);
  text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--heading-color);
  font-family: var(--heading-font);
}

/* 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);
  padding: 0px;
  transition: all 0.5s;
  z-index: 997;
}

.header .logo {
  line-height: 1;
}

.header .logo img {
  max-height: 32px;
  margin-right: 8px;
}

.header .logo h1 {
  font-size: 30px;
  margin: 0;
  font-weight: 700;
  color: var(--heading-color);
}


/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/
/* Navmenu */
.mobile-nav-toggle {
  color: var(--nav-color);
  position: fixed;
  top: 20px;
  right: 20px;
  font-size: 32px;
  line-height: 0;
  cursor: url('assets/img/pointeur.png') 16 16 auto;
  display: block !important;
  z-index: 998;
  transition: 0.3s;
}

.mobile-nav-toggle:hover {
  color: var(--nav-hover-color);
}

.navmenu {
  position: fixed;
  top: 0;
  bottom: 0;
  right: -300px;
  z-index: 997;
  transition: 0.3s;
  width: 300px;
  overflow: hidden;
}

.navmenu ul {
  display: block;
  list-style: none;
  padding: 10px 0;
  margin: 0;
  overflow-y: auto;
  transition: 0.3s;
  z-index: 998;
}

.navmenu a,
.navmenu a:focus {
  color: var(--nav-dropdown-color);
  padding: 10px 20px;
  font-family: var(--nav-font);
  font-size: 17px;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: space-between;
  white-space: nowrap;
  transition: 0.3s;
}

.navmenu a i,
.navmenu a:focus i {
  font-size: 12px;
  line-height: 0;
  margin-left: 5px;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: 0.3s;
  background-color: color-mix(in srgb, var(--accent-color), transparent 90%);
}

.navmenu a i:hover,
.navmenu a:focus i:hover {
  background-color: var(--accent-color);
  color: var(--contrast-color);
}

.navmenu a:hover,
.navmenu .active,
.navmenu .active:focus {
  color: var(--nav-dropdown-hover-color);
}

.navmenu .active i,
.navmenu .active:focus i {
  background-color: var(--accent-color);
  color: var(--contrast-color);
  transform: rotate(180deg);
}

.navmenu .dropdown ul {
  position: static;
  display: none;
  z-index: 99;
  padding: 10px 0;
  margin: 10px 20px;
  box-shadow: none;
  transition: all 0.5s ease-in-out;
}

.navmenu .dropdown>.dropdown-active {
  display: block;
  background-color: var(--nav-dropdown-background-color);
  border: 1px solid color-mix(in srgb, var(--nav-dropdown-color), transparent 90%);
}

.mobile-nav-active {
  overflow: hidden;
}

.mobile-nav-active .mobile-nav-toggle {
  right: 310px;
  background-color: var(--surface-color);
  border-radius: 50%;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 80%);
}

.mobile-nav-active .navmenu {
  position: fixed;
  overflow: hidden;
  top: 0;
  bottom: 0;
  right: 0;
  background-color: var(--nav-mobile-background-color);
  transition: 0.3s;
}

/*--------------------------------------------------------------
# Global Footer
--------------------------------------------------------------*/
.footer {
  color: var(--default-color);
  background-color: var(--background-color);
  font-size: 14px;
  padding: 40px 0;
  position: relative;
}

.footer .copyright p {
  margin-bottom: 0;
}

.footer .social-links {
  margin-top: 20px;
}

.footer .social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 50%);
  font-size: 16px;
  color: color-mix(in srgb, var(--default-color), transparent 50%);
  margin: 0 5px;
  transition: 0.3s;
}

.footer .social-links a:hover {
  color: var(--accent-color);
  border-color: var(--accent-color);
}

.footer .credits {
  margin-top: 10px;
  font-size: 13px;
  text-align: center;
}

/*--------------------------------------------------------------
# Preloader
--------------------------------------------------------------*/
#preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background-color: var(--background-color);
  display: flex;
  justify-content: center;
  align-items: center;
}

#preloader img {
  width: 100px; /* Ajuste la taille du GIF */
  height: auto;
  animation: fadeIn 0.5s ease-in-out;
}

/* Animation d'apparition du GIF */
@keyframes fadeIn {
  from { 
    opacity: 0; 
    transform: scale(0.8); 
  }
  to { 
    opacity: 1; 
    transform: scale(1); 
  }
}




/*--------------------------------------------------------------
# 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) {
  .images-container {
    flex-direction: column !important;
    align-items: center !important;
    gap: 15px !important;
  }

  .images-container img {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
  }
}


@media screen and (max-width: 768px) {
  .btn-home {
    width: 36px;
    height: 36px;
    top: 10px;
    left: 10px;
  }

  .btn-home i {
    font-size: 16px;
  }
}

@media screen and (max-width: 768px) {
  .mb-4 img {
    width: 100% !important;
    margin-bottom: 15px;
  }
}

@media screen and (max-width: 768px) {
  .video-container,
  .video-container-vertical {
    max-width: 100% !important;
    padding-top: 56.25% !important;
  }

  .video-container video,
  .video-container iframe {
    width: 100% !important;
    height: 100% !important;
  }
}

@media screen and (max-width: 768px) {
  .row {
    flex-direction: column !important;
    gap: 20px;
    align-items: center !important;
  }
}

@media screen and (max-width: 768px) {
  .portfolio-description,
  .text-container,
  .paragraph-spacing,
  section {
    padding-left: 15px;
    padding-right: 15px;
  }

  .portfolio-description h2 {
    font-size: 20px;
  }

  .paragraph-spacing {
    font-size: 15px;
    line-height: 1.6;
  }
}

@media screen and (max-width: 768px) {
  .about .content {
    padding: 20px 15px;
    font-size: 16px;
    line-height: 1.7;
  }

  .about h2 {
    font-size: 20px;
    margin-bottom: 15px;
    text-align: center;
  }

  .about img {
    width: 100%;
    height: auto;
    margin-bottom: 20px;
    border-radius: 8px;
  }

  .info-block {
    background-color: #f9f9f9;
    border-left: 4px solid var(--accent-color);
    padding: 15px;
    margin: 20px 0;
    font-size: 15px;
    line-height: 1.6;
    border-radius: 5px;
  }

  .tools-container {
    justify-content: center;
    gap: 10px;
    margin-top: 10px;
    flex-wrap: wrap;
  }

  .tool-img {
    width: 40px;
    height: auto;
  }

  .tool-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 70px;
  }

  .tooltip {
    font-size: 11px;
    white-space: nowrap;
  }

  .about .content p,
  .about .content ul {
    text-align: justify;
  }
}

/*--------------------------------------------------------------
# Global Page Titles & Breadcrumbs
--------------------------------------------------------------*/
.page-title {
  color: var(--default-color);
  background-color: var(--background-color);
  padding: 120px 0;
  text-align: center;
  position: relative;
}

.page-title h1 {
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 10px;
}

.page-title .breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  justify-content: center;
  padding: 0;
  margin: 0;
  font-size: 16px;
  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;
  scroll-margin-top: 90px;
  overflow: clip;
}

@media (max-width: 1199px) {

  section,
  .section {
    scroll-margin-top: 66px;
  }
}

/*--------------------------------------------------------------
# Global Section Titles
--------------------------------------------------------------*/
.section-title {
  text-align: center;
  padding-bottom: 60px;
  position: relative;
}

.section-title h2 {
  font-size: 32px;
  font-weight: 400;
  margin-bottom: 15px;
}

.section-title p {
  margin-bottom: 0;
}

/*--------------------------------------------------------------
# Portfolio Section
--------------------------------------------------------------*/
.portfolio .portfolio-info h3 {
  font-size: 24px;
  margin-bottom: 5px;
}

.portfolio .portfolio-info p {
  font-size: 15px;
}

.portfolio .portfolio-filters {
  padding: 0;
  margin: 0 auto 20px auto;
  list-style: none;
}

.portfolio .portfolio-filters li {
  cursor: url('assets/img/pointeur.png') 16 16, auto;
  display: inline-block;
  padding: 0;
  font-size: 16px;
  font-weight: 400;
  margin: 0 10px;
  line-height: 1;
  margin-bottom: 5px;
  transition: all 0.3s ease-in-out;
}

.portfolio .portfolio-filters li:hover,
.portfolio .portfolio-filters li.filter-active {
  border-bottom: 2px solid var(--default-color);
  padding-bottom: 3px;
}

.portfolio .portfolio-filters li:first-child {
  margin-left: 0;
}

.portfolio .portfolio-filters li:last-child {
  margin-right: 5px;
}

@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;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.portfolio .portfolio-content .portfolio-info h4 {
  font-size: 18px;
  mask-border: 0;
  font-weight: 400;
  color: #ffffff;
  display: inline-block;
}

.portfolio .portfolio-content .portfolio-info p {
  text-align: center;
  display: inline-block;
  font-size: 14px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.8);
}

.portfolio .portfolio-content .portfolio-info .preview-link,
.portfolio .portfolio-content .portfolio-info .details-link {
  font-size: 26px;
  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);
}

/*--------------------------------------------------------------
# Clients Section
--------------------------------------------------------------*/
.clients .swiper-slide img {
  opacity: 0.5;
  transition: 0.3s;
  filter: grayscale(100);
}

.clients .swiper-slide img:hover {
  filter: none;
  opacity: 1;
}

.clients .swiper-wrapper {
  height: auto;
}

.clients .swiper-pagination {
  margin-top: 20px;
  position: relative;
}

.clients .swiper-pagination .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  opacity: 1;
  background-color: color-mix(in srgb, var(--default-color), transparent 80%);
}

.clients .swiper-pagination .swiper-pagination-bullet-active {
  background-color: var(--accent-color);
}

/*--------------------------------------------------------------
# Services Section
--------------------------------------------------------------*/
.services .service-item {
  background-color: var(--surface-color);
  padding: 40px;
  box-shadow: 0px 0 30px rgba(0, 0, 0, 0.1);
  height: 100%;
}

.services .service-item .icon {
  width: 48px;
  height: 48px;
  position: relative;
  margin-bottom: 50px;
}

.services .service-item .icon i {
  color: color-mix(in srgb, var(--heading-color), transparent 30%);
  font-size: 56px;
  transition: ease-in-out 0.3s;
  z-index: 2;
  position: relative;
}

.services .service-item .icon:before {
  position: absolute;
  content: "";
  height: 100%;
  width: 100%;
  background: color-mix(in srgb, var(--heading-color), transparent 95%);
  border-radius: 50px;
  z-index: 1;
  top: 10px;
  right: -20px;
  transition: 0.3s;
}

.services .service-item h3 {
  color: color-mix(in srgb, var(--heading-color), transparent 20%);
  font-weight: 700;
  margin: 0 0 20px 0;
  padding-bottom: 8px;
  font-size: 22px;
  position: relative;
  display: inline-block;
  border-bottom: 4px solid color-mix(in srgb, var(--heading-color), transparent 90%);
  transition: 0.3s;
}

.services .service-item p {
  line-height: 24px;
  font-size: 14px;
  margin-bottom: 0;
}

.services .service-item .readmore {
  margin-top: 15px;
  display: inline-block;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
}

.services .service-item:hover .icon i {
  color: var(--heading-color);
}

.services .service-item:hover .icon:before {
  background: color-mix(in srgb, var(--heading-color), transparent 90%);
}

.services .service-item:hover h3 {
  border-color: color-mix(in srgb, var(--accent-color), transparent 70%);
  color: var(--heading-color);
}

.services .service-item:hover .readmore {
  color: var(--accent-color);
}

/*--------------------------------------------------------------
# Testimonials Section
--------------------------------------------------------------*/
.testimonials .section-header {
  margin-bottom: 40px;
}

.testimonials .testimonials-carousel,
.testimonials .testimonials-slider {
  overflow: hidden;
}

.testimonials .testimonial-item {
  text-align: center;
}

.testimonials .testimonial-item .testimonial-img {
  width: 120px;
  border-radius: 50%;
  border: 4px solid var(--background-color);
  margin: 0 auto;
}

.testimonials .testimonial-item h3 {
  font-size: 20px;
  font-weight: bold;
  margin: 10px 0 5px 0;
}

.testimonials .testimonial-item h4 {
  font-size: 14px;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  margin: 0 0 15px 0;
}

.testimonials .testimonial-item .stars {
  margin-bottom: 15px;
}

.testimonials .testimonial-item .stars i {
  color: #ffc107;
  margin: 0 1px;
}

.testimonials .testimonial-item .quote-icon-left,
.testimonials .testimonial-item .quote-icon-right {
  color: color-mix(in srgb, var(--accent-color), transparent 50%);
  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 auto 15px auto;
}

.testimonials .swiper-wrapper {
  height: auto;
}

.testimonials .swiper-pagination {
  margin-top: 20px;
  position: relative;
}

.testimonials .swiper-pagination .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  opacity: 1;
  background-color: color-mix(in srgb, var(--default-color), transparent 85%);
}

.testimonials .swiper-pagination .swiper-pagination-bullet-active {
  background-color: var(--accent-color);
}

@media (min-width: 992px) {
  .testimonials .testimonial-item p {
    width: 80%;
  }
}

/*--------------------------------------------------------------
# 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;
}

.about .content p {
  margin-bottom: 1.5rem;
  line-height: 1.8;
  font-size: 15px;
}

.about .col-lg-5 {
  flex: 0 0 45%;
  max-width: 45%;
}

.about .row {
  align-items: center;
}


/*--------------------------------------------------------------
# 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);
}

/*--------------------------------------------------------------
# Pricing Section
--------------------------------------------------------------*/
.pricing .pricing-item {
  background-color: var(--surface-color);
  padding: 60px 40px;
  box-shadow: 0 3px 20px -2px rgba(0, 0, 0, 0.1);
  height: 100%;
  position: relative;
}

.pricing h3 {
  font-weight: 600;
  margin-bottom: 15px;
  font-size: 20px;
}

.pricing h4 {
  font-size: 48px;
  color: var(--accent-color);
  font-family: var(--heading-font);
  font-weight: 400;
}

.pricing h4 sup {
  font-size: 28px;
}

.pricing h4 span {
  color: color-mix(in srgb, var(--default-color), transparent 60%);
  font-size: 18px;
}

.pricing ul {
  padding: 20px 0;
  list-style: none;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  text-align: left;
  line-height: 20px;
}

.pricing ul li {
  padding: 10px 0;
  display: flex;
  align-items: center;
}

.pricing ul i {
  color: #059652;
  font-size: 24px;
  padding-right: 3px;
}

.pricing ul .na {
  color: color-mix(in srgb, var(--default-color), transparent 60%);
}

.pricing ul .na i {
  color: color-mix(in srgb, var(--default-color), transparent 60%);
}

.pricing ul .na span {
  text-decoration: line-through;
}

.pricing .buy-btn {
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  background-color: var(--background-color);
  display: inline-block;
  padding: 8px 35px 10px 35px;
  border-radius: 4px;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 60%);
  transition: none;
  font-size: 16px;
  font-weight: 500;
  font-family: var(--heading-font);
  transition: 0.3s;
}

.pricing .buy-btn:hover {
  background: var(--accent-color);
  border-color: var(--accent-color);
  color: var(--contrast-color);
}

.pricing .featured {
  z-index: 10;
}

.pricing .featured .pricing-item {
  background: var(--accent-color);
}

@media (min-width: 992px) {
  .pricing .featured .pricing-item {
    transform: scale(1.02, 1.1);
  }
}

.pricing .featured h3,
.pricing .featured h4,
.pricing .featured h4 span,
.pricing .featured ul,
.pricing .featured ul .na,
.pricing .featured ul i,
.pricing .featured ul .na i {
  color: var(--contrast-color);
}

.pricing .featured .buy-btn {
  background: var(--accent-color);
  color: var(--contrast-color);
  border-color: var(--contrast-color);
}

.pricing .featured .buy-btn:hover {
  background: color-mix(in srgb, var(--background-color), transparent 92%);
}

/*--------------------------------------------------------------
# Alt Pricing Section
--------------------------------------------------------------*/
.alt-pricing .pricing-item {
  border-bottom: 1px dashed color-mix(in srgb, var(--default-color), transparent 60%);
  width: 100%;
  height: 100%;
  padding: 0 0 15px 0;
}

.alt-pricing .pricing-item h3 {
  margin: 0;
  font-size: 20px;
  font-weight: 600;
}

.alt-pricing .pricing-item h4 {
  margin: 0;
  font-size: 18px;
  color: var(--accent-color);
}

/*--------------------------------------------------------------
# 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 {
  background-color: var(--surface-color);
  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%);
}

/* Assurer que la colonne du texte est bien placée */
.col-lg-4 {
  position: relative;
}

.portfolio-description {
  position: sticky;
  top: 20px;
  padding: 20px;
  line-height: 1.7;
  font-size: 16px;
  max-width: 100%;
}

.portfolio-description h2 {
  font-weight: 700;
  font-size: 24px;
  margin-bottom: 25px;
}

.portfolio-description p {
  margin-bottom: 20px;
}

@media (max-width: 992px) {
  .portfolio-description {
    position: static;
    padding-top: 40px;
  }
}

@media (max-width: 768px) {
  .text-container {
    position: static !important;
    padding: 20px 10px !important;
  }
}



.text-container {
  flex: 1;
  position: sticky;
  top: 20px;
  align-self: flex-start;
  width: 100%;
  max-width: none;
  background: transparent !important; /* Supprime tout fond blanc */
  box-shadow: none !important; /* Supprime toute ombre persistante */
  border: none !important; /* Supprime toute bordure */
  padding: 10px 0;
}




/*--------------------------------------------------------------
# Service Details Section
--------------------------------------------------------------*/
.service-details .services-list {
  background-color: var(--surface-color);
  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);
}

/*--------------------------------------------------------------
# Contact Section
--------------------------------------------------------------*/
.contact {
  background-image: url("../img/contact-bg.png");
  background-position: left center;
  background-repeat: no-repeat;
  position: relative;
}

@media (max-width: 640px) {
  .contact {
    background-position: center 50px;
    background-size: contain;
  }
}

.contact:before {
  content: "";
  background: color-mix(in srgb, var(--background-color), transparent 30%);
  position: absolute;
  bottom: 0;
  top: 0;
  left: 0;
  right: 0;
}

.contact .info-item+.info-item {
  margin-top: 40px;
}

.contact .info-item i {
  background: var(--accent-color);
  color: var(--contrast-color);
  font-size: 20px;
  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 .php-email-form {
  height: 100%;
}

.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: color-mix(in srgb, var(--background-color), transparent 50%);
  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 20%);
}


#back-to-index {
  position: fixed;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  padding: 10px 20px;
  background-color: #a4ce39; /* Couleur de fond */
  color: white;
  font-size: 16px;
  text-decoration: none;
  border-radius: 30px;
  transition: background-color 0.3s ease;
  display: flex;
  align-items: center;
}

#back-to-index:hover {
  background-color: #8bb02f; /* Couleur au survol */
}

#back-to-index i {
  font-size: 24px;
  margin-right: 8px;
  color: white;
}



.video-responsive {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 ratio */
  height: 0;
  overflow: hidden;
  max-width: 100%;
  background: #000;
}

.video-responsive iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.video-responsive {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 ratio */
  height: 0;
  overflow: hidden;
  max-width: 100%;
  background: #000;
}

.video-responsive iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Conteneur principal pour forcer le ratio 16:9 */
.video-container {
  position: relative;
  width: 100%; /* Largeur adaptative */
  padding-top: 56.25%; /* Ratio 16:9 */
  margin-bottom: 20px; /* Espacement sous la vidéo */
  border-radius: 8px; /* Coins arrondis */
  overflow: hidden; /* Empêche tout débordement */
  background: #000; /* Fond noir pour les vidéos */
}

/* Conteneur pour les vidéos (YouTube ou locales) */
.video-container {
  position: relative;
  width: 100%; /* Largeur adaptative à l'écran */
  padding-top: 56.25%; /* Ratio 16:9 basé sur la largeur */
  margin-bottom: 20px; /* Espacement entre les vidéos */
  border-radius: 8px; /* Coins arrondis */
  overflow: hidden; /* Empêche tout débordement */
  background: #000; /* Fond noir par défaut pour les vidéos */
}

/* Conteneur pour les vidéos (YouTube ou locales) */
.video-container {
  position: relative;
  width: 100%; /* Largeur adaptative à l'écran */
  padding-top: 56.25%; /* Ratio 16:9 basé sur la largeur */
  margin-bottom: 20px; /* Espacement entre les vidéos */
  border-radius: 8px; /* Coins arrondis */
  overflow: hidden; /* Empêche tout débordement */
  background: #000; /* Fond noir par défaut pour les vidéos */
}

/* Vidéos YouTube (iframe) et locales (video) */
.video-container iframe,
.video-container video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%; /* Remplit la largeur du conteneur */
  height: 100%; /* Ajuste la hauteur au ratio */
  border: none; /* Supprime les bordures */
  object-fit: cover; /* Assure une bonne couverture du conteneur */
}

.image-padding {
  margin: 10px 0; /* Ajoute un petit espace vertical entre les images */
}


.video-container-vertical {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  max-width: 400px; /* Taille max pour éviter qu'elle ne soit trop large */
  margin: 0 auto; /* Centrage */
}

.video-container-vertical video {
  width: 100%;
  height: auto;
  object-fit: contain;
  border: 5px solid #A3D65C; /* Bordure verte */
  border-radius: 10px;
}


.postcards-page .image-row {
  display: flex;
  justify-content: space-between;
  gap: 15px;
}

.postcards-page .image-hover-container {
  width: 48%;
  position: relative;
}

.postcards-page .image-hover-container img {
  width: 100%;
  height: auto;
  object-fit: contain;
  transition: opacity 0.3s ease-in-out;
}

.postcards-page .image-hover-container .static-img {
  display: block;
}

.postcards-page .image-hover-container .gif-hover {
  display: none;
}

.postcards-page .image-hover-container:hover .static-img {
  display: none;
}

.postcards-page .image-hover-container:hover .gif-hover {
  display: block;
}


.eventdrive-page .image-row {
  display: flex;
  justify-content: space-between;
  gap: 15px;
}

.eventdrive-page .image-hover-container {
  width: 32%;
  position: relative;
}

.eventdrive-page .image-hover-container img {
  width: 100%;
  height: auto;
  object-fit: contain;
  transition: opacity 0.3s ease-in-out;
}

.eventdrive-page .image-hover-container .static-img {
  display: block;
}

.eventdrive-page .image-hover-container .gif-hover {
  display: none;
}

.eventdrive-page .image-hover-container:hover .static-img {
  display: none;
}

.eventdrive-page .image-hover-container:hover .gif-hover {
  display: block;
}








/* Alignement vertical au centre pour chaque ligne */
.eventdrive-page .image-row {
  display: flex;
  justify-content: space-between;
  align-items: center; /* Centre les images sur l’axe vertical */
  flex-wrap: wrap;
  gap: 15px;
  margin-bottom: 20px;
}


/* Empêcher l’étirement des images dans les colonnes */
.eventdrive-page .image-hover-container img.static-img,
.eventdrive-page .image-hover-container img.gif-hover {
  width: 100%;
  height: auto;
  object-fit: contain;
}

/* Effet fade-up avec hover zoom */
[data-aos="fade-up"] {
  will-change: transform, opacity; /* Permet de fluidifier les transitions */
  transition: transform 0.8s ease-out, opacity 0.8s ease-out; /* Adoucit l'animation */
}

/* Effet hover uniquement après l'animation */
img:hover, video:hover, .image-hover-container:hover img {
  transform: scale(1.05) !important; /* Applique le zoom */
  transition: transform 0.3s ease, box-shadow 0.3s ease; /* Animation fluide */
  box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.2);
}


/* Ajoute plus d'espace entre les sections */
.section {
  padding: 80px 0; /* Augmente l’espace autour des sections */
}

/* Ajoute de l’espace entre les images */
.mb-4 {
  margin-bottom: 50px;
}




.row {
  display: flex;
  align-items: center;
  justify-content: space-between; /* Alignement parfait entre le GIF et le menu */
}

/* Conteneur du logo animé */
.gif-wrapper {
  position: relative;
  display: inline-block;
  text-align: center;
}

/* Style du texte qui apparaît en hover */
.hover-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 14px;
  font-weight: bold;
  color: black;
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
}

/* Apparition du texte au survol */
.gif-wrapper:hover .hover-text {
  opacity: 1;
}

/* Masquer l’image au hover si nécessaire */
.gif-wrapper:hover .gif {
  opacity: 0.3;
}

/* Ajustements du menu */
.menu-container {
  text-align: left;
}

h3, p {
  margin: 0;
}





/* Assurer l'alignement du logo et du menu */
.logo-container {
  position: relative;
  display: inline-block;
}

.menu-container {
  text-align: left;
}

/* Effet au hover pour le texte "Découvrez-moi" */
.gif-wrapper {
  position: relative;
  display: inline-block;
  text-align: center;
}

.hover-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 14px;
  font-weight: bold;
  color: black;
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
}

.gif-wrapper:hover .hover-text {
  opacity: 1;
}

.gif-wrapper:hover .gif {
  opacity: 0.3;
}




/* Correction de l'affichage du logo et du menu */
.row {
  display: flex;
  align-items: center;
  justify-content: space-between; /* Alignement parfait */
}

.logo-container {
  display: flex;
  align-items: center;
}

.menu-container {
  text-align: left;
}

/* Effet au hover pour "Découvrez-moi" */
.gif-wrapper {
  position: relative;
  display: inline-block;
}

.hover-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 14px;
  font-weight: bold;
  color: black;
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
}

.gif-wrapper:hover .hover-text {
  opacity: 1;
}

.gif-wrapper:hover .gif {
  opacity: 0.3;
}

/* Correction de l'affichage des projets */
.isotope-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

/* Gestion du hover des images */
.portfolio-content img {
  transition: opacity 0.3s ease-in-out;
}

.portfolio-content img.jpg {
  display: block;
}

.portfolio-content img.gif {
  display: none;
}

.portfolio-content:hover img.jpg {
  display: none;
}

.portfolio-content:hover img.gif {
  display: block;
}


.images-container {
  display: block;
}


.paragraph-spacing {
  margin-bottom: 20px;
  line-height: 1.7;
}



/* Liens principaux du footer */
.footer-link {
  position: relative;
  color: var(--accent-color);
  text-decoration: none;
  transition: color 0.3s ease;
  font-weight: 400;
}

/* Pseudo-élément pour l'animation de soulignement */
.footer-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0%;
  height: 1px;
  background-color: var(--accent-color);
  transition: width 0.3s ease;
}

/* Animation au hover */
.footer-link:hover::after {
  width: 100%;
}

/* Facultatif : adoucir la couleur du texte au hover */
.footer-link:hover {
  color: color-mix(in srgb, var(--accent-color), transparent 20%);
}


.text-link {
  position: relative;
  color: var(--accent-color);
  text-decoration: none;
  background-image: linear-gradient(to right, var(--accent-color) 100%, transparent 0%);
  background-size: 0% 1px;
  background-repeat: no-repeat;
  background-position: 0 100%;
  transition: background-size 0.3s ease, color 0.3s ease;
}

.text-link:hover {
  background-size: 100% 1px;
  color: color-mix(in srgb, var(--accent-color), transparent 20%);
}


.tools-container {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 15px;
  align-items: center;
}

.tool-icon {
  position: relative;
  text-align: center;
  transition: transform 0.3s ease;
}

.tool-img {
  width: 60px; /* contrôle total, tu peux ajuster à 70px ou 80px si besoin */
  height: auto;
  transition: transform 0.3s ease;
}

.tool-icon:hover .tool-img {
  transform: scale(1.1);
}

.tooltip {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background-color: #000;
  color: #fff;
  font-size: 12px;
  padding: 5px 8px;
  border-radius: 4px;
  opacity: 0;
  white-space: nowrap;
  pointer-events: none;
  transition: opacity 0.3s ease;
  margin-top: 5px;
  z-index: 10;
}

.tool-icon:hover .tooltip {
  opacity: 1;
}


u {
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}


.info-block {
  padding: 20px;
  line-height: 1.6;
  background-color: #fafafa;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  max-width: 700px;
  margin: auto;
}
.text-link {
  text-decoration: none;
  color: #555;
}
.text-link:hover {
  color: #000;
}


