@import url('https://fonts.googleapis.com/css2?family=Inter:wght@100;300;400;600;800&family=Nunito:wght@200;300;400;600;800&family=Raleway:wght@100;300;400;600&family=Montserrat:wght@100;200;300;400&display=swap');

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

:root {
  --blue-bg: #93b7cc;
  --lightblue-bg: #e8f1f6;
  --midblue-bg: #c4d8e4;
  --paleblue-bg: #dce9f0;
  --accent: #2a7ab5;
  --accent-hover: #1f6294;
  --dark: #1e2d3d;
  --dark-secondary: #4a6275;
  --white: #ffffff;
  --font-primary: 'Nunito', sans-serif;
  --font-heading: 'Inter', sans-serif;
  --font-alt: 'Raleway', sans-serif;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-primary);
  color: var(--dark);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

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

.container-fluid {
  width: 100%;
  padding: 0;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* ========== HAMBURGER SIDEBAR ========== */
.openSidebarMenu {
  display: none;
}

.sidebarIconToggle {
  position: fixed;
  top: 22px;
  left: 20px;
  z-index: 3000;
  cursor: pointer;
  width: 30px;
  height: 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.spinner {
  width: 100%;
  height: 3px;
  background: var(--white);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.sidebarIconToggle.scrolled .spinner {
  background: var(--dark);
}

.openSidebarMenu:checked ~ .sidebarIconToggle .horizontal {
  opacity: 0;
}

.openSidebarMenu:checked ~ .sidebarIconToggle .diagonal.part-1 {
  transform: rotate(135deg);
  margin-top: 10px;
}

.openSidebarMenu:checked ~ .sidebarIconToggle .diagonal.part-2 {
  transform: rotate(-135deg);
  margin-top: -12px;
}

#sidebarMenu {
  position: fixed;
  top: 0;
  left: 0;
  width: 300px;
  height: 100%;
  background: rgba(30, 55, 75, 0.97);
  backdrop-filter: blur(12px);
  z-index: 2500;
  transform: translateX(-300px);
  transition: transform 250ms ease-in-out;
  overflow-y: auto;
}

.openSidebarMenu:checked ~ #sidebarMenu {
  transform: translateX(0);
}

.sidebarMenuInner {
  list-style: none;
  padding: 80px 30px 30px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.sidebarMenuInner li {
  border-bottom: 1px rgba(255,255,255,0.15) solid;
}

.sidebarMenuInner li a {
  display: block;
  padding: 18px 10px;
  color: var(--white);
  font-family: var(--font-primary);
  font-weight: 600;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  transition: all 0.2s;
}

.sidebarMenuInner li a:hover {
  color: var(--accent);
  padding-left: 20px;
}

.sidebar-lang-toggle {
  margin-top: 1.5rem;
  padding: 10px;
}

.sidebar-lang-toggle button {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.3);
  color: var(--white);
  padding: 8px 20px;
  font-family: var(--font-primary);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  cursor: pointer;
  border-radius: 4px;
  transition: all 0.2s;
}

.sidebar-lang-toggle button:hover {
  background: rgba(255,255,255,0.1);
}

/* ========== LOGO TOP RIGHT ========== */
.logo-top-right {
  position: fixed;
  top: 35px;
  right: 75px;
  z-index: 2000;
  height: 100px;
  transition: all 0.3s ease;
}

.logo-top-right.scrolled {
  height: 40px;
  top: 12px;
}

/* ========== HERO ========== */
.hero-container {
  position: relative;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-bg-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(15, 35, 55, 0.6) 0%,
    rgba(15, 35, 55, 0.35) 50%,
    rgba(15, 35, 55, 0.65) 100%
  );
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 2rem;
  max-width: 900px;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.08;
  margin-bottom: 1.25rem;
}

.hero-title .accent {
  color: var(--accent);
}

.hero-subtitle {
  font-family: var(--font-primary);
  font-size: 1.15rem;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.7;
  max-width: 650px;
  margin: 0 auto 2.5rem;
}

.hero-cta {
  display: inline-block;
  background: var(--accent);
  color: var(--white);
  font-family: var(--font-primary);
  font-size: 1rem;
  font-weight: 600;
  padding: 14px 36px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: all 0.3s;
  animation: pulse 2s infinite;
}

.hero-cta:hover {
  background: var(--accent-hover);
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(42, 122, 181, 0.5); }
  50% { box-shadow: 0 0 0 12px rgba(42, 122, 181, 0); }
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  color: rgba(255,255,255,0.5);
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(-10px); }
}

/* ========== SECTION COMMON ========== */
.section {
  padding: 80px 0;
  position: relative;
}

.section-lightblue { background-color: var(--lightblue-bg); }
.section-midblue { background-color: var(--midblue-bg); }
.section-blue { background-color: var(--blue-bg); }
.section-paleblue { background-color: var(--paleblue-bg); }
.section-white { background-color: var(--white); }

.section-label {
  font-family: var(--font-primary);
  font-size: 1.15rem;
  font-weight: 300;
  color: var(--dark-secondary);
  margin-bottom: 8px;
}

.section-title {
  font-family: var(--font-primary);
  font-size: 1.35rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  line-height: 1.3;
}

.section-title .accent {
  color: var(--accent);
}

.section-text {
  font-family: var(--font-primary);
  font-size: 1.05rem;
  font-weight: 300;
  color: var(--dark-secondary);
  line-height: 1.75;
}

/* ========== ABOUT / WHO WE ARE ========== */
.about-section {
  min-height: 500px;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-image-wrap {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
}

.about-image-wrap img {
  width: 100%;
  height: auto;
  transition: transform 0.5s ease;
}

.about-image-wrap:hover img {
  transform: scale(1.05);
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 2rem;
}

.about-feature {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem 0;
}

.about-feature-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(42, 122, 181, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.about-feature-icon svg {
  width: 18px;
  height: 18px;
  color: var(--accent);
}

.about-feature span {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--dark);
}

/* ========== VISION / AMBITION ========== */
.vision-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.vision-image-wrap {
  overflow: hidden;
  border-radius: 8px;
}

.vision-image-wrap img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.vision-image-wrap:hover img {
  transform: scale(1.03);
}

/* ========== SERVICES / EXPERTISE ========== */
.expertise-grid {
  display: grid;
  grid-template-columns: 5fr 1fr 6fr;
  gap: 0;
  align-items: center;
}

.expertise-content {
  padding-right: 2rem;
}

.expertise-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.expertise-visual img {
  width: 110%;
  max-width: 700px;
  min-width: 300px;
}

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

.svc-card {
  background: rgba(255,255,255,0.6);
  border-radius: 10px;
  padding: 1.75rem;
  transition: all 0.3s ease;
  border: 1px solid rgba(0,0,0,0.05);
}

.svc-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.08);
  background: rgba(255,255,255,0.9);
}

.svc-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(42, 122, 181, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  transition: all 0.3s;
}

.svc-card:hover .svc-card-icon {
  background: var(--accent);
}

.svc-card-icon svg {
  width: 24px;
  height: 24px;
  color: var(--accent);
  transition: color 0.3s;
}

.svc-card:hover .svc-card-icon svg {
  color: var(--white);
}

.svc-card h3 {
  font-family: var(--font-primary);
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 0.5rem;
}

.svc-card p {
  font-family: var(--font-primary);
  font-size: 0.9rem;
  font-weight: 300;
  color: var(--dark-secondary);
  line-height: 1.6;
}

.svc-card ul {
  list-style: none;
  margin-top: 0.75rem;
}

.svc-card li {
  font-size: 0.85rem;
  color: var(--dark-secondary);
  padding: 3px 0;
  display: flex;
  align-items: flex-start;
  gap: 6px;
}

.svc-card li::before {
  content: '›';
  color: var(--accent);
  font-weight: 800;
  font-size: 1.1rem;
  line-height: 1;
}

/* ========== GEO / WHERE WE OPERATE ========== */
.geo-grid {
  display: grid;
  grid-template-columns: 5fr 6fr;
  gap: 3rem;
  align-items: center;
}

.geo-map {
  display: flex;
  align-items: center;
  justify-content: center;
}

.geo-map img {
  width: 85%;
}

/* ========== STATS COUNTER ========== */
.stats-section {
  padding: 60px 0;
}

.stats-row {
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
}

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

.stat-number {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
}

.stat-label {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--dark-secondary);
  margin-top: 4px;
}

.stat-sublabel {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 400;
  color: var(--dark-secondary);
}

/* ========== VALUES / METHODOLOGY ========== */
.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.value-card {
  text-align: center;
  padding: 2rem 1.25rem;
  background: rgba(255,255,255,0.5);
  border-radius: 10px;
  border: 1px solid rgba(0,0,0,0.05);
  transition: all 0.3s ease;
}

.value-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.06);
  background: rgba(255,255,255,0.85);
}

.value-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(42, 122, 181, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  transition: all 0.3s;
}

.value-card:hover .value-icon {
  background: var(--accent);
}

.value-icon svg {
  width: 24px;
  height: 24px;
  color: var(--accent);
  transition: color 0.3s;
}

.value-card:hover .value-icon svg {
  color: var(--white);
}

.value-card h3 {
  font-family: var(--font-primary);
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 0.5rem;
}

.value-card p {
  font-family: var(--font-primary);
  font-size: 0.875rem;
  font-weight: 300;
  color: var(--dark-secondary);
  line-height: 1.5;
}

/* ========== CONTACT ========== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: flex-start;
}

.contact-info h3 {
  font-family: var(--font-primary);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 1.5rem;
}

.contact-detail {
  margin-bottom: 1.5rem;
}

.contact-detail h4 {
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: 1rem;
  color: var(--dark);
  margin-bottom: 0.25rem;
}

.contact-detail p {
  font-family: var(--font-primary);
  font-weight: 300;
  font-size: 0.95rem;
  color: var(--dark-secondary);
  line-height: 1.6;
}

.contact-detail a {
  color: var(--accent);
  transition: opacity 0.2s;
}

.contact-detail a:hover {
  opacity: 0.7;
}

.contact-detail .phone {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 400;
  display: block;
  margin-top: 4px;
  color: var(--dark-secondary);
}

/* ========== FORM ========== */
.form-card {
  background: rgba(255,255,255,0.7);
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 12px;
  padding: 2rem;
}

.form-card h3 {
  font-family: var(--font-primary);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 1.5rem;
}

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

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group label {
  display: block;
  font-family: var(--font-primary);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 0.3rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.65rem 0.85rem;
  border: 1px solid rgba(0,0,0,0.12);
  border-radius: 6px;
  font-size: 0.95rem;
  font-family: var(--font-primary);
  color: var(--dark);
  background: var(--white);
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #aaa;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(42, 122, 181, 0.1);
}

.form-group textarea {
  min-height: 110px;
  resize: none;
}

.btn-submit {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: var(--accent);
  color: var(--white);
  border: none;
  padding: 0.85rem 1.5rem;
  border-radius: 6px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
  font-family: var(--font-primary);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.btn-submit:hover {
  background: var(--accent-hover);
}

.btn-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* ========== FOOTER ========== */
.site-footer {
  background: #1e3345;
  padding: 2rem 0;
  color: rgba(255,255,255,0.6);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--white);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.1rem;
}

.footer-brand img {
  height: 30px;
}

.footer-copy {
  font-size: 0.85rem;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
}

.footer-links a {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
  transition: color 0.2s;
}

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

/* ========== TOAST ========== */
.toast {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  padding: 1rem 1.5rem;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 500;
  z-index: 5000;
  transform: translateY(120%);
  opacity: 0;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
  font-family: var(--font-primary);
}

.toast.show {
  transform: translateY(0);
  opacity: 1;
}

.toast.success {
  background: #f0fff4;
  border: 1px solid #c6f6d5;
  color: #276749;
}

.toast.error {
  background: #fff5f5;
  border: 1px solid #fed7d7;
  color: #9b2c2c;
}

/* ========== LANGUAGE TOGGLE ========== */
[data-lang="en"] .lang-fr { display: none !important; }
[data-lang="en"] .lang-en { display: inline !important; }
[data-lang="fr"] .lang-fr { display: inline !important; }
[data-lang="fr"] .lang-en { display: none !important; }

/* ========== SCROLLBAR ========== */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--lightblue-bg); }
::-webkit-scrollbar-thumb { background: rgba(42,122,181,0.3); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: rgba(42,122,181,0.5); }

/* ========== AOS OVERRIDE ========== */
[data-aos] {
  transition-duration: 800ms !important;
}

/* ========== CTA BUTTON (outline) ========== */
.btn-outline-accent {
  display: inline-block;
  background: transparent;
  color: var(--accent);
  font-family: var(--font-primary);
  font-size: 0.95rem;
  font-weight: 600;
  padding: 10px 28px;
  border: 2px solid var(--accent);
  border-radius: 4px;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  transition: all 0.3s;
  margin-top: 1.5rem;
}

.btn-outline-accent:hover {
  background: var(--accent);
  color: var(--white);
}

/* ========== RESPONSIVE ========== */
@media (max-width: 992px) {
  .about-grid,
  .vision-grid,
  .geo-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

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

  .expertise-visual {
    order: -1;
  }

  .services-cards {
    grid-template-columns: 1fr;
  }

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

  .stats-row {
    gap: 1.5rem;
  }
}

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

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

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

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

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

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
  }

  .stats-row {
    flex-direction: column;
    gap: 2rem;
  }

  .logo-top-right {
    height: 40px;
    top: 15px;
    right: 15px;
  }
}
