body {
  font-family: 'Montserrat', sans-serif;
  margin: 0;
  color: #222;
  background: #fff;
}

main {
  max-width: 1400px;
  margin: 0 auto;
  padding: 40px 20px;
}

.services-hero {
  text-align: center;
  margin-bottom: 60px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.services-hero h1 {
  font-size: 2.5em;
  margin-bottom: 15px;
  color: #111;
  font-weight: 700;
}

.services-hero p {
  font-size: 1.2em;
  color: #555;
  line-height: 1.5;
}

/* --- GRID LAYOUT --- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); /* Responsive columns */
  gap: 30px;
  margin-bottom: 60px;
}

/* --- CARD STYLE --- */
.service-card {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 12px;
  padding: 35px;
  display: flex;
  flex-direction: column; /* Allows pushing button to bottom */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
}

/* Hover effect for cards */
.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
  border-color: #ddd;
}

.card-content {
  flex-grow: 1; /* Takes up available space pushing button down */
  margin-bottom: 25px;
}

.service-card h2 {
  font-size: 1.6em;
  margin-top: 0;
  margin-bottom: 20px;
  color: #111;
  padding-bottom: 12px;
  border-bottom: 2px solid #f0f0f0;
}

.service-card p {
  font-size: 1.05em;
  line-height: 1.6;
  color: #444;
  margin-bottom: 15px;
}

/* Equipment List Style */
.equipment-label {
  font-weight: 600;
  color: #222;
  margin-bottom: 10px;
}

.equipment-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.equipment-list li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 8px;
  color: #555;
  font-size: 0.95em;
}

.equipment-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: #111;
  font-weight: bold;
}

/* --- BUTTONS --- */
.btn-card {
  display: inline-block;
  background: #111;
  color: #fff;
  text-decoration: none;
  padding: 14px 24px;
  border-radius: 6px;
  font-size: 0.95em;
  font-weight: 600;
  text-align: center;
  transition: background 0.3s ease, transform 0.2s ease;
  align-self: flex-start; /* Aligns button to left */
  margin-top: auto; /* Pushes button to bottom of flex container */
  border: none;
  cursor: pointer;
}

.btn-card:hover {
  background: #444;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

@media (max-width: 768px) {
  .services-hero h1 {
    font-size: 2em;
  }
  
  .services-grid {
    grid-template-columns: 1fr; /* Stack on mobile */
  }
  
  .btn-card {
    width: 100%; /* Full width buttons on mobile */
    box-sizing: border-box;
  }
}