/* Scan to CAD Specific Hero Styles */
.scan-tocad-hero {
  position: relative;
  height: 65vh;
  min-height: 580px;
  background: linear-gradient(rgba(0, 0, 0, 0.0), rgba(0, 0, 0, 0.0)), url("../../assets/img/servicepage/service-banner.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.scan-tocad-hero .hero-content {
  max-width: 1240px;
  margin: 0 auto;
  z-index: 5;
  padding: 0 20px;
  transform: translateY(-50px);
}

.scan-tocad-hero .hero-subtitle {
  font-size: 16px;
  letter-spacing: 2.5px;
  font-weight: 700;
  margin-bottom: 12px;
  display: block;
}

.scan-tocad-hero h1 {
  font-size: var(--font-size-h1);
  font-weight: 600;
  margin: 0 auto 35px auto;
  line-height: 1.15;
  text-shadow: 0 4px 15px rgba(0, 0, 0, 0.6);
  max-width: 1200px;
}

.scan-tocad-hero .service-description {
  font-size: 18px;
  color: #ffffff;
  max-width: 1300px;
  margin: 0 auto 30px auto;
  line-height: 1.6;
  font-weight: 400;
}

/* Button Styling matches Home Page Standard Exactly */
.scan-tocad-hero .hero-btn {
  background-color: #eaf6e5;
  color: #54b248;
  padding: 12px 28px;
  border-radius: 50px;
  font-weight: 500;
  border: 1.5px solid #54b248;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  text-transform: none;
  font-family: var(--font-body);
  box-shadow: 0 4px 15px rgba(84, 178, 72, 0.15);
}

.scan-tocad-hero .hero-btn:hover {
  background-color: #54b248;
  color: #ffffff;
}

.scan-tocad-hero .hero-btn svg {
  transition: transform 0.2s;
}

.scan-tocad-hero .hero-btn:hover svg {
  transform: translate(3px, -3px);
}

@media (max-width: 768px) {
  .scan-tocad-hero {
    height: auto;
    min-height: 450px;
    padding: 80px 0;
  }

  .scan-tocad-hero .hero-content {
    transform: translateY(0);
  }

  .scan-tocad-hero h1 {
    font-size: 32px;
  }
}

@media (max-width: 480px) {
  .scan-tocad-hero h1 {
    font-size: 28px;
  }

  .scan-tocad-hero .service-description {
    font-size: 14px;
    margin-bottom: 25px;
  }

  .scan-tocad-hero .hero-btn {
    padding: 10px 22px;
    font-size: 14px;
  }
}