:root {
  --brand-primary: #0b1f3a;
  --brand-accent: #c9a227;
  --brand-ink: #0f172a;
  --brand-muted: #6b7280;
  --brand-bg: #f8fafc;
  --shadow-soft: 0 18px 38px rgba(15, 23, 42, 0.15);
  --shadow-card: 0 12px 30px rgba(15, 23, 42, 0.12);
}

html[data-theme="navy-gold"] {
  --brand-primary: #0b1f3a;
  --brand-accent: #c9a227;
  --brand-ink: #0f172a;
  --brand-muted: #6b7280;
  --brand-bg: #f8fafc;
}

html[data-theme="navy-teal"] {
  --brand-primary: #0b1f3a;
  --brand-accent: #14b8a6;
  --brand-ink: #0f172a;
  --brand-muted: #6b7280;
  --brand-bg: #f8fafc;
}

* {
  box-sizing: border-box;
}

body {
  font-family: "Inter", sans-serif;
  color: var(--brand-ink);
  background-color: var(--brand-bg);
  line-height: 1.7;
}

h1, h2, h3, h4, h5 {
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  color: var(--brand-primary);
}

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

a:hover {
  color: var(--brand-accent);
}

img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.topbar {
  background: #0a1628;
  color: #e2e8f0;
  padding: 0.35rem 0;
  font-size: 0.85rem;
}

.topbar a {
  color: #e2e8f0;
}

.topbar-item {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.main-nav {
  background: var(--brand-primary);
  box-shadow: 0 10px 30px rgba(3, 7, 18, 0.35);
}

.navbar-brand {
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.5px;
}

.navbar-brand span {
  font-size: 1.1rem;
}

.logo {
  width: 40px;
  height: 40px;
}

.nav-link {
  color: rgba(255, 255, 255, 0.82);
  font-weight: 500;
}

.nav-link.active,
.nav-link:hover {
  color: var(--brand-accent);
}

.theme-toggle {
  display: flex;
  gap: 0.35rem;
  background: rgba(255, 255, 255, 0.1);
  padding: 0.35rem;
  border-radius: 999px;
}

.theme-btn {
  border: 0;
  background: transparent;
  color: #fff;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  font-size: 0.8rem;
}

.theme-btn.active {
  background: var(--brand-accent);
  color: #0a1628;
}

.hero-section {
  position: relative;
  padding: 7rem 0 5rem;
  background: url("../assets/img/hero-home.jpg") center/cover no-repeat;
  color: #fff;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(6, 16, 32, 0.85), rgba(11, 31, 58, 0.75));
}

.hero-section .container {
  position: relative;
  z-index: 1;
}

.hero-kicker {
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.85rem;
  color: var(--brand-accent);
}

.hero-title {
  font-size: clamp(2.2rem, 4vw, 3.8rem);
  color: #fff;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: #e2e8f0;
}

.hero-body {
  color: #cbd5f5;
}

.hero-actions .btn {
  padding: 0.75rem 1.8rem;
  font-weight: 600;
}

.hero-panel {
  background: rgba(15, 23, 42, 0.75);
  border-radius: 1.5rem;
  padding: 1.5rem;
  box-shadow: var(--shadow-soft);
}

.breadcrumb-line {
  font-size: 0.9rem;
  color: #f8fafc;
  margin-bottom: 1.2rem;
  letter-spacing: 0.5px;
}

.hero-highlights {
  display: grid;
  gap: 1rem;
}

.highlight-card {
  background: rgba(255, 255, 255, 0.1);
  padding: 1rem;
  border-radius: 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: #fff;
}

.highlight-card i {
  font-size: 1.4rem;
  color: var(--brand-accent);
}

.highlight-card h3 {
  font-size: 1rem;
  margin: 0;
  color: #fff;
}

.section {
  padding: 5rem 0;
}

.section.bg-light {
  background: #f1f5f9;
}

.section-header {
  margin-bottom: 2.5rem;
}

.section-header p {
  color: var(--brand-muted);
  max-width: 720px;
  margin: 0.5rem auto 0;
}

.feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.75rem;
}

.feature-list li {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
}

.feature-list i {
  color: var(--brand-accent);
  margin-top: 0.2rem;
}

.image-card {
  border-radius: 1.5rem;
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.strip {
  background: linear-gradient(120deg, rgba(11, 31, 58, 0.95), rgba(15, 23, 42, 0.9));
  color: #fff;
  padding: 2.2rem 0;
}

.strip-title {
  margin: 0;
  font-size: 1.6rem;
}

.btn-accent {
  background: var(--brand-accent);
  color: #0a1628;
  border: none;
}

.btn-accent:hover {
  background: #f4d160;
  color: #0a1628;
}

.btn-outline-primary {
  border-color: var(--brand-accent);
  color: #fff;
}

.btn-outline-primary:hover {
  background: var(--brand-accent);
  color: #0a1628;
}

.service-card,
.project-card {
  border: none;
  border-radius: 1.25rem;
  box-shadow: var(--shadow-card);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
}

.service-card:hover,
.project-card:hover,
.partner-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-soft);
}

.service-card i {
  font-size: 1.6rem;
  color: var(--brand-accent);
}

.service-card h5 {
  margin-top: 1rem;
  font-size: 1rem;
}

.compliance-note {
  margin-top: 2rem;
  text-align: center;
  color: var(--brand-muted);
}

.services-copy {
  background: #fff;
  padding: 2rem;
  border-radius: 1.5rem;
  box-shadow: var(--shadow-card);
}

.closing-line {
  margin-top: 1.5rem;
  font-weight: 600;
  color: var(--brand-primary);
}

.filter-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-bottom: 2rem;
}

.filter-btn {
  border: 1px solid var(--brand-primary);
  background: transparent;
  color: var(--brand-primary);
  padding: 0.45rem 1.2rem;
  border-radius: 999px;
  font-weight: 600;
}

.filter-btn.active,
.filter-btn:hover {
  background: var(--brand-accent);
  border-color: var(--brand-accent);
  color: #0a1628;
}

.partner-grid {
  margin-top: 2.5rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1rem;
}

.partner-card {
  background: #fff;
  padding: 1rem;
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-weight: 600;
  box-shadow: var(--shadow-card);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.partner-card i {
  color: var(--brand-accent);
}

.accordion-button {
  font-weight: 600;
}

.form-card {
  background: #fff;
  padding: 2rem;
  border-radius: 1.5rem;
  box-shadow: var(--shadow-card);
}

.form-success {
  display: none;
  margin-top: 1rem;
  color: #15803d;
  font-weight: 600;
}

.contact-card {
  background: #fff;
  padding: 2rem;
  border-radius: 1.5rem;
  box-shadow: var(--shadow-card);
}

.contact-card i {
  color: var(--brand-accent);
  margin-right: 0.5rem;
}

.map-placeholder {
  position: relative;
  background: linear-gradient(135deg, rgba(11, 31, 58, 0.8), rgba(15, 23, 42, 0.7)), url("../assets/img/contact-us.jpg") center/cover no-repeat;
  border-radius: 1.5rem;
  min-height: 320px;
  box-shadow: var(--shadow-card);
  overflow: hidden;
}

.map-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: rgba(15, 23, 42, 0.55);
  gap: 0.5rem;
}

.map-overlay i {
  font-size: 2rem;
  color: var(--brand-accent);
}

.footer {
  background: #0a1628;
  color: #e2e8f0;
  padding: 3rem 0 2rem;
}

.footer h4,
.footer h5 {
  color: #fff;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.4rem;
}

.footer a {
  color: #e2e8f0;
}

.footer-bottom {
  margin-top: 2rem;
  text-align: center;
  font-size: 0.85rem;
  color: #94a3b8;
}

.back-to-top {
  position: fixed;
  right: 1.5rem;
  bottom: 1.5rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: var(--brand-accent);
  color: #0a1628;
  display: none;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-card);
}

.back-to-top.show {
  display: inline-flex;
}

@media (max-width: 991px) {
  .theme-toggle {
    margin-top: 0.8rem;
  }

  .hero-section {
    padding: 6rem 0 4rem;
  }
}

@media (max-width: 767px) {
  .hero-panel {
    margin-top: 2rem;
  }

  .topbar {
    text-align: center;
  }
}
