/* ============================== */
/*       SERVICES PAGE STYLES     */
/* ============================== */

/* Services List Grid */
.services-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
  margin-bottom: 60px;
}

/* Service Card Styling */
.service-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  padding: 20px;
  text-align: center;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.service-card.visible {
  opacity: 1;
  transform: translateY(0);
}
.service-card img {
  width: 100%;
  height: auto;
  border-radius: 4px;
  margin-bottom: 20px;
}
.service-card h2 {
  font-size: 24px;
  color: #333;
  margin-bottom: 10px;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.service-card p {
  font-size: 16px;
  color: #555;
  line-height: 1.6;
  margin-bottom: 15px;
}
.service-card .btn.learn-more {
  margin-top: auto;
  display: inline-block;
  background: #662773;
  color: #fff;
  padding: 10px 20px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 600;
  transition: background-color 0.3s ease;
}
.service-card .btn.learn-more:hover {
  background: #333;
}
