/* ===== Base Styles ===== */
:root {
  --primary-color: #00a4e8; /* Brand Primary */
  --secondary-color: #16446e; /* Brand Secondary */
  --accent-color: #00a4e8; /* Primary Accent */
  --dark-color: #0d2b46; /* Deep Blue */
  --light-color: #f3f9fe; /* Soft Blue Tint */
  --surface-color: #f7fbff;
  --primary-rgb: 0, 164, 232;
  --secondary-rgb: 22, 68, 110;
  --text-color: #21384d;
  --text-light: #ffffff;
  --text-muted: #6a7f92;
  --border-radius: 16px;
  --box-shadow: 0 12px 30px rgba(13, 43, 70, 0.08);
  --transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Montserrat", sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  background: var(--secondary-color); /* Fallback */
  background: linear-gradient(
    135deg,
    #16446e 0%,
    #0d2b46 50%,
    #071a2b 100%
  );
  position: relative;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(
      circle at 12% 12%,
      rgba(0, 164, 232, 0.14),
      transparent 28%
    ),
    radial-gradient(
      circle at 88% 18%,
      rgba(22, 68, 110, 0.16),
      transparent 30%
    ),
    radial-gradient(
      circle at 50% 92%,
      rgba(7, 26, 43, 0.22),
      transparent 36%
    ),
    radial-gradient(circle at 20% 78%, rgba(0, 164, 232, 0.08), transparent 18%),
    radial-gradient(circle at 78% 58%, rgba(255, 255, 255, 0.06), transparent 16%),
    linear-gradient(
      160deg,
      rgba(9, 27, 43, 0.72) 0%,
      rgba(13, 43, 70, 0.66) 50%,
      rgba(7, 26, 43, 0.78) 100%
    );
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 1rem;
  color: var(--secondary-color);
}

h1,
h2 {
  letter-spacing: 0.5px;
}

p {
  margin-bottom: 1.5rem;
}

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

a:hover {
  color: var(--accent-color);
}

ul {
  list-style: none;
}

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

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

.section-padding {
  padding: 100px 0;
}

.text-center {
  text-align: center;
}

.btn {
  display: inline-block;
  padding: 12px 30px;
  border-radius: 50px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: var(--transition);
  border: none;
  cursor: pointer;
  font-size: 14px;
  box-shadow: 0 8px 20px rgba(13, 43, 70, 0.08);
}

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

.btn-primary:hover {
  background-color: var(--primary-color);
  color: var(--secondary-color);
  transform: translateY(-3px);
  box-shadow:
    0 16px 32px rgba(var(--primary-rgb), 0.22),
    0 10px 18px rgba(13, 43, 70, 0.12);
}

.btn-secondary {
  background-color: transparent;
  color: var(--secondary-color);
  border: 2px solid var(--secondary-color);
}

.btn-secondary:hover {
  background-color: var(--secondary-color);
  color: white;
  transform: translateY(-3px);
  box-shadow:
    0 16px 32px rgba(var(--primary-rgb), 0.16),
    0 10px 18px rgba(13, 43, 70, 0.1);
}

.section-title {
  position: relative;
  display: inline-block;
  margin-bottom: 60px;
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--secondary-color);
}

.section-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -10px;
  width: 60px;
  height: 4px;
  background-color: var(--accent-color);
}

.section-subtitle {
  max-width: 720px;
  margin: 0 auto;
  color: var(--text-muted);
  font-size: 1.04rem;
  line-height: 1.75;
}

/* ===== Header ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: transparent;
  box-shadow: none;
  border-bottom: 1px solid transparent;
  transition: var(--transition);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.header.scrolled {
  background: rgba(7, 26, 43, 0.78);
  padding: 10px 0;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 12px 30px rgba(7, 26, 43, 0.2);
  border-bottom-color: rgba(255, 255, 255, 0.08);
}

.header.scrolled .main-nav a {
  color: #f3f9fe;
}

.header.scrolled .mobile-menu-btn i {
  color: #f3f9fe;
}

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

.logo a {
  display: inline-flex;
  align-items: center;
}

.site-logo {
  display: block;
  width: 70px;
  max-width: 100%;
  height: auto;
}

.header.scrolled .site-logo {
  width: 70px;
}

.main-nav ul {
  display: flex;
  gap: 30px;
}

.main-nav a {
  color: #f3f9fe;
  font-weight: 600;
  font-size: 0.95rem;
  position: relative;
  padding: 5px 0;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.2),
    rgba(var(--primary-rgb), 0.95)
  );
  transition: var(--transition);
}

.main-nav a:hover::after,
.main-nav a.active::after {
  width: 100%;
}

/* Langue dropdown */
.lang-dropdown {
  position: relative;
  margin-left: 20px;
}

.lang-trigger {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--border-radius);
  cursor: pointer;
  font-family: inherit;
  font-weight: 600;
  font-size: 0.9rem;
  color: #f3f9fe;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: var(--transition);
}

.lang-trigger:hover {
  border-color: rgba(var(--primary-rgb), 0.55);
  color: #ffffff;
}

.header.scrolled .lang-trigger {
  border-color: rgba(255, 255, 255, 0.14);
  color: #f3f9fe;
}

.header.scrolled .lang-trigger:hover {
  border-color: rgba(var(--primary-rgb), 0.55);
  background: rgba(var(--primary-rgb), 0.12);
  color: #ffffff;
}

.lang-flag {
  display: inline-flex;
  line-height: 0;
  border-radius: 2px;
  overflow: hidden;
}

.lang-flag svg {
  display: block;
}

.lang-flag-en[hidden],
.lang-flag-fr[hidden] {
  display: none !important;
}

.lang-chevron {
  font-size: 0.7rem;
  color: currentColor;
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.lang-dropdown.is-open .lang-chevron {
  transform: rotate(180deg);
}

.lang-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 160px;
  padding: 6px 0;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.94) 0%,
    rgba(245, 250, 255, 0.88) 100%
  );
  border-radius: var(--border-radius);
  box-shadow: 0 16px 34px rgba(13, 43, 70, 0.12);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: var(--transition);
  z-index: 1001;
}

.lang-dropdown.is-open .lang-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.lang-option {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 10px 16px;
  background: none;
  border: none;
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--text-color);
  cursor: pointer;
  transition: var(--transition);
  text-align: left;
}

.lang-option:hover {
  background: var(--light-color);
  color: var(--primary-color);
}

.lang-option-flag {
  flex-shrink: 0;
  border-radius: 2px;
  overflow: hidden;
}

.mobile-menu-btn {
  display: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: #f3f9fe;
}

.mobile-menu-btn i {
  display: block;
  line-height: 1;
  color: inherit;
}

/* ===== Hero Section ===== */
.hero {
  height: 100vh;
  min-height: 700px;
  background: linear-gradient(135deg, #16446e 0%, #0d2b46 50%, #071a2b 100%);
  display: flex;
  align-items: center;
  text-align: center;
  color: white;
  position: relative;
  margin-top: 80px;
  overflow: hidden;
  isolation: isolate;
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero::before {
  background: linear-gradient(rgba(6, 20, 32, 0.46), rgba(6, 20, 32, 0.54));
}

.hero::after {
  content: none;
}

.hero-slides {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  opacity: 0;
  transform: scale(1.04);
  transition:
    opacity 1.2s ease,
    transform 10s ease;
  will-change: opacity, transform;
}

.hero-slide.is-active {
  opacity: 1;
  transform: scale(1.12);
}

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

.hero-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px;
}


.hero h1 {
  font-size: 3rem;
  margin-bottom: 20px;
  color: #f3f9fe;
  line-height: 1.2;
  letter-spacing: 0.5px;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 40px;
  color: rgba(243, 249, 254, 0.9);
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.hero .btn {
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
}

.hero .btn-primary {
  background: linear-gradient(
    135deg,
    rgba(var(--primary-rgb), 0.72),
    rgba(var(--secondary-rgb), 0.78)
  );
  border-color: rgba(255, 255, 255, 0.32);
}

.hero .btn-primary:hover {
  background: rgba(255, 255, 255, 0.92);
  color: var(--secondary-color);
  border-color: rgba(255, 255, 255, 0.95);
  box-shadow:
    0 18px 34px rgba(var(--primary-rgb), 0.18),
    0 12px 24px rgba(0, 0, 0, 0.22);
}

.hero .btn-secondary {
  background: rgba(8, 24, 39, 0.34);
  border-color: rgba(255, 255, 255, 0.55);
  color: #ffffff;
}

.hero .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.16);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.9);
  box-shadow:
    0 18px 34px rgba(var(--primary-rgb), 0.12),
    0 12px 24px rgba(0, 0, 0, 0.18);
}

.hero .btn:focus-visible {
  outline: 3px solid rgba(255, 255, 255, 0.75);
  outline-offset: 2px;
}

/* ===== Services Preview ===== */
.services-preview {
  position: relative;
  padding: 100px 0;
  background: transparent;
  overflow: hidden;
}

.services-preview::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      circle at 8% 18%,
      rgba(var(--primary-rgb), 0.12),
      transparent 30%
    ),
    radial-gradient(
      circle at 90% 86%,
      rgba(var(--secondary-rgb), 0.08),
      transparent 34%
    ) 0 0 / 10px 10px;
  pointer-events: none;
}

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

.services-preview h2 {
  text-align: center;
  margin-bottom: 42px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 0;
}

.service-card {
  position: relative;
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 28px 24px;
  border-radius: 16px;
  text-align: left;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  box-shadow: 0 10px 30px rgba(13, 43, 70, 0.18);
  transition:
    transform 0.35s cubic-bezier(0.4, 0, 0.2, 1),
    box-shadow 0.35s cubic-bezier(0.4, 0, 0.2, 1),
    border-color 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card::after {
  content: "";
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 0;
  height: 3px;
  border-radius: 100px;
  background: linear-gradient(
    90deg,
    rgba(var(--primary-rgb), 0.14),
    rgba(var(--primary-rgb), 0.38),
    rgba(var(--primary-rgb), 0.14)
  );
  opacity: 0;
  transition: opacity 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card:hover {
  transform: translateY(-8px);
  border-color: rgba(var(--primary-rgb), 0.48);
  box-shadow:
    0 22px 38px rgba(13, 43, 70, 0.24),
    0 0 24px rgba(var(--primary-rgb), 0.16);
}

.service-card:hover::after {
  opacity: 1;
}

.service-card i {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: #f3f9fe;
  margin-bottom: 16px;
  background: linear-gradient(
    135deg,
    rgba(var(--primary-rgb), 0.3),
    rgba(var(--secondary-rgb), 0.22)
  );
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.12),
    0 10px 20px rgba(var(--primary-rgb), 0.12);
}

.service-card h3 {
  font-size: 1.32rem;
  margin-bottom: 10px;
  line-height: 1.3;
  color: #f3f9fe;
}

.service-card p {
  margin: 0;
  color: rgba(243, 249, 254, 0.84);
  line-height: 1.65;
}

/* ===== About Section ===== */
.about {
  position: relative;
  padding: 100px 0;
  background: linear-gradient(135deg, #16446e 0%, #0d2b46 50%, #071a2b 100%);
  color: #f3f9fe;
  overflow: hidden;
}

.about::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 14% 18%, rgba(var(--primary-rgb), 0.12), transparent 24%),
    radial-gradient(circle at 82% 78%, rgba(255, 255, 255, 0.08), transparent 22%),
    radial-gradient(circle at 52% 10%, rgba(0, 164, 232, 0.1), transparent 18%);
  pointer-events: none;
}

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

.about-content {
  max-width: 1100px;
  margin: 0 auto;
}

.about h2 {
  text-align: center;
  margin-bottom: 18px;
  color: #f3f9fe;
}

.about-content > p {
  max-width: 820px;
  margin: 0 auto 44px;
  text-align: center;
  color: rgba(243, 249, 254, 0.78);
  font-size: 1.05rem;
  line-height: 1.75;
}

.vision-mission {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  margin-bottom: 56px;
}

.vision-mission .card {
  background: rgba(255, 255, 255, 0.07);
  padding: 28px 24px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 14px 34px rgba(0, 8, 16, 0.22);
  position: relative;
  overflow: hidden;
  transition:
    transform 0.35s cubic-bezier(0.4, 0, 0.2, 1),
    box-shadow 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.vision-mission .card::before {
  content: none;
}

.vision-mission .card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 36px rgba(13, 43, 70, 0.08);
}

.vision-mission h3 {
  color: #f3f9fe;
  margin-bottom: 12px;
  font-size: 1.32rem;
}

.vision-mission p {
  margin: 0;
  color: rgba(243, 249, 254, 0.8);
  line-height: 1.7;
}

.values {
  margin-top: 0;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 32px 30px;
  box-shadow: 0 14px 34px rgba(0, 8, 16, 0.22);
}

.values h3 {
  text-align: center;
  margin-bottom: 22px;
  font-size: 1.6rem;
}

.values ul {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.values li {
  background: rgba(255, 255, 255, 0.05);
  padding: 14px 16px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 58px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 8px 18px rgba(13, 43, 70, 0.06);
  transition:
    transform 0.35s cubic-bezier(0.4, 0, 0.2, 1),
    box-shadow 0.35s cubic-bezier(0.4, 0, 0.2, 1),
    background-color 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.values li:hover {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 14px 24px rgba(13, 43, 70, 0.1);
}

.values i {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  color: #ffffff;
  background: linear-gradient(
    135deg,
    rgba(var(--primary-rgb), 0.9),
    rgba(var(--secondary-rgb), 0.84)
  );
  box-shadow: 0 8px 18px rgba(var(--primary-rgb), 0.15);
}

/* ===== Services Section ===== */
.services {
  position: relative;
  padding: 100px 0;
  background: linear-gradient(135deg, #16446e 0%, #0d2b46 50%, #071a2b 100%);
  color: #f3f9fe;
}

.services::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 84% 14%, rgba(var(--primary-rgb), 0.14), transparent 24%),
    radial-gradient(circle at 16% 84%, rgba(255, 255, 255, 0.08), transparent 22%),
    radial-gradient(circle at 52% 50%, rgba(0, 164, 232, 0.08), transparent 20%);
}

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

.services h2 {
  text-align: center;
  margin-bottom: 46px;
  color: #f3f9fe;
}

.services-categories-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.service-category {
  background: rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 26px 24px;
  margin-bottom: 0;
  box-shadow: 0 16px 34px rgba(0, 8, 16, 0.22);
  min-height: 100%;
  position: relative;
  overflow: hidden;
  transition:
    transform 0.35s cubic-bezier(0.4, 0, 0.2, 1),
    box-shadow 0.35s cubic-bezier(0.4, 0, 0.2, 1),
    border-color 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-category::before {
  content: none;
}

.service-category:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(13, 43, 70, 0.12);
  border-color: rgba(var(--primary-rgb), 0.3);
}

.service-category h3 {
  color: #f3f9fe;
  margin-bottom: 18px;
  font-size: 1.35rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 12px;
  letter-spacing: 0.2px;
}

.service-category i {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  background: linear-gradient(
    135deg,
    rgba(var(--primary-rgb), 0.92),
    rgba(var(--secondary-rgb), 0.82)
  );
  box-shadow: 0 8px 18px rgba(var(--primary-rgb), 0.14);
}

.service-category ul {
  padding-left: 0;
  margin: 0;
  display: grid;
  gap: 0;
}

.service-category li {
  position: relative;
  padding: 10px 0 10px 20px;
  margin: 0;
  color: rgba(243, 249, 254, 0.8);
  line-height: 1.58;
}

.service-category li + li {
  border-top: 1px solid rgba(22, 68, 110, 0.08);
}

.service-category li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 0.86em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--primary-color);
  box-shadow: 0 0 0 4px rgba(var(--primary-rgb), 0.12);
}
/* ===== Achievements Section ===== */
.achievements {
  position: relative;
  isolation: isolate;
  padding: 110px 0;
  background: linear-gradient(135deg, #16446e 0%, #0d2b46 50%, #071a2b 100%);
  color: white;
  text-align: center;
  scroll-margin-top: 110px;
}

.achievements::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(
      circle at 20% 20%,
      rgba(var(--primary-rgb), 0.2),
      transparent 45%
    ),
    radial-gradient(
      circle at 80% 80%,
      rgba(255, 255, 255, 0.08),
      transparent 35%
    );
  pointer-events: none;
}

.achievements-container {
  position: relative;
}

.achievements-title {
  color: white;
  margin-bottom: 54px;
}

.achievements h2 {
  color: inherit;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin-bottom: 56px;
}

.stat-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 24px 20px 22px;
  border-radius: 16px;
  min-height: 184px;
  display: grid;
  grid-template-rows: auto auto 1fr;
  justify-items: start;
  text-align: left;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 10px 30px rgba(13, 43, 70, 0.18);
  transition:
    transform 0.35s cubic-bezier(0.4, 0, 0.2, 1),
    box-shadow 0.35s cubic-bezier(0.4, 0, 0.2, 1),
    border-color 0.35s cubic-bezier(0.4, 0, 0.2, 1),
    background-color 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.stat-card:hover {
  transform: translateY(-8px);
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(var(--primary-rgb), 0.38);
  box-shadow:
    0 22px 40px rgba(13, 43, 70, 0.22),
    0 0 24px rgba(var(--primary-rgb), 0.16);
}

.stat-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  margin-bottom: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(
    135deg,
    rgba(var(--primary-rgb), 0.32),
    rgba(var(--secondary-rgb), 0.22)
  );
  color: #f3f9fe;
  font-size: 1.1rem;
  box-shadow: 0 10px 20px rgba(var(--primary-rgb), 0.12);
}

.stat-number {
  font-size: clamp(1.9rem, 2.8vw, 2.5rem);
  font-weight: 700;
  line-height: 1.05;
  margin-bottom: 10px;
  color: white;
}

.stat-desc {
  font-size: 1rem;
  line-height: 1.45;
  color: rgba(243, 249, 254, 0.9);
}

/* Gallery Styles */
.achievements-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 70px;
}

.gallery-item {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  height: 300px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  background: var(--dark-color);
}

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

.gallery-item figcaption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 25px 20px;
  background: linear-gradient(
    to top,
    rgba(13, 43, 70, 0.95) 0%,
    rgba(13, 43, 70, 0.6) 60%,
    transparent 100%
  );
  color: white;
  transform: translateY(100%);
  transition: transform 0.4s ease-out;
  text-align: left;
}

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

.gallery-item:hover figcaption {
  transform: translateY(0);
}

.gallery-item h4 {
  color: var(--primary-color);
  margin-bottom: 8px;
  font-size: 1.1rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.gallery-item p {
  font-size: 0.9rem;
  line-height: 1.4;
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
}

@media (max-width: 992px) {
  .achievements-gallery {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .achievements-gallery {
    grid-template-columns: 1fr;
  }
  .gallery-item {
    height: 250px;
  }
}

.testimonials {
  max-width: 920px;
  margin: 0 auto;
}

.testimonials h3 {
  margin-bottom: 26px;
  font-size: clamp(1.35rem, 2vw, 1.75rem);
  color: #f3f9fe;
}

.testimonial-slider {
  width: 100%;
}

.testimonial {
  background: rgba(255, 255, 255, 0.03);
  padding: 30px 30px 24px 74px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #f3f9fe;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 10px 30px rgba(13, 43, 70, 0.18);
  margin: 0;
  position: relative;
  text-align: left;
}

.testimonial::before {
  content: "\201C";
  font-family: Georgia, serif;
  font-size: 4.4rem;
  color: var(--accent-color);
  position: absolute;
  left: 22px;
  top: 8px;
  opacity: 0.34;
  line-height: 1;
}

.testimonial p {
  font-style: normal;
  line-height: 1.75;
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
  color: rgba(243, 249, 254, 0.92);
}

.achievements .client {
  margin-top: 0;
  font-weight: 700;
  font-size: 0.95rem;
  color: #f3f9fe;
}

.testimonial:hover {
  border-color: rgba(var(--primary-rgb), 0.42);
  box-shadow:
    0 22px 38px rgba(13, 43, 70, 0.24),
    0 0 24px rgba(var(--primary-rgb), 0.16);
}

.hero,
.hero h1,
.hero p,
.hero a,
.achievements,
.achievements h2,
.achievements h3,
.achievements h4,
.achievements p,
.achievements .client {
  color: #f3f9fe;
}

.btn:hover,
.main-nav a:hover,
.mobile-menu-btn:hover,
.hero .btn:hover {
  box-shadow: 0 14px 28px rgba(var(--primary-rgb), 0.16);
}

/* ===== Global Gradient Harmonization ===== */
.services-preview {
  position: relative;
  color: #f3f9fe;
}

.services-preview .container,
.about .container,
.services .container,
.partenaires-clients .container,
.contact .container,
.presence-section .container {
  position: relative;
  z-index: 1;
}

.about,
.services,
.partenaires-clients,
.partenaires-clients--alt,
.contact {
  position: relative;
  background: linear-gradient(135deg, #16446e 0%, #0d2b46 50%, #071a2b 100%);
  color: #f3f9fe;
}

.about::after,
.services::after,
.partenaires-clients::after,
.partenaires-clients--alt::after,
.contact::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 18% 18%, rgba(0, 164, 232, 0.12), transparent 24%),
    radial-gradient(circle at 82% 22%, rgba(255, 255, 255, 0.07), transparent 20%),
    radial-gradient(circle at 72% 78%, rgba(0, 164, 232, 0.08), transparent 22%);
}

.services-preview h2 {
  color: #f3f9fe;
}

.about h2,
.services h2,
.partenaires-clients .section-heading h2,
.contact h2 {
  color: #f3f9fe;
}

.about-content > p,
.partenaires-clients .section-heading .section-subtitle {
  color: rgba(243, 249, 254, 0.78);
}

.service-category,
.vision-mission .card,
.values,
.contact-info,
.contact-form,
.logo-item {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 14px 34px rgba(0, 8, 16, 0.22);
}

.service-category h3,
.vision-mission h3,
.values h3,
.contact-info h3,
.contact-form h3 {
  color: #f3f9fe;
}

.service-category li,
.vision-mission p,
.contact-info p,
.client,
.values li {
  color: rgba(243, 249, 254, 0.8);
}

.values li {
  background: rgba(255, 255, 255, 0.05);
}

.service-category li + li {
  border-top: 1px solid rgba(22, 68, 110, 0.08);
}

.form-group input,
.form-group select,
.form-group textarea {
  background: linear-gradient(
    180deg,
    rgba(11, 40, 65, 0.72) 0%,
    rgba(7, 26, 43, 0.72) 100%
  );
  border-color: rgba(255, 255, 255, 0.12);
  color: #f3f9fe;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(243, 249, 254, 0.68);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  background: linear-gradient(180deg, rgba(236, 245, 251, 0.88) 0%, rgba(221, 235, 245, 0.68) 100%);
  border-color: rgba(var(--primary-rgb), 0.35);
  box-shadow: 0 0 0 4px rgba(var(--primary-rgb), 0.08);
}

/* ===== Partenaires & Clients Sections ===== */
.partenaires-clients {
  padding: 100px 0;
  background: linear-gradient(135deg, #16446e 0%, #0d2b46 50%, #071a2b 100%);
  overflow: hidden;
}

.partenaires-clients--alt {
  background: linear-gradient(135deg, #16446e 0%, #0d2b46 50%, #071a2b 100%);
}

.section-heading {
  text-align: center;
  margin-bottom: 34px;
}

.section-heading h2 {
  display: block;
  position: static;
  margin: 0 0 18px;
  font-size: 2.2rem;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.5px;
}

.section-heading .section-subtitle {
  margin-bottom: 0;
  max-width: 640px;
}

.presence-section .section-heading h2,
.partenaires-clients .section-heading h2 {
  color: #f3f9fe;
}

.presence-section .section-heading .section-subtitle,
.partenaires-clients .section-heading .section-subtitle {
  color: rgba(243, 249, 254, 0.78);
}

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  margin-bottom: 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(243, 249, 254, 0.9);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.presence-card {
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 28px;
  border-radius: calc(var(--border-radius) * 1.15);
  background:
    linear-gradient(180deg, rgba(247, 250, 253, 0.98) 0%, rgba(231, 240, 247, 0.94) 100%);
  border: 1px solid rgba(255, 255, 255, 0.34);
  box-shadow:
    0 18px 42px rgba(13, 43, 70, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.85);
}

.presence-card__header {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.presence-card .section-eyebrow {
  align-self: flex-start;
  background: rgba(22, 68, 110, 0.08);
  border-color: rgba(22, 68, 110, 0.1);
  color: var(--secondary-color);
}

.presence-card__title {
  margin: 0;
  color: var(--secondary-color);
  font-size: 1.35rem;
  line-height: 1.2;
}

.presence-card__text {
  margin: 0;
  color: rgba(13, 43, 70, 0.72);
  line-height: 1.6;
}

.presence-card__media {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  border-radius: calc(var(--border-radius) * 0.9);
  background: rgba(255, 255, 255, 0.5);
  overflow: hidden;
}

.presence-card__media img {
  width: 100%;
  height: auto;
  max-height: 440px;
  object-fit: contain;
  object-position: center;
  display: block;
}

.presence-overview {
  padding: 28px;
  border-radius: calc(var(--border-radius) * 1.35);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.09) 0%, rgba(255, 255, 255, 0.04) 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow:
    0 18px 40px rgba(0, 8, 16, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
}

.presence-overview__header {
  max-width: 760px;
  margin-bottom: 22px;
}

.presence-overview__title {
  margin: 0 0 10px;
  color: #f3f9fe;
  font-size: clamp(1.3rem, 2vw, 1.7rem);
  line-height: 1.2;
}

.presence-overview__text {
  margin: 0;
  color: rgba(243, 249, 254, 0.76);
  line-height: 1.65;
}

.presence-overview__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.presence-overview-card {
  padding: 18px 18px 17px;
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.95) 0%, rgba(241, 247, 251, 0.92) 100%);
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow:
    0 12px 28px rgba(13, 43, 70, 0.11),
    inset 0 1px 0 rgba(255, 255, 255, 0.78);
}

.presence-overview-card__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.presence-overview-card__city {
  color: var(--secondary-color);
  font-weight: 700;
  font-size: 1rem;
}

.presence-overview-card__tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(22, 68, 110, 0.08);
  color: var(--secondary-color);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.presence-overview-card p {
  margin: 0;
  color: rgba(13, 43, 70, 0.75);
  line-height: 1.6;
  font-size: 0.95rem;
}

/* ===== Presence Section ===== */
.presence-section {
  position: relative;
  overflow: hidden;
  padding: 100px 0;
  background: linear-gradient(135deg, #16446e 0%, #0d2b46 50%, #071a2b 100%);
  color: #f3f9fe;
}

.presence-section::before {
  content: "";
  position: absolute;
  inset: auto -10% -18% auto;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 164, 232, 0.14), transparent 68%);
  pointer-events: none;
}

.presence-section::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 18% 18%, rgba(0, 164, 232, 0.12), transparent 24%),
    radial-gradient(circle at 82% 22%, rgba(255, 255, 255, 0.07), transparent 20%),
    radial-gradient(circle at 72% 78%, rgba(0, 164, 232, 0.08), transparent 22%);
}

.presence-section__layout {
  display: grid;
  grid-template-columns: minmax(320px, 0.95fr) minmax(320px, 1.05fr);
  gap: 34px;
  align-items: center;
}

.presence-section__visual {
  position: relative;
  padding: 22px;
  border-radius: calc(var(--border-radius) * 1.45);
  background:
    linear-gradient(180deg, rgba(247, 250, 253, 0.98) 0%, rgba(231, 240, 247, 0.94) 100%);
  border: 1px solid rgba(255, 255, 255, 0.34);
  box-shadow:
    0 18px 42px rgba(13, 43, 70, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.85);
}

.presence-section__visual::after {
  content: "";
  position: absolute;
  inset: auto 18px 18px auto;
  width: 130px;
  height: 130px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 164, 232, 0.16), transparent 70%);
  pointer-events: none;
}

.presence-section__visual-frame {
  position: relative;
  z-index: 1;
  padding: 18px;
  border-radius: calc(var(--border-radius) * 1.05);
  background: rgba(255, 255, 255, 0.5);
  box-shadow:
    0 16px 36px rgba(13, 43, 70, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.95);
}

.presence-section__visual-frame img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 560px;
  object-fit: contain;
  object-position: center;
}

.presence-section__content {
  display: flex;
  flex-direction: column;
}

.presence-section .section-heading h2 {
  color: #f3f9fe;
}

.presence-section .section-heading .section-subtitle {
  color: rgba(243, 249, 254, 0.78);
  max-width: 680px;
}

.presence-section__list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  max-width: 640px;
}

.presence-section__item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 18px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  box-shadow:
    0 14px 34px rgba(0, 8, 16, 0.22);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.presence-section__copy {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-top: 1px;
}

.presence-section__bullet {
  flex: 0 0 10px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: linear-gradient(180deg, #00a4e8 0%, #7ec5ef 100%);
  box-shadow: 0 0 0 6px rgba(0, 164, 232, 0.12);
}

.presence-section__city {
  color: #f3f9fe;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.01em;
}

.presence-section__copy p {
  margin: 0;
  color: rgba(243, 249, 254, 0.78);
  line-height: 1.65;
  font-size: 0.96rem;
}

.logos-grid {
  display: grid;
  gap: 24px;
  align-items: stretch;
}

.logos-grid--partners {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.logos-grid--clients {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.logo-item {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 108px;
  padding: 18px 16px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: var(--border-radius);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 12px 30px rgba(0, 8, 16, 0.22);
  transition:
    transform 0.35s cubic-bezier(0.4, 0, 0.2, 1),
    box-shadow 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.logos-grid--partners .logo-item {
  min-height: 136px;
  padding: 20px 18px;
}

.partenaires-clients .logo-item {
  border: 1px solid rgba(22, 68, 110, 0.1);
}

.partenaires-clients--alt .logo-item {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0.03) 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow:
    0 14px 28px rgba(0, 8, 16, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
}

.logo-item img {
  display: block;
  width: 100%;
  max-width: 180px;
  height: 70px;
  object-fit: contain;
  transition: var(--transition);
  margin: 0 auto;
}

.partenaires-clients .logo-item img,
.partenaires-clients--alt .logo-item img {
  filter: saturate(1.04) contrast(1.05) drop-shadow(0 8px 14px rgba(13, 43, 70, 0.12));
}

.logos-grid--partners .logo-item img {
  max-width: 190px;
  height: 82px;
}

.logos-grid--clients .logo-item {
  min-height: 136px;
  padding: 20px 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0.03) 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow:
    0 14px 28px rgba(0, 8, 16, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
}

.logos-grid--clients .logo-item img {
  max-width: 190px;
  height: 82px;
  filter: none;
}

.logo-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 30px rgba(13, 43, 70, 0.08);
}

@media (max-width: 992px) {
  .partners-showcase {
    grid-template-columns: 1fr;
  }

  .presence-section__layout {
    grid-template-columns: 1fr;
  }
}

/* Fallback espacements pour anciens Safari (sans flex gap) */
@supports not (gap: 1rem) {
  .lang-trigger > * + * {
    margin-left: 8px;
  }

  .lang-option > * + * {
    margin-left: 10px;
  }
}

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

  .presence-section {
    padding: 64px 0;
  }

  .presence-section__layout {
    gap: 22px;
  }

  .presence-section__visual {
    padding: 14px;
  }

  .presence-section__visual-frame {
    padding: 14px;
  }

  .presence-section__visual-frame img {
    max-height: 320px;
  }

  .section-heading {
    margin-bottom: 26px;
  }

  .logos-grid--partners,
  .logos-grid--clients {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }

  .logo-item {
    min-height: 92px;
    padding: 14px 12px;
  }

  .logo-item img {
    max-width: 132px;
    height: 50px;
  }

  .presence-card {
    padding: 18px;
  }

  .presence-section__list {
    gap: 16px;
  }
}

@media (max-width: 520px) {
  .presence-section__visual-frame img {
    max-height: 250px;
  }
}

@media (max-width: 520px) {
  .logos-grid--partners,
  .logos-grid--clients {
    grid-template-columns: 1fr;
  }
}

.client {
  font-weight: 600;
  color: var(--secondary-color);
  margin-top: 20px;
  display: block;
}

/* ===== Contact Section ===== */
.contact {
  padding: 100px 0;
  background: linear-gradient(135deg, #16446e 0%, #0d2b46 50%, #071a2b 100%);
  position: relative;
  overflow: hidden;
}

.contact h2 {
  text-align: center;
  margin-bottom: 60px;
  color: #f3f9fe;
}

.contact-container {
  display: grid;
  grid-template-columns: minmax(320px, 1.05fr) minmax(320px, 1fr);
  gap: 36px;
  align-items: stretch;
  margin-bottom: 60px;
}

.contact-info {
  padding: 32px 30px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 14px 34px rgba(0, 8, 16, 0.22);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.contact-info h3 {
  color: #f3f9fe;
  margin-bottom: 20px;
  font-size: 1.5rem;
}

.contact-info p {
  margin-bottom: 20px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: rgba(243, 249, 254, 0.8);
}

.contact-info > p i {
  color: var(--primary-color);
  margin-top: 5px;
  width: 18px;
  text-align: center;
}

.social-links {
  display: flex;
  gap: 15px;
  margin-top: 30px;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.06);
  color: #f3f9fe;
  border-radius: 50%;
  transition: var(--transition);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 8px 20px rgba(0, 8, 16, 0.16);
}

.contact .social-links a {
  background: rgba(255, 255, 255, 0.06);
  color: var(--primary-color);
  border-color: rgba(var(--primary-rgb), 0.22);
}

.contact .social-links a i {
  color: inherit;
}

.contact .social-links a:hover {
  background: var(--primary-color);
  color: #ffffff;
  transform: translateY(-3px);
  border-color: var(--primary-color);
}

.contact-form {
  padding: 32px 30px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 14px 34px rgba(0, 8, 16, 0.22);
}

.contact-form h3 {
  color: #f3f9fe;
  margin-bottom: 20px;
  font-size: 1.5rem;
}

.form-group {
  margin-bottom: 20px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  font-family: "Montserrat", sans-serif;
  font-size: 0.95rem;
  transition: var(--transition);
  background:
    linear-gradient(180deg, rgba(11, 40, 65, 0.72) 0%, rgba(7, 26, 43, 0.72) 100%);
  color: #f3f9fe;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: rgba(var(--primary-rgb), 0.6);
  box-shadow: 0 0 0 4px rgba(var(--primary-rgb), 0.08);
  background:
    linear-gradient(180deg, rgba(14, 50, 79, 0.84) 0%, rgba(9, 33, 52, 0.84) 100%);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.contact-form .btn {
  width: 100%;
  justify-content: center;
}

.map-container {
  width: 100%;
  height: 450px;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--box-shadow);
  border: 1px solid rgba(22, 68, 110, 0.08);
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* ===== Footer ===== */
.footer {
  background: linear-gradient(145deg, #123d63 0%, #0d2b46 65%, #0a2238 100%);
  color: white;
  padding: 72px 0 0;
}

.footer-content {
  display: grid;
  grid-template-columns: minmax(260px, 1.2fr) repeat(3, minmax(180px, 1fr));
  gap: 40px;
  margin-bottom: 48px;
}

.footer-section h3 {
  color: white;
  font-size: 1.12rem;
  margin-bottom: 18px;
  position: relative;
  padding-bottom: 12px;
  letter-spacing: 0.2px;
}

.footer-section h3::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 42px;
  height: 3px;
  border-radius: 100px;
  background-color: var(--primary-color);
}

.footer-section p {
  color: rgba(255, 255, 255, 0.78);
  margin-bottom: 0;
  line-height: 1.75;
}

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

.footer-list li + li {
  margin-top: 10px;
}

.footer-list a {
  color: rgba(255, 255, 255, 0.76);
  transition: var(--transition);
  line-height: 1.5;
  display: inline-block;
}

.footer-list a:hover {
  color: white;
  transform: translateX(4px);
}

.footer-contact {
  display: grid;
  gap: 12px;
  margin-bottom: 20px;
}

.footer-contact p {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.footer-contact i {
  color: var(--primary-color);
  margin-top: 3px;
}

.footer .social-links {
  margin-top: 0;
}

.footer .social-links a {
  width: 38px;
  height: 38px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: white;
}

.footer .social-links a:hover {
  background: var(--primary-color);
  border-color: var(--primary-color);
  color: var(--secondary-color);
  transform: translateY(-2px);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  background-color: rgba(0, 0, 0, 0.12);
  padding: 18px 0;
  width: 100%;
}

.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0 clamp(20px, 4vw, 60px);
}

.footer-bottom p {
  margin: 0;
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.66);
}

.footer-bottom-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 22px;
}

.footer-bottom-links a {
  position: relative;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.74);
}

.footer-bottom-links a + a::before {
  content: "";
  position: absolute;
  left: -11px;
  top: 50%;
  width: 1px;
  height: 12px;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.24);
}

.footer-bottom-links a:hover {
  color: white;
}

/* ===== Responsive Styles ===== */
@media (max-width: 992px) {
  .container {
    padding: 0 30px;
  }

  .hero h1 {
    font-size: 2.5rem;
  }

  .about {
    padding: 96px 0;
  }

  .vision-mission {
    grid-template-columns: 1fr;
    gap: 18px;
    margin-bottom: 34px;
  }

  .values {
    padding: 28px 24px;
  }

  .values ul {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }

  .services-preview {
    padding: 96px 0;
  }

  .services {
    padding: 96px 0;
  }

  .services-categories-grid {
    gap: 20px;
  }

  .contact-container {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .contact {
    padding: 88px 0;
  }

  .logos-grid--partners,
  .logos-grid--clients {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }

  .stat-card {
    min-height: 170px;
  }

  .footer-content {
    grid-template-columns: repeat(2, minmax(220px, 1fr));
    gap: 32px;
  }
}

@media (max-width: 768px) {
  .header .container {
    justify-content: flex-start;
    gap: 8px;
  }

  .logo {
    margin-right: auto;
  }

  .lang-dropdown {
    margin-left: 0;
    margin-right: 0;
  }

  .lang-trigger {
    padding: 6px 9px;
    gap: 6px;
  }

  .mobile-menu-btn {
    display: block;
    margin-left: 6px;
    padding: 6px;
  }

  .site-logo {
    width: 50px;
  }

  .header.scrolled .site-logo {
    width: 50px;
  }

  .main-nav {
    position: fixed;
    top: 80px;
    left: -100%;
    width: 80%;
    height: calc(100vh - 80px);
    background: rgba(7, 26, 43, 0.96);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    padding: 40px 0;
    transition: var(--transition);
    box-shadow: 8px 0 30px rgba(7, 26, 43, 0.24);
    border-right: 1px solid rgba(255, 255, 255, 0.08);
    z-index: 999;
    overflow-y: auto;
  }

  .main-nav.active {
    left: 0;
  }

  .main-nav ul {
    flex-direction: column;
    padding: 0 30px;
  }

  .main-nav a {
    display: block;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    color: #f3f9fe;
  }

  .main-nav a::after {
    display: none;
  }

  .hero {
    min-height: 500px;
    height: 80vh; /* Réduire la hauteur sur mobile pour un meilleur cadrage */
  }

  .hero-slide {
    background-position: 50% 50%; /* Centrage forcé */
  }

  @keyframes heroMoveOne {
    0% {
      transform: scale(1.05);
    }
    50% {
      transform: scale(1.1);
    }
    100% {
      transform: scale(1.05);
    }
  }

  @keyframes heroMoveTwo {
    0% {
      transform: scale(1.1);
    }
    50% {
      transform: scale(1.05);
    }
    100% {
      transform: scale(1.1);
    }
  }

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

  .cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

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

  .about {
    padding: 78px 0;
  }

  .about-content > p {
    margin-bottom: 28px;
    font-size: 1rem;
    line-height: 1.65;
  }

  .vision-mission .card {
    padding: 22px 18px;
  }

  .vision-mission h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
  }

  .values {
    padding: 24px 18px;
    border-radius: 14px;
  }

  .values h3 {
    font-size: 1.4rem;
    margin-bottom: 16px;
  }

  .values ul {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .services {
    padding: 80px 0;
  }

  .services-preview {
    padding: 72px 0;
  }

  .services-preview h2 {
    margin-bottom: 28px;
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .service-card {
    padding: 22px 18px;
  }

  .service-card i {
    width: 42px;
    height: 42px;
    font-size: 1.2rem;
    margin-bottom: 14px;
  }

  .service-card h3 {
    font-size: 1.18rem;
  }

  .services h2 {
    margin-bottom: 30px;
  }

  .services-categories-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .service-category {
    padding: 22px 18px;
  }

  .service-category h3 {
    font-size: 1.2rem;
  }

  .service-category i {
    width: 34px;
    height: 34px;
  }

  .service-category li {
    padding: 9px 0 9px 18px;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }

  .achievements {
    padding: 84px 0;
  }

  .achievements-title {
    margin-bottom: 34px;
  }

  .stat-card {
    padding: 18px 16px;
    min-height: auto;
  }

  .stat-icon {
    width: 38px;
    height: 38px;
    margin-bottom: 12px;
  }

  .stat-number {
    margin-bottom: 8px;
  }

  .testimonial {
    padding: 24px 20px 20px 58px;
  }

  .testimonial::before {
    left: 16px;
    top: 6px;
    font-size: 3.7rem;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .footer-bottom-inner {
    justify-content: space-between;
    align-items: flex-start;
    text-align: left;
  }

  .footer-bottom-links {
    justify-content: flex-start;
  }
}

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

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

  .hero h1 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .about {
    padding: 72px 0;
  }

  .about-content > p {
    margin-bottom: 24px;
  }

  .values {
    padding: 20px 14px;
  }

  .values li {
    padding: 12px 13px;
    min-height: 52px;
  }

  .services-preview {
    padding: 68px 0;
  }

  .service-card {
    padding: 20px 16px;
  }

  .service-card p {
    font-size: 0.96rem;
    line-height: 1.6;
  }

  .service-category {
    padding: 20px 16px;
  }

  .service-category h3 {
    gap: 10px;
  }

  .service-category li {
    padding-left: 17px;
    font-size: 0.95rem;
    line-height: 1.45;
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }

  .stat-card {
    text-align: center;
    justify-items: center;
  }

  .stat-desc {
    text-align: center;
  }

  .testimonials h3 {
    margin-bottom: 18px;
  }

  .testimonial {
    padding: 20px 16px 16px 16px;
  }

  .testimonial::before {
    display: none;
  }

  .contact-container {
    grid-template-columns: 1fr;
  }

  .services {
    padding: 72px 0;
  }

  .achievements {
    padding: 80px 0;
  }

  .contact {
    padding: 72px 0;
  }

  .logos-grid--partners,
  .logos-grid--clients {
    grid-template-columns: 1fr;
  }

  .map-container {
    height: 350px;
  }
}

/* ===== Animations ===== */
@keyframes heroFadeOne {
  0%,
  45% {
    opacity: 1;
  }
  50%,
  95% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

@keyframes heroFadeTwo {
  0%,
  45% {
    opacity: 0;
  }
  50%,
  95% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}

@keyframes heroMoveOne {
  0% {
    transform: scale(1.02) translate3d(0, 0, 0);
  }
  45% {
    transform: scale(1.1) translate3d(-1.2%, 1.2%, 0);
  }
  100% {
    transform: scale(1.02) translate3d(0, 0, 0);
  }
}

@keyframes heroMoveTwo {
  0% {
    transform: scale(1.08) translate3d(1.4%, -1.2%, 0);
  }
  45% {
    transform: scale(1.12) translate3d(0, 0.8%, 0);
  }
  100% {
    transform: scale(1.08) translate3d(1.4%, -1.2%, 0);
  }
}

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

.fadeInUp {
  animation: fadeInUp 0.8s ease forwards;
}

.delay-1 {
  animation-delay: 0.2s;
}

.delay-2 {
  animation-delay: 0.4s;
}

.delay-3 {
  animation-delay: 0.6s;
}

@media (prefers-reduced-motion: reduce) {
  .hero-slide {
    transition: none;
    transform: none;
  }
}
