@charset "utf-8";

/* Global Subpage Layout */
.sub-content-wrapper {
    background-color: #f9fbfd; /* Very light cool gray/blue background */
    padding: 130px 0 90px;
    min-height: 800px;
    font-family: 'Pretendard', 'Noto Sans KR', sans-serif;
}

.sub-content-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Page Title (Hero Style) */
.sub-page-title {
    text-align: center;
    margin-bottom: 0px;
    position: relative;
    padding-bottom: 20px;
}

.sub-page-title h2 {
    font-size: 42px;
    font-weight: 800;
    color: #1a2b4b; /* Dark Navy for contrast */
    margin-bottom: 10px;
    letter-spacing: -1px;
    background: linear-gradient(135deg, #004097 0%, #00b4db 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.sub-page-title p {
    font-size: 18px;
    color: #666;
    margin-top: 10px;
    font-weight: 500;
}

.sub-page-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #004097, #00b4db);
    margin: 20px auto 0;
    border-radius: 2px;
}

/* Content Container */
.content-box {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
    padding: 60px;
    margin-bottom: 40px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.content-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 50px rgba(0, 64, 151, 0.08); /* Blue tinted shadow */
}

/* Typography & Elements */
.content-box h3 {
    font-size: 28px;
    color: #004097;
    margin-bottom: 25px;
    font-weight: 700;
    border-left: 5px solid #00b4db;
    padding-left: 15px;
    line-height: 1.2;
}

.content-box p {
    font-size: 16px;
    color: #444;
    line-height: 1.7;
    margin-bottom: 20px;
    word-break: auto-phrase;
}

.content-box ul {
    list-style: none;
    padding: 0;
    margin-bottom: 20px;
}

.content-box li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 10px;
    font-size: 16px;
    color: #555;
}

.content-box li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    color: #00b4db;
    font-weight: bold;
}

/* Image Styling */
.content-img {
    width: 100%;
    border-radius: 12px;
    margin-bottom: 30px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

/* Greeting Page Specifics */
.ceo-message {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    align-items: center;
}

.ceo-photo {
    flex: 0 0 350px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    background-color: #eee;
}

.ceo-photo img {
    width: 100%;
    display: block;
    transition: transform 0.5s ease;
}

.ceo-photo:hover img {
    transform: scale(1.05);
}

.ceo-text {
    flex: 1;
}

.quote-box {
    background: #f0f7ff;
    border-left: 4px solid #004097;
    padding: 30px;
    margin: 30px 0;
    border-radius: 0 12px 12px 0;
    font-size: 18px;
    font-weight: 500;
    color: #003060;
    position: relative;
    font-style: italic;
}

.quote-box::before {
    content: '"';
    position: absolute;
    top: -10px;
    left: 10px;
    font-size: 60px;
    color: #cce0ff;
    font-family: serif;
    z-index: 0;
}

.signature {
    text-align: right;
    margin-top: 40px;
    font-size: 20px;
    font-weight: 700;
    color: #333;
    font-family: 'Great Vibes', cursive; /* Assuming a handwriting font is available or fallback */
}


/* Responsive */
@media (max-width: 991px) {
    .sub-page-title h2 { font-size: 32px; }
    .content-box { padding: 30px; }
    .ceo-message { flex-direction: column; }
    .ceo-photo { flex: 0 0 auto; width: 100%; max-width: 400px; margin: 0 auto; }
}

/* History Timeline Style */
.history-wrap {
    position: relative;
    padding: 20px 0;
}

.history-wrap::before {
    content: '';
    position: absolute;
    left: 50%; /* Center line */
    top: 0;
    bottom: 0;
    width: 2px;
    background: #e0e0e0;
    transform: translateX(-50%);
}

.history-year-group {
    margin-bottom: 60px;
    position: relative;
}

.history-year-title {
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    z-index: 1;
}

.history-year-title span {
    display: inline-block;
    padding: 10px 30px;
    background: #004097;
    color: #fff;
    font-size: 24px;
    font-weight: 700;
    border-radius: 50px;
    box-shadow: 0 5px 15px rgba(0,64,151,0.2);
}

.history-item {
    display: flex;
    justify-content: center; /* Centered layout adjustment */
    margin-bottom: 40px;
    position: relative;
}

.history-item-content {
    background: #fff;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    width: 45%; /* Slightly less than half */
    position: relative;
    transition: transform 0.3s;
}

.history-item-content:hover {
    transform: translateY(-5px);
}

.history-item.left .history-item-content {
    margin-right: auto;
    margin-left: 0;
    text-align: right;
}

.history-item.right .history-item-content {
    margin-left: auto;
    margin-right: 0;
    text-align: left;
}

.history-year {
    font-size: 20px;
    font-weight: 800;
    color: #00b4db;
    margin-bottom: 10px;
    display: block;
}

.history-desc p {
    margin: 0;
    color: #555;
    line-height: 1.6;
}

.history-desc b {
    color: #333;
    display: block;
    margin-bottom: 5px;
}

/* Timeline Dot */
.history-item::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 30px;
    width: 16px;
    height: 16px;
    background: #fff;
    border: 4px solid #004097;
    border-radius: 50%;
    transform: translateX(-50%);
    box-shadow: 0 0 0 5px rgba(255,255,255,0.8);
    z-index: 1;
}

@media (max-width: 768px) {
    .history-wrap::before { left: 20px; }
    .history-item { flex-direction: column; padding-left: 50px; }
    .history-item-content { width: 100%; text-align: left !important; }
    .history-item::after { left: 20px; }
}

/* Policy Style */
.policy-box {
    margin-bottom: 50px;
}

.policy-list li {
    background: #fff;
    border: 1px solid #eee;
    padding: 20px;
    margin-bottom: 15px;
    border-radius: 10px;
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.policy-num {
    background: #004097;
    color: #fff;
    font-weight: 700;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    flex-shrink: 0;
}

.policy-text {
    flex: 1;
    font-size: 16px;
    color: #444;
}

.tab-nav {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.tab-nav a {
    padding: 5px 20px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 30px;
    color: #666;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s;
}

.tab-nav a.active {
    background: #004097;
    color: #fff;
    border-color: #004097;
    box-shadow: 0 5px 15px rgba(0,64,151,0.3);
}

.tab-content { display: none; }
.tab-content.active { display: block; }

/* Organization Style */
.org-content {
    text-align: center;
    padding: 40px 0;
}

.org-content img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

/* Location Style */
.location-wrap {
    display: flex;
    gap: 40px;
}

.location-map {
    flex: 2;
    min-height: 400px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.location-info {
    flex: 1;
}

.location-list li {
    background: #fff;
    padding: 25px;
    border-radius: 15px;
    margin-bottom: 20px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.03);
    border: 1px solid #f0f0f0;
}

.location-list-tit {
    font-size: 14px;
    color: #888;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 5px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.location-list-tit span { display: flex; align-items: center; gap: 5px; }
.location-list-tit i { font-size: 18px; color: #004097; }

.location-list dd {
    font-size: 18px;
    color: #333;
    font-weight: 600;
}

@media (max-width: 991px) {
    .location-wrap { flex-direction: column; }
    .location-map { min-height: 300px; }
}

/* ISO Page Style */
.iso-bx-top {
    display: flex;
    gap: 30px;
    margin-bottom: 30px;
    align-items: flex-start;
}

.iso-bx-top h3 {
    font-size: 24px;
    color: #004097;
    margin-bottom: 20px;
    font-weight: 700;
    flex: 1;
}
.iso-bx img{display:flex;text-align:center;align-items: center;justify-content: center;margin: 50px auto;}
.iso-bx-img {
    flex: 0 0 40%;
    max-width: 400px;
}

.iso-bx-img img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    margin:0 auto;
}

.iso-bx-top p {
    flex: 1;
    font-size: 16px;
    line-height: 1.8;
    color: #555;
}

.iso-need, .iso-effect {
    margin-top: 50px;
}
.iso-middle{
    display: flex;
    width: 40%;
    height: 50%;
    text-align:center;
    padding: 20px;
    border-radius: 0%;
    border: 4px solid #00b4db;
    color: #004097;
    background: #fff;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    margin: 30px auto;
}
.iso-middle p{
    margin: 0;
}
.certi-tit {
    font-size: 22px;
    font-weight: 700;
    color: #333;
    margin-bottom: 20px;
    border-left: 5px solid #004097;
    padding-left: 15px;
}

.iso-list ul {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin: 0;
}

.iso-list li {
    flex: 1 1 48%;
    background: #fdfdfd;
    border: 1px solid #eee;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 5px 10px rgba(0,0,0,0.02);
}

.iso-list-tit h3 {
    font-size: 18px;
    font-weight: 700;
    color: #00b4db;
    margin-bottom: 15px;
}

.iso-dot-list li {
    position: relative;
    padding-left: 15px;
    margin-bottom: 8px;
    text-align: left;
    font-size: 15px;
    color: #666;
    background: none;
    border: none;
    padding: 0 0 0 15px;
    box-shadow: none;
}

.iso-dot-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 6px;
    height: 6px;
    background: #004097;
    border-radius: 50%;
}

.iso-effect-wrap {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    align-items: flex-start;
}

.iso-effect-wrap span {
    background: #004097;
    color: #fff;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    flex-shrink: 0;
    font-weight: 700;
}

.iso-effect-wrap p {
    margin: 0;
    color: #555;
    font-size: 15px;
    line-height: 1.6;
}

.iso-img-bx {
    margin-top: 50px;    
}

.chg-img img {
    display: flex;
    max-width: 100%;
    border-radius: 10px;
    text-align: center;
    margin: 50px auto;
}

@media (max-width: 768px) {
    .iso-bx-top { flex-direction: column; }
    .iso-bx-img { margin-bottom: 20px; max-width: 100%; }
    .iso-list li { flex: 1 1 100%; }
}

/* Service Table */
.certi-table-wrap table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 40px;
    background: #fff;
}

.certi-table-wrap th {
    background: #f4f6f9;
    color: #333;
    font-weight: 700;
    padding: 15px;
    border: 1px solid #ddd;
}

.certi-table-wrap td {
    padding: 15px;
    border: 1px solid #ddd;
    color: #555;
    font-size: 14px;
    vertical-align: top;
}

.certi-table-wrap dl {
    display: flex;
    gap: 10px;
    margin: 0;
}

.certi-table-wrap dt {
    font-weight: 700;
    color: #004097;
    min-width: 30px;
}

.certi-table-wrap dd {
    margin: 0;
}

/* Sub Table Style */
.sub-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
    background: #fff;
    border-top: 2px solid #004097;
}

.sub-table th {
    background: #f4f7fc;
    color: #333;
    font-weight: 700;
    padding: 15px 10px;
    border-bottom: 1px solid #ddd;
    border-left: 1px solid #ddd;
    text-align: center;
}

.sub-table th:first-child {
    border-left: none;
}

.sub-table td {
    padding: 15px 10px;
    border-bottom: 1px solid #ddd;
    border-left: 1px solid #ddd;
    color: #555;
    font-size: 14px;
    vertical-align: middle;
    text-align: center;
}

.sub-table td:first-child {
    border-left: none;
}

.sub-table td p {
    margin: 0;
    line-height: 1.5;
}

.iso-caption {
    font-size: 13px;
    color: #888;
    margin-top: 10px;
    line-height: 1.6;
}

.inter-tit {
    margin-bottom: 20px;
}

.inter-tit .sub-caption {
    font-size: 14px;
    color: #666;
    margin-top: 5px;
}

@media (max-width: 768px) {
    .sub-table th, .sub-table td {
        padding: 10px 5px;
        font-size: 13px;
    }
}

/* ****************** TRAINING :: �������ӻ�� ********************** */
.inter-top h3 {
  font-size: 25px;
  line-height: 32px;
  letter-spacing: -0.75px;
  color: #094492;
  font-weight: 400;
  padding-bottom: 20px;
  margin-bottom: 20px;
  border-bottom: 1px solid #cfcfcf;
}

.inter-top p {
  font-size: 18px;
  line-height: 40px;
  letter-spacing: -0.75px;
  color: #333333;
}

.inter-bx {
  margin-top: 70px;
}

.inter-tit {
  margin-bottom: 20px;
}

.inter-tit span {
  display: table-cell;
  vertical-align: top;
  font-size: 20px;
  line-height: 40px;
  letter-spacing: -0.25px;
  color: #104a95;
  font-weight: 500;
  width: 40px;
}

.inter-tit h3 {
  display: table-cell;
  vertical-align: top;
  font-size: 22px;
  line-height: 40px;
  letter-spacing: -0.75px;
  color: #111111;
  font-weight: 400;
}

.inter-list {
  padding: 0 4%;
}

.inter-list li {
  position: relative;
  font-size: 18px;
  line-height: 40px;
  letter-spacing: -0.75px;
  color: #333333;
  font-weight: 300;
  padding-left: 20px;
}

.inter-list li::before {
  content: '';
  position: absolute;
  width: 10px;
  height: 2px;
  background-color: #999999;
  left: 0;
  top: 17px;
}

.inter-process .inter-process-wrap {
  display: table;
  width: 510px;
  margin: 20px 0;
}

.inter-process .inter-process-wrap .bx {
  display: table-cell;
  vertical-align: middle;
  width: 43%;
  padding: 20px 0;
  background-color: #e2e9f2;
  text-align: center;
}

.inter-process .inter-process-wrap .bx p {
  font-size: 15px;
  line-height: 23px;
  letter-spacing: -0.5px;
  color: #333333;
  font-weight: 500;
}

.inter-process .inter-process-wrap .bx p span {
  font-weight: 400;
}

.inter-process .inter-process-wrap .arrow {
  display: table-cell;
  vertical-align: middle;
  width: 14%;
  text-align: center;
}

.inter-num-list-wrap {
  display: table;
  width: 98%;
  border: 8px solid #f2f2f2;
  padding-right: 2%;
}

.inter-num-tit {
  display: table-cell;
  width: 21.25%;
  vertical-align: middle;
  text-align: center;
}

.inter-num-tit img {
  max-width: 100%;
}

.inter-num-list {
  display: table-cell;
  vertical-align: middle;
}

.inter-num-list dl {
  display: table;
  width: 100%;
  padding: 40px 0;
  border-top: 1px dashed #b2b2b2;
}

.inter-num-list dl:first-child {
  border-top: 0;
}

.inter-num-list dl dt {
  display: table-cell;
  width: 8%;
  vertical-align: top;
  font-size: 22px;
  line-height: 40px;
  letter-spacing: -0.25px;
  color: #b3b3b3;
  font-weight: 600;
}

.inter-num-list dl dd {
  display: table-cell;
  vertical-align: top;
  font-size: 18px;
  line-height: 33px;
  letter-spacing: -0.75px;
  color: #333333;
}

.inter-table .sub-table tbody th {
  color: #b3b3b3;
}

.inter-table .sub-table tbody td {
  line-height: 30px;
  /* letter-spacing: -0.75px; */
  color: #111111;
  padding: 20px 3%;
  font-weight: 400;
}

.inter-table .sub-table .inter-table-tit {
  text-align: center;
}


@media all and (max-width: 800px) {
  .inter-bx {
    margin-top: 35px;
  }

  .inter-top h3 {
    font-size: 18px;
    line-height: 25px;
    padding-bottom: 10px;
    margin-bottom: 10px;
  }

  .inter-top p {
    font-size: 13px;
    line-height: 23px;
  }

  .inter-tit {
    margin-bottom: 10px;
  }

  .inter-tit span {
    font-size: 15px;
    line-height: 30px;
    width: 25px;
  }

  .inter-tit h3 {
    font-size: 16px;
    line-height: 30px;
  }

  .inter-list li {
    font-size: 13px;
    line-height: 30px;
    padding-left: 10px;
  }

  .inter-list li::before {
    width: 5px;
    top: 14px;
  }

  .inter-process .inter-process-wrap {
    width: 100%;
  }

  .inter-process .inter-process-wrap .bx p {
    font-size: 12px;
    line-height: 20px;
  }

  .inter-num-list-wrap {
    display: block;
    width: 100%;
    padding-right: 0;
  }

  .inter-num-tit {
    display: block;
    width: 100%;
    padding: 10px 0;
  }

  .inter-num-list {
    display: block;
    padding: 0 3%;
  }

  .inter-num-list dl {
    padding: 20px 0;
  }

  .inter-num-list dl dt {
    font-size: 16px;
    line-height: 30px;
  }

  .inter-num-list dl dd {
    font-size: 13px;
    line-height: 25px;
  }

  .sub-table thead th {
    height: 40px;
    font-size: 13px;
    word-break: keep-all;
  }

  .sub-table tbody th,
  .sub-table td {
    font-size: 13px;
    line-height: 20px;
  }

  .inter-table .sub-table tbody td {
    line-height: 25px;
  }
}

