/* Basic reset */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
body {
  font-family: Arial, Helvetica, sans-serif;
  color: #222;
  line-height: 1.5;
}
a {
  color: #0066cc;
  text-decoration: none;
}

h1,
h2,
.address {
  font-family: "Bungee Inline", sans-serif;
}

.topbar {
  position: absolute;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 5px 10px;
  z-index: 1;
  width: 100%;
}
.brand {
  font-family: "Erica One", sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 4rem;
  display: inline-block;
  transform: scale(1.25, 1);
  transform-origin: left center;
  color: goldenrod;
}
.topbar .contacts {
  display: flex;
  gap: 16px;
  align-items: center;
  color: goldenrod;
}
.topbar .contacts > a {
  color: goldenrod;
  text-decoration: underline;
}

.hero {
  position: relative;
  height: 90vh;
  min-height: 320px;
  overflow: hidden;
}
.hero-picture,
.hero-picture img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.hero-picture img {
  object-fit: cover;
  display: block;
  transform: scale(-1, 1); /* Flip image */
}

.hero-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: #fff;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
  padding: 20px;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.2) 0%,
    rgba(0, 0, 0, 0.35) 100%
  );
}
.tagline {
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  font-weight: 800;
  margin-bottom: 8px;
}
.subtag {
  font-size: clamp(1rem, 2.5vw, 1.125rem);
}

.intro {
  padding: 36px 20px;
  max-width: 1000px;
  margin: 0 auto;
}
.intro h2 {
  margin-bottom: 12px;
}
.intro p {
  margin-bottom: 12px;
}

.partners-and-endorsements {
  display: flex;
  padding: 24px 20px 48px;
  max-width: 1000px;
  margin: 0 auto;
}
.partners-and-endorsements > div {
  flex: 1 1 50%;
}
.partners-and-endorsements h2 {
  margin-bottom: 12px;
}
.logos {
  display: flex;
  gap: 20px;
  align-items: center;
}
.logos img {
  max-height: 80px;
  width: auto;
  object-fit: contain;
}
.trustmark-logo {
  background-color: #18006e;
}

.site-footer {
  background: #f8f8f8;
  padding: 16px 20px;
  border-top: 1px solid #eee;
  text-align: center;
}

/* Responsive tweaks */
@media (max-width: 599px) {
  .topbar {
    flex-direction: column;
    align-items: start;
  }
  .topbar .brand {
    font-size: 2rem;
  }
  .topbar .contacts {
    gap: 10px;
    font-size: 0.95rem;
    flex-direction: column;
    align-items: start;
  }
  .topbar .contacts > a {
    flex: 1 1 auto;
  }
  .partners-and-endorsements {
    flex-direction: column;
    gap: 24px;
  }
  .logos {
    gap: 12px;
  }
  .site-footer-desktop {
    display: none;
  }
}
@media (min-width: 600px) {
  .site-footer-mobile {
    display: none;
  }
}
