body {
  background: #fff;
  margin: 0;
  padding: 0;
  color: #003552;
}

.post-card-services h2 {
  font-size: 2.5rem;
  margin-top: 0px;
  margin-bottom: 0px;
  font-weight: 900;
  color: #003552;
}
.post-card-services h2 a:link,
.post-card-services h2 a:visited,
.post-card-services h2 a:active {
  text-decoration: none;
  color: #003552;
}

/* ===== BLOG HERO SECTION ===== */
.service-hero {
  background: url("../images/background.png") no-repeat center center/cover;
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  margin-top: 70px; /* prevents overlap with fixed header */
}

/* Optional dark overlay for readability */
.service-hero::before {
  content: "";
  position: absolute;
  inset: 0;
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
  color: #00a5ff;
  font-weight: 500;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}

.cta-btn img {
  width: 17px;
}

.cta-btn:hover {
  text-decoration: none;
}

.service-hero h1 {
  font-size: 3.5rem;
  margin-bottom: 20px;
  font-weight: 1000;
  color: #fff;
}

.container-service {
  display: flex;
  width: 90%;
  max-width: 1200px;
  margin: 0px auto;
  gap: 40px;
}

.service-content {
  flex: 3;
  margin-top: 30px;
  margin-bottom: 40px;
}

.post-card-services {
  display: flex;
  max-width: 100%;
  flex-direction: row;
  gap: 20px;
  border-bottom: 1px solid #d9d9d9;
  margin-bottom: 20px;
  margin-top: 0px;
  padding-bottom: 20px;
}

.post-card-services:nth-child(even) {
  flex-direction: row-reverse;
}

.services-left {
  margin: auto;
  border-radius: 8px;
}

.services-left img {
  max-height: 240px;
  max-width: 100%; /* <- Respects container boundary */
  border-radius: 8px;
  width: auto; /* ensures proportions stay correct */
  height: auto;
}

.services-text {
  max-width: 70%;
  display: flex;
  flex-direction: column;
}

.services-text div {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  padding-bottom: 10px;
}

.post-card-services a {
  color: #00a5ff;
}

.post-card-services a:visited {
  color: #00a5ff;
}

.post-card-services a:active {
  color: #00a5ff;
}

.post-title {
  font-size: 2rem;
  margin-bottom: 10px;
  border-bottom: 1px solid #d9d9d9;
  padding-bottom: 5px;
}

.meta {
  color: #003552;
  font-size: 0.9rem;
  margin-bottom: 15px;
}

.post-image {
  width: 100%;
  border-radius: 10px;
  margin-bottom: 20px;
}

.post-body {
  line-height: 1.7;
}

.post-body p {
  font-weight: 600;
}

.read-more {
  color: #00a5ff;
  text-decoration: none;
  font-weight: bold;
}

.read-more:hover {
  text-decoration: underline;
}

@media (max-width: 768px) {
  .service-hero h1 {
    font-size: 1.8rem;
  }
  .services-text {
    max-width: 55%;
  }

  .post-card-services h2 {
    font-size: 1.3rem;
  }
  .container-blog {
    gap: 20px;
  }

  .service-content {
    padding-right: 10px;
  }
}

@media (max-width: 460px) {
  .post-card-services,
  .post-card-services:nth-child(even) {
    flex-direction: column-reverse;
  }
  .services-text {
    max-width: unset;
  }
}

[id] {
    scroll-margin-top: 100px;
}