
/* *********************************** Services Banner CSS *********************************** */

.services-header {
  background-color: #211932; /* Cyan background */
  display: flex;
  align-items: center;
  justify-content: center;
  height: 300px; /* Adjust height as needed */
  text-align: center;
  padding: 0 20px;
}

.services-header-inner h1 {
  font-size: 3rem;
  margin-bottom: 15px;
  color: #fff;
}

.services-header-inner h1::after {
  content: "";
  display: block;
  width: 80px;
  height: 4px;
  background-color: #fff;
  margin: 20px auto 0;
  border-radius: 2px;
}

.services-header-inner p {
  font-size: 1.1rem;
  max-width: 650px;
  line-height: 1.6;
  color: #627792;
}

/* *********************************** Services Banner CSS End *********************************** */

/* *********************************** Card CSS End *********************************** */

.services-cards {
  padding: 60px 6%;
  background-color: #f8f9fb;
  text-align: center;
}

.cards-row {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: space-between;
  align-items: stretch; /* ensures all cards same height */
}

.card {
  flex: 1 1 calc(33% - 30px); /* 3 cards per row */
  background: #fff;
  border-radius: 12px;
  padding: 50px 20px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.08);
  display: flex;
  flex-direction: column; /* stack content and image vertically */
  transition: transform 0.3s ease;
}

.card-content {
  flex-grow: 1; /* makes content take remaining space */
}

.card-content h4 {
  margin-bottom: 12px;
  font-size: 22px;
  color: #0E2B5C;
}

.card-content p {
  font-size: 1.2rem;
  color: #555;
  line-height: 1.5;
  margin-bottom: 50px;
}

.card-image {
  display: inline-block;
  transition: transform 0.3s ease;
}

.card:hover .card-image {
  transform: translateY(-10px) rotate(5deg);
}

.card-image img {
  width: 100px; /* Adjust as needed */
  height: auto;
  display: block;
  margin: 0 auto;
}

/* Responsive */
@media (max-width: 992px) {
  .card {
    flex: 1 1 100%;
  }
}

/* *********************************** Card CSS End *********************************** */