:root {
  --maersk-blue: #42b0d5;
  --maersk-dark: #00243e;
  --max-width: 1200px;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html,
body {
  max-width: 100%;
  overflow-x: hidden;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: #333333;
  line-height: 1.5;
  background: #ffffff;
  -webkit-font-smoothing: antialiased;
  transition: background 0.3s ease, color 0.3s ease;
}
a {
  text-decoration: none;
  color: inherit;
}
button {
  font-family: inherit;
  cursor: pointer;
  border: none;
}
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}
/* ========== HEADER ========== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background 0.3s ease, border-color 0.3s ease, transform 0.35s ease, opacity 0.35s ease;
}
.header.scrolled {
  background: #ffffff;
  border-bottom: 1px solid #e5e5e5;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}
.header.hidden-nav {
  transform: translateY(-100%);
  opacity: 0;
  pointer-events: none;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 18px;
  color: white;
  transition: color 0.3s ease;
}
.header.scrolled .logo {
  color: #00243e;
}
.site-logo {
  width: 48px;
  height: 48px;
  max-width: 48px;
  max-height: 48px;
  object-fit: contain;
  display: block;
  flex-shrink: 0;
}
.site-logo-footer {
  width: 36px;
  height: 36px;
  max-width: 36px;
  max-height: 36px;
  object-fit: contain;
  display: block;
  flex-shrink: 0;
}
.header-nav {
  display: none;
  align-items: center;
  gap: 28px;
}
.header-nav a {
  font-size: 14px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
}
.header.scrolled .header-nav a {
  color: #00243e;
}
.header.scrolled .header-nav a:hover {
  color: var(--maersk-blue);
}
.header-right {
  display: flex;
  align-items: center;
  gap: 10px;
}
.theme-toggle,
.menu-btn,
.header-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 20px;
  cursor: pointer;
  border-radius: 50%;
  background: transparent;
  border: none;
}
.theme-toggle i {
  font-size: 20px;
}
.header.scrolled .header-icon,
.header.scrolled .theme-toggle,
.header.scrolled .menu-btn {
  color: #00243e;
}
.theme-toggle .fa-sun {
  display: none;
}
html.dark .theme-toggle .fa-moon {
  display: none;
}
html.dark .theme-toggle .fa-sun {
  display: inline-block;
}
.menu-btn {
  display: flex;
}
/* Mobile header icons — change font-size here only for ☰ size */
@media (max-width: 899px) {
  .header-right .theme-toggle {
    width: 40px;
    height: 40px;
    font-size: 18px;
  }
  .header-right .theme-toggle i {
    font-size: 18px;
  }
  .header-right .menu-btn,
  #menuBtn.menu-btn {
    width: 40px !important;
    height: 40px !important;
    min-width: 40px !important;
    min-height: 40px !important;
    font-size: 26px !important; /* ← hamburger size (try 22–30) */
    line-height: 1 !important;
    padding: 0 !important;
  }
}
/* Mobile menu backdrop */
.mobile-menu-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1001;
  background: rgba(15, 23, 42, 0.4);
  border: 0;
  padding: 0;
  margin: 0;
  cursor: pointer;
}
.mobile-menu-backdrop.is-visible {
  display: block;
}
/* Mobile menu — side drawer, slightly transparent */
/* Mobile menu — 40% width, 30% height */
.mobile-menu {
  display: block;
  position: fixed;
  top: 64px;              /* under header */
  right: 12px;
  bottom: auto;
  left: auto;
  width: 40%;
  min-width: 160px;
  max-width: 280px;
  height: 30%;
  min-height: 160px;
  z-index: 1002;
  background: rgba(255, 255, 255, 0.82); /* was ~0.92 */
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(0, 36, 62, 0.08);
  border-radius: 12px;
  padding: 12px 16px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.14);
  transform: translateX(120%);
  transition: transform 0.28s ease;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  
}
.mobile-menu.is-open {
  transform: translateX(0);
}

.mobile-menu a {
  display: block;
  padding: 14px 4px;
  color: #00243e;
  font-size: 16px;
  font-weight: 600;
  border-bottom: 1px solid rgba(0, 36, 62, 0.08);
}
.mobile-menu a:last-child {
  border-bottom: none;
}
/* ========== HERO ========== */
.hero {
  position: relative;
  min-height: 380px;
  height: 55vh;
  max-height: 560px;
  overflow: hidden;
  display: flex;
  align-items: center;
}
.hero-poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  transition: opacity 0.6s ease;
}
.hero-poster.hidden {
  opacity: 0;
  pointer-events: none;
}
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}
.hero-video.active {
  opacity: 1;
  z-index: 1;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(15, 30, 22, 0.75) 0%,
    rgba(15, 30, 22, 0.45) 45%,
    rgba(10, 20, 15, 0.6) 100%
  );
  z-index: 2;
}
.hero-content {
  position: relative;
  z-index: 3;
  color: white;
  max-width: 540px;
  padding: 100px 20px 40px;
}
.hero h1 {
  font-size: clamp(26px, 4.5vw, 42px);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 16px;
}
.hero p {
  font-size: clamp(14px, 1.6vw, 17px);
  margin-bottom: 28px;
  max-width: 460px;
  opacity: 0.95;
}
.hero-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  font-size: 14px;
  font-weight: 600;
  border-radius: 4px;
  transition: all 0.2s ease;
}
.btn-primary {
  background: white;
  color: #00243e;
}
.btn-primary:hover {
  background: #f0f0f0;
}
.btn-outline {
  background: transparent;
  color: white;
  border: 1.5px solid rgba(255, 255, 255, 0.85);
}
/* ========== TRACKING ========== */
.tracking-section {
  position: relative;
  z-index: 10;
  margin-top: -40px;
  padding: 0 20px 20px;
}
.tracking-card {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 6px 28px rgba(0, 0, 0, 0.12);
  max-width: 720px;
  margin: 0 auto;
  overflow: hidden;
}
.tracking-tabs {
  display: flex;
  border-bottom: 1px solid #e5e5e5;
}
.tracking-tab {
  flex: 1;
  padding: 16px 12px;
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  color: #333;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-bottom: 2px solid var(--maersk-blue);
}
.tracking-body {
  padding: 24px 20px 28px;
}
.tracking-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.tracking-input-wrap {
  position: relative;
  flex: 1;
}
.tracking-input {
  width: 100%;
  padding: 14px 14px 14px 42px;
  border: 1px solid #e5e5e5;
  border-radius: 4px;
  font-size: 15px;
  outline: none;
}
.tracking-input:focus {
  border-color: var(--maersk-blue);
  box-shadow: 0 0 0 3px rgba(66, 176, 213, 0.15);
}
.input-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: #999;
  pointer-events: none;
}
.btn-track {
  background: var(--maersk-blue);
  color: white;
  padding: 14px 28px;
  border-radius: 4px;
  font-size: 15px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
@media (min-width: 640px) {
  .tracking-form {
    flex-direction: row;
  }
  .btn-track {
    min-width: 120px;
  }
}
@media (min-width: 900px) {
  .header-inner {
    height: 72px;
  }
  .header-nav {
    display: flex;
  }
  .menu-btn {
    display: none;
  }
  .mobile-menu,
  .mobile-menu-backdrop {
    display: none !important;
  }
  .site-logo {
    width: 40px;
    height: 40px;
    max-width: 40px;
    max-height: 40px;
  }
  .theme-toggle,
  .header-icon {
    width: 40px;
    height: 40px;
    font-size: 18px;
  }
  .theme-toggle i {
    font-size: 18px;
  }
  .hero {
    height: 480px;
    max-height: none;
  }
  .hero-content {
    padding: 120px 20px 60px;
    max-width: 560px;
  }
  .tracking-section {
    margin-top: -48px;
  }
  .tracking-card {
    max-width: 800px;
  }
}
.tail-container {
  font-family: "Inter", system-ui, sans-serif;
}
.section-header {
  font-family: "Playfair Display", sans-serif;
}
.card-hover {
  transition: all 0.3s ease;
}
.card-hover:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 24px rgba(0, 0, 0, 0.1);
}
.service-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 220px;
  box-shadow:
    0 4px 12px rgba(0, 0, 0, 0.06),
    0 16px 32px rgba(0, 0, 0, 0.08);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.reveal-section.in-view .service-card:hover {
  transform: translateY(-10px);
  box-shadow:
    0 12px 24px rgba(0, 0, 0, 0.1),
    0 24px 48px rgba(0, 0, 0, 0.14);
}
.card-img {
  width: 100%;
  height: 120px;
  object-fit: cover;
  border-radius: 12px;
  display: block;
}
.sector-card {
  width: 260px;
  min-width: 260px;
  height: 150px;
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
}
.sectors-carousel {
  overflow-x: auto;
  max-width: 100%;
  -webkit-overflow-scrolling: touch;
}
@media (max-width: 767px) {
  .get-started-arrow {
    transform: rotate(90deg);
  }
}
.register-btn {
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
}
.register-btn.is-hot,
.register-btn:hover {
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.22);
}
.network-btn {
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.scroll-top-btn {
  position: fixed;
  right: 20px;
  bottom: 24px;
  z-index: 999;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: #003087;
  color: #fff;
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease, background 0.2s ease;
}
.scroll-top-btn.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.scroll-top-btn:hover {
  background: #042b6b;
}
html.dark .scroll-top-btn {
  background: #42b0d5;
  color: #0f172a;
}
/* ========== DARK MODE ========== */
html.dark {
  color-scheme: dark;
}
html.dark body {
  background: #121212;
  color: #e5e7eb;
}
html.dark h1,
html.dark h2,
html.dark h3,
html.dark h4,
html.dark .section-header {
  color: #f3f4f6 !important;
}
html.dark p,
html.dark .text-gray-600,
html.dark .text-gray-500 {
  color: #9ca3af !important;
}
html.dark .bg-white,
html.dark .tracking-card,
html.dark .service-card,
html.dark .sector-card {
  background: #1e1e1e !important;
  border-color: #333 !important;
}
html.dark .bg-white *,
html.dark .tracking-card *,
html.dark .service-card *:not(img),
html.dark .sector-card * {
  color: #e5e7eb !important;
}
html.dark .tracking-input {
  background: #fafafa !important;
  color: #333 !important;
}
html.dark .btn-primary {
  background: #e5e7eb !important;
  color: #111 !important;
}
html.dark .bg-black {
  background: #e5e7eb !important;
  color: #111 !important;
}
html.dark .bg-black span {
  background: #111 !important;
  color: #e5e7eb !important;
}
html.dark .btn-track {
  background: #42b0d5 !important;
  color: #fff !important;
}
html.dark .bg-blue-50 {
  background: #1e3a5f !important;
  color: #93c5fd !important;
}
html.dark .header.scrolled {
  background: #1a1a1a !important;
  border-bottom-color: #333 !important;
}
html.dark .header.scrolled .logo,
html.dark .header.scrolled .header-nav a,
html.dark .header.scrolled .theme-toggle,
html.dark .header.scrolled .header-icon,
html.dark .header.scrolled .menu-btn {
  color: #e5e7eb !important;
}
html.dark footer {
  background: #18181b !important;
}
html.dark .mobile-menu {
  background: rgba(26, 26, 26, 0.82);
  border-left-color: rgba(255, 255, 255, 0.08);
}
html.dark .mobile-menu a {
  color: #e5e7eb;
  border-bottom-color: rgba(255, 255, 255, 0.08);
}
html.dark .register-btn {
  color: #ffffff !important;
  background: #003087 !important;
}
html.dark .register-btn i {
  color: #ffffff !important;
}
html.dark .network-btn {
  color: #ffffff !important;
  background: transparent !important;
  border: 1.5px solid rgba(255, 255, 255, 0.85);
}
html.dark .network-btn:hover {
  background: rgba(255, 255, 255, 0.12) !important;
  color: #ffffff !important;
}
body.page-enter {
  opacity: 0;
}
body.page-ready {
  opacity: 1;
  transition: opacity 0.55s ease-out;
}
.reveal-section .reveal-card {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.45s ease, transform 0.45s ease;
}
.reveal-section.in-view .reveal-card {
  opacity: 1;
  transform: translateY(0);
}
.reveal-section.in-view .reveal-card:nth-child(1) {
  transition-delay: 0.05s;
}
.reveal-section.in-view .reveal-card:nth-child(2) {
  transition-delay: 0.1s;
}
.reveal-section.in-view .reveal-card:nth-child(3) {
  transition-delay: 0.15s;
}
.reveal-section.in-view .reveal-card:nth-child(4) {
  transition-delay: 0.2s;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  body.page-enter,
  body.page-ready {
    opacity: 1 !important;
    transition: none !important;
  }
  .reveal-section .reveal-card {
    opacity: 1 !important;
    transform: none !important;
  }
  .register-btn.is-hot,
  .register-btn:hover {
    transform: none !important;
  }
  .mobile-menu {
    transition: none !important;
  }
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}
.ok-track-hero {
  background: #00243e;
  color: #fff;
  padding: 88px 20px 40px;
}
.ok-track-hero-inner {
  max-width: 720px;
  margin: 0 auto;
}
.ok-kicker {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #42b0d5;
}
.ok-track-hero h1 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin: 8px 0 10px;
  color: #fff;
}
.ok-sub {
  color: rgba(255, 255, 255, 0.85);
  font-weight: 500;
  margin-bottom: 22px;
}
.ok-track-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.ok-track-form input {
  min-height: 56px;
  width: 100%;
  border: 0;
  border-radius: 4px;
  padding: 0 16px;
  font-size: 16px;
  font-weight: 500;
  color: #122033;
  background: #fff;
}
.ok-track-form button {
  min-height: 56px;
  border: 0;
  border-radius: 4px;
  padding: 0 28px;
  font-size: 15px;
  font-weight: 700;
  background: #42b0d5;
  color: #00243e;
  cursor: pointer;
}
.ok-track-main {
  max-width: 720px;
  margin: 0 auto;
  padding: 28px 20px 72px;
}
.ok-empty,
.ok-result {
  background: #fff;
  border-radius: 4px;
  box-shadow: 0 8px 30px rgba(0, 36, 62, 0.08);
  padding: 24px;
}
.ok-empty h2 {
  font-size: 1.25rem;
  margin-bottom: 6px;
}
.ok-empty p {
  color: #4b5c72;
}
.ok-result-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
  padding-bottom: 18px;
  border-bottom: 1px solid #e5e5e5;
}
.ok-code {
  margin-top: 6px;
  font-family: ui-monospace, Menlo, Consolas, monospace;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #003087;
  user-select: all;
}
.ok-badge {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
}
.ok-badge-transit {
  background: #e0f5fb;
  color: #0e7490;
}
.ok-badge-delivered {
  background: #e8f8ef;
  color: #047857;
}
.ok-badge-hold {
  background: #fff7e6;
  color: #b45309;
}
.ok-badge-received {
  background: #eef2ff;
  color: #3730a3;
}
.ok-route {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 12px;
  align-items: center;
  margin-top: 18px;
}
.ok-route span {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #666;
}
.ok-route strong {
  font-size: 1.05rem;
  color: #122033;
}
.ok-route-arrow {
  color: #42b0d5;
  font-weight: 700;
}
.ok-cargo {
  margin-top: 16px;
  font-weight: 600;
  color: #122033;
}
.ok-cargo span {
  display: block;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #666;
  margin-bottom: 4px;
}
.ok-steps {
  list-style: none;
  margin: 22px 0 0;
  padding: 0 0 0 4px;
  border-left: 2px solid #e5e5e5;
}
.ok-steps li {
  position: relative;
  padding: 0 0 16px 18px;
  font-size: 14px;
  font-weight: 600;
  color: #9aa3af;
}
.ok-steps li:last-child {
  padding-bottom: 0;
}
.ok-steps i {
  position: absolute;
  left: -7px;
  top: 4px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid #d0d5dd;
}
.ok-steps li.is-done,
.ok-steps li.is-current {
  color: #122033;
}
.ok-steps li.is-done i {
  background: #003087;
  border-color: #003087;
}
.ok-steps li.is-current i {
  background: #42b0d5;
  border-color: #42b0d5;
}
.ok-hold {
  margin-top: 16px;
  padding: 12px 14px;
  background: #fff7e6;
  color: #b45309;
  font-weight: 600;
  font-size: 14px;
}
.ok-print-foot {
  display: none;
}
.ok-actions {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}
.ok-actions button {
  min-height: 48px;
  border-radius: 4px;
  border: 1px solid #e5e5e5;
  background: #fff;
  color: #003087;
  font-weight: 700;
  cursor: pointer;
}
.ok-actions button.primary {
  background: #003087;
  border-color: #003087;
  color: #fff;
}
@media (min-width: 640px) {
  .ok-track-form {
    flex-direction: row;
  }
  .ok-track-form button {
    min-width: 140px;
  }
  .ok-actions {
    grid-template-columns: 1fr 1fr 1fr;
  }
}
@media (max-width: 600px) {
  .ok-route {
    grid-template-columns: 1fr;
  }
  .ok-route-arrow {
    display: none;
  }
}
.track-receipt-logo {
  width: 40px;
  height: 40px;
  object-fit: contain;
  border-radius: 8px;
  background: #fff;
  flex-shrink: 0;
}
.track-print-foot {
  display: none;
}
@media print {
  .no-print,
  .header,
  footer,
  .scroll-top-btn {
    display: none !important;
  }
  body {
    background: #fff !important;
  }
  .ok-track-main {
    padding: 0;
  }
  .ok-result {
    box-shadow: none;
  }
  .ok-print-foot,
  .track-print-foot {
    display: block;
    margin-top: 18px;
    font-size: 12px;
    color: #666;
  }
  .track-receipt-logo {
    width: 36px;
    height: 36px;
  }
}
/* Contact form */
.contact-form-card {
  box-shadow: 0 12px 40px rgba(0, 36, 62, 0.08);
  border-color: #e8eef5;
}
.contact-form-head {
  padding-bottom: 1.25rem;
  margin-bottom: 0.25rem;
  border-bottom: 1px solid #eef2f7;
}
.contact-kicker {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #42b0d5;
  margin-bottom: 0.35rem;
}
.contact-form-card input,
.contact-form-card select,
.contact-form-card textarea {
  background: #f8fafc;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.contact-form-card input:focus,
.contact-form-card select:focus,
.contact-form-card textarea:focus {
  background: #fff;
  border-color: #42b0d5;
  box-shadow: 0 0 0 3px rgba(66, 176, 213, 0.18);
  outline: none;
}
.contact-form-card button[type="submit"] {
  box-shadow: 0 8px 20px rgba(0, 48, 135, 0.25);
}
.contact-form-card button[type="submit"]:hover {
  transform: translateY(-1px);
}
.contact-alert {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  margin-top: 1.25rem;
  padding: 0.95rem 1.1rem;
  border-radius: 14px;
  border: 1px solid transparent;
}
.contact-alert strong {
  display: block;
  font-size: 0.95rem;
  margin-bottom: 0.15rem;
}
.contact-alert p {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.45;
  opacity: 0.95;
}
.contact-alert-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 700;
}
.contact-alert-success {
  background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
  border-color: #a7f3d0;
  color: #065f46;
}
.contact-alert-success .contact-alert-icon {
  background: #10b981;
  color: #fff;
}
.contact-alert-error {
  background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%);
  border-color: #fecaca;
  color: #991b1b;
}
.contact-alert-error .contact-alert-icon {
  background: #ef4444;
  color: #fff;
}
.contact-thanks {
  text-align: center;
  padding: 1.5rem 0.5rem 0.5rem;
}
.contact-thanks-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 1rem;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, #10b981, #059669);
  box-shadow: 0 10px 24px rgba(16, 185, 129, 0.35);
}
.contact-thanks-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-top: 1.75rem;
}
.contact-btn-primary,
.contact-btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.7rem 1.25rem;
  border-radius: 12px;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
}
.contact-btn-primary {
  background: #003087;
  color: #fff;
  box-shadow: 0 8px 20px rgba(0, 48, 135, 0.25);
}
.contact-btn-secondary {
  background: #fff;
  color: #003087;
  border: 1px solid #dbe3ef;
}


/* Mobile-only Home in the top bar */
.nav-home-mobile {
  display: none;
  font-size: 14px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.95);
  margin-left: auto;
  margin-right: 8px;
  white-space: nowrap;
}
.header.scrolled .nav-home-mobile {
  color: #00243e;
}
html.dark .header.scrolled .nav-home-mobile {
  color: #e5e7eb;
}

@media (max-width: 899px) {
  .nav-home-mobile {
    display: inline-flex;
    align-items: center;
  }
}

@media (min-width: 900px) {
  .nav-home-mobile {
    display: none !important; /* desktop uses .header-nav Home */
  }
}