/* ==========================================================================
   Arhan Trade — Brand Stylesheet
   Palette: Deep Navy #0B1F3A · Royal Blue #1D4ED8 · White · Light Gray #F5F7FA
            Accents: Emerald #00A676 · Gold #D4AF37
   Type: Manrope (headlines bold, body regular)
   ========================================================================== */

:root {
  --navy: #0B1F3A;
  --royal: #1D4ED8;
  --white: #FFFFFF;
  --gray: #F5F7FA;
  --emerald: #00A676;
  --gold: #D4AF37;

  --ink: #1B2536;
  --ink-soft: #55627A;
  --line: #E3E8F0;

  --font: "General Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius: 12px;
  --radius-lg: 18px;
  --shadow: 0 10px 30px rgba(11, 31, 58, 0.08);
  --shadow-lg: 0 18px 50px rgba(11, 31, 58, 0.16);

  --container: 1160px;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

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

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

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

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font);
  font-weight: 700;
  font-size: 15px;
  line-height: 1;
  padding: 15px 26px;
  border-radius: 8px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease, transform .15s ease;
}

.btn-arrow { transition: transform .2s ease; }
.btn:hover .btn-arrow { transform: translateX(4px); }

.btn-primary {
  background: var(--royal);
  color: var(--white);
}
.btn-primary:hover {
  background: #1740B8;
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.55);
}
.btn-outline:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

.btn-sm { padding: 11px 20px; font-size: 14px; }
.btn-block { width: 100%; justify-content: center; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 82px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--navy);
}

.logo-mark { width: 58px; height: auto; flex: none; }

.logo-text {
  font-weight: 700;
  font-size: 21px;
  letter-spacing: 0.06em;
  color: inherit;
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.logo-sub {
  font-weight: 600;
  font-size: 10px;
  letter-spacing: 0.42em;
  color: var(--ink-soft);
}

.logo-light { color: var(--white); }
.logo-light .logo-sub { color: rgba(255, 255, 255, 0.65); }

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-link {
  color: var(--ink);
  font-weight: 600;
  font-size: 15px;
  transition: color .2s ease;
}
.nav-link:hover { color: var(--royal); }

.nav-cta { margin-left: 8px; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  padding: 8px;
  cursor: pointer;
}
.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: transform .2s ease, opacity .2s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background:
    linear-gradient(180deg, rgba(11, 31, 58, 0.82) 0%, rgba(11, 31, 58, 0.65) 55%, rgba(11, 31, 58, 0.88) 100%),
    url("../assets/img/hero-port.webp") center / cover no-repeat,
    var(--navy);
  color: var(--white);
  overflow: hidden;
}

.hero-pattern {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(115deg, transparent 46%, rgba(255,255,255,0.045) 46%, rgba(255,255,255,0.045) 54%, transparent 54%),
    linear-gradient(245deg, transparent 46%, rgba(255,255,255,0.035) 46%, rgba(255,255,255,0.035) 54%, transparent 54%);
  background-size: 260px 260px;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  padding-block: 110px 70px;
  max-width: 780px;
  margin-inline: auto;
  text-align: center;
}

.hero-kicker {
  display: inline-block;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 18px;
}

.hero-title {
  font-size: clamp(38px, 6vw, 62px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.015em;
  margin: 0 0 22px;
}

.hero-lead {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.82);
  max-width: 560px;
  margin: 0 auto 34px;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

/* ---------- Stats bar ---------- */
.stats-bar {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  overflow: hidden;
  margin-top: 40px;
}

.stat {
  background: rgba(11, 31, 58, 0.55);
  backdrop-filter: blur(4px);
  text-align: center;
  padding: 26px 16px;
}

.stat-value {
  font-size: 30px;
  font-weight: 700;
  color: var(--white);
  line-height: 1.1;
}

.stat-label {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.65);
  margin-top: 6px;
}

/* ---------- Sections ---------- */
.section { padding-block: 96px; }
.section-gray { background: var(--gray); }

.section-navy {
  background:
    radial-gradient(900px 400px at 110% 0%, rgba(29, 78, 216, 0.35), transparent 60%),
    var(--navy);
  color: var(--white);
}

.section-kicker {
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--royal);
  margin: 0 0 14px;
}
.section-kicker.light { color: var(--gold); }
.section-navy .section-kicker { color: var(--gold); }

.section-title {
  font-size: clamp(30px, 4vw, 42px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--navy);
  margin: 0 0 20px;
}
.section-navy .section-title { color: var(--white); }

.section-lead {
  font-size: 17px;
  color: var(--ink-soft);
  max-width: 640px;
  margin: 0 0 18px;
}

.center { text-align: center; margin-inline: auto; }
p.center.section-lead { margin-inline: auto; }

/* ---------- About ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 64px;
  align-items: center;
}

.about-copy p { color: var(--ink-soft); }
.about-copy .btn { margin-top: 18px; }

.about-visual {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.about-visual img {
  width: 100%;
  height: 100%;
  min-height: 340px;
  object-fit: cover;
}

.about-mark { width: 320px; opacity: 0.95; }

/* ---------- Cards ---------- */
.card-grid {
  display: grid;
  gap: 22px;
  margin-top: 48px;
}
.card-grid.four { grid-template-columns: repeat(4, 1fr); }
.card-grid.three { grid-template-columns: repeat(3, 1fr); }

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 26px;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.card-icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(29, 78, 216, 0.08);
  color: var(--royal);
  margin-bottom: 18px;
}
.card-icon svg { width: 26px; height: 26px; }

.card-icon.icon-emerald { background: rgba(0, 166, 118, 0.1); color: var(--emerald); }
.card-icon.icon-gold { background: rgba(212, 175, 55, 0.16); color: #A8842B; }

.card h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--navy);
  margin: 0 0 10px;
}

.card p {
  font-size: 15px;
  color: var(--ink-soft);
  margin: 0;
}

.service-card .card-icon {
  background: rgba(0, 166, 118, 0.1);
  color: var(--emerald);
}

.services-note {
  text-align: center;
  font-size: 15px;
  color: var(--ink-soft);
  max-width: 620px;
  margin: 36px auto 0;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

/* ---------- Industries ---------- */
.industry-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 18px;
  margin-top: 48px;
}

.industry {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  text-align: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  padding: 28px 14px;
  font-weight: 700;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.92);
  transition: background-color .2s ease, border-color .2s ease, transform .2s ease;
}

.industry:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.28);
  transform: translateY(-3px);
}

.industry svg {
  width: 30px;
  height: 30px;
  color: var(--gold);
}

/* ---------- Photo strip ---------- */
.photo-strip {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.photo-strip figure {
  position: relative;
  margin: 0;
}

.photo-strip img {
  width: 100%;
  height: 340px;
  object-fit: cover;
}

.photo-strip figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 18px 26px;
  font-weight: 600;
  font-size: 15px;
  color: var(--white);
  background: linear-gradient(180deg, transparent, rgba(11, 31, 58, 0.85));
}

/* ---------- Values ---------- */
.values-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 40px;
}

.value-pill {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 12px 26px;
  font-weight: 700;
  font-size: 15px;
  color: var(--navy);
  transition: border-color .2s ease, color .2s ease, transform .2s ease;
}

.value-pill:hover {
  border-color: var(--royal);
  color: var(--royal);
  transform: translateY(-2px);
}

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 64px;
  align-items: start;
}

.contact-list {
  list-style: none;
  padding: 0;
  margin: 26px 0 0;
  display: grid;
  gap: 14px;
  color: var(--ink-soft);
}
.contact-list strong { color: var(--navy); }
.contact-list a { font-weight: 600; }

.contact-form {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 34px;
  display: grid;
  gap: 18px;
}

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

.contact-form label {
  display: grid;
  gap: 8px;
  font-weight: 700;
  font-size: 13.5px;
  color: var(--navy);
}

.contact-form input,
.contact-form textarea {
  font-family: var(--font);
  font-size: 15px;
  color: var(--ink);
  background: var(--gray);
  border: 1.5px solid transparent;
  border-radius: 8px;
  padding: 13px 15px;
  transition: border-color .2s ease, background-color .2s ease;
  resize: vertical;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder { color: #9AA6B8; }

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--royal);
  background: var(--white);
}

.form-note {
  margin: 0;
  font-size: 12.5px;
  color: var(--ink-soft);
  text-align: center;
}

/* ---------- Subpages ---------- */
.nav-link.active { color: var(--royal); }

.page-hero {
  background:
    radial-gradient(900px 400px at 90% -20%, rgba(29, 78, 216, 0.4), transparent 60%),
    var(--navy);
  color: var(--white);
  padding-block: 84px 64px;
  text-align: center;
}

.page-hero h1 {
  font-size: clamp(32px, 5vw, 50px);
  font-weight: 700;
  letter-spacing: -0.015em;
  margin: 0 0 14px;
}

.page-hero p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 17px;
  max-width: 620px;
  margin: 0 auto;
}

.breadcrumb {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 16px;
}
.breadcrumb a { color: rgba(255, 255, 255, 0.65); }
.breadcrumb a:hover { color: var(--white); }

.service-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding-block: 44px;
}

.service-row + .service-row { border-top: 1px solid var(--line); }

.service-row img {
  width: 100%;
  max-height: 360px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.service-row.reverse img { order: 2; }

.service-row h2 {
  font-size: 28px;
  font-weight: 700;
  color: var(--navy);
  margin: 0 0 14px;
}

.service-row p { color: var(--ink-soft); }

.service-row ul {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.service-row li {
  position: relative;
  padding-left: 28px;
  color: var(--ink);
  font-weight: 500;
  font-size: 15px;
}

.service-row li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: rgba(0, 166, 118, 0.15);
  border: 2px solid var(--emerald);
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin-top: 48px;
}

.step {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 24px;
}

.step-num {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--royal);
  color: var(--white);
  font-weight: 700;
  font-size: 17px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.step h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--navy);
  margin: 0 0 8px;
}

.step p { font-size: 14.5px; color: var(--ink-soft); margin: 0; }

.stats-light {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin-top: 48px;
}

.stats-light .stat {
  background: var(--gray);
  border-radius: var(--radius);
  backdrop-filter: none;
}

.stats-light .stat-value { color: var(--navy); }
.stats-light .stat-label { color: var(--ink-soft); }

.cta-band {
  background:
    linear-gradient(180deg, rgba(11, 31, 58, 0.85), rgba(11, 31, 58, 0.92)),
    url("../assets/img/hero-port.webp") center / cover no-repeat,
    var(--navy);
  color: var(--white);
  text-align: center;
  padding-block: 84px;
}

.cta-band h2 {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  margin: 0 0 14px;
}

.cta-band p {
  color: rgba(255, 255, 255, 0.8);
  max-width: 540px;
  margin: 0 auto 30px;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.75);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
  padding-block: 44px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-tagline {
  margin: 0;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
}

.footer-nav {
  display: flex;
  gap: 22px;
}

.footer-nav a {
  color: rgba(255, 255, 255, 0.75);
  font-weight: 600;
  font-size: 14px;
  transition: color .2s ease;
}
.footer-nav a:hover { color: var(--white); }

.footer-bottom {
  padding-block: 20px;
  font-size: 13px;
}
.footer-bottom p { margin: 0; }

/* ---------- WhatsApp float ---------- */
.wa-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(11, 31, 58, 0.3);
  z-index: 80;
  transition: transform .2s ease, box-shadow .2s ease;
}

.wa-float:hover {
  transform: scale(1.08);
  box-shadow: 0 12px 30px rgba(11, 31, 58, 0.35);
}

.wa-float svg {
  width: 30px;
  height: 30px;
  fill: #FFFFFF;
}

/* ---------- Reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .6s ease, transform .6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .card-grid.four { grid-template-columns: repeat(2, 1fr); }
  .card-grid.three { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .stats-light { grid-template-columns: repeat(2, 1fr); }
  .service-row { grid-template-columns: 1fr; gap: 28px; }
  .service-row.reverse img { order: 0; }
  .industry-grid { grid-template-columns: repeat(3, 1fr); }
  .about-grid,
  .contact-grid { grid-template-columns: 1fr; gap: 44px; }
  .about-visual img { min-height: 240px; max-height: 320px; }
  .photo-strip { grid-template-columns: 1fr; }
  .photo-strip img { height: 240px; }
}

@media (max-width: 760px) {
  .section { padding-block: 68px; }

  .nav-toggle { display: flex; }

  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    padding: 12px 24px 20px;
    display: none;
  }

  .main-nav.open { display: flex; }

  .main-nav .nav-link { padding: 12px 0; }
  .nav-cta { margin: 10px 0 0; justify-content: center; }

  .hero-inner { padding-block: 76px 50px; }
  .stats-bar { grid-template-columns: repeat(2, 1fr); }
  .industry-grid { grid-template-columns: repeat(2, 1fr); }
  .form-row { grid-template-columns: 1fr; }
}
