/* 메인 페이지와 동일한 헤더/푸터 스타일은 styles.css에서 공통으로 관리 */

.achievements {
  padding: 6rem 0;
  background: linear-gradient(
    135deg,
    #f8f9fa 0%,
    #e9ecef 100%
  ); /* 메인 페이지와 유사한 배경 */
}

a {
  text-decoration: none;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  overflow: hidden;
}

.section-header {
  margin-bottom: 4rem;
  text-align: center;
}

.title-badge {
  display: inline-flex;
  align-items: center;
  background: #007bff15; /* 메인 페이지의 파란색 계열 사용 */
  padding: 1rem 2.5rem;
  border-radius: 50px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.title-badge .dot {
  width: 12px;
  height: 12px;
  background: #007bff; /* 메인 컬러로 통일 */
  border-radius: 50%;
  margin-right: 1rem;
}

.title-badge h2 {
  color: #007bff;
  font-size: 1.8rem;
  font-weight: 600;
  margin: 0;
}

.timeline {
  position: relative;
  padding-left: 2rem;
  max-width: 900px;
  margin: 0 auto;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: #dee2e6;
}

.timeline-progress {
  position: absolute;
  left: 0;
  top: 0;
  width: 2px;
  background: linear-gradient(to bottom, #007bff, #00c2ff);
  transition: height 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  height: 0;
  z-index: 0;
  box-shadow: 0 0 8px rgba(0, 123, 255, 0.4);
}

.year-group {
  opacity: 0.5;
  transform: translateX(20px);
  transition: all 0.5s ease;
}

.year-group.active {
  opacity: 1;
  transform: translateX(0);
}

.year {
  font-size: 2rem;
  font-weight: 700;
  color: #888;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  margin-bottom: 1.5rem;
  position: relative;
}

.year::before {
  content: "";
  position: absolute;
  left: -3.25rem;
  top: 50%;
  width: 16px;
  height: 16px;
  background: #fff;
  border: 3px solid #dee2e6;
  border-radius: 50%;
  transform: translateY(-50%);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 200;
  transform: translateX(10px);
  
}

.year.active::before {
  border-color: #007bff;
  background: #fff;
  box-shadow: 0 0 0 8px rgba(0, 123, 255, 0.2);
  transform: translateY(-50%) scale(1.2);
}

.year.active {
  color: #007bff;
  transform: translateX(10px); 
}

.achievement-cards {
  display: grid;
  gap: 1rem;
}

.card {
  background: white;
  border-radius: 15px;
  padding: 1.2rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  display: flex;
  align-items: center;
  transition: all 0.3s ease;
  margin-bottom: 0.8rem;
  transition: all 0.5s ease;
}

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

.card-date {
  flex-shrink: 0;
  width: 80px;
  color: #007bff;
  font-weight: 600;
}

.card-content h3 {
  margin: 0 !important;
  font-size: 1.1rem;
  font-weight: 500;
  color: #333;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .timeline {
    padding-left: 1rem;
  }

  .year {
    font-size: 1.3rem;
    margin-bottom: 1rem;
  }

  .year::before {
    left: -2.05rem;
    width: 12px;
    height: 12px;
    border-width: 2px;
  }

  .timeline::before {
    left: 0;
    width: 1px;
  }

  .achievement-cards {
    margin-left: 0.5rem;
  }

  .card {
    flex-direction: column;
    align-items: flex-start;
    padding: 1rem;
    margin-bottom: 1rem;
    transform: none;
  }

  .card:hover {
    transform: translateX(5px);
  }

  .card-date {
    width: auto;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
  }

  .card-content h3 {
    font-size: 1rem !important;
    line-height: 1.4;
  }

  /* 전체 섹션 여백 조정 */
  .achievements {
    padding: 3rem 0;
  }

  .container {
    padding: 0 1rem;
  }

  .section-header {
    margin-bottom: 2rem;
  }

  .title-badge {
    padding: 0.8rem 1.5rem;
  }

  .title-badge h2 {
    font-size: 1.4rem;
  }

  .title-badge .dot {
    width: 8px;
    height: 8px;
    margin-right: 0.8rem;
  }
}

.patents {
  margin-top: 6rem;
}

.patents-table {
  background: white;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  margin-top: 2rem;
}

.patents-table table {
  width: 100%;
  border-collapse: collapse;
}

.patents-table th {
  background: #f8f9fa;
  padding: 1.2rem 1rem;
  font-weight: 600;
  color: #333;
  text-align: left;
  border-bottom: 2px solid #e9ecef;
}

.patents-table td {
  padding: 1rem;
  border-bottom: 1px solid #e9ecef;
  color: #666;
  font-size: 0.95rem;
}

.patents-table tr:hover {
  background: #f8f9fa;
}

.patents-table td:nth-child(3) {
  max-width: 400px;
  line-height: 1.5;
}

/* 반응형 테이블 */
@media (max-width: 1024px) {
  .patents-table {
    overflow-x: auto;
  }

  .patents-table table {
    min-width: 900px;
  }
}

/* 테이블 스크롤바 스타일링 */
.patents-table::-webkit-scrollbar {
  height: 6px;
}

.patents-table::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 3px;
}

.patents-table::-webkit-scrollbar-thumb {
  background: #007bff;
  border-radius: 3px;
}

.patents-table::-webkit-scrollbar-thumb:hover {
  background: #0056b3;
}

/* 표준화 실적 섹션 스타일 */
.standardization {
  margin-top: 6rem;
  padding-bottom: 4rem;
}

.standard-cards {
  margin-top: 3rem;
}

.standard-card {
  background: white;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  transition: all 0.3s ease;
  margin-bottom: 2rem;
  padding: 1rem;
}

.standard-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.card-category {
  padding: 1.5rem 2rem;
  border-bottom: 1px solid #f0f0f0;
}

.category-badge {
  display: inline-block;
  background: #4169e1;
  color: white;
  padding: 0.5rem 1.5rem;
  border-radius: 50px;
  font-weight: 500;
  font-size: 1rem;
}

.card-content {
  /* padding: 2rem; */
}

.card-content h3 {
  font-size: 1.5rem;
  color: #333;
  /* margin-bottom: 1rem; */
}

.card-content p {
  color: #666;
  /* line-height: 1.6; */
  /* margin-bottom: 2rem; */
}

.document-preview {
  background: #f8f9fa;
  border-radius: 12px;
  padding: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.preview-image {
  width: 200px;
  height: 150px;
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
}

.image-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #e9ecef;
  color: #adb5bd;
  font-size: 0.9rem;
}

.document-info {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.5rem;
}

.doc-type {
  font-weight: 600;
  color: #007bff;
}

.doc-date {
  color: #666;
}

/* 반응형 디자인 */
@media (max-width: 768px) {
  .patents-table table {
    min-width: auto;
  }

  .patents-table thead {
    display: none;
  }

  .patents-table tr {
    display: block;
    margin-bottom: 1rem;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    background: white;
  }

  .patents-table td {
    display: block;
    padding: 0.8rem 1rem;
    border: none;
    position: relative;
  }

  .patents-table td:not(:last-child) {
    border-bottom: 1px solid #f1f1f1;
  }

  /* 특허 실적 테이블 모바일 레이블 */
  .patents td:nth-child(1)::before {
    content: "No.: ";
    font-weight: 600;
  }
  .patents td:nth-child(2)::before {
    content: "분류: ";
    font-weight: 600;
  }
  .patents td:nth-child(3)::before {
    content: "특허명: ";
    font-weight: 600;
  }
  .patents td:nth-child(4)::before {
    content: "출원번호: ";
    font-weight: 600;
  }
  .patents td:nth-child(5)::before {
    content: "출원일: ";
    font-weight: 600;
  }
  .patents td:nth-child(6)::before {
    content: "등록번호: ";
    font-weight: 600;
  }
  .patents td:nth-child(7)::before {
    content: "등록일: ";
    font-weight: 600;
  }

  /* 기타 보유 실적 테이블 모바일 레이블 */
  .other-achievements td:nth-child(1)::before {
    content: "No.: ";
    font-weight: 600;
  }
  .other-achievements td:nth-child(2)::before {
    content: "사업명: ";
    font-weight: 600;
  }
  .other-achievements td:nth-child(3)::before {
    content: "레퍼런스: ";
    font-weight: 600;
  }

  /* 표준화 실적 카드 반응형 */
  .standard-card {
    padding: 1rem;
  }

  .standard-content {
    padding: 0.8rem;
  }

  .standard-content h3 {
    font-size: 1.2rem;
  }

  .document-preview {
    padding: 1rem;
    flex-direction: column;
  }

  .preview-image {
    width: 100%;
    height: 120px;
    margin-bottom: 1rem;
  }

  /* 전체 섹션 여백 조정 */
  .achievements {
    padding: 3rem 0;
  }

  .container {
    padding: 0 1rem;
  }

  .section-header {
    margin-bottom: 2rem;
  }

  .title-badge {
    padding: 0.8rem 1.5rem;
  }

  .title-badge h2 {
    font-size: 1.4rem;
  }
}

/* 표준화 실적 섹션을 위한 새로운 스타일 */

.standard-cards {
  padding: 1rem;
}

.standard-content {
  padding: 1rem;
}
.standard-content h3 {
  font-size: 1.5rem;
  color: #333;
}

.standard-content p {
  color: #666;
  line-height: 1.6;
  margin-bottom: 2rem;
}

/* 타임라인 특별 애니메이션 */
.timeline .year-group {
  opacity: 0;
  transform: translateX(-30px);
  transition: all 0.6s ease-out;
}

.timeline .year-group:nth-child(even) {
  transform: translateX(30px);
}

.is-visible .timeline .year-group {
  opacity: 1;
  transform: translateX(0);
}

/* 특허 테이블 애니메이션 */
.patents-table {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease-out;
}

.is-visible .patents-table {
  opacity: 1;
  transform: translateY(0);
}

/* 표준화 카드 애니메이션 */
.standard-card {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease-out;
}

.is-visible .standard-card:nth-child(1) {
  transition-delay: 0.2s;
}

.is-visible .standard-card:nth-child(2) {
  transition-delay: 0.4s;
}

/* 섹션 헤더 애니메이션 */
.section-header {
  opacity: 0;
  transform: translateY(-20px);
  transition: all 0.6s ease-out;
}

.is-visible .section-header {
  opacity: 1;
  transform: translateY(0);
}

/* 기존 CSS는 유지하고 푸터 스타일만 수정 */

.site-footer {
  background: #1a1a1a;
  padding: 4rem 0 2rem;
  color: #fff;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4rem;
  margin-bottom: 3rem;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-logo {
  width: 120px;
  height: auto;
}

.footer-brand h3 {
  color: #fff;
  font-size: 1rem;
  font-weight: normal;
  margin: 0;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  grid-column: 2 / 4;
}

.contact-us h4,
.quick-links h4 {
  color: #00c896;
  font-size: 1rem;
  margin: 0 0 1.5rem 0;
  font-weight: 500;
}

.contact-us p {
  color: #999;
  margin: 0.5rem 0;
  font-size: 0.9rem;
}

.quick-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.quick-links ul li {
  margin-bottom: 0.5rem;
}

.quick-links ul li a {
  color: #999;
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s ease;
}

.quick-links ul li a:hover {
  color: #00c896;
}

.copyright {
  border-top: 1px solid #333;
  padding-top: 2rem;
  text-align: center;
}

.copyright p {
  color: #666;
  font-size: 0.8rem;
  margin: 0;
}

/* 반응형 디자인 */
@media (max-width: 768px) {
  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-links {
    grid-column: auto;
    grid-template-columns: 1fr;
  }

  .footer-brand {
    align-items: center;
    text-align: center;
  }

  .contact-us,
  .quick-links {
    text-align: center;
  }
}

/* Font Awesome 아이콘 스타일 */
.fas {
  color: #00c896;
}
