/* styles.css (shared with About page) */

/* Hero Section */
.services-hero {
  background: url("images/services.jfif") center/cover no-repeat, rgba(0, 0, 0, 0.7);
  background-blend-mode: multiply;
  color: #fff;
  text-align: center;
  padding: 4rem 2rem;
}

.services-hero h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: #00c2ff;
}

/* Services Grid */
.services-grid {
  padding: 3rem 2rem;
}

.grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.service-card {
  background: #111;
  border-radius: 10px;
  overflow: hidden;
  transition: transform 0.3s, background 0.3s;
}

.service-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.service-card h3 {
  margin: 1rem;
  color: #00c2ff;
}

.service-card p {
  margin: 0 1rem 1.5rem;
  font-size: 0.95rem;
  color: #ddd;
}

.service-card:hover {
  transform: translateY(-5px);
  background: #151533;
}

/* Buttons */
.btn-secondary {
  display: inline-block;
  margin: 0 1rem 1.5rem;
  padding: 0.6rem 1.2rem;
  border-radius: 6px;
  background: #00c2ff;
  color: #000;
  font-weight: bold;
  text-decoration: none;
  transition: 0.3s;
}

.btn-secondary:hover {
  background: #009ecc;
  color: #fff;
}


/* ===========================
   Responsive Media Queries
   =========================== */

/* Tablets (max-width: 991px) */
@media (max-width: 991px) {
  .services-hero {
    padding: 3rem 1.5rem;
  }
  .services-hero h1 {
    font-size: 2rem;
  }
  .services-grid {
    padding: 2.5rem 1.5rem;
  }
}

/* Mobile devices (max-width: 768px) */
@media (max-width: 768px) {
  .services-hero {
    padding: 2.5rem 1rem;
  }
  .services-hero h1 {
    font-size: 1.8rem;
  }
  .grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .service-card img {
    height: 160px;
  }
  .service-card p {
    font-size: 0.9rem;
  }
  .btn-secondary {
    width: 90%;
    text-align: center;
    margin: 1rem auto;
    display: block;
  }
}

/* Small mobile (max-width: 480px) */
@media (max-width: 480px) {
  .services-hero {
    padding: 2rem 1rem;
  }
  .services-hero h1 {
    font-size: 1.5rem;
  }
  .service-card img {
    height: 140px;
  }
  .service-card h3 {
    font-size: 1.1rem;
  }
  .service-card p {
    font-size: 0.85rem;
  }
  .btn-secondary {
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
  }
}