/* =====================================================
   SH'VAT Shipping & Logistics - Stylesheet
   Sections: 1 Variables | 2 Base | 3 Header | 4 Hero | 5 Layout
             6 Cards | 7 Stats | 8 About | 9 Process | 10 Promo
             11 Testimonials | 12 Contact | 13 Footer | 14 Animations | 15 Responsive
   ===================================================== */

/* ---------- 1. Variables ---------- */
:root {
  --navy: #0a2540;
  --navy-deep: #06182b;
  --teal: #12b5b0;
  --teal-dark: #0e8f8b;
  --gold: #c9a24b;        /* luxury accent, used sparingly */
  --ink: #1b2a3a;
  --muted: #5d6b7a;
  --line: #e4e9ef;
  --bg: #ffffff;
  --bg-alt: #f4f7fa;
  --radius: 16px;
  --shadow: 0 10px 30px rgba(10, 37, 64, .08);
  --shadow-lg: 0 20px 45px rgba(10, 37, 64, .16);
  --font-head: 'Poppins', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
}

/* ---------- 2. Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; font-family: var(--font-body); color: var(--ink); background: var(--bg); line-height: 1.65; -webkit-font-smoothing: antialiased; }
img, video, iframe { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.2; margin: 0 0 .6em; color: var(--navy); }
p { margin: 0 0 1em; }
.container { width: min(1180px, 92%); margin-inline: auto; }
.skip-link { position: absolute; left: -999px; top: 0; background: var(--teal); color: #fff; padding: 10px 16px; z-index: 2000; }
.skip-link:focus { left: 10px; top: 10px; }

.btn { display: inline-block; padding: 14px 30px; border-radius: 50px; font-weight: 600; font-size: .95rem; border: 2px solid transparent; cursor: pointer; transition: transform .25s, box-shadow .25s, background .25s, color .25s; font-family: var(--font-body); }
.btn:hover { transform: translateY(-3px); }
.btn-teal { background: linear-gradient(135deg, var(--teal), var(--teal-dark)); color: #fff; box-shadow: 0 8px 22px rgba(18, 181, 176, .35); }
.btn-teal:hover { box-shadow: 0 12px 28px rgba(18, 181, 176, .5); }
.btn-outline { border-color: rgba(255, 255, 255, .7); color: #fff; backdrop-filter: blur(6px); background: rgba(255, 255, 255, .08); }
.btn-outline:hover { background: #fff; color: var(--navy); }

.eyebrow { text-transform: uppercase; letter-spacing: .18em; font-size: .78rem; font-weight: 600; color: var(--teal); margin-bottom: 14px; }
.eyebrow.dark { color: var(--teal-dark); }

/* ---------- 3. Header: glassmorphism ---------- */
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; padding: 14px 0; transition: background .3s, padding .3s, box-shadow .3s; }
.nav-wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 10px 22px; border-radius: 60px;
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .28);
  backdrop-filter: blur(16px) saturate(160%); -webkit-backdrop-filter: blur(16px) saturate(160%);
  box-shadow: 0 8px 32px rgba(0, 0, 0, .15);
  transition: background .3s, border-color .3s; }
.site-header.scrolled .nav-wrap { background: rgba(10, 37, 64, .78); border-color: rgba(255, 255, 255, .15); }

.brand { display: flex; flex-direction: column; line-height: 1; color: #fff; }
.brand-mark { font-family: var(--font-head); font-weight: 700; font-size: 1.5rem; letter-spacing: .04em; font-style: italic; }
.brand-mark::before { content: ""; display: inline-block; width: 22px; height: 4px; margin-right: 6px; vertical-align: middle; background: linear-gradient(90deg, var(--gold), transparent); border-radius: 4px; }
.brand-sub { font-size: .62rem; letter-spacing: .14em; text-transform: uppercase; opacity: .85; margin-top: 4px; }

.nav { display: flex; align-items: center; gap: 22px; }
.nav ul { display: flex; gap: 6px; }
.nav-link { color: #fff; font-size: .88rem; font-weight: 500; padding: 8px 14px; border-radius: 30px; transition: background .25s; }
.nav-link:hover, .nav-link.active { background: rgba(255, 255, 255, .18); }
.nav-cta { padding: 10px 22px; font-size: .85rem; }

.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: #fff; margin: 5px 0; transition: transform .3s, opacity .3s; }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- 4. Hero with video ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; color: #fff; overflow: hidden;
  background: radial-gradient(circle at 75% 20%, #17527c 0%, var(--navy) 45%, var(--navy-deep) 100%); }
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.hero-overlay { position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(105deg, rgba(6, 24, 43, .92) 0%, rgba(10, 37, 64, .68) 50%, rgba(10, 37, 64, .35) 100%); }
.hero-content { position: relative; z-index: 2; padding: 130px 0 90px; max-width: 1180px; }
.hero h1 { color: #fff; font-size: clamp(2.3rem, 6vw, 4.4rem); font-weight: 700; max-width: 820px; letter-spacing: -.01em; }
.hero h1::after { content: ""; display: block; width: 90px; height: 4px; margin-top: 22px; background: linear-gradient(90deg, var(--gold), var(--teal)); border-radius: 4px; }
.hero-sub { font-size: clamp(1.05rem, 2.2vw, 1.35rem); max-width: 620px; opacity: .92; margin: 22px 0 34px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; }
.scroll-down { position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%); z-index: 2; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgba(255, 255, 255, .5); background: rgba(255, 255, 255, .1); backdrop-filter: blur(8px); animation: bounce 2s infinite; }

/* ---------- 5. Layout ---------- */
.section { padding: 100px 0; }
.section.alt { background: var(--bg-alt); }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 56px; }
.section-head h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); }
.section-head p { color: var(--muted); }
.section-head.light h2 { color: #fff; }
.grid { display: grid; gap: 28px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* ---------- 6. Cards ---------- */
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 34px 30px; box-shadow: var(--shadow); position: relative; overflow: hidden;
  transition: transform .35s cubic-bezier(.2, .8, .2, 1), box-shadow .35s, border-color .35s; }
.card::before { content: ""; position: absolute; left: 0; top: 0; height: 4px; width: 0; background: linear-gradient(90deg, var(--gold), var(--teal)); transition: width .45s; }
.card:hover { transform: translateY(-10px); box-shadow: var(--shadow-lg); border-color: transparent; }
.card:hover::before { width: 100%; }
.card h3 { font-size: 1.2rem; }
.card p { color: var(--muted); margin: 0; font-size: .95rem; }

.icon { width: 62px; height: 62px; border-radius: 18px; display: grid; place-items: center; font-size: 1.5rem; color: #fff; margin-bottom: 22px;
  background: linear-gradient(135deg, var(--navy), #1a4a75); box-shadow: 0 8px 18px rgba(10, 37, 64, .25); transition: transform .4s, background .4s; }
.service:hover .icon { background: linear-gradient(135deg, var(--teal), var(--teal-dark)); transform: rotate(-8deg) scale(1.08); }
.industry { text-align: center; }
.industry > i { font-size: 2rem; color: var(--teal); margin-bottom: 18px; transition: transform .35s; }
.industry:hover > i { transform: scale(1.2); }

/* Video cards (operations section) */
.vcard { position: relative; border-radius: 20px; overflow: hidden; aspect-ratio: 4 / 5; background: var(--navy); box-shadow: var(--shadow); cursor: pointer;
  transition: transform .4s cubic-bezier(.2, .8, .2, 1), box-shadow .4s; }
.vcard:hover { transform: translateY(-10px); box-shadow: var(--shadow-lg); }
.vcard video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s; }
.vcard:hover video { transform: scale(1.06); }
.vcard::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(6, 24, 43, 0) 40%, rgba(6, 24, 43, .88) 100%); pointer-events: none; }
.vcard-info { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding: 26px; color: #fff; }
.vcard-info i { color: var(--gold); font-size: 1.4rem; margin-bottom: 10px; }
.vcard-info h3 { color: #fff; margin-bottom: 4px; }
.vcard-info p { margin: 0; font-size: .9rem; opacity: .88; }

/* ---------- 7. Stats ---------- */
.stats { background: linear-gradient(135deg, var(--navy-deep), var(--navy) 60%, #12466f); color: #fff; position: relative; }
.stat { text-align: center; padding: 34px 20px; border-radius: var(--radius); background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); backdrop-filter: blur(8px); transition: transform .3s, background .3s; }
.stat:hover { transform: translateY(-6px); background: rgba(255, 255, 255, .1); }
.stat i { font-size: 1.8rem; color: var(--gold); margin-bottom: 14px; }
.stat .num { font-family: var(--font-head); font-weight: 700; font-size: clamp(2.2rem, 4vw, 3rem); line-height: 1; }
.stat p { margin: 10px 0 0; opacity: .85; font-size: .95rem; }

/* ---------- 8. About ---------- */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.about-media { position: relative; border-radius: 24px; min-height: 380px; overflow: hidden; background: linear-gradient(135deg, var(--navy), #1a4a75); box-shadow: var(--shadow-lg); }
.about-media img { width: 100%; height: 100%; min-height: 380px; object-fit: cover; }
.about-badge { position: absolute; left: 20px; bottom: 20px; background: rgba(255, 255, 255, .92); backdrop-filter: blur(8px); padding: 14px 20px; border-radius: 14px; display: flex; flex-direction: column; }
.about-badge strong { font-family: var(--font-head); font-size: 1.6rem; color: var(--navy); line-height: 1; }
.about-badge span { font-size: .78rem; color: var(--muted); }
.about-text h2 { font-size: clamp(1.8rem, 3.2vw, 2.4rem); }
.about-text > p { color: var(--muted); }
.check-list { margin: 22px 0 28px; display: grid; gap: 14px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; }
.check-list i { color: var(--teal); margin-top: 5px; }
.mv { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; padding-top: 24px; border-top: 1px solid var(--line); }
.mv h4 { font-size: 1rem; margin-bottom: 6px; }
.mv p { font-size: .88rem; color: var(--muted); margin: 0; }

/* ---------- 9. Process ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; position: relative; }
.steps::before { content: ""; position: absolute; top: 58px; left: 12%; right: 12%; height: 2px; background: repeating-linear-gradient(90deg, var(--teal) 0 8px, transparent 8px 16px); }
.step { text-align: center; position: relative; padding: 0 10px; }
.step .icon { margin: 0 auto 22px; width: 76px; height: 76px; border-radius: 50%; font-size: 1.7rem; position: relative; z-index: 1; border: 6px solid var(--bg-alt); }
.step-no { position: absolute; top: -6px; left: calc(50% + 18px); z-index: 2; width: 28px; height: 28px; border-radius: 50%; background: var(--gold); color: #fff; font-size: .8rem; font-weight: 700; display: grid; place-items: center; }
.step h3 { font-size: 1.1rem; }
.step p { color: var(--muted); font-size: .92rem; }

/* ---------- 12. Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 40px; align-items: start; }
.contact-info { display: grid; gap: 22px; }
.info-item { display: flex; gap: 16px; }
.info-item > i { width: 48px; height: 48px; flex: none; border-radius: 14px; display: grid; place-items: center; background: rgba(18, 181, 176, .12); color: var(--teal-dark); }
.info-item h4 { margin-bottom: 2px; font-size: 1rem; }
.info-item p { margin: 0; color: var(--muted); }
.info-item a:hover { color: var(--teal-dark); }
.map { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--bg-alt); }
.map iframe { width: 100%; height: 240px; border: 0; }
.contact-form { background: #fff; padding: 36px; border-radius: 20px; border: 1px solid var(--line); box-shadow: var(--shadow); display: grid; gap: 18px; }
.contact-form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.contact-form label { font-size: .85rem; font-weight: 600; color: var(--navy); display: grid; gap: 6px; }
.contact-form input, .contact-form select, .contact-form textarea { font: inherit; font-weight: 400; padding: 13px 14px; border: 1px solid var(--line); border-radius: 10px; background: #fbfcfd; color: var(--ink); transition: border-color .2s, box-shadow .2s; width: 100%; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 4px rgba(18, 181, 176, .15); }
.contact-form .invalid { border-color: #d64545; }
.form-note { margin: 0; font-size: .9rem; min-height: 1.2em; }
.form-note.ok { color: var(--teal-dark); }
.form-note.err { color: #d64545; }

/* ---------- 13. Footer ---------- */
.footer { background: var(--navy-deep); color: #c7d2de; padding-top: 70px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 40px; padding-bottom: 50px; }
.footer h4 { color: #fff; font-size: 1rem; margin-bottom: 18px; }
.footer li { margin-bottom: 10px; font-size: .92rem; }
.footer li a:hover { color: var(--teal); }
.footer-about { margin: 18px 0; font-size: .92rem; max-width: 340px; }
.social { display: flex; gap: 10px; }
.social a { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .08); transition: background .25s, transform .25s; }
.social a:hover { background: var(--teal); transform: translateY(-3px); }
.copyright { border-top: 1px solid rgba(255, 255, 255, .1); padding: 20px 0; font-size: .85rem; text-align: center; }
.to-top { position: fixed; right: 22px; bottom: 22px; width: 46px; height: 46px; border-radius: 50%; border: 0; cursor: pointer; background: var(--teal); color: #fff; box-shadow: var(--shadow-lg); opacity: 0; pointer-events: none; transform: translateY(12px); transition: opacity .3s, transform .3s; z-index: 900; }
.to-top.show { opacity: 1; pointer-events: auto; transform: none; }

/* ---------- 14. Scroll animations ---------- */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity .8s ease, transform .8s cubic-bezier(.2, .8, .2, 1); }
.reveal.visible { opacity: 1; transform: none; }
/* stagger cards inside grids */
.grid > .reveal:nth-child(3n+2), .steps > .reveal:nth-child(2) { transition-delay: .12s; }
.grid > .reveal:nth-child(3n+3), .steps > .reveal:nth-child(3) { transition-delay: .24s; }
.steps > .reveal:nth-child(4) { transition-delay: .36s; }
@keyframes bounce { 0%, 100% { transform: translate(-50%, 0); } 50% { transform: translate(-50%, 8px); } }

/* ---------- 15. Responsive ---------- */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
  .steps::before { display: none; }
}
@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .nav { position: absolute; top: calc(100% + 8px); left: 4%; right: 4%; flex-direction: column; align-items: stretch; gap: 14px; padding: 20px; border-radius: 22px;
    background: rgba(10, 37, 64, .92); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); border: 1px solid rgba(255, 255, 255, .15);
    opacity: 0; visibility: hidden; transform: translateY(-10px); transition: opacity .3s, transform .3s, visibility .3s; }
  .nav.open { opacity: 1; visibility: visible; transform: none; }
  .nav ul { flex-direction: column; }
  .nav-link { display: block; }
  .nav-cta { text-align: center; }
  .site-header { padding: 10px 0; }
}
@media (max-width: 720px) {
  .section { padding: 70px 0; }
  .grid-3 { grid-template-columns: 1fr; }
  .contact-form .row, .mv { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .slide { padding: 34px 22px; }
  .contact-form { padding: 24px; }
}
@media (max-width: 480px) {
  .grid-4, .steps { grid-template-columns: 1fr; }
  .hero-actions .btn { width: 100%; text-align: center; }
}
/* Respect users who prefer reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .scroll-down { animation: none; }
  .hero-video { display: none; }
}

/* ---------- Content from PDF: detail cards and about extras ---------- */
.services-gap { margin-top: 90px; }
.card.detail { padding: 36px 34px; }
.card.detail h3 { font-size: 1.35rem; }
.card.detail h4 { font-size: .95rem; margin: 20px 0 10px; color: var(--teal-dark); }
.bullets { display: grid; gap: 9px; }
.bullets li { position: relative; padding-left: 22px; color: var(--muted); font-size: .93rem; }
.bullets li::before { content: ""; position: absolute; left: 0; top: .6em; width: 8px; height: 8px; border-radius: 50%; background: linear-gradient(135deg, var(--gold), var(--teal)); }
.about-text > p + p { margin-top: -.2em; }
.mv-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 70px; }
.mv-card h3 { font-size: 1.2rem; }
.mv-card .check-list { margin: 0; }
@media (max-width: 1024px) { .grid-2 { grid-template-columns: 1fr; } .mv-grid { grid-template-columns: 1fr; } .services-gap { margin-top: 70px; } }

/* ---------- Logo (header and footer) ---------- */
.brand img { height: 46px; width: auto; background: #fff; border-radius: 10px; padding: 4px 10px; box-shadow: 0 4px 14px rgba(0, 0, 0, .18); }
.brand { align-items: flex-start; }
.brand img { width: auto; max-width: none; flex: none; object-fit: contain; }
.brand.light img { height: 46px; }
@media (max-width: 480px) { .brand img { height: 38px; } }

.contact-form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.btn:disabled { opacity: .7; cursor: wait; transform: none; }

.map-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--teal-dark); }
.map-link:hover { color: var(--navy); }

.stat .num { font-variant-numeric: tabular-nums; }
