/* Page Header */
.page-header {
  background: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8));
  background-position: center;
  background-size: cover;
  padding: 150px 0 70px;
  text-align: center;
}

/* Department Logo Styles */
.department-logo-h1 {
  display: block;
  margin: 0 auto var(--spacing-md);
  max-width: 100%;
  height: auto;
}

.page-header h1 {
  margin-bottom: var(--spacing-md);
}

.page-description {
  max-width: 700px;
  margin: 0 auto;
  font-size: var(--font-size-medium);
}

/* Service Overview */
.service-overview {
  padding: var(--spacing-xxl) 0;
}

.service-content {
  display: flex;
  align-items: center;
  gap: var(--spacing-xl);
}

.service-text {
  flex: 1;
}

.service-text h2 {
  margin-bottom: var(--spacing-lg);
}

.service-text p {
  margin-bottom: var(--spacing-md);
  font-size: var(--font-size-medium);
  line-height: 1.6;
}

.service-text .btn {
  margin-top: var(--spacing-md);
}

.service-image {
  flex: 1;
  position: relative;
  max-width: 600px;
  margin: 0 auto;
}

.service-image::before {
  display: none;
}

.service-image img {
  border-radius: var(--border-radius);
  width: 100%;
  height: auto;
  max-height: 600px;
  object-fit: cover;
}

/* Process Steps */
.service-process {
  padding: var(--spacing-xxl) 0;
  background-color: rgba(0, 0, 0, 0.2);
}

.section-title {
  text-align: center;
  margin-bottom: var(--spacing-xl);
  position: relative;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 3px;
  background-color: var(--process-color);
}

.process-steps {
  max-width: 800px;
  margin: 0 auto;
}

.process-step {
  display: flex;
  margin-bottom: var(--spacing-lg);
  position: relative;
}

.process-step:not(:last-child)::after {
  content: '';
  position: absolute;
  left: 25px;
  top: 50px;
  width: 2px;
  height: calc(100% + var(--spacing-lg) - 50px);
  background-color: rgba(255, 255, 255, 0.1);
}

.step-number {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: var(--process-color);
  color: var(--color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'BlenderProBold', sans-serif;
  font-size: var(--font-size-large);
  margin-right: var(--spacing-md);
  flex-shrink: 0;
  position: relative;
  z-index: 2;
}

.step-content {
  padding-top: var(--spacing-xs);
}

.step-content h3 {
  margin-bottom: var(--spacing-sm);
  color: var(--process-color);
}

.step-content p {
  line-height: 1.6;
}

/* Service Features */
.service-features {
  padding: var(--spacing-xxl) 0;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: var(--spacing-lg);
}

.feature-card {
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: var(--border-radius);
  padding: var(--spacing-lg);
  box-shadow: var(--shadow);
  transition: transform var(--transition-speed);
}

.feature-card:hover {
  transform: translateY(-5px);
}

.feature-icon {
  width: 60px;
  height: 60px;
  margin-bottom: var(--spacing-md);
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
}

.script-icon {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%233535F3'%3E%3Cpath d='M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8l-6-6zm-1 2l5 5h-5V4zM6 20V4h5v7h7v9H6z'/%3E%3C/svg%3E");
}

.design-icon {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%233535F3'%3E%3Cpath d='M12 22C6.49 22 2 17.51 2 12S6.49 2 12 2s10 4.04 10 9c0 3.31-2.69 6-6 6h-1.77c-.28 0-.5.22-.5.5 0 .12.05.23.13.33.41.47.64 1.06.64 1.67 0 1.38-1.12 2.5-2.5 2.5zm0-18c-4.41 0-8 3.59-8 8s3.59 8 8 8c.28 0 .5-.22.5-.5 0-.16-.08-.28-.14-.35-.41-.46-.63-1.05-.63-1.65 0-1.38 1.12-2.5 2.5-2.5H16c2.21 0 4-1.79 4-4 0-3.86-3.59-7-8-7z'/%3E%3C/svg%3E");
}

.code-icon {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%233535F3'%3E%3Cpath d='M9.4 16.6L4.8 12l4.6-4.6L8 6l-6 6 6 6 1.4-1.4zm5.2 0l4.6-4.6-4.6-4.6L16 6l6 6-6 6-1.4-1.4z'/%3E%3C/svg%3E");
}

.audio-icon {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%233535F3'%3E%3Cpath d='M12 3v10.55c-.59-.34-1.27-.55-2-.55-2.21 0-4 1.79-4 4s1.79 4 4 4 4-1.79 4-4V7h4V3h-6z'/%3E%3C/svg%3E");
}

.character-icon {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%233535F3'%3E%3Cpath d='M12 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm0 2c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4z'/%3E%3C/svg%3E");
}

.test-icon {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%233535F3'%3E%3Cpath d='M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-9 14l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z'/%3E%3C/svg%3E");
}

.feature-card h3 {
  margin-bottom: var(--spacing-sm);
}

.feature-card p {
  line-height: 1.5;
}

/* CTA Section */
.cta-section {
  padding: var(--spacing-xxl) 0;
  /* Remove background image properties */
  /* background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url("../images/bg_red.avif"); */
  /* background-position: center; */
  /* background-size: cover; */
  /* Set background color */
  background-color: #0b0b12;
  text-align: center;
}

.cta-content {
  max-width: 700px;
  margin: 0 auto;
}

.cta-content h2 {
  margin-bottom: var(--spacing-md);
}

.cta-content p {
  margin-bottom: var(--spacing-lg);
  font-size: var(--font-size-medium);
}

/* Active Menu Item */
.menu-item a.active {
  position: relative;
  font-weight: bold;
}

.menu-item a.active::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: var(--color);
}

/* Media Queries */
@media (max-width: 900px) {
  .service-content {
    flex-direction: column;
    gap: var(--spacing-xl);
  }
  
  .service-image {
    width: 100%;
    max-width: 500px;
    margin-top: var(--spacing-lg);
  }
  
  .page-header {
    padding: 120px 0 50px;
  }
  
  .features-grid {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  }
}

@media (max-width: 600px) {
  .features-grid {
    grid-template-columns: 1fr;
  }
  
  .process-step {
    flex-direction: column;
  }
  
  .step-number {
    margin-bottom: var(--spacing-sm);
  }
  
  .process-step:not(:last-child)::after {
    left: 25px;
    top: 50px;
    width: 2px;
    height: 30px;
  }
}
