/****************************************/

/* 회사 소개: 공통 */

/****************************************/
.main__about {
  width: 100%;
  padding: 50px 5%;
  box-sizing: border-box;
}

.title__about {
  position: relative;
  width: 100%;
  height: 300px;
  margin-bottom: 45px;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  padding: 60px;
}

.text__title__about-en {

  font-size: 16px;
  color: #113873;
  text-align: left;
  margin-bottom: 50px;
}

.text__title__about-ko {
  font-size: 40px;
  font-weight: bold;
  padding: 0;
  margin: 0 0 20px 0;
  color: #113873;
  text-align: left;
}

#greeting {
  color: #ffffff;
}

.hr__about-1 {
  margin: 40px 0;
  border-color: #ffffff;
}

.box_text-subtitle__about {
  margin: 110px 0;
}

.box_text-subtitle__history {
  margin-top: 110px;
}

.text__subtitle__about-en {
  /* font-size: 20px;
  color: #0076D8;
  text-align: center;*/
  color: #0066cc;
  font-size: 32px;
  text-align: center;
  font-weight: 400;
  margin-bottom: 4px;
}

.box_text-subtitle__history p {
  font-size: 20px;
  font-weight: 300;
  text-align: center;
  margin: 0 0 100px 0;
}

.text__subtitle-wrapper {

  display: none;
  max-width: 1200px;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  background: #fff;
  padding: 60px;
  margin: 0 auto;
}

.text__subtitle-wrapper:hover {
  transform: translateY(-5px);
  transition: transform 0.3s ease;
}

.text__subtitle-wrapper:hover .text__subtitle__about-ko {
  color: #0066cc;
}


.text__subtitle__about-ko {
  font-size: 18px;
  color: #0f0f0f;
  text-align: center;
  font-weight: 300;
  width: 100%;
}

/****************************************/

/* 회사 소개: 인사말 */

/****************************************/

#title__about-img {
  background-image: linear-gradient(to right, rgba(240,
        240,
        240,
        0), rgba(240, 240, 240, 0)), url('./images/about/welcome.jpeg');
}

.icon-quote {
  width: 40px;
  color: #113873;
}

#quote-reverse {
  transform: scaleX(-1);
}


.section-about {
  margin: 60px 0;
}

#section-greeting {
  display: flex;
  flex-direction: row;
}

.ceo-message {
  font-size: 32px;
  text-align: center;
  margin: 60px 0 120px 0;
  font-weight: 400;
}

.ceo-message span {
  color: #0066cc;
  font-weight: 500;
}

.ceo-message p {
  font-size: 20px;
  font-weight: 300;
}

.about-greeting {

  width: 100%;
  background-color: #f6f6f6;
  display: flex;
  flex-direction: column;
  gap: 30px;
  padding: 60px 40px;
  justify-content: space-between;
}

.img_company {
  width: 100%;
}

.about-greeting__title {
  transition: all 0.3s ease;
}

.about-greeting__title:hover {
  transform: translateY(-5px);
  color: #0066cc;
}

.about-greeting__title {
  font-size: 22px;
  width: 100%;
  line-height: 1.8;
  height: 100%;
  font-family: 'Nanum Myeongjo', serif;
}

.logo-wrapper_about {
  display: flex;
  justify-content: right;
  width: 100%;

  img {
    width: 250px;
  }
}

.container__about-desc {
  color: #333;
  font-weight: 300;
  padding: 60px 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: #EBF6FD;
  gap: 40px;
}

.hr__about {
  color: #e9e6e6;
  margin: 40px 0;
}

.about-desc-lg {
  color: #333;
  word-break: keep-all;
  /* 단어 단위 줄바꿈 */
  overflow-wrap: break-word;
  /* 너무 긴 단어는 줄바꿈 */
  font-size: 20px;
  line-height: 1.8;
  font-weight: 500;
}

.about-desc-lg:hover,
.about-desc:hover {
  color: #0066cc;
  transform: translateY(-5px);
  transition: transform 0.3s ease;
}

.about-desc {
  word-break: keep-all;
  /* 단어 단위 줄바꿈 */
  overflow-wrap: break-word;
  /* 너무 긴 단어는 줄바꿈 */
  font-size: 18px;
  line-height: 1.8;
  font-weight: 300;
  width: 100%;
}

/* 개요 */
.index-container {
  max-width: 100%;
  margin: 150px 0 100px 0;
  border-radius: 8px;
  overflow: hidden;
}

.header-table {
  padding: 20px 0px;
  position: relative;
}

.header-table h1 {
  margin: 0;
  font-size: 24px;
  font-weight: 600;
  display: flex;
  align-items: center;
}

.header-table h1:before {
  content: "";
  display: inline-block;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  margin-right: 12px;
  border: 5px #59647A solid;
}

.overview-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  border-top: 2px solid #002b5c;
}

.overview-table tr {
  border-bottom: 1px solid #eaeaea;
}

.overview-table th {
  padding: 10px 15px;
  background-color: #f8f8f8;
  text-align: center;
  font-weight: 600;
  color: #333;
  width: 15%;
}

.overview-table td {
  padding: 10px 15px;
  color: rgb(51, 51, 51);
  width: 35%;
}

@media (max-width: 768px) {

  .overview-table th,
  .overview-table td {
    display: block;
    width: 100%;
  }

  .overview-table th {
    text-align: left;
    padding: 10px 20px;
  }


}



/****************************************/

/* 회사 소개: 연혁 */

/****************************************/
#main-history {
  background: #EBF6FD;
}

#title__history-img {
  background-image: linear-gradient(to right, rgba(255, 255, 255, 0.9), rgba(240, 240, 240, 0)),
    url('./images/about/history.jpg');
}

.hr__domain {
  margin: 100px 0;
}


.logo-wrapper_history {
  display: flex;
  width: 100%;
  justify-content: center;
  margin-bottom: 20px;

  img {
    width: 200px;
  }
}

.img_company2 {
  width: 100%;
  height: 500px;
  margin-bottom: 50px;
}



/* 표 */

.timeline-container {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: auto;
  padding: 60px 0;
}

.timeline-line {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 1px;
  background-color: #e9e7e7;
  transform: translateX(-50%);
  z-index: 0;
}

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

.timeline-item.left {
  left: 0;
  text-align: right;
}

.timeline-item.right {
  left: 50%;
  text-align: left;
}

.timeline-item .dot {
  position: absolute;
  top: 50%;
  width: 14px;
  height: 14px;
  border: 3px solid #448aff;
  background-color: white;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
}

.timeline-item.left .dot {
  right: -13px;
  /* 중앙선 기준으로 닷 위치 */
}

.timeline-item.right .dot {
  left: 0px;
}

.timeline-item .content {
  padding: 20px;
  border-radius: 8px;
  font-size: 15px;
  color: #0f0f0f;
  font-weight: 400;

  p {
    margin-bottom: 20px;
  }

  img {
    height: 180px;
  }
}

.timeline-item .content:hover {
  color: #0066cc;
  transform: translateY(-20px);
  transition: transform 0.3s ease;
}

/* 애니메이션 */
/* 기본 상태 */
.hidden {
  opacity: 0;
  transform: translateX(0);
  transition: all 0.8s ease-out;
}

.slide-left {
  transform: translateX(-100px);
}

.slide-right {
  transform: translateX(100px);
}

/* 나타나는 상태 */
.show {
  opacity: 1;
  transform: translateX(0);
}

/****************************************/

/* 회사 소개: 비전 */

/****************************************/

#title__vision-img {
  background-image: url('./images/about/vision.jpg');
}

.vision-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  position: relative;
}

.vision-item {
  background-color: #4b7bf5;
  color: white;
  padding: 10%;
  border-radius: 16px;
  position: relative;
  overflow: hidden;
  min-height: 200px;
  display: flex;
  align-items: center;
}

.vision-item:hover {
  background: #113873;
  transform: translateY(-5px);
  transition: transform 0.3s ease;
}

.vision-item p {
  font-size: 18px;
  line-height: 32px;
  position: relative;
  z-index: 2;
}

.vision-item .number {
  position: absolute;
  right: 20px;
  bottom: 10px;
  font-size: 120px;
  opacity: 0.2;
  font-weight: bold;
  color: rgba(255, 255, 255, 0.5);
}

.vision-divider {
  grid-column: 1 / -1;
  color: white;
  padding: 80px 40px;
  border-radius: 16px;
  text-align: center;
  background: linear-gradient(to right, #5AA11E 10%, #5876BF 100%);
}

.vision-divider:hover {
  background: linear-gradient(to right, #5876BF 10%, #5AA11E 100%);
  transform: translateY(-5px);
  transition: transform 0.3s ease;
}

.vision-divider p {
  font-size: 30px;
  font-weight: 500;
}


/* 경영이념 */
#title__philosophy-img {
  background-image: url('./images/about/philosophy.jpg');
}


.philosophy-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
}

.philosophy-title {
  text-align: center;
  color: #4b7bf5;
  font-size: 24px;
  margin-bottom: 16px;
}

.philosophy-subtitle {
  text-align: center;
  font-size: 20px;
  color: #333;
  margin-bottom: 48px;
}

.card-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.philosophy-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

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

.card-image {
  width: 100%;
  height: 200px;
  overflow: hidden;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.philosophy-card:hover .card-image img {
  transform: scale(1.05);
}

.card-content {
  padding: 24px;
}

.card-content h3 {
  font-size: 18px;
  color: #333;
  margin-bottom: 12px;
}

.card-content p {
  font-size: 14px;
  color: #666;
  line-height: 1.6;
}



/* 공통 모바일 메뉴 스타일 (태블릿 & 모바일) */
@media (max-width: 1279px) {
  #section-greeting {
    display: flex;
    flex-direction: column;
  }

  .about-greeting__title {
    width: 100%;
  }

  .title__about {
    padding: 5%;
  }

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

  .icon-quote {
    width: 40px;
  }

  .dropdown-menu li a {
    width: 100%;
  }
}

/* 태블릿 전용 스타일 */
@media (max-width: 1279px) and (min-width: 769px) {}

/* 모바일 전용 스타일 */
@media (max-width: 768px) {

  /* 공통 */
  .text__title__about-en {
    font-size: 16px;
    margin-bottom: 28px;
  }


  .text__title__about-ko {
    font-size: 24px;
  }

  .ceo-message {
    font-size: 24px;
  }

  .text__subtitle__about-ko {
    font-size: 20px;
  }

  .text__subtitle__about-en {
    font-size: 24px;
  }

  .philosophy-section {
    padding: 40px 16px;
  }

  .philosophy-subtitle {
    font-size: 18px;
    margin-bottom: 32px;
  }

  .card-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .card-image {
    height: 180px;
  }

  .card-content {
    padding: 20px;
  }

  .title__about {
    height: 200px;
  }

  .about-greeting__title {
    font-size: 20px;
    line-height: 1.8;
    padding: 40px;
  }

  .container__about-desc {
    width: 100%;
    padding: 40px;
  }

  .about-desc {
    font-size: 14px;
    text-align: justify;
    word-break: break-all;
    line-height: 1.8;
  }

  .about-desc-lg {
    font-size: 16px;
  }

  .section-about {
    margin: 80px 0;
  }

  .hr__about {
    margin: 60px 0;
  }

  .vision-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .vision-item {
    padding: 30px;
    min-height: 160px;
  }

  .vision-item p {
    font-size: 16px;
  }

  .vision-heading {
    font-size: 20px;
  }

  .vision-item .number {
    font-size: 80px;
  }

  .vision-divider {
    grid-column: 1 / -1;
    padding: 40px 40px;
    border-radius: 16px;
    text-align: center;
  }

  .vision-divider p {
    font-size: 16px;
  }

  .timeline-item .content {
    padding: 0;
  }

  .timeline-item .content p {
    font-size: 14px;
  }
}

/* 초소형 모바일 스타일 */
@media (max-width: 480px) {

  /* 공통 */
  .text__title__about-en {
    font-size: 16px;
    margin-bottom: 28px;
  }

  .text__title__about-ko {
    font-size: 20px;
  }

  .text__subtitle__about-ko {
    font-size: 16px;
  }

  .philosophy-subtitle {
    font-size: 16px;
  }

  .card-image {
    height: 160px;
  }

  .card-content h3 {
    font-size: 16px;
  }

  .card-content p {
    font-size: 13px;
  }

  .section-about {
    margin: 80px 0;
  }

  .hr__about {
    margin: 60px 0;
  }

  .vision-boxes {
    padding: 20px;
  }

  .vision-item {
    padding: 20px;
  }

  .vision-item p {
    font-size: 14px;
  }

  .vision-divider p {
    font-size: 16px;
  }
}