body {
  margin: 0;
  font-family: "Inter", sans-serif;
  background: #f9fafc;
  color: #333;
}

/* ----- Hello-style top bar (#site-header) ----- */

#site-header.site-header {
  background: #fff;
  color: #1d2939;
  box-shadow: 0 1px 0 rgba(15, 23, 42, 0.08);
  position: relative;
  z-index: 100;
}

#site-header .header-inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px 20px;
}

#site-header .site-branding {
  flex: 0 0 auto;
}

#site-header .site-logo .custom-logo-link {
  display: inline-block;
  text-decoration: none;
  color: #273c4e;
  font-weight: 700;
  font-size: 1.15rem;
}

#site-header .site-logo .custom-logo-link img {
  max-height: 52px;
  width: auto;
  display: block;
}

#site-header .site-navigation .menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 28px;
}

#site-header .site-navigation .menu a {
  color: #333;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
}

#site-header .site-navigation .menu a:hover,
#site-header .site-navigation .menu .current-menu-item > a,
#site-header .site-navigation .menu .current_page_item > a {
  color: #273c4e;
}

#site-header .site-navigation-toggle-holder {
  display: none;
}

#site-header .site-navigation-toggle {
  background: transparent;
  border: 0;
  padding: 8px;
  cursor: pointer;
  border-radius: 6px;
}

#site-header .site-navigation-toggle:hover {
  background: rgba(0, 78, 146, 0.08);
}

#site-header .site-navigation-toggle-icon {
  display: block;
  width: 22px;
  height: 2px;
  background: #1d2939;
  box-shadow: 0 7px 0 #1d2939, 0 -7px 0 #1d2939;
}

#site-header .site-navigation-dropdown {
  display: none;
  width: 100%;
  flex-basis: 100%;
  background: #fff;
  border-top: 1px solid #e8ecf1;
  padding: 8px 0 12px;
}

#site-header .site-navigation-dropdown .menu {
  flex-direction: column;
  align-items: stretch;
  gap: 0;
}

#site-header .site-navigation-dropdown .menu a {
  display: block;
  padding: 12px 8px;
  border-radius: 6px;
}

#site-header .site-navigation-dropdown .menu a:hover {
  background: #f4f7fb;
}

#site-header.nav-open .site-navigation-dropdown {
  display: block;
}

@media (max-width: 1024px) {
  #site-header.menu-dropdown-tablet .site-navigation.show {
    display: none;
  }

  #site-header.menu-dropdown-tablet .site-navigation-toggle-holder {
    display: block;
  }
}

.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
  word-wrap: normal !important;
}

.skip-link:focus {
  background: #fff;
  color: #273c4e;
  clip: auto !important;
  clip-path: none;
  display: block;
  height: auto;
  left: 6px;
  padding: 12px 16px;
  top: 6px;
  width: auto;
  z-index: 100000;
}

.hero {
  background: linear-gradient(to right, #273c4e, #000428);
  color: white;
  padding: 80px 20px;
  text-align: center;
}

.hero h1 {
  font-size: 3em;
  margin-bottom: 10px;
}

.hero p {
  font-size: 1.2em;
  margin-bottom: 20px;
}

.cta-button {
  background: white;
  color: #273c4e;
  padding: 12px 25px;
  border: none;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  font-size: 1rem;
  transition: background 0.3s;
  display: inline-block;
}

.cta-button:hover {
  background: #e0eaff;
}

.site-main section {
  padding: 60px 100px;
  max-width: 1500px;
  margin: auto;
}

.box {
  background: white;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
  padding: 60px 120px;
  margin-bottom: 40px;
  animation: fadeInUp 1s ease-in-out;
}

.site-main h2 {
  color: #273c4e;
  margin-bottom: 20px;
}

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.feature {
  background: #fff;
  padding: 20px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s;
  animation: fadeInUp 1s ease-in-out;
}

.feature:hover {
  transform: translateY(-5px);
}

.feature i {
  font-size: 2rem;
  color: #273c4e;
  margin-bottom: 10px;
}

.site-footer {
  background: #000428;
  color: white;
  text-align: center;
  padding: 20px;
}

.site-footer a {
  color: white;
  text-decoration: none;
}

.site-footer a:hover {
  text-decoration: underline;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 600px) {
  .hero h1 {
    font-size: 2rem;
  }
}

/* ----- Nav merged over gradient hero (body.fmd-overlap-header) ----- */

body.fmd-overlap-header #site-header.site-header {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  z-index: 200;
  background: transparent;
  box-shadow: none;
}

body.admin-bar.fmd-overlap-header #site-header.site-header {
  top: 32px;
}

@media screen and (max-width: 782px) {
  body.admin-bar.fmd-overlap-header #site-header.site-header {
    top: 46px;
  }
}

body.fmd-overlap-header #site-header .header-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 14px 22px 18px;
  background: rgba(0, 12, 48, 0.42);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 0 0 14px 14px;
  box-shadow: 0 14px 36px rgba(0, 4, 30, 0.22);
}

body.fmd-overlap-header #site-header .site-logo .custom-logo-link {
  color: #fff;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.35);
}

body.fmd-overlap-header #site-header .site-logo .custom-logo-link img {
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.4));
}

body.fmd-overlap-header #site-header .site-navigation .menu a {
  color: rgba(255, 255, 255, 0.95);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
}

body.fmd-overlap-header #site-header .site-navigation .menu a:hover,
body.fmd-overlap-header #site-header .site-navigation .menu .current-menu-item > a,
body.fmd-overlap-header #site-header .site-navigation .menu .current_page_item > a {
  color: #fff;
  text-decoration: underline;
}

body.fmd-overlap-header #site-header .site-navigation-toggle:hover {
  background: rgba(255, 255, 255, 0.12);
}

body.fmd-overlap-header #site-header .site-navigation-toggle-icon {
  background: #fff;
  box-shadow: 0 7px 0 #fff, 0 -7px 0 #fff;
}

body.fmd-overlap-header #site-header .site-navigation-dropdown {
  background: rgba(0, 12, 48, 0.94);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

body.fmd-overlap-header #site-header .site-navigation-dropdown .menu a {
  color: #fff;
}

body.fmd-overlap-header #site-header .site-navigation-dropdown .menu a:hover {
  background: rgba(255, 255, 255, 0.1);
}

body.fmd-overlap-header .site-main .hero,
body.fmd-overlap-header .site-main .about-hero,
body.fmd-overlap-header .site-main .services-hero,
body.fmd-overlap-header .site-main .contact-hero,
body.fmd-overlap-header .site-main .privacy-hero,
body.fmd-overlap-header .site-main .reach-hero {
  padding-top: calc(5.5rem + 3rem);
}

@media (max-width: 600px) {
  body.fmd-overlap-header .site-main .hero,
  body.fmd-overlap-header .site-main .about-hero,
  body.fmd-overlap-header .site-main .services-hero,
  body.fmd-overlap-header .site-main .contact-hero,
  body.fmd-overlap-header .site-main .privacy-hero,
  body.fmd-overlap-header .site-main .reach-hero {
    padding-top: calc(5rem + 2.25rem);
  }

  body.fmd-overlap-header #site-header .header-inner {
    border-radius: 0 0 10px 10px;
    padding-left: 16px;
    padding-right: 16px;
  }
}
