/* ServiceCloud Section - Modular CSS */
.service-cloud {
  position: relative;
  height: 65vh;
  min-height: 580px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding: 0 20px !important;
}

.service-cloud-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 1;
  transition: transform 10s ease;
}

.service-cloud:hover .service-cloud-bg {
  transform: scale(1.1);
}

.service-cloud-content {
  position: relative;
  z-index: 2;
  max-width: 1400px;
  padding: 0 20px;
  transform: translateY(-40px);
}

.service-cloud-overline {
  font-size: 16px;
  letter-spacing: 2.5px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 12px;
  text-transform: uppercase;
  display: block;
  font-family: var(--font-heading);
  animation: fadeInDown 0.8s ease-out;
}

.service-cloud-title {
  font-family: var(--font-heading);
  font-size: 42px;
  line-height: 1.15;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 35px 0;
  text-shadow: 0 4px 15px rgba(0, 0, 0, 0.6);
  animation: fadeInUp 0.8s ease-out 0.2s both;
}

.service-cloud-subtitle {
  font-family: var(--font-body);
  font-size: 18px;
  color: #ffffff;
  max-width: 950px;
  margin: 0 auto 45px auto;
  line-height: 1.6;
  font-weight: 500;
  animation: fadeInUp 0.8s ease-out 0.4s both;
}

.service-cloud-btn-container {
  display: flex;
  justify-content: center;
  animation: fadeInUp 0.8s ease-out 0.6s both;
}

.service-cloud-btn {
  background-color: #eaf6e5;
  color: #54b248;
  border: 1.5px solid #54b248;
  padding: 12px 28px;
  border-radius: 50px;
  font-weight: 500;
  font-size: var(--font-size-body);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  transition: all 0.2s;
  box-shadow: 0 4px 15px rgba(84, 178, 72, 0.15);
}

.service-cloud-btn:hover {
  background-color: #54b248;
  color: #ffffff;
  transform: translateY(-2px);
}

.service-cloud-btn svg {
  transition: transform 0.3s;
}

.service-cloud-btn:hover svg {
  transform: translate(4px, -4px);
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 768px) {
  .service-cloud {
    height: auto;
    min-height: 450px;
    padding: 60px 0 !important;
  }

  .service-cloud-content {
    transform: translateY(-40px);
    margin: 0 auto;
  }

  .service-cloud-title {
    font-size: 32px;
  }

  .service-cloud-subtitle {
    font-size: 16px;
    margin-bottom: 30px;
  }
}

@media (max-width: 480px) {
  .service-cloud-title {
    font-size: 26px;
  }
}