/* SV Ocean Services – About Page (home theme) */
.page-about {
  --sv-gold: #c9a227;
  --sv-gold-dark: #b08d1f;
  --sv-black: #111111;
  --sv-text: #333333;
  --sv-muted: #6b6b6b;
  --sv-light: #f7f7f7;
  --sv-white: #ffffff;
  --sv-teal: #2da397;
  --sv-teal-dark: #248f84;
  --sv-orange: #f39200;
  --sv-mustard: #e8c547;
  --sv-radius: 20px;
  --sv-shadow: 0 20px 50px rgba(17, 17, 17, 0.12);
  font-family: 'Poppins', sans-serif;
  color: var(--sv-text);
}

.page-about .header-v2-container,
.page-about .hp-container {
  max-width: 1240px;
  padding-left: 40px !important;
  padding-right: 40px !important;
}

.page-about .gold {
  color: var(--sv-gold);
}

.page-about .hp-display {
  font-weight: var(--heading-weight);
  letter-spacing: 0.02em;
  line-height: 1.2;
  text-transform: uppercase;
  color: var(--heading-color);
}

.page-about .hp-label {
  margin-bottom: 15px;
}

.page-about .header--v2 .menu {
  display: flex;
}

/* Page banner */
.ap-banner {
  background: var(--sv-light);
  padding: 48px 0 44px;
  border-bottom: 1px solid #ececec;
}

.ap-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--sv-muted);
  margin-bottom: 14px;
}

.ap-breadcrumb a {
  color: var(--sv-muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

.ap-breadcrumb a:hover {
  color: var(--sv-gold);
}

.ap-breadcrumb span:last-child {
  color: var(--sv-gold);
}

.ap-banner h1 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: var(--heading-weight);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--heading-color);
  margin: 0;
}

/* About intro – image floats left, text wraps then flows full width */
.ap-intro {
  padding: 72px 0 64px;
  background: var(--sv-white);
}

.ap-intro-flow::after {
  content: '';
  display: table;
  clear: both;
}

.ap-intro-visual {
  float: left;
  width: 44%;
  max-width: 520px;
  margin: 0 40px 20px 0;
  background: #eef3f7;
  overflow: hidden;
}

.ap-intro-visual img {
  width: 100%;
  height: auto;
  display: block;
}

.ap-section-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--sv-orange);
  margin-bottom: 18px;
}

.ap-label-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: linear-gradient(90deg, var(--sv-orange) 50%, var(--sv-teal) 50%);
  flex-shrink: 0;
}

.ap-intro-flow h2 {
  font-size: clamp(1.45rem, 2.6vw, 2rem);
  font-weight: 600;
  line-height: 1.35;
  text-transform: none;
  letter-spacing: 0;
  color: #2b2b2b;
  margin-bottom: 24px;
}

.ap-intro-flow > p {
  font-size: 15px;
  line-height: 1.75;
  color: #666666;
  margin-bottom: 18px;
}

.ap-intro-flow > p:last-of-type {
  margin-bottom: 18px;
}

.ap-intro-flow .ap-vm-row {
  clear: both;
  margin-top: 14px;
  gap: 32px;
}

.ap-intro-flow .hp-vm-box h4 {
  font-size: 1.05rem;
  font-weight: 600;
  color: #2b2b2b;
  margin-bottom: 12px;
}

.ap-intro-flow .hp-vm-box p {
  margin-bottom: 0;
}

/* Video hero + overlapping contact bar */
.ap-video-cta {
  position: relative;
  margin-bottom: 0;
}

.ap-video-hero {
  position: relative;
  min-height: 420px;
  background: url('../images/ap-video-hero-bg.png') center / cover no-repeat;
}

.ap-video-overlay {
  position: absolute;
  inset: 0;
  background: rgba(20, 30, 40, 0.58);
}

.ap-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  width: 88px;
  height: 88px;
  border: none;
  background: transparent;
  cursor: pointer;
  padding: 0;
}

.ap-play-rings {
  position: absolute;
  inset: 0;
  border-radius: 50%;
}

.ap-play-rings::before,
.ap-play-rings::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.85);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.ap-play-rings::before {
  width: 88px;
  height: 88px;
}

.ap-play-rings::after {
  width: 108px;
  height: 108px;
  opacity: 0.75;
}

.ap-play-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--sv-teal);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--sv-white);
  font-size: 16px;
  padding-left: 4px;
  transition: background 0.2s ease, transform 0.2s ease;
}

.ap-play-btn:hover .ap-play-icon {
  background: var(--sv-teal-dark);
  transform: translate(-50%, -50%) scale(1.05);
}

.ap-video-cta-bar {
  position: absolute;
  bottom: 0;
  right: 0;
  z-index: 3;
  width: 66%;
  min-height: 88px;
  background: var(--sv-mustard);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 40px 24px 120px;
  overflow: hidden;
}

.ap-video-cta-bar::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 140px;
  background: url('../images/world-tour.png') left center / contain no-repeat;
  opacity: 0.12;
  pointer-events: none;
}

.ap-video-cta-bar p {
  position: relative;
  z-index: 1;
  margin: 0;
  font-size: clamp(0.95rem, 1.6vw, 1.1rem);
  font-weight: 500;
  line-height: 1.45;
  color: var(--sv-white);
  flex: 1;
}

.ap-btn-teal {
  position: relative;
  z-index: 1;
  flex-shrink: 0;
  display: inline-block;
  background: var(--sv-teal);
  color: var(--sv-white);
  padding: 14px 28px;
  border-radius: 0;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.2s ease;
}

.ap-btn-teal:hover {
  background: var(--sv-teal-dark);
  color: var(--sv-white);
}

/* Video modal */
.ap-video-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.ap-video-modal[hidden] {
  display: none;
}

.ap-video-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
}

.ap-video-modal-dialog {
  position: relative;
  width: min(900px, 100%);
  background: #000;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4);
}

.ap-video-modal-close {
  position: absolute;
  top: 8px;
  right: 12px;
  z-index: 2;
  width: 36px;
  height: 36px;
  border: none;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  border-radius: 4px;
}

.ap-video-modal-body {
  position: relative;
  padding-top: 56.25%;
}

.ap-video-modal-body iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.ap-btn-dark {
  display: inline-block;
  background: var(--sv-black);
  color: var(--sv-white);
  padding: 14px 28px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.25s ease, transform 0.2s ease;
}

.ap-btn-dark:hover {
  background: #2a2a2a;
  color: var(--sv-white);
  transform: translateY(-1px);
}

/* Welcome section – image left */
.ap-welcome {
  padding: 80px 0;
  background: var(--sv-light);
}

.ap-welcome-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 56px;
  align-items: center;
}

.ap-welcome-image img {
  width: 100%;
  border-radius: 14px;
  display: block;
  box-shadow: var(--sv-shadow);
}

.ap-welcome-content h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: var(--heading-weight);
  text-transform: uppercase;
  line-height: 1.25;
  margin-bottom: 20px;
  color: var(--heading-color);
}

.ap-welcome-content .ap-text {
  font-size: var(--paragraph-size);
  line-height: 1.7;
  color: #555555;
  margin-bottom: 28px;
}

.ap-services-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 48px;
  margin-bottom: 32px;
}

.ap-services-list ul {
  list-style: none;
  padding: 0;
  margin: 0;
  flex: 1;
  min-width: 180px;
}

.ap-services-list li {
  position: relative;
  padding-left: 18px;
  margin-bottom: 12px;
  font-size: 14px;
  font-weight: 500;
  color: #555555;
}

.ap-services-list li::before {
  content: '';
  width: 7px;
  height: 7px;
  background: var(--sv-gold);
  border-radius: 50%;
  position: absolute;
  left: 0;
  top: 8px;
}

.ap-since {
  display: block;
  font-size: clamp(3rem, 8vw, 5rem);
  font-weight: 600;
  color: transparent;
  -webkit-text-stroke: 1px rgba(17, 17, 17, 0.25);
  line-height: 1;
  margin-top: 8px;
  letter-spacing: 0.04em;
  user-select: none;
}

/* Logos band on about page */
.page-about .hp-logos-band {
  background: var(--sv-white);
}

.page-about .hp-logos-section {
  text-align: center;
  padding: 56px 0 48px;
  overflow: hidden;
}

.page-about .hp-logos-section + .hp-logos-section {
  padding-top: 0;
}

.page-about .hp-logos-title {
  font-size: clamp(1.5rem, 2.8vw, 2rem);
  font-weight: 500;
  color: #3d3d3d;
  letter-spacing: 0.02em;
  margin-bottom: 40px;
  text-transform: none;
}

.page-about .hp-logo-marquee {
  width: 100%;
  overflow: hidden;
  position: relative;
}

.page-about .hp-logo-marquee-track {
  display: flex;
  align-items: center;
  width: max-content;
  gap: 28px;
  animation: ap-logo-marquee 40s linear infinite;
}

.page-about .hp-logo-marquee-track--partners {
  animation-duration: 45s;
}

.page-about .hp-logo-marquee:hover .hp-logo-marquee-track {
  animation-play-state: paused;
}

@keyframes ap-logo-marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.page-about .hp-logo-card {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 200px;
  height: 88px;
  padding: 16px 28px;
  background: var(--sv-white);
  border-radius: 12px;
  box-shadow: 0 4px 22px rgba(0, 0, 0, 0.08);
}

.page-about .hp-logo-card--partner {
  min-width: 220px;
  height: 96px;
  padding: 18px 32px;
}

.page-about .hp-logo-card img {
  max-height: 52px;
  max-width: 160px;
  width: auto;
  height: auto;
  object-fit: contain;
}

.page-about .hp-logo-card--partner img {
  max-height: 58px;
  max-width: 170px;
}

.page-about .hp-logos-section--cert {
  padding-bottom: 64px;
}

.page-about .hp-cert-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 36px 48px;
  max-width: 900px;
  margin: 0 auto;
}

.page-about .hp-cert-logos img {
  max-height: 72px;
  max-width: 140px;
  width: auto;
  height: auto;
  object-fit: contain;
}

/* Responsive */
@media (max-width: 991px) {
  .ap-intro-visual {
    float: none;
    width: 100%;
    max-width: none;
    margin: 0 0 28px;
  }

  .ap-welcome-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .ap-intro-flow .ap-vm-row {
    grid-template-columns: 1fr;
  }

  .ap-video-cta-bar {
    width: 78%;
    padding-left: 80px;
  }
}

@media (max-width: 767px) {
  .page-about .header-v2-container,
  .page-about .hp-container {
    padding-left: 20px !important;
    padding-right: 20px !important;
  }

  .ap-banner {
    padding: 36px 0 32px;
  }

  .ap-intro,
  .ap-welcome {
    padding: 56px 0;
  }

  .ap-video-hero {
    min-height: 320px;
  }

  .ap-video-cta-bar {
    position: relative;
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    padding: 28px 24px;
    gap: 16px;
  }

  .ap-video-cta-bar::before {
    width: 100px;
    opacity: 0.08;
  }

  .ap-btn-teal {
    align-self: flex-start;
  }

  .ap-services-list {
    flex-direction: column;
    gap: 0;
  }

  .page-about .hp-logos-section {
    padding: 44px 0 36px;
  }

  .page-about .hp-logo-card {
    min-width: 160px;
    height: 76px;
  }
}
