/* ==========================================================================
   PACIFEX Global Trade & Logistics Pvt Ltd — Shared Site Stylesheet
   Extracted from index.html so all pages share one cacheable stylesheet.
   Design system: navy (#07182D) · gold (#D5A62E) · white · slate (#F4F7FB)
   ========================================================================== */

@layer base {
  body {
    font-family: 'Inter', sans-serif;
    color: #172B45;
    background-color: #F4F7FB;
    -webkit-font-smoothing: antialiased;
  }
  h1, h2, h3, h4, h5, h6 {
    font-family: 'Hanken Grotesk', sans-serif;
    letter-spacing: -0.015em;
  }
}
.caption-caps {
  font-family: 'Hanken Grotesk', sans-serif;
  font-size: 11px;
  font-weight: 700;
  line-height: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.card-shadow {
  box-shadow: 0 1px 4px rgba(7, 24, 45, 0.06), 0 8px 24px rgba(7, 24, 45, 0.05);
}
.card-shadow-hover {
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.card-shadow-hover:hover {
  box-shadow: 0 16px 36px -4px rgba(7, 24, 45, 0.14), 0 6px 14px -2px rgba(7, 24, 45, 0.06);
  border-color: #D5A62E;
  transform: translateY(-4px);
}
.pb-safe {
  padding-bottom: env(safe-area-inset-bottom, 0px);
}

/* Hero Slideshow Transitions */
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 1.2s cubic-bezier(0.4, 0, 0.2, 1), visibility 1.2s;
  z-index: 1;
}
.hero-slide.active {
  opacity: 1;
  visibility: visible;
  z-index: 2;
}
@media (prefers-reduced-motion: reduce) {
  .hero-slide {
    transition: none !important;
  }
}

/* Image zoom hover effect */
.img-zoom-container {
  overflow: hidden;
}
.img-zoom-container img {
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.img-zoom-container:hover img {
  transform: scale(1.05);
}

/* ===== Hero Section Base & Responsive Styles ===== */
.hero-section {
  min-height: 560px;
}
@media (min-width: 640px) {
  .hero-section { min-height: 620px; }
}
@media (min-width: 1024px) {
  .hero-section { min-height: 680px; }
}
@media (min-width: 1280px) {
  .hero-section { min-height: 720px; }
}

/* Slider Navigation Controls (Desktop / Default) */
.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 30;
  width: 44px;
  height: 44px;
  border-radius: 9999px;
  background: rgba(7, 24, 45, 0.7);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(8px);
  transition: all 0.2s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}
.slider-arrow:hover {
  background: #D5A62E;
  color: #07182D;
  border-color: #D5A62E;
  transform: translateY(-50%) scale(1.05);
}
.slider-arrow-left { left: 1.25rem; }
.slider-arrow-right { right: 1.25rem; }
.slider-dots {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 30;
  display: flex;
  align-items: center;
  gap: 0.625rem;
}

/* Mobile Responsive Overrides (< 768px) */
@media (max-width: 767px) {
  .top-bar-regulatory, .top-bar-utility { padding-top: 4px; padding-bottom: 4px; }
  .hero-section { min-height: auto !important; align-items: flex-start !important; }
  .hero-content {
    padding-top: 1rem !important;
    padding-bottom: 5.5rem !important;
    padding-left: 1rem !important;
    padding-right: 1rem !important;
    gap: 0.875rem !important;
  }
  .hero-text-card { height: auto !important; min-height: auto !important; padding: 1rem !important; gap: 0.75rem !important; }
  .hero-text-card h1 { line-height: 1.15 !important; }
  .hero-description {
    font-size: 13px !important;
    line-height: 1.6 !important;
    display: block !important;
    -webkit-line-clamp: unset !important;
    line-clamp: unset !important;
    overflow: visible !important;
    max-height: none !important;
    text-overflow: clip !important;
  }
  .hero-pills { gap: 0.5rem !important; }
  .hero-pills > div { padding: 4px 8px !important; font-size: 11px !important; }
  .hero-ctas { gap: 0.625rem !important; padding-top: 0.25rem !important; }
  .hero-ctas a { height: 42px !important; font-size: 12px !important; }
  .slider-arrow {
    top: auto !important;
    transform: none !important;
    bottom: 1.25rem !important;
    width: 36px !important;
    height: 36px !important;
    background: rgba(7, 24, 45, 0.85) !important;
  }
  .slider-arrow .material-symbols-outlined { font-size: 20px !important; }
  .slider-arrow-left { left: 1rem !important; right: auto !important; }
  .slider-arrow-right { right: 1rem !important; left: auto !important; }
  .slider-dots { bottom: 1.75rem !important; }
}

/* Extra-compact mobile screens (<= 360px) */
@media (max-width: 360px) {
  .hero-content { padding-left: 0.75rem !important; padding-right: 0.75rem !important; padding-bottom: 5.25rem !important; }
  .hero-text-card { padding: 0.75rem !important; }
  .hero-description { font-size: 12px !important; line-height: 1.55 !important; }
}

/* Prevent horizontal overflow globally */
html, body { overflow-x: hidden; }

/* ===== Inner-page Hero (non-homepage pages) ===== */
.page-hero { position: relative; background-color: #07182D; color: #ffffff; overflow: hidden; }
.page-hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; opacity: 0.35; }

/* Prose content blocks for inner pages */
.prose-pacifex p { color: #172B45; line-height: 1.75; }
.prose-pacifex a { color: #07182D; font-weight: 600; text-decoration: underline; text-decoration-color: #D5A62E; text-underline-offset: 3px; }
.prose-pacifex a:hover { color: #D5A62E; }

