/* Variables globales */
:root {
    --primary: #0C6C3E;
    --primary-light: #1F7E56;
    --primary-dark: #095228;
    --text: #2B2B2B;
    --text-light: #666;
    --background: #f8f9fa;
    --white: #FFFFFF;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 20px 40px rgba(0, 0, 0, 0.15);
    --gradient: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset et styles de base */
body {
    font-family: "Open Sans", sans-serif;
    color: var(--text);
    background: var(--background);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
  color: #0C6C3E;
  text-decoration: none;
  transition: all 0.3s ease;
}

a:hover {
  color: #1F7E56;
  text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Raleway", sans-serif;
  color: #111111;
  font-weight: 700;
}

/*--------------------------------------------------------------
# Back to top button
--------------------------------------------------------------*/
.back-to-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 15px;
  bottom: 15px;
  z-index: 996;
  background: #0C6C3E;
  width: 40px;
  height: 40px;
  border-radius: 50px;
  transition: all 0.4s;
}

.back-to-top i {
  font-size: 28px;
  color: #FFFFFF;
  line-height: 0;
}

.back-to-top:hover {
  background: #1F7E56;
  color: #FFFFFF;
}

.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: #fff;
}

#preloader:before {
  content: "";
  position: fixed;
  top: calc(50% - 30px);
  left: calc(50% - 30px);
  border: 6px solid #095228;
  border-top-color: #fff;
  border-bottom-color: #fff;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  animation: animate-preloader 1s linear infinite;
}

@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: 0s !important;
  }
}

/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/
#header {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  z-index: 9997;
  transition: all 0.5s;
  padding: 15px;
  overflow-y: auto;
}

@media (max-width: 991px) {
  #header {
    width: 300px;
    background: #fff;
    border-right: 1px solid #e6e9ec;
    left: -300px;
  }
}

@media (min-width: 991px) {
  #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,
.nav-menu a:focus {
  display: flex;
  align-items: center;
  color: #2B2B2B;
  padding: 12px 15px;
  margin-bottom: 8px;
  transition: 0.3s;
  font-size: 15px;
  border-radius: 50px;
  background: transparent;
  backdrop-filter: blur(10px);
  height: 56px;
  width: 100%;
  overflow: hidden;
  transition: var(--transition);
  border: 2px solid transparent;
}

.nav-menu a i {
  transform: translateX(4px)
}

.nav-menu a i,
.nav-menu a:focus i {
  font-size: 20px;
  margin-right: 5px;
}

.nav-menu a span,
.nav-menu a:focus span {
  padding: 0 5px 0 5px;
  color: #45505b;
}

@media (min-width: 992px) {
  .nav-menu a,
  .nav-menu a:focus {
    width: 56px;
    padding-left: 12px;
  }

  .nav-menu a span,
  .nav-menu a:focus span {
    display: none;
    color: #fff;
  }
}

.nav-menu a:hover,
.nav-menu .active,
.nav-menu .active:focus,
.nav-menu li:hover>a {
  color: #FFFFFF;
  background: var(--gradient);
  /* transform: translateX(10px); */
  box-shadow: var(--shadow);
}

.nav-menu a:hover span,
.nav-menu .active span,
.nav-menu .active:focus span,
.nav-menu li:hover>a span {
  color: #fff;
}

.nav-menu a:hover,
.nav-menu li:hover>a {
  width: 100%;
  color: #fff;
}

.nav-menu a:hover span,
.nav-menu li:hover>a span {
  display: block;
}

/**
* Mobile Navigation 
*/
.mobile-nav-toggle {
  position: fixed;
  right: 10px;
  top: 10px;
  z-index: 9998;
  border: 0;
  background: none;
  font-size: 28px;
  transition: all 0.4s;
  outline: none !important;
  line-height: 0;
  cursor: pointer;
  border-radius: 50px;
  padding: 5px;
}

.mobile-nav-toggle i {
  color: #45505b;
}

.mobile-nav-active {
  overflow: hidden;
}

.mobile-nav-active #header {
  left: 0;
}

.mobile-nav-active .mobile-nav-toggle {
  color: #FFFFFF;
  background-color: #0C6C3E;
}

/*--------------------------------------------------------------
# home Section
--------------------------------------------------------------*/
#home {
    position: relative;
    min-height: 100vh;
    background: var(--background);
    overflow: hidden;
}

#home::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../img/coding.jpg') center/cover;
    opacity: 0.1;
    z-index: 0;
}

#home .container {
    position: relative;
    z-index: 2;
}

#home img {
    max-width: 80%;
    transition: all 0.5s ease;
    animation: float 6s ease-in-out infinite;
    position: relative;
    z-index: 2;
}

#home img:hover {
    transform: scale(1.05);
}

.scroll-down {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  animation: bounce 2s infinite;
}

.scroll-down i {
  font-size: 2.5rem;
  color: #0C6C3E;
  transition: all 0.4s ease;
  background: white;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  box-shadow: 0 5px 15px rgba(12, 108, 62, 0.2);
  border: 2px solid #0C6C3E;
}

.scroll-down:hover i {
  color: #1F7E56;
  transform: translateY(5px);
  box-shadow: 0 8px 25px rgba(12, 108, 62, 0.3);
  border-color: #1F7E56;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-20px);
  }
  60% {
    transform: translateY(-10px);
  }
}

@media (min-width: 992px) {
  #home {
    padding-left: 160px;
  }
}

#home h1 {
  font-size: 4.5rem;
  font-weight: 800;
  margin-bottom: 20px;
  background: linear-gradient(45deg, var(--primary) 30%, var(--primary-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
  animation: fadeInUp 1s ease;
}

#home p {
  font-size: 1.8rem;
  color: var(--text);
  margin-bottom: 30px;
  animation: fadeInUp 1s ease 0.2s;
  animation-fill-mode: both;
}

#home .social-links {
  animation: fadeInUp 1s ease 0.4s;
  animation-fill-mode: both;
}

#home .social-links a {
  font-size: 24px;
  display: inline-block;
  color: #2B2B2B;
  line-height: 1;
  margin-right: 20px;
  transition: all 0.4s ease;
  background: white;
  padding: 15px;
  border-radius: 50%;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  border: 2px solid transparent;
}

#home .social-links a:hover {
  color: #0C6C3E;
  transform: translateY(-5px) rotate(360deg);
  box-shadow: 0 8px 25px rgba(12, 108, 62, 0.2);
  border-color: #0C6C3E;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 992px) {
  #home {
    text-align: center;
  }

  #home h1 {
    font-size: 3rem;
  }

  #home p {
    margin-top: 10px;
    font-size: 1.4rem;
    line-height: 24px;
  }
}

/*--------------------------------------------------------------
# Sections General
--------------------------------------------------------------*/
section {
  padding: 80px 0;
  overflow: hidden;
}

.section-title {
  position: relative;
  margin-bottom: 80px;
  text-align: center;
}

.section-title h2 {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 25px;
  position: relative;
  display: inline-block;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
  animation: fadeInUp 1s ease;
}

.section-title h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--gradient);
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--transition);
}

.section-title:hover h2::after {
  transform: scaleX(1);
}

.section-title p {
  font-size: 1.2rem;
  color: #666;
  max-width: 800px;
  margin: 30px auto 0;
  animation: fadeInUp 1s ease 0.2s;
  animation-fill-mode: both;
  position: relative;
  padding: 0 20px;
}

.section-title p::before,
.section-title p::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 30px;
  height: 2px;
  background: linear-gradient(90deg, #0C6C3E, #1F7E56);
}

.section-title p::before {
  left: 0;
}

.section-title p::after {
  right: 0;
}

/*--------------------------------------------------------------
# About
--------------------------------------------------------------*/
.about {
  padding: 80px 0;
}

.about .content {
  padding: 30px;
  background: white;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
}

.about .profile-img {
  border-radius: 50%;
  border: 4px solid var(--primary);
  box-shadow: var(--shadow);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  background: white;
  padding: 5px;
}

.about .profile-img::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    45deg,
    transparent,
    rgba(255, 255, 255, 0.3),
    transparent
  );
  transform: rotate(45deg);
  animation: shine 3s infinite;
}

.about .profile-img::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  padding: 4px;
  background: linear-gradient(45deg, #0C6C3E, #1F7E56);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}

.about .profile-img:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: var(--shadow-hover);
}

.about .intro-container {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-bottom: 40px;
}

.about .intro {
  flex: 1;
  font-size: 18px;
  line-height: 1.8;
}

.about .cv-container:hover .cv {
  color: #0C6C3E;
}

.about .cv-container .cv::before {
  transform: translateX(50px);
}

.about .cv-container .cv::after {
  transform: translateX(-50px);
}

.about .cv-container:hover .cv::before {
  transform: translateX(-15px);
}

.about .cv-container:hover .cv::after {
  transform: translateX(15px);
}

.about .content h3 {
  font-weight: 700;
  font-size: 32px;
  color: #2B2B2B;
  margin: 30px 0;
  padding: 0 15px;
}

.about .content ul {
  list-style: none;
  padding: 0;
  margin-bottom: 30px;
}

.about .content ul li {
  margin-bottom: 25px;
  display: flex;
  align-items: flex-start;
  line-height: 1.6;
}

.about .content ul strong {
  margin-right: 15px;
  min-width: 120px;
  color: #0C6C3E;
  font-size: 16px;
}

.about .content ul i {
  font-size: 18px;
  margin-right: 10px;
  color: #0C6C3E;
  line-height: 1;
  margin-top: 4px;
}

.about .content p {
  margin-bottom: 20px;
  line-height: 1.8;
  color: #2B2B2B;
}

.about .content p:last-child {
  margin-bottom: 0;
}

.about .intro {
  font-size: 18px;
  line-height: 1.8;
  margin-bottom: 30px;
}

.about .intro strong {
  color: #0C6C3E;
  font-weight: 600;
}

.cv {
  display: inline-block;
  position: relative;
  transition: all 0.3s ease;
  color: transparent;
}

.cv::before {
  content: "{";
  color: #0C6C3E;
  font-size: 24px;
  position: absolute;
  left: 0;
  top: -8px;
  transition: transform 0.3s ease;
}

.cv::after {
  content: "}";
  color: #0C6C3E;
  font-size: 24px;
  position: absolute;
  right: 0;
  top: -8px;
  transition: transform 0.3s ease;
}

@media (max-width: 768px) {
  .about .content {
    padding: 20px;
  }
  
  .about .content h3 {
    font-size: 28px;
  }
  
  .about .content ul li {
    flex-direction: column;
  }
  
  .about .content ul strong {
    margin-bottom: 5px;
  }

  .about .intro-container {
    flex-direction: column;
    gap: 20px;
  }
  
  .about .profile-img {
    max-width: 250px;
  }
}

/*--------------------------------------------------------------
# Skills
--------------------------------------------------------------*/
#skills{
  padding-bottom: 110px;
}

.wheel-container {
    position: relative;
    width: 400px;
    height: 400px;
    margin: 40px auto;
    animation: rotate 20s linear infinite;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.1));
    transform-style: preserve-3d;
}

.wheel-container:hover {
    animation-play-state: paused;
}

.bubble {
    position: absolute;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--white);
    box-shadow: var(--shadow);
    transition: var(--transition);
    cursor: pointer;
    animation: counterRotate 20s linear infinite;
    transform-style: preserve-3d;
}

.wheel-container:hover .bubble {
    animation-play-state: paused;
}

.bubble img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 10px;
    transition: var(--transition);
}

.bubble:hover {
    transform: scale(1.2);
    box-shadow: var(--shadow-hover);
    z-index: 10;
}

.bubble::after {
    content: attr(data-name);
    position: absolute;
    bottom: -25px;
    left: 50%;
    transform: translateX(-50%);
    background: #0C6C3E;
    color: #FFFFFF;
    padding: 3px 8px;
    border-radius: 6px;
    font-size: 12px;
    opacity: 0;
    transition: opacity 0.3s;
    white-space: nowrap;
    pointer-events: none;
}

.bubble:hover::after {
    opacity: 1;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes counterRotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(-360deg); }
}

@media (max-width: 500px) {
  .wheel-container {
    width: 280px;
    height: 280px;
  }

  .bubble {
    width: 40px;
    height: 40px;
  }
}


/*--------------------------------------------------------------
# Resume
--------------------------------------------------------------*/
.resume .resume-title {
  font-size: 26px;
  font-weight: 700;
  margin-top: 20px;
  margin-bottom: 20px;
  color: #111111;
}

.resume .resume-item {
  padding: 0 0 20px 20px;
  margin-top: -2px;
  border-left: 2px solid #0C6C3E;
  position: relative;
  background: white;
  border-radius: 0 15px 15px 0;
  padding: 20px;
  margin-bottom: 20px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.resume .resume-item:hover {
  transform: translateX(5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.resume .resume-item h4 {
  line-height: 18px;
  font-size: 18px;
  font-weight: 600;
  text-transform: uppercase;
  font-family: "Poppins", sans-serif;
  color: #0C6C3E;
  margin-bottom: 10px;
}

.resume .resume-item h5 {
  font-size: 16px;
  background: #E4F5EB;
  padding: 5px 15px;
  display: inline-block;
  font-weight: 600;
  margin-bottom: 10px;
}

.resume .resume-item ul {
  padding-left: 20px;
}

.resume .resume-item ul li {
  padding-bottom: 10px;
}

.resume .resume-item:last-child {
  padding-bottom: 0;
}

.resume .resume-item::before {
  content: "";
  position: absolute;
  width: 16px;
  height: 16px;
  border-radius: 50px;
  left: -9px;
  top: 0;
  background: #FFFFFF;
  border: 2px solid #0C6C3E;
}

/*--------------------------------------------------------------
# Plans
--------------------------------------------------------------*/
.plans-container {
  padding: 80px 0;
}

.plans-container .dynamic-text {
  font-style: italic;
  font-size: 14px;
  color: #666;
}

.plans-container .plans {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  padding: 20px;
  max-width: 1400px;
  margin: 0 auto;
}

.plans-container .plan {
  background: white;
  border: 2px solid #0C6C3E;
  border-radius: 15px;
  width: 100%;
  max-width: 400px;
  padding: 40px 30px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
  flex: 1;
  min-width: 300px;
  position: relative;
  overflow: hidden;
}

.plans-container .plan::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--gradient);
  opacity: 0;
  transition: all 0.3s ease;
  z-index: 1;
}

.plans-container .plan:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0,0,0,0.15);
  border-color: transparent;
}

.plans-container .plan:hover::before {
  opacity: 0.05;
}

.plans-container .plan h3 {
  margin-top: 0;
  color: #0C6C3E;
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 20px;
  text-align: center;
  position: relative;
  z-index: 2;
  transition: all 0.3s ease;
}

.plans-container .plan:hover h3 {
  transform: scale(1.05);
  color: var(--primary);
}

.plans-container .plan .price {
  font-size: 32px;
  font-weight: bold;
  margin-bottom: 25px;
  text-align: center;
  color: #2B2B2B;
  position: relative;
  z-index: 2;
  transition: all 0.3s ease;
}

.plans-container .plan:hover .price {
  transform: scale(1.1);
  color: var(--primary);
}

.plans-container .plan ul {
  list-style: none;
  padding: 0;
  margin-bottom: 30px;
  position: relative;
  z-index: 2;
}

.plans-container .plan ul li {
  margin-bottom: 15px;
  position: relative;
  padding-left: 25px;
  line-height: 1.5;
  transition: all 0.3s ease;
}

.plans-container .plan ul li:before {
  content: "✓";
  color: #0C6C3E;
  position: absolute;
  left: 0;
  font-weight: bold;
  transition: all 0.3s ease;
}

.plans-container .plan:hover ul li {
  transform: translateX(5px);
}

.plans-container .plan:hover ul li:before {
  color: var(--primary);
  transform: scale(1.2);
}

.plans-container .plan .cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--gradient);
  color: white;
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  margin-top: 20px;
  border: 2px solid transparent;
  box-shadow: var(--shadow);
  position: relative;
  z-index: 2;
  overflow: hidden;
}

.plans-container .plan .cta-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    120deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transition: all 0.6s ease;
}

.plans-container .plan .cta-button:hover::before {
  left: 100%;
}

.plans-container .plan .cta-button i {
  font-size: 20px;
  transition: transform 0.3s ease;
}

.plans-container .plan .cta-button:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
  border-color: var(--primary);
}

.plans-container .plan .cta-button:hover i {
  transform: translateY(-2px) rotate(360deg);
}

@media (max-width: 1200px) {
  .plans-container .plans {
    gap: 20px;
  }
  
  .plans-container .plan {
    max-width: 350px;
  }
}

@media (max-width: 992px) {
  .plans-container .plans {
    flex-direction: column;
    align-items: center;
  }
  
  .plans-container .plan {
    max-width: 500px;
    width: 100%;
  }
}

@media (max-width: 576px) {
  .plans-container .plan {
    padding: 30px 20px;
  }
  
  .plans-container .plan h3 {
    font-size: 24px;
  }
  
  .plans-container .plan .price {
    font-size: 28px;
  }
}

/*--------------------------------------------------------------
# Portfolio
--------------------------------------------------------------*/
.portfolio .portfolio-item {
  margin-bottom: 30px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  width: auto;
  height: auto;
}

.portfolio .portfolio-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.portfolio #portfolio-filters {
  margin: 0 auto 25px auto;
  list-style: none;
  text-align: center;
  background: white;
  border-radius: 50px;
  padding: 2px 15px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.portfolio #portfolio-filters li {
  cursor: pointer;
  display: inline-block;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  text-transform: uppercase;
  color: #2B2B2B;
  margin-bottom: 5px;
  transition: all 0.3s ease-in-out;
  border-radius: 50px;
}

.portfolio #portfolio-filters li:hover,
.portfolio #portfolio-filters li.filter-active {
  color: #0C6C3E;
  background: #f8f9fa;
}

.portfolio #portfolio-filters li:last-child {
  margin-right: 0;
}

.portfolio .portfolio-wrap {
  position: relative;
  overflow: hidden;
}

.portfolio .portfolio-wrap img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.portfolio .portfolio-wrap::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--gradient);
  opacity: 0;
  transition: var(--transition);
  z-index: 1;
}

.portfolio .portfolio-wrap:hover::before {
  opacity: 0.9;
}

.portfolio .portfolio-wrap:hover {
  transform: translateY(-15px);
  box-shadow: 0 20px 40px rgba(12, 108, 62, 0.2);
}

.portfolio .portfolio-wrap .portfolio-info {
  position: absolute;
  bottom: -100%;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  padding: 30px;
  transition: var(--transition);
  z-index: 2;
}

.portfolio .portfolio-wrap:hover .portfolio-info {
  bottom: 0;
}

.portfolio .portfolio-wrap .portfolio-info::before,
.portfolio .portfolio-wrap .portfolio-info::after {
    display: none;
}

.portfolio .portfolio-wrap .portfolio-info h4 {
  font-size: 20px;
  color: #111111;
  font-weight: 600;
  margin-bottom: 5px;
}

.portfolio .portfolio-wrap .portfolio-info p {
  color: #2B2B2B;
  font-size: 14px;
  text-transform: uppercase;
  padding: 0;
  margin: 0 0 15px 0;
}

.portfolio .portfolio-wrap .portfolio-links {
  text-align: center;
  z-index: 3;
  position: relative;
}

.portfolio .portfolio-wrap .portfolio-links a {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.portfolio .portfolio-wrap .portfolio-links a:hover {
  background: var(--primary-light);
  transform: rotate(360deg);
}

@media (min-width: 768px) {
  .portfolio .portfolio-item {
    width: calc(50% - 30px);
    margin: 15px;
  }
}

@media (min-width: 992px) {
  .portfolio .portfolio-item {
    width: calc(33.333% - 30px);
  }
}

/*--------------------------------------------------------------
# Portfolio Details
--------------------------------------------------------------*/
.portfolio-details {
  padding-top: 40px;
}

.portfolio-details .portfolio-details-slider img {
  width: 100%;
}

.portfolio-details .portfolio-details-slider .swiper-pagination {
  margin-top: 20px;
  position: relative;
}

.portfolio-details .portfolio-details-slider .swiper-pagination .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background-color: #fff;
  opacity: 1;
  border: 1px solid #095228;
}

.portfolio-details .portfolio-details-slider .swiper-pagination .swiper-pagination-bullet-active {
  background-color: #095228;
}

.portfolio-details .portfolio-info {
  padding: 30px;
  box-shadow: 0px 0 30px rgba(69, 80, 91, 0.08);
}

.portfolio-details .portfolio-info h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid #eee;
}

.portfolio-details .portfolio-info ul {
  list-style: none;
  padding: 0;
  font-size: 15px;
}

.portfolio-details .portfolio-info ul li+li {
  margin-top: 10px;
}

.portfolio-details .portfolio-description {
  padding-top: 30px;
}

.portfolio-details .portfolio-description h2 {
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 20px;
}

.portfolio-details .portfolio-description p {
  padding: 0;
}

/*--------------------------------------------------------------
# Services
--------------------------------------------------------------*/
.services .icon-box {
  text-align: center;
  padding: 70px 20px 80px 20px;
  transition: all ease-in-out 0.3s;
  background: #fff;
  box-shadow: 0px 5px 90px 0px rgba(110, 123, 131, 0.05);
}

.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: #f5f5f5;
}

.services .icon-box h4 {
  font-weight: 600;
  margin: 10px 0 15px 0;
  font-size: 22px;
}

.services .icon-box h4 a {
  color: #45505b;
  transition: ease-in-out 0.3s;
}

.services .icon-box p {
  line-height: 24px;
  font-size: 14px;
  margin-bottom: 0;
}

.services .icon-box:hover {
  border-color: #fff;
  box-shadow: 0px 0 35px 0 rgba(0, 0, 0, 0.08);
}

.services .iconbox-blue i {
  color: #47aeff;
}

.services .iconbox-blue:hover .icon i {
  color: #fff;
}

.services .iconbox-blue:hover .icon path {
  fill: #47aeff;
}

.services .iconbox-orange i {
  color: #ffa76e;
}

.services .iconbox-orange:hover .icon i {
  color: #fff;
}

.services .iconbox-orange:hover .icon path {
  fill: #ffa76e;
}

.services .iconbox-pink i {
  color: #e80368;
}

.services .iconbox-pink:hover .icon i {
  color: #fff;
}

.services .iconbox-pink:hover .icon path {
  fill: #e80368;
}

.services .iconbox-yellow i {
  color: #ffbb2c;
}

.services .iconbox-yellow:hover .icon i {
  color: #fff;
}

.services .iconbox-yellow:hover .icon path {
  fill: #ffbb2c;
}

.services .iconbox-red i {
  color: #ff5828;
}

.services .iconbox-red:hover .icon i {
  color: #fff;
}

.services .iconbox-red:hover .icon path {
  fill: #ff5828;
}

.services .iconbox-teal i {
  color: #11dbcf;
}

.services .iconbox-teal:hover .icon i {
  color: #fff;
}

.services .iconbox-teal:hover .icon path {
  fill: #11dbcf;
}

/*--------------------------------------------------------------
# Testimonials
--------------------------------------------------------------*/
.testimonials .section-header {
  margin-bottom: 40px;
}

.testimonials .testimonials-carousel,
.testimonials .testimonials-slider {
  overflow: hidden;
}

.testimonials .testimonial-item {
  text-align: center;
}

.testimonials .testimonial-item .testimonial-img {
  width: 120px;
  border-radius: 50%;
  border: 4px solid #fff;
  margin: 0 auto;
}

.testimonials .testimonial-item h3 {
  font-size: 20px;
  font-weight: bold;
  margin: 10px 0 5px 0;
  color: #111;
}

.testimonials .testimonial-item h4 {
  font-size: 14px;
  color: #999;
  margin: 0 0 15px 0;
}

.testimonials .testimonial-item .quote-icon-left,
.testimonials .testimonial-item .quote-icon-right {
  color: #90c8fc;
  font-size: 26px;
}

.testimonials .testimonial-item .quote-icon-left {
  display: inline-block;
  left: -5px;
  position: relative;
}

.testimonials .testimonial-item .quote-icon-right {
  display: inline-block;
  right: -5px;
  position: relative;
  top: 10px;
}

.testimonials .testimonial-item p {
  font-style: italic;
  margin: 0 auto 15px auto;
}

.testimonials .swiper-pagination {
  margin-top: 20px;
  position: relative;
}

.testimonials .swiper-pagination .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background-color: #fff;
  opacity: 1;
  border: 1px solid #095228;
}

.testimonials .swiper-pagination .swiper-pagination-bullet-active {
  background-color: #095228;
}

@media (min-width: 992px) {
  .testimonials .testimonial-item p {
    width: 80%;
  }
}

/*--------------------------------------------------------------
# Contact
--------------------------------------------------------------*/
.contact .info {
  width: 100%;
  background: white;
  border-radius: 15px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.contact .info i {
  font-size: 20px;
  color: #0C6C3E;
  float: left;
  width: 44px;
  height: 44px;
  background: #f8f9fa;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50px;
  transition: all 0.3s ease-in-out;
}

.contact .info h4 {
  padding: 0 0 0 60px;
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 5px;
  color: #111111;
}

.contact .info p {
  padding: 0 0 0 60px;
  margin-bottom: 0;
  font-size: 14px;
  color: #2B2B2B;
}

.contact .info .email,
.contact .info .phone {
  margin-top: 40px;
}

.contact .info .email:hover i,
.contact .info .address:hover i,
.contact .info .phone:hover i {
  background: #0C6C3E;
  color: #FFFFFF;
}

.contact .php-email-form {
  width: 100%;
  background: white;
  border-radius: 15px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.contact .php-email-form .form-group {
  padding-bottom: 8px;
}

.contact .php-email-form .error-message {
  display: none;
  color: #fff;
  background: #ed3c0d;
  text-align: left;
  padding: 15px;
  font-weight: 600;
}

.contact .php-email-form .error-message br+br {
  margin-top: 25px;
}

.contact .php-email-form .sent-message {
  display: none;
  color: #fff;
  background: #18d26e;
  text-align: center;
  padding: 15px;
  font-weight: 600;
}

.contact .php-email-form .loading {
  display: none;
  background: #fff;
  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 #18d26e;
  border-top-color: #eee;
  animation: animate-loading 1s linear infinite;
}

.contact .php-email-form input,
.contact .php-email-form textarea {
  border-radius: 8px;
  box-shadow: none;
  font-size: 14px;
  border: 1px solid #e9ecef;
  padding: 12px 15px;
  transition: all 0.3s ease;
}

.contact .php-email-form input:focus,
.contact .php-email-form textarea:focus {
  border-color: #0C6C3E;
  box-shadow: 0 0 0 3px rgba(12, 108, 62, 0.1);
}

.contact .php-email-form button[type=submit] {
  background: #0C6C3E;
  border: 0;
  padding: 12px 35px;
  color: #FFFFFF;
  transition: 0.4s;
  border-radius: 50px;
  box-shadow: 0 5px 15px rgba(12, 108, 62, 0.2);
}

.contact .php-email-form button[type=submit]:hover {
  background: #1F7E56;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(12, 108, 62, 0.3);
}

@keyframes animate-loading {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
#footer {
  background: var(--white);
  color: #2B2B2B;
  font-size: 14px;
  text-align: center;
  padding: 40px 0;
  box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.05);
}

#footer h3 {
  font-size: 36px;
  font-weight: 700;
  position: relative;
  font-family: "Poppins", sans-serif;
  padding: 0;
  margin: 0 0 15px 0;
  color: #111111;
}

#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: 18px;
  display: inline-block;
  background: var(--white);
  color: var(--primary);
  line-height: 1;
  padding: 8px 0;
  margin-right: 4px;
  border-radius: 50%;
  text-align: center;
  width: 40px;
  height: 40px;
  transition: var(--transition);
  box-shadow: var(--shadow);
}

#footer .social-links a:hover {
  background: var(--gradient);
  color: var(--white);
  transform: translateY(-5px) rotate(360deg);
  box-shadow: var(--shadow-hover);
}

#footer .copyright {
  margin: 0 0 5px 0;
}

#footer .credits {
  font-size: 13px;
}

/* Animations */
[data-aos] {
  pointer-events: none;
  transition: all 0.8s ease;
}

[data-aos].aos-animate {
  pointer-events: auto;
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero-logo {
    max-width: 250px;
    margin: 30px auto;
  }

  .profile-img {
    max-width: 250px;
    margin: 0 auto 30px;
  }

  .section-title h2 {
    font-size: 2rem;
  }

  .section-title p {
    font-size: 1.1rem;
  }

  .portfolio-wrap:hover {
    transform: translateY(-10px) scale(1.01);
  }
}

/* Modal Mentions Légales */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-container {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.7);
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    max-width: 800px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal-overlay.active .modal-container {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -50%) scale(1);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #f0f0f0;
}

.modal-header h2 {
    font-size: 2rem;
    color: #0C6C3E;
    margin: 0;
    font-weight: 700;
}

.modal-close {
    background: none;
    border: none;
    font-size: 24px;
    color: #666;
    cursor: pointer;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.modal-close:hover {
    background: #f8f9fa;
    color: #0C6C3E;
    transform: rotate(90deg);
}

.modal-content {
    color: #2B2B2B;
    line-height: 1.8;
}

.modal-content h3 {
    color: #0C6C3E;
    font-size: 1.5rem;
    margin: 25px 0 15px;
}

.modal-content p {
    margin-bottom: 15px;
}

.modal-content ul {
    list-style: none;
    padding-left: 20px;
    margin-bottom: 20px;
}

.modal-content ul li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 10px;
}

.modal-content ul li::before {
    content: "•";
    color: #0C6C3E;
    position: absolute;
    left: 0;
    font-size: 1.2em;
}

@media (max-width: 768px) {
    .modal-container {
        padding: 20px;
        width: 95%;
    }

    .modal-header h2 {
        font-size: 1.5rem;
    }

    .modal-content h3 {
        font-size: 1.2rem;
    }
}

/* Scrollbar personnalisée */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--background);
}

::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-light);
}

/* Sélection de texte */
::selection {
    background: var(--primary);
    color: var(--white);
}

.price-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: var(--gradient);
  color: white;
  padding: 15px 35px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  margin: 20px 0;
  border: 2px solid transparent;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.price-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    120deg,
    transparent,
    rgba(255, 255, 255, 0.3),
    transparent
  );
  transition: all 0.6s ease;
}

.price-button:hover::before {
  left: 100%;
}

.price-button i {
  font-size: 20px;
  transition: all 0.4s ease;
}

.price-button:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
  border-color: var(--primary);
  letter-spacing: 0.5px;
}

.price-button:hover i {
  transform: translateY(-2px) rotate(360deg);
}

.price-button:active {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Animation de pulsation */
@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(12, 108, 62, 0.4);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(12, 108, 62, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(12, 108, 62, 0);
  }
}

.price-button {
  animation: pulse 2s infinite;
}