@charset "UTF-8";

/*--------------------------------------------------------------
# Variables de Police et Couleurs
--------------------------------------------------------------*/
/* Polices */
:root {
  --default-font: "Titillium Web",  system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  --heading-font: "Titillium Web",  sans-serif;
  --nav-font: "Titillium Web",  sans-serif;
}

/* Couleurs globales - Les variables de couleur suivantes sont utilisées dans tout le site. Les modifier ici changera la palette de couleurs de l'ensemble du site */
/* Mode sombre (par défaut) */
:root { 
  --background-color: #0a0a0a; /* Couleur de fond plus sombre pour un meilleur contraste */
  --default-color: #e5e5e5; /* Texte plus clair pour une meilleure lisibilité */
  --heading-color: #ffffff; /* Titres blancs pour un contraste optimal */
  --accent-color: #90e0ef; /* Couleur d'accent bleu clair/cyan - Palette: #03045e, #90e0ef */
  --accent-dark: #03045e; /* Bleu foncé pour les éléments nécessitant plus de contraste */
  --surface-color: #1a1a1a; /* Surface légèrement plus claire que le fond pour une meilleure séparation */
  --contrast-color: #ffffff; /* Couleur de contraste pour le texte, assurant la lisibilité sur les arrière-plans de couleur accent, titre ou par défaut. */
  --border-color: rgba(255, 255, 255, 0.1); /* Bordures subtiles pour le mode sombre */
  --shadow-color: rgba(0, 0, 0, 0.5); /* Ombres plus prononcées pour le mode sombre */
}

/* Mode clair */
body.light-mode {
  --background-color: #ffffff; /* Fond blanc pour le mode clair */
  --default-color: #2d2d2d; /* Texte gris foncé pour une meilleure lisibilité et contraste */
  --heading-color: #0a0a0a; /* Titres presque noirs pour un contraste optimal */
  --accent-color: #03045e; /* Couleur d'accent bleu foncé pour le mode clair */
  --accent-dark: #03045e; /* Bleu foncé */
  --surface-color: #f8f9fa; /* Surface gris très clair avec meilleur contraste */
  --contrast-color: #ffffff; /* Texte blanc sur fond accent */
  --border-color: rgba(0, 0, 0, 0.08); /* Bordures subtiles pour le mode clair */
  --shadow-color: rgba(0, 0, 0, 0.08); /* Ombres douces pour le mode clair */
}

/* Couleurs du menu de navigation - Les variables de couleur suivantes sont utilisées spécifiquement pour le menu de navigation. Elles sont séparées des couleurs globales pour permettre plus d'options de personnalisation */
/* Mode sombre (par défaut) */
:root {
  --nav-color: #d9d9d9;  /* La couleur par défaut des liens du menu de navigation principal */
  --nav-hover-color: #90e0ef; /* Appliquée aux liens du menu de navigation principal lorsqu'ils sont survolés ou actifs */
  --nav-mobile-background-color: #2e2e2e; /* Utilisée comme couleur de fond pour le menu de navigation mobile */
  --nav-dropdown-background-color: #2e2e2e; /* Utilisée comme couleur de fond pour les éléments de menu déroulant qui apparaissent lors du survol des éléments de navigation principaux */
  --nav-dropdown-color: #d9d9d9; /* Utilisée pour les liens de navigation des éléments de menu déroulant dans le menu de navigation. */
  --nav-dropdown-hover-color: #90e0ef; /* Similaire à --nav-hover-color, cette couleur est appliquée aux liens de navigation du menu déroulant lorsqu'ils sont survolés. */
}

/* Mode clair - Navigation */
body.light-mode {
  --nav-color: #4a4a4a; /* Liens de navigation gris foncé */
  --nav-hover-color: #03045e; /* Hover bleu foncé */
  --nav-mobile-background-color: #ffffff; /* Fond blanc pour le menu mobile */
  --nav-dropdown-background-color: #ffffff; /* Fond blanc pour les dropdowns */
  --nav-dropdown-color: #4a4a4a; /* Texte gris foncé pour les dropdowns */
  --nav-dropdown-hover-color: #03045e; /* Hover bleu foncé pour les dropdowns */
}

/* Pré-réglages de couleurs - Ces classes remplacent les couleurs globales lorsqu'elles sont appliquées à une section ou un élément, permettant la réutilisation du même schéma de couleurs. */

.light-background {
  --background-color: rgba(41, 41, 41, 0.8);
  --surface-color: #484848;
}

.dark-background {
  --background-color: #060606;
  --default-color: #ffffff;
  --heading-color: #ffffff;
  --surface-color: #252525;
  --contrast-color: #ffffff;
}

/* Défilement fluide - Compatible tous navigateurs */
:root {
  scroll-behavior: smooth;
  /* Fix pour Safari iOS */
  -webkit-overflow-scrolling: touch;
}

/* Fix pour les navigateurs qui ne supportent pas scroll-behavior */
@supports not (scroll-behavior: smooth) {
  html {
    scroll-behavior: auto;
  }
}

/* Empêcher le scroll automatique vers le hash au chargement */
html {
  scroll-padding-top: 0;
  scroll-behavior: auto;
}

/* Forcer le scroll en haut au chargement - Empêcher le scroll automatique */
body {
  scroll-behavior: auto;
  overflow-x: hidden;
}

/* Empêcher le scroll automatique vers les ancres au chargement */
html:target,
body:target {
  scroll-behavior: auto !important;
}

/* Classe pour bloquer le scroll au chargement */
body.scroll-locked {
  overflow: hidden;
  position: fixed;
  width: 100%;
  height: 100%;
}

/* Au chargement, empêcher le scroll automatique */
@media (prefers-reduced-motion: no-preference) {
  html:target {
    scroll-behavior: smooth;
  }
}

/* Optimisations de performance */
* {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Accélération GPU pour les éléments animés - Compatible tous navigateurs */
.hero img,
.portfolio .portfolio-card .portfolio-image-container img,
.about .profile-card,
.services .service-item,
.portfolio .portfolio-card {
  -webkit-transform: translateZ(0);
  -moz-transform: translateZ(0);
  -ms-transform: translateZ(0);
  transform: translateZ(0);
  -webkit-backface-visibility: hidden;
  -moz-backface-visibility: hidden;
  backface-visibility: hidden;
  -webkit-perspective: 1000px;
  -moz-perspective: 1000px;
  perspective: 1000px;
  /* Fix pour Safari iOS */
  -webkit-transform-style: preserve-3d;
  transform-style: preserve-3d;
}

/* Réduire les animations sur mobile pour de meilleures performances */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Optimiser pour les appareils tactiles */
@media (hover: none) and (pointer: coarse) {
  .btn-hero-modern:hover,
  .portfolio .portfolio-card:hover,
  .services .service-item:hover {
    transform: none;
  }
  
  .btn-hero-modern:active,
  .portfolio .portfolio-card:active,
  .services .service-item:active {
    transform: scale(0.98);
  }
}

/*--------------------------------------------------------------
# General Styling & Shared Classes
--------------------------------------------------------------*/
body {
  color: var(--default-color);
  background-color: var(--background-color);
  font-family: var(--default-font);
  transition: background-color 0.4s cubic-bezier(0.4, 0, 0.2, 1), 
              color 0.4s cubic-bezier(0.4, 0, 0.2, 1),
              border-color 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Skip link for accessibility */
.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--accent-color);
  color: var(--contrast-color);
  padding: 8px 16px;
  text-decoration: none;
  z-index: 1000;
  border-radius: 0 0 4px 0;
  font-weight: 600;
  transition: top 0.3s;
}

.skip-link:focus {
  top: 0;
  outline: 3px solid var(--accent-color);
  outline-offset: 2px;
}

/* Visually hidden but accessible to screen readers */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

.visually-hidden-focusable:focus {
  position: static;
  width: auto;
  height: auto;
  padding: inherit;
  margin: inherit;
  overflow: visible;
  clip: auto;
  white-space: normal;
}

p {
  text-align: justify;
}

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);
}

/* PHP Email Form Messages
------------------------------*/
.php-email-form .error-message {
  display: none;
  background: #df1529;
  color: #ffffff;
  text-align: left;
  padding: 15px;
  margin-bottom: 24px;
  font-weight: 600;
}

.php-email-form .sent-message {
  display: none;
  color: #ffffff;
  background: #059652;
  text-align: center;
  padding: 15px;
  margin-bottom: 24px;
  font-weight: 600;
}

.php-email-form .loading {
  display: none;
  background: var(--surface-color);
  text-align: center;
  padding: 15px;
  margin-bottom: 24px;
}

.php-email-form .loading:before {
  content: "";
  display: inline-block;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  margin: 0 10px -6px 0;
  border: 3px solid var(--accent-color);
  border-top-color: var(--surface-color);
  animation: php-email-form-loading 1s linear infinite;
}

@keyframes php-email-form-loading {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/*--------------------------------------------------------------
# Global Header
--------------------------------------------------------------*/
.header {
  --heading-color: #ffffff;
  color: var(--default-color);
  background-color: var(--background-color);
  padding: 15px 0;
  transition: all 0.5s;
  z-index: 997;
}

/* Mode clair - Header au scroll - Forcer le background blanc */
body.light-mode.scrolled .header,
body.light-mode .scrolled .header {
  background-color: #ffffff !important;
  --background-color: #ffffff !important;
}

.header .logo {
  line-height: 1;
}

.header .logo img,
.header .logo .logo-img {
  max-height: 36px;
  width: auto;
  height: auto;
  object-fit: contain;
  margin-right: 8px;
}

.header .logo h1 {
  font-size: 22px;
  margin: 0;
  font-weight: 700;
  color: var(--heading-color);
}

.header .btn-getstarted,
.header .btn-getstarted:focus {
  color: var(--contrast-color);
  background: var(--accent-color);
  font-size: 14px;
  padding: 8px 25px;
  margin: 0 0 0 30px;
  border-radius: 50px;
  transition: 0.3s;
}

.header .btn-getstarted:hover,
.header .btn-getstarted:focus:hover {
  color: var(--contrast-color);
  background: color-mix(in srgb, var(--accent-color), transparent 15%);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px color-mix(in srgb, var(--accent-color), transparent 50%);
}

.header .btn-getstarted:focus-visible {
  outline: 3px solid var(--accent-color);
  outline-offset: 3px;
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent-color), transparent 30%);
}

.header .btn-getstarted:active {
  transform: translateY(0);
}

/* Bouton Toggle Thème (Mode Clair/Sombre) */
.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--surface-color);
  border: none;
  color: var(--default-color);
  cursor: pointer;
  transition: all 0.3s ease;
  margin-left: 20px;
  margin-right: 12px;
  position: relative;
  overflow: hidden;
}

.theme-toggle:hover {
  background: var(--accent-color);
  color: var(--contrast-color);
  transform: scale(1.1);
}

.theme-toggle:focus {
  outline: 3px solid var(--accent-color);
  outline-offset: 2px;
}

.theme-toggle i {
  font-size: 18px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.theme-toggle .bi-sun {
  position: absolute;
  opacity: 0;
  transform: rotate(90deg);
}

.theme-toggle .bi-moon {
  position: absolute;
  opacity: 1;
  transform: rotate(0deg);
}

body.light-mode .theme-toggle .bi-sun {
  opacity: 1;
  transform: rotate(0deg);
}

body.light-mode .theme-toggle .bi-moon {
  opacity: 0;
  transform: rotate(-90deg);
}

/* Mode clair - Header */
body.light-mode .header {
  background-color: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: none;
}

body.light-mode .scrolled .header {
  background-color: #ffffff !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  box-shadow: none !important;
}

body.light-mode .index-page .header {
  background-color: transparent !important;
  box-shadow: none !important;
  --background-color: transparent !important;
}

body.light-mode .index-page.scrolled .header {
  background-color: #ffffff !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  box-shadow: none !important;
  --background-color: #ffffff !important;
}

/* Mode clair - Logo en noir */
body.light-mode .header .logo h1,
body.light-mode .header .logo .sitename {
  color: #000000 !important;
}

body.light-mode .header .logo img,
body.light-mode .header .logo .logo-img {
  filter: brightness(0);
  -webkit-filter: brightness(0);
}

/* Mode clair - Menu de navigation en noir */
body.light-mode .navmenu a,
body.light-mode .navmenu a:focus {
  color: #000000 !important;
}

body.light-mode .navmenu a:hover,
body.light-mode .navmenu .active,
body.light-mode .navmenu .active:focus {
  color: var(--accent-color) !important;
}

body.light-mode .navmenu a::after {
  background: var(--accent-color);
}

body.light-mode .navmenu a:hover {
  background: color-mix(in srgb, var(--accent-color), transparent 95%) !important;
}

body.light-mode .navmenu .active {
  background: color-mix(in srgb, var(--accent-color), transparent 92%) !important;
}

/* Mode clair - Menu mobile en noir */
body.light-mode .mobile-nav-toggle {
  color: #000000 !important;
}

body.light-mode .mobile-nav-active .navmenu>ul>li>a {
  color: #000000 !important;
}

body.light-mode .mobile-nav-active .navmenu>ul>li>a:hover,
body.light-mode .mobile-nav-active .navmenu>ul>li>a:focus {
  color: var(--accent-color) !important;
  background-color: color-mix(in srgb, var(--accent-color), transparent 98%) !important;
}

body.light-mode .mobile-nav-active .navmenu .dropdown>a {
  color: #000000 !important;
}

body.light-mode .mobile-nav-active .navmenu .dropdown ul a {
  color: #000000 !important;
}

body.light-mode .mobile-nav-active .navmenu .dropdown ul a:hover {
  color: var(--accent-color) !important;
}

@media (max-width: 1200px) {
  .header .logo {
    order: 1;
  }

  .header .theme-toggle {
    order: 2;
    margin-left: 16px;
    margin-right: 10px;
    width: 36px;
    height: 36px;
  }

  .header .theme-toggle i {
    font-size: 16px;
  }

  .header .btn-getstarted {
    order: 3;
    margin: 0 15px 0 0;
    padding: 6px 15px;
  }

  .header .navmenu {
    order: 4;
    margin-right: 8px;
  }
  
  .header .navmenu ul {
    gap: 2px;
  }
  
  .header .navmenu a {
    padding: 10px 14px;
    font-size: 14px;
  }
}

@media (max-width: 768px) {
  .header .theme-toggle {
    width: 34px;
    height: 34px;
    margin-left: 12px;
    margin-right: 8px;
  }

  .header .theme-toggle i {
    font-size: 15px;
  }
}

.scrolled .header {
  box-shadow: 0px 0 18px rgba(0, 0, 0, 0.1);
}

/* Global Header on Scroll
------------------------------*/
.scrolled .header {
  --background-color: rgba(20, 20, 20, 0.8);
}

/* Mode clair - Header au scroll - Variable CSS */
body.light-mode.scrolled .header {
  --background-color: #ffffff !important;
}

body.light-mode .index-page.scrolled .header {
  --background-color: #ffffff !important;
}

/* Index Page Header
------------------------------*/
.index-page .header {
  --background-color: rgba(255, 255, 255, 0);
}

/* Index Page Header on Scroll
------------------------------*/
.index-page.scrolled .header {
  --background-color: rgba(20, 20, 20, 0.8);
}

/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/
/* Navmenu - Desktop */
@media (min-width: 1200px) {
  .navmenu {
    padding: 0;
  }

  .navmenu ul {
    margin: 0;
    padding: 0;
    display: flex;
    list-style: none;
    align-items: center;
    gap: 4px;
  }

  .navmenu li {
    position: relative;
  }

  .navmenu a,
  .navmenu a:focus {
    color: var(--nav-color);
    padding: 12px 18px;
    font-size: 15px;
    font-family: var(--nav-font);
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    border-radius: 6px;
    letter-spacing: 0.3px;
  }

  .navmenu a::after {
    content: "";
    position: absolute;
    bottom: 8px;
    left: 18px;
    right: 18px;
    height: 2px;
    background: var(--nav-hover-color);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 2px;
  }

  .navmenu a:hover::after,
  .navmenu .active::after {
    transform: scaleX(1);
  }
  
  .navmenu a:hover {
    background: color-mix(in srgb, var(--nav-hover-color), transparent 95%);
  }
  
  .navmenu .active {
    background: color-mix(in srgb, var(--nav-hover-color), transparent 92%);
  }

  .navmenu a:focus-visible {
    outline: 3px solid var(--accent-color);
    outline-offset: 3px;
    border-radius: 4px;
  }

  .navmenu a i,
  .navmenu a:focus i {
    font-size: 12px;
    line-height: 0;
    margin-left: 5px;
    transition: 0.3s;
  }

  .navmenu li:last-child a {
    padding-right: 18px;
  }

  .navmenu li:hover>a,
  .navmenu .active,
  .navmenu .active:focus {
    color: var(--nav-hover-color);
  }

  .navmenu .dropdown ul {
    margin: 0;
    padding: 10px 0;
    background: var(--nav-dropdown-background-color);
    display: block;
    position: absolute;
    visibility: hidden;
    left: 14px;
    top: 130%;
    opacity: 0;
    transition: 0.3s;
    border-radius: 4px;
    z-index: 99;
    box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.1);
  }

  .navmenu .dropdown ul li {
    min-width: 200px;
  }

  .navmenu .dropdown ul a {
    padding: 10px 20px;
    font-size: 15px;
    text-transform: none;
    color: var(--nav-dropdown-color);
  }

  .navmenu .dropdown ul a i {
    font-size: 12px;
  }

  .navmenu .dropdown ul a:hover,
  .navmenu .dropdown ul .active:hover,
  .navmenu .dropdown ul li:hover>a {
    color: var(--nav-dropdown-hover-color);
  }

  .navmenu .dropdown:hover>ul {
    opacity: 1;
    top: 100%;
    visibility: visible;
  }

  .navmenu .dropdown .dropdown ul {
    top: 0;
    left: -90%;
    visibility: hidden;
  }

  .navmenu .dropdown .dropdown:hover>ul {
    opacity: 1;
    top: 0;
    left: -100%;
    visibility: visible;
  }
}

/* Navmenu - Mobile */
@media (max-width: 1199px) {
  .mobile-nav-toggle {
    color: var(--nav-color);
    font-size: 28px;
    line-height: 0;
    margin-right: 10px;
    cursor: pointer;
    transition: color 0.3s;
    display: block !important;
    z-index: 9999;
    position: relative;
    pointer-events: auto;
    -webkit-tap-highlight-color: transparent;
    user-select: none;
    -webkit-user-select: none;
  }

  .mobile-nav-toggle:hover {
    color: var(--accent-color);
  }

  .navmenu {
    padding: 0;
    z-index: 9997;
    position: relative;
  }

  .navmenu ul {
    display: none !important;
    list-style: none;
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 20px 0;
    margin: 0;
    background-color: var(--nav-mobile-background-color);
    overflow-y: auto;
    overflow-x: hidden;
    transition: all 0.3s ease;
    z-index: 9998;
    box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.1);
    -webkit-overflow-scrolling: touch;
  }

  .navmenu ul li {
    width: 100%;
    margin: 0;
    padding: 0;
  }

  .navmenu a,
  .navmenu a:focus {
    color: var(--nav-dropdown-color);
    padding: 15px 20px;
    font-family: var(--nav-font);
    font-size: 16px;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: space-between;
    white-space: nowrap;
    transition: all 0.3s ease;
    width: 100%;
    border-bottom: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
  }

  .navmenu a:last-child {
    border-bottom: none;
  }

  .navmenu a i,
  .navmenu a:focus i {
    font-size: 12px;
    line-height: 0;
    margin-left: 5px;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: 0.3s;
    background-color: color-mix(in srgb, var(--accent-color), transparent 90%);
  }

  .navmenu a i:hover,
  .navmenu a:focus i:hover {
    background-color: var(--accent-color);
    color: var(--contrast-color);
  }

  .navmenu a:hover,
  .navmenu .active,
  .navmenu .active:focus {
    color: var(--nav-dropdown-hover-color);
    background-color: color-mix(in srgb, var(--accent-color), transparent 95%);
  }

  .navmenu .active i,
  .navmenu .active:focus i {
    background-color: var(--accent-color);
    color: var(--contrast-color);
    transform: rotate(180deg);
  }

  .navmenu .dropdown ul {
    position: static;
    display: none;
    z-index: 99;
    padding: 10px 0;
    margin: 0;
    background-color: color-mix(in srgb, var(--nav-dropdown-background-color), transparent 50%);
    border: none;
    border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
    box-shadow: none;
    transition: all 0.3s ease-in-out;
  }

  .navmenu .dropdown ul li {
    padding: 0;
  }

  .navmenu .dropdown ul a {
    padding: 12px 20px 12px 40px;
    font-size: 15px;
    border-bottom: 1px solid color-mix(in srgb, var(--default-color), transparent 95%);
  }

  .navmenu .dropdown ul ul {
    background-color: color-mix(in srgb, var(--nav-dropdown-background-color), transparent 70%);
  }

  .navmenu .dropdown>.dropdown-active {
    display: block;
    background-color: color-mix(in srgb, var(--accent-color), transparent 98%);
  }

  .mobile-nav-active {
    overflow: hidden;
    position: fixed;
    width: 100%;
    height: 100%;
  }

  .mobile-nav-active .mobile-nav-toggle {
    color: var(--nav-color);
    position: fixed;
    font-size: 32px;
    top: 20px;
    right: 20px;
    margin-right: 0;
    z-index: 10000;
    background: var(--nav-mobile-background-color);
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  }

  .mobile-nav-active .navmenu {
    position: fixed;
    overflow: hidden;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    transition: all 0.3s ease;
    z-index: 9999;
  }

  .mobile-nav-active .navmenu>ul {
    display: block !important;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    padding-top: 70px;
    visibility: visible;
    opacity: 1;
  }

  /* Mode clair - Menu mobile */
  body.light-mode .mobile-nav-active .navmenu {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
  }

  body.light-mode .mobile-nav-active .navmenu>ul {
    background-color: #ffffff;
    box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.15);
  }

  body.light-mode .mobile-nav-active .mobile-nav-toggle {
    background: #ffffff;
    color: #000000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
  }

  /* Améliorations pour très petits écrans */
  @media (max-width: 576px) {
    .mobile-nav-active .navmenu>ul {
      padding-top: 60px;
      padding-left: 0;
      padding-right: 0;
    }

    .navmenu a,
    .navmenu a:focus {
      padding: 14px 15px;
      font-size: 15px;
    }

    .navmenu .dropdown ul a {
      padding: 10px 15px 10px 35px;
      font-size: 14px;
    }

    .mobile-nav-active .mobile-nav-toggle {
      top: 15px;
      right: 15px;
      width: 40px;
      height: 40px;
      font-size: 28px;
    }
  }

  /* Amélioration du scroll sur iOS */
  @supports (-webkit-overflow-scrolling: touch) {
    .mobile-nav-active .navmenu>ul {
      -webkit-overflow-scrolling: touch;
    }
  }
}

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

.footer .footer-top {
  padding-top: 50px;
  border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

.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 {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 50%);
  font-size: 16px;
  color: color-mix(in srgb, var(--default-color), transparent 50%);
  margin-right: 10px;
  transition: 0.3s;
}

.footer .social-links a:hover {
  color: var(--accent-color);
  border-color: var(--accent-color);
  background: color-mix(in srgb, var(--accent-color), transparent 90%);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px color-mix(in srgb, var(--accent-color), transparent 50%);
}

.footer .social-links a:focus-visible {
  outline: 3px solid var(--accent-color);
  outline-offset: 3px;
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent-color), transparent 30%);
}

.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);
  transform: translateX(5px);
  transition: all 0.3s ease;
}

.footer .footer-links ul a:focus-visible {
  outline: 2px solid var(--accent-color);
  outline-offset: 2px;
  border-radius: 4px;
}

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

.footer .copyright {
  padding-top: 25px;
  padding-bottom: 25px;
  background-color: color-mix(in srgb, var(--default-color), transparent 95%);
}

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

.footer .credits {
  margin-top: 6px;
  font-size: 13px;
}

/*--------------------------------------------------------------
# Preloader
--------------------------------------------------------------*/
#preloader {
  position: fixed;
  inset: 0;
  z-index: 999999;
  overflow: hidden;
  background: var(--background-color);
  transition: opacity 0.15s ease-out, visibility 0.15s ease-out;
  opacity: 1;
  visibility: visible;
}

#preloader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

#preloader:before {
  content: "";
  position: fixed;
  top: calc(50% - 30px);
  left: calc(50% - 30px);
  border: 4px solid #ffffff;
  border-color: var(--accent-color) transparent var(--accent-color) transparent;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  animation: animate-preloader 1s linear infinite;
  will-change: transform;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
}

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

  100% {
    transform: rotate(360deg);
  }
}

/*--------------------------------------------------------------
# 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);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px color-mix(in srgb, var(--accent-color), transparent 50%);
}

.scroll-top:focus-visible {
  outline: 3px solid var(--accent-color);
  outline-offset: 3px;
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent-color), transparent 30%);
}

.scroll-top:active {
  transform: translateY(0);
}

.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);
  padding: 20px 0;
  position: relative;
}

.page-title h1 {
  font-size: 28px;
  font-weight: 700;
  margin: 0;
}

.page-title .breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  padding: 0 0 10px 0;
  margin: 0;
  font-size: 14px;
  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%);
}

/*--------------------------------------------------------------
# Global Sections
--------------------------------------------------------------*/
section,
.section {
  color: var(--default-color);
  background-color: var(--background-color);
  padding: 60px 0;
  scroll-margin-top: 90px;
  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: 3.5rem;
  font-weight: 300;
  line-height: 1.2;
  color: var(--heading-color);
  margin-bottom: 1.5rem;
  letter-spacing: -1px;
}

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

.section-title .subtitle {
  display: inline-block;
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--accent-color);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 1.5rem;
  position: relative;
}

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

.section-title p {
  font-size: 1.125rem;
  line-height: 1.8;
  color: color-mix(in srgb, var(--default-color), transparent 25%);
  max-width: 900px;
  margin: 0 auto;
  text-wrap: balance;
}

/*--------------------------------------------------------------
# Hero Section - Modern Minimalist Design
--------------------------------------------------------------*/
.hero {
  padding-top: 80px;
  height: 100vh;
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-bottom: 80px;
}

.hero img {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  -webkit-object-fit: cover;
  -moz-object-fit: cover;
  object-fit: cover;
  -webkit-object-position: center center;
  object-position: center center;
  z-index: 1;
  -webkit-will-change: transform, opacity;
  will-change: transform, opacity;
  -webkit-transform: scale(1);
  -moz-transform: scale(1);
  -ms-transform: scale(1);
  transform: scale(1);
  -webkit-transition: opacity 0.3s ease-out;
  -moz-transition: opacity 0.3s ease-out;
  -o-transition: opacity 0.3s ease-out;
  transition: opacity 0.3s ease-out;
  -webkit-filter: brightness(0.4);
  filter: brightness(0.4);
}

/* Sophisticated Gradient Overlay */
.hero:before {
  content: "";
  background: linear-gradient(
    180deg,
    color-mix(in srgb, var(--background-color), transparent 0%) 0%,
    color-mix(in srgb, var(--background-color), transparent 40%) 50%,
    color-mix(in srgb, var(--background-color), transparent 60%) 100%
  );
  position: absolute;
  inset: 0;
  z-index: 2;
}

.hero:after {
  display: none;
}

/* Minimalist Grid Overlay */
.hero-grid-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background-image: linear-gradient(color-mix(in srgb, var(--contrast-color), transparent 2%) 1px, transparent 1px), linear-gradient(90deg, color-mix(in srgb, var(--contrast-color), transparent 2%) 1px, transparent 1px);
  background-size: 50px 50px;
  opacity: 0.05;
  pointer-events: none;
}

/* Accent Line */
.hero-accent-line {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 200px;
  background: linear-gradient(180deg, transparent, var(--accent-color), transparent);
  z-index: 3;
  opacity: 0.6;
}

.hero .container {
  position: relative;
  z-index: 3;
}

/* Hero Content - Modern Minimalist Layout */
.hero-content {
  padding-right: 40px;
}

/* Hero Role - Animated Text */
.hero-role {
  font-size: 56px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 32px;
  color: var(--contrast-color);
  letter-spacing: -0.02em;
}

.hero-role .role-prefix {
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  font-weight: 400;
  font-size: 0.5em;
  display: block;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 16px;
}

.hero-role .typed {
  color: var(--accent-color);
  font-weight: 700;
  display: inline-block;
  min-width: 200px;
}

.hero-role .typed-cursor {
  color: var(--accent-color);
  font-weight: 700;
  animation: blink-cursor 1s infinite;
  margin-left: 4px;
}

@keyframes blink-cursor {
  0%, 50% { opacity: 1; }
  51%, 100% { opacity: 0; }
}

/* Hero Description */
.hero-description {
  font-size: 18px;
  line-height: 1.8;
  color: color-mix(in srgb, var(--default-color), transparent 35%);
  margin-bottom: 48px;
  max-width: 580px;
}

/* Hero Actions - Modern Minimalist Buttons */
.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.btn-hero-modern {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  border: none;
  cursor: pointer;
}

/* Bouton Principal - Commencer un projet */
.btn-hero-primary-modern {
  background: var(--accent-color);
  color: var(--contrast-color);
  box-shadow: 0 4px 20px color-mix(in srgb, var(--accent-color), transparent 40%);
}

.btn-hero-primary-modern::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, color-mix(in srgb, var(--accent-color), transparent 15%), var(--accent-color));
  opacity: 0;
  transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 0;
}

.btn-hero-primary-modern::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--accent-color), color-mix(in srgb, var(--accent-color), black 15%));
  opacity: 0;
  transition: opacity 0.2s ease;
  z-index: 0;
}

.btn-hero-primary-modern:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px color-mix(in srgb, var(--accent-color), transparent 50%);
  color: var(--contrast-color);
}

.btn-hero-primary-modern:hover::before {
  opacity: 1;
}

.btn-hero-primary-modern:active {
  transform: translateY(0);
  box-shadow: 0 2px 10px color-mix(in srgb, var(--accent-color), transparent 40%);
}

.btn-hero-primary-modern:active::after {
  opacity: 1;
}

.btn-hero-primary-modern span,
.btn-hero-primary-modern i {
  position: relative;
  z-index: 1;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), color 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-hero-primary-modern:hover span,
.btn-hero-primary-modern:hover i {
  color: var(--contrast-color);
}

.btn-hero-primary-modern:hover i {
  transform: translateX(4px);
}

.btn-hero-primary-modern:active i {
  transform: translateX(2px);
}

/* Bouton Outline - En savoir plus */
.btn-hero-outline-modern {
  background: transparent;
  color: var(--contrast-color);
  border: 2px solid color-mix(in srgb, var(--contrast-color), transparent 30%);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

/* Fallback pour les navigateurs qui ne supportent pas backdrop-filter */
@supports not (backdrop-filter: blur(10px)) {
  .btn-hero-outline-modern {
    background: rgba(20, 20, 20, 0.7);
  }
}

.btn-hero-outline-modern::before {
  content: "";
  position: absolute;
  inset: 0;
  background: color-mix(in srgb, var(--accent-color), transparent 15%);
  opacity: 0;
  transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 0;
  border-radius: 6px;
}

.btn-hero-outline-modern::after {
  content: "";
  position: absolute;
  inset: 0;
  background: color-mix(in srgb, var(--accent-color), transparent 25%);
  opacity: 0;
  transition: opacity 0.2s ease;
  z-index: 0;
  border-radius: 6px;
}

.btn-hero-outline-modern:hover {
  border-color: var(--accent-color);
  background: color-mix(in srgb, var(--accent-color), transparent 10%);
  color: var(--contrast-color);
  transform: translateY(-2px);
  box-shadow: 0 4px 20px color-mix(in srgb, var(--accent-color), transparent 30%);
}

.btn-hero-outline-modern:hover::before {
  opacity: 1;
}

.btn-hero-outline-modern:active {
  transform: translateY(0);
  border-color: color-mix(in srgb, var(--accent-color), transparent 20%);
  box-shadow: 0 2px 10px color-mix(in srgb, var(--accent-color), transparent 20%);
}

.btn-hero-outline-modern:active::after {
  opacity: 1;
}

.btn-hero-outline-modern span,
.btn-hero-outline-modern i {
  position: relative;
  z-index: 1;
  transition: color 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-hero-outline-modern:hover span,
.btn-hero-outline-modern:hover i {
  color: var(--contrast-color);
}

.btn-hero-modern i {
  font-size: 16px;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-hero-modern:focus-visible {
  outline: 3px solid var(--accent-color);
  outline-offset: 3px;
  box-shadow: 0 0 0 6px color-mix(in srgb, var(--accent-color), transparent 30%);
}

/* Hero Stats Modern - Minimalist Discreet Design */
.hero-stats-modern {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.stat-card-modern {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 0;
  background: transparent;
  border: none;
  border-radius: 0;
  transition: none;
  position: relative;
  overflow: visible;
}

.stat-card-modern::before {
  display: none;
}

.stat-card-modern:hover {
  transform: none;
  border-color: transparent;
  box-shadow: none;
}

.stat-icon-modern {
  display: none;
}

.stat-content-modern {
  flex: 1;
}

.stat-number-modern {
  font-size: 32px;
  font-weight: 300;
  color: color-mix(in srgb, var(--contrast-color), transparent 20%);
  line-height: 1.2;
  margin-bottom: 4px;
  letter-spacing: -0.01em;
  font-family: var(--heading-font);
}

.stat-label-modern {
  font-size: 13px;
  color: color-mix(in srgb, var(--default-color), transparent 50%);
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0.3px;
  line-height: 1.4;
}

/* Hero Social Modern - Horizontal Minimalist */
.hero-social-modern {
  margin-top: 48px;
}

.social-links-modern {
  display: flex;
  gap: 12px;
  align-items: center;
}

.social-link-modern {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
  border-radius: 10px;
  background: color-mix(in srgb, var(--surface-color), transparent 40%);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 85%);
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  font-size: 18px;
  -webkit-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  -moz-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  -o-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

/* Fallback pour les navigateurs qui ne supportent pas backdrop-filter */
@supports not (backdrop-filter: blur(10px)) {
  .social-link-modern {
    background: rgba(28, 28, 28, 0.8);
  }
}

.social-link-modern::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--accent-color);
  opacity: 0;
  transition: opacity 0.3s ease;
  border-radius: 10px;
}

.social-link-modern:hover {
  border-color: var(--accent-color);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px color-mix(in srgb, var(--accent-color), transparent 40%);
}

.social-link-modern:hover::before {
  opacity: 1;
}

.social-link-modern:hover i {
  position: relative;
  z-index: 1;
  color: var(--contrast-color);
}

.social-link-modern:focus-visible {
  outline: 3px solid var(--accent-color);
  outline-offset: 3px;
  box-shadow: 0 0 0 6px color-mix(in srgb, var(--accent-color), transparent 30%);
}

/* Scroll Indicator Modern - Minimalist */
.scroll-indicator-modern {
  position: absolute;
  bottom: 60px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
}

.scroll-link-modern {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: color-mix(in srgb, var(--default-color), transparent 50%);
  transition: all 0.3s ease;
}

.scroll-line-modern {
  width: 1px;
  height: 40px;
  background: linear-gradient(180deg, var(--accent-color), transparent);
  animation: scroll-line 2s infinite;
}

@keyframes scroll-line {
  0% {
    opacity: 0;
    transform: translateY(-10px);
  }
  50% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translateY(10px);
  }
}

.scroll-text-modern {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 600;
  color: color-mix(in srgb, var(--default-color), transparent 50%);
  transition: color 0.3s ease;
}

.scroll-link-modern:hover .scroll-text-modern {
  color: var(--accent-color);
}

.scroll-link-modern:focus-visible {
  outline: 3px solid var(--accent-color);
  outline-offset: 8px;
  border-radius: 4px;
}

/* Responsive Design - Desktop (1200px+) */
@media (min-width: 1200px) {
  .hero {
    min-height: 100vh;
  }
  
  .hero-role {
    font-size: 56px;
  }
  
  .hero-description {
    font-size: 18px;
  }
}

/* Responsive Design - Tablet Landscape (992px - 1199px) */
@media (max-width: 1199px) and (min-width: 992px) {
  .hero-content {
    padding-right: 20px;
  }
  
  .hero-role {
    font-size: 48px;
  }
  
  .hero-description {
    font-size: 17px;
  }
}

/* Responsive Design - Tablet Portrait (768px - 991px) */
@media (max-width: 992px) {
  .hero-content {
    padding-right: 0;
    margin-bottom: 60px;
    text-align: center;
  }

  .hero-role {
    font-size: 42px;
    text-align: center;
  }

  .hero-description {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    font-size: 17px;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-stats-modern {
    max-width: 500px;
    margin: 0 auto;
  }

  .hero-social-modern {
    text-align: center;
  }

  .social-links-modern {
    justify-content: center;
  }

  .hero-accent-line {
    display: none;
  }
  
  /* Reduce animation complexity on tablet */
  .hero img {
    will-change: auto;
  }
  
  .scroll-line-modern {
    animation-duration: 2.5s;
  }
}

/* Responsive Design - Mobile Landscape (576px - 767px) */
@media (max-width: 768px) {
  .hero {
    padding-bottom: 80px;
    height: 100vh;
    min-height: 100vh;
  }

  .hero img {
    -webkit-filter: brightness(0.5);
    filter: brightness(0.5);
    -webkit-object-position: center center;
    object-position: center center;
    -webkit-object-fit: cover;
    -moz-object-fit: cover;
    object-fit: cover;
    will-change: auto;
    -webkit-transform: scale(1) translateZ(0);
    -moz-transform: scale(1) translateZ(0);
    -ms-transform: scale(1) translateZ(0);
    transform: scale(1) translateZ(0);
  }

  .hero:before {
    background: linear-gradient(
      180deg,
      color-mix(in srgb, var(--background-color), transparent 0%) 0%,
      color-mix(in srgb, var(--background-color), transparent 30%) 50%,
      color-mix(in srgb, var(--background-color), transparent 50%) 100%
    );
  }

  .hero-role {
    font-size: 32px;
  }

  .hero-role .role-prefix {
    font-size: 14px;
  }

  .hero-description {
    font-size: 16px;
    margin-bottom: 36px;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
    gap: 12px;
  }

  .btn-hero-modern {
    width: 100%;
    max-width: 320px;
    justify-content: center;
  }

  .stat-card-modern {
    gap: 12px;
  }

  .stat-number-modern {
    font-size: 28px;
  }

  .stat-label-modern {
    font-size: 12px;
  }

  .hero-social-modern {
    margin-top: 36px;
  }
  
  /* Disable complex animations on mobile */
  .scroll-line-modern {
    animation: none;
    opacity: 0.5;
  }
  
  .hero-grid-overlay {
    opacity: 0.03;
  }
}

/* Responsive Design - Mobile Portrait (max-width: 575px) */
@media (max-width: 576px) {
  .hero {
    height: 100vh;
    min-height: 100vh;
    padding-top: 60px;
    padding-bottom: 60px;
  }
  
  .hero img {
    -webkit-filter: brightness(0.6);
    filter: brightness(0.6);
    -webkit-object-position: center center;
    object-position: center center;
    -webkit-object-fit: cover;
    -moz-object-fit: cover;
    object-fit: cover;
    will-change: auto;
  }

  .hero:before {
    background: linear-gradient(
      180deg,
      color-mix(in srgb, var(--background-color), transparent 0%) 0%,
      color-mix(in srgb, var(--background-color), transparent 25%) 50%,
      color-mix(in srgb, var(--background-color), transparent 45%) 100%
    );
  }

  .hero-role {
    font-size: 28px;
    line-height: 1.3;
  }
  
  .hero-role .role-prefix {
    font-size: 12px;
  }

  .hero-description {
    font-size: 15px;
    line-height: 1.6;
  }

  .stat-card-modern {
    gap: 10px;
  }

  .stat-number-modern {
    font-size: 24px;
  }

  .stat-label-modern {
    font-size: 11px;
  }
  
  .btn-hero-modern {
    padding: 12px 24px;
    font-size: 14px;
  }
  
  /* Disable all non-essential animations on small mobile */
  .hero-grid-overlay {
    display: none;
  }
  
  .scroll-indicator-modern {
    bottom: 40px;
  }
}

/*--------------------------------------------------------------
# About Section
--------------------------------------------------------------*/
.about {
  overflow: hidden;
  position: relative;
}

.about::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -20%;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, color-mix(in srgb, var(--accent-color), transparent 85%) 0%, transparent 70%);
  border-radius: 50%;
  z-index: 0;
  pointer-events: none;
}

.about .container {
  position: relative;
  z-index: 1;
}

.about .profile-card {
  background: var(--surface-color);
  border-radius: 24px;
  padding: 40px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
  position: sticky;
  top: 100px;
}

.about .profile-card .profile-header {
  text-align: center;
  padding-bottom: 30px;
  border-bottom: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

.about .profile-card .profile-header .profile-avatar {
  width: 140px;
  height: 140px;
  margin: 0 auto 24px;
  position: relative;
  border-radius: 50%;
  padding: 6px;
  background: linear-gradient(135deg, var(--accent-color), color-mix(in srgb, var(--accent-color), #ff6b9d 50%));
}

.about .profile-card .profile-header .profile-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  border: 4px solid var(--surface-color);
}

.about .profile-card .profile-header .profile-avatar .status-indicator {
  position: absolute;
  bottom: 8px;
  right: 8px;
  width: 24px;
  height: 24px;
  background: #10b981;
  border: 4px solid var(--surface-color);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

.about .profile-card .profile-header h3 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--heading-color);
}

.about .profile-card .profile-header .role {
  display: inline-block;
  font-size: 15px;
  color: var(--accent-color);
  font-weight: 500;
  margin-bottom: 16px;
}

.about .profile-card .profile-header .rating {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  margin-top: 12px;
}

.about .profile-card .profile-header .rating i {
  color: #fbbf24;
  font-size: 16px;
}

.about .profile-card .profile-header .rating span {
  margin-left: 8px;
  font-weight: 600;
  color: var(--default-color);
  font-size: 15px;
}

.about .profile-card .profile-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding: 30px 0;
  border-bottom: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
  align-items: start;
}

.about .profile-card .profile-stats .stat-item {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 60px;
}

.about .profile-card .profile-stats .stat-item h4 {
  font-size: 28px;
  font-weight: 700;
  color: var(--accent-color);
  margin-bottom: 6px;
  line-height: 1.2;
  min-height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about .profile-card .profile-stats .stat-item p {
  font-size: 13px;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin: 0;
  line-height: 1.4;
  min-height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about .profile-card .profile-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 30px 0;
  border-bottom: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

.about .profile-card .profile-actions a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 24px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.about .profile-card .profile-actions a.btn-primary {
  background: var(--accent-color);
  color: var(--contrast-color);
}

.about .profile-card .profile-actions a.btn-primary:hover {
  background: color-mix(in srgb, var(--accent-color), #000 15%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.about .profile-card .profile-actions a.btn-secondary {
  background: color-mix(in srgb, var(--accent-color), transparent 90%);
  color: var(--accent-color);
}

.about .profile-card .profile-actions a.btn-secondary:hover {
  background: color-mix(in srgb, var(--accent-color), transparent 85%);
}

.about .profile-card .profile-actions a i {
  font-size: 18px;
}

.about .profile-card .social-connect {
  display: flex;
  justify-content: center;
  gap: 12px;
  padding-top: 30px;
}

.about .profile-card .social-connect a {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: color-mix(in srgb, var(--default-color), transparent 94%);
  border-radius: 12px;
  color: var(--default-color);
  font-size: 18px;
  transition: all 0.3s ease;
}

.about .profile-card .social-connect a:hover {
  background: var(--accent-color);
  color: var(--contrast-color);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px color-mix(in srgb, var(--accent-color), transparent 50%);
}

.about .profile-card .social-connect a:focus-visible {
  outline: 3px solid var(--accent-color);
  outline-offset: 3px;
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent-color), transparent 30%);
}

.about .content-wrapper .bio-section {
  margin-bottom: 50px;
}

.about .content-wrapper .bio-section .section-tag {
  display: inline-block;
  padding: 6px 16px;
  background: color-mix(in srgb, var(--accent-color), transparent 90%);
  color: var(--accent-color);
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 16px;
}

.about .content-wrapper .bio-section h2 {
  font-size: 36px;
  font-weight: 700;
  color: var(--heading-color);
  margin-bottom: 24px;
  line-height: 1.2;
}

.about .content-wrapper .bio-section p {
  font-size: 16px;
  line-height: 1.8;
  color: var(--default-color);
  margin-bottom: 16px;
}

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

.about .content-wrapper .details-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 50px;
}

.about .content-wrapper .details-grid .detail-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 24px;
  background: var(--surface-color);
  border-radius: 16px;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 92%);
  transition: all 0.3s ease;
}

.about .content-wrapper .details-grid .detail-item:hover {
  border-color: var(--accent-color);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.about .content-wrapper .details-grid .detail-item i {
  font-size: 28px;
  color: var(--accent-color);
  flex-shrink: 0;
}

.about .content-wrapper .details-grid .detail-item .detail-content span {
  display: block;
  font-size: 13px;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}

.about .content-wrapper .details-grid .detail-item .detail-content strong {
  display: block;
  font-size: 16px;
  color: var(--heading-color);
  font-weight: 600;
}

.about .content-wrapper .skills-showcase .section-tag {
  display: inline-block;
  padding: 6px 16px;
  background: color-mix(in srgb, var(--accent-color), transparent 90%);
  color: var(--accent-color);
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 16px;
}

.about .content-wrapper .skills-showcase h3 {
  font-size: 28px;
  font-weight: 700;
  color: var(--heading-color);
  margin-bottom: 32px;
}

.about .content-wrapper .skills-showcase .skills-list .skill-item {
  margin-bottom: 28px;
}

.about .content-wrapper .skills-showcase .skills-list .skill-item .skill-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.about .content-wrapper .skills-showcase .skills-list .skill-item .skill-info .skill-name {
  font-size: 15px;
  font-weight: 600;
  color: var(--heading-color);
}

.about .content-wrapper .skills-showcase .skills-list .skill-item .skill-info .skill-percent {
  font-size: 15px;
  font-weight: 700;
  color: var(--accent-color);
}

.about .content-wrapper .skills-showcase .skills-list .skill-item .progress {
  height: 10px;
  border-radius: 10px;
  background: color-mix(in srgb, var(--default-color), transparent 94%);
  overflow: hidden;
}

.about .content-wrapper .skills-showcase .skills-list .skill-item .progress .progress-bar {
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--accent-color), color-mix(in srgb, var(--accent-color), #ff6b9d 50%));
  border-radius: 10px;
  transition: width 1.5s cubic-bezier(0.65, 0, 0.35, 1);
  position: relative;
}

.about .content-wrapper .skills-showcase .skills-list .skill-item .progress .progress-bar::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  animation: shimmer 2s infinite;
}

@keyframes pulse {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.6;
  }
}

@keyframes shimmer {
  0% {
    transform: translateX(-100%);
  }

  100% {
    transform: translateX(100%);
  }
}

@media (max-width: 992px) {
  .about .profile-card {
    position: static;
    margin-bottom: 40px;
  }

  .about .content-wrapper .bio-section h2 {
    font-size: 30px;
  }

  .about .content-wrapper .details-grid {
    grid-template-columns: 1fr;
  }

  .about .content-wrapper .skills-showcase h3 {
    font-size: 24px;
  }
}

@media (max-width: 576px) {
  .about .profile-card {
    padding: 30px 20px;
  }

  .about .profile-card .profile-header .profile-avatar {
    width: 120px;
    height: 120px;
  }

  .about .profile-card .profile-stats {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }

  .about .profile-card .profile-stats .stat-item h4 {
    font-size: 24px;
  }

  .about .content-wrapper .bio-section h2 {
    font-size: 26px;
  }

  .about .content-wrapper .details-grid .detail-item {
    padding: 18px;
  }

  .about .content-wrapper .details-grid .detail-item i {
    font-size: 24px;
  }
}

/*--------------------------------------------------------------
# Resume Section
--------------------------------------------------------------*/
.resume .section-header {
  margin-bottom: 2.5rem;
}

.resume .section-header .header-content .section-badge {
  display: inline-block;
  background: linear-gradient(135deg, var(--accent-color), color-mix(in srgb, var(--accent-color), #6c5ce7 20%));
  color: var(--contrast-color);
  padding: 0.5rem 1.2rem;
  border-radius: 25px;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
}

.resume .section-header .header-content h2 {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--heading-color);
  margin-bottom: 1rem;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.resume .section-header .header-content p {
  font-size: 1rem;
  line-height: 1.7;
  color: color-mix(in srgb, var(--default-color), transparent 35%);
  margin: 0;
}

.resume .experience-section .experience-cards {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.resume .experience-section .experience-cards .exp-card {
  background: var(--surface-color);
  border-radius: 16px;
  padding: 2rem;
  border: 2px solid color-mix(in srgb, var(--default-color), transparent 95%);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.resume .experience-section .experience-cards .exp-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, transparent, var(--accent-color), transparent);
  transform: translateX(-100%);
  transition: transform 0.3s ease;
}

.resume .experience-section .experience-cards .exp-card:hover {
  transform: translateY(-5px);
  border-color: color-mix(in srgb, var(--accent-color), transparent 80%);
  box-shadow: 0 15px 45px color-mix(in srgb, var(--default-color), transparent 85%);
}

.resume .experience-section .experience-cards .exp-card:hover::before {
  transform: translateX(0);
}

.resume .experience-section .experience-cards .exp-card.featured {
  border-color: color-mix(in srgb, var(--accent-color), transparent 70%);
  background: linear-gradient(135deg, var(--surface-color), color-mix(in srgb, var(--accent-color), transparent 95%));
}

.resume .experience-section .experience-cards .exp-card.featured::before {
  background: linear-gradient(90deg, var(--accent-color), color-mix(in srgb, var(--accent-color), #6c5ce7 20%), var(--accent-color));
}

.resume .experience-section .experience-cards .exp-card .card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

.resume .experience-section .experience-cards .exp-card .card-header .company-logo {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--accent-color), color-mix(in srgb, var(--accent-color), #6c5ce7 20%));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.resume .experience-section .experience-cards .exp-card .card-header .company-logo i {
  font-size: 1.3rem;
  color: var(--contrast-color);
}

.resume .experience-section .experience-cards .exp-card .card-header .period-badge {
  background: color-mix(in srgb, var(--accent-color), transparent 85%);
  color: var(--accent-color);
  padding: 0.4rem 1rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.resume .experience-section .experience-cards .exp-card .card-body h3 {
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--heading-color);
  margin-bottom: 0.5rem;
  letter-spacing: -0.01em;
}

.resume .experience-section .experience-cards .exp-card .card-body .company-name {
  font-size: 1rem;
  color: color-mix(in srgb, var(--default-color), transparent 25%);
  font-weight: 500;
  margin-bottom: 0.3rem;
}

.resume .experience-section .experience-cards .exp-card .card-body .duration {
  display: inline-block;
  font-size: 0.9rem;
  color: var(--accent-color);
  font-weight: 600;
  background: color-mix(in srgb, var(--accent-color), transparent 90%);
  padding: 0.2rem 0.8rem;
  border-radius: 12px;
  margin-bottom: 1rem;
}

.resume .experience-section .experience-cards .exp-card .card-body .description {
  font-size: 0.95rem;
  line-height: 1.6;
  color: color-mix(in srgb, var(--default-color), transparent 35%);
  margin-bottom: 1.5rem;
}

.resume .experience-section .experience-cards .exp-card .card-body .skills-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.resume .experience-section .experience-cards .exp-card .card-body .skills-tags .skill-tag {
  background: color-mix(in srgb, var(--accent-color), transparent 92%);
  color: var(--accent-color);
  padding: 0.3rem 0.8rem;
  border-radius: 15px;
  font-size: 0.8rem;
  font-weight: 500;
  border: 1px solid color-mix(in srgb, var(--accent-color), transparent 85%);
}

.resume .education-section .education-timeline .timeline-track {
  position: relative;
  padding-left: 2.5rem;
}

.resume .education-section .education-timeline .timeline-track::before {
  content: "";
  position: absolute;
  left: 10px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--accent-color), color-mix(in srgb, var(--accent-color), transparent 50%));
}

.resume .education-section .education-timeline .timeline-track .timeline-item {
  position: relative;
  margin-bottom: 3rem;
}

.resume .education-section .education-timeline .timeline-track .timeline-item:last-child {
  margin-bottom: 0;
}

.resume .education-section .education-timeline .timeline-track .timeline-item .timeline-marker {
  position: absolute;
  left: -3.5rem;
  top: 0;
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--accent-color), color-mix(in srgb, var(--accent-color), #6c5ce7 20%));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 4px solid var(--background-color);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent-color), transparent 80%);
}

.resume .education-section .education-timeline .timeline-track .timeline-item .timeline-marker i {
  font-size: 1.2rem;
  color: var(--contrast-color);
}

.resume .education-section .education-timeline .timeline-track .timeline-item .timeline-content {
  background: var(--surface-color);
  padding: 1.8rem;
  border-radius: 12px;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 95%);
  transition: all 0.3s ease;
}

.resume .education-section .education-timeline .timeline-track .timeline-item .timeline-content:hover {
  transform: translateX(5px);
  border-color: color-mix(in srgb, var(--accent-color), transparent 80%);
  box-shadow: 0 10px 30px color-mix(in srgb, var(--default-color), transparent 90%);
}

.resume .education-section .education-timeline .timeline-track .timeline-item .timeline-content .education-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.resume .education-section .education-timeline .timeline-track .timeline-item .timeline-content .education-meta .year-range {
  font-size: 0.9rem;
  color: var(--accent-color);
  font-weight: 600;
  background: color-mix(in srgb, var(--accent-color), transparent 90%);
  padding: 0.3rem 0.8rem;
  border-radius: 15px;
}

.resume .education-section .education-timeline .timeline-track .timeline-item .timeline-content .education-meta .degree-level {
  font-size: 0.8rem;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.1em;
}

.resume .education-section .education-timeline .timeline-track .timeline-item .timeline-content h4 {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--heading-color);
  margin-bottom: 0.5rem;
  letter-spacing: -0.01em;
}

.resume .education-section .education-timeline .timeline-track .timeline-item .timeline-content .institution {
  font-size: 1rem;
  color: color-mix(in srgb, var(--default-color), transparent 25%);
  font-weight: 500;
  margin-bottom: 1rem;
}

.resume .education-section .education-timeline .timeline-track .timeline-item .timeline-content .description {
  font-size: 0.95rem;
  line-height: 1.6;
  color: color-mix(in srgb, var(--default-color), transparent 35%);
  margin-bottom: 1.2rem;
}

.resume .education-section .education-timeline .timeline-track .timeline-item .timeline-content .achievement {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: color-mix(in srgb, var(--accent-color), transparent 92%);
  padding: 0.6rem 1rem;
  border-radius: 8px;
  border-left: 3px solid var(--accent-color);
}

.resume .education-section .education-timeline .timeline-track .timeline-item .timeline-content .achievement i {
  color: var(--accent-color);
  font-size: 1rem;
}

.resume .education-section .education-timeline .timeline-track .timeline-item .timeline-content .achievement span {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--accent-color);
}

.resume .education-section .education-timeline .timeline-track .timeline-item .timeline-content .certifications-list .cert-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.8rem 0;
  border-bottom: 1px solid color-mix(in srgb, var(--default-color), transparent 95%);
}

.resume .education-section .education-timeline .timeline-track .timeline-item .timeline-content .certifications-list .cert-item:last-child {
  border-bottom: none;
}

.resume .education-section .education-timeline .timeline-track .timeline-item .timeline-content .certifications-list .cert-item .cert-name {
  font-size: 0.9rem;
  color: var(--heading-color);
  font-weight: 500;
}

.resume .education-section .education-timeline .timeline-track .timeline-item .timeline-content .certifications-list .cert-item .cert-year {
  font-size: 0.8rem;
  color: var(--accent-color);
  font-weight: 600;
  background: color-mix(in srgb, var(--accent-color), transparent 90%);
  padding: 0.2rem 0.6rem;
  border-radius: 10px;
}

@media (max-width: 992px) {
  .resume .section-header {
    margin-bottom: 2rem;
  }

  .resume .section-header .header-content h2 {
    font-size: 2rem;
  }

  .resume .experience-section {
    margin-bottom: 3rem;
  }

  .resume .education-timeline .timeline-track .timeline-item .timeline-marker {
    width: 45px;
    height: 45px;
  }
}

@media (max-width: 768px) {
  .resume .section-header .header-content {
    text-align: center;
  }

  .resume .section-header .header-content h2 {
    font-size: 1.8rem;
  }

  .resume .experience-section .experience-cards .exp-card {
    padding: 1.5rem;
  }

  .resume .experience-section .experience-cards .exp-card .card-header .company-logo {
    width: 45px;
    height: 45px;
  }

  .resume .experience-section .experience-cards .exp-card .card-header .company-logo i {
    font-size: 1.2rem;
  }

  .resume .education-section .education-timeline .timeline-track {
    padding-left: 2rem;
  }

  .resume .education-section .education-timeline .timeline-track::before {
    left: 20px;
  }

  .resume .education-section .education-timeline .timeline-track .timeline-item .timeline-marker {
    left: -2.3rem;
    width: 40px;
    height: 40px;
  }

  .resume .education-section .education-timeline .timeline-track .timeline-item .timeline-marker i {
    font-size: 1rem;
  }

  .resume .education-section .education-timeline .timeline-track .timeline-item .timeline-content {
    padding: 1.5rem;
  }
}

@media (max-width: 576px) {
  .resume .section-header .header-content .section-badge {
    font-size: 0.8rem;
    padding: 0.4rem 1rem;
  }

  .resume .section-header .header-content h2 {
    font-size: 1.6rem;
  }

  .resume .experience-section .experience-cards .exp-card {
    padding: 1.2rem;
  }

  .resume .experience-section .experience-cards .exp-card .card-header {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .resume .education-section .education-timeline .timeline-track .timeline-item .timeline-content {
    padding: 1.2rem;
  }

  .resume .education-section .education-timeline .timeline-track .timeline-item .timeline-content .education-meta {
    flex-direction: column;
    gap: 0.5rem;
    align-items: flex-start;
  }

  .resume .education-section .education-timeline .timeline-track .timeline-item .timeline-content .certifications-list .cert-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.3rem;
  }
}

/*--------------------------------------------------------------
# Services Section
--------------------------------------------------------------*/
.services .service-item {
  background: var(--surface-color);
  border: 2px solid color-mix(in srgb, var(--default-color), transparent 90%);
  border-radius: 16px;
  padding: 35px 25px;
  text-align: center;
  height: 100%;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  will-change: transform;
  transform: translateZ(0);
}

/* Optimize service animations on mobile */
@media (max-width: 768px) {
  .services .service-item {
    will-change: auto;
  }
  
  .services .service-item:hover {
    transform: translateY(-3px);
  }
}

.services .service-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--accent-color), color-mix(in srgb, var(--accent-color), transparent 50%));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.services .service-item:hover {
  border-color: var(--accent-color);
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

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

.services .service-item:hover .icon-wrapper {
  background: var(--accent-color);
  color: var(--contrast-color);
  transform: rotate(5deg) scale(1.05);
}

.services .service-item:hover .read-more {
  color: var(--accent-color);
}

.services .service-item:hover .read-more i {
  transform: translateX(5px);
}

.services .service-item.featured {
  border-color: var(--accent-color);
  box-shadow: 0 10px 30px rgba(54, 144, 231, 0.15);
}

.services .service-item.featured::before {
  transform: scaleX(1);
}

.services .featured-tag {
  position: absolute;
  top: 15px;
  right: -30px;
  background: var(--accent-color);
  color: var(--contrast-color);
  padding: 5px 35px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  transform: rotate(45deg);
  box-shadow: 0 3px 10px rgba(54, 144, 231, 0.3);
}

.services .icon-wrapper {
  width: 70px;
  height: 70px;
  margin: 0 auto 20px;
  background: color-mix(in srgb, var(--accent-color), transparent 90%);
  color: var(--accent-color);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.services .icon-wrapper i {
  font-size: 32px;
}

.services h4 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--heading-color);
}

.services p {
  font-size: 14px;
  line-height: 1.6;
  color: color-mix(in srgb, var(--default-color), transparent 25%);
  margin-bottom: 20px;
}

.services .read-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--heading-color);
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.services .read-more:hover {
  color: var(--accent-color);
}

.services .read-more:focus-visible {
  outline: 3px solid var(--accent-color);
  outline-offset: 3px;
  border-radius: 4px;
}

.services .read-more i {
  font-size: 14px;
  transition: transform 0.3s ease;
}

.services .cta-box {
  background: linear-gradient(135deg, var(--accent-color), color-mix(in srgb, var(--accent-color), #667eea 40%));
  border-radius: 20px;
  padding: 45px 50px;
  color: var(--contrast-color);
  position: relative;
  overflow: hidden;
}

.services .cta-box::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -20%;
  width: 400px;
  height: 400px;
  background: color-mix(in srgb, var(--contrast-color), transparent 90%);
  border-radius: 50%;
  z-index: 0;
}

.services .cta-box .row {
  position: relative;
  z-index: 1;
}

.services .cta-box h3 {
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--contrast-color);
}

.services .cta-box p {
  font-size: 15px;
  margin-bottom: 0;
  color: color-mix(in srgb, var(--contrast-color), transparent 15%);
}

.services .cta-box .cta-btn {
  display: inline-block;
  background: var(--contrast-color);
  color: var(--accent-color);
  padding: 14px 35px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.services .cta-box .cta-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
  color: var(--accent-color);
}

@media (max-width: 992px) {
  .services .cta-box {
    padding: 35px 30px;
  }

  .services .cta-box h3 {
    font-size: 22px;
    margin-bottom: 8px;
  }

  .services .cta-box p {
    font-size: 14px;
    margin-bottom: 20px;
  }

  .services .cta-box .cta-btn {
    margin-top: 10px;
  }
}

@media (max-width: 768px) {
  .services .service-item {
    padding: 30px 20px;
    margin-bottom: 20px;
  }

  .services .icon-wrapper {
    width: 60px;
    height: 60px;
    margin-bottom: 18px;
  }

  .services .icon-wrapper i {
    font-size: 28px;
  }

  .services h4 {
    font-size: 18px;
  }

  .services p {
    font-size: 13px;
  }

  .services .cta-box {
    padding: 30px 25px;
    text-align: center;
  }

  .services .cta-box::before {
    width: 300px;
    height: 300px;
  }
}

/*--------------------------------------------------------------
# Portfolio Section
--------------------------------------------------------------*/
.portfolio .portfolio-filters {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 50px;
  padding: 0;
  list-style: none;
}

@media (max-width: 768px) {
  .portfolio .portfolio-filters {
    gap: 8px;
    margin-bottom: 35px;
  }
}

.portfolio .portfolio-filters li {
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  background-color: transparent;
  color: var(--default-color);
  border: 2px solid color-mix(in srgb, var(--default-color), transparent 80%);
  position: relative;
  overflow: hidden;
}

.portfolio .portfolio-filters li::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: color-mix(in srgb, var(--accent-color), transparent 95%);
  transition: left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: -1;
}

.portfolio .portfolio-filters li:hover::before {
  left: 0;
}

@media (max-width: 768px) {
  .portfolio .portfolio-filters li {
    padding: 8px 16px;
    font-size: 13px;
  }
}

.portfolio .portfolio-filters li:hover {
  color: var(--accent-color);
  border-color: var(--accent-color);
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 6px 16px color-mix(in srgb, var(--accent-color), transparent 40%);
}

.portfolio .portfolio-filters li:focus-visible {
  outline: 3px solid var(--accent-color);
  outline-offset: 3px;
  border-radius: 6px;
}

.portfolio .portfolio-filters li.filter-active {
  background-color: var(--accent-color);
  color: var(--contrast-color);
  border-color: var(--accent-color);
  box-shadow: 0 4px 16px color-mix(in srgb, var(--accent-color), transparent 50%);
  transform: scale(1.05);
}

.portfolio .portfolio-filters li.filter-active::before {
  display: none;
}

.portfolio .portfolio-filters li.filter-active:focus-visible {
  outline: 3px solid var(--contrast-color);
  outline-offset: 3px;
}

.portfolio .portfolio-card {
  position: relative;
  margin-bottom: 30px;
  opacity: 0;
  animation: portfolioFadeIn 0.6s ease forwards;
}

@keyframes portfolioFadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.portfolio .portfolio-card.visible {
  opacity: 1;
}

.portfolio .portfolio-card .portfolio-image-container {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  aspect-ratio: 4/3;
  background: var(--surface-color);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.portfolio .portfolio-card:hover .portfolio-image-container {
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
  transform: translateY(-4px);
}

.portfolio .portfolio-card .portfolio-image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
  transform: translateZ(0) scale(1);
  backface-visibility: hidden;
}

/* Optimize portfolio animations on mobile */
@media (max-width: 768px) {
  .portfolio .portfolio-card .portfolio-image-container img {
    transition: transform 0.3s ease;
    will-change: auto;
  }
  
  .portfolio .portfolio-card:hover .portfolio-image-container img {
    transform: scale(1.02);
  }
}

.portfolio .portfolio-card .portfolio-image-container .portfolio-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.85) 100%);
  opacity: 0;
  transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 25px;
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}

.portfolio .portfolio-card .portfolio-image-container .portfolio-overlay .portfolio-info {
  align-self: flex-start;
  transform: translateY(10px);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1) 0.1s;
}

.portfolio .portfolio-card:hover .portfolio-image-container .portfolio-overlay .portfolio-info {
  transform: translateY(0);
}

.portfolio .portfolio-card .portfolio-image-container .portfolio-overlay .portfolio-actions {
  transform: translateY(10px);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1) 0.15s;
}

.portfolio .portfolio-card:hover .portfolio-image-container .portfolio-overlay .portfolio-actions {
  transform: translateY(0);
}

.portfolio .portfolio-card .portfolio-image-container .portfolio-overlay .portfolio-info .project-category {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--accent-color);
  background-color: rgba(255, 255, 255, 0.9);
  padding: 4px 10px;
  border-radius: 4px;
  margin-bottom: 8px;
  letter-spacing: 0.5px;
}

.portfolio .portfolio-card .portfolio-image-container .portfolio-overlay .portfolio-info h4 {
  color: white;
  font-size: 18px;
  font-weight: 600;
  margin: 0;
  line-height: 1.3;
}

.portfolio .portfolio-card .portfolio-image-container .portfolio-overlay .portfolio-actions {
  display: flex;
  gap: 10px;
  align-self: flex-end;
}

.portfolio .portfolio-card .portfolio-image-container .portfolio-overlay .portfolio-actions a {
  width: 44px;
  height: 44px;
  background-color: rgba(255, 255, 255, 0.95);
  color: var(--accent-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.portfolio .portfolio-card .portfolio-image-container .portfolio-overlay .portfolio-actions a:hover {
  background-color: var(--accent-color);
  color: var(--contrast-color);
  transform: scale(1.15) rotate(90deg);
  box-shadow: 0 8px 24px color-mix(in srgb, var(--accent-color), transparent 60%);
}

.portfolio .portfolio-card .portfolio-image-container .portfolio-overlay .portfolio-actions a:active {
  transform: scale(1.05) rotate(90deg);
}

.portfolio .portfolio-card .portfolio-image-container .portfolio-overlay .portfolio-actions a:focus-visible {
  outline: 3px solid var(--accent-color);
  outline-offset: 3px;
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent-color), transparent 30%);
}

.portfolio .portfolio-card .portfolio-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 15px;
  padding: 0 4px;
  transition: all 0.3s ease;
}

.portfolio .portfolio-card:hover .portfolio-meta {
  transform: translateY(-2px);
}

.portfolio .portfolio-card .portfolio-meta .project-tags {
  display: flex;
  gap: 8px;
}

.portfolio .portfolio-card .portfolio-meta .project-tags .tag {
  font-size: 11px;
  font-weight: 500;
  padding: 4px 10px;
  border-radius: 12px;
  background-color: color-mix(in srgb, var(--accent-color), transparent 90%);
  color: var(--accent-color);
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.portfolio .portfolio-card .portfolio-meta .project-year {
  font-size: 12px;
  font-weight: 500;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
}

.portfolio .portfolio-card:hover .portfolio-image-container img {
  transform: scale(1.08);
}

.portfolio .portfolio-card:hover .portfolio-image-container .portfolio-overlay {
  opacity: 1;
}

.portfolio .portfolio-bottom {
  margin-top: 60px;
  padding-top: 40px;
  border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

.portfolio .portfolio-bottom h3 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 8px;
}

.portfolio .portfolio-bottom p {
  font-size: 16px;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  margin-bottom: 0;
}

.portfolio .portfolio-bottom .btn-accent {
  display: inline-block;
  padding: 12px 28px;
  background-color: var(--accent-color);
  color: var(--contrast-color);
  border-radius: 6px;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.portfolio .portfolio-bottom .btn-accent:hover {
  background-color: color-mix(in srgb, var(--accent-color), black 10%);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px color-mix(in srgb, var(--accent-color), transparent 60%);
}

.portfolio .portfolio-bottom .btn-accent:focus-visible {
  outline: 3px solid var(--accent-color);
  outline-offset: 3px;
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent-color), transparent 30%);
}

.portfolio .portfolio-bottom .btn-accent:active {
  transform: translateY(0);
}

@media (max-width: 992px) {
  .portfolio .portfolio-bottom .col-lg-4 {
    text-align: center !important;
    margin-top: 20px;
  }
}

/*--------------------------------------------------------------
# Contact Section
--------------------------------------------------------------*/
.contact .info-item {
  background: var(--surface-color);
  padding: 30px;
  border-radius: 10px;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
  margin-bottom: 20px;
  display: flex;
  align-items: flex-start;
  transition: 0.3s;
}

.contact .info-item:hover {
  border-color: var(--accent-color);
  box-shadow: 0 5px 20px color-mix(in srgb, var(--default-color), transparent 90%);
}

.contact .info-item .icon-wrapper {
  width: 50px;
  height: 50px;
  background: color-mix(in srgb, var(--accent-color), transparent 90%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 20px;
  flex-shrink: 0;
  transition: 0.3s;
}

.contact .info-item .icon-wrapper i {
  color: var(--accent-color);
  font-size: 24px;
  transition: 0.3s;
}

.contact .info-item:hover .icon-wrapper {
  background: var(--accent-color);
}

.contact .info-item:hover .icon-wrapper i {
  color: var(--contrast-color);
}

.contact .info-item h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 5px;
  color: var(--heading-color);
}

.contact .info-item p {
  margin: 0;
  font-size: 14px;
  color: var(--default-color);
}

.contact .php-email-form {
  background: var(--surface-color);
  padding: 40px;
  border-radius: 10px;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

.contact .php-email-form .form-control {
  color: var(--default-color);
  background-color: var(--surface-color);
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 80%);
  padding: 12px 15px;
  font-size: 14px;
  border-radius: 5px;
  transition: 0.3s;
}

.contact .php-email-form .form-control:focus {
  border-color: var(--accent-color);
  box-shadow: 0 0 0 0.2rem color-mix(in srgb, var(--accent-color), transparent 80%);
  outline: 2px solid var(--accent-color);
  outline-offset: 2px;
}

.contact .php-email-form .form-control:focus-visible {
  outline: 3px solid var(--accent-color);
  outline-offset: 2px;
}

.contact .php-email-form .form-control::placeholder {
  color: color-mix(in srgb, var(--default-color), transparent 70%);
}

.contact .php-email-form textarea.form-control {
  min-height: 120px;
}

.contact .php-email-form button[type=submit] {
  background: var(--accent-color);
  color: var(--contrast-color);
  border: none;
  padding: 12px 40px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 5px;
  cursor: pointer;
  transition: 0.3s;
}

.contact .php-email-form button[type=submit]:hover {
  background: color-mix(in srgb, var(--accent-color), transparent 20%);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px color-mix(in srgb, var(--accent-color), transparent 50%);
}

.contact .php-email-form button[type=submit]:focus-visible {
  outline: 3px solid var(--accent-color);
  outline-offset: 3px;
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent-color), transparent 30%);
}

.contact .php-email-form button[type=submit]:active {
  transform: translateY(0);
}

@media (max-width: 768px) {
  .contact .info-item {
    padding: 20px;
  }

  .contact .info-item .icon-wrapper {
    width: 40px;
    height: 40px;
    margin-right: 15px;
  }

  .contact .info-item .icon-wrapper i {
    font-size: 20px;
  }

  .contact .info-item h3 {
    font-size: 16px;
  }

  .contact .php-email-form {
    padding: 30px 20px;
  }
}

/*--------------------------------------------------------------
# Portfolio Details Section
--------------------------------------------------------------*/
.portfolio-details .portfolio-details-slider {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  margin-bottom: 40px;
}

.portfolio-details .portfolio-details-slider img {
  width: 100%;
  height: auto;
  display: block;
}

.portfolio-details .swiper-wrapper {
  height: auto !important;
}

.portfolio-details .swiper-pagination {
  position: relative;
  margin-top: 20px;
  bottom: 0;
}

.portfolio-details .swiper-pagination .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background-color: color-mix(in srgb, var(--default-color), transparent 70%);
  opacity: 1;
  transition: all 0.3s;
}

.portfolio-details .swiper-pagination .swiper-pagination-bullet-active {
  background-color: var(--accent-color);
  width: 30px;
  border-radius: 6px;
}

.portfolio-details .portfolio-content h2 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--heading-color);
}

.portfolio-details .portfolio-content .meta-info {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 2px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

.portfolio-details .portfolio-content .meta-info span {
  font-size: 14px;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  display: flex;
  align-items: center;
  gap: 8px;
}

.portfolio-details .portfolio-content .meta-info span i {
  color: var(--accent-color);
  font-size: 16px;
}

.portfolio-details .portfolio-content h3 {
  font-size: 24px;
  font-weight: 700;
  margin-top: 40px;
  margin-bottom: 20px;
  color: var(--heading-color);
}

.portfolio-details .portfolio-content p {
  margin-bottom: 20px;
  line-height: 1.8;
}

.portfolio-details .portfolio-content .highlights-box {
  background: color-mix(in srgb, var(--accent-color), transparent 95%);
  border-left: 4px solid var(--accent-color);
  padding: 30px;
  border-radius: 8px;
  margin: 30px 0;
}

.portfolio-details .portfolio-content .highlights-box h4 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--heading-color);
}

.portfolio-details .portfolio-content .highlights-box ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.portfolio-details .portfolio-content .highlights-box ul li {
  padding: 10px 0;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
}

.portfolio-details .portfolio-content .highlights-box ul li i {
  color: var(--accent-color);
  font-size: 20px;
  flex-shrink: 0;
}

.portfolio-details .portfolio-content blockquote {
  background: var(--surface-color);
  border-radius: 12px;
  padding: 40px;
  margin: 40px 0;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  position: relative;
}

.portfolio-details .portfolio-content blockquote .quote-icon {
  position: absolute;
  top: 20px;
  left: 20px;
  font-size: 48px;
  color: color-mix(in srgb, var(--accent-color), transparent 80%);
  line-height: 1;
}

.portfolio-details .portfolio-content blockquote p {
  font-size: 18px;
  font-style: italic;
  color: var(--default-color);
  margin-bottom: 25px;
  padding-left: 40px;
  line-height: 1.8;
}

.portfolio-details .portfolio-content blockquote .author {
  display: flex;
  align-items: center;
  gap: 15px;
  padding-left: 40px;
}

.portfolio-details .portfolio-content blockquote .author img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid color-mix(in srgb, var(--accent-color), transparent 80%);
}

.portfolio-details .portfolio-content blockquote .author .author-info h5 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 5px;
  color: var(--heading-color);
}

.portfolio-details .portfolio-content blockquote .author .author-info span {
  font-size: 14px;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
}

.portfolio-details .sidebar .info-card,
.portfolio-details .sidebar .share-card,
.portfolio-details .sidebar .tags-card {
  background: var(--surface-color);
  border-radius: 12px;
  padding: 30px;
  margin-bottom: 30px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.portfolio-details .sidebar .info-card h3,
.portfolio-details .sidebar .share-card h3,
.portfolio-details .sidebar .tags-card h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 25px;
  color: var(--heading-color);
  padding-bottom: 15px;
  border-bottom: 2px solid color-mix(in srgb, var(--accent-color), transparent 80%);
}

.portfolio-details .sidebar .info-card .info-item {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 15px 0;
  border-bottom: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

.portfolio-details .sidebar .info-card .info-item:last-of-type {
  border-bottom: none;
  margin-bottom: 20px;
}

.portfolio-details .sidebar .info-card .info-item .label {
  font-weight: 600;
  font-size: 14px;
  color: var(--heading-color);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.portfolio-details .sidebar .info-card .info-item .value {
  font-size: 14px;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  text-align: right;
  max-width: 60%;
}

.portfolio-details .sidebar .info-card .btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 14px 30px;
  background: var(--accent-color);
  color: var(--contrast-color);
  border-radius: 8px;
  font-weight: 600;
  font-size: 15px;
  transition: all 0.3s;
  text-decoration: none;
}

.portfolio-details .sidebar .info-card .btn-primary:hover {
  background: color-mix(in srgb, var(--accent-color), transparent 15%);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.portfolio-details .sidebar .share-card .social-links {
  display: flex;
  gap: 12px;
}

.portfolio-details .sidebar .share-card .social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  border-radius: 8px;
  transition: all 0.3s;
  font-size: 18px;
}

.portfolio-details .sidebar .share-card .social-links a.facebook {
  background: color-mix(in srgb, #1877f2, transparent 90%);
  color: #1877f2;
}

.portfolio-details .sidebar .share-card .social-links a.facebook:hover {
  background: #1877f2;
  color: #ffffff;
}

.portfolio-details .sidebar .share-card .social-links a.twitter {
  background: color-mix(in srgb, #1da1f2, transparent 90%);
  color: #1da1f2;
}

.portfolio-details .sidebar .share-card .social-links a.twitter:hover {
  background: #1da1f2;
  color: #ffffff;
}

.portfolio-details .sidebar .share-card .social-links a.linkedin {
  background: color-mix(in srgb, #0077b5, transparent 90%);
  color: #0077b5;
}

.portfolio-details .sidebar .share-card .social-links a.linkedin:hover {
  background: #0077b5;
  color: #ffffff;
}

.portfolio-details .sidebar .share-card .social-links a.pinterest {
  background: color-mix(in srgb, #bd081c, transparent 90%);
  color: #bd081c;
}

.portfolio-details .sidebar .share-card .social-links a.pinterest:hover {
  background: #bd081c;
  color: #ffffff;
}

.portfolio-details .sidebar .tags-card .tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.portfolio-details .sidebar .tags-card .tags a {
  padding: 8px 16px;
  background: color-mix(in srgb, var(--default-color), transparent 95%);
  color: var(--default-color);
  border-radius: 6px;
  font-size: 13px;
  font-weight: 500;
  transition: all 0.3s;
  text-decoration: none;
}

.portfolio-details .sidebar .tags-card .tags a:hover {
  background: var(--accent-color);
  color: var(--contrast-color);
  transform: translateY(-2px);
}

@media (max-width: 991px) {
  .portfolio-details .portfolio-content h2 {
    font-size: 28px;
  }

  .portfolio-details .portfolio-content h3 {
    font-size: 22px;
  }
}

@media (max-width: 767px) {
  .portfolio-details .portfolio-content .meta-info {
    flex-direction: column;
    gap: 10px;
  }

  .portfolio-details .portfolio-content blockquote {
    padding: 30px 20px;
  }

  .portfolio-details .portfolio-content blockquote .quote-icon {
    font-size: 36px;
  }

  .portfolio-details .portfolio-content blockquote p {
    font-size: 16px;
    padding-left: 20px;
  }

  .portfolio-details .portfolio-content blockquote .author {
    padding-left: 20px;
  }

  .portfolio-details .sidebar .info-card .info-item {
    flex-direction: column;
    gap: 8px;
  }

  .portfolio-details .sidebar .info-card .info-item .value {
    max-width: 100%;
    text-align: left;
  }
}

/*--------------------------------------------------------------
# Service Details Section
--------------------------------------------------------------*/
.service-details .sticky-sidebar {
  position: sticky;
  top: 2rem;
}

@media (max-width: 992px) {
  .service-details .sticky-sidebar {
    position: static;
    margin-top: 3rem;
  }
}

.service-details .service-card {
  background: linear-gradient(135deg, var(--surface-color) 0%, color-mix(in srgb, var(--surface-color), var(--accent-color) 3%) 100%);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 32px color-mix(in srgb, var(--default-color), transparent 92%);
  margin-bottom: 2rem;
}

.service-details .service-card .card-header {
  background-color: var(--accent-color);
  color: var(--contrast-color);
  padding: 2.5rem 2rem;
  text-align: center;
}

.service-details .service-card .card-header .service-icon {
  width: 80px;
  height: 80px;
  background-color: color-mix(in srgb, var(--contrast-color), transparent 85%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}

.service-details .service-card .card-header .service-icon i {
  font-size: 2.5rem;
  color: var(--contrast-color);
}

.service-details .service-card .card-header h3 {
  font-size: 1.8rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--contrast-color);
}

.service-details .service-card .card-header .service-tagline {
  font-size: 0.95rem;
  opacity: 0.9;
  margin: 0;
}

.service-details .service-card .card-body {
  padding: 2rem;
}

.service-details .service-card .card-body .price-tag {
  text-align: center;
  padding: 1.5rem;
  background-color: color-mix(in srgb, var(--accent-color), transparent 95%);
  border-radius: 12px;
  margin-bottom: 2rem;
}

.service-details .service-card .card-body .price-tag .label {
  display: block;
  font-size: 0.85rem;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.5rem;
}

.service-details .service-card .card-body .price-tag .price {
  display: block;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--accent-color);
  line-height: 1;
}

.service-details .service-card .card-body .quick-info {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem;
}

.service-details .service-card .card-body .quick-info li {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid color-mix(in srgb, var(--default-color), transparent 92%);
}

.service-details .service-card .card-body .quick-info li:last-child {
  border-bottom: none;
}

.service-details .service-card .card-body .quick-info li i {
  font-size: 1.25rem;
  color: var(--accent-color);
  flex-shrink: 0;
}

.service-details .service-card .card-body .quick-info li span {
  font-size: 0.95rem;
  color: var(--default-color);
}

.service-details .service-card .card-body .cta-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.service-details .service-card .card-body .cta-buttons a {
  text-align: center;
  padding: 1rem;
  border-radius: 8px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s ease;
}

.service-details .service-card .card-body .cta-buttons a.btn-primary {
  background-color: var(--accent-color);
  color: var(--contrast-color);
  box-shadow: 0 4px 12px color-mix(in srgb, var(--accent-color), transparent 60%);
}

.service-details .service-card .card-body .cta-buttons a.btn-primary:hover {
  background-color: color-mix(in srgb, var(--accent-color), black 15%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px color-mix(in srgb, var(--accent-color), transparent 50%);
}

.service-details .service-card .card-body .cta-buttons a.btn-secondary {
  background-color: transparent;
  color: var(--accent-color);
  border: 2px solid var(--accent-color);
}

.service-details .service-card .card-body .cta-buttons a.btn-secondary:hover {
  background-color: color-mix(in srgb, var(--accent-color), transparent 90%);
}

.service-details .contact-card {
  background-color: var(--surface-color);
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 4px 16px color-mix(in srgb, var(--default-color), transparent 94%);
}

.service-details .contact-card h4 {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.service-details .contact-card>p {
  font-size: 0.95rem;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.service-details .contact-card .contact-methods {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.service-details .contact-card .contact-methods .contact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background-color: color-mix(in srgb, var(--default-color), transparent 97%);
  border-radius: 8px;
  text-decoration: none;
  color: var(--default-color);
  transition: all 0.3s ease;
}

.service-details .contact-card .contact-methods .contact-item i {
  font-size: 1.25rem;
  color: var(--accent-color);
}

.service-details .contact-card .contact-methods .contact-item span {
  font-size: 0.9rem;
}

.service-details .contact-card .contact-methods .contact-item:hover {
  background-color: color-mix(in srgb, var(--accent-color), transparent 90%);
  transform: translateX(5px);
}

.service-details .service-overview {
  margin-bottom: 3rem;
}

.service-details .service-overview .overview-header {
  margin-bottom: 1.5rem;
}

.service-details .service-overview .overview-header .badge {
  display: inline-block;
  padding: 0.5rem 1rem;
  background-color: color-mix(in srgb, var(--accent-color), transparent 85%);
  color: var(--accent-color);
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 1rem;
}

.service-details .service-overview .overview-header h2 {
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 0;
}

@media (max-width: 768px) {
  .service-details .service-overview .overview-header h2 {
    font-size: 2rem;
  }
}

.service-details .service-overview .lead-text {
  font-size: 1.15rem;
  line-height: 1.8;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
}

.service-details .service-image-showcase {
  position: relative;
  margin-bottom: 4rem;
  border-radius: 16px;
  overflow: hidden;
}

.service-details .service-image-showcase .main-image {
  width: 100%;
  display: block;
}

.service-details .service-image-showcase .image-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, color-mix(in srgb, var(--default-color), transparent 20%), transparent);
  padding: 2rem;
}

.service-details .service-image-showcase .image-overlay .tech-stack {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.service-details .service-image-showcase .image-overlay .tech-stack .tech-item {
  padding: 0.5rem 1rem;
  background-color: color-mix(in srgb, var(--accent-color), transparent 10%);
  color: var(--contrast-color);
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 500;
  backdrop-filter: blur(10px);
}

.service-details .features-grid {
  margin-bottom: 4rem;
}

.service-details .features-grid .section-heading {
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 2.5rem;
}

.service-details .features-grid .feature-box {
  background-color: var(--surface-color);
  padding: 2rem;
  border-radius: 12px;
  height: 100%;
  transition: all 0.3s ease;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 92%);
}

.service-details .features-grid .feature-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 24px color-mix(in srgb, var(--default-color), transparent 90%);
  border-color: color-mix(in srgb, var(--accent-color), transparent 80%);
}

.service-details .features-grid .feature-box:hover .icon-wrapper {
  background-color: var(--accent-color);
  color: var(--contrast-color);
}

.service-details .features-grid .feature-box .icon-wrapper {
  width: 60px;
  height: 60px;
  background-color: color-mix(in srgb, var(--accent-color), transparent 90%);
  color: var(--accent-color);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  transition: all 0.3s ease;
}

.service-details .features-grid .feature-box .icon-wrapper i {
  font-size: 1.75rem;
}

.service-details .features-grid .feature-box h4 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.service-details .features-grid .feature-box p {
  font-size: 0.95rem;
  line-height: 1.7;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  margin: 0;
}

.service-details .workflow-section {
  margin-bottom: 4rem;
}

.service-details .workflow-section .section-heading {
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 3rem;
}

.service-details .workflow-section .timeline {
  position: relative;
  padding-left: 4rem;
}

.service-details .workflow-section .timeline::before {
  content: "";
  position: absolute;
  left: 1.5rem;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--accent-color), color-mix(in srgb, var(--accent-color), transparent 80%));
}

.service-details .workflow-section .timeline .timeline-item {
  position: relative;
  margin-bottom: 3rem;
}

.service-details .workflow-section .timeline .timeline-item:last-child {
  margin-bottom: 0;
}

.service-details .workflow-section .timeline .timeline-item .timeline-marker {
  position: absolute;
  left: -4rem;
  top: 0;
  width: 3rem;
  height: 3rem;
  background-color: var(--accent-color);
  color: var(--contrast-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
  box-shadow: 0 0 0 8px var(--background-color);
}

.service-details .workflow-section .timeline .timeline-item .timeline-content {
  background-color: var(--surface-color);
  padding: 2rem;
  border-radius: 12px;
  border-left: 3px solid var(--accent-color);
}

.service-details .workflow-section .timeline .timeline-item .timeline-content h4 {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.service-details .workflow-section .timeline .timeline-item .timeline-content p {
  font-size: 0.95rem;
  line-height: 1.7;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  margin-bottom: 1rem;
}

.service-details .workflow-section .timeline .timeline-item .timeline-content .duration {
  display: inline-block;
  padding: 0.4rem 1rem;
  background-color: color-mix(in srgb, var(--accent-color), transparent 90%);
  color: var(--accent-color);
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
}

@media (max-width: 768px) {
  .service-details .workflow-section .timeline {
    padding-left: 3rem;
  }

  .service-details .workflow-section .timeline::before {
    left: 1rem;
  }

  .service-details .workflow-section .timeline .timeline-item .timeline-marker {
    left: -2.5rem;
    width: 2.5rem;
    height: 2.5rem;
    font-size: 1rem;
  }
}

.service-details .testimonial-section {
  margin-bottom: 4rem;
}

.service-details .testimonial-section .testimonial-card {
  background: linear-gradient(135deg, var(--surface-color) 0%, color-mix(in srgb, var(--surface-color), var(--accent-color) 3%) 100%);
  padding: 3rem;
  border-radius: 16px;
  box-shadow: 0 8px 32px color-mix(in srgb, var(--default-color), transparent 92%);
}

.service-details .testimonial-section .testimonial-card .stars {
  margin-bottom: 1.5rem;
}

.service-details .testimonial-section .testimonial-card .stars i {
  color: #ffc107;
  font-size: 1.25rem;
  margin-right: 0.25rem;
}

.service-details .testimonial-section .testimonial-card blockquote {
  font-size: 1.15rem;
  line-height: 1.8;
  font-style: italic;
  color: var(--default-color);
  margin-bottom: 2rem;
  position: relative;
  padding-left: 2rem;
}

.service-details .testimonial-section .testimonial-card blockquote::before {
  content: "“";
  position: absolute;
  left: 0;
  top: -10px;
  font-size: 4rem;
  color: var(--accent-color);
  opacity: 0.3;
  line-height: 1;
}

.service-details .testimonial-section .testimonial-card .client-info {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.service-details .testimonial-section .testimonial-card .client-info .client-avatar {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--accent-color);
}

.service-details .testimonial-section .testimonial-card .client-info .client-details h5 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.service-details .testimonial-section .testimonial-card .client-info .client-details p {
  font-size: 0.9rem;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  margin: 0;
}

.service-details .tech-details .section-heading {
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 2.5rem;
}

.service-details .tech-details .tech-categories {
  display: grid;
  gap: 2rem;
}

.service-details .tech-details .tech-categories .tech-category h5 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--heading-color);
}

.service-details .tech-details .tech-categories .tech-category .tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.service-details .tech-details .tech-categories .tech-category .tech-tags span {
  padding: 0.6rem 1.25rem;
  background-color: var(--surface-color);
  color: var(--default-color);
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
  transition: all 0.3s ease;
}

.service-details .tech-details .tech-categories .tech-category .tech-tags span:hover {
  background-color: var(--accent-color);
  color: var(--contrast-color);
  border-color: var(--accent-color);
  transform: translateY(-2px);
}

/*--------------------------------------------------------------
# Terms Of Service Section
--------------------------------------------------------------*/
.terms-of-service .tos-header {
  margin-bottom: 60px;
}

.terms-of-service .tos-header .last-updated {
  display: inline-block;
  padding: 8px 20px;
  background-color: color-mix(in srgb, var(--accent-color), transparent 90%);
  border-radius: 30px;
  color: var(--accent-color);
  font-size: 0.95rem;
  margin-bottom: 20px;
}

.terms-of-service .tos-header h2 {
  font-size: 2.5rem;
  margin-bottom: 15px;
}

.terms-of-service .tos-header p {
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  font-size: 1.1rem;
  max-width: 700px;
  margin: 0 auto;
}

.terms-of-service .tos-content .content-section {
  margin-bottom: 50px;
  scroll-margin-top: 100px;
}

.terms-of-service .tos-content .content-section:last-child {
  margin-bottom: 0;
}

.terms-of-service .tos-content .content-section h3 {
  font-size: 1.8rem;
  margin-bottom: 20px;
  color: var(--heading-color);
}

.terms-of-service .tos-content .content-section p {
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  line-height: 1.7;
  margin-bottom: 20px;
}

.terms-of-service .tos-content .content-section p:last-child {
  margin-bottom: 0;
}

.terms-of-service .tos-content .content-section .info-box {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  padding: 20px;
  background-color: color-mix(in srgb, var(--accent-color), transparent 95%);
  border-radius: 15px;
  margin-top: 20px;
}

.terms-of-service .tos-content .content-section .info-box i {
  font-size: 1.5rem;
  color: var(--accent-color);
  flex-shrink: 0;
}

.terms-of-service .tos-content .content-section .info-box p {
  margin: 0;
  font-size: 0.95rem;
}

.terms-of-service .tos-content .content-section .list-items {
  list-style: none;
  padding: 0;
  margin: 20px 0;
}

.terms-of-service .tos-content .content-section .list-items li {
  position: relative;
  padding-left: 25px;
  margin-bottom: 12px;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
}

.terms-of-service .tos-content .content-section .list-items li:last-child {
  margin-bottom: 0;
}

.terms-of-service .tos-content .content-section .list-items li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--accent-color);
}

.terms-of-service .tos-content .content-section .alert-box {
  display: flex;
  gap: 20px;
  padding: 25px;
  background-color: var(--surface-color);
  border-radius: 15px;
  border-left: 4px solid var(--accent-color);
  margin-top: 20px;
}

.terms-of-service .tos-content .content-section .alert-box i {
  font-size: 2rem;
  color: var(--accent-color);
  flex-shrink: 0;
}

.terms-of-service .tos-content .content-section .alert-box .alert-content h5 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.terms-of-service .tos-content .content-section .alert-box .alert-content p {
  margin: 0;
  font-size: 0.95rem;
}

.terms-of-service .tos-content .content-section .prohibited-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 20px;
}

@media (max-width: 576px) {
  .terms-of-service .tos-content .content-section .prohibited-list {
    grid-template-columns: 1fr;
  }
}

.terms-of-service .tos-content .content-section .prohibited-list .prohibited-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 15px;
  background-color: var(--surface-color);
  border-radius: 12px;
}

.terms-of-service .tos-content .content-section .prohibited-list .prohibited-item i {
  color: #dc3545;
  font-size: 1.2rem;
}

.terms-of-service .tos-content .content-section .prohibited-list .prohibited-item span {
  font-size: 0.95rem;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
}

.terms-of-service .tos-content .content-section .disclaimer-box {
  background-color: var(--surface-color);
  padding: 25px;
  border-radius: 15px;
  margin-top: 20px;
}

.terms-of-service .tos-content .content-section .disclaimer-box p {
  margin-bottom: 15px;
  font-weight: 500;
}

.terms-of-service .tos-content .content-section .disclaimer-box ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.terms-of-service .tos-content .content-section .disclaimer-box ul li {
  position: relative;
  padding-left: 25px;
  margin-bottom: 12px;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  font-size: 0.95rem;
}

.terms-of-service .tos-content .content-section .disclaimer-box ul li:last-child {
  margin-bottom: 0;
}

.terms-of-service .tos-content .content-section .disclaimer-box ul li::before {
  content: "•";
  position: absolute;
  left: 8px;
  color: var(--accent-color);
}

.terms-of-service .tos-content .content-section .notice-box {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 20px;
  background-color: color-mix(in srgb, var(--accent-color), transparent 95%);
  border-radius: 15px;
  margin-top: 20px;
}

.terms-of-service .tos-content .content-section .notice-box i {
  font-size: 1.5rem;
  color: var(--accent-color);
  flex-shrink: 0;
}

.terms-of-service .tos-content .content-section .notice-box p {
  margin: 0;
  font-size: 0.95rem;
}

.terms-of-service .tos-contact {
  margin-top: 60px;
}

.terms-of-service .tos-contact .contact-box {
  background: linear-gradient(135deg, color-mix(in srgb, var(--accent-color), transparent 95%) 0%, color-mix(in srgb, var(--accent-color), transparent 98%) 100%);
  border-radius: 20px;
  padding: 40px;
  display: flex;
  align-items: center;
  gap: 30px;
}

@media (max-width: 576px) {
  .terms-of-service .tos-contact .contact-box {
    flex-direction: column;
    text-align: center;
  }
}

.terms-of-service .tos-contact .contact-box .contact-icon {
  width: 60px;
  height: 60px;
  background-color: var(--accent-color);
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.terms-of-service .tos-contact .contact-box .contact-icon i {
  font-size: 1.8rem;
  color: var(--contrast-color);
}

.terms-of-service .tos-contact .contact-box .contact-content {
  flex: 1;
}

.terms-of-service .tos-contact .contact-box .contact-content h4 {
  font-size: 1.4rem;
  margin-bottom: 8px;
}

.terms-of-service .tos-contact .contact-box .contact-content p {
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  margin-bottom: 15px;
}

.terms-of-service .tos-contact .contact-box .contact-content .contact-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 25px;
  background-color: var(--accent-color);
  color: var(--contrast-color);
  border-radius: 30px;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s;
}

.terms-of-service .tos-contact .contact-box .contact-content .contact-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

@media print {
  .terms-of-service .tos-contact {
    display: none;
  }

  .terms-of-service .content-section {
    page-break-inside: avoid;
  }
}

/*--------------------------------------------------------------
# Privacy Section
--------------------------------------------------------------*/
.privacy {
  padding: 80px 0;
  background-color: color-mix(in srgb, var(--background-color), var(--default-color) 2%);
}

.privacy .row {
  position: relative;
}

.privacy .policy-sidebar {
  position: sticky;
  top: 100px;
  background-color: var(--surface-color);
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.privacy .policy-sidebar h3 {
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--heading-color);
  margin-bottom: 20px;
}

.privacy .policy-sidebar .policy-nav {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.privacy .policy-sidebar .policy-nav .nav-link {
  padding: 12px 15px;
  border-radius: 8px;
  color: var(--default-color);
  font-size: 0.95rem;
  transition: all 0.3s;
  border-left: 3px solid transparent;
}

.privacy .policy-sidebar .policy-nav .nav-link:hover {
  background-color: color-mix(in srgb, var(--accent-color), transparent 90%);
  color: var(--accent-color);
  border-left-color: var(--accent-color);
  padding-left: 20px;
}

.privacy .policy-sidebar .policy-nav .nav-link.active {
  background-color: color-mix(in srgb, var(--accent-color), transparent 85%);
  color: var(--accent-color);
  font-weight: 600;
  border-left-color: var(--accent-color);
}

.privacy .policy-main {
  background-color: var(--surface-color);
  border-radius: 12px;
  padding: 50px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.privacy .policy-hero {
  margin-bottom: 60px;
}

.privacy .policy-hero .badge {
  display: inline-block;
  background-color: color-mix(in srgb, var(--accent-color), transparent 85%);
  color: var(--accent-color);
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 25px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.privacy .policy-hero h1 {
  font-size: 3rem;
  color: var(--heading-color);
  margin-bottom: 20px;
  font-weight: 800;
  line-height: 1.2;
}

.privacy .policy-hero .lead {
  font-size: 1.25rem;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  line-height: 1.7;
  max-width: 700px;
}

.privacy .policy-section {
  margin-bottom: 60px;
  position: relative;
  padding-left: 80px;
}

.privacy .policy-section:last-child {
  margin-bottom: 0;
}

.privacy .policy-section .section-number {
  position: absolute;
  left: 0;
  top: 0;
  width: 60px;
  height: 60px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--accent-color), color-mix(in srgb, var(--accent-color), #000 20%));
  color: var(--contrast-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 800;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.privacy .policy-section h2 {
  font-size: 2rem;
  color: var(--heading-color);
  margin-bottom: 20px;
  font-weight: 700;
}

.privacy .policy-section h3 {
  font-size: 1.4rem;
  color: var(--heading-color);
  margin: 30px 0 15px;
  font-weight: 600;
}

.privacy .policy-section p {
  color: var(--default-color);
  line-height: 1.8;
  margin-bottom: 20px;
  font-size: 1.05rem;
}

.privacy .info-card {
  display: flex;
  gap: 25px;
  background-color: color-mix(in srgb, var(--background-color), var(--accent-color) 3%);
  border-radius: 12px;
  padding: 30px;
  margin-top: 25px;
  border: 1px solid color-mix(in srgb, var(--accent-color), transparent 85%);
}

.privacy .info-card .card-icon {
  flex-shrink: 0;
  width: 60px;
  height: 60px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--accent-color), color-mix(in srgb, var(--accent-color), #000 20%));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--contrast-color);
  font-size: 1.8rem;
}

.privacy .info-card .card-content {
  flex: 1;
}

.privacy .info-card .card-content h3 {
  margin-top: 0;
  margin-bottom: 15px;
}

.privacy .info-card .card-content ul {
  list-style: none;
  padding: 0;
  margin: 15px 0 0;
}

.privacy .info-card .card-content ul li {
  position: relative;
  padding-left: 25px;
  margin-bottom: 10px;
  color: var(--default-color);
  line-height: 1.6;
}

.privacy .info-card .card-content ul li::before {
  content: "\f285";
  font-family: "bootstrap-icons";
  position: absolute;
  left: 0;
  color: var(--accent-color);
  font-size: 0.9rem;
}

.privacy .usage-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.privacy .usage-grid .usage-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  padding: 20px;
  background-color: var(--background-color);
  border-radius: 10px;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
  transition: all 0.3s;
}

.privacy .usage-grid .usage-item:hover {
  border-color: var(--accent-color);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.privacy .usage-grid .usage-item i {
  color: var(--accent-color);
  font-size: 1.5rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.privacy .usage-grid .usage-item span {
  color: var(--default-color);
  line-height: 1.5;
  font-size: 0.95rem;
}

.privacy .sharing-box {
  background-color: var(--background-color);
  border-left: 4px solid var(--accent-color);
  border-radius: 8px;
  padding: 30px;
  margin-top: 25px;
}

.privacy .sharing-box h3 {
  margin-top: 0;
  margin-bottom: 15px;
}

.privacy .sharing-box ul {
  list-style: none;
  padding: 0;
  margin: 20px 0 0;
}

.privacy .sharing-box ul li {
  position: relative;
  padding-left: 25px;
  margin-bottom: 12px;
  color: var(--default-color);
  line-height: 1.6;
}

.privacy .sharing-box ul li::before {
  content: "\f26a";
  font-family: "bootstrap-icons";
  position: absolute;
  left: 0;
  color: var(--accent-color);
  font-size: 0.9rem;
}

.privacy .security-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
  margin-top: 30px;
}

.privacy .security-features .feature {
  background-color: var(--background-color);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
  transition: all 0.3s;
}

.privacy .security-features .feature:hover {
  border-color: var(--accent-color);
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.privacy .security-features .feature:hover i {
  transform: scale(1.1);
}

.privacy .security-features .feature i {
  font-size: 3rem;
  color: var(--accent-color);
  margin-bottom: 20px;
  display: block;
  transition: all 0.3s;
}

.privacy .security-features .feature h4 {
  font-size: 1.2rem;
  color: var(--heading-color);
  margin-bottom: 12px;
  font-weight: 600;
}

.privacy .security-features .feature p {
  font-size: 0.95rem;
  margin-bottom: 0;
}

.privacy .rights-list {
  margin-top: 30px;
}

.privacy .rights-list .right-item {
  display: flex;
  gap: 20px;
  padding: 25px;
  background-color: var(--background-color);
  border-radius: 10px;
  margin-bottom: 15px;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
  transition: all 0.3s;
}

.privacy .rights-list .right-item:hover {
  border-color: var(--accent-color);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

.privacy .rights-list .right-item:hover .right-icon {
  background-color: var(--accent-color);
  color: var(--contrast-color);
}

.privacy .rights-list .right-item .right-icon {
  flex-shrink: 0;
  width: 55px;
  height: 55px;
  border-radius: 10px;
  background-color: color-mix(in srgb, var(--accent-color), transparent 85%);
  color: var(--accent-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  transition: all 0.3s;
}

.privacy .rights-list .right-item .right-content {
  flex: 1;
}

.privacy .rights-list .right-item .right-content h4 {
  font-size: 1.15rem;
  color: var(--heading-color);
  margin-bottom: 8px;
  font-weight: 600;
}

.privacy .rights-list .right-item .right-content p {
  margin-bottom: 0;
  font-size: 0.95rem;
  line-height: 1.6;
}

.privacy .policy-contact {
  margin-top: 60px;
}

.privacy .policy-contact .contact-card {
  background: linear-gradient(135deg, var(--accent-color), color-mix(in srgb, var(--accent-color), #000 20%));
  border-radius: 16px;
  padding: 50px;
  color: var(--contrast-color);
}

.privacy .policy-contact .contact-card h2 {
  color: var(--contrast-color);
  margin-bottom: 15px;
  font-size: 2rem;
  font-weight: 700;
}

.privacy .policy-contact .contact-card p {
  color: color-mix(in srgb, var(--contrast-color), transparent 15%);
  margin-bottom: 35px;
  font-size: 1.05rem;
}

.privacy .policy-contact .contact-card .contact-info {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.privacy .policy-contact .contact-card .contact-info .info-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 25px;
  background-color: color-mix(in srgb, var(--contrast-color), transparent 85%);
  border-radius: 12px;
}

.privacy .policy-contact .contact-card .contact-info .info-item i {
  font-size: 1.8rem;
  color: var(--contrast-color);
  flex-shrink: 0;
  margin-top: 3px;
}

.privacy .policy-contact .contact-card .contact-info .info-item div {
  flex: 1;
}

.privacy .policy-contact .contact-card .contact-info .info-item div strong {
  display: block;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
  color: var(--contrast-color);
  font-weight: 700;
}

.privacy .policy-contact .contact-card .contact-info .info-item div span {
  display: block;
  font-size: 1.1rem;
  color: var(--contrast-color);
}

@media (max-width: 991px) {
  .privacy .policy-sidebar {
    position: static;
    margin-bottom: 30px;
  }

  .privacy .policy-main {
    padding: 35px;
  }

  .privacy .policy-section {
    padding-left: 0;
  }

  .privacy .policy-section .section-number {
    position: static;
    margin-bottom: 20px;
  }
}

@media (max-width: 767px) {
  .privacy {
    padding: 50px 0;
  }

  .privacy .policy-main {
    padding: 25px;
  }

  .privacy .policy-hero {
    margin-bottom: 40px;
  }

  .privacy .policy-hero h1 {
    font-size: 2.2rem;
  }

  .privacy .policy-hero .lead {
    font-size: 1.1rem;
  }

  .privacy .policy-section {
    margin-bottom: 40px;
  }

  .privacy .policy-section h2 {
    font-size: 1.6rem;
  }

  .privacy .policy-section .section-number {
    width: 50px;
    height: 50px;
    font-size: 1.3rem;
  }

  .privacy .info-card {
    flex-direction: column;
  }

  .privacy .info-card .card-icon {
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
  }

  .privacy .usage-grid {
    grid-template-columns: 1fr;
  }

  .privacy .security-features {
    grid-template-columns: 1fr;
  }

  .privacy .policy-contact .contact-card {
    padding: 30px 20px;
  }

  .privacy .policy-contact .contact-card h2 {
    font-size: 1.6rem;
  }
}

/*--------------------------------------------------------------
# Error 404 Section
--------------------------------------------------------------*/
.error-404 {
  display: flex;
  align-items: center;
  padding: 80px 0;
}

.error-404 .error-box {
  background: var(--surface-color);
  padding: 60px 40px;
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  position: relative;
  overflow: hidden;
}

.error-404 .error-box::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, color-mix(in srgb, var(--accent-color), transparent 90%) 0%, transparent 70%);
  opacity: 0.5;
}

.error-404 .error-box .error-icon {
  font-size: 80px;
  color: var(--accent-color);
  margin-bottom: 30px;
  position: relative;
  z-index: 1;
}

.error-404 .error-box .error-icon i {
  display: inline-block;
  animation: pulse 2s ease-in-out infinite;
}

.error-404 .error-box .error-code {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 30px;
  position: relative;
  z-index: 1;
}

.error-404 .error-box .error-code span {
  font-size: 100px;
  font-weight: 700;
  color: var(--heading-color);
  text-shadow: 3px 3px 0 color-mix(in srgb, var(--accent-color), transparent 70%);
  line-height: 1;
}

.error-404 .error-box h2 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--heading-color);
  position: relative;
  z-index: 1;
}

.error-404 .error-box p {
  font-size: 16px;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  margin-bottom: 40px;
  line-height: 1.6;
  position: relative;
  z-index: 1;
}

.error-404 .error-box .error-actions {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

.error-404 .error-box .error-actions a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 30px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 15px;
  transition: all 0.3s ease;
  text-decoration: none;
}

.error-404 .error-box .error-actions a i {
  font-size: 20px;
}

.error-404 .error-box .error-actions a.btn-home {
  background: var(--accent-color);
  color: var(--contrast-color);
  box-shadow: 0 5px 15px color-mix(in srgb, var(--accent-color), transparent 60%);
}

.error-404 .error-box .error-actions a.btn-home:hover {
  background: color-mix(in srgb, var(--accent-color), black 10%);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px color-mix(in srgb, var(--accent-color), transparent 50%);
}

.error-404 .error-box .error-actions a.btn-support {
  background: transparent;
  color: var(--accent-color);
  border: 2px solid var(--accent-color);
}

.error-404 .error-box .error-actions a.btn-support:hover {
  background: var(--accent-color);
  color: var(--contrast-color);
  transform: translateY(-3px);
}

@keyframes pulse {

  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.1);
  }
}

@media (max-width: 992px) {
  .error-404 .error-box {
    padding: 50px 30px;
  }

  .error-404 .error-box .error-code span {
    font-size: 80px;
  }

  .error-404 .error-box h2 {
    font-size: 28px;
  }
}

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

  .error-404 .error-box {
    padding: 40px 25px;
  }

  .error-404 .error-box .error-icon {
    font-size: 60px;
  }

  .error-404 .error-box .error-code {
    gap: 15px;
  }

  .error-404 .error-box .error-code span {
    font-size: 70px;
  }

  .error-404 .error-box h2 {
    font-size: 24px;
  }

  .error-404 .error-box p {
    font-size: 15px;
  }

  .error-404 .error-box .error-actions {
    flex-direction: column;
  }

  .error-404 .error-box .error-actions a {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 576px) {
  .error-404 .error-box .error-code span {
    font-size: 60px;
  }

  .error-404 .error-box h2 {
    font-size: 22px;
  }

  .error-404 .error-box .error-actions a {
    padding: 12px 25px;
    font-size: 14px;
  }
}

/*--------------------------------------------------------------
# Starter Section Section
--------------------------------------------------------------*/
.starter-section {
  padding: 80px 0;
}

/*--------------------------------------------------------------
# Contact Modal
--------------------------------------------------------------*/
#contactModal .modal-content {
  background-color: var(--surface-color);
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
  border-radius: 16px;
  color: var(--default-color);
}

#contactModal .modal-header {
  border-bottom: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
  padding: 30px;
}

#contactModal .modal-title {
  color: var(--heading-color);
  font-size: 28px;
  font-weight: 700;
  margin: 0;
}

#contactModal .btn-close {
  background: none;
  opacity: 0.8;
  filter: invert(1);
  transition: opacity 0.3s ease;
}

#contactModal .btn-close:hover {
  opacity: 1;
}

#contactModal .btn-close:focus {
  box-shadow: 0 0 0 0.25rem color-mix(in srgb, var(--accent-color), transparent 50%);
}

#contactModal .modal-body {
  padding: 30px;
}

#contactModal .modal-body p {
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  font-size: 15px;
  margin-bottom: 24px;
  text-align: justify;
}

#contactModal .php-email-form {
  background: transparent;
  padding: 0;
  border: none;
}

#contactModal .php-email-form .form-control {
  color: var(--default-color);
  background-color: var(--background-color);
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 80%);
  padding: 12px 15px;
  font-size: 14px;
  border-radius: 8px;
  transition: all 0.3s ease;
}

#contactModal .php-email-form .form-control:focus {
  border-color: var(--accent-color);
  box-shadow: 0 0 0 0.2rem color-mix(in srgb, var(--accent-color), transparent 80%);
  outline: 2px solid var(--accent-color);
  outline-offset: 2px;
  background-color: var(--surface-color);
}

#contactModal .php-email-form .form-control:focus-visible {
  outline: 3px solid var(--accent-color);
  outline-offset: 2px;
}

#contactModal .php-email-form .form-control::placeholder {
  color: color-mix(in srgb, var(--default-color), transparent 70%);
}

#contactModal .php-email-form textarea.form-control {
  min-height: 120px;
  resize: vertical;
}

#contactModal .php-email-form .btn-primary {
  background: var(--accent-color);
  color: var(--contrast-color);
  border: none;
  padding: 14px 40px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 10px;
}

#contactModal .php-email-form .btn-primary:hover {
  background: color-mix(in srgb, var(--accent-color), transparent 20%);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px color-mix(in srgb, var(--accent-color), transparent 50%);
  color: var(--contrast-color);
}

#contactModal .php-email-form .btn-primary:focus-visible {
  outline: 3px solid var(--accent-color);
  outline-offset: 3px;
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent-color), transparent 30%);
}

#contactModal .php-email-form .btn-primary:active {
  transform: translateY(0);
}

#contactModal .php-email-form .loading,
#contactModal .php-email-form .error-message,
#contactModal .php-email-form .sent-message {
  margin-bottom: 20px;
  border-radius: 8px;
}

#contactModal .php-email-form .sent-message {
  background: #059652;
  color: #ffffff;
}

#contactModal .php-email-form .error-message {
  background: #df1529;
  color: #ffffff;
}

#contactModal .php-email-form .loading {
  background: var(--surface-color);
  color: var(--default-color);
}

/* Modal backdrop */
.modal-backdrop {
  background-color: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
}

.modal-backdrop.show {
  opacity: 1;
}

/*--------------------------------------------------------------
# Service Modals
--------------------------------------------------------------*/
.service-modal .modal-content {
  background-color: var(--surface-color);
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
  border-radius: 16px;
  color: var(--default-color);
  overflow: hidden;
}

.service-modal .modal-header {
  border-bottom: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
  padding: 30px;
  display: flex;
  align-items: center;
  gap: 20px;
  position: relative;
}

.service-modal .service-modal-icon {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: color-mix(in srgb, var(--accent-color), transparent 90%);
  border-radius: 12px;
  flex-shrink: 0;
}

.service-modal .service-modal-icon i {
  font-size: 28px;
  color: var(--accent-color);
}

.service-modal .modal-title {
  color: var(--heading-color);
  font-size: 28px;
  font-weight: 700;
  margin: 0;
  flex: 1;
}

.service-modal .btn-close {
  background: none;
  opacity: 0.8;
  filter: invert(1);
  transition: opacity 0.3s ease;
  position: absolute;
  top: 20px;
  right: 20px;
}

.service-modal .btn-close:hover {
  opacity: 1;
}

.service-modal .btn-close:focus {
  box-shadow: 0 0 0 0.25rem color-mix(in srgb, var(--accent-color), transparent 50%);
}

.service-modal .modal-body {
  padding: 30px;
}

.service-modal .service-modal-description {
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 30px;
  text-align: justify;
}

.service-modal .service-modal-features {
  margin-bottom: 30px;
}

.service-modal .service-modal-features h3 {
  color: var(--heading-color);
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 20px;
}

.service-modal .service-modal-features ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.service-modal .service-modal-features ul li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
  transition: all 0.3s ease;
}

.service-modal .service-modal-features ul li:last-child {
  border-bottom: none;
}

.service-modal .service-modal-features ul li:hover {
  padding-left: 8px;
  background: color-mix(in srgb, var(--accent-color), transparent 95%);
  margin: 0 -15px;
  padding-left: 23px;
  padding-right: 15px;
  border-radius: 8px;
}

.service-modal .service-modal-features ul li i {
  color: var(--accent-color);
  font-size: 18px;
  flex-shrink: 0;
  margin-top: 2px;
}

.service-modal .service-modal-features ul li span {
  color: var(--default-color);
  font-size: 15px;
  line-height: 1.6;
  flex: 1;
}

.service-modal .service-modal-cta {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

.service-modal .service-modal-cta .btn {
  background: var(--accent-color);
  color: var(--contrast-color);
  border: none;
  padding: 14px 40px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
}

.service-modal .service-modal-cta .btn:hover {
  background: color-mix(in srgb, var(--accent-color), transparent 20%);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px color-mix(in srgb, var(--accent-color), transparent 50%);
  color: var(--contrast-color);
}

.service-modal .service-modal-cta .btn:focus-visible {
  outline: 3px solid var(--accent-color);
  outline-offset: 3px;
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent-color), transparent 30%);
}

.service-modal .service-modal-cta .btn:active {
  transform: translateY(0);
}

/* Mode clair - Service Modals */
body.light-mode .service-modal .modal-content {
  background: #ffffff;
  border: 1px solid var(--border-color);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

body.light-mode .service-modal .modal-header {
  border-bottom: 1px solid var(--border-color);
  background: var(--surface-color);
}

body.light-mode .service-modal .btn-close {
  filter: brightness(0);
  opacity: 0.6;
}

body.light-mode .service-modal .btn-close:hover {
  opacity: 1;
}

body.light-mode .service-modal .service-modal-features ul li {
  border-bottom: 1px solid var(--border-color);
}

body.light-mode .service-modal .service-modal-features ul li:hover {
  background: color-mix(in srgb, var(--accent-color), transparent 98%);
}

body.light-mode .service-modal .service-modal-cta {
  border-top: 1px solid var(--border-color);
}

/* Responsive - Service Modals */
@media (max-width: 768px) {
  .service-modal .modal-header {
    padding: 20px;
    flex-wrap: wrap;
  }

  .service-modal .service-modal-icon {
    width: 50px;
    height: 50px;
  }

  .service-modal .service-modal-icon i {
    font-size: 24px;
  }

  .service-modal .modal-title {
    font-size: 24px;
  }

  .service-modal .modal-body {
    padding: 20px;
  }

  .service-modal .service-modal-description {
    font-size: 15px;
    margin-bottom: 25px;
  }

  .service-modal .service-modal-features h3 {
    font-size: 18px;
    margin-bottom: 15px;
  }

  .service-modal .service-modal-features ul li {
    padding: 10px 0;
  }

  .service-modal .service-modal-features ul li span {
    font-size: 14px;
  }

  .service-modal .service-modal-cta .btn {
    padding: 12px 30px;
    font-size: 15px;
    width: 100%;
  }
}

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

  .service-modal .service-modal-icon {
    width: 45px;
    height: 45px;
  }

  .service-modal .service-modal-icon i {
    font-size: 20px;
  }

  .service-modal .modal-title {
    font-size: 20px;
  }

  .service-modal .modal-body {
    padding: 15px;
  }

  .service-modal .service-modal-description {
    font-size: 14px;
    margin-bottom: 20px;
  }

  .service-modal .service-modal-features h3 {
    font-size: 16px;
  }

  .service-modal .service-modal-features ul li span {
    font-size: 13px;
  }
}

/*--------------------------------------------------------------
# FAQ Section
--------------------------------------------------------------*/
.faq-category {
  background: var(--surface-color);
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
  border-radius: 16px;
  padding: 30px;
  margin-bottom: 30px;
  height: 100%;
}

.faq-category .category-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 25px;
  padding-bottom: 15px;
  border-bottom: 2px solid color-mix(in srgb, var(--accent-color), transparent 80%);
}

.faq-category .category-header i {
  font-size: 28px;
  color: var(--accent-color);
}

.faq-category .category-header h3 {
  font-size: 24px;
  font-weight: 600;
  color: var(--heading-color);
  margin: 0;
}

.faq-category .accordion-item {
  background: transparent;
  border: none;
  border-bottom: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
  margin-bottom: 10px;
}

.faq-category .accordion-item:last-child {
  border-bottom: none;
  margin-bottom: 0;
}

.faq-category .accordion-button {
  background: transparent;
  color: var(--heading-color);
  font-weight: 600;
  font-size: 16px;
  padding: 18px 0;
  border: none;
  box-shadow: none;
}

.faq-category .accordion-button:not(.collapsed) {
  color: var(--accent-color);
  background: transparent;
  box-shadow: none;
}

.faq-category .accordion-button:focus {
  border-color: transparent;
  box-shadow: 0 0 0 0.25rem color-mix(in srgb, var(--accent-color), transparent 25%);
}

.faq-category .accordion-button::after {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%2390e0ef'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
  width: 1.25rem;
  height: 1.25rem;
}

.faq-category .accordion-button:not(.collapsed)::after {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%2390e0ef'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
  transform: rotate(180deg);
}

.faq-category .accordion-body {
  padding: 0 0 20px 0;
  color: var(--default-color);
  line-height: 1.8;
}

.faq-category .accordion-body a {
  color: var(--accent-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

.faq-category .accordion-body a:hover {
  color: var(--heading-color);
  text-decoration: underline;
}

.faq-cta {
  margin-top: 60px;
}

.faq-cta .cta-box {
  background: linear-gradient(135deg, color-mix(in srgb, var(--accent-color), transparent 10%), color-mix(in srgb, var(--accent-color), transparent 5%));
  border: 1px solid color-mix(in srgb, var(--accent-color), transparent 30%);
  border-radius: 16px;
  padding: 40px;
}

.faq-cta .cta-box h3 {
  color: var(--heading-color);
  font-size: 28px;
  font-weight: 600;
  margin-bottom: 15px;
}

.faq-cta .cta-box p {
  color: var(--default-color);
  margin-bottom: 0;
}

.faq-cta .btn-accent {
  background: var(--accent-color);
  color: var(--contrast-color);
  padding: 14px 32px;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-block;
}

.faq-cta .btn-accent:hover {
  background: color-mix(in srgb, var(--accent-color), black 10%);
  transform: translateY(-2px);
  box-shadow: 0 4px 20px color-mix(in srgb, var(--accent-color), transparent 40%);
  color: var(--contrast-color);
}

/* Responsive FAQ */
@media (max-width: 768px) {
  .faq-category {
    padding: 20px;
  }

  .faq-category .category-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .faq-category .category-header h3 {
    font-size: 20px;
  }

  .faq-cta .cta-box {
    padding: 30px 20px;
    text-align: center;
  }

  .faq-cta .cta-box h3 {
    font-size: 24px;
  }
}

/* Responsive Modal */
@media (max-width: 768px) {
  #contactModal .modal-dialog {
    margin: 20px;
  }

  #contactModal .modal-header {
    padding: 20px;
  }

  #contactModal .modal-title {
    font-size: 24px;
  }

  #contactModal .modal-body {
    padding: 20px;
  }

  #contactModal .php-email-form .btn-primary {
    width: 100%;
    padding: 12px 30px;
  }
}

@media (max-width: 576px) {
  #contactModal .modal-dialog {
    margin: 10px;
  }

  #contactModal .modal-header {
    padding: 15px;
  }

  #contactModal .modal-title {
    font-size: 20px;
  }

  #contactModal .modal-body {
    padding: 15px;
  }

  #contactModal .modal-body p {
    font-size: 14px;
  }
}

/*--------------------------------------------------------------
# Optimisations Mode Sombre
--------------------------------------------------------------*/
/* Mode sombre - Amélioration des contrastes */
:root {
  --card-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  --card-shadow-hover: 0 8px 24px rgba(0, 0, 0, 0.4);
}

/* Mode sombre - Cartes avec meilleur contraste */
.service-item,
.portfolio-card,
.guarantee-card,
.about .profile-card,
.contact .info-card {
  background: var(--surface-color);
  border: 1px solid var(--border-color);
  box-shadow: var(--card-shadow);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-item:hover,
.portfolio-card:hover,
.guarantee-card:hover,
.about .profile-card:hover,
.contact .info-card:hover {
  box-shadow: var(--card-shadow-hover);
  border-color: var(--accent-color);
  transform: translateY(-2px);
}

/* Mode sombre - Amélioration de la lisibilité du texte */
p, li, span {
  color: var(--default-color);
}

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

/* Mode sombre - Sections avec meilleure séparation */
.section {
  background-color: var(--background-color);
}

/*--------------------------------------------------------------
# Optimisations Mode Clair
--------------------------------------------------------------*/
body.light-mode {
  --card-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  --card-shadow-hover: 0 8px 24px rgba(0, 0, 0, 0.12);
}

body.light-mode * {
  transition: background-color 0.4s cubic-bezier(0.4, 0, 0.2, 1), 
              color 0.4s cubic-bezier(0.4, 0, 0.2, 1), 
              border-color 0.4s cubic-bezier(0.4, 0, 0.2, 1),
              box-shadow 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Mode clair - Cartes et surfaces avec meilleur contraste */
body.light-mode .service-item,
body.light-mode .portfolio-card,
body.light-mode .guarantee-card,
body.light-mode .about .profile-card,
body.light-mode .contact .info-card {
  background: var(--surface-color);
  border: 1px solid var(--border-color);
  box-shadow: var(--card-shadow);
}

body.light-mode .service-item:hover,
body.light-mode .portfolio-card:hover,
body.light-mode .guarantee-card:hover,
body.light-mode .about .profile-card:hover,
body.light-mode .contact .info-card:hover {
  box-shadow: var(--card-shadow-hover);
  border-color: var(--accent-color);
  transform: translateY(-2px);
}

/* Mode clair - Footer */
body.light-mode .footer {
  background: var(--surface-color);
  border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

body.light-mode .footer .footer-links a,
body.light-mode .footer .footer-contact p {
  color: var(--default-color);
}

body.light-mode .footer .footer-links a:hover {
  color: var(--accent-color);
}

/* Mode clair - Formulaires avec meilleur contraste */
body.light-mode input[type="text"],
body.light-mode input[type="email"],
body.light-mode input[type="tel"],
body.light-mode textarea,
body.light-mode select {
  background: #ffffff;
  border: 1px solid var(--border-color);
  color: var(--heading-color);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

body.light-mode input[type="text"]:focus,
body.light-mode input[type="email"]:focus,
body.light-mode input[type="tel"]:focus,
body.light-mode textarea:focus,
body.light-mode select:focus {
  border-color: var(--accent-color);
  background: #ffffff;
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent-color), transparent 15%);
  outline: none;
}

/* Mode sombre - Formulaires optimisés */
input[type="text"],
input[type="email"],
input[type="tel"],
textarea,
select {
  background: var(--surface-color);
  border: 1px solid var(--border-color);
  color: var(--default-color);
  transition: all 0.3s ease;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
textarea:focus,
select:focus {
  border-color: var(--accent-color);
  background: var(--surface-color);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent-color), transparent 20%);
  outline: none;
}

/* Mode clair - Modals avec meilleur contraste */
body.light-mode .modal-content {
  background: #ffffff;
  color: var(--default-color);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
  border: 1px solid var(--border-color);
}

body.light-mode .modal-header {
  border-bottom: 1px solid var(--border-color);
  background: var(--surface-color);
}

body.light-mode .modal-footer {
  border-top: 1px solid var(--border-color);
  background: var(--surface-color);
}

/* Mode sombre - Modals optimisés */
.modal-content {
  background: var(--surface-color);
  color: var(--default-color);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
  border: 1px solid var(--border-color);
}

.modal-header {
  border-bottom: 1px solid var(--border-color);
  background: var(--background-color);
}

.modal-footer {
  border-top: 1px solid var(--border-color);
  background: var(--background-color);
}

/* Mode clair - Scroll to top */
body.light-mode .scroll-top {
  background: var(--surface-color);
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 80%);
  color: var(--default-color);
}

body.light-mode .scroll-top:hover {
  background: var(--accent-color);
  color: var(--contrast-color);
  border-color: var(--accent-color);
}

/* Mode clair - Sections avec fond sombre */
body.light-mode .dark-background {
  --background-color: #f8f9fa;
  --default-color: #2d2d2d;
  --heading-color: #0a0a0a;
}

body.light-mode .light-background {
  --background-color: rgba(255, 255, 255, 0.95);
  --surface-color: #ffffff;
}

/* Mode clair - Newsletter avec meilleur contraste */
body.light-mode .newsletter {
  background: linear-gradient(135deg, 
    color-mix(in srgb, var(--accent-color), transparent 8%) 0%,
    color-mix(in srgb, var(--background-color), transparent 0%) 50%,
    color-mix(in srgb, var(--accent-color), transparent 8%) 100%
  );
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

/* Mode sombre - Newsletter optimisée */
.newsletter {
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

/* Mode clair - Tooltip WhatsApp */
body.light-mode .whatsapp-tooltip {
  background: var(--heading-color);
  color: var(--contrast-color);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Mode sombre - Tooltip WhatsApp */
.whatsapp-tooltip {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

/* Mode clair - Hero section - Très clair pour une meilleure visibilité */
body.light-mode .hero {
  background: #ffffff;
  background-color: #ffffff;
}

/* Masquer ou atténuer l'image de fond en mode clair */
body.light-mode .hero img {
  opacity: 0.15;
  filter: brightness(1.2);
  -webkit-filter: brightness(1.2);
}

body.light-mode .hero::before {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

/* Grille visible en mode clair */
body.light-mode .hero-grid-overlay {
  opacity: 0.15;
  background-image: linear-gradient(rgba(0, 0, 0, 0.08) 1px, transparent 1px), 
                    linear-gradient(90deg, rgba(0, 0, 0, 0.08) 1px, transparent 1px);
  background-size: 50px 50px;
}

body.light-mode .hero-accent-line {
  opacity: 0.2;
}

/* Mode clair - Texte du hero avec meilleur contraste */
body.light-mode .hero-role {
  color: #000000 !important;
  text-shadow: none;
}

body.light-mode .hero-role .role-prefix {
  color: #000000 !important;
}

body.light-mode .hero-role .typed {
  color: var(--accent-color) !important;
}

body.light-mode .hero-role .typed-cursor {
  color: var(--accent-color) !important;
}

body.light-mode .hero-description {
  color: #2d2d2d !important;
  text-shadow: none;
}

/* Mode clair - Boutons hero avec meilleur contraste */
body.light-mode .btn-hero-primary-modern {
  background: var(--accent-color);
  color: #ffffff !important;
  box-shadow: none;
}

body.light-mode .btn-hero-primary-modern span,
body.light-mode .btn-hero-primary-modern i {
  color: #ffffff !important;
}

body.light-mode .btn-hero-primary-modern:hover {
  box-shadow: none;
}

body.light-mode .btn-hero-primary-modern:hover span,
body.light-mode .btn-hero-primary-modern:hover i {
  color: #ffffff !important;
}

body.light-mode .btn-hero-primary-modern:active {
  box-shadow: none;
}

body.light-mode .btn-hero-outline-modern {
  border-color: var(--accent-color);
  color: var(--accent-color);
  background: transparent;
}

body.light-mode .btn-hero-outline-modern:hover {
  background: var(--accent-color);
  color: var(--contrast-color);
}

/* Mode clair - Liens sociaux hero */
body.light-mode .social-link-modern {
  background: rgba(0, 0, 0, 0.05);
  color: #000000;
  border: 1px solid rgba(0, 0, 0, 0.1);
}

body.light-mode .social-link-modern:hover {
  background: var(--accent-color);
  color: var(--contrast-color);
  border-color: var(--accent-color);
}

/* Mode clair - Amélioration des liens */
body.light-mode a {
  color: var(--accent-color);
}

body.light-mode a:hover {
  color: color-mix(in srgb, var(--accent-color), black 15%);
}

/* Mode sombre - Amélioration des liens */
a {
  color: var(--accent-color);
  transition: color 0.3s ease;
}

a:hover {
  color: color-mix(in srgb, var(--accent-color), white 10%);
}

/*--------------------------------------------------------------
# Bouton WhatsApp Flottant
--------------------------------------------------------------*/
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  left: 30px;
  width: 60px;
  height: 60px;
  background: #25D366;
  color: #ffffff;
  border-radius: 50%;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  z-index: 999;
  transition: all 0.3s ease;
  text-decoration: none;
}

.whatsapp-float:hover {
  background: #20BA5A;
  transform: scale(1.1);
  box-shadow: 0 6px 25px rgba(37, 211, 102, 0.6);
  color: #ffffff;
}

.whatsapp-float i {
  font-size: 28px;
}

.whatsapp-tooltip {
  position: absolute;
  left: 70px;
  top: 50%;
  transform: translateY(-50%);
  background: var(--heading-color);
  color: var(--contrast-color);
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 14px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.whatsapp-float:hover .whatsapp-tooltip {
  opacity: 1;
}

.whatsapp-tooltip::after {
  content: '';
  position: absolute;
  right: 100%;
  top: 50%;
  transform: translateY(-50%);
  border: 6px solid transparent;
  border-right-color: var(--heading-color);
}

@media (max-width: 768px) {
  .whatsapp-float {
    width: 55px;
    height: 55px;
    bottom: 20px;
    left: 20px;
  }

  .whatsapp-float i {
    font-size: 24px;
  }

  .whatsapp-tooltip {
    display: none;
  }
}

/*--------------------------------------------------------------
# Masquer complètement la section Partenaires/Clients (si elle existe encore)
--------------------------------------------------------------*/
#clients,
.clients,
section[id="clients"],
section.clients {
  display: none !important;
  visibility: hidden !important;
  height: 0 !important;
  overflow: hidden !important;
  margin: 0 !important;
  padding: 0 !important;
}

.clients-scroll-wrapper,
.clients-scroll-track,
.client-logo-item,
.client-item {
  display: none !important;
}

/*--------------------------------------------------------------
# Section Garanties/Engagements
--------------------------------------------------------------*/
.guarantee-card {
  background: var(--surface-color);
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
  border-radius: 16px;
  padding: 35px 25px;
  text-align: center;
  transition: all 0.3s ease;
  height: 100%;
}

.guarantee-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 30px color-mix(in srgb, var(--accent-color), transparent 20%);
  border-color: var(--accent-color);
}

.guarantee-icon {
  font-size: 48px;
  color: var(--accent-color);
  margin-bottom: 20px;
}

.guarantee-card h3 {
  font-size: 20px;
  font-weight: 600;
  color: var(--heading-color);
  margin-bottom: 15px;
}

.guarantee-card p {
  color: var(--default-color);
  line-height: 1.7;
  margin: 0;
}

/*--------------------------------------------------------------
# Section Newsletter
--------------------------------------------------------------*/
.newsletter {
  background: linear-gradient(135deg, 
    color-mix(in srgb, var(--accent-color), transparent 8%) 0%,
    color-mix(in srgb, var(--background-color), transparent 0%) 50%,
    color-mix(in srgb, var(--accent-color), transparent 8%) 100%
  );
  position: relative;
  overflow: hidden;
}

.newsletter::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 30% 50%, color-mix(in srgb, var(--accent-color), transparent 15%) 0%, transparent 50%);
  pointer-events: none;
  z-index: 0;
}

.newsletter-wrapper {
  position: relative;
  z-index: 1;
}

.newsletter-content {
  padding: 20px 0;
}

.newsletter-icon-wrapper {
  margin-bottom: 24px;
  display: inline-block;
}

.newsletter-icon {
  font-size: 64px;
  color: var(--accent-color);
  background: linear-gradient(135deg, var(--accent-color), color-mix(in srgb, var(--accent-color), #ff6b9d 50%));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: block;
  animation: newsletter-icon-pulse 3s ease-in-out infinite;
}

@keyframes newsletter-icon-pulse {
  0%, 100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.05);
    opacity: 0.9;
  }
}

.newsletter-title {
  font-size: 36px;
  font-weight: 700;
  color: #ffffff !important;
  margin-bottom: 16px;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.newsletter-description {
  color: #ffffff !important;
  font-size: 17px;
  line-height: 1.7;
  margin-bottom: 28px;
}

.newsletter-benefits {
  list-style: none;
  padding: 0;
  margin: 0 0 24px 0;
}

.newsletter-benefits li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
  color: #ffffff !important;
  font-size: 15px;
  line-height: 1.6;
}

.newsletter-benefits li:last-child {
  margin-bottom: 0;
}

.newsletter-benefits li i {
  color: #ffffff !important;
  font-size: 18px;
  flex-shrink: 0;
  margin-top: 2px;
}

.newsletter-benefits li span {
  flex: 1;
  color: #ffffff !important;
}

.newsletter-guarantee {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: color-mix(in srgb, var(--accent-color), transparent 95%);
  border: 1px solid color-mix(in srgb, var(--accent-color), transparent 80%);
  border-radius: 8px;
  color: #ffffff !important;
  font-size: 13px;
  margin-top: 24px;
}

.newsletter-guarantee i {
  color: #ffffff !important;
  font-size: 16px;
  flex-shrink: 0;
}

.newsletter-guarantee span {
  color: #ffffff !important;
}

.newsletter-form-wrapper {
  background: var(--surface-color);
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
  border-radius: 16px;
  padding: 32px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  position: relative;
  overflow: hidden;
}

.newsletter-form-wrapper::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent-color), color-mix(in srgb, var(--accent-color), #ff6b9d 50%));
}

.newsletter-form-header {
  margin-bottom: 24px;
  text-align: center;
}

.newsletter-form-header h3 {
  font-size: 24px;
  font-weight: 600;
  color: var(--heading-color);
  margin-bottom: 8px;
}

.newsletter-form-header p {
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  font-size: 14px;
  margin: 0;
}

.newsletter-form .input-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.input-icon {
  position: absolute;
  left: 16px;
  color: color-mix(in srgb, var(--default-color), transparent 50%);
  font-size: 18px;
  z-index: 1;
  pointer-events: none;
}

.newsletter-form .form-control {
  flex: 1;
  padding: 16px 16px 16px 48px;
  border: 2px solid color-mix(in srgb, var(--default-color), transparent 85%);
  border-radius: 10px;
  font-size: 15px;
  background: var(--background-color);
  color: var(--default-color);
  transition: all 0.3s ease;
  width: 100%;
}

.newsletter-form .form-control:focus {
  border-color: var(--accent-color);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent-color), transparent 20%);
  outline: none;
  background: var(--surface-color);
}

.newsletter-form .form-control::placeholder {
  color: color-mix(in srgb, var(--default-color), transparent 60%);
}

.newsletter-submit {
  background: linear-gradient(135deg, var(--accent-color), color-mix(in srgb, var(--accent-color), #ff6b9d 30%));
  color: var(--contrast-color);
  border: none;
  padding: 16px 32px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  width: 100%;
  box-shadow: 0 4px 16px color-mix(in srgb, var(--accent-color), transparent 40%);
}

.newsletter-submit::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s ease;
}

.newsletter-submit:hover::before {
  left: 100%;
}

.newsletter-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px color-mix(in srgb, var(--accent-color), transparent 50%);
}

.newsletter-submit:active {
  transform: translateY(0);
}

.newsletter-submit:focus-visible {
  outline: 3px solid var(--accent-color);
  outline-offset: 3px;
}

.newsletter-submit .btn-loader {
  display: none;
  animation: spin 1s linear infinite;
}

.newsletter-submit.loading .btn-text,
.newsletter-submit.loading .btn-icon {
  display: none;
}

.newsletter-submit.loading .btn-loader {
  display: inline-block;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.newsletter-messages {
  margin-top: 16px;
  min-height: 50px;
}

.newsletter-form .loading,
.newsletter-form .error-message,
.newsletter-form .sent-message {
  display: none;
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 14px;
  text-align: center;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.newsletter-form .loading {
  background: color-mix(in srgb, var(--accent-color), transparent 95%);
  color: var(--accent-color);
  border: 1px solid color-mix(in srgb, var(--accent-color), transparent 80%);
}

.newsletter-form .loading i {
  animation: spin 1s linear infinite;
}

.newsletter-form .error-message {
  background: color-mix(in srgb, #ef4444, transparent 95%);
  color: #ef4444;
  border: 1px solid color-mix(in srgb, #ef4444, transparent 80%);
}

.newsletter-form .sent-message {
  background: color-mix(in srgb, #10b981, transparent 95%);
  color: #10b981;
  border: 1px solid color-mix(in srgb, #10b981, transparent 80%);
  display: flex;
}

.newsletter-form .loading.d-block,
.newsletter-form .error-message.d-block,
.newsletter-form .sent-message.d-block {
  display: flex;
}

@media (max-width: 992px) {
  .newsletter-title {
    font-size: 32px;
  }

  .newsletter-form-wrapper {
    padding: 28px;
    margin-top: 30px;
  }
}

@media (max-width: 768px) {
  .newsletter-icon {
    font-size: 48px;
  }

  .newsletter-title {
    font-size: 28px;
  }

  .newsletter-description {
    font-size: 16px;
  }

  .newsletter-benefits li {
    font-size: 14px;
  }

  .newsletter-form-wrapper {
    padding: 24px;
  }

  .newsletter-form-header h3 {
    font-size: 20px;
  }
}

/*--------------------------------------------------------------
# Bannière de consentement aux cookies (RGPD)
--------------------------------------------------------------*/
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--surface-color);
  border-top: 2px solid color-mix(in srgb, var(--accent-color), transparent 30%);
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
  z-index: 10000;
  padding: 20px 0;
  display: none;
  transform: translateY(100%);
  transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
  opacity: 0;
}

.cookie-banner.show {
  transform: translateY(0);
  opacity: 1;
}

.cookie-banner-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}

.cookie-banner-text {
  flex: 1;
  min-width: 300px;
}

.cookie-banner-text h3 {
  font-size: 20px;
  font-weight: 600;
  color: var(--heading-color);
  margin-bottom: 8px;
}

.cookie-banner-text p {
  font-size: 14px;
  color: var(--default-color);
  line-height: 1.6;
  margin: 0;
}

.cookie-banner-text a {
  color: var(--accent-color);
  text-decoration: underline;
  transition: color 0.3s ease;
}

.cookie-banner-text a:hover {
  color: color-mix(in srgb, var(--accent-color), transparent 20%);
}

.cookie-banner-actions {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
}

.btn-cookie-accept,
.btn-cookie-decline {
  padding: 12px 24px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  white-space: nowrap;
}

.btn-cookie-accept {
  background: var(--accent-color);
  color: var(--contrast-color);
}

.btn-cookie-accept:hover {
  background: color-mix(in srgb, var(--accent-color), transparent 15%);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px color-mix(in srgb, var(--accent-color), transparent 50%);
}

.btn-cookie-accept:focus-visible {
  outline: 3px solid var(--accent-color);
  outline-offset: 3px;
}

.btn-cookie-decline {
  background: transparent;
  color: var(--default-color);
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 70%);
}

.btn-cookie-decline:hover {
  background: color-mix(in srgb, var(--surface-color), var(--default-color) 10%);
  border-color: color-mix(in srgb, var(--default-color), transparent 50%);
  transform: translateY(-2px);
}

.btn-cookie-decline:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--default-color), transparent 60%);
  outline-offset: 3px;
}

.btn-cookie-accept:active,
.btn-cookie-decline:active {
  transform: translateY(0);
}

/* Responsive pour la bannière de cookies */
@media (max-width: 768px) {
  .cookie-banner {
    padding: 15px 0;
  }

  .cookie-banner-content {
    flex-direction: column;
    align-items: stretch;
    gap: 15px;
    padding: 0 15px;
  }

  .cookie-banner-text {
    min-width: 100%;
  }

  .cookie-banner-text h3 {
    font-size: 18px;
  }

  .cookie-banner-text p {
    font-size: 13px;
  }

  .cookie-banner-actions {
    width: 100%;
    flex-direction: column;
  }

  .btn-cookie-accept,
  .btn-cookie-decline {
    width: 100%;
    padding: 14px 20px;
  }
}

@media (max-width: 576px) {
  .cookie-banner {
    padding: 12px 0;
  }

  .cookie-banner-content {
    padding: 0 12px;
  }

  .cookie-banner-text h3 {
    font-size: 16px;
    margin-bottom: 6px;
  }

  .cookie-banner-text p {
    font-size: 12px;
  }
}

/*--------------------------------------------------------------
# Optimisations Globales Mobile
--------------------------------------------------------------*/

/* Optimisations générales pour mobile */
@media (max-width: 768px) {
  /* Réduction des paddings des sections */
  section,
  .section {
    padding: 40px 0;
    scroll-margin-top: 60px;
  }

  /* Titres de section optimisés */
  .section-title {
    padding-bottom: 40px;
  }

  .section-title h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
  }

  .section-title p {
    font-size: 1rem;
    padding: 0 15px;
  }

  /* Header optimisé */
  .header {
    padding: 12px 0;
  }

  .header .logo h1 {
    font-size: 20px;
  }

  .header .logo img,
  .header .logo .logo-img {
    max-height: 28px;
  }

  .header .btn-getstarted {
    padding: 8px 16px;
    font-size: 13px;
  }

  /* Footer optimisé */
  .footer {
    padding-bottom: 30px;
  }

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

  .footer .footer-about .logo span {
    font-size: 24px;
  }

  .footer h4 {
    font-size: 15px;
    margin-bottom: 15px;
  }

  .footer .footer-links ul li {
    padding: 8px 0;
  }

  .footer .social-links a {
    width: 36px;
    height: 36px;
    font-size: 14px;
    margin-right: 8px;
  }

  /* Garanties/Engagements optimisées */
  .guarantee-card {
    padding: 25px 20px;
    margin-bottom: 20px;
  }

  .guarantee-icon {
    font-size: 40px;
    margin-bottom: 15px;
  }

  .guarantee-card h3 {
    font-size: 18px;
    margin-bottom: 12px;
  }

  .guarantee-card p {
    font-size: 14px;
    line-height: 1.6;
  }

  /* Newsletter optimisée */
  .newsletter {
    padding: 40px 0;
  }

  .newsletter h2 {
    font-size: 24px;
    margin-bottom: 12px;
  }

  .newsletter p {
    font-size: 14px;
    margin-bottom: 20px;
  }

  /* Page title optimisé */
  .page-title {
    padding: 15px 0;
  }

  .page-title h1 {
    font-size: 24px;
  }

  .page-title .breadcrumbs ol {
    font-size: 13px;
  }
}

/* Optimisations pour petits mobiles */
@media (max-width: 576px) {
  /* Sections encore plus compactes */
  section,
  .section {
    padding: 35px 0;
  }

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

  .section-title h2 {
    font-size: 1.75rem;
    line-height: 1.3;
  }

  .section-title .subtitle {
    font-size: 0.8rem;
    letter-spacing: 1.5px;
  }

  /* Header encore plus compact */
  .header {
    padding: 10px 0;
  }

  .header .logo h1 {
    font-size: 18px;
  }

  .header .logo img,
  .header .logo .logo-img {
    max-height: 24px;
  }

  /* Footer encore plus compact */
  .footer .footer-top {
    padding-top: 30px;
  }

  .footer .footer-about .logo span {
    font-size: 20px;
  }

  .footer .footer-about p {
    font-size: 13px;
  }

  .footer .footer-links ul li {
    padding: 6px 0;
    font-size: 13px;
  }

  /* Garanties encore plus compactes */
  .guarantee-card {
    padding: 20px 15px;
  }

  .guarantee-icon {
    font-size: 36px;
    margin-bottom: 12px;
  }

  .guarantee-card h3 {
    font-size: 16px;
  }

  .guarantee-card p {
    font-size: 13px;
  }

  /* Newsletter encore plus compacte */
  .newsletter {
    padding: 35px 0;
  }

  .newsletter h2 {
    font-size: 22px;
  }

  .newsletter p {
    font-size: 13px;
  }

  /* Page title encore plus compact */
  .page-title h1 {
    font-size: 22px;
  }

  /* Touch targets optimisés (minimum 44x44px) */
  a,
  button,
  .btn,
  .navmenu a,
  .footer .social-links a,
  .scroll-top {
    min-height: 44px;
    min-width: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  /* Espacements optimisés pour le texte */
  p {
    font-size: 14px;
    line-height: 1.7;
  }

  h1 {
    font-size: 28px;
  }

  h2 {
    font-size: 24px;
  }

  h3 {
    font-size: 20px;
  }

  h4 {
    font-size: 18px;
  }

  h5 {
    font-size: 16px;
  }

  h6 {
    font-size: 14px;
  }
}

/* Optimisations pour très petits mobiles */
@media (max-width: 400px) {
  section,
  .section {
    padding: 30px 0;
  }

  .section-title h2 {
    font-size: 1.5rem;
  }

  .header .logo h1 {
    font-size: 16px;
  }

  .header .btn-getstarted {
    padding: 6px 12px;
    font-size: 12px;
  }

  .footer .footer-about .logo span {
    font-size: 18px;
  }

  .guarantee-card {
    padding: 18px 12px;
  }

  .newsletter h2 {
    font-size: 20px;
  }
}

/* Optimisations de performance pour mobile */
@media (max-width: 768px) {
  /* Désactiver les animations complexes */
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  /* Réactiver les transitions essentielles */
  a,
  button,
  .btn,
  .navmenu a,
  .footer .social-links a,
  .scroll-top,
  .form-control,
  .portfolio-card,
  .service-item,
  .guarantee-card {
    transition-duration: 0.2s !important;
  }

  /* Optimiser les images */
  img {
    max-width: 100%;
    height: auto;
  }

  /* Réduire les ombres pour de meilleures performances */
  * {
    box-shadow: none !important;
  }

  /* Réactiver les ombres essentielles */
  .header,
  .footer .copyright,
  .modal-content,
  .portfolio-card,
  .service-item,
  .guarantee-card,
  .about .profile-card {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) !important;
  }
}

/* Amélioration de la lisibilité sur mobile */
@media (max-width: 768px) {
  /* Augmenter l'espacement des lignes */
  body {
    line-height: 1.7;
  }

  /* Améliorer le contraste */
  .section-title .subtitle {
    font-weight: 600;
  }

  /* Espacement optimal entre les éléments */
  .row > * {
    margin-bottom: 20px;
  }

  .row > *:last-child {
    margin-bottom: 0;
  }
}

/* Optimisation du scroll sur mobile - Compatible tous navigateurs */
@media (max-width: 768px) {
  html {
    -webkit-overflow-scrolling: touch;
    -ms-overflow-style: -ms-autohiding-scrollbar;
    scroll-behavior: smooth;
    /* Fix pour Safari iOS */
    position: relative;
    overflow-x: hidden;
  }

  body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    /* Fix pour iOS Safari - Empêcher le bounce scroll horizontal */
    overflow-x: hidden;
    position: relative;
    width: 100%;
    /* Fix pour Android Chrome */
    -webkit-tap-highlight-color: rgba(144, 224, 239, 0.3);
    /* Fix pour Firefox Mobile */
    -moz-tap-highlight-color: rgba(144, 224, 239, 0.3);
  }

  /* Fix pour Safari iOS - Empêcher le zoom sur input focus */
  input[type="text"],
  input[type="email"],
  input[type="tel"],
  input[type="number"],
  textarea,
  select {
    font-size: 16px !important;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border-radius: 0;
  }

  /* Fix pour iOS Safari - Input focus */
  input:focus,
  textarea:focus,
  select:focus {
    font-size: 16px !important;
  }

  /* Fix pour Samsung Internet - Scroll smooth */
  * {
    -webkit-overflow-scrolling: touch;
  }

  /* Fix pour Chrome Android - Touch action */
  a,
  button,
  .btn,
  .navmenu a {
    -webkit-tap-highlight-color: rgba(144, 224, 239, 0.3);
    -moz-tap-highlight-color: rgba(144, 224, 239, 0.3);
    touch-action: manipulation;
  }

  /* Fix pour Firefox Mobile - Images */
  img {
    -moz-user-select: none;
    -webkit-user-select: none;
    user-select: none;
    -webkit-touch-callout: none;
    /* Fix pour Safari iOS - Images */
    -webkit-tap-highlight-color: transparent;
  }

  /* Fix pour Edge Mobile - Flexbox */
  .row,
  [class*="col-"] {
    min-height: 1px;
  }

  /* Fix pour tous les navigateurs - Container */
  .container,
  .container-fluid {
    width: 100%;
    max-width: 100%;
    padding-left: 15px;
    padding-right: 15px;
    /* Fix pour iOS Safari - Padding safe area */
    padding-left: max(15px, env(safe-area-inset-left));
    padding-right: max(15px, env(safe-area-inset-right));
  }

  /* Fix pour iOS Safari - Safe area pour les éléments fixes */
  .header,
  .whatsapp-float,
  .scroll-top {
    padding-left: env(safe-area-inset-left);
    padding-right: env(safe-area-inset-right);
  }

  .whatsapp-float {
    left: max(20px, env(safe-area-inset-left));
  }

  .scroll-top {
    right: max(15px, env(safe-area-inset-right));
  }

  /* Fix pour iOS Safari - Modal */
  .modal {
    padding-left: env(safe-area-inset-left);
    padding-right: env(safe-area-inset-right);
  }

  /* Fix pour Chrome Android - Backdrop filter */
  .modal-backdrop {
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
  }

  /* Fix pour Firefox Mobile - Backdrop filter fallback */
  @supports not (backdrop-filter: blur(4px)) {
    .modal-backdrop {
      background-color: rgba(0, 0, 0, 0.85);
    }
  }

  /* Fix pour iOS Safari - 100vh avec barre d'adresse */
  .hero {
    height: 100vh;
    min-height: -webkit-fill-available;
    min-height: 100vh;
  }

  /* Fix pour Chrome Android - Viewport height */
  @supports (-webkit-touch-callout: none) {
    .hero {
      height: 100vh;
      min-height: -webkit-fill-available;
    }
  }

  /* Fix pour Samsung Internet - Flexbox */
  .row {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
  }

  /* Fix pour Edge Mobile - Grid fallback */
  @supports not (display: grid) {
    .about .content-wrapper .details-grid {
      display: -webkit-box;
      display: -webkit-flex;
      display: -ms-flexbox;
      display: flex;
      -webkit-flex-wrap: wrap;
      -ms-flex-wrap: wrap;
      flex-wrap: wrap;
    }
  }

  /* Fix pour tous les navigateurs - Border radius */
  .btn-hero-modern,
  .btn,
  button,
  .form-control,
  .modal-content,
  .portfolio-card,
  .service-item,
  .guarantee-card {
    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
    border-radius: 8px;
  }

  /* Fix pour iOS Safari - Input appearance */
  input,
  textarea,
  select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
  }

  /* Fix pour Chrome Android - Box shadow */
  .header,
  .modal-content,
  .portfolio-card,
  .service-item {
    -webkit-box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    -moz-box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  }

  /* Fix pour Firefox Mobile - Text rendering */
  body,
  p,
  h1, h2, h3, h4, h5, h6 {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
  }

  /* Fix pour Samsung Internet - Overflow */
  section,
  .section {
    -webkit-overflow-scrolling: touch;
    overflow-x: hidden;
  }

  /* Fix pour iOS Safari - Fixed elements */
  .header,
  .whatsapp-float,
  .scroll-top {
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
  }

  /* Fix pour Chrome Android - Will-change */
  .hero img,
  .portfolio-card img {
    -webkit-will-change: transform, opacity;
    will-change: transform, opacity;
  }
}

/*--------------------------------------------------------------
# Notifications Toast
--------------------------------------------------------------*/
.notification {
  position: fixed;
  top: 20px;
  right: 20px;
  min-width: 320px;
  max-width: 500px;
  background: var(--surface-color);
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 80%);
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  z-index: 10001;
  opacity: 0;
  transform: translateX(400px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
}

.notification.show {
  opacity: 1;
  transform: translateX(0);
}

.notification-content {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px;
}

.notification-icon {
  font-size: 24px;
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.notification-success .notification-icon {
  color: #10b981;
  background: color-mix(in srgb, #10b981, transparent 90%);
}

.notification-error .notification-icon {
  color: #ef4444;
  background: color-mix(in srgb, #ef4444, transparent 90%);
}

.notification-info .notification-icon {
  color: #3b82f6;
  background: color-mix(in srgb, #3b82f6, transparent 90%);
}

.notification-text {
  flex: 1;
  min-width: 0;
}

.notification-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--heading-color);
  margin-bottom: 4px;
  line-height: 1.4;
}

.notification-message {
  font-size: 14px;
  color: var(--default-color);
  line-height: 1.5;
  margin-top: 4px;
}

.notification-close {
  background: transparent;
  border: none;
  color: color-mix(in srgb, var(--default-color), transparent 50%);
  font-size: 20px;
  cursor: pointer;
  padding: 0;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.notification-close:hover {
  color: var(--heading-color);
  background: color-mix(in srgb, var(--default-color), transparent 90%);
}

.notification-close:focus-visible {
  outline: 2px solid var(--accent-color);
  outline-offset: 2px;
}

/* Barre de progression pour la notification */
.notification::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  height: 3px;
  background: var(--accent-color);
  width: 100%;
  transform: scaleX(0);
  transform-origin: left;
  animation: notification-progress 5s linear forwards;
}

.notification-success::after {
  background: #10b981;
}

.notification-error::after {
  background: #ef4444;
}

@keyframes notification-progress {
  to {
    transform: scaleX(1);
  }
}

/* Responsive pour les notifications */
@media (max-width: 768px) {
  .notification {
    top: 15px;
    right: 15px;
    left: 15px;
    min-width: auto;
    max-width: none;
    transform: translateY(-100px);
  }

  .notification.show {
    transform: translateY(0);
  }

  .notification-content {
    padding: 16px;
    gap: 12px;
  }

  .notification-icon {
    font-size: 20px;
    width: 28px;
    height: 28px;
  }

  .notification-title {
    font-size: 15px;
  }

  .notification-message {
    font-size: 13px;
  }
}

@media (max-width: 576px) {
  .notification {
    top: 10px;
    right: 10px;
    left: 10px;
  }

  .notification-content {
    padding: 14px;
    gap: 10px;
  }

  .notification-icon {
    font-size: 18px;
    width: 24px;
    height: 24px;
  }

  .notification-title {
    font-size: 14px;
  }

  .notification-message {
    font-size: 12px;
  }
}