/* ============================================================
   SeaTrans Shipping — Design System & Global Styles
   ============================================================ */

/* ── CSS Custom Properties ── */
:root {
  --sea-green:          #7AC092;
  --sea-green-light:    #E4F5EE;
  --sea-green-dark:     #137A54;
  --coral-red:          #FF6F69;
  --coral-red-light:    #FDE8E8;
  --coral-red-dark:     #C42E2E;
  --golden-yellow:     #FFCC5C;
  --golden-yellow-light:#FFF8E0;
  --golden-yellow-dark: #C99800;
  --dark-navy:          #0A1628;
  --mid-navy:           #132040;
  --white:              #FFFFFF;
  --off-white:          #FAFBFC;
  --light-gray:         #F4F6F9;
  --medium-gray:        #E2E8F0;
  --text-primary:       #0F172A;
  --text-secondary:     #475569;
  --text-muted:         #94A3B8;
  --gradient-green:     linear-gradient(135deg, #1E9B6E 0%, #137A54 100%);
  --gradient-navy:      linear-gradient(135deg, #0A1628 0%, #132040 100%);
  --gradient-golden:    linear-gradient(135deg, #FFCC5C 0%, #C99800 100%);
  --font-heading: 'Poppins', sans-serif;
  --font-body:    'Manrope', sans-serif;
  --font-button:  'Inter', sans-serif;
  --shadow-sm:  0 1px 3px rgba(15,23,42,0.08), 0 1px 2px rgba(15,23,42,0.04);
  --shadow-md:  0 4px 12px rgba(15,23,42,0.10), 0 2px 4px rgba(15,23,42,0.06);
  --shadow-lg:  0 10px 30px rgba(15,23,42,0.12), 0 4px 10px rgba(15,23,42,0.06);
  --shadow-xl:  0 20px 50px rgba(15,23,42,0.14), 0 8px 20px rgba(15,23,42,0.08);
  --shadow-2xl: 0 40px 80px rgba(15,23,42,0.18), 0 16px 32px rgba(15,23,42,0.10);
  --section-padding: 6rem;
  --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --radius-sm: 8px; --radius-md: 12px; --radius-lg: 16px;
  --radius-xl: 20px; --radius-2xl: 24px;
  --z-nav: 9000; --z-loading: 9999;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--text-primary);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
ul, ol { list-style: none; }
button { cursor: pointer; font-family: inherit; }
input, textarea, select { font-family: inherit; }

/* ── Typography ── */
h1, h2, h3, h4, h5, h6 { font-family: var(--font-heading); font-weight: 700; line-height: 1.2; color: var(--text-primary); }

/* ── Container ── */
.container { max-width: 1280px; margin: 0 auto; padding: 0 2rem; width: 100%; }
.container-wide { max-width: 1440px; margin: 0 auto; padding: 0 2rem; }
.container-narrow { max-width: 840px; margin: 0 auto; padding: 0 2rem; }

.main-content-center {
  display: flex;
  justify-content: center;
  align-items: center;
}

/* ── Sections ── */
.section    { padding: var(--section-padding) 0; }
.section-sm { padding: 3.5rem 0; }
.section-lg { padding: 8rem 0; }
.section-light { background: var(--light-gray); }
.section-navy  { background: var(--gradient-navy); color: #fff; }

/* ── Grid ── */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 3rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  font-family: var(--font-button); font-weight: 600; font-size: 0.9rem;
  padding: 0.75rem 1.75rem; border-radius: 50px; border: 2px solid transparent;
  text-decoration: none; cursor: pointer; transition: all 0.25s var(--ease-smooth);
  position: relative; overflow: hidden; white-space: nowrap; letter-spacing: 0.01em;
}
.btn-sm { padding: 0.5rem 1.25rem; font-size: 0.8rem; }
.btn-lg { padding: 0.9rem 2.25rem; font-size: 0.95rem; }
.btn-xl { padding: 1.1rem 2.75rem; font-size: 1rem; }

.btn-primary { background: var(--gradient-green); color: #fff; box-shadow: 0 4px 20px rgba(30,155,110,0.35); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(30,155,110,0.45); }

.btn-yellow { background: var(--gradient-golden); color: var(--dark-navy); box-shadow: 0 4px 20px rgba(245,184,0,0.35); }
.btn-yellow:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(245,184,0,0.45); }

.btn-outline { background: transparent; border-color: rgba(255,255,255,0.4); color: #fff; }
.btn-outline:hover { background: rgba(255,255,255,0.12); border-color: rgba(255,255,255,0.7); transform: translateY(-2px); }

.btn-outline-green { background: transparent; border-color: var(--sea-green); color: var(--sea-green); }
.btn-outline-green:hover { background: var(--sea-green); color: #fff; transform: translateY(-2px); box-shadow: 0 6px 20px rgba(30,155,110,0.3); }

.btn-white { background: #fff; color: var(--dark-navy); box-shadow: 0 4px 20px rgba(10,22,40,0.2); }
.btn-white:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(10,22,40,0.3); }

.btn .ripple { position: absolute; border-radius: 50%; background: rgba(255,255,255,0.3); transform: scale(0); animation: ripple-out 0.6s linear; pointer-events: none; }
@keyframes ripple-out { to { transform: scale(4); opacity: 0; } }

/* ── Icon Box ── */
.icon-box { width: 3.25rem; height: 3.25rem; border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 1.3rem; flex-shrink: 0; }
.icon-box-green  { background: var(--sea-green-light); color: var(--sea-green); }
.icon-box-red    { background: var(--coral-red-light); color: var(--coral-red); }
.icon-box-yellow { background: var(--golden-yellow-light); color: var(--golden-yellow-dark); }
.icon-box-blue   { background: #E8F0FE; color: #3B82F6; }

/* ── Section Labels & Titles ── */
.section-label {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: var(--sea-green-light); color: var(--sea-green);
  font-family: var(--font-button); font-size: 0.78rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  padding: 0.375rem 1rem; border-radius: 50px;
  border: 1px solid rgba(30,155,110,0.25); margin-bottom: 1.25rem;
}
.label-white { background: rgba(255,255,255,0.12); color: #fff; border-color: rgba(255,255,255,0.25); }

.section-title {
  font-family: var(--font-heading); font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  font-weight: 800; line-height: 1.2; color: var(--text-primary);
  margin-bottom: 1.25rem; letter-spacing: -0.02em;
}
.section-title-white { color: #fff; }

.section-subtitle {
  font-size: 1.05rem; color: var(--text-secondary);
  line-height: 1.75; max-width: 600px; margin-bottom: 2rem;
}

/* ── Page Hero ── */
.page-hero {
  position: relative; 
  display: flex; align-items: center; justify-content: center; text-align: center;
  overflow: hidden; background: var(--dark-navy);
      min-height: 92vh;
      min-height: 92dvh;         /* dynamic viewport height */
      overflow: hidden;
      margin-bottom: 2rem;
}
.page-hero-bg {
  position: absolute; inset: -10%;
  background-size: cover; background-position: center;
}
/* .page-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(115deg, rgba(10,22,40,0.92) 0%, rgba(10,22,40,0.75) 50%, rgba(10,22,40,0.45) 100%);
} */
.page-hero-content {
  position: relative;
  padding-top: 8rem; padding-bottom: 4rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
      z-index: 5;
      width: 100%;
      max-width: 1280px;
      margin: 0 auto;
      padding: 3rem 2rem 4rem;
      min-height: 70vh;
      min-height: 70dvh;
      gap: 1.2rem;
}
.page-hero-breadcrumb {
  display: flex; align-items: center; gap: 0.5rem;
  justify-content: center; flex-wrap: wrap;
  font-family: var(--font-button); font-size: 0.8rem; font-weight: 500;
  color: rgba(255,255,255,0.55); margin-bottom: 1.5rem;
  margin-top: 5rem;
      flex-wrap: wrap;
      gap: 0.4rem 0.6rem;
      font-weight: 400;
      letter-spacing: 0.02em;
      opacity: 0.9;
    
}
.page-hero-breadcrumb a { color: white; text-decoration: none; transition: color 0.2s; }
.page-hero-breadcrumb a:hover { color: var(--sea-green); }
.page-hero-breadcrumb .separator { color: white; }
.page-hero-breadcrumb span { color: white; }
.page-hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 900;
  line-height: 1.08;
  color: #fff;
  margin-bottom: 1.5rem;
  text-align: center;
  animation: fade-in-up 0.9s 0.1s ease both;
      letter-spacing: -0.01em;
      max-width: 15ch;
}
.page-hero-title span { color: var(--golden-yellow); }
.page-hero-subtitle {
  font-size: clamp(0.95rem, 1.2vw, 1.1rem);
  color: #ffffff;
  font-weight: 600;
  line-height: 1.75;
  margin-bottom: 2rem;
  margin-left: auto;
  margin-right: auto;
  max-width: 620px;
  text-align: center;
  animation: fade-in-up 1s 0.2s ease both;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
}
.hero-actions {
   display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 3.5rem;
  text-align: center;
  animation: fade-in-up 1s 0.3s ease both;
}

.hero-actions .btn {
  min-width: max-content;
  max-width: 100%;
  white-space: normal;
  line-height: 1.2;
}

/* ── Image Zoom ── */
.img-zoom-container { overflow: hidden; border-radius: var(--radius-2xl); }
.img-zoom-container img { transition: transform 0.6s var(--ease-smooth); width: 100%; height: 100%; object-fit: cover; }
.img-zoom-container:hover img { transform: scale(1.04); }

/* ── AOS ── */
.aos-init { opacity: 0; transform: translateY(24px); transition: opacity 0.65s var(--ease-smooth), transform 0.65s var(--ease-smooth); }
.aos-init.aos-animate { opacity: 1; transform: translateY(0); }
.aos-fade-left { opacity: 0; transform: translateX(-32px); transition: opacity 0.65s var(--ease-smooth), transform 0.65s var(--ease-smooth); }
.aos-fade-left.aos-animate { opacity: 1; transform: translateX(0); }
.aos-fade-right { opacity: 0; transform: translateX(32px); transition: opacity 0.65s var(--ease-smooth), transform 0.65s var(--ease-smooth); }
.aos-fade-right.aos-animate { opacity: 1; transform: translateX(0); }
.aos-scale { opacity: 0; transform: scale(0.92); transition: opacity 0.65s var(--ease-smooth), transform 0.65s var(--ease-smooth); }
.aos-scale.aos-animate { opacity: 1; transform: scale(1); }
.aos-delay-100 { transition-delay: 0.1s !important; }
.aos-delay-200 { transition-delay: 0.2s !important; }
.aos-delay-300 { transition-delay: 0.3s !important; }
.aos-delay-400 { transition-delay: 0.4s !important; }
.aos-delay-500 { transition-delay: 0.5s !important; }

/* ── Loading Screen ── */
.loading-screen {
  position: fixed; inset: 0; background: var(--dark-navy);
  z-index: var(--z-loading); display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 2rem;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}
.loading-screen.hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.loading-screen.quick-transition {
  background: rgba(10, 22, 40, 0.96);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.loading-screen.quick-transition .loading-logo {
  width: min(170px, 55vw);
  animation-duration: 0.8s;
}
.loading-screen.quick-transition .loading-wave-dots span {
  width: 10px;
  height: 10px;
  animation-duration: 0.7s;
}
.loading-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: min(240px, 70vw);
  animation: loading-pulse 1.8s ease-in-out infinite;
}
.loading-logo img.loader-logo-img {
  max-width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 18px 40px rgba(0,0,0,0.22));
}
.loading-mark {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.loading-badge {
  width: 90px;
  height: 90px;
  border-radius: 28px;
  background: linear-gradient(135deg, rgba(34,197,94,0.15), rgba(255,255,255,0.16));
  border: 1px solid rgba(255,255,255,0.18);
  box-shadow: 0 20px 50px rgba(8, 27, 45, 0.3);
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
}
.loading-badge::before {
  content: '';
  position: absolute;
  inset: 12px;
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,0.14);
}
.loading-badge span {
  position: relative;
  z-index: 1;
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--sea-green);
}
.loading-wave-dots {
  display: flex;
  gap: 0.5rem;
}
.loading-wave-dots span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255,255,255,0.85);
  opacity: 0.8;
  animation: loading-wave 1.1s ease-in-out infinite;
}
.loading-wave-dots span:nth-child(1) { animation-delay: 0s; }
.loading-wave-dots span:nth-child(2) { animation-delay: 0.2s; }
.loading-wave-dots span:nth-child(3) { animation-delay: 0.4s; }
.loading-bar-container { width: 260px; height: 5px; background: rgba(255,255,255,0.12); border-radius: 999px; overflow: hidden; }
.loading-bar {
  height: 100%; width: 0;
  background: linear-gradient(90deg, rgba(34,197,94,0.95), rgba(251,191,36,0.95));
  border-radius: 999px;
  animation: load-progress 2.5s ease-in-out forwards;
}

/* ── Hero Wave ── */
.hero-wave {
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  line-height: 0;
  z-index: 3;
}

.hero-wave svg {
  display: block;
  width: 100%;
  height: 80px;
}
.hero-wave svg{
    width:100%;
    display:block;
    animation: waveFloat 6s ease-in-out infinite;
}

@keyframes waveFloat{
    0%,100%{
        transform:translateY(0);
    }
    50%{
        transform:translateY(8px);
    }
}

.hero-wave path{
    animation: waveMove 8s ease-in-out infinite;
}

@keyframes waveMove{
    0%,100%{
        transform:translateX(0);
    }
    50%{
        transform:translateX(-10px);
    }
}
@keyframes loading-wave {
  0%, 100% { transform: translateY(0); opacity: 0.75; }
  50% { transform: translateY(-10px); opacity: 1; }
}
@keyframes loading-pulse {
  0%, 100% { opacity: 0.95; transform: translateY(0); }
  50% { opacity: 0.7; transform: translateY(-4px); }
}
@keyframes load-progress {
  0% { width: 0%; }
  40% { width: 40%; }
  70% { width: 72%; }
  100% { width: 100%; }
}
@keyframes load-progress { 0% { width: 0; } 100% { width: 100%; } }
@keyframes loading-float { 0%, 100% { transform: translateY(0) rotate(0deg); } 50% { transform: translateY(-15px) rotate(-5deg); } }
@keyframes loading-pulse { 0%, 100% { opacity: 0.8; } 50% { opacity: 1; } }

/* ── Scroll Progress ── */
.scroll-progress { position: fixed; top: 0; left: 0; height: 3px; background: var(--gradient-golden); z-index: calc(var(--z-nav) + 1); width: 0; }

/* ── Back to Top ── */
.back-to-top {
  position: fixed; bottom: 2rem; right: 2rem; width: 3rem; height: 3rem;
  background: var(--gradient-green); color: #fff; border: none; border-radius: 50%;
  font-size: 1rem; box-shadow: 0 4px 20px rgba(30,155,110,0.4);
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: all 0.3s var(--ease-smooth); z-index: 500;
}
.back-to-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { transform: translateY(-3px); box-shadow: 0 8px 28px rgba(30,155,110,0.5); }

/* ── CTA Section ── */
.cta-section { background: var(--gradient-navy); position: relative; overflow: hidden; }
.cta-section::before {
  content: ''; position: absolute; width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(30,155,110,0.2) 0%, transparent 70%);
  top: 50%; left: 50%; transform: translate(-50%, -50%); pointer-events: none;
}
.cta-title { font-family: var(--font-heading); font-size: clamp(2rem, 4vw, 3.5rem); font-weight: 800; color: #fff; line-height: 1.2; margin-bottom: 1.25rem; }
.cta-subtitle { font-size: 1.1rem; color: rgba(255,255,255,0.7); max-width: 560px; margin: 0 auto 2.5rem; line-height: 1.7; }
.cta-actions { display: flex; align-items: center; justify-content: center; gap: 1rem; flex-wrap: wrap; }

/* ── Utilities ── */
.text-center { text-align: center; }
.text-white  { color: #fff; }
.text-green  { color: var(--sea-green); }
.text-yellow { color: var(--golden-yellow); }
.text-red    { color: var(--coral-red); }
.text-muted  { color: var(--text-muted); }
.font-bold   { font-weight: 700; }
.divider { height: 1px; background: var(--medium-gray); margin: 2rem 0; }

/* ── Responsive ── */
@media (max-width: 1280px) { .container { padding: 0 1.5rem; } }
@media (min-width: 1025px) {
  .container {
    padding-left: 3rem;
    padding-right: 3rem;
  }
}
@media (max-width: 1024px) {
  :root { --section-padding: 5rem; }
  .grid-2 { grid-template-columns: 1fr; gap: 2.5rem; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  :root { --section-padding: 4rem; }
  .section-sm { padding: 2.5rem 0; }
  .container { padding: 0 1.25rem; }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr 1fr; }
  .hero-subtitle { max-width: 100%; margin-bottom: 1.75rem; }


  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
  }

  .hero-actions .btn {
    width: 100%;
    min-width: 0;
    white-space: normal;
  }
}
@media (max-width: 480px) {
  :root { --section-padding: 3rem; }
  .container { padding: 0 1rem; }
  .grid-4 { grid-template-columns: 1fr; }
  
  .btn-lg { padding: 0.8rem 1.75rem; font-size: 0.875rem; }
}
   /* ---------- responsive fine-tune ---------- */
    @media (max-width: 992px) {
      .container.page-hero-content {
        padding: 2.5rem 1.8rem 3.5rem;
        min-height: 65vh;
        min-height: 65dvh;
      }
      .page-hero-subtitle {
        max-width: 90%;
      }
    }

    @media (max-width: 768px) {
      .page-hero {
        min-height: 80vh;
        min-height: 80dvh;
      }
      .container.page-hero-content {
        padding: 2rem 1.5rem 3rem;
        min-height: 60vh;
        min-height: 60dvh;
        gap: 0.8rem;
      }
      .page-hero-breadcrumb {
        font-size: 0.8rem;
        gap: 0.3rem 0.5rem;
      }
      .page-hero-title {
        max-width: 100%;
      }
      .page-hero-subtitle {
        max-width: 100%;
        font-size: clamp(0.95rem, 2.5vw, 1.1rem);
      }
      .hero-wave {
        height: 60px;
      }
    }

    @media (max-width: 480px) {
      .page-hero {
        min-height: 75vh;
        min-height: 75dvh;
      }
      .container.page-hero-content {
        padding: 1.5rem 1rem 2.8rem;
        gap: 0.5rem;
      }
      .page-hero-title {
        font-size: clamp(2rem, 13vw, 2.8rem);
      }
      .page-hero-breadcrumb {
        font-size: 0.7rem;
        gap: 0.2rem 0.4rem;
      }
      .page-hero-breadcrumb .separator i {
        font-size: 0.5rem;
      }
      .hero-actions {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
        margin-top: 0.8rem;
      }
      .hero-actions .btn {
        width: 100%;
        justify-content: center;
        min-width: unset;
        padding: 0.7rem 1rem;
        font-size: 0.95rem;
      }
      .hero-wave {
        height: 48px;
      }
    }

    /* extra: landscape phones */
    @media (max-height: 600px) and (orientation: landscape) {
      .page-hero {
        min-height: 100vh;
        min-height: 100dvh;
      }
      .container.page-hero-content {
        padding: 1.2rem 1.8rem 2.2rem;
        min-height: 80vh;
        min-height: 80dvh;
        gap: 0.4rem;
      }
      .page-hero-title {
        font-size: clamp(1.8rem, 6vw, 3rem);
      }
      .page-hero-subtitle {
        font-size: 0.9rem;
        max-width: 80%;
      }
      .hero-wave {
        height: 40px;
      }
      .btn {
        min-height: 42px;
        padding: 0.4rem 1.2rem;
        font-size: 0.85rem;
        min-width: 120px;
      }
    }

    /* high dpi / big screens */
    @media (min-width: 1600px) {
      .container.page-hero-content {
        max-width: 1440px;
        padding: 4rem 3rem;
      }
      .page-hero-title {
        font-size: 5rem;
      }
      .hero-wave {
        height: 100px;
      }
    }

    /* accessibility & touch */
    .btn {
      cursor: pointer;
      -webkit-tap-highlight-color: transparent;
    }
    .btn:focus-visible {
      outline: 3px solid #facc15;
      outline-offset: 4px;
    }