/*

Elegance Template

https://templatemo.com/tm-528-elegance

==================================================
CSS SITEMAP >>>>

  01. GENERAL CSS
  02. HEADER CSS
  03. SOCIAL ICONS CSS
  04. WELCOME BLOCK CSS
  05. ABOUT BLOCK CSS
  06. SERVICES BLOCK CSS
  07. WORK BLOCK CSS
  08. CONTACT BLOCK CSS
  09. TESTIMONOALS BLOCK CSS
  10. SKILLS BLOCK CSS
  11. CONTACT SECTION STYLES


==================================================*/

/*==============================================
01. GENERAL CSS
================================================*/

html,
body {
  -webkit-font-smoothing: antialiased;
  -moz-font-smoothing: antialiased;
  -ms-font-smoothing: antialiased;
  font-smoothing: antialiased;
  -webkit-text-size-adjust: 100%;
}
body {
  font: 16px/1.6 'Raleway', Arial, Helvetica, sans-serif;
  color: #fff;
  text-align:center;
  background: #222;
}
img {
  border: 0;
  max-width: 100%;
}
html {
  -ms-overflow-style: scrollbar;
}
.alltrans,
.social-icons li a,
.owl-nav > button,
.owl-nav > button:after,
.counter-box,
.about-img:after,
.gallery-img img,
.form-control,
.owl-dot,
.subscribe-row,
.close-btn,
.close-btn:before,
.close-btn:after,
.tag-btn,
.btn {
  -webkit-transition: all 0.4s ease;
  transition: all 0.4s ease;
}
a {
  color: #fff;
  text-decoration: none;
}
a:hover,
a:focus {
  color: #fff;
  outline: none;
  text-decoration: underline;
}
@media screen and (-ms-high-contrast:active), (-ms-high-contrast:none) {
  a:active {
    background-color: transparent;
  }
}
p {
  margin: 0 0 20px;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  line-height: 1.2;
  margin: 0 0 20px;
  font-weight: 600;
  text-transform:uppercase;
}
h1,
h2 {
  font-size: 32px;
}
h3 {
  font-size: 30px;
  font-weight: 600;
}
h4 {
  font-size: 17px;
  text-transform: none;
  font-weight: 600;
}
h5 {
  font-size: 20px;
  margin-bottom: 10px;
  font-weight: 600;
}
h6 {
  font-size: 18px;
  margin-bottom: 10px;
  font-weight: 600;
}
#main {
  padding: 0;
  background: #fff;
}
.no-margin {
  margin: 0 !important;
}
figure {
  margin:0;
}
.opacity-no {
  opacity: 1 !important;
}

video {
position: fixed;
width: 100%;
height: 100%;
object-fit: cover;
z-index: -1;
}
#video:after {
  content: '';
  opacity: 0.75;
  background: #4096ee; /* Old browsers */
  background: -moz-linear-gradient(top, #4096ee 0%, #39ced6 100%); /* FF3.6-15 */
  background: -webkit-linear-gradient(top, #4096ee 0%,#39ced6 100%); /* Chrome10-25,Safari5.1-6 */
  background: linear-gradient(to bottom, #1155c1 0%,#680eaf 100%);
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#4096ee', endColorstr='#39ced6',GradientType=0 ); /* IE6-9 */
  position:fixed;
  left:0;
  top:0;
  right:0;
  bottom: 0;
}
.wrapper-background-dark:after {
  background: #222;
  opacity:0.95;
}
.section-inner {
  padding: 20px 30px 0;
  position: relative;
  overflow-y: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  -webkit-overflow-scrolling: touch;
  overflow: -moz-scrollbars-none;
}

/* Styles spécifiques pour Chrome/Safari */
.section-inner::-webkit-scrollbar,
.section-inner *::-webkit-scrollbar,
.section-inner::-webkit-scrollbar-thumb,
.section-inner *::-webkit-scrollbar-thumb,
.section-inner::-webkit-scrollbar-track,
.section-inner *::-webkit-scrollbar-track {
  width: 0 !important;
  height: 0 !important;
  background-color: transparent !important;
  display: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
}

/* Styles pour les conteneurs parents */
.section-inner .fp-scrollable,
.section-inner .fp-scroller {
  overflow: auto !important;
  scrollbar-width: none !important;
  -ms-overflow-style: none !important;
}

.section-inner .fp-scrollable::-webkit-scrollbar,
.section-inner .fp-scroller::-webkit-scrollbar {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
}

.fp-scrollable {
  height: calc(100vh - 200px) !important;
  scroll-behavior: smooth;
  -ms-overflow-style: none;  /* IE and Edge */
  scrollbar-width: none;  /* Firefox */
}

/* Cache la scrollbar pour Chrome, Safari et Opera */
.fp-scrollable::-webkit-scrollbar {
  display: none;
}

/* Assure un défilement fluide du contenu */
.fp-overflow {
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch; /* Pour iOS */
}

#fp-nav ul li a span {
 display: none;
}

/* Styles pour uniformiser les boutons */
.btn {
  background: #fff;
  color: #222;
  text-align: center;
  line-height: 44px;
  padding: 0 35px;
  border-radius: 10px;
  text-transform: uppercase;
  font-weight: 600;
  border: 2px solid transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  box-sizing: border-box;
  margin-right: 10px;
  margin-bottom: 10px;
}

.btn:hover, form .btn:focus {
  color: #fff;
  outline: none;
  box-shadow: none;
  background: #7B1FA2;
}

.btn.btn-outline {
  background: none;
  border-color: #fff;
  color: #fff;
  line-height: 40px;
  border-width: 2px;
}

.btn.btn-outline:hover, .btn.btn-outline:focus {
  background: #fff;
  color: #222;
}

.btn.btn-dark {
  color: #222;
  border-color: #222;
}
.btn.btn-dark:hover, .btn.btn-dark:focus {
  background: #222;
  color: #fff;
}
.btn.btn-xs {
  line-height:34px;
  font-size:12px;
  padding:0 20px;
  font-weight: 500;
}
.btn.btn-dark:hover, .btn.btn-dark:focus {
  background: #222;
  color: #fff;
}
.owl-carousel .owl-stage {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
}
.owl-carousel .owl-item {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  flex: 1 0 auto;
}
.preloader {
  /* background: -moz-linear-gradient(top, #2b285e 0%,#5b5aa6 100%);
  background: -webkit-linear-gradient(top, #2b285e 0%,#5b5aa6 100%);
  background: linear-gradient(to bottom, #2b285e 0%,#5b5aa6 100%);
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#4096ee', endColorstr='#39ced6',GradientType=0 );*/
  background: #5b5aa6;
  height: 100%;
  left: 0;
  position: fixed;
  right: 0;
  top: 0;
  z-index: 9999;
  text-align: center;
}
.preloader-bounce {
    height: 250px;
left: 50%;
width: 250px;
right: 0;
top: 50%;
-webkit-transform: translateY(-50%) translateX(-50%);
transform: translateY(-50%) translateX(-50%);
position: absolute;
}
.preloader-bounce > img {
  height: auto;
}

#fullpage {
  z-index: 99;
}


/*==============================================
02. HEADER CSS
================================================*/
#header {
  padding:20px 0;
  position: fixed;
  left:0;
  right:0;
  top:0;
  z-index:999;
}
.container-fluid {
  padding:0 40px;
}
a#logo {
  text-decoration: none;
  font-size: 32px;
  text-transform: uppercase;
  font-weight: 700;
}
.navbar {
  padding: 0;
}
.navbar-toggle {
  display:none;
}
.navbar-nav {
  -ms-flex-direction: row;
  -webkit-flex-direction: row;
  flex-direction: row;
  position: relative;
}

/* Supprimer l'ancien pseudo-élément after */
.navbar-nav::after {
  display: none;
}

/* Créer un nouveau style pour le surlignage qui s'adapte automatiquement */
.navbar-nav li {
  margin-left: 27px;
  position: relative;
}

.navbar-nav li:last-child {
  margin-right: 0;
}

.navbar-nav li a {
  color: #fff;
  font-size: 17px;
  text-decoration: none;
  display: block;
  font-weight: 600;
  opacity: 0.9;
  position: relative;
  padding: 10px 0;
}

/* Nouveau style pour l'élément actif avec un bloc de fond */
.navbar-nav li.active {
  position: relative;
}

.navbar-nav li.active::before {
  content: '';
  position: absolute;
  top: 0;
  left: -10px;
  right: -10px;
  bottom: 0;
  background: #826eff;
  border-radius: 6px;
  z-index: -1;
  opacity: 0.8;
  box-shadow: 0 0 10px rgba(130, 110, 255, 0.3);
  transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.navbar-nav li.active a {
  opacity: 1;
  color: #fff;
}

/* Ajouter un effet de survol pour les éléments non actifs */
.navbar-nav li:not(.active):hover a {
  opacity: 1;
}

.collapse:not(.show) {
  display:block;
}

/*==============================================
03. SOCIAL ICONS CSS
================================================*/
#social-icons {
  padding:0;
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  right:0;
  z-index: 199;
}
.social-icons {
  margin:0;
  padding:0;
  list-style:none;
}
.social-icons li {
  display: block;
  margin: 1px 0px;
}
.social-icons li a {
  width:50px;
  height:50px;
  display:inline-block;
  line-height:50px;
  text-align:center;
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255,255,250,1);
  font-size:18px;
}
.social-icons li a:hover {
  color:#1e1e1e;
  background-color: #fff;
}
/*==============================================
04. WELCOME BLOCK CSS
================================================*/
.welcome-box {
  font-size:18px;
}
.welcome-first{
font-size: 26px;
display: block;
font-weight: 400;
}
.welcome-box p {
  max-width: 620px;
  width:100%;
  margin:0 auto 30px;
  color: #fff;
}
.welcome-title {
  font-weight: 700;
  font-size: 120px;
  margin-bottom: 10px;
  letter-spacing:0.02em;
}
.welcome-title span {
  font-size:36px;
  display:block;
  font-weight:300;
  line-height:1.2;
}
.welcome-box .btn {
  margin-top: 10px;
}
.next-section {
  display: inline-block;
  position: absolute;
  left: 50%;
  transform: translateX(-50%) !important;
  bottom: 50px;
  cursor: pointer;
  -webkit-transition: all 0.5s ease;
  transition: all 0.5s ease;
  z-index: 10;
}
.next-section span {
  margin-top: 15px;
  display: block;
  text-transform: uppercase;
  font-size: 14px;
  font-weight: 500;
}
.next-section i:hover {
  opacity: 1;
}

/*==============================================
05. ABOUT ME
================================================*/
.about-img {
  margin: 0 auto 40px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
}
.about-img img {
  max-height: 360px;
}
.about-contentbox {
  margin-top: 80px;
  text-align:left;
  line-height:1.8;
}
.about-contentbox span {
  font-size: 24px;
  text-transform: uppercase;
  font-weight: 300;
}
.about-contentbox h2 {
  font-size: 32px;
  text-transform: uppercase;
  font-weight: 700;
}
.facts-list {
  margin-top: 30px;
}
.facts-list .item {
  overflow: hidden;
  text-align:center;
  border-radius: 10px;
  width: 100%;
  display: inline-block;
  text-transform:capitalize;
  font-size:14px;
  padding: 30px 0px;
  background: rgba(0,0,0,0.22);
  backdrop-filter: blur(10px);
}
.transbox {
  border-radius: 10px;
  background: rgb(255 255 255 / 9%);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.row.packlines > div:nth-child(2)::before {
    content: "";
    display: block;
    position: absolute;
    left: -1px;
    background: #ffffff5e;
    top: 10%;
    width: 0px;
    height: 80%;
}
.row.packlines > div:nth-child(2)::after {
    content: "";
display: block;
position: absolute;
right: 1px;
background: #ffffff00;
top: 10%;
width: 0px;
height: 80%;
}
.serviceRow {
  padding: 30px 15px;
}
.serviceRow h3, .serviceRow h4{
  margin-bottom: 0 !important;
}
.aptitude-icon img {
    height: 70px;
    width: auto;
}
.counter-box span {
  font-size: 26px;
  font-weight: 700;
}
.counter-icon {
  font-size: 30px;
  margin-bottom: 10px;
  opacity: 0.75;
}
.facts-list .item:hover {
  background:#fff;
  color:#1e1e1e;
}
.facts-list .owl-dots {
  margin-bottom: 30px;
}
.count-number, .counted {
  display:block;
  font-size:36px;
  font-weight:700;
  line-height:1;
  margin-bottom:10px;
}

/*==============================================
06. SERVICES BLOCK CSS
================================================*/
.title-block {
  margin-bottom: 30px;
}
.title-block span {
  font-size: 24px;
  text-transform: uppercase;
  font-weight: 300;
}
.services-list .item {
  backdrop-filter: blur(10px);
  background-color: rgba(250,250,250,0.18);
  border-radius: 10px;
  -webkit-transition: all 0.5s ease;
  transition: all 0.5s ease;
}
.service-icon {
display: block;
margin-bottom: 10px;
}
.service-icon img {
  height: 95px;
  width: auto;
}
.service-box {
  font-size: 15px;
  height: 100%;
  padding: 0 !important;
}
.service-box h3 {
  font-size: 22px;
  font-weight: 700;
  text-transform: capitalize;
  margin-bottom: 10px;
}
.service-box p:last-child {
  margin:0;
}
.owl-carousel .owl-dots .owl-dot {
  border-radius: 3px;
}
.owl-dots {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-pack: center;
    -webkit-justify-content: center;
    justify-content: center;
    margin-top: 50px
}

.owl-carousel .owl-dots .owl-dot {
    width: 12px;
    height: 12px;
    margin: 0 5px;
    background: rgba(255, 255, 255, .2)
}

.owl-carousel .owl-dots .owl-dot:focus {
    outline: none
}

.owl-carousel .owl-dots .owl-dot.active {
    background: #fff
}

/*==============================================
07. WORK BLOCK CSS
================================================*/
.gallery-section {
  text-align: center;
}
.portfolio-item img {
  max-width: 100%;
  overflow: hidden;
  position: relative;
  z-index: 9;
  border-radius: 10px;
}
.portfolio-item .thumb-inner {
  position: absolute;
  z-index: 99;
  bottom: 0;
  text-align: left;
  padding: 20px;
  background-color: rgba(250,250,250,0.25);
  width: 100%;
  height: 60px;
  border-top-left-radius: 0px;
  border-top-right-radius: 0px;
  -webkit-transition: all 0.4s ease;
  transition: all 0.4s ease;
}
.portfolio-item .thumb-inner h4 {
  margin-bottom: 0;
  font-size: 16px;
  margin-top: 0px;
}
.portfolio-item .thumb-inner p {
  opacity: 0;
  visibility: hidden;
  position: absolute;
  margin-bottom: 0px;
}
.portfolio-item:hover .thumb-inner p {
  position: relative;
  opacity: 1;
  visibility: visible;
  color: #4a4a4a;
}
.portfolio-item:hover .thumb-inner {
  border-radius: 10px;
  height: 100%;
  background-color: rgba(250,250,250,0.9)
}
.portfolio-item:hover .thumb-inner h4 {
   margin-top: 30%;
  color: #1e1e1e;
  margin-bottom: 20px;
}

.gallery-container {
    height: 100%; /* Ajusté pour fullPage */
    padding: 0 15px;
}

.gallery-container .row {
    margin: -10px; /* Compensation pour les gaps uniformes */
}

.gallery-container [class*="col-"] {
    padding: 10px; /* Gap uniforme de 20px entre les éléments */
}

.gallery-item {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    height: 300px;
    background: #fff;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-item-tall {
    height: 630px;
}

.gallery-item.wide {
    aspect-ratio: 16/9; /* Format paysage */
}

/* Style du modal */
.modal-backdrop.show {
    opacity: 0.85; /* Fond plus sombre */
}

.modal-dialog.modal-xl {
    max-width: 90vw;
}

.modal-content {
    background: rgb(255 255 255 / 9%);
    border-radius: 10px;
    border: none;
}

.modal-content.transbox {
    background: rgb(255 255 255 / 9%);
    backdrop-filter: blur(10px);
}

.modal-header {
    border: none;
    padding: 1.5rem;
}

.modal-header .close {
    color: #fff;
    opacity: 1;
    text-shadow: none;
    font-size: 28px;
    padding: 1rem;
}

.modal-body {
    padding: 2rem 3rem 3rem;
}

.modal-body .row {
    align-items: center;
}

.modal-body .content-col {
    padding-left: 3rem;
    text-align: left;
}

.modal-img {
    border-radius: 10px;
    width: 100%;
    height: auto;
    max-height: 75vh; /* Hauteur maximale pour l'image */
    object-fit: contain;
}

.modal-title {
    color: #fff;
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.modal-description {
    color: #fff;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.modal-tech {
    background: rgba(255, 255, 255, 0.1);
    padding: 1.5rem;
    border-radius: 10px;
}

.modal-tech h4 {
    color: #fff;
    font-size: 1.2rem;
    margin-bottom: 1rem;
    font-weight: 500;
}

.modal-tech p {
    color: #fff;
    opacity: 0.9;
    line-height: 1.5;
}

/* Animation de morphing */
.gallery-item {
    transition: all 0.3s ease;
}

.gallery-item.morphing {
    position: fixed;
    z-index: 1051;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.modal.morphing {
    background: transparent;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.modal.fade.show {
    transition-delay: 0.3s;
}

/* Formats spéciaux */
.gallery-item-tall {
    height: 630px; /* Double hauteur */
}

.gallery-item.wide {
    aspect-ratio: 16/9; /* Format paysage */
}

/* Effet hover */
.gallery-item:hover {
    transform: translateY(-5px);
}

/* Ajustement des gaps */
.g-4 {
    --bs-gutter-x: 1.5rem;
    --bs-gutter-y: 1.5rem;
}

.mt-0 {
    margin-top: 0 !important;
}

/*==============================================
08. CONTACT BLOCK CSS
================================================*/
::-webkit-input-placeholder {
  color:#fff !important;
  opacity:1;
}
::-moz-placeholder {
  color:#fff !important;
  opacity:1;
}
:-ms-input-placeholder {
  color:#fff !important;
  opacity:1;
}
:-moz-placeholder {
  color:#fff !important;
  opacity:1;
}
.input-field {
  margin-bottom:15px;
}
.form-control {
  height: 50px;
  color:#fff;
  border: none;
  background:rgba(250,250,250,0.05);
  border: 1px solid rgba(250,250,250,0.5);
  border-radius: 10px;
  padding:4px 22px;
  font-size:14px;
  margin-bottom: 30px;
}
.form-control:focus {
  box-shadow:none;
  outline:none;
  background:rgba(0,0,0,0.05);
  border: 1px solid rgba(250,250,250,1);
  color:#fff;
}
.index .form-control.form-control-dark {
  background: rgba(250,250,250, 0.75);
  color: #fff;
}
.index .form-control.form-control-dark:focus {
  background: rgba(54, 40, 158, 0.85);
  color: #fff;
}
.index .form-control.form-control-dark::-webkit-input-placeholder {
  color: #fff !important;
}
.index .form-control.form-control-dark::-moz-placeholder {
  color:#fff !important;
}
.index .form-control.form-control-dark:-ms-input-placeholder {
  color:#fff !important;
}
.index .form-control.form-control-dark:-moz-placeholder {
  color:#fff !important;
}
.form-control.form-control-dark:focus {
  background: rgba(0, 0, 0, 0.2);
}
.form-control.form-control-dark {
  background: rgba(0, 0, 0, 0.1);
  color: #222;
  border: none;
}
.form-control.form-control-dark::-webkit-input-placeholder {
  color:#222 !important;
  opacity:0.7;
}
.form-control.form-control-dark::-moz-placeholder {
  color:#222 !important;
  opacity:0.7;
}
.form-control.form-control-dark:-ms-input-placeholder {
  color:#222 !important;
  opacity:0.7;
}
.form-control.form-control-dark:-moz-placeholder {
  color:#222 !important;
  opacity:0.7;
}
textarea.form-control {
  height:123px;
  padding-top:15px;
}
.contact-section .btn {
  width:100%;
}
.contact-box {
  text-align:left;
}
.contact-box h4 {
  font-size:24px;
}
.contact-row {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
  margin-bottom: 30px;
  background: rgba(250,250,250,0.25);
  border-radius: 10px;
  padding: 30px;
  font-weight: 700;
}
.contact-row i {
  width:55px;
  font-size: 30px;
  display:block;
}
.contact-row i.fa-envelope {
  font-size: 25px;
}

/*==============================================
09. TESTIMONOALS BLOCK CSS
================================================*/
.testimonials-section .item {
  background-color: rgba(250,250,250,0.25);
  padding: 40px;
  border-radius: 10px;
}
.testimonials-section .item img {
  width: 140px;
  height: 140px;
  margin: 0 auto;
}
.testimonials-section .item h4 {
  margin-top: 40px;
  font-size: 22px;
  text-transform: capitalize;
  font-weight: 700;
}
.testimonials-section .item p {
  font-size: 17px;
  font-style: italic;
}

/*==============================================
10. SKILLS BLOCK CSS
================================================*/
.skills-row {
  margin-top: 80px;
}
.skill-item {
  border-bottom: 1px solid rgba(250,250,250,0.1);
  margin-bottom: 50px;
  padding-bottom: 50px;
}
.last-skill {
  border-bottom: none;
}
.skills-row span {
  display: inline-block;
  width: 50px;
  height: 50px;
  text-align: center;
  line-height: 50px;
  background-color: #fff;
  color: #1e1e1e;
  border-radius: 50%;
  font-size: 16px;
  font-weight: 700;
  left: 0;
  top: -21px;
  position: absolute;
  z-index: 999;
}
.skills-row h6 {
  font-size: 16px;
  text-transform: uppercase;
  font-weight: 700;
  color: #fff;
  text-align: right;
  margin-bottom: -10px;
}
.skill-bar {
  width: 70%;
  height: 6px;
  border-radius: 3px;
  background-color: rgba(250,250,250,0.25);
  position: relative;
}
.filled-bar {
  position: absolute;
  z-index: 99;
  width: 64%;
  height: 6px;
  background-color: #fff;
  border-radius: 3px;
}
.filled-bar-2 {
  position: absolute;
  z-index: 99;
  width: 82%;
  height: 6px;
  background-color: #fff;
  border-radius: 3px;
}


/*==============================================
CUSTOM
================================================*/

.logotopbar img {
  height: 58px;
}
.titlelogo  img {
  height: 220px;
}
.mrgbas {
  margin-bottom: 30px;
}
.mrgbasplus {
  margin-bottom: 50px;
}


.parallax {
  height: 100vh;
  width: 100%;
  overflow-x: hidden;
  overflow-y: auto;
  position: fixed;
}

.layer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  transition: all 700ms ease 0s;
  -webkit-transition: all 700ms ease 0s;
}

.layer0 {
  background-image: url('../images/alpha0.jpg');
  background-size: cover;
  background-position: top;
  opacity: 0.2;
}

.layer1 {
  background-image: url('../images/alpha1.png');
  background-size: cover;
}

.layer2 {
  background-image: url('../images/alpha2.png');
  background-size: cover;
}
.layer3 {
  background-image: url('../images/alpha3.jpg');
  background-size: cover;
}

.section01.layer0 {background-position-y: 0%;}
.section02.layer0 {background-position-y: 20%;}
.section03.layer0 {background-position-y: 40%;}
.section04.layer0 {background-position-y: 60%;}
.section05.layer0 {background-position-y: 80%;}
.section06.layer0 {background-position-y: 100%;}

.section01.layer1 {background-position-y: 0%;}
.section02.layer1 {background-position-y: 40%;}
.section03.layer1 {background-position-y: 80%;}
.section04.layer1 {background-position-y: 120%;}
.section05.layer1 {background-position-y: 160%;}
.section06.layer1 {background-position-y: 200%;}

.section01.layer2 {background-position-y: 0%;}
.section02.layer2 {background-position-y: 30%;}
.section03.layer2 {background-position-y: 60%;}
.section04.layer2 {background-position-y: 90%;}
.section05.layer2 {background-position-y: 120%;}
.section06.layer2 {background-position-y: 150%;}

.section01.layer3 {background-position-y: 0%;}
.section02.layer3 {background-position-y: 15%;}
.section03.layer3 {background-position-y: 30%;}
.section04.layer3 {background-position-y: 45%;}
.section05.layer3 {background-position-y: 60%;}
.section06.layer3 {background-position-y: 75%;}

.checklistpack {
  font-weight: 700;
  text-align: left;
}

/* Styles pour les tabs des packs */
.pack-tab {
  padding: 30px;
  transition: all 0.3s ease;
  cursor: pointer;
  border-radius: 10px;
  width: 100%;
  position: relative;
}

.pack-tab.active {
  padding: 15px;
  background: rgba(255, 255, 255, 0.1);
}

.pack-tab h3 {
  margin: 10px 0;
  font-size: 18px;
}

.service-icon {
  display: block;
  margin-bottom: 15px;
  transition: all 0.3s ease;
}

.service-icon img {
  height: 95px;
  width: auto;
}

.pack-details-wrapper {
  display: none;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  margin-top: 30px;
  padding-bottom: 10px;
}

.pack-details-wrapper.active {
  opacity: 1;
  transform: translateY(0);
}

.pack-details-inner {
  padding: 0;
}

.packlines {
  display: flex;
  align-items: center;
}

.pack-visual {
  background: #000;
  width: 320px;
  aspect-ratio: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 50px 30px;
  position: relative;
  margin-left: auto;
  isolation: isolate;
  border-radius: 10px;
}

.pack-visual::before {
  content: '';
  position: absolute;
  inset: -2px;
  padding: 2px;
  border-radius: 11px;
  background: conic-gradient(
    from var(--angle),
    transparent 0deg,
    var(--c2) 45deg,
    var(--c1) 90deg,
    transparent 135deg,
    transparent 225deg,
    var(--c2) 270deg,
    var(--c1) 315deg,
    transparent 360deg
  );
  -webkit-mask: 
     linear-gradient(#000 0 0) content-box, 
     linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  animation: rotate 3s linear infinite;
}

.pack-visual::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 12px;
  background: conic-gradient(
    from var(--angle),
    transparent 0deg,
    var(--glow) 45deg,
    var(--glow) 90deg,
    transparent 135deg,
    transparent 225deg,
    var(--glow) 270deg,
    var(--glow) 315deg,
    transparent 360deg
  );
  -webkit-mask: 
    radial-gradient(
      300px,
      transparent 30%,
      #000 100%
    );
  mask: 
    radial-gradient(
      300px,
      transparent 30%,
      #000 100%
    );
  filter: blur(8px);
  opacity: 0.35;
  animation: rotate 3s linear infinite;
  z-index: -1;
}

/* Variables pour chaque pack */
.pack-visual-quartz {
  --c1: rgb(160, 160, 160);
  --c2: rgb(120, 120, 120);
  --glow: rgba(200, 200, 200, 0.9);
}

.pack-visual-titane {
  --c1: rgb(255, 255, 255);
  --c2: rgb(220, 220, 220);
  --glow: rgba(255, 255, 255, 1);
}

.pack-visual-cobalt {
  --c1: rgb(160, 140, 255);
  --c2: rgb(130, 110, 255);
  --glow: rgba(180, 160, 255, 0.9);
}

@property --angle {
  syntax: '<angle>';
  initial-value: 0deg;
  inherits: false;
}

@keyframes rotate {
  to {
    --angle: 360deg;
  }
}

.pack-gif {
  width: 180px;
  height: 180px;
  object-fit: contain;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
}

.pack-gif img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.pack-title {
  text-align: center;
  width: 100%;
  margin: 0;
}

.pack-title h3 {
  margin: 0;
  font-size: 28px;
}

.pack-tagline {
  text-align: center;
  margin: 15px 0 0;
  font-size: 18px;
  color: #ffffff99;
}

.checklistpack {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 16px;
  columns: 1;
}

.pack-details {
  padding-right: 40px;
}

.checklistpack li {
  color: #fff;
  margin-bottom: 15px;
  line-height: 1.4;
  display: flex;
  align-items: flex-start;
}

.checklistpack li i {
  color: #4CAF50;
  margin-right: 12px;
  font-size: 18px;
  margin-top: 2px;
  flex-shrink: 0;
}

@media (max-width: 991px) {
  .pack-visual {
    margin: 0 auto 30px;
  }
  .pack-details {
    padding-right: 0;
  }
}

/* Style de la scrollbar */
.iScrollVerticalScrollbar {
    opacity: 0.6 !important;
    transition: opacity 0.3s ease;
}

.iScrollVerticalScrollbar:hover {
    opacity: 0.8 !important;
}

.iScrollIndicator {
    background: rgba(255, 255, 255, 0.3) !important;
    border: none !important;
    border-radius: 4px !important;
}

[data-section="slide01"] {
  position: relative;
}

/* Services Styles */
.service-block {
  position: relative;
  width: 100%;
  background: transparent;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1), height 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  height: 100px;
  overflow: hidden;
}

.service-block.active {
  width: 100%;
  height: 200px;
}

.service-block.compact {
  cursor: pointer;
  height: 100px;
}

.service-block.compact .col-8 {
  display: none;
}

.service-block.compact .col-4 {
  flex: 0 0 100%;
  max-width: 100%;
}

.service-block.compact h3 {
  margin: 0;
  text-align: center;
  width: 100%;
  line-height: 60px; /* Réduit pour mieux centrer */
  font-size: 24px; /* Taille de police ajustée */
}

.service-block.compact:hover {
  transform: translateY(-2px);
}

.serviceRow {
  padding: 20px;
  height: 100%;
  transition: all 0.3s ease-in-out;
  background: rgb(255 255 255 / 9%);
  backdrop-filter: blur(10px);
  border-radius: 10px;
  display: flex;
  align-items: center;
}

.service-block.active .serviceRow {
  padding: 30px;
  align-items: flex-start;
}

.service-block.compact .serviceRow {
  padding: 0 20px; /* Réduit le padding vertical pour les blocs compacts */
}

.service-block.active h3 {
  font-size: 32px;
  margin: 0;
  text-transform: uppercase;
}

.service-block .row {
  height: 100%;
  width: 100%;
  margin: 0; /* Évite les marges négatives de Bootstrap */
}

.service-block.compact .row {
  justify-content: center;
}

.aptitude-icon {
  text-align: center;
  margin-bottom: 15px;
}

.aptitude-icon img {
  height: 70px;
  width: auto;
  transition: all 0.3s ease-in-out;
}

.service-block h4 {
  text-align: center;
  margin: 0;
  font-size: 16px;
  transition: all 0.3s ease-in-out;
}

/* Animation helpers */
.service-block.animating {
  pointer-events: none;
  position: relative;
  z-index: 10;
}

.service-block.animating .serviceRow {
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease-in-out;
}

.service-block.animating.moving-up .serviceRow {
  transform: translateY(-100%);
  opacity: 0;
}

.service-block.animating.moving-down .serviceRow {
  transform: translateY(100%);
  opacity: 0;
}

.service-block.animating.fade-in .serviceRow {
  transform: translateY(0);
  opacity: 1;
}

.service-block .serviceRow {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  transform-origin: center center;
  will-change: transform, opacity;
}

/* Alignement vertical */
.service-block .row.align-items-center {
  min-height: 60px; /* Réduit pour les blocs compacts */
}

.service-block.active .row.align-items-center {
  min-height: 140px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .service-block.active {
    height: auto;
  }

}

/* Animation Jelly Hover pour les éléments transbox cliquables */
.transbox-jelly-hover {
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease;
  transform-origin: center center;
  z-index: 1;
}

.transbox-jelly-hover:hover {
  animation: improved-jelly 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
}

/* Onde de choc */
.transbox-jelly-hover::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 10px;
  height: 10px;
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  opacity: 0;
  pointer-events: none;
  z-index: 2;
}

.transbox-jelly-hover:hover::before {
  animation: ripple-effect 0.6s cubic-bezier(0, 0, 0.2, 1);
}

/* Deuxième onde de choc plus subtile */
.transbox-jelly-hover::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 10px;
  height: 10px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  opacity: 0;
  pointer-events: none;
  z-index: 1;
}

.transbox-jelly-hover:hover::after {
  animation: inner-glow 0.8s cubic-bezier(0, 0, 0.2, 1);
}

@keyframes improved-jelly {
  0% {
    transform: scale3d(1, 1, 1);
  }
  30% {
    transform: scale3d(1.14, 0.88, 1);
  }
  40% {
    transform: scale3d(0.92, 1.08, 1);
  }
  50% {
    transform: scale3d(1.06, 0.92, 1);
  }
  65% {
    transform: scale3d(0.97, 1.02, 1);
  }
  75% {
    transform: scale3d(1.02, 0.98, 1);
  }
  100% {
    transform: scale3d(1, 1, 1);
  }
}

@keyframes ripple-effect {
  0% {
    width: 10px;
    height: 10px;
    opacity: 0.9;
    border-width: 2px;
    transform: translate(-50%, -50%) scale(1);
  }
  100% {
    width: 10px;
    height: 10px;
    opacity: 0;
    border-width: 0;
    transform: translate(-50%, -50%) scale(16);
  }
}

@keyframes inner-glow {
  0% {
    width: 10px;
    height: 10px;
    opacity: 0.7;
    transform: translate(-50%, -50%) scale(1);
  }
  50% {
    opacity: 0.3;
  }
  100% {
    width: 10px;
    height: 10px;
    opacity: 0;
    transform: translate(-50%, -50%) scale(12);
  }
}

/* Styles spécifiques pour les pack-tab */
.pack-tab.transbox-jelly-hover:hover {
  box-shadow: none;
}

/* Styles spécifiques pour les serviceRow */
.serviceRow.transbox-jelly-hover:hover {
  transform-origin: center center;
}

/* Assurer que l'onde de choc reste parfaitement ronde */
.transbox-jelly-hover::before,
.transbox-jelly-hover::after {
  min-width: 0;
  min-height: 0;
  max-width: none;
  max-height: none;
}

/* Ajustement pour les blocs larges */
.serviceRow.transbox-jelly-hover::before,
.serviceRow.transbox-jelly-hover::after {
  width: 0 !important;
  height: 0 !important;
  border-radius: 50% !important;
  aspect-ratio: 1/1 !important;
}

/*==============================================
11. CONTACT SECTION STYLES
================================================*/

/* Styles pour les méthodes de contact */
.contact-method {
  display: block;
  text-decoration: none !important;
  height: 100%;
  color: #fff;
}

.contact-box {
  padding: 30px;
  border-radius: 10px;
  height: 100%;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.contact-method:hover .contact-box {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

/* Boîte email principale */
.main-contact {
  text-align: center;
  padding: 25px 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.contact-icon-large {
  font-size: 36px;
  margin-bottom: 15px;
  color: #fff;
  width: 80px;
  height: 80px;
  line-height: 80px;
  margin: 0 auto 20px;
  background: #826eff;
  border-radius: 5px;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-method:hover .contact-icon-large {
  transform: scale(1.1);
}

.main-contact h3 {
  margin-bottom: 10px;
  font-weight: 600;
}

.email-address {
  font-size: 18px;
  color: rgba(255,255,255,0.9);
  margin-bottom: 7px;
  padding: 6px 15px;
  border: 1px solid #826eff;
  border-radius: 5px;
  display: inline-block;
}

/* Animation de confirmation de copie */
.copy-confirmation {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, 10px);
  background: rgba(25, 177, 89, 0.9);
  color: white;
  padding: 8px 16px;
  border-radius: 30px;
  font-weight: 500;
  opacity: 0;
  transition: all 0.3s ease;
  z-index: 5;
}

.copy-confirmation i {
  margin-right: 5px;
}

/* Boîtes plateforme */
.platform-box {
  padding: 20px 25px;
}

.platform-content {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
}

.platform-logo {
  width: 60px;
  height: 60px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 15px;
  background-color: rgba(255,255,255,0.1);
  border-radius: 8px;
  padding: 10px;
  color: #fff;
}

.platform-logo i {
  color: rgba(255,255,255,0.9);
}

.platform-img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}

.platform-text {
  flex-grow: 1;
}

.platform-text h4 {
  margin-bottom: 5px;
  font-weight: 600;
}

.platform-text p {
  font-size: 14px;
  color: rgba(255,255,255,0.7);
  margin-bottom: 0;
}

.contact-method:hover .platform-logo i {
  color: #fff;
}

/* CTA pour les contacts */
.contact-cta {
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 10px;
  color: #fff;
  opacity: 0.8;
  transition: all 0.3s ease;
}

.contact-cta.small {
  justify-content: flex-start;
  font-size: 14px;
}

.contact-cta i {
  margin-left: 8px;
  transition: transform 0.3s ease;
}

.contact-method:hover .contact-cta {
  opacity: 1;
}

.contact-method:hover .contact-cta i {
  transform: translateX(5px);
}

/* Processus de création - Nouveau style avec flèches */
.process-title {
  font-weight: 600;
  margin-bottom: 30px;
}

.process-steps-flow {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: nowrap;
  width: 100%;
}

.process-step {
  text-align: center;
  padding: 0 10px;
  flex: 0 0 auto;
  width: auto;
}

.process-arrow {
  font-size: 24px;
  color: rgba(255,255,255,0.6);
  margin: 0 10px;
  padding-bottom: 50px;
}

.step-icon {
  width: 102px;
  height: 102px;
  line-height: 60px;
  font-size: 24px;
  margin: 0 auto 15px;

  border: 2px solid #826eff;
  border-radius: 5px;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-icon img {

}

.process-step:hover .step-icon {
  transform: scale(1.1);
  background: #826eff;
}

.process-step h5 {
  margin-bottom: 5px;
  font-weight: 600;
  font-size: 16px;
}

.process-step p {
  font-size: 14px;
  color: rgba(255,255,255,0.7);
  margin-bottom: 0;
}

/* Responsive */
@media (max-width: 991px) {
  .process-steps-flow {
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .process-step {
    margin-bottom: 20px;
    width: 45%;
    max-width: none;
  }
  
  .process-arrow {
    display: none;
  }
}

@media (max-width: 767px) {
  .main-contact, .platform-box {
    margin-bottom: 20px;
  }
  
  .process-step {
    width: 100%;
  }
}

/* Filter for making black icons white while preserving transparency */
.white-icon {
  filter: brightness(0) invert(1);
  width: auto;
  height: 62px;
}

/* Force le blur sur les éléments de contact */
.contact-box.transbox {
  background: rgb(255 255 255 / 9%) !important;
  backdrop-filter: blur(10px) !important;
  -webkit-backdrop-filter: blur(10px) !important;
  transform: translateZ(0);
  z-index: 1;
  isolation: isolate;
}

/* Ajustements responsifs pour le highlight du menu */
@media only screen and (max-width: 767px) {
  .navbar-nav::after {
    display: none; /* Masquer l'effet sur mobile car le menu est différent */
  }
  
  .navbar-nav li.active a {
    background-color: #826eff; /* Utiliser un fond simple sur mobile */
    opacity: 1;
    color: #fff;
    border-radius: 4px;
  }
}