/* General Styles */
html {
  scroll-padding-top: 70px;
}

body {
  font-family: 'Poppins', Arial, sans-serif;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
}

header {
  background: linear-gradient(135deg, #2c3e50 0%, #1a252f 100%);
  color: white;
  padding: 1rem 0;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: all 0.4s ease;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-shrink: 0;
}

.lang-toggle {
  background: transparent;
  border: 2px solid #ec3f7f;
  color: white;
  font-size: 0.85rem;
  font-weight: 700;
  padding: 0.3rem 0.7rem;
  border-radius: 20px;
  cursor: pointer;
  letter-spacing: 1px;
  transition: all 0.3s ease;
}

.lang-toggle:hover {
  background: #ec3f7f;
  color: white;
  transform: scale(1.05);
}

.scrolled {
  background: rgba(44, 62, 80, 0.95);
  backdrop-filter: blur(10px);
  padding: 0.7rem 0;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.scrolled .logo {
  font-size: 1.2rem;
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: white;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: transform 0.3s ease;
}

.logo:hover {
  transform: translateY(-2px);
}

.logo-icon {
  font-size: 2rem;
  color: #ec3f7f;
}

.logo span {
  color: #ec3f7f;
  background: linear-gradient(45deg, #ec3f7f, #ff7eb3);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 800;
}

.navbar {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 2rem;
}

.navbar li {
  position: relative;
}

.navbar a {
  color: white;
  text-decoration: none;
  font-size: 1.1rem;
  font-weight: 500;
  padding: 0.5rem 0;
  position: relative;
  transition: all 0.3s ease;
}

.navbar a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 0;
  background: linear-gradient(to right, #ec3f7f, #3498db);
  transition: width 0.3s ease;
}

.navbar a:hover {
  color: #ec3f7f;
}

.navbar a:hover::after {
  width: 100%;
}

.navbar a.active-link {
  color: #ec3f7f;
}

.navbar a.active-link::after {
  width: 100%;
}

/* Burger menu */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.4rem 0.6rem;
}

/* Responsive: hamburger déclenché à 1024px */
@media (max-width: 1024px) {
  nav {
    position: relative;
  }

  .nav-container {
    padding: 0 1rem;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 0;
    min-height: 56px;
  }

  .nav-right {
    gap: 0.5rem;
  }

  .logo {
    font-size: 1.1rem;
    margin: 0;
  }

  .lang-toggle {
    font-size: 0.75rem;
    padding: 0.25rem 0.6rem;
  }

  header {
    padding: 0.5rem 0;
  }

  .menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    position: static;
  }

  .navbar {
    display: none;
    flex-direction: column;
    width: 100%;
    position: absolute;
    top: 100%;
    left: 0;
    background: rgba(44, 62, 80, 0.98);
    padding: 1rem;
    border-radius: 0 0 10px 10px;
    z-index: 999;
  }

  .navbar.active {
    display: flex;
  }

  .navbar li {
    margin: 0.5rem 0;
  }
}

/* Section Styles */
.home {
  background: linear-gradient(to left, #ffc8dd, #a2d2ff);
  color: white;
  min-height: 100vh; /* Remplacer height fixe par min-height pour la flexibilité */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 5rem 1rem 2rem; /* padding-top pour compenser le header fixe */
}

.home-content {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  width: 100%;
  max-width: 1200px;
  gap: 3rem; /* Espacement contrôlé entre texte et image */
}

.text-content {
  max-width: 600px; /* Largeur fixe pour mieux contrôler la longueur des lignes */
  text-align: left;
  color: #333;
  margin-right: 0; /* Supprimer le margin-right */
  margin-left: auto; /* Pour centrer avec l'image */
}

h1.hello {
  font-size: 2.2rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
  line-height: 1.2;
}

h1.hello span {
  font-family: 'Clicker Script', cursive;
  font-size: 3rem; /* Augmenté pour plus d'impact */
  font-weight: 700;
  color: #ec3f7f;
  margin-top: 0.5rem;
}

h2.my-profession {
  font-size: 2.8rem;
  font-weight: 700;
  margin-top: 0;
  margin-bottom: 1.5rem;
  line-height: 1.1;
}

h2.my-profession span {
  font-family: 'Clicker Script', cursive;
  font-size: 3rem; /* Augmenté pour l'équilibre */
  font-weight: 700;
  color: #ec3f7f;
}

.text-content p {
  font-size: 1.4rem;
  line-height: 1.6; /* Améliore la lisibilité */
  margin-top: 1.5rem;
  margin-bottom: 2.5rem;
  color: #444; /* Couleur légèrement plus foncée pour le contraste */
  max-width: 90%; /* Limite la largeur pour une lecture confortable */
}

/* Ajout de styles pour la partie "My work / My offer" si présente dans le HTML */
.work-offer {
  display: flex;
  gap: 2rem;
  margin-top: 2rem;
  font-size: 1.2rem;
  font-weight: 600;
}

.work-offer a {
  color: #ec3f7f;
  text-decoration: none;
  padding: 0.5rem 1rem;
  border: 2px solid #ec3f7f;
  border-radius: 25px;
  transition: all 0.3s ease;
}

.work-offer a:hover {
  background-color: #ec3f7f;
  color: white;
}
/* ===== RESPONSIVE ===== */

/* Tablettes en mode portrait et petits écrans (768px et moins) */
@media (max-width: 768px) {
  .home {
    padding: 1.5rem 1rem;
    min-height: auto;
  }

  .home-content {
    flex-direction: column;
    text-align: center;
    gap: 2rem;
    padding: 1.5rem;
  }

  .image-content {
    max-width: 100%;
    width: 100%;
    display: flex;
    justify-content: center;
  }

  .image-container {
    order: -1;
    margin-bottom: 1.5rem;
  }

  .text-content {
    order: 1; /* Place le texte après l'image */
    max-width: 90%;
    text-align: center;
    margin-right: 0;
    margin-top: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 100%;
  }
  
  h1.hello {
    font-size: 1.8rem;
    line-height: 1.3;
  }
  
  h1.hello span {
    font-size: 2.5rem;
    margin-top: 0.3rem;
  }
  
  h2.my-profession {
    font-size: 2.2rem;
    line-height: 1.2;
    margin-bottom: 1.2rem;
  }
  
  h2.my-profession span {
    font-size: 2.5rem;
  }
  
  .text-content p {
    font-size: 1.2rem;
    line-height: 1.5;
    max-width: 100%;
    margin: 1.2rem auto 2rem;
  }
  
  /* Styles pour les liens "My work / My offer" */
  .work-offer {
    flex-direction: column;
    gap: 1rem;
    margin-top: 1.5rem;
  }
  
  .work-offer a {
    display: block;
    width: 200px;
    margin: 0 auto;
  }
}

/* Tablettes en mode paysage (769px à 1024px) */
@media (min-width: 769px) and (max-width: 1024px) {
  .home {
    padding: 4rem 1rem 2rem;
  }

  .home-content {
    max-width: 95%;
    padding: 1.5rem;
    gap: 2rem;
  }

  .text-content {
    max-width: 55%;
  }

  .image-content {
    max-width: 40%;
  }

  h1.hello {
    font-size: 2rem;
  }

  h1.hello span {
    font-size: 2.8rem;
  }

  h2.my-profession {
    font-size: 2.5rem;
  }

  h2.my-profession span {
    font-size: 2.8rem;
  }

  .text-content p {
    font-size: 1.3rem;
    max-width: 95%;
  }
}

/* Petits mobiles (480px et moins) */
@media (max-width: 480px) {
  .home {
    padding: 1rem 0.8rem;
  }
  
 .home-content {
    flex-direction: column;
    gap: 2rem;
  }
  
    .image-container {
    order: -1;
    margin-bottom: 1rem;
  }
  
  .text-content {
    order: 1;
  }

  .text-content {
    max-width: 100%;
  }
  
  h1.hello {
    font-size: 1.5rem;
  }
  
  h1.hello span {
    font-size: 2rem;
  }
  
  h2.my-profession {
    font-size: 1.8rem;
  }
  
  h2.my-profession span {
    font-size: 2rem;
  }
  
  .text-content p {
    font-size: 1.1rem;
    line-height: 1.4;
    margin: 1rem auto 1.8rem;
  }
  
  .work-offer a {
    width: 180px;
    padding: 0.4rem 0.8rem;
    font-size: 1rem;
  }
}

/* Très petits mobiles (360px et moins) */
@media (max-width: 360px) {
  h1.hello {
    font-size: 1.3rem;
  }
  
  h1.hello span {
    font-size: 1.8rem;
  }
  
  h2.my-profession {
    font-size: 1.6rem;
  }
  
  h2.my-profession span {
    font-size: 1.8rem;
  }
  
  .text-content p {
    font-size: 1rem;
  }
}

/* Grands écrans (1200px et plus) - Optimisation */
@media (min-width: 1200px) {
  .home-content {
    max-width: 1400px;
  }
  
  .text-content {
    max-width: 600px;
  }
  
  h1.hello {
    font-size: 2.5rem;
  }
  
  h1.hello span {
    font-size: 3.5rem;
  }
  
  h2.my-profession {
    font-size: 3.2rem;
  }
  
  h2.my-profession span {
    font-size: 3.5rem;
  }
  
  .text-content p {
    font-size: 1.5rem;
    line-height: 1.7;
  }
}

/* Écrans très larges (1600px et plus) */
@media (min-width: 1600px) {
  .home {
    padding: 3rem;
  }
  
  .home-content {
    max-width: 1600px;
  }
  
  .text-content {
    max-width: 700px;
  }
  
  .text-content p {
    font-size: 1.6rem;
    max-width: 85%;
  }
}

/* Ajustements pour les hauteurs d'écran */
@media (max-height: 700px) and (min-width: 769px) {
  .home {
    min-height: 700px;
    padding-top: 3rem;
    padding-bottom: 3rem;
  }
  
  .home-content {
    margin-top: auto;
    margin-bottom: auto;
  }
}

.social-links {
  display: flex;
  gap: 1rem; /* Espace entre les icônes */
  margin-top: 1rem; /* Espace au-dessus des icônes */
  margin-bottom:  1rem; /* Espace au-dessus des icônes */
}

.social-icon {
  color: #ec3f7f; /* Couleur des icônes */
  font-size: 2.5rem; /* Taille des icônes */
  transition: transform 0.3s ease, color 0.3s ease;
}

.social-icon:hover {
  color: #2575fc; /* Couleur au survol */
  transform: scale(1.2); /* Effet de zoom au survol */
}

.image-content {
  max-width: 50%;
  margin: auto;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.home-image {
  width: 450px;
  max-width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 50%;
  box-shadow: 0 4px 60px #ec3f7f;
  transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.buttons-container {
  display: flex;
  gap: 1.5rem;
  margin-top: 2rem;
}

/* Style de base pour tous les boutons */
.home button, .btn-offer, .btn-work, .btn-diagnosis {
  border: none;
  border-radius: 5px;
  padding: 0.75rem 1.5rem;
  font-size: 1.2rem;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: bold;
}

/* Bouton "My Work" */
.btn-work {
  background-color: #fff;
  color: #333;
}
.btn-work:hover {
  transform: scale(1.10);
  background-color: #2575fc;
  color: #ffffff;
}

/* Bouton "My Offer" */
.btn-offer {
  background-color: #ec3f7f;
  color: white;
  border: 1px solid #ec3f7f;
}

.btn-offer:hover {
  transform: scale(1.10);
  background-color: #2575fc;
  color: #ffffff
}

.section {
  padding: 4rem 2rem;
  text-align: center;
}

/* Animation fade-in */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Classes d'animation */
.fade-in {
  opacity: 0;
  animation: fadeInUp 0.8s ease forwards;
}

/* Délais d'animation */
.fade-in-delay-1 { animation-delay: 0.2s; }
.fade-in-delay-2 { animation-delay: 0.4s; }
.fade-in-delay-3 { animation-delay: 0.6s; }
.fade-in-delay-4 { animation-delay: 0.8s; }
.fade-in-delay-5 { animation-delay: 1s; }

/* CORRECTION ICI : Animation pour l'image SANS scale final */
@keyframes fadeInScale {
  0% {
    opacity: 0;
    transform: scale(0.8);
  }
  70% {
    opacity: 1;
    transform: scale(1.05); /* Légèrement au-dessus pour un effet dynamique */
  }
  100% {
    opacity: 1;
    /* PAS de transform ici - laisse le scale par défaut */
  }
}

@keyframes fadeInImage {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.home-image.fade-in-image {
  opacity: 0;
  animation: fadeInImage 2s ease 0.5s forwards;
}

/* IMPORTANT : Le hover doit pouvoir écraser l'état final */
.home-image:hover {
  transform: scale(1.05) !important; /* !important pour forcer le survol */
  box-shadow: 0 8px 100px #ec3f7f;
}

/* --- SECTION ABOUT ME (NEW DESIGN) --- */

.about {
  padding: 5rem 2rem;
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
  position: relative;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Formes d'arrière-plan (Harmonisées avec votre rose/bleu) */
.about::before {
  content: '';
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: rgba(236, 63, 127, 0.15); /* Votre rose, très léger */
  top: -50px;
  left: -50px;
  z-index: 0;
  animation: float 6s infinite ease-in-out;
  filter: blur(40px); /* Flou pour la douceur */
}

.about::after {
  content: '';
  position: absolute;
  width: 250px;
  height: 250px;
  background: rgba(37, 117, 252, 0.15); /* Votre bleu, très léger */
  bottom: -50px;
  right: -50px;
  border-radius: 50%;
  z-index: 0;
  animation: float 8s infinite ease-in-out reverse;
  filter: blur(40px);
}

/* Conteneur "Verre" (Glassmorphism) */
.glass-container {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 3rem;
  box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.1);
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
  border: 1px solid rgba(255, 255, 255, 0.18);
  max-width: 1100px;
  width: 100%;
  z-index: 1;
}

/* Triggered when the about section enters viewport */
.about.visible .glass-container {
  opacity: 1;
  transform: translateY(0);
}

.about-content {
  display: flex;
  align-items: center;
  gap: 4rem; /* Espace aéré entre photo et texte */
}

/* --- PHOTO STYLISÉE --- */
.photo-container {
  flex: 1;
  display: flex;
  justify-content: center;
  position: relative;
}

.photo-frame {
  position: relative;
  width: 320px;
  height: 380px;
  border-radius: 20px;
  overflow: visible; /* Pour voir l'ombre portée */
}

/* Bordure décorative décalée */
.photo-frame::before {
  content: '';
  position: absolute;
  top: 15px;
  left: 15px;
  width: 100%;
  height: 100%;
  border: 2px solid #ec3f7f; /* Cadre fin rose */
  border-radius: 20px;
  z-index: 0;
  transition: transform 0.3s ease;
}

.profile-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 20px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.2);
  position: relative;
  z-index: 1;
  transition: transform 0.3s ease;
}

/* Animation au survol de la photo */
.photo-container:hover .profile-photo {
  transform: translate(-5px, -5px);
}
.photo-container:hover .photo-frame::before {
  transform: translate(10px, 10px);
}

/* --- TEXTE --- */
.about-text {
  flex: 1.5;
  text-align: left; /* Alignement gauche pour meilleure lecture */
}

.about-title {
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: #ec3f7f; /* Titre en rose discret */
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.about-subtitle {
  font-size: 2.2rem;
  line-height: 1.2;
  font-weight: 700;
  color: #333;
  margin-bottom: 1.5rem;
}

.highlight {
  color: #2575fc; /* Bleu pour le sous-titre */
  font-family: 'Clicker Script', cursive; /* Votre police stylée si chargée */
  font-size: 2.5rem;
}

.about-description {
  font-size: 1.05rem;
  line-height: 1.8;
  color: #555;
  margin-bottom: 2rem;
}

.bold-text {
  font-weight: 600;
  color: #333;
}

/* Lien CTA */
.how-i-can-help {
  margin-top: 1rem;
}

.cta-link {
  font-size: 1.1rem;
  color: #333;
  text-decoration: underline;
  text-decoration-color: #ec3f7f;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
  font-weight: 600;
  transition: color 0.3s ease, text-decoration-color 0.3s ease;
}

.cta-link:hover {
  color: #ec3f7f;
  text-decoration-color: transparent;
}

.cta-link i {
  margin-left: 8px;
  color: #ec3f7f;
  transition: transform 0.3s ease;
}

.cta-link:hover i {
  transform: translateX(5px);
}

/* --- RESPONSIVE --- */
@media (max-width: 900px) {
  .about-content {
    flex-direction: column;
    text-align: center;
    gap: 2rem;
  }

  .about-text {
    text-align: center;
  }
  
  .photo-frame {
    width: 250px;
    height: 300px;
    margin: 0 auto;
  }

  .glass-container {
    padding: 2rem;
  }
}

/* Animation flottante */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-20px); }
}

/* --- SECTION SKILLS & TOOLS (NEW DESIGN) --- */
.skills {
  padding: 4rem 2rem;
  background: linear-gradient(to right, #f8f9fa, #e9ecef);
  color: #333;
  overflow: hidden;
}

/* 1. En-tête : Titre + Ampoule alignés */
.skills-header {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.5rem; /* Espace entre titre et ampoule */
  margin-bottom: 3rem;
}

.my-skills {
  font-size: 2.5rem;
  font-weight: 700;
  color: #333;
  margin: 0; /* Important pour l'alignement */
}

.ampoule-icon {
  width: 60px; /* Taille plus discrète pour être à côté du titre */
  height: auto;
  animation: float 4s infinite ease-in-out;
}

/* 2. Conteneur Principal (Flexbox) */
.skills-container {
  display: flex;
  justify-content: space-between;
  align-items: stretch; /* Les colonnes ont la même hauteur */
  max-width: 1200px;
  margin: 0 auto;
  gap: 2rem;
}

.skills-column {
  flex: 1; /* 50% de largeur chacun */
}

.column-title {
  font-family: 'Clicker Script', cursive;
  font-size: 2rem;
  color: #ec3f7f;
  margin-bottom: 2rem;
  text-align: center;
}

/* 3. Colonne GAUCHE : Liste élégante */
.left-col {
  text-align: left;
  padding: 0 1rem;
}

.skill-group h4 {
  font-size: 1.2rem;
  color: #2575fc;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-bottom: 2px solid #ddd;
  padding-bottom: 0.5rem;
}

.skill-group ul {
  list-style: none;
  padding: 0;
  margin-bottom: 2rem;
}

.skill-group li {
  font-size: 1.1rem;
  margin-bottom: 0.8rem;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #444;
}

.skill-group li i {
  color: #ec3f7f; /* Couleur des coches */
}

/* 4. Le SÉPARATEUR VERTICAL */
.vertical-separator {
  width: 2px;
  background: linear-gradient(to bottom, transparent, #2575fc, #ec3f7f, transparent);
  animation: fadeInUp 0.8s infinite alternate;
  border-radius: 2px;
  margin: 0 1rem;
}

/* 5. Colonne DROITE : Grille de Tools */
.tools-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 3 colonnes de logos */
  gap: 1.5rem;
}

.tool-card {
  background: white;
  padding: 1rem;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
  height: 100px; /* Hauteur fixe pour uniformité */
  text-align: center;
  font-weight: bold;
  color: #555;
  border: 1px solid transparent;
}

.tool-icon {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  color: #333;
}

/* Couleurs spécifiques au survol des outils */
.tool-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
  border-color: #ec3f7f;
}

.tool-card:hover .tool-icon, 
.tool-card:hover span {
  color: #ec3f7f;
}

/* Styles pour les outils sans icône (Texte stylisé) */
.n8n span { color: #ff6b6b; font-weight: 800; font-size: 1.2rem; }
.odoo span { color: #714b67; font-weight: 800; font-size: 1.2rem; }
.zoho span { color: #0096FF; font-weight: 800; font-size: 1.2rem; }

/* Animation de flottement (gardée) */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* --- RESPONSIVE --- */
@media (max-width: 900px) {
  .skills-container {
    flex-direction: column; /* Empile les sections */
    align-items: center;
  }
  
  .vertical-separator {
    width: 80%; /* Devient une ligne horizontale */
    height: 2px;
    margin: 2rem auto;
    background: linear-gradient(to right, transparent, #2575fc, #ec3f7f, transparent);
  }

  .skills-column {
    width: 100%;
  }

  .tools-grid {
    grid-template-columns: repeat(3, 1fr); /* Garde 3 colonnes sur tablette */
  }
}

/* =========================
   ANIMATIONS SCROLL GLOBAL
========================= */

.fade-section {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-section.visible,
.fade-left.visible,
.fade-right.visible {
  opacity: 1;
  transform: translate(0);
}

/* --- SECTION SERVICES (VERSION AMÉLIORÉE - CORRIGÉE) --- */

.services {
  padding: 6rem 2rem;
  background: linear-gradient(135deg, #f8fafc 0%, #e9ecef 100%);
  position: relative;
  overflow-x: hidden;
  overflow-y: visible;
}

/* Ajout d'un élément décoratif en arrière-plan */
.services::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(236, 63, 127, 0.08) 0%, transparent 70%);
  border-radius: 50%;
  z-index: 0;
}

.services::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(37, 117, 252, 0.08) 0%, transparent 70%);
  border-radius: 50%;
  z-index: 0;
}

/* En-tête avec titre et ampoule */
.services-header {
  text-align: center;
  margin-bottom: 4rem;
  position: relative;
  z-index: 1;
}

.services-title {
  font-size: 3.2rem;
  font-weight: 800;
  color: #222;
  margin: 0 0 1rem 0;
  letter-spacing: -0.5px;
  position: relative;
  display: inline-block;
}

.services-title .highlight {
  background: linear-gradient(120deg, #ec3f7f 0%, #ff6b6b 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  position: relative;
}

.services-title::after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 4px;
  background: linear-gradient(to right, #2575fc, #ec3f7f);
  border-radius: 4px;
}

.services-subtitle {
  font-size: 1.3rem;
  color: #555;
  max-width: 600px;
  margin: 2rem auto 0;
  line-height: 1.6;
  font-weight: 500;
}

/* --- SECTION SERVICES - VERSION OPTIMISÉE --- */

.services {
  padding: 5rem 2rem;
  background: linear-gradient(135deg, #f8fafc 0%, #e9ecef 100%);
  position: relative;
  overflow: hidden;
}

/* Éléments décoratifs */
.services::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -20%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(236, 63, 127, 0.05) 0%, transparent 70%);
  border-radius: 50%;
  z-index: 0;
}

.services::after {
  content: '';
  position: absolute;
  bottom: -20%;
  left: -20%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(37, 117, 252, 0.05) 0%, transparent 70%);
  border-radius: 50%;
  z-index: 0;
}

/* En-tête */
.services-header {
  text-align: center;
  margin-bottom: 4rem;
  position: relative;
  z-index: 1;
}

.services-title {
  font-size: 3.2rem;
  font-weight: 800;
  color: #222;
  margin: 0 0 1rem 0;
  letter-spacing: -0.5px;
  position: relative;
  display: inline-block;
}

.services-title .highlight {
  background: linear-gradient(120deg, #ec3f7f 0%, #ff6b6b 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.services-title::after {
  content: '';
  position: absolute;
  bottom: -12px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 4px;
  background: linear-gradient(to right, #2575fc, #ec3f7f);
  border-radius: 4px;
}

.services-subtitle {
  font-size: 1.3rem;
  color: #555;
  max-width: 600px;
  margin: 2rem auto 0;
  line-height: 1.6;
  font-weight: 500;
}

/* Conteneur des services - 6 cartes sur une seule ligne */
.services-container {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1.5rem;
  max-width: 1600px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

/* Carte de service */
.service-card {
  background: #fff;
  border-radius: 18px;
  padding: 2rem 1.2rem;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 
    0 8px 25px rgba(0, 0, 0, 0.05),
    0 1px 0 rgba(255, 255, 255, 0.8) inset;
  border: 1px solid rgba(255, 255, 255, 0.8);
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  overflow: visible;
  height: auto;
  min-height: 380px;
  backdrop-filter: blur(10px);
}

/* Effet de bordure animée */
.service-card::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(45deg, #a2d2ff, #bde0fe);
  border-radius: 20px;
  z-index: -1;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.service-card:hover::before {
  opacity: 0.7;
}

/* Effet hover */
.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 
    0 20px 40px rgba(0, 0, 0, 0.12),
    0 15px 35px rgba(236, 63, 127, 0.1);
  z-index: 10;
}

/* Icône du service */
.service-icon {
  width: 90px;
  height: 90px;
  background: linear-gradient(135deg, #2575fc, #ec3f7f);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  box-shadow: 0 8px 20px rgba(37, 117, 252, 0.15);
}

/* CORRECTION 2: Animation plus soft */
@keyframes softFloat {
  0%, 100% {
    transform: scale(1) translateY(0);
  }
  50% {
    transform: scale(1.05) translateY(-3px);
  }
}

.service-card:hover .service-icon {
  animation: softFloat 1.5s ease-in-out infinite;
  background: linear-gradient(135deg, #ec3f7f, #ff8fab);
  box-shadow: 0 10px 25px rgba(236, 63, 127, 0.2);
}

.service-icon i {
  font-size: 2.8rem;
  color: white;
  transition: transform 0.6s ease;
}

/* Badge numéroté */
.icon-badge {
  position: absolute;
  top: -6px;
  right: -6px;
  background: #ff6b6b;
  color: white;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
  box-shadow: 0 3px 8px rgba(255, 107, 107, 0.25);
}

/* Nom du service */
.service-name {
  font-family: 'Poppins', Arial, sans-serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: #222;
  margin-bottom: 1rem;
  position: relative;
  padding-bottom: 0.8rem;
  line-height: 1.3;
  letter-spacing: -0.2px;
  width: 100%;
}

.service-name::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 3px;
  background: linear-gradient(to right, #2575fc, #ec3f7f);
  border-radius: 3px;
  transition: width 0.4s ease;
}

.service-card:hover .service-name::after {
  width: 80px;
}

/* Description du service */
.service-description {
  font-size: 1.05rem;
  line-height: 1.6;
  color: #555;
  flex-grow: 1;
  margin-bottom: 1.5rem;
  padding: 0 0.5rem;
}

/* Footer de la carte */
.service-footer {
  margin-top: auto;
  width: 100%;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  display: flex;
  justify-content: center;
}

/* Lien "View Project" */
.read-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #2575fc;
  text-decoration: none;
  font-weight: 700;
  font-size: 1rem;
  padding: 14px 28px;
  border-radius: 50px;
  background: rgba(37, 117, 252, 0.08);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  border: 2px solid transparent;
}

.read-more span {
  max-width: 100px;
  text-align: center;
}

.read-more:visited {
  color: #2575fc;
}

.read-more::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, #ec3f7f, #ff8fab);
  z-index: -1;
  opacity: 0;
  transition: opacity 0.3s ease;
  border-radius: 50px;
}

.read-more:hover {
  color: white;
  gap: 12px;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(37, 117, 252, 0.15);
}

.read-more:hover::before {
  opacity: 1;
}

.read-more i {
  font-size: 0.85rem;
  transition: transform 0.3s ease;
}

.read-more:hover i {
  transform: translateX(4px);
}

/* Animation d'apparition */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.service-card {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.service-card.visible {
  opacity: 1;
  transform: translateY(0);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* --- RESPONSIVE --- */

/* Desktop large (> 1200px) - 6 cartes sur une ligne */
@media (min-width: 1200px) {
  .services-container {
    grid-template-columns: repeat(6, 1fr);
    max-width: 1600px;
  }
}

/* Desktop standard (992px - 1200px) - 3 colonnes */
@media (max-width: 1200px) and (min-width: 992px) {
  .services-container {
    grid-template-columns: repeat(3, 1fr);
    max-width: 1000px;
  }

  .service-name {
    font-size: 1.3rem;
  }

  .service-description {
    font-size: 0.95rem;
  }
}

/* Tablet landscape (768px - 992px) - 2 colonnes */
@media (max-width: 992px) and (min-width: 768px) {
  .services-container {
    grid-template-columns: repeat(2, 1fr);
    max-width: 800px;
    gap: 2rem;
  }

  .service-card {
    min-height: 360px;
  }

  .service-card:hover {
    transform: translateY(-6px);
  }
}

/* Tablet portrait (600px - 768px) */
@media (max-width: 768px) and (min-width: 600px) {
  .services-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    padding: 0 0.5rem;
  }
  
  .service-card {
    min-height: 350px;
    padding: 2rem 1.5rem;
  }
  
  /* Ajout d'espace entre les rangées */
  .services-container {
    row-gap: 2rem;
  }
  
  .service-card:hover {
    transform: translateY(-5px);
  }
}

/* Mobile (480px - 600px) - 1 colonne */
@media (max-width: 600px) {
  .services {
    padding: 4rem 1rem;
  }
  
  .services-container {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
    gap: 2rem;
  }
  
  .service-card {
    min-height: 340px;
    padding: 2rem 1.5rem;
  }
  
  .services-title {
    font-size: 2.5rem;
  }
  
  .services-subtitle {
    font-size: 1.1rem;
    margin-top: 1.5rem;
  }
  
  /* Effet hover plus léger sur mobile */
  .service-card:hover {
    transform: translateY(-3px);
    box-shadow: 
      0 15px 30px rgba(0, 0, 0, 0.1),
      0 10px 25px rgba(236, 63, 127, 0.08);
  }
  
  /* Animation icône désactivée sur mobile */
  .service-card:hover .service-icon {
    animation: none;
    transform: scale(1.05);
  }
}

/* Petit mobile (< 480px) */
@media (max-width: 480px) {
  .services {
    padding: 3rem 0.8rem;
  }
  
  .service-card {
    padding: 1.8rem 1.2rem;
    min-height: 320px;
  }
  
  .services-title {
    font-size: 2rem;
  }
  
  .services-subtitle {
    font-size: 1rem;
    margin-top: 1rem;
  }
  
  .service-icon {
    width: 80px;
    height: 80px;
  }
  
  .service-icon i {
    font-size: 2.5rem;
  }
  
  .read-more {
    padding: 8px 18px;
    font-size: 0.9rem;
  }
  
  .service-card:hover {
    transform: translateY(-2px);
  }
}

/* Pour très grands écrans (> 1400px) */
@media (min-width: 1400px) {
  .services-container {
    grid-template-columns: repeat(6, 1fr);
    max-width: 1600px;
    gap: 2rem;
  }

  .service-card {
    min-height: 380px;
  }
}

/* Contact Section Styles - Version centrée et harmonieuse */
.contact {
  background: linear-gradient(to right, #f8f9fa, #e9ecef);
  padding: 5rem 2rem;
}

.contact-links-horizontal {
  list-style: none;
  padding: 0;
  display: flex;
  justify-content: center;
  gap: 3rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.contact-links-horizontal li {
  margin: 0;
}

.arrows-container {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin: 1.5rem 0;
  color: #ec3f7f;
  font-size: 1.5rem;
}

.arrow-anim {
  opacity: 0;
  animation: fadeArrows 2s infinite;
}

.arrow-anim:nth-child(1) { animation-delay: 0s; }
.arrow-anim:nth-child(2) { animation-delay: 0.2s; }
.arrow-anim:nth-child(3) { animation-delay: 0.4s; }

@keyframes fadeArrows {
  0% { opacity: 0; transform: translateY(-6px); }
  50% { opacity: 1; transform: translateY(0); }
  100% { opacity: 0; transform: translateY(6px); }
}

.contact-me {
  font-size: 2.5rem;
  font-weight: 700;
  color: #333;
  margin-top: 0;
  margin-bottom: 3rem;
  text-align: center;
  position: relative;
}

.contact-me::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background: #ec3f7f;
  margin: 10px auto 0;
  border-radius: 2px;
}

.contact-container {
  display: flex;
  justify-content: space-between;
  align-items: stretch; /* Important pour l'alignement vertical */
  max-width: 1200px;
  margin: 0 auto;
  gap: 3rem;
}

/* CONTACT-INFO CENTRÉ ET AMÉLIORÉ */
.contact-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center; /* Centre horizontalement */
  justify-content: center; /* Centre verticalement si besoin */
  text-align: center;
   font-family: 'Poppins', Arial, sans-serif;
}

.contact-info p {
  font-size: 1.35rem;
  line-height: 1.6;
  margin-bottom: 2rem;
  text-align: center;
  max-width: 500px;
}

.cta-box {
  background: white;
  padding: 2.5rem;
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(236,63,127,0.12);
  position: relative;
  overflow: hidden;
  width: 100%;
  max-width: 500px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.cta-box::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 6px;
  height: 100%;
  background: linear-gradient(to bottom, #ec3f7f, #ff9fc1);
  border-radius: 12px 0 0 12px;
}

.cta-text {
  font-size: 1.4rem;
  line-height: 1.6;
  text-align: center;
  margin-bottom: 1.5rem;
}

.cta-text strong {
  color: #ec3f7f;
}

/* Bouton Diagnosis amélioré et centré */
.btn-diagnosis {
  background: linear-gradient(135deg, #2575fc 0%, #6a11cb 100%);
  color: white;
  border: none;
  padding: 1rem 2rem;
  border-radius: 50px;
  font-size: 1.2rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  display: block;
  width: 100%;
  max-width: 300px;
  margin: 1.5rem auto;
  box-shadow: 0 6px 20px rgba(37, 117, 252, 0.3);
  text-align: center;
}

.btn-diagnosis:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(37, 117, 252, 0.4);
  background: linear-gradient(135deg, #ec3f7f 0%, #ff6b6b 100%);
}

.cta-hint {
  display: block;
  text-align: center;
  font-size: 0.95rem;
  color: #666;
  margin-top: 1rem;
  font-style: italic;
  background: rgba(21, 182, 245, 0.247);
  padding: 12px;
  border-radius: 10px;
  width: 100%;
  max-width: 400px;
}

/* FORMULAIRE AMÉLIORÉ ET HARMONISÉ */
.contact-form {
  flex: 1;
  background: white;
  padding: 2.5rem;
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(236,63,127,0.12);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  max-width: 500px;
}

.contact-form::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 6px;
  height: 100%;
  background: linear-gradient(to bottom, #2575fc, #a2d2ff);
  border-radius: 12px 0 0 12px;
}

.contact-form h3 {
  font-weight: 600;
  color: #444;
  margin-bottom: 1.5rem;
  text-align: center;
  position: relative;
  padding-bottom: 15px;
}

.contact-form h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 3px;
  background: #2575fc;
  border-radius: 2px;
}

.form-intro {
  font-size: 1rem;
  color: #666;
  margin-bottom: 1.5rem;
  text-align: center;
  line-height: 1.5;
}

.form-group {
  margin-bottom: 1.5rem;
  width: 100%;
}

.form-group input,
.form-group textarea {
  width: 95%;
  padding: 0.9rem 1rem;
  border: 2px solid #e1e5f2;
  border-radius: 8px;
  font-size: 1rem;
  transition: all 0.3s ease;
  resize: vertical;
  font-family: 'Poppins', Arial, sans-serif;
  background: #f8f9fa;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: #ec3f7f;
  outline: none;
  box-shadow: 0 0 0 3px rgba(236, 63, 127, 0.1);
  background: white;
}

.submit-button {
  background: linear-gradient(135deg, #ec3f7f 0%, #ff6b6b 100%);
  color: white;
  border: none;
  padding: 1rem 2rem;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 100%;
  box-shadow: 0 6px 20px rgba(236, 63, 127, 0.3);
  margin-top: 0.5rem;
}

.submit-button:hover {
  background: linear-gradient(135deg, #2575fc 0%, #6a11cb 100%);
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(37, 117, 252, 0.4);
}

/* LIENS HORIZONTAUX AMÉLIORÉS */
.contact-links-horizontal .contact-link {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #444;
  text-decoration: none;
  font-size: 1.2rem;
  font-weight: 600;
  padding: 12px 24px;
  background: white;
  border-radius: 50px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.contact-links-horizontal .contact-link:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.15);
  color: #ec3f7f;
  border-color: #ec3f7f;
}

.contact-links-horizontal .contact-link i {
  font-size: 1.4rem;
  transition: transform 0.3s ease;
}

.contact-links-horizontal .contact-link:hover i {
  transform: scale(1.1);
}

/* RESPONSIVE DESIGN AMÉLIORÉ */
@media (max-width: 992px) {
  .contact-container {
    flex-direction: column;
    align-items: center;
    gap: 3rem;
  }
  
  .contact-info, .contact-form {
    width: 100%;
    max-width: 600px;
  }
  
  .cta-box, .contact-form {
    padding: 2rem;
  }
}

@media (max-width: 768px) {
  .contact {
    padding: 3rem 1rem;
  }
  
  .contact-me {
    font-size: 2.2rem;
    margin-bottom: 2rem;
  }
  
  .contact-links-horizontal {
    gap: 1rem;
    margin-bottom: 2rem;
  }
  
  .contact-links-horizontal .contact-link {
    padding: 10px 20px;
    font-size: 1.1rem;
  }
  
  .cta-text {
    font-size: 1.2rem;
  }
  
  .btn-diagnosis {
    padding: 0.9rem 1.5rem;
    font-size: 1.1rem;
  }
  
  .cta-hint {
    font-size: 0.9rem;
    padding: 10px;
  }
}

@media (max-width: 480px) {
  .contact-links-horizontal {
    flex-direction: column;
    align-items: center;
  }
  
  .contact-links-horizontal li {
    width: 100%;
    max-width: 280px;
  }
  
  .cta-box, .contact-form {
    padding: 1.5rem;
  }
  
  .arrows-container {
    font-size: 1.3rem;
  }
}

/* Animation d'entrée pour harmoniser avec le reste du site */
.contact-container {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.contact-container.animate-in {
  opacity: 1;
  transform: translateY(0);
}

/* ===== FOOTER STYLES ===== */
footer {
  background: linear-gradient(135deg, #2c3e50 0%, #1a252f 100%);
  color: white;
  padding: 2rem 0 1.5rem;
  margin-top: auto;
  border-top: 3px solid #ec3f7f;
  position: relative;
  overflow: hidden;
}

footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, #ec3f7f, transparent);
}

.footer-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

.footer-content {
  text-align: center;
  max-width: 800px;
}

.footer-logo {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 1rem;
  display: inline-block;
}

.footer-logo span {
  color: #ec3f7f;
  background: linear-gradient(45deg, #ec3f7f, #ff7eb3);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 800;
}

.footer-tagline {
  font-size: 1.1rem;
  color: #bdc3c7;
  margin-bottom: 2rem;
  line-height: 1.6;
  font-family: 'Poppins', Arial, sans-serif;
}

.footer-links {
  display: flex;
  gap: 1.7rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-links a {
  color: white;
  text-decoration: none;
  font-size: 1rem;
  transition: all 0.3s ease;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.05);
}

.footer-links a:hover {
  color: #ec3f7f;
  background: rgba(236, 63, 127, 0.1);
  transform: translateY(-2px);
}

.copyright {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  width: 100%;
  color: #95a5a6;
  font-size: 0.9rem;
}

.copyright p {
  margin: 0;
}

/* Responsive footer */
@media (max-width: 768px) {
  footer {
    padding: 2rem 0 1.5rem;
  }
  
  .footer-container {
    padding: 0 1rem;
  }
  
  .footer-logo {
    font-size: 1.8rem;
  }
  
  .footer-links {
    gap: 1rem;
  }
  
  .footer-links a {
    font-size: 0.9rem;
    padding: 0.4rem 0.8rem;
  }
  
}

@media (max-width: 480px) {
  .footer-links {
    flex-direction: column;
    gap: 0.8rem;
  }
  
  .footer-tagline {
    font-size: 1rem;
    padding: 0 1rem;
  }
}

/* ===== STATS STRIP ===== */
.stats-strip {
  display: flex;
  justify-content: center;
  gap: 3rem;
  margin-top: 2.5rem;
  padding: 1.5rem 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.4);
  flex-wrap: wrap;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  background: linear-gradient(135deg, #ec3f7f, #2575fc);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}

.stat-label {
  font-size: 0.9rem;
  color: #666;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
}

@media (max-width: 600px) {
  .stats-strip {
    gap: 2rem;
  }

  .stat-number {
    font-size: 2rem;
  }
}

/* ===== FORM FEEDBACK MESSAGES ===== */
.form-feedback {
  margin-top: 10px;
  padding: 10px 14px;
  border-radius: 5px;
  font-size: 0.95rem;
  font-weight: 600;
}

.form-success {
  color: #155724;
  background: #d4edda;
  border: 1px solid #c3e6cb;
}

.form-error {
  color: #721c24;
  background: #f8d7da;
  border: 1px solid #f5c6cb;
}

.hidden {
  display: none;
}