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

:root {
  --color-ocean-dark: #0a1b2d;
  --color-ocean-navy: #13365c;
  --color-ocean-mid: #1d5386;
  --color-cyan-glow: #38bdf8;
  --color-cyan-border: #52b1ec;
  --color-amber-gold: #f59e0b;
  --color-amber-light: #fbbf24;
  --color-text-white: #ffffff;
  --color-text-muted: #cbd5e1;
  --font-display: 'Outfit', 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-headline: 'Montserrat', 'Outfit', sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
}

html, body {
  width: 100%;
  min-height: 100%;
  background-color: var(--color-ocean-dark);
  color: var(--color-text-white);
  overflow-x: hidden;
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Slim Custom Scrollbar */
::-webkit-scrollbar {
  width: 7px;
}

::-webkit-scrollbar-track {
  background: var(--color-ocean-dark);
}

::-webkit-scrollbar-thumb {
  background: rgba(56, 189, 248, 0.25);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(56, 189, 248, 0.5);
}

/* Minimalist Progress Loader Bar */
.loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.05);
  pointer-events: none;
  transition: opacity 0.5s ease-out;
}

.loader.loaded {
  opacity: 0;
}

.progress-bar {
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, var(--color-amber-gold), var(--color-cyan-glow));
  transition: width 0.15s ease-out;
}

/* Fixed Fullscreen Canvas Background Viewport */
.canvas-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
  pointer-events: none;
  background-color: var(--color-ocean-dark);
}

#hero-canvas {
  display: block;
  width: 100vw;
  height: 100vh;
}

/* Hero Section UI Overlay */
.hero-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 10;
  pointer-events: none;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  transition: opacity 0.3s ease-out, transform 0.3s ease-out;
  will-change: opacity, transform;
}

/* Organic Wave Decorative Backdrop */
.wave-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

.wave-svg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: drop-shadow(4px 0 25px rgba(0, 0, 0, 0.5));
}

/* Decorative Vectors & Grid Patterns */
.decorations {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

/* Dot Grid Matrix */
.dot-grid {
  position: absolute;
  display: grid;
  grid-template-columns: repeat(5, 7px);
  gap: 8px;
}

.dot-grid span {
  width: 4px;
  height: 4px;
  background-color: rgba(245, 158, 11, 0.4);
  border-radius: 50%;
  display: block;
}

.dot-grid-top {
  top: 140px;
  left: 60px;
}

.dot-grid-bottom {
  bottom: 60px;
  left: 540px;
}

.dot-grid-bottom span {
  background-color: rgba(56, 189, 248, 0.4);
}

/* Zigzag Lines */
.zigzag-svg {
  position: absolute;
}

.zigzag-top {
  top: 250px;
  right: 52%;
}

.zigzag-bottom {
  bottom: 80px;
  left: 60px;
}

/* Triangle Accent */
.triangle-accent {
  position: absolute;
  top: 110px;
  left: 450px;
  width: 0;
  height: 0;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-top: 16px solid rgba(56, 189, 248, 0.35);
  transform: rotate(25deg);
}

/* Marine Watermarks */
.marine-watermark {
  position: absolute;
  pointer-events: none;
}

.marine-fish {
  top: 120px;
  left: 360px;
  width: 90px;
  transform: rotate(-15deg);
}

.marine-shrimp {
  bottom: 220px;
  left: 550px;
  width: 80px;
  transform: rotate(20deg);
}

/* Main Content Wrapper */
.hero-content-wrapper {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 4rem;
  display: flex;
  align-items: center;
}

.hero-card {
  max-width: 580px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  pointer-events: auto;
}

/* Esther Seafood Brand Logo */
.hero-brand {
  margin-bottom: 2.2rem;
}

.esther-logo-wrapper {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 
    0 10px 30px -5px rgba(0, 0, 0, 0.6),
    0 4px 15px rgba(251, 234, 110, 0.25);
  border: 2px solid rgba(251, 234, 110, 0.35);
  background-color: #fbea6e;
  cursor: pointer;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease, border-color 0.3s ease;
}

.esther-logo-wrapper:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 
    0 16px 36px -4px rgba(0, 0, 0, 0.7),
    0 0 25px rgba(251, 234, 110, 0.5);
  border-color: #fbea6e;
}

.hero-logo-img {
  display: block;
  width: 250px;
  height: auto;
  max-width: 100%;
  object-fit: contain;
}

/* Eyebrow Headline */
.hero-eyebrow {
  margin-bottom: 0.5rem;
}

.hero-eyebrow span {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  color: var(--color-amber-gold);
  text-transform: uppercase;
  display: inline-block;
  text-shadow: 0 2px 10px rgba(245, 158, 11, 0.2);
}

/* Main Display Headline */
.hero-title {
  font-family: var(--font-headline);
  font-size: clamp(3.2rem, 5.8vw, 5.2rem);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  margin-bottom: 1.2rem;
  display: flex;
  flex-direction: column;
}

.title-fresh {
  color: #ffffff;
  -webkit-text-stroke: 1.5px rgba(255, 255, 255, 0.85);
  letter-spacing: 0.04em;
  filter: drop-shadow(0 4px 15px rgba(0, 0, 0, 0.6));
}

.title-delivery {
  color: #ffffff;
  position: relative;
  letter-spacing: 0.02em;
  /* Stylized inline shadow stroke inspired by reference */
  text-shadow: 
    3px 3px 0px var(--color-ocean-navy),
    -1px -1px 0px rgba(255, 255, 255, 0.2),
    0 10px 25px rgba(0, 0, 0, 0.7);
  background: linear-gradient(180deg, #ffffff 40%, #e2e8f0 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Tagline & Divider */
.hero-tagline-wrap {
  width: 100%;
  margin-bottom: 1rem;
}

.hero-tagline {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: #ffffff;
  text-transform: uppercase;
  margin-bottom: 0.6rem;
}

.tagline-divider {
  width: 100%;
  max-width: 440px;
  height: 2px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.4), rgba(56, 189, 248, 0.1), transparent);
}

/* Description Text */
.hero-description {
  font-size: 0.92rem;
  line-height: 1.65;
  color: var(--color-text-muted);
  max-width: 460px;
  margin-bottom: 1.2rem;
  font-weight: 400;
}

/* Call Area Badge */
.hero-cta-area {
  margin-top: 0.5rem;
}

.call-badge-container {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1.1rem 2.2rem;
  cursor: pointer;
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.call-badge-container:hover {
  transform: translateY(-3px) scale(1.03);
}

.call-badge-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.4));
  transition: filter 0.25s ease;
}

.call-badge-container:hover .call-badge-bg {
  filter: drop-shadow(0 12px 25px rgba(56, 189, 248, 0.4));
}

.call-badge-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.call-label {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  color: #ffffff;
  text-transform: uppercase;
  line-height: 1.2;
}

.call-phone {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--color-amber-gold);
  text-decoration: none;
  letter-spacing: 0.05em;
  transition: color 0.2s ease;
}

.call-phone:hover {
  color: var(--color-amber-light);
}

/* Trusted By Section & Card Slider */
.trusted-by-section {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.75rem;
  margin-top: 1.6rem;
  width: 100%;
  max-width: 520px;
  pointer-events: auto;
}

.trusted-by-title {
  font-family: var(--font-headline);
  font-size: 12.5pt;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
  text-shadow: 
    0 2px 8px rgba(0, 0, 0, 0.7),
    0 0 12px rgba(56, 189, 248, 0.2);
  line-height: 1;
}

.trusted-slider-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  width: 100%;
  max-width: 500px;
  padding-bottom: 1.25rem; /* Space for bottom pagination dots */
}

/* Slider Navigation Arrows */
.trusted-arrow {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(19, 54, 92, 0.85);
  border: 1.5px solid rgba(56, 189, 248, 0.5);
  color: var(--color-cyan-glow);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.35);
  padding: 0;
  flex-shrink: 0;
}

.trusted-arrow:hover {
  background: var(--color-cyan-glow);
  color: var(--color-ocean-dark);
  transform: scale(1.12);
  box-shadow: 0 0 12px rgba(56, 189, 248, 0.7);
  border-color: var(--color-cyan-glow);
}

.trusted-arrow:active {
  transform: scale(0.92);
}

/* 3x Expanded Card Viewport and Slide Track (Shows 3 cards at once) */
.trusted-carousel-viewport {
  flex: 1;
  width: 100%;
  max-width: 435px;
  height: 72px;
  overflow: hidden;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1.5px solid rgba(56, 189, 248, 0.25);
  box-shadow: 
    0 8px 24px -4px rgba(0, 0, 0, 0.5),
    inset 0 0 15px rgba(56, 189, 248, 0.04);
  position: relative;
  padding: 4px;
}

.trusted-carousel-viewport:hover {
  border-color: rgba(56, 189, 248, 0.45);
}

.trusted-track {
  display: flex;
  gap: 8px;
  height: 100%;
  transition: transform 0.5s cubic-bezier(0.33, 1, 0.68, 1);
}

.trusted-card {
  /* Exactly 3 cards visible side-by-side */
  flex: 0 0 calc((100% - 16px) / 3);
  min-width: 0;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.35rem 0.6rem;
  border-radius: 10px;
  background: #ffffff;
  box-shadow: 
    0 4px 12px rgba(0, 0, 0, 0.25),
    0 0 8px rgba(56, 189, 248, 0.12);
  border: 1.5px solid rgba(56, 189, 248, 0.2);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.trusted-card:hover {
  transform: translateY(-2px);
  box-shadow: 
    0 8px 18px rgba(0, 0, 0, 0.35),
    0 0 12px rgba(56, 189, 248, 0.4);
  border-color: var(--color-cyan-glow);
}

.partner-img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  display: block;
  user-select: none;
  pointer-events: none;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.08));
}

/* Bottom Slider / Pagination Indicators */
.trusted-pagination {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 5px;
  z-index: 2;
}

.trusted-dot {
  width: 7px;
  height: 5px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.3);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.trusted-dot:hover {
  background: rgba(56, 189, 248, 0.75);
}

.trusted-dot.active {
  width: 20px;
  background: var(--color-amber-gold);
  box-shadow: 0 0 8px rgba(245, 158, 11, 0.6);
}

/* Bottom Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  right: 3rem;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: rgba(255, 255, 255, 0.6);
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  pointer-events: none;
  animation: pulseHint 2.5s infinite ease-in-out;
}

.mouse-icon {
  width: 20px;
  height: 32px;
  border: 2px solid rgba(56, 189, 248, 0.6);
  border-radius: 12px;
  position: relative;
}

.mouse-icon .wheel {
  width: 3px;
  height: 6px;
  background-color: var(--color-amber-gold);
  border-radius: 2px;
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  animation: scrollWheel 1.5s infinite;
}

@keyframes scrollWheel {
  0% { transform: translate(-50%, 0); opacity: 1; }
  100% { transform: translate(-50%, 10px); opacity: 0; }
}

@keyframes pulseHint {
  0%, 100% { opacity: 0.7; transform: translateY(0); }
  50% { opacity: 1; transform: translateY(-4px); }
}

/* Scroll Runway - drives the 65 frames smoothly */
.scroll-track {
  position: relative;
  width: 100%;
  height: 400vh;
  z-index: 2;
  pointer-events: auto;
}

/* Responsive Media Queries */
@media (max-width: 1024px) {
  .hero-content-wrapper {
    padding: 0 2rem;
  }
  
  .wave-backdrop svg path:first-child {
    d: path("M0 0H850C790 180 930 320 820 460C730 580 990 720 950 900H0V0Z");
  }
  
  .hero-card {
    max-width: 480px;
  }

  .dot-grid-bottom {
    left: 420px;
  }
}

@media (max-width: 768px) {
  .hero-content-wrapper {
    padding: 0 1.5rem;
  }

  .hero-card {
    max-width: 100%;
    align-items: center;
    text-align: center;
  }

  .hero-brand {
    margin-bottom: 1.5rem;
  }

  .hero-logo-img {
    width: 200px;
  }

  .hero-title {
    align-items: center;
    font-size: 3rem;
  }

  .tagline-divider {
    margin: 0 auto;
  }

  .hero-description {
    max-width: 100%;
  }

  .trusted-by-section {
    flex-direction: column;
    align-items: center;
    gap: 0.6rem;
    margin-top: 1.2rem;
  }

  .trusted-slider-wrapper {
    justify-content: center;
    max-width: 100%;
  }

  .trusted-carousel-viewport {
    max-width: 340px;
  }

  .trusted-by-title {
    font-size: 10.5pt;
  }

  .wave-backdrop {
    opacity: 0.9;
  }

  .dot-grid, .zigzag-svg, .marine-watermark, .triangle-accent {
    display: none;
  }

  .scroll-indicator {
    display: none;
  }
}
