/* ===== Responsive Table Component CSS ===== */

/* CSS Variables */
:root{
  --table-bg: #ffffff; 
  --table-fg: #111827; 
  --table-muted: #6b7280; 
  --table-line: #e5e7eb;
  --table-head: #0b2d84; 
  --table-accent: #0b21ec; 
  --table-radius: 12px;
}

/* ===== Toolbar ===== */
.table-toolbar {
  display: flex;
  gap: 10px;
  justify-content: end;
  align-items: center;
  margin: 10px 0 12px;
}

.btn-inquiry {
  padding: 6px 6px;
  border-radius: 6px;
  border: 0;
  background: #fff;
  color: #000;
  font-weight: 600;
  cursor: pointer;
  transition: filter .2s ease;
}

.btn-inquiry:hover {
  filter: brightness(1.08);
}

.sel-count {
  color: var(--table-muted);
  font-size: 13px;
}

/* ========= Desktop Table ========= */
.responsive-table-wrapper {
  background: var(--table-bg);
  border: 1px solid var(--table-line);
  border-radius: var(--table-radius);
  overflow: hidden;
}

.responsive-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
}

.responsive-table thead th {

  background:#0b21ec;
  color: #fff;
  text-align: center;
  padding: 14px 12px;
  font-weight: 500;
  font-size: 1rem;
  border-bottom: 1px solid rgba(0,0,0,.08);
  white-space: nowrap;
}

.responsive-table th:first-child, 
.responsive-table td:first-child {
  width: 68px;
  text-align: center;
}

.responsive-table td, 
.responsive-table th {
  padding: 12px;
  border-bottom: 1px solid var(--table-line);
  vertical-align: middle;
  text-align: center;
}

.responsive-table tbody tr {
  cursor: pointer;
}

.responsive-table tbody tr:hover {
  background: #f9fafb;
}

.responsive-table tbody tr.is-selected {
  background: #eff6ff;
}

.table-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 13px;
}

.table-pill input {
  width: 16px;
  height: 16px;
  accent-color: #2563eb;
}

/* ========= Mobile Cards ========= */
.table-cards {
  display: none;
}

.table-card {
  background: var(--table-bg);
  border: 1px solid var(--table-line);
  border-radius: 12px;
  overflow: hidden;
  margin: 10px 0;
  box-shadow: 0 1px 6px rgba(0,0,0,.06);
  transition: box-shadow .2s ease, border-color .2s ease;
}

.table-card.is-selected {
  border-color: #2563eb;
  box-shadow: 0 0 0 2px rgba(37,99,235,.15);
}

.table-card-click {
  display: block;
  text-decoration: none;
  color: inherit;
}

.table-card-head {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #0b21ec;
  color: #fff;
  padding: 12px 14px;
}

.table-card-title {
  font-weight: 800;
}

.table-card-check {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.table-card-check input {
  width: 18px;
  height: 18px;
  accent-color: #2563eb;
}

.table-card-summary {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
  padding: 10px 14px;
  background: #f9fbff;
  border-top: 1px solid var(--table-line);
}

.table-chip {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  border: 1px solid var(--table-line);
  padding: 6px 8px;
  border-radius: 999px;
  background: var(--table-bg);
  font-size: 13px;
}

.table-chip .k {
  color: var(--table-muted);
}

.table-chip .v {
  font-weight: 700;
}

.table-card-body {
  border-top: 1px dashed var(--table-line);
  padding: 0 14px;
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s ease;
}

.table-card.expanded .table-card-body {
  max-height: 600px;
}

.table-kv {
  display: flex;
  gap: 8px;
  padding: 10px 0;
}

.table-kv .k {
  min-width: 96px;
  color: var(--table-muted);
}

.table-kv .v {
  font-weight: 600;
}

.table-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  border-top: 1px solid var(--table-line);
  background: var(--table-bg);
}

.table-exp-icon {
  font-size: 12px;
  color: var(--table-muted);
}

/* Responsive Visibility Rules */
@media (max-width: 768px) {
  .responsive-table-wrapper {
    display: none;
  }
  
  .table-cards {
    display: block;
  }
}

.inner_con {
    margin-top: 40px;
}
.product-header {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: white;
    padding: 60px 0;
    margin-bottom: 40px;
    text-align: center;
}

.product-header h1 {
    font-size: 2.5em;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin: 0;
}

.product-intro {
    background: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin-bottom: 40px;
    display: grid;
    gap: 30px;
    align-items: flex-start;
    flex-wrap: wrap;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));

}
.product-image {
  /* 기존: flex: 0 0 490px;  → 끝까지 490px을 고집해서 텍스트가 찌그러짐 */
  flex: 1 1 460px;    /* 바꿈: 조금 줄어들 여지 + 최소폭 기준 */
  min-width: 420px;   /* 이미지 칼럼 최소 폭(권장 420~480px) */
}

.product-summary {
  flex: 1 1 460px;    /* 텍스트 칼럼도 최소 폭을 둠 */
  min-width: 420px;   /* 이보다 좁아지면 아래로 내려감(스택 전환) */
}

/* 옵션: 1100px 이하에서 가독성을 더 보장하고 싶다면 */
@media (max-width: 1100px) {
  .product-intro { gap: 24px; }     /* 간격 약간 축소 */
  .product-summary { max-width: 720px; } /* 너무 긴 한 줄 폭 방지(선택) */
}
@media (max-width: 1100px){
  .product-intro{
    justify-content: center; /* 한 줄에 아이템 1개일 때 그 아이템을 중앙으로 */
    gap: 24px;                /* 여백 조금 줄여 깔끔하게 (선택) */
  }
/* 중간 크기 이하에서 세로 스택 전환 */
@media (max-width: 1100px) {
  .product-intro {
    flex-direction: column;   /* 세로 정렬 */
    align-items: center;      /* 중앙 정렬 */
    text-align: left;       /* 텍스트도 중앙 */
    gap: 20px;
  }


  .product-image,
  .product-summary {
    flex: 0 0 auto;
    width: 100%;
    max-width: 720px;  /* 너무 넓어지지 않게 제한 */
    min-width: 0;      /* 고정폭 강제 해제 */
    margin: 0 auto;
  }
}
  /* ② 각 칼럼(이미지/텍스트)의 가로폭을 적당히 제한 + 가운데 정렬 */
  .product-image,
  .product-summary{
    /* 스택 상태에서는 칼럼 폭을 너무 길지 않게 제한하고 중앙 배치 */
    width: min(720px, 100%);   /* 640~760px 범위 권장, 필요시 조정 */
    max-width: 720px;
    margin-inline: auto;       /* 좌우 자동 여백 → 중앙 정렬 */
    min-width: 0;              /* flex-basis/최소폭 강제 해제용 안전장치 */
    flex-basis: auto;          /* 스택 상태에서 고정 폭 영향 줄임 */
  }
}
.product-image {
    flex: 0 0 490px;
}

.product-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.product-placeholder {
    width: 250px;
    height: 180px;
    background: #e0e0e0;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    font-size: 14px;
}

.product-summary {
    flex: 1;
}

.product-summary h2 {
    color: #000000;
    margin-bottom: 15px;
}

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

.feature-card {
    background: white;
    border-radius: 16px;
    padding: 40px;
    margin-bottom: 32px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    border: 1px solid #e5e7eb;
}

.feature-card h3 {
color: #111;
    font-size: 1.75rem;
    font-weight: 700;
    margin: 0 0 24px;
    padding-bottom: 12px;
    border-bottom: 3px solid #0b21ec;
    display: inline-block;
    width: 100%;
}

.feature-card ul {
    list-style: none;
    padding: 0;
}

.feature-card li {
    padding: 8px 0;
    padding-left: 25px;
    position: relative;
}

.feature-card li:before {
    content: "▶";
    position: absolute;
    left: 0;
    color: #0b21ec;
    font-weight: bold;
}

.description-section {
    background: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin-bottom: 40px;
}

.description-section h2 {
    color: #000000;
    margin-bottom: 20px;
    font-size: 1.8em;
    text-align: center;
}

.description-text {
    text-align: justify;
    line-height: 1.8;
    color: #555;
}

.highlight {
    background: linear-gradient(45deg, #f3f4f6, #e5e7eb);
    padding: 2px 6px;
    border-radius: 3px;
    font-weight: 600;
}

@media (max-width: 768px) {
    .product-header h1 {
        font-size: 1.8em;
    }
    
    .product-intro {
        flex-direction: column;
        padding: 20px;
    }
    
    .product-image {
        flex: 0 0 auto;
        width: 100%;
        max-width: 490px;
        margin: 0 auto;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .feature-card, .description-section {
        padding: 20px;
    }
}

   .sub-container {
  margin-top: 32px;
 }

  /* Sub Page Common Styles - 서브페이지 공통 스타일 */
  .sub-hero {
    background: linear-gradient(135deg, #0b21ec 0%, #0a1bd8 100%);
    color: white;
    padding: 80px 0 60px;
    margin-bottom: 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
  }

  .sub-hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: -50%;
    right: -50%;
    bottom: 0;
    background: repeating-linear-gradient(
      45deg,
      transparent,
      transparent 10px,
      rgba(255,255,255,0.03) 10px,
      rgba(255,255,255,0.03) 20px
    );
    animation: slidePattern 20s linear infinite;
  }

  @keyframes slidePattern {
    0% { transform: translateX(0); }
    100% { transform: translateX(20px); }
  }

  .sub-hero h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    margin: 0 0 16px;
    letter-spacing: -0.02em;
    position: relative;
    z-index: 1;
  }

  .sub-hero .subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    opacity: 0.95;
    font-weight: 400;
    position: relative;
    z-index: 1;
  }

  .sub-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 28px;
    margin-top: 32px;
  }

  .sub-section {
    background: white;
    border-radius: 16px;
    padding: 40px;
    margin-bottom: 32px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    border: 1px solid #e5e7eb;
    animation: fadeUpSection 0.6s ease-out;
  }

  @keyframes fadeUpSection {
    from {
      opacity: 0;
      transform: translateY(20px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  .sub-section h2 {
    color: #111;
    font-size: 1.75rem;
    font-weight: 700;
    margin: 0 0 24px;
    padding-bottom: 12px;
    border-bottom: 3px solid #0b21ec;
    display: inline-block;
    width: 100%;
  }

  .sub-section h3 {
    color: #111;
    font-size: 1.25rem;
    font-weight: 600;
    margin: 32px 0 16px;
  }

  .sub-content {
    line-height: 1.8;
    color: #4b5563;
    font-size: 1rem;
  }

  .sub-content p {
    margin-bottom: 20px;
  }

  .sub-content strong {
    color: #111;
    font-weight: 600;
  }

  .sub-highlight-box {
    background: linear-gradient(135deg, #f0f4ff 0%, #e8edff 100%);
    border-left: 4px solid #0b21ec;
    padding: 20px 24px;
    margin: 24px 0;
    border-radius: 8px;
  }

  .sub-highlight-box p {
    margin: 0;
    color: #1e40af;
    font-weight: 500;
  }

  .sub-list {
    list-style: none;
    padding: 0;
    margin: 20px 0;
  }

  .sub-list li {
    position: relative;
    padding-left: 32px;
    margin-bottom: 16px;
    color: #4b5563;
    line-height: 1.7;
  }

  .sub-list li::before {
    content: "▶";
    position: absolute;
    left: 0;
    top: 0;
    color: #0b21ec;
    font-size: 0.75rem;
  }

  /* About Us Specific Styles */
  .company-intro {
    display: grid;
    grid-template-columns: 2fr 3fr;
    gap: 40px;
    align-items: center;
    margin-bottom: 40px;
  }

  .company-image-placeholder {

    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 500;

  }
.company-image-placeholder img {
  border-radius: 20px;
  width: 100%;
}
  .company-story {
    padding-left: 20px;
  }

  .founding-year {
    display: inline-block;
    background: #0b21ec;
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 1.125rem;
    margin-bottom: 16px;
  }

  .stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 24px;
    margin: 40px 0;
  }

  .stat-card {
    background: linear-gradient(135deg, #f9fafb 0%, #f3f4f6 100%);
    border-radius: 12px;
    padding: 24px;
    text-align: center;
    border: 1px solid #e5e7eb;
    transition: all 0.3s ease;
  }

  .stat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
  }

  .stat-number {
    font-size: 2.5rem;
    font-weight: 900;
    color: #0b21ec;
    display: block;
    line-height: 1;
  }

  .stat-label {
    color: #4b5563;
    font-weight: 600;
    margin-top: 8px;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
  }

  .values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin: 32px 0;
  }

  .value-card {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 28px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
  }


  .value-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(11, 33, 236, 0.15);
  }

  .value-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, #0b21ec 0%, #0a1bd8 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
    font-size: 24px;
    font-weight: 700;
  }

  .value-card h3 {
    color: #111;
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0 0 12px;
  }

  .value-card p {
    color: #6b7280;
    line-height: 1.6;
    margin: 0;
  }

  .team-section {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-radius: 16px;
    padding: 40px;
    margin: 40px 0;
  }

  .team-image-placeholder {
    width: 100%;
    height: 280px;
    background: linear-gradient(135deg, #e2e8f0 0%, #cbd5e1 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #64748b;
    font-weight: 500;
    border: 2px dashed #94a3b8;
    margin-bottom: 24px;
  }

  .timeline {
    position: relative;
    padding: 20px 0;
  }

  .timeline::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #e5e7eb;
    transform: translateX(-50%);
  }

  .timeline-item {
    position: relative;
    width: 50%;
    padding: 20px;
    box-sizing: border-box;
  }

  .timeline-item:nth-child(odd) {
    left: 0;
    text-align: right;
    padding-right: 40px;
  }

  .timeline-item:nth-child(even) {
    left: 50%;
    text-align: left;
    padding-left: 40px;
  }

  .timeline-content {
    background: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    border: 1px solid #e5e7eb;
    position: relative;
  }

  .timeline-year {
    background: #0b21ec;
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.875rem;
    display: inline-block;
    margin-bottom: 12px;
  }

  .timeline-item::before {
    content: "";
    position: absolute;
    width: 12px;
    height: 12px;
    background: #0b21ec;
    border-radius: 50%;
    top: 30px;
  }

  .timeline-item:nth-child(odd)::before {
    right: -6px;
  }

  .timeline-item:nth-child(even)::before {
    left: -6px;
  }

  /* Contact CTA Section */
  .sub-contact-cta {
    background: linear-gradient(135deg, #f9fafb 0%, #f3f4f6 100%);
    border-radius: 16px;
    padding: 32px;
    margin-top: 40px;
    text-align: center;
  }

  .sub-contact-cta h3 {
    color: #111;
    margin: 0 0 12px;
    font-size: 1.5rem;
  }

  .sub-contact-cta p {
    color: #6b7280;
    margin-bottom: 20px;
  }

  .sub-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: #0b21ec;
    color: white;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(11, 33, 236, 0.2);
  }

  .sub-cta-btn:hover {
    background: #0a1bd8;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(11, 33, 236, 0.3);
  }

  /* Responsive Styles */
  @media (max-width: 968px) {
    .company-intro {
      grid-template-columns: 1fr;
      text-align: left;
    }

    .company-story {
      padding-left: 0;
    }

    .timeline::before {
      left: 30px;
    }

    .timeline-item {
      width: 100%;
      left: 0 !important;
      text-align: left !important;
      padding-left: 60px !important;
      padding-right: 20px !important;
    }

    .timeline-item::before {
      left: 24px !important;
    }
  }

  @media (max-width: 768px) {
    .sub-hero {
      padding: 60px 20px 40px;
    }

    .sub-section,
    .team-section {
      padding: 32px 32px;
    }

    .stats-grid {
      grid-template-columns: repeat(2, 1fr);
    }

    .values-grid {
      grid-template-columns: 1fr;
    }

    .sub-contact-cta {
      padding: 24px 20px;
    }
  }

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

    .stat-number {
      font-size: 2rem;
    }
  }

      .sub-table {
        width: 100%;
        border-collapse: separate;
        border-spacing: 0;
        margin: 0px 0 50px;
        background: #fff;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
        border-radius: 8px;
        overflow: hidden;
    }
    .sub-table thead th {
        background: #0b21ec;
        color: #fff;
        text-align: center;
        padding: 14px 12px;
        font-weight: 500;
        font-size: 1rem;
        border-bottom: 1px solid rgba(0, 0, 0, .08);
        white-space: nowrap;
        
    }
    .sub-table td, .sub-table th {
        padding: 12px;
        border-bottom: 1px solid var(--table-line);
        vertical-align: middle;
        text-align: center;
    }
    .sub-table tbody td:first-child {
      background: #f9fafb;
      font-weight: 600;
    }
    .sub-table-title {
      color: #111;
      font-size: 1.75rem;
      font-weight: 700;
      margin: 24px 0 24px;
      padding-bottom: 12px;
      border-bottom: 3px solid #0b21ec;
      display: inline-block;
      width: 100%;
    }