.\!hidden {
  display: none !important;
}

.hidden {
  display: none;
}

/* ----- 메인 비주얼 ----- */
.main-visual .main-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.main-visual .main-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(12, 13, 13, 0.87);
}

.main-visual .main-content {
  text-align: left;
}

/* ----- 솔루션 영역 ----- */
.scroll-section {
  background: url(../img/home-solution-img1.png) center center / cover no-repeat;
}

.solution-slider {
  width: 100%;
  overflow: hidden;
  display: flex;
  /* align-items: center; */
  flex-direction: column;
  margin-top: 160px;
}

.solution-track {
  position: relative;
  display: flex;
  transition: transform 0.8s ease;
}

.solution-track.mobile-only {
  display: none;
}

.solution-card {
  width: 1280px;
  height: 464px;
  flex-shrink: 0;
  border-radius: 20px;
  display: flex;
  color: #fff;
  opacity: 0.5;
  transform: scale(0.9);
  transition: transform 0.5s, opacity 0.5s;
  margin: 0 20px;
  box-sizing: border-box;
  justify-content: space-between;
  align-items: center;
  padding: 0 80px;
  gap: 40px;
}

.solution-card01 {
  background: linear-gradient(
    140.14deg,
    #158cbc 41.1%,
    #2ab3cf 63.64%,
    #aaebd7 101.21%
  );
}

.solution-card02 {
  background: linear-gradient(
    156.24deg,
    #002455 -28.89%,
    #0046a6 39.48%,
    #a5a6fb 110.44%
  );
}
.solution-card03 {
  overflow: hidden;
}
.solution-card03 .solution-img {
  position: relative;
  overflow: visible;
}
.solution-card03 .solution-img img {
  object-fit: cover;
  width: auto !important;
  height: auto !important;
  position: absolute;
  left: 20px;
}

.solution-card04 {
  background: linear-gradient(162.17deg, #5a2894 2.73%, #f97f29 173.33%);
}

.solution-card.active {
  opacity: 1;
  transform: scale(1);
}

.solution-info {
  flex: 1 1 50%;
  display: flex;
  /* padding-left: 80px; */
  flex-direction: column;
  justify-content: center;
}

.solution-info .solution-title {
  font-size: 2.667rem;
  font-weight: 700;
  line-height: 3.444rem;
  letter-spacing: -1.24px;
  margin-bottom: 16px;
}

.solution-info .solution-subtitle {
  font-size: 1.222rem;
  font-weight: 600;
  line-height: 1.667rem;
  letter-spacing: 0;
  margin-bottom: 10px;
}

.solution-info .solution-desc {
  font-size: 1rem;
  font-weight: 200;
  line-height: 1.444rem;
  letter-spacing: 0.1px;
  margin-bottom: 40px;
  /* width: 40%; */
}

.solution-info .solution-btn {
  color: #fff;
  width: 180px;
  font-size: 0.889rem;
  font-weight: 700;
  line-height: 1.333rem;
  letter-spacing: 0.24px;
  border: 2px solid #fff;
  border-radius: 40px;
  padding: 12px 35px;
  cursor: pointer;
  background: none;
  text-align: center;
  font-style: normal;
  text-decoration: none;
}

.solution-info .solution-btn:hover {
  background: #fff;
  color: #111;
  transition: background-color 0.5s ease, color 0.5s ease;
}

.solution-img {
  width: 586px;
  height: 328px;
  border-radius: 8px;
  overflow: hidden;
}
.solution-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.solution-interval {
  display: flex;
  justify-content: center;
  width: 100%;
  /* position: absolute; */
  top: 280px;
  color: white;
  margin-bottom: 40px;
}

.solution-interval-wrapper {
  display: flex;
  flex-wrap: nowrap;
}

.solution-interval-wrapper > * + * {
  margin-left: 20px;
}

.solution-interval-item {
  width: 125px;
  cursor: pointer;
}

.solution-interval-item-title {
  text-align: center;
  font-size: 0.889rem;
  font-weight: bold;
  padding: 0 24px;
}

.solution-interval-item-progress {
  width: 100%;
  height: 4px;
  border-radius: 9999px;
  background-color: rgba(255, 255, 255, 0.3);
  margin-top: 12px;
  position: relative;
  overflow: hidden;
  --progress-offset: -100%;
}

.solution-interval-item-progress::before {
  height: 4px;
  width: 100%;
  background-color: #aaebd7;
  content: " ";
  position: absolute;
  top: 0;
  left: 0;
  border-radius: 9999px;
  transform: translateX(var(--progress-offset));
  transition: 200ms ease transform;
}

/* ----- 파트너사-뉴스 섹션 ----- */
.partner-news-wrap {
  width: 100%;
  background: #fafafa;
}

/* ----- 파트너사-뉴스룸 공통 ----- */
.slogan-title {
  font-size: 1.1rem;
  line-height: 1.5rem;
  color: #26a4bc;
  font-weight: 600;
  margin-bottom: 8px;
}

.slogan-desc {
  font-size: 2rem;
  line-height: 2.5rem;
  font-weight: 700;
  color: #111;
}

.slogan-desc-mobile {
  display: none;
}

/* ----- 파트너사 영역 ----- */
@keyframes scrollLeft {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

@keyframes scrollRight {
  0% {
    transform: translateX(-50%);
  }

  100% {
    transform: translateX(0);
  }
}

.partner-section {
  display: flex;
  flex-direction: column;
  width: 100%;
  margin: 0 auto;
  padding: 160px 0 120px;
  gap: 120px;
}

.slogan-container {
  display: flex;
  flex-direction: column;
  width: 1280px;
  margin: 0 auto;
}

.partner-slider-wrapper {
  overflow: hidden;
  width: 100%;
  position: relative;
}

.partner-slider {
  display: flex;
  gap: 20px;
  animation: scrollLeft 30s linear infinite;
  margin: 20px 0;
}

.partner-slider.reverse {
  display: none;
}

.partner-card {
  flex-shrink: 0;
  width: 280px;
  height: 120px;
  border-radius: 20px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 2px 4px 8px 0px rgba(26, 32, 43, 0.08);
}

.partner-card img {
  max-width: 80%;
  max-height: 60%;
  object-fit: contain;
}

/* 문의하기 영역 */
/* .contact-section {
  position: relative;
  display: flex;
  width: 100%;
  height: 280px; 
  justify-content: flex-start;
  align-items: center;
  background: url(../img/home-contactus-bg.png) center/cover no-repeat;
}
.contact-section::after {
  content: "";
  position: absolute;
  display: block;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    271.7deg,
    rgba(42, 180, 207, 0.8) -10.67%,
    #084146 106.97%
  );
  background-blend-mode: multiply;
}

.contact-section .contact-content {
  color: #fff;
  width: 1280px;
  margin: 0 auto;
  z-index: 10;
}

.contact-section .contact-title {
  font-size: 2rem;
  font-weight: 700;
  line-height: 2.8rem;
  margin-bottom: 12px;
}

.contact-section .contact-desc {
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0px;
  line-height: 1.5rem;
  margin-bottom: 40px;
} */

/* 문의하기 영역 */
.contact-section {
  display: flex;
  width: 100%;
  height: 920px;
}

/* 문의하기 좌측 영역 */
.contact-section .contact-left {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  width: 50%;
  height: 100%;
  position: relative;
}

.contact-left .contact-left-content {
  display: flex;
  width: 640px;
  flex-direction: column;
  justify-content: center;
  padding-right: 20px;
  box-sizing: border-box;
  color: #fff;
}

.contact-left .contact-title {
  font-size: 2rem;
  font-weight: 700;
  line-height: 2.8rem;
  margin-bottom: 12px;
}

.contact-left .contact-desc {
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0px;
  line-height: 1.5rem;
  margin-bottom: 40px;
}

/* 문의하기 우측 영역 */
.contact-section .contact-right {
  width: 50%;
  background: #e6f4f6;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  box-sizing: border-box;
}

.contact-right .contact-form {
  display: flex;
  width: 640px;
  flex-direction: column;
  justify-content: center;
  padding-left: 14%;
  box-sizing: border-box;
  gap: 16px;
}

@media (max-width: 767px) {
  .main-visual {
    height: 100vh;
  }
  .main-visual .main-content {
    padding: 0 1rem;
    justify-content: center;
    text-align: left;
    align-items: flex-start;
    height: 100vh;
  }
  .main-title {
    font-size: 2rem;
    line-height: 1.3;
    padding: 0;
    width: 100%;
    max-width: 100%;
    margin: 0 0 24px 0;
    text-align: left;
    word-break: keep-all;
  }
  .scroll-indicator {
    left: 1rem;
    right: 1rem;
    bottom: 16px;
    transform: none;
    width: auto;
    justify-content: flex-start;
    font-size: 0.85rem;
  }
  .scroll-indicator img {
    width: 20px;
    height: 20px;
  }
  .partner-section {
    padding: 80px 0;
    gap: 0px;
  }
  .solution-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: url(../img/home-solution-img1.png) center center / cover
      no-repeat !important;
    padding: 40px 0;
    height: auto;
  }
  /* .solution-slider {
    display: none;
  } */

  .contact-section .contact-title {
    font-size: 22px;
  }
  .solution-interval {
    display: none;
  }

  .solution-track.desktop-only {
    display: none !important;
  }
  .solution-track.mobile-only {
    display: flex !important;
    flex-direction: row !important;
    overflow-x: auto !important;
    gap: 16px;
    padding: 0 16px 24px 16px;
    width: 100vw;
    box-sizing: border-box;
    scroll-snap-type: x mandatory;
  }
  .solution-track.mobile-only .solution-card {
    flex: 0 0 90vw;
    max-width: 400px;
    min-width: 280px;
    height: 520px;
    border-radius: 20px;
    /* background: linear-gradient(160deg, #0a3cff 0%, #3ad29f 100%); */
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 32px 24px 24px 24px;
    position: relative;
    scroll-snap-align: center;
    background-repeat: no-repeat !important;
    background-size: cover !important;
    background-position: center center !important;
  }

  .solution-card03 .solution-img img {
    position: relative;
    left: auto;
  }

  .solution-track.mobile-only .solution-card:last-child {
    margin-right: 0;
  }

  .solution-track.mobile-only .solution-title {
    font-family: "Pretendard";
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 16px;
    line-height: 1.2;
  }
  .solution-track.mobile-only .solution-subtitle {
    font-family: "Pretendard";
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 12px;
    line-height: 1.2;
  }
  .solution-track.mobile-only .solution-desc {
    font-family: "Pretendard";
    font-size: 0.889rem;
    font-weight: 00;
    margin-bottom: 16px;
    line-height: 1.3;
    color: #fff;
    width: 100%;
    word-break: keep-all;
  }

  .solution-track.mobile-only .solution-btn {
    font-family: "Pretendard";
    background: none;
    color: #ffffff;
    border: 1px solid #fff;
    border-radius: 9999px;
    font-size: 0.889rem;
    font-weight: 600;
    width: auto;
    height: 40px;
    line-height: 40px;
    display: block;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    padding: 0 40px;
    transition: background 0.2s, color 0.2s;
  }
  .solution-track.mobile-only .solution-btn:hover {
    background: #fff;
    color: #111;
  }
  .solution-track.mobile-only img {
    width: 100%;
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    object-fit: cover;
    overflow: hidden;
    /* background: #fff; */
    display: block;
  }

  .solution-arrow-btn {
    position: static !important;
    width: 100%;
    margin: 16px 0 0 0;
    display: flex !important;
    justify-content: center;
    align-items: center;
    gap: 32px;
    z-index: 1;
    background: none;
    left: auto !important;
    right: auto !important;
    top: auto !important;
    bottom: auto !important;
    transform: none !important;
  }

  .arrow-btn-left,
  .arrow-btn-right {
    border-radius: 9999px;
    width: 40px !important;
    height: 40px !important;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    cursor: pointer;
    /* transition: background 0.2s, color 0.2s; */
    /* background-color: rgba(17, 17, 17, 0.5);
    border: 1px solid rgba(225, 240, 255, 0.2); */
  }

  .solution-arrow-btn button img[src*="home-solution-btn-"] {
    background: rgba(0, 0, 0, 1);
    border: 1px solid #666;
    border-radius: 50%;
    width: 40px;
    height: 40px;
  }

  .solution-arrow-btn button img[src*="home-solution-btn-"]:hover {
    background-color: rgba(17, 17, 17, 0.8);
  }

  /* .arrow-btn-left:hover,
  .arrow-btn-right:hover {
    background: #fff;
    color: #0a3cff;
  } */
  .slide-position {
    color: #fff;
    font-size: 0.889rem;
    font-weight: 500;
    text-align: center;
  }
  .solution-card {
    width: 100vw !important;
    min-width: 0 !important;
    max-width: 100vw !important;
    transform: none !important;
    transition: none !important;
    opacity: 1 !important;
    display: flex !important;
    flex-direction: column !important;
  }

  .solution-card.active {
    opacity: 1 !important;
    transform: none !important;
  }
  .solution-info {
    padding: 0px;
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
  }

  .solution-img {
    width: 100% !important;
    height: auto !important;
    object-fit: cover !important;
    border-radius: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    display: block !important;
    background: transparent !important;
  }

  .solution-track .desktop-only .solution-card .background-image {
    display: none;
  }

  @media (max-width: 767px) {
    .solution-track.mobile-only .solution-card {
      background-repeat: no-repeat !important;
      background-size: cover !important;
      background-position: center center !important;
    }
  }

  .slogan-container {
    width: 100%;
    max-width: 100%;
    padding: 0 1rem;
    margin: 0;
  }
  .slogan-title {
    font-size: 1rem;
    margin-bottom: 4px;
  }
  .slogan-desc {
    font-size: 1.2rem;
    line-height: 1.5rem;
    display: none;
  }
  .slogan-desc-mobile {
    display: block;
    font-size: 1.2rem;
    line-height: 1.5rem;
    color: #111;
    font-weight: 700;
    margin-bottom: 0px;
    word-break: keep-all;
  }
  .partner-slider-wrapper {
    width: 100%;
    padding: 0 1rem;
    margin-top: 40px;
  }
  .partner-slider {
    gap: 12px;
    margin: 12px 0;
    animation-duration: 10s !important;
  }
  .partner-slider.reverse {
    display: flex !important;
    animation: scrollRight 10s linear infinite !important;
  }
  .partner-card {
    width: 120px;
    height: 60px;
    border-radius: 12px;
  }
  /* Main page styles */

  /* Use standardized container */
  .main-container {
    width: var(--container-width-desktop);
    max-width: 100%;
    margin: 0 auto;
    padding: 0 var(--grid-margin);
  }

  .main-grid {
    display: grid;
    gap: var(--grid-gutter);
    grid-template-columns: repeat(var(--grid-columns), 1fr);
  }

  /* Standardized breakpoints */
  @media screen and (max-width: 767px) {
    .main-container {
      width: var(--container-width-mobile);
      padding: 0 var(--grid-margin);
    }

    .main-grid {
      grid-template-columns: repeat(2, 1fr);
    }

    .solution-card {
      margin: 0 0 16px 0;
      overflow: hidden;
    }
  }

  /* 뉴스룸 모바일 영역 */

  @media (max-width: 767px) {
    .news-section {
      width: 100%;
      padding: 0;
      overflow: hidden;
    }
    .news-header {
      width: 100%;
      padding: 0 16px;
      box-sizing: border-box;
      align-items: center;
    }
    .news-header .news-more {
      font-family: "Pretendard";
      display: flex !important;
      align-items: center;
      justify-content: center;
      gap: 8px;
      font-size: 0.889rem;
      color: #3d3d3d;
      font-weight: 400;
    }

    .news-wrapper .news-actions {
      display: none;
    }

    .news-list-wrapper {
      overflow-x: hidden;
      width: 100%;
      box-sizing: border-box;
      -webkit-overflow-scrolling: touch; /* iOS 부드러운 스크롤 */
      scroll-behavior: smooth;
      scrollbar-width: none; /* Firefox */
    }
    .news-list-wrapper::-webkit-scrollbar {
      display: none; /* Chrome, Safari */
    }
    .news-list {
      padding: 6px 0;
      overflow-x: scroll; /* 추가 */
      scrollbar-width: none; /* Firefox */
      -ms-overflow-style: none; /* IE and Edge */
    }
    .news-list .news-card {
      max-width: 308px;
    }
    /* .news-card .news-thumbnail {
      height: 154px;
    } */
    .news-card .news-meta {
      padding: 0 16px 24px;
      gap: 8px;
    }
    .news-card .news-meta .news-title {
      font-size: 18px;
      line-height: 24px;
      margin-bottom: 8px;
    }
    .news-card .news-meta .news-desc {
      font-size: 14px;
      line-height: 20px;
    }
  }

  /* 문의하기 모바일 영역 */
  @media (max-width: 767px) {
    .contact-section {
      flex-direction: column;
      height: auto;
      min-height: unset; /* 최소 높이 제거 */
    }

    .contact-left .contact-left-content {
      width: 100%;
    }
    .contact-section .contact-left {
      width: 100%;
      padding: 40px 16px;
      justify-content: center;
    }

    .contact-section.contact-title {
      font-family: "Pretendard";
      font-size: 22px;
      line-height: 36px;
    }
    .contact-section .contact-desc {
      font-family: "Pretendard";
      font-size: 14px;
      line-height: 22px;
      font-weight: 400;
      margin-bottom: 24px;
    }
    .contact-section.contact-download {
      font-family: "Pretendard";
      padding: 8px 16px 8px 24px;
      font-size: 14px;
      line-height: 20px;
      font-weight: 600;
    }
    .contact-section .contact-download img {
      width: 16px;
      height: 16px;
    }

    .contact-section .contact-right {
      width: 100%;
      height: auto;
      min-height: unset; /* 최소 높이 제거 */
      padding: 60px 16px;
      box-sizing: border-box;
    }
    .contact-right .contact-form {
      padding-left: 0;
      width: 100%;
    }
    .contact-form .form-group label {
      font-family: "Pretendard";
      font-size: 14px;
      line-height: 22px;
      font-weight: 600;
    }
    .contact-form .form-group input,
    .contact-form .form-group textarea {
      font-family: "Pretendard";
      font-size: 14px;
      line-height: 22px;
    }
    .contact-form .form-check input {
      width: 14px;
      height: 14px;
    }
    .contact-form .contact-submit {
      padding: 16px 90px;
    }
  }
}
