/* Global Styles */
:root {
    --primary-color: #4A90E2;
    --secondary-color: #50C878;
    --accent-color: #F5A623;
    --text-color: #333333;
    --light-color: #FFFFFF;
    --background-color: #F9F9F9;
    --shadow-color: rgba(0, 0, 0, 0.1);
}


body {
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--background-color);
  overflow-x: hidden;
}

/* Hero Section Styles */
.hero-section {
  position: relative;
  min-height: 600px;
  display: flex;
  align-items: center;
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.7)), url('/pictures/contactFormBG.webp') no-repeat center center/cover;
  color: var(--light-color);
  overflow: hidden;
}

.hero-section-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 2;
}

.hero-section-content {
  max-width: 600px;
}

.hero-section-title {
  font-size: 3.5rem;
  margin-bottom: 1rem;
  line-height: 1.2;
  animation: fadeInUp 1s ease-out;
}

.hero-section-subtitle {
  font-size: 1.5rem;
  margin-bottom: 2rem;
  opacity: 0.9;
  animation: fadeInUp 1s ease-out 0.2s;
  animation-fill-mode: both;
}

.hero-section-cta {
  display: inline-block;
  background-color: var(--secondary-color);
  color: var(--light-color);
  padding: 12px 30px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px var(--shadow-color);
  animation: fadeInUp 1s ease-out 0.4s;
  animation-fill-mode: both;
}

.hero-section-cta:hover {
  background-color: #3DAB66;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.hero-section-cta i {
  margin-left: 8px;
}

/* Hero Decorative Elements */
.hero-section-decorative-bubble {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  animation: float 7s infinite ease-in-out;
  z-index: 1;
}

.hero-section-decorative-bubble:nth-child(1) {
  width: 150px;
  height: 150px;
  top: 20%;
  right: 10%;
  animation-delay: 0s;
}

.hero-section-decorative-bubble:nth-child(2) {
  width: 80px;
  height: 80px;
  top: 60%;
  right: 25%;
  animation-delay: 1s;
}

.hero-section-decorative-bubble:nth-child(3) {
  width: 120px;
  height: 120px;
  top: 30%;
  right: 35%;
  animation-delay: 2s;
}

.hero-section-cleaning-icon {
  position: absolute;
  z-index: 1;
  color: rgba(255, 255, 255, 0.15);
  animation: spin 15s infinite linear;
}

.hero-section-cleaning-icon:nth-child(4) {
  font-size: 5rem;
  bottom: 15%;
  left: 10%;
}

.hero-section-cleaning-icon:nth-child(5) {
  font-size: 4rem;
  top: 20%;
  left: 20%;
  animation-duration: 20s;
}

/* Services Header Section */
.services-header-section {
  padding: 80px 0 40px;
  text-align: center;
  position: relative;
}

.services-header-title {
  font-size: 2.5rem;
  margin-bottom: 20px;
  position: relative;
  display: inline-block;
}

.services-header-title:after {
  content: '';
  position: absolute;
  width: 80px;
  height: 4px;
  background-color: var(--secondary-color);
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 2px;
}

.services-header-subtitle {
  font-size: 1.1rem;
  max-width: 700px;
  margin: 0 auto;
  color: #666;
}

/* Individual Service Styles */
.service-section {
  padding: 80px 0;
  position: relative;
  transition: background-color 0.3s ease;
}

.service-section:nth-child(even) {
  background: rgba(249, 249, 249, 0.5);
}

.service-section:hover {
  background: rgba(1, 182, 113, 0.02);
}

.service-section-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  align-items: center;
}

.service-section:nth-child(odd) .service-section-container {
  flex-direction: row-reverse;
}

.service-content {
  flex: 1;
  padding: 0 30px;
}

.service-image-wrapper {
  position: relative;
  width: 100%;
  max-width: 500px;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px var(--shadow-color);
  transition: all 0.3s ease;
}

.service-image-wrapper:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.service-image {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.3s ease;
}

.service-image-wrapper:hover .service-image {
  transform: scale(1.05);
}

.service-icon-large {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 60px;
  height: 60px;
  background: rgba(1, 182, 113, 0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 24px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}

.service-image-wrapper:hover .service-icon-large {
  transform: scale(1.1) rotate(10deg);
  background: rgba(255, 236, 48, 0.9);
  color: #333;
}

.service-title {
  font-size: 2rem;
  margin-bottom: 20px;
  color: var(--text-color);
}

.service-description {
  font-size: 1.1rem;
  margin-bottom: 30px;
  color: #555;
  line-height: 1.8;
}

.service-cta {
  display: inline-flex;
  align-items: center;
  background-color: var(--secondary-color);
  color: var(--light-color);
  padding: 12px 25px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px var(--shadow-color);
}

.service-cta:hover {
  background-color: #3DAB66;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.service-cta i {
  margin-left: 8px;
}

/* Service Decorative Elements */
.service-decorative-element {
  position: absolute;
  z-index: -1;
}

.service-decorative-circle {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: linear-gradient(45deg, rgba(74, 144, 226, 0.15), rgba(80, 200, 120, 0.15));
}

.service-decorative-dots {
  width: 160px;
  height: 160px;
  background-image: radial-gradient(circle, var(--shadow-color) 2px, transparent 2px);
  background-size: 15px 15px;
}

.service-residential-decor-1 {
  top: 50px;
  left: -100px;
}

.service-residential-decor-2 {
  bottom: 50px;
  right: -50px;
}

.service-commercial-decor-1 {
  top: -80px;
  right: 100px;
}

.service-commercial-decor-2 {
  bottom: -50px;
  left: 150px;
}

/* Animation for Section Entry */
.service-section {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 1s ease, transform 1s ease;
}

.service-section.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Animations */
@keyframes fadeInUp {
  from {
      opacity: 0;
      transform: translateY(30px);
  }
  to {
      opacity: 1;
      transform: translateY(0);
  }
}

@keyframes float {
  0%, 100% {
      transform: translateY(0);
  }
  50% {
      transform: translateY(-20px);
  }
}

@keyframes spin {
  from {
      transform: rotate(0deg);
  }
  to {
      transform: rotate(360deg);
  }
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
      transform: translateY(0) translateX(-50%);
  }
  40% {
      transform: translateY(-20px) translateX(-50%);
  }
  60% {
      transform: translateY(-10px) translateX(-50%);
  }
}

/* Responsive Styles */
@media screen and (max-width: 992px) {
  .service-section-container {
      flex-direction: column !important;
      gap: 40px;
  }

  .service-image-wrapper, .service-content {
      width: 100%;
      padding: 0;
  }

  .service-image {
      height: 350px;
  }
}

@media screen and (max-width: 768px) {
  .hero-section {
      padding: 80px 0;
      height: auto;
      min-height: 100vh;
  }

  .hero-section-title {
      font-size: 2.5rem;
  }

  .hero-section-subtitle {
      font-size: 1.2rem;
  }

  .service-section {
      padding: 60px 0;
  }

  .service-title {
      font-size: 1.8rem;
  }

  .service-image {
      height: 280px;
  }

  .service-section-container {
      padding: 0 20px;
  }
}