body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  margin: 0;
  padding: 0;
  background-color: #f4f4f4;
}

header {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

  background-color: #002244;
  color: white;
  padding: 1rem 0;
}
header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}
.left-group,
.center-group,
.right-group {
  display: flex;
  align-items: center;
}
.left-group {
  flex: 1;
}
.center-group {
  flex: 1;
  justify-content: center;
}
.right-group {
  flex: 1;
  justify-content: flex-end;
}
header nav ul {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  margin: 0;
}
header nav ul li a {
  color: white;
  text-decoration: none;
  font-weight: bold;
}
.logo {
  height: 60px;
}
.bbbee-badge-centered {
  height: 40px;
}
main {
  max-width: 1200px;
  margin: auto;
  padding: 2rem 1rem;
}
.section {
  margin-bottom: 4rem;
}
.hero-banner {
  position: relative;
}
.full-width {
  width: 100%;
  height: auto;
}
.hero-overlay {
  position: absolute;
  bottom: 2rem;
  left: 2rem;
  color: white;
  text-shadow: 1px 1px 5px rgba(0,0,0,0.8);
}
.hero-overlay h1 {
  font-size: 2rem;
  font-weight: bold;
}
.hero-overlay p {
  font-size: 1.1rem;
  color: #b0d8f5;
}
footer {
  background-color: #002244;
  color: white;
  text-align: center;
  padding: 1rem;
}

.about-columns {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}
.about-text {
  flex: 1;
  min-width: 300px;
}
.about-images {
  flex: 1;
  min-width: 300px;
  position: relative;
}
.read-more-wrapper {
  margin-top: 1rem;
  text-align: right;
}
.read-more-button {
  background: white;
  border: 1px solid #002244;
  padding: 10px 18px;
  color: #002244;
  font-weight: bold;
  text-decoration: none;
}
.read-more-button:hover {
  background: #002244;
  color: white;
}

.about-home {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  align-items: flex-start;
}
.about-text {
  flex: 1;
  min-width: 300px;
}
.about-gallery {
  flex: 1;
  min-width: 300px;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.about-gallery img {
  width: 100%;
  border: 1px solid #ccc;
}
.img-right {
  align-self: flex-end;
  width: 90%;
}
.img-left {
  align-self: flex-start;
  width: 90%;
}
.read-more-wrapper {
  text-align: right;
}
.read-more-button {
  background: white;
  border: 1px solid #002244;
  padding: 10px 18px;
  color: #002244;
  font-weight: bold;
  text-decoration: none;
}
.read-more-button:hover {
  background: #002244;
  color: white;
}

.about-home-grid {
  margin-bottom: 4rem;
}
.about-grid-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
}
.about-grid-text {
  padding-right: 1rem;
}
.about-grid-images {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.about-grid-images img {
  width: 90%;
  border: 1px solid #ccc;
  box-shadow: 2px 2px 8px rgba(0,0,0,0.1);
}
.stagger-top {
  margin-left: auto;
}
.stagger-middle {
  margin-right: auto;
}
.stagger-bottom {
  margin-left: auto;
}
.read-more-wrapper {
  text-align: right;
  margin-top: 1rem;
}
.read-more-button {
  background: white;
  border: 1px solid #002244;
  padding: 10px 18px;
  color: #002244;
  font-weight: bold;
  text-decoration: none;
}
.read-more-button:hover {
  background: #002244;
  color: white;
}

.about-home-grid {
  margin-bottom: 4rem;
}
.about-grid-container {
  display: flex;
  align-items: stretch;
  gap: 2rem;
}
.about-grid-text,
.about-grid-images {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.about-grid-text {
  padding-right: 1rem;
}
.about-grid-images img {
  width: 90%;
  border: 1px solid #ccc;
  box-shadow: 2px 2px 8px rgba(0,0,0,0.1);
  margin-bottom: 1rem;
}
.stagger-top {
  align-self: flex-end;
}
.stagger-middle {
  align-self: flex-start;
}
.stagger-bottom {
  align-self: flex-end;
}
.read-more-wrapper {
  text-align: right;
  margin-top: auto;
}
.read-more-button {
  background: white;
  border: 1px solid #002244;
  padding: 10px 18px;
  color: #002244;
  font-weight: bold;
  text-decoration: none;
}
.read-more-button:hover {
  background: #002244;
  color: white;
}

.about-grid-text p {
  font-size: 1.05rem;
  line-height: 1.45;
  margin-bottom: 0.9rem;
}

.about-main {
  padding: 2rem;
  max-width: 1200px;
  margin: auto;
  font-size: 1.05rem;
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
  margin-bottom: 4rem;
}
.about-grid h2 {
  color: #002244;
  margin-bottom: 0.5rem;
}
.about-grid h3 {
  color: #7bb338;
  margin-bottom: 0.5rem;
}
.about-grid p {
  margin-bottom: 1rem;
}
.value-boxes {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.value-box {
  background: #1f3f61;
  color: white;
  padding: 1rem;
  border-radius: 5px;
}
.about-nav {
  text-align: center;
  margin: 2rem 0;
}
.about-nav a {
  margin: 0 1rem;
  font-weight: bold;
  color: #002244;
  text-decoration: none;
}
.about-nav a:hover {
  text-decoration: underline;
}
.two-col-images {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 2rem;
}
.two-col-images img {
  width: 100%;
  max-width: 580px;
  height: auto;
  object-fit: cover;
  border: 1px solid #ccc;
}
.what-sets-us-apart {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 3rem;
}
.what-sets-us-apart ul {
  padding-left: 1rem;
}


/* Top nav jump bar */
.about-nav {
  text-align: center;
  margin: 2rem auto;
}
.about-nav a {
  margin: 0 1rem;
  text-decoration: none;
  font-weight: bold;
  color: #002244;
  border-bottom: 2px solid transparent;
}
.about-nav a:hover {
  border-bottom: 2px solid #002244;
}

/* Grid layout sections */
.about-main {
  padding: 0 2rem;
  font-family: sans-serif;
  font-size: 1rem;
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-bottom: 3rem;
  align-items: start;
}

/* Two-column top images */
.two-col-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  padding-bottom: 2rem;
}
.two-col-images img {
  width: 100%;
  max-height: 320px;
  object-fit: cover;
  border: 1px solid #ccc;
  box-shadow: 0 0 5px rgba(0,0,0,0.2);
}

/* Text spacing */
.about-main h2 {
  color: #002244;
  margin-bottom: 0.5rem;
}
.about-main h3 {
  color: #7bb338;
}
.about-main p {
  line-height: 1.5;
  margin-bottom: 1rem;
}
.about-main ul {
  padding-left: 1.2rem;
}
.about-main li {
  margin-bottom: 0.7rem;
}

/* Values styled boxes */
.value-boxes .value-box {
  background: #002244;
  color: white;
  padding: 1rem;
  margin-bottom: 1rem;
  border-radius: 5px;
}

/* Set us apart image */
.what-sets-us-apart img {
  max-width: 280px;
  border: 1px solid #ccc;
}


/* Remove image cropping and maintain clean proportions */
.two-col-images img {
  width: 100%;
  height: auto;
  max-height: 300px;
  object-fit: contain;
}

/* Correct layout of What Sets Us Apart */
.what-sets-us-apart {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 2rem;
  margin-bottom: 4rem;
}
.what-sets-us-apart img {
  width: 100%;
  height: auto;
  border: none;
  box-shadow: none;
}


/* Ensure all images are flush with container and without borders */
img {
  border: none;
  box-shadow: none;
  max-width: 100%;
  height: auto;
}

/* Make left column in vision grid narrower for layout balance */
.vision-section {
  grid-template-columns: 0.6fr 1.4fr;
}

/* Final layout correction for What Sets Us Apart */
.what-sets-us-apart {
  display: flex;
  flex-direction: row;
  gap: 2rem;
  align-items: start;
}
.what-sets-us-apart > div:first-child {
  width: 320px;
  flex-shrink: 0;
}
.what-sets-us-apart img {
  width: 100%;
  height: auto;
  border-radius: 6px;
}
.what-sets-us-apart ul {
  padding-left: 1.5rem;
}
.what-sets-us-apart li {
  margin-bottom: 1.1rem;
  line-height: 1.6;
}


/* Fix image box size */
.two-col-images img {
  border: none;
  box-shadow: none;
  max-width: 100%;
  height: auto;
}

/* Updated What Sets Us Apart: replace image with styled div */
.what-sets-us-apart {
  display: flex;
  flex-direction: row;
  gap: 2rem;
  align-items: stretch;
}
.what-sets-us-apart .section-label-block {
  background: linear-gradient(135deg, #0b3349, #0e4c61);
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 2rem;
  font-size: 2rem;
  font-weight: bold;
  min-width: 320px;
  text-align: center;
}


/* Sticky top navbar */
nav {
  position: sticky;
  top: 0;
  z-index: 999;
}

/* Ensure header/logo spacing doesn't overlap on scroll */
body {
  scroll-padding-top: 80px; /* adjust based on nav height */
}


/* Sticky nav full fix */
.sticky-nav {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  background-color: #002244;
  z-index: 1000;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}


/* Force sticky nav style */
nav.sticky-nav {
  position: sticky;
  top: 0;
  width: 100%;
  background-color: #002244;
  z-index: 9999;
}


/* Sticky header bar */
.site-
header {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 9999;
  background-color: #002244;
  padding: 10px 20px;
}

.logo img {
  height: 50px;
}

.main-nav ul {
  display: flex;
  gap: 20px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.main-nav a {
  color: white;
  text-decoration: none;
  font-weight: bold;
}

body {
  scroll-padding-top: 80px;
}


/* Adjusted sticky nav bar and home link */
.site-
header {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 9999;
  background-color: #002244;
  padding: 10px 20px;
}

.home-link a {
  color: white;
  font-weight: bold;
  text-decoration: none;
  font-size: 18px;
}

.main-nav ul {
  display: flex;
  gap: 20px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.main-nav a {
  color: white;
  text-decoration: none;
  font-weight: bold;
}


/* Force header to be fixed and full-width */
.site-
header {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

  position: fixed;
  width: 100%;
  top: 0;
  background-color: #002244;
  z-index: 9999;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 40px;
}

/* Add top padding to body so content starts below fixed header */
body {
  padding-top: 90px;
}

/* Navigation list styling */
.main-nav ul {
  display: flex;
  gap: 30px;
  list-style: none;
  margin: 0;
  padding: 0;
}

/* Home link styling to match nav */
.home-link a {
  color: white;
  font-weight: bold;
  text-decoration: none;
  font-size: 16px;
  margin-right: 30px;
}

/* Align header items better */
.site-header .home-link,
.site-header .main-nav {
  display: flex;
  align-items: center;
}


/* Ensure header content is centered */
.header-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Specialist Services Section */
.specialist-services {
  text-align: center;
  padding: 60px 20px;
  background-color: #f9f9f9;
}

.specialist-services h2 {
  font-size: 2.2rem;
  color: #1c3b57;
  margin-bottom: 20px;
}

.specialist-services p {
  max-width: 1000px;
  margin: 0 auto 40px;
  color: #333;
  font-size: 1rem;
}

.service-cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

.service-card {
  background-color: #1c3b57;
  color: white;
  width: 300px;
  border-radius: 8px;
  overflow: hidden;
  text-align: left;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.6s ease-out forwards;
}

.service-card img {
  width: 100%;
  display: block;
  object-fit: cover;
}

.service-card h3 {
  text-align: center;
  font-size: 1.3rem;
  margin: 15px 0 10px;
}

.service-card p {
  font-size: 0.95rem;
  padding: 0 20px;
  margin-bottom: 20px;
}

.service-card .read-more {
  align-self: center;
  margin-bottom: 20px;
  padding: 10px 25px;
  background-color: white;
  color: #1c3b57;
  text-decoration: none;
  border-radius: 4px;
  font-weight: bold;
}

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