:root {
  --brand-navy: #0f2a4a;
  --brand-navy-dark: #081a30;
  --brand-navy-light: #163b64;
  --brand-gold: #d4a94a;
}

html {
  font-size: 15px;
  min-height: 100%;
}

body {
  background-color: #f5f6f8;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* Navbar */
.brand-navbar {
  background: linear-gradient(90deg, var(--brand-navy-dark), var(--brand-navy));
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 0.6rem;
  background: linear-gradient(135deg, var(--brand-gold), #b8873a);
  color: var(--brand-navy-dark);
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
}

.brand-mark-sm {
  width: 28px;
  height: 28px;
  font-size: 0.75rem;
  border-radius: 0.45rem;
}

.brand-subtitle {
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.65);
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.navbar-brand {
  color: #fff !important;
}

.user-chip {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.85rem;
  border-radius: 2rem;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.85rem;
}

/* Hero */
.hero-section {
  background: linear-gradient(135deg, var(--brand-navy-dark) 0%, var(--brand-navy) 55%, var(--brand-navy-light) 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 85% 20%, rgba(212, 169, 74, 0.18), transparent 45%),
    radial-gradient(circle at 10% 90%, rgba(255, 255, 255, 0.06), transparent 40%);
  pointer-events: none;
}

.hero-section .container {
  position: relative;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--brand-gold);
  background: rgba(212, 169, 74, 0.12);
  border: 1px solid rgba(212, 169, 74, 0.35);
  border-radius: 2rem;
  padding: 0.35rem 0.9rem;
  margin-bottom: 1rem;
}

.hero-title {
  font-weight: 800;
  font-size: clamp(1.75rem, 3.2vw, 2.75rem);
  line-height: 1.2;
  margin-bottom: 1rem;
}

.hero-subtitle {
  color: rgba(255, 255, 255, 0.75);
  font-size: 1.05rem;
  max-width: 42rem;
  margin-bottom: 0;
}

.hero-stat {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 1.25rem 1.75rem;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

@media (min-width: 992px) {
  .hero-stat {
    align-items: flex-end;
  }
}

.hero-stat-number {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--brand-gold);
  line-height: 1;
}

.hero-stat-label {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
  margin-top: 0.35rem;
}

/* Photo gallery strip */
.gallery-strip {
  margin-top: -3.5rem;
  position: relative;
  z-index: 2;
}

.gallery-item {
  margin: 0;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 0.75rem 2rem rgba(15, 42, 74, 0.18);
  position: relative;
}

.gallery-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease-in-out;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

/* Section heading */
.section-heading {
  margin-bottom: 1.75rem;
}

.section-eyebrow {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--brand-navy-light);
  margin-bottom: 0.25rem;
}

.section-title {
  font-weight: 800;
  color: #1a1a1a;
  margin-bottom: 0;
}

/* Company cards */
.company-card {
  border-radius: 1rem;
  transition: transform 0.18s ease-in-out, box-shadow 0.18s ease-in-out;
}

.company-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 1rem 2rem rgba(15, 42, 74, 0.14) !important;
}

.code-badge {
  font-weight: 700;
  letter-spacing: 0.03em;
  font-size: 0.75rem;
  color: var(--brand-navy);
}

.icon-circle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  font-size: 1.5rem;
}

/* Login page */
.login-wrapper {
  min-height: calc(100vh - 64px - 60px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
  background: linear-gradient(135deg, var(--brand-navy-dark) 0%, var(--brand-navy) 60%, var(--brand-navy-light) 100%);
}

.login-card {
  width: 100%;
  max-width: 380px;
  background: #fff;
  border-radius: 1rem;
  padding: 2rem 1.75rem;
  box-shadow: 0 1.5rem 3rem rgba(8, 26, 48, 0.35);
}

.login-brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  font-size: 1.1rem;
}

.login-btn {
  background: linear-gradient(135deg, var(--brand-gold), #b8873a);
  color: var(--brand-navy-dark);
  font-weight: 700;
  border: none;
}

.login-btn:hover {
  color: var(--brand-navy-dark);
  filter: brightness(0.95);
}

/* Footer */
.site-footer {
  background-color: var(--brand-navy-dark);
  color: rgba(255, 255, 255, 0.75);
}

.text-muted-light {
  color: rgba(255, 255, 255, 0.5) !important;
}
