/* ==============================================================================
   PVTRANS - PTT AWWWARDS-TIER INTERACTIVE PORTFOLIO
   Theme: Luminous Crystal Glass & Cinematic Bow Ocean View
   Features: Dual-Mode Transition + Interactive Image Tooltip + Large Vessel Tabs + Perfect Map Fit
   ============================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Be+Vietnam+Pro:ital,wght@0,400;0,500;0,600;0,700;0,800;0,900;1,400&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=JetBrains+Mono:wght@400;500;700;800&display=swap');

:root {
  /* Official PTT Brand Colors */
  --ptt-green: #58953f;
  --ptt-green-dark: #2d551e;
  --ptt-green-light: #6db14f;
  --ptt-green-soft: rgba(88, 149, 63, 0.12);
  
  --petro-blue: #0284c7;
  --petro-blue-dark: #0369a1;
  --sky-light: #e0f2fe;
  --mint-light: #ecfdf5;
  --mint-bg: #f0fdf4;
  
  /* High-Contrast Card Backgrounds */
  --bg-main: #f8fafc;
  --bg-white: #ffffff;
  --bg-card: #ffffff;
  --bg-card-glass: rgba(255, 255, 255, 0.96);
  
  /* Borders */
  --border-subtle: #cbd5e1;
  --border-strong: #94a3b8;
  --border-ptt: #58953f;
  
  /* High-Contrast Typography */
  --text-title: #0f172a;       /* Deep Slate Black - AAA Contrast */
  --text-body: #1e293b;        /* Crisp Charcoal - AAA Contrast */
  --text-muted: #475569;       /* Slate Grey - AA Contrast */
  --text-ptt: #2d551e;
  
  --font-display: 'Be Vietnam Pro', 'Plus Jakarta Sans', -apple-system, sans-serif;
  --font-sans: 'Be Vietnam Pro', 'Plus Jakarta Sans', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-full: 9999px;
  
  --shadow-sm: 0 4px 14px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.14);
  --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.22);
  --shadow-ptt: 0 10px 25px rgba(88, 149, 63, 0.35);
  
  --transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  width: 100%;
  height: 100%;
  overflow: hidden;
  font-size: 16px;
  background-color: #0284c7;
  color: var(--text-body);
  font-family: var(--font-sans);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ==============================================================================
   CINEMATIC LIVE VIDEO BACKGROUND (ULTRA-CLEAR & VISIBLE)
   ============================================================================== */
.cinematic-bg-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
}

#cinematic-bg-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 1;
  transform: scale(1.0);
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Crystal-Clear Lightweight Daylight Glass Veil */
.cinematic-glass-veil {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(circle at 50% 25%, rgba(255, 255, 255, 0.02) 0%, rgba(240, 253, 244, 0.12) 60%, rgba(2, 132, 199, 0.22) 100%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.25) 60%, rgba(240, 253, 244, 0.45) 100%);
  pointer-events: none;
  z-index: 2;
  transition: opacity 0.5s ease;
}

/* ==============================================================================
   SWIPER.JS FULLSCREEN CONTAINER
   ============================================================================== */
.swiper {
  width: 100%;
  height: 100vh;
  position: relative;
  z-index: 10;
}

.swiper-slide {
  width: 100vw;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 70px 75px 70px;
  position: relative;
  overflow: hidden;
  box-sizing: border-box;
}

.slide-inner {
  width: 100%;
  max-width: 1260px;
  margin: 0 auto;
  position: relative;
  z-index: 10;
  transition: transform 0.4s ease, opacity 0.4s ease;
}

/* Top Branding Header */
.navbar-deck {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 72px;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-sm);
  z-index: 100;
  display: flex;
  align-items: center;
  padding: 0 32px;
  justify-content: space-between;
}

.brand-box {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  cursor: pointer;
}

.brand-box img {
  height: 42px;
  width: auto;
}

.brand-text-main {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 900;
  color: var(--text-title);
  letter-spacing: 0.02em;
}

.brand-text-sub {
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--ptt-green);
  font-weight: 800;
  text-transform: uppercase;
}

/* Mode Switcher */
/* Sleek Toggle Switch for Quick Transition */
.quick-switch-wrapper {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1.5px solid rgba(255, 255, 255, 0.75);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.quick-switch-label {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 800;
  color: var(--text-title);
  letter-spacing: 0.02em;
  user-select: none;
}

.toggle-switch {
  position: relative;
  display: inline-block;
  width: 40px;
  height: 22px;
  margin: 0;
  cursor: pointer;
}

.toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.toggle-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #cbd5e1;
  transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 20px;
}

.toggle-slider:before {
  position: absolute;
  content: "";
  height: 16px;
  width: 16px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 50%;
  box-shadow: 0 2px 6px rgba(0,0,0,0.25);
}

.toggle-switch input:checked + .toggle-slider {
  background-color: var(--ptt-green);
}

.toggle-switch input:checked + .toggle-slider:before {
  transform: translateX(18px);
}

.mode-toast-notification {
  position: fixed;
  top: 84px;
  left: 50%;
  transform: translateX(-50%) translateY(-20px);
  background: rgba(15, 23, 42, 0.92);
  backdrop-filter: blur(12px);
  color: #ffffff;
  padding: 10px 22px;
  border-radius: var(--radius-full);
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 700;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255, 255, 255, 0.2);
  z-index: 999;
  opacity: 0;
  pointer-events: none;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.mode-toast-notification.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ==============================================================================
   LARGE HIGH-DEFINITION IMAGE PREVIEW TOOLTIP / LIGHTBOX
   ============================================================================== */
.image-preview-tooltip {
  position: fixed;
  z-index: 99999;
  pointer-events: none;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  border: 2.5px solid var(--ptt-green);
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.45);
  border-radius: 20px;
  padding: 16px;
  width: min(720px, 88vw);
  max-height: 85vh;
  opacity: 0;
  transform: scale(0.92);
  transition: opacity 0.22s cubic-bezier(0.16, 1, 0.3, 1), transform 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.image-preview-tooltip.active {
  opacity: 1;
  transform: scale(1.0);
}

.image-preview-tooltip img {
  width: 100%;
  max-height: 65vh;
  object-fit: contain;
  border-radius: 12px;
  display: block;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  background: #f8fafc;
}

.image-preview-tooltip .tooltip-caption {
  font-family: var(--font-display);
  font-size: 14.5px;
  font-weight: 900;
  color: var(--text-title);
  margin-top: 12px;
  text-align: center;
  padding: 0 10px;
  line-height: 1.4;
}

/* ==============================================================================
   HORIZONTAL VOYAGE TIMELINE BAR (BOTTOM NAVIGATION)
   ============================================================================== */
.voyage-bottom-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 60px;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(16px);
  border-top: 1px solid var(--border-subtle);
  box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.06);
  z-index: 100;
  display: flex;
  align-items: center;
  padding: 0 36px;
  justify-content: space-between;
}

.voyage-timeline {
  display: flex;
  align-items: center;
  gap: 20px;
  position: relative;
}

.voyage-track-line {
  position: absolute;
  top: 50%;
  left: 10px;
  right: 10px;
  height: 3px;
  background: #cbd5e1;
  transform: translateY(-50%);
  z-index: 1;
}

.voyage-track-fill {
  position: absolute;
  top: 50%;
  left: 10px;
  height: 3px;
  background: var(--ptt-green);
  transform: translateY(-50%);
  z-index: 2;
  transition: width 0.6s cubic-bezier(0.77, 0, 0.175, 1);
  width: 0%;
}

.voyage-stop-btn {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 8px;
  background: #ffffff;
  border: 1.5px solid #94a3b8;
  padding: 5px 14px;
  border-radius: var(--radius-full);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 800;
  color: var(--text-body);
  cursor: pointer;
  transition: var(--transition);
}

.voyage-stop-btn:hover {
  border-color: var(--ptt-green);
  color: var(--ptt-green);
}

.voyage-stop-btn.active {
  background: var(--ptt-green);
  border-color: var(--ptt-green);
  color: #ffffff;
  box-shadow: 0 0 14px rgba(88, 149, 63, 0.45);
}

.voyage-arrows {
  display: flex;
  gap: 8px;
}

.btn-voyage-arrow {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #ffffff;
  border: 1.5px solid var(--border-subtle);
  color: var(--text-title);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  font-size: 13px;
}

.btn-voyage-arrow:hover {
  background: var(--ptt-green);
  color: #ffffff;
  border-color: var(--ptt-green);
}

/* ==============================================================================
   HIGH-CONTRAST TYPOGRAPHY & CARDS
   ============================================================================== */
.slide-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 14px;
  border-radius: var(--radius-full);
  background: #ffffff;
  border: 1.5px solid var(--ptt-green);
  color: var(--ptt-green-dark);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 10px;
  box-shadow: var(--shadow-sm);
}

.slide-title-huge {
  font-size: 2.8rem;
  line-height: 1.15;
  color: var(--text-title);
  margin-bottom: 12px;
  font-weight: 900;
  text-shadow: 0 2px 14px rgba(255, 255, 255, 0.95);
}

.slide-title-huge .highlight {
  color: var(--ptt-green);
  position: relative;
  display: inline-block;
}

.slide-title-huge .highlight::after {
  content: "";
  position: absolute;
  bottom: 2px;
  left: 0;
  width: 100%;
  height: 7px;
  background: rgba(88, 149, 63, 0.3);
  border-radius: 4px;
  z-index: -1;
}

.slide-lead {
  font-size: 1.1rem;
  color: #0f172a;
  max-width: 800px;
  margin-bottom: 18px;
  line-height: 1.6;
  font-weight: 600;
  text-shadow: 0 1px 10px rgba(255, 255, 255, 0.9);
}

/* Buttons */
.btn-deck {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 24px;
  border-radius: var(--radius-full);
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  text-decoration: none;
}

.btn-deck.primary {
  background: linear-gradient(135deg, var(--ptt-green) 0%, var(--ptt-green-dark) 100%);
  color: #ffffff;
  box-shadow: var(--shadow-ptt);
}

.btn-deck.primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(88, 149, 63, 0.45);
}

.btn-deck.secondary {
  background: #ffffff;
  color: var(--text-title);
  border: 2px solid var(--border-subtle);
  box-shadow: var(--shadow-sm);
}

.btn-deck.secondary:hover {
  border-color: var(--ptt-green);
  color: var(--ptt-green);
}

/* Slide 0: High-End Editorial Hero Layout */
.hero-editorial-grid {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: 28px;
  align-items: center;
}

.hero-editorial-left {
  position: relative;
  z-index: 5;
}

.hero-text-glow-wrapper {
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1.5px solid rgba(255, 255, 255, 0.75);
  border-radius: var(--radius-xl);
  padding: 30px 34px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08), 0 0 0 1px rgba(88, 149, 63, 0.15);
}

.hero-slogan-sub {
  font-family: var(--font-mono);
  font-size: clamp(10.5px, 1.1vw, 12px);
  font-weight: 800;
  color: var(--ptt-green-dark);
  letter-spacing: 0.1em;
  margin-bottom: 12px;
  text-transform: uppercase;
}

.hero-action-btns {
  display: flex;
  gap: 14px;
  align-items: center;
  flex-wrap: wrap;
}

/* Right Column: Left (Vertical Photo Full Height) + Right (2 Rows Horizontal Photos) */
.hero-gallery-asymmetric-grid {
  display: grid;
  grid-template-columns: 0.98fr 1.02fr;
  grid-template-rows: 1fr 1fr;
  gap: 12px;
  height: 410px;
}

.gallery-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 2.5px solid rgba(255, 255, 255, 0.8);
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 16px 35px rgba(0, 0, 0, 0.12);
  display: flex;
  flex-direction: column;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  cursor: pointer;
}

.gallery-card:hover {
  transform: translateY(-4px) scale(1.01);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.3);
  border-color: var(--ptt-green);
  z-index: 10;
}

/* Card 2: Left Column (Full Height Vertical Photo - Widened & Flush Left) */
.gallery-card.card-portrait-left {
  grid-column: 1;
  grid-row: 1 / span 2;
}

/* Card 1: Top Right (Landscape) */
.gallery-card.card-top-right {
  grid-column: 2;
  grid-row: 1;
}

/* Card 3: Bottom Right (Landscape) */
.gallery-card.card-bottom-right {
  grid-column: 2;
  grid-row: 2;
}

.gallery-card .card-img-wrap {
  width: 100%;
  flex: 1;
  overflow: hidden;
  background: #f1f5f9;
}

.gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.gallery-card.card-portrait-left img {
  object-position: center 75%;
}

.gallery-card.card-top-right img {
  object-position: center bottom;
}

.gallery-card.card-bottom-right img {
  object-position: center bottom;
}

/* Slogan Strip Positioned Directly Below Photo in Each Card (Light & Fresh Theme) */
.mosaic-card-footer {
  height: 32px;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  font-family: var(--font-display);
  font-size: clamp(8px, 0.9vw, 10.2px);
  font-weight: 900;
  white-space: nowrap;
  letter-spacing: 0.01em;
  border-top: 1.5px solid var(--border-subtle);
  flex-shrink: 0;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
  text-overflow: ellipsis;
  overflow: hidden;
}

.mosaic-card-footer.vision {
  background: #f0fdf4;
  color: #15803d;
  border-top: 2px solid var(--ptt-green);
}

.mosaic-card-footer.mission {
  background: #eff6ff;
  color: #1d4ed8;
  border-top: 2px solid var(--petro-blue);
}

.mosaic-card-footer.slogan {
  background: #faf5ff;
  color: #7e22ce;
  border-top: 2px solid #c084fc;
}

/* Slide 1: Metrics & Dual Standard Card */
.metrics-tri-deck {
  display: grid;
  grid-template-columns: 0.95fr 1.25fr 0.85fr;
  gap: 20px;
  margin-top: 14px;
}

.metric-box-deck {
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1.5px solid rgba(255, 255, 255, 0.75);
  border-radius: var(--radius-lg);
  padding: 22px;
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.08);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.metric-box-deck::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--ptt-green), var(--petro-blue));
}

.metric-box-deck:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.15);
  border-color: var(--ptt-green);
  background: rgba(255, 255, 255, 0.75);
}

.metric-val-huge {
  font-family: var(--font-display);
  font-size: 2.6rem;
  font-weight: 900;
  color: var(--ptt-green);
  line-height: 1;
  margin-bottom: 6px;
}

.metric-label-deck {
  font-size: 1.1rem;
  font-weight: 900;
  color: var(--text-title);
  margin-bottom: 6px;
}

.metric-desc-deck {
  font-size: 0.9rem;
  color: var(--text-body);
  font-weight: 500;
  line-height: 1.45;
}

/* Dual Standard SIRE 2.0 & RightShip Equal Pill */
.dual-standard-box {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 8px 0 10px 0;
}

.standard-pill {
  background: rgba(248, 250, 252, 0.55);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1.5px solid rgba(255, 255, 255, 0.75);
  border-radius: 10px;
  padding: 8px;
  text-align: center;
}

.standard-pill .badge-title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.1rem;
  margin-bottom: 2px;
}

.standard-pill.sire {
  border-color: #38bdf8;
  background: rgba(240, 249, 255, 0.6);
}
.standard-pill.sire .badge-title { color: #0284c7; }

.standard-pill.rightship {
  border-color: #4ade80;
  background: rgba(240, 253, 244, 0.6);
}
.standard-pill.rightship .badge-title { color: #16a34a; }

.standard-pill .badge-sub {
  font-size: 10.5px;
  font-weight: 700;
  color: #475569;
  line-height: 1.3;
}

/* Award Badges Strip */
.awards-strip-deck {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 14px;
}

.award-item-card {
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1.5px solid rgba(255, 255, 255, 0.75);
  border-radius: var(--radius-md);
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
  transition: var(--transition);
  cursor: pointer;
  position: relative;
}

.award-item-card:hover {
  transform: translateY(-3px);
  border-color: var(--ptt-green);
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.12);
  background: rgba(255, 255, 255, 0.75);
}

.award-thumb-img {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  object-fit: cover;
  border: 1px solid var(--border-subtle);
  flex-shrink: 0;
}

.award-item-text .title {
  font-size: 12px;
  font-weight: 900;
  color: var(--text-title);
  line-height: 1.3;
  margin-bottom: 2px;
}

.award-item-text .sub {
  font-size: 10.5px;
  color: #64748b;
  font-family: var(--font-mono);
  font-weight: 700;
}

/* Slide 2: 6 Core Services Grid (Official Profile Google Doc) */
.services-hex-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 8px;
}

.service-card-deck {
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1.5px solid rgba(255, 255, 255, 0.75);
  border-radius: var(--radius-md);
  padding: 16px 18px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.07);
  transition: var(--transition);
  display: flex;
  gap: 14px;
  align-items: flex-start;
  position: relative;
  overflow: hidden;
}

.service-card-deck:hover {
  transform: translateY(-3px);
  border-color: var(--ptt-green);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.14);
  background: rgba(240, 253, 244, 0.75);
}

.service-icon-box {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: rgba(240, 253, 244, 0.6);
  border: 1.5px solid var(--ptt-green);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ptt-green);
  flex-shrink: 0;
  font-size: 20px;
}

.service-icon-box svg {
  width: 22px;
  height: 22px;
}

/* Slide 3: Fleet Slider with Large Executive Vessel Tabs */
.fleet-slider-wrap {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 32px;
  align-items: center;
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1.5px solid rgba(255, 255, 255, 0.8);
  border-radius: var(--radius-xl);
  padding: 26px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
}

.fleet-selector-btns-top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 16px;
}

.btn-vessel-tab-large {
  padding: 13px 20px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1.5px solid rgba(255, 255, 255, 0.75);
  font-family: var(--font-display);
  font-size: 14.5px;
  font-weight: 900;
  color: var(--text-title);
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: var(--shadow-sm);
}

.btn-vessel-tab-large:hover {
  border-color: var(--ptt-green);
  color: var(--ptt-green);
  background: rgba(255, 255, 255, 0.8);
}

.btn-vessel-tab-large.active {
  background: var(--ptt-green);
  color: #ffffff;
  border-color: var(--ptt-green);
  box-shadow: 0 6px 18px rgba(88, 149, 63, 0.4);
}

.fleet-img-display {
  height: 330px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  border: 1.5px solid var(--border-subtle);
  cursor: pointer;
}

.fleet-img-display img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.fleet-img-display:hover img {
  transform: scale(1.03);
}

.fleet-specs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin-bottom: 16px;
}

.spec-cell {
  background: rgba(248, 250, 252, 0.5);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 8px 12px;
  border-radius: 8px;
  border: 1.5px solid rgba(255, 255, 255, 0.7);
}

.spec-cell .lbl {
  font-size: 10px;
  color: #64748b;
  font-family: var(--font-mono);
  font-weight: 700;
  text-transform: uppercase;
}

.spec-cell .val {
  font-size: 14.5px;
  font-weight: 900;
  color: var(--text-title);
}

/* ==============================================================================
   SLIDE 4: EXPANDED FULL-HEIGHT MARITIME MAP CONTAINER
   ============================================================================== */
.maritime-map-container {
  width: 100%;
  max-width: 1220px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 2px solid rgba(255, 255, 255, 0.8);
  border-radius: var(--radius-lg);
  padding: 10px 14px 8px 14px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
  position: relative;
  overflow: hidden;
  touch-action: pan-x pan-y !important;
}

#leaflet-maritime-map {
  width: 100% !important;
  height: min(490px, calc(100vh - 220px)) !important;
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
  z-index: 5;
  border: 1.5px solid var(--border-subtle);
  touch-action: pan-x pan-y !important;
}

.map-legend-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 8px;
  padding: 0 4px;
  flex-wrap: wrap;
  gap: 8px;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 800;
  color: var(--text-title);
}

.legend-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}

/* Slide 5: ESG & Strategy */
.esg-deck-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.esg-deck-card {
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1.5px solid rgba(255, 255, 255, 0.75);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.08);
  border-top: 4px solid var(--ptt-green);
}

.esg-deck-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.15);
  background: rgba(255, 255, 255, 0.75);
}

.esg-gauge-val {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 900;
  color: var(--ptt-green);
  line-height: 1;
  margin-bottom: 8px;
}

/* Slide 6: Charter Hub */
.charter-deck-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 32px;
}

.charter-form-box {
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1.5px solid rgba(255, 255, 255, 0.8);
  border-radius: var(--radius-lg);
  padding: 26px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
}

.input-deck {
  width: 100%;
  padding: 10px 14px;
  background: rgba(248, 250, 252, 0.55);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1.5px solid rgba(226, 232, 240, 0.7);
  border-radius: var(--radius-sm);
  color: var(--text-title);
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 10px;
  outline: none;
  transition: var(--transition);
}

.input-deck:focus {
  border-color: var(--ptt-green);
  background: rgba(255, 255, 255, 0.85);
  box-shadow: 0 0 12px rgba(88, 149, 63, 0.25);
}

/* ==============================================================================
   RESPONSIVE DESIGN SYSTEM (PRECISION TUNED: DESKTOP, TABLET & MOBILE)
   ============================================================================== */

/* --- RANGE 1: TABLETS & COMPACT LAPTOPS (769px - 1132px) --- */
@media (min-width: 769px) and (max-width: 1132px) {
  .navbar-deck {
    padding: 0 18px;
    height: 64px;
  }

  .brand-text-sub {
    font-size: 9px;
  }

  .quick-switch-wrapper {
    padding: 5px 12px;
  }

  .swiper-slide {
    padding: 72px 18px 65px 18px;
  }

  /* Slide 0: Hero fixes (prevents vertical overflow) */
  .hero-editorial-grid {
    grid-template-columns: 1.04fr 0.96fr;
    gap: 16px;
    align-items: center;
  }

  .hero-text-glow-wrapper {
    padding: 16px 20px;
  }

  .slide-tag {
    font-size: 9px;
    padding: 3px 10px;
    margin-bottom: 6px;
  }

  .slide-title-huge {
    font-size: 1.8rem !important;
    line-height: 1.15;
    margin-bottom: 4px;
  }

  .hero-slogan-sub {
    font-size: 10px;
    margin-bottom: 8px;
  }

  .slide-lead {
    font-size: 0.85rem !important;
    line-height: 1.42;
    margin-bottom: 12px;
  }

  .btn-deck {
    padding: 8px 16px;
    font-size: 11.5px;
  }

  .hero-gallery-asymmetric-grid {
    height: 320px;
    gap: 8px;
  }

  .mosaic-card-footer {
    height: 26px;
    font-size: 8.5px;
    padding: 0 4px;
  }

  /* Slide 1: Metrics (Trang 2) */
  .metrics-tri-deck {
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-top: 8px;
  }

  .metric-box-deck {
    padding: 14px;
  }

  .metric-val-huge {
    font-size: 2rem;
    margin-bottom: 3px;
  }

  .metric-label-deck {
    font-size: 0.95rem;
    margin-bottom: 3px;
  }

  .metric-desc-deck {
    font-size: 0.8rem;
    line-height: 1.35;
  }

  .standard-pill {
    padding: 6px 4px;
  }

  .standard-pill .badge-title {
    font-size: 0.95rem;
  }

  .standard-pill .badge-sub {
    font-size: 9px;
  }

  .awards-strip-deck {
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-top: 8px;
  }

  .award-item-card {
    padding: 8px 10px;
    gap: 8px;
  }

  .award-thumb-img {
    width: 36px;
    height: 36px;
  }

  /* Slide 2: Services */
  .services-hex-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
  }

  .service-card-deck {
    padding: 12px 14px;
  }

  /* Slide 3: Fleet */
  .fleet-slider-wrap {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 18px;
    padding: 18px;
  }

  .fleet-img-display {
    height: 250px;
  }

  /* Slide 4: Map */
  #leaflet-maritime-map {
    height: 360px !important;
  }

  /* Slide 5: ESG */
  .esg-deck-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
  }

  .esg-deck-card {
    padding: 16px;
  }

  .esg-gauge-val {
    font-size: 2rem;
  }

  /* Slide 6: Charter Hub */
  .charter-deck-grid {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 18px;
  }

  .charter-form-box {
    padding: 18px;
  }
}

/* --- RANGE 2: MOBILE PHONES & SMALL TABLETS (<= 768px) --- */
@media (max-width: 768px) {
  /* Allow slides to scroll smoothly inside on small vertical screens */
  .swiper-slide {
    padding: 68px 14px 60px 14px;
    align-items: flex-start;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .slide-inner {
    max-height: none;
    padding: 6px 0 24px 0;
  }

  /* Header adjustments */
  .navbar-deck {
    height: 56px;
    padding: 0 10px;
  }

  .brand-box img {
    height: 30px;
  }

  .brand-text-main {
    font-size: 12.5px;
  }

  .brand-text-sub {
    display: none;
  }

  .quick-switch-wrapper {
    padding: 4px 8px;
    gap: 6px;
  }

  .quick-switch-label {
    font-size: 9.5px;
  }

  .toggle-switch {
    width: 32px;
    height: 17px;
  }

  .toggle-slider:before {
    height: 11px;
    width: 11px;
    left: 3px;
    bottom: 3px;
  }

  .toggle-switch input:checked + .toggle-slider:before {
    transform: translateX(15px);
  }

  .navbar-deck .btn-deck.primary {
    padding: 5px 10px;
    font-size: 10.5px;
  }

  /* Typography */
  .slide-tag {
    font-size: 9px;
    padding: 3px 8px;
    margin-bottom: 6px;
  }

  .slide-title-huge {
    font-size: 1.65rem !important;
    line-height: 1.2;
    margin-bottom: 6px;
  }

  .slide-lead {
    font-size: 0.88rem !important;
    line-height: 1.45;
    margin-bottom: 12px;
  }

  /* Slide 0: Hero */
  .hero-editorial-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .hero-text-glow-wrapper {
    padding: 16px 14px;
  }

  .hero-slogan-sub {
    font-size: 9.5px;
    margin-bottom: 6px;
  }

  .hero-gallery-asymmetric-grid {
    grid-template-columns: 0.95fr 1.05fr;
    grid-template-rows: 105px 105px;
    height: 218px;
    gap: 6px;
  }

  .mosaic-card-footer {
    height: 22px;
    font-size: 7.8px;
    padding: 0 4px;
  }

  /* Slide 1: Metrics (Trang 2 Fixes) */
  .metrics-tri-deck {
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 6px;
  }

  .metric-box-deck {
    padding: 14px 16px;
  }

  .metric-val-huge {
    font-size: 1.95rem;
    margin-bottom: 2px;
  }

  .metric-label-deck {
    font-size: 0.95rem;
    margin-bottom: 3px;
  }

  .metric-desc-deck {
    font-size: 0.82rem;
    line-height: 1.38;
  }

  .dual-standard-box {
    gap: 6px;
    margin: 4px 0 6px 0;
  }

  .standard-pill {
    padding: 5px 6px;
  }

  .standard-pill .badge-title {
    font-size: 0.92rem;
  }

  .standard-pill .badge-sub {
    font-size: 8.5px;
  }

  .awards-strip-deck {
    grid-template-columns: 1fr;
    gap: 6px;
    margin-top: 8px;
  }

  .award-item-card {
    padding: 7px 10px;
    gap: 10px;
  }

  .award-thumb-img {
    width: 34px;
    height: 34px;
  }

  .award-item-text .title {
    font-size: 11px;
  }

  .award-item-text .sub {
    font-size: 9.5px;
  }

  /* Slide 2: Services */
  .services-hex-grid {
    grid-template-columns: 1fr;
    gap: 8px;
    margin-top: 6px;
  }

  .service-card-deck {
    padding: 12px 14px;
    gap: 10px;
  }

  .service-icon-box {
    width: 34px;
    height: 34px;
    font-size: 15px;
  }

  /* Slide 3: Fleet */
  .fleet-slider-wrap {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 14px;
  }

  .fleet-selector-btns-top {
    gap: 6px;
    margin-bottom: 10px;
  }

  .btn-vessel-tab-large {
    padding: 8px 10px;
    font-size: 11.5px;
  }

  .fleet-img-display {
    height: 180px;
  }

  .fleet-specs-grid {
    gap: 5px;
    margin-bottom: 10px;
  }

  .spec-cell {
    padding: 5px 8px;
  }

  .spec-cell .val {
    font-size: 12px;
  }

  /* ==========================================================================
     SLIDE 4: MAP (TRANG 5 FULL-HEIGHT TOUCHING BOTTOM NAV BAR)
     ========================================================================== */
  .swiper-slide#slide-4 {
    padding: 60px 8px 56px 8px !important;
    display: flex;
    flex-direction: column;
    justify-content: stretch;
    overflow: hidden;
  }

  .swiper-slide#slide-4 .slide-inner {
    width: 100% !important;
    max-width: 100% !important;
    height: 100% !important;
    flex: 1;
    padding: 0 !important;
    display: flex;
    flex-direction: column;
  }

  .swiper-slide#slide-4 .slide-tag,
  .swiper-slide#slide-4 .slide-title-huge,
  .swiper-slide#slide-4 .slide-lead {
    display: none !important;
  }

  .maritime-map-container {
    width: 100% !important;
    height: calc(100vh - 122px) !important;
    max-height: calc(100vh - 122px) !important;
    flex: 1;
    margin: 0 !important;
    padding: 4px !important;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    box-shadow: none;
  }

  #leaflet-maritime-map {
    flex: 1;
    width: 100% !important;
    height: 100% !important;
    min-height: 0 !important;
    border-radius: 8px;
  }

  .map-legend-bar {
    padding: 4px 6px;
    margin-top: 4px;
    gap: 6px;
    justify-content: center;
    flex-shrink: 0;
  }

  .legend-item {
    font-size: 9px;
  }

  /* Slide 5: ESG */
  .esg-deck-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .esg-deck-card {
    padding: 14px;
  }

  .esg-gauge-val {
    font-size: 1.85rem;
  }

  /* Slide 6: Charter Hub & Contact */
  .charter-deck-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .charter-form-box {
    padding: 16px 14px;
  }

  .contact-card {
    padding: 14px;
  }

  /* Bottom Voyage Bar */
  .voyage-bottom-bar {
    height: 50px;
    padding: 0 8px;
  }

  .voyage-timeline {
    gap: 5px;
    overflow-x: auto;
    max-width: calc(100vw - 85px);
    scrollbar-width: none;
  }

  .voyage-timeline::-webkit-scrollbar {
    display: none;
  }

  .voyage-stop-btn {
    padding: 3px 7px;
    font-size: 9px;
    gap: 3px;
    white-space: nowrap;
  }

  .btn-voyage-arrow {
    width: 30px;
    height: 30px;
    font-size: 10.5px;
  }

  .image-preview-tooltip {
    width: 94vw;
    padding: 8px;
  }
}
