/* ========================================================
   Akpom Logistics — Design System partagé (pages internes)
   ======================================================== */

/* ----- Variables ----- */
:root {
  --primary: #0D2137;
  --primary-dark: #071525;
  --accent: #E05A1B;
  --accent-hover: #c44c10;
  --accent2: #1A88C9;
  --text: #1F2937;
  --text-light: #6B7280;
  --bg: #FFFFFF;
  --bg-alt: #F4F7FB;
  --border: #E5E7EB;
  --shadow: 0 4px 24px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.14);
  --radius: 12px;
  --radius-lg: 20px;
  --transition: 0.3s ease;
}

/* ----- Reset & base ----- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: 'Poppins', 'Segoe UI', sans-serif; color: var(--text); background: var(--bg); line-height: 1.65; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ----- Typography ----- */
h1, h2, h3, h4 { font-family: 'Montserrat', 'Segoe UI', sans-serif; font-weight: 700; line-height: 1.2; color: var(--primary); }
h1 { font-size: clamp(1.9rem, 4vw, 3.2rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); }
h3 { font-size: clamp(1.1rem, 2vw, 1.4rem); }
h4 { font-size: 1rem; }
p { margin-bottom: 0; }

/* ----- Layout ----- */
.container { max-width: 1180px; margin: 0 auto; padding: 0 1.5rem; }
.section { padding: 80px 0; }
.section-alt { background: var(--bg-alt); }
.section-dark { background: var(--primary); color: #fff; }
.section-dark h2, .section-dark h3, .section-dark h4 { color: #fff; }
.section-dark p, .section-dark li { color: rgba(255,255,255,0.78); }
.text-center { text-align: center; }

/* ----- Section labels / headers ----- */
.section-label {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--accent);
  background: rgba(224,90,27,0.09);
  padding: 0.35rem 0.9rem;
  border-radius: 50px;
  margin-bottom: 1rem;
}
.section-title { margin-bottom: 1rem; }
.section-subtitle { font-size: 1.05rem; color: var(--text-light); max-width: 620px; margin: 0 auto 3rem; }

/* ----- Buttons ----- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.85rem 1.9rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.92rem;
  transition: var(--transition);
  cursor: pointer;
  border: none;
  font-family: inherit;
}
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-hover); transform: translateY(-2px); box-shadow: 0 6px 22px rgba(224,90,27,0.32); }
.btn-outline { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,0.7); }
.btn-outline:hover { background: #fff; color: var(--primary); border-color: #fff; }
.btn-dark { background: var(--primary); color: #fff; }
.btn-dark:hover { background: var(--primary-dark); transform: translateY(-2px); box-shadow: 0 6px 22px rgba(13,33,55,0.3); }

/* =========================================================
   HEADER / NAV
   ========================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #fff;
  box-shadow: 0 2px 20px rgba(0,0,0,0.07);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 1.5rem;
  max-width: 1180px;
  margin: 0 auto;
}
.nav-logo img { height: 46px; width: auto; }
.nav-menu {
  display: flex;
  align-items: center;
  gap: 0.1rem;
}
.nav-menu a {
  padding: 0.45rem 0.7rem;
  border-radius: 7px;
  font-size: 0.83rem;
  font-weight: 500;
  color: var(--text);
  transition: var(--transition);
  white-space: nowrap;
}
.nav-menu a:hover { color: var(--accent); background: rgba(224,90,27,0.07); }
.nav-menu a.active { color: var(--accent); font-weight: 600; }
.nav-menu .nav-cta {
  background: var(--accent);
  color: #fff !important;
  border-radius: 50px;
  padding: 0.45rem 1.1rem !important;
  margin-left: 0.4rem;
}
.nav-menu .nav-cta:hover { background: var(--accent-hover) !important; }

/* Language switcher */
.lang-switcher {
  display: flex;
  align-items: center;
  gap: 0.15rem;
  margin-left: 0.6rem;
  border: 1.5px solid var(--border);
  border-radius: 50px;
  padding: 0.2rem 0.5rem;
}
.lang-option {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 0.72rem;
  font-weight: 700;
  font-family: inherit;
  color: var(--text-light);
  padding: 0.2rem 0.3rem;
  border-radius: 50px;
  transition: var(--transition);
  letter-spacing: 0.05em;
}
.lang-option:hover { color: var(--accent); }
.lang-option.active { color: var(--accent); background: rgba(224,90,27,0.09); }
.lang-sep { font-size: 0.65rem; color: var(--border); }

.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 4px; flex-direction: column; gap: 5px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--primary); border-radius: 2px; transition: var(--transition); }

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative;
  min-height: 480px;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(7,21,37,0.90) 0%, rgba(13,33,55,0.65) 60%, rgba(26,136,201,0.3) 100%);
}
.hero-content {
  position: relative;
  z-index: 1;
  padding: 100px 1.5rem 80px;
  max-width: 1180px;
  margin: 0 auto;
  width: 100%;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(224,90,27,0.18);
  border: 1px solid rgba(224,90,27,0.35);
  color: #ffb080;
  padding: 0.38rem 1rem;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 1.5rem;
}
.hero-badge svg { width: 14px; height: 14px; fill: #ffb080; }
.hero-content h1 { color: #fff; margin-bottom: 1.1rem; max-width: 680px; text-shadow: 0 2px 12px rgba(0,0,0,0.3); }
.hero-content p { color: rgba(255,255,255,0.85); font-size: 1.1rem; max-width: 580px; margin-bottom: 2.2rem; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 2.5rem;
  color: rgba(255,255,255,0.55);
  font-size: 0.82rem;
}
.hero-breadcrumb a { color: rgba(255,255,255,0.75); transition: var(--transition); }
.hero-breadcrumb a:hover { color: var(--accent); }
.hero-breadcrumb .sep { color: rgba(255,255,255,0.35); }

/* =========================================================
   FEATURE CARDS
   ========================================================= */
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1.5rem; }
.feature-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem 1.75rem;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  opacity: 0;
  transition: var(--transition);
}
.feature-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-5px); border-color: transparent; }
.feature-card:hover::before { opacity: 1; }
.feature-icon {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--accent), #f07040);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}
.feature-icon svg { width: 26px; height: 26px; fill: #fff; }
.feature-card h3 { font-size: 1.05rem; margin-bottom: 0.65rem; }
.feature-card p { color: var(--text-light); font-size: 0.88rem; line-height: 1.65; }

/* =========================================================
   SPLIT SECTIONS
   ========================================================= */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.split.reverse .split-image { order: 2; }
.split.reverse .split-content { order: 1; }
.split-image { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4/3; box-shadow: var(--shadow-lg); }
.split-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.split-image:hover img { transform: scale(1.04); }
.split-content .section-label { display: inline-block; }
.split-content h2 { margin-bottom: 1rem; }
.split-content > p { color: var(--text-light); margin-bottom: 1.75rem; font-size: 0.97rem; line-height: 1.8; }
.check-list { display: flex; flex-direction: column; gap: 0.85rem; margin-bottom: 2rem; }
.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.93rem;
  color: var(--text);
}
.check-icon {
  width: 22px;
  min-width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}
.check-icon svg { width: 12px; height: 12px; stroke: #fff; fill: none; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }

/* =========================================================
   PROCESS STEPS
   ========================================================= */
.process-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 0; }
.process-step {
  text-align: center;
  padding: 2rem 1.25rem;
  position: relative;
}
.process-step:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 2.75rem;
  width: 1px;
  height: 28px;
  background: var(--border);
}
.step-num {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), #f07040);
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.1rem;
  box-shadow: 0 4px 14px rgba(224,90,27,0.3);
}
.process-step h4 { font-size: 0.95rem; margin-bottom: 0.45rem; }
.process-step p { font-size: 0.82rem; color: var(--text-light); }

/* =========================================================
   STATS
   ========================================================= */
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 2.5rem; text-align: center; }
.stat-number {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 0.4rem;
}
.stat-label { font-size: 0.88rem; color: rgba(255,255,255,0.72); }

/* =========================================================
   CTA BANNER
   ========================================================= */
.cta-banner { padding: 70px 0; text-align: center; background: linear-gradient(135deg, #0D2137 0%, #1A3A5C 50%, #0D2137 100%); position: relative; overflow: hidden; }
.cta-banner::before { content: ''; position: absolute; inset: 0; background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E"); }
.cta-banner .container { position: relative; }
.cta-banner h2 { color: #fff; margin-bottom: 1rem; max-width: 600px; margin-left: auto; margin-right: auto; }
.cta-banner p { color: rgba(255,255,255,0.8); font-size: 1.05rem; max-width: 520px; margin: 0 auto 2.2rem; }
.cta-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* =========================================================
   CONTACT PAGE
   ========================================================= */
.contact-grid { display: grid; grid-template-columns: 1fr 1.7fr; gap: 4rem; align-items: start; }
.contact-info-card { background: var(--primary); border-radius: var(--radius-lg); padding: 2.5rem; }
.contact-info-card h3 { color: #fff; margin-bottom: 0.6rem; }
.contact-info-card > p { color: rgba(255,255,255,0.7); font-size: 0.9rem; margin-bottom: 2rem; }
.contact-info-list { display: flex; flex-direction: column; gap: 1.5rem; }
.ci-item { display: flex; gap: 1rem; align-items: flex-start; }
.ci-icon {
  width: 44px;
  min-width: 44px;
  height: 44px;
  border-radius: 11px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
}
.ci-icon svg { width: 20px; height: 20px; fill: var(--accent); }
.ci-text { color: rgba(255,255,255,0.88); font-size: 0.9rem; line-height: 1.6; }
.ci-text strong { display: block; font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: rgba(255,255,255,0.5); margin-bottom: 0.25rem; }
.ci-text h4 { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: rgba(255,255,255,0.5); margin-bottom: 0.25rem; }
.ci-text p, .ci-text a { font-size: 0.9rem; color: rgba(255,255,255,0.88); }
.ci-text a:hover { color: var(--accent); }
.ci-text p + p { margin-top: 0.2rem; }
.contact-form-card { background: #fff; border-radius: var(--radius-lg); padding: 2.5rem; box-shadow: var(--shadow); border: 1px solid var(--border); }
.contact-form-card h3 { margin-bottom: 0.5rem; }
.contact-form-card > p { color: var(--text-light); font-size: 0.9rem; margin-bottom: 2rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { display: flex; flex-direction: column; gap: 0.4rem; }
.form-group label { font-size: 0.82rem; font-weight: 600; color: var(--primary); }
.form-group input,
.form-group select,
.form-group textarea {
  border: 1.5px solid var(--border);
  border-radius: 9px;
  padding: 0.75rem 1rem;
  font-size: 0.92rem;
  font-family: inherit;
  transition: var(--transition);
  outline: none;
  background: var(--bg-alt);
  color: var(--text);
  width: 100%;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--accent);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(224,90,27,0.1);
}
.form-group textarea { resize: vertical; min-height: 130px; }
.form-submit { width: 100%; margin-top: 0.5rem; justify-content: center; padding: 1rem; font-size: 1rem; }
.form-success { display: none; background: #d1fae5; border: 1px solid #6ee7b7; color: #065f46; border-radius: 9px; padding: 1rem 1.25rem; font-size: 0.9rem; margin-top: 1rem; align-items: center; gap: 0.5rem; }
.form-success svg { width: 20px; height: 20px; stroke: #065f46; fill: none; stroke-width: 2; flex-shrink: 0; }
.form-error { display: none; background: #fee2e2; border: 1px solid #fca5a5; color: #991b1b; border-radius: 9px; padding: 1rem 1.25rem; font-size: 0.9rem; margin-top: 1rem; }

/* =========================================================
   ICON BOX LIST (services overview)
   ========================================================= */
.services-list-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.5rem; }
.service-list-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: var(--transition);
}
.service-list-item:hover { box-shadow: var(--shadow); border-color: rgba(224,90,27,0.2); }
.sli-icon {
  width: 46px;
  min-width: 46px;
  height: 46px;
  border-radius: 11px;
  background: linear-gradient(135deg, rgba(224,90,27,0.12), rgba(240,112,64,0.08));
  border: 1px solid rgba(224,90,27,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
}
.sli-icon svg { width: 22px; height: 22px; fill: var(--accent); }
.sli-content h4 { font-size: 0.95rem; margin-bottom: 0.35rem; }
.sli-content p { font-size: 0.85rem; color: var(--text-light); }

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer { background: var(--primary-dark); color: rgba(255,255,255,0.75); padding: 65px 0 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1.5fr 1.5fr; gap: 3rem; margin-bottom: 3rem; }
.footer-logo { height: 42px; width: auto; margin-bottom: 1.1rem; filter: brightness(0) invert(1); opacity: 0.9; }
.footer-brand > p { font-size: 0.87rem; line-height: 1.75; color: rgba(255,255,255,0.58); margin-bottom: 1.5rem; }
.footer-tracking-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--accent);
  color: #fff;
  padding: 0.6rem 1.3rem;
  border-radius: 50px;
  font-size: 0.83rem;
  font-weight: 600;
  transition: var(--transition);
}
.footer-tracking-btn svg { width: 15px; height: 15px; fill: #fff; }
.footer-tracking-btn:hover { background: var(--accent-hover); }
.footer-col h4 {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #fff;
  margin-bottom: 1.25rem;
}
.footer-links { display: flex; flex-direction: column; gap: 0.6rem; }
.footer-links a { font-size: 0.86rem; color: rgba(255,255,255,0.58); transition: var(--transition); }
.footer-links a:hover { color: var(--accent); padding-left: 4px; }
.footer-contact-list { display: flex; flex-direction: column; gap: 0.9rem; }
.fc-item { display: flex; align-items: flex-start; gap: 0.7rem; font-size: 0.86rem; }
.fc-item svg { width: 15px; height: 15px; fill: var(--accent); flex-shrink: 0; margin-top: 2px; }
.fc-item span, .fc-item a { color: rgba(255,255,255,0.62); }
.fc-item a:hover { color: var(--accent); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 1.5rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.footer-bottom p { font-size: 0.78rem; color: rgba(255,255,255,0.4); }
.footer-bottom-links { display: flex; gap: 1.5rem; }
.footer-bottom-links a { font-size: 0.78rem; color: rgba(255,255,255,0.4); transition: var(--transition); }
.footer-bottom-links a:hover { color: rgba(255,255,255,0.75); }

/* =========================================================
   ANIMATIONS
   ========================================================= */
@keyframes fadeInUp { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.anim { opacity: 0; animation: fadeInUp 0.65s ease forwards; }
.anim-1 { animation-delay: 0.1s; }
.anim-2 { animation-delay: 0.2s; }
.anim-3 { animation-delay: 0.3s; }
.anim-4 { animation-delay: 0.4s; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .contact-grid { grid-template-columns: 1fr; }
  .split { gap: 2.5rem; }
}
@media (max-width: 768px) {
  .section { padding: 55px 0; }
  .split { grid-template-columns: 1fr; gap: 2rem; }
  .split.reverse .split-image { order: -1; }
  .split.reverse .split-content { order: 1; }
  .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: #fff;
    flex-direction: column;
    padding: 1rem;
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
    border-top: 1px solid var(--border);
    gap: 0.25rem;
    z-index: 999;
  }
  .nav-menu.open { display: flex; }
  .nav-menu a { padding: 0.7rem 1rem; border-radius: 8px; width: 100%; }
  .nav-menu .nav-cta { margin-left: 0; text-align: center; }
  .nav-toggle { display: flex; }
  .process-step:not(:last-child)::after { display: none; }
  .process-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 580px) {
  .footer-grid { grid-template-columns: 1fr; gap: 1.75rem; }
  .process-grid { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 1.5rem; }
  .features-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .cta-actions { flex-direction: column; align-items: center; }
}
