﻿/*====================================================
NaviGlobe International Marine Consultancy L.L.C-FZ
Premium Maritime Theme
====================================================*/

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

:root {
  --navy-950: #04111d;
  --navy-900: #061423;
  --navy-800: #081c2f;
  --navy-700: #0d2945;
  --navy-600: #143b58;
  --text: #f6f8fb;
  --muted: #b9c4d0;
  --gold: #d4af37;
  --gold-soft: rgba(212, 175, 55, 0.16);
  --white: #ffffff;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  background: linear-gradient(180deg, #07192d 0%, #071727 100%);
  color: var(--text);
  overflow-x: hidden;
  line-height: 1.7;
  word-break: break-word;
  overflow-wrap: anywhere;
}

h1,
h2,
h3,
h4,
p,
span,
a,
button,
input,
textarea {
  overflow-wrap: anywhere;
}

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

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

ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.container {
  width: min(90%, 1200px);
  margin-inline: auto;
}

section {
  padding: 110px 0;
  scroll-margin-top: 90px;
}

.section-dark {
  background: linear-gradient(135deg, #081b30 0%, #0d2844 100%);
}

.section-deep {
  background: linear-gradient(180deg, #061423 0%, #071a2c 100%);
}

.eyebrow {
  color: var(--gold);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  margin-bottom: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.eyebrow::before {
  content: '';
  width: 34px;
  height: 1px;
  background: var(--gold);
  display: inline-block;
  opacity: 0.8;
}

.section-heading {
  max-width: 740px;
  margin: 0 auto 60px;
  text-align: center;
}

.section-heading h2 {
  font-size: clamp(2rem, 3vw, 2.8rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 16px;
}

.section-heading p {
  color: var(--muted);
  font-size: 1rem;
  max-width: 680px;
  margin: auto;
}

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 16px 0;
  z-index: 1000;
  transition: background 0.3s ease, box-shadow 0.3s ease, padding 0.3s ease;
}

.navbar.scrolled {
  background: rgba(6, 20, 35, 0.96);
  backdrop-filter: blur(14px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.22);
}

.navbar-brand img {
  height: 58px;
}

.navbar .nav-link {
  color: var(--text);
  font-size: 0.95rem;
  font-weight: 500;
  padding: 0.5rem 0;
  position: relative;
  transition: color 0.25s ease;
}

.navbar .nav-link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width 0.3s ease;
}

.navbar .nav-link:hover,
.navbar .nav-link.active {
  color: var(--gold);
}

.navbar .nav-link:hover::after,
.navbar .nav-link.active::after {
  width: 100%;
}

.navbar-toggler {
  border: 0;
  padding: 0.4rem 0.6rem;
}

.navbar-toggler-icon {
  filter: brightness(0) invert(1);
}

.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-section video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.55) saturate(0.9);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(2, 10, 21, 0.88), rgba(5, 20, 37, 0.78), rgba(2, 10, 21, 0.86));
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 140px 0 90px;
}

.hero-pill {
  display: inline-flex;
  padding: 10px 16px;
  border: 1px solid rgba(212, 175, 55, 0.35);
  background: rgba(212, 175, 55, 0.12);
  backdrop-filter: blur(10px);
  border-radius: 999px;
  color: #f7e8b0;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.hero-content h1 {
  font-size: clamp(2.4rem, 4.1vw, 4.4rem);
  font-weight: 800;
  line-height: 1.13;
  margin-bottom: 22px;
  max-width: 760px;
}

.hero-copy {
  font-size: 1.06rem;
  color: var(--muted);
  max-width: 680px;
  margin-bottom: 34px;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 600;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
  border: 1px solid transparent;
}

.btn:hover {
  transform: translateY(-3px);
}

.btn-gold {
  background: linear-gradient(135deg, var(--gold), #f4d57c);
  color: #071423;
  box-shadow: 0 12px 30px rgba(212, 175, 55, 0.25);
}

.btn-gold:hover {
  color: #071423;
  box-shadow: 0 16px 35px rgba(212, 175, 55, 0.32);
}

.btn-outline {
  border-color: rgba(255, 255, 255, 0.22);
  color: var(--white);
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(12px);
}

.btn-outline:hover {
  background: rgba(212, 175, 55, 0.16);
  color: var(--gold);
  border-color: rgba(212, 175, 55, 0.4);
}

.hero-card {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 28px;
  padding: 32px;
  box-shadow: var(--shadow);
}

.hero-card h3 {
  font-size: 1.5rem;
  margin-bottom: 24px;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 24px;
}

.hero-metrics > div {
  padding: 16px 12px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.06);
  text-align: center;
  min-height: 96px;
}

.counter {
  display: block;
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--gold);
}

.hero-metrics small {
  color: var(--muted);
  font-size: 0.82rem;
  display: block;
  margin-top: 8px;
}

.about-image {
  border-radius: 28px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: transform 0.5s ease;
}

.about-image:hover {
  transform: scale(1.03);
}

#about h2 {
  font-size: clamp(1.8rem, 2.6vw, 2.6rem);
  margin-bottom: 20px;
}

#about p {
  color: var(--muted);
  margin-bottom: 18px;
  font-size: 1rem;
}

.feature-list {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  color: var(--text);
}

.feature-item i {
  color: var(--gold);
  font-size: 1rem;
}

.service-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.16);
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

.service-card:hover {
  transform: translateY(-8px);
  border-color: rgba(212, 175, 55, 0.45);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.24);
}

.service-card img {
  height: 215px;
  object-fit: cover;
  width: 100%;
}

.service-body {
  padding: 28px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.service-body i {
  font-size: 1.7rem;
  color: var(--gold);
  margin-bottom: 16px;
}

.service-body h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}

.service-body p {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.8;
  margin: 0;
}

.feature-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.03));
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  padding: 30px 24px;
  height: 100%;
  transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

.feature-card:hover {
  transform: translateY(-8px);
  border-color: rgba(212, 175, 55, 0.42);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}

.feature-number {
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.26em;
  color: var(--gold);
  margin-bottom: 16px;
}

.feature-card h3 {
  font-size: 1.2rem;
  margin-bottom: 12px;
}

.feature-card p {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.8;
  margin: 0;
}

.stats-section {
  background: linear-gradient(135deg, #071523 0%, #0b2237 100%);
}

.stats-panel {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 32px;
  padding: 40px;
  box-shadow: var(--shadow);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.stat-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 24px;
  text-align: center;
  min-height: 140px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.stat-card .counter {
  font-size: 2rem;
  margin-bottom: 8px;
}

.stat-card p {
  color: var(--muted);
  font-size: 0.95rem;
  margin: 0;
}

.news-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  padding: 30px;
  transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
  height: 100%;
}

.news-card:hover {
  transform: translateY(-8px);
  border-color: rgba(212, 175, 55, 0.42);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}

.news-card span {
  display: inline-flex;
  padding: 8px 14px;
  background: rgba(212, 175, 55, 0.16);
  color: #f2d384;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.news-card h3 {
  font-size: 1.3rem;
  margin-bottom: 14px;
  line-height: 1.45;
}

.news-card p {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.8;
  margin-bottom: 22px;
}

.news-card a {
  display: inline-flex;
  align-items: center;
  color: var(--gold);
  font-weight: 600;
  gap: 8px;
}

.news-card a:hover {
  gap: 12px;
}

.contact-card {
  display: grid;
  gap: 14px;
  margin-top: 28px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
}

.contact-item i {
  color: var(--gold);
  font-size: 1rem;
}

form {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 32px;
  border-radius: 28px;
  box-shadow: var(--shadow);
}

.form-label {
  color: #ecf3f8;
  font-size: 0.95rem;
  margin-bottom: 8px;
  display: block;
}

form input,
form textarea {
  width: 100%;
  padding: 15px 16px;
  margin-bottom: 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  outline: none;
  border-radius: 14px;
  color: var(--text);
  transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

form input::placeholder,
form textarea::placeholder {
  color: #a5b1bd;
}

form input:focus,
form textarea:focus {
  border-color: rgba(212, 175, 55, 0.5);
  box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.15);
  background: rgba(255, 255, 255, 0.08);
}

form textarea {
  min-height: 180px;
  resize: vertical;
}

.form-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.form-status {
  color: #cde2f7;
  font-size: 0.95rem;
  min-height: 1.2rem;
}

footer {
  background: linear-gradient(180deg, #040b13 0%, #03070c 100%);
  padding: 60px 0 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

footer h4,
footer h5 {
  margin-bottom: 14px;
}

footer p,
.footer-links a {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.8;
}

.footer-links {
  display: grid;
  gap: 8px;
}

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

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

.social-links a {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.social-links a:hover {
  background: var(--gold);
  color: #081423;
  transform: translateY(-2px);
}

.footer-bottom {
  padding-top: 24px;
  margin-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-bottom p {
  margin: 0;
  font-size: 0.9rem;
}

.top-btn {
  position: fixed;
  display: grid;
  place-items: center;
  z-index: 1000;
  transition: transform 0.3s ease, opacity 0.3s ease, visibility 0.3s ease;
}

.top-btn {
  left: 22px;
  bottom: 22px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), #f5d67c);
  color: #071423;
  font-size: 1.1rem;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
}

.top-btn.active {
  opacity: 1;
  visibility: visible;
}

.top-btn:hover {
  transform: translateY(-4px);
}

.loader {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  background: radial-gradient(circle at top, #0e2741 0%, #061423 100%);
  z-index: 2000;
  transition: opacity 0.6s ease;
}

.loader.hidden {
  opacity: 0;
  pointer-events: none;
}

.loader-ring {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  border: 4px solid rgba(255, 255, 255, 0.12);
  border-top-color: var(--gold);
  animation: spin 0.9s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

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

::selection {
  background: rgba(212, 175, 55, 0.35);
  color: #fff;
}

::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: #061423;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--gold), #ffdf86);
  border-radius: 50px;
}

@media (max-width: 992px) {
  section {
    padding: 90px 0;
  }

  .hero-content {
    padding-top: 130px;
    text-align: center;
  }

  .hero-content h1,
  .hero-copy {
    margin-inline: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-card {
    margin-top: 30px;
  }

  .about-image {
    margin-bottom: 28px;
  }

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

  .navbar {
    background: rgba(6, 20, 35, 0.96);
    backdrop-filter: blur(14px);
  }

  .navbar-collapse {
    padding-top: 12px;
  }

  .navbar-nav {
    gap: 6px;
  }

  .navbar .nav-link {
    padding: 0.55rem 0;
  }
}

@media (max-width: 768px) {
  .section-heading {
    margin-bottom: 44px;
  }

  .hero-content h1 {
    font-size: 2.4rem;
  }

  .hero-card {
    padding: 26px;
  }

  .hero-metrics {
    grid-template-columns: 1fr;
  }

  .stats-panel {
    padding: 28px;
  }

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

  .service-card img {
    height: 190px;
  }

  .form-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  form {
    padding: 24px;
  }

  .contact-item {
    padding: 12px 14px;
  }

  .top-btn {
    width: 52px;
    height: 52px;
    bottom: 18px;
    left: 18px;
  }
}

@media (max-width: 576px) {
  .navbar-brand img {
    height: 50px;
    max-width: 100%;
  }

  .navbar .nav-link {
    font-size: 0.92rem;
    text-align: center;
  }

  .hero-content {
    padding-top: 118px;
  }

  .hero-content h1 {
    font-size: 1.95rem;
    line-height: 1.15;
  }

  .hero-copy {
    font-size: 0.95rem;
  }

  .btn {
    width: 100%;
  }

  .hero-actions {
    flex-direction: column;
  }

  .section-heading h2 {
    font-size: 1.7rem;
  }

  #about h2 {
    font-size: 1.7rem;
  }

  .service-body,
  .feature-card,
  .news-card {
    padding: 24px;
  }

  .service-card img {
    height: 176px;
  }

  .stats-panel {
    padding: 22px;
  }

  .contact-item {
    font-size: 0.92rem;
    flex-wrap: wrap;
  }

  form input,
  form textarea {
    padding: 13px 14px;
  }

  footer {
    padding: 44px 0 24px;
  }
}
