/* =========================================
   HERO SECTION — light airy background
   ========================================= */

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 140px 5vw 100px;
  position: relative;
  overflow: hidden;
  background: var(--bg);
}

/* Subtle dot grid */
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle, rgba(26, 107, 181, 0.18) 1px, transparent 1px);
  background-size: 36px 36px;
  opacity: 0.55;
  pointer-events: none;
}

/* Cobalt wash — upper left */
.hero-glow {
  position: absolute;
  top: -15%;
  left: -10%;
  width: 65vw;
  height: 65vw;
  background: radial-gradient(circle, rgba(26, 107, 181, 0.10), transparent 68%);
  filter: blur(90px);
  pointer-events: none;
}

/* Signal-green wash — lower right */
.hero-glow-2 {
  position: absolute;
  bottom: -15%;
  right: -10%;
  width: 55vw;
  height: 55vw;
  background: radial-gradient(circle, rgba(0, 159, 110, 0.07), transparent 68%);
  filter: blur(110px);
  pointer-events: none;
}

/* Inner wrapper */
.hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1100px;
}

.hero-inner .parent-badge,
.hero-inner h1,
.hero-inner .hero-sub,
.hero-inner .hero-actions {
  max-width: 1050px;
}

/* Center content below parent-badge */
.hero-inner h1,
.hero-inner .hero-actions,
.hero-inner .hero-stats {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.hero-inner .hero-sub {
  text-align: left  
}

/* Affiliate badge */
.parent-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  color: var(--ink-mid);
  font-weight: 500;
  margin-bottom: 1.6rem;
  background: var(--cobalt-pale);
  border: 1px solid var(--border-strong);
  padding: 6px 14px 6px 10px;
  border-radius: 20px;
  letter-spacing: 0.01em;
}

.parent-badge::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cobalt);
  flex-shrink: 0;
}

.parent-badge strong {
  color: var(--cobalt-deep);
}

/* Eyebrow */
.hero-eyebrow {
  font-size: 0.85rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--signal);
  font-weight: 700;
  margin-bottom: 1.1rem;
}

/* Headline */
.hero h1 {
  font-size: clamp(1.9rem, 5.8vw, 3.3rem);
  font-weight: 800;
  line-height: 1.5;
  margin-bottom: 1.6rem;
  color: var(--ink);
}

.hero .accent {
  color: var(--cobalt);
}

.hero-title-top {
  font-size: 1.15em;
}

.hero .accent.hero-title-top {
  color: #1057c8;
}

.hero .line-indent {
  display: inline-block;
  padding-left: 1.5rem;
}

@media (max-width: 480px) {
  .hero .line-indent {
    padding-left: 0.5rem;
  }
}

/* Sub-paragraph */
.hero-sub {
  font-size: 1.35rem;
  color: var(--muted);
  max-width: 560px;
  margin-bottom: 2.5rem;
  line-height: 1.85;
}

/* CTA row */
.hero-actions {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
  justify-content: center;  /* Center action buttons horizontally */
}

/* Stats bar */
.hero-stats {
  margin-top: 5rem;
  padding-top: 1rem;
  border-top: 1.5px solid var(--border-mid);
  display: flex;
  gap: 3rem;
  flex-wrap: wrap;      /* always allow wrapping — prevents overflow */
  justify-content: center;  /* Center stats horizontally */
}

@media (max-width: 700px) {
  .hero-stats {
    gap: 1.5rem;
    margin-top: 3rem;
  }
}

@media (max-width: 480px) {
  .hero-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
  }
}

.stat-item {
  text-align: left;
}

.stat-num {
  font-family: var(--font-head);
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--ink);
  line-height: 1;
}

.stat-num span {
  color: var(--signal);
  font-size: 2.8rem;
  font-weight: 800;
}

.stat-label {
  font-size: 0.76rem;
  color: var(--muted);
  letter-spacing: 0.04em;
  margin-top: 6px;
  max-width: 130px;
  line-height: 1.45;
}

/* =========================================
   ABOUT SECTION
   — light overlay preserves the background image
     while keeping dark ink text fully legible
   ========================================= */

.about-band {
  background: url('/assets/maritime_intell.png') center / cover no-repeat;
  border-top: 1px solid var(--border-mid);
  border-bottom: 1px solid var(--border-mid);
  position: relative;
}

/* White-to-pale-blue gradient: image shows through softly */
.about-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    130deg,
    rgba(244, 248, 252, 0.80) 0%,
    rgba(232, 241, 249, 0.70) 50%,
    rgba(214, 233, 248, 0.60) 100%
  );
  z-index: 1;
}

.about-band > * {
  position: relative;
  z-index: 2;
}

.about-band h2 {
  color: var(--ink);
}

.about-band p {
  max-width: 650px;
  margin-bottom: 1rem;
  color: var(--ink-mid);       /* dark enough on light overlay */
}

/* The inline style on the h3 uses --ice which no longer exists;
   override it here so the "Company Registration Details" title is visible */
.about-band h3.section-subtitle,
.about-band h3 {
  color: var(--ink-mid) !important;
}

/* =========================================
   SERVICES SECTION — clean light bg
   ========================================= */

#services {
  background: var(--bg-alt);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);  /* 6 cols on wide screens */
  gap: 1.5rem;
  margin-top: 2rem;
}

@media (max-width: 1200px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 700px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
}

.service-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 2rem;
  transition: box-shadow 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
  box-shadow: 0 2px 10px rgba(13, 30, 53, 0.05);
}

.service-card:hover {
  border-color: var(--cobalt);
  box-shadow: 0 8px 32px rgba(26, 107, 181, 0.13);
  transform: translateY(-3px);
}

.service-icon {
  font-size: 1.9rem;
  margin-bottom: 1rem;
  display: block;
}

.service-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
  color: var(--ink);
}

.service-card p {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.7;
}

.service-tag {
  display: inline-block;
  margin-top: 1.25rem;
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cobalt-deep);
  background: var(--cobalt-faint);
  border: 1px solid var(--cobalt-pale);
  padding: 4px 10px;
  border-radius: 4px;
  font-weight: 700;
}

/* =========================================
   VDES SECTION
   — cobalt-tinted overlay: image shows through,
     dark ink text stays readable
   ========================================= */

.vdes-band {
  background: url('/assets/maritime_vdes.png') center / cover no-repeat;
  border-top: 1px solid var(--border-mid);
  border-bottom: 1px solid var(--border-mid);
  position: relative;
}

.vdes-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    130deg,
    rgba(244, 248, 252, 0.75) 0%,
    rgba(198, 220, 242, 0.65) 100%
  );
  z-index: 1;
}

.vdes-band > * {
  position: relative;
  z-index: 2;
}

.vdes-band .section-title {
  color: var(--ink);
}

/* Paragraph in left col */
.vdes-band .section-desc {
  color: var(--ink-mid);
}

.vdes-feature-list {
  list-style: none;
  margin-top: 1.5rem;
  padding: 0;
  border: 1px solid var(--border-mid);
  border-radius: 8px;
  overflow: hidden;
  background: rgba(255,255,255,0.75);
}

.vdes-feature-list li {
  padding: 0.75rem 1rem 0.75rem 2.2rem;
  border-bottom: 1px solid var(--border);
  color: var(--ink-mid);
  font-size: 0.93rem;
  position: relative;
  line-height: 1.55;
  background: transparent;
  transition: background 0.15s;
}

.vdes-feature-list li:last-child {
  border-bottom: none;
}

.vdes-feature-list li:hover {
  background: var(--cobalt-faint);
}

.vdes-feature-list li::before {
  content: '';
  position: absolute;
  left: 0.85rem;
  top: 1.1rem;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--signal);
  flex-shrink: 0;
}

/* =========================================
   LEGAL SECTION — plain light background
   ========================================= */

.legal-band {
  background: var(--bg);
  border-top: 1px solid var(--border-mid);
}

.legal-band .section-title {
  color: var(--ink);
}

.legal-band p {
  max-width: 680px;
  color: var(--muted);
  margin-bottom: 1rem;
}

/* =========================================
   CONTACT SECTION
   — very light overlay, image visible through
   ========================================= */

.contact-band {
  background: url('/assets/maritime_contact.png') center / cover no-repeat;
  border-top: 1px solid var(--border-mid);
  position: relative;
}

.contact-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    130deg,
    rgba(244, 248, 252, 0.80) 0%,
    rgba(232, 241, 249, 0.70) 100%
  );
  z-index: 1;
}

.contact-band > * {
  position: relative;
  z-index: 2;
}

.contact-band h2 {
  color: var(--ink);
}

.contact-band p {
  max-width: 600px;
  margin-bottom: 1rem;
  color: var(--ink-mid);
}

.contact-band .section-desc {
  color: var(--muted);
}

/* =========================================
   FOOTER — intentionally dark for contrast
   (professional convention: dark footer on
    a light-themed site anchors the page)
   ========================================= */

footer#footer {
  border-top: 2px solid var(--cobalt-pale);
}

footer.footer {
  padding: 3.5rem 5vw;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3rem;
  background: var(--ink);              /* deep navy — intentional contrast */
  color: rgba(255, 255, 255, 0.65);
}

/* Brand block */
.footer-brand {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.footer-logo {
  font-family: var(--font-head);
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.footer-logo-accent {
  color: #6DC8F5;                       /* sky blue on dark */
}

.footer-logo-badge {
  background: var(--signal-bright);
  color: var(--ink);
  font-size: 0.52rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  padding: 3px 7px;
  border-radius: 3px;
  text-transform: uppercase;
}

.footer-brand > p {
  font-size: 0.84rem;
  color: rgba(255, 255, 255, 0.50);
  margin-top: 1rem;
  line-height: 1.75;
  max-width: 250px;
  margin-left: auto;
  margin-right: auto;
}

.footer-reg {
  font-size: 0.76rem;
  margin-top: 0.75rem;
  color: rgba(255, 255, 255, 0.58);
  text-align: center;
  line-height: 1.7;
}

/* Link columns */
.footer-col h5 {
  font-family: var(--font-head);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.38);
  margin-bottom: 1rem;
}

.footer-col ul {
  list-style: none;
  padding: 0;
}

.footer-col ul li {
  margin-bottom: 0.55rem;
}

.footer-col ul li a {
  font-size: 0.87rem;
  color: rgba(255, 255, 255, 0.58);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-col ul li a:hover {
  color: #6DC8F5;
}

/* Bottom bar */
.footer-bottom {
  padding: 1.25rem 5vw;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.30);
  background: rgba(0, 0, 0, 0.28);
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.footer-legal-links {
  display: flex;
  gap: 2rem;
}

.footer-legal-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.78rem;
  transition: color 0.2s;
}

.footer-legal-links a:hover {
  color: #6DC8F5;
}

/* Responsive */
@media (max-width: 900px) {
  footer.footer {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {
  footer.footer {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}
