* {
  box-sizing: border-box;
  color: black;
  &:before, &:after {
    box-sizing: border-box;
  }
}

body, html {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    overflow-x: visible; /* Change from hidden to visible */
}

.wrapper {
    width: 100%;
    max-width: 100%;
    position: relative; /* Change from absolute to relative */
    overflow: visible; /* Change from hidden to visible */
}

.no-scroll {
    overflow: hidden;
    position: fixed;
    width: 100%;
    height: 100%;
}


/*NAVIGATION*/


.overlay {
    height: 100%;
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    background-color: rgba(255, 255, 255, 0.9);
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
    z-index: 99;
}

.overlay.active {
    opacity: 1;
    visibility: visible;
}

.overlay.closing {
    opacity: 0;
}

.overlay-content {
    position: relative;
    top: 50%;
    transform: translateY(-50%) scale(2);
    text-align: center;
    opacity: 0;
    transition: all 0.4s ease;
}

.overlay.active .overlay-content {
    opacity: 1;
    transform: translateY(-50%) scale(1);
}

.overlay.closing .overlay-content {
    opacity: 0;
    transform: translateY(-50%) scale(2);
}

.overlay-content a {
    padding: 35px;
    text-decoration: none;
    display: block;
    color: #bb9f52;
}

.korean-text {
    display: block;
    font-size: 16px;
    color: #777777;
    font-family: "Noto Sans KR", sans-serif;
    font-weight: 600;
    line-height: 1;
}

.english-text {
    display: block;
    font-size: 54px;
    font-weight: 500;
    font-family: "Cormorant Garamond", serif;
    line-height: 0.9;
    position: relative;
    top: -4px;
}

.button-container {
    position: fixed;
    top: 30px;
    right: 30px;
    z-index: 102;
    width: 30px;
    height: 30px;
}

.menu-btn, .close-btn {
    position: absolute;
    top: 0;
    right: 0;
    width: 30px;
    height: 30px;
    background-color: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.menu-btn {
    opacity: 1;
    visibility: visible;
}

.close-btn {
    opacity: 0;
    visibility: hidden;
}

.menu-btn img, .close-btn img {
    width: 30px;
    height: 30px;
    object-fit: contain;
    margin-bottom: 5px;
}

.overlay.active ~ .button-container .menu-btn {
    opacity: 0;
    visibility: hidden;
}

.overlay.active ~ .button-container .close-btn {
    opacity: 1;
    visibility: visible;
}

.overlay-content a .english-text {
    color: #bb9f52;
}

.overlay-content a .korean-text {
    color: #777777;
}

.overlay-content a:hover .korean-text {
    color: #666666;
}

.overlay-content a:hover .english-text {
    color: #9e854a;
}

.nav-header {
    position: fixed;
    width: 100%;
    height: 80px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.nav-header::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    z-index: -1;
}

.nav-header.hidden {
    opacity: 0;
    transform: translateY(-100%);
}

.nav-header.visible {
    opacity: 1;
    transform: translateY(0);
}

.main-front img {
    width: 60px;
    margin-left: 20px;
}

.nav-menu {
    font-size: 30px;
    cursor: pointer;
}
















.video-container {
    width: 100%;
    max-width: 100vw;
    overflow: hidden; /* Only keep overflow hidden on the video container */
}

.video-container video {
    width: 100%;
    height: 100vh;
    object-fit: cover;
}

.showcase {
    position: relative;
    width: 100%;
    max-width: 100%;
    height: 100vh;
    overflow: hidden;
}
.content {
  position: absolute;
  width: 100%;
  height: 20px;
  text-align: center;
  top: 30%;
  left: 0%;
}

.content h1, p {
  font-family: "Cormorant Garamond", serif;
  color:white;
}

.content h1 {
  font-size: 5em;
  color:#bb9f52;
 text-shadow: 1px 1px 0px #FFFFFF;
}

.content p{
  font-family: "Montserrat", sans-serif;
  font-weight: 400;
}






/* General styles for all buttons */
.custom-button.btn-outline-custom {
  position: relative;
  padding: 10px;
  font-size: 10pt;
  width: 200px;
  border-radius: 50px;
  color: #bb9f52 !important;
  border: 2px solid rgba(187, 159, 82, 0.8) !important;
  background-color: transparent;
  outline: none;
  cursor: pointer;
  overflow: hidden;
  z-index: 1;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  transition: color 0.3s ease;
}

/* Hover effects for all buttons */
@media (hover: hover) {
  .custom-button.btn-outline-custom::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background-color: rgba(187, 159, 82, 0.8);
    transition: left 0.3s ease;
    z-index: -1;
  }

  .custom-button.btn-outline-custom:hover {
    color: white !important;
    background-color: transparent;
    border-color: rgba(187, 159, 82, 0.8) !important;
  }

  .custom-button.btn-outline-custom:hover::before {
    left: 0;
  }
}

/* Disable hover effect for the first section button */
.always-hover {
  position: relative;
  padding: 10px;
  font-size: 10pt;
  width: 200px;
  border-radius: 50px;
  color: #ffffff !important; /* White text */
  background-color: rgba(187, 159, 82, 0.8) !important; /* Hover background color */
  border: 2px solid rgba(187, 159, 82, 0.8) !important; /* Hover border color */
  outline: none;
  cursor: pointer;
  overflow: hidden;
  z-index: 1;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  transition: none; /* Disable hover transition */
  text-decoration:none;
}

/* Ensure no hover effects */
.always-hover:hover {
  color: #ffffff !important;
  background-color: rgba(187, 159, 82, 0.8) !important;
  border: 2px solid rgba(187, 159, 82, 0.8) !important;
}








.text-head {
position:absolute;
z-index: 100;
}








.home-showcase-text h1 {
  font-family: "Cormorant Garamond", serif;
  color: #bb9f52;
  padding-bottom: 20px;
}

.home-showcase-text p {
  font-family: "Noto Sans KR", sans-serif;
  color: #777777;
  padding-bottom: 20px;
}

.home-showcase-text {
  margin-top: 50px;; /* Reset margin */
}

/* New styles updated */
.home-content-wrapper {
  display: flex;
  align-items: flex-start;
  gap: 2rem;
  padding-top: 100px;
}

.home-content-text {
  flex: 1;
  padding-top: 0; /* Reset padding */
}

.home-content-image {
  flex: 1;
}

.home-content-image img {
  max-width: 100%;
  height: auto;
}

/* Mobile Image */
.home-mobile-image {
  display: none;
  width: 50%;
  margin: 0 auto;
}

/* Desktop Image */
.home-desktop-image {
  width: 100%;
  height: auto;
}






/* NEXT PREVIOUS BUTTONS AT THE BOTTOM OF PAGE */

/* Arrow Navigation Styles */
.nav-arrow {
    position: relative;
    height: 40px;
    width: auto;
    margin-bottom: 20px;
    opacity: 1;
    transition: opacity 0.3s ease;
}

.nav-arrow-left {
    margin-right: 40px;
}

.nav-arrow-right {
    margin-left: 40px;
}

/* Modified hover effects for arrows */
.link-text .nav-arrow {
    opacity: 1;
    transition: opacity 0.3s ease;
}

.link-text .nav-arrow-hover {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    pointer-events: none;
}

.link-text:hover .nav-arrow {
    opacity: 0;
}

.link-text:hover .nav-arrow-hover {
    opacity: 1;
}

/* Text Container Styles */
.text-container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.text-container .display-4 {
    line-height: 1.2;
}

/* Border Container */
.border-container {
    max-height: 300px;
}

/* Content Centering */
.center-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
    text-align: center;
}

/* Link Styles */
.link-text {
    font-family: "Cormorant Garamond", serif;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

.link-text:hover .h6,
.link-text:hover .display-4 {
    filter: brightness(1.2);
}

/* Korean Text Styles */
.kor-txt {
    margin-bottom: -10px !important;
}

.text-container .h6 {
    color: #777777;
    font-family: "Noto Sans KR", sans-serif;
}

/* Navigation Link Styles */
.pn-link {
    color: #bb9f52;
    font-size: 3.5em;
}



/*COMPANY PAGE*/



/* Add some space between the paragraph text and the h4 */
.icon-header-subtext h5 {
  color: #bb9f52;
  margin-top: 30px; /* Adjust the value */
}

/* Add space at the bottom of the text block */
.icon-header-subtext p {
  margin-top: 10px;  /* Adjust as needed */
  color: #777777 !important;  /* Force the color */
}











/*COMPANY ACCORDION */
.company-legal-title {
    max-width: 1200px;
    margin: 200px auto 20px;
    padding: 0 20px;
}

.company-legal-title h2 {
    color: #bb9f52;
    font-family: "Cormorant Garamond", serif;
    margin-left: 20px; /* Matches the container padding */

}

/* Main Content Layout */
.company-main-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    margin-bottom: 100px;
}

.company-content-wrapper {
    display: flex;
    justify-content: center;
    gap: 50px;
}

/* Accordion Styles */
.company-custom-accordion {
    flex: 0 1 500px;
}

.company-accordion-item {
    border-bottom: 1px solid rgba(0,0,0,.125);
}

.company-accordion-item:last-child {
    border-bottom: none;
}

.company-accordion-trigger {
    width: 100%;
    padding: 2.5rem 1rem;
    background: transparent;
    border: none;
    display: flex;
    align-items: center;
    color: #777777;
    font-size: 20px;
    cursor: pointer;
    position: relative;
    transition: color 0.3s ease;
}

.company-accordion-trigger:hover {
    color: #bb9f52;
}

.company-accordion-icon {
    width: 40px;
    height: 40px;
    margin-right: 30px;
}

.company-arrow {
    width: 20px;
    height: 20px;
    background-image: url('../img/buttons/accordion-open-close.png');
    background-size: contain;
    background-repeat: no-repeat;
    position: absolute;
    right: 20px;
    transition: transform 0.3s ease-in-out;
}

.company-accordion-trigger:hover .company-arrow {
    background-image: url('../img/buttons/accordion-open-close-hover.png');
}

.company-accordion-trigger[aria-expanded="true"] .company-arrow {
    transform: rotate(135deg);
}

/* Accordion Content Styles */
.company-accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    padding: 0 1rem;
}

.company-accordion-content.active {
    max-height: 500px;
    transition: max-height 0.5s ease-in;
}

.company-content-inner {
    padding: 20px 50px;
    transform: translateY(-10px);
    opacity: 0;
    transition: all 0.3s ease-out;
}

.company-accordion-content.active .company-content-inner {
    transform: translateY(0);
    opacity: 1;
}

/* Text Styles */
.company-accordion-trigger span,
.company-accordion-content p,
.company-content-inner p {
    color: #777;
}

.company-content-inner strong {
    color: #bb9f52;
    display: block;
    margin: 1rem 0;
}

.company-accordion-image-icon {
    width: 65px;
    height: 65px;
    object-fit: cover;
}

/* Side Image Styles */
.company-side-image {
    flex: 0 1 700px;
}

.company-side-image img {
    width: 75%;
    max-width: 100%;
    display: block;
    margin-left: auto;
    transform: translateY(-10%);
}

/* Focus States */
.company-accordion-trigger:focus {
    outline: none;
}

.company-accordion-trigger:focus-visible {
    outline: 2px solid #bb9f52;
    outline-offset: 2px;
}


/* Animation Helper Classes */
.company-fade-in {
    opacity: 0;
    animation: fadeIn 0.5s ease forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}












.image-container {
  display: flex;
  justify-content: flex-end;  /* Align the image to the right */
  align-items: flex-end;    /* Align the image to the top */
  height: 100%;               /* Take full height of its parent container */
}

.img-fluid {
  max-width: 100%;  /* Ensure the image is responsive */
}

/* Image styles for larger screens */
.image-container img {
  width: 75%; /* Adjust the size of the image */
  max-width: 100%; /* Ensure it doesn't overflow */
  display: block;
  margin: 0 auto;
  margin-top: -100px;
}




.location-header-text {
  padding-top:50px;
}
.location-header-text p{
  color: #bb9f52;
  font-family: "Noto Sans KR", sans-serif;
  font-size: 1em;
  margin-bottom:0;

}

.location-header-text h1{
  color: #777777;
  font-family: "Cormorant Garamond", serif;
  margin-bottom:0;
}

.embed-container {
  padding-top:50px;
  position: relative;
  width: 100%;
  height: 500px; /* Adjust height as needed */
}
iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.location-container {
  padding-bottom:100px;
}

.location-header-subtext {
  font-family: "Noto Sans KR", sans-serif;
}

.location-header-subtext h5 {
  font-family: "Noto Sans KR", sans-serif;
  color: #bb9f52;
  margin-top: 30px; /* Adjust the value */
}

/* Add space at the bottom of the text block */
.location-header-subtext p {
  font-weight:400;
  font-family: "Noto Sans KR", sans-serif;
  margin-top: 10px;  /* Adjust as needed */
  color: #777777 !important;  /* Force the color */
}

.location-header-subtext p strong{

  font-family: "Noto Sans KR", sans-serif;
  margin-top: 10px;  /* Adjust as needed */
  color: #777777 !important;  /* Force the color */
}






.contact-container {
  text-align: center;
}

.contact-container-border {
  padding-bottom: 150px;
}

.contact-header-subtext {
  font-family: "Noto Sans KR", sans-serif;
  text-align: center;
  padding-top: 30px;
}

.contact-header-subtext h5 {
  font-family: "Noto Sans KR", sans-serif;
  color: #bb9f52;
  margin-top: 20px;
}

.contact-header-subtext p {
  font-weight: 400;
  font-family: "Noto Sans KR", sans-serif;
  margin-top: 10px;
  color: #777777 !important;
}

.email-container {
    display: inline-block;
    text-align: center;
    transition: all 0.3s ease;
}

.email-container a {
    font-family: "Cormorant Garamond", serif;
    font-weight: 400;
    text-decoration: none;
    color: #777777;
    font-size: 1.8em;
    display: block;
    margin-bottom: 5px;
    padding-top: 20px;
}

.email-container:hover a {
    color: #bb9f52;
}

.mail-icon {
    width: 30px;
    height: 20px;
    cursor: pointer;
    display: block;
    margin: 0 auto;
}

.mail-icon img {
    height: 20px;
    width: 30px;
}

.email-container:hover .mail-icon img {
    content: url('../img/buttons/mail-hover.png');
}




/*EXPERTISE PAGE*/

.expertise-section-container {
margin-left: 100px;
height: auto;
min-height:80vh;
}

.expertise-header {

}

.expertise-sub-header {
color: #777777;
}

.expertise-showcase-text h1{
font-family: "Cormorant Garamond", serif;
color: #bb9f52;
padding-bottom:10px;
}

.expertise-showcase-text h4{
padding-bottom:10px;
}

.expertise-showcase-text p{
font-family: "Noto Sans KR", sans-serif;
color: #777777;
padding-bottom:20px;
}

.expertise-showcase-text {
margin-top: 160px;
margin-bottom:40px;
}

.expertise-bg {
object-fit: cover;
}

.icon-header-text {
padding-top:50px;
}
.icon-header-text p{
color: #bb9f52;
font-family: "Noto Sans KR", sans-serif;
font-size: 1em;
margin-bottom:0;

}

.icon-header-text h1{
color: #777777;
font-family: "Cormorant Garamond", serif;
margin-bottom:0;
}


.icon-content {
padding-top:50px;
}

.icon-text-content p{
color: #777777;
font-family: "Noto Sans KR", sans-serif;
font-size: 1em;
font-weight: 400;
max-width:360px;
margin-top:15px;
}



.icon-text-content h5{
font-weight: 500;
color: #777777;
margin-top:30px;
}











/* PARTNERS*/

.custom-partner-wrapper {
max-width: 1200px;
margin: 0 auto;
padding: 50px 50px 100px 50px;
font-family: "Noto Sans KR", sans-serif;
}

.custom-partner-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); /* Increased from 250px to 300px */
    gap: 30px;
    position: relative;
    row-gap: 30px;
}


.custom-partner-item {
    position: relative;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid #bb9f52;
    display: flex;
    flex-direction: column;
    padding: 20px;
    box-sizing: border-box;
    width: 100%;
    min-width: 300px; /* Added this line */
}



.custom-partner-item.dimmed {
filter: brightness(0.6);
transition: filter 0.3s ease;
}

.custom-partner-img-wrapper {
    position: relative;
    overflow: hidden;
    padding: 10px;
    box-sizing: border-box;
    width: 100%;
    aspect-ratio: 4.5/4; /* Adjusted to make width 50px more than height */
}

.custom-partner-img {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
object-fit: cover;
transition: transform 0.3s ease;
}

.custom-partner-item:hover .custom-partner-img {
transform: scale(1.1);
}

.custom-partner-title {
font-family: "Noto Sans KR", sans-serif;
font-size: 18px;
font-weight: bold;
margin: 10px 0 0 0;
padding: 0 10px;
color: #777;
transition: color 0.3s ease;
}

.custom-partner-item:hover .custom-partner-title {
color: #bb9f52;
}

.custom-partner-subtitle {
font-family: "Noto Sans KR", sans-serif;
font-size: 16px;
color: #666;
margin: 0;
padding: 0 10px;
}

.custom-partner-detail {
font-family: "Noto Sans KR", sans-serif;
font-size: 14px;
color: #888;
margin-top: 15px;
margin-bottom: 5px;
padding: 0 10px;
}

/* Info Panel Styles */
.info-panel-wrapper {
    grid-column: 1 / -1;
    overflow: visible;  /* Change from hidden to visible */
    height: auto;      /* Change from 0 to auto */
    transition: height 0.3s ease-in-out;
    position: relative;
    margin-bottom: 20px;
    padding-bottom: 20px;
}

.info-panel {
  font-family: "Noto Sans KR", sans-serif;
    background: #fff;
    border: 1px solid #bb9f52;
    border-radius: 8px;
    padding: 40px;
    position: relative;
    opacity: 0;
    transform: translateY(-20px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    margin-top: 20px;
    margin-bottom: 50px;
    z-index: 10;      /* Add z-index to ensure panel appears above other elements */
}

.info-panel.active {
opacity: 1;
transform: translateY(0);
}

.info-panel-arrow {
position: absolute;
top: -10px;
width: 20px;
height: 20px;
background: #fff;
border-left: 1px solid #bb9f52;
border-top: 1px solid #bb9f52;
transform: rotate(45deg);
transition: left 0.3s ease;
}

.info-panel h2 {
font-family: "Noto Sans KR", sans-serif;
color: #bb9f52;
margin: 0 0 5px 0;
font-size: 24px;
}

.info-panel .position-title {
font-family: "Noto Sans KR", sans-serif;
color: #777777;
font-size: 18px;
margin: 0 0 20px 0;
}

.info-panel p {
font-family: "Noto Sans KR", sans-serif;
color: #777777;
line-height: 1.6;
margin: 0;
}

.partner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.7);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    border-radius: 8px;
    z-index: 2; /* Added to ensure overlay appears above image */
}

.close-button {
position: absolute;
top: 15px;
right: 15px;
width: 30px;
height: 30px;
border: none;
background: none;
cursor: pointer;
}

.close-button::before,
.close-button::after {
content: '';
position: absolute;
width: 20px;
height: 2px;
background-color: #bb9f52;
top: 50%;
left: 50%;
}

.close-button::before {
transform: translate(-50%, -50%) rotate(45deg);
}

.close-button::after {
transform: translate(-50%, -50%) rotate(-45deg);
}



.custom-partner-item.selected {
border-color: #bb9f52;
z-index: 1;
}







/*ACHIEVEMENTS*/




/* Achievement Accordion Styles */
/* Achievement Accordion Styles */
.achievement-accordion {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.achievement-item {
    border: 1px solid rgba(0,0,0,.125);
    position: relative;
    z-index: 2;
}

.achievement-trigger {
    width: 100%;
    padding: 2rem;
    background: white;
    border: none;
    position: relative;
    overflow: visible;
    cursor: pointer;
    text-align: left;
    outline: none;
}

.achievement-trigger:focus {
    outline: none;
    box-shadow: none;
}

.achievement-trigger::after {
    content: '';
    background-image: url('../img/buttons/accordion-open-close.png');
    width: 20px;
    height: 20px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    position: absolute;
    right: 2rem;
    top: 1.8rem;
    transform: rotate(0deg);
    transition: transform 0.3s ease;
}

.achievement-trigger[aria-expanded="true"]::after {
    transform: rotate(135deg);
}

.achievement-preview {
    width: 100%;
    display: flex;
    align-items: flex-start;
}

.achievement-image {
    width: 200px;
    height: 300px;
    object-fit: cover;
    margin-left: 0;
    padding-left: 0;
}

.achievement-text {
    flex: 1;
    padding-right: 3rem;
    padding-top: 1rem;
    margin-left: 1.5rem;
}

.header-text {
    font-size: 24px;
    font-family: "Noto Sans KR", sans-serif;
    color: #777;
    margin-bottom: 0.5rem;
}

.subheader-text {
    font-size: 16px;
    font-family: "Noto Sans KR", sans-serif;
    color: #777;
    margin-bottom: 0.5rem;
}

.bottom-text {
    font-size: 14px;
    font-family: "Noto Sans KR", sans-serif;
    color: #777;
    margin-bottom: 0;
}

.achievement-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.achievement-content.active {
    max-height: 1000px;
    transition: max-height 0.5s ease-in;
}

.achievement-body {
    padding: 2rem;
}

.achievement-body p {
    font-family: "Noto Sans KR", sans-serif;
    font-weight: 400;
    font-size: 16px;
    color: #777;
    line-height: 1.6;
}

.accordion-content-text {
    font-family: "Noto Sans KR", sans-serif;
    font-weight: 400;
    font-size: 16px;
    color: #777;
    line-height: 1.6;
    text-align: left;
    margin-left: 15px;
}

.case-container {
    height: auto;
    min-height: 80vh;
    position: relative;
    z-index: 1;
    padding: 100px 20px;
}

/* Utility Classes */
.desktop-only {
    display: none;
}

.mobile-only {
    display: block;
}





/* FOOTER*/

.footer-logo {
border-color: #777777;
}

.footer-logo img {
width: 60px;
margin-top:50px;
margin-bottom:50px;
}

footer p{
  font-family: "Noto Sans KR", sans-serif !important;
  font-size:10pt;
  font-weight: 300;
  color:#777777;
  line-height:30px;
}

footer .footer-col-rt {
  background-color: white;
}
footer .footer-col-lf {
  background-color:white;
}

.bold {
color:#777777;
font-weight:500;
}

.copyright {
  color:#777777;
  font-size:8pt;
  padding-top: 20px;
  padding-bottom: 30px;
}

/* Updated footer link styles */
.footer-link {
    font-family: "Noto Sans KR", sans-serif !important;
    font-size: 10pt;
    color: #777777;
    text-decoration: none;
    font-weight: 300;
}

.footer-link:hover,
.footer-link:visited,
.footer-link:active {
    color: #777777;
    text-decoration: none;
}

/* Add this new style for the parent site paragraph */
.parent-site-text {
    line-height: 15px;
}





@media screen and (min-width: 1400px) {
  .element {
      /* Apply styles for large screens */
  }
}

/* Desktop and Tablet Landscape */
@media (max-width: 1024px) {
  .profile-cards {
      grid-template-columns: repeat(2, 1fr);
  }
}


@media screen and (max-width: 1000px) {
  .home-content-wrapper {
    flex-direction: column;
    padding-top: 0;
  }

  .home-content-image {
    order: -1;
    width: 100%;
  }

  .home-desktop-image {
    display: none;
  }

  .home-mobile-image {
    display: block;
  }

  .home-showcase-text {
    margin-top: 20px;
  }
}







@media screen and (max-width: 768px) {

  .home-company-btn {
     background-color: rgba(187, 159, 82, 0.8);
     color: white !important;
   }

   .btn.btn-outline-custom.custom-button.home-company-btn {
    background-color: rgba(187, 159, 82, 0.8) !important;
    color: white !important;
  }

    /* Legal Solutions Section */
    .legal-solutions-section .mobile-image {
        margin-bottom: 20px;
        margin-top: 20px;
    }

    .legal-solutions-section .mobile-container {
        padding-top: 30px;
        padding-left: 40px;
        padding-right: 40px;
        padding-bottom: 30px;
    }

    .legal-solutions-section.p-5 {
        padding: 0 !important;
        padding-bottom: 3rem !important;
    }

    .legal-solutions-section .showcase-text {
        margin-top: 0;
        padding-top: 0;
    }

    .legal-solutions-section h1 {
        text-align: center !important;
        margin-top: 0;
        padding-top: 0;
    }

    .legal-solutions-section .custom-button {
        display: block !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }

    .legal-solutions-section .text-left {
        text-align: center !important;
    }





/*COMPANY ACCORDION*/
.company-content-wrapper {
    flex-direction: column;
}

.company-side-image {
    display: none;
}

.company-custom-accordion {
    width: 100%;
}

.company-content-inner {
    padding: 20px 20px;
}

.company-accordion-trigger {
    padding: 1.5rem 0.5rem;
}









    /* Excellence Section */
    .excellence-section .mobile-image {
        margin-bottom: 20px;
        margin-top: 20px;
    }

    .excellence-section .mobile-container {
        padding-top: 30px;
        padding-left: 40px;
        padding-right: 40px;
        padding-bottom: 30px;
    }

    .excellence-section.p-5 {
        padding: 0 !important;
        padding-bottom: 3rem !important;
    }

    .excellence-section .showcase-text {
        margin-top: 0;
        padding-top: 0;
    }

    .excellence-section h1 {
        margin-top: 0;
        padding-top: 0;
        text-align: center !important;
    }

    .excellence-section .custom-button {
        display: block !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }

    .excellence-section .text-left {
        text-align: center !important;
    }

    .expertise-section-container {
        margin-left: 0;
    }

    .pn-link {
        font-size: 2em;
    }

    /*PARTNERS*/
    .custom-partner-wrapper {
        padding: 30px 30px 60px 30px;
    }

    .angle-bracket {
        font-size: 2rem;
        margin-right: 10px;
        margin-left: 10px;
    }


    /* Achievement Section */
    .achievement-preview {
    flex-direction: column;  /* Stack image and text vertically */
}

.achievement-trigger {
    padding: 1.5rem;
    position: relative;
}

.achievement-trigger::after {
    top: calc(100% - 45px);
    right: 1.5rem;
}

.achievement-image-container {
    height: 300px;
    overflow: hidden;
    position: relative;
    width: 100%;
}

.achievement-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
}

.achievement-text {
    padding-right: 2rem;
    width: 100%;
    margin-left: 0;
    margin-top: 1rem;  /* Add space between image and text */
}

.achievement-content {
    maxHeight: 0;
    overflow: hidden;
    transition: all 0.3s ease-out;
}


.achievement-content.active {
    overflow: hidden;
    transition: all 0.3s ease-out;
}

.case-container {
    height: auto;
    margin-bottom: 2rem;
}

.achievement-body {
    padding-bottom: 5rem;
}

    .container-fluid {
        position: relative;
        z-index: 0;
    }

    .footer-logo {
        text-align: center;
    }
}








/* Mobile Landscape */
@media (max-width: 640px) {
  .profile-cards {
      grid-template-columns: 1fr;
  }
}









/* Mobile Portrait */
@media screen and (max-width: 576px) {
  /* Navigation */

  .nav-arrow {
      height: 20px;
      margin-bottom: 10px;
  }

  .korean-text {
        font-size: 14px;
    }

    .english-text {
        font-size: 40px;
        top: -2px;
    }

    .home-showcase-text h1 {
      text-align: center;
    }

/*COMPANY*/
.company-custom-accordion {
    flex: 0 1 350px;
}
.company-main-content {
  margin-bottom:0;
}

.company-mobile-container {
  padding-left:20px !important;
  padding-right:20px !important;
}

.company-legal-title {
    margin: 100px auto 20px;
}

/*PARTNERS*/
.custom-partner-wrapper {
    padding: 20px 20px 40px 20px;
}

.custom-partner-item {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 15px;
    padding: 15px;
    height: 200px;
}

.custom-partner-img-wrapper {
    grid-row: 1 / span 3;
    height: 100%;
    aspect-ratio: unset;
    padding: 0;
}

.custom-partner-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
  z-index: 1; /* Added to ensure image stays below overlay */
}

.custom-partner-title {
    padding: 0;
    margin-top: 10px !important;
    line-height: 1;
}

.custom-partner-subtitle {
    padding: 0;
    margin-top: -10px !important;
    line-height: 1;
}

.custom-partner-detail {
    padding: 0;
    margin-top: auto;
    margin-bottom: 0;
}

.info-panel {
   margin-bottom: 40px; /* Reduce bottom margin */
}

.info-panel-wrapper {
   margin-bottom: 40px; /* Remove any additional spacing */
}
.custom-partner-item {
       display: grid;
       grid-template-columns: 120px 1fr;
       grid-template-rows: auto auto 1fr; /* Added explicit row template */
       gap: 15px;
       padding: 15px;
       height: 200px;
   }
   .custom-partner-title {
    padding: 0;
    margin: 0;
    line-height: 1.2;
    align-self: start; /* Align to start of grid cell */
}
.custom-partner-subtitle {
    padding: 0;
    margin: 0; /* Remove negative margin */
    line-height: 1.2;
    align-self: start; /* Align to start of grid cell */
}

.custom-partner-detail {
    padding: 0;
    margin-top: auto;
    margin-bottom: 0;
    align-self: end; /* Keep at bottom */
}

.partner-overlay {
        display: none;
    }




    /* Rest of your existing 576px media query styles */
    .kor-nav-text a {
        font-size: 4vw;
    }

  .kor-nav-text a {
      font-size: 4vw;
  }

  h1 a {
      font-size: 8vw;
  }

  .nav-wrap {
      margin-top: 80px;
      padding: 20px;
  }

  .toggle-button {
      padding: 30px 15px 0 30px;
  }

  /* Content */
  .content {
      position: absolute;
      text-align: center;
      padding: 0 50px;

  }

  .content h1 {
      font-size: 3em;
      color: #bb9f52;
  }

  .content p {
      font-family: "Noto Sans KR", sans-serif;
      font-weight: 300;
  }

  /* Footer */
  .copyright {
      font-size: 6pt;
      padding: 20px 20px 30px 20px;
  }

  footer p {
      font-size: 8pt;
      line-height: 25px;
      text-align: center;
  }

  .footer-logo {
      text-align: center;
  }

  .footer-padding {
      padding: 0 20px;
  }

  /* Links and Sections */
  .pn-link {
      font-size: 1.5em;
      color: #bb9f52;
  }

  .nav-arrow-left {
        margin-right: 15px; /* or your preferred spacing */
    }

    .nav-arrow-right {
        margin-left: 15px; /* or your preferred spacing */
    }

  .kor-txt {
  margin-bottom: 0px !important;
  font-size:1em;
  }

  .expertise-section-container {
      margin-left: 0;
      height: 70vh;
  }

  .expertise-text {
      font-size: 0.9em;
  }
}
