:root {
  --primary-color: #1e88e5;
  --primary-hover: #1565c0;
  --primary-dark: #1a2332;
  --secondary-color: #2c3e50;
  --secondary-hover: #1a2332;
  --accent-red: #1e88e5;
  --text-color: #333333;
  --text-light: #666666;
  --text-white: #ffffff;
  --bg-light: #f8f9fa;
  --white: #ffffff;
  --border-color: #e0e0e0;
  --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.15);
  --transition: all 0.3s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  max-width: 100vw;
}

body {
  font-family: 'Poppins', sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  overflow-x: hidden;
  max-width: 100vw;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

img[data-force-visible] {
  opacity: 1 !important;
  visibility: visible !important;
  display: block !important;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul {
  list-style: none;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
}

.section-title {
  font-size: clamp(2rem, 4vw, 2.5rem);
  font-weight: 700;
  text-align: center;
  margin-bottom: 1rem;
  color: var(--primary-color);
}

.section-subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  text-align: center;
  color: var(--text-light);
  margin-bottom: 3rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.btn {
  display: inline-block;
  padding: 1rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  transition: var(--transition);
  cursor: pointer;
  border: none;
  font-size: 1rem;
  text-align: center;
}

.btn-primary {
  background: var(--primary-color);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.btn-secondary {
  background: var(--white);
  color: var(--primary-color);
  border: 2px solid var(--white);
  font-size: 1.1rem;
  font-weight: 700;
  animation: phone-pulse 2s ease-in-out infinite;
  box-shadow: 0 4px 15px rgba(255, 255, 255, 0.3);
}

@keyframes phone-pulse {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.3);
  }
  50% {
    transform: scale(1.03);
    box-shadow: 0 6px 25px rgba(255, 255, 255, 0.5);
  }
}

.btn-secondary:hover {
  background: transparent;
  color: var(--white);
  animation: none;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(0, 0, 0, 0.15);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 1px 10px rgba(0, 0, 0, 0.05);
  z-index: 1000;
  transition: all 0.3s ease;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.header.scrolled {
  background: var(--white);
  box-shadow: var(--shadow);
  border-bottom: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.header.scrolled .nav-link {
  color: var(--text-color);
}

.header.scrolled .logo-text {
  color: var(--primary-color) !important;
}

.header.scrolled .lang-btn {
  border-color: var(--primary-color);
  color: var(--primary-color);
}

.header.scrolled .lang-btn.active {
  background: var(--primary-color);
  color: var(--white);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 20px;
}

.logo {
  flex-shrink: 0;
}

.logo-link {
  display: flex;
  align-items: center;
  height: clamp(45px, 6vw, 60px);
}

.logo-img {
  height: 100%;
  width: auto;
  max-width: 280px;
  object-fit: contain;
}

/* Hero : logo blanc visible, logo rouge caché */
.header:not(.scrolled) .logo-white {
  display: block;
}

.header:not(.scrolled) .logo-red {
  display: none;
}

/* Scrolled : logo rouge visible, logo blanc caché */
.header.scrolled .logo-white {
  display: none;
}

.header.scrolled .logo-red {
  display: block;
}

.logo-red {
  color: var(--primary-color) !important;
}

.logo-img {
  color: inherit;
}

.nav-list {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.nav-link {
  font-weight: 500;
  color: var(--white);
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary-color);
  transition: var(--transition);
}

.nav-link:hover::after,
.nav-link:focus-visible::after {
  width: 100%;
}

.nav-link:focus-visible {
  outline: 2px solid var(--primary-color);
  outline-offset: 4px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.language-switcher {
  display: flex;
  gap: 0.5rem;
}

.lang-btn {
  padding: 0.5rem 1rem;
  border: 2px solid var(--white);
  background: transparent;
  color: var(--white);
  border-radius: 5px;
  cursor: pointer;
  font-weight: 600;
  transition: var(--transition);
  font-family: 'Poppins', sans-serif;
}

.lang-btn.active {
  background: var(--white);
  color: var(--primary-color);
}

.lang-btn:hover:not(.active) {
  background: var(--primary-color);
  color: var(--white);
}

.nav-toggle,
.nav-close {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--white);
  font-size: 1.5rem;
  transition: var(--transition);
}

.header.scrolled .nav-toggle {
  color: var(--primary-color);
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding-top: calc(clamp(36px, 8vw, 70px) + 2rem);
  padding-bottom: 0;
}

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

.hero-slideshow {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

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

.hero-slide.active {
  opacity: 1;
}

.hero-background::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  z-index: 1;
}

.hero-img {
  display: none;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, transparent 0%, rgba(20, 5, 5, 0.3) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--white);
  max-width: 900px;
  padding: 2rem;
  width: 100%;
}

.hero-title {
  font-size: clamp(2.2rem, 3vw, 3.2rem);
  font-weight: 800;
  margin-bottom: 1.5rem;
  line-height: 1.25;
}

.hero-title > span {
  white-space: nowrap;
}

.hero-title .highlight-number {
  display: inline-block;
  color: var(--white);
  animation: pulse-glow 2s ease-in-out infinite;
  font-size: 1.2em;
}

.hero-title .highlight-text {
  color: var(--white);
  background: var(--primary-color);
  padding: 0 15px;
  border-radius: 8px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  font-weight: 800;
  display: inline-block;
  margin-bottom: 8px;
  white-space: nowrap;
}

.hero-subtitle {
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  margin-bottom: 2.5rem;
  opacity: 0.95;
}

.hero-badge {
  display: inline-block;
  padding: 1rem 2rem;
  background: var(--primary-color);
  backdrop-filter: blur(10px);
  border: 2px solid var(--white);
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 1.5rem;
  animation: badge-glow 3s ease-in-out infinite;
  color: var(--white);
  box-shadow: 0 8px 25px rgba(30, 136, 229, 0.4);
}

@keyframes badge-glow {
  0%, 100% {
    box-shadow: 0 8px 25px rgba(30, 136, 229, 0.4);
    transform: scale(1);
  }
  50% {
    box-shadow: 0 12px 35px rgba(30, 136, 229, 0.6);
    transform: scale(1.05);
  }
}

.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  animation: scroll-bounce 2s ease-in-out infinite;
  text-decoration: none;
  z-index: 10;
}

.scroll-indicator:hover {
  color: rgba(255, 255, 255, 1);
}

.scroll-indicator .material-icons {
  font-size: 32px;
  display: block;
  margin-top: 0.5rem;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.hero-slideshow-controls {
  display: none;
}

.hero-dots {
  display: flex !important;
  gap: 0.5rem;
  visibility: visible !important;
  opacity: 1 !important;
}

.hero-dots span {
  width: 12px !important;
  height: 12px !important;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: var(--transition);
  border: 2px solid rgba(255, 255, 255, 0.8);
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

.hero-dots span:hover {
  background: rgba(255, 255, 255, 0.7);
}

.hero-dots span.active {
  background: var(--white) !important;
  width: 30px !important;
  border-radius: 6px;
}

/* Services Overlap */
.services-overlap {
  position: relative;
  margin-top: -100px;
  z-index: 20;
  margin-bottom: -100px;
  padding: 0 20px;
}

.services-overlap-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1.2rem;
  max-width: 1400px;
  margin: 0 auto;
  perspective: 1500px;
}

.service-overlap-card {
  background: linear-gradient(135deg, #ffffff 0%, #fafafa 100%);
  background-image:
    linear-gradient(135deg, #ffffff 0%, #fafafa 100%),
    repeating-linear-gradient(45deg, transparent, transparent 10px, rgba(30, 136, 229, 0.02) 10px, rgba(30, 136, 229, 0.02) 20px);
  border-radius: 16px;
  padding: 2rem 1.5rem;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12), 0 0 0 1px rgba(30, 136, 229, 0.05) inset;
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.2rem;
  border: 2px solid rgba(30, 136, 229, 0.2);
  cursor: pointer;
  transform: rotateX(10deg) translateZ(10px);
  transform-style: preserve-3d;
}

.service-overlap-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-color), var(--primary-hover));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.service-overlap-card:hover {
  transform: translateY(-20px) rotateX(-5deg) translateZ(30px) scale(1.05);
  box-shadow: 0 25px 70px rgba(30, 136, 229, 0.3), 0 10px 30px rgba(0, 0, 0, 0.15);
  border-color: var(--primary-color);
}

.service-overlap-card.highlighted {
  transform: translateY(-20px) scale(1.08) rotateX(-5deg) translateZ(30px);
  box-shadow: 0 30px 80px rgba(30, 136, 229, 0.4), 0 15px 40px rgba(0, 0, 0, 0.2);
  border-color: var(--primary-color);
  background: linear-gradient(135deg, #ffffff 0%, #fff5f5 100%);
}

.service-overlap-card.highlighted::before {
  transform: scaleX(1);
}

.service-icon-wrapper {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(30, 136, 229, 0.1) 0%, rgba(30, 136, 229, 0.05) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.service-icon-wrapper::after {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  border: 2px solid transparent;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-hover)) border-box;
  -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.service-overlap-card:hover .service-icon-wrapper::after,
.service-overlap-card.highlighted .service-icon-wrapper::after {
  opacity: 1;
}

.service-icon-wrapper i {
  font-size: 2.5rem;
  color: var(--primary-color);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-overlap-card:hover .service-icon-wrapper {
  background: var(--primary-color);
  transform: scale(1.1) rotate(5deg);
}

.service-overlap-card.highlighted .service-icon-wrapper {
  background: var(--primary-color);
  transform: scale(1.15);
}

.service-overlap-card:hover .service-icon-wrapper i,
.service-overlap-card.highlighted .service-icon-wrapper i {
  color: var(--white);
  transform: scale(1.1);
}

.service-card-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-color);
  margin: 0;
  text-align: center;
  line-height: 1.3;
  transition: color 0.3s ease;
}

.service-overlap-card:hover .service-card-title,
.service-overlap-card.highlighted .service-card-title {
  color: var(--primary-color);
}

.service-arrow {
  display: none;
}

/* About Section */
.about {
  padding: 5rem 0 5rem 0;
  background: var(--white);
}

.about-content {
  display: flex;
  gap: 4rem;
  align-items: center;
  flex-wrap: wrap;
}

.about-text {
  flex: 1;
  min-width: 300px;
}

.about-text h2 {
  text-align: left;
  margin-bottom: 1.5rem;
}

.about-text > p {
  margin-bottom: 2rem;
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text-light);
}

.about-features {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.feature-item {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.feature-item i {
  font-size: 2.5rem;
  color: var(--secondary-color);
  min-width: 60px;
}

.feature-item h3 {
  font-size: 1.2rem;
  margin-bottom: 0.3rem;
  color: var(--primary-color);
}

.feature-item p {
  color: var(--text-light);
}

.about-image {
  flex: 1;
  min-width: 300px;
}

.about-image img {
  width: 100%;
  border-radius: 15px;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4/3;
  object-fit: cover;
}

/* Services Section */
.services {
  padding: 5rem 0;
  background: var(--bg-light);
}

.services-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
}

.service-card {
  background: var(--white);
  padding: 2rem;
  border-radius: 15px;
  box-shadow: var(--shadow);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  flex: 1 1 calc(33.333% - 2rem);
  min-width: 280px;
  max-width: 400px;
  border: 2px solid transparent;
  position: relative;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

.service-card.service-highlighted {
  transform: translateY(-10px) scale(1.03);
  box-shadow: 0 20px 60px rgba(30, 136, 229, 0.3);
  border-color: var(--primary-color);
  background: linear-gradient(135deg, #ffffff 0%, #fff8f8 100%);
  animation: pulse-highlight 2s ease-in-out;
}

@keyframes pulse-highlight {
  0%, 100% {
    box-shadow: 0 20px 60px rgba(30, 136, 229, 0.3);
  }
  50% {
    box-shadow: 0 25px 70px rgba(30, 136, 229, 0.4);
  }
}

.service-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-hover) 100%);
  border-radius: 50%;
  color: var(--white);
  font-size: 2rem;
}

.service-icon i {
  color: var(--white);
}

.service-icon img {
  width: 50px;
  height: 50px;
  object-fit: contain;
  margin: 0 auto;
}

.service-card h3 {
  font-size: 1.4rem;
  margin-bottom: 1rem;
  color: var(--primary-color);
  text-align: center;
}

.service-card p {
  color: var(--text-light);
  line-height: 1.8;
  text-align: center;
}

/* Coverage Section */
.coverage {
  padding: 5rem 0;
  background: var(--white);
  overflow-x: hidden;
  max-width: 100%;
}

.coverage-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
  margin-top: 3rem;
  max-width: 100%;
  overflow: hidden;
}

.coverage-map-section {
  position: relative;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
}

.coverage-calculator-section {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.coverage-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 1rem;
}

.coverage-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  font-size: 1rem;
  line-height: 1.5;
}

.coverage-list i {
  color: var(--primary-color);
  font-size: 1.5rem;
  flex-shrink: 0;
}

.coverage-map {
  flex: 1;
  min-width: 300px;
}

.map-container {
  position: relative;
  width: 100%;
  max-width: 100%;
  height: 450px;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

#leaflet-map {
  width: 100%;
  max-width: 100%;
  height: 100%;
  min-height: 450px;
  background: #f0f0f0;
  z-index: 1;
}

/* Custom Leaflet markers */
.leaflet-marker-icon.leuven-marker {
  background: none;
  border: none;
}

.leuven-pin {
  position: relative;
  width: 40px;
  height: 40px;
  background: var(--primary-color);
  border-radius: 50%;
  border: 4px solid white;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: pulse 2s infinite;
}

.leuven-pin i {
  color: white;
  font-size: 18px;
}

.destination-pin {
  width: 30px;
  height: 30px;
  background: var(--secondary-color);
  border-radius: 50%;
  border: 3px solid white;
  box-shadow: 0 3px 10px rgba(0,0,0,0.3);
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 4px 12px rgba(30, 136, 229, 0.3), 0 0 0 0 rgba(30, 136, 229, 0.4);
  }
  50% {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(30, 136, 229, 0.4), 0 0 0 10px rgba(30, 136, 229, 0);
  }
}

/* Distance Calculator */
.distance-calculator {
  background: linear-gradient(135deg, var(--bg-light) 0%, #ffffff 100%);
  padding: 2rem;
  border-radius: 15px;
  margin: 0;
  border: 2px solid var(--border-color);
  box-shadow: var(--shadow);
}

.distance-calculator h3 {
  color: var(--primary-color);
  margin-bottom: 1.5rem;
  font-size: 1.3rem;
}

.calculator-input {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
  flex-wrap: nowrap;
}

/* Enlever les flèches up/down de l'input number */
input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

input[type="number"] {
  -moz-appearance: textfield;
}

.calculator-input input {
  flex: 1;
  padding: 1rem;
  border: 2px solid var(--border-color);
  border-radius: 10px;
  font-size: 1rem;
  font-family: 'Poppins', sans-serif;
  transition: var(--transition);
}

.calculator-input input:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(30, 136, 229, 0.1);
}

.btn-calculate {
  padding: 1rem 1.5rem;
  background: var(--primary-color);
  color: var(--white);
  border: none;
  border-radius: 10px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  font-family: 'Poppins', sans-serif;
  white-space: nowrap;
  flex-shrink: 0;
}

.btn-calculate:hover {
  background: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(30, 136, 229, 0.3);
}

.btn-reset {
  padding: 0;
  background: transparent;
  color: var(--text-light);
  border: 2px solid var(--border-color);
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: 'Poppins', sans-serif;
  width: 45px;
  height: 45px;
  min-width: 45px;
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.btn-reset:hover {
  background: var(--bg-light);
  border-color: var(--primary-color);
  color: var(--primary-color);
  transform: scale(1.05);
}

.result-time {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-hover) 100%);
  color: var(--white);
  padding: 1.5rem;
  border-radius: 10px;
  text-align: center;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  animation: slideInUp 0.5s ease-out;
}

.result-time i {
  color: #ffd700;
  margin-right: 0.5rem;
  animation: pulse 1.5s ease-in-out infinite;
}

.calculator-disclaimer {
  font-size: 0.85rem;
  color: var(--text-light);
  font-style: italic;
  margin-top: 0.5rem;
  line-height: 1.4;
}

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

/* Error Dialog */
.error-dialog {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  backdrop-filter: blur(5px);
  animation: fadeIn 0.3s ease-out;
}

.error-dialog.active {
  display: flex;
}

.error-dialog-content {
  background: var(--white);
  border-radius: 20px;
  padding: 3rem;
  max-width: 450px;
  width: 90%;
  text-align: center;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  animation: scaleIn 0.3s ease-out;
}

.error-icon {
  font-size: 4rem;
  color: #ff6b6b;
  margin-bottom: 1.5rem;
  animation: shake 0.5s ease-out;
}

.error-dialog-content h3 {
  color: var(--text-color);
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.error-dialog-content p {
  color: var(--text-light);
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 2rem;
}

.error-dialog-content .btn {
  min-width: 120px;
}

/* NEW Coverage Section */
.coverage-new {
  padding: 10rem 0 3rem;
  background: linear-gradient(180deg, var(--white) 0%, var(--bg-light) 100%);
  position: relative;
  overflow-x: hidden;
}

.coverage-new .section-title {
  margin-bottom: 2rem;
}

@media (max-width: 480px) {
  .coverage-new {
    padding: 3rem 0;
  }

  .coverage-new .section-title {
    margin-bottom: 2rem;
  }
}

.coverage-new::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 200%;
  height: 100%;
  background: radial-gradient(ellipse at center, rgba(30, 136, 229, 0.05) 0%, transparent 70%);
  pointer-events: none;
}

.coverage-hero {
  text-align: center;
  padding: 0.5rem 0 4rem;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.coverage-status {
  max-width: 900px;
  margin: 0 auto;
  width: 100%;
}

.status-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.pulse-loader {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-hover));
  position: relative;
  animation: pulse-wave 2s ease-in-out infinite;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 40px rgba(30, 136, 229, 0.3);
}

.pulse-loader::before {
  content: '\f3c5';
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  font-size: 2.5rem;
  color: var(--white);
  animation: pin-drop 2s ease-in-out infinite;
  z-index: 2;
}

.pulse-loader::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 4px solid var(--primary-color);
  opacity: 0;
  animation: pulse-ring 2s ease-out infinite;
}

@keyframes pulse-wave {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 10px 40px rgba(30, 136, 229, 0.3);
  }
  50% {
    transform: scale(1.08);
    box-shadow: 0 15px 50px rgba(30, 136, 229, 0.5);
  }
}

@keyframes pin-drop {
  0%, 100% {
    transform: translateY(0) scale(1);
  }
  50% {
    transform: translateY(-8px) scale(1.1);
  }
}

@keyframes pulse-ring {
  0% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.8;
  }
  100% {
    transform: translate(-50%, -50%) scale(2.8);
    opacity: 0;
  }
}

.detecting-text {
  font-size: 1.5rem;
  color: var(--text-color);
  font-weight: 700;
  text-align: center;
  line-height: 1.4;
  margin-top: 1.5rem;
  margin-bottom: 0;
}

.detecting-dots {
  display: flex;
  gap: 0.3rem;
  justify-content: center;
  margin-top: 0.5rem;
  height: 1.5rem;
}

.detecting-dots span {
  font-size: 2rem;
  font-weight: bold;
  color: var(--primary-color);
  animation: dot-bounce 1.4s ease-in-out infinite;
  line-height: 1;
  display: block;
}

.detecting-dots span:nth-child(1) {
  animation-delay: 0s;
}

.detecting-dots span:nth-child(2) {
  animation-delay: 0.2s;
}

.detecting-dots span:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes dot-bounce {
  0%, 60%, 100% {
    transform: translateY(0);
    opacity: 1;
  }
  30% {
    transform: translateY(-12px);
    opacity: 0.6;
  }
}

.status-result {
  padding: 2.5rem 2rem;
  border-radius: 24px;
  background: var(--white);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
  border: 3px solid transparent;
  transition: all 0.5s ease;
  animation: fade-in-up 0.6s ease;
}

@keyframes fade-in-up {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.status-result.in-coverage {
  border-color: #22c55e;
  background: linear-gradient(135deg, #ffffff 0%, #f0fdf4 100%);
  box-shadow: 0 25px 70px rgba(34, 197, 94, 0.2);
}

.status-result.out-coverage {
  border-color: #ef4444;
  background: linear-gradient(135deg, #ffffff 0%, #fef2f2 100%);
  box-shadow: 0 25px 70px rgba(239, 68, 68, 0.2);
}

.status-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  animation: bounce-in 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.status-result.in-coverage .status-icon {
  background: linear-gradient(135deg, #22c55e, #16a34a);
  color: var(--white);
  box-shadow: 0 10px 30px rgba(34, 197, 94, 0.3);
}

.status-result.out-coverage .status-icon {
  background: linear-gradient(135deg, #ef4444, #dc2626);
  color: var(--white);
  box-shadow: 0 10px 30px rgba(239, 68, 68, 0.3);
}

@keyframes bounce-in {
  0% {
    transform: scale(0) rotate(-180deg);
    opacity: 0;
  }
  50% {
    transform: scale(1.15) rotate(10deg);
  }
  100% {
    transform: scale(1) rotate(0deg);
    opacity: 1;
  }
}

.status-title {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  font-weight: 700;
  line-height: 1.3;
}

.status-result.in-coverage .status-title {
  color: #16a34a;
}

.status-result.out-coverage .status-title {
  color: #dc2626;
}

.city-label {
  font-size: 0.95rem;
  color: var(--text-light);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin: 1rem 0 0.3rem;
}

.city-reveal {
  display: inline-block;
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--primary-color);
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 0.3rem 1rem;
  background: linear-gradient(135deg, rgba(30, 136, 229, 0.1), rgba(30, 136, 229, 0.05));
  border-radius: 12px;
  margin: 0.3rem 0 1rem;
  animation: city-reveal 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  box-shadow: 0 4px 15px rgba(30, 136, 229, 0.2);
}

@keyframes city-reveal {
  0% {
    opacity: 0;
    transform: scale(0.5) rotateX(-90deg);
  }
  50% {
    transform: scale(1.1) rotateX(10deg);
  }
  100% {
    opacity: 1;
    transform: scale(1) rotateX(0deg);
  }
}

.status-message {
  font-size: 1.1rem;
  color: var(--text-color);
  line-height: 1.6;
  margin-bottom: 2rem;
}

.location-map-container {
  margin: 2rem 0;
  animation: fade-in-up 0.8s ease 0.3s both;
  position: relative;
  cursor: pointer;
}

.location-map-container .map-expand-hint {
  position: absolute;
  top: 15px;
  right: 15px;
  width: 40px;
  height: 40px;
  background: var(--white);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 10px rgba(0,0,0,0.2);
  z-index: 1000;
  transition: var(--transition);
  pointer-events: none;
}

.location-map-container .map-expand-hint i {
  color: var(--primary-color);
  font-size: 1.1rem;
}

.location-map-container:hover .map-expand-hint {
  background: var(--primary-color);
}

.location-map-container:hover .map-expand-hint i {
  color: var(--white);
}

.location-map {
  width: 100%;
  height: 250px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  border: 3px solid var(--white);
  pointer-events: none;
}

/* Map Modal */
.map-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0);
  z-index: 10000;
  align-items: center;
  justify-content: center;
  transition: background 0.4s ease;
}

.map-modal.active {
  display: flex;
  background: rgba(0, 0, 0, 0.9);
}

.map-modal-content {
  position: relative;
  width: 95vw;
  height: 90vh;
  background: var(--white);
  border-radius: 15px;
  overflow: hidden;
  transform: scale(0.3);
  opacity: 0;
  transition: none;
}

.map-modal.active .map-modal-content {
  animation: mapModalZoomIn 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

@keyframes mapModalZoomIn {
  0% {
    transform: scale(0.3);
    opacity: 0;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

.map-modal.closing .map-modal-content {
  animation: mapModalZoomOut 0.3s ease forwards !important;
}

@keyframes mapModalZoomOut {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  100% {
    transform: scale(0.3);
    opacity: 0;
  }
}

.map-modal-close {
  position: absolute;
  top: 15px;
  right: 15px;
  width: 45px;
  height: 45px;
  background: var(--white);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  z-index: 10001;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
  transition: var(--transition);
}

.map-modal-close:hover {
  background: var(--primary-color);
  color: var(--white);
}

.map-modal-close i {
  font-size: 1.2rem;
}

#map-modal-leaflet {
  width: 100%;
  height: 100%;
}

.modal-map-marker .marker-pin {
  color: var(--primary-color);
  font-size: 2.5rem;
  filter: drop-shadow(0 3px 5px rgba(0,0,0,0.3));
}

.modal-map-marker .marker-pin i {
  display: block;
}

.status-cta {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.status-cta .btn {
  padding: 1rem 2rem;
  font-size: 1.1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  min-width: 180px;
  justify-content: center;
}

.status-cta .btn-secondary {
  background: #25D366;
  border-color: #25D366;
  color: var(--white);
}

.status-cta .btn-secondary:hover {
  background: #1faa52;
  border-color: #1faa52;
  color: var(--white);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
}

.coverage-details {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 3rem;
  margin-top: 3rem;
}

.coverage-map-new {
  position: relative;
  height: 500px;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.15);
  border: 3px solid var(--white);
}

#coverage-leaflet-map {
  width: 100%;
  height: 100%;
}

.coverage-info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.info-card {
  display: flex;
  gap: 1.5rem;
  padding: 2rem;
  background: var(--white);
  border-radius: 16px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
  border: 2px solid rgba(30, 136, 229, 0.1);
  transition: all 0.3s ease;
}

.info-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 45px rgba(30, 136, 229, 0.15);
  border-color: var(--primary-color);
}

.info-icon {
  width: 60px;
  height: 60px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-hover));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.5rem;
  flex-shrink: 0;
}

.info-content h4 {
  font-size: 0.95rem;
  color: var(--text-light);
  margin-bottom: 0.5rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.info-value {
  font-size: 1.5rem;
  color: var(--primary-color);
  font-weight: 700;
}

.coverage-cta {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1rem;
}

.coverage-cta .btn {
  width: 100%;
  justify-content: center;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 1.1rem;
  padding: 1.2rem;
}

.btn-secondary-outline {
  background: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
  transition: all 0.3s ease;
}

.btn-secondary-outline:hover {
  background: var(--primary-color);
  color: var(--white);
  transform: translateY(-2px);
}

@media (max-width: 820px) {
  .about {
    padding-top: 0;
  }

  /* Désactiver AOS fade-up sur les titres pour utiliser slideInFromLeft */
  .section-title[data-aos="fade-up"] {
    transform: none !important;
    opacity: 1 !important;
  }

  .section-title {
    animation: slideInFromLeft 0.8s ease-out;
  }

  @keyframes slideInFromLeft {
    0% {
      opacity: 0;
      transform: translateX(-100px);
    }
    100% {
      opacity: 1;
      transform: translateX(0);
    }
  }

  .service-icon-wrapper {
    width: 100px;
    height: 100px;
  }

  .service-icon-wrapper i {
    font-size: 3rem;
  }

  .coverage-details {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 1180px) and (orientation: landscape) {
  .hero {
    padding-bottom: 4rem;
  }

  .hero-content {
    max-width: 700px;
    padding: 1rem 1.5rem;
  }

  .hero-title {
    font-size: 2.8rem;
    margin-bottom: 1rem;
  }

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

@media (max-width: 1400px) {
  .service-overlap-card {
    padding: 1.5rem 1rem;
  }

  .services-overlap-grid {
    gap: 1rem;
  }
}

@media (max-width: 1180px) {
  .services-overlap-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .service-overlap-card {
    padding: 1.8rem 1.2rem;
  }
}

@media (min-width: 481px) and (max-width: 820px) {
  .services-overlap-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .coverage-map-new {
    height: 350px;
  }

  .status-result {
    padding: 2rem 1.5rem;
  }

  .status-icon {
    width: 80px;
    height: 80px;
    font-size: 2.5rem;
  }

  .status-title {
    font-size: 1.5rem;
  }

  .info-card {
    padding: 1.5rem;
  }
}

/* Portfolio Section */
.portfolio {
  padding: 5rem 0;
  background: var(--bg-light);
}

.portfolio-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
  margin-bottom: 3rem;
}

.portfolio-item {
  position: relative;
  flex: 1 1 calc(33.333% - 2rem);
  min-width: 280px;
  max-width: 400px;
  border-radius: 15px;
  overflow: hidden;
  cursor: pointer;
  box-shadow: var(--shadow);
  transition: var(--transition);
  aspect-ratio: 4/3;
}

.portfolio-item:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

.portfolio-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.portfolio-item:hover img {
  transform: scale(1.1);
}

.portfolio-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 1.5rem;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, transparent 100%);
  color: var(--white);
  opacity: 1;
  transition: var(--transition);
}

.portfolio-overlay h3 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
}

.portfolio-overlay p {
  font-size: 0.95rem;
  opacity: 0.9;
}

.portfolio-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  margin-top: 3rem;
  flex-wrap: wrap;
}

.pagination-btn {
  min-width: 45px;
  height: 45px;
  padding: 0.75rem 1rem;
  border: 2px solid var(--primary-color);
  background: var(--white);
  color: var(--primary-color);
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  font-family: 'Poppins', sans-serif;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.pagination-btn:hover {
  background: var(--primary-hover);
  color: var(--white);
  border-color: var(--primary-hover);
  transform: translateY(-2px);
}

.pagination-btn.active {
  background: var(--primary-color);
  color: var(--white);
  box-shadow: 0 4px 10px rgba(201, 48, 44, 0.3);
}

.pagination-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Lightbox */
.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.95);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.lightbox.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.lightbox-content {
  max-width: 90%;
  max-height: 90%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-content img {
  max-width: 100%;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 10px;
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  border: 2px solid var(--white);
  color: var(--white);
  font-size: 1.5rem;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
  background: rgba(255, 255, 255, 0.4);
  transform: scale(1.1);
}

.lightbox-close {
  top: 20px;
  right: 20px;
}

.lightbox-prev {
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
}

.lightbox-prev:hover {
  transform: translateY(-50%) scale(1.1);
}

.lightbox-next {
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
}

.lightbox-next:hover {
  transform: translateY(-50%) scale(1.1);
}

/* Testimonials Section */
.testimonials {
  padding: 5rem 0;
  background: var(--bg-light);
}

.testimonials-slider {
  position: relative;
  overflow: hidden;
  margin-bottom: 2rem;
}

.testimonial-item {
  display: none;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.testimonial-item.visible {
  display: block;
  opacity: 1;
}

.testimonial-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 3rem;
  background: var(--bg-light);
  border-radius: 15px;
  box-shadow: var(--shadow);
  text-align: center;
}

.testimonial-stars {
  color: var(--secondary-color);
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  display: flex;
  justify-content: center;
  gap: 0.3rem;
}

.testimonial-text {
  font-size: 1.2rem;
  line-height: 1.8;
  color: var(--text-color);
  margin-bottom: 2rem;
  font-style: italic;
  opacity: 1 !important;
  visibility: visible !important;
}

.testimonial-author h4 {
  font-size: 1.3rem;
  color: var(--primary-color);
  margin-bottom: 0.3rem;
}

.testimonial-author p {
  color: var(--text-light);
}

.testimonials-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
}

.testimonial-btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--primary-color);
  border: none;
  color: var(--white);
  font-size: 1.2rem;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}

.testimonial-btn:hover {
  background: var(--primary-hover);
  transform: scale(1.1);
}

.testimonials-dots {
  display: flex;
  gap: 0.5rem;
}

.testimonials-dots span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--border-color);
  cursor: pointer;
  transition: var(--transition);
}

.testimonials-dots span.active {
  background: var(--primary-color);
  width: 30px;
  border-radius: 6px;
}

/* FAQ Section */
.faq {
  padding: 5rem 0;
  background: var(--white);
}

.faq-container {
  max-width: 900px;
  margin: 0 auto;
}

.faq-item {
  background: var(--white);
  margin-bottom: 1rem;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.faq-question {
  width: 100%;
  padding: 1.5rem 2rem;
  background: none;
  border: none;
  text-align: left;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--primary-color);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: var(--transition);
  font-family: 'Poppins', sans-serif;
}

.faq-question:hover {
  background: var(--bg-light);
}

.faq-question i {
  font-size: 1rem;
  transition: var(--transition);
}

.faq-item.active .faq-question i {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
  max-height: 500px;
}

.faq-answer p {
  padding: 0 2rem 1.5rem;
  color: var(--text-light);
  line-height: 1.8;
  font-size: 1.05rem;
}

/* Contact Section */
.contact {
  padding: 5rem 0;
  background: var(--bg-light);
}

.contact-wrapper {
  display: flex;
  gap: 3rem;
  flex-wrap: wrap;
}

.contact-info-wrapper {
  flex: 1;
  min-width: 300px;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.contact-item i {
  font-size: 2rem;
  color: var(--secondary-color);
  min-width: 50px;
}

.contact-item h3 {
  font-size: 1.2rem;
  margin-bottom: 0.3rem;
  color: var(--primary-color);
}

.contact-item p,
.contact-item a {
  color: var(--text-light);
  font-size: 1.05rem;
}

.contact-item a:hover {
  color: var(--primary-color);
}

.contact-form-wrapper {
  flex: 1;
  min-width: 300px;
}

.contact-form {
  background: var(--bg-light);
  padding: 2.5rem;
  border-radius: 15px;
  box-shadow: var(--shadow);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 1rem;
  border: 2px solid var(--border-color);
  border-radius: 10px;
  font-size: 1rem;
  font-family: 'Poppins', sans-serif;
  transition: var(--transition);
  background-color: var(--white);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--primary-color);
}

.form-group select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23333' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 3rem;
}

.contact-form .btn {
  width: 100%;
  display: block;
  margin: 0 auto;
}

/* Partners Section */
.partners-section {
  padding: 6rem 0;
  background: var(--white);
  position: relative;
  overflow-x: hidden;
}

.partners-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
  opacity: 0.2;
}

.partners-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 4rem;
}

.section-badge {
  display: inline-block;
  padding: 0.6rem 1.5rem;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-hover));
  color: var(--white);
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1rem;
  box-shadow: 0 4px 15px rgba(30, 136, 229, 0.2);
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-light);
  line-height: 1.8;
  margin-top: 1rem;
}

.partners-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.partner-card {
  perspective: 1000px;
  height: 140px;
}

@media (max-width: 1024px) {
  .partners-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.partner-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  background: var(--white);
  border: 2px solid rgba(0, 0, 0, 0.08);
  border-radius: 16px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.06);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  transform-style: preserve-3d;
}

.partner-card-inner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(30, 136, 229, 0.03), transparent);
  border-radius: 16px;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.partner-card-inner:hover::before {
  opacity: 1;
}

.partner-card-inner img {
  max-width: 100%;
  max-height: 80px;
  object-fit: contain;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  z-index: 1;
  filter: brightness(0.95);
}

.partner-card:hover .partner-card-inner {
  transform: translateY(-8px) rotateX(5deg);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
  border-color: var(--primary-color);
}

.partner-card:hover .partner-card-inner img {
  transform: scale(1.08);
  filter: brightness(1);
}

.partners-dots {
  display: none;
}

@media (max-width: 1300px) {
  .hero-title {
    font-size: clamp(2rem, 2.8vw, 2.8rem);
    line-height: 1.25;
  }
}

@media (max-width: 900px) {
  .logo-link {
    height: clamp(35px, 5vw, 45px);
  }

  .logo-img {
    max-width: 200px;
  }

  .nav-list {
    gap: 1.2rem;
  }

  .nav-link {
    font-size: 0.9rem;
  }

  .lang-btn {
    padding: 0.4rem 0.8rem;
    font-size: 0.85rem;
  }

  .header-container {
    padding: 1rem 20px;
  }
}

@media (max-width: 1200px) {
  .hero-title {
    font-size: 2.5rem;
    line-height: 1.3;
  }

  .hero-title .highlight-text {
    font-size: 1em;
  }
}

@media (max-width: 1024px) {
  .hero-title {
    font-size: 2.3rem;
    line-height: 1.3;
  }
}

@media (max-width: 820px) {
  .hero-title {
    font-size: 2.2rem;
    line-height: 1.35;
  }

  .partners-section {
    padding: 4rem 0;
  }

  .partners-header {
    margin-bottom: 2.5rem;
  }

  .section-subtitle {
    font-size: 1rem;
  }

  .partners-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 1.5rem;
    padding: 0 1rem 1rem;
    margin: 0 -1rem 1rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  .partners-grid::-webkit-scrollbar {
    display: none;
  }

  .partner-card {
    min-width: 200px;
    flex-shrink: 0;
    scroll-snap-align: start;
    height: 120px;
  }

  .partner-card-inner {
    padding: 1.5rem;
  }

  .partner-card-inner img {
    max-height: 60px;
  }

  .partners-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
  }

  .partners-dots span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(30, 136, 229, 0.2);
    cursor: pointer;
    transition: all 0.3s ease;
  }

  .partners-dots span.active {
    background: var(--primary-color);
    width: 24px;
    border-radius: 4px;
  }
}

@media (max-width: 480px) {
  .header-container {
    padding: 1rem 20px 1.3rem;
  }

  .logo-link {
    height: 35px;
  }

  .logo-img {
    height: 100%;
    max-width: 180px;
  }

  .hero {
    min-height: 85vh;
    padding-top: calc(clamp(36px, 8vw, 60px) + 1.5rem);
  }

  .hero-slide {
    background-size: cover;
    background-position: center center;
  }

  .hero-content {
    padding: 1.5rem;
  }

  .hero-badge {
    padding: 0.8rem 1.5rem;
    font-size: 0.95rem;
    letter-spacing: 1px;
    margin-bottom: 1.2rem;
  }

  .hero-title {
    font-size: 2rem;
    line-height: 1.35;
    word-wrap: break-word;
    overflow-wrap: break-word;
    margin-bottom: 1.2rem;
  }

  .hero-title > span {
    white-space: normal;
    display: block;
  }

  .hero-title .highlight-text {
    white-space: normal;
    display: inline-block;
    padding: 4px 16px;
    font-size: 1.8rem;
    margin-bottom: 8px;
  }

  .hero-title br {
    display: none;
  }

  .hero-title br.bien-plus-break {
    display: none;
  }

  .hero-title .bien-plus-text {
    display: none;
  }

  .hero-title .comma-separator {
    display: none;
  }

  .hero-subtitle {
    font-size: 1.1rem;
    line-height: 1.5;
    margin-bottom: 1.8rem;
    padding: 0 0.5rem;
  }

  .hero-buttons {
    margin-bottom: 1.5rem;
  }

  .partners-grid {
    gap: 0.75rem;
    padding: 0 1rem 1rem;
  }

  .partner-card {
    min-width: calc(50% - 0.375rem);
    flex-shrink: 0;
  }
}

/* Footer */
.footer {
  background: var(--primary-color);
  color: var(--white);
  padding: 3rem 0 1rem;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-column {
  flex: 1;
  min-width: 250px;
}

.footer-logo {
  height: 60px;
  width: auto;
  margin-bottom: 1rem;
}

.footer-column h3 {
  font-size: 1.3rem;
  margin-bottom: 1.5rem;
  color: var(--white);
}

.footer-column p {
  line-height: 1.8;
  opacity: 0.9;
}

.footer-column ul {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.footer-column ul li {
  opacity: 0.9;
  transition: var(--transition);
}

.footer-column ul li:hover {
  opacity: 1;
  transform: translateX(5px);
}

.footer-column a:hover {
  color: var(--secondary-color);
}

.footer-contact li {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.footer-contact i {
  color: var(--white);
  font-size: 1.1rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 2rem;
  text-align: center;
}

.footer-bottom p {
  opacity: 0.8;
  margin-bottom: 0.5rem;
}

.dev-credit {
  font-size: 0.9rem;
  opacity: 0.8;
}

.dev-credit a {
  color: var(--white);
  font-weight: 600;
  transition: var(--transition);
}

.dev-credit a:hover {
  opacity: 1;
  text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 820px) {
  body {
    font-size: 1.1rem;
  }

  .nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--white);
    box-shadow: -5px 0 20px rgba(0, 0, 0, 0.1);
    transition: right 0.4s ease;
    z-index: 1001;
    padding: 2rem 0;
  }

  .nav.show {
    right: 0;
  }

  .nav-list {
    flex-direction: column;
    gap: 0;
    align-items: stretch;
  }

  .nav-link {
    padding: 1rem 2rem;
    display: block;
    font-size: 1.1rem;
    color: var(--text-color);
  }

  .nav-link:hover {
    background: var(--bg-light);
    color: var(--primary-color);
  }

  .nav-close {
    color: var(--primary-color);
  }

  .nav-toggle,
  .nav-close {
    display: block;
  }

  .nav-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
  }

  .language-switcher {
    order: -1;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-buttons .btn {
    width: 100%;
  }

  .about-content,
  .coverage-content {
    flex-direction: column;
  }

  .services-grid {
    flex-direction: column;
  }

  .service-card {
    max-width: 100%;
  }

  .portfolio-grid {
    flex-direction: column;
  }

  .portfolio-item {
    max-width: 100%;
  }

  .contact-wrapper {
    flex-direction: column;
  }

  .contact-info-wrapper {
    order: 2;
  }

  .contact-form-wrapper {
    order: 1;
  }

  .lightbox-close,
  .lightbox-prev,
  .lightbox-next {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
  }

  .lightbox-close {
    top: 10px;
    right: 10px;
  }

  .lightbox-prev {
    left: 10px;
  }

  .lightbox-next {
    right: 10px;
  }

  .testimonial-content {
    padding: 2rem 1.5rem;
  }

  .testimonial-text {
    font-size: 1.05rem;
  }

  .coverage-list {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .coverage-grid {
    display: flex;
    flex-direction: column;
    gap: 2rem;
  }

  .coverage-calculator-section {
    display: flex;
    flex-direction: column;
    order: 1;
  }

  .coverage-map-section {
    order: 2;
    width: 100%;
    max-width: 100%;
    min-height: 350px;
    overflow: hidden;
  }

  .distance-calculator {
    order: 1;
  }

  .coverage-list {
    order: 0;
    margin-bottom: 1rem;
  }

  .map-container {
    height: 350px;
    width: 100%;
    max-width: 100%;
  }

  #leaflet-map {
    min-height: 350px;
    width: 100%;
    max-width: 100%;
  }

  .distance-calculator {
    padding: 1.5rem;
  }

  .distance-calculator h3 {
    font-size: 1.2rem;
  }

  .calculator-input {
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: stretch;
  }

  .calculator-input input {
    width: 100%;
    flex-basis: 100%;
  }

  .btn-calculate {
    flex: 1;
    min-width: 0;
  }

  .btn-reset {
    flex-shrink: 0;
  }

  .footer-content {
    flex-direction: column;
    gap: 2rem;
  }
}

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

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

  .btn {
    padding: 0.8rem 1.5rem;
    font-size: 0.95rem;
  }

  .contact-form {
    padding: 1.5rem;
  }

  .testimonials-controls {
    gap: 1rem;
  }

  .testimonial-btn {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }

  .coverage-map-section {
    min-height: 300px;
    max-width: 100%;
    overflow: hidden;
  }

  .map-container {
    height: 300px;
    width: 100%;
    max-width: 100%;
  }

  #leaflet-map {
    min-height: 300px;
    width: 100%;
    max-width: 100%;
  }

  .distance-calculator {
    padding: 1rem;
  }

  .distance-calculator h3 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
  }

  .calculator-input input {
    padding: 0.8rem;
    font-size: 0.95rem;
  }

  .btn-calculate {
    padding: 0.8rem 1.5rem;
    font-size: 0.95rem;
  }

  .result-time {
    font-size: 1rem;
    padding: 0.8rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Services Overlap Responsive */
@media (max-width: 1200px) {
  .services-overlap-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
  }
}

@media (max-width: 768px) {
  .services-overlap {
    margin-top: -80px;
    margin-bottom: 2rem;
  }

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

  .service-overlap-card {
    padding: 1.5rem 1rem;
  }

  .service-icon-wrapper {
    width: 65px;
    height: 65px;
  }

  .service-icon-wrapper i {
    font-size: 2rem;
  }

  .service-card-title {
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .services-overlap {
    margin-top: -60px;
  }

  .service-overlap-card {
    padding: 1.2rem 0.8rem;
  }

  .service-icon-wrapper {
    width: 55px;
    height: 55px;
  }

  .service-icon-wrapper i {
    font-size: 1.6rem;
  }

  .service-card-title {
    font-size: 0.8rem;
  }
}
/* Form Message Styles */
.form-message {
  padding: 1rem;
  border-radius: 8px;
  margin-bottom: 1rem;
  font-weight: 500;
  text-align: center;
}

.form-message.success {
  background-color: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.form-message.error {
  background-color: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

/* Loading spinner */
.btn-loading {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-loading .fa-spinner {
  animation: spin 1s linear infinite;
}

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