/* General Styles */
body, html {
    margin: 0;
    padding: 0;
    font-family: 'Arial', sans-serif;
    color: white;
    line-height: 1.8;
}

/* Custom styles for contact_us.html */
body.contact-page {
    background-color: #404040; /* Light gray background */
    font-family: Arial, sans-serif; /* Optional: Change font */
    color: #333; /* Dark gray text color */
    margin: 0;
    padding: 0;
}

/* Custom header styles */
.contact-header {
    background-color: #999999; /* Green background */
    color: white; /* White text */
    padding: 20px;
    text-align: center;
    font-size: 24px;
}
/* overlay in video for better text visibility */

/* Navbar */
.navbar {
  position: absolute;
  width: 100%;
  top: 0;
  z-index: 10000;

  display: flex;
  align-items: center;
  justify-content: space-between;
}
.career-page .navbar {
    position: absolute;
    width: 100%;
    top: 0;
    z-index: 10000;
}
.career-page .navbar-right {
    z-index: inherit;
}
.about-page .navbar {
    position: absolute;
    width: 100%;
    top: 0;
    z-index: 10000;
}
.about-page .navbar-right{
    z-index: 10000;
}
/* 언어 변경 버튼 컨테이너(왼쪽 정렬을 원하시면 float나 margin 등을 조정) */
.navbar-language {
  display: flex;
  gap: 10px; /* 버튼 간격 */
  margin-left: 20px; /* 필요 시 간격 조절 */
  z-index:999;
}

/* 실제 버튼 스타일 */
.lang-btn {
  color: #fff;                 /* 폰트 색상 화이트 */
  padding: 8px 12px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 500;
  transition: background-color 0.3s;
}

.lang-btn:hover {
  background-color: #0056b3;  /* 호버 시 색상 변경 */
}
.company-history {
    position: relative;
    padding: 60px 20px;
    max-width: 1000px;
    position:absolute;
    left: 35%;
}
.company-history h2 {
    text-align: center;
    margin-bottom: 40px;
}
.timeline-container {
    position: relative;
}
.timeline-line {
    position: absolute;
    left: 20px;
    top: 10px;
    width: 2px;
    height: 100%;
    background: #000000;
}
.timeline-item {
    position: relative;
    padding-left: 40px;
}
.timeline-item::before {
    content: "";
    position: absolute;
    left: 15px;
    width: 12px;
    height: 12px;
    background: rgb(13, 1, 89);
    border-radius: 50%;
    top: 0.6em;
}
.date-label {
    font-weight: bold;
    font-size: 1.5em;
    color: rgb(13, 1, 89);
}
.timeline-details {
    list-style: disc;
    margin-left: 20px;
    line-height: 1.3;
    font-size: 1.3em;
    color: #000000;
}
.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    padding: 20px;
    color: white;
}
.logo img {
    height: 50px;
    margin-right: 10px;
}
.navbar a {
  color: white;
  text-decoration: none;
}

.navbar a:visited {
  color: white;
}

.navbar a:hover {
  color: lightgray;
}

.navbar a:focus {
  outline: none;
  text-decoration: none;
}
.logo-text span {
    color: white;
    text-decoration: none;
    display: block;
    font-size: 1.25em;
    font-weight: bold;
}
@media (max-width: 576px) {
  /* The section title smaller */
  #company-history h2 {
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
  }

  /* Timeline container spacing adjustments */
  .timeline-container {
    padding: 0 1rem; /* extra horizontal padding if you like */
  }

  /* Each timeline item smaller margin */
  .timeline-item {
    margin-bottom: 20px;
    padding-left: 20px;  /* or 10px, so it’s not too wide for small screens */
  }
  .timeline-item::before {
    left: -10px; /* Move the bullet a bit left */
  }

  .timeline-line {
    left: 10px; /* Move the vertical line a bit left so text fits on narrow screens */
  }

  /* Date label smaller */
  .date-label {
    font-size: 1rem;
    margin-bottom: 0.5rem;
  }

  /* Timeline detail text smaller */
  .timeline-details {
    line-height: 1.4;
    font-size: 0.95rem;
  }
}
@media (max-width: 576px) {
  .logo {
    flex-direction: column;
  }
  .logo img {
    height: 35px; /* Reduce the logo size */
  }
  .logo-text span {
    font-size: 0.9rem !important;
    line-height: 1.1 !important;
  }
  .navbar-right a {
    font-size: 0.9rem;
    padding: 0 5px; /* less horizontal space */
  }
  .logo-text {
    font-size: 0.3rem;
  }
}
.navbar-right {
    position: absolute;
    top: 0;
    right: 0;
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    z-index: 10000;
}
.search-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    font-size: 1.5em;
}
.search-icon {
    font-size: 1.5em;
    cursor: pointer;
    color: white;
    display: flex;
}
.search-bar {
    opacity: 0;
    width: 0;
    visibility: hidden;
    transition: all 0.5s ease;
    font-size: 0.8em;
    border: 1px solid #ccc;
    border-radius: 5px;
    margin-right: 10px;
}
.search-bar.visible {
    opacity: 1;
    visibility: visible;
    width: 200px; /* Adjust width as desired */
}
.menu-icon {
  position: static;
  top: auto;
  right: auto;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 20px;
  z-index: 999;
}
.menu-icon span {
    width: 30px;
    height: 3px;
    background: white;
    transition: all 0.7s;
    transform-origin: center;
}
/* Example: transform 3 bars into an 'X' */
.menu-icon.open span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
    z-index: 9;
}
.menu-icon.open span:nth-child(2) {
    opacity: 0;
    z-index: 9;
}
.menu-icon.open span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
    z-index: 9;
}
@media (max-width: 576px) {
  .menu-icon {
    /* Make the menu icon area smaller */
    padding: 10px;
    gap: 3px;
  }
  
  .menu-icon span {
    /* Reduce the bars’ width and thickness */
    width: 20px;
    height: 2px;
  }
  .menu-icon.open span:nth-child(1) {
    transform: rotate(45deg);
  }
  .menu-icon.open span:nth-child(2) {
    opacity: 0; /* middle bar vanishes */
  }
  .menu-icon.open span:nth-child(3) {
    transform: rotate(-45deg);
  }
}

/* Main Content */
.main-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    max-width: 800px;
    color: white;
}
.tagline .line {
    display: block;
    font-size: 2.5em;
    font-weight: bold;
    margin: 10px 0;
    opacity: 0;
    transform: translateY(20px);
}
.compelling-text {
    font-size: 2em;
    margin-top: 30px;
    font-style: italic;
    line-height: 1.5em;
    padding-top: 50px;
    color: #f6f6f6;
    font: italic bold 20px/30px, serif;
}
/* Smaller screens: e.g., max-width 576px (iPhone SE territory) */
@media (max-width: 576px) {
  .hero-section .main-content .tagline .line {
    font-size: 1.2em; /* reduce it */
    line-height: 1.2; /* maybe tighten line-height slightly */
  }

  .hero-section .compelling-text {
    font-size: 0.9em;
  }
}

/* Menu Overlay */
.menu-overlay {
    position: fixed;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: #F89B00;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: all 0.7s ease;
    z-index: 999;
    text-align: center;
}
.menu-overlay ul {
    list-style: none;
    padding: 0;
    z-index: 999;
}
.menu-overlay li {
    margin: 20px 0;
    z-index: 999;
}
.menu-overlay a {
    color: white;
    font-size: 2em;
    text-decoration: none;
    transition: color 0.3s;
    z-index: 9;
}
.menu-overlay a:hover {
    color: #00bcd4;
}
.hidden {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}
/* Hero Section */
.hero-section {
    position: relative;
    min-height: 100vh; /* Full screen height */
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: transparent;
    z-index: 1;
    padding-top: 50px;
}
.hero-video-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  overflow: hidden;
}
.hero-video-container video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(85%);

}
.hero-video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
.about-teaser-section {
  background-color: #b5d0eb;
  margin: 0 auto;
  padding: 60px 20px;
  margin-left: auto;
  margin-right: auto; 
  position: relative;
  h2 {
    text-align: center;
    font-size: 2.5em;
    margin-bottom: 40px;
    color: #000000;
  }
  h3 {
    font-size: 1.5em;
    color:#000000;
  }
  p {
    font-size: 1.5em;
    line-height: 1.6em;
    margin-bottom: 1em;
    color: #000000;
  }
  p1 {
    font-size: 1.5em;
    line-height: 1.6em;
    margin-bottom: 1em;
    color: #000000;
  }
  p2 {
    font-size: 1.5em;
    line-height: 1.6em;
    margin-bottom: 1em;
    font-style: italic;
    color: #000000;
  }
}
.about-teaser-section-2 {
  background-color: #94c7f9;
  margin: 0 auto;
  padding: 60px 20px;
  margin-left: auto;
  margin-right: auto; 
  position: relative;
  padding-left: 10%;
  padding-right: 10%;
  h2 {
    text-align: center;
    font-size: 2.5em;
    margin-bottom: 40px;
    color: #000000;
  }
  p {
    text-align: center;
    font-size: 1.5em;
    line-height: 1.6em;
    margin-bottom: 1em;
    color: #000000;
  }
  p1 {
    font-size: 1.5em;
    line-height: 1.6em;
    margin-bottom: 1em;
    color: #000000;
  }
  p2 {
    font-size: 1.5em;
    line-height: 1.6em;
    margin-bottom: 1em;
    font-style: italic;
    color: #000000;
  }
}

.services-teaser-section {
  position: relative;  /* Just to establish a stacking context if needed */
  width: 100%;
  margin: 0 auto;    /* Space above/below, auto side margins for centering */
  background: #a7d1ff; /* Slight see-through if you want the waves behind it */
  padding: 40px 20px;
  color: #000000;
}
/* ===== ABOUT PAGE VIDEO BACKGROUND ===== */
.about-image-container {
  position: fixed;      /* or absolute if you only want it in a section */
  top: 0;
  left: 0;
  width: 100%;
  filter: blur(2px);
  height: 100vh;        /* fill entire viewport height, or your section height */
  background: url("../images/Busan.png") no-repeat center center / cover;
  z-index: -1; 
}

/* An overlay to further darken or colorize the video */
.about-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.1);
}

/* ===== ABOUT PAGE CONTENT ===== */
.about-page-content {
position: relative;
z-index: 1;            /* Ensure content appears above video */
padding: 100px 20px;
color: #fff;           /* White or a light color for good contrast on a dark background */
}

/* EXAMPLE: Hero styling */
.about-hero {
max-width: 800px;
margin: 0 auto;
text-align: center;
margin-bottom: 50px;
}
.about-hero h1 {
font-size: 3em;
margin-bottom: 20px;
}
.about-hero p {
font-size: 1.2em;
line-height: 1.5em;
}

/* ===== LANGUAGE TOGGLE ===== */
.language-toggle {
  text-align: right;
  margin-bottom: 10px;
}
.language-toggle a {
  color: #ddd; /* Adjust color to stand out against overlay */
  margin: 0 5px;
  text-decoration: none;
}
.language-toggle a:hover {
  color: #fff;
}

.slideshow-container {
    position:absolute;
    top: 20%;
    width: 100%;
    overflow: hidden;
    height: 250px;
    margin-top: 40px;
    z-index: 0;
}
.slideshow-track {
    display: flex;
    gap: 20px;
}
.slide {
    flex-shrink: 0;
    width: 300px;
    height: 250px;
    position: relative;
    overflow: hidden;
    color: #ffffff;
    text-shadow: 2px 2px 2px #000000;
    font-weight: 900;
    font-size: 1.25em;
    text-align: center;
}
.slide img {
    width: 100%;
    height: 60%;
    object-fit: cover;
    opacity: 1;
    transition: opacity 0.5s;
    padding-left: 0 !important;
    padding-right: 0 !important;
    padding-bottom: 0 !important;
    .slide-caption {
        flex: 0 0 20%;         /* Occupy the remaining 20% for text */
        width: 90%;            /* Slight horizontal padding */
        text-align: center;
        font-size: 2em;     /* Smaller text if you like */
        padding: 10px;
        box-sizing: border-box;
        overflow: hidden; 
    }
}
@media (max-width: 576px) {
  /* Slideshow container is shorter */
  .slideshow-container {
    height: 180px; /* Or whatever height you prefer */
  }

  /* Each slide might be a bit narrower so the user can see partial next slide for swiping */
  .slideshow-track .slide {
    width: 220px; /* narrower than desktop’s 300px or so */
    height: 180px; 
  }

  /* The slide’s image scales to fill */
  .slideshow-track .slide img {
    width: 100%;
    height: 100%;
    object-fit: cover; 
  }

  /* Slide caption smaller */
  .slide-caption {
    font-size: 0.8rem;
    line-height: 1.2;
  }
}
.arrows {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    pointer-events: none;
}
.arrow-left, .arrow-right {
    pointer-events: auto; /* Re-enable for these elements */
    background: rgba(0, 0, 0, 0.4);
    color: #fff;
    padding: 10px 20px;
    cursor: pointer;
    user-select: none;
    font-size: 2em;
    border-radius: 5px;
    margin: 0 10px;
}

.arrows {
  opacity: 1;
  transition: opacity 0.3s ease-in-out;
}

.arrows.hidden {
  opacity: 0;
  pointer-events: none; /* Prevent interaction when hidden */
}

.arrow-left:hover, .arrow-right:hover {
    background: rgba(0,0,0,0.7);
}
.about-hero-content {
    position: absolute;
    top: 65%;
    bottom: 20%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    max-width: 800px;
    color: rgb(0, 0, 0);
}
.about-hero-compelling {
    font-size: 2em;
    margin-top: 30px;
    font-style: italic;
    line-height: 2em;
    padding-top: 50px;
    color: rgba(255, 255, 255, 1);
    font: italic bold 20px/30px, serif;
}
.split-section {
    display: flex;
    align-items: flex-start;
    justify-self: center;
    width: 70%;
    max-width: 1200px;
    margin: auto auto;
    position: relative;
}
.split-left, .split-right {
    width: 45%;
    padding: 20px;
}
.split-line {
    width: 2px;
    height: 650px;
    background: #000000;

    animation: drawLine 2s forwards ease;
    transform-origin: top;
    transform: scaleY(0);
    transition: transform 2s ease;
}
@keyframes drawLine {
    to {
        transform: scaleY(1);
    }
}
.split-left h2 {
    font-size: 2em;
    color: rgb(0, 0, 0);
    margin-bottom: 1em;
}
.split-left p {
    font-size: 1.3em;
    opacity: 0;
    animation: fadeUp 1.5s forwards 0.5s ease;
    color:#000000;
}

/* Right Content Styles */
.split-right {
    display: flex;
    flex-direction: column;
}
.split-left .ceo-photo img,
.split-right .ceo-photo img {
  width: 90%;
  object-fit: cover;
  object-position: 80% 50%;
  overflow: hidden;
  margin-top: 6%;
  /*aspect-ratio: 1.6 / 1;*/
}
.split-right h3 {
    margin-bottom: 0.5em;
    color: #000000;
}
.split-right p {
    font-size: 1.3em;
    opacity: 0;
    animation: fadeUp 1.5s forwards ease .8s;
    color: #000000;
}
@media (max-width: 576px) {
  .about-hero-compelling {
    font-size: 0.9em;
  }
}
@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
    from {
        transform: translateY(20px);
        opacity: 0;
    }
}
.blue-section {
    background-color: #c1defc;
    margin: 0 auto;
    padding: 60px 20px;
    padding-left: 10%;
    padding-right: 10%;
    margin-left: auto;
    margin-right: auto;  
    position: relative;
    color: #000000;
    h2 {
      text-align: center;
      font-size: 2.5em;
      margin-bottom: 40px;
      color: #000000
    }
    p1 {
      font-size: 1.2em;
      line-height: 1.6em;
      margin-bottom: 1em;
      color: #000000;
    }
    p2 {
      font-size: 1.2em;
      line-height: 1.6em;
      margin-bottom: 1em;
      font-style: italic;
      color: #000000;
    }
}
@media (max-width: 576px) {
  .blue-section h2 {
    font-size: 1.3em;
  }
  .blue-section h3 {
    font-size: 1.2em;
  }
  .blue-section p {
    font-size: 1em;
  }
  .blue-section p1 {
    font-size: 1em;
  }
  .blue-section p2 {
    font-size: 1em;
  }
  .blue-section-2 h2 {
    font-size: 1.3em;
  }
  .blue-section-2 h3 {
    font-size: 1.2em;
  }
  .blue-section-2 p {
    font-size: 1em;
  }
  .blue-section-2 p1 {
    font-size: 1em;
  }
  .blue-section-2 p2 {
    font-size: 1em;
  }
}
.blue-section-2 {
  background-color: #a2cfff;
  margin: 0 auto;
  padding: 60px 20px;
  padding-left: 10%;
  padding-right: 10%;
  margin-left: auto;
  margin-right: auto;  
  position: relative;
  color: #000000;
  h2 {
    text-align: center;
    font-size: 2.5em;
    margin-bottom: 40px;
    color: #000000
  }
  p1 {
    font-size: 1.2em;
    line-height: 1.6em;
    margin-bottom: 1em;
    color: #000000;
  }
  p2 {
    font-size: 1.2em;
    line-height: 1.6em;
    margin-bottom: 1em;
    font-style: italic;
    color: #000000;
  }
}
.services-grid {
    padding-top: 50px;
    padding-left: 30px;
    padding-right: 30px;
    padding-bottom: 50px;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 40px;
    align-items: start;
}
.service-item {
    text-align: center;
    color:#000000;
}
.service-item img {
  display: block;
  margin: 0 auto;
  padding-left: 0;
  padding-right: 0;
  object-fit: contain;
  width: 100px;
  height: 100px;
}
.service-item h3 {
    font-size: 1.2m;
    margin-bottom: 0.5em;
}
.service-item p {
    font-size: 1.2em;
    line-height: 1.6em;
}
.about-section {
    font-size: 1.2em;
    background-color: #0d2f53;
    margin: 0 auto;
    padding: 60px 20px;       /* Give space inside the box */
    margin-left: auto;        /* Center horizontally if narrower than full width */
    margin-right: auto; 
    position: relative;       /* So we can stack content above/below if needed */
    color: #fff;              /* Ensure text is visible on dark background */
}

/* Scroll Remote */
.scroll-remote {
  position: fixed;
  right: 20px;
  top: 80%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.5);
  padding: 10px;
  border-radius: 10px;
  z-index: 1000;
}

.scroll-remote ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.scroll-remote li {
  color: #000000;
  padding: 8px 12px;
  margin: 5px 0;
  font-size: 14px;
  cursor: pointer;
  border-radius: 5px;
  transition: background 0.3s, color 0.3s;
}

.scroll-remote li.active {
  background: #fff;
  color: #000;
  font-weight: bold;
}

.scroll-remote li:hover {
  background: rgba(255, 255, 255, 0.3);
}

.scroll-remote .hidden {
  display: none;
}
@media (max-width: 576px) {
  .scroll-remote {
    display: none;
  }
}

/* === 1. Container layout === */
.key-projects-grid {
    padding-top: 5%;
    display: grid;
    grid-template-columns: 2fr 1fr; /* left is wide, right is narrower */
    grid-template-rows: 1fr 1fr;   /* top row, bottom row on the right side */
    gap: 10px; /* spacing between slots */
    margin-top: 20px; /* spacing above/below if needed */
  }
  
  /* Big slot spans two rows on the left */
  .big-slot {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
    grid-row: 1 / span 2; /* occupy both top and bottom row */
    grid-column: 1;       /* left column */
  }
  
  /* The top-right row (#2, #3) will occupy row 1, columns 2, etc. */
  .top-right {
    grid-row: 1; /* first row */
    grid-column: 2; 
  }
  .top-right-2 {
    grid-row: 1; /* also first row? => we want them side-by-side or stacked? 
                  If you want them side-by-side, you'd need 3 columns. 
                  Otherwise, let's stack them? 
                  Maybe you'll do an approach "top-right" is 2 columns. 
                  For simplicity, let's keep them stacked or you can adapt. */
    grid-column: 3; /* if you had a 3-column approach, or you can do another approach. */
  }
  
  /* The bottom-right (#4, #5) in the second row on the right. */
  .bottom-right {
    grid-row: 2; 
    grid-column: 2;
  }
  .bottom-right-2 {
    grid-row: 2;
    grid-column: 3; 
  }
  
  /* If you only want 2 columns total, 
     you can place top-right & top-right-2 side by side 
     by using another nested grid or separate approach. 
     But let's keep it simple for now. 
  */
  
  /* Each project-slot: optional styling */
  .project-slot {
    position: relative;
    cursor: pointer; /* if it's clickable to go to performance page */
    overflow: hidden; /* in case images are bigger than container */
  }
/* For each anchor section you’ll jump to */
#business-performance-link {
  scroll-margin-top: 100px; /* Or however tall your nav is */
}
  
  /* === 2. Slideshow fade === */
  .slideshow {
    position: relative;
    width: 100%;
    height: 100%;
  }
  
  /* Hide all images by default */
  .slideshow img {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    animation: fade 15s infinite; 
    /* if you have multiple images, each will animate. We'll 
       offset them with animation-delay. */
  }
  
  /* For example, if you have 5 images, each gets a different delay 
     so they show in sequence. 
     For 2 images, you do .slideshow img:nth-child(1) { animation-delay: 0s; } 
     .slideshow img:nth-child(2) { animation-delay: 5s; } etc.
  */
  .slideshow img:nth-child(1) {
    animation-delay: 0s;
  }
  .slideshow img:nth-child(2) {
    animation-delay: 5s;
  }
  .slideshow img:nth-child(3) {
    animation-delay: 10s;
  }

  
  /* Keyframe that fades the image in/out over 5 seconds total 
     (assuming 5 images in a 25s cycle).
  */
  @keyframes fade {
    0%    { opacity: 0; }
    5%    { opacity: 1; }
    20%   { opacity: 1; }
    25%   { opacity: 0; }
    100%  { opacity: 0; }
  }
  /* Explanation of fade: 
     - Each image fades in at 0->5% of its timeslot, stays visible until 20%, 
       fades out by 25%, remains hidden until the next cycle. 
     - Because the entire animation is 25s, each image 
       effectively shows for ~5s in sequence.
  */
  
  /* If you want slightly shorter/longer times, 
     adjust the total or the percentage steps.
  */
  

#map {
    height: 400px;
    width: 100%;
}
.map-embed #map {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
  }
.map-embed iframe {
    position: absolute;
    top:0; left:0;
    width:100%; height:100%;
}

/* ========== Global Presence Section ========== */
#global-presence {
    /* This background and padding are optional if you want it styled differently */
    background-color: #c1defc;
    color: #000000;
    padding: 40px 20px;
    border-radius: 8px;
    margin: 0 auto;
    text-align: center;
}

#korea-map-svg {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
}
.korea-map-container {
  justify-content: center;
  margin-left: 35%;
}

@media (max-width: 768px) {
  .korea-map-container {
    margin-left: 20%;
  }
}

@media (max-width: 576px) {
  .korea-map-container {
    margin-left:0;
  }
}

#world-map-svg {
  margin: 0 auto;
}

/* Basic styling for all country paths in the SVG */
#world-map path {
  fill: #ccc;
  stroke: #ffffff;
  transition: transform 0.3s ease, fill 0.3s ease;
  transform-origin: center;
  transform-box: fill-box;
  max-height: 120px;
}
@keyframes pulse {
  0% { transform: scale(1); }
  100% { transform: scale(1.2); }
}


.hidden {
  display: none;
}
  
/* Ensures the <h2> and <p> (intro text) stay above the columns */
#global-presence h2 {
    text-align: center;
    font-size: 2em;
    margin-bottom: 20px;
    /* color: #fff; if you want white text */
}
#global-presence h3 {
    text-align: center;
    font-size: 1.5em;
    margin-bottom: 20px;
    /* color: #fff; if you want white text */
}
#global-presence > p {
    max-width: 800px;
    margin: 0 auto 40px auto;
    text-align: center;
    line-height: 1.6;
    /* color: #fff; if needed */
}
  
/* The actual columns */
#global-presence .split-section {
    display: flex;
    align-items: flex-start;
    justify-content: center; /* centers columns if narrower than container */
    gap: 20px;              /* space between items horizontally */
    position: relative;
    max-width: 1200px;      /* or your preference */
    margin: 0 auto 40px auto;
}
  
/* The left and right columns */
#global-presence .split-left,
#global-presence .split-right {
    flex: 1;           /* each column stretches equally */
    min-width: 0;      /* prevents flex items from overflowing in some cases */
    padding: 20px;
    box-sizing: border-box;
}
@media (max-width: 576px) {
  .split-left {
    font-size: 0.9em;
  }
  .split-right {
    font-size: 0.9em;
  }
}

/* The dividing line */
#global-presence .split-line {
    width: 1px;        /* thin line */
    background: #ccc;  /* or any color you prefer */
    /* If you want a specific height, define it. If you want to rely on flex auto-height, keep it auto. */
    margin: 0 10px;    /* horizontal spacing around the line */

    /* Optional: animate the line “growing” */
    animation: drawLine 2s forwards ease;
    transform-origin: top;
    transform: scaleY(0); /* start invisible */
}
  
@keyframes drawLine {
    to {
    transform: scaleY(1);
    }
}

/* Headings inside columns */
#global-presence .split-left h3,
#global-presence .split-right h3 {
    font-size: 1.5em;
    margin-bottom: 1em;
}

#global-presence .split-left p,
#global-presence .split-right p {
    line-height: 1.6;
    margin-bottom: 1em;
}
  
  .performance-hero {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding-bottom: 20px;
    text-align: center;
    color: #fff;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 1.5em;
    min-height: 40vh;
  }
  @media (max-width: 576px) {
    .performance-hero {
      font-size: 1em;
    }
    .project-table th {
      font-size: 0.8em;
    }
    .project-table td {
      font-size: 0.8em;
    }
  }
  
  /* If you want the floating card style for sections below hero */
  .floating-section {
    position: relative;
    background: #c1defc;
    box-shadow: 0 4px 10px rgba(0,0,0,0.5);
    backdrop-filter: blur(5px);
    overflow-y: auto;
    color: #000000;
  }

  #searchInput {
    width: 100%;
    padding: 0.5rem;
    font-size: 1rem;
    box-sizing: border-box;
  }
  
  .project-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 2em; /* spacing above table */
    background-color: rgb(255, 255, 255);
    border-radius: 8px;
    border-collapse: collapse;
    overflow: hidden;
    table-layout: fixed;
  }
  
  .project-table th {
    cursor: pointer;
    padding: 1rem;
    text-align: left;
    vertical-align: top;
    color: #ffffff;
  }
  .project-table td {
    padding: 0.6rem;
    text-align: right;
    vertical-align: top;
    color: #000000;
    text-align: left;
    border: 0.2px solid #000;
  }

  .table-container {
    max-height: 500px;
    overflow-y: auto;
    overflow-x: auto;
    border: 1px solid #ccc;
    position: relative;
    display: block;
  }
  
  
  .project-table thead {
    background-color: rgba(0,0,0,0.9);
    top: 0;
    z-index: 2;
  }
  
  .project-table th {
    font-weight: bold;
    top: 0;
  }
  .project-table th:hover {
    background-color: #2f2fa4;
  }
  .sort-indicator {
    margin-left: 6px;
    font-size: 0.8em;
    opacity: 0.7;
  }

  
  .project-table tbody tr:nth-child(even) {
    background-color: rgba(255,255,255,0.03); /* subtle row striping */
  }
  
  /* Make table responsive: when screen is small, each row becomes block-like */
  @media(max-width: 768px) {
    .project-table thead {
      display: none; /* hide the header row on small screens */
    }
    .project-table tr {
      display: block;
      margin-bottom: 1rem;
      border-bottom: 1px solid rgba(255,255,255,0.9);
    }
    .project-table td {
      display: block;
      text-align: right;
      padding: 1rem 1rem;
      position: relative;
    }
    .project-table td::before {
      content: attr(data-label); /* We’ll add data-label in HTML if you want a label for each cell */
      float: left;
      text-transform: uppercase;
      font-weight: bold;
    }
  }
  
  
  /* Certificates styling */
  .certificates-section {
  }
  
  .certificates-grid {
    /* Create a responsive grid layout */
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 40px;        /* Space between cards */
    justify-items: center;  /* Center each card horizontally */
  }
  
  .certificate-card {
    background-color: #fff;
    color: #333;
    border: 1px solid #eaeaea;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    padding: 0.5rem 0;
    text-align: center;
  }
  
  .certificate-card img {
    /* Force each image into a uniform aspect ratio,
       so they all display the same height in each card. */
    width: 100%;
    aspect-ratio: 1/1.4;  /* 4:3 ratio; adjust to your preference */
    margin-bottom: 1rem;
    border-radius: 4px; /* Slight rounding of image corners (optional) */
  }
  
  .certificate-item h3 {
    font-size: 1rem;
    margin-bottom: 0.3rem;
    text-align: center;
  }

  .ship-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 40px;        /* Space between cards */
    justify-items: center;  /* Center each card horizontally */
  }

  .ship-card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: #fff;
    color: #333;
    border: 1px solid #eaeaea;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    text-align: center;
  }
  
  .ship-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 1.57/1;  /* 4:3 ratio; adjust to your preference */
    border-radius: 4px; /* Slight rounding of image corners (optional) */
  }

  .ship-item h3 {
    font-size: 1rem;
    margin-bottom: 0.3rem;
    text-align: center;
  }

  .barge-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    table-layout: fixed;
}

.barge-table th, .barge-table td {
    border: 1px solid #000000;
    padding: 0px;
    text-align: center;
    font-size: 1rem;
}

.barge-table th {
    background-color: #007BFF;
    color: rgb(255, 255, 255);
}

.download-btn {
    display: inline-block;
    margin-top: 15px;
    padding: 10px 20px;
    font-size: 16px;
    background-color: #007bff;
    color: white;
    border: none;
    cursor: pointer;
    border-radius: 5px;
}

.download-btn:hover {
    background-color: #0056b3;
}
  .supply-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 40px;        /* Space between cards */
    justify-items: center;  /* Center each card horizontally */
  }

  .supply-card {
    background-color: #fff;
    color: #333;
    border: 1px solid #eaeaea;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    text-align: center;
  }
  
  .supply-card img {
    /* Force each image into a uniform aspect ratio,
       so they all display the same height in each card. */
    width: 100%;
    aspect-ratio: 1.57/1;  /* 4:3 ratio; adjust to your preference */
    border-radius: 4px; /* Slight rounding of image corners (optional) */
  }

  .supply-item h3 {
    font-size: 1rem;
    text-align: center;
  }

/* ========== CAREER SECTION ========== */
/* Career Hero */
.career-hero {
    position: relative;
    width: 100%;
    height: 100vh; /* Full screen height hero */
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff; /* White text, assuming a dark overlay */
  }

  .career-video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1; /* So it stays behind the .hero-content */
    overflow: hidden;
  }
  
  .career-video-container video {
    filter: brightness(80%);
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  .career-video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.0); /* 30% black overlay */
  }
  .hero-content {
    position: relative;
    z-index: 1; /* above the video */
    text-align: center;
    max-width: 800px;
    margin: 0 20px;
  }
  .hero-content h1 {
    font-size: 3em;
    margin-bottom: 20px;
  }
  .hero-content p {
    font-size: 1.2em;
    line-height: 1.6em;
  }
  
  /* Shared base for career sections */
  .career-section {
    width: 100%;
    padding: 60px 0;
    box-sizing: border-box;
  }
  .career-section .content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
  }

  /* Center the entire content horizontally */
/* Center the list and align text */
.career-opportunities .content {
  display: flex;
  flex-direction: column;
  align-items: center; /* Center the list horizontally */
  text-align: center; /* Center the text */
}

.career-opportunities ul {
  list-style-type: disc; /* Default bullets */
  list-style-position: outside; /* Ensure bullets are outside the text */
  padding-left: 40px; /* Add indentation for the list */
  margin: 0 auto; /* Center the list horizontally */
}

.career-opportunities ul li {
  margin-bottom: 10px; /* Space between items */
  display: list-item; /* Ensures bullets are rendered */
  text-align: left; /* Align text to the left */
}

/* Optional: Style the bullet color (if needed) */
.career-opportunities ul li::marker {
  color: white; /* Matches the design (optional) */
}

.maps-container {
  display: flex;
  justify-content: space-between; /* Evenly space the map sections */
  align-items: center; /* Vertically align the maps */
  gap: 20px; /* Add spacing between maps */
}

.map-section {
  width: 45%; /* Set each map section to take 45% of the container */
  text-align: center; /* Center the titles */
}

.map {
  width: 100%; /* Ensure the map fills the section width */
  height: 400px; /* Set a consistent height for the maps */
  border: 1px solid #ccc; /* Optional: Add a border for visual clarity */
  border-radius: 10px; /* Optional: Add rounded corners */
}

/* Style the button */
.career-opportunities .apply-button {
  display: inline-block;
  margin-top: 20px;
  padding: 10px 20px;
  background-color: #4CAF50; /* Green background */
  color: white;
  text-decoration: none;
  font-size: 16px;
  border-radius: 5px;      /* Rounded corners */
  transition: background-color 0.3s ease;
}

.career-opportunities .apply-button:hover {
  background-color: #45a049; /* Slightly darker green on hover */
}
  
  /* Different backgrounds per section */
.career-qualities {
    background: #447eb9; /* Dark blue, for instance */
  }
  .career-environment {
    background: #1b5da9; /* Another navy shade, or an image */
  }
  .career-opportunities {
    background: #142f63; /* Just an example */
  }
  
  /* Title styling */
  .career-section h2 {
    text-align: center;
    font-size: 2em;
    margin-bottom: 30px;
  }
  /* Text styling */
  .career-section p {
    max-width: 800px;
    margin: 0 auto 20px auto;
    font-size: 1.1em;
    line-height: 1.6em;
    text-align: center;
  }
  
  /* Example apply-button */
  .apply-button {
    display: inline-block;
    text-decoration: none;
    background: #fff;
    color: #142f63;
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: bold;
    transition: background 0.3s ease;
  }
  .apply-button:hover {
    background: #eee;
  }
  .floating-section {
    position: relative;  /* Just to establish a stacking context if needed */
    width: 100%;
    margin: 0 auto;    /* Space above/below, auto side margins for centering */
    background: #c1defc; /* Slight see-through if you want the waves behind it */
    padding: 40px 20px;
    color: #000000;
  }
  
  /* Responsive Adjustments */
  @media (max-width: 768px) {
    .career-hero {
      height: 60vh;
    }
    .career-hero h1 {
      font-size: 2em;
    }
    .career-section p {
      padding: 0 10px;
    }
  }
  
/* ========== Media Query for Mobile ========== */
@media (max-width: 768px) {
    #global-presence .split-section {
    flex-direction: column;
    /* Remove or reduce gap if you want less vertical space */
}
#global-presence .split-line {
    width: auto;         /* turn it into a horizontal line */
    height: 1px;
    margin: 20px auto;   /* center horizontally */
    transform-origin: left; 
}
}

  @media (max-width: 768px) {
    .split-section {
      flex-direction: column;
    }
    .split-left, .split-line, .split-right {
      width: 100%;
    }
    .split-line {
      height: 1px;         /* turn it horizontal for mobile maybe? */
      width: auto;
      align-self: center;
      margin: 20px 0;
      transform-origin: left;  /* if you want a different animation orientation */
    }
    .services-grid {
      grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    }
  }



/* ===================================
   CONTACT PAGE – ADDITIONAL / OVERRIDES
   Place these styles BELOW your existing CSS
=================================== */

/* Override or refine the background if you prefer something lighter. 
   You already have body.contact-page { background-color: #404040; } 
   If you want to keep that, remove or comment out the line below.
*/
body.contact-page {
  /* background-color: #f9f9f9; */ /* Example: a lighter gray if desired */
  /* color: #333; */               /* Keep or remove based on preference */
  /* If you keep these lines, they'll override your #404040 background. */
}

/* Optional hero section if you want a large banner or simple heading at the top:
   <header class="hero-contact"> ... </header> */
.hero-contact {
  background-color: #d5d6ff;   /* Example light/dark background */
  color: #000000;
  text-align: center;
  padding: 3rem 1rem;
}

/* Heading style for the hero. Adjust as needed. */
.hero-contact h1 {
  font-size: 2.2rem;
  margin-bottom: 0.5rem;
}

/* Subtext or short message in hero */
.hero-contact p {
  font-size: 1.5rem;
  max-width: 600px;
  margin: 0.5rem auto 0 auto;
  color: #000000;
}

/* =========================
   OFFICES SECTION
   Markup example:
   <section class="offices-section">
     <div class="offices-container">
       <div class="office-card">...</div>
     </div>
   </section>
========================= */

.offices-section {
  padding: 3rem 1rem;
  text-align: center;
  background-color: #447eb9;
}

.offices-section h2 {
  font-size: 1.75rem;
  margin-bottom: 2rem;
  color: #fff; /* If background is dark, or #333 if background is light */
}

/* The container for the office “cards” */
.offices-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Each individual office card/box */
.office-card {
  background-color: #ffffff;   /* White box, stands out on darker background */
  color: #000000;
  padding: 2rem 1.5rem;
  border-radius: 8px;
  border: 1px solid #eaeaea;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
  text-align: center; /* or center if you prefer */
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.office-card h3 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
  color: #000000;
}

.office-card p {
  font-size: 0.95rem;
  line-height: 1.4;
  margin-bottom: 1.5rem;
  color: #000000;
}

/* Big button that links to each office detail page */
.office-card button,
.office-card a.office-button {
  align-self: flex-start;
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 5px;
  background-color: #0069D9; /* Adjust to your brand color */
  color: #fff;
  font-size: 1rem;
  cursor: pointer;
  display: block;
  margin: 0 auto;
  text-decoration: none; /* for <a> */
  transition: background-color 0.3s ease;
}

.office-card button:hover,
.office-card a.office-button:hover {
  background-color: #0052ab;
}

/*ABOUT SECTION*/

.global-offices-section {
  padding: 40px 20px;  /* spacing around the section */
  background-color: #94c7f9; /* or keep it consistent with blue-section-2 */
  text-align: center;
}

.office-box-container {
  display: flex;
  flex-wrap: wrap; /* so they stack on small screens */
  justify-content: center;
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.office-container {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 20px;
}
@media (max-width: 768px) { /* For tablets and smaller screens */
  .office-container {
      flex-direction: column; /* Stack elements vertically */
      align-items: center; /* Center them */
  }

  .small-office {
      width: 80%; /* Adjust width for better spacing */
      max-width: 250px; /* Prevent them from getting too large */
  }
}

@media (max-width: 576px) { /* For mobile devices */
  .office-container {
      flex-direction: column; /* Ensure they remain stacked */
  }

  .small-office {
      width: 100%; /* Full width on very small screens */
      max-width: 200px; /* Keep a reasonable limit */
  }
}

.small-office {
  background-color: #b5d0eb;
  padding: 15px;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
  width: 250px;
  text-align: center;
}

.small-office:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}
.hover-expand {
  transform: scale(1.15);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.25);
}
.glow {
  fill: rgb(241, 149, 0) !important;  /* Dark blue fill */
  stroke: white !important;              /* White border */
  stroke-width: 2 !important;
  transition: all 0.3s ease;
}
.large-office-container {
  display: flex;
  justify-content: space-evenly;
  margin-top: 40px;
  flex-wrap: wrap;
  gap: 20px;
}

.large-office-box {
  background-color: #94c7f9; /* Light blue background */
  padding: 20px;
  border-radius: 10px;
  width: 45%; /* Each large box takes up about half the screen */
  text-align: center;
  font-size: 0.9em;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.large-office-box h2 {
  color: #000;
  font-size: 1.8em;
  margin-bottom: 15px;
}
@media (max-width: 768px) {
  .large-office-box {
      width: 90%; /* Allow it to take up more space on mobile */
      padding: 15px;
  }
}

@media (max-width: 576px) {
  .large-office-box {
      width: 100%; /* Full width on smaller devices */
      padding: 10px;
  }

  .large-office-box h2 {
      font-size: 1.5em; /* Reduce heading size */
  }
}

.small-office {
  background-color: #b5d0eb;
  padding: 15px;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
  text-align: center;
}

.small-office:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}
@media (max-width: 768px) { /* Targets tablets and smaller screens */
  .small-office {
      padding: 10px; /* Reduce padding */
      font-size: 0.9em; /* Scale down text */
  }
}

@media (max-width: 576px) { /* Targets mobile devices */
  .small-office {
      padding: 8px;
      font-size: 0.8em; /* Reduce font size */
  }

  .small-office h3 {
      font-size: 1.25em; /* Reduce heading size */
  }

  .small-office p {
      font-size: 1em; /* Reduce paragraph text */
  }
}

.office-box {
  background-color: #fff;
  color: #333;
  border: 2px solid #eaeaea;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  padding: 1rem;
  flex: 1 0 200px; /* at least 300px wide, then grow */
  min-width: 100px;
  max-width: 200px;
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
  cursor: pointer; /* so user sees it’s interactive */
}
.office-box h3 {
  margin-top: 0;
  margin-bottom: 0.5rem;
  color: #000000;
}
.office-box p {
  color: #000000;
}

.office-box:hover {
  transform: scale(1.02);
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

/* =========================
   CONTACT FORM SECTION
   Markup example:
   <section class="contact-form-section">
     <h2>Send Us a Message</h2>
     <form class="contact-form">...</form>
   </section>
========================= */

.contact-form-section {
  background-color: #1b5da9; /* stands out from the site background */
  color: #000000;               /* dark text */
  padding: 3rem 1rem;
  text-align: center;
}

.contact-form-section h2 {
  font-size: 1.75rem;
  margin-bottom: 1rem;
  color: #ffffff;
}

.contact-form-section p {
  font-size: 1.25rem;
  max-width: 650px;
  margin: 0.5rem auto 2rem;
  line-height: 1.5;
  color: #ffffff;
}
.privacy-text {
  font-size: 1rem;
  text-align: left;
}
/* The form wrapper */
.contact-form {
  max-width: 600px;
  margin: 0 auto;
  text-align: left; /* keeps labels & fields aligned left, more standard */
}

.contact-form .form-group {
  margin-bottom: 1.25rem;
}

.contact-form label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: #333;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 1rem;
  color: #333;
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  outline: none;
  border-color: #0069D9; /* accent border on focus */
}

/* The big “submit” button */
.contact-form .submit-btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 5px;
  background-color: #0069D9;
  color: #fff;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
  margin-top: 0.5rem;
}

.contact-form .submit-btn:hover {
  background-color: #0052ab;
}

/* ========== RESPONSIVE EXAMPLE ========== */
@media (max-width: 768px) {
  .offices-container {
    grid-template-columns: 1fr; /* stack office cards on smaller screens */
  }
  .office-card {
    text-align: center;
  }
  .office-card button {
    align-self: center;
  }
}





/* Footer Styling */
.site-footer {
  background-color: #000000; /* Black background */
  color: #fff;           /* White text */
  padding: 2rem 1rem;    /* Spacing around the content */
  text-align: center;    /* Center text by default */
}

.footer-content {
  max-width: 1200px; /* Constrain width for large screens */
  margin: 0 auto;    /* Center horizontally */
  font-size: 0.9em;
  line-height: 0.5;
}
.footer-nav {
  display: flex;
  justify-content: center; /* Center horizontally */
  gap: 1rem;               /* Spacing between links */
  margin-bottom: 1rem;     /* Space between nav and other content */
}

.footer-btn {
  background-color: #F89B00; /* Slightly lighter shade of blue */
  color: #ffffff;
  border: none;
  padding: 1rem;
  flex: 1;
  text-decoration: none;
  text-align: center;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.3s ease, flex 0.3s ease;
}
.footer-btn-kr {
  background-color: #F89B00; /* Slightly lighter shade of blue */
  color: #ffffff;
  border: none;
  padding: 1rem;
  flex: 1;
  text-decoration: none;
  text-align: center;
  font-size: 1.3rem;
  cursor: pointer;
  transition: background-color 0.3s ease, flex 0.3s ease;
}
.footer-download {
  text-align: center;
  margin: 1rem 0;
}
.footer-download .footer-link {
  color: #F89B00;
  padding: 10px 20px;
  text-decoration: none;
  font-size: 1.1rem;
}
.footer-download .footer-link:hover {
  color: white;
}

.footer-nav button:hover {
  background-color: #002080; /* Slightly lighter blue on hover */
}
@media (max-width: 768px) {
  .footer-nav button {
    font-size: 0.9rem; /* Adjust font size for smaller screens */
    padding: 0.75rem;
  }
}

@media (max-width: 576px) {
  .footer-nav .footer-btn {
    font-size: 0.7rem;
    padding: 0.5rem;
  }
  .footer-btn-kr {
    font-size: 0.7rem;
    padding: 0.5rem;
  }
  .footer-content {
    font-size: 0.7rem;
  }
  .footer-btn{
    font-size: 0.8rem;
  }
  .footer-btn-kr {
    font-size: 0.8rem;
  }
  .footer-download .footer-link {
    display: block;
    text-align: center;
  }
}
@media (max-width: 375px) {
  .footer-nav .footer-btn {
    font-size: 0.7rem; /* Further adjust font size for very small screens */
    padding: 0.5rem;
  }
  .footer-btn-kr {
    font-size: 0.7rem;
    padding: 0.5rem;
  }
  .footer-content {
    font-size: 0.6rem;
  }
  .footer-download .footer-link {
    display: block;
    text-align: center;
    font-size: 0.8rem;
  }
}

.company-info {
  margin-bottom: 1rem;
  line-height: 1.6;
}

/* Button styling for GTC/KYC */


.footer-btn:hover {
  background-color: #555; /* Slightly lighter gray on hover */
}
.footer-btn-kr:hover {
  background-color: #555; /* Slightly lighter gray on hover */
}

.box-content {
  height: 0;
  width: 0;
  opacity: 0; /* Keep opacity at 0 for smooth fade-in */
  padding: 0;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  transition: height 0.5s ease-in-out, 
              width 0.5s ease-in-out, 
              padding 0.3s ease-in-out,
              opacity 0.5s ease-in-out,
              background-color 0.3s ease-in-out;
}

.expanded {
  height: auto;
  min-width: 150px; /* Ensures it doesn't get too small */
  max-width: 250px; /* Prevents it from growing too much */
  opacity: 1;
  padding: 10px;
}
.org-box {
  transition: background-color 0.3s ease-in-out;
}

.org-box:hover {
  background-color: #2563eb; /* Slightly lighter blue */
  cursor: pointer;
}