/* Service Detail */
.service-detail {
  padding: 80px 0;
}

.service-intro {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 60px;
}

.service-intro h2 {
  font-size: 36px;
  margin-bottom: 20px;
  color: var(--dark);
}

.service-intro p {
  font-size: 18px;
}

.service-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin: 60px 0;
}

.feature-card {
  background-color: var(--gray);
  border-radius: 8px;
  padding: 30px;
  transition: transform 0.3s, box-shadow 0.3s;
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.feature-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 24px;
  margin-bottom: 20px;
}

.feature-card h3 {
  font-size: 22px;
  margin-bottom: 15px;
  color: var(--dark);
}

/* Project Types Section */
.project-types {
  padding: 80px 0;
  background-color: var(--gray);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.project-card {
  background-color: var(--light);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s;
}

.project-card:hover {
  transform: translateY(-10px);
}

.project-image {
  height: 250px;
  position: relative;
}

.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-image::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0) 50%,
    rgba(0, 0, 0, 0.7) 100%
  );
}

.project-content {
  padding: 25px;
}

.project-content h3 {
  font-size: 22px;
  margin-bottom: 15px;
  color: var(--dark);
}

/* Process Section */
.process-section {
  padding: 80px 0;
}

.process-container {
  margin-top: 50px;
  position: relative;
}

.process-timeline {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 4px;
  background: var(--primary);
  transform: translateX(-50%);
}

.process-step {
  display: flex;
  margin-bottom: 80px;
  position: relative;
}

.process-step:nth-child(even) {
  flex-direction: row-reverse;
}

.process-icon {
  position: absolute;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: 50%;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 24px;
  z-index: 1;
}

.process-content {
  width: 45%;
  background-color: var(--gray);
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.process-content h3 {
  font-size: 22px;
  margin-bottom: 15px;
  color: var(--dark);
}

/* Technologies Section */
.technologies-section {
  padding: 80px 0;
  background-color: var(--gray);
}

.tech-categories {
  margin-top: 50px;
}

.tech-category {
  margin-bottom: 40px;
}

.tech-category-title {
  font-size: 24px;
  margin-bottom: 20px;
  color: var(--dark);
  position: relative;
  padding-bottom: 10px;
}

.tech-category-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 60px;
  height: 3px;
  background: var(--primary);
}

.tech-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 20px;
}

.tech-item {
  background-color: var(--light);
  border-radius: 8px;
  padding: 15px;
  text-align: center;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s;
}

.tech-item:hover {
  transform: translateY(-5px);
}

.tech-icon {
  font-size: 32px;
  margin-bottom: 10px;
  color: var(--primary);
}

.tech-name {
  font-size: 14px;
  font-weight: 600;
}

/* Portfolio Section */
.portfolio-section {
  padding: 80px 0;
}

.portfolio-showcase {
  margin-top: 50px;
  background-color: var(--light);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.portfolio-image {
  height: 400px;
}

.portfolio-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.portfolio-details {
  padding: 30px;
}

.portfolio-title {
  font-size: 28px;
  margin-bottom: 15px;
  color: var(--dark);
}

.portfolio-tags {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.portfolio-tag {
  background-color: var(--gray);
  color: var(--text);
  padding: 5px 15px;
  border-radius: 20px;
  font-size: 14px;
  margin-right: 10px;
  margin-bottom: 10px;
}

.portfolio-description {
  margin-bottom: 20px;
}

.portfolio-results {
  background-color: var(--gray);
  padding: 20px;
  border-radius: 8px;
  margin-top: 20px;
}

.portfolio-results h4 {
  font-size: 20px;
  margin-bottom: 15px;
  color: var(--dark);
}

.results-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 20px;
}

.result-item {
  text-align: center;
}

.result-number {
  font-size: 32px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 5px;
}

.result-label {
  font-size: 14px;
}

/* FAQ Section */
.faq-section {
  padding: 80px 0;
  background-color: var(--gray);
}

.faq-container {
  max-width: 800px;
  margin: 40px auto 0;
}

.faq-item {
  margin-bottom: 20px;
  border-bottom: 1px solid #eee;
  padding-bottom: 20px;
}

.faq-question {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 15px;
  color: var(--dark);
}

/* Responsive */
@media (max-width: 768px) {
  .process-timeline {
    display: none;
  }

  .process-step {
    flex-direction: column !important;
    margin-bottom: 40px;
  }

  .process-icon {
    position: relative;
    left: 0;
    transform: none;
    margin-bottom: 20px;
  }

  .process-content {
    width: 100%;
  }
}
