   h2, h4, h5 {
      color: #0d6efd;
    }
  
    .img-fluid {
      transition: transform 0.5s ease;
      
    }
    .custom-img {
  max-width: 70%;
  height: auto;
  display: block;
  margin: 0 auto;
}

    .img-fluid:hover {
      transform: scale(1.03);
    }
    /* Tablet and smaller (≤ 768px) */
@media (max-width: 768px) {
  .row.align-items-center {
    display: flex;
    flex-direction: column !important;
    text-align: center;
  }
  .row.align-items-center.flex-md-row-reverse {
    flex-direction: column !important;
  }
  .row.align-items-center .col-md-6 {
    width: 100%;
    max-width: 100%;
  }
  .row.align-items-center .col-md-6 img {
    margin-bottom: 24px; /* 24px spacing below images */
  }
  h2.fw-bold {
    font-size: 24px;     /* Heading size for smaller screens */
    line-height: 1.2;
  }
  p {
    font-size: 16px;
    line-height: 24px;
  }
  .btn.btn-outline-primary {
    padding: 12px 32px;
    font-size: 16px;
  }
}

/* Phone-sized screens (≤ 520px) */
@media (max-width: 520px) {
  h2.fw-bold {
    font-size: 20px;
  }
  p {
    font-size: 14px;
    line-height: 21px;
  }
  .row.align-items-center .col-md-6 img {
    width: 90%;
    height: auto;
    margin-bottom: 16px;
  }
  .btn.btn-outline-primary {
    display: block;
    width: 100%;
    padding: 12px 0;
    font-size: 16px;
  }
}
