/* =============================================================
   RN Logistics — main stylesheet
   ============================================================= */

:root{
  --navy: #131c54;
  --navy-dark: #0b1240;
  --navy-light: #1f2a72;
  --orange: #f5821f;
  --orange-light: #ff9d3d;
  --bg: #f6f7fb;
  --card: #ffffff;
  --text: #2b2f3a;
  --text-light: #676c7b;
  --border: #e6e8f0;
  --radius: 12px;
  --shadow: 0 10px 30px rgba(19, 28, 84, 0.08);
  --shadow-hover: 0 16px 40px rgba(19, 28, 84, 0.16);
  --container: 1180px;
  font-size: 16px;
}

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

html{ scroll-behavior: smooth; }

body{
  margin:0;
  font-family: 'Poppins', 'Segoe UI', Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

body.menu-open{ overflow:hidden; }

img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
ul{ list-style:none; margin:0; padding:0; }
h1,h2,h3,h4{ font-family:'Poppins',sans-serif; color: var(--navy); margin:0 0 .6em; line-height:1.25; }

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

.section{ padding: 84px 0; }
.section-alt{ background: #fff; }

.eyebrow{
  display:inline-block;
  color: var(--orange);
  font-weight:700;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-size: .8rem;
  margin-bottom: 10px;
}

.section-head{ max-width: 680px; margin: 0 auto 48px; text-align:center; }
.section-head h2{ font-size: clamp(1.6rem, 3vw, 2.3rem); }
.section-head p{ color: var(--text-light); font-size:1.05rem; }

/* ---------- Buttons ---------- */
.btn{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding: 13px 28px;
  border-radius: 50px;
  font-weight:600;
  font-size: .95rem;
  border: 2px solid transparent;
  cursor:pointer;
  transition: all .25s ease;
  white-space: nowrap;
}
.btn-primary{ background: var(--orange); color:#fff; box-shadow: 0 8px 20px rgba(245,130,31,.35); }
.btn-primary:hover{ background: var(--orange-light); transform: translateY(-2px); }
.btn-outline{ background: transparent; border-color: rgba(255,255,255,.6); color:#fff; }
.btn-outline:hover{ background: rgba(255,255,255,.12); border-color:#fff; }
.btn-navy{ background: var(--navy); color:#fff; }
.btn-navy:hover{ background: var(--navy-light); transform: translateY(-2px); }
.btn-block{ width:100%; justify-content:center; }

/* ---------- Top bar ---------- */
.topbar{
  background: var(--navy-dark);
  color: #cfd3ec;
  font-size: .85rem;
}
.topbar .container{
  display:flex; align-items:center; justify-content:space-between;
  padding-top:8px; padding-bottom:8px; flex-wrap:wrap; gap:6px;
}
.topbar-left{ display:flex; gap:24px; flex-wrap:wrap; }
.topbar a{ color:#cfd3ec; }
.topbar-left span, .topbar-left a{ display:inline-flex; align-items:center; gap:6px; }
.topbar svg{ width:14px; height:14px; flex-shrink:0; }
.topbar-right{ display:flex; gap:14px; }
.topbar-right a{ opacity:.85; }
.topbar-right a:hover{ opacity:1; color: var(--orange-light); }

/* ---------- Header / Nav ---------- */
header.site-header{
  position: sticky; top:0; z-index: 100;
  background: #fff;
  box-shadow: 0 2px 18px rgba(19,28,84,.08);
}
.navbar{ display:flex; align-items:center; justify-content:space-between; padding: 12px 0; gap:12px; flex-wrap:nowrap; }
.brand{ display:flex; align-items:center; gap:12px; min-width:0; }
.brand img{ height:52px; width:auto; flex-shrink:0; }
.brand-text{ line-height:1.1; min-width:0; }
.brand-text .name{ font-weight:800; font-size:1.35rem; color: var(--navy); letter-spacing:.02em; white-space:nowrap; }
.brand-text .tag{ font-size:.68rem; color: var(--orange); font-weight:700; letter-spacing:.08em; text-transform:uppercase; white-space:nowrap; }

.nav-links{ display:flex; align-items:center; gap:8px; }
.nav-links a{
  padding: 10px 16px;
  font-weight:600;
  font-size:.95rem;
  color: var(--text);
  border-radius: 8px;
  transition: color .2s ease, background .2s ease;
}
.nav-links a:hover, .nav-links a.active{ color: var(--navy); background: #f0f1fb; }
.nav-cta{ display:flex; align-items:center; gap:14px; flex-shrink:0; }
.nav-call{ display:inline-flex; align-items:center; gap:8px; }
.nav-call svg{ width:17px; height:17px; flex-shrink:0; display:none; }

.nav-toggle{
  display:none;
  flex-direction:column;
  justify-content:center;
  gap:5px;
  width:40px; height:40px;
  background:none; border:none; cursor:pointer; padding:8px;
  flex-shrink:0;
  z-index: 210;
}
.nav-toggle span{ width:24px; height:2.5px; background: var(--navy); border-radius:2px; transition: transform .25s ease, opacity .25s ease; }
.nav-toggle.active span:nth-child(1){ transform: translateY(7.5px) rotate(45deg); }
.nav-toggle.active span:nth-child(2){ opacity:0; }
.nav-toggle.active span:nth-child(3){ transform: translateY(-7.5px) rotate(-45deg); }

.nav-overlay{
  display:none;
  position:fixed; inset:0;
  background: rgba(11,18,64,.55);
  z-index: 190;
  opacity:0; visibility:hidden;
  transition: opacity .3s ease;
}
.nav-overlay.show{ opacity:1; visibility:visible; }

/* ---------- Hero ---------- */
.hero{
  position:relative;
  background: linear-gradient(120deg, var(--navy-dark) 0%, var(--navy) 55%, var(--navy-light) 100%);
  color:#fff;
  overflow:hidden;
  padding: 100px 0 120px;
}
.hero::before{
  content:"";
  position:absolute; inset:0;
  background-image: radial-gradient(rgba(255,255,255,.09) 1.5px, transparent 1.5px);
  background-size: 26px 26px;
  opacity:.5;
}
.hero .container{ position:relative; display:grid; grid-template-columns: 1.15fr .85fr; gap:40px; align-items:center; }
.hero-eyebrow{
  display:inline-flex; align-items:center; gap:8px;
  background: rgba(245,130,31,.15);
  border:1px solid rgba(245,130,31,.4);
  color: var(--orange-light);
  padding:6px 16px; border-radius:50px;
  font-size:.8rem; font-weight:700; letter-spacing:.06em; text-transform:uppercase;
  margin-bottom:22px;
}
.hero h1{ color:#fff; font-size: clamp(2.1rem, 4.2vw, 3.4rem); font-weight:800; letter-spacing:.01em; margin-bottom:20px; }
.hero h1 span{ color: var(--orange-light); }
.hero p.lead{ color:#c7cbe8; font-size:1.12rem; max-width:560px; margin-bottom:34px; }
.hero-actions{ display:flex; gap:16px; flex-wrap:wrap; }
.hero-art{ position:relative; display:flex; align-items:center; justify-content:center; }
.hero-art svg{ width:100%; max-width:420px; height:auto; }

/* small trust strip under hero */
.trust-strip{ background:#fff; border-bottom:1px solid var(--border); }
.trust-strip .container{
  display:grid; grid-template-columns: repeat(4, 1fr);
  gap: 20px; padding: 28px 24px;
}
.trust-item{ display:flex; align-items:center; gap:14px; }
.trust-item .ic{
  width:46px; height:46px; border-radius:12px;
  background: #f0f1fb; color: var(--navy);
  display:flex; align-items:center; justify-content:center; flex-shrink:0;
}
.trust-item .ic svg{ width:24px; height:24px; }
.trust-item strong{ display:block; font-size:.95rem; color: var(--navy); }
.trust-item span{ font-size:.82rem; color: var(--text-light); }

/* ---------- Page banner (inner pages) ---------- */
.page-banner{
  background: linear-gradient(120deg, var(--navy-dark), var(--navy));
  color:#fff;
  padding: 64px 0;
  position:relative;
  overflow:hidden;
}
.page-banner::before{
  content:"";
  position:absolute; inset:0;
  background-image: radial-gradient(rgba(255,255,255,.08) 1.5px, transparent 1.5px);
  background-size: 24px 24px;
}
.page-banner .container{ position:relative; }
.page-banner h1{ color:#fff; font-size: clamp(1.8rem, 3.5vw, 2.6rem); margin-bottom:10px; }
.breadcrumb{ font-size:.9rem; color:#b9bee0; }
.breadcrumb a{ color:#e4e6f7; }
.breadcrumb a:hover{ color: var(--orange-light); }

/* ---------- Service cards ---------- */
.services-grid{ display:grid; grid-template-columns: repeat(3, 1fr); gap:26px; }
.service-card{
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 26px;
  box-shadow: var(--shadow);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.service-card:hover{ transform: translateY(-6px); box-shadow: var(--shadow-hover); border-color: rgba(245,130,31,.35); }
.service-card .ic{
  width:56px; height:56px; border-radius:14px;
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  display:flex; align-items:center; justify-content:center;
  margin-bottom:18px;
}
.service-card .ic svg{ width:28px; height:28px; stroke:#fff; }
.service-card h3{ font-size:1.15rem; margin-bottom:8px; }
.service-card p{ color: var(--text-light); font-size:.94rem; margin-bottom:14px; }
.service-card .more{ color: var(--orange); font-weight:700; font-size:.88rem; display:inline-flex; align-items:center; gap:6px; }
.service-card .more svg{ width:14px; height:14px; transition: transform .2s ease; }
.service-card:hover .more svg{ transform: translateX(4px); }

/* ---------- Why choose us ---------- */
.why-grid{ display:grid; grid-template-columns: repeat(3, 1fr); gap:26px; }
.why-item{ display:flex; gap:16px; padding: 22px; background:#fff; border-radius: var(--radius); border:1px solid var(--border); }
.why-item .ic{
  width:48px; height:48px; border-radius:50%;
  background:#fff3e8; color: var(--orange);
  display:flex; align-items:center; justify-content:center; flex-shrink:0;
}
.why-item .ic svg{ width:24px; height:24px; }
.why-item h4{ font-size:1.02rem; margin-bottom:6px; }
.why-item p{ font-size:.88rem; color: var(--text-light); margin:0; }

/* ---------- Process / steps ---------- */
.process{ display:grid; grid-template-columns: repeat(4, 1fr); gap:26px; counter-reset: step; }
.process-step{ position:relative; padding: 30px 22px; background:#fff; border-radius: var(--radius); border:1px solid var(--border); text-align:center; }
.process-step .num{
  width:44px; height:44px; border-radius:50%;
  background: var(--navy); color:#fff; font-weight:800;
  display:flex; align-items:center; justify-content:center;
  margin: 0 auto 16px;
}
.process-step h4{ font-size:1rem; margin-bottom:8px; }
.process-step p{ font-size:.86rem; color: var(--text-light); margin:0; }

/* ---------- About preview / split sections ---------- */
.split{ display:grid; grid-template-columns: 1fr 1fr; gap:56px; align-items:center; }
.split-art{
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  border-radius: 20px;
  padding: 40px;
  display:flex; align-items:center; justify-content:center;
  min-height: 320px;
}
.split-art svg{ width:100%; max-width:320px; height:auto; }
.split h2{ font-size: clamp(1.5rem, 2.6vw, 2.1rem); }
.split p{ color: var(--text-light); }
.checklist{ margin: 22px 0; display:flex; flex-direction:column; gap:12px; }
.checklist li{ display:flex; gap:10px; align-items:flex-start; font-size:.96rem; }
.checklist svg{ width:20px; height:20px; color: var(--orange); flex-shrink:0; margin-top:2px; }

/* ---------- Stats / mission-vision cards ---------- */
.mv-grid{ display:grid; grid-template-columns: repeat(2,1fr); gap:26px; }
.mv-card{ background:#fff; border:1px solid var(--border); border-radius: var(--radius); padding:32px; box-shadow: var(--shadow); }
.mv-card .ic{ width:52px; height:52px; border-radius:12px; background:#f0f1fb; color:var(--navy); display:flex; align-items:center; justify-content:center; margin-bottom:16px; }
.mv-card .ic svg{ width:26px; height:26px; }

/* ---------- Leadership card ---------- */
.lead-card{ display:flex; gap:26px; align-items:center; background:#fff; border:1px solid var(--border); border-radius: var(--radius); padding:32px; box-shadow: var(--shadow); }
.lead-avatar{
  width:96px; height:96px; border-radius:50%; flex-shrink:0;
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  display:flex; align-items:center; justify-content:center; color:#fff; font-weight:800; font-size:1.8rem;
}
.lead-card h4{ margin-bottom:2px; }
.lead-card .role{ color: var(--orange); font-weight:600; font-size:.88rem; margin-bottom:10px; display:block; }
.lead-contacts{ display:flex; gap:18px; flex-wrap:wrap; margin-top:10px; font-size:.9rem; }
.lead-contacts a{ display:inline-flex; gap:6px; align-items:center; color: var(--navy); font-weight:600; }
.lead-contacts svg{ width:16px; height:16px; color: var(--orange); }

/* ---------- CTA banner ---------- */
.cta-banner{
  background: linear-gradient(120deg, var(--orange), var(--orange-light));
  color:#fff;
  border-radius: 20px;
  padding: 48px;
  display:flex; align-items:center; justify-content:space-between; gap:24px; flex-wrap:wrap;
}
.cta-banner h3{ color:#fff; font-size:1.5rem; margin-bottom:6px; }
.cta-banner p{ color: rgba(255,255,255,.9); margin:0; }
.cta-banner .btn-navy{ background:#131c54; }

/* ---------- Contact page ---------- */
.contact-grid{ display:grid; grid-template-columns: .9fr 1.1fr; gap:36px; align-items:start; }
.contact-cards{ display:flex; flex-direction:column; gap:18px; }
.contact-card{ display:flex; gap:16px; background:#fff; border:1px solid var(--border); border-radius: var(--radius); padding:22px; box-shadow: var(--shadow); }
.contact-card .ic{ width:46px; height:46px; border-radius:10px; background:#fff3e8; color:var(--orange); display:flex; align-items:center; justify-content:center; flex-shrink:0; }
.contact-card .ic svg{ width:22px; height:22px; }
.contact-card h4{ font-size:.98rem; margin-bottom:4px; }
.contact-card p, .contact-card a{ font-size:.9rem; color: var(--text-light); margin:0; }
.contact-card a:hover{ color: var(--orange); }

.form-card{ background:#fff; border:1px solid var(--border); border-radius: var(--radius); padding:34px; box-shadow: var(--shadow); }
.form-row{ display:grid; grid-template-columns:1fr 1fr; gap:18px; }
.field{ margin-bottom:18px; }
.field label{ display:block; font-size:.86rem; font-weight:600; margin-bottom:7px; color: var(--navy); }
.field input, .field select, .field textarea{
  width:100%; padding:12px 14px; border:1px solid var(--border); border-radius:9px;
  font-family:inherit; font-size:.95rem; color: var(--text); background:#fbfbfe;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.field input:focus, .field select:focus, .field textarea:focus{
  outline:none; border-color: var(--orange); box-shadow: 0 0 0 3px rgba(245,130,31,.15); background:#fff;
}
.field textarea{ resize:vertical; min-height:120px; }
.form-note{ font-size:.8rem; color: var(--text-light); margin-top:10px; }

.map-wrap{ border-radius: var(--radius); overflow:hidden; border:1px solid var(--border); box-shadow: var(--shadow); margin-top:26px; }
.map-wrap iframe{ width:100%; height:340px; border:0; display:block; }

/* ---------- Footer ---------- */
footer.site-footer{ background: var(--navy-dark); color:#c7cbe8; padding-top: 64px; }
.footer-grid{ display:grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap:40px; padding-bottom: 40px; }
.footer-brand{ display:flex; align-items:center; gap:12px; margin-bottom:16px; }
.footer-brand img{ height:44px; }
.footer-brand .name{ color:#fff; font-weight:800; font-size:1.2rem; }
.site-footer p{ font-size:.9rem; color:#a7abd0; }
.site-footer h5{ color:#fff; font-size:.95rem; text-transform:uppercase; letter-spacing:.06em; margin-bottom:18px; }
.footer-links li{ margin-bottom:10px; }
.footer-links a{ font-size:.9rem; color:#a7abd0; transition: color .2s ease; }
.footer-links a:hover{ color: var(--orange-light); }
.footer-contact li{ display:flex; gap:10px; margin-bottom:14px; font-size:.9rem; align-items:flex-start; }
.footer-contact svg{ width:18px; height:18px; color: var(--orange-light); flex-shrink:0; margin-top:2px; }
.footer-social{ display:flex; gap:10px; margin-top:18px; }
.footer-social a{
  width:36px; height:36px; border-radius:50%; background: rgba(255,255,255,.08);
  display:flex; align-items:center; justify-content:center; transition: background .2s ease;
}
.footer-social a:hover{ background: var(--orange); }
.footer-social svg{ width:16px; height:16px; }
.footer-bottom{ border-top:1px solid rgba(255,255,255,.1); padding:20px 0; text-align:center; font-size:.83rem; color:#8d92bd; }
.footer-bottom a{ color:#c7cbe8; }

/* ---------- Services detail page ---------- */
.service-detail{ display:grid; grid-template-columns: 1fr 1fr; gap:50px; align-items:center; padding: 56px 0; border-bottom:1px solid var(--border); }
.service-detail:last-child{ border-bottom:none; }
.service-detail.reverse .sd-text{ order:2; }
.service-detail.reverse .sd-art{ order:1; }
.sd-art{
  background: #f0f1fb;
  border-radius:20px;
  padding: 40px;
  display:flex; align-items:center; justify-content:center;
  min-height:260px;
}
.sd-art svg{ width:100%; max-width:260px; height:auto; }
.sd-text .tagnum{ color: var(--orange); font-weight:800; letter-spacing:.1em; font-size:.85rem; text-transform:uppercase; margin-bottom:10px; display:block; }
.sd-text h3{ font-size:1.6rem; margin-bottom:14px; }
.sd-text p{ color: var(--text-light); margin-bottom:16px; }
.sd-text ul{ display:flex; flex-direction:column; gap:10px; }
.sd-text ul li{ display:flex; gap:10px; align-items:flex-start; font-size:.94rem; }
.sd-text ul svg{ width:18px; height:18px; color: var(--orange); flex-shrink:0; margin-top:3px; }

/* ---------- Back to top ---------- */
.back-to-top{
  position: fixed; right:24px; bottom:24px; z-index:90;
  width:46px; height:46px; border-radius:50%;
  background: var(--navy); color:#fff;
  display:flex; align-items:center; justify-content:center;
  box-shadow: 0 8px 20px rgba(19,28,84,.3);
  opacity:0; visibility:hidden; transform: translateY(10px);
  transition: all .25s ease; border:none; cursor:pointer;
}
.back-to-top.show{ opacity:1; visibility:visible; transform:none; }
.back-to-top svg{ width:20px; height:20px; }

/* ---------- Responsive ---------- */
@media (max-width: 980px){
  .services-grid, .why-grid{ grid-template-columns: repeat(2,1fr); }
  .process{ grid-template-columns: repeat(2,1fr); }
  .footer-grid{ grid-template-columns: 1fr 1fr; }
  .hero .container{ grid-template-columns:1fr; text-align:center; }
  .hero p.lead{ margin-left:auto; margin-right:auto; }
  .hero-actions{ justify-content:center; }
  .hero-art{ order:-1; }
  .split, .service-detail, .service-detail.reverse{ grid-template-columns:1fr; }
  .service-detail.reverse .sd-text, .service-detail.reverse .sd-art{ order:0; }
  .contact-grid{ grid-template-columns:1fr; }
  .mv-grid{ grid-template-columns:1fr; }
}

@media (max-width: 760px){
  /* Top bar: keep it short so it never wraps or crowds the header */
  .topbar-left span{ display:none; }
  .topbar-left a:nth-of-type(2){ display:none; }
  .topbar .container{ justify-content:center; padding-top:7px; padding-bottom:7px; }
  .topbar-right{ display:none; }

  /* Header / brand */
  .brand img{ height:38px; }
  .brand-text .name{ font-size:1.02rem; }
  .brand-text .tag{ display:none; }

  /* Call button collapses to an icon-only circle */
  .nav-call{ width:40px; height:40px; padding:0; justify-content:center; border-radius:50%; }
  .nav-call span{ display:none; }
  .nav-call svg{ display:block; }

  .nav-links{
    position:fixed; top:0; right:0; height:100vh; width: min(300px,80%);
    background:#fff; flex-direction:column; align-items:flex-start;
    padding: 90px 24px 26px; gap:4px;
    box-shadow: -10px 0 30px rgba(0,0,0,.2);
    transform: translateX(100%); transition: transform .3s ease;
    z-index: 200; overflow-y:auto;
  }
  .nav-links.open{ transform: translateX(0); }
  .nav-links a{ width:100%; padding:14px 12px; }
  .nav-toggle{ display:flex; }
  .nav-overlay{ display:block; }
  .trust-strip .container{ grid-template-columns: 1fr 1fr; }
  .services-grid, .why-grid, .process, .footer-grid{ grid-template-columns: 1fr; }
  .form-row{ grid-template-columns:1fr; }
  .cta-banner{ flex-direction:column; text-align:center; }
  .lead-card{ flex-direction:column; text-align:center; }
  .lead-contacts{ justify-content:center; }
}

@media (max-width: 400px){
  .brand-text .name{ font-size:.92rem; }
  .brand img{ height:34px; }
}
