/**
* Template Name: MyResume
* Template URL: https://bootstrapmade.com/free-html-bootstrap-template-my-resume/
* 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: "Roboto",  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: "Raleway",  sans-serif;
  --nav-font: "Poppins",  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: #121212; /* Fond sombre général */
  --default-color: #e0e0e0;    /* Texte en gris clair */
  --heading-color: #ffffff;    /* Titres en blanc */
  --accent-color: #0563bb;     /* Couleur d'accentuation violette */
  --surface-color: #1e1e1e;    /* Fond des cartes et sections */
  --contrast-color: #ffffff;   /* Texte contrastant */
}

/* 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: #45505b;  /* The default color of the main navmenu links */
  --nav-hover-color: #0563bb; /* Applied to main navmenu links when they are hovered over or active */
  --nav-mobile-background-color: #ffffff; /* 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: #212529; /* Used for navigation links of the dropdown items in the navigation menu. */
  --nav-dropdown-hover-color: #0563bb; /* 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
--------------------------------------------------------------*/
body {
  color: var(--default-color);
  background-color: var(--background-color);
  font-family: var(--default-font);
}

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

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);
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  padding: 0 15px;
  transition: all ease-in-out 0.3s;
  overflow-y: auto;
  z-index: 997;
  min-width: 200px;
}

@media (max-width: 1199px) {
  .header {
    background-color: var(--background-color);
    border-right: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
    width: 300px;
    left: -100%;
  }
}

@media (min-width: 1200px) and (max-width: 1600px) {
  .header~main {
    margin-left: 160px;
  }

  .header~main .hero {
    margin-left: -160px;
    width: 100vw;
  }
}

.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
--------------------------------------------------------------*/
.navmenu {
  padding: 0;
  z-index: 9997;
}

.navmenu ul {
  list-style: none;
  padding: 0 0 20px 0;
  margin: 0;
  width: fit-content;  /* Ajuste la largeur automatiquement */
  min-width: 120px;  /* Largeur minimale pour éviter que le menu soit trop étroit */
}

.navmenu a,
.navmenu a:focus {
  color: var(--nav-color);
  font-family: var(--nav-font);
  display: flex;
  align-items: center;
  padding: 10px 18px;
  margin-bottom: 8px;
  font-size: 15px;
  border-radius: 50px;
  background: color-mix(in srgb, var(--default-color), transparent 92%);
  height: 56px;
  width: 100%;
  overflow: hidden;
}

.navmenu a i,
.navmenu a:focus i {
  font-size: 20px;
}

.navmenu a span,
.navmenu a:focus span {
  padding: 0 5px 0 7px;
}

@media (min-width: 992px) {

  .navmenu a,
  .navmenu a:focus {
    max-width: 56px;
  }

  .navmenu a span,
  .navmenu a:focus span {
    display: none;
  }
}

.navmenu a:hover,
.navmenu .active,
.navmenu .active:focus,
.navmenu li:hover>a {
  color: var(--contrast-color);
  background: var(--nav-hover-color);
}

.navmenu a:hover,
.navmenu li:hover>a {
  max-width: 100%;
  color: var(--contrast-color);
}

.navmenu a:hover span,
.navmenu li:hover>a span {
  display: block;
}

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

.footer h3 {
  font-size: 36px;
  font-weight: 700;
  position: relative;
  padding: 0;
  margin: 0 0 15px 0;
}

.footer p {
  font-size: 15;
  font-style: italic;
  padding: 0;
  margin: 0 0 30px 0;
}

.footer .social-links {
  margin: 0 0 30px 0;
}

.footer .social-links a {
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-color);
  color: var(--contrast-color);
  line-height: 1;
  margin: 0 4px;
  border-radius: 50%;
  text-align: center;
  width: 36px;
  height: 36px;
  transition: 0.3s;
}

.footer .social-links a:hover {
  background: color-mix(in srgb, var(--accent-color), transparent 20%);
  text-decoration: none;
}

.footer .copyright {
  padding-top: 25px;
  border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

.footer .credits {
  font-size: 13px;
  padding-top: 5px;
}

/*--------------------------------------------------------------
# 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 {
  --background-color: color-mix(in srgb, var(--default-color), transparent 96%);
  color: var(--default-color);
  background-color: var(--background-color);
  padding: 20px 0;
  position: relative;
}

.page-title h1 {
  font-size: 28px;
  font-weight: 700;
  margin: 0;
}

.page-title .breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  padding: 0 0 10px 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 {
  text-align: center;
  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:before {
  content: "";
  position: absolute;
  display: block;
  width: 160px;
  height: 1px;
  background: color-mix(in srgb, var(--default-color), transparent 60%);
  left: 0;
  right: 0;
  bottom: 1px;
  margin: auto;
}

.section-title h2::after {
  content: "";
  position: absolute;
  display: block;
  width: 60px;
  height: 3px;
  background: var(--accent-color);
  left: 0;
  right: 0;
  bottom: 0;
  margin: auto;
}

.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: "";
  position: absolute;
  inset: 0;
  backdrop-filter: blur(4px);  /* Applique un flou en arrière-plan */
  z-index: 2;  /* Garde le texte au-dessus */
}

.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: 20px;
  display: inline-block;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  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 {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  white-space: nowrap; /* Empêche les retours à la ligne */
}

.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 i {
  background-color: var(--accent-color);
  color: var(--contrast-color);
  width: 54px;
  height: 54px;
  font-size: 24px;
  border-radius: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
}

.stats .stats-item {
  margin-top: 10px;
  width: 100%;
  position: relative;
  text-align: center;
  z-index: 0;
}

.stats .stats-item span {
  font-size: 36px;
  display: block;
  font-weight: 700;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
}

.stats .stats-item p {
  padding: 0;
  margin: 0;
  color: color-mix(in srgb, var(--default-color), transparent 50%);
  font-size: 16px;
}

/*--------------------------------------------------------------
# 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: 8px 20px 10px 20px;
  margin: 0;
  font-size: 15px;
  font-weight: 500;
  line-height: 1;
  margin-bottom: 5px;
  border-radius: 50px;
  transition: all 0.3s ease-in-out;
  font-family: var(--heading-font);
}

.portfolio .portfolio-filters li:hover,
.portfolio .portfolio-filters li.filter-active {
  color: var(--contrast-color);
  background-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 0 10px 0;
  }
}

.portfolio .portfolio-item {
  position: relative;
  overflow: hidden;
}

.portfolio .portfolio-item .portfolio-info {
  opacity: 0;
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: -100%;
  z-index: 3;
  transition: all ease-in-out 0.5s;
  background: color-mix(in srgb, var(--background-color), transparent 10%);
  padding: 15px;
}

.portfolio .portfolio-item .portfolio-info h4 {
  font-size: 18px;
  font-weight: 600;
  padding-right: 50px;
}

.portfolio .portfolio-item .portfolio-info p {
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  font-size: 14px;
  margin-bottom: 0;
  padding-right: 50px;
}

.portfolio .portfolio-item .portfolio-info .preview-link,
.portfolio .portfolio-item .portfolio-info .details-link {
  position: absolute;
  right: 50px;
  font-size: 24px;
  top: calc(50% - 14px);
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  transition: 0.3s;
  line-height: 0;
}

.portfolio .portfolio-item .portfolio-info .preview-link:hover,
.portfolio .portfolio-item .portfolio-info .details-link:hover {
  color: var(--accent-color);
}

.portfolio .portfolio-item .portfolio-info .details-link {
  right: 14px;
  font-size: 28px;
}

.portfolio .portfolio-item:hover .portfolio-info {
  opacity: 1;
  bottom: 0;
}

/*--------------------------------------------------------------
# Services Section
--------------------------------------------------------------*/
.services .service-item {
  background-color: var(--surface-color);
  box-shadow: 0px 5px 90px 0px rgba(0, 0, 0, 0.1);
  height: 100%;
  padding: 60px 30px;
  text-align: center;
  transition: 0.3s;
  border-radius: 5px;
}

.services .service-item .icon {
  margin: 0 auto;
  width: 100px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: ease-in-out 0.3s;
  position: relative;
}

.services .service-item .icon i {
  font-size: 36px;
  transition: 0.5s;
  position: relative;
}

.services .service-item .icon svg {
  position: absolute;
  top: 0;
  left: 0;
}

.services .service-item .icon svg path {
  transition: 0.5s;
  fill: color-mix(in srgb, var(--default-color), transparent 95%);
}

.services .service-item h3 {
  font-weight: 700;
  margin: 10px 0 15px 0;
  font-size: 22px;
}

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

.services .service-item:hover {
  box-shadow: 0px 5px 35px 0px rgba(0, 0, 0, 0.1);
}

.services .service-item.item-cyan i {
  color: #0dcaf0;
}



.services .service-item.item-cyan:hover .icon path {
  fill: #0dcaf0;
}

.services .service-item.item-orange i {
  color: #fd7e14;
}



.services .service-item.item-orange:hover .icon path {
  fill: #fd7e14;
}

.services .service-item.item-teal i {
  color: #20c997;
}



.services .service-item.item-teal:hover .icon path {
  fill: #20c997;
}

.services .service-item.item-red i {
  color: #df1529;
}



.services .service-item.item-red:hover .icon path {
  fill: #df1529;
}

.services .service-item.item-indigo i {
  color: #6610f2;
}

.services .service-item.item-orangee i {
  color: rgb(247, 98, 23);
}

.services .service-item.item-yelow i {
  color: #ffc107;
}

.services .service-item.item-green i {
  color: #059652;
}



.services .service-item.item-indigo:hover .icon path {
  fill: #6610f2;
}

.services .service-item.item-pink i {
  color: #f3268c;
}



.services .service-item.item-pink:hover .icon path {
  fill: #f3268c;
}

/*--------------------------------------------------------------
# Testimonials Section
--------------------------------------------------------------*/
.testimonials .testimonials-carousel,
.testimonials .testimonials-slider {
  overflow: hidden;
}

.testimonials .testimonial-item .testimonial-content {
  border-left: 3px solid var(--accent-color);
  padding-left: 30px;
}

.testimonials .testimonial-item .testimonial-img {
  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 10px 0;
}

.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;
}

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

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

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

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

/*--------------------------------------------------------------
# Contact Section
--------------------------------------------------------------*/
.contact .info-item+.info-item {
  margin-top: 40px;
}

.contact .info-item i {
  color: var(--accent-color);
  background: color-mix(in srgb, var(--accent-color), transparent 92%);
  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 .info-item:hover i {
  background: var(--accent-color);
  color: var(--contrast-color);
}

.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 25%);
}

/*--------------------------------------------------------------
# Portfolio Details Section
--------------------------------------------------------------*/
.portfolio-details .portfolio-details-slider img {
  width: 100%;
}

.portfolio-details .swiper-wrapper {
  height: auto;
}

.portfolio-details .swiper-button-prev,
.portfolio-details .swiper-button-next {
  width: 48px;
  height: 48px;
}

.portfolio-details .swiper-button-prev:after,
.portfolio-details .swiper-button-next:after {
  color: rgba(255, 255, 255, 0.8);
  background-color: rgba(0, 0, 0, 0.15);
  font-size: 24px;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.3s;
}

.portfolio-details .swiper-button-prev:hover:after,
.portfolio-details .swiper-button-next:hover:after {
  background-color: rgba(0, 0, 0, 0.3);
}

@media (max-width: 575px) {

  .portfolio-details .swiper-button-prev,
  .portfolio-details .swiper-button-next {
    display: none;
  }
}

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

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

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

.portfolio-details .portfolio-info h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 20px;
  padding-bottom: 20px;
  position: relative;
}

.portfolio-details .portfolio-info h3:after {
  content: "";
  position: absolute;
  display: block;
  width: 50px;
  height: 3px;
  background: var(--accent-color);
  left: 0;
  bottom: 0;
}

.portfolio-details .portfolio-info ul {
  list-style: none;
  padding: 0;
  font-size: 15px;
}

.portfolio-details .portfolio-info ul li {
  display: flex;
  flex-direction: column;
  padding-bottom: 15px;
}

.portfolio-details .portfolio-info ul strong {
  text-transform: uppercase;
  font-weight: 400;
  color: color-mix(in srgb, var(--default-color), transparent 50%);
  font-size: 14px;
}

.portfolio-details .portfolio-info .btn-visit {
  padding: 8px 40px;
  background: var(--accent-color);
  color: var(--contrast-color);
  border-radius: 50px;
  transition: 0.3s;
}

.portfolio-details .portfolio-info .btn-visit:hover {
  background: color-mix(in srgb, var(--accent-color), transparent 20%);
}

.portfolio-details .portfolio-description h2 {
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 20px;
}

.portfolio-details .portfolio-description p {
  padding: 0;
}

.portfolio-details .portfolio-description .testimonial-item {
  padding: 30px 30px 0 30px;
  position: relative;
  background: color-mix(in srgb, var(--default-color), transparent 97%);
  margin-bottom: 50px;
}

.portfolio-details .portfolio-description .testimonial-item .testimonial-img {
  width: 90px;
  border-radius: 50px;
  border: 6px solid var(--background-color);
  float: left;
  margin: 0 10px 0 0;
}

.portfolio-details .portfolio-description .testimonial-item h3 {
  font-size: 18px;
  font-weight: bold;
  margin: 15px 0 5px 0;
  padding-top: 20px;
}

.portfolio-details .portfolio-description .testimonial-item h4 {
  font-size: 14px;
  color: #6c757d;
  margin: 0;
}

.portfolio-details .portfolio-description .testimonial-item .quote-icon-left,
.portfolio-details .portfolio-description .testimonial-item .quote-icon-right {
  color: color-mix(in srgb, var(--accent-color), transparent 50%);
  font-size: 26px;
  line-height: 0;
}

.portfolio-details .portfolio-description .testimonial-item .quote-icon-left {
  display: inline-block;
  left: -5px;
  position: relative;
}

.portfolio-details .portfolio-description .testimonial-item .quote-icon-right {
  display: inline-block;
  right: -5px;
  position: relative;
  top: 10px;
  transform: scale(-1, -1);
}

.portfolio-details .portfolio-description .testimonial-item p {
  font-style: italic;
  margin: 0 0 15px 0 0 0;
  padding: 0;
}

/*--------------------------------------------------------------
# Service Details Section
--------------------------------------------------------------*/
.service-details .service-box {
  padding: 20px;
  box-shadow: 0px 2px 20px rgba(0, 0, 0, 0.1);
}

.service-details .service-box+.service-box {
  margin-top: 30px;
}

.service-details .service-box h4 {
  font-size: 20px;
  font-weight: 700;
  border-bottom: 2px solid color-mix(in srgb, var(--default-color), transparent 92%);
  padding-bottom: 15px;
  margin-bottom: 15px;
}

.service-details .services-list a {
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  background-color: color-mix(in srgb, var(--default-color), transparent 96%);
  display: flex;
  align-items: center;
  padding: 12px 15px;
  margin-top: 15px;
  transition: 0.3s;
}

.service-details .services-list a:first-child {
  margin-top: 0;
}

.service-details .services-list a i {
  font-size: 16px;
  margin-right: 8px;
  color: var(--accent-color);
}

.service-details .services-list a.active {
  color: var(--contrast-color);
  background-color: var(--accent-color);
}

.service-details .services-list a.active i {
  color: var(--contrast-color);
}

.service-details .services-list a:hover {
  background-color: color-mix(in srgb, var(--accent-color), transparent 95%);
  color: var(--accent-color);
}

.service-details .download-catalog a {
  color: var(--default-color);
  display: flex;
  align-items: center;
  padding: 10px 0;
  transition: 0.3s;
  border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

.service-details .download-catalog a:first-child {
  border-top: 0;
  padding-top: 0;
}

.service-details .download-catalog a:last-child {
  padding-bottom: 0;
}

.service-details .download-catalog a i {
  font-size: 24px;
  margin-right: 8px;
  color: var(--accent-color);
}

.service-details .download-catalog a:hover {
  color: var(--accent-color);
}

.service-details .help-box {
  background-color: var(--accent-color);
  color: var(--contrast-color);
  margin-top: 30px;
  padding: 30px 15px;
}

.service-details .help-box .help-icon {
  font-size: 48px;
}

.service-details .help-box h4,
.service-details .help-box a {
  color: var(--contrast-color);
}

.service-details .services-img {
  margin-bottom: 20px;
}

.service-details h3 {
  font-size: 26px;
  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);
}

/*--------------------------------------------------------------
# Starter Section Section
--------------------------------------------------------------*/
.starter-section {
  /* Add your styles here */
}


.btn-view-cv {
  display: inline-block;
  padding: 12px 30px;
  font-size: 18px;
  font-weight: 600;
  color: var(--contrast-color);
  background-color: var(--accent-color);
  border-radius: 50px;
  text-decoration: none;
  transition: all 0.3s ease-in-out;
}

.btn-view-cv:hover {
  background-color: color-mix(in srgb, var(--accent-color), transparent 20%);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.btn-view-cv i {
  margin-right: 10px;
  font-size: 22px;
  vertical-align: middle;
}


/* General Styles for Interests & Strengths Section */
#interests {
  padding: 50px 0;
}

#interests .section-title h2 {
  font-size: 2.5rem;
  font-weight: bold;
  text-align: center;
}

#interests .section-title p {
  font-size: 1rem;
  color: #888;
  text-align: center;
  margin-top: 10px;
}

/* Flexbox adjustments for the interest and strengths lists */
#interests .row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

#interests .col-lg-6 {
  flex: 0 0 48%; /* Makes sure each column takes up half width with a small gap */
  margin-bottom: 30px;
}

#interests .col-md-6 {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

#interests h5 {
  font-weight: 700;
  margin: 0;
  font-size: 1.2rem;
}

#interests p {
  margin: 5px 0 0;
  color: #666;
  font-size: 0.9rem;
}

/* Interest & Strengths Icons */
.interest-icon, .strength-icon {
  font-size: 2.5rem;
  color: var(--accent-color);
  margin-right: 15px;
}

#interests .d-flex {
  display: flex;
  align-items: center;
}




/* Modal Styling */
.portfolio-modal .modal-content {
  background-color: #343a40; /* Dark background */
  color: #fff; /* White text */
  border-radius: 10px;
}

.portfolio-modal .modal-header .btn-close {
  background-color: transparent;
  border: none;
  color: #fff; /* Close button color */
  font-size: 1.5rem;
}

.portfolio-modal .divider-custom {
  margin: 20px 0;
}

.portfolio-modal .divider-custom-line {
  width: 30%;
  height: 2px;
  background-color: #007bff; /* Light blue for divider */
  margin: 0 auto;
}

.portfolio-modal .divider-custom-icon {
  color: #007bff;
}

.portfolio-modal .img-fluid {
  border-radius: 10px; /* Rounded image corners */
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2); /* Light shadow for depth */
  margin-bottom: 20px;
}

.portfolio-modal h2, .portfolio-modal h4, .portfolio-modal h3 {
  color: #007bff; /* Light blue for titles */
}

.portfolio-modal ul {
  list-style: none;
  padding-left: 0;
}

.portfolio-modal li {
  margin-bottom: 10px;
  font-size: 1.1rem;
}

.portfolio-modal .btn-primary {
  background-color: #007bff;
  border-color: #007bff;
  padding: 10px 20px;
  font-size: 1rem;
  margin-top: 20px;
  border-radius: 5px;
}



/* Portfolio Image Container */
.portfolio-image-container {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  cursor: pointer;
}

/* Image Style */
.portfolio-image {
  width: 100%;
  transition: all 0.3s ease-in-out;
  border-radius: 10px;
  display: block;
}

/* Dark overlay (hidden by default) */
.portfolio-image-container::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0);  /* Pas d'assombrissement initial */
  z-index: 1;
  transition: background 0.3s ease-in-out;
}

/* Assombrit au survol */
.portfolio-image-container:hover::before {
  background: rgba(0, 0, 0, 0.5);  /* L'image devient sombre au survol */
}

/* Overlay Text (hidden by default) */
.overlay-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: #fff;
  font-weight: bold;
  opacity: 0;
  font-size: 1.4rem;
  z-index: 2;
  transition: opacity 0.3s ease-in-out;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);
}

/* Texte visible au survol */
.portfolio-image-container:hover .overlay-text {
  opacity: 1;
}

/* Image blur and zoom effect */
.portfolio-image-container:hover .portfolio-image {
  filter: blur(3px);  /* Flou léger au survol */
  transform: scale(1.05);  /* Zoom léger */
}

/* Button Style (optional, hidden by default) */
.portfolio-btn {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background-color: rgba(0, 123, 255, 0.8);
  color: white;
  border: none;
  border-radius: 20px;
  padding: 12px 25px;
  font-size: 1rem;
  font-weight: bold;
  transition: opacity 0.3s ease-in-out;
  opacity: 0;
  z-index: 3;
}

/* Bouton visible au survol */
.portfolio-image-container:hover .portfolio-btn {
  opacity: 1;
}

/* Responsive adjustments */
@media (max-width: 767px) {
  .overlay-text h4 {
    font-size: 1.1rem;
  }

  .portfolio-btn {
    font-size: 0.9rem;
    padding: 8px 20px;
  }
}


/* Section About - Fond global */
#about {
  background-color: #121212;  /* Fond sombre général */
  padding: 80px 0;
}

#about .container {
  max-width: 1200px;
}



#about .section-title p {
  color: #b0b0b0;
  font-size: 1.2rem;
  margin-bottom: 30px;
}

/* Contenu principal */
#about .content {
  background-color: #1e1e1e;  /* Fond des cartes */
  border-radius: 10px;
  padding: 40px;
  color: #e0e0e0;
}

#about .content:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.7);
  transition: all 0.3s ease-in-out;
}


/* Flexibilité des colonnes */
@media (max-width: 991px) {
  #about .row {
    flex-direction: column; /* Passe les éléments en colonne sur les petits écrans */
    align-items: center;
  }

  #about .col-lg-4,
  #about .col-lg-8 {
    text-align: center;
    margin-bottom: 30px;
  }

  #about .content {
    padding: 25px; /* Réduit le padding sur les petits écrans */
  }

  #about h2 {
    font-size: 24px; /* Ajuste la taille du texte sur les petits écrans */
  }

  #about .list-unstyled li {
    font-size: 14px; /* Réduit la taille des textes dans les listes */
  }

  #about .btn {
    font-size: 14px; /* Réduit la taille du bouton */
  }
}

@media (max-width: 575px) {
  #about .content {
    padding: 20px; /* Réduit encore plus le padding pour les très petits écrans */
  }

  #about h2 {
    font-size: 20px; /* Réduit encore la taille du titre */
  }

  #about .btn {
    width: 100%; /* Le bouton occupe toute la largeur sur les petits écrans */
  }
}

/* Forcer la ligne des éléments dans les listes */
#about .list-unstyled li {
  white-space: nowrap; /* Empêche les retours à la ligne */
}

#about .list-unstyled li span {
  white-space: nowrap; /* Empêche aussi les retours à la ligne dans les spans */
}

/* Photo de profil */
.profile-img {
  position: relative;  /* Permet une gestion facile des positions */
  max-width: 100%;  /* L'image ne dépasse pas la largeur du conteneur */
  height: auto;  /* Laisse la hauteur ajustée en fonction de l'aspect ratio de l'image */
  border-radius: 15px;  /* Coins arrondis pour un effet moderne */
  overflow: hidden;  /* Cache toute partie de l'image qui dépasse */
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);  /* Ombre plus marquée autour de l'image */
  transition: transform 0.3s ease, box-shadow 0.3s ease;  /* Transition fluide pour le survol */
}

/* Effet au survol */
.profile-img:hover {
  transform: scale(1.05);  /* Légère augmentation de la taille au survol */
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);  /* Ombre plus marquée lors du survol */
}

/* Image à l'intérieur du conteneur */
.profile-img img {
  width: 100%;  /* L'image occupe toute la largeur du conteneur */
  height: auto;  /* La hauteur est ajustée automatiquement */
  object-fit: cover;  /* L'image remplit le conteneur sans déformation */
  border-radius: 10px;  /* Arrondir légèrement les bords de l'image */
  transition: filter 0.3s ease;  /* Transition fluide pour l'effet de filtre */
}


/* Liste des informations personnelles */
#about ul li {
  font-size: 1.1rem;
  margin-bottom: 15px;
  color: #e0e0e0;  /* Texte clair */
}



#about .btn-primary i {
  margin-right: 12px;
  font-size: 1.3rem;
}

/* Responsive Design */
@media (max-width: 768px) {
  #about .content {
    padding: 30px;
  }

  .profile-img {
    width: 180px;
    height: 180px;
  }

  #about .section-title h2 {
    font-size: 2.2rem;
  }
}


/* Section Contact */
.contact {
  padding: 60px 0;
  background-color: #121212; /* Fond sombre */
  color: #ffffff; /* Texte en blanc pour contraste */
}

.contact .container {
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);  /* Ombre plus discrète */
  border-radius: 10px;
  padding: 30px;
  background-color: #121212; /* Fond légèrement plus clair que le fond principal */
}

.contact .section-title h2, 
.contact .section-title p {
  color: #ffffff;
}

.contact .info-item {
  background: #121212; /* Fond des blocs d'info */
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.contact .info-item i {
  font-size: 24px;
  color: #007bff; /* Icône en bleu */
  margin-right: 15px;
}

.contact form {
  background: #121212;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.contact form .form-control {
  background-color: #121212;
  color: #ffffff;
  border: 1px solid #444444;
}

.contact form .form-control::placeholder {
  color: #bbbbbb;
}

.contact form .button {
  background-color: #121212;
  color: #ffffff;
  border: none;
  padding: 10px 30px;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.contact form .button:hover {
  background-color: #121212;
}

/* Google Map Styling */
.contact .map {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.contact .map iframe {
  width: 100%;
  height: 350px;
  border: none;
  border-radius: 10px;
}


/* Contact Section Optimisée */
.contact-icon {
  font-size: 2rem;
  color: #007bff;
  margin-right: 15px;

}

.map-container iframe {
  border-radius: 10px;
  box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.2);
}

/* Réduction des marges */
.contact .col-md-4 {
  text-align: left;
  padding: 10px;
}

.contact h5 {
  margin-bottom: 5px;
  font-weight: bold;
}

.contact p {
  margin-bottom: 0;
}





/* Cartes d'affichage */
.interest-card, .strength-card {
  padding: 20px;
  text-align: center;
  border-radius: 10px;
  transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
  min-height: 180px; /* Hauteur minimale uniforme */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
}


.interest-card:hover, .strength-card:hover {
  transform: translateY(-5px);
  box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.15);
}

/* Icônes */
.interest-icon, .strength-icon {
  font-size: 2.5rem;
  margin-bottom: 10px;
}

.interest-card p, .strength-card p {
  flex-grow: 1; /* Permet au texte de remplir la carte uniformément */
}

/* 1️⃣ Uniformiser la hauteur des cartes */
.interests .row.gy-4 > div,
.strengths .row.gy-4 > div {
  display: flex;
  flex-direction: column;
}

/* 2️⃣ Assurer que toutes les cartes prennent la même hauteur */
.interests .row.gy-4 > div > div,
.strengths .row.gy-4 > div > div {
  flex-grow: 1;  /* Force la carte à s'étendre */
  display: flex;
}

/* 3️⃣ Correction du décalage des titres */
.interests h3,
.strengths h3 {
  margin-bottom: 20px;
  text-align: center;
  width: 100%;
  display: flex;
  justify-content: center;
}


.skills-container {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  justify-content: center;
}

.skill-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 250px;
  padding: 15px;
  font-size: 16px;
  font-weight: bold;
  border-radius: 15px;
  background-color: var(--surface-color);
  color: white;
  text-transform: uppercase;
  transition: transform 0.2s ease-in-out, box-shadow 0.3s;
  box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
}

/* Couleur uniquement sur l'icône */
.skill-card i {
  font-size: 35px;
  margin-bottom: 10px;
  transition: color 0.3s ease-in-out, transform 0.2s;
}

/* Définition des couleurs */
.bg-red i { color: #e74c3c; }
.bg-blue i { color: #3498db; }
.bg-green i { color: #2ecc71; }
.bg-yellow i { color: #f1c40f; }
.bg-orange i { color: #e67e22; }
.bg-teal i { color: #1abc9c; }
.bg-purple i { color: #9b59b6; }
.bg-indigo i { color: #5b2c6f; }


/* Texte normalisé */
.skill-card h4 {
  font-size: 18px;
  margin-bottom: 5px;
}

.skill-card p {
  font-size: 14px;
  font-weight: normal;
  text-transform: none;
  color: #ccc;
}



/* ========= Global Styles ========= */
html {
  scroll-behavior: smooth;
}

body {
  max-width: 100%;
  overflow-x: hidden;
}

/* ========= Images Responsives ========= */
img {
  max-width: 100%;
  height: auto;
}

/* ========= Section Responsive ========= */
.container {
  max-width: 1200px;
  width: 90%;
  margin: auto;
}

/* ========= Navigation Responsive ========= */
@media (max-width: 991px) {
  .navmenu ul {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .navmenu li {
    width: 100%;
    text-align: center;
  }
  .navmenu a {
    width: 100%;
    padding: 15px;
  }
}

/* ========= Hero Section ========= */
.hero h2 {
  font-size: 3vw;
}

.hero p {
  font-size: 1.5vw;
}

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


/* ========= Bouton Responsive ========= */
.btn {
  padding: 10px 20px;
  font-size: 16px;
  text-align: center;
  width: auto;
}

@media (max-width: 768px) {
  .btn {
    width: 100%;
  }
}

/* ========= Liste Informations ========= */
.about .content ul li {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
  justify-content: center;
}


/* ========= Portfolio ========= */
.portfolio .portfolio-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.portfolio .portfolio-item {
  width: 100%;
}

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

@media (min-width: 992px) {
  .portfolio .portfolio-item {
    width: 33.33%;
  }
}

/* ========= Footer ========= */
.footer {
  text-align: center;
  padding: 20px;
}

.footer .social-links {
  display: flex;
  justify-content: center;
  gap: 10px;
}

/* ========= Photo Profil Responsive ========= */
.profile-img {
  max-width: 400px;
  width: 100%;
  margin: auto;
}

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

/* ========= Cacher la photo sur petits écrans ========= */
@media screen and (max-width: 576px) {
  .profile-img {
    display: none !important; /* Force la suppression même si d'autres styles existent */
  }
}


.video-container {
  position: relative;
  width: 100%;
  max-width: 800px; /* Largeur max pour éviter une vidéo trop large */
  margin: 20px auto; /* Centrage avec un petit espace autour */
  border-radius: 12px; /* Coins arrondis pour un style plus moderne */
  overflow: hidden; /* Empêche le dépassement des bords arrondis */
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2); /* Ombre subtile */
}

.video-container iframe {
  width: 100%;
  height: 450px; /* Hauteur ajustable selon vos besoins */
  border: none;
  display: block;
}

/* 📱 Responsive Design */
@media (max-width: 768px) {
  .video-container {
    max-width: 90%; /* Réduction sur les tablettes et petits écrans */
  }
  
  .video-container iframe {
    height: 320px; /* Réduction de la hauteur */
  }
}

@media (max-width: 480px) {
  .video-container iframe {
    height: 220px; /* Encore plus petit pour les smartphones */
  }
}



.video-placeholder {
  position: relative;
  width: 640px; /* Adapte selon la taille souhaitée */
  height: 360px;
  cursor: pointer;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.video-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(70%);
  transition: filter 0.3s ease-in-out;
}

.video-placeholder:hover img {
  filter: brightness(100%);
}

.play-button {
  position: absolute;
  width: 80px;
  height: 80px;
  background: rgba(255, 255, 255, 0.8);
  border: none;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 36px;
  color: #007bff; 
  transition: all 0.3s ease-in-out;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.video-placeholder:hover .play-button {
  background: #003cff; 
  color: white;
  transform: scale(1.1);
}

.play-button::before {
  content: "▶";
  font-size: 32px;
  font-weight: bold;
}