/* ==========================================================================
   LIONAD GLOBAL TRADE — site stylesheet
   ========================================================================== */

:root {
  --navy-950: #060e21;
  --navy-900: #0b1a38;
  --navy-800: #132a52;
  --navy-700: #1c3a6b;
  --cream: #fdf8f1;
  --cream-alt: #f6ece0;
  --accent: #e8620c;
  --accent-dark: #c94d05;
  --gold: #f2a93c;
  --text-dark: #1b2436;
  --text-mid: #5a6478;
  --text-light: #f5f1ea;
  --border-soft: #e8dfd2;
  --radius: 16px;
  --shadow-lg: 0 20px 45px rgba(6, 14, 33, 0.18);
  --shadow-sm: 0 6px 18px rgba(6, 14, 33, 0.08);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text-dark);
  background: var(--cream);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: 'Poppins', 'Inter', sans-serif;
  margin: 0;
  line-height: 1.2;
}

p { margin: 0; }

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

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

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

.section { padding: 96px 0; }
.section-dark { background: var(--navy-950); color: var(--text-light); }
.section-alt { background: var(--cream-alt); }

.eyebrow {
  display: inline-block;
  padding: 7px 18px;
  border-radius: 999px;
  background: rgba(232, 98, 12, 0.12);
  color: var(--accent-dark);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.section-dark .eyebrow {
  background: rgba(242, 169, 60, 0.15);
  color: var(--gold);
}

.section-head {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 56px;
}
.section-head h2 {
  font-size: clamp(1.9rem, 3.2vw, 2.6rem);
  font-weight: 700;
  color: var(--navy-900);
  margin-bottom: 14px;
}
.section-dark .section-head h2 { color: #fff; }
.section-head p { color: var(--text-mid); font-size: 1.05rem; }
.section-dark .section-head p { color: rgba(245, 241, 234, 0.75); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: #fff;
  box-shadow: 0 12px 24px rgba(232, 98, 12, 0.3);
}
.btn-primary:hover { box-shadow: 0 16px 30px rgba(232, 98, 12, 0.4); }
.btn-outline-light {
  border-color: rgba(255, 255, 255, 0.4);
  color: #fff;
  background: transparent;
}
.btn-outline-light:hover { background: rgba(255, 255, 255, 0.08); border-color: #fff; }
.btn-outline-dark {
  border-color: var(--navy-900);
  color: var(--navy-900);
  background: transparent;
}
.btn-outline-dark:hover { background: var(--navy-900); color: #fff; }
.btn-white {
  background: #fff;
  color: var(--navy-900);
}
.btn-white:hover { box-shadow: var(--shadow-lg); }
.btn-block { width: 100%; justify-content: center; }

/* ---------- Header ---------- */
header.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(253, 248, 241, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-soft);
}
.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 82px;
}
.logo { display: flex; align-items: center; gap: 10px; }
.logo-mark {
  height: 42px;
  width: auto;
  object-fit: contain;
  display: block;
}
.logo-text { line-height: 1.15; }
.logo-text strong { display: block; font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 1.05rem; color: var(--navy-950); letter-spacing: 0.02em; }
.logo-text span { display: block; font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent-dark); font-weight: 600; }

.footer-logo-full {
  height: 46px;
  width: auto;
  object-fit: contain;
}

nav.main-nav { display: flex; align-items: center; gap: 38px; }
nav.main-nav a {
  font-weight: 600;
  font-size: 0.93rem;
  color: var(--text-dark);
  position: relative;
  padding: 6px 0;
}
nav.main-nav a::after {
  content: '';
  position: absolute; left: 0; bottom: -2px;
  width: 0; height: 2px;
  background: var(--accent);
  transition: width 0.2s ease;
}
nav.main-nav a:hover::after,
nav.main-nav a.active::after { width: 100%; }
nav.main-nav a.active { color: var(--accent-dark); }

.header-actions { display: flex; align-items: center; gap: 18px; }
.header-actions .btn { padding: 11px 22px; font-size: 0.88rem; }

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

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: var(--navy-950);
  color: #fff;
  overflow: hidden;
  padding: 120px 0 0;
}

/* rotating background carousel */
.hero-carousel {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
.hero-carousel-track {
  display: flex;
  width: 500%;
  height: 100%;
  animation: heroSlideTrack 3s infinite ease-in-out;
}
.hero-carousel-track .slide {
  flex: 0 0 20%;
  width: 20%;
  height: 100%;
  background-size: cover;
  background-position: center;
}
.hero-carousel-track .slide:nth-child(1) { background-image: url('../images/factory-floor.jpg'); }
.hero-carousel-track .slide:nth-child(2) { background-image: url('../images/world-map.jpg'); }
.hero-carousel-track .slide:nth-child(3) { background-image: url('../images/cargo-ship.jpg'); }
.hero-carousel-track .slide:nth-child(4) { background-image: url('../images/port-cranes.jpg'); }
.hero-carousel-track .slide:nth-child(5) { background-image: url('../images/factory-floor.jpg'); }

/* each slide holds for ~0.55s then slides to the next over ~0.2s; 4 slides x 0.75s = 3s loop.
   A 5th slide (clone of the 1st) sits at the end so the loop resets seamlessly. */
@keyframes heroSlideTrack {
  0%, 17%   { transform: translateX(0%); }
  25%, 42%  { transform: translateX(-20%); }
  50%, 67%  { transform: translateX(-40%); }
  75%, 92%  { transform: translateX(-60%); }
  100%      { transform: translateX(-80%); }
}

@media (prefers-reduced-motion: reduce) {
  .hero-carousel-track { animation-duration: 12s; }
}

.hero-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(circle at 18% 30%, rgba(232, 98, 12, 0.16), transparent 42%),
    radial-gradient(circle at 82% 20%, rgba(242, 169, 60, 0.12), transparent 40%),
    linear-gradient(160deg, rgba(6,14,33,0.55) 0%, rgba(11,26,56,0.42) 55%, rgba(19,42,82,0.5) 100%);
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  z-index: 1;
  background-image:
    radial-gradient(circle, rgba(255,255,255,0.55) 1px, transparent 1.4px);
  background-size: 26px 26px;
  opacity: 0.08;
  pointer-events: none;
}
.hero-inner {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 780px;
  margin: 0 auto;
  padding: 0 24px 80px;
}
.hero .eyebrow {
  background: rgba(242, 169, 60, 0.15);
  color: var(--gold);
  border: 1px solid rgba(242, 169, 60, 0.35);
}
.hero h1 {
  font-size: clamp(2.4rem, 5.4vw, 4rem);
  font-weight: 700;
  letter-spacing: 0.01em;
  margin-bottom: 10px;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.55);
}
.hero .hero-sub {
  font-size: clamp(1.2rem, 2.4vw, 1.55rem);
  font-weight: 600;
  background: linear-gradient(90deg, var(--gold), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 22px;
  filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.5));
}
.hero p.lead {
  color: rgba(245, 241, 234, 0.92);
  font-size: 1.08rem;
  max-width: 620px;
  margin: 0 auto 36px;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.55);
}
.hero-ctas {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 54px;
}

.hero-stats {
  position: relative;
  z-index: 2;
  border-top: 1px solid rgba(255,255,255,0.12);
  background: rgba(6, 14, 33, 0.55);
}
.hero-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.hero-stat {
  text-align: center;
  padding: 30px 12px;
  border-right: 1px solid rgba(255,255,255,0.1);
}
.hero-stat:last-child { border-right: none; }
.hero-stat strong {
  display: block;
  font-family: 'Poppins', sans-serif;
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--gold);
}
.hero-stat span {
  font-size: 0.82rem;
  color: rgba(245, 241, 234, 0.75);
  letter-spacing: 0.02em;
}

/* generic page hero (non-home pages) */
.page-hero {
  position: relative;
  background:
    radial-gradient(circle at 20% 20%, rgba(232, 98, 12, 0.25), transparent 45%),
    radial-gradient(circle at 85% 75%, rgba(242, 169, 60, 0.18), transparent 45%),
    linear-gradient(160deg, var(--navy-950) 0%, var(--navy-900) 60%, var(--navy-800) 100%);
  color: #fff;
  padding: 100px 0 76px;
  text-align: center;
}
.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.5) 1px, transparent 1.4px);
  background-size: 26px 26px;
  opacity: 0.07;
}
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { font-size: clamp(2rem, 4vw, 2.9rem); font-weight: 700; margin-bottom: 12px; }
.page-hero p { color: rgba(245,241,234,0.8); max-width: 600px; margin: 0 auto; font-size: 1.05rem; }
.breadcrumb {
  display: flex; justify-content: center; gap: 8px;
  font-size: 0.85rem; color: rgba(245,241,234,0.6);
  margin-bottom: 18px;
}
.breadcrumb a { color: var(--gold); font-weight: 600; }

/* ---------- Cards / grids ---------- */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

.card {
  background: #fff;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  padding: 34px 30px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.card-icon {
  width: 56px; height: 56px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  font-size: 1.5rem;
  margin-bottom: 20px;
}
.card h3 { font-size: 1.2rem; font-weight: 700; color: var(--navy-900); margin-bottom: 10px; }
.card p { color: var(--text-mid); font-size: 0.95rem; margin-bottom: 16px; }
.card ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.card ul li {
  font-size: 0.86rem;
  color: var(--text-dark);
  font-weight: 600;
  display: flex; align-items: center; gap: 8px;
}
.card ul li::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}

.category-card {
  background: #fff;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  padding: 26px 20px;
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.category-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); }
.qr-card { text-align: center; }
.qr-card img {
  border-radius: 12px;
  border: 1px solid var(--border-soft);
  margin: 0 auto;
}
.qr-card .qr-caption {
  margin-top: 16px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--navy-900);
}

.contact-country-card {
  text-align: center;
}
.contact-country-card h3 {
  font-size: 1.3rem;
  margin: 6px 0 18px;
}
.contact-country-card .qr-inline {
  max-width: 200px;
  border-radius: 12px;
  border: 1px solid var(--border-soft);
  margin: 24px auto 0;
}
.contact-country-card .qr-caption {
  margin-top: 14px;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--text-mid);
}

.category-card .cat-icon {
  width: 52px; height: 52px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: var(--cream-alt);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
}
.category-card h4 { font-size: 1rem; font-weight: 700; color: var(--navy-900); }

/* ---------- Why choose banner ---------- */
.why-banner {
  background: linear-gradient(135deg, var(--navy-900), var(--navy-950));
  border-radius: 28px;
  padding: 64px 48px;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.why-banner::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(circle at 85% 15%, rgba(242,169,60,0.25), transparent 50%);
}
.why-banner-head { position: relative; text-align: center; margin-bottom: 44px; }
.why-banner-head h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); font-weight: 700; }
.why-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 44px;
}
.why-item {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 16px;
  padding: 28px 22px;
  text-align: center;
}
.why-item .why-check {
  width: 46px; height: 46px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: rgba(242,169,60,0.16);
  color: var(--gold);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
  border: 1px solid rgba(242,169,60,0.4);
}
.why-item h3 { font-size: 1.02rem; font-weight: 700; margin-bottom: 6px; }
.why-item p { font-size: 0.85rem; color: rgba(245,241,234,0.7); }
.why-banner-cta { position: relative; text-align: center; }

/* ---------- Process timeline ---------- */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.process-step {
  position: relative;
  background: #fff;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  padding: 30px 22px 24px;
  text-align: center;
}
.process-step .step-num {
  width: 42px; height: 42px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: #fff;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.process-step h4 { font-size: 1rem; font-weight: 700; color: var(--navy-900); margin-bottom: 6px; }
.process-step p { font-size: 0.84rem; color: var(--text-mid); }

/* ---------- Markets ---------- */
.market-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 18px;
}
.market-pill {
  background: #fff;
  border: 1px solid var(--border-soft);
  border-radius: 14px;
  padding: 22px 10px;
  text-align: center;
  font-weight: 700;
  color: var(--navy-900);
  font-size: 0.92rem;
}
.market-pill span { display: block; font-size: 1.5rem; margin-bottom: 8px; }

/* ---------- CTA banner ---------- */
.cta-banner {
  background: linear-gradient(135deg, var(--navy-950), var(--navy-800));
  border-radius: 28px;
  padding: 64px 48px;
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(circle at 15% 85%, rgba(232,98,12,0.3), transparent 50%),
              radial-gradient(circle at 90% 10%, rgba(242,169,60,0.2), transparent 45%);
}
.cta-banner > * { position: relative; }
.cta-banner .eyebrow { background: rgba(255,255,255,0.1); color: var(--gold); }
.cta-banner h2 { font-size: clamp(1.8rem, 3.2vw, 2.4rem); font-weight: 700; margin-bottom: 16px; }
.cta-banner p { color: rgba(245,241,234,0.8); max-width: 560px; margin: 0 auto 32px; }
.cta-actions { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; margin-bottom: 28px; }
.cta-trust { font-size: 0.85rem; color: rgba(245,241,234,0.6); }

/* ---------- About page ---------- */
.about-flex {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
}
.about-visual {
  border-radius: 24px;
  min-height: 380px;
  background:
    radial-gradient(circle at 25% 30%, rgba(242,169,60,0.35), transparent 45%),
    radial-gradient(circle at 80% 75%, rgba(232,98,12,0.3), transparent 45%),
    linear-gradient(160deg, var(--navy-900), var(--navy-950));
  position: relative;
  overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.about-visual::before {
  content: '';
  position: absolute; inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.5) 1px, transparent 1.4px);
  background-size: 24px 24px;
  opacity: 0.1;
}
.about-visual .globe-icon { font-size: 5rem; position: relative; z-index: 1; }
.about-copy h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); color: var(--navy-900); margin-bottom: 20px; }
.about-copy p { color: var(--text-mid); font-size: 1.05rem; margin-bottom: 18px; }
.about-copy .highlight {
  font-weight: 700;
  color: var(--navy-900);
  font-style: italic;
  border-left: 3px solid var(--accent);
  padding-left: 16px;
  margin-top: 24px;
}

/* ---------- Contact page ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
.contact-card {
  background: #fff;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  padding: 36px 32px;
  text-align: center;
}
.contact-card .card-icon { margin: 0 auto 20px; }
.contact-card h3 { font-size: 1.15rem; margin-bottom: 8px; color: var(--navy-900); }
.contact-card p { color: var(--text-mid); margin-bottom: 20px; }

/* ---------- Footer ---------- */
footer.site-footer {
  background: var(--navy-950);
  color: rgba(245,241,234,0.75);
  padding: 72px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand p { margin-top: 16px; font-size: 0.92rem; line-height: 1.7; }
footer h5 {
  color: var(--gold);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 20px;
}
footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
footer ul li a { font-size: 0.92rem; transition: color 0.15s ease; }
footer ul li a:hover { color: var(--gold); }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; font-size: 0.92rem; }
.footer-bottom {
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  color: rgba(245,241,234,0.5);
  flex-wrap: wrap;
  gap: 10px;
}
.footer-bottom a { color: rgba(245,241,234,0.5); }
.footer-bottom a:hover { color: var(--gold); }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-2 { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .market-grid { grid-template-columns: repeat(3, 1fr); }
  .about-flex { grid-template-columns: 1fr; }
  .about-visual { min-height: 260px; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-stats-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-stat:nth-child(2) { border-right: none; }
}

@media (max-width: 760px) {
  nav.main-nav { display: none; }
  .nav-toggle { display: flex; }
  .header-actions .btn-outline-dark { display: none; }
  .section { padding: 64px 0; }
  .grid-4, .grid-3 { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .market-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  .why-banner, .cta-banner { padding: 44px 24px; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

/* mobile nav open state */
body.nav-open nav.main-nav {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 82px; left: 0; right: 0;
  background: var(--cream);
  padding: 24px;
  gap: 20px;
  border-bottom: 1px solid var(--border-soft);
  box-shadow: var(--shadow-lg);
}
