﻿@import url("https://fonts.googleapis.com/css2?family=Inter:wght@800&family=Manrope:wght@800&family=Plus+Jakarta+Sans:wght@800&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,300..500;1,14..32,300..500&family=Manrope:wght@300..500&family=Plus+Jakarta+Sans:ital,wght@0,300;0,400;0,500;1,300;1,400;1,500&display=swap");

:root {
  /* Brand Color Tokens */
  --navy-950: #040e1b;
  --navy-900: #07182b; /* Dark Navy Hero & Stats Band */
  --navy-800: #0a2540;
  --navy-700: #103860;
  --navy-600: #194f85;
  --navy-100: #e0ebf7;
  --navy-50: #eef4fa;

  /* Accent Colors */
  --gold-500: #df9b35; /* Gold / Orange Accent */
  --gold-400: #f3b755;
  --gold-600: #b87b1d;
  --gold-100: #fef3d6;

  --crimson-500: #e11d48; /* Reference Pink/Crimson Accent */
  --crimson-600: #be123c;
  --crimson-700: #9f1239;
  --crimson-100: #ffe4e6;

  --teal-500: #0d9488; /* Marine Teal */
  --teal-400: #14b8a6;
  --teal-600: #0f766e;
  --teal-100: #ccfbf1;

  --green-500: #22c55e; /* Eco Leaf Green */
  --green-600: #16a34a;
  --green-100: #dcfce7;

  --cyan-500: #0ea5e9;
  --cyan-100: #e0f2fe;

  /* Neutrals */
  --white: #ffffff;
  --slate-50: #f8fafc;
  --slate-100: #f1f5f9;
  --slate-200: #e2e8f0;
  --slate-300: #cbd5e1;
  --slate-400: #94a3b8;
  --slate-500: #64748b;
  --slate-600: #475569;
  --slate-700: #334155;
  --slate-800: #1e293b;
  --slate-900: #0f172a;

  /* Typography */
  --font-heading: "Manrope", sans-serif, system-ui, -apple-system, sans-serif;
  --font-serif: "Manrope", sans-serif, system-ui, -apple-system, sans-serif;
  --font-body: "Inter", sans-serif;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 12px 24px -4px rgba(0, 0, 0, 0.14);
  --shadow-xl: 0 20px 35px -6px rgba(0, 0, 0, 0.2);
  --shadow-crimson: 0 8px 20px -4px rgba(225, 29, 72, 0.4);
  --shadow-gold: 0 8px 20px -4px rgba(223, 155, 53, 0.35);

  /* Radius */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  /* Transitions */
  --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--slate-700);
  background-color: var(--slate-50);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

ul,
ol {
  list-style: none;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  color: var(--navy-900);
  font-weight: 700;
  line-height: 1.25;
}

h1 {
  font-size: clamp(2.4rem, 4.5vw, 3.4rem);
  letter-spacing: -0.02em;
}
h2 {
  font-size: clamp(1.8rem, 3.2vw, 2rem);
  letter-spacing: -0.015em;
}
h3 {
  font-size: clamp(1.25rem, 2vw, 1.65rem);
}
h4 {
  font-size: 1.2rem;
}

.font-serif {
  font-family: var(--font-serif);
}

p {
  margin-bottom: 1rem;
}
p:last-child {
  margin-bottom: 0;
}

.text-gold {
  color: var(--gold-500);
}
.text-crimson {
  color: var(--crimson-500);
}
.text-teal {
  color: var(--teal-400);
}
.text-green {
  color: var(--green-500);
}
.text-white {
  color: var(--white);
}

/* Containers */
.container {
  width: 100%;
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}
.section-header h2 {
  margin-block: 0.3rem;
}

.section-padding {
  padding-top: 5.5rem;
  padding-bottom: 5.5rem;
}

.section-padding-sm {
  padding-top: 3.5rem;
  padding-bottom: 3.5rem;
}

/* Eyebrow / Category Tags */
.eyebrow-tag {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--gold-500);
  margin-bottom: 0.75rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.85rem;
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-radius: var(--radius-full);
}

.badge-gold {
  background: var(--gold-100);
  color: var(--gold-600);
  border: 1px solid rgba(223, 155, 53, 0.3);
}
.badge-crimson {
  background: var(--crimson-100);
  color: var(--crimson-600);
  border: 1px solid rgba(225, 29, 72, 0.3);
}
.badge-teal {
  background: var(--teal-100);
  color: var(--teal-600);
  border: 1px solid rgba(13, 148, 136, 0.3);
}
.badge-green {
  background: var(--green-100);
  color: var(--green-600);
  border: 1px solid rgba(34, 197, 94, 0.3);
}
.badge-navy {
  background: var(--navy-100);
  color: var(--navy-800);
  border: 1px solid rgba(10, 37, 64, 0.2);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.75rem;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
  white-space: nowrap;
}

.btn-crimson {
  background-color: var(--crimson-500);
  color: var(--white);
  border: 1px solid var(--crimson-600);
  box-shadow: var(--shadow-crimson);
}

.btn-crimson:hover {
  background-color: var(--crimson-600);
  transform: translateY(-2px);
  box-shadow: 0 12px 24px -4px rgba(225, 29, 72, 0.55);
}

.btn-primary {
  background-color: var(--gold-500);
  color: var(--navy-950);
  border: 1px solid var(--gold-400);
  box-shadow: var(--shadow-gold);
}

.btn-primary:hover {
  background-color: var(--gold-400);
  transform: translateY(-2px);
}

.btn-outline-white {
  background-color: rgba(255, 255, 255, 0.08);
  color: var(--white);
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(6px);
}

.btn-outline-white:hover {
  background-color: var(--white);
  color: var(--navy-900);
  border-color: var(--white);
  transform: translateY(-2px);
}

.btn-navy {
  background-color: var(--navy-800);
  color: var(--white);
}

.btn-navy:hover {
  background-color: var(--navy-900);
  color: var(--gold-400);
}

.btn-sm {
  padding: 0.5rem 1.1rem;
  font-size: 0.85rem;
}

.btn-lg {
  padding: 1.05rem 2.2rem;
  font-size: 1.05rem;
}

.btn svg {
  width: 1.15rem;
  height: 1.15rem;
  transition: transform 0.2s ease;
}

.btn:hover svg {
  transform: translateX(3px);
}

/* ==========================================================================
   HEADER & NAVBAR (Matching Reference Screenshot)
   ========================================================================== */
.topbar {
  background: var(--navy-950);
  color: var(--slate-300);
  font-size: 0.82rem;
  padding: 0.45rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.topbar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.topbar-items {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.topbar-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--slate-300);
}

.topbar-item svg {
  width: 15px;
  height: 15px;
  color: var(--gold-400);
}

.topbar-item a:hover {
  color: var(--gold-400);
}

.topbar-badge {
  background: rgba(223, 155, 53, 0.18);
  color: var(--gold-400);
  padding: 0.15rem 0.6rem;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.75rem;
}

.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: var(--white);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: var(--transition);
}

.navbar.scrolled {
  background-color: var(--white);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
}

.brand-logo-link {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
}

.brand-logo-img {
  width: 54px;
  height: 54px;
  object-fit: contain;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.35));
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--navy-700);
  letter-spacing: 0.04em;
  line-height: 1.1;
  text-transform: uppercase;
}

.brand-name span {
  color: var(--gold-400);
}

.brand-tagline {
  font-size: 0.68rem;
  color: var(--teal-400);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-top: 2px;
}

.nav-menu {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-item {
  position: relative;
  z-index: 1;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--slate-900);
  font-size: 0.88rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.6rem 0.85rem;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

/* .nav-link:hover {
  color: var(--white);
} */

/* Static fallback when the sliding indicator is unavailable (no JS / touch).
   Uses a background rather than a border so it never shifts the layout. */
.nav-link.active {
  background: var(--crimson-500);
}

.nav-menu.has-indicator .nav-link.active {
  background: transparent;
}

/* Single sliding hover/active indicator shared by all nav items */
.nav-indicator {
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 0;
  border-radius: 5px;
  background: var(--crimson-500);
  opacity: 0;
  pointer-events: none;
  z-index: 0;
  will-change: transform, width;
  transition:
    transform 0.35s cubic-bezier(0.4, 0, 0.2, 1),
    width 0.35s cubic-bezier(0.4, 0, 0.2, 1),
    height 0.35s cubic-bezier(0.4, 0, 0.2, 1),
    opacity 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-indicator.is-visible {
  opacity: 1;
}

/* Used for the initial placement and on resize, so it never slides in from 0,0 */
.nav-indicator.no-transition {
  transition: none;
}

@media (prefers-reduced-motion: reduce) {
  .nav-indicator {
    transition: opacity 0.2s linear;
  }
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 290px;
  background: var(--navy-950);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-md);
  padding: 0.6rem;
  box-shadow: var(--shadow-xl);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: var(--transition);
  z-index: 1010;
}

.nav-item:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.65rem 0.75rem;
  border-radius: var(--radius-sm);
  color: var(--slate-200);
  font-size: 0.88rem;
  font-weight: 500;
  transition: var(--transition);
}

.dropdown-item:hover {
  background: rgba(225, 29, 72, 0.15);
  color: var(--crimson-500);
}

.dropdown-icon {
  width: 20px;
  height: 20px;
  margin-top: 2px;
  color: var(--teal-400);
  flex-shrink: 0;
}

.dropdown-item-title {
  font-weight: 500;
  color: var(--white);
  display: block;
}

.dropdown-item-desc {
  font-size: 0.75rem;
  color: var(--slate-400);
  display: block;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.mobile-toggle {
  display: none;
  background: transparent;
  color: var(--white);
  cursor: pointer;
  padding: 0.5rem;
  border: none;
}

/* Social Icon Row (Footer brand column) */
.footer-social {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.social-link {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(7, 24, 43, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  backdrop-filter: blur(4px);
}

.social-link:hover {
  background: var(--crimson-500);
  border-color: var(--crimson-500);
  transform: scale(1.1);
}

.social-link svg {
  width: 16px;
  height: 16px;
}

/* ==========================================================================
   HERO SECTION (Matching Reference Screenshot Exactly)
   ========================================================================== */
.hero-ref {
  position: relative;
  min-height: 86vh;
  display: flex;
  align-items: center;
  /* background: url("../images/hero_bg.jpg") center center / cover no-repeat; */
  color: var(--white);
  padding: 6.5rem 0 5rem 0;
  overflow: hidden;
}

/* Full-bleed background video for the hero banner */
/* Full-bleed: the box matches the hero exactly and object-fit crops the
   footage to cover it. Sizing from the video's intrinsic dimensions (min-width
   + width:auto) left gaps on wide viewports, so the box is pinned instead. */
.hero-video-bg {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  z-index: 0;
  pointer-events: none;
}

/* .hero-ref::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    linear-gradient(
      90deg,
      rgba(4, 14, 27, 0.88) 0%,
      rgba(4, 14, 27, 0.65) 50%,
      rgba(4, 14, 27, 0.4) 100%
    ),
    linear-gradient(180deg, rgba(4, 14, 27, 0.3) 0%, rgba(7, 24, 43, 0.95) 100%);
  z-index: 1;
} */

.hero-ref-container {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.4fr 0.6fr;
  gap: 3rem;
  align-items: center;
}

.hero-ref-content {
  max-width: 720px;
}

.hero-ref-eyebrow {
  color: var(--gold-500);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

.hero-ref-title {
  font-family: var(--font-serif);
  font-size: clamp(2.6rem, 5vw, 4.2rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--white);
  margin-bottom: 1.5rem;
}

.hero-ref-title span.crimson-text {
  color: var(--crimson-500);
  font-style: italic;
}

.hero-ref-subtitle {
  font-size: 1.15rem;
  color: var(--slate-300);
  line-height: 1.7;
  margin-bottom: 2.25rem;
  max-width: 620px;
}

.hero-ref-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  align-items: center;
}

/* Hero Right Side Vessel Selector / Pagination (Matching Reference) */
.hero-vessel-selector {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 1.75rem;
}

.vessel-tab-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  text-align: right;
}

.vessel-tab-item {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.75rem;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--slate-400);
  cursor: pointer;
  transition: var(--transition);
}

.vessel-tab-num {
  font-size: 0.75rem;
  color: var(--slate-500);
}

.vessel-tab-item.active {
  color: var(--white);
}

.vessel-tab-item.active .vessel-tab-label {
  border-bottom: 2px solid var(--crimson-500);
  padding-bottom: 2px;
}

.hero-slider-controls {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1rem;
}

.slider-circle-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
}

.slider-circle-btn:hover {
  background: var(--crimson-500);
  border-color: var(--crimson-500);
  transform: scale(1.05);
}

/* ==========================================================================
   WHO WE ARE & STATS BAND (Dark Navy Band from Reference)
   ========================================================================== */
.who-we-are-section {
  background-color: #edf3fb;
  color: var(--navy-900);
  padding: 4.5rem 0;
  border-top: 1px solid rgba(10, 37, 64, 0.1);
  border-bottom: 1px solid rgba(10, 37, 64, 0.1);
}

/* Darker gold so the eyebrow stays legible on the light background */
.who-we-are-section .eyebrow-tag {
  color: var(--gold-600);
}

.who-we-are-grid {
  display: grid;
  grid-template-columns: 1.1fr 1.5fr 0.9fr;
  gap: 2.5rem;
  align-items: center;
}

.who-content h2 {
  font-family: var(--font-serif);
  color: var(--navy-900);
  font-size: 2rem;
  line-height: 1.25;
  margin-bottom: 1rem;
}

.who-content p {
  color: var(--slate-600);
  font-size: 0.92rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.who-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--crimson-500);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.who-link:hover {
  color: var(--crimson-700);
  gap: 0.75rem;
}

/* Stats 4-Item Grid */
.stats-center-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem 1.5rem;
  padding: 0 1.5rem;
  border-left: 1px solid rgba(10, 37, 64, 0.12);
  border-right: 1px solid rgba(10, 37, 64, 0.12);
}

.stat-box {
  display: flex;
  flex-direction: column;
}

.stat-icon-wrapper {
  width: 36px;
  height: 36px;
  margin-bottom: 0.5rem;
}

.stat-box-num {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--navy-900);
  line-height: 1;
  margin-bottom: 0.35rem;
}

.stat-box-label {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--navy-800);
  margin-bottom: 0.2rem;
}

.stat-box-desc {
  font-size: 0.75rem;
  color: var(--slate-600);
}

/* Right Safety Vessel Card */
.commitment-card {
  position: relative;
  height: 280px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: url("../images/vessel_safety.jpg") center center / cover no-repeat;
  box-shadow: var(--shadow-xl);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem;
  border: 1px solid rgba(10, 37, 64, 0.12);
}

.commitment-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    180deg,
    rgba(4, 14, 27, 0.2) 0%,
    rgba(4, 14, 27, 0.9) 100%
  );
  z-index: 1;
}

.commitment-card-content {
  position: relative;
  z-index: 2;
}

.commitment-tag {
  font-size: 0.72rem;
  color: var(--gold-400);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.25rem;
}

.commitment-title {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  color: var(--white);
  font-weight: 700;
  line-height: 1.25;
}

/* ==========================================================================
   WHAT WE DO / 4 PHOTO SERVICE CARDS (Matching Reference Layout)
   ========================================================================== */
.what-we-do-section {
  background-color: var(--slate-50);
  padding: 5.5rem 0;
}

.what-we-do-header {
  margin-bottom: 3rem;
  max-width: 680px;
}

.what-we-do-header h2 {
  font-family: var(--font-serif);
  font-size: 2.3rem;
  margin-bottom: 0.75rem;
}

.what-we-do-header p {
  color: var(--slate-600);
  font-size: 1rem;
}

.photo-services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
/* --- Service cards: image, copy and an Explore footer ------------------- */
.photo-service-card {
  --psc-accent: var(--teal-600);
  --psc-accent-soft: rgba(13, 148, 136, 0.12);
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition:
    transform 0.4s cubic-bezier(0.4, 0, 0.2, 1),
    box-shadow 0.4s cubic-bezier(0.4, 0, 0.2, 1),
    border-color 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.photo-service-card.psc-green {
  --psc-accent: var(--green-600);
  --psc-accent-soft: rgba(22, 163, 74, 0.12);
}
.photo-service-card.psc-gold {
  --psc-accent: var(--gold-600);
  --psc-accent-soft: rgba(184, 123, 29, 0.14);
}
.photo-service-card.psc-cyan {
  --psc-accent: var(--navy-600);
  --psc-accent-soft: rgba(25, 79, 133, 0.12);
}
.photo-service-card.psc-crimson {
  --psc-accent: var(--crimson-600);
  --psc-accent-soft: rgba(190, 18, 60, 0.12);
}

/* Media */
.psc-media {
  position: relative;
  height: 210px;
  overflow: hidden;
  flex-shrink: 0;
}

.psc-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.01);
  transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.psc-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(4, 14, 27, 0.45) 0%,
    rgba(4, 14, 27, 0) 45%
  );
  pointer-events: none;
}

/* Floating category badge */
.psc-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 0.9rem 0.45rem 0.5rem;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(8px);
  box-shadow: 0 6px 16px rgba(4, 14, 27, 0.22);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.psc-badge svg {
  width: 20px;
  height: 20px;
  padding: 3px;
  border-radius: 50%;
  color: var(--psc-accent);
  background: var(--psc-accent-soft);
  box-sizing: content-box;
}

.photo-card-title {
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--navy-900);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* Body */
.psc-body {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  padding: 1.5rem 1.5rem 1.35rem;
}

.psc-heading {
  font-family: var(--font-serif);
  font-size: 1.24rem;
  line-height: 1.3;
  color: var(--navy-900);
  margin-bottom: 0.4rem;
  transition: color 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.psc-kicker {
  font-size: 0.82rem;
  font-style: italic;
  color: var(--psc-accent);
  margin-bottom: 0.85rem;
}

.psc-desc {
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--slate-600);
  margin-bottom: 1.35rem;
}

/* Footer pinned to the bottom so all four align */
.psc-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: auto;
  padding-top: 1.1rem;
  border-top: 1px solid var(--slate-200);
}

.psc-explore {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--navy-900);
  transition: color 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.psc-plus {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  border-radius: 50%;
  color: var(--psc-accent);
  background: var(--psc-accent-soft);
  transition:
    transform 0.45s cubic-bezier(0.4, 0, 0.2, 1),
    background-color 0.35s ease,
    color 0.35s ease;
}

.psc-plus svg {
  width: 16px;
  height: 16px;
}

/* Hover */
.photo-service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: transparent;
}

.photo-service-card:hover .psc-img {
  transform: scale(1.07);
}

.photo-service-card:hover .psc-badge {
  transform: translateY(-3px);
}

.photo-service-card:hover .psc-heading,
.photo-service-card:hover .psc-explore {
  color: var(--psc-accent);
}

.photo-service-card:hover .psc-plus {
  background: var(--psc-accent);
  color: var(--white);
  transform: rotate(90deg);
}

/* Accent rule that sweeps across the top edge on hover */
.photo-service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  z-index: 3;
  background: var(--psc-accent);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.photo-service-card:hover::before {
  transform: scaleX(1);
}

/* ==========================================================================
   INNER PAGE HEROES & SERVICE HEADERS
   ========================================================================== */
.page-hero {
  position: relative;
  background: linear-gradient(
    135deg,
    var(--navy-950) 0%,
    var(--navy-900) 60%,
    #0d3b66 100%
  );
  color: var(--white);
  padding: 5rem 0 4rem 0;
  text-align: center;
}

.page-hero-content {
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
  text-align: center;
}

.page-hero h1 {
  color: var(--white);
  margin-bottom: 1rem;
  font-family: var(--font-serif);
}

.page-hero p {
  color: var(--slate-300);
  font-size: 1.15rem;
}

.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--slate-400);
  margin-bottom: 1.25rem;
}

.breadcrumb a {
  color: var(--gold-400);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
  background-color: var(--navy-950);
  color: var(--slate-400);
  padding-top: 4.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 3rem;
  margin-bottom: 3.5rem;
}

.footer-brand p {
  font-size: 0.9rem;
  color: var(--slate-400);
  margin-top: 1rem;
  line-height: 1.7;
}

.footer-col-title {
  color: var(--white);
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.footer-col-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background: var(--gold-500);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer-link {
  font-size: 0.88rem;
  color: var(--slate-300);
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.footer-link:hover {
  color: var(--gold-400);
  transform: translateX(4px);
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.88rem;
  color: var(--slate-300);
  margin-bottom: 0.85rem;
}

.footer-contact-icon {
  width: 18px;
  height: 18px;
  color: var(--gold-400);
  flex-shrink: 0;
  margin-top: 3px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1.5rem 0;
  font-size: 0.82rem;
  color: var(--slate-500);
}

.footer-bottom-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom-links {
  display: flex;
  gap: 1.5rem;
}

.footer-bottom-links a {
  color: var(--slate-400);
}

.footer-bottom-links a:hover {
  color: var(--gold-400);
}

/* ==========================================================================
   RESPONSIVE MEDIA QUERIES
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-ref-container {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .hero-vessel-selector {
    align-items: flex-start;
  }
  .vessel-tab-list {
    text-align: left;
    flex-direction: row;
    flex-wrap: wrap;
  }
  .who-we-are-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .stats-center-grid {
    border-left: none;
    border-right: none;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2rem 0;
  }
  .photo-services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .topbar {
    display: none;
  }
  .nav-menu,
  .nav-actions .btn {
    display: none;
  }
  .mobile-toggle {
    display: block;
    color: var(--slate-700);
  }
  .photo-services-grid {
    grid-template-columns: 1fr;
  }
  .stats-center-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .hero-ref {
    padding: 4.5rem 0 3.5rem 0;
    min-height: auto;
  }
}

/* ==========================================================================
   EXPLICIT SVG ICON CONSTRAINTS (PREVENT BLOW-UP)
   ========================================================================== */
.service-icon-box {
  width: 52px !important;
  height: 52px !important;
  min-width: 52px !important;
  min-height: 52px !important;
  max-width: 52px !important;
  max-height: 52px !important;
  border-radius: var(--radius-md);
  background: rgba(10, 37, 64, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.service-icon-box svg {
  width: 26px !important;
  height: 26px !important;
  max-width: 26px !important;
  max-height: 26px !important;
  stroke: currentColor;
}

.card-teal .service-icon-box {
  color: var(--teal-500);
  background: var(--teal-100);
}
.card-green .service-icon-box {
  color: var(--green-600);
  background: var(--green-100);
}
.card-gold .service-icon-box {
  color: var(--gold-600);
  background: var(--gold-100);
}
.card-magenta .service-icon-box {
  color: var(--crimson-500);
  background: var(--crimson-100);
}

/* Vision & Mission Icons */
.vm-icon {
  width: 52px !important;
  height: 52px !important;
  min-width: 52px !important;
  min-height: 52px !important;
  max-width: 52px !important;
  max-height: 52px !important;
  border-radius: 14px;
  background: rgba(13, 148, 136, 0.12);
  color: var(--teal-500);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.vm-icon {
  box-shadow: inset 0 0 0 1px rgba(13, 148, 136, 0.2);
}

.vm-icon.gold {
  background: rgba(223, 155, 53, 0.15);
  color: var(--gold-500);
  box-shadow: inset 0 0 0 1px rgba(223, 155, 53, 0.28);
}

.vm-icon svg {
  width: 28px !important;
  height: 28px !important;
  max-width: 28px !important;
  max-height: 28px !important;
  stroke: currentColor;
}

/* Service Card Links & Checklist Icons */
.service-card-link svg {
  width: 16px !important;
  height: 16px !important;
  max-width: 16px !important;
  max-height: 16px !important;
}

.checklist-item svg {
  width: 20px !important;
  height: 20px !important;
  max-width: 20px !important;
  max-height: 20px !important;
  color: var(--teal-500);
  flex-shrink: 0;
  margin-top: 3px;
}

/* Grids & Cards */
.services-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.services-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
}

.service-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.service-card p {
  color: var(--slate-600);
  font-size: 0.9rem;
  line-height: 1.6;
}

.service-card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--navy-900);
  margin-top: 1.5rem;
}

.service-card:hover .service-card-link {
  color: var(--crimson-500);
}

/* Vision / Mission Layout */
.vision-mission-section {
  background: linear-gradient(180deg, var(--white) 0%, #eef4fa 100%);
  border-top: 1px solid var(--slate-200);
}

.vm-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-bottom: 3rem;
  margin-top: 2.5rem;
  align-items: stretch;
}

.vm-box {
  position: relative;
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-xl);
  padding: 2.75rem 2.25rem 2.5rem;
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

/* Accent rule keyed to each card's icon colour */
.vm-box::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--teal-500);
}

.vm-grid .vm-box:nth-child(2)::before {
  background: var(--gold-500);
}

/* Soft tint bleeding in from the corner, matching the accent */
.vm-box::after {
  content: "";
  position: absolute;
  top: -70px;
  right: -70px;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(13, 148, 136, 0.12) 0%,
    rgba(13, 148, 136, 0) 70%
  );
  pointer-events: none;
}

.vm-grid .vm-box:nth-child(2)::after {
  background: radial-gradient(
    circle,
    rgba(223, 155, 53, 0.16) 0%,
    rgba(223, 155, 53, 0) 70%
  );
}

.vm-box:hover {
  border-color: var(--slate-300);
  box-shadow: var(--shadow-xl);
}

/* Stacked so icon, badge, title and body text all share one left edge */
.vm-box-header {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.15rem;
  margin-bottom: 1.25rem;
}

.vm-box-header > div:last-child {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.6rem;
}

.vm-box-header h3 {
  font-size: 1.45rem;
  line-height: 1.25;
  letter-spacing: -0.01em;
}

.vm-box p {
  color: var(--slate-600);
  font-size: 1rem;
  line-height: 1.75;
}

/* Values Grid */
.values-banner {
  position: relative;
  background:
    radial-gradient(
      circle at 12% 0%,
      rgba(13, 148, 136, 0.2) 0%,
      rgba(13, 148, 136, 0) 45%
    ),
    radial-gradient(
      circle at 88% 100%,
      rgba(223, 155, 53, 0.14) 0%,
      rgba(223, 155, 53, 0) 45%
    ),
    linear-gradient(
      135deg,
      var(--navy-800) 0%,
      var(--navy-900) 55%,
      var(--navy-950) 100%
    );
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-xl);
  padding: 3rem;
  color: var(--white);
  text-align: left;
  box-shadow: var(--shadow-xl);
  overflow: hidden;
}

.values-title {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--gold-400);
  margin-bottom: 2rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* Brand-red rule anchoring the title */
.values-title::after {
  content: "";
  display: block;
  width: 56px;
  height: 3px;
  border-radius: 2px;
  background: #c71221;
  margin: 0.9rem 0 0;
}

/* Numbered value grid - 01..06 come from a CSS counter */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.35rem 3rem;
  counter-reset: value;
}

.value-pill {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 0.85rem 0;
  background: none;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 0;
  color: var(--slate-200);
  font-family: var(--font-heading);
  font-size: 0.98rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  transition: var(--transition);
}

.value-pill::before {
  counter-increment: value;
  content: counter(value, decimal-leading-zero);
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--gold-400);
  letter-spacing: 0.04em;
  transition: var(--transition);
}

/* Red rule that sweeps in under the value on hover */
.value-pill::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 100%;
  height: 1px;
  background: #c71221;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}

.value-pill:hover {
  color: var(--white);
}

.value-pill:hover::before {
  color: #c71221;
}

.value-pill:hover::after {
  transform: scaleX(1);
}

/* The dot becomes the hairline separating number from label */
.value-pill-dot {
  width: 1px;
  height: 15px;
  border-radius: 0;
  background: rgba(255, 255, 255, 0.28);
  flex-shrink: 0;
  transition: var(--transition);
}

.value-pill:hover .value-pill-dot {
  background: rgba(199, 18, 33, 0.75);
}

/* Case Study Section */
.case-study-section {
  background: var(--navy-950);
  color: var(--white);
}

.case-study-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3rem;
  align-items: center;
}

.cs-badge-highlight {
  display: inline-block;
  background: rgba(223, 155, 53, 0.15);
  color: var(--gold-400);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  border: 1px solid rgba(223, 155, 53, 0.3);
  margin-bottom: 1rem;
}

.case-study-content h2 {
  color: var(--white);
  font-family: var(--font-serif);
  font-size: 2.2rem;
  margin-bottom: 1.25rem;
}

.case-study-content p {
  color: var(--slate-300);
  font-size: 0.98rem;
  line-height: 1.7;
  margin-bottom: 1.25rem;
}

.case-study-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin: 2rem 0;
}

.cs-metric-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  padding: 1.25rem 1rem;
  text-align: center;
}

.cs-metric-num {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--gold-400);
}

.cs-metric-desc {
  font-size: 0.75rem;
  color: var(--slate-400);
  margin-top: 0.25rem;
}

.case-study-card-visual {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-xl);
  padding: 2.5rem 2rem;
}

/* CTA Banner */
.cta-banner {
  background: linear-gradient(
    135deg,
    var(--crimson-500) 0%,
    var(--navy-700) 50%,
    var(--navy-950) 100%
  );
  border-radius: var(--radius-xl);
  padding: 4.5rem 2.5rem;
  text-align: center;
  color: var(--white);
  box-shadow: var(--shadow-xl);
  border: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
}

.cta-banner-content {
  max-width: 780px;
  margin: 0 auto;
}

.cta-banner h2 {
  color: var(--white);
  font-family: var(--font-serif);
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  margin-bottom: 1.25rem;
}

.cta-banner p {
  color: var(--slate-300);
  font-size: 1.1rem;
  margin-bottom: 2.25rem;
  line-height: 1.7;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.25rem;
}

@media (max-width: 1024px) {
  .services-grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .services-grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
  .vm-grid {
    grid-template-columns: 1fr;
  }
  .values-grid {
    grid-template-columns: 1fr 1fr;
    gap: 0.3rem 2.25rem;
  }
  .case-study-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .services-grid-4 {
    grid-template-columns: 1fr;
  }
  .services-grid-3 {
    grid-template-columns: 1fr;
  }
  .case-study-metrics {
    grid-template-columns: 1fr;
  }
  .cta-banner {
    padding: 3rem 1.5rem;
  }
  .vm-box {
    padding: 2.25rem 1.5rem 2rem;
  }
  .values-banner {
    padding: 2.25rem 1.5rem;
  }
  .values-title {
    font-size: 1.05rem;
    letter-spacing: 0.06em;
  }
  .values-grid {
    grid-template-columns: 1fr 1fr;
    gap: 0.25rem 1.5rem;
  }
  .value-pill {
    font-size: 0.82rem;
    letter-spacing: 0.06em;
    gap: 0.6rem;
    padding: 0.7rem 0;
  }
  .filter-btn {
    flex: auto !important;
  }
}

@media (max-width: 520px) {
  .values-grid {
    grid-template-columns: 1fr;
  }
}
