/* 기본 색상 정의 */
.base-color {
  color: #1b3a98;
}

/* 회사소개 Hero 섹션 */
.introduce-hero {
  position: relative;
  width: 100%;
  height: 400px;
  overflow: hidden;
}

.introduce-image {
  width: 100%;
  height: 100%;
}

.introduce-image img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  object-position: center;
}

/* 페이지 타이틀 & 네비게이션 */
.page-title {
  padding: 80px 0;
  text-align: center;
  background: #f8f9fa;
  border-bottom: 1px solid #eee;
  padding-bottom: 35px;
}

.page-title h1 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #333;
  margin-bottom: 50px;
}

.page-navigation {
  width: 100%;
}

.page-navigation li {
  width: 140px; /* 고정 너비 설정 */
  text-align: center; /* 텍스트 중앙 정렬 */
}

.page-navigation ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.page-navigation a {
  color: #666;
  font-size: 1.1rem;
  font-weight: 500;
  text-decoration: none;
  padding: 5px 15px;
  white-space: nowrap;
  transition: all 0.3s ease;
  display: block; 
}

.page-navigation a:hover,
.page-navigation a.active {
  color: #00014d;
}

/* 반응형 스타일 */
@media (min-width: 1200px) {
  .page-navigation ul {
    gap: 3rem;
  }
}

@media (min-width: 992px) and (max-width: 1199px) {
  .page-navigation ul {
    gap: 1.5rem;
  }
}

@media (min-width: 768px) and (max-width: 991px) {
  .page-navigation ul {
    gap: 1rem;
  }
  
  .page-navigation a {
    font-size: 1rem;
  }
}

@media (min-width: 576px) and (max-width: 767px) {
  .page-navigation ul {
    gap: 1rem;
  }
  
  .page-navigation a {
    font-size: 0.9rem;
    padding: 5px 10px;
  }
}

@media (max-width: 575px) {
  .page-title h1 {
    font-size: 2rem;
    margin-bottom: 20px;
  }

  .page-navigation ul {
    gap: 0.5rem;
    padding: 0 10px;
  }
  
  .page-navigation a {
    font-size: 0.85rem;
    padding: 5px 8px;
  }
}

/* 인사말 섹션 */
.greeting {
  padding: 100px 0;
}

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

.greeting .company-title {
  color: var(--base-color);
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 50px;
  animation: fadeInUp 0.8s ease-out forwards;
}

.greeting-content {
  max-width: 800px;
  margin: 0 auto;
}

.greeting h2 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--base-color);
  margin-bottom: 20px;
  animation: fadeInUp 0.8s ease-out 0.2s forwards;
  opacity: 0;
}

.greeting .company-strategy {
  color: var(--base-color);
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 50px;
}
  
.greeting h3 {
  font-size: 1.5rem;
  font-weight: 500;
  color: #666;
  margin-bottom: 30px;
  animation: fadeInUp 0.8s ease-out 0.4s forwards;
  opacity: 0;
}

.greeting p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #666;
  margin-bottom: 20px;
  animation: fadeInUp 0.8s ease-out 0.6s forwards;
  opacity: 0;
}

.greeting .ceo-sign {
  text-align: right;
  margin-top: 50px;
  animation: fadeInUp 0.8s ease-out 0.8s forwards;
  opacity: 0;
}

.greeting .ceo-sign p {
  font-size: 1rem;
  margin-bottom: 5px;
  animation: none;
}

.greeting .ceo-sign h3 {
  font-size: 1.8rem;
  font-weight: 700;
  color: #333;
  margin: 0;
  animation: none;
}

.business-strategy {
  max-width: 800px;
  margin: 0 auto;
  animation: fadeInUp 0.8s ease-out 1s forwards;
  opacity: 0;
}

.business-strategy img {
  width: 100%;
  height: auto;
}

/* 반응형 스타일 */
@media (max-width: 768px) {
  .greeting .company-title {
    font-size: 2.5rem;
    margin-bottom: 30px;
  }

  .greeting h2 {
    font-size: 1.8rem;
  }

  .greeting h3 {
    font-size: 1.3rem;
  }

  .greeting p {
    font-size: 1rem;
  }

  .greeting .ceo-sign h3 {
    font-size: 1.5rem;
  }
}

@media (max-width: 576px) {
  .greeting {
    padding: 50px 0;
  }

  .greeting .company-title {
    font-size: 2rem;
    margin-bottom: 25px;
  }

  .greeting h2 {
    font-size: 1.5rem;
  }

  .greeting h3 {
    font-size: 1.2rem;
  }
}

/* 연혁 섹션 */
.history {
  padding: 80px 0;
}

.history-images img {
  width: 80%;
  height: auto;
  animation: fadeInUp 0.8s ease-out forwards;
  opacity: 0;
}

.history-images .text-center {
  animation: fadeInUp 0.8s ease-out forwards;
  opacity: 0;
}

.history-images .text-center:nth-child(2) {
  animation-delay: 0.2s;
}

.history-content {
  padding-left: 30px;
}

.history-item {
  margin-bottom: 40px;
  position: relative;
  animation: fadeInUp 0.8s ease-out forwards;
  opacity: 0;
}

.history-item:nth-child(1) {
  animation-delay: 0.2s;
}

.history-item:nth-child(2) {
  animation-delay: 0.4s;
}

.history-item:nth-child(3) {
  animation-delay: 0.6s;
}

.history-item:nth-child(4) {
  animation-delay: 0.8s;
}

.history-item h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #1b3a98;
  margin-bottom: 20px;
  position: relative;
}

.history-item h2:after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -10px;
  width: 50px;
  height: 2px;
  background-color: #1b3a98;
}

.history-item ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.history-item li {
  margin-bottom: 15px;
  font-size: 1.1rem;
  color: #666;
  display: flex;
  align-items: flex-start;
}

.history-item li span {
  min-width: 60px;
  font-weight: 500;
  color: #333;
  margin-right: 20px;
}

/* 반응형 스타일 */
@media (max-width: 991px) {
  .history-content {
    padding-left: 0;
    margin-top: 40px;
  }
}

@media (max-width: 768px) {
  .history {
    padding: 50px 0;
  }

  .history-item h2 {
    font-size: 2rem;
  }

  .history-item li {
    font-size: 1rem;
  }
}

@media (max-width: 576px) {
  .history-item h2 {
    font-size: 1.8rem;
  }

  .history-item li span {
    min-width: 50px;
    margin-right: 15px;
  }
}

/* 위치 섹션 */
.location {
  padding: 80px 0;
}

.location .col-lg-5 {
  display: flex;
  align-items: center;
  justify-content: center;
}

.location-images {
  width: 100%;
}

.location-images .company-image,
.location-images .map-image {
  width: 100%;
  margin-bottom: 20px;
}

.location-images img {
  width: 100%;
  height: auto;
  max-height: 600px;
  object-fit: contain;
}

.location .location-info {
  padding: 40px;
  border-radius: 10px;
  height: 100%;
}

.location .location-info h3 {
  font-size: 1.7rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: #00014d;
}

.location .our-story {
  padding: 20px 0;
}

.location .our-story p {
  margin: 0;
  font-size: 1.1rem;
  color: var(--default-color);
}

.location .our-story ul {
  list-style: none;
  padding: 0;
  margin-top: 20px;
}

.location .our-story ul li {
  padding: 5px 0;
  display: flex;
  align-items: center;
}

.location .our-story ul i {
  font-size: 1.25rem;
  margin-right: 0.5rem;
  line-height: 1.2;
  color: var(--accent-color);
}

@media (max-width: 991px) {
  .location-images img {
    max-height: 400px;
  }

  .location .location-info {
    height: auto;
  }
}

@media (max-width: 768px) {
  .location {
    padding: 50px 0;
  }

  .location .location-info h3 {
    font-size: 1.8rem;
  }

  .location .our-story p {
    font-size: 1rem;
  }

  .location-images img {
    max-height: 300px;
  }
}

@media (max-width: 576px) {
  .location-item {
    margin-bottom: 40px;
  }

  .location-images img {
    max-height: 250px;
  }
}

/* 조직도 섹션 */
.organization {
  padding: 80px 0;
}

.organization-content {
  max-width: 1200px;
  margin: 0 auto;
}

.organization-title {
  color: #1b3a98;
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.organization-subtitle {
  font-size: 2.5rem;
  font-weight: 700;
  color: #1b3a98;
  margin-bottom: 40px;
}

.organization-chart {
  position: relative;
  padding: 20px;
  background: #fff;
  border-radius: 10px;
}

.organization-chart img {
  max-width: 100%;
  height: auto;
}

/* 반응형 스타일 */
@media (max-width: 991px) {
  .organization {
    padding: 60px 0;
  }

  .organization-title {
    font-size: 2.2rem;
  }

  .organization-subtitle {
    font-size: 1.8rem;
  }
}

@media (max-width: 768px) {
  .organization {
    padding: 40px 0;
  }

  .organization-title {
    font-size: 2rem;
  }

  .organization-subtitle {
    font-size: 1.6rem;
  }

  .organization-chart {
    padding: 15px;
  }
}

@media (max-width: 576px) {
  .organization {
    padding: 30px 0;
  }

  .organization-title {
    font-size: 1.8rem;
  }

  .organization-subtitle {
    font-size: 1.4rem;
  }

  .organization-chart {
    padding: 10px;
  }
}

/* 태국 법인 섹션 */
.thailand-hero {
  position: relative;
  width: 100%;
  height: 600px;
  overflow: hidden;
  padding: 0;
}

.thailand-hero .hero-image {
  width: 100%;
  height: 100%;
  position: relative;
}

.thailand-hero .hero-image img {
  width: 100%;
  height: 500px;
  object-fit: cover;
}

.thailand-hero .hero-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: #fff;
  z-index: 2;
  width: 100%;
  padding: 0 20px;
}

.thailand-hero .hero-text h1 {
  font-size: 4rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: #fff;
}

.thailand-hero .hero-text h2 {
  font-size: 2rem;
  font-weight: 500;
  color: #fff;
}

.thailand-info {
  padding-bottom: 170px;
}

.thailand-info .section-title {
  color: var(--base-color);
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 30px;
  position: relative;
}

.thailand-info .info-content {
  position: relative;
  padding-top: 20px;
  max-width: 800px;
  margin: 0 auto;
}

.thailand-info .info-content::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 50px;
  height: 2px;
  background-color: var(--base-color);
}

.thailand-info .info-content ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.thailand-info .info-content li {
  display: flex;
  margin-bottom: 20px;
  font-size: 1.1rem;
  line-height: 1.6;
}

.thailand-info .info-content strong {
  min-width: 120px;
  color: #333;
  font-weight: 600;
}

.thailand-info .info-content span {
  color: #666;
  flex: 1;
}

.thailand-info .equipment-list {
  background: #f8f9fa;
  border-radius: 10px;
}

.thailand-info .table {
  margin-bottom: 0;
  max-width: 800px;
  margin: 0 auto;
}

.thailand-info .table th {
  background: var(--base-color);
  color: #fff;
  font-weight: 500;
  border: none;
}

.thailand-info .table td {
  vertical-align: middle;
  color: #666;
}

.thailand-info .location-map {
  text-align: center;
}

.location-map.section-title {
  color: #00014d;
}

.thailand-info .map-image {
  max-width: 800px;
  margin: 0 auto;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
}

.thailand-info .map-image img {
  width: 100%;
  height: auto;
}

.thailand-info .address-info p {
  font-size: 1.2rem;
  color: #666;
  margin: 0;
}

.thailand-info .table-response {
  max-width: 800px;
  margin: 0 auto;
  width: 100%;
}

.thailand-info .table {
  width: 100%;
  margin-bottom: 0;
}

.thailand-map .map-image{
  margin-bottom: 150px;
}

/* 반응형 스타일 */
@media (max-width: 991px) {
  .thailand-hero {
    height: 500px;
  }

  .thailand-hero .hero-text h1 {
    font-size: 3.5rem;
  }

  .thailand-hero .hero-text h2 {
    font-size: 1.8rem;
  }

  .thailand-info .info-content li {
    flex-direction: column;
  }

  .thailand-info .info-content strong {
    margin-bottom: 5px;
  }
}

@media (max-width: 768px) {
  .thailand-hero {
    height: 400px;
  }

  .thailand-hero .hero-text h1 {
    font-size: 3rem;
  }

  .thailand-hero .hero-text h2 {
    font-size: 1.5rem;
  }

  .thailand-info {
    padding: 50px 0;
  }

  .thailand-info .section-title {
    font-size: 1.8rem;
  }

  .thailand-info .equipment-list {
    padding: 20px;
    margin-top: 40px;
  }
}

@media (max-width: 576px) {
  .thailand-hero {
    height: 300px;
  }

  .thailand-hero .hero-text h1 {
    font-size: 2.5rem;
  }

  .thailand-hero .hero-text h2 {
    font-size: 1.2rem;
  }

  .thailand-info .info-content li {
    font-size: 1rem;
  }

  .thailand-info .equipment-list {
    padding: 15px;
  }
}

/* 태국 법인 지도 스타일 */
.thailand-map {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.thailand-map img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
}

.thailand-map .address-info {
  margin-top: 20px;
  color: #666;
  font-size: 1.1rem;
} 