/* ===== SERVICES PAGE STYLES ===== */

/* Services Intro Section */
.services-intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: center;
}

.services-intro-content {
  padding-right: var(--space-lg);
}

.services-intro-content .section-header {
  text-align: left;
  margin-bottom: var(--space-md);
}

.services-intro-content .section-header h2:after {
  left: 0;
  transform: none;
}

.services-intro-content p {
  margin-bottom: var(--space-md);
}

.services-intro-image {
  height: 450px;
  background: url('https://images.pexels.com/photos/3183150/pexels-photo-3183150.jpeg?auto=compress&cs=tinysrgb&w=1260&h=750&dpr=2') no-repeat center center/cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

/* Service Detail Section */
.service-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: center;
}

.service-detail-grid.reverse {
  direction: rtl;
}

.service-detail-grid.reverse > * {
  direction: ltr;
}

.service-detail-image {
  height: 400px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

#web-development .service-detail-image {
  background: url('https://images.pexels.com/photos/1181467/pexels-photo-1181467.jpeg?auto=compress&cs=tinysrgb&w=1260&h=750&dpr=2') no-repeat center center/cover;
}

#ui-ux-design .service-detail-image {
  background: url('https://images.pexels.com/photos/196644/pexels-photo-196644.jpeg?auto=compress&cs=tinysrgb&w=1260&h=750&dpr=2') no-repeat center center/cover;
}

#mobile-solutions .service-detail-image {
   background-image: url('../images/web_app.png');
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  /*: url('https://images.pexels.com/photos/193003/pexels-photo-193003.jpeg?auto=compress&cs=tinysrgb&w=1260&h=750&dpr=2') no-repeat center center/cover;*/
}

#digital-marketing .service-detail-image {
  background: url('https://images.pexels.com/photos/905163/pexels-photo-905163.jpeg?auto=compress&cs=tinysrgb&w=1260&h=750&dpr=2') no-repeat center center/cover;
}

.service-detail-content {
  padding: var(--space-lg);
}

.service-detail-content .service-icon {
  width: 70px;
  height: 70px;
  background-color: rgba(62, 146, 204, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--secondary);
  margin-bottom: var(--space-md);
}

.service-detail-content h2 {
  margin-bottom: var(--space-md);
}

.service-detail-content p {
  margin-bottom: var(--space-lg);
}

.service-features {
  margin-bottom: var(--space-lg);
}

.service-features li {
  margin-bottom: var(--space-sm);
  display: flex;
  align-items: flex-start;
}

.service-features li i {
  color: var(--success);
  margin-right: var(--space-sm);
  margin-top: 5px;
}

/* Process Section */
.process-steps {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.process-steps::before {
  content: '';
  position: absolute;
  top: 0;
  left: 24px;
  height: 100%;
  width: 2px;
  background-color: var(--secondary);
  opacity: 0.3;
}

.process-step {
  display: flex;
  margin-bottom: var(--space-lg);
  position: relative;
}

.process-step:last-child {
  margin-bottom: 0;
}

.step-number {
  width: 50px;
  height: 50px;
  background-color: var(--secondary);
  color: var(--light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.2rem;
  margin-right: var(--space-lg);
  position: relative;
  z-index: 1;
}

.step-content {
  flex: 1;
  padding-top: var(--space-xs);
}

.step-content h3 {
  margin-bottom: var(--space-xs);
}

.step-content p {
  margin-bottom: 0;
}

/* FAQ Section */
.faq-grid {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: var(--space-md);
  background-color: var(--light);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.faq-question {
  padding: var(--space-md);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background-color var(--transition-normal);
}

.faq-question:hover {
  background-color: rgba(62, 146, 204, 0.05);
}

.faq-question h3 {
  margin-bottom: 0;
  font-size: 1.1rem;
  flex: 1;
}

.faq-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  transition: transform var(--transition-normal);
}

.faq-item.active .faq-toggle {
  transform: rotate(45deg);
}

.faq-answer {
  padding: 0 var(--space-md);
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-normal), padding var(--transition-normal);
}

.faq-item.active .faq-answer {
  padding: 0 var(--space-md) var(--space-md);
  max-height: 300px;
}

/* Responsive Styles */
@media screen and (max-width: 992px) {
  .services-intro-grid,
  .service-detail-grid {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }
  
  .services-intro-content,
  .service-detail-content {
    padding-right: 0;
  }
  
  .service-detail-grid.reverse {
    direction: ltr;
  }
  
  .service-detail-image {
    height: 300px;
  }
}

@media screen and (max-width: 768px) {
  .process-steps::before {
    left: 20px;
  }
  
  .step-number {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }
  
  .faq-question h3 {
    font-size: 1rem;
  }
}

@media screen and (max-width: 576px) {
  .service-detail-content {
    padding: var(--space-md) 0;
  }
}