:root {
  --navy: #0B1E33;
  --navy-2: #122844;
  --navy-3: #1B3A5C;
  --coral: #FF6B4A;
  --coral-dark: #E24E2C;
  --coral-tint: #FFE7E0;
  --fog: #F5F7FA;
  --steel: #5C6B7A;
  --white: #FFFFFF;
  --line: #E3E8EE;
  --font-head: 'Space Grotesk', sans-serif;
  --font-body: 'Inter', sans-serif;
  --max: 1240px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--navy);
  background: var(--white);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-head);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--navy);
}

.eyebrow {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 12.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--coral-dark);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.eyebrow::before {
  content: "";
  width: 18px;
  height: 2px;
  background: var(--coral);
  display: inline-block;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 14.5px;
  letter-spacing: 0.01em;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
  white-space: nowrap;
}

.btn-coral {
  background: var(--coral);
  color: var(--white);
  box-shadow: 0 8px 20px -8px rgba(255, 107, 74, 0.6);
}

.btn-coral:hover {
  background: var(--coral-dark);
  transform: translateY(-2px);
  box-shadow: 0 12px 26px -8px rgba(255, 107, 74, 0.7);
}

.btn-ghost {
  color: var(--white);
  border: 1.5px solid rgba(255, 255, 255, 0.35);
}

.btn-ghost:hover {
  border-color: rgba(255, 255, 255, 0.8);
  background: rgba(255, 255, 255, 0.06);
}

.btn-outline-navy {
  color: var(--navy);
  border: 1.5px solid var(--line);
}

.btn-outline-navy:hover {
  border-color: var(--navy);
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s cubic-bezier(.2, .7, .2, 1), transform .7s cubic-bezier(.2, .7, .2, 1);
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1.in-view {
  transition-delay: .08s;
}

.reveal-delay-2.in-view {
  transition-delay: .16s;
}

.reveal-delay-3.in-view {
  transition-delay: .24s;
}

.reveal-delay-4.in-view {
  transition-delay: .32s;
}

.reveal-delay-5.in-view {
  transition-delay: .4s;
}

.reveal-delay-6.in-view {
  transition-delay: .48s;
}

/* ===== HEADER ===== */
header {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(11, 30, 51, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: background .3s ease;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 19px;
  color: var(--white);
  letter-spacing: -0.01em;
}

.logo-mark {
  width: 34px;
  height: 34px;
  flex-shrink: 0;
}

.logo-sub {
  display: block;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 9.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--coral);
  margin-top: 2px;
}

nav.primary-nav {
  display: flex;
  align-items: center;
  gap: 38px;
}

nav.primary-nav a {
  font-size: 14.5px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.8);
  position: relative;
  padding: 6px 0;
  transition: color .2s ease;
}

nav.primary-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--coral);
  transition: width .25s ease;
}

nav.primary-nav a:hover {
  color: var(--white);
}

nav.primary-nav a:hover::after {
  width: 100%;
}

.header-cta-wrap {
  display: flex;
  align-items: center;
  gap: 20px;
}

.hamburger {
  display: flex;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  z-index: 1200;
}

.hamburger span {
  width: 22px;
  height: 2px;
  background: var(--white);
  transition: transform .3s ease, opacity .3s ease;
}

.hamburger.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-menu {
  position: fixed;
  inset: 0;
  background: var(--navy);
  z-index: 1100;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 6px;
  padding: 0 40px;
  transform: translateY(-100%);
  transition: transform .4s cubic-bezier(.2, .8, .2, 1);
}

.mobile-menu.open {
  transform: translateY(0);
}

.mobile-menu a {
  font-family: var(--font-head);
  font-size: 34px;
  font-weight: 600;
  color: var(--white);
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  width: 100%;
}

.mobile-menu .btn {
  margin-top: 28px;
}

.close-menu {
  position: absolute;
  top: 24px;
  right: 24px;
  color: var(--white);
  padding: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background .2s ease, transform .2s ease;
  z-index: 1200;
  cursor: pointer;
  border: none;
  background: none;
}

.close-menu:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: scale(1.05);
}

.close-menu svg {
  width: 28px;
  height: 28px;
  stroke: var(--white);
}

/* ===== HERO ===== */
.hero {
  position: relative;
  background: linear-gradient(155deg, var(--navy) 0%, var(--navy-2) 45%, var(--navy-3) 100%);
  color: var(--white);
  padding: 120px 0 0;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: -20%;
  right: -10%;
  width: 640px;
  height: 640px;
  background: radial-gradient(circle, rgba(255, 107, 74, 0.16) 0%, rgba(255, 107, 74, 0) 68%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
  padding-bottom: 80px;
}

.hero h1 {
  font-size: clamp(34px, 4.6vw, 58px);
  line-height: 1.04;
  margin: 20px 0 22px;
  color: var(--white);
}

.hero h1 em {
  font-style: normal;
  color: var(--coral);
}

.hero p.subhead {
  font-size: 17.5px;
  color: rgba(255, 255, 255, 0.72);
  max-width: 520px;
  margin-bottom: 34px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
}

.route-svg {
  width: 100%;
  height: auto;
}

.route-dash {
  stroke-dasharray: 6 10;
  animation: dash-move 3.5s linear infinite;
}

@keyframes dash-move {
  to {
    stroke-dashoffset: -160;
  }
}

.vessel-dot {
  animation: vessel-pulse 2.6s ease-in-out infinite;
}

@keyframes vessel-pulse {

  0%,
  100% {
    r: 5;
    opacity: 1;
  }

  50% {
    r: 7;
    opacity: .65;
  }
}

.stat-strip {
  position: relative;
  z-index: 2;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 26px 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.stat-strip .stat {
  text-align: left;
}

.stat .num {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(22px, 2.6vw, 32px);
  color: var(--white);
  display: block;
}

.stat .label {
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.55);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 4px;
  display: block;
}

.wave-divider {
  display: block;
  width: 100%;
  line-height: 0;
  position: relative;
  z-index: 2;
}

.wave-divider svg {
  width: 100%;
  height: 70px;
  display: block;
}

/* ===== SECTION SHARED ===== */
section {
  padding: 100px 0;
}

.section-fog {
  background: var(--fog);
}

.section-head {
  max-width: 640px;
  margin-bottom: 56px;
}

.section-head h2 {
  font-size: clamp(28px, 3.4vw, 42px);
  margin-top: 14px;
  line-height: 1.1;
}

.section-head p {
  color: var(--steel);
  font-size: 16px;
  margin-top: 14px;
}

/* ===== SERVICES GRID ===== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 32px 28px;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 40px -20px rgba(11, 30, 51, 0.25);
  border-color: transparent;
}

.service-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: var(--coral-tint);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background .3s ease;
}

.service-card:hover .service-icon {
  background: var(--coral);
}

.service-icon svg {
  width: 26px;
  height: 26px;
  stroke: var(--coral-dark);
  transition: stroke .3s ease;
}

.service-card:hover .service-icon svg {
  stroke: var(--white);
}

.service-card h3 {
  font-size: 19px;
  font-weight: 600;
}

.service-card p {
  color: var(--steel);
  font-size: 14.5px;
  flex-grow: 1;
}

.service-link {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--navy);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.service-link svg {
  width: 14px;
  height: 14px;
  transition: transform .25s ease;
}

.service-card:hover .service-link svg {
  transform: translateX(4px);
}

/* ===== WHY BAND ===== */
.why-band {
  background: var(--navy);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.why-band .route-bg {
  position: absolute;
  inset: 0;
  opacity: 0.14;
  pointer-events: none;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  position: relative;
  z-index: 2;
}

.why-item {
  border-top: 2px solid rgba(255, 255, 255, 0.14);
  padding-top: 22px;
}

.why-icon {
  width: 38px;
  height: 38px;
  margin-bottom: 18px;
}

.why-icon svg {
  width: 100%;
  height: 100%;
  stroke: var(--coral);
}

.why-item h3 {
  color: var(--white);
  font-size: 17px;
  margin-bottom: 8px;
}

.why-item p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px;
}

/* ===== LEADERSHIP ===== */
.leader-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.leader-card {
  text-align: left;
}

.leader-photo {
  width: 100%;
  aspect-ratio: 1/1;
  border-radius: 16px;
  background: linear-gradient(140deg, var(--navy-3), var(--navy));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  position: relative;
  overflow: hidden;
}

.leader-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  position: relative;
  z-index: 0;
}

.leader-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(255, 107, 74, 0.22), rgba(11, 30, 51, 0) 60%);
  z-index: 1;
  pointer-events: none;
}

.leader-photo span {
  font-family: var(--font-head);
  font-size: 15px;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  position: relative;
  z-index: 0;
}

.leader-card h3 {
  font-size: 19px;
  margin-bottom: 4px;
}

.leader-card .role {
  color: var(--coral-dark);
  font-weight: 600;
  font-size: 13.5px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ===== GROUP OF COMPANIES ===== */
.group-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.group-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 30px 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  min-height: 150px;
  transition: box-shadow .3s ease, transform .3s ease;
}

.group-card:hover {
  box-shadow: 0 18px 32px -18px rgba(11, 30, 51, 0.22);
  transform: translateY(-4px);
}

.group-mark {
  width: 40px;
  height: 40px;
  border-radius: 9px;
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
}

.group-mark svg {
  width: 20px;
  height: 20px;
  stroke: var(--coral);
}

.group-card h4 {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.3;
}

.group-card span.loc {
  color: var(--steel);
  font-size: 12.5px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ===== FOOTER ===== */
footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.6);
  padding: 80px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand .logo {
  margin-bottom: 16px;
}

.footer-brand p {
  font-size: 14px;
  max-width: 280px;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 22px;
}

.social-row {
  display: flex;
  gap: 12px;
}

.social-row a {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .25s ease, border-color .25s ease;
}

.social-row a:hover {
  background: var(--coral);
  border-color: var(--coral);
}

.social-row svg {
  width: 16px;
  height: 16px;
  stroke: var(--white);
}

.footer-col h4 {
  color: var(--white);
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 18px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.footer-col ul li {
  margin-bottom: 11px;
}

.footer-col a {
  font-size: 14.5px;
  color: rgba(255, 255, 255, 0.6);
  transition: color .2s ease;
}

.footer-col a:hover {
  color: var(--coral);
}

.footer-bottom {
  padding-top: 26px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.4);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 52px;
  }

  .hero-inner .route-visual {
    max-width: 420px;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .why-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 36px 24px;
  }

  .leader-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }

  .group-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px 24px;
  }
}

@media (max-width: 768px) {
  nav.primary-nav {
    display: none;
  }

  .header-cta-wrap .btn-coral {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  section {
    padding: 70px 0;
  }

  .stat-strip {
    grid-template-columns: repeat(2, 1fr);
    gap: 26px 16px;
    padding-left: 20px;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .why-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .leader-grid {
    grid-template-columns: 1fr;
    max-width: 360px;
  }

  .group-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .header-inner {
    height: 66px;
  }

  .hero {
    padding-top: 96px;
  }

  .hero-inner {
    padding-bottom: 56px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .mobile-menu a {
    font-size: 26px;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--coral);
  outline-offset: 3px;
}

.header-cta-wrap .btn-coral {
  display: none;
}

.hero-actions {
  display: none;
}

@media (min-width: 767px) {

  .header-cta-wrap {
    display: none;
  }



  .hamburger {
    display: none !important;
  }
}

/* ===== SERVICE OFFCANVAS ===== */
.service-offcanvas-overlay {
  position: fixed;
  inset: 0;
  background: rgba(11, 30, 51, 0.4);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 2000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-offcanvas-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.service-offcanvas {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  max-width: 350px;
  background: var(--white);
  box-shadow: -10px 0 40px -15px rgba(11, 30, 51, 0.3);
  z-index: 2001;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-offcanvas.open {
  transform: translateX(0);
}

.offcanvas-header {
  padding: 24px 20px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.offcanvas-header h3 {
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--steel);
  margin: 0;
}

.offcanvas-close {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--steel);
  padding: 6px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, color 0.2s;
}

.offcanvas-close:hover {
  background: var(--fog);
  color: var(--navy);
}

.offcanvas-close svg {
  width: 20px;
  height: 20px;
}

.offcanvas-body {
  flex-grow: 1;
  overflow-y: auto;
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.offcanvas-image-wrap {
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  background: var(--fog);
}

.offcanvas-image-wrap img {
  width: 100%;
  height: auto;
  aspect-ratio: 16/10;
  object-fit: cover;
  display: block;
}

.offcanvas-content-wrap h4 {
  font-size: 22px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 12px;
  line-height: 1.25;
}

.offcanvas-desc {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--steel);
}

.offcanvas-desc p {
  margin-bottom: 12px;
}

.offcanvas-desc ul {
  list-style: disc;
  padding-left: 20px;
  margin-bottom: 12px;
}

.offcanvas-desc li {
  margin-bottom: 6px;
}

.offcanvas-footer {
  padding: 20px;
  border-top: 1px solid var(--line);
  background: var(--fog);
}

.offcanvas-footer .btn {
  width: 100%;
  padding: 14px;
}

/* =====================================================
   VISION & MISSION PAGE — vm-* components
   Scoped styles that sit on top of the shared system
   ===================================================== */

/* ── Hero / Banner ── */
.vm-hero {
  position: relative;
  min-height: 420px;
  display: flex;
  flex-direction: column;
  background: var(--navy);
  overflow: hidden;
  padding: 0;
}

.vm-hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  z-index: 0;
}

.vm-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg,
      rgba(11, 30, 51, 0.82) 0%,
      rgba(11, 30, 51, 0.60) 60%,
      rgba(18, 40, 68, 0.70) 100%);
  z-index: 1;
}

.vm-hero__inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 16px;
  justify-content: flex-end;
  padding-top: 140px;
  padding-bottom: 80px;
}

.vm-hero__inner .eyebrow {
  color: var(--coral);
}

.vm-hero__inner .eyebrow::before {
  background: var(--coral);
}

.vm-hero__title {
  font-family: var(--font-head);
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.18;
  letter-spacing: -0.03em;
  max-width: 640px;
}

/* Wave divider reuse — already in base styles, just ensure z-index is correct */
.vm-hero .wave-divider {
  position: relative;
  z-index: 3;
  margin-top: auto;
  line-height: 0;
}

/* ── Section container ── */
.vm-section {
  padding: 80px 0 100px;
}

.vm-section .section-head {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 64px;
}

.vm-section .section-head h2 {
  font-size: clamp(1.6rem, 3vw, 2.25rem);
  margin-top: 12px;
  margin-bottom: 14px;
  color: var(--navy);
}

.vm-section .section-head p {
  font-size: 16px;
  color: var(--steel);
  line-height: 1.65;
}

/* ── 2-Column Row ── */
.vm-row {
  display: flex;
  align-items: center;
  gap: 64px;
  margin-bottom: 80px;
}

.vm-row:last-child {
  margin-bottom: 0;
}

/* Image-right variant: reverse column order */
.vm-row--img-right {
  flex-direction: row-reverse;
}

/* ── Image Column ── */
.vm-row__image-col {
  flex: 0 0 48%;
  max-width: 48%;
}

.vm-row__image-wrap {
  width: 100%;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(11, 30, 51, 0.12);
  background: var(--fog);
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: box-shadow 0.35s ease, transform 0.35s ease;
}

.vm-row__image-wrap:hover {
  box-shadow: 0 20px 56px rgba(11, 30, 51, 0.18);
  transform: translateY(-4px);
}

.vm-row__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.vm-row__image-wrap:hover .vm-row__image {
  transform: scale(1.04);
}

/* Placeholder SVG styling */
.vm-row__image-placeholder {
  background: var(--fog);
}

.vm-row__image-placeholder svg {
  width: 100%;
  height: 100%;
  display: block;
}

/* Subtle coral accent bar on left side of image */
.vm-row__image-wrap::before {
  content: '';
  position: absolute;
  left: 0;
  top: 20%;
  height: 60%;
  width: 4px;
  background: var(--coral);
  border-radius: 0 4px 4px 0;
  z-index: 1;
  opacity: 0;
  transform: scaleY(0);
  transition: opacity 0.35s ease, transform 0.35s ease;
  transform-origin: center;
}

.vm-row__image-wrap:hover::before {
  opacity: 1;
  transform: scaleY(1);
}

/* ── Text Column ── */
.vm-row__text-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.vm-row__text-col .eyebrow {
  color: var(--coral-dark);
}

.vm-row__heading {
  font-family: var(--font-head);
  font-size: clamp(1.45rem, 2.8vw, 2rem);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.25;
  letter-spacing: -0.025em;
  margin: 0;
}

.vm-row__desc {
  font-size: 15.5px;
  line-height: 1.72;
  color: var(--steel);
}

.vm-row__desc p {
  margin-bottom: 14px;
}

.vm-row__desc p:last-child {
  margin-bottom: 0;
}

.vm-row__desc ul {
  list-style: none;
  padding: 0;
  margin: 0 0 14px;
}

.vm-row__desc ul li {
  padding-left: 22px;
  position: relative;
  margin-bottom: 8px;
  color: var(--steel);
}

.vm-row__desc ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 8px;
  height: 2px;
  background: var(--coral);
  border-radius: 2px;
}

/* ── Responsive ── */
@media (max-width: 900px) {
  .vm-hero {
    min-height: 320px;
  }

  .vm-hero__inner {
    padding-top: 120px;
    padding-bottom: 60px;
  }

  .vm-section {
    padding: 60px 0 80px;
  }

  .vm-section .section-head {
    margin-bottom: 48px;
  }

  .vm-row,
  .vm-row--img-right {
    flex-direction: column;
    gap: 36px;
    margin-bottom: 60px;
  }

  .vm-row__image-col {
    flex: 0 0 100%;
    max-width: 100%;
  }
}

@media (max-width: 600px) {
  .vm-hero {
    min-height: 260px;
  }

  .vm-hero__inner {
    padding-top: 100px;
    padding-bottom: 48px;
  }

  .vm-row {
    margin-bottom: 48px;
  }

  .vm-row__image-wrap {
    aspect-ratio: 3 / 2;
  }
}

/* ── END Vision & Mission styles ── */


/* =====================================================
   HISTORY PAGE — hist-* components
   Scoped styles on top of the shared design system
   ===================================================== */

/* ── Intro Section ── */
.hist-intro {
  padding: 72px 0 56px;
  background: var(--fog);
}

.hist-intro__inner {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.hist-intro__heading {
  font-family: var(--font-head);
  font-size: clamp(1.6rem, 3vw, 2.25rem);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.22;
  letter-spacing: -0.025em;
}

.hist-intro__desc {
  font-size: 16px;
  line-height: 1.7;
  color: var(--steel);
}

.hist-intro__desc p {
  margin-bottom: 12px;
}

.hist-intro__desc p:last-child {
  margin-bottom: 0;
}

/* ── Timeline Section ── */
.hist-timeline-section {
  padding: 80px 0 110px;
  background: var(--white);
}

/* Timeline container — holds the vertical line and all items */
.hist-timeline {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* Central vertical line */
.hist-timeline__line {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  background: linear-gradient(to bottom,
      transparent 0%,
      var(--line) 8%,
      var(--line) 92%,
      transparent 100%);
  z-index: 0;
}

/* ── Each timeline item row ── */
.hist-timeline__item {
  position: relative;
  display: grid;
  /* image col | node col | text col */
  grid-template-columns: 1fr 80px 1fr;
  grid-template-areas: "image node text";
  align-items: center;
  gap: 0 40px;
  padding: 56px 0;
  border-bottom: 1px solid transparent;
}

.hist-timeline__item:last-child {
  border-bottom: none;
}

/* Alt row: text on left, image on right */
.hist-timeline__item--alt {
  grid-template-areas: "text node image";
}

/* ── Node (dot + year bubble) ── */
.hist-timeline__node {
  grid-area: node;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 1;
  position: relative;
}

.hist-timeline__dot {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--white);
  border: 3px solid var(--coral);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 0 6px rgba(255, 107, 74, 0.12);
  transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

.hist-timeline__item:hover .hist-timeline__dot {
  box-shadow: 0 0 0 10px rgba(255, 107, 74, 0.18);
  border-color: var(--coral-dark);
}

.hist-timeline__year-bubble {
  font-family: var(--font-head);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--coral-dark);
  text-align: center;
  line-height: 1.1;
}

/* ── Image Column ── */
.hist-timeline__image-col {
  grid-area: image;
}

.hist-timeline__image-wrap {
  width: 100%;
  border-radius: 16px;
  overflow: hidden;
  background: var(--fog);
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 36px rgba(11, 30, 51, 0.10);
  transition: box-shadow 0.35s ease, transform 0.35s ease;
  position: relative;
}

.hist-timeline__image-wrap:hover {
  box-shadow: 0 18px 52px rgba(11, 30, 51, 0.18);
  transform: translateY(-4px);
}

/* Coral accent bar on hover */
.hist-timeline__image-wrap::before {
  content: '';
  position: absolute;
  left: 0;
  top: 20%;
  height: 60%;
  width: 4px;
  background: var(--coral);
  border-radius: 0 4px 4px 0;
  z-index: 1;
  opacity: 0;
  transform: scaleY(0);
  transition: opacity 0.35s ease, transform 0.35s ease;
  transform-origin: center;
}

.hist-timeline__image-wrap:hover::before {
  opacity: 1;
  transform: scaleY(1);
}

.hist-timeline__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.hist-timeline__image-wrap:hover .hist-timeline__image {
  transform: scale(1.04);
}

.hist-timeline__image-placeholder svg {
  width: 100%;
  height: 100%;
  display: block;
}

/* ── Text Column ── */
.hist-timeline__text-col {
  grid-area: text;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.hist-timeline__year-tag {
  font-family: var(--font-head);
  font-size: clamp(2.4rem, 5vw, 3.5rem);
  font-weight: 800;
  color: transparent;
  -webkit-text-stroke: 2px var(--coral);
  letter-spacing: -0.04em;
  line-height: 1;
}

.hist-timeline__title {
  font-family: var(--font-head);
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.28;
  letter-spacing: -0.022em;
}

.hist-timeline__desc {
  font-size: 15.5px;
  line-height: 1.72;
  color: var(--steel);
}

.hist-timeline__desc p {
  margin-bottom: 12px;
}

.hist-timeline__desc p:last-child {
  margin-bottom: 0;
}

/* For alt rows: right-align text column */
.hist-timeline__item--alt .hist-timeline__text-col {
  text-align: right;
  align-items: flex-end;
}

/* ── Responsive: tablet ── */
@media (max-width: 900px) {
  .hist-intro {
    padding: 56px 0 44px;
  }

  .hist-timeline-section {
    padding: 60px 0 80px;
  }

  .hist-timeline__line {
    left: 24px;
    transform: none;
  }

  .hist-timeline__item,
  .hist-timeline__item--alt {
    grid-template-columns: 56px 1fr;
    grid-template-areas:
      "node text"
      "node image";
    gap: 0 28px;
    padding: 40px 0;
    align-items: start;
  }

  .hist-timeline__node {
    grid-row: 1 / 3;
  }

  .hist-timeline__image-col {
    grid-area: image;
    margin-top: 20px;
  }

  .hist-timeline__text-col {
    grid-area: text;
  }

  .hist-timeline__item--alt .hist-timeline__text-col {
    text-align: left;
    align-items: flex-start;
  }

  .hist-timeline__dot {
    width: 44px;
    height: 44px;
  }
}

/* ── Responsive: mobile ── */
@media (max-width: 600px) {
  .hist-intro {
    padding: 44px 0 36px;
  }

  .hist-timeline-section {
    padding: 48px 0 64px;
  }

  .hist-timeline__year-tag {
    font-size: 2rem;
  }

  .hist-timeline__image-wrap {
    aspect-ratio: 3 / 2;
  }
}

/* ── END History styles ── */


/* =====================================================
   VISION & MISSION 2-COLUMN CARDS
   ===================================================== */
.vm-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  margin-top: 40px;
}

.vm-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 40px 36px;
  position: relative;
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
  display: flex;
  flex-direction: column;
}

.vm-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px -15px rgba(11, 30, 51, 0.12);
  border-color: var(--coral-tint);
}

/* Top Accent Line on Hover */
.vm-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 36px;
  right: 36px;
  height: 3px;
  background: var(--coral);
  border-radius: 0 0 3px 3px;
  opacity: 0;
  transition: opacity 0.35s ease;
}

.vm-card:hover::before {
  opacity: 1;
}

.vm-card__icon {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background: var(--coral-tint);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--coral-dark);
}

.vm-card__icon svg {
  width: 28px;
  height: 28px;
  stroke: var(--coral-dark);
}

.vm-card__icon img {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.vm-card__title {
  font-family: var(--font-head);
  font-size: 24px;
  font-weight: 700;
  color: var(--navy);
  margin: 6px 0 16px;
}

.vm-card__content {
  font-size: 15.5px;
  line-height: 1.7;
  color: var(--steel);
}

.vm-card__content p {
  margin-bottom: 12px;
}

/* Bullet list styling for Mission list items */
.vm-card__content ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.vm-card__content ul li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 10px;
  color: var(--navy-3);
  font-weight: 500;
}

.vm-card__content ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--coral);
}

/* Responsive Stacking for Mobile */
@media (max-width: 860px) {
  .vm-cards-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  
  .vm-card {
    padding: 30px 24px;
  }
}


/* =====================================================
   OPTIONAL HISTORY TIMELINE ENHANCEMENTS
   ===================================================== */

/* Ensure historical archive photos fit neatly inside the image frame */
.hist-timeline__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: 12px;
}

/* Subtle accent glow around timeline dots when hovering */
.hist-timeline__item:hover .hist-timeline__dot {
  box-shadow: 0 0 0 8px rgba(255, 107, 74, 0.2);
  border-color: var(--coral-dark);
  transition: all 0.3s ease;
}

/* Center intro text block */
.hist-intro__inner {
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}


/* =====================================================
   CONTACT & CAREER FORM & MAP STYLES
   ===================================================== */
.form-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 40px;
  box-shadow: 0 10px 30px rgba(11, 30, 51, 0.05);
}

.form-card__title {
  font-family: var(--font-head);
  font-size: 24px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 6px;
}

.form-card__subtitle {
  font-size: 14.5px;
  color: var(--steel);
  margin-bottom: 24px;
}

/* Contact Form 7 Styling Modernization */
.custom-cf7-wrapper input[type="text"],
.custom-cf7-wrapper input[type="email"],
.custom-cf7-wrapper input[type="tel"],
.custom-cf7-wrapper input[type="file"],
.custom-cf7-wrapper textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #F8FAFC;
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--navy);
  margin-bottom: 16px;
  transition: border-color 0.3s ease, background 0.3s ease;
}

.custom-cf7-wrapper input:focus,
.custom-cf7-wrapper textarea:focus {
  outline: none;
  border-color: var(--coral);
  background: var(--white);
}

.custom-cf7-wrapper input[type="submit"] {
  background: var(--coral);
  color: var(--white);
  padding: 14px 28px;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s ease;
  width: 100%;
}

.custom-cf7-wrapper input[type="submit"]:hover {
  background: var(--coral-dark);
}

/* Career Highlight Cards */
.career-highlights {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 24px;
}

.career-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px;
  background: var(--white);
  border-radius: 12px;
  border: 1px solid var(--line);
}

.career-card__icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--coral-tint);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--coral-dark);
  flex-shrink: 0;
}

.career-card__icon svg {
  width: 22px;
  height: 22px;
}

/* Map Section */
.map-section {
  padding-bottom: 80px;
}

.map-container {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(11, 30, 51, 0.08);
  border: 1px solid var(--line);
}

/* =====================================================
   CONTACT US RIGHT-SIDE SECTION FIXES
   ===================================================== */

/* Right side wrapper spacing */
.contact-address-box {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 24px;
}

/* Styled Info Cards for Address / Email / Phone */
.contact-info-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.contact-info-card:hover {
  transform: translateY(-3px);
  border-color: var(--coral);
  box-shadow: 0 10px 25px rgba(11, 30, 51, 0.06);
}

.contact-info-card__icon {
  width: 46px;
  height: 46px;
  border-radius: 10px;
  background: var(--coral-tint);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--coral-dark);
  flex-shrink: 0;
}

.contact-info-card__icon svg {
  width: 22px;
  height: 22px;
  stroke: var(--coral-dark);
}

.contact-info-card h4 {
  font-family: var(--font-head);
  font-size: 17px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 4px;
}

.contact-info-card p,
.contact-info-card a {
  font-size: 14.5px;
  color: var(--steel);
  line-height: 1.5;
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-info-card a:hover {
  color: var(--coral);
}

/* Fix for raw HTML / ACF content rendered inside contact-address-box */
.contact-address-box p {
  color: var(--steel);
  font-size: 15.5px;
  line-height: 1.7;
  margin-bottom: 12px;
}

.contact-address-box h3, 
.contact-address-box h4 {
  font-family: var(--font-head);
  color: var(--navy);
  margin-bottom: 8px;
}

/* Divider styling inside ACF output if used */
.contact-address-box .border-devider,
.contact-address-box .devider {
  height: 1px;
  background: var(--line);
  margin: 20px 0;
}


/* =====================================================
   CLEAN UNBORDERED CF7 ERROR & SUCCESS STYLING
   ===================================================== */

/* 1. Subtle Red Tint on Invalid Fields (No heavy borders) */
.custom-cf7-wrapper input.wpcf7-not-valid,
.custom-cf7-wrapper textarea.wpcf7-not-valid,
.custom-cf7-wrapper select.wpcf7-not-valid {
  border-color: #E53E3E !important;
  background-color: rgba(229, 62, 62, 0.04) !important;
  box-shadow: none !important;
}

/* 2. Simple Red Error Text Below Fields */
.custom-cf7-wrapper .wpcf7-not-valid-tip {
  color: #E53E3E !important;
  font-size: 12px !important;
  font-weight: 500 !important;
  margin-top: -8px !important;
  margin-bottom: 12px !important;
  display: block !important;
  border: none !important;
  background: transparent !important;
  padding: 0 !important;
}

/* 3. Unbordered Response Alert at Bottom (Left Accent Line Only) */
.custom-cf7-wrapper .wpcf7-response-output {
  margin: 16px 0 0 0 !important;
  padding: 10px 14px !important;
  font-size: 13.5px !important;
  font-weight: 500 !important;
  line-height: 1.5 !important;
  border: none !important;
  border-left: 3px solid transparent !important;
  border-radius: 4px !important;
}

/* Validation Errors Bar (Soft Red Accent) */
.custom-cf7-wrapper form.invalid .wpcf7-response-output,
.custom-cf7-wrapper form.unaccepted .wpcf7-response-output,
.custom-cf7-wrapper form.failed .wpcf7-response-output {
  border-left-color: #E53E3E !important;
  background-color: rgba(229, 62, 62, 0.06) !important;
  color: #C53030 !important;
}

/* Success Bar (Soft Green Accent) */
.custom-cf7-wrapper form.sent .wpcf7-response-output {
  border-left-color: #38A169 !important;
  background-color: rgba(56, 161, 105, 0.06) !important;
  color: #276749 !important;
}

/* =====================================================
   HEADER & FOOTER BRAND LOGO FIX
   ===================================================== */
.logo-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  height: 100%;
}

/* Sizing down the logo image icon */
.logo-brand .logo-img {
  height: 36px !important;    /* Reduced to fit neatly in header */
  max-height: 36px !important;
  width: auto !important;
  object-fit: contain;
  border-radius: 4px;
  display: block;
}

.logo-text-wrap {
  display: flex;
  flex-direction: column;
  justify-content: center;
  line-height: 1.1;
}

.logo-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 17px;           /* Sized slightly to match the 36px icon */
  font-weight: 700;
  letter-spacing: -0.2px;
  color: #FFFFFF;
  white-space: nowrap;
}

.logo-sub {
  font-family: 'Inter', sans-serif;
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: #FF6B4A;
  margin-top: 2px;
}

.ht-site-header,
.ht-site-footer{
  display: none;
}