/* Service Page Specific Styles */

/* BUTTONS */
.btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 50px;
  font-weight: 600;
  text-align: center;
  transition: var(--transition);
  min-height: 44px;
  cursor: pointer;
  border: none;
  text-decoration: none;
  /* Added to ensure links look like buttons */
}

.btn-primary {
  background-color: var(--primary-color);
  color: var(--white);
  font-weight: 700;
  box-shadow: 0 4px 6px rgba(46, 125, 50, 0.3);
}

.btn-primary:hover {
  background-color: var(--secondary-color);
  transform: translateY(-2px);
  color: var(--white);
}

.btn-secondary {
  background-color: transparent;
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
}

.btn-secondary:hover {
  background-color: var(--primary-color);
  color: var(--white);
}

/* HERO SECTION */

/* HERO / COVER IMAGE */
.cover-container {
  width: 100%;
  margin-bottom: 2rem;
}

.cover {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* Specific Override for Services Hero Image placement */


/* Hero Background */
.hero-bg {
  background: linear-gradient(rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0.8)),
    url('../assets/images/hero.png');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

/* SERVICE CARDS  */
.service-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--white);
  padding: 30px;
  border-radius: 10px;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.service-card:hover {
  transform: translateY(-5px);
}

.service-card h3 {
  color: var(--primary-color);
  margin-bottom: 15px;
  font-size: 1.5rem;
  font-weight: 500;
}

.service-card p {
  flex-grow: 1;
  margin-bottom: 1rem;
}

.service-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
  display: block;
}

/* GRID SYSTEM */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

@media (max-width: 768px) {
  .grid-3 {
    gap: 20px;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .btn {
    width: 100%;
    max-width: 300px;
  }
}

/* SECTIONS */
.service-grid-section {
  padding-top: 40px;
  padding-bottom: 80px;
  /* Gap before footer */
}