/* =========================
   Innotech Shipping Ltd
   Global Styles (All Pages)
   File: styles.css
   ========================= */

/* ------ CSS Reset (modern) ------ */
*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Manrope", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: #0f172a;               /* slate-900 */
  background: #ffffff;
  line-height: 1.6;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
ul { margin: 0; padding-left: 1.2rem; }
p { margin: 0 0 1rem; }
h1, h2, h3, h4 { margin: 0 0 0.75rem; line-height: 1.15; }

:root{
  --bg: #ffffff;
  --bg-soft: #f6f8fc;
  --text: #0f172a;
  --muted: #475569;            /* slate-600 */
  --muted-2: #64748b;          /* slate-500 */
  --line: rgba(15, 23, 42, .10);

  --brand: #0b5cff;            /* primary */
  --brand-2: #19a7ff;          /* accent */
  --dark: #0b1220;

  --radius: 18px;
  --radius-lg: 26px;

  --shadow: 0 14px 40px rgba(2, 6, 23, .10);
  --shadow-soft: 0 10px 26px rgba(2, 6, 23, .08);

  --container: 1160px;
}

/* ------ Layout Helpers ------ */
.container{
  width: min(var(--container), calc(100% - 2.2rem));
  margin-inline: auto;
}

.narrow{
  width: min(860px, calc(100% - 2.2rem));
  margin-inline: auto;
}

.center-text{ text-align: center; }

.section{
  padding: 80px 0;
}

.section.soft{
  background: linear-gradient(180deg, var(--bg-soft), #fff);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-head{
  margin-bottom: 26px;
}

.section-head.center-text{
  text-align: center;
}

.section-head-center{
  text-align: center;
  margin-bottom: 26px;
}

.lead{
  font-size: 1.05rem;
  color: var(--muted);
}

/* ------ Header / Nav ------ */
.site-header{
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.78);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.header-inner{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 0;
}

.brand{
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand-mark{
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(11,92,255,.14), rgba(25,167,255,.12));
  border: 1px solid rgba(11,92,255,.25);
  box-shadow: 0 10px 22px rgba(11,92,255,.10);
  font-size: 18px;
}

.brand-text strong{
  display: block;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1;
}
.brand-text span{
  display: block;
  color: var(--muted);
  font-size: 0.92rem;
  margin-top: 2px;
}

.site-nav{
  display: flex;
  align-items: center;
  gap: 18px;
}

.site-nav a{
  font-weight: 650;
  font-size: 0.95rem;
  color: rgba(15, 23, 42, .80);
  padding: 10px 12px;
  border-radius: 12px;
  transition: background .2s ease, color .2s ease, transform .2s ease;
}

.site-nav a:hover{
  background: rgba(11,92,255,.08);
  color: var(--text);
}

.site-nav a.active{
  background: rgba(11,92,255,.12);
  border: 1px solid rgba(11,92,255,.22);
  color: var(--text);
}

.header-actions{
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-toggle{
  display: none;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 12px;
  padding: 10px 12px;
  cursor: pointer;
  box-shadow: 0 10px 22px rgba(2,6,23,.06);
}

/* Mobile nav behavior (JS will toggle .nav-open on body) */
@media (max-width: 900px){
  .site-nav{ display: none; }
  .nav-toggle{ display: inline-flex; }

  body.nav-open .site-nav{
    display: grid;
    position: absolute;
    left: 1.1rem;
    right: 1.1rem;
    top: 70px;
    background: rgba(255,255,255,.96);
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 12px;
    box-shadow: var(--shadow);
    gap: 6px;
  }
  body.nav-open .site-nav a{ padding: 12px 12px; }
}

/* ------ Buttons ------ */
.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 14px;
  font-weight: 750;
  letter-spacing: -0.01em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .16s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
  user-select: none;
  white-space: nowrap;
}

.btn:active{ transform: translateY(1px); }

.btn-primary{
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: #fff;
  box-shadow: 0 16px 40px rgba(11,92,255,.18);
}

.btn-primary:hover{
  box-shadow: 0 18px 46px rgba(11,92,255,.26);
}

.btn-ghost{
  background: rgba(255,255,255,.75);
  border-color: rgba(15,23,42,.14);
  color: var(--text);
}

.btn-ghost:hover{
  background: rgba(11,92,255,.06);
  border-color: rgba(11,92,255,.22);
}

.btn-light{
  background: #fff;
  border-color: rgba(255,255,255,.40);
  color: var(--dark);
}

.btn-light:hover{
  border-color: rgba(11,92,255,.25);
}

/* ------ Hero (Home) ------ */
.hero{
  position: relative;
  min-height: 100vh;
  overflow: hidden;
}

.hero-bg{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.03);
  filter: saturate(1.05) contrast(1.02);
}

.hero-overlay{
  position: absolute;
  inset: 0;
  background:
    radial-gradient(900px 520px at 22% 30%, rgba(11,92,255,.42), transparent 60%),
    radial-gradient(700px 520px at 78% 44%, rgba(25,167,255,.26), transparent 55%),
    linear-gradient(180deg, rgba(2,6,23,.58), rgba(2,6,23,.40), rgba(255,255,255,0));
}

.hero-content{
  position: relative;
  padding: 110px 0 70px;
  color: #fff;
}

.hero-pill, .hero .hero-pill{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.20);
  backdrop-filter: blur(10px);
  font-weight: 700;
  width: fit-content;
  margin-bottom: 14px;
}

.hero h1{
  font-size: clamp(2.1rem, 4.6vw, 3.6rem);
  letter-spacing: -0.04em;
  max-width: 820px;
}

.hero-sub{
  color: rgba(255,255,255,.88);
  max-width: 720px;
  font-size: 1.05rem;
  margin-top: 12px;
}

.hero-cta{
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.hero-mini-stats{
  margin-top: 36px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 820px;
}

.mini-stat{
  padding: 16px;
  border-radius: 18px;
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.16);
  backdrop-filter: blur(10px);
}

.mini-stat strong{
  display: block;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}

.mini-stat span{
  display: block;
  color: rgba(255,255,255,.82);
  font-size: .92rem;
  margin-top: 4px;
}

@media (max-width: 720px){
  .hero-content{ padding: 92px 0 58px; }
  .hero-mini-stats{ grid-template-columns: 1fr; }
}

/* ------ Page Hero (Inner pages) ------ */
.page-hero{
  position: relative;
  min-height: 55vh;
  overflow: hidden;
}

.page-hero-bg{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-hero-overlay{
  position: absolute;
  inset: 0;
  background:
    radial-gradient(760px 420px at 22% 34%, rgba(11,92,255,.34), transparent 58%),
    linear-gradient(180deg, rgba(2,6,23,.62), rgba(2,6,23,.45), rgba(2,6,23,.28));
}

.page-hero-content{
  position: relative;
  padding: 92px 0 44px;
  color: #fff;
}

.page-hero-content h1{
  font-size: clamp(1.9rem, 4.2vw, 3.2rem);
  letter-spacing: -0.04em;
  max-width: 920px;
}

.breadcrumb{
  margin-top: 14px;
  display: inline-flex;
  gap: 10px;
  align-items: center;
  padding: 10px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.16);
  backdrop-filter: blur(10px);
  color: rgba(255,255,255,.86);
  font-weight: 650;
  font-size: .92rem;
}

.breadcrumb a{ color: #fff; opacity: .92; }
.breadcrumb span{ opacity: .78; }

/* ------ Split Layouts ------ */
.split{
  display: grid;
  grid-template-columns: 1.2fr .95fr;
  align-items: center;
  gap: 32px;
}

.about-split{
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 32px;
  align-items: center;
}

.section-grid{
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 32px;
  align-items: center;
}

.split-visual img,
.about-visual img,
.section-visual img{
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  object-fit: cover;
  max-height: 520px;
}

@media (max-width: 980px){
  .split, .about-split, .section-grid{
    grid-template-columns: 1fr;
  }
}

/* ------ Cards / Grids ------ */
.cards-grid{
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

@media (max-width: 1100px){
  .cards-grid{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 680px){
  .cards-grid{ grid-template-columns: 1fr; }
}

.service-card,
.info-card,
.quote-card{
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.service-card img{
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.card-body{
  padding: 16px 16px 18px;
}

.card-body h3{
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}

.card-body p{
  color: var(--muted);
  margin-bottom: 12px;
}

.card-body a{
  font-weight: 750;
  color: var(--brand);
}

.info-card{
  padding: 18px;
}

.info-card p, .info-card li{ color: var(--muted); }

.quote-cards{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 16px;
}

@media (max-width: 900px){
  .quote-cards{ grid-template-columns: 1fr; }
}

.quote-card{
  padding: 16px;
  background: linear-gradient(135deg, rgba(11,92,255,.06), rgba(25,167,255,.04));
}
.quote-card p{ margin: 0; font-weight: 700; color: rgba(15,23,42,.86); }

/* ------ KPI / Badges ------ */
.badge-row{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 14px 0 8px;
}

.badge{
  font-size: .88rem;
  font-weight: 750;
  color: rgba(15,23,42,.82);
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.7);
}

.mini-kpis{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.kpi{
  border-radius: 18px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.7);
  padding: 16px;
  box-shadow: 0 10px 20px rgba(2,6,23,.05);
}

.kpi strong{
  display: block;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}

.kpi span{
  display: block;
  color: var(--muted);
  margin-top: 4px;
  font-size: .92rem;
}

@media (max-width: 720px){
  .mini-kpis{ grid-template-columns: 1fr; }
}

/* Floating stats used on home */
.floating-stats{
  position: absolute;
  left: 16px;
  bottom: 16px;
  display: grid;
  gap: 10px;
}

.section-visual{
  position: relative;
}

.stat-box{
  background: rgba(255,255,255,.86);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 12px 14px;
  box-shadow: var(--shadow-soft);
}

.stat-box strong{
  display: block;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
}
.stat-box span{
  display: block;
  color: var(--muted);
  font-size: .9rem;
}

@media (max-width: 980px){
  .floating-stats{ position: static; margin-top: 12px; }
}

/* ------ Lists / Features ------ */
.checklist{
  list-style: none;
  padding-left: 0;
  display: grid;
  gap: 10px;
  margin: 14px 0 0;
}

.checklist li{
  position: relative;
  padding-left: 30px;
  color: var(--muted);
}

.checklist li::before{
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  width: 22px;
  height: 22px;
  border-radius: 7px;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  font-weight: 900;
  font-size: .85rem;
}

.feature-list{
  display: grid;
  gap: 12px;
  margin-top: 14px;
}

.feature{
  padding: 16px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: rgba(255,255,255,.7);
  box-shadow: 0 10px 22px rgba(2,6,23,.05);
}

.feature h3{ margin-bottom: 6px; }
.feature p{ margin: 0; color: var(--muted); }

/* ------ Timeline (About page) ------ */
.timeline{
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.timeline-step{
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 12px;
  padding: 16px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: 0 10px 22px rgba(2,6,23,.05);
}

.step-number{
  width: 58px;
  height: 58px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  font-weight: 900;
  letter-spacing: -0.02em;
  color: #fff;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
}

.step-content p{ margin: 0; color: var(--muted); }

@media (max-width: 560px){
  .timeline-step{ grid-template-columns: 1fr; }
}

/* ------ Two Column (Terms page) ------ */
.two-col{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 16px;
}

@media (max-width: 820px){
  .two-col{ grid-template-columns: 1fr; }
}

.notice-box{
  margin-top: 14px;
  padding: 16px;
  border-radius: var(--radius);
  border: 1px solid rgba(11,92,255,.22);
  background: linear-gradient(135deg, rgba(11,92,255,.08), rgba(25,167,255,.06));
  color: rgba(15,23,42,.86);
}

/* ------ CTA Strip ------ */
.cta-strip{
  padding: 64px 0;
  background:
    radial-gradient(900px 520px at 25% 50%, rgba(11,92,255,.16), transparent 60%),
    radial-gradient(700px 520px at 80% 45%, rgba(25,167,255,.12), transparent 58%),
    linear-gradient(180deg, #0b1220, #0b1220);
  color: #fff;
}

.cta-inner{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.cta-inner h2{
  margin-bottom: 8px;
  letter-spacing: -0.03em;
}

.cta-inner p{ color: rgba(255,255,255,.86); margin: 0; }

.cta-actions{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

@media (max-width: 900px){
  .cta-inner{ flex-direction: column; align-items: flex-start; }
}

/* ------ Forms (Contact) ------ */
.contact-form{
  display: grid;
  gap: 12px;
  margin-top: 14px;
}

.contact-form label{
  display: grid;
  gap: 8px;
}

.contact-form span{
  font-weight: 750;
  color: rgba(15,23,42,.85);
}

input, textarea{
  width: 100%;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(15,23,42,.16);
  background: rgba(255,255,255,.9);
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease;
}

input:focus, textarea:focus{
  border-color: rgba(11,92,255,.45);
  box-shadow: 0 0 0 5px rgba(11,92,255,.14);
}

textarea{ resize: vertical; min-height: 120px; }

.map-box{
  margin-top: 18px;
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.contact-details{
  margin-top: 18px;
  color: var(--muted);
}

.contact-details a{
  color: var(--brand);
  font-weight: 750;
}

/* ------ Footer ------ */
.site-footer{
  background: #0b1220;
  color: rgba(255,255,255,.88);
  padding: 56px 0 0;
}

.footer-grid{
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 18px;
  padding-bottom: 34px;
}

.footer-brand p{
  color: rgba(255,255,255,.75);
  margin-top: 8px;
}

.footer-links h4,
.footer-contact h4{
  margin-bottom: 10px;
  color: #fff;
  letter-spacing: -0.02em;
}

.footer-links a{
  display: block;
  padding: 8px 0;
  color: rgba(255,255,255,.78);
  transition: color .2s ease;
}

.footer-links a:hover{
  color: #fff;
}

.footer-contact p{
  margin: 8px 0 0;
  color: rgba(255,255,255,.78);
}

.footer-bottom{
  border-top: 1px solid rgba(255,255,255,.12);
  padding: 16px 0;
  color: rgba(255,255,255,.70);
  font-size: .95rem;
}

.footer-logo{
  display: flex;
  gap: 12px;
  align-items: center;
}

.footer-logo span{
  width: 44px;
  height: 44px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.14);
}

@media (max-width: 900px){
  .footer-grid{
    grid-template-columns: 1fr;
  }
}

/* ------ Small polish ------ */
.section a.btn{ margin-top: 10px; }
.card-body a:hover{ text-decoration: underline; }

/* Optional: simple scroll progress bar (if you add later with JS) */
.scroll-progress{
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--brand), var(--brand-2));
  z-index: 100;
}

/* Add these 3 blocks into your styles.css (anywhere, recommended near CTA section) */
/* Parallax image strip */
.parallax-strip{
  position: relative;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  overflow: hidden;
  display: grid;
  place-items: center;
  border-top: 1px solid rgba(15,23,42,.10);
  border-bottom: 1px solid rgba(15,23,42,.10);
 
}
.parallax-overlay{
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(2,6,23,.55), rgba(2,6,23,.35));
}
.parallax-content{
  position: relative;
  color: #fff;
  font-weight: 800;
  letter-spacing: -0.03em;
  text-align: center;
  font-size: clamp(1.1rem, 2.2vw, 1.6rem);
  text-shadow: 0 14px 35px rgba(2,6,23,.55);
  padding: 0 14px;
}

/* Mobile fix: background-attachment fixed is heavy on phones */
@media (max-width: 900px){
  .parallax-strip{ background-attachment: scroll; }
}

/* ===== Home: stronger "scroll page" feel ===== */
.section{
  scroll-margin-top: 90px; /* nicer anchor jumps under sticky header */
}

.section.soft{
  background: linear-gradient(180deg, #f6f8fc, #ffffff);
}

.section-divider{
  height: 24px;
  background: linear-gradient(90deg, rgba(11,92,255,.10), rgba(25,167,255,.06), rgba(11,92,255,.10));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}


