/**
 * Custom CSS 
 * This file contains the custom styles for the website.
 * oom_cpsk
*/

/* Header */
#header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
}
.header {
  width: 90%;
  max-width: 1728px;
  margin: 0 auto;
  margin-top: var(--spacing-md);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--spacing-xs) var(--spacing-lg);
  background-color: var(--transperance-white-color);
  color: var(--text-color);
  border-radius: 60px;
  box-shadow: 0px 2px 10px 0px #0000001a;
}
.header__logo__img {
  max-width: 159px;
}
.header__nav ul.main-menu {
  display: flex;
  list-style: none;
  gap: var(--spacing-lg);
  padding-left: 0;
}
.header__nav ul li {
  margin-bottom: 0;
}
.header__nav ul li a,
.header__mobile-nav ul li a {
  font-size: 16px;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--link-color);
  position: relative;
}
.header__nav ul li a:before {
  content: "";
  width: 0;
  height: 2px;
  background: var(--link-hover-color);
  position: absolute;
  bottom: -2px;
  left: 0;
  transition: 0.3s;
}
.header__nav ul li a:hover,
.header__nav ul li a.active,
.header__mobile-nav ul li a:hover,
.header__mobile-nav ul li a.active {
  color: var(--link-hover-color);
}
.header__nav ul li a:hover:before,
.header__nav ul li a.active:before,
.header__mobile-nav ul li a:hover:before,
.header__mobile-nav ul li a.active:before {
  width: 100%;
}
.header__mobile-nav {
  display: none;
}
.header__mobile-nav.active {
  display: block;
  animation: slideInLeft 0.3s ease-out;
}
.header__mobile-nav {
  position: absolute;
  width: 100%;
  background: #ffffff;
  left: 0;
  top: 0;
  padding: var(--spacing-md);
  padding-top: var(--spacing-lg);
  min-height: 100vh;
  transition: 0.3s;
}
.header__mobile-nav ul {
  padding-left: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
}
.header__hamburger {
  cursor: pointer;
  z-index: 1;
}
.header__hamburger span {
  display: block;
  width: 30px;
  height: 2px;
  background-color: var(--text-color);
  margin: 6px 0;
  transition: 0.4s;
}
.header__hamburger.active span:nth-child(1) {
  transform: rotate(-45deg) translate(-5px, 6px);
}
.header__hamburger.active span:nth-child(2) {
  opacity: 0;
}
.header__hamburger.active span:nth-child(3) {
  transform: rotate(45deg) translate(-5px, -6px);
}
/* Submenu styles */
.has-submenu {
  position: relative;
}

.submenu {
  display: none;
  position: fixed;
  padding-top: 32px;
  min-width: 255px;
}
.submenu-lists {
  background: white;
  list-style: none;
  padding: var(--spacing-1) 0;
  box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.1);
  border-radius: 5px;
}

.submenu li {
  padding: 8px 15px;
}

.submenu li a {
  color: var(--text-color);
  text-decoration: none;
  display: block;
  font-size: var(--font-size-base);
}

.has-submenu:hover .submenu {
  display: block;
}

/* Child Menu */
li.has-childmenu {
  position: relative;
}
.child-menu-wrapper {
  position: absolute;
  left: 100%;
  min-width: 300px;
  top: -8px;
  padding: 10px 5px;
  display: none;
}
.child-lists {
  padding: 10px;
  background: var(--white-color);
  border-radius: 8px;
}
.child-lists li {
  background: var(--white-color);
  padding: 8px 10px;
}
li.has-childmenu:hover .child-menu-wrapper {
  display: block;
}

/* For mobile dropdown toggle */
.has-submenu .submenu-toggle {
  display: none;
  cursor: pointer;
  padding-left: 10px;
}
@media (max-width: 1600px) {
  .header__nav ul {
    gap: var(--spacing-md) !important;
  }
}
@media (max-width: 1440px) {
  .header__logo__img {
    max-width: 105px;
  }
  .header__nav ul li a {
    font-size: 16px;
  }
}
@media (max-width: 1024px) {
  .header {
    width: 100%;
  }
  #header {
    padding-left: var(--spacing-md);
    padding-right: var(--spacing-md);
  }
  .submenu {
    position: static;
    display: none;
    background: none;
    box-shadow: none;
    padding: 0;
  }

  .has-submenu {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .has-submenu .submenu-toggle {
    display: block;
    font-size: 18px;
    font-weight: bold;
  }

  .submenu.active {
    display: block;
  }
}
@media (max-width: 767px) {
  #header {
    position: sticky;
    top: 0;
    padding: 0;
  }
  .header {
    width: 100%;
    margin-top: 0;
    border-radius: 0;
    padding: var(--spacing-xs);
    padding-right: var(--spacing-md);
  }
}
/* Slide-in from left animation */
@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-100%);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
#menu {
  display: none;
}
@media (max-width: 1024px) {
  #menu {
    display: block;
  }
}
/* Header End */

/* General Style Start */
.banner {
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
  aspect-ratio: 3.6/1;
  object-fit: cover;
  position: relative;
  display: flex;
  align-items: center;
}
.banner:before {
  content: "";
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    rgba(34, 34, 34, 0.5) 0%,
    rgba(34, 34, 34, 0) 50%
  );
  position: absolute;
  left: 0;
  top: 0;
}
.banner-content {
  z-index: 1;
  position: relative;
}
.tabs-wrapper {
  overflow-x: scroll;
  white-space: nowrap;
  min-height: 90px;
  display: flex;
  align-items: center;
}

.tabs {
  position: relative;
  display: flex;
  align-items: center;
}

.tabs:before {
  content: "";
  width: 100%;
  height: 100%;
  background-color: #939291;
  position: absolute;
  border-radius: 80px;
}

.tab {
  padding: var(--spacing-2);
  cursor: pointer;
  transition: color 0.3s ease;
  flex-grow: 1;
  text-align: center;
  width: 100%;
  font-family: var(--heading-font-family);
  font-size: 16px;
  color: var(--white-color);
  text-transform: capitalize;
  z-index: 1;
  font-weight: 500;
}

.indicator {
  position: absolute;
  top: -15%;
  height: 130%;
  background: #3e3e3e;
  transition: all 0.3s ease;
  border-radius: 80px;
}
.tab-content {
  display: none;
}
.tab-content.active {
  display: block;
}
@media (max-width: 1440px) {
  .indicator {
    top: -10%;
    height: 120%;
  }
}

/* Loader Wrapper */
.loader-wrapper {
  display: none;
  text-align: center;
  margin-top: 10px;
}

/* Spinner */
.loader {
  width: 30px;
  height: 30px;
  border: 4px solid rgba(0, 0, 0, 0.1);
  border-left-color: var(--primary-color); /* Change color as needed */
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: auto;
}

/* Spinner Animation */
@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
@media (max-width: 1024px) {
  .indicator,
  .tabs,
  .tabs:before {
    border-radius: 20px;
  }
}
@media (max-width: 767px) {
  .tabs {
    border-radius: 15px;
  }
  .tab {
    font-size: 14px;
  }
  .indicator,
  .tabs {
    border-radius: 15px;
    top: -10%;
    height: 120%;
  }
}
/* General Style End */

/* Home Page Start */
/* Hero */
.hero-section {
  position: relative;
  width: 100%;
  height: 100%;
}
.hero-section:before {
  content: "";
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, #ffffff 100%);
  display: block;
  position: absolute;
  bottom: 0;
  left: 0;
  z-index: 2;
}
.hero-section iframe {
  width: 100%;
  height: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  position: relative;
  z-index: 1;
}
.hero-title {
  font-size: var(--font-xl);
}
.scroll-down-button-wrapper {
  position: absolute;
  bottom: 126px;
  left: 0;
  width: 100%;
  z-index: 3;
  display: flex;
  justify-content: center;
  align-items: center;
}
.scroll-down-button {
  width: 36px;
  height: 64px;
  display: block;
  border: 2px solid var(--primary-color);
  border-radius: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.scroll-down-button::after {
  content: "↓";
  display: inline-block;
  animation: bounce 1.5s infinite;
  color: var(--primary-color);
}
@keyframes bounce {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(10px);
  }
}
@media (max-width: 1440px) {
  .scroll-down-button-wrapper {
    bottom: 50px;
  }
}
@media (max-width: 1023px) {
  .hero-section .scroll-down-button {
    width: 26px;
    height: 44px;
  }
}
@media (max-width: 1023px) {
  .scroll-down-button-wrapper {
    bottom: 20px;
  }
}
@media (max-width: 767px) {
  .how-are-we-different h1.hero-title,
  .icon-box-wrapper {
    text-align: center;
  }
  .how-are-we-different .d-flex {
    flex-direction: column;
  }
  .icon-box-wrapper {
    justify-content: center;
  }
  .hero-section iframe {
    aspect-ratio: 4/2.2;
  }
}
/* Hero End */

/* How Are We Different */
@media (min-width: 1441px) {
  .how-are-we-different {
    padding: 140px 0;
  }
  .icon-box-content {
    max-width: 380px !important;
  }
}
@media (min-width: 1025px) {
  .icon-box-content {
    max-width: 307px;
  }
}
@media (max-width: 767px) {
  .how-are-we-different h1 {
    text-align: center;
  }
  .icon-box-wrapper.border-left {
    border: unset;
  }
}
/* How Are We Different End */

/* About Epson Start */
.inside-epson {
  background-image: url("../images/inside-epson-white-bg.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
  position: relative;
}
.inside-epson::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, #ffffff 0%, rgba(255, 255, 255, 0) 45%),
    linear-gradient(0deg, #ffffff 0%, rgba(255, 255, 255, 0) 38%);
}
.about-epson-content-wrapper {
  max-width: 440px;
}
.about-epson-img {
  border-radius: 24px;
  max-width: 500px;
}

@media (min-width: 1441) {
  .about-epson-content-wrapper {
    max-width: 520px;
  }
}
@media (max-width: 1440px) {
  .about-epson-img {
    max-width: 365px;
  }
}
@media (max-width: 767px) {
  .inside-epson .text-right {
    text-align: center;
  }
  .about-epson-content-wrapper {
    margin: 0 auto;
    text-align: center;
  }
}
/* About Epson End */

/* Awards Icon Lists */
.lightbox {
  display: none;
  position: fixed;
  z-index: 999;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  justify-content: center;
  align-items: center;
}

.lightbox img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 8px;
  animation: zoomin 0.2s ease-in-out;
}

.lightbox-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 3rem;
  color: white;
  cursor: pointer;
  user-select: none;
  z-index: 10000;
  padding: 1rem;
}

.lightbox-prev {
  left: 10px;
}

.lightbox-next {
  right: 10px;
}

@keyframes zoomin {
  0% {
    opacity: 0;
    transform: scale(0.8);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

.epson-awards-wrapper {
  gap: 0;
  text-align: center;
  justify-content: center;
  row-gap: 20px;
}
.award-item {
  width: 16.666%;
  padding: 10px;
}
.award-image {
  height: 200px;
  object-fit: contain;
  width: 100%;
  display: block;
}
.award-title {
  font-size: inherit;
  color: var(--primary-color);
}

@media (max-width: 1024px) {
  .award-item {
    width: 33.33%;
  }
  .award-image {
    height: 200px;
  }

  .lightbox img {
    max-width: 80%;
    max-height: 80%;
  }
}

@media (max-width: 767px) {
  .award-image {
    height: 100px;
  }

  .lightbox-arrow {
    top: 90%;
  }
}

/* Awards Icon End */

/* Our Capabilities */
.our-capabilities-banner {
  background-image: url("../images/our-capabilities-banner.webp");
}

.microfabrication-banner {
  background-image: url("../images/microfac-img1.png");
}

.photolithography-banner {
  background-image: url("../images/photolithography-banner.webp");
}

/* Our Services */
.our-services-banner {
  background-image: url("../images/our-services-banner.png");
  background-position: center -50px;
}

/* Our Solutions */
.our-solutions-container {
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
  position: relative;
}
.our-solutions-container::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, #ffffff 0%, rgba(255, 255, 255, 0) 45%),
    linear-gradient(0deg, #ffffff 0%, rgba(255, 255, 255, 0) 38%);
  z-index: 2;
}
#our-solutions .background-panel {
  position: absolute;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  z-index: 1;
  opacity: 0;
  transition: opacity 2s ease;
}
.suoution-grid {
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, 1fr);
  z-index: 3;
  position: relative;
}
.solution-item:nth-child(1),
.solution-item:nth-child(2),
.solution-item:nth-child(4),
.solution-item:nth-child(5) {
  border-right: 1px solid #cbcee1;
}
.solution-item:hover {
  background-color: #ffffffa3;
}
.solution-item:hover .solution-item-title {
  color: #000000;
}
.grid-container {
  position: relative;
}
.grid-container:before {
  content: "";
  width: 100%;
  height: 1px;
  background: #cbcee1;
  position: absolute;
  left: 0;
  top: 50%;
  display: block;
}
.learn-more-btn {
  color: var(--primary-color);
}
.learn-more-btn img {
  margin-left: 5px;
}
@media (max-width: 1024px) {
  .our-solutions .heading br {
    display: none;
  }
  .grid-container:before {
    display: none;
  }
  .suoution-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .solution-item {
    border-right: unset;
    border-bottom: 1px solid #cbcee1;
  }
  .solution-item:nth-child(3) {
    border-right: 1px solid #cbcee1;
  }
  .solution-item:nth-child(2),
  .solution-item:nth-child(4) {
    border-right: unset;
  }
  .solution-item:nth-child(5),
  .solution-item:nth-child(6) {
    border-bottom: unset;
  }
}
@media (max-width: 768px) {
  .suoution-grid {
    grid-template-columns: repeat(1, 1fr);
    text-align: center;
  }
  .solution-item,
  .solution-item:nth-child(5) {
    border-right: unset;
    border-bottom: 1px solid #cbcee1;
  }
  .solution-item:nth-child(3) {
    border-right: unset;
  }
  .solution-item:nth-child(1),
  .solution-item:nth-child(2),
  .solution-item:nth-child(4),
  .solution-item:nth-child(5) {
    border-right: unset;
  }
  .solution-item:last-child {
    border-bottom: unset;
  }
}
/* Our Solutions End */

/* Career */
.careers-page {
  background: linear-gradient(180deg, #ffffff 0%, #faf9f6 50%);
}
.careers-banner {
  background-image: url("../images/careers-banner.webp");
}
.career-section {
  background-image: url("../images/career-bg.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
  position: relative;
}
.career-heading {
  font-weight: 500;
}

.contact-us-here {
  background-image: url("../images/home-careers.webp");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
  position: relative;
  z-index: 0;
}

.contact-us-here::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5); /* adjust opacity as needed */
  z-index: 1;
}

.contact-us-here > * {
  position: relative;
  z-index: 2;
}

.career-contents {
  max-width: 850px;
  z-index: 1;
}
.career-section:before {
  content: "";
  width: 100%;
  height: 100%;
  background-image: url("../images/white-transperance-circle.svg");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  position: absolute;
  top: 0;
  left: 0;
}
.home-careers:before {
  content: "";
  width: 40%;
  height: 35%;
  background: #10218b;
  position: absolute;
  left: 0;
  top: 23%;
}

.home-careers {
  position: relative;
}
@media (max-width: 1024px) {
  .career-contents {
    max-width: 570px;
  }
  .career-gap {
    gap: 20px;
  }
  .home-careers:before {
    height: 150px;
    top: 80px;
  }
}
@media (min-width: 768px) {
  .apply-job-btn {
    position: absolute;
    top: 0;
    right: 0;
  }
}
@media (max-width: 767px) {
  .home-careers:before {
    top: 65px;
  }
}
/* Career End*/

/* News & Events Slider */
.news-events-slider .swiper-slide {
  transition: 0.3s;
}
.news-events-slider {
  margin-left: -700px;
}

.news-events-slider .news-slide-item {
  width: 100%;
  height: 400px;
  display: block;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  border-radius: 24px;
  position: relative;
  overflow: hidden;
}
.news-events-slider .news-slide-item:before {
  content: "";
  background: linear-gradient(
    180deg,
    rgba(16, 33, 139, 0) 0%,
    rgba(16, 33, 139, 0.8) 60.17%
  );
  position: absolute;
  width: 100%;
  height: 100%;
  z-index: 0;
}
.news-events-slider a.post-wrapper {
  position: absolute;
  width: 100%;
  height: 100%;
  z-index: 2;
}
.news-events-slider .post-details {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  position: relative;
  z-index: 1;
}
#single-post-container .category,
.news-events-slider .category {
  background-color: #4486ff;
}
.news-events-slider .category {
  padding: 8px;
  width: 85px;
  border-radius: 24px;
  text-align: center;
  display: inline-block;
  position: absolute;
  top: 20px;
  font-size: 12px;
}
.news-events-slider .post-details h3 {
  overflow: hidden;
  display: block;
  -webkit-line-clamp: 2;
  display: box;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  text-overflow: ellipsis;
  white-space: normal;
}
.news-events-slider .post-desc {
  overflow: hidden;
  display: block;
  -webkit-line-clamp: 3;
  display: box;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  text-overflow: ellipsis;
  white-space: normal;
}
.news-events-slider .post-link {
  font-size: 16px;
}
@media (min-width: 1441px) {
  .news-events-slider {
    margin-left: -700px !important;
  }
  .news-events-slider .swiper-slide.swiper-slide-active {
    width: 700px !important;
  }
}
@media (max-width: 1440px) {
  .news-events-slider {
    margin-left: -500px !important;
  }
  .news-events-slider .news-slide-item {
    height: 350px;
  }
}
@media (max-width: 1023px) {
  .news-events-slider {
    margin-left: -240px !important;
  }
}
@media (min-width: 769px) {
  .news-events-slider .swiper-slide.swiper-slide-active {
    width: 700px !important;
  }
}
@media (max-width: 768px) {
  .news-events-slider {
    padding: 20px;
    margin-left: 0px !important;
  }
}

/* News & Events Slider End */
/* Home Page End */

/* Company Profile Page Start */
/* Banner */
.company-profile-banner {
  background-image: url("../images/company-profile-banner.webp");
}
/* Banner End */

/* Our Expertise */
.our-expertise-heading {
  max-width: 780px;
  margin-left: auto;
  margin-right: auto;
}
.counter-number span {
  font-family: var(--heading-font-family);
}
.counter-number .shadow {
  font-size: var(--counter-font-lg);
  color: #222222;
  opacity: 0.1;
}
.counter-number .number {
  font-size: var(--counter-font-sm);
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
}
/* Our Expertise End */

.history-thumb-slider-main {
  position: relative;
}
.history-thumb-slider-main:before {
  content: "";
  width: 100%;
  height: 80%;
  top: 8px;
  left: 0;
  position: absolute;
  background: #939291;
  border-radius: 80px;
}

.history-thumb-slider .swiper-slide {
  padding: 25px 20px;
  cursor: pointer;
  transition: color 0.3s ease;
  flex-grow: 1;
  text-align: center;
  width: 100%;
  font-family: var(--heading-font-family);
  font-size: var(--font-sm);
  color: var(--white-color);
  text-transform: uppercase;
  z-index: 1;
  font-weight: 700;
  border-radius: 50px;
}
.history-thumb-slider .swiper-slide-thumb-active {
  background-color: #3e3e3e;
}
.history-bg {
  background-image: url("../images/small-plant-growing-soil-with-sun-it.webp");
  position: relative;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
}
.history-bg:before {
  content: "";
  width: 100%;
  height: 100%;
  position: absolute;
  bottom: 0;
  left: 0;
  background: linear-gradient(
    180deg,
    rgb(255 255 255 / 0%) 44%,
    rgba(255, 255, 255, 1) 100%
  );
}
span.slide-year {
  font-size: clamp(8.125rem, 5.9243rem + 7.0423vw, 14.375rem);
  font-family: var(--heading-font-family);
  font-weight: bold;
  color: var(--secondary-color);
  opacity: 0.5;
  display: block;
  margin-bottom: -115px;
}
.swiper-button-prev:after,
.swiper-rtl .swiper-button-next:after,
.swiper-button-next:after,
.swiper-rtl .swiper-button-prev:after {
  display: none;
}
.history-slider .mySwiper2 .swiper-wrapper {
  z-index: 1;
}
.slide-actions {
  z-index: 99 !important;
}
.history-btn {
  display: flex;
  min-width: 150px;
  border: 2px solid var(--primary-color);
  border-radius: 50px;
  padding: 25px;
  top: unset !important;
  bottom: 30px;
  color: var(--white-color);
  background-color: var(--primary-color);
}
.history-btn:hover {
  background-color: #151e5c;
}
.history-bg img {
  filter: brightness(0) invert(1);
}
.history-btn.swiper-button-disabled {
  opacity: 1 !important;
  background-color: transparent !important;
  color: var(--primary-color) !important;
}
.history-bg .swiper-button-disabled img {
  filter: unset !important;
}
.swiper-button-prev.history-btn {
  left: unset !important;
  right: 180px;
}

@media (min-width: 768px) {
  .slide-item {
    max-width: 50%;
  }
}
@media (max-width: 767px) {
  span.slide-year {
    margin-bottom: -75px;
  }
  .history-thumb-slider .swiper-slide {
    padding: 15px 20px;
    border-radius: 15px;
  }
  .history-thumb-slider-main:before {
    top: 5px;
    border-radius: 15px;
  }
  .history-bg .slide-actions {
    position: absolute;
    bottom: 0;
    display: flex;
    gap: 20px;
    justify-content: center;
    width: 100%;
  }
  .history-btn {
    bottom: 0;
    right: unset !important;
    left: unset !important;
    position: relative;
  }
  .history-bg .mySwiper2 {
    padding-bottom: 80px;
  }
}

/* Company Profile Page End */

/* CSR Page */
.csr-banner {
  background-image: url("../images/csr-banner.webp");
}
.eco-site img {
  aspect-ratio: 1/1.22;
  object-fit: cover;
  border-radius: 24px;
}
@media (max-width: 1024px) {
  .eco-site img {
    aspect-ratio: 3/4.5;
  }
}
@media (max-width: 767px) {
  .eco-site img {
    aspect-ratio: 3/3.5;
  }
}
/* CSR Page End */

/* News & Events Page Start */
/* Banner */
.news-events-banner {
  background-image: url("../images/news-events-archive-banner-updated.webp");
}

.semicon-sea-2024-banner {
  background-image: url("../images/semicon-sea-2024.jpg");
  background-position: 0px center;
  background-repeat: no-repeat;
  background-size: cover;
}

.semicon-sea-2025-banner {
  background-image: url("../images/semicon-sea-banner.jpg");
  background-position: 0px center;
  background-repeat: no-repeat;
  background-size: cover;
}

.news-events-archive-banner {
  background-image: url("../images/news-events-archive-banner-updated.webp");
}
/* Banner End */

.p1-images {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.p1-image-container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.p1-images p {
  margin-top: 20px;
  color: #555;
  text-align: center;
}

.p1-machines {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.p1-machine-container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.p1-machines p {
  margin-top: 20px;
  color: #555;
  text-align: center;
}

/* Post Item */
.post-image {
  object-fit: cover;
  border-radius: 20px;
}
.post-featured-image {
  aspect-ratio: 4/3;
  border-radius: 24px;
}
.brochure-featured-image {
  border-radius: 24px;
}
.read-more-btn {
  font-size: 16px;
}
/* Post Item End */
/* Post Loops */
.post-loop-bg-overlay {
  background-image: url("../images/post-loop-bg-overlay.jpg");
}
.post-loop-item {
  border-top: 1px solid var(--border-color);
}
.post-loop-item:first-child {
  border-top: unset;
}
.post-date-wrapper {
  position: absolute;
  height: 100%;
  width: 100px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-family: var(--heading-font-family);
  font-weight: 700;
  color: var(--secondary-color);
  z-index: 1;
}
.post-date-wrapper .month {
  font-size: var(--font-sm);
}
.post-date-wrapper .day {
  font-size: var(--font-heading);
}
.post-item-image {
}
.load-more {
  cursor: pointer;
}
.news-events-tabs {
  min-width: 0;
}
.news-events-tabs .tab {
  text-transform: uppercase;
  font-weight: 700;
}
@media (max-width: 1024px) {
  .post-date-wrapper {
    height: auto;
    color: var(--white-color);
    padding: var(--spacing-2);
    width: auto;
  }
  .post-item-image {
    aspect-ratio: 4/3;
  }
}
/* Post Loops End */
/* News & Events Page End */

/* Contact Page */
/* Maps */
.contact-banner {
  background-image: url("../images/contact-banner.webp");
}
.epson-map iframe {
  width: 100%;
  aspect-ratio: 2.52/1;
}
.contact-wrapper .icon-lists .email {
  align-items: start;
}
.contact-wrapper .icon-lists .email .icon-list-icon {
  padding-top: 5px;
}
@media (max-width: 1024px) {
  .address-title br {
    display: none;
  }
}
/* Maps End */
/* Contact Page End */

/* Surface Finishing Solutions */
.surface-finishing-solutions-banner {
  background-image: url("../images/plating-banner_img.webp");
  background-position: center -40px;
}

@media (max-width: 767px) {
  .surface-finishing-solutions-banner {
    background-position: center;
  }
}

.wet-deposition-banner {
  position: relative;
  background-image: url("../images/wet-deposition-banner.jpg");
  background-size: cover;
  background-position: center;
}

.wet-deposition-banner::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-color: hsla(0, 0%, 0%, 0.23); /* adjust opacity as needed */
  z-index: 1;
}

.wet-deposition-banner > * {
  position: relative;
  z-index: 2;
}
.image-box-wrapper {
  gap: 20px;
}
.image-box-item {
  overflow: hidden;
  aspect-ratio: 1 / 1.67;
  border-radius: 24px;
  display: block;
}
.image-box-item:after {
  content: "";
  background: linear-gradient(180deg, rgba(34, 34, 34, 0) 50.07%, #222222 100%);
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
}
.image-box-item:hover img {
  transform: scale(1.1);
}
.image-box-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.3s;
}
.image-box-item h3 {
  position: absolute;
  z-index: 1;
  left: 0;
  bottom: 50px;
  width: 100%;
  text-align: center;
  padding: 0 20px;
}
.wet-deposition .swiper-button-next:after,
.wet-deposition .swiper-button-prev:after {
  display: none;
}
.wet-deposition .swiper-button-next,
.wet-deposition .swiper-button-prev,
.wet-deposition .swiper-pagination-horizontal {
  position: unset !important;
  width: auto !important;
  height: unset !important;
  margin: 0 !important;
  font-size: 16px;
}
.wet-deposition .slide-actions {
  display: flex;
  justify-content: flex-end;
  gap: 20px;
  align-items: center;
}
.wet-deposition .swiper-pagination-bullet.swiper-pagination-bullet-active {
  background: var(--secondary-color);
}
.wet-deposition .swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  border: 1px solid var(--secondary-color) !important;
  background: var(--white-color);
  opacity: 1;
}
@media (max-width: 767px) {
  .wet-deposition .slide-actions {
    justify-content: center;
  }
  .image-box-item h3 {
    padding: 0 10px;
    bottom: 20px;
    font-size: 16px;
  }
}
/* Surface Finishing Solutions End */

/* Gold Tint Plating */
.gold-tint-plating-banner {
  background-image: url("../images/gold-tint-plating-banner.webp");
}
.main-td {
  background-color: #cbd3ec !important;
  vertical-align: middle;
}
.rotated-title span {
  writing-mode: vertical-rl;
  transform: rotate(-180deg);
}
.properties-table .border-top {
  border-top: 4px solid #ef3a3a;
}
.properties-table .border-bottom {
  border-bottom: 4px solid #ef3a3a;
}
.properties-table .border-x {
  border-left: 4px solid #ef3a3a;
  border-right: 4px solid #ef3a3a;
}
.properties-table {
  width: 100%;
  overflow-x: scroll;
}
.properties-table th {
  vertical-align: middle;
  background-color: #cbd3ec !important;
  color: var(--secondary-color);
}
/* Gold Tint Plating End */

/* Industries */
.industries-banner {
  background-image: url("../images/industries-banner-image.webp");
}
/* Industries End */

/* Semiconductor Industry */
.semiconductor-banner {
  background-image: url("../images/semiconductor-industry-banner.webp");
}
.specifications {
  padding: 15px 0;
  border-bottom: 1px solid var(--border-color);
}
.specifications p {
  margin-bottom: 0;
}
.specifications:last-child {
  border-bottom: unset;
}
@media (max-width: 768px) {
  .industry-tabs .tab {
    padding: 10px 20px;
  }
}
/* Semiconductor Industry End */

/* Automotive Industry */
.automotive-banner {
  background-image: url("../images/automotive-industry-banner.webp");
}
/* Automotive Industry End */

/* Electronics Industry */
.electronics-industry-banner {
  background-image: url("../images/electronics-industry-banner.webp");
}
/* Electronics Industry End */

/* Medical Industry */
.medical-industry-banner {
  background-image: url("../images/medical-industry-banner.webp");
}
/* medical Industry End */

/* Aerospace Industry */
.aerospace-industry-banner {
  background-image: url("../images/aerospace-industry-banner.webp");
}
/* Aerospace Industry End */

/* Oil-And-Gas Industry */
.oil-and-gas-industry-banner {
  background-image: url("../images/oil-and-gas-main-banner.webp");
}
/* Oil-And-Gas Industry End */

/* Other Treatments */
.other-treatments-banner {
  background-image: url("../images/other-treatments-banner.webp");
}

/* Plating Specifications */
.plating-specification-banner {
  background-image: url("../images/plating-specification-updated.webp");
}
.table-responsive {
  position: relative;
  overflow: auto;
}
.specifications-table * {
  font-size: 1em;
}
.specifications-table td {
  background: unset;
  vertical-align: middle;
  text-align: center;
}
.specifications-table td.text-left {
  text-align: left;
}
.specifications-table td p {
  margin-bottom: 0;
}
.specifications-table tbody > tr:nth-child(odd) > td,
.specifications-table tbody > tr:nth-child(odd) > th {
  background: unset;
}
/* Make the first column sticky */
.specifications-table td.rotated-title {
  position: sticky;
  left: 0;
  background: #cbd3ec !important;
  z-index: 2;
  min-width: 60px;
}

.table-heading {
  background: #cbd3ec !important;
}
i.three-star,
i.two-star {
  position: relative;
}
i.three-star::before {
  content: "";
  background-image: url("../images/three-star.svg");
}
i.two-star::before {
  content: "";
  background-image: url("../images/two-star.svg");
}
i.three-star::before,
i.two-star::before {
  background-repeat: no-repeat;
  background-size: contain;
  width: 100px;
  height: 25px;
  display: block;
  background-position: center;
}
.legend i.three-star::before,
.legend i.two-star::before {
  background-position: left;
}
.rotated-title strong {
  white-space: nowrap;
}
/* Plating Specifications End */

/* Footer */
.footer-content-wrapper {
  max-width: 590px;
}
ul.footer-menu li {
  margin-bottom: 28px;
}
ul.menu-two-column {
  display: grid;
  grid-template-rows: repeat(2, 1fr);
  grid-template-columns: repeat(2, 1fr);
}
.footer-menu-item a {
  position: relative;
}
.footer-menu-item a:before {
  content: "";
  width: 0;
  height: 2px;
  background: var(--white-color);
  position: absolute;
  bottom: -2px;
  left: 0;
  transition: 0.3s;
}
.footer-menu-item a:hover:before {
  width: 100%;
}
.icon-lists {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.copy-right {
  font-size: 16px;
  border-top: 1px solid var(--white-color);
}
@media (max-width: 1024px) {
  ul.footer-menu li {
    margin-bottom: 15px;
  }
  .copy-right {
    flex-flow: column-reverse;
    font-size: 14px;
  }
  .copy-right ul {
    justify-content: flex-start;
  }
}
@media (max-width: 767px) {
  .icon-lists .address {
    align-items: start;
  }
  ul.footer-menu li {
    margin-bottom: 10px;
  }
}

/* Footer End */

/* 404 */
.error-page {
  background-image: url("../images/error-page.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
  height: 100vh;
}
/* 404 End */

/* Services */
.related-button-group {
  gap: 10px;
  flex-wrap: wrap;
}
.process-flow-wrapper {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  row-gap: 20px;
}
.process-flow-item {
  padding-left: var(--spacing-2);
  padding-right: var(--spacing-1);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: start;
  border-left: 2px solid #cbcee1;
  overflow: hidden;
  min-height: 90px;
}
.process-flow-number {
  position: absolute;
  left: -5%;
  font-size: 100px;
  font-family: var(--heading-font-family);
  font-weight: bold;
  color: #cbcee1;
  opacity: 0.5;
  line-height: 1;
}
.process-flow-title {
  font-size: var(--body-font-family);
  font-weight: 400;
  text-align: left;
  color: var(--secondary-color);
  z-index: 1;
}
@media (max-width: 1440px) {
  .process-flow-title {
    font-size: 16px;
  }
  .process-flow-wrapper {
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  }
}

/* Envirenmental Solution */
.advantages-table {
  table-layout: fixed;
}
.image-default-bg {
  background: #eaeaea;
}
.row.specifications {
  gap: 20px;
  flex-wrap: nowrap;
}
.service-image {
  aspect-ratio: 1/1;
  object-fit: contain;
  background: #ffffff;
}

@media (max-width: 767px) {
  .advantages-table {
    table-layout: unset;
  }
}
/* Services End */

/* Quality Assurance */
.quality-insurance-banner {
  background-image: url("../images/quality-assurance-banner.webp");
}

/* Quality Assurance End */

/* PVD */
.pvd-banner {
  background-image: url("../images/pvd-banner-test.webp");
}
.pvd-section-bg {
  background-image: url("../images/pvd-bg.webp");
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}
.pdv-section-bg img {
  border-radius: 24px;
}
.bearing-images .bearing-image-container {
  text-align: start;
}
.pvd-specifications {
  background-image: url("");
  background-position: top center;
  background-repeat: no-repeat;
  background-size: cover;
  max-height: 800px;
  position: relative;
  text-align: flex-start;
  padding-top: 85px;
  padding-bottom: 100px;
  text-align: center;
}
@media (max-width: 1024px) {
  .pvd-specifications {
    padding-top: 50px;
    padding-bottom: 200px;
  }
}
@media (max-width: 767px) {
  .process-flow-wrapper.grid-md-1 {
    grid-template-columns: unset;
  }
  .pvd-specifications {
    padding-top: 50px;
    padding-bottom: 100px;
  }
}

/* PVD End */

/* AR */
.ar-banner {
  background-image: url("../images/ar-banner.webp");
  background-size: cover;
  background-position: center;
}
.ar-image {
  overflow: hidden;
}
.ar-image:before {
  content: "";
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(34, 34, 34, 0) 50.07%, #222222 100%);
  position: absolute;
}
.ar-image p {
  position: absolute;
  left: 0;
  bottom: 40px;
  z-index: 1;
}
/* AR End */

/* Barrel Plating */

.barrel-plating-banner {
  background-image: url("../images/DSC09398_v4.webp");
  background-position: center -570px;
}

@media (max-width: 767px) {
  .barrel-plating-banner {
    background-position: center;
  }
}

/* Barrel Plating End */

/* Ceramic Plating */

.ceramic-plating-banner {
  background-image: url("../images/ceramic-banner-new.webp");
}

/* Ceramic Plating End */

/* Degreasing Machines */

.degreasing-machines-banner {
  background-image: url("../images/water-splashing-near-foam.webp");
}

/* Degreasing Machines End*/

/* Environmental Control System */

.environmental-control-system-banner {
  background-image: url("../images/environmental-control-system-banner.webp");
}

/* Environmental Control System End */

/* Unique Technology */

.unique-technology-banner {
  background-image: url("../images/unique-tech-banner-test.webp");
}

/* Unique Technology End */

/*  Heat Treatment */

.heat-treatment-banner {
  background-image: url("../images/heat-treatment-banner-new.webp");
  background-position: center;
}

/* Heat Treatment End */

/*  Polishing */

.polishing-banner {
  background-image: url("../images/polishing-banner.webp");
  background-position: center -120px;
}

@media (max-width: 767px) {
  .polishing-banner {
    background-position: center;
  }
}

/*  Polishing End */

/* Clean Room Facility */

.clean-room-facility-banner {
  background-image: url("../images/clean-room-facility.webp");
}

/* Clean Room Facility End */

/* Selective Plating */

.selective-plating-banner {
  background-image: url("../images/selective-plating-banner.webp");
}

/* Selective Plating End */

/* Analysis */

.analysis-banner {
  background-image: url("../images/shutterstock_1922200064.webp");
  background-position: center;
}

.chemical-img {
  aspect-ratio: 3 / 3.5;
  object-fit: contain;
  padding: 10px;
}
.specifications-wrapper .specifications {
  min-width: 670px;
}
.specifications-wrapper {
  overflow-x: scroll;
}

/* Analysis End */

/* Environmental Solutions */
.environmental-solutions-banner {
  background-image: url("../images/aerial-top-view-green-electric-vehicle-car-driving-straight-forest-road-ev-car.webp");
}

/* Environmental Solutions End */

/* Watch Industry  */

.watch-banner {
  background-image: url("../images/watch-industry-banner.webp");
}

.dlc-images {
  display: flex;
  gap: 40px;
}

.dlc-image-container {
  display: flex;
  flex-direction: column;
  width: 50%;
}

.dlc-images p {
  margin-top: 20px;
  color: #555;
}

.hardness-images {
  display: flex;
  gap: 40px;
}

.hardness-image-container {
  display: flex;
  flex-direction: column;
  width: 50%;
}

.hardness-images img,
.dlc-images img {
  max-width: 100%;
  height: auto;
  width: 100%;
  aspect-ratio: 3/1.5;
  object-fit: cover;
}

.hardness-images p {
  color: #555;
  margin-bottom: 0;
}

.ar-images {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.ar-image-container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.ar-images p {
  margin-top: 20px;
  color: #555;
  text-align: center;
}

@media (max-width: 767px) {
  .ar-images {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  .hardness-images {
    gap: 0;
  }
  .hardness-images img {
    width: 100%;
  }
}

/* Watch Industry End */

/* Electronics Industry */

.ceramic-resistor-image-container {
  display: flex;
  flex-direction: column;
}

.ceramic-resistor-images img {
  max-width: 100%;
  height: auto;
}

.enig-images {
  display: flex;
  gap: 40px;
}

.enig-image-container {
  display: flex;
  flex-direction: column;
  width: 50%;
}

.enig-images img {
  aspect-ratio: 3/1.5;
  object-fit: cover;
  width: 100%;
}

.enig-images p {
  color: #555;
}

.bearing-images {
  display: flex;
  gap: 40px;
}

.bearing-image-container {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.bearing-images img {
  max-width: 100%;
  width: 100%;
  height: auto;
}

.bearing-images p {
  color: #555;
  margin-bottom: 0;
}

/* Electronics Industry End */

/* Semiconductor Industry  */

.microelectronics-images {
  gap: 20px;
}

.microelectronics-images img,
.wafers-images img {
  max-height: 150px;
  max-width: 100%;
  height: auto;
  width: auto;
}

.wafers-images {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

@media (max-width: 1024px) {
  .wafers-images {
    grid-template-columns: repeat(1, 1fr);
  }
}
@media (max-width: 767px) {
  .microelectronics-image-container,
  .dlc-image-container {
    width: 50%;
  }
  .enig-images,
  .dlc-images,
  .hardness-images,
  .ar-images,
  .bearing-images {
    gap: 20px;
  }
  .ar-images {
    row-gap: 40px;
  }
}

/* Semiconductor Industry End*/

/* Failure Analysis Services */
.image-label {
  font-size: 14px;
}
.material-preparation-imgs img {
  aspect-ratio: 1 / 1;
  object-fit: cover;
}
