/* Services Section */
.services-section {
  background: #ffffff;
 padding-top: 5rem;
padding-right: 2rem;
padding-bottom: 15rem;
padding-left: 2rem;
}

.section-title {
   text-align: center;
  margin-bottom: 1rem;
  font-size: 2.2rem; 
  font-weight: bold;
  color: #1e3a8a;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

/* Service Card */
.service-card {
  background: #f8f9fa;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
}

.service-card h3 {
  color: #1e3a8a;
  font-size: 1.4rem;
  margin: 1rem 0;
}

/* Image + Overlay */
.service-image {
  position: relative;
  width: 100%;
  height: 200px;
  overflow: hidden;
}

.service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.service-card:hover .service-image img {
  transform: scale(1.1);
}

.service-overlay {
  position: absolute;
  inset: 0;
  background: rgba(30, 58, 138, 0.8); /* navy overlay */
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 1.2rem;
  text-align: center;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.service-card:hover .service-overlay {
  opacity: 1;
}

.service-overlay p {
  margin-bottom: 1rem;
  font-size: 0.95rem;
  line-height: 1.4;
}

.service-btn {
  background: #facc15;
  color: #1e3a8a;
  border: none;
  padding: 0.6rem 1.2rem;
  border-radius: 8px;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s ease;
}

.service-btn:hover {
  background: #eab308;
}
