/* 🌐 Hero Section */
.services-hero {
  background: linear-gradient(to right, #007bff, #0056b3);
  color: #fff;
  padding: 80px 20px;
  text-align: center;
}
.services-hero h1 {
  font-size: 3rem;
  font-weight: 700;
  margin-top: 15px;
  color: #35b6ff;
}
.services-hero p {
  font-size: 1.1rem;
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.6rem;
  color: #f0f0f0;
}

/* 📦 Service Grid */
.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
  padding: 60px 0;
}

/* 🧱 Service Box */
.service-box {
  background: #fff;
  border-left: 5px solid #007bff;
  box-shadow: 6px 0 12px rgba(0, 123, 255, 0.2), 0 6px 12px rgba(0, 0, 0, 0.15);
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-decoration: none;
  color: inherit;
  display: block;
  background-size: cover;
  background-position: center;
}
.service-box:hover {
  transform: scale(1.03);
  box-shadow: 10px 0 20px rgba(0, 123, 255, 0.25), 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* 📄 Overlay Content */
.service-overlay {
  padding: 20px;
  text-align: center;
  background-color: rgba(255, 255, 255, 0.85);
  border-radius: 8px;
}
.service-overlay i {
  font-size: 3rem;
  color: #007bff;
  margin-bottom: 15px;
}
.service-overlay h3 {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: #222;
}
.service-overlay p {
  font-size: 1rem;
  color: #555;
  margin-bottom: 20px;
}

/* 🔘 Button */
.learn-btn {
  display: inline-block;
  background-color: #007bff;
  font-size: 16px;
  color: #ffffff;
  padding: 10px 20px;
  border-radius: 8px;
  cursor: pointer;
  border: none;
  transition: background-color 0.3s ease, color 0.3s ease;
  text-decoration: none;
}
.learn-btn:hover {
  background-color: #ffffff;
  color: #007bff;
  font-weight: 600;
  border: 1px solid #007bff;
}

/* 🧼 Remove underline from all links */
.service-box a,
.service-box a:visited,
.service-box a:hover,
.service-box a:active {
  text-decoration: none;
  color: inherit;
}