h1, h2, h3, h4 {
  font-family: 'Noto Sans KR', 'Noto Sans JP', 'Noto Sans SC', 'Noto Sans', sans-serif;
}
body, p {
  font-family: 'Noto Sans KR', 'Noto Sans JP', 'Noto Sans SC', 'Noto Sans', sans-serif;
}

#sticky-banner {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 500;
}

#language-switcher.dropdown {
  position: fixed;
  top: 2%;
  right: 2.5%;
  display: inline-block;
  z-index: 1000;
}
  

.dropbtn {
  background-color: transparent;
  border: none;
  padding: 4px 10px;
  font-size: 20px;
  cursor: pointer;
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
}

.dropbtn::after {
  content: "";
  display: inline-block;
  width: 18px;
  height: 18px;
  background-image: url('images/language.png'); /* or .png/.webp */
  background-size: contain;
  background-repeat: no-repeat;
}


.dropdown-content {
  display: none;
  position: absolute;
  background-color: #ffffff00;
  right: 0;
  width: min-content;
  z-index: 1001;
  overflow: hidden;
  border: none;
}
  
.dropdown-content button {
  width: 100%;
  padding: 8px;
  text-align: center;
  background: rgba(255, 255, 255, 0);
  cursor: pointer;
  font-size: 19px;
  border: none;
  outline: none;
  transition: text-shadow 0.3s ease;
}

.dropdown-content button:hover {
  text-shadow: 0 0 8px rgb(7, 76, 10);
} 

#language-switcher.show .dropdown-content {
  display: block;
}

.flag-icon {
  height: 17px;
  width: auto;
  transition: transform 0.2s ease, filter 0.2s ease;
}

.flag-icon:hover {
  transform: scale(1.1);
  filter: drop-shadow(0 0 5px #160364ed);
}

  /*display(flex=show, none=hidden)*/

#site-switcher {
  display: none;
  position: fixed;
  top: 2%;
  left: 2.5%;
  gap: 5px;
}
  
#site-switcher a {
  cursor: pointer;
}

#site-switcher a:hover img{
  filter: drop-shadow(0 0 12px rgb(123, 7, 7));
  transform: scale(1.05);
  transition: all 0.3s ease;
}
  


#banner {
  display: flex;
  align-items: center;
  background:
      linear-gradient(to bottom, rgba(95, 163, 240, 0.872) 0%, rgba(255, 255, 255, 0.142) 100%); 
  color: white;
  height: 35vh; 
}

#site-logo {
  width: 40vw; 
  height: auto;
  padding-left: 7%;
}


body {
  margin: 0px;
  padding: 0;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  overflow-y:auto;
  background-color: #ffffff;
  color: #444;
}

main {
  padding: 0 10% 0px;
}


.gt1 {
  background: linear-gradient(to right, #356678fd, #3885a1fd, #1a596efd, #116786d3);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  font-weight: bolder;
}

.gt2 {
  background: linear-gradient(to right, #72bdd45d, #9e44e8, #72bdd45d);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
} 

.gt3 {
  background: linear-gradient(to right,  #34dbb4, #2e97cc);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.gt4 {
  background: linear-gradient(to right, #458aad,  #1d3e67);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}  

.gt-line {
  border: none;
  height: 1.5px;
  background: linear-gradient(to right, #7bcbe358, #7666f295, #72bdd453);
  margin: 20px auto;
  border-radius: 1px;
}

.gt-nline {
  border: none;
  height: 1px;
  background: linear-gradient(to right, #ffffff00, #5ec4ec78, #867ffb53, #5ec4ec78, #ffffff00);
  margin: 20px auto;
  border-radius: 1px;
}


#nav-trigger {
  position: relative;
  height: 1px;
  margin-top: -1px; /* precisely aligned with nav-bar */
}

  
#nav-bar {
  position: sticky;
  z-index: 999;
  width: fit-content;
  max-width: 100%;
  margin: 32vh auto 0 auto;
  background-color: rgba(176, 212, 245, 0);
  border-radius: 10px;
  transition: 2.0s ease;
  padding-top: 7px;
  top: 2.5%;
}


#nav-bar.stuck {
  background-color: rgba(200, 221, 245, 0.677); 
  border-radius: 15px;
  box-shadow: 0 2px 6px rgba(23, 23, 190, 0.369);
  font-size: 0.95em;
}
 
#nav-bar nav a {
  background: linear-gradient(to right, #61aed4,  #4983c2,  #306080);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  margin: 0 15px;
  font-weight: bolder;
  transition: text-shadow 1s ease;
}


#nav-bar nav a:hover {
  text-shadow: 0 0 8px #49ed7564;
  transform: scale(1.15);
}

#nav-bar nav a.active {
  text-shadow: 0 0 12px #5ef1b49b;
  transform: scale(1.24);
}

main {
  flex: 1;
}

footer {
  position: static;
  bottom: 0;
  width: 100%;
  background: 
     linear-gradient(to top, rgba(115, 174, 241, 0.588) 0%, rgba(255, 255, 255, 0) 100%);
  text-align: center;
  padding: 0;
  box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.1);
}

#footer1 {
  position: relative;
}
    
#footer1::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  opacity: 0.4;
  z-index: 0;
}

    
#footer1::before {
  background-image: url("images/logo_icon.png");
}



#welcome-main {
  padding-top: 7vh;
}

#welcome-body1,
#welcome-body2,
#welcome-body3 {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  padding-bottom: 5vh;
}

#welcome-1 {
  flex:5;
  width: 60%;
  padding: 10px;
  text-align: center;
  box-sizing: border-box;
}

#welcome-2 {
  flex: 5;
  width: 40%;
  text-align: center;
  box-sizing: border-box;
  
}

#welcome-2 img{
  width: 90%;
  height: auto;
  box-shadow: 0 0 30px 15px rgba(255, 255, 255, 1);
  border-radius: 25px;
}



#welcome-3 {
  flex: 5;
  width: 40%;
  text-align: center;
  box-sizing: border-box;
}

#welcome-3 img {
  width: 75%;
  height: auto;
  box-shadow: 0 0 30px 15px rgba(255, 255, 255, 1);
  border-radius: 15px;
}

#welcome-4 {
  flex: 5;
  width: 60%;
  padding: 10px;
  text-align: center;
  box-sizing: border-box;
}


#welcome-5 {
  flex:5;
  width: 60%;
  padding: 10px;
  text-align: center;
  box-sizing: border-box;
}

#welcome-6 {
  flex: 5;
  width: 40%;
  text-align: center;
  box-sizing: border-box;
  
}

#welcome-6 img{
  width: 65%;
  height: auto;
  box-shadow: 0 0 30px 15px rgba(255, 255, 255, 1);
  border-radius: 15px;
}

#Partnership-link,
#contact-link {
  display: inline-block;
  transition: transform 0.2s;
}

#Partnership-link:hover,
#contact-link:hover {
  transform: scale(1.15);
}



#semi-footer {
    width:90%;
    padding: 0;
    margin: 0 auto;
}

#index_footer {

    width: 100%;
    height: auto;
}

/*about nav*/

#about-nav {
    display: flex;
    justify-content: center;
    gap: 20px;
}
#about-nav a {
    text-decoration: none;
    padding: 8px 26px;
    background-color: #708fe688;
    border: 1px solid #ccc;
    border-radius: 30px;
    cursor: pointer;
    font-weight: bold;
    color: rgb(245, 244, 248);
    display: block;
    width: auto;      
    min-width: 0;
    flex: 0 0 auto;
}


#about-nav a:visited,
#about-nav a:focus,
#about-nav a:active {
  color:rgb(74, 38, 203);
}

#about-nav a:hover {
    text-shadow: 0 0 11px rgba(233, 234, 234, 0.645);;
} 

#about-nav a.active {
    background-color: #4fa1e0b4;
    color: rgb(27, 82, 123);
    border-color: #4f86c1;
}
#dynamic-content {
    margin: 10px 35px;
    padding: 30px;
    border: none;
    border-radius: 5px;
    background-color: #caf4fc00;
}

.ourfield-box {
  display: flex;
}

.ourfield-box img {
  width: 50%;
  height: auto;
}




/*products*/
#category-navbar {
  display: flex;
  flex-wrap: wrap;
  gap: 2vw;
  margin: auto;
  justify-content: center;
  position: sticky;
  z-index: 200;
}

#category-navbar a {
  display: block; 
  text-decoration: none;
  color: #4670a5;
  font-weight: bold;
  padding: 7px 18px;
  background: linear-gradient(to right, rgba(200, 221, 245, 0.403), rgba(179, 208, 241, 0.677));
  border-radius: 20px;
  border: 1px solid #b0d6f5;
  transition: background 0.2s, color 0.2s;
  width: auto;      
  min-width: 0;
  flex: 0 0 auto;
}
#category-navbar a:hover {
  background: #225da6;
  color: #fff;
}

#category-navbar a:active {
  background: #225da6;
  color: #fff;
}


h3.gt4 {
  margin-left: 7vw;
}


#product-list .monitor-subcategory {
  margin-left: 10vw;
}



.product-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin: 4%;
    
}


.product-card {
  position: relative;
  border: 1px solid #ddd;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.153);
  transition: transform 0.2s;
  overflow: visible;
  width: 20%;            
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  margin: 1.5% 1.5%;
  
}


.image-container {
  width: 100%;
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.image-container img {
  max-width: 100%;
  max-height: 100%;     /* Limit vertical size */
  object-fit: contain;
  display: block;
}

.image-container img.slideshow {
  position: absolute;
  justify-content: center;
  top: 0;
  left: 0;
  right:0;
  
  margin: auto;
  max-width: 90%;
  max-height: 90%;
  object-fit: contain;
  opacity: 0;
  display: block;
  animation: fadeSlide infinite;
}


@keyframes fadeSlide {
  0%, 100% { opacity: 0; }
  10%, 40% { opacity: 1; }
}



.product-card h4, .product-card p {
  margin: 5px 10px;
  font-size: 14px;
  line-height: 1.3;
}

.pdf-btn {
  position: absolute;
  top: 6px;
  left: 6px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 10;
  padding: 2px;
  width: 30px;  /* Optional max size */
  height: 30px;
  display: none;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.image-container:hover .pdf-btn {
  display: flex; /* show on hover */
  align-items: center;
  justify-content: center;
}

.pdf-btn img {
  width: 18px;
  height: 18px;
  object-fit: contain;
  display: block;
  opacity: 0.75; 
}

.pdf-btn:hover img {
  opacity: 1;
  filter: drop-shadow(0 0 4px #ee0404);
}


.spec-overlay {
  position: absolute;
  top: 0;
  left: 0;
  background-color: rgba(101, 109, 124, 0.85);
  color: white;
  min-width: 100%;
  width: max-content;
  max-width: none;
  white-space: nowrap;
  opacity: 0;
  overflow-y: auto;
  padding: 10px;
  box-sizing: border-box;
  transition: opacity 0.3s ease;
  font-size: 12px;
  z-index: 2;
  pointer-events: none;
}



.spec-overlay td:nth-child(1) {
  background-color: #bcbcbe86;   /* first column background */
  color: #030303;              /* first column text color */
  font-weight: bolder;
}

.spec-overlay td:nth-child(2) {
  background-color: #ffffffac;   /* second column background */
  color: #070707;              /* second column text color */
}

.spec-overlay table tr:first-child td {
  color: #070707; 
  font-weight: bolder;
}
  

.product-card:hover .spec-overlay{
    opacity: 1;
}

.spec-overlay table {
    width: 100%;
    border-collapse: collapse;
}

.spec-overlay td {
    padding: 4px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.product-card img {
    width: 100%;
    height: auto;
    border-bottom: 1px solid #f0ecec;
}

.product-card p {
    margin: 10px;
    padding: 0;
}



#ESG-E, #ESG-S, #ESG-G, #CoEB, #CaM, #FG{
    position: relative;
}


#ESG-E::before,
#ESG-S::before,
#ESG-G::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  opacity: 0.5; /* specific to CoE */
  z-index: 0;
}

#partnership{
  position: relative;
}
#partnership::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  opacity: 0.2;
  z-index: 0;
}
#partnership::before {
  background-image: url("images/partnership1.png")
}

#CoEB::before,
#CaM::before,
#FG::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-repeat: no-repeat;
  background-position: 40% center;
  background-size: contain;
  opacity: 0.3; /* specific to CoE */
  z-index: 0;
}

#ESG-E::before {
  background-image: url("images/environmental.png");
}

#ESG-S::before {
  background-image: url("images/social.png");
}

#ESG-G::before {
  background-image: url("images/governance.png");
}

#CoEB::before {
  background-image: url("images/CoE.png");
}

#CaM::before {
  background-image: url("images/CaM.png");
}

#FG::before {
  background-image: url("images/FG.png");
}

#CoE ul,c
#ESG-E ul,
#ESG-S ul,
#ESG-G ul {
  position: relative;
  z-index: 1;
}

#contact-body3 {
  display: flex;
  border: 3px dashed rgba(128, 165, 213, 0.468);
  border-radius: 16px;
  padding: 2% 2%;  
  gap: 3%;  
}

#contact-body4 {
  flex: 1 1 0;
  min-width: 160px; 
  display: flex;
  align-items: center;
  border: 5px dotted rgba(90, 113, 242, 0.392);
  border-radius: 16px;
  padding: 2%;
  position: relative;
}

#contact-body5 {
  flex: 2 1 0;
  min-width: 280px; 
  display: flex;
  align-items: center; 
}

.map-container {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: 14px; 
  box-shadow: 0 2px 10px rgba(30,60,90,0.1); 
} 

.map-container iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%; 
  height: 100%;
  border: none;
  border-radius: 14px; /* matches container */
}


#contact-body {
    display: flex;
    flex-wrap: wrap; 
    border: 3px dashed rgba(128, 165, 213, 0.468);
    border-radius: 16px;
    padding: 2% 2%;  
    gap: 3%;
}


#contact-body1,
#contact-body2 {
  flex: 1 1 0;
}

#contact-body1 {
  padding: 2%; 
}

#contact-body2 {
  display: flex;
  flex-direction: column;      
  justify-content: center;     
  position: relative;
  border: 5px dotted rgba(90, 113, 242, 0.392);
  border-radius: 16px;
  padding: 2%;
}

#contact-body4,
#contact-body2 {
  height: fit-content;
}

#contact-body4::before,
#contact-body2::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  opacity: 0.2;
  z-index: 0;
}

#contact-body2::before {
  background-image: url("images/contact.png")
}

#contact-body4::before {
  background-image: url("images/findus.png")
}




#toTopBtn {
  position: fixed;
  right: 3vw;
  bottom: 3vh;
  background: none;
  border: none;
  padding: 0;
  margin: 0;
  z-index: 9999;
  cursor: pointer;
}

#toTopBtn img {
  width: 50px;
  height: auto;
  display: block;
  opacity: 0.7;
}



@media (max-width: 768px) {

  main {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  #site-logo {
    width: 70vw;
    height: auto;
    padding-left: 4%;
  }

  #banner {
    display: flex;
    align-items: center;
    background:
        linear-gradient(to bottom, rgba(95, 163, 240, 0.872) 0%, rgba(255, 255, 255, 0.142) 100%); 
    color: white;
    height: 18vh; 

  }

  #nav-bar{
    margin-top: 20vh;
    position: sticky;
    top: 1vh;
  }

  #nav-bar nav a {
    background: linear-gradient(to right, #61aed4,  #4983c2,  #306080);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
    margin: 0 10px;
    font-weight: bold;
    transition: text-shadow 1 ease;
  }

  #nav-bar nav hr {
    margin-bottom: 0vh;
  }
  
  
  #nav-bar nav a:hover {
    text-shadow: 0 0 8px #49ed7564;
    transform: scale(1.07);
  }
  
  #nav-bar nav a.active {
    text-shadow: 0 0 12px #5ef1b49b;
    transform: scale(1.1);
  }


  #product-list .monitor-subcategory,
  h3.gt4 {
    margin: 1.5vh 0;
  }
  
  

  #category-navbar{
    position: sticky;
    top: 5vh;
  }
  #welcome-main {
    margin-top: 10vh;
  }

  #welcome-1,
  #welcome-2,
  #welcome-3,
  #welcome-4,
  #welcome-5,
  #welcome-6 {
    flex: 100%;
    width: 100%;
  }

  #welcome-2 {
    order: 1;
  }

  #welcome-1 {
    order: 2;
  }

  #welcome-3 {
    order: 3;
  }

  #welcome-4 {
    order: 4;
  }
  #welcome-5 {
    order: 6;
  }

  #welcome-6 {
    order: 5;
  }
  #welcome-2 img,
  #welcome-3 img,
  #welcome-6 img {
    width: 70%;
    max-width: 100%;
  }

  #ESG-form {
    Flex-direction: column;
    gap: 15px;
    align-items: stretch;
  }

  #ESG-form > div {
    width: 100% !important; 
    margin-bottom: 10px;
    text-align: left;
  }

  .gt-line {
    margin-left: auto !important;
    margin-right: auto !important;
    width: 80% !important;
  }

  .gt-nline {
    margin-top: 7px !important;
  }

  .map-container {
    padding-bottom: 65%; /* makes it a bit taller for narrow screens */
    border-radius: 8px;
  }
  .map-container iframe {
    border-radius: 8px;
  }

  
  #dynamic-content {
    margin: 5px;
    padding: 5px;
  }
  
    
  .ourfield-box {
    flex-direction: column;
  }
  .ourfield-box img {
    width:100%;
    height: auto;
    max-width: 100%;
  }

  #category-navbar a {
    padding: 2px 4px;
  }


  .product-card {
    width: 33%;
          
  }
  .spec-overlay {
    display: none !important;
  }

  #contact-body3 {
    flex-direction: column;
    gap: 1vh;
    margin: 0 2vw;
    padding: 2vw;
  }

  #contact-body4, #contact-body5 {
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
    justify-content: center;
  }




  #contact-body {
    display: flex;
    flex-direction: column;
    margin: 0;
    padding: 2vw 2vw;
  }

  #contact-body1,
  #contact-body2 {
    padding-left: 0;
    padding-right: 0;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;     
    box-sizing: border-box;
    text-align: center;
  }



}

@media (min-width: 2000px) {
  /* Layout the three columns side by side */
 
  main {
    font-size: 1.4em;
  }



  #nav-bar{
    margin-top: 28vh;
  }

  #welcome-main {
    padding: 6vh 0;
  }

  #welcome-body1,
  #welcome-body2,
  #welcome-body3 {
    float: left;
    width: 33.3333%;
    box-sizing: border-box;
    display: block !important;
    padding: 0 2vw;
 
  }

  #welcome-body1 > #welcome-1,
  #welcome-body1 > #welcome-2,
  #welcome-body2 > #welcome-3,
  #welcome-body2 > #welcome-4,
  #welcome-body3 > #welcome-5,
  #welcome-body3 > #welcome-6 {
    width: 100%;
    float: none;
    display: block;
    box-sizing: border-box;
    margin-bottom: 2vw;
  }

  #welcome-2 img,
  #welcome-3 img,
  #welcome-6 img {
    width: 80%;
    max-width: 100%;
  }
  .product-card {
    width: 15%;          
  }




#contact-body,
#contact-body3 {
  align-items: center;
  padding: 2% 5%;
}

  
}

@media (orientation: portrait) {
  

  #banner {
    padding-top: 5vh;
    height: 18vh;
  }

  #nav-bar {
    margin-top: 25vh;
  }

  #welcome-main {
    padding-top: 4vh;
  }
}

