.home-seo-container {
  overflow: hidden;
}

.home-seo-row {
  margin-bottom: 4rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

.home-seo-row:last-child {
  margin-bottom: 0;
}

.home-seo-content {
  padding: 20px 30px;
}

.home-seo-content h2 {
  color: white;
  text-transform: uppercase;
  font-weight: 700;
  margin-top: 0;
  margin-bottom: 2rem;
  font-size: 2.5rem;
}

.home-seo-content p {
  color: white;
  font-size: 22px;
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.home-seo-img-wrapper {
  padding: 15px;
  text-align: center;
}

.home-seo-img {
  width: 100%;
  max-width: 500px;
  height: auto;
  border-radius: 20px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
  display: inline-block;
  transition: transform 0.3s ease;
}

.home-seo-img:hover {
  transform: translateY(-5px);
}

.home-seo-card-col {
  padding: 0 15px;
}

.home-seo-card {
  background-color: white;
  padding: 4rem;
  border-radius: 25px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
  margin-bottom: 4rem;
  text-align: center;
}

.home-seo-card h2 {
  color: #ff5000;
  text-transform: uppercase;
  font-weight: 800;
  margin-top: 0;
  margin-bottom: 2rem;
  font-size: 2.5rem;
}

.home-seo-card p {
  color: #4a4a4a;
  font-size: 17px;
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.home-seo-card p:last-child {
  margin-bottom: 0;
}

@media (max-width: 991px) {
  .home-seo-row {
    flex-direction: column;
    text-align: center;
  }
  
  .home-seo-row.reverse-mobile {
    flex-direction: column-reverse; /* ensure image is always under/above logically on mobile */
  }

  .home-seo-content {
    padding: 15px 0;
  }

  .home-seo-card {
    padding: 2.5rem 1.5rem;
  }
}