/*
  Theme Name: DevFolio
  Theme URL: https://bootstrapmade.com/devfolio-bootstrap-portfolio-html-template/
  Author: BootstrapMade.com
  License: https://bootstrapmade.com/license/
*/

/*======================================
//--//-->   STYLES GENERALES
======================================*/

body {
  background-color: #ffffff;
  color: #4e4e4e;
  font-family: Arial, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: #1e1e1e;
}

a {
  color: #1e1e1e;
  transition: all 0.5s ease-in-out;
}

a:hover {
  color: #0078ff;
  text-decoration: none;
  transition: all 0.5s ease-in-out;
}

.p-r {
  position: relative;
}

.color-a {
  color: #0078ff;
}

.color-d {
  color: #f5f5f5;
}

.color-text-a {
  color: #4e4e4e;
}

.box-shadow,
.paralax-mf,
.service-box,
.work-box,
.card-blog {
  box-shadow: 0 13px 8px -10px rgba(0, 0, 0, 0.1);
}

.box-shadow-a,
.button:hover {
  box-shadow: 0 0 0 4px #cde1f8;
}

.display-5 {
  font-size: 2.5rem;
  font-weight: 300;
  line-height: 1.1;
}

.display-6 {
  font-size: 2rem;
  font-weight: 300;
  line-height: 1.1;
}

.avatar {
  width: 32px;
  height: 32px;
  margin-right: 4px;
  overflow: hidden;
}

.bg-image {
  background-repeat: no-repeat;
  background-attachment: scroll;
  background-size: cover;
  background-position: center center;
}

.overlay-mf {
  background-color: #0078ff;
}

.overlay-mf {
  position: absolute;
  top: 0;
  left: 12px;
  padding: 0;
  height: 100%;
  width: 100%;
  opacity: .1;
}

.paralax-mf {
  position: relative;
  padding: 8rem 0;
}

.display-table {
  width: 100%;
  height: 100%;
  display: table;
}

.table-cell {
  display: table-cell;
  vertical-align: middle;
}

/*--/ Sections /--*/

.sect-4 {
  padding: 4rem 0;
}

.sect-pt4 {
  padding-top: 4rem;
}

.sect-mt4 {
  margin-top: 4rem;
}

/*--/ Title s /--*/

.title-s {
  font-weight: 600;
  color: #1e1e1e;
  font-size: 1.1rem;
}

/*--/ Title A /--*/

.title-box {
  margin-bottom: 4rem;
}

.title-a {
  font-size: rem;
  font-weight: bold;
  text-transform: uppercase;
}

.subtitle-a {
  color: #4e4e4e;
}

.line-mf {
  width: 40px;
  height: 5px;
  background-color: #0078ff;
  margin: 0 auto;
}

/*--/ Title Left /--*/

.title-box-2 {
  margin-bottom: 3rem;
}

.title-left {
  font-size: 2rem;
  position: relative;
}

.title-left:before {
  content: '';
  position: absolute;
  height: 3px;
  background-color: #dac390;
  width: 100px;
  bottom: -12px;
}

/*------/ Box /------*/

.box-pl2 {
  padding-left: 2rem;
  border-radius: 10px; /* Bords arrondis */
}

.box-shadow-full {
  padding: 3rem 1.25rem;
  position: relative;
  background-color: #f0ece2;
  margin-bottom: 3rem;
  z-index: 2;
  box-shadow: 0 1px 1px 0 rgba(0, 0, 0, 0.06), 0 2px 5px 0 rgba(0, 0, 0, 0.2);
  border-radius: 15px; /* Bords arrondis */
}


/*------/ Socials /------*/

.socials {
  padding: 1.5rem 0;
}

.socials ul li {
  display: inline-block;
}

.socials .ico-circle {
  height: 40px;
  width: 40px;
  font-size: 1.7rem;
  border-radius: 50%;
  line-height: 1.4;
  margin: 0 15px 0 0;
  box-shadow: 0 0 0 3px #dac390;
  transition: all 500ms ease;
}

.socials .ico-circle:hover {
  background-color: #0078ff;
  color: #fff;
  box-shadow: 0 0 0 3px #dac390;
  transition: all 500ms ease;
}

/*------/ Ul resect /------*/

.ul-resect,
.socials ul,
.list-ico,
.blog-wrapper .post-meta ul,
.box-comments .list-comments,
.widget-sidebar .list-sidebar,
.widget-tags ul {
  list-style: none;
  padding-left: 0;
  margin-bottom: 0;
}

.list-ico {
  line-height: 2;
}

.list-ico span {
  color: #dac390;
  margin-right: 10px;
}

/*------/ Ico Circle /------*/

.ico-circle {
  height: 100px;
  width: 100px;
  font-size: 2rem;
  border-radius: 50%;
  line-height: 1.55;
  margin: 0 auto;
  text-align: center;
  box-shadow: 0 0 0 10px #dac390;
  display: block;
}

/*------/ Owl Carousel /------*/

.owl-theme .owl-dots {
  text-align: center;
  margin-top: 18px;
}

.owl-theme .owl-dots .owl-dot {
  display: inline-block;
}

.owl-theme .owl-dots .owl-dot span {
  width: 18px;
  height: 7px;
  margin: 5px 5px;
  background: #cde1f8;
  border: 0px solid #cde1f8;
  display: block;
  transition: all 0.6s ease-in-out;
  cursor: pointer;
}

.owl-theme .owl-dots .owl-dot:hover span {
  background-color: #cde1f8;
}

.owl-theme .owl-dots .owl-dot.active span {
  background-color: #1B1B1B;
  width: 25px;
}

/*--/ Scrolltop s /--*/

.scrolltop-mf {
  position: relative;
  display: none;
}

.scrolltop-mf span {
  z-index: 999;
  position: fixed;
  width: 42px;
  height: 42px;
  background-color: #0078ff;
  opacity: .7;
  font-size: 1.6rem;
  line-height: 1.5;
  text-align: center;
  color: #fff;
  top: auto;
  left: auto;
  right: 30px;
  bottom: 50px;
  cursor: pointer;
  border-radius: 50%;
}

/* Back to top button */

.back-to-top {
  position: fixed;
  display: none;
  background: #000000;
  color: #fff;
  width: 44px;
  height: 44px;
  text-align: center;
  line-height: 1;
  font-size: 16px;
  border-radius: 50%;
  right: 15px;
  bottom: 15px;
  transition: background 0.5s;
  z-index: 11;
}

.back-to-top i {
  padding-top: 12px;
  color: #fff;
}

/* Prelaoder */

#preloader {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;
  overflow: hidden;
  background: #fff;
}

#preloader:before {
  content: "SC";
  position: fixed;
  top: calc(50% - 40px);
  left: calc(50% - 40px);
  width: 80px;
  height: 80px;
  line-height: 80px;
  text-align: center;
  font-family: var(--title-font);
  font-size: 32px;
  color: #dac390;
  border: 2px solid #dac390;
  border-radius: 50%;
  animation: animate-preloader 2s ease-in-out infinite;
}

@keyframes animate-preloader {
  0% {
    transform: rotate(0deg) scale(1);
    opacity: 1;
  }
  50% {
    transform: rotate(180deg) scale(1.2);
    opacity: 0.5;
  }
  100% {
    transform: rotate(360deg) scale(1);
    opacity: 1;
  }
}

/* Ajout d'un effet de fondu pour la disparition du loader */
#preloader.fade-out {
  opacity: 0;
  transition: opacity 0.5s ease-out;
}

/*======================================
//--//-->   NAVBAR
======================================*/

.navbar-container {
  width: 100%;
  padding-right: 0;
  padding-left: 0;
  margin-right: auto;
  margin-left: auto;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -ms-flex-align: center;
  align-items: center;
  -ms-flex-pack: justify;
  justify-content: space-between;
  padding: 0 30px;
}

.navbar-b {
  transition: all .5s ease-in-out;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
}

/* Pour s'assurer que le texte reste lisible */
.navbar-b .nav-link {
  color: #ffffff;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.navbar-b.navbar-trans .nav-item,
.navbar-b.navbar-reduce .nav-item {
  position: relative;
  padding-right: 0px;
  padding-left: 0;
}

.navbar-b.navbar-trans .nav-link,
.navbar-b.navbar-reduce .nav-link {
  color: #fff;
  text-transform: uppercase;
  font-weight: 500;
  font-size: 0.9rem;
}

.navbar-b.navbar-trans .nav-link:before,
.navbar-b.navbar-reduce .nav-link:before {
  content: '';
  position: absolute;
  margin-left: 0px;
  width: 0%;
  bottom: 0;
  left: 0;
  height: 2px;
  transition: all 500ms ease;
}

.navbar-b.navbar-trans .nav-link:hover,
.navbar-b.navbar-reduce .nav-link:hover {
  color: #1B1B1B;
}

.navbar-b.navbar-trans .nav-link:hover:before,
.navbar-b.navbar-reduce .nav-link:hover:before {
  width: 35px;
}

.navbar-b.navbar-trans .show > .nav-link:before,
.navbar-b.navbar-trans .active > .nav-link:before,
.navbar-b.navbar-trans .nav-link.show:before,
.navbar-b.navbar-trans .nav-link.active:before,
.navbar-b.navbar-reduce .show > .nav-link:before,
.navbar-b.navbar-reduce .active > .nav-link:before,
.navbar-b.navbar-reduce .nav-link.show:before,
.navbar-b.navbar-reduce .nav-link.active:before {
  width: 35px;
}

.navbar-b.navbar-trans .nav-link:before {
  background-color: #fff;
}

.navbar-b.navbar-trans .nav-link:hover {
  color: #fff;
}

.navbar-b.navbar-trans .show > .nav-link,
.navbar-b.navbar-trans .active > .nav-link,
.navbar-b.navbar-trans .nav-link.show,
.navbar-b.navbar-trans .nav-link.active {
  color: #fff;
}

.navbar-b.navbar-reduce {
  transition: all .5s ease-in-out;
  background-color: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding-top: 2px;
  padding-bottom: 1px;
}

.navbar-b.navbar-reduce .nav-link {
  color: #fff;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

.navbar-b.navbar-reduce .nav-link:before {
  background-color: #dac390;
}

.navbar-b.navbar-reduce .nav-link:hover {
  color: #000000;
}

.navbar-b.navbar-reduce .show > .nav-link,
.navbar-b.navbar-reduce .active > .nav-link,
.navbar-b.navbar-reduce .nav-link.show,
.navbar-b.navbar-reduce .nav-link.active {
  color: #ffffff;
}

.navbar-b.navbar-reduce .navbar-brand {
  color: #dac390;
}

.navbar-b.navbar-reduce .navbar-toggler span {
  background-color: #1B1B1B;
}

.navbar-b .navbar-brand {
  color: #fff;
  font-size: 1.6rem;
  font-weight: 600;
}

.navbar-b .navbar-nav .dropdown-item.show .dropdown-menu,
.navbar-b .dropdown.show .dropdown-menu,
.navbar-b .dropdown-btn.show .dropdown-menu {
  -webkit-transform: translate3d(0px, 0px, 0px);
  transform: translate3d(0px, 0px, 0px);
  visibility: visible !important;
}

.navbar-b .dropdown-menu {
  margin: 1.12rem 0 0;
  border-radius: 0;
}

.navbar-b .dropdown-menu .dropdown-item {
  padding: .7rem 1.7rem;
  transition: all 500ms ease;
}

.navbar-b .dropdown-menu .dropdown-item:hover {
  background-color: #0078ff;
  color: #fff;
  transition: all 500ms ease;
}

.navbar-b .dropdown-menu .dropdown-item.active {
  background-color: #0078ff;
}

.logo {
  margin-top: 4px;
  margin-left: 20px;
  transform: scale(1.25);
  filter: drop-shadow(1px 1px 2px rgba(0,0,0,0.3));
}

/*--/ Hamburger Navbar /--*/

.navbar-toggler {
  border: none;
  padding: 10px;
  margin-right: 10px;
  background: transparent;
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
}

.navbar-toggler .dot {
  width: 6px;
  height: 6px;
  background-color: #ffffff;
  border-radius: 50%;
  display: block;
  transition: all 0.3s ease;
  box-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

/* Animation au hover */
.navbar-toggler:hover .dot {
  background-color: #dac390;
}

/* Style du menu mobile */
@media (max-width: 991px) {
  .navbar-collapse {
    position: fixed;
    top: 0;
    right: -250px; /* Position initiale hors écran */
    height: 100vh;
    width: 250px;
    background-color: rgba(0, 0, 0, 0.6);
    transition: all 0.3s ease;
    box-shadow: -2px 0 5px rgba(0,0,0,0.2);
    padding: 20px;
    backdrop-filter: blur(5px);
  }

  /* Règle importante pour afficher le menu */
  .navbar-collapse.show {
    right: 0;
  }

  .navbar-nav {
    margin-top: 60px;
  }

  .nav-item {
    margin: 15px 0;
  }

  .nav-link {
    font-size: 16px;
    color: #ffffff !important;
    text-transform: uppercase;
    font-weight: 500;
  }

  /* Cache la croix par défaut */
  .close-menu {
    display: none;
  }

  /* Affiche la croix uniquement en mode portrait */
  @media (orientation: portrait) {
    .close-menu {
      display: block;
      position: absolute;
      top: 20px;
      right: 20px;
      background: transparent;
      border: none;
      color: #ffffff;
      font-size: 28px;
      cursor: pointer;
      width: 30px;
      height: 30px;
      line-height: 30px;
      text-align: center;
      transition: all 0.3s ease;
    }
  }
}

/* Style du bouton de fermeture */
.close-menu {
    display: none; /* Cache la croix par défaut */
}

/* Style du menu mobile */
@media (max-width: 991px) and (orientation: portrait) {
    /* ... autres styles mobile ... */

    /* Affiche la croix uniquement en mode portrait sur mobile */
    .close-menu {
        display: block;
        position: absolute;
        top: 20px;
        right: 20px;
        background: transparent;
        border: none;
        color: #ffffff;
        font-size: 28px;
        cursor: pointer;
        width: 30px;
        height: 30px;
        line-height: 30px;
        text-align: center;
        transition: all 0.3s ease;
    }

    .close-menu:hover {
        color: #dac390;
        transform: rotate(90deg);
    }
}

/* Ajustement pour le mode paysage */
@media (max-width: 991px) and (orientation: landscape) {
    .navbar-nav {
        margin-top: 20px; /* Réduit la marge en mode paysage */
    }
}

/*======================================
//--//-->   INTRO
======================================*/

.intro {
  height: 100vh;
  position: relative;
  color: #fff;
}

.intro .intro-content {
  text-align: absolute;
  position: absolute;
}

.intro .overlay-itro {
  display: none;
}

.intro .intro-title {
  color: #fff;
  font-weight: 600;
  font-size: 3rem;
}

.intro .intro-subtitle {
  font-size: 0,5rem;
  font-weight: 150;
}

.intro .text-slider-items {
  display: none;
}

.intro-single {
  height: 110px;
}

.intro-single .intro-content {
  margin-top: 12px;
}

.intro-single .intro-title {
  text-transform: uppercase;
  font-size: 3rem;
}

.intro-single .breadcrumb {
  background-color: transparent;
  color: #0078ff;
}

.intro-single .breadcrumb .breadcrumb-item:before {
  color: #cde1f8;
}

.intro-single .breadcrumb .breadcrumb-item.active {
  color: #cde1f8;
}

.intro-single .breadcrumb a {
  color: #fff;
}

/*======================================
//--//-->   BUBULE
======================================*/

.bubule {
  background-color: #fff;
  margin-top: -5rem;
  border-radius: 25px;
  box-shadow: 0px 5px 10px 3px rgba(0, 0, 0, 0.2);
  position: relative;
}

.bubule-col {
  padding: 1rem;
  border-radius: 25px;
  transition: background-color 500ms ease;
}

.bubule-col:hover {
  background-color: #cfcfcf;
  transition: background-color 500ms ease;
}

/*======================================
//--//-->   ABOUT
======================================*/

.about-mf .box-shadow-full {
  padding-top: 1,5rem;
  padding-bottom: 1,5rem;
}

  .about-mf .about-img {
margin-bottom: 1rem;
}

.about-mf .about-img img {
  margin-left: 0px;
}

.skill-mf span {
  color: #4e4e4e;
}

.skill-mf .progress {
  background-color: #cde1f8;
  margin: .5rem 0 1.2rem 0;
  border-radius: 0;
  height: .7rem;
}

.skill-mf .progress .progress-bar {
  height: .7rem;
  background-color: #0078ff;
}

/*======================================
//--//-->   SERVICES
======================================*/

.service-box {
  background-color: #fff;
  padding: 2.5rem 1.3rem;
  border-radius: 1rem;
  margin-bottom: 3rem;
}

.service-box:hover .ico-circle {
  transition: all 500ms ease;
  color: #fff;
  background-color: #0078ff;
  box-shadow: 0 0 0 10px #cde1f8;
}

.service-box .service-ico {
  margin-bottom: 1rem;
  color: #dac390;
}

.service-box .ico-circle {
  transition: all 500ms ease;
  font-size: 4rem;
}

.service-box .s-title {
  font-size: 1.4rem;
  text-transform: uppercase;
  text-align: center;
  padding: .4rem 0;
}

.service-box .s-description {
  color: #4e4e4e;
}

/*======================================
//--//-->   COUNTER
======================================*/
.section-counter.bg-image {
  position: relative;
}

.section-counter.bg-image::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.4); /* Couche semi-transparente */
  z-index: 3s;
}

.section-counter .container {
  position: relative;
  z-index: 2;
}

.counter-box {
  color: #fff;
  text-align: center;
}

.counter-ico {
  margin-bottom: 1rem;
}

.counter-ico .ico-circle {
  height: 60px;
  width: 60px;
  line-height: 1.8;
  box-shadow: 0 0 0 10px #cde1f8;
}

.counter-num .counter {
  font-size: 2rem;
  margin-bottom: 0;
}

/*======================================
//--//-->   PORTFOLIO
======================================*/

.work-box {
  margin-bottom: 3rem;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  background-color: #fff;
}

.work-box:hover img {
  -webkit-transform: scale(1.3);
  transform: scale(1.3);
}

.work-img {
  display: block;
  overflow: hidden;
}

.work-img img {
  transition: all 1s;
}

.work-content {
  padding: 2rem 3% 1rem 4%;
}

.work-content .w-more {
  color: #4e4e4e;
  font-size: .8rem;
}

.work-content .w-more .w-ctegory {
  color: #0078ff;
}

.work-content .w-like {
  font-size: 2.5rem;
  color: #0078ff;
  float: right;
}

.work-content .w-like a {
  color: #0078ff;
}

.work-content .w-like .num-like {
  font-size: .7rem;
}

.w-title {
  font-size: 1.2rem;
}

/*======================================
//--//-->   TESTIMONIALS
======================================*/

.testimonials .owl-carousel .owl-item img {
  width: auto;
}

.testimonial-box {
  color: #fff;
  text-align: center;
}

.testimonial-box .author-test {
  margin-top: 1rem;
}

.testimonial-box .author-test img {
  margin: 0 auto;
}

.testimonial-box .author {
  color: #fff;
  text-transform: uppercase;
  font-weight: 600;
  margin: 1rem 0;
  display: block;
  font-size: 1.4rem;
}

.testimonial-box .comit {
  font-size: 2rem;
  color: #0078ff;
  background-color: #fff;
  width: 52px;
  height: 52px;
  display: block;
  margin: 0 auto;
  border-radius: 50%;
  line-height: 1.6;
}

/*======================================
//--//-->   BLOG
======================================*/

.card-blog .card-body {
  position: relative;
}

.card-blog .card-category-box {
  position: absolute;
  text-align: center;
  top: -16px;
  left: 15px;
  right: 15px;
  line-height: 25px;
  overflow: hidden;
}

.card-blog .card-category {
  display: inline-block;
  color: #fff;
  padding: 0 15px 5px;
  overflow: hidden;
  background-color: #0078ff;
  border-radius: 4px;
}

.card-blog .card-category .category {
  color: #fff;
  display: inline-block;
  text-transform: uppercase;
  font-size: .7rem;
  letter-spacing: .1px;
  margin-bottom: 0;
}

.card-blog .card-title {
  font-size: 1.3rem;
  margin-top: .6rem;
}

.card-blog .card-description {
  color: #4e4e4e;
}

.card-blog .post-author {
  display: inline-block;
}

.card-blog .post-date {
  color: #4e4e4e;
  display: inline-block;
  float: right;
}

/*======================================
//--//-->   BLOG-SINGLE
======================================*/

.post-box,
.form-comments,
.box-comments,
.widget-sidebar {
  padding: 2rem;
  background-color: #fff;
  margin-bottom: 3rem;
}

.blog-wrapper .article-title {
  font-size: 1.5rem;
}

.blog-wrapper .post-meta {
  margin: 1rem 0;
}

.blog-wrapper .post-meta ul {
  border-left: 4px solid #0078ff;
  margin-top: 1rem;
}

.blog-wrapper .post-meta ul li {
  display: inline-block;
  margin-left: 15px;
}

.blog-wrapper .post-meta ul a {
  color: #0078ff;
}

.blog-wrapper .post-meta ul span {
  color: #1e1e1e;
}

.blog-wrapper .blockquote {
  border-left: 4px solid #0078ff;
  padding: 18px;
  font-style: italic;
}

/*------/ Comments /------*/

.box-comments .list-comments li {
  padding-bottom: 40px;
}

.box-comments .list-comments .comment-avatar {
  display: table-cell;
  vertical-align: top;
}

.box-comments .list-comments .comment-avatar img {
  width: 80px;
  height: 80px;
}

.box-comments .list-comments .comment-author {
  font-size: 1.3rem;
}

.box-comments .list-comments .comment-details {
  display: table-cell;
  vertical-align: top;
  padding-left: 25px;
}

.box-comments .list-comments a {
  color: #0078ff;
}

.box-comments .list-comments span {
  color: #1e1e1e;
  font-style: italic;
}

.box-comments .comment-children {
  margin-left: 40px;
}

/*------/ Sidebar /------*/

.widget-sidebar .sidebar-title {
  font-size: 1.6rem;
  font-weight: 600;
  border-left: 5px solid #0078ff;
  padding-left: 15px;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.widget-sidebar .list-sidebar li {
  position: relative;
  padding: 6px 0 6px 24px;
}

.widget-sidebar .list-sidebar li:before {
  position: absolute;
  content: "";
  width: 10px;
  height: 1px;
  left: 0;
  background-color: #0078ff;
  top: 20px;
}

.sidebar-search input {
  background-color: #fff;
  border-radius: 0;
  transition: all 0.5s ease-in-out;
}

.sidebar-search .btn-search {
  background-color: #0078ff;
  border-color: #0078ff;
  border-radius: 0;
  padding-left: 20px;
  padding-right: 20px;
}

.widget-tags ul li {
  display: inline-block;
  background-color: #0078ff;
  padding: .2rem .6rem;
  margin-bottom: .5rem;
  border-radius: 15px;
}

.widget-tags ul li a {
  color: #fff;
}

/*======================================
//--//-->   CONTACT
======================================*/

.footer-paralax {
  padding: 4rem 0 0 0;
}

.contact-mf {
  margin-top: 4rem;
}

/*======================================
//--//-->   FOOTER
======================================*/

footer {
  text-align: center;
  color: #fff;
  padding-bottom: 4rem;
}

footer .copyright {
  margin-bottom: .3rem;
}

footer .credits {
  margin-bottom: 0;
}

footer .credits a {
  color: #fff;
}

/*======================================
//--//-->   CONtaCT FORM
======================================*/

#sendmessage {
  color: #0078ff;
  border: 1px solid #0078ff;
  display: none;
  text-align: center;
  padding: 15px;
  font-weight: 600;
  margin-bottom: 15px;
}

#errormessage {
  color: red;
  display: none;
  border: 1px solid red;
  text-align: center;
  padding: 15px;
  font-weight: 600;
  margin-bottom: 15px;
}

#sendmessage.show,
#errormessage.show,
.show {
  display: block;
}

.validation {
  color: red;
  display: none;
  margin: 0 0 20px;
  font-weight: 400;
  font-size: 13px;
}

/*======================================
//--//-->   BUTTON
======================================*/

.button {
  display: inline-block;
  padding: .3rem .6rem;
  text-align: center;
  vertical-align: middle;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  font-size: 1rem;
  border-radius: .3rem;
  border: 1px solid transparent;
  transition: all 500ms ease;
  cursor: pointer;
}

.button:focus {
  outline: 0;
}

.button:hover {
  background-color: #0062d3;
  color: #fff;
  transition: all 500ms ease;
}

.button-a {
  background-color: #dac390;
  color: #000000;
  border-color: #000000;
}

.button-big {
  padding: .9rem 2.3rem;
  font-size: 1.2rem;
}

.button-rouded {
  border-radius: 5rem;
}

.btn-lg {
  padding: .5rem 1rem;
  font-size: 1.25rem;
  line-height: 1.5;
  border-radius: .3rem;
}

@media (min-width: 577px) {
  .counter-box {
    margin-bottom: 1.8rem;
  }
}

@media (min-width: 767px) {
  .about-mf .box-pl2 {
    margin-top: 3rem;
    padding-left: 0rem;
  }

  .card-blog {
    margin-bottom: 3rem;
  }

  .contact-mf .box-pl2 {
    margin-top: 3rem;
    padding-left: 0rem;
  }
}

@media (min-width: 768px) {
  .box-shadow-full {
    padding: 3rem;
  }

  .navbar-b.navbar-trans .nav-item,
  .navbar-b.navbar-reduce .nav-item {
    padding-left: 10px;
  }

  .navbar-b.navbar-trans .nav-link:before,
  .navbar-b.navbar-reduce .nav-link:before {
    margin-left: 18px;
  }

  .intro .intro-title {
    font-size: 4.5rem;
  }

  .intro .intro-subtitle {
    font-size: 2.5rem;
  }

  .intro-single .intro-title {
    font-size: 3.5rem;
  }

  .testimonial-box .description {
    padding: 0 5rem;
  }

  .post-box,
  .form-comments,
  .box-comments,
  .widget-sidebar {
    padding: 3rem;
  }

  .blog-wrapper .article-title {
    font-size: 1.9rem;
  }

  .box-comments .list-comments .comment-author {
    font-size: 1.5rem;
  }
}

@media (min-width: 992px) {
  .testimonial-box .description {
    padding: 0 8rem;
  }
}

@media (min-width: 1200px) {
  .testimonial-box .description {
    padding: 0 13rem;
  }
}

@media (max-width: 1024px) {
  .bg-image {
    background-attachment: scroll;
  }
}

@media (max-width: 768px) {
  .back-to-top {
    bottom: 15px;
  }
}

/* Styles de base */
body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333;
}

/* Navbar styles */
.navbar {
    transition: all 0.3s ease;
    background-color: transparent;
    padding: 20px 0;
    height: 100px;
}

.navbar-scrolled {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

/* Intro section */
.intro {
    height: 100vh;
    position: relative;
    background-size: cover;
    background-position: center;
}

.overlay-itro {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0,0,0,0.6);
}

.intro-content {
    position: relative;
    z-index: 2;
    color: #fff;
    text-align: center;
    padding-top: 20vh;
}

/* Animations */
.fade-in {
    animation: fadeIn 1s ease-in;
}

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

/* Responsive adjustments */
@media (max-width: 768px) {
    .intro-content {
        padding-top: 15vh;
    }
    
    .intro-title {
        font-size: 2em;
    }
}

/* Navigation */
.navbar-container {
    padding: 0 30px;
}

.navbar .SC.logo {
    height: 80px;
    width: auto;
}

.nav-link {
    font-size: 1.1em;
    padding: 10px 15px !important;
}

/* Modification du style de base de la navbar */
.navbar-b.navbar-trans {
    background-color: #1B1B1B; /* Gris très foncé */
    padding-top: 0.5rem;
    padding-bottom: 1rem;
}

/* Style quand la navbar est réduite */
.navbar-b.navbar-reduce {
    transition: all .5s ease-in-out;
    background-color: #1B1B1B; /* Même gris foncé */
    padding-top: 2px;
    padding-bottom: 1px;
}

/* Style de la navbar avec support Safari */
.navbar-b.navbar-trans,
.navbar-b.navbar-reduce {
    background-color: rgba(27, 27, 27, 0.75); /* Fallback pour Safari */
    -webkit-backdrop-filter: blur(15px); /* Safari */
    backdrop-filter: blur(15px);
    -webkit-transform: translateZ(0); /* Fix pour Safari */
    transform: translateZ(0);
}

/* Solution de repli pour Safari si le blur ne fonctionne pas */
@supports not ((-webkit-backdrop-filter: blur(15px)) or (backdrop-filter: blur(15px))) {
    .navbar-b.navbar-trans,
    .navbar-b.navbar-reduce {
        background-color: rgba(27, 27, 27, 0.9); /* Fond plus opaque comme solution de repli */
    }
}

/* Assure la compatibilité avec les anciennes versions de Safari */
@media not all and (min-resolution:.001dpcm) { 
    @supports (-webkit-appearance:none) {
        .navbar-b.navbar-trans,
        .navbar-b.navbar-reduce {
            background-color: rgba(27, 27, 27, 0.9);
        }
    }
}

/* Style des villes pour tous les écrans */
.location-box {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    padding: 2rem 0;
}

.location-item {
    flex: 1;
    min-width: 280px; /* Largeur minimum pour éviter des colonnes trop étroites */
    max-width: 100%; /* S'assure que ça ne dépasse pas la largeur de l'écran */
    margin: 0 10px;
    text-align: center;
}

/* Ajustements pour mobile */
@media (max-width: 768px) {
    .location-item {
        flex: 0 0 100%; /* Prend toute la largeur sur mobile */
        margin: 10px 0; /* Marge verticale uniquement */
        padding: 0 15px; /* Padding horizontal pour éviter que le texte touche les bords */
    }

    .location-box {
        padding: 1rem;
        margin: 0;
    }
}

/* Ajustements pour mobile */
@media (max-width: 768px) {
    /* Conteneur principal */
    .container {
        width: 100%;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden;
    }

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

    /* Ajustement des sections */
    section {
        padding: 40px 0;
    }

    /* Ajustement des titres */
    h1, h2, h3 {
        font-size: calc(1.1rem + 1vw);
    }

    /* Ajustement des grilles */
    .row {
        margin-left: -10px;
        margin-right: -10px;
    }

    .col-md-4, .col-sm-6, .col-xs-12 {
        padding-left: 10px;
        padding-right: 10px;
    }

    /* Ajustement des marges et paddings */
    .about-wrapper, 
    .service-box,
    .location-box {
        margin: 0;
        padding: 15px;
    }
}

/* Ajustements spécifiques pour très petits écrans */
@media (max-width: 375px) {
    .container {
        padding-left: 10px;
        padding-right: 10px;
    }
}

.about-image img {
    width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    object-fit: cover;
}

@media (max-width: 768px) {
    .about-image {
        margin-top: 2rem;
        padding: 0 15px;
    }
    
    .about-image img {
        max-height: 400px;
    }
}

/* Style pour mettre en avant la fonctionnalité exclusive */
.highlight-feature {
    border: 2px solid #dac390;
    position: relative;
    overflow: hidden;
    transform: scale(1.05);
}

.new-badge {
    position: absolute;
    top: 10px;
    right: -30px;
    background: #dac390;
    color: white;
    padding: 5px 40px;
    transform: rotate(45deg);
    font-size: 0.8em;
    font-weight: bold;
}

.highlight-service {
    border: 2px solid #dac390;
    background: rgba(218, 195, 144, 0.1);
    position: relative;
}

.highlight-service .service-number {
    background: #dac390;
    color: white;
}

/* Animation subtile pour attirer l'attention */
@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(218, 195, 144, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(218, 195, 144, 0); }
    100% { box-shadow: 0 0 0 0 rgba(218, 195, 144, 0); }
}

.highlight-feature {
    animation: pulse 2s infinite;
}

/* Style des services avec mise en avant */
.featured-service {
    background: linear-gradient(45deg, rgba(218, 195, 144, 0.1), rgba(255, 255, 255, 1));
    border: 2px solid #dac390;
    border-radius: 15px;
    padding: 25px;
    margin: 30px 0;
    position: relative;
    overflow: hidden;
}

.service-highlight {
    color: #dac390;
    font-weight: 600;
    font-size: 1.1em;
    margin: 10px 0;
}

.feature-tag {
    display: inline-block;
    background: #dac390;
    color: white;
    padding: 3px 12px;
    border-radius: 20px;
    font-size: 0.8em;
    margin-top: 10px;
    font-weight: 500;
}

.service-icon {
    background: #dac390;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5em;
    margin-bottom: 15px;
}

/* Animation subtile */
.featured-service {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.featured-service:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(218, 195, 144, 0.2);
}

/* Style de la section feature */
.intro-feature {
    background: linear-gradient(45deg, rgba(218, 195, 144, 0.1), rgba(255, 255, 255, 1));
    padding: 40px 0;
    margin-top: -20px;
    position: relative;
    z-index: 10;
}

.feature-box {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    padding: 20px;
    border: 2px solid #dac390;
    border-radius: 15px;
    background: white;
    box-shadow: 0 5px 15px rgba(218, 195, 144, 0.2);
}

.feature-box h2 {
    color: #333;
    font-size: 2.2em;
    margin-bottom: 15px;
    font-family: var(--title-font);
}

.feature-subtitle {
    color: #dac390;
    font-size: 1.2em;
    margin-bottom: 20px;
    font-weight: 500;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.feature-list li {
    flex: 1 1 200px;
    padding: 15px;
    background: rgba(218, 195, 144, 0.1);
    border-radius: 10px;
    font-size: 1.1em;
    color: #555;
}

@media (max-width: 768px) {
    .feature-box {
        margin: 0 15px;
    }
    
    .feature-list li {
        flex: 1 1 100%;
    }
}