/* ============================================
   MowXml - main-darkgrey-v2-improved.css
   Thème Sombre Élégant avec Menus Améliorés
   Version: 2.0.0 - Janvier 2026
   ============================================ */

/* ========== IMPORTS POLICES ========== */
@import 'https://fonts.googleapis.com/css2?family=Poppins:wght@200;300;400;500;600;700&family=Syne:wght@400;500;600;700&family=Orbitron:wght@400;500;600;700&family=Rajdhani:wght@300;400;500;600;700&display=swap';
@import './fonts/linear-icons-font/style.css';
@import './fonts/fontawesome-free-5.12.1-web/css/all.min.css';

/* ========== VARIABLES CSS ========== */
:root {
  /* Couleurs principales - Thème sombre élégant */
  --primary-color: #1d1e1f;
  --primary-dark: #0a0a0b;
  --primary-light: #2a2b2c;
  --accent-color: #ff4757;
  --accent-hover: #ff6b7a;
  --accent-glow: rgba(255, 71, 87, 0.4);
  
  /* Backgrounds */
  --bg-primary: #0d0d0f;
  --bg-secondary: #111113;
  --bg-tertiary: #161618;
  --bg-card: #1a1a1c;
  
  /* Textes */
  --text-primary: #f0f0f5;
  --text-secondary: #a0a0a8;
  --text-muted: #606068;
  
  /* Bordures */
  --border-color: rgba(255, 255, 255, 0.08);
  --border-light: rgba(255, 255, 255, 0.12);
  --border-accent: rgba(255, 71, 87, 0.3);
  
  /* Glassmorphism */
  --glass-bg: rgba(20, 20, 22, 0.85);
  --glass-border: rgba(255, 255, 255, 0.1);
  --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  
  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  
  /* Menu */
  --menu-width: 90px;
  --menu-bg: linear-gradient(180deg, rgba(20, 20, 22, 0.95) 0%, rgba(13, 13, 15, 0.98) 100%);
}

/* ========== BASE STYLES ========== */
html {
  margin: 0;
  width: 100%;
  height: 100%;
  min-height: 100%;
  overflow: hidden;
}

body {
  background-color: var(--bg-primary);
  margin: 0;
  width: 100%;
  height: 100%;
  min-height: 100%;
  font-size: 15px;
  font-family: 'Poppins', Helvetica, sans-serif;
  line-height: 1.65em;
  overflow: hidden;
  color: var(--text-secondary);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--text-primary);
  font-family: 'Syne', 'Poppins', Helvetica, sans-serif;
  font-weight: 600;
}

h1 { font-size: 32px; }
h2 { font-size: 27px; }
h3 { font-size: 21px; }
h4 { font-size: 18px; }
h5 { font-size: 16px; }
h6 { font-size: 14px; }

a {
  color: var(--accent-color);
  text-decoration: none;
  transition: all var(--transition-normal);
}

a:hover {
  color: var(--accent-hover);
}

p {
  margin-bottom: 10px;
}

.clearfix::before,
.clearfix::after {
  content: " ";
  display: table;
}

.clearfix::after {
  clear: both;
}

/* ========== PAGE LAYOUT ========== */
.page {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 100%;
  padding: 0 100px;
  overflow: hidden;
}

.page-content {
  position: relative;
  width: 100%;
  max-width: 1280px;
  min-height: 80vh;
  margin: 10vh auto;
  padding: 0;
  background-color: var(--primary-color);
  box-shadow: 0 0 100px -5px rgba(0, 0, 0, 0.5);
  border-radius: 32px;
  backface-visibility: hidden;
}

/* ========== BUTTONS ========== */
.btn-primary,
.btn-secondary,
button,
input[type="button"],
input[type="submit"],
.wp-block-button .wp-block-button__link {
  display: inline-block;
  position: relative;
  padding: 0.8em 2.1em;
  margin-bottom: 0.75em;
  margin-right: 0.25em;
  font-size: 1em;
  line-height: 1.2;
  border: 0;
  outline: 0;
  border: 2px solid var(--primary-color);
  color: var(--text-primary);
  text-shadow: none;
  background-color: var(--bg-card);
  border-radius: 30px;
  font-family: 'Rajdhani', 'Poppins', Helvetica, sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all var(--transition-normal);
  box-shadow: 0 10px 20px -8px rgba(0, 0, 0, 0.4);
}

.btn-primary:last-child,
.btn-secondary:last-child,
button:last-child,
input[type="button"]:last-child,
input[type="submit"]:last-child,
.wp-block-button .wp-block-button__link:last-child {
  margin-right: 0;
}

.btn-primary:hover,
.btn-primary:focus,
button:hover,
button:focus,
input[type="button"]:hover,
input[type="button"]:focus,
input[type="submit"]:hover,
input[type="submit"]:focus {
  background-color: var(--accent-color);
  color: #fff;
  border: 2px solid var(--accent-color);
  transform: translateY(-2px);
  box-shadow: 0 15px 30px -8px var(--accent-glow);
}

.btn-secondary {
  border-color: var(--border-light);
  background-color: transparent;
  box-shadow: 0 10px 20px -8px rgba(0, 0, 0, 0.3);
  color: var(--text-secondary);
}

.btn-secondary:hover,
.btn-secondary:focus {
  color: var(--text-primary);
  border-color: var(--text-primary);
  background-color: rgba(255, 255, 255, 0.05);
}

/* ========== PRELOADER ========== */
.no-js .preloader,
.no-js .preloader-portfolio {
  display: none;
}

.preloader,
.preloader-portfolio {
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  background: var(--bg-primary);
}

.preloader-animation {
  position: absolute;
  top: 50%;
  left: 50%;
  text-align: center;
  background-color: inherit;
  color: inherit;
  opacity: 1;
  transition: opacity 0.3s;
  transform: translate3d(-50%, -50%, 0);
}

.preloader-spinner {
  width: 52px;
  height: 52px;
  margin: 100px auto;
  background-color: var(--accent-color);
  border-radius: 100%;
  animation: sk-scaleout 1s infinite ease-in-out;
}

@keyframes sk-scaleout {
  0% {
    transform: scale(0);
  }
  100% {
    transform: scale(1.1);
    opacity: 0;
  }
}

/* ============================================
   MENU LATERAL GAUCHE - DESIGN AMELIORE
   ============================================ */

@media only screen and (min-width: 1025px) {
  
  /* Header principal */
  .header {
    display: inline-block;
    float: left;
    width: 100%;
    max-width: 380px;
    height: 100%;
    max-height: 80vh;
    min-height: auto;
    text-align: center;
    padding: 65px 30px 45px;
    overflow: auto;
  }

  /* Container du menu - Style Glassmorphism */
  header#site_header.header {
    position: fixed !important;
    left: 0 !important;
    top: 0 !important;
    bottom: 0 !important;
    right: auto !important;
    width: var(--menu-width) !important;
    min-width: var(--menu-width) !important;
    max-width: var(--menu-width) !important;
    height: 100vh !important;
    margin: 0 !important;
    padding: 0 !important;
    background: var(--menu-bg) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    border-right: 1px solid var(--glass-border) !important;
    box-shadow: var(--glass-shadow) !important;
    z-index: 9999 !important;
    transform: translateX(0) !important;
    opacity: 1 !important;
    visibility: visible !important;
    overflow: hidden !important;
  }

  /* Ligne lumineuse en haut du menu */
  header#site_header.header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, 
      transparent 0%, 
      var(--accent-color) 50%, 
      transparent 100%);
    opacity: 0.6;
    z-index: 10;
  }

  /* Effet de lumière ambiante */
  header#site_header.header::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 150px;
    background: radial-gradient(ellipse at top, var(--accent-glow) 0%, transparent 70%);
    opacity: 0.15;
    pointer-events: none;
    z-index: 1;
  }

  /* Liste du menu principal */
  ul.main-menu {
    position: fixed !important;
    left: 0 !important;
    top: 0 !important;
    bottom: 0 !important;
    right: auto !important;
    width: var(--menu-width) !important;
    min-width: var(--menu-width) !important;
    max-width: var(--menu-width) !important;
    margin: 0 !important;
    padding: 25px 10px !important;
    background: transparent !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    list-style: none !important;
    z-index: 9999 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
  }

  /* Items du menu */
  ul.main-menu li {
    width: 100% !important;
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    display: block !important;
    position: relative !important;
  }

  /* Séparateurs stylisés entre items */
  ul.main-menu li:not(:last-child)::after {
    content: '';
    display: block;
    width: 40px;
    height: 1px;
    background: linear-gradient(90deg, 
      transparent 0%, 
      var(--border-color) 50%, 
      transparent 100%);
    margin: 4px auto;
    opacity: 0.5;
    transition: all var(--transition-normal);
  }

  ul.main-menu li:hover:not(:last-child)::after {
    background: linear-gradient(90deg, 
      transparent 0%, 
      var(--accent-color) 50%, 
      transparent 100%);
    opacity: 0.3;
    width: 50px;
  }

  /* Liens du menu */
  ul.main-menu li a {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 14px 8px !important;
    border-radius: 12px !important;
    color: var(--text-muted) !important;
    text-decoration: none !important;
    transition: all var(--transition-normal) !important;
    gap: 6px !important;
    width: 100% !important;
    background: transparent !important;
    border: 1px solid transparent !important;
    position: relative !important;
    overflow: hidden !important;
  }

  /* Effet de fond au survol */
  ul.main-menu li a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
      rgba(255, 71, 87, 0.1) 0%, 
      rgba(255, 71, 87, 0.05) 100%);
    opacity: 0;
    transition: opacity var(--transition-normal);
    border-radius: 12px;
    z-index: -1;
  }

  /* État hover des liens */
  ul.main-menu li a:hover {
    color: var(--accent-color) !important;
    background: rgba(255, 71, 87, 0.08) !important;
    border: 1px solid rgba(255, 71, 87, 0.15) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 20px -5px rgba(255, 71, 87, 0.2) !important;
  }

  ul.main-menu li a:hover::before {
    opacity: 1;
  }

  /* État actif des liens */
  ul.main-menu li.active a,
  ul.main-menu li a.active {
    background: linear-gradient(135deg, 
      var(--accent-color) 0%, 
      #e63946 100%) !important;
    color: #ffffff !important;
    border: 1px solid rgba(255, 71, 87, 0.4) !important;
    box-shadow: 
      0 10px 30px -5px var(--accent-glow),
      inset 0 1px 0 rgba(255, 255, 255, 0.1) !important;
    transform: scale(1.02) !important;
  }

  /* Indicateur vertical à gauche pour item actif */
  ul.main-menu li.active a::after,
  ul.main-menu li a.active::after {
    content: '';
    position: absolute;
    left: -10px;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 35px;
    background: var(--accent-color);
    border-radius: 0 4px 4px 0;
    box-shadow: 0 0 10px var(--accent-glow);
    animation: indicatorPulse 2s ease-in-out infinite;
  }

  @keyframes indicatorPulse {
    0%, 100% { opacity: 0.8; height: 35px; }
    50% { opacity: 1; height: 40px; }
  }

  /* Icônes du menu */
  ul.main-menu li a .menu-icon,
  ul.main-menu li a span.menu-icon,
  ul.main-menu li a .lnr {
    font-size: 26px !important;
    color: inherit !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 42px !important;
    height: 42px !important;
    line-height: 1 !important;
    transition: all var(--transition-normal) !important;
    position: relative !important;
  }

  /* Animation de rotation au survol */
  ul.main-menu li a:hover .menu-icon {
    animation: iconSpin 0.6s ease-in-out;
  }

  @keyframes iconSpin {
    0% { transform: rotate(0deg) scale(1); }
    25% { transform: rotate(-10deg) scale(1.1); }
    75% { transform: rotate(10deg) scale(1.1); }
    100% { transform: rotate(0deg) scale(1); }
  }

  /* Badge pulsant pour item actif */
  ul.main-menu li.active a .menu-icon::before,
  ul.main-menu li a.active .menu-icon::before {
    content: '';
    position: absolute;
    top: -3px;
    right: -3px;
    width: 10px;
    height: 10px;
    background: #fff;
    border-radius: 50%;
    border: 2px solid var(--accent-color);
    animation: badgePulse 2s ease-in-out infinite;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
  }

  @keyframes badgePulse {
    0%, 100% { 
      transform: scale(1); 
      box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7);
    }
    50% { 
      transform: scale(1.2); 
      box-shadow: 0 0 0 5px rgba(255, 255, 255, 0);
    }
  }

  /* Texte des liens */
  ul.main-menu li a .link-text,
  ul.main-menu li a span.link-text {
    font-family: 'Rajdhani', 'Poppins', sans-serif !important;
    font-size: 10px !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.8px !important;
    color: inherit !important;
    display: block !important;
    text-align: center !important;
    white-space: nowrap !important;
    transition: all var(--transition-normal) !important;
    position: static !important;
    visibility: visible !important;
    opacity: 1 !important;
    background: transparent !important;
    padding: 0 !important;
    margin: 0 !important;
    box-shadow: none !important;
  }

  /* Texte actif - Blanc */
  ul.main-menu li.active a .link-text,
  ul.main-menu li a.active .link-text {
    color: #ffffff !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
  }

  /* ============================================
     FLECHES DE NAVIGATION - DESIGN AMELIORE
     ============================================ */

  .lmpixels-arrows-nav {
    position: fixed !important;
    right: 20px !important;
    left: auto !important;
    top: 50% !important;
    bottom: auto !important;
    transform: translateY(-50%) !important;
    width: auto !important;
    height: auto !important;
    padding: 0 !important;
    margin: 0 !important;
    background: transparent !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    z-index: 9998 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
    list-style: none !important;
  }

  /* Boutons des flèches */
  .lmpixels-arrows-nav div {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 50px !important;
    height: 50px !important;
    background: var(--glass-bg) !important;
    backdrop-filter: blur(15px) !important;
    -webkit-backdrop-filter: blur(15px) !important;
    border: 1px solid var(--glass-border) !important;
    border-radius: 50% !important;
    cursor: pointer !important;
    transition: all var(--transition-normal) !important;
    color: var(--text-secondary) !important;
    font-size: 18px !important;
    padding: 0 !important;
    position: relative !important;
    overflow: hidden !important;
    box-shadow: 
      0 4px 15px rgba(0, 0, 0, 0.3),
      inset 0 1px 0 rgba(255, 255, 255, 0.05) !important;
  }

  /* Effet de gradient animé en arrière-plan */
  .lmpixels-arrows-nav div::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
      var(--accent-color) 0%, 
      #e63946 100%);
    opacity: 0;
    transition: opacity var(--transition-normal);
    border-radius: 50%;
    z-index: -1;
  }

  /* Effet de pulsation subtile */
  .lmpixels-arrows-nav div::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    transform: translate(-50%, -50%);
    border: 2px solid var(--accent-color);
    border-radius: 50%;
    opacity: 0;
    animation: arrowPulse 3s ease-in-out infinite;
  }

  @keyframes arrowPulse {
    0%, 100% { 
      transform: translate(-50%, -50%) scale(1); 
      opacity: 0;
    }
    50% { 
      transform: translate(-50%, -50%) scale(1.3); 
      opacity: 0.3;
    }
  }

  /* État hover des flèches */
  .lmpixels-arrows-nav div:hover {
    color: #ffffff !important;
    border-color: var(--accent-color) !important;
    transform: scale(1.15) !important;
    box-shadow: 
      0 8px 25px var(--accent-glow),
      0 0 20px var(--accent-glow),
      inset 0 1px 0 rgba(255, 255, 255, 0.2) !important;
  }

  .lmpixels-arrows-nav div:hover::before {
    opacity: 1;
  }

  /* Icônes des flèches */
  .lmpixels-arrows-nav div i {
    font-size: 18px !important;
    line-height: 1 !important;
    transition: all var(--transition-normal) !important;
    position: relative !important;
    z-index: 2 !important;
  }

  /* Animation directionnelle au survol - Flèche droite */
  .lmpixels-arrow-right:hover i {
    animation: arrowMoveRight 0.6s ease-in-out infinite;
  }

  @keyframes arrowMoveRight {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(4px); }
  }

  /* Animation directionnelle au survol - Flèche gauche */
  .lmpixels-arrow-left:hover i {
    animation: arrowMoveLeft 0.6s ease-in-out infinite;
  }

  @keyframes arrowMoveLeft {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(-4px); }
  }

  /* État actif (clic) */
  .lmpixels-arrows-nav div:active {
    transform: scale(0.95) !important;
  }

  /* ============================================
     RESTE DES STYLES EXISTANTS
     ============================================ */

  .header-photo {
    position: relative;
    width: 180px;
    margin: 0 auto 30px;
    z-index: 1;
  }

  .header-photo img {
    max-width: 100%;
    background-color: var(--bg-card);
    border: 3px solid var(--border-light);
    border-radius: 300px;
  }

  .header-photo::after {
    position: absolute;
    opacity: 0.2;
    top: 7%;
    left: 7%;
    border-radius: 300px;
    content: '';
    height: calc(100% + 0px);
    width: calc(100% + 0px);
    background-image: repeating-radial-gradient(center center, var(--text-muted), var(--text-muted) 1px, transparent 0px, transparent 100%);
    background-size: 6px 6px;
    z-index: -1;
  }

  .header-titles h2 {
    font-size: 36px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 5px 0 7px;
    line-height: 1.2em;
  }

  .header-titles h4 {
    font-size: 18px;
    font-weight: 300;
    color: var(--text-secondary);
    margin: 5px 0;
    line-height: 1.2em;
  }

  .social-links {
    margin: 20px 0;
  }

  .social-links ul {
    list-style: none;
    padding: 0;
  }

  .social-links ul li {
    display: inline-block;
  }

  .social-links ul li a {
    color: var(--text-secondary);
    border-radius: 20px;
    font-size: 18px;
    padding: 0;
    height: 30px;
    width: 30px;
    display: block;
    line-height: 30px;
    text-align: center;
    opacity: 0.9;
  }

  .social-links ul li a:hover {
    opacity: 1;
    background-color: rgba(255, 71, 87, 0.2);
    color: var(--accent-color);
  }

  .header-buttons {
    margin-top: 50px;
  }

  .header-buttons .btn-primary {
    background-color: transparent;
    color: var(--text-primary);
    border-color: var(--border-light);
  }

  .header-buttons .btn-primary:hover {
    background-color: var(--accent-color);
    color: #fff;
    border-color: var(--accent-color);
  }

  .header .copyrights {
    color: var(--text-muted);
    width: 380px;
    position: absolute;
    bottom: 0;
    left: 0;
    padding: 5px 10px 15px;
    line-height: 14px;
    font-size: 12px;
    text-align: center;
  }

  .content-area {
    position: absolute;
    right: 0;
    background-color: transparent;
    height: 100%;
    width: 100%;
    max-width: calc(100% - 0px);
  }

  .animated-sections {
    position: relative;
    height: 100%;
    perspective: 1500px;
    backface-visibility: hidden;
    transform-style: preserve-3d;
  }

  .animated-section {
    position: absolute;
    background-color: var(--bg-secondary);
    height: 100%;
    width: 100%;
    border-radius: 30px;
    padding: 60px;
    opacity: 0;
    overflow: auto;
    visibility: hidden;
    backface-visibility: hidden;
    transform: translate3d(0, 0, 0);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
  }

  .single-page-content {
    position: absolute;
    background-color: var(--bg-secondary);
    height: 100%;
    width: 100%;
    border-radius: 30px;
    padding: 60px;
    overflow: auto;
  }

  .section-active,
  .no-js .animated-section {
    opacity: 1;
    overflow: auto;
    visibility: visible;
    z-index: 99;
  }

  /* Scrollbar */
  .ps > .ps__scrollbar-y-rail {
    margin-right: 10px;
    margin-top: 30px;
    margin-bottom: 30px;
    border-radius: 20px;
  }

  .ps > .ps__scrollbar-y-rail > .ps__scrollbar-y {
    background-color: var(--text-muted);
  }

  .ps:hover > .ps__scrollbar-y-rail:hover > .ps__scrollbar-y {
    background-color: var(--accent-color);
  }

  .ps > .ps__scrollbar-y-rail {
    width: 12px;
  }

  .ps > .ps__scrollbar-y-rail:hover > .ps__scrollbar-y,
  .ps > .ps__scrollbar-y-rail:active > .ps__scrollbar-y,
  .ps:hover.ps--in-scrolling.ps--y > .ps__scrollbar-y-rail > .ps__scrollbar-y,
  .ps.ps--in-scrolling.ps--y > .ps__scrollbar-y-rail > .ps__scrollbar-y {
    width: 8px;
  }

  /* Page Title */
  .page-title {
    display: inline-block;
    position: relative;
    padding-right: 25px;
    padding-bottom: 15px;
    margin-bottom: 30px;
  }

  .page-title h2 {
    position: relative;
    font-size: 32px;
    z-index: 1;
    color: var(--text-primary);
  }

  .page-title h2 span {
    color: var(--accent-color);
  }

  .page-title::after {
    position: absolute;
    opacity: 0.3;
    top: 10px;
    right: 0;
    content: '';
    height: 30px;
    width: 50px;
    background-image: repeating-radial-gradient(center center, var(--accent-color), var(--accent-color) 1px, transparent 0px, transparent 100%);
    background-size: 6px 6px;
    z-index: 0;
  }

  /* Forms */
  .form-group {
    position: relative;
    margin: 0 0 21.5px;
  }

  .form-control,
  .form-control:focus {
    height: 42px;
  }

  .form-control,
  .form-control:focus,
  .has-error .form-control,
  .has-error .form-control:focus,
  input[type="search"],
  input[type="password"],
  input[type="text"],
  .header-search input.form-control {
    position: relative;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    display: block;
    font-size: 1em;
    line-height: 1.4;
    margin: 0;
    padding: 10px 25px 10px 12px;
    width: 100%;
    background: var(--bg-tertiary);
    text-align: left;
    color: var(--text-primary);
    box-shadow: none;
    outline: none;
    font-family: 'Poppins', Helvetica, sans-serif;
    transition: all var(--transition-normal);
  }

  .form-control:focus {
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px var(--accent-glow);
  }

  textarea.form-control,
  textarea.form-control:focus {
    height: auto;
  }

  .form-control::-moz-placeholder {
    color: var(--text-muted);
  }

  .form-control:-ms-input-placeholder {
    color: var(--text-muted);
  }

  .form-control::-webkit-input-placeholder {
    color: var(--text-muted);
  }

  /* Block Title */
  .block-title {
    display: inline-block;
    position: relative;
    padding-right: 12px;
    padding-bottom: 10px;
    margin-bottom: 15px;
  }

  .block-title h3 {
    position: relative;
    font-size: 21px;
    z-index: 1;
    color: var(--text-primary);
  }

  .block-title h3 span {
    color: var(--accent-color);
  }

  .block-title::after {
    position: absolute;
    opacity: 0.3;
    top: 10px;
    right: 0;
    content: '';
    height: 20px;
    width: 30px;
    background-image: repeating-radial-gradient(center center, var(--accent-color), var(--accent-color) 1px, transparent 0px, transparent 100%);
    background-size: 6px 6px;
    z-index: 0;
  }

  /* Info Blocks */
  .info-list ul {
    list-style: none;
    padding: 0;
    margin: 0;
  }

  .info-list ul li {
    margin-bottom: 10px;
    color: var(--text-secondary);
  }

  .info-list .title {
    color: var(--accent-color);
    margin-right: 5px;
    font-weight: 600;
  }

  .info-block-w-icon {
    margin-bottom: 25px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 20px;
    transition: all var(--transition-normal);
  }

  .info-block-w-icon:hover {
    border-color: var(--accent-color);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px -10px var(--accent-glow);
  }

  .info-block-w-icon .ci-text h4 {
    margin: 5px 0;
    color: var(--text-primary);
  }

  .info-block-w-icon .ci-text p {
    font-size: 0.95em;
    color: var(--text-secondary);
  }

  .info-block-w-icon .ci-icon {
    display: table-cell;
    width: 54px;
    padding-right: 25px;
  }

  .info-block-w-icon i {
    position: relative;
    font-size: 42px;
    color: var(--accent-color);
    opacity: 0.8;
  }

  .lm-info-block {
    position: relative;
    text-align: center;
    width: 100%;
    display: block;
    margin: 0 0 15px;
    background-color: var(--bg-card);
    padding: 20px 10px;
    border: 1px solid var(--border-color);
    box-shadow: none;
    overflow: hidden;
    transition: all var(--transition-normal);
    border-radius: 12px;
  }

  .lm-info-block:hover {
    border-color: var(--accent-color);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px -10px var(--accent-glow);
  }

  .lm-info-block i {
    position: relative;
    font-size: 33px;
    color: var(--accent-color);
    z-index: 1;
  }

  .lm-info-block h4 {
    font-size: 15px;
    margin-top: 8px;
    color: var(--text-primary);
  }

  .lm-info-block .lm-info-block-value {
    font-size: 30px;
    line-height: 30px;
    font-weight: 400;
    display: block;
    margin: 10px 0;
    color: var(--accent-color);
  }

  .lm-info-block .lm-info-block-value:empty {
    margin: 0;
  }

  /* Testimonials */
  .testimonial {
    text-align: center;
    border: 2px solid var(--border-color);
    border-radius: 20px;
    margin: 45px 2px 10px;
    padding: 0 25px 15px;
    background: var(--bg-card);
    transition: all var(--transition-normal);
  }

  .testimonial:hover {
    border-color: var(--accent-color);
    transform: translateY(-5px);
    box-shadow: 0 15px 40px -10px rgba(0, 0, 0, 0.4);
  }

  .testimonial img {
    max-width: 90px;
    max-height: 90px;
    margin: -45px auto 20px;
    border-radius: 90px;
    box-shadow: 0 10px 20px -8px rgba(0, 0, 0, 0.4);
  }

  .testimonial .text {
    text-align: left;
    font-style: italic;
    color: var(--text-secondary);
  }

  .testimonial .author-info {
    position: relative;
    text-align: left;
    margin-top: 20px;
  }

  .testimonial .author-info .icon {
    content: '';
    position: absolute;
    font-size: 30px;
    right: 0;
    top: 7px;
    color: var(--accent-color);
    opacity: 0.5;
  }

  .testimonial .author-info .author {
    margin: 0;
    font-size: 15px;
    color: var(--text-primary);
  }

  .testimonial .author-info .company {
    color: var(--text-muted);
    font-size: 13px;
    font-weight: 300;
    margin: 0;
  }

  /* Skills */
  .skills-info.skills-second-style {
    margin-bottom: 30px;
  }

  .skills-info.skills-second-style h4 {
    font-size: 13px;
    line-height: 1.1em;
    position: relative;
    float: left;
    margin: 0 0 4px;
    color: var(--text-primary);
  }

  .skills-second-style .skill-container {
    position: relative;
    display: inline-block;
    background-color: var(--bg-tertiary);
    border: 1px solid var(--accent-color);
    border-radius: 8px;
    box-sizing: border-box;
    height: 10px;
    margin-bottom: 8px;
    width: 100%;
  }

  .skills-second-style .skill-value {
    font-size: 11px;
    line-height: 1.1em;
    position: relative;
    float: right;
    margin: 0 0 4px;
    color: var(--text-muted);
  }

  .skills-second-style .skill-percentage {
    background: linear-gradient(90deg, var(--accent-color), #e63946);
    border: 2px solid transparent;
    border-radius: 8px;
    height: 8px;
    padding: 0;
  }

  .skills-second-style .skill-container.skill-1 .skill-percentage { width: 95%; }
  .skills-second-style .skill-container.skill-2 .skill-percentage { width: 65%; }
  .skills-second-style .skill-container.skill-3 .skill-percentage { width: 80%; }
  .skills-second-style .skill-container.skill-4 .skill-percentage { width: 90%; }
  .skills-second-style .skill-container.skill-5 .skill-percentage { width: 95%; }
  .skills-second-style .skill-container.skill-6 .skill-percentage { width: 85%; }
  .skills-second-style .skill-container.skill-7 .skill-percentage { width: 100%; }
  .skills-second-style .skill-container.skill-8 .skill-percentage { width: 75%; }
  .skills-second-style .skill-container.skill-9 .skill-percentage { width: 90%; }

  /* Timeline */
  .timeline-second-style .timeline-item {
    position: relative;
    display: table;
    table-layout: fixed;
    width: 100%;
    padding-bottom: 15px;
  }

  .timeline-second-style .timeline-item:last-child {
    padding-bottom: 0;
  }

  .timeline-second-style .left-part {
    width: 30%;
    display: table-cell;
    padding-right: 25px;
    min-height: 100%;
    text-align: right;
    vertical-align: top;
  }

  .timeline-second-style .right-part {
    width: 70%;
    display: table-cell;
    padding-left: 25px;
    padding-right: 15px;
    vertical-align: top;
  }

  .timeline-second-style .right-part p,
  .timeline-second-style .right-part p > * {
    font-size: 0.92em;
    color: var(--text-secondary);
  }

  .timeline-second-style .divider {
    position: absolute;
    top: 0;
    left: 30%;
    bottom: 0;
    width: 1px;
    background-color: var(--border-color);
  }

  .timeline-second-style .divider::before {
    content: '';
    display: block;
    position: absolute;
    margin-top: 4px;
    width: 17px;
    height: 17px;
    margin-left: -8px;
    border-radius: 10px;
    background-color: var(--accent-color);
    opacity: 0.25;
    z-index: 0;
  }

  .timeline-second-style .divider::after {
    content: '';
    display: block;
    position: absolute;
    margin-top: 8px;
    width: 9px;
    height: 9px;
    margin-left: -4px;
    background-color: var(--bg-secondary);
    border-radius: 5px;
    border: 2px solid var(--accent-color);
    z-index: 1;
  }

  .timeline-second-style .item-title {
    font-size: 16px;
    margin-bottom: 3px;
    color: var(--text-primary);
  }

  .timeline-second-style .item-period {
    margin: 3px 0;
    font-size: 14px;
    line-height: 1.4em;
    color: var(--accent-color);
  }

  .timeline-second-style .item-company {
    display: block;
    margin: 0 0 4px;
    font-size: 13px;
    font-weight: 300;
    line-height: 1.45em;
    color: var(--text-muted);
  }

  /* Knowledges */
  .knowledges {
    list-style: none;
    padding: 0;
  }

  .knowledges li {
    display: inline-block;
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    color: var(--text-secondary);
    padding: 6px 14px;
    margin: 3px 2px;
    font-size: 13px;
    transition: all var(--transition-normal);
  }

  .knowledges li:hover {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    color: #fff;
  }

  /* Portfolio */
  .portfolio-filters {
    margin-bottom: 30px;
  }

  .portfolio-filters li {
    display: inline-block;
    margin-right: 15px;
    font-size: 13px;
    opacity: 0.7;
  }

  .portfolio-filters li.active {
    opacity: 1;
  }

  .portfolio-filters li a {
    color: var(--text-secondary);
    cursor: pointer;
  }

  .portfolio-filters li a:hover,
  .portfolio-filters li.active a {
    color: var(--accent-color);
  }

  .portfolio-grid {
    margin-left: -7px;
    margin-right: -7px;
  }

  .portfolio-grid figure {
    width: 33.33333%;
    float: left;
    padding: 7px;
    position: relative;
    overflow: hidden;
  }

  .portfolio-grid figure img {
    transition: all var(--transition-normal);
    border-radius: 12px;
  }

  .portfolio-grid figure:hover img {
    transform: scale(1.1);
  }

  /* Blog Cards */
  .blog-card {
    display: block;
    position: relative;
    padding: 0;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    transition: all var(--transition-normal);
  }

  .blog-card:hover {
    border-color: var(--accent-color);
    transform: translateY(-5px);
    box-shadow: 0 15px 40px -10px rgba(0, 0, 0, 0.4);
  }

  .blog-card .post-info {
    padding: 1em 1.4em 1.4em;
    border-top: 0;
  }

  .blog-card .blog-item-title {
    margin: 5px 0 0;
    color: var(--text-primary);
  }

  .blog-card .post-date {
    display: inline-block;
    color: var(--text-muted);
    font-size: 11px;
    line-height: 1.1em;
    font-weight: 300;
  }

  .blog-card .category a {
    position: absolute;
    top: 10px;
    left: 10px;
    background: var(--accent-color);
    padding: 4px 12px;
    line-height: 1.2em;
    font-size: 11px;
    color: #fff;
    z-index: 3;
    border-radius: 20px;
  }

  .blog-card .media-block {
    overflow: hidden;
  }

  .blog-card .media-block img {
    transition: all var(--transition-normal);
  }

  .blog-card:hover .media-block img {
    transform: scale(1.1);
  }
}

/* ========== RESPONSIVE ========== */

@media only screen and (max-width: 1280px) {
  .page {
    padding-left: 30px;
  }

  .header {
    max-width: 30px;
  }

  .content-area {
    max-width: calc(100% - 0px);
  }
}

@media only screen and (min-width: 1025px) {
  .menu-toggle {
    display: none;
  }
}

@media only screen and (max-width: 1024px) {
  .header {
    position: absolute;
    width: 100%;
    max-width: calc(100% - 0px);
    top: 0;
    right: 0;
    bottom: 0;
    background-color: var(--primary-color);
    z-index: 99;
    padding: 30px 30px 10px;
    text-align: center;
    opacity: 1;
    visibility: visible;
    overflow: auto;
    transition: all var(--transition-normal);
  }

  .page {
    padding: 0;
  }

  .page-content {
    padding: 0;
    margin: 0;
    border-radius: 0;
    min-height: 100%;
  }

  .animated-section,
  .single-page-content {
    border-radius: 0;
    overflow: auto !important;
  }

  .mobile-menu-hide {
    width: 0;
    right: 0;
    margin-right: -100%;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    box-shadow: none;
  }

  ul.main-menu {
    margin: 30px 0;
  }

  ul.main-menu a {
    display: block;
    color: var(--text-primary);
    padding: 12px 0;
    line-height: 21px;
    opacity: 0.7;
  }

  ul.main-menu a.active {
    opacity: 1;
    color: var(--accent-color);
  }

  ul.main-menu .menu-icon {
    display: none;
  }

  ul.main-menu .link-text {
    font-size: 16px;
    line-height: 21px;
  }

  .menu-toggle {
    position: absolute;
    display: block;
    width: 48px;
    height: 48px;
    line-height: 46px;
    text-align: center;
    background-color: var(--accent-color);
    right: 10px;
    font-size: 19px;
    top: 10px;
    border-radius: 30px;
    transition: all 0.5s ease-in-out;
    cursor: pointer;
    z-index: 900;
  }

  .menu-toggle span {
    display: block;
    position: absolute;
    height: 3px;
    width: 50%;
    background: #fff;
    border-radius: 5px;
    opacity: 1;
    left: 25%;
    transition: all 0.25s ease-in-out;
  }

  .menu-toggle span:nth-child(1) {
    top: 16px;
    transform-origin: left center;
  }

  .menu-toggle span:nth-child(2) {
    top: 22px;
    transform-origin: left center;
  }

  .menu-toggle span:nth-child(3) {
    top: 28px;
    transform-origin: left center;
  }

  .menu-toggle.open span:nth-child(1) {
    transform: rotate(45deg);
    top: 13px;
    left: 15px;
  }

  .menu-toggle.open span:nth-child(2) {
    width: 0%;
    opacity: 0;
  }

  .menu-toggle.open span:nth-child(3) {
    transform: rotate(-45deg);
    top: 30px;
    left: 15px;
  }

  .lmpixels-arrows-nav {
    background-color: var(--glass-bg);
    width: 48px;
    right: 10px;
    bottom: 10px;
    padding: 5px 0;
    border: 2px solid var(--accent-color);
    border-radius: 25px;
  }

  .lmpixels-arrows-nav div {
    font-size: 24px;
  }
}

@media only screen and (max-width: 768px) {
  .portfolio-grid figure {
    width: 50%;
  }

  .blog-masonry.two-columns .item,
  .blog-masonry.three-columns .item {
    width: 100%;
  }
}

@media only screen and (max-width: 480px) {
  .portfolio-grid figure {
    width: 100%;
  }

  .timeline-second-style .timeline-item {
    position: relative;
    display: block;
  }

  .timeline-second-style .left-part {
    width: 100%;
    display: block;
    padding-left: 25px;
    min-height: 100%;
    text-align: left;
  }

  .timeline-second-style .divider {
    left: 0;
  }

  .timeline-second-style .right-part {
    width: 100%;
    display: block;
    padding-left: 25px;
    padding-right: 0;
  }
}

/* ========== LARGER SCREENS ========== */

@media only screen and (min-width: 1300px) {
  .header {
    max-width: 420px;
  }

  .content-area {
    max-width: calc(100% - 0px);
  }

  .header .copyrights {
    width: 420px;
  }
  
  :root {
    --menu-width: 100px;
  }
  
  ul.main-menu li a .menu-icon {
    font-size: 28px !important;
    width: 46px !important;
    height: 46px !important;
  }
  
  ul.main-menu li a .link-text {
    font-size: 11px !important;
  }
  
  .lmpixels-arrows-nav div {
    width: 55px !important;
    height: 55px !important;
  }
}

@media only screen and (min-width: 1025px) {
  .header {
    max-height: 100%;
  }

  ul.main-menu {
    width: var(--menu-width);
    left: 0;
    right: auto;
    top: 0;
    bottom: 0;
    border-radius: 0;
  }

  .page-content {
    max-width: 100%;
    min-height: 100%;
    margin: 0 auto;
    border-radius: 0;
  }

  .page {
    padding-left: var(--menu-width);
    padding-right: 0;
  }

  .animated-section,
  .single-page-content {
    border-radius: 0;
  }
}

/* ========== WHITE SPACE UTILITIES ========== */
.white-space-10 { padding-bottom: 10px; }
.white-space-20 { padding-bottom: 20px; }
.white-space-30 { padding-bottom: 30px; }
.white-space-40 { padding-bottom: 40px; }
.white-space-50 { padding-bottom: 50px; }
.white-space-60 { padding-bottom: 60px; }
.white-space-70 { padding-bottom: 70px; }

/* ========== SCROLLBAR CUSTOM ========== */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-secondary);
}

::-webkit-scrollbar-thumb {
  background: var(--text-muted);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--accent-color);
}

/* ========== ANIMATIONS ========== */
.animated {
  animation-duration: 1s;
  animation-fill-mode: both;
}

/* FadeIn */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.fadeIn {
  animation-name: fadeIn;
}

/* FadeInUp */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fadeInUp {
  animation-name: fadeInUp;
}

/* ========== HOME PAGE ========== */
.home-page-first-style {
  min-height: calc(100vh - 140px) !important;
}

.lm-animated-bg {
  position: absolute;
  width: auto;
  height: auto;
  top: -28px;
  left: -28px;
  right: -28px;
  bottom: -28px;
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  z-index: -1;
}

.vcentered {
  vertical-align: middle;
  width: 100%;
  align-items: center;
  display: flex;
  justify-content: center;
  flex-direction: column;
  height: 100%;
  flex-wrap: wrap;
  align-content: stretch;
  text-align: center;
}

.vcentered .row {
  width: 100%;
}

.title-block {
  position: relative;
  text-align: center;
}

.title-block h2 {
  font-size: 60px;
  line-height: 74px;
  margin: 0;
  text-align: center;
  color: var(--text-primary);
}

.title-block .sp-subtitle {
  color: var(--text-secondary);
  font-size: 21px;
  font-weight: 300;
  margin: 5px 0;
  text-align: center;
}

.text-rotation {
  display: block;
  width: 100%;
  position: relative;
}

.start-page .mask {
  content: '';
  position: absolute;
  height: 100%;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  background: rgba(10, 10, 10, 0.45);
}

/* Fun Facts */
.fun-fact {
  position: relative;
  text-align: center;
  width: 100%;
  display: block;
  margin: 0 0 15px;
  background: var(--bg-card);
  padding: 25px 10px 15px;
  border: 2px solid var(--border-color);
  border-radius: 10px;
  box-shadow: none;
  overflow: hidden;
  transition: all var(--transition-normal);
}

.fun-fact:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.3);
  border-color: var(--accent-color);
}

.fun-fact h4 {
  font-size: 16px;
  margin: 15px;
  color: var(--text-primary);
}

.fun-fact i {
  position: relative;
  font-size: 33px;
  color: var(--accent-color);
  margin-bottom: 6px;
  width: 33px;
  height: 33px;
}

.fun-fact-block-value {
  color: var(--accent-color);
  font-size: 36px;
  line-height: 50px;
  display: block;
  margin: 15px 0 10px;
}

.fun-fact-block-text {
  display: block;
  color: var(--text-secondary);
}

/* Map */
.lmpixels-map iframe {
  height: 140px;
  max-width: 100%;
  width: 100%;
  margin: 0;
  line-height: 1;
  border: none;
}

.map {
  width: 100%;
  height: 140px;
  margin: 0 0 35px;
}