* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --base-color: #000000;
  --base-variant: rgba(0, 0, 0, 0.8);
  --base-variant2: rgba(0, 0, 0, 0.2);
  --base-color-section: #121212;
  --primary-text-color: #ddd;
  --secondary-text: #b31312;
  --text-color-a: #b31312;
  --text-color-white: #fff;
  --text-grey: #7e7e7e7e;
  --text-grey-dark: #45505b;
  --portfolio-border-color: #d7dce1;
  --text-color-resume: #eee2de;
  --text-switch-color: #ffffff;
  --fill-color: #f5f5f5;
  --icon-box-color1: #47aeff;
  --icon-box-color2: #ffa76e;
  --icon-box-color3: #e80368;
  --icon-box-color4: #ffbb2c;
  --icon-box-color5: #ff5828;
  --icon-box-color6: #11dbcf;
  --icon-box-color7: #3b82f6;
  --icon-box-color8: #10b981;
  --icon-box-color9: #8b5cf6;
  --icon-box-color10: #ec4899;
  --icon-box-color11: #06b6d4;
  --icon-box-color12: #eab308;
  --background-mode: #000000;
  --background-nav: transparent;
  --background-switch-button: transparent;
  --nav-text-color: #000000;
  --text-color-h1: #fff;
  --text-color-h2: #fff;
  --back-to-top: #000000;
  --text-service-color: #000000;
  --accent-main: #b31312;
  --accent-glow: #ff3b2f;
}

.lightmode {
  --base-color: #ffffff;
  --base-variant: #2b2a4c;
  --base-variant2: #2b2a4c;
  --base-color-section: #e6e6e6;
  --primary-text-color: #000000;
  --secondary-text: #2b2a4c;
  --text-color-a: #b31312;
  --text-color-white: #ffffff;
  --text-grey: #000000;
  --text-grey-dark: #000000;
  --portfolio-border-color: #000000;
  --text-color-resume: #000000;
  --text-switch-color: #2b2a4c;
  --fill-color: #000000;
  --icon-box-color1: #47aeff;
  --icon-box-color2: #ffa76e;
  --icon-box-color3: #e80368;
  --icon-box-color4: #ffbb2c;
  --icon-box-color5: #ff5828;
  --icon-box-color6: #11dbcf;
  --icon-box-color7: #3b82f6;
  --icon-box-color8: #10b981;
  --icon-box-color9: #8b5cf6;
  --icon-box-color10: #ec4899;
  --icon-box-color11: #06b6d4;
  --icon-box-color12: #eab308;
  --background-mode: #rgba(255, 255, 255, 0.8);
  --background-nav: #2b2a4c;
  --background-switch-button: transparent;
  --nav-text-color: #f2f3f5;
  --text-color-h1: #2b2a4c;
  --text-color-h2: #2b2a4c;
  --back-to-top: #2b2a4c;
  --text-service-color: #000000;
  --accent-main: #b31312;
  --accent-glow: #ff3b2f;
}

body {
  font-family: "Poppins", sans-serif;
  color: var(--primary-text-color);
  background-color: var(--background-mode);
}

body.lightmode {
  background-color: var(--base-color);
}

a {
  color: var(--text-color-a);
  text-decoration: none;
}

a:hover {
  text-decoration: none;
}

/*--------------------------------------------------------------
# Theme switch
--------------------------------------------------------------*/

#theme-switch {
  height: 50px;
  width: 50px;
  padding: 0;
  border-radius: 50%;
  border-color: transparent;
  background-color: var(--background-switch-button);
  display: flex;
  justify-content: center;
  align-items: center;
  position: fixed;
  top: 30px;
  right: 60px;
}

@media (max-width: 1200px) {
  #theme-switch {
    top: 30px;
    right: 80px;
  }
}

#theme-switch svg:last-child {
  display: block;
  animation: rotate-in 2s infinite;
}

.lightmode #theme-switch svg:first-child {
  display: none;
}

.lightmode #theme-switch svg:last-child {
  display: block;
  animation: rotate-in 2s infinite;
}

.lightmode #theme-switch .light {
  fill: #2b2a4c;
}

@keyframes rotate-in {
  from {
    transform: rotate(0);
    opacity: 0;
  }
  to {
    transform: rotate(360deg);
    opacity: 1;
  }
}

.no-animations * {
  animation: none !important;
  /* transition: none !important; */
}

/*--------------------------------------------------------------
# Scroll down button
--------------------------------------------------------------*/

.scroolme {
  width: 100%;
  height: auto;
  position: absolute;
  top: 90%;
  right: 1%;
}

.scrooldown i {
  font-size: 28px;
  color: var(--text-color-h1);
  background-color: transparent;
  border-radius: 50px;
  border-style: none;
}

.scrooldown i:hover {
  background: #b31312;
}

.scrooldown {
  visibility: visible;
  opacity: 1;
  background: transparent;
  width: auto;
  height: auto;
  border-radius: 50px;
  border-style: none;
  color: var(--text-color-white);
  animation: move-down 2s infinite;
}

@keyframes move-down {
  80% {
    opacity: 1;
  }
  100% {
    transform: translateY(30px);
    opacity: 0;
  }
}

.scrooldown a::after {
  position: absolute;
  content: "Cliquez ici";
  font-style: italic;
  width: 12em;
  display: flex;
  width: 12em;
  align-items: center;
  right: -120px;
  color: var(--text-color-h1);
  font-size: 14px;
}

.lightmode .scrooldown a::after {
  position: absolute;
  content: "Cliquez ici";
  font-style: italic;
  width: 12em;
  display: flex;
  width: 12em;
  align-items: center;
  right: 710px;
  color: var(--text-color-h1);
  font-size: 14px;
}

/*--------------------------------------------------------------
# Back to top button
--------------------------------------------------------------*/
.back-to-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 15px;
  bottom: 15px;
  z-index: 996;
  background-color: var(--back-to-top);
  width: 40px;
  height: 40px;
  border-radius: 50px;
  transition: all 0.4s;
}

.back-to-top i {
  font-size: 28px;
  color: var(--text-color-white);
  line-height: 0;
}

.back-to-top:hover {
  background: #b31312;
}

.back-to-top.active {
  visibility: visible;
  opacity: 1;
}

/*--------------------------------------------------------------
# Preloader
--------------------------------------------------------------*/
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;
  overflow: hidden;
  background-color: var(--base-color);
}

#preloader:before {
  content: "";
  position: fixed;
  top: calc(50% - 30px);
  left: calc(50% - 30px);
  border: 6px solid var(--secondary-text);
  border-top-color: var(--base-color);
  border-bottom-color: var(--base-color);
  border-radius: 50%;
  width: 60px;
  height: 60px;
  -webkit-animation: animate-preloader 1s linear infinite;
  animation: animate-preloader 1s linear infinite;
}

@-webkit-keyframes animate-preloader {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

@keyframes animate-preloader {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/*--------------------------------------------------------------
# Disable aos animation delay on mobile devices
--------------------------------------------------------------*/
@media screen and (max-width: 768px) {
  [data-aos-delay] {
    transition-delay: 0 !important;
  }
}

/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/
#header {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  z-index: 9997;
  transition: all 0.5s;
  padding: 15px;
  overflow-y: auto;
  /* background: transparent; */
}

@media (max-width: 992px) {
  #header {
    width: 300px;
    background: var(--base-color);
    /* border-right: 1px solid #e6e9ec; */
    left: -300px;
  }
}

@media (min-width: 992px) {
  #main {
    margin-left: 100px;
  }
}

/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/
/**
* Desktop Navigation 
*/
.nav-menu {
  padding: 0;
  display: block;
}

.nav-menu * {
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-menu > ul > li {
  position: relative;
  white-space: nowrap;
}

.nav-menu a {
  display: flex;
  align-items: center;
  padding: 10px 18px;
  margin-bottom: 8px;
  transition: 0.3s;
  font-size: 15px;
  border-radius: 50px;
  color: var(--nav-text-color);
  background: var(--background-nav);
  height: 56px;
  width: 100%;
  overflow: hidden;
  transition: 0.3s;
}

.nav-menu a i {
  font-size: 20px;
}

.nav-menu a span {
  padding: 0 5px 0 7px;
}

@media (min-width: 992px) {
  .nav-menu a {
    width: 56px;
  }
  .nav-menu a span {
    display: none;
  }
}

.nav-menu a:hover,
.nav-menu .active,
.nav-menu li:hover > a,
.nav-menu a:hover span,
.nav-menu .active span,
.nav-menu a span,
.nav-menu li:hover > a span {
  color: var(--text-color-white);
}

.nav-menu a:hover,
.nav-menu li:hover > a {
  width: 100%;
  background-color: var(--base-variant2);
}

.nav-menu a:hover span,
.nav-menu li:hover > a span {
  display: block;
}

/**
* Mobile Navigation 
*/
.mobile-nav-toggle {
  position: fixed;
  right: 30px;
  top: 50px;
  z-index: 9998;
  border: 0;
  background: none;
  font-size: 30px;
  transition: all 0.4s;
  outline: none !important;
  line-height: 0;
  cursor: pointer;
  border-radius: 50px;
  padding: 5px;
}

.mobile-nav-toggle i {
  /* color: #45505b; */
  color: var(--text-color-white);
}

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

.mobile-nav-active #header {
  left: 0;
}

.mobile-nav-active .mobile-nav-toggle {
  color: var(--text-color-a);
}

/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/
#hero {
  width: 100%;
  height: 100vh;
}

@media (min-width: 992px) {
  #hero {
    padding-left: 160px;
  }
}

#hero:before {
  content: "";
  position: absolute;
  bottom: 0;
  top: 0;
  left: 0;
  right: 0;
}

#hero h1 {
  margin: 0;
  font-size: 64px;
  font-weight: 700;
  line-height: 56px;
  color: var(--text-color-h1);
}

.section-title h2 {
  color: var(--text-color-h2) !important;
}

.scrooldown i,
.mobile-nav-toggle,
.back-to-top i,
#hero h1,
#hero h3,
#hero .social-links i,
.nav-menu > ul > li,
.nav-menu a i,
.section-title h2,
.buttonplus,
.neonp,
.iconneon,
.contactneon,
.scrooldown svg {
  -webkit-animation: neon 0.08s ease-in-out infinite alternate;
  animation: neon 0.08s ease-in-out infinite alternate;
}

@-webkit-keyframes neon {
  from {
    text-shadow: 0 0 6px rgba(202, 228, 225, 0.92),
      0 0 30px rgba(202, 228, 225, 0.34), 0 0 12px rgba(30, 132, 242, 0.52),
      0 0 21px rgba(30, 132, 242, 0.92), 0 0 34px rgba(30, 132, 242, 0.78),
      0 0 54px rgba(30, 132, 242, 0.92);
  }
  to {
    text-shadow: 0 0 6px rgba(220, 228, 202, 0.98),
      0 0 30px rgba(202, 228, 225, 0.42), 0 0 12px rgba(30, 132, 242, 0.58),
      0 0 22px rgba(30, 132, 242, 0.84), 0 0 38px rgba(30, 132, 242, 0.88),
      0 0 60px rgba(30, 132, 242, 1);
  }
}

@keyframes neon {
  from {
    text-shadow: 0 0 6px rgba(202, 228, 225, 0.92),
      0 0 30px rgba(202, 228, 225, 0.34), 0 0 12px rgba(30, 132, 242, 0.52),
      0 0 21px rgba(30, 132, 242, 0.92), 0 0 34px rgba(30, 132, 242, 0.78),
      0 0 54px rgba(30, 132, 242, 0.92);
  }
  to {
    text-shadow: 0 0 6px rgba(220, 228, 202, 0.98),
      0 0 30px rgba(202, 228, 225, 0.42), 0 0 12px rgba(30, 132, 242, 0.58),
      0 0 22px rgba(30, 132, 242, 0.84), 0 0 38px rgba(30, 132, 242, 0.88),
      0 0 60px rgba(30, 132, 242, 1);
  }
}

#hero h3 {
  margin: 20px 0 0 0;
  font-size: 26px;
}

#hero h3 span {
  color: var(--text-color-a);
  letter-spacing: 1px;
}

#hero .social-links {
  margin-top: 30px;
}

#hero .social-links i {
  font-size: 30px;
  display: inline-block;
  color: var(--text-color-h1);
  line-height: 1;
  margin-right: 20px;
  transition: 0.3s;
}

#hero .social-links i:hover {
  color: var(--text-color-a);
}

@media (max-width: 992px) {
  #hero {
    text-align: center;
  }
  #hero h1 {
    font-size: 32px;
    line-height: 36px;
  }
  #hero p {
    margin-top: 10px;
    font-size: 20px;
    line-height: 24px;
  }
}

/*--------------------------------------------------------------
# Sections General
--------------------------------------------------------------*/

section {
  padding: 70px 0;
  overflow: hidden;
}

.section-title {
  text-align: center;
  padding-bottom: 30px;
}

.section-title h2 {
  font-size: 32px;
  font-weight: bold;
  text-transform: uppercase;
  margin-bottom: 20px;
  padding-bottom: 20px;
  position: relative;
  color: var(--text-color-white);
}

.section-title h2::before {
  content: "";
  position: absolute;
  display: block;
  width: 120px;
  height: 1px;
  background: var(--primary-text-color);
  bottom: 1px;
  left: calc(50% - 60px);
}

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

#homepage-video {
  width: 100%;
  height: 100vh;
  position: absolute;
  top: 0;
  left: 0;
  -o-object-fit: cover;
  object-fit: cover;
}

.hidden-video {
  display: none;
}

/*--------------------------------------------------------------
# Portfolio
--------------------------------------------------------------*/

/* Popup video */
.video-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: rgba(0, 0, 0, 0.88);
  padding: 24px;
}

.video-modal.active {
  display: grid;
  place-items: center;
}

.video-container {
  position: relative;
  width: min(92vw, 520px);
  max-height: 90vh;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #000;
  border-radius: 12px;
  overflow: hidden;
}

.video-container video {
  display: block;
  width: 100%;
  max-height: 90vh;
  height: auto;
  background: #000;
  object-fit: contain;
}

.video-close {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.85);
  color: #fff;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  z-index: 100000;
}

body.modal-open {
  overflow: hidden;
}

/* Popup video End*/

.portfolio-vertical {
  height: 220px;
  object-fit: contain;
  background: #000;
}

.portfolio-featured .portfolio-wrap {
  height: 440px;
  background: radial-gradient(circle at center, #2a1a10, #000);
  box-shadow: 0 0 30px rgba(255, 120, 0, 0.15);
}

.portfolio-featured img {
  width: 100%;
  height: 100%;
  padding: 10px;
  object-fit: contain;
}

#portfolio {
  width: 100%;
  height: auto;
  padding: 60px;
  background-color: var(--base-color-section);
}

.portfolio .portfolio-item {
  margin-bottom: 30px;
}

.portfolio #portfolio-flters {
  padding: 0;
  margin: 0 auto 30px auto;
  list-style: none;
  text-align: center;
  background: transparent;
  padding: 2px 15px;
}

.portfolio #portfolio-flters li {
  cursor: pointer;
  display: inline-block;
  padding: 10px 15px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  text-transform: uppercase;
  color: var(--text-grey);
  margin-bottom: 5px;
  transition: all 0.3s ease-in-out;
}

.portfolio #portfolio-flters li:hover,
.portfolio #portfolio-flters li.filter-active {
  color: var(--text-color-a);
}

.portfolio #portfolio-flters li:last-child {
  margin-right: 0;
}

.portfolio .portfolio-wrap {
  transition: 0.3s;
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  z-index: 1;
  /* background: rgba(69, 80, 91, 0.8); */
}

.portfolio .portfolio-wrap::before {
  content: "";
  background: rgba(255, 255, 255, 0.9);
  position: absolute;
  left: 30px;
  right: 30px;
  top: 30px;
  bottom: 30px;
  transition: all ease-in-out 0.3s;
  z-index: 2;
  opacity: 0;
}

.portfolio-info small {
  color: var(--text-grey);
}

.portfolio .portfolio-wrap .portfolio-info {
  opacity: 0;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  text-align: center;
  z-index: 3;
  transition: all ease-in-out 0.3s;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.portfolio .portfolio-wrap .portfolio-info::before {
  display: block;
  content: "";
  width: 48px;
  height: 48px;
  position: absolute;
  top: 35px;
  left: 35px;
  border-top: 3px solid var(--portfolio-border-color);
  border-left: 3px solid var(--portfolio-border-color);
  transition: all 0.5s ease 0s;
  z-index: 9994;
}

.portfolio .portfolio-wrap .portfolio-info::after {
  display: block;
  content: "";
  width: 48px;
  height: 48px;
  position: absolute;
  bottom: 35px;
  right: 35px;
  border-bottom: 3px solid var(--portfolio-border-color);
  border-right: 3px solid var(--portfolio-border-color);
  transition: all 0.5s ease 0s;
  z-index: 9994;
}

.portfolio .portfolio-wrap .portfolio-info h4 {
  font-size: 20px;
  color: var(--text-grey-dark);
  font-weight: 600;
}

.portfolio .portfolio-wrap .portfolio-info p {
  color: var(--text-grey-dark);
  font-size: 14px;
  text-transform: uppercase;
  padding: 0;
  margin: 0;
}

.portfolio .portfolio-wrap .portfolio-info p.description {
  color: var(--text-grey-dark);
  font-size: 12px;
  text-transform: none;
  padding: 0;
  margin: 0;
}

.portfolio .portfolio-wrap .portfolio-links {
  text-align: center;
  z-index: 4;
}

.portfolio .portfolio-wrap .portfolio-links a {
  color: var(--text-grey-dark);
  margin: 0 2px;
  font-size: 28px;
  display: inline-block;
  transition: 0.3s;
}

.portfolio .portfolio-wrap .portfolio-links a:hover {
  color: var(--text-color-a);
}

.portfolio .portfolio-wrap:hover::before {
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  opacity: 1;
}

.portfolio .portfolio-wrap:hover .portfolio-info {
  opacity: 1;
}

.portfolio .portfolio-wrap:hover .portfolio-info::before {
  top: 15px;
  left: 15px;
}

.portfolio .portfolio-wrap:hover .portfolio-info::after {
  bottom: 15px;
  right: 15px;
}

@media (max-width: 768px) {
  .portfolio-featured .portfolio-wrap {
    height: auto;
  }

  .portfolio-featured img {
    height: auto;
    object-fit: contain;
  }
}

.desktop-only {
  display: block;
}

@media (max-width: 768px) {
  .desktop-only {
    display: none;
  }
}

/*--------------------------------------------------------------
# About
--------------------------------------------------------------*/
#about {
  color: var(--primary-text-color);
}

.about .content h4 {
  font-weight: 200;
  font-size: 22px;
  color: var(--text-color-a);
}

.about .content ul {
  list-style: none;
  padding: 0;
}

.about .content ul li {
  margin-bottom: 20px;
  display: flex;
  align-items: center;
}

.about .content ul strong {
  margin-right: 10px;
}

.about .content ul i {
  font-size: 18px;
  margin-right: 5px;
  color: var(--text-color-a);
  line-height: 0;
}

.about .content p:last-child {
  margin-bottom: 0;
}

.about .content ul a {
  color: var(--primary-text-color);
}

.about .content ul a:hover {
  color: var(--text-color-a);
}

.about img,
.about .img-overlay {
  border-radius: 50%;
}

.about .img-container {
  position: relative;
  display: inline-block;
}

.about .img-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.about .img-container:hover .img-overlay {
  opacity: 1;
}

.bio-mobile {
  display: none;
}

@media (max-width: 768px) {
  .bio-desktop {
    display: none;
  }

  .bio-mobile {
    display: block;
  }
}

/*--------------------------------------------------------------
# Services
--------------------------------------------------------------*/
#services {
  width: 100%;
  height: auto;
  padding: 60px;
  background-color: var(--base-color-section);
}

.services .icon-box {
  border-radius: 2%;
  text-align: start;
  padding: 20px;
  transition: all ease-in-out 0.3s;
  background: transparent;
  color: var(--primary-text-color);
}

.services .icon-box:hover {
  background: rgba(236, 236, 236, 1);
  color: var(--text-service-color);
}

.services .icon-box .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 .icon-box .icon i {
  font-size: 36px;
  transition: 0.5s;
  position: relative;
}

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

.services .icon-box .icon svg path {
  transition: 0.5s;
  fill: var(--fill-color);
}

.services,
.icon-box h4 {
  font-weight: 600;
  margin: 10px 0 15px 0;
  font-size: 22px;
}

.services .icon-box h4 a {
  color: var(--text-grey-dark);
  transition: ease-in-out 0.3s;
}

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

.services .iconbox-blue i,
.services .iconbox-orange i,
.services .iconbox-pink i,
.services .iconbox-yellow i,
.services .iconbox-red i,
.services .iconbox-teal i {
  font-size: 14px;
}

.services .iconbox-blue i {
  color: var(--icon-box-color1);
}

.services .iconbox-blue:hover .icon i {
  color: var(--text-color-white);
}

.services .iconbox-blue:hover .icon path {
  fill: var(--icon-box-color1);
}

.services .iconbox-orange i {
  color: var(--icon-box-color2);
}

.services .iconbox-orange:hover .icon i {
  color: var(--text-color-white);
}

.services .iconbox-orange:hover .icon path {
  fill: var(--icon-box-color2);
}

.services .iconbox-pink i {
  color: var(--icon-box-color3);
}

.services .iconbox-pink:hover .icon i {
  color: var(--text-color-white);
}

.services .iconbox-pink:hover .icon path {
  fill: var(--icon-box-color3);
}

.services .iconbox-yellow i {
  color: var(--icon-box-color4);
}

.services .iconbox-yellow:hover .icon i {
  color: var(--text-color-white);
}

.services .iconbox-yellow:hover .icon path {
  fill: var(--icon-box-color4);
}

.services .iconbox-red i {
  color: var(--icon-box-color5);
}

.services .iconbox-red:hover .icon i {
  color: var(--text-color-white);
}

.services .iconbox-red:hover .icon path {
  fill: var(--icon-box-color5);
}

.services .iconbox-purple i {
  color: var(--icon-box-color9);
}

.services .iconbox-purple:hover .icon i {
  color: var(--text-color-white);
}

.services .iconbox-purple:hover .icon path {
  fill: var(--icon-box-color9);
}

.services .iconbox-cyan i {
  color: var(--icon-box-color11);
}

.services .iconbox-cyan:hover .icon i {
  color: var(--text-color-white);
}

.services .iconbox-cyan:hover .icon path {
  fill: var(--icon-box-color11);
}

.services .iconbox-teal i {
  color: var(--icon-box-color6);
}

.services .iconbox-teal:hover .icon i {
  color: var(--text-color-white);
}

.services .iconbox-teal:hover .icon path {
  fill: var(--icon-box-color6);
}

.services .iconbox-yellowgold i {
  color: var(--icon-box-color12);
}

.services .iconbox-yellowgold:hover .icon i {
  color: var(--text-color-white);
}

.services .iconbox-yellowgold:hover .icon path {
  fill: var(--icon-box-color12);
}

.services .iconbox-green i {
  color: var(--icon-box-color8);
}

.services .iconbox-green:hover .icon i {
  color: var(--text-color-white);
}

.services .iconbox-green:hover .icon path {
  fill: var(--icon-box-color8);
}
.service p {
  font-size: 16px;
}

.webdesign li,
.conception li,
.conseilstrategie li,
.immersive li,
.frontend li,
.backend li,
.fullstack li,
.cms li,
.optimisation li {
  font-size: 15px;
  margin-bottom: 6px;
  padding-left: 0;
  line-height: 1.6;
  list-style: none;
  font-weight: 500;
}

.webdesign li {
  color: var(--icon-box-color4);
}

.conception li {
  color: var(--icon-box-color5);
}

.conseilstrategie li {
  color: var(--icon-box-color9);
}

.immersive li {
  color: var(--icon-box-color3);
}

.frontend li {
  color: var(--icon-box-color1);
}

.backend li {
  color: var(--icon-box-color11);
}

.fullstack li {
  color: var(--icon-box-color6);
}

.cms li {
  color: var(--icon-box-color12);
}

.optimisation li {
  color: var(--icon-box-color8);
}

/* =========================
   PARCOURS / JOURNEY
========================= */

.journey-section {
  padding: 80px 0;
  background: transparent;
  color: var(--primary-text-color);
}

.journey-intro {
  max-width: 850px;
  margin: 0 auto;
  color: var(--primary-text-color);
  opacity: 0.85;
  line-height: 1.7;
  font-size: 1.05rem;
}

.journey-block {
  margin-top: 50px;
  padding-top: 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.lightmode .journey-block {
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.journey-heading {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.journey-heading h3 {
  margin: 0;
  color: var(--text-grey-dark);
  font-size: 22px;
  font-weight: 500;
  text-transform: uppercase;
}

.journey-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.journey-card-icon {
  margin-bottom: 0;
}

.journey-icon-circle {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 1px solid var(--accent-main);
  color: var(--accent-main);
  box-shadow: 0 0 18px var(--accent-glow);
  background: color-mix(in srgb, var(--accent-main) 10%, transparent);
  flex-shrink: 0;
}

.journey-icon-circle:hover {
  box-shadow: 0 0 12px var(--accent-glow), 0 0 24px var(--accent-glow);
  transform: scale(1.05);
}

.journey-icon-circle i {
  font-size: 22px;
}

.journey-grid {
  display: grid;
  gap: 34px 56px;
}

.journey-grid-3 .journey-card:nth-child(1) {
  z-index: 3;
}
.journey-grid-3 .journey-card:nth-child(2) {
  z-index: 2;
}
.journey-grid-3 .journey-card:nth-child(3) {
  z-index: 1;
}
.journey-grid-2 .journey-card:nth-child(1) {
  z-index: 2;
}
.journey-grid-2 .journey-card:nth-child(2) {
  z-index: 1;
}
.journey-grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.journey-grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.journey-grid-2 .journey-card:nth-child(2n) .journey-node {
  display: none;
}

.journey-grid-2 .journey-card:nth-child(2n)::before {
  display: none;
}
.journey-grid-3 .journey-card:nth-child(3n) .journey-node {
  display: none;
}

.journey-grid-3 .journey-card:nth-child(3n)::before {
  display: none;
}

.journey-card:nth-child(3n) {
  margin-right: 10px;
}

.journey-card {
  position: relative;
  z-index: 1;
  padding: 24px 26px 24px;
  border-radius: 20px;
  background: rgba(8, 8, 8, 0.95);
  border: 1px solid var(--text-color-a);
  box-shadow: 0 0 18px rgba(255, 88, 40, 0.08);
  transition: 0.25s ease;
  overflow: visible;
}

.lightmode .journey-card {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(43, 42, 76, 0.18);
  box-shadow: 0 0 18px rgba(43, 42, 76, 0.08);
}

.journey-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 0 28px rgba(255, 88, 40, 0.14);
}

.lightmode .journey-card:hover {
  box-shadow: 0 0 24px rgba(43, 42, 76, 0.14);
}

.journey-card::before {
  content: "";
  position: absolute;
  top: 39px;
  right: -64px;
  width: 64px;
  height: 1px;
  background: var(--text-color-a);
  box-shadow: 0 0 10px rgba(255, 88, 40, 0.6);
  z-index: 2;
}

.journey-card:last-child::before {
  background: linear-gradient(90deg, var(--accent-main), transparent);
}

.journey-node {
  position: absolute;
  z-index: 3;
  top: 31px;
  left: auto !important;
  right: -64px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #ff3b2f;
  box-shadow: 0 0 0 4px rgba(255, 59, 47, 0.15), 0 0 12px rgba(255, 59, 47, 0.9),
    0 0 24px rgba(255, 59, 47, 0.6);
}

.lightmode .journey-node {
  background: var(--text-color-a);
  box-shadow: 0 0 0 4px rgba(255, 88, 40, 0.12), 0 0 8px rgba(255, 88, 40, 0.45);
}

.journey-card-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: var(--text-color-a);
  border: 1px solid rgba(255, 88, 40, 0.35);
  background: rgba(255, 88, 40, 0.03);
  margin-bottom: 16px;
}

.journey-card-icon i {
  font-size: 1.1rem;
}

.journey-year {
  font-size: 16px;
  color: var(--primary-text-color);
}

.journey-card h4 {
  margin: 0 0 10px;
  color: var(--text-color-white);
  font-size: 18px;
  line-height: 1.3;
  line-height: 18px;
  font-weight: 200;
  text-transform: uppercase;
  font-family: "Poppins", sans-serif;
}

.lightmode .journey-card h4 {
  color: var(--text-grey-dark);
}

.journey-place {
  margin: 0 0 18px;
  color: var(--primary-text-color);
  opacity: 0.75;
  font-style: italic;
  font-size: 1rem;
}

.journey-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.journey-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  color: var(--primary-text-color);
  line-height: 1.5;
}

.journey-list li i {
  width: 18px;
  text-align: center;
  color: var(--text-color-a);
  flex-shrink: 0;
}

.journey-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.journey-pills span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 20px;
  border-radius: 14px;
  background: rgba(8, 8, 8, 0.95);
  color: var(--text-color-white);
  border: 1px solid rgba(255, 88, 40, 0.38);
  box-shadow: 0 0 14px rgba(255, 88, 40, 0.06);
  font-weight: 500;
}

.lightmode .journey-pills span {
  background: rgba(255, 255, 255, 0.92);
  color: var(--text-grey-dark);
  border: 1px solid rgba(43, 42, 76, 0.15);
}

.journey-pills span i {
  color: var(--text-color-a);
}

.iconr {
  color: var(--text-color-white);
  border-radius: 30px;
  display: inline-block;
  height: 50px;
  width: 150px;
  font-size: 16px;
  line-height: 50px;
  vertical-align: middle;
  background-color: var(--base-variant2);
  overflow: hidden;
  text-decoration: none;
}

.iconr .bx-envelope,
.iconr .bxl-linkedin-square {
  text-shadow: 2px 2px 0px;
  font-size: 25px;
  vertical-align: middle;
  margin: 5px;
}

.iconr span {
  display: inline-block;
  transition: 0.5s;
}

.iconr:hover span {
  -webkit-transform: rotateX(360deg);
  -ms-transform: rotateX(360deg);
  transform: rotateX(360deg);
}

/* Responsive */
@media (max-width: 1200px) {
  .journey-grid-3 {
    grid-template-columns: 1fr;
  }

  .journey-grid-2 {
    grid-template-columns: 1fr;
  }

  .journey-card::before,
  .journey-node {
    display: none;
  }

  .journey-node::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 100%;
    width: 20px;
    height: 2px;
    transform: translateY(-50%);
    background: linear-gradient(
      90deg,
      rgba(255, 88, 40, 0.8),
      rgba(255, 88, 40, 0)
    );
    filter: blur(2px);
  }
}

@media (max-width: 768px) {
  .journey-section {
    padding: 60px 0;
  }

  .journey-heading h3 {
    font-size: 1.35rem;
  }

  .journey-card h4 {
    font-size: 1.2rem;
  }

  .journey-pills span {
    width: 100%;
    justify-content: flex-start;
  }
}

/*--------------------------------------------------------------
# Contact
--------------------------------------------------------------*/
#contact {
  background-color: var(--base-color-section);
}

.contact .info {
  width: 100%;
}

.contact .info h5 {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 5px;
  color: var(--text-grey-dark);
}

#contact span {
  color: var(--text-color-a);
  letter-spacing: 1px;
}

.contact .php-email-form {
  width: 100%;
}

.contact .php-email-form .form-group {
  padding-bottom: 8px;
}

.contact .php-email-form .loading {
  display: none;
  background: var(--text-color-white);
  text-align: center;
  padding: 15px;
}

.contact .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(--text-color-a);
  border-top-color: var(--text-color-white);
  -webkit-animation: animate-loading 1s linear infinite;
  animation: animate-loading 1s linear infinite;
}

.contact .php-email-form input,
.contact .php-email-form textarea {
  border-radius: 4px;
  box-shadow: none;
  font-size: 14px;
}

.contact .php-email-form input {
  height: 44px;
}

.contact .php-email-form textarea {
  padding: 10px 12px;
}

.contact .checkbox-container {
  display: flex;
  align-items: center; /* Aligne la case et le texte verticalement */
  gap: 5px; /* Espace entre la case et le texte */
  color: var(--primary-text-color);
  font-size: 12px;
  font-style: italic;
}

.contact .php-email-form button[type="submit"] {
  background-color: var(--base-variant);
  border: 0;
  padding: 10px 35px;
  color: var(--text-color-white);
  transition: 0.4s;
  border-radius: 50px;
}

.contact .php-email-form button[type="submit"]:hover {
  background: var(--text-color-a);
}

.contact .btn span::after {
  content: "Envoyer";
  color: var(--text-color-white);
  transition: 0.5s linear;
}

.contact .btn:hover span::after {
  content: "N'oubliez pas de cocher les cases avant d'envoyer !";
  margin-right: 5px;
}

/* Popup Success */

.popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: var(--base-variant); /* Semi-transparent background */
}

.popup-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: var(--text-color-white);
  color: var(--base-color);
  padding: 20px;
  border-radius: 5px;
  text-align: center;
}

@-webkit-keyframes animate-loading {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

@keyframes animate-loading {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

@media screen and (max-width: 768px) {
  #contact {
    padding: 20px;
  }
  #contact .info {
    text-align: center;
    margin-top: 50px;
  }
  .popupSuccess img {
    display: none;
  }
}

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
#footer {
  color: var(--primary-text-color);
  text-align: center;
  padding: 30px 0;
}

#footer h3 {
  font-size: 30px;
  font-weight: 700;
  position: relative;
  font-family: "Poppins", sans-serif;
  padding: 0;
  margin: 0 0 15px 0;
}

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

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

#footer .social-links a {
  font-size: 25px;
  display: inline-block;
  background-color: var(--base-variant);
  color: var(--text-color-white);
  line-height: 1;
  padding: 8px 0;
  margin-right: 4px;
  border-radius: 50%;
  text-align: center;
  width: 36px;
  height: 36px;
  transition: 0.3s;
}

#footer img {
  font-size: 25px;
  display: inline-block;
  background-color: var(--base-variant);
  color: var(--text-color-white);
  border-radius: 15px;
  line-height: 1;
  padding: 8px 0;
  margin: 30px;
  text-align: center;
  width: 100px;
  height: auto;
  transition: 0.3s;
}

#footer .social-links a:hover {
  background: var(--text-color-a);
  color: var(--text-color-white);
  text-decoration: none;
}

#footer .copyright {
  margin: 0 0 5px 0;
}

#footer .credits {
  font-size: 13px;
}
