/* Services Page Specific Styles */

/* Page Header */
.page-header {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  color: white;
  padding: 80px 0;
  text-align: center;
  position: relative;
  margin-top: 70px;
}

.page-header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.1'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.3;
}

.page-header h1 {
  font-size: 2.8rem;
  margin-bottom: 15px;
  position: relative;
  z-index: 1;
}

.page-header p {
  font-size: 1.2rem;
  max-width: 800px;
  margin: 0 auto;
  opacity: 0.9;
  position: relative;
  z-index: 1;
}

/* Services List Section */
.services-list {
  padding: 80px 0;
  background-color: var(--background-alt);
}

/* Service Item */
.service-item {
  display: flex;
  margin-bottom: 80px;
  background: white;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  position: relative;
}

.service-item:last-child {
  margin-bottom: 0;
}

.service-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 5px;
  height: 100%;
  background: var(--primary-color);
}

.service-left {
  flex-direction: row;
}

.service-right {
  flex-direction: row-reverse;
}

/* Service Content */
.service-content {
  flex: 1;
  padding: 40px;
}

.service-content h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  color: var(--primary-color);
  position: relative;
  padding-bottom: 15px;
}

.service-content h2::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 3px;
  background: var(--primary-color);
}

.service-description {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--text-light);
  margin-bottom: 25px;
}

.service-content h3 {
  font-size: 1.3rem;
  margin-bottom: 15px;
  color: var(--text-color);
}

/* Service Features */
.service-features {
  margin-bottom: 30px;
}

.service-features li {
  display: flex;
  align-items: flex-start;
  margin-bottom: 12px;
  font-size: 1.05rem;
  color: var(--text-light);
}

.service-features li i {
  color: var(--primary-color);
  margin-right: 10px;
  font-size: 1rem;
  margin-top: 5px;
  flex-shrink: 0;
}

/* Service Areas */
.service-areas {
  background-color: rgba(0, 184, 148, 0.05);
  padding: 15px;
  border-radius: var(--border-radius);
  margin-bottom: 25px;
}

.service-areas p {
  color: var(--text-color);
  font-size: 1rem;
  margin: 0;
}

/* Service Image */
.service-image {
  flex: 0 0 40%;
  position: relative;
  overflow: hidden;
}

.service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.service-item:hover .service-image img {
  transform: scale(1.05);
}

/* Service Process Section */
.service-process {
  padding: 80px 0;
  background-color: white;
}

.service-process h2 {
  text-align: center;
  font-size: 2.2rem;
  margin-bottom: 50px;
  color: var(--text-color);
}

.process-steps {
  display: flex;
  justify-content: space-between;
  position: relative;
}

.process-steps::before {
  content: "";
  position: absolute;
  top: 40px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--border-color);
  z-index: 1;
}

.process-step {
  flex: 1;
  text-align: center;
  padding: 0 15px;
  position: relative;
  z-index: 2;
}

.step-number {
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: white;
  border: 2px solid var(--primary-color);
  border-radius: 50%;
  color: var(--primary-color);
  font-size: 1.8rem;
  font-weight: 700;
  margin: 0 auto 25px;
  transition: var(--transition);
  position: relative;
}

.process-step:hover .step-number {
  background: var(--primary-color);
  color: white;
}

.process-step h3 {
  font-size: 1.3rem;
  margin-bottom: 15px;
  color: var(--text-color);
}

.process-step p {
  color: var(--text-light);
}

/* FAQ Section */
.service-faq {
  padding: 80px 0;
  background-color: var(--background-alt);
}

.service-faq h2 {
  text-align: center;
  font-size: 2.2rem;
  margin-bottom: 50px;
  color: var(--text-color);
}

.faq-container {
  max-width: 900px;
  margin: 0 auto;
}

.faq-item {
  background: white;
  border-radius: var(--border-radius);
  padding: 25px 30px;
  margin-bottom: 20px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.03);
  transition: var(--transition);
}

.faq-item:hover {
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  transform: translateY(-3px);
}

.faq-item h3 {
  font-size: 1.2rem;
  margin-bottom: 15px;
  color: var(--primary-color);
}

.faq-item p {
  color: var(--text-light);
  line-height: 1.7;
}

/* CTA Section */
.cta {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  color: white;
  text-align: center;
  position: relative;
}

.cta::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.1'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.3;
}

.cta h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  position: relative;
}

.cta p {
  font-size: 1.2rem;
  max-width: 800px;
  margin: 0 auto 30px;
  opacity: 0.9;
  position: relative;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  position: relative;
}

.btn-secondary {
  background: white;
  color: var(--primary-color);
  border: 2px solid white;
}

.btn-secondary:hover {
  background: transparent;
  color: white;
}

/* Responsive Styles */
@media (max-width: 1200px) {
  .service-content {
    padding: 30px;
  }

  .service-content h2 {
    font-size: 1.8rem;
  }
}

@media (max-width: 992px) {
  .service-item {
    flex-direction: column;
  }

  .service-right {
    flex-direction: column;
  }

  .service-image {
    flex: 0 0 300px;
    order: -1; /* Make image appear first on mobile */
  }

  .service-content {
    display: flex;
    flex-direction: column;
  }

  .service-content h2 {
    order: -1; /* Make heading appear right after the image */
  }

  .process-steps {
    flex-wrap: wrap;
  }

  .process-steps::before {
    display: none;
  }

  .process-step {
    flex: 0 0 50%;
    margin-bottom: 40px;
  }
}

@media (max-width: 768px) {
  .page-header {
    padding: 60px 0;
  }

  .page-header h1 {
    font-size: 2.2rem;
  }

  .service-content h2 {
    font-size: 1.6rem;
    margin-top: 20px; /* Add space between image and heading */
  }

  .service-description {
    font-size: 1rem;
  }

  .service-features li {
    font-size: 1rem;
  }

  .cta h2 {
    font-size: 2rem;
  }

  .cta p {
    font-size: 1.1rem;
  }

  .cta-buttons {
    flex-direction: column;
    max-width: 300px;
    margin: 0 auto;
  }
}

@media (max-width: 576px) {
  .page-header h1 {
    font-size: 1.8rem;
  }

  .page-header p {
    font-size: 1rem;
  }

  .service-content {
    padding: 25px 20px;
  }

  .service-image {
    flex: 0 0 200px;
  }

  .process-step {
    flex: 0 0 100%;
  }

  .faq-item {
    padding: 20px;
  }

  .faq-item h3 {
    font-size: 1.1rem;
  }
}
