.development-services {
  padding: 50px;
  text-align: center;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  padding: 0 50px;
  margin-bottom: 30px;
}

.service-card {
  border: 1px solid #ddd;
  padding: 20px;
  text-align: center;
}

.research-info {
  border: 1px solid #ddd;
  padding: 30px;
  margin: 0 auto;
  max-width: 600px;
}

/* ㅇ마 여기부터는 공통인거 같아 */
.system-dev {
  max-width: 1200px;
  margin: 0 auto;
  padding: 6px 10px;
}

.page-title {
  font-size: 1.6rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 0.5rem;
  color: #333;
}

.page-subtitle {
  font-size: 1rem;
  text-align: center;
  color: #666;
  margin-bottom: 1rem;
}

.project-grid {
  display: flex;
  justify-content: center;
  padding: 20px 0;
  margin: 0 auto;
  max-width: 800px;
}

.project-card {
  background: #fff;
  border-radius: 10px;
  padding: 1.1rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  width: 100%;
  max-width: 800px;
  margin: 0;
}

/* 모바일 반응형 - 프로젝트 카드 */
@media (max-width: 768px) {
  .project-grid {
    max-width: 100%;
    padding: 10px 15px;
  }

  .project-card {
    max-width: 100%;
  }
}

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

.project-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.7rem;
}

.project-icon i {
  font-size: 1.8rem;
  color: white;
}

.project-icon-text {
  color: white;
  font-weight: bold;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

.project-content h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #333;
  margin-bottom: 0.3rem;
}

.project-content h4 {
  font-size: 0.98rem;
  color: #1976d2;
  margin-bottom: 0.5rem;
}

.project-content p {
  font-size: 0.95rem;
  color: #666;
  line-height: 1.4;
}

.contact-button-container {
  text-align: center;
  margin: 20px 0;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.contact-button {
  display: inline-block;
  padding: 15px 30px;
  background-color: #1976d2;
  color: white;
  text-decoration: none;
  border-radius: 30px;
  font-weight: bold;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.contact-button:hover {
  background-color: #1565c0;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* 반응형 스타일 */
@media screen and (max-width: 768px) {
  .service-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media screen and (max-width: 480px) {
  .service-grid {
    grid-template-columns: 1fr;
  }
}

.system-showcase {
  margin: 10px 0;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}
.showcase-image {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 5px;
  background: #f8f9fa;
}
.showcase-image img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  display: block;
}

/* 첫 번째 항목 외 모든 항목 숨기기 */
.project-grid .project-card:not(:first-child) {
  display: none;
}

/* 모바일 반응형 */
@media (max-width: 768px) {
  .system-showcase {
    max-width: 100%;
    margin: 20px 0;
    padding: 0 15px;
  }
}

.sw {
  .project-icon {
    background: #388e3c;
  }

  .project-content h4 {
    color: #388e3c;
  }
  .system-showcase {
    margin: 40px 0;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
  }
  .showcase-image {
    width: 100%;
    height: 675px;
    overflow: hidden;
    border-radius: 8px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
  }

  .showcase-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    object-position: center;
  }
}

.hw {
  .project-icon {
    background: #1976d2;
  }

  .showcase-image {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 5px;
    background: #f8f9fa;
  }

  .showcase-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    display: block;
  }
  .system-showcase {
    margin: 10px 0;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
  }
  .project-content h4 {
    color: #1976d2;
  }
}

.system {
  .project-icon {
    background: #f35d26;
  }

  .project-content h4 {
    color: #f35d26;
  }

  .system-showcase {
    margin: 40px 0;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
  }

  .showcase-image {
    width: 100%;
    height: 675px;
    overflow: hidden;
    border-radius: 8px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
  }
  .showcase-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    object-position: center;
  }
}
