/* Fonts */
:root {
  --default-font: "Poppins", sans-serif;
  --heading-font: "Playfair Display", serif;
  --nav-font: "Poppins", sans-serif;
}

/* Global Colors - The following color variables are used throughout the website. Updating them here will change the color scheme of the entire website */
:root {
  --background-color: #ffffff; /* Background color for the entire website, including individual sections */
  --default-color: #2b180d; /* Default color used for the majority of the text content across the entire website */
  --heading-color: #1b2f45; /* Color for headings, subheadings and title throughout the website */
  --accent-color: #002060; /* Accent color that represents your brand on the website. It's used for buttons, links, and other elements that need to stand out */
  --surface-color: #ffffff; /* The surface color is used as a background of boxed elements within sections, such as cards, icon boxes, or other elements that require a visual separation from the global background. */
  --contrast-color: #ffffff; /* Contrast color for text, ensuring readability against backgrounds of accent, heading, or default colors. */
  --after-color: #ffc000;
  --primary: #2c3e50;
  --secondary: #3498db;
  --contact-primary: #002060;
  --contact-secondary: #6c63ff;
  --contact-accent: #ff6b6b;
  --contact-light: #f8f9fa;
  --contact-dark: #343a40;
  --sama-primary: #4608aa;
  --sama-primary-light: #4720a1;
  --sama-accent: #f59e0b;
  --sama-dark: #0f172a;
  --sama-light: #f8fafc;
  --sama-text: #1e293b;
  --sama-text-light: #64748b;
  --sama-partner-primary: #4608aa;
  --sama-partner-secondary: #0ea5e9;
  --sama-partner-accent: #f59e0b;
  --sama-partner-dark: #1e293b;
  --sama-partner-light: #f8fafc;
  --sama-partner-gray: #64748b;
  --primary-rgb: 99, 102, 241;
}

/* Nav Menu Colors - The following color variables are used specifically for the navigation menu. They are separate from the global colors to allow for more customization options */
:root {
  --nav-color: rgba(
    255,
    255,
    255,
    0.6
  ); /* The default color of the main navmenu links */
  --nav-hover-color: #ffffff; /* Applied to main navmenu links when they are hovered over or active */
  --nav-mobile-background-color: #ffffff; /* Used as the background color for mobile navigation menu */
  --nav-dropdown-background-color: #ffffff; /* Used as the background color for dropdown items that appear when hovering over primary navigation items */
  --nav-dropdown-color: #212529; /* Used for navigation links of the dropdown items in the navigation menu. */
  --nav-dropdown-hover-color: #002060; /* Similar to --nav-hover-color, this color is applied to dropdown navigation links when they are hovered over. */
}

/* Color Presets - These classes override global colors when applied to any section or element, providing reuse of the sam color scheme. */

.light-background {
  --background-color: #f6fcfe;
  --surface-color: #ffffff;
}

.dark-background {
  --background-color: #17283b;
  --default-color: #ffffff;
  --heading-color: #ffffff;
  --surface-color: #254160;
  --contrast-color: #ffffff;
}

/* Smooth scroll */
:root {
  scroll-behavior: smooth;
}

/*--------------------------------------------------------------
# General Styling & Shared Classes
--------------------------------------------------------------*/
body {
  color: var(--default-color);
  background-color: var(--background-color);
  font-family: var(--default-font);
}

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

a:hover {
  color: color-mix(in srgb, var(--accent-color), transparent 25%);
  text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--heading-color);
  font-family: var(--heading-font);
}

/*----/* Header - Classes spécifiques */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 25px 0;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  background: transparent;
}

.site-header.scrolled {
  background: rgba(26, 26, 46, 0.65);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 15px 0;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
/* Container */
.header-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo */
.site-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  transition: transform 0.3s ease;
}

.site-logo:hover {
  transform: scale(1.05);
}

.logo-image {
  height: 40px;
  width: auto;
  margin-right: 12px;
}

.site-name {
  font-size: 2rem;
  font-weight: 800;
  background: linear-gradient(135deg, #ffffff 0%, #6c63ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin: 0;
  letter-spacing: 0.5px;
}

.site-header.scrolled .site-name {
  background: linear-gradient(135deg, #6c63ff 0%, #ffd700 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Navigation */
.site-navigation {
  display: flex;
  align-items: center;
}

.nav-menu {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 5px;
}

.nav-item {
  position: relative;
}

.nav-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 15px 20px;
  text-decoration: none;
  color: white;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 15px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.nav-link::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: linear-gradient(
    135deg,
    rgba(108, 99, 255, 0.2),
    rgba(255, 242, 101, 0.2)
  );
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: all 0.4s ease;
  z-index: -1;
}

.nav-link:hover::before {
  width: 120%;
  height: 120%;
  border-radius: 15px;
}

.nav-link.active {
  background: linear-gradient(
    135deg,
    rgba(108, 99, 255, 0.2),
    rgba(255, 242, 101, 0.2)
  );
  backdrop-filter: blur(10px);
}

.nav-link:hover {
  color: white;
  transform: translateY(-2px);
}

.nav-link span {
  font-size: 0.8rem;
  opacity: 0.7;
  margin-top: 4px;
}

/* Indicateur de page active */
.nav-link.active::after {
  content: "";
  position: absolute;
  bottom: 5px;
  left: 50%;
  transform: translateX(-50%);
  width: 6px;
  height: 6px;
  background: linear-gradient(135deg, #6c63ff, #ffd700);
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(108, 99, 255, 0.8);
  animation: navIndicatorPulse 2s ease-in-out infinite;
}

@keyframes navIndicatorPulse {
  0%,
  100% {
    transform: translateX(-50%) scale(1);
    opacity: 1;
  }
  50% {
    transform: translateX(-50%) scale(1.5);
    opacity: 0.7;
  }
}
/* Mobile Navigation Toggle - Correction */
.mobile-nav-toggle {
  display: none;
  background: transparent;
  border: none;
  color: white;
  font-size: 1.8rem;
  cursor: pointer;
  padding: 10px;
  border-radius: 10px;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  z-index: 1002;
}

.mobile-nav-toggle:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: rotate(90deg);
}

/* Mobile Menu */
@media (max-width: 1199px) {
  .mobile-nav-toggle {
    display: block;
  }

  .site-navigation {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background: rgba(26, 26, 46, 0.98);
    backdrop-filter: blur(20px);
    padding: 80px 30px 30px;
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.3);
    border-left: 1px solid rgba(255, 255, 255, 0.1);
  }

  .site-navigation.active {
    right: 0;
  }

  .nav-menu {
    flex-direction: column;
    gap: 10px;
  }

  .nav-link {
    padding: 20px;
    border-radius: 12px;
    text-align: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
  }

  .nav-link.active {
    background: linear-gradient(
      135deg,
      rgba(108, 99, 255, 0.3),
      rgba(255, 242, 101, 0.3)
    );
  }

  .nav-link:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(5px);
  }

  .nav-link.active::after {
    left: 15px;
    transform: translateY(-50%);
    top: 50%;
  }
}

/* Animation d'apparition des éléments de navigation */
@keyframes navItemFadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.nav-item {
  animation: navItemFadeIn 0.4s ease-out forwards;
  opacity: 0;
}

.nav-item:nth-child(1) {
  animation-delay: 0.1s;
}
.nav-item:nth-child(2) {
  animation-delay: 0.2s;
}
.nav-item:nth-child(3) {
  animation-delay: 0.3s;
}
.nav-item:nth-child(4) {
  animation-delay: 0.4s;
}
.nav-item:nth-child(5) {
  animation-delay: 0.5s;
}
.nav-item:nth-child(6) {
  animation-delay: 0.6s;
}

/* Responsive */
@media (max-width: 768px) {
  .site-header {
    padding: 15px 0;
  }

  .site-header.scrolled {
    padding: 10px 0;
  }

  .logo-image {
    height: 35px;
  }

  .site-name {
    font-size: 1.8rem;
  }

  .mobile-nav-toggle {
    font-size: 1.6rem;
  }
}

@media (max-width: 576px) {
  .header-container {
    padding: 0 15px;
  }

  .site-navigation {
    width: 100%;
  }

  .logo-image {
    height: 30px;
  }

  .site-name {
    font-size: 1.6rem;
  }
}

/* Overlay pour mobile */
.mobile-nav-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(5px);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.mobile-nav-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* Mobile Menu - CORRECTION IMPORTANTE */
@media (max-width: 1199px) {
  .mobile-nav-toggle {
    display: block;
  }

  .site-navigation {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background: rgba(26, 26, 46, 0.43);
    backdrop-filter: blur(30px); /* Augmenté pour mieux voir */
    -webkit-backdrop-filter: blur(30px);
    padding: 100px 30px 30px;
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.3);
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 1001; /* Au dessus du header */
  }
}

/*--------------------------------------------------------------
# Global Footer
--------------------------------------------------------------*/
.footer {
  color: var(--default-color);
  background-color: var(--background-color);
  font-size: 14px;
  position: relative;
}

.footer .footer-top {
  padding-top: 50px;
}

.footer .footer-about .logo {
  line-height: 1;
  margin-bottom: 25px;
}

.footer .footer-about .logo img {
  max-height: 40px;
  margin-right: 6px;
}

.footer .footer-about .logo span {
  color: var(--heading-color);
  font-size: 30px;
  font-weight: 700;
  letter-spacing: 1px;
  font-family: var(--heading-font);
}

.footer .footer-about p {
  font-size: 14px;
  font-family: var(--heading-font);
}

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

.footer .social-links a:hover {
  color: var(--contrast-color);
  background-color: color-mix(in srgb, var(--accent-color) 90%, black 15%);
}

.footer h4 {
  font-size: 16px;
  font-weight: bold;
  position: relative;
  padding-bottom: 12px;
}

.footer .footer-links {
  margin-bottom: 30px;
}

.footer .footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer .footer-links ul i {
  padding-right: 2px;
  font-size: 12px;
  line-height: 0;
}

.footer .footer-links ul li {
  padding: 10px 0;
  display: flex;
  align-items: center;
}

.footer .footer-links ul li:first-child {
  padding-top: 0;
}

.footer .footer-links ul a {
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  display: inline-block;
  line-height: 1;
}

.footer .footer-links ul a:hover {
  color: var(--accent-color);
}

.footer .footer-contact p {
  margin-bottom: 5px;
}

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

.footer .copyright p {
  margin-bottom: 0;
}

.footer .credits {
  margin-top: 5px;
  font-size: 13px;
}
/* Stats Section */
/* Styles pour la section Stats */
.stats {
  padding: 100px 0;
  background-color: var(--surface-color);
}

.section-header {
  margin-bottom: 60px;
}

.section-subtitle {
  display: inline-block;
  color: var(--accent-color);
  font-size: 16px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 15px;
  position: relative;
}

.section-subtitle::after {
  content: "";
  position: absolute;
  width: 40px;
  height: 2px;
  background: var(--accent-color);
  left: 50%;
  bottom: -8px;
  transform: translateX(-50%);
}

.section-title {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--heading-color);
}

.section-description {
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  max-width: 700px;
  margin: 0 auto;
}

/* Responsive */
@media (max-width: 768px) {
  .stats {
    padding: 60px 0;
  }

  .section-title {
    font-size: 28px;
  }
}
/* WhatsApp Float Button */
.whatsapp-float {
  position: fixed;
  bottom: 60px;
  right: 20px;
  background-color: #25d366;
  color: white;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  text-align: center;
  font-size: 30px;
  box-shadow: 0 5px 15px rgba(37, 211, 102, 0.3);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.whatsapp-float:hover {
  background-color: #128c7e;
  color: white;
  transform: scale(1.1);
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
}

.whatsapp-text {
  display: none;
  margin-left: 10px;
  font-size: 16px;
  font-weight: 500;
}

.whatsapp-float:hover .whatsapp-text {
  display: inline-block;
}

.whatsapp-float:hover {
  width: auto;
  padding: 0 25px;
  border-radius: 30px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .stats-item {
    padding: 20px 15px;
  }

  .stats-item span {
    font-size: 36px;
  }

  .process-step {
    padding: 20px 15px;
  }

  .whatsapp-float {
    width: 50px;
    height: 50px;
    font-size: 24px;
    bottom: 20px;
    right: 20px;
  }
}
/*--------------------------------------------------------------
# Preloader
--------------------------------------------------------------*/
#preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  overflow: hidden;
  background-color: var(--background-color);
  transition: all 0.6s ease-out;
}

#preloader:before {
  content: "";
  position: fixed;
  top: calc(50% - 30px);
  left: calc(50% - 30px);
  border: 6px solid var(--accent-color);
  border-top-color: color-mix(in srgb, var(--accent-color), transparent 90%);
  border-radius: 50%;
  width: 60px;
  height: 60px;
  animation: animate-preloader 1s linear infinite;
}

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

  100% {
    transform: rotate(360deg);
  }
}
.counter {
  font-size: 48px;
  font-weight: 700;
  color: var(--accent-color);
  display: block;
  margin-bottom: 10px;
}

/* Animation du compteur */
@keyframes counterPulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}

.counter.animated {
  animation: counterPulse 0.5s ease;
}

/*--------------------------------------------------------------
# Scroll Top Button
--------------------------------------------------------------*/
.scroll-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 15px;
  bottom: 15px;
  z-index: 99999;
  background-color: var(--accent-color);
  width: 40px;
  height: 40px;
  border-radius: 4px;
  transition: all 0.4s;
}

.scroll-top i {
  font-size: 24px;
  color: var(--contrast-color);
  line-height: 0;
}

.scroll-top:hover {
  background-color: color-mix(in srgb, var(--accent-color), transparent 20%);
  color: var(--contrast-color);
}

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

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

/*--------------------------------------------------------------
# Global Page Titles & Breadcrumbs
--------------------------------------------------------------*/
.page-title {
  color: var(--default-color);
  background-color: var(--background-color);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 160px 0 60px 0;
  text-align: center;
  position: relative;
}

.page-title:before {
  content: "";
  background-color: color-mix(
    in srgb,
    var(--background-color),
    transparent 40%
  );
  position: absolute;
  inset: 0;
}

.page-title .container {
  position: relative;
}

.page-title h1 {
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 10px;
}

.page-title .breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  justify-content: center;
  padding: 0;
  margin: 0;
  font-size: 16px;
  font-weight: 400;
}

.page-title .breadcrumbs ol li + li {
  padding-left: 10px;
}

.page-title .breadcrumbs ol li + li::before {
  content: "/";
  display: inline-block;
  padding-right: 10px;
  color: color-mix(in srgb, var(--default-color), transparent 70%);
}
.breadcrumbs a {
  color: var(--after-color);
}

/*--------------------------------------------------------------
# Global Sections
--------------------------------------------------------------*/
section,
.section {
  color: var(--default-color);
  padding: 60px 0;
  scroll-margin-top: 100px;
  overflow: clip;
}

@media (max-width: 1199px) {
  section,
  .section {
    scroll-margin-top: 66px;
  }
}

/*--------------------------------------------------------------
# Global Section Titles
--------------------------------------------------------------*/
.section-title {
  text-align: center;
  padding-bottom: 60px;
  position: relative;
}

.section-title h2 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 20px;
  padding-bottom: 20px;
  position: relative;
}

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

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

/* Hero Section - Classes spécifiques */
.hero-section {
  width: 100%;
  min-height: 100vh;
  position: relative;
  padding: 120px 0 60px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

/* Slider Background */
.hero-slider-wrapper {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
}

.hero-slider-track {
  display: flex;
  width: 300%;
  height: 100%;
  animation: heroSliderAnimation 18s infinite;
}

.hero-slider-slide {
  flex: 1;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  transform: scale(1);
  transition: transform 8s ease-in-out;
}

.hero-slider-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(3, 3, 7, 0.85) 0%,
    rgba(61, 51, 254, 0.508) 100%
  );
  z-index: 2;
}

@keyframes heroSliderAnimation {
  0%,
  25% {
    transform: translateX(0);
  }
  33.33%,
  58.33% {
    transform: translateX(-33.33%);
  }
  66.66%,
  91.66% {
    transform: translateX(-66.66%);
  }
  100% {
    transform: translateX(0);
  }
}

/* Contenu du Hero */
.hero-content-container {
  z-index: 3;
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.hero-content-wrapper {
  max-width: 650px;
}

.hero-main-title {
  margin: 0;
  font-size: 4rem;
  font-weight: 800;
  line-height: 1.2;
  color: white;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  margin-bottom: 25px;
  position: relative;
}

.hero-main-title::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #6c63ff, #ffd700);
  border-radius: 2px;
}

.hero-subtitle-container {
  margin-bottom: 40px;
}

.hero-subtitle {
  font-size: 1.4rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.9);
  text-shadow: 0 1px 5px rgba(0, 0, 0, 0.2);
  max-width: 600px;
}

/* Boutons Hero */
.hero-actions-container {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
}

.hero-primary-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, #6c63ff, #ffd700);
  color: white;
  padding: 16px 38px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.5px;
  text-decoration: none;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 10px 30px rgba(108, 99, 255, 0.3);
  position: relative;
  overflow: hidden;
}

.hero-primary-button::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.4),
    transparent
  );
  transition: left 0.6s ease;
}

.hero-primary-button:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 20px 40px rgba(108, 99, 255, 0.4);
}

.hero-primary-button:hover::before {
  left: 100%;
}

.hero-video-button {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: white;
  padding: 16px 30px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  transition: all 0.3s ease;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-video-button i {
  font-size: 2rem;
  color: #6c63ff;
  transition: all 0.3s ease;
}

.hero-video-button:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(108, 99, 255, 0.5);
  transform: translateY(-3px);
}

.hero-video-button:hover i {
  color: #ffd700;
  transform: scale(1.1);
}

/* Stats Hero (optionnel) */
.hero-stats-container {
  margin-top: 60px;
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  padding-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-stat-item {
  text-align: center;
}

.hero-stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: #6c63ff;
  display: block;
  margin-bottom: 8px;
}

.hero-stat-label {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 500;
}

/* Scroll indicator */
.hero-scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  color: rgba(255, 255, 255, 0.7);
  animation: scrollIndicatorBounce 2s infinite;
}

@keyframes scrollIndicatorBounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateX(-50%) translateY(0);
  }
  40% {
    transform: translateX(-50%) translateY(-10px);
  }
  60% {
    transform: translateX(-50%) translateY(-5px);
  }
}

.hero-scroll-text {
  font-size: 0.9rem;
  margin-bottom: 10px;
}

.hero-scroll-icon {
  font-size: 1.5rem;
  display: block;
}

/* Responsive */
@media (max-width: 1200px) {
  .hero-main-title {
    font-size: 3.5rem;
  }
}

@media (max-width: 992px) {
  .hero-section {
    min-height: 90vh;
    padding: 100px 0 40px;
  }

  .hero-main-title {
    font-size: 3rem;
  }

  .hero-subtitle {
    font-size: 1.2rem;
  }
}

@media (max-width: 768px) {
  .hero-section {
    min-height: 80vh;
    padding: 80px 0 30px;
  }

  .hero-main-title {
    font-size: 2.5rem;
  }

  .hero-subtitle {
    font-size: 1.1rem;
  }

  .hero-actions-container {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-video-button {
    padding: 14px 25px;
  }

  .hero-stats-container {
    gap: 30px;
  }

  .hero-stat-number {
    font-size: 2rem;
  }
}

@media (max-width: 576px) {
  .hero-section {
    min-height: 70vh;
  }

  .hero-main-title {
    font-size: 2rem;
  }

  .hero-primary-button,
  .hero-video-button {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  .hero-slider-track {
    animation-duration: 24s;
  }
}

/* Animation d'apparition */
@keyframes heroFadeIn {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-main-title,
.hero-subtitle-container,
.hero-actions-container {
  animation: heroFadeIn 0.8s ease-out forwards;
  opacity: 0;
}

.hero-subtitle-container {
  animation-delay: 0.2s;
}

.hero-actions-container {
  animation-delay: 0.4s;
}

/* Effet de particules (optionnel) */
.hero-particles {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 2;
  pointer-events: none;
}

.hero-particle {
  position: absolute;
  width: 3px;
  height: 3px;
  background: rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  animation: heroParticleFloat 15s infinite linear;
}

@keyframes heroParticleFloat {
  0% {
    transform: translateY(0) rotate(0deg);
    opacity: 0;
  }
  10% {
    opacity: 0.8;
  }
  90% {
    opacity: 0.8;
  }
  100% {
    transform: translateY(-1000px) rotate(720deg);
    opacity: 0;
  }
}

/*--------------------------------------------------------------
# Services Section
--------------------------------------------------------------*/

/* Services Cards Section - Classes spécifiques */
.services-cards-section {
  background: linear-gradient(135deg, #0f0c29 0%, #302b63 50%, #24243e 100%);
  padding: 140px 0;
  position: relative;
  overflow: hidden;
}

.services-cards-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 2;
}

/* Titre de section */
.services-cards-header {
  text-align: center;
  margin-bottom: 80px;
}

.services-cards-title {
  font-size: 3.5rem;
  font-weight: 800;
  background: linear-gradient(135deg, #ffffff 0%, #6c63ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 20px;
  position: relative;
  display: inline-block;
}

.services-cards-title::after {
  content: "";
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 5px;
  background: linear-gradient(90deg, #6c63ff, #ffd700);
  border-radius: 3px;
}

.services-cards-subtitle {
  font-size: 1.3rem;
  color: #a0aec0;
  max-width: 700px;
  margin: 40px auto 0;
  line-height: 1.8;
}

/* Grille des services */
.services-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
  margin-top: 60px;
}

@media (max-width: 768px) {
  .services-cards-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
  }
}

/* Carte de service */
.service-card-item {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(20px);
  border-radius: 25px;
  padding: 40px;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  height: 100%;
}

.service-card-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #6c63ff, #ffd700);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s ease;
}

.service-card-item:hover {
  transform: translateY(-20px);
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(108, 99, 255, 0.5);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3), 0 0 0 2px rgba(108, 99, 255, 0.2),
    inset 0 0 40px rgba(108, 99, 255, 0.1);
}

.service-card-item:hover::before {
  transform: scaleX(1);
}

/* Wrapper icône */
.service-icon-container {
  position: relative;
  width: 80px;
  height: 80px;
  margin-bottom: 30px;
}

.icon-background-circle {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 20px;
  opacity: 0.2;
  transition: all 0.5s ease;
}

.service-card-item:hover .icon-background-circle {
  opacity: 0.3;
  transform: scale(1.1);
}

.icon-foreground {
  position: relative;
  width: 70px;
  height: 70px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin: 5px auto 0;
  border: 2px solid rgba(255, 255, 255, 0.2);
  transition: all 0.5s ease;
  z-index: 2;
}

.service-card-item:hover .icon-foreground {
  background: rgba(255, 255, 255, 0.2);
  transform: scale(1.1) rotate(5deg);
  border-color: rgba(108, 99, 255, 0.5);
}

/* Contenu du service */
.service-card-content {
  margin-bottom: 30px;
}

.service-card-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 15px;
  background: linear-gradient(135deg, #ffffff 0%, #a5b4fc 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  transition: all 0.5s ease;
}

.service-card-item:hover .service-card-title {
  background: linear-gradient(135deg, #6c63ff 0%, #ffd700 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.service-card-description {
  color: #a0aec0;
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 0;
  transition: all 0.5s ease;
}

.service-card-item:hover .service-card-description {
  color: #ffffff;
}

/* Footer du service */
.service-card-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 25px;
  margin-top: auto;
}

.readmore-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #6c63ff;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.4s ease;
}

.readmore-link span {
  font-size: 1rem;
  transition: all 0.4s ease;
}

.readmore-link i {
  font-size: 1.2rem;
  transition: all 0.4s ease;
}

.service-card-item:hover .readmore-link {
  color: #ffd700;
}

.service-card-item:hover .readmore-link i {
  transform: translateX(5px);
}

/* Effet de hover */
.service-hover-effect {
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    to right,
    transparent 20%,
    rgba(255, 255, 255, 0.1) 50%,
    transparent 80%
  );
  transform: rotate(30deg);
  transition: transform 0.8s ease;
  z-index: 1;
  pointer-events: none;
}

.service-card-item:hover .service-hover-effect {
  transform: rotate(30deg) translateX(100%);
}

/* Animation d'apparition */
@keyframes serviceCardReveal {
  from {
    opacity: 0;
    transform: translateY(50px) scale(0.9);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.service-card-item {
  animation: serviceCardReveal 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
  opacity: 0;
}

.service-card-item:nth-child(1) {
  animation-delay: 0.1s;
}
.service-card-item:nth-child(2) {
  animation-delay: 0.2s;
}
.service-card-item:nth-child(3) {
  animation-delay: 0.3s;
}
.service-card-item:nth-child(4) {
  animation-delay: 0.4s;
}
.service-card-item:nth-child(5) {
  animation-delay: 0.5s;
}
.service-card-item:nth-child(6) {
  animation-delay: 0.6s;
}

/* Système orbital (arrière-plan) */
.orbital-system-bg {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 1;
  pointer-events: none;
}

.orbital-sun {
  position: absolute;
  width: 100px;
  height: 100px;
  background: radial-gradient(circle, #ffd700, #6c63ff);
  border-radius: 50%;
  top: 20%;
  left: 10%;
  filter: blur(15px);
  opacity: 0.3;
  animation: sunPulse 4s ease-in-out infinite;
}

@keyframes sunPulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.3;
  }
  50% {
    transform: scale(1.1);
    opacity: 0.4;
  }
}

.orbital-path {
  position: absolute;
  border: 1px solid rgba(108, 99, 255, 0.1);
  border-radius: 50%;
}

.orbital-path-1 {
  width: 300px;
  height: 300px;
  top: 10%;
  left: 5%;
  animation: orbitRotate 20s linear infinite;
}

.orbital-path-2 {
  width: 450px;
  height: 450px;
  top: 5%;
  right: 10%;
  animation: orbitRotate 25s linear infinite reverse;
}

.orbital-path-3 {
  width: 600px;
  height: 600px;
  bottom: 10%;
  right: 5%;
  animation: orbitRotate 30s linear infinite;
}

@keyframes orbitRotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.orbital-planet {
  position: absolute;
  border-radius: 50%;
}

.orbital-planet-1 {
  width: 20px;
  height: 20px;
  background: linear-gradient(135deg, #6c63ff, #ffd700);
  top: 10%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.orbital-planet-2 {
  width: 15px;
  height: 15px;
  background: linear-gradient(135deg, #ffd700, #6c63ff);
  top: 50%;
  right: 10%;
  transform: translateY(-50%);
}

.orbital-planet-3 {
  width: 25px;
  height: 25px;
  background: linear-gradient(135deg, #6c63ff, #a5b4fc);
  bottom: 20%;
  left: 20%;
}

.orbital-planet-4 {
  width: 18px;
  height: 18px;
  background: linear-gradient(135deg, #ffd700, #a5b4fc);
  bottom: 30%;
  right: 25%;
}

/* Anneaux concentriques */
.concentric-rings-bg {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 1;
  pointer-events: none;
}

.concentric-ring {
  position: absolute;
  border: 1px solid rgba(108, 99, 255, 0.05);
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.concentric-ring:nth-child(1) {
  width: 500px;
  height: 500px;
  animation: ringPulse 8s ease-in-out infinite;
}

.concentric-ring:nth-child(2) {
  width: 800px;
  height: 800px;
  animation: ringPulse 10s ease-in-out infinite reverse;
}

.concentric-ring:nth-child(3) {
  width: 1100px;
  height: 1100px;
  animation: ringPulse 12s ease-in-out infinite;
}

@keyframes ringPulse {
  0%,
  100% {
    opacity: 0.05;
    transform: translate(-50%, -50%) scale(1);
  }
  50% {
    opacity: 0.1;
    transform: translate(-50%, -50%) scale(1.05);
  }
}

/* Responsive */
@media (max-width: 1200px) {
  .services-cards-title {
    font-size: 3rem;
  }

  .services-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 992px) {
  .services-cards-section {
    padding: 100px 0;
  }

  .services-cards-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
  }

  .orbital-sun,
  .orbital-path,
  .concentric-ring {
    display: none;
  }
}

@media (max-width: 768px) {
  .services-cards-title {
    font-size: 2.5rem;
  }

  .services-cards-subtitle {
    font-size: 1.1rem;
    padding: 0 20px;
  }

  .service-card-item {
    padding: 30px;
  }

  .service-icon-container {
    width: 70px;
    height: 70px;
  }

  .icon-foreground {
    width: 60px;
    height: 60px;
    font-size: 1.8rem;
  }
}

/* Call To Action Section - Classes spécifiques */
.cta-section {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
}

.cta-background {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.cta-background-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
  filter: brightness(0.6) contrast(1.2);
  transform: scale(1.1);
  transition: transform 10s ease-in-out;
}

.cta-section:hover .cta-background-img {
  transform: scale(1.15);
}

.cta-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(108, 99, 255, 0.9) 0%,
    rgba(255, 242, 101, 0.7) 100%
  );
  z-index: 2;
}

.cta-container {
  position: relative;
  z-index: 3;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Contenu CTA */
.cta-content-wrapper {
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.cta-title {
  font-size: 3.2rem;
  font-weight: 800;
  color: white;
  margin-bottom: 25px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  position: relative;
  display: inline-block;
}

.cta-title::after {
  content: "";
  position: absolute;
  bottom: -12px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: white;
  border-radius: 2px;
  opacity: 0.8;
}

.cta-description {
  font-size: 1.3rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 45px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  text-shadow: 0 1px 5px rgba(0, 0, 0, 0.2);
}

/* Bouton CTA */
.cta-button-container {
  margin-top: 40px;
}

.cta-primary-button {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: white;
  color: #6c63ff;
  padding: 18px 45px;
  border-radius: 50px;
  font-weight: 800;
  font-size: 1.1rem;
  text-decoration: none;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
  position: relative;
  overflow: hidden;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.cta-primary-button::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.6),
    transparent
  );
  transition: left 0.6s ease;
}

.cta-primary-button:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
  color: #ffd700;
}

.cta-primary-button:hover::before {
  left: 100%;
}

.cta-primary-button i {
  font-size: 1.3rem;
  transition: transform 0.3s ease;
}

.cta-primary-button:hover i {
  transform: translateX(5px);
}

/* Statistiques CTA (optionnel) */
.cta-stats-container {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 40px;
  margin-top: 60px;
  padding-top: 60px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.cta-stat-item {
  text-align: center;
  min-width: 150px;
}

.cta-stat-number {
  font-size: 2.8rem;
  font-weight: 800;
  color: white;
  display: block;
  margin-bottom: 10px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.cta-stat-label {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 500;
}

/* Animation d'apparition */
@keyframes ctaFadeIn {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.cta-title,
.cta-description,
.cta-button-container {
  animation: ctaFadeIn 0.8s ease-out forwards;
  opacity: 0;
}

.cta-description {
  animation-delay: 0.2s;
}

.cta-button-container {
  animation-delay: 0.4s;
}

/* Effet de particules */
.cta-particles {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 2;
  pointer-events: none;
}

.cta-particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: rgba(255, 255, 255, 0.6);
  border-radius: 50%;
  animation: ctaParticleFloat 20s infinite linear;
}

@keyframes ctaParticleFloat {
  0% {
    transform: translateY(0) rotate(0deg);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    transform: translateY(-1000px) rotate(720deg);
    opacity: 0;
  }
}

/* Responsive */
@media (max-width: 1200px) {
  .cta-section {
    padding: 120px 0;
  }

  .cta-title {
    font-size: 2.8rem;
  }
}

@media (max-width: 992px) {
  .cta-title {
    font-size: 2.4rem;
  }

  .cta-description {
    font-size: 1.2rem;
    padding: 0 20px;
  }

  .cta-stats-container {
    gap: 30px;
  }

  .cta-stat-item {
    min-width: 120px;
  }
}

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

  .cta-title {
    font-size: 2rem;
  }

  .cta-description {
    font-size: 1.1rem;
  }

  .cta-primary-button {
    padding: 16px 35px;
    font-size: 1rem;
  }

  .cta-stats-container {
    flex-direction: column;
    gap: 25px;
    align-items: center;
  }

  .cta-stat-number {
    font-size: 2.2rem;
  }
}

@media (max-width: 576px) {
  .cta-section {
    padding: 80px 0;
  }

  .cta-title {
    font-size: 1.8rem;
  }

  .cta-primary-button {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  .cta-stat-item {
    min-width: 100px;
  }
}

/* Animation de pulse pour le bouton */
@keyframes ctaButtonPulse {
  0% {
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
  }
  50% {
    box-shadow: 0 15px 35px rgba(108, 99, 255, 0.4);
  }
  100% {
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
  }
}

.cta-primary-button {
  animation: ctaButtonPulse 3s infinite;
}
/* Features Section - Stylisation moderne et innovante */
.features-section {
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  position: relative;
  overflow: hidden;
}

.features-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(
      circle at 10% 20%,
      rgba(108, 99, 255, 0.05) 0%,
      transparent 40%
    ),
    radial-gradient(
      circle at 90% 80%,
      rgba(255, 242, 101, 0.05) 0%,
      transparent 40%
    );
  z-index: 1;
}

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

/* Titres de section */
.features-header {
  margin-bottom: 60px;
}

.features-header h3 {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.2;
  background: linear-gradient(135deg, #1a202c 0%, #6c63ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  position: relative;
  margin-bottom: 30px;
}

.features-header h3:first-child {
  color: #4a5568;
  font-weight: 600;
}

.features-header h3:last-child {
  margin-top: -10px;
}

/* Grille des fonctionnalités */
.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  margin-top: 40px;
}

@media (max-width: 768px) {
  .features-grid {
    grid-template-columns: 1fr;
  }
}

/* Carte de fonctionnalité */
.feature-card {
  background: white;
  border-radius: 20px;
  padding: 30px;
  display: flex;
  align-items: flex-start;
  gap: 20px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid #e2e8f0;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #6c63ff, #ffd700);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.feature-card:hover {
  transform: translateY(-10px);
  border-color: #c3cfe2;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.feature-card:hover::before {
  transform: scaleX(1);
}

/* Icône animée */
.feature-icon {
  position: relative;
  width: 60px;
  height: 60px;
  min-width: 60px;
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  transition: all 0.4s ease;
  background: rgba(255, 255, 255, 0.9);
  border: 2px solid;
}

.feature-card:hover .feature-icon {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

/* Couleurs spécifiques pour chaque icône */
.feature-icon[data-icon="lightning"] {
  color: #ff8b2c;
  border-color: rgba(255, 139, 44, 0.3);
  background: rgba(255, 139, 44, 0.1);
}

.feature-icon[data-icon="shield"] {
  color: #5578ff;
  border-color: rgba(85, 120, 255, 0.3);
  background: rgba(85, 120, 255, 0.1);
}

.feature-icon[data-icon="chart"] {
  color: #e80368;
  border-color: rgba(232, 3, 104, 0.3);
  background: rgba(232, 3, 104, 0.1);
}

.feature-icon[data-icon="people"] {
  color: #ffa76e;
  border-color: rgba(255, 167, 110, 0.3);
  background: rgba(255, 167, 110, 0.1);
}

.feature-icon[data-icon="globe"] {
  color: #11dbcf;
  border-color: rgba(17, 219, 207, 0.3);
  background: rgba(17, 219, 207, 0.1);
}

.feature-icon[data-icon="graph"] {
  color: #4233ff;
  border-color: rgba(66, 51, 255, 0.3);
  background: rgba(66, 51, 255, 0.1);
}

.feature-icon[data-icon="laptop"] {
  color: #29cc61;
  border-color: rgba(41, 204, 97, 0.3);
  background: rgba(41, 204, 97, 0.1);
}

.feature-icon[data-icon="code"] {
  color: #ff5828;
  border-color: rgba(255, 88, 40, 0.3);
  background: rgba(255, 88, 40, 0.1);
}

/* Contenu de la fonctionnalité */
.feature-content {
  flex: 1;
}

.feature-title {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: #1a202c;
  line-height: 1.4;
}

.feature-description {
  color: #4a5568;
  font-size: 0.95rem;
  line-height: 1.6;
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transition: all 0.4s ease;
}

.feature-card:hover .feature-description {
  opacity: 1;
  max-height: 100px;
  margin-top: 10px;
}

/* Section téléphone */
.phone-display {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.phone-container {
  position: relative;
  width: 300px;
  height: 600px;
  margin: 0 auto;
}

.phone-frame {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #1a202c, #2d3748);
  border-radius: 40px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.2),
    inset 0 0 0 10px rgba(255, 255, 255, 0.1), inset 0 0 30px rgba(0, 0, 0, 0.3);
  z-index: 1;
}

.phone-screen {
  position: absolute;
  top: 20px;
  left: 20px;
  right: 20px;
  bottom: 20px;
  border-radius: 30px;
  overflow: hidden;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
}

.phone-screen::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    45deg,
    transparent 0%,
    rgba(255, 255, 255, 0.1) 50%,
    transparent 100%
  );
  animation: screenShine 3s ease-in-out infinite;
}

@keyframes screenShine {
  0%,
  100% {
    transform: translateX(-100%);
  }
  50% {
    transform: translateX(100%);
  }
}

.screen-content {
  text-align: center;
  color: white;
  padding: 40px;
  z-index: 3;
}

.screen-content h4 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 15px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.screen-content p {
  font-size: 0.9rem;
  opacity: 0.9;
  margin-bottom: 20px;
}

.app-button {
  display: inline-block;
  background: white;
  color: #6c63ff;
  padding: 10px 25px;
  border-radius: 25px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.app-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

/* Section détails */
.features-details {
  margin-top: 100px;
  padding: 50px 0;
  background: linear-gradient(
    135deg,
    var(--sama-partner-primary),
    var(--sama-partner-secondary)
  );
  position: relative;
  overflow: hidden;
}

.features-details::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(
      circle at 30% 30%,
      rgba(255, 255, 255, 0.1) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 70% 70%,
      rgba(255, 255, 255, 0.05) 0%,
      transparent 50%
    );
  z-index: 1;
}

.features-details .container {
  position: relative;
  z-index: 2;
}

.vision-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  border-radius: 30px;
  padding: 50px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  max-width: 600px;
  position: relative;
  overflow: hidden;
}

.vision-card::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    to right,
    transparent 20%,
    rgba(255, 255, 255, 0.1) 50%,
    transparent 80%
  );
  transform: rotate(30deg);
  animation: cardShine 6s linear infinite;
}

@keyframes cardShine {
  0% {
    transform: rotate(30deg) translateX(-100%);
  }
  100% {
    transform: rotate(30deg) translateX(100%);
  }
}

.vision-card h4 {
  font-size: 2.2rem;
  font-weight: 800;
  color: white;
  margin-bottom: 25px;
  line-height: 1.3;
}

.vision-card p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 30px;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: white;
  color: #6c63ff;
  padding: 15px 35px;
  border-radius: 50px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  position: relative;
  overflow: hidden;
}

.cta-button::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.4),
    transparent
  );
  transition: left 0.6s ease;
}

.cta-button:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.cta-button:hover::before {
  left: 100%;
}

.cta-button i {
  font-size: 1.2rem;
  transition: transform 0.3s ease;
}

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

/* Animation des cartes */
@keyframes slideInFromLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.feature-card {
  animation: slideInFromLeft 0.6s ease-out forwards;
  opacity: 0;
}

.feature-card:nth-child(1) {
  animation-delay: 0.1s;
}
.feature-card:nth-child(2) {
  animation-delay: 0.2s;
}
.feature-card:nth-child(3) {
  animation-delay: 0.3s;
}
.feature-card:nth-child(4) {
  animation-delay: 0.4s;
}
.feature-card:nth-child(5) {
  animation-delay: 0.5s;
}
.feature-card:nth-child(6) {
  animation-delay: 0.6s;
}
.feature-card:nth-child(7) {
  animation-delay: 0.7s;
}
.feature-card:nth-child(8) {
  animation-delay: 0.8s;
}

/* Animation du téléphone */
@keyframes floatPhone {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-20px);
  }
}

.phone-container {
  animation: floatPhone 6s ease-in-out infinite;
}

/* Responsive */
@media (max-width: 1200px) {
  .features-header h3 {
    font-size: 3rem;
  }

  .phone-container {
    width: 250px;
    height: 500px;
  }
}

@media (max-width: 992px) {
  .features-grid {
    margin-bottom: 50px;
  }

  .phone-display {
    margin-top: 50px;
  }

  .vision-card {
    padding: 40px 30px;
  }

  .vision-card h4 {
    font-size: 1.8rem;
  }
}

@media (max-width: 768px) {
  .features-header h3 {
    font-size: 2.5rem;
  }

  .feature-card {
    padding: 20px;
  }

  .feature-icon {
    width: 50px;
    height: 50px;
    min-width: 50px;
    font-size: 1.5rem;
  }

  .phone-container {
    width: 200px;
    height: 400px;
  }

  .vision-card {
    padding: 30px 20px;
  }

  .vision-card h4 {
    font-size: 1.6rem;
  }
}

/*--------------------------------------------------------------
# Recent Posts Section
--------------------------------------------------------------*/
.recent-posts .post-box {
  transition: 0.3s;
  height: 100%;
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
}

.recent-posts .post-box .post-img {
  overflow: hidden;
  position: relative;
}

.recent-posts .post-box .post-img img {
  transition: 0.5s;
}

.recent-posts .post-box .meta {
  margin-top: 15px;
}

.recent-posts .post-box .meta .post-date {
  font-size: 15px;
  font-weight: 400;
  color: var(--accent-color);
}

.recent-posts .post-box .meta .post-author {
  font-size: 15px;
  font-weight: 400;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
}

.recent-posts .post-box .post-title {
  color: var(--heading-color);
  font-size: 18px;
  font-weight: 700;
  margin: 15px 0 0 0;
  position: relative;
  transition: 0.3s;
}

.recent-posts .post-box p {
  margin: 15px 0 0 0;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
}

.recent-posts .post-box .readmore {
  display: flex;
  align-items: center;
  font-weight: 600;
  line-height: 1;
  transition: 0.3s;
  margin-top: 15px;
}

.recent-posts .post-box .readmore i {
  line-height: 0;
  margin-left: 4px;
  font-size: 18px;
}

.recent-posts .post-box:hover .post-title {
  color: var(--accent-color);
}

.recent-posts .post-box:hover .post-img img {
  transform: scale(1.1);
}

/*--------------------------------------------------------------
# Service Cards Section
--------------------------------------------------------------*/
/* Styles pour la section des cartes de service */
.service-cards {
  padding: 100px 0;
  background-color: var(--background-color);
}

.card-item {
  height: 100%;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  transition: all 0.4s ease;
}

.card-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.card-bg {
  position: relative;
  height: 100%;
  min-height: 250px;
}

.card-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.1),
    rgba(0, 0, 0, 0.5)
  );
}

.card-item:hover .card-bg img {
  transform: scale(1.05);
}

.card-body {
  padding: 30px;
  position: relative;
}

.card-icon {
  width: 60px;
  height: 60px;
  background: rgba(var(--accent-color-rgb), 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 24px;
  color: var(--accent-color);
  transition: all 0.3s ease;
}

.card-item:hover .card-icon {
  background: var(--accent-color);
  color: white;
}

.card-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 15px;
  color: var(--heading-color);
}

.card-text {
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  margin-bottom: 20px;
}

.card-link {
  display: inline-flex;
  align-items: center;
  color: var(--accent-color);
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

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

.card-link:hover {
  color: color-mix(in srgb, var(--accent-color), black 20%);
}

.card-link:hover i {
  transform: translateX(5px);
}

/* Responsive */
@media (max-width: 1199px) {
  .card-bg {
    min-height: 200px;
  }
}

@media (max-width: 767px) {
  .service-cards {
    padding: 60px 0;
  }

  .card-item {
    max-width: 500px;
    margin: 0 auto;
  }

  .card-bg {
    min-height: 180px;
  }

  .card-body {
    padding: 25px;
  }

  .card-title {
    font-size: 1.3rem;
  }
}

@media (max-width: 575px) {
  .card-icon {
    width: 50px;
    height: 50px;
    font-size: 20px;
  }
}
/*--------------------------------------------------------------
# Partenaires Section
--------------------------------------------------------------*/

.partners img.grayscale {
  filter: grayscale(100%);
  transition: filter 0.3s ease-in-out, transform 0.3s;
  max-height: 60px;
}
.partners img.grayscale:hover {
  filter: none;
  transform: scale(1.05);
}

/* Testimonials Section - Correction pour centrage */
.testimonials-section {
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
  position: relative;
  overflow: hidden;
}

.testimonials-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(
      circle at 20% 80%,
      rgba(108, 99, 255, 0.1) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 80% 20%,
      rgba(255, 242, 101, 0.1) 0%,
      transparent 50%
    );
  z-index: 1;
}

.testimonials-section .container {
  position: relative;
  z-index: 2;
  padding: 40px 0;
}

/* Titre de section */
.section-title-elegant {
  text-align: center;
  margin-bottom: 80px;
}

.section-title-elegant h2 {
  font-size: 3.5rem;
  font-weight: 800;
  background: linear-gradient(135deg, #2d3748 0%, #6c63ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  position: relative;
  display: inline-block;
  margin-bottom: 20px;
}

.section-title-elegant h2::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 4px;
  background: linear-gradient(90deg, #6c63ff, #ffa500);
  border-radius: 2px;
}

.section-title-elegant p {
  font-size: 1.2rem;
  color: #4a5568;
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.8;
}

/* Carte témoignage */
.testimonial-card {
  background: white;
  border-radius: 25px;
  padding: 40px;
  height: 100%;
  position: relative;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(10px);
  overflow: hidden;
  transform: scale(0.9);
  opacity: 0.5;
}

.testimonial-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: linear-gradient(90deg, #6c63ff, #ffa500);
  transition: all 0.5s ease;
}

.testimonial-card:hover {
  transform: scale(0.95);
  box-shadow: 0 30px 80px rgba(108, 99, 255, 0.2);
}

/* Icônes de citation */
.testimonial-card::after {
  content: '"';
  position: absolute;
  bottom: 20px;
  right: 30px;
  font-size: 120px;
  font-family: Georgia, serif;
  color: rgba(108, 99, 255, 0.05);
  line-height: 1;
  z-index: 1;
}

/* Étoiles de notation */
.stars-rating {
  margin-bottom: 25px;
  font-size: 1.4rem;
  position: relative;
  z-index: 2;
}

.stars-rating i {
  margin-right: 5px;
  background: linear-gradient(135deg, #ffd700 0%, #ffa500 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 2px 4px rgba(255, 215, 0, 0.2);
}

/* Texte témoignage */
.testimonial-content {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #2d3748;
  margin-bottom: 30px;
  position: relative;
  z-index: 2;
  font-style: normal;
}

/* Profil témoin */
.testimonial-profile {
  display: flex;
  align-items: center;
  gap: 20px;
  position: relative;
  z-index: 2;
}

.avatar-container {
  position: relative;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid white;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.avatar-container::before {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: 50%;
  background: linear-gradient(135deg, #6c63ff, #ffa500);
  z-index: 1;
}

.avatar-container img {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.profile-info h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 5px;
  color: #2d3748;
}

.profile-info h4 {
  font-size: 0.95rem;
  color: #6c63ff;
  font-weight: 500;
  margin: 0;
  opacity: 0.9;
}

/* Swiper configuration pour centrage */
.testimonial-swiper {
  padding: 60px 100px;
  margin: -60px -100px;
  overflow: visible !important;
}

.testimonial-swiper .swiper-wrapper {
  align-items: center;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

.testimonial-swiper .swiper-slide {
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  opacity: 0.5;
  transform: scale(0.9);
  filter: blur(2px);
}

/* Slide active (au centre) */
.testimonial-swiper .swiper-slide-active {
  opacity: 1 !important;
  transform: scale(1) !important;
  filter: blur(0) !important;
  z-index: 10;
}

.testimonial-swiper .swiper-slide-active .testimonial-card {
  transform: scale(1.05);
  box-shadow: 0 40px 100px rgba(108, 99, 255, 0.3);
}

.testimonial-swiper .swiper-slide-active .testimonial-card::before {
  height: 8px;
}

/* Slides adjacentes */
.testimonial-swiper .swiper-slide-next,
.testimonial-swiper .swiper-slide-prev {
  opacity: 0.8;
  transform: scale(0.95);
  filter: blur(1px);
  z-index: 5;
}

.testimonial-swiper .swiper-slide-next .testimonial-card,
.testimonial-swiper .swiper-slide-prev .testimonial-card {
  transform: scale(0.95);
}

/* Slides éloignées */
.testimonial-swiper .swiper-slide {
  opacity: 0.4;
  transform: scale(0.85);
  filter: blur(3px);
}

/* Pagination personnalisée */
.custom-pagination {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 60px;
}

.custom-pagination .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background: #e2e8f0;
  border-radius: 6px;
  transition: all 0.3s ease;
  opacity: 1;
}

.custom-pagination .swiper-pagination-bullet-active {
  width: 40px;
  background: linear-gradient(90deg, #6c63ff, #ffa500);
}

/* Navigation personnalisée */
.custom-navigation {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 60px;
  height: 60px;
  background: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  z-index: 20;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  color: #6c63ff;
  font-size: 1.5rem;
}

.custom-navigation:hover {
  background: linear-gradient(135deg, #6c63ff, #ffa500);
  color: white;
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 15px 40px rgba(108, 99, 255, 0.3);
}

.custom-navigation.prev {
  left: 30px;
}

.custom-navigation.next {
  right: 30px;
}

/* Indicateur de témoignage actif */
.current-testimonial {
  text-align: center;
  margin-top: 30px;
  font-size: 0.9rem;
  color: #718096;
  font-weight: 500;
}

.current-slide {
  color: #6c63ff;
  font-weight: 700;
  font-size: 1.2rem;
}

.total-slides {
  color: #4a5568;
  font-weight: 600;
}

/* Badge de recommandation */
.recommendation-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  background: linear-gradient(135deg, #48bb78, #38a169);
  color: white;
  padding: 8px 15px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  z-index: 2;
  box-shadow: 0 5px 15px rgba(72, 187, 120, 0.3);
}

/* Animation d'apparition */
@keyframes fadeInTestimonial {
  from {
    opacity: 0;
    transform: translateY(30px) scale(0.9);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.testimonial-swiper .swiper-slide-active .testimonial-card {
  animation: fadeInTestimonial 0.6s ease-out;
}

/* Effet de brillance au survol */
.testimonial-card:hover .avatar-container::before {
  animation: rotate-gradient 2s linear infinite;
}

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

/* Responsive pour centrage */
@media (max-width: 1200px) {
  .testimonial-swiper {
    padding: 60px 80px;
    margin: -60px -80px;
  }

  .custom-navigation.prev {
    left: 20px;
  }

  .custom-navigation.next {
    right: 20px;
  }
}

@media (max-width: 992px) {
  .testimonial-swiper {
    padding: 40px 60px;
    margin: -40px -60px;
  }

  .testimonial-swiper .swiper-slide {
    opacity: 0.7;
    transform: scale(0.95);
    filter: blur(1px);
  }

  .testimonial-swiper .swiper-slide-active {
    transform: scale(1);
  }
}

@media (max-width: 768px) {
  .section-title-elegant h2 {
    font-size: 2.5rem;
  }

  .testimonial-swiper {
    padding: 30px 20px;
    margin: -30px -20px;
  }

  .testimonial-card {
    padding: 30px 20px;
    transform: scale(1) !important;
    opacity: 1 !important;
    filter: blur(0) !important;
  }

  .testimonial-swiper .swiper-slide {
    opacity: 1 !important;
    transform: scale(1) !important;
    filter: blur(0) !important;
  }

  .custom-navigation {
    display: none;
  }

  .custom-pagination {
    margin-top: 30px;
  }

  .testimonial-profile {
    flex-direction: column;
    text-align: center;
    gap: 15px;
  }

  .testimonial-swiper .swiper-slide-active .testimonial-card {
    transform: scale(1) !important;
  }
}

/* Pour desktop - effet 3D de perspective */
@media (min-width: 1200px) {
  .testimonial-swiper .swiper-wrapper {
    perspective: 1200px;
  }

  .testimonial-swiper .swiper-slide {
    transform-style: preserve-3d;
  }

  .testimonial-swiper .swiper-slide-active {
    transform: scale(1) translateZ(50px);
  }

  .testimonial-swiper .swiper-slide-next {
    transform: scale(0.95) translateX(30%) translateZ(-20px) rotateY(-10deg);
  }

  .testimonial-swiper .swiper-slide-prev {
    transform: scale(0.95) translateX(-30%) translateZ(-20px) rotateY(10deg);
  }
}

/*--------------------------------------------------------------
# Blog Posts Section
--------------------------------------------------------------*/
.blog-posts article {
  background-color: var(--surface-color);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  padding: 30px;
  height: 100%;
  border-radius: 10px;
  overflow: hidden;
}

.blog-posts .post-img {
  max-height: 240px;
  margin: -30px -30px 15px -30px;
  overflow: hidden;
}

.blog-posts .post-category {
  font-size: 16px;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  margin-bottom: 10px;
}

.blog-posts .title {
  font-size: 20px;
  font-weight: 700;
  padding: 0;
  margin: 0 0 20px 0;
}

.blog-posts .title a {
  color: var(--heading-color);
  transition: 0.3s;
}

.blog-posts .title a:hover {
  color: var(--accent-color);
}

.blog-posts .post-author-img {
  width: 50px;
  border-radius: 50%;
  margin-right: 15px;
}

.blog-posts .post-author {
  font-weight: 600;
  margin-bottom: 5px;
}

.blog-posts .post-date {
  font-size: 14px;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  margin-bottom: 0;
}

/*--------------------------------------------------------------
# Blog Pagination Section
--------------------------------------------------------------*/
.blog-pagination {
  padding-top: 0;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
}

.blog-pagination ul {
  display: flex;
  padding: 0;
  margin: 0;
  list-style: none;
}

.blog-pagination li {
  margin: 0 5px;
  transition: 0.3s;
}

.blog-pagination li a {
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  padding: 7px 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.blog-pagination li a.active,
.blog-pagination li a:hover {
  background: var(--accent-color);
  color: var(--contrast-color);
}

.blog-pagination li a.active a,
.blog-pagination li a:hover a {
  color: var(--contrast-color);
}

/*--------------------------------------------------------------
# Blog Details Section
--------------------------------------------------------------*/
.blog-details {
  padding-bottom: 30px;
}

.blog-details .article {
  background-color: var(--surface-color);
  padding: 30px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.blog-details .post-img {
  margin: -30px -30px 20px -30px;
  overflow: hidden;
}

.blog-details .title {
  color: var(--heading-color);
  font-size: 28px;
  font-weight: 700;
  padding: 0;
  margin: 30px 0;
}

.blog-details .content {
  margin-top: 20px;
}

.blog-details .content h3 {
  font-size: 22px;
  margin-top: 30px;
  font-weight: bold;
}

.blog-details .content blockquote {
  overflow: hidden;
  background-color: color-mix(in srgb, var(--default-color), transparent 95%);
  padding: 60px;
  position: relative;
  text-align: center;
  margin: 20px 0;
}

.blog-details .content blockquote p {
  color: var(--default-color);
  line-height: 1.6;
  margin-bottom: 0;
  font-style: italic;
  font-weight: 500;
  font-size: 22px;
}

.blog-details .content blockquote:after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background-color: var(--after-color);
  margin-top: 20px;
  margin-bottom: 20px;
}

.blog-details .meta-top {
  margin-top: 20px;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
}

.blog-details .meta-top ul {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  align-items: center;
  padding: 0;
  margin: 0;
}

.blog-details .meta-top ul li + li {
  padding-left: 20px;
}

.blog-details .meta-top i {
  font-size: 16px;
  margin-right: 8px;
  line-height: 0;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
}

.blog-details .meta-top a {
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  font-size: 14px;
  display: inline-block;
  line-height: 1;
}

.blog-details .meta-bottom {
  padding-top: 10px;
  border-top: 1px solid
    color-mix(in srgb, var(--default-color), transparent 90%);
}

.blog-details .meta-bottom i {
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  display: inline;
}

.blog-details .meta-bottom a {
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  transition: 0.3s;
}

.blog-details .meta-bottom a:hover {
  color: var(--accent-color);
}

.blog-details .meta-bottom .cats {
  list-style: none;
  display: inline;
  padding: 0 20px 0 0;
  font-size: 14px;
}

.blog-details .meta-bottom .cats li {
  display: inline-block;
}

.blog-details .meta-bottom .tags {
  list-style: none;
  display: inline;
  padding: 0;
  font-size: 14px;
}

.blog-details .meta-bottom .tags li {
  display: inline-block;
}

.blog-details .meta-bottom .tags li + li::before {
  padding-right: 6px;
  color: var(--default-color);
  content: ",";
}

.blog-details .meta-bottom .share {
  font-size: 16px;
}

.blog-details .meta-bottom .share i {
  padding-left: 5px;
}

/*--------------------------------------------------------------
# Blog Author Section
--------------------------------------------------------------*/
.blog-author {
  padding: 10px 0 40px 0;
}

.blog-author .author-container {
  background-color: var(--surface-color);
  padding: 20px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.blog-author img {
  max-width: 120px;
  margin-right: 20px;
}

.blog-author h4 {
  font-weight: 600;
  font-size: 20px;
  margin-bottom: 0px;
  padding: 0;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
}

.blog-author .social-links {
  margin: 0 10px 10px 0;
}

.blog-author .social-links a {
  color: color-mix(in srgb, var(--default-color), transparent 60%);
  margin-right: 5px;
}

.blog-author p {
  font-style: italic;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  margin-bottom: 0;
}

/*--------------------------------------------------------------
# Blog Comments Section
--------------------------------------------------------------*/
.blog-comments {
  padding: 10px 0;
}

.blog-comments .comments-count {
  font-weight: bold;
}

.blog-comments .comment {
  margin-top: 30px;
  position: relative;
}

.blog-comments .comment .comment-img {
  margin-right: 14px;
}

.blog-comments .comment .comment-img img {
  width: 60px;
}

.blog-comments .comment h5 {
  font-size: 16px;
  margin-bottom: 2px;
}

.blog-comments .comment h5 a {
  font-weight: bold;
  color: var(--default-color);
  transition: 0.3s;
}

.blog-comments .comment h5 a:hover {
  color: var(--accent-color);
}

.blog-comments .comment h5 .reply {
  padding-left: 10px;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
}

.blog-comments .comment h5 .reply i {
  font-size: 20px;
}

.blog-comments .comment time {
  display: block;
  font-size: 14px;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  margin-bottom: 5px;
}

.blog-comments .comment.comment-reply {
  padding-left: 40px;
}

/*--------------------------------------------------------------
# Comment Form Section
--------------------------------------------------------------*/
.comment-form {
  padding-top: 10px;
}

.comment-form form {
  background-color: var(--surface-color);
  margin-top: 30px;
  padding: 30px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.comment-form form h4 {
  font-weight: bold;
  font-size: 22px;
}

.comment-form form p {
  font-size: 14px;
}

.comment-form form input {
  background-color: var(--surface-color);
  color: var(--default-color);
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 70%);
  font-size: 14px;
  border-radius: 4px;
  padding: 10px 10px;
}

.comment-form form input:focus {
  color: var(--default-color);
  background-color: var(--surface-color);
  box-shadow: none;
  border-color: var(--accent-color);
}

.comment-form form input::placeholder {
  color: color-mix(in srgb, var(--default-color), transparent 50%);
}

.comment-form form textarea {
  background-color: var(--surface-color);
  color: var(--default-color);
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 70%);
  border-radius: 4px;
  padding: 10px 10px;
  font-size: 14px;
  height: 120px;
}

.comment-form form textarea:focus {
  color: var(--default-color);
  box-shadow: none;
  border-color: var(--accent-color);
  background-color: var(--surface-color);
}

.comment-form form textarea::placeholder {
  color: color-mix(in srgb, var(--default-color), transparent 50%);
}

.comment-form form .form-group {
  margin-bottom: 25px;
}

.comment-form form .btn-primary {
  border-radius: 4px;
  padding: 10px 20px;
  border: 0;
  background-color: var(--accent-color);
  color: var(--contrast-color);
}

.comment-form form .btn-primary:hover {
  color: var(--contrast-color);
  background-color: color-mix(in srgb, var(--accent-color), transparent 20%);
}

/*--------------------------------------------------------------
# Widgets
--------------------------------------------------------------*/
.widgets-container {
  margin: 60px 0 30px 0;
}

.widget-title {
  color: var(--heading-color);
  font-size: 20px;
  font-weight: 600;
  padding: 0 0 10px 0;
  margin: 0 0 20px 0;
  position: relative;
}

.widget-title:before {
  content: "";
  position: absolute;
  display: block;
  height: 2px;
  background: color-mix(in srgb, var(--default-color), transparent 90%);
  left: 0;
  right: 0;
  bottom: 1px;
}

.widget-title:after {
  content: "";
  position: absolute;
  display: block;
  width: 40px;
  height: 2px;
  background: var(--after-color);
  left: 0;
  bottom: 1px;
}

.widget-item {
  margin-bottom: 40px;
}

.widget-item:last-child {
  margin-bottom: 0;
}

.search-widget form {
  background: var(--background-color);
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 70%);
  padding: 3px 10px;
  position: relative;
  transition: 0.3s;
}

.search-widget form input[type="text"] {
  border: 0;
  padding: 4px;
  border-radius: 4px;
  width: calc(100% - 40px);
  background-color: var(--background-color);
  color: var(--default-color);
}

.search-widget form input[type="text"]:focus {
  outline: none;
}

.search-widget form button {
  background: var(--accent-color);
  color: var(--contrast-color);
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  border: 0;
  font-size: 16px;
  padding: 0 15px;
  margin: -1px;
  transition: 0.3s;
  border-radius: 0 4px 4px 0;
  line-height: 0;
}

.search-widget form button i {
  line-height: 0;
}

.search-widget form button:hover {
  background: color-mix(in srgb, var(--accent-color), transparent 20%);
}

.search-widget form:is(:focus-within) {
  border-color: var(--accent-color);
}

.categories-widget ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.categories-widget ul li {
  padding-bottom: 10px;
}

.categories-widget ul li:last-child {
  padding-bottom: 0;
}

.categories-widget ul a {
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  transition: 0.3s;
}

.categories-widget ul a:hover {
  color: var(--accent-color);
}

.categories-widget ul a span {
  padding-left: 5px;
  color: color-mix(in srgb, var(--default-color), transparent 50%);
  font-size: 14px;
}

.recent-posts-widget .post-item {
  display: flex;
  margin-bottom: 15px;
}

.recent-posts-widget .post-item:last-child {
  margin-bottom: 0;
}

.recent-posts-widget .post-item img {
  width: 80px;
  margin-right: 15px;
}

.recent-posts-widget .post-item h4 {
  font-size: 15px;
  font-weight: bold;
  margin-bottom: 5px;
}

.recent-posts-widget .post-item h4 a {
  color: var(--default-color);
  transition: 0.3s;
}

.recent-posts-widget .post-item h4 a:hover {
  color: var(--accent-color);
}

.recent-posts-widget .post-item time {
  display: block;
  font-style: italic;
  font-size: 14px;
  color: color-mix(in srgb, var(--default-color), transparent 50%);
}

.tags-widget {
  margin-bottom: -10px;
}

.tags-widget ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.tags-widget ul li {
  display: inline-block;
}

.tags-widget ul a {
  background-color: color-mix(in srgb, var(--default-color), transparent 94%);
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  border-radius: 50px;
  font-size: 14px;
  padding: 5px 15px;
  margin: 0 6px 8px 0;
  display: inline-block;
  transition: 0.3s;
}

.tags-widget ul a:hover {
  background: var(--accent-color);
  color: var(--contrast-color);
}

.tags-widget ul a span {
  padding-left: 5px;
  color: color-mix(in srgb, var(--default-color), transparent 60%);
  font-size: 14px;
}

/* Responsive */
@media (max-width: 768px) {
  .feature-card {
    padding: 30px 20px;
  }

  .feature-icon {
    width: 60px;
    height: 60px;
    font-size: 24px;
    margin-bottom: 20px;
  }

  .portfolio-grid {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  }
}

@media (max-width: 576px) {
  .portfolio-filter {
    gap: 5px;
  }

  .portfolio-filter button {
    padding: 6px 15px;
    font-size: 13px;
  }
}

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-slider {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.slider-track {
  position: relative;
  width: 100%;
  height: 100%;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
}

.slide.active {
  opacity: 1;
}

.slider-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
}

/* Hero Content Styles */
.hero h1 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: #fff;
}

.hero-subtitle p {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 30px;
}

.hero-buttons {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

/* Section technologie */
.tech-stack-section {
  margin-top: 40px;
}

.tech-stack-section h4 {
  font-size: 1.1rem;
  margin-bottom: 15px;
  color: #555;
}

.tech-stack-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tech-badge {
  background: #e0e7ff;
  color: #2a5bd7;
  padding: 5px 15px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 500;
}
/* Custom styles for packs page */
.packs-section {
  padding: 80px 0;
  background-color: var(--background-color);
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--heading-color);
  margin-bottom: 15px;
  position: relative;
  display: inline-block;
}

.section-header h2:after {
  content: "";
  position: absolute;
  width: 60px;
  height: 3px;
  background: var(--after-color);
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
}

.section-header p {
  color: var(--default-color);
  max-width: 700px;
  margin: 0 auto;
  opacity: 0.8;
}

/*--------------------------------------------------------------
# Services Section
--------------------------------------------------------------*/
.services.section {
  position: relative;
  background: linear-gradient(135deg, #f0f7ff 0%, #e6f0ff 50%, #f5f9ff 100%);
  overflow: hidden;
}

/* Cercle principal animé */
.services.section::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(
    circle,
    rgba(59, 130, 246, 0.1) 0%,
    transparent 70%
  );
  border-radius: 50%;
  animation: pulseCircle 8s ease-in-out infinite;
  z-index: 1;
}

/* Grille de cercles subtile */
.services.section::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(
      circle at 20% 30%,
      rgba(59, 130, 246, 0.05) 15px,
      transparent 15px
    ),
    radial-gradient(
      circle at 80% 70%,
      rgba(139, 92, 246, 0.05) 20px,
      transparent 20px
    ),
    radial-gradient(
      circle at 40% 60%,
      rgba(34, 197, 94, 0.04) 12px,
      transparent 12px
    ),
    radial-gradient(
      circle at 60% 40%,
      rgba(245, 158, 11, 0.04) 18px,
      transparent 18px
    );
  background-size: 200px 200px, 300px 300px, 150px 150px, 250px 250px;
  animation: floatCircles 40s linear infinite;
  z-index: 1;
}

/* Système planétaire animé */
.orbital-system {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 1;
}

/* Soleil central */
.sun {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100px;
  height: 100px;
  background: radial-gradient(circle, #ffd700 0%, rgba(255, 215, 0, 0.3) 70%);
  border-radius: 50%;
  box-shadow: 0 0 60px rgba(255, 215, 0, 0.5);
  animation: sunGlow 4s ease-in-out infinite;
}

/* Orbites circulaires */
.orbit {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border: 1px dashed rgba(59, 130, 246, 0.15);
  border-radius: 50%;
}

.orbit-1 {
  width: 400px;
  height: 400px;
  animation: rotateOrbit 30s linear infinite;
}

.orbit-2 {
  width: 600px;
  height: 600px;
  animation: rotateOrbit 40s linear infinite reverse;
}

.orbit-3 {
  width: 800px;
  height: 800px;
  animation: rotateOrbit 50s linear infinite;
}

/* Planètes qui tournent */
.planet {
  position: absolute;
  border-radius: 50%;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
}

.planet-1 {
  width: 30px;
  height: 30px;
  background: linear-gradient(135deg, #3b82f6, #60a5fa);
  top: calc(50% - 200px);
  left: 50%;
  transform: translate(-50%, -50%);
  animation: rotatePlanet 30s linear infinite;
  box-shadow: 0 0 20px rgba(59, 130, 246, 0.3);
}

.planet-2 {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #8b5cf6, #a78bfa);
  top: 50%;
  left: calc(50% + 300px);
  transform: translate(-50%, -50%);
  animation: rotatePlanet 40s linear infinite reverse;
  box-shadow: 0 0 20px rgba(139, 92, 246, 0.3);
}

.planet-3 {
  width: 25px;
  height: 25px;
  background: linear-gradient(135deg, #10b981, #34d399);
  top: calc(50% + 400px);
  left: 50%;
  transform: translate(-50%, -50%);
  animation: rotatePlanet 50s linear infinite;
  box-shadow: 0 0 20px rgba(16, 185, 129, 0.3);
}

.planet-4 {
  width: 35px;
  height: 35px;
  background: linear-gradient(135deg, #f59e0b, #fbbf24);
  top: 50%;
  left: calc(50% - 400px);
  transform: translate(-50%, -50%);
  animation: rotatePlanet 35s linear infinite reverse;
  box-shadow: 0 0 20px rgba(245, 158, 11, 0.3);
}

/* Particules flottantes */
.floating-particles {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  pointer-events: none;
}

.particle {
  position: absolute;
  background: rgba(59, 130, 246, 0.1);
  border-radius: 50%;
  animation: floatParticle 15s infinite linear;
}

.particle:nth-child(1) {
  width: 8px;
  height: 8px;
  top: 20%;
  left: 10%;
  animation-delay: 0s;
}
.particle:nth-child(2) {
  width: 12px;
  height: 12px;
  top: 60%;
  left: 80%;
  animation-delay: -3s;
  background: rgba(139, 92, 246, 0.1);
}
.particle:nth-child(3) {
  width: 6px;
  height: 6px;
  top: 40%;
  left: 90%;
  animation-delay: -5s;
}
.particle:nth-child(4) {
  width: 10px;
  height: 10px;
  top: 80%;
  left: 20%;
  animation-delay: -7s;
  background: rgba(34, 197, 94, 0.1);
}
.particle:nth-child(5) {
  width: 14px;
  height: 14px;
  top: 30%;
  left: 70%;
  animation-delay: -9s;
}
.particle:nth-child(6) {
  width: 8px;
  height: 8px;
  top: 70%;
  left: 40%;
  animation-delay: -11s;
  background: rgba(245, 158, 11, 0.1);
}

/* Anneaux concentriques */
.concentric-rings {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 1000px;
  height: 1000px;
  pointer-events: none;
}

.ring {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border: 1px solid rgba(59, 130, 246, 0.08);
  border-radius: 50%;
  animation: expandRing 6s linear infinite;
}

.ring:nth-child(1) {
  width: 300px;
  height: 300px;
  animation-delay: 0s;
}
.ring:nth-child(2) {
  width: 500px;
  height: 500px;
  animation-delay: 2s;
}
.ring:nth-child(3) {
  width: 700px;
  height: 700px;
  animation-delay: 4s;
}

/* Animations */
@keyframes pulseCircle {
  0%,
  100% {
    opacity: 0.5;
    transform: translate(-50%, -50%) scale(1);
  }
  50% {
    opacity: 0.8;
    transform: translate(-50%, -50%) scale(1.1);
  }
}

@keyframes floatCircles {
  0% {
    transform: translate(0, 0);
  }
  100% {
    transform: translate(100px, 50px);
  }
}

@keyframes rotateOrbit {
  from {
    transform: translate(-50%, -50%) rotate(0deg);
  }
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

@keyframes rotatePlanet {
  from {
    transform: translate(-50%, -50%) rotate(0deg) translateX(200px) rotate(0deg);
  }
  to {
    transform: translate(-50%, -50%) rotate(360deg) translateX(200px)
      rotate(-360deg);
  }
}

@keyframes sunGlow {
  0%,
  100% {
    box-shadow: 0 0 60px rgba(255, 215, 0, 0.5),
      0 0 120px rgba(255, 215, 0, 0.3);
  }
  50% {
    box-shadow: 0 0 80px rgba(255, 215, 0, 0.7),
      0 0 140px rgba(255, 215, 0, 0.4);
  }
}

@keyframes floatParticle {
  0%,
  100% {
    transform: translate(0, 0);
    opacity: 0.3;
  }
  25% {
    transform: translate(100px, 50px);
    opacity: 0.6;
  }
  50% {
    transform: translate(50px, 100px);
    opacity: 0.3;
  }
  75% {
    transform: translate(-50px, 50px);
    opacity: 0.6;
  }
}

@keyframes expandRing {
  0% {
    width: 0;
    height: 0;
    opacity: 1;
  }
  100% {
    width: 1000px;
    height: 1000px;
    opacity: 0;
  }
}

@keyframes iconFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

.services .service-card {
  z-index: 2;
}

/* Responsive */
@media (max-width: 1200px) {
  .orbit-3,
  .concentric-rings {
    display: none;
  }

  .orbit-1 {
    width: 300px;
    height: 300px;
  }
  .orbit-2 {
    width: 450px;
    height: 450px;
  }
}

@media (max-width: 768px) {
  .orbital-system,
  .concentric-rings,
  .floating-particles {
    display: none;
  }

  .services.section::before {
    width: 500px;
    height: 500px;
  }

  .services .service-card {
    padding: 30px 25px;
  }
}

/**------------------Paticle protfolio ---------------*/

.particle {
  position: absolute;
  width: 3px;
  height: 3px;
  background: rgba(var(--primary-rgb), 0.5);
  border-radius: 50%;
  animation: particleFloat 20s linear infinite;
}

@keyframes particleFloat {
  0% {
    transform: translateY(100vh) translateX(var(--x-start));
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    transform: translateY(-100px) translateX(var(--x-end));
    opacity: 0;
  }
}

/* Recent Posts Section - Stylisation moderne */
.recent-posts-section {
  background: linear-gradient(135deg, #0f0c29 0%, #1a1a2e 100%);
  position: relative;
  overflow: hidden;
}

.recent-posts-section::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(
      circle at 20% 30%,
      rgba(108, 99, 255, 0.1) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 80% 70%,
      rgba(255, 242, 101, 0.1) 0%,
      transparent 50%
    );
  z-index: 1;
}

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

/* Titre de section */
.posts-title-elegant {
  text-align: center;
  margin-bottom: 80px;
}

.posts-title-elegant h2 {
  font-size: 3.5rem;
  font-weight: 800;
  background: linear-gradient(135deg, #ffffff 0%, #6c63ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  position: relative;
  display: inline-block;
  margin-bottom: 20px;
}

.posts-title-elegant h2::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 4px;
  background: linear-gradient(90deg, #6c63ff, #ffa500);
  border-radius: 2px;
}

.posts-title-elegant p {
  font-size: 1.2rem;
  color: #a0aec0;
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.8;
}

/* Carte d'article */
.article-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border-radius: 25px;
  overflow: hidden;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(255, 255, 255, 0.1);
  height: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
}

.article-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #6c63ff, #ffa500);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s ease;
}

.article-card:hover {
  transform: translateY(-20px);
  border-color: rgba(108, 99, 255, 0.3);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(108, 99, 255, 0.1),
    inset 0 0 30px rgba(108, 99, 255, 0.05);
}

.article-card:hover::before {
  transform: scaleX(1);
}

/* Image de l'article */
.article-image {
  position: relative;
  overflow: hidden;
  height: 220px;
  border-radius: 20px 20px 0 0;
}

.article-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.7s ease;
}

.article-card:hover .article-image img {
  transform: scale(1.1) rotate(1deg);
}

.article-image::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 50%;
  background: linear-gradient(to top, rgba(26, 26, 46, 0.9), transparent);
  z-index: 1;
}

/* Badge de catégorie */
.category-badge {
  position: absolute;
  top: 20px;
  left: 20px;
  background: linear-gradient(135deg, #6c63ff, #ffa500);
  color: white;
  padding: 6px 15px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  z-index: 2;
  box-shadow: 0 5px 15px rgba(108, 99, 255, 0.3);
}

/* Meta information */
.article-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 25px 25px 15px;
  font-size: 0.9rem;
}

.post-date {
  color: #6c63ff;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
}

.post-date::before {
  content: "📅";
  font-size: 0.9rem;
}

.post-author {
  color: #a0aec0;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 8px;
}

.post-author::before {
  content: "👤";
  font-size: 0.9rem;
}

/* Titre de l'article */
.article-title {
  padding: 0 25px;
  margin-bottom: 15px;
}

.article-title h3 {
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.4;
  background: linear-gradient(135deg, #fff 0%, #a5b4fc 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  transition: all 0.3s ease;
}

.article-card:hover .article-title h3 {
  background: linear-gradient(135deg, #6c63ff 0%, #ffa500 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Extrait de l'article */
.article-excerpt {
  padding: 0 25px 20px;
  flex-grow: 1;
}

.article-excerpt p {
  color: #a0aec0;
  font-size: 1rem;
  line-height: 1.7;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Lien Lire plus */
.readmore-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 25px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-decoration: none;
  transition: all 0.3s ease;
  margin-top: auto;
}

.readmore-link span {
  color: #6c63ff;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.readmore-link i {
  color: #6c63ff;
  font-size: 1.2rem;
  transition: all 0.3s ease;
  transform: translateX(0);
}

.article-card:hover .readmore-link {
  background: rgba(108, 99, 255, 0.1);
  border-color: rgba(108, 99, 255, 0.2);
}

.article-card:hover .readmore-link span {
  color: #ffa500;
}

.article-card:hover .readmore-link i {
  color: #ffa500;
  transform: translateX(5px);
}

/* Statistiques de l'article (en option) */
.article-stats {
  display: flex;
  gap: 20px;
  padding: 15px 25px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #a0aec0;
  font-size: 0.85rem;
}

.stat-item i {
  color: #6c63ff;
  font-size: 0.9rem;
}

/* Animation d'apparition */
@keyframes slideUpFade {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.article-card {
  animation: slideUpFade 0.6s ease-out forwards;
  opacity: 0;
}

.article-card:nth-child(1) {
  animation-delay: 0.1s;
}
.article-card:nth-child(2) {
  animation-delay: 0.2s;
}
.article-card:nth-child(3) {
  animation-delay: 0.3s;
}
.article-card:nth-child(4) {
  animation-delay: 0.4s;
}

/* Effet de brillance sur l'image */
.article-image::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    to right,
    transparent 20%,
    rgba(255, 255, 255, 0.1) 50%,
    transparent 80%
  );
  transform: rotate(30deg);
  transition: transform 0.8s ease;
  z-index: 2;
}

.article-card:hover .article-image::before {
  transform: rotate(30deg) translateX(100%);
}

/* Badge "Nouveau" pour les articles récents */
.new-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  background: linear-gradient(135deg, #ffa500, #ffd700);
  color: white;
  padding: 6px 12px;
  border-radius: 15px;
  font-size: 0.75rem;
  font-weight: 700;
  z-index: 2;
  box-shadow: 0 5px 15px rgba(255, 242, 101, 0.1);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 242, 101, 0.1);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(255, 242, 101, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(255, 242, 101, 0);
  }
}

/* Responsive */
@media (max-width: 1200px) {
  .posts-title-elegant h2 {
    font-size: 3rem;
  }

  .article-image {
    height: 200px;
  }
}

@media (max-width: 768px) {
  .posts-title-elegant h2 {
    font-size: 2.5rem;
  }

  .posts-title-elegant p {
    font-size: 1.1rem;
    padding: 0 20px;
  }

  .article-card {
    margin-bottom: 30px;
  }

  .article-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .article-image {
    height: 180px;
  }
}

@media (max-width: 576px) {
  .posts-title-elegant h2 {
    font-size: 2rem;
  }

  .article-title h3 {
    font-size: 1.3rem;
  }

  .article-excerpt p {
    -webkit-line-clamp: 4;
  }
}

/* Effet de superposition au survol */
.article-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(108, 99, 255, 0.9),
    rgba(255, 242, 101, 0.1)
  );
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 30px;
  opacity: 0;
  transition: opacity 0.5s ease;
  z-index: 3;
  border-radius: 25px;
}

.article-card:hover .article-overlay {
  opacity: 1;
}

.overlay-content {
  text-align: center;
  color: white;
  transform: translateY(20px);
  transition: transform 0.5s ease;
}

.article-card:hover .overlay-content {
  transform: translateY(0);
}

.read-full-article {
  margin-top: 20px;
  padding: 12px 30px;
  background: white;
  color: #6c63ff;
  border-radius: 25px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.read-full-article:hover {
  background: #2d3748;
  color: white;
  transform: translateY(-3px);
}
