@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@300;400;500;600;700&family=Roboto+Condensed:ital,wght@0,300;0,400;0,700;1,300;1,400&display=swap');

:root {
  --dark-blue: #003f5a;
  --mid-blue: #005f87;
  --light-blue: #3bb5c3;
  --lighter-blue: #72cdd7;
  --white: #ffffff;
  --off-white: #f0f6f8;
  --muted: #9ac4d0;
  --border: rgba(59, 181, 195, 0.25);
  --nav-height: 80px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Roboto Condensed', sans-serif;
  background: var(--white);
  color: #111111;
  overflow-x: hidden;
}

/* ── NAVBAR ── */
nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--nav-height);
  background: transparent;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 60px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  transition: background 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
}

nav:hover,
nav.scrolled {
  background: #ffffff;
  border-bottom-color: rgba(0, 0, 0, 0.08);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.12);
}

.nav-logo {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  line-height: 1.1;
}

.nav-logo-main {
  font-family: 'Oswald', sans-serif;
  font-size: 20px;
  font-weight: 600;
  color: var(--white);
  letter-spacing: 0.1em;
  transition: color 0.35s ease;
}

.nav-logo-sub {
  font-family: 'Roboto Condensed', sans-serif;
  font-size: 10px;
  color: rgba(255, 255, 255, 0.7);
  letter-spacing: 0.25em;
  text-transform: uppercase;
  transition: color 0.35s ease;
}

.site-logo {
  max-height: 40px;
  width: auto;
  transition: filter 0.35s ease;
}

/* Optional: if Logo.png is dark and you want to invert it on the transparent navbar before scrolling */
nav:not(.scrolled):not(:hover) .site-logo {
  filter: brightness(0) invert(1);
}

nav:hover .nav-logo-main,
nav.scrolled .nav-logo-main {
  color: #111111;
}

nav:hover .nav-logo-sub,
nav.scrolled .nav-logo-sub {
  color: #555555;
}

.nav-links {
  display: flex;
  gap: 0;
  list-style: none;
}

.nav-links a {
  display: block;
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  font-family: 'Oswald', sans-serif;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 10px 20px;
  transition: color 0.35s ease;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 20px;
  right: 20px;
  height: 2px;
  background: var(--light-blue);
  transform: scaleX(0);
  transition: transform 0.3s;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--white);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  transform: scaleX(1);
}

nav:hover .nav-links a,
nav.scrolled .nav-links a {
  color: rgba(0, 0, 0, 0.65);
}

nav:hover .nav-links a:hover,
nav:hover .nav-links a.active,
nav.scrolled .nav-links a:hover,
nav.scrolled .nav-links a.active {
  color: #111111;
}

nav:hover .nav-links a::after,
nav.scrolled .nav-links a::after {
  background: #111111;
}

/* Lang toggle */
.lang-toggle {
  display: flex;
  border: 1px solid rgba(255, 255, 255, 0.4);
  overflow: hidden;
  transition: border-color 0.4s ease;
}

nav:hover .lang-toggle,
nav.scrolled .lang-toggle {
  border-color: rgba(0, 0, 0, 0.2);
}

.lang-btn {
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.7);
  font-family: 'Oswald', sans-serif;
  font-size: 12px;
  letter-spacing: 0.1em;
  padding: 6px 14px;
  cursor: pointer;
  transition: all 0.4s;
}

.lang-btn.active {
  background: var(--light-blue);
  color: var(--white);
}

.lang-btn:hover:not(.active) {
  color: var(--white);
}

nav:hover .lang-btn,
nav.scrolled .lang-btn {
  color: rgba(0, 0, 0, 0.65);
}

nav:hover .lang-btn.active,
nav.scrolled .lang-btn.active {
  background: var(--dark-blue);
  color: var(--white);
}

nav:hover .lang-btn:hover:not(.active),
nav.scrolled .lang-btn:hover:not(.active) {
  color: #111111;
}

/* Mobile menu */
.menu-toggle {
  display: none;
  background: none;
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: #ffffff;
  font-size: 20px;
  padding: 6px 12px;
  cursor: pointer;
  transition: border-color 0.4s ease, color 0.4s ease;
}

nav:hover .menu-toggle,
nav.scrolled .menu-toggle {
  border-color: rgba(0, 0, 0, 0.2);
  color: #111111;
}

/* ── PAGE HEADER BANNER ── */
.page-header {
  margin-top: 0;
  min-height: 60vh;
  background: linear-gradient(135deg, var(--dark-blue) 0%, var(--mid-blue) 100%);
  padding: 160px 60px 90px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}

.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(59, 181, 195, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(59, 181, 195, 0.06) 1px, transparent 1px);
  background-size: 60px 60px;
}

.page-header::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--light-blue), var(--lighter-blue), var(--light-blue));
}

.page-header-inner {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
}

.breadcrumb {
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--light-blue);
  text-transform: uppercase;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.breadcrumb a {
  color: var(--muted);
  text-decoration: none;
}

.breadcrumb a:hover {
  color: var(--light-blue);
}

.page-title {
  font-family: 'Oswald', sans-serif;
  font-size: clamp(40px, 6vw, 70px);
  font-weight: 600;
  color: var(--white);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  line-height: 1;
}

.page-title span {
  color: var(--light-blue);
}

/* ── SECTION COMMONS ── */
.section {
  padding: 100px 60px;
}

.section-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.section-tag {
  font-family: 'Oswald', sans-serif;
  font-size: 11px;
  letter-spacing: 0.5em;
  color: var(--light-blue);
  text-transform: uppercase;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 300;
}

.section-tag::before {
  content: '';
  width: 40px;
  height: 1px;
  background: var(--light-blue);
}

.section-title {
  font-family: 'Oswald', sans-serif;
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 600;
  color: #111111;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  line-height: 1.1;
  margin-bottom: 24px;
}

.section-title span {
  color: var(--light-blue);
}

.section-body {
  font-family: 'Roboto Condensed', sans-serif;
  font-size: 16px;
  line-height: 1.8;
  color: #333333;
}

/* ── BUTTONS ── */
.btn-primary {
  display: inline-block;
  background: var(--light-blue);
  color: var(--white);
  text-decoration: none;
  padding: 14px 36px;
  font-family: 'Oswald', sans-serif;
  font-size: 13px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 500;
  transition: all 0.3s;
  border: 2px solid var(--light-blue);
}

.btn-primary:hover {
  background: var(--mid-blue);
  border-color: var(--mid-blue);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 63, 90, 0.25);
}

.btn-outline {
  display: inline-block;
  background: transparent;
  color: var(--light-blue);
  text-decoration: none;
  padding: 14px 36px;
  font-family: 'Oswald', sans-serif;
  font-size: 13px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 500;
  transition: all 0.3s;
  border: 2px solid var(--light-blue);
}

.btn-outline:hover {
  background: var(--light-blue);
  color: var(--white);
}

.btn-white {
  display: inline-block;
  background: var(--white);
  color: var(--mid-blue);
  text-decoration: none;
  padding: 14px 36px;
  font-family: 'Oswald', sans-serif;
  font-size: 13px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 600;
  transition: all 0.3s;
  border: 2px solid var(--white);
}

.btn-white:hover {
  background: transparent;
  color: var(--white);
}

/* Underline button — ala KOPA Marine sample */
.btn-underline {
  display: inline-block;
  color: var(--white);
  text-decoration: none;
  font-family: 'Oswald', sans-serif;
  font-size: 13px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 400;
  padding-bottom: 6px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.5);
  transition: border-color 0.3s, color 0.3s;
}

.btn-underline:hover {
  border-bottom-color: var(--light-blue);
  color: var(--light-blue);
}

.btn-underline.dark {
  color: var(--dark-blue);
  border-bottom-color: rgba(0, 63, 90, 0.4);
}

.btn-underline.dark:hover {
  border-bottom-color: var(--light-blue);
  color: var(--light-blue);
}

/* ── FOOTER ── */
footer {
  background: #0D233e;
  padding: 60px 60px 0;
  border-top: 3px solid var(--light-blue);
}

.footer-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
  padding-bottom: 48px;
}

.footer-col-brand {
  padding-right: 20px;
}

.footer-logo {
  max-height: 48px;
  width: auto;
  margin-bottom: 16px;
  filter: brightness(0) invert(1);
}

.footer-desc {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.8;
}

.footer-heading {
  font-family: 'Oswald', sans-serif;
  font-size: 13px;
  letter-spacing: 0.2em;
  color: #ffffff;
  text-transform: uppercase;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.footer-links-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-links-list a {
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s, padding-left 0.3s;
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-links-list a::before {
  content: '›';
  color: rgba(255, 255, 255, 0.35);
  transition: color 0.3s;
}

.footer-links-list a:hover {
  color: var(--light-blue);
  padding-left: 4px;
}

.footer-links-list a:hover::before {
  color: var(--light-blue);
}

.footer-contact-item {
  display: flex;
  gap: 10px;
  margin-bottom: 14px;
  align-items: flex-start;
}

.footer-contact-icon {
  color: rgba(255, 255, 255, 0.5);
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
}

.footer-contact-icon .svg-icon-mini {
  width: 16px;
  height: 16px;
}

.footer-contact-text {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.6;
}

.footer-contact-text a:hover {
  color: var(--light-blue) !important;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 20px 0;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
}

.footer-copy {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.4);
  letter-spacing: 0.05em;
}

/* ── ANIMATIONS ── */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 {
  transition-delay: 0.1s;
}

.reveal-delay-2 {
  transition-delay: 0.2s;
}

.reveal-delay-3 {
  transition-delay: 0.3s;
}

.reveal-delay-4 {
  transition-delay: 0.4s;
}

/* ── SVG ICONS ── */
.svg-icon {
  width: 1em;
  height: 1em;
  color: var(--light-blue);
  vertical-align: middle;
}

.svg-icon-mini {
  width: 18px;
  height: 18px;
  color: rgba(255, 255, 255, 0.7);
  vertical-align: middle;
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  nav {
    padding: 0 20px;
    background: rgba(0, 0, 0, 0.5);
  }

  nav:hover {
    background: #ffffff;
  }

  .nav-links {
    display: none;
  }

  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: var(--nav-height);
    left: 0;
    width: 100%;
    background: #0D233e;
    padding: 20px;
    gap: 4px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 999;
  }

  .nav-links.open .lang-mobile {
    display: flex;
    gap: 8px;
    padding: 12px 0 4px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 8px;
  }

  /* keep link colors white inside the open mobile dropdown */
  .nav-links.open a {
    color: rgba(255, 255, 255, 0.85) !important;
  }

  .nav-links.open a:hover {
    color: #ffffff !important;
  }

  .menu-toggle {
    display: block;
  }

  .lang-toggle {
    /* Visible on mobile */
    display: flex;
    border-color: rgba(255, 255, 255, 0.4);
    margin-right: 8px;
  }

  .lang-btn {
    color: rgba(255, 255, 255, 0.85);
  }

  nav.scrolled .lang-toggle {
    border-color: rgba(0, 0, 0, 0.2);
  }

  nav.scrolled .lang-btn {
    color: rgba(0, 0, 0, 0.65);
  }

  nav.scrolled .lang-btn.active {
    background: var(--dark-blue);
    color: var(--white);
  }
  
  nav:hover .lang-toggle.mobile,
  nav.scrolled .lang-toggle.mobile {
     border-color: rgba(0,0,0,0.2);
  }

  .section,
  .page-header {
    padding: 60px 20px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 32px 0;
  }

  .footer-col-brand {
    padding-right: 0;
  }

  footer {
    padding: 40px 20px 0;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 10px;
    text-align: center;
    padding: 16px 0;
  }
}