/* ===== RESET & BASE ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
:root {
  --brand-navy: #0a2640;
  --brand-teal: #268b8d;
  --brand-teal-dark: #1d6f71;
  --brand-lime: #b7ef3e;
  --brand-ice: #e9f6f7;
  --text-primary: #13293d;
  --text-muted: #4a6072;
  --surface: #ffffff;
  --surface-soft: #f4fbfb;
}
html,
body {
  min-height: 100%;
}

body {
  font-family: "Segoe UI", Tahoma, sans-serif;
  line-height: 1.6;
  color: var(--text-primary);
  background: linear-gradient(180deg, #f7fbff 0%, #eef8f8 100%);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ===== CONTAINER ===== */
.container {
  max-width: 1100px;
  margin: auto;
  padding: 0 20px;
}

/* ===== NAVBAR ===== */
.navbar {
  background: linear-gradient(90deg, var(--brand-navy), #103553);
  color: #fff;
  height: 64px;
  padding: 0;
  box-shadow: 0 6px 20px rgba(10, 38, 64, 0.22);
}

.navbar .container {
  max-width: none;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 24px;
  padding: 0 18px;
}

.navbar .brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.navbar .brand .logo {
  width: auto;
  height: 62px;
  max-width: 300px;
  display: block;
}

.nav-links {
  list-style: none;
  display: flex;
  flex: 1;
  justify-content: space-evenly;
  align-items: center;
  gap: 8px;
}

.nav-links li {
  flex: 1;
  text-align: center;
}

.nav-links a {
  color: #fff;
  text-decoration: none;
  font-family: "Trebuchet MS", "Segoe UI", Tahoma, sans-serif;
  font-size: 0.98rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  border-bottom: 2px solid transparent;
  padding-bottom: 3px;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.nav-links a:hover {
  color: #b8f0f1;
  border-color: #b8f0f1;
}

/* ===== HERO / TOP BANNER ===== */
.hero {
  background: #1f2755;
  color: #fff;
  min-height: calc(100vh - 124px);
  display: flex;
  align-items: center;
  padding: 22px 0;
  overflow: hidden;
  position: relative;
}

.hero .container {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 14px;
  align-items: center;
  max-width: 1360px;
  width: 100%;
  padding: 0;
  position: relative;
  z-index: 2;
}

.hero h1 {
  font-size: clamp(2.1rem, 6.2vw, 6.2rem);
  line-height: 0.95;
  letter-spacing: -0.03em;
  color: var(--brand-lime);
  margin-bottom: 12px;
  max-width: 840px;
}

.hero-subtitle {
  color: #d8f4f4;
  font-size: 1.05rem;
  max-width: 560px;
  margin-bottom: 16px;
}

.hero-copy {
  z-index: 2;
  padding-right: 36px;
}

.page-hero {
  background: linear-gradient(105deg, var(--brand-navy), #1f6c73);
  color: #fff;
  padding: 46px 0;
}

.page-hero h1 {
  margin: 0;
  font-size: 2rem;
}

.btn {
  background: var(--brand-lime);
  color: #162149;
  padding: 14px 68px;
  text-decoration: underline;
  border-radius: 999px;
  border: none;
  font-size: 2rem;
  font-weight: 500;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.3);
  transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
}

.btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.04);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.34);
}

.hero-orb {
  width: min(54vw, 740px);
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  margin-left: -34%;
  position: relative;
  background:
    radial-gradient(circle at 18% 32%, rgba(157, 255, 123, 0.95), rgba(90, 229, 210, 0.8) 36%, rgba(31, 39, 85, 0) 56%),
    radial-gradient(circle at 44% 36%, rgba(0, 222, 255, 0.35), rgba(31, 39, 85, 0) 55%);
}

.hero-orb::before {
  content: "";
  position: absolute;
  inset: 4%;
  border-radius: 50%;
  background:
    repeating-radial-gradient(
      circle at center,
      rgba(255, 255, 255, 0.72) 0 2px,
      transparent 2px 30px
    ),
    repeating-linear-gradient(
      110deg,
      rgba(255, 255, 255, 0.65) 0 2px,
      transparent 2px 34px
    );
  mix-blend-mode: screen;
  opacity: 0.72;
}

.hero-bg-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.52;
  pointer-events: none;
}

.hero-video-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(12, 26, 54, 0.6), rgba(10, 60, 78, 0.38));
  z-index: 1;
}

.hero-video .hero-orb {
  display: none;
}

.hero-visuals {
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 880px;
}

.visual-card {
  border: 1px solid rgba(184, 240, 241, 0.4);
  border-radius: 12px;
  background: rgba(7, 18, 45, 0.44);
  padding: 10px;
}

.visual-thumb {
  width: 100%;
  height: 78px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid rgba(184, 240, 241, 0.3);
  margin-bottom: 8px;
}

.visual-card p {
  color: #e6fbfb;
  font-size: 0.92rem;
}

/* ===== SECTIONS ===== */
section {
  padding: 60px 0;
}

section h2 {
  color: var(--brand-navy);
  margin-bottom: 18px;
}

.services,
.cases {
  background: var(--surface-soft);
}

.mission,
.about,
.contact {
  background: var(--surface);
}

.vision {
  background: var(--surface-soft);
}

.about p,
.contact p {
  color: var(--text-muted);
}

.mission-statement {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--brand-navy);
  margin-bottom: 12px;
}

.mission-detail {
  max-width: 900px;
  color: var(--text-muted);
}

.mission.section-page {
  padding-top: 30px;
}

.vision-title {
  margin-top: 28px;
}

.services .cards,
.cases .cards,
.vision .cards,
.vision-cards {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.vision .card {
  flex: 1 1 30%;
}

.vision-cards .card {
  flex: 1 1 30%;
}

.card {
  flex: 1 1 45%;
  background: #fff;
  border: 1px solid #d8ecec;
  border-top: 4px solid var(--brand-teal);
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(10, 38, 64, 0.08);
  overflow: hidden;
}

.card h3 {
  color: var(--brand-navy);
  margin-bottom: 8px;
}

.card p {
  color: var(--text-muted);
}

.service-image {
  width: 100%;
  height: 122px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid #d8ecec;
  margin-bottom: 12px;
}

.about-layout {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 24px;
  align-items: start;
}

.about-copy p + p {
  margin-top: 14px;
}

.about-points {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 18px;
}

.point-card {
  background: #ffffff;
  border: 1px solid #d8ecec;
  border-left: 4px solid var(--brand-teal);
  border-radius: 10px;
  padding: 14px;
  box-shadow: 0 6px 16px rgba(10, 38, 64, 0.07);
}

.point-card h3 {
  color: var(--brand-navy);
  margin-bottom: 6px;
  font-size: 1rem;
}

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

.about-visual {
  display: grid;
  gap: 14px;
}

.metric-card {
  background: linear-gradient(150deg, #123559, #1c5f70);
  border: 1px solid rgba(184, 240, 241, 0.26);
  border-radius: 12px;
  padding: 16px;
  box-shadow: 0 10px 22px rgba(10, 38, 64, 0.2);
}

.metric-value {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
  color: var(--brand-lime);
  margin-bottom: 8px;
}

.metric-label {
  display: block;
  font-size: 0.92rem;
  color: #d9f5f6;
}

/* ===== FORM ===== */
.contact form {
  display: grid;
  gap: 15px;
  margin-bottom: 18px;
}

.contact input,
.contact textarea {
  padding: 12px;
  border: 1px solid #bfdedf;
  border-radius: 8px;
  width: 100%;
  font: inherit;
}

.contact input:focus,
.contact textarea:focus {
  outline: none;
  border-color: var(--brand-teal);
  box-shadow: 0 0 0 3px rgba(38, 139, 141, 0.18);
}

.grid-two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.panel {
  background: #fff;
  border: 1px solid #d8ecec;
  border-top: 4px solid var(--brand-teal);
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 8px 20px rgba(10, 38, 64, 0.08);
}

.panel h3 {
  color: var(--brand-navy);
  margin-bottom: 8px;
}

.panel p {
  color: var(--text-muted);
}

.panel .btn {
  font-size: 1rem;
  padding: 11px 24px;
  text-decoration: none;
}

.map-embed {
  width: 100%;
  height: 240px;
  border: 1px solid #bfdedf;
  border-radius: 8px;
  margin: 12px 0;
}

.section-page {
  min-height: 58vh;
}

/* ===== FOOTER ===== */
.footer,
.site-footer {
  background: linear-gradient(90deg, var(--brand-navy), #113a5b);
  color: #fff;
}

.footer {
  text-align: center;
  padding: 15px;
  margin-top: auto;
}

.site-footer {
  margin-top: auto;
  padding-top: 28px;
}

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

.footer-grid > div:first-child {
  grid-column: 1 / -1;
  padding: 0 0 16px;
  margin-bottom: 14px;
  border-bottom: 1px solid rgba(232, 246, 247, 0.35);
}

.footer-grid > div:nth-child(2),
.footer-grid > div:nth-child(3) {
  background: rgba(9, 28, 45, 0.28);
  padding: 16px 18px;
  min-height: 170px;
}

.footer-grid > div:nth-child(2) {
  border-right: 1px solid rgba(232, 246, 247, 0.28);
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
  color: #fff;
  text-decoration: none;
  font-weight: 700;
}

.footer-logo {
  height: 40px;
  width: auto;
  display: block;
}

.footer-text {
  color: #dff2f3;
  max-width: 540px;
}

.site-footer h3 {
  margin-bottom: 10px;
}

.footer-links,
.footer-contact {
  list-style: none;
  display: grid;
  gap: 8px;
  color: #dff2f3;
}

.footer-links a {
  color: #dff2f3;
  text-decoration: none;
}

.footer-links a:hover {
  color: #fff;
  text-decoration: underline;
}

.footer-bottom {
  border-top: 1px solid rgba(232, 246, 247, 0.32);
  margin-top: 20px;
  padding: 14px 0;
  text-align: center;
}

@media (max-width: 820px) {
  .navbar {
    height: auto;
    padding: 8px 0;
  }

  .navbar .container {
    flex-direction: column;
    gap: 8px;
    height: auto;
  }

  .navbar .brand .logo {
    height: 54px;
  }

  .nav-links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
  }

  .nav-links li {
    flex: 0 1 auto;
  }

  .hero {
    min-height: calc(100vh - 110px);
    padding: 24px 0 26px;
  }

  .hero .container {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 0 16px;
  }

  .hero h1 {
    max-width: none;
  }

  .hero-copy {
    padding-right: 0;
  }

  .hero-orb {
    width: min(94vw, 430px);
    margin: -38% auto 8px;
  }

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

  .service-image {
    height: 96px;
  }

  .vision .card,
  .vision-cards .card {
    flex: 1 1 100%;
  }

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

  .about-layout {
    grid-template-columns: 1fr;
  }

  .about-points {
    grid-template-columns: 1fr;
  }

  .btn {
    font-size: 1.5rem;
    padding: 12px 46px;
  }

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

  .footer-grid > div:first-child {
    grid-column: auto;
  }

  .footer-grid > div:nth-child(2),
  .footer-grid > div:nth-child(3) {
    min-height: auto;
  }

  .footer-grid > div:nth-child(2) {
    border-right: none;
    border-bottom: 1px solid rgba(232, 246, 247, 0.28);
  }
}

.video-paused .hero-bg-video {
  display: none;
}
