:root {
  --primary-dark: #012742;
  --near-white: #fbfcfc;
  --accent-cyan: #2ea5d1;
  --deep-teal: #164f68;
  --deep-blue: #19689a;
  --soft-aqua: #5ed0d9;
  --gold: #d4af37;
  --text-gray: #2c3e4f;
  --border-light: #e3e8ec;
  --light-background: #e9f2f6;
}

body {
  color: var(--text-gray);
  background:
    radial-gradient(circle at 20% 12%, rgba(46, 165, 209, 0.08), transparent 30%),
    radial-gradient(circle at 78% 74%, rgba(22, 79, 104, 0.08), transparent 28%),
    var(--light-background);
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.18;
  background-image:
    linear-gradient(rgba(1, 39, 66, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(1, 39, 66, 0.05) 1px, transparent 1px);
  background-size: 42px 42px;
}

.container {
  width: min(1140px, 92%) !important;
}

header {
  background: var(--primary-dark) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
}

.logo-area img {
  width: 56px !important;
  height: 56px !important;
}

.logo-text {
  font-size: 1.3rem !important;
  font-weight: 700 !important;
  line-height: 1.1 !important;
}

.main-nav > li > a {
  font-size: 0.9rem !important;
  font-weight: 500 !important;
  padding: 6px 8px !important;
  border-radius: 6px !important;
}

.main-nav > li > a:hover,
.main-nav > li > a.active {
  background: var(--accent-cyan) !important;
  color: #ffffff !important;
}

.dropdown-menu {
  border-radius: 8px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
}

.hero,
.page-hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--primary-dark), var(--deep-teal) 58%, var(--deep-blue)) !important;
  color: var(--near-white);
  padding: 86px 0 74px !important;
}

.hero::after,
.page-hero::after {
  content: '';
  position: absolute;
  left: -5%;
  right: -5%;
  bottom: -56px;
  height: 120px;
  background: var(--light-background);
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
  pointer-events: none;
}

.hero-inner,
.hero-content {
  width: min(1140px, 92%) !important;
  margin: 0 auto !important;
  background: rgba(255, 255, 255, 0.08) !important;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.18) !important;
  border-radius: 16px !important;
  box-shadow: 0 16px 30px rgba(1, 39, 66, 0.28) !important;
}

.hero h1,
.page-hero h1,
.hero-content h1,
.hero-title {
  font-family: 'Playfair Display', serif !important;
  color: var(--near-white) !important;
}

.hero p,
.page-hero p,
.hero-content p,
.hero-lead {
  color: rgba(255, 255, 255, 0.9) !important;
}

.section-panel,
.footer-cta,
.engagement-container {
  width: min(1140px, 92%) !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

.panel,
.section-panel,
.footer-cta,
.engagement-container {
  border: 1px solid var(--border-light) !important;
  border-radius: 16px !important;
  box-shadow: 0 8px 22px rgba(1, 39, 66, 0.08) !important;
}

footer,
footer .footer-content,
footer .footer-bottom {
  background: var(--primary-dark) !important;
}

@media (max-width: 1024px) {
  .hero-inner,
  .hero-content,
  .engagement-container {
    width: min(1140px, 92%) !important;
  }
}
