/* Hero Section with Slide Image and Overlay */
.maintenance-hero {
  position: relative;
  width: 100%;               /* use 100% instead of 100vw to avoid scroll */
  margin: 0;                 /* remove margin-left trick */
  background: url("../images/glass-door-2-ai.png") center/cover no-repeat;
  min-height: 35vh;          /* reduced height */
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px 20px;        /* smaller vertical padding */
  text-align: center;
  color: #fff;
  overflow: hidden;           /* ensure nothing overflows */
}

.maintenance-hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(48, 48, 48, 0.35); /* slightly lighter overlay */
}


.maintenance-hero-text {
  position: relative; /* ensures text appears above overlay */
  max-width: 900px;
  z-index: 1;
}

.maintenance-hero h1 {
  font-size: 3rem;
  margin-bottom: 20px;
}

.maintenance-hero p {
  font-size: 1.2rem;
  max-width: 700px;
  margin: 0 auto 25px;
}

.maintenance-btn {
  display: inline-block;
  padding: 15px 40px;
  background: #0077b6;
  color: #fff;
  border-radius: 30px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.maintenance-btn:hover {
  background: #005f87;
  transform: translateY(-3px);
}

/* Benefits Section */
.maintenance-benefits {
  text-align: center;
  margin: 100px 20px 60px;
}

.maintenance-benefits h2 {
  font-size: 2.4rem;
  margin-bottom: 50px;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.benefit-card {
  background: #fff;
  padding: 35px;
  border-radius: 20px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.benefit-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.15);
}

.benefit-card h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: #0077b6;
}

.benefit-card p {
  font-size: 1rem;
  line-height: 1.6;
  color: #555;
}

/* Services Section */
.maintenance-services {
  text-align: center;
  margin: 100px 20px;
}

.maintenance-services h2 {
  font-size: 2.4rem;
  margin-bottom: 50px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
}

.service-card {
  background: #fff;
  padding: 30px;
  border-radius: 20px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 25px rgba(0,0,0,0.15);
}

.service-card h3 {
  font-size: 1.4rem;
  margin-bottom: 15px;
  color: #1f4568;
}

.service-card p {
  font-size: 1rem;
  color: #555;
  line-height: 1.6;
}

/* Plans Section */
.maintenance-plans {
  background: #f2f5f8;
  border-radius: 24px;
  text-align: center;
  padding: 80px 20px;
  margin-top: 100px;
}

.maintenance-plans h2 {
  font-size: 2.4rem;
  margin-bottom: 30px;
}

.plans-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

.plan-card {
  background: #fff;
  padding: 30px;
  border-radius: 20px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.plan-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 25px rgba(0,0,0,0.15);
}

.plan-card h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: #0077b6;
}

.plan-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.plan-card ul li {
  font-size: 1rem;
  color: #555;
  margin-bottom: 10px;
  position: relative;
  padding-left: 25px;
}

.plan-card ul li::before {
  content: "✔";
  color: #00e4ff;
  position: absolute;
  left: 0;
  top: 0;
}

/* Responsive */
@media (max-width: 900px) {
  .maintenance-hero h1 {
    font-size: 2.2rem;
  }

  .maintenance-hero p {
    font-size: 1rem;
  }
}
