body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
}

.services-section {
  padding: 40px;
  background-color: #f9f9f9;
}

.services-banner {
  background-color: whitesmoke;
  color: blue;
  text-align: center;
  padding: 30px 0;
  font-family: Arial, Helvetica, sans-serif;
}

.banner-title {
  margin: 0;
  font-size: 36px;
  font-family: Arial, Helvetica, sans-serif;
}

.services-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 3 cards per row */
  gap: 20px;
  padding: 0 20px;
}

.service-card {
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  padding: 30px 25px;
  text-align: center;
  transition: all 0.35s ease;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.service-card:hover {
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
  transform: translateY(-8px);
  background-color: #f0f5ff;
}

.service-icon {
  font-size: 50px;
  color: #4a69bd;
  margin-bottom: 20px;
}

.service-title {
  font-size: 24px;
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 15px;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.service-description {
  font-size: 16px;
  color: #666666;
  margin-bottom: 25px;
  line-height: 1.5;
  flex-grow: 1;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.read-more-button {
  background-color: #4a69bd;
  color: white;
  border: none;
  padding: 12px 28px;
  border-radius: 30px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.03em;
  box-shadow: 0 5px 15px rgba(74, 105, 189, 0.4);
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
  align-self: center;
}

.read-more-button:hover {
  background-color: #365899;
  box-shadow: 0 8px 20px rgba(54, 88, 153, 0.6);
}

/* Footer styles */
.footer {
  background-color: #939191;
  padding: 20px;
  margin-top: 50px;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.footer-logo {
  flex: 1;
  display: flex;
  justify-content: flex-start;
}

.footer-logo-img {
  width: 75%;
  height: auto;
  border-radius: 12%;
}

.footer-text {
  flex: 2;
  text-align: right;
}

.footer-text p {
  margin: 5px 0;
  display: flex;
  align-items: center;
}

.footer-text a {
  text-decoration: none;
  color: black;
  margin: 0 10px;
}

.footer-text a:hover {
  text-decoration: underline;
}

.footer-text svg {
  margin-right: 10px;
  font-size: 18px;
  color: black;
}

/* Responsive Grid adjustments */

@media (max-width: 1024px) {
  .services-cards {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .services-cards {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-logo {
    margin-bottom: 20px;
    justify-content: center;
  }

  .footer-text {
    margin-top: 20px;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .services-cards {
    grid-template-columns: 1fr;
  }
}
