/* Hero Section */
.services-hero {
  background: linear-gradient(135deg, #fbc2eb, #a6c1ee);
  color: #333;
  text-align: center;
  padding: 6rem 2rem;
  border-radius: 0 0 50px 50px;
}

.services-hero-content h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  font-weight: 400;
}

.services-hero-content p {
  font-size: 1.2rem;
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.6;
}


.services-hero-content .btn {
  display: inline-block;
  background: #ff4d6d;
  color: #fff;
  margin-top: 2rem;
  padding: 0.8rem 1.5rem;
  border-radius: 50px;
  text-decoration: none;
  transition: all 0.3s ease;
}
.services-hero-content .btn:hover {
  background: #d6336c;
}

/* Optional overlay for better readability */
.hero::after {
    content: '';
    position: absolute;
    top:0;
    left:0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2rem;
    }
    .hero-content p {
        font-size: 1.1rem;
    }
    .hero-content .btn {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }
}





/* Services Section */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
  margin-bottom: 50px;
}

@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
}

.service-card {
  position: relative;
  height: 320px;
  background-size: cover;
  background-position: center;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0,0,0,0.1);
  text-decoration: none;
  color: white;
  transition: transform 0.3s ease;
  display: block;
  text-align: center;
}

.service-card:hover {
  transform: scale(1.02);
}

.card-overlay {
 position: absolute;
  bottom: 0;
  width: 100%;
  height: 30%; /* 👈 Reduced from 40% */
  background: linear-gradient(to top, rgba(0,0,0,0.8), rgba(0,0,0,0.3));
  transition: height 0.4s ease;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.service-card:hover .card-overlay {
  height: 80%;
  align-items: flex-start;
}

.card-content {
 max-width: 90%;
  margin-bottom: 1.5rem;
}

.card-content.minimal {
  opacity: 1;
}

.card-content.expanded {
  display: none;
  opacity: 0;
}

.service-card:hover .card-content.minimal {
  display: none;
  opacity: 0;
}

.service-card:hover .card-content.expanded {
  display: block;
  opacity: 1;
}

.card-content h3 {
  font-size: 1.4rem;
  margin-bottom: 8px;
}

.card-content p {
  font-size: 1rem;
  line-height: 1.4;
  margin-bottom: 10px;
}

.btn-card {
  display: inline-block;
  padding: 8px 16px;
  background-color: #ff6b6b;
  color: white;
  border-radius: 6px;
  font-weight: bold;
  font-size: 0.95rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.btn-card:hover {
  background-color: #ff4c4c;
}

