* { margin: 0; padding: 0; box-sizing: border-box; }

@font-face {
  font-family: 'Pretendard';
  src: url('Pretendard.woff2') format('woff2');
  unicode-range: U+AC00-D7A3, U+1100-11FF, U+3130-318F; /* 한글 범위 */
  font-display: swap;
}

@font-face {
  font-family: 'Poppins';
  src: url('Poppins.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0100-024F; /* 영문 라틴 범위 */
  font-display: swap;
}
html, body {
  overflow-x: hidden;
  width: 100%;
}

body {
  font-family: 'Pretendard', 'Poppins', sans-serif;
}

button, input, textarea, select {
  font-family: inherit;
}

.top-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 40px;
  background-color: #fff;
  height: 80px;
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  width: 204px;
  height: 32px;
}

.link-icon {
  width: 22px;
  height: 22px;
  margin-left: 4px;
}

.nav-links a {
  margin-left: 40px;
  color: #000;
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
}

.nav-links a:hover {
  text-decoration: underline;
}

.main {
  display: flex; 
  flex-direction: column; 
  justify-content: center; 
  align-items: center; 
  background-image: url('images/Rectangle.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding-top: 168px;
  text-align: center;
  color: white;
  height: 880px;
  border-radius: 40px;
  margin: 0 12px;
}

.mobile-main {
  display: none;
}

.main h1 {
  font-weight: 700;
  font-size: 60px;
  line-height: 130%;
}

.main-text {
  font-family: Poppins;
  font-weight: 600;
  font-size: 64px;
  line-height: 130%;
  background: linear-gradient(to right, #16E56A, #F0FB9C);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.scroll-text {
  font-weight: 400;
  font-size: 16px;
  line-height: 130%;
  letter-spacing: -2%;
  margin-bottom: 48px;
}

.divider-img {
  margin-top: 32px;
  margin-bottom: 24px;
}

.main p {
  font-weight: 400;
  font-size: 18px;
  line-height: 150%;
}

.main .btns {
  display: flex;
  justify-content: center;
  margin-top: 80px;
  gap: 8px;
}

.btns button {
  background-color: #1E1764;
  color: #fff;
  padding: 12px 40px;
  border: none;
  border-radius: 999px;
  font-weight: 500;
  font-size: 18px;
  line-height: 100%;
  height: 60px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px; 
}

.btns button .btn-icon {
  width: 25px;
  height: 25px;
}

.scroll-icon {
  width: 26px;
  height: 40px;
  border: 2px;
  margin-top: 103px;
  margin-bottom: 10px;
}

.scroll-line {
  position: relative;
  height: 6px;
  border-radius: 999px;
  border: 0.5px solid #fff;
  animation: scrollDrop 1s ease-in-out infinite;
}

@keyframes scrollDrop {
  0% {
    top: -42px;
    opacity: 1;
  }
  100% {
    top: -25px;
    opacity: 0;
  }
}

.feature-image2 {
  width: 153px; 
  height: 194px;
  margin: 0 auto;
  position: absolute;
  left: 781px;
  bottom: -75px;
}

.floating-image1 {
  width: 292px; 
  height: 219px;
  margin: 0 auto;
  animation: floatUpDown 3s ease-in-out infinite;
  position: absolute;
  left: 723px;
  bottom: -60px;
}

.floating-image2 {
  width: 374px; 
  height: 248px;
  margin: 0 auto;
  animation: floatUpDown 3s ease-in-out infinite;
  position: absolute;
  top: -43px;
  right: -96px;
}

.floating-image1 img {
  display: block;
  width: 100%;
}

.floating-image2 img {
  display: block;
  width: 100%;
}

.feature-image2 img {
  display: block;
  width: 100%;
}

@keyframes floatUpDown {
  0%   { transform: translateY(0); }
  50%  { transform: translateY(-10px); }
  100% { transform: translateY(0); }
}

.features {
  padding: 124px 20px 216px 20px;
  max-width: 1731px;
  margin: auto;
}

.section-header {
  display: flex;
  justify-content: flex-start;
  padding: 40px;
  margin-bottom: 20px;
}

.news-header {
  display: flex;
  justify-content: flex-start;
}

.sub-title {
  font-weight: 600;
  font-size: 20px;
  color: #1E1764;
  line-height: 130%;
  white-space: nowrap;
}

.main-title {
  font-size: 44px;
  font-weight: 700;
  color: #000;
  text-align: left; 
  line-height: 130%;
  margin-left: 258px;
  margin-bottom: 88px;
}

.m-main-title {
  display: none;
}

.list-line {
  border: 2px;
  display: block;
  width: 0;
  height: 1px; 
  background: url('images/list_line.png') repeat-x left center;
  background-size: cover;
  transition: width 2s ease-out;
  overflow: hidden;
  margin: 64px 0 64px 57px;
}

.list-line.visible {
  width: 97%;
}

.feature-header {
  text-align: center;
  margin-bottom: 60px;
}

.feature-header span {
  display: block;
  font-size: 1rem;
  color: #201067;
  margin-bottom: 10px;
}

.feature-header h2 {
  font-size: 2rem;
  font-weight: bold;
  color: #222;
}

.feature-list {
  display: flex;
  flex-direction: column;
}

.feature-box {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 60px;
  position: relative;
  opacity: 0;
  transform: translateY(50px); 
  transition: all 0.8s ease-out; 
}

.feature-box.visible {
  opacity: 1;
  transform: translateY(0);
}

.feature-text {
  flex: 1;
}

.feature-number {
  font-size: 110px;
  color: #EEEEEE;
  font-weight: 500;
  letter-spacing: -2px;
}

.feature-area {
  margin-top: -54px;
  margin-left: 52px;
}

.feature-text h3 {
  font-weight: 600;
  font-size: 28px;
  line-height: 130%;
  margin-bottom: 20px;
  white-space: normal; 
}

.dot {
  display: inline-block;
  background-color: #16E56A; 
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin-left: 2px;
}

.feature-text p {
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 20px;
  color: #555;
  width: 650px;
}

.feature-text a {
  font-size: 16px;
  color: #201067;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  text-decoration: none;
}

.learn-more {
  font-size: 16px;
  color: #1E1764;
  font-weight: 500;
  text-decoration: none;
  gap: 6px;
  margin-top: 20px;
}

.learn-more img {
  width: 24px;
  height: 24px;
}

.feature-image {
  flex: 1;
}

.feature-image img {
  width: 100%;
  border-radius: 12px;
  height: 343px;
}

.m-feature-image {
  display: none;
}

.m-banner {
  display: none;
}

.banner {
  display: flex; 
  justify-content: center; 
  align-items: center; 
  background-image: url('images/banner.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  text-align: center;
  color: white;
  height: 143px;
  border-radius: 20px;
  margin: 0 12px;
}

.banner-text1 {
  font-weight: 600;
  font-size: 36px;
  line-height: 130%;
}

.banner-line {
  width: 197px;
  height: 1px;
  margin: 0 30px;
}

.banner-text2 {
  font-weight: 600;
  font-size: 24px;
  line-height: 130%;
}

.news-section {
  max-width: 1731px;
  margin: 0 auto;
  padding: 198px 20px 200px 20px;
  display: flex;
  gap: 40px;
  align-items: flex-start;
  width: 100%;
}

.m-news-section {
  display: none;
}

.news-container {
  display: flex;
  gap: 40px; 
  align-items: flex-start; 
}

.news-sidebar {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
  width: 252px;
}

.sidebar-slide-buttons {
  margin-top: 40px;
  display: flex;
  gap: 10px;
}

.tab-button {
  background: none;
  border: none;
  font-size: 20px;
  font-weight: bold;
  cursor: pointer;
  text-align: left;
  padding: 10px 0;
  color: #999999;
}

.tab-button.active {
  color: #0ABE53; 
  font-weight: bold;
  text-decoration: underline;
  text-underline-offset : 8px;
}

.news-content h2 {
  font-size: 2rem;
  margin-bottom: 30px;
}

.slider-wrapper {
  position: relative;
  flex: 1;
  width: 84%;
  margin-bottom: 20px; 
  overflow-x: clip;
  position: relative;
  z-index: 1;
}

.slider {
  display: flex;
  transition: transform 0.3s ease-in-out;
}

.slider.hidden {
  display: none;
}

.card {
  width: 596px;
  height: 327px;
  flex-shrink: 0; 
  background-size: cover; 
  background-position: center; 
  background-repeat: no-repeat; 
  color: #222; 
  font-weight: bold;
  display: flex; 
  flex-direction: column; 
  box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.2);
  border-radius: 20px; 
  margin-left: 16px; 
  margin-right: 16px; 
}

.notice {
  padding: 93px 20px 0px 40px;
}

.qa {
  padding: 62px 20px 20px 40px;
}
.card1 {
  background-image: url('images/notice_01.png');
}

.card2 {
  background-image: url('images/notice_02.png');
}

.card3 {
  background-image: url('images/notice_03.png');
}

.card4 {
  background-image: url('images/qa_01.png');
}

.card5 {
  background-image: url('images/qa_02.png');
}

.card6 {
  background-image: url('images/qa_03.png');
}

.notice h1 {
  margin-bottom: 4px;
  color: #1E1764;
  font-weight: 700;
  font-size: 28px;
  line-height: 130%;
}

.qa h1 {
  margin-bottom: 33px;
  color: #1E1764;
  font-weight: 700;
  font-size: 28px;
  line-height: 130%;
}

.card h2 {
  margin-bottom: 27px;
  color: #1E1764;
  font-weight: 700;
  font-size: 28px;
  line-height: 130%;
}

.card span {
  margin-bottom: 24px;
  color: #1E1764;
  font-weight: 600;
  font-size: 20px;
  line-height: 130%;
}

.card p {
  color: #333333;
  font-weight: 400;
  font-size: 16px;
  line-height: 160%;
  margin-bottom: 40px;
}

.mgt-12 {
  margin-top: 12px;
}

.slide-buttons {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 150px;
}

.slide-btn {
  background: white;
  border: 1px solid #ddd;
  border-radius: 50%;
  font-size: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.slide-btn img {
  width: 48px;
  height: 48px;
}

footer {
  background-color: #1b1b1b;
  color: white;
  padding: 40px 40px 56px 40px;
  text-align: center;  
}

.footer-container {
  display: flex;
  gap: 40px; 
  align-items: flex-start; 
}

.m-footer-container {
  display: none;
}

.footer-text {
  display: flex;
  flex-direction: column;
  max-width: 1350px; 
  margin: 0 auto;    
  padding: 0 20px;    
  width: 100%;
  
}

.footer-icon img {
  width: 204px;
  height: 32px;
}

.footer-text1 {
  font-weight: 600;
  font-size: 16px;
  line-height: 160%;
  text-align: left;
  margin-top: 8px;
  text-decoration: none;
  color: #fff;
}

.footer-text2 {
  display: flex;
  align-items: center; 
  margin-top: 56px;
  font-weight: 400;
  font-size: 16px;
  line-height: 160%;
  color: #BDBDBD;
  text-align: left;
  white-space: nowrap; 
}

.phone {
  margin-left: 64px;
}

.footer-text3 {
  font-weight: 400;
  font-size: 16px;
  line-height: 160%;
  color: #BDBDBD;
  white-space: pre-wrap;
  text-align: left;
  margin-left: 39px;
}

.footer-text4 {
  font-weight: 500;
  font-size: 14px;
  line-height: 160%;
  color: #666666;
  text-align: left;
  margin-top: 24px;
}

@media screen and (max-width: 767px) {
  .top-nav {
    height: auto;
    padding: 20px;
  }

  .nav-links {
    display: none;
  }

  .main {
    height: 675px;
    margin: 0px 8px;
    border-radius: 20px;
  }

  .web-main {
    display: none;
  }

  .mobile-main {
    display: block;
  }

  .main h1 {
    font-size: 36px;
  }

  .main-text {
    font-size: 40px;
  }

  .divider-img {
    display: none;
  }

  .main p {
    display: none;
  }

  .main .btns {
     margin-top: 56px;
     margin-bottom: 88px;
  }

  .btn-download {
    display: none !important;
  }

  .scroll-icon {
    margin-top: 0px;
    margin-bottom: 10px;
  }

  .scroll-text {
    margin-bottom: 80px;
  }

  .features {
    padding: 0px 20px;
    margin: auto;
  }

  .section-header {
    display: block;
    padding: 80px 0px 0px 0px;
    margin-bottom: 0px;
  }

  .news-header {
    display: flex;
    justify-content: flex-start;
  }

  .sub-title {
    font-weight: 600;
    font-size: 20px;
    color: #1E1764;
    line-height: 130%;
    white-space: nowrap;
    margin-bottom: 16px;
  }

  .main-title {
    display: none;
  }

  .m-main-title {
    display: block;
    font-size: 28px;
    font-weight: 700;
    color: #000;
    text-align: left; 
    line-height: 130%;
    margin-bottom: 24px;
  }

  .feature-box {
    flex-direction: column;
    text-align: left;
    gap: 20px;
  }

  .list-line {
    border: 2px;
    display: block;
    width: 0;
    height: 1px; 
    background: url('images/list_line.png') repeat-x left center;
    background-size: cover;
    transition: width 2s ease-out;
    overflow: hidden;
    margin: 40px 0 15px 0px;
  }

  .list-line.visible {
    width: 97%;
  }

  .feature-image {
    display: none;
  }
  
  .m-feature-image {
    display: block;
    flex: 1;
  }
  
  .m-feature-image img {
    width: 100%;
    border-radius: 12px;
    height: 343px;
  }

  .feature-image2 {
    /* width: 86px; 
    height: 109px;
    margin: 0 auto;
    position: absolute;
    left: 260px;
    bottom: -40px; */
    display: none;
  }

  .feature-area {
    margin-top: -44px;
    margin-left: 0px;
  }

  .feature-text, .feature-image {
    width: 100%;
  }

  .feature-text p {
    width: 100%;
    margin-bottom: 32px;
  }

  .feature-text h3 {
    font-size: 24px;
    margin-bottom: 24px;
    white-space: normal;
  }
  .main-title {
    font-size: 28px;
    margin-left: 0;
  }

  .learn-more {
    display: none !important;
  }

  .banner {
    display: none;
  }

  .m-banner {
    display: flex;
    background-image: url('images/banner_mobile.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 20px;
    height: 251px;
    padding: 48px 39px;
    color: white;
    margin: 80px 20px;
    flex-direction: column;
    justify-content: center;
    gap: 12px;
  }
  .m-banner-text p {
    font-size: 28px;
    font-weight: 600;
    line-height: 1.6;
    position: relative;
  }

  .last-line {
    display: flex;
    align-items: center;
  }

  .m-line {
    display: inline-block;
    height: 1px;
    width: 88px;
    background-color: white;
    margin-left: 8px;
    flex-shrink: 0;
    margin-top: 19px;
    margin-left: 16px;
  }

  .m-sub-text {
    font-size: 18px;
    font-weight: 600;
    margin-top: 24px;
  }

  .m-news-section {
    display: block;
    padding: 20px;
  }

  .m-news-main-title {
    color: #000;
    font-weight: 700;
    font-size: 28px;
    line-height: 130%;
    margin-bottom: 32px;
  }

  .m-tab-button {
    background: none;
    border: none;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    text-align: left;
    padding: 10px 0;
    color: #999999;
    margin-right: 24px;
    margin-bottom: 56px;
  }

  .m-tab-button.active {
    color: #0ABE53; 
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset : 8px;
  }

  .floating-image1 {
    width: 219px; 
    height: 164px;
    margin: 0 auto;
    animation: floatUpDown 3s ease-in-out infinite;
    position: absolute;
    left: -20px;
    bottom: -68px;
  }

  .floating-image2 {
    width: 219px; 
    height: 164px;
    margin: 0 auto;
    animation: floatUpDown 3s ease-in-out infinite;
    position: absolute;
    top: 391px;
    right: -25px;
  }

  /* .feature-image2 {
    display: none;
  } */

  .swiper {
    /* width: 100%; */
    padding: 40px 0;
    margin-left: -20px !important;
    margin-right: -20px !important;
    width: calc(100% + 40px);
  }

  .swiper-wrapper.hidden {
    display: none;
  }

  .swiper-pagination.hidden {
    display: none;
  }


  .swiper-slide {
    width: 280px !important;
    height: 411px !important;
    
  }

  .hidden {
    display: none !important;
  }

  .card h1 {
    color: #1E1764;
    font-size: 24px;
    margin-bottom: 12px;
  }

  .card span {
    font-size: 18px;
    color: #1E1764;
    font-weight: 600;
  }

  .card p {
    font-size: 16px;
    line-height: 1.6;
    margin-top: 16px;
    color: #333;
  }

  .swiper-slide:focus {
    outline: none;
  }


  .mcard {
    width: 280px;
    height: 411px;
    flex-shrink: 0; 
    background-size: cover; 
    background-position: center; 
    background-repeat: no-repeat; 
    color: #222; 
    font-weight: bold;
    display: flex; 
    flex-direction: column; 
    box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.2);
    border-radius: 20px; 
    /* margin-left: 8px;  */
  }

  .mcard1 {
    background-image: url('images/m_notice_01.png');
  }

  .mcard2 {
    background-image: url('images/m_notice_02.png');
  }

  .mcard3 {
    background-image: url('images/m_notice_03.png');
  }

  .mcard4 {
    background-image: url('images/m_qa_01.png');
  }

  .mcard5 {
    background-image: url('images/m_qa_02.png');
  }

  .mcard6 {
    background-image: url('images/m_qa_03.png');
  }

  .swiper.m-notice-swiper .swiper-pagination {
    position: relative;
    margin-top: 36px;
    margin-bottom: 100px;
    text-align: center;
  }

  .m-notice-swiper .swiper-pagination-bullet-active {
    background: #0ABE53;
  }

  .swiper-slide:last-child {
    /* margin-right: 20px; */
  }

  
  .swiper-slide:first-child {
    margin-left: 20px;
  }
  
  .notice {
    padding: 120px 24px 0px 20px;
  }

  .notice h1 {
    margin-bottom: 4px;
    font-size: 24px;
    line-height: 130%;
  }

  .mcard span {
    color: #1E1764;
    font-weight: 600;
    font-size: 18px;
    line-height: 130%;
  }

  .mcard p {
    margin-top: 16px;
    color: #333333;
    font-weight: 400;
    font-size: 14px;
    line-height: 160%;
  }

  .mcard .mgt-28 {
    margin-top: 28px;
  }

  .mcard .mgt-52 {
    margin-top: 52px;
  }

  .qa {
    padding: 48px 20px 20px 20px;
  }
  
  .news-section {
    display: none;
  }

  .news-section {
    flex-direction: column;
    padding: 100px 20px;
  }

  .news-container {
    flex-direction: column;
  }

  .news-sidebar {
    width: 100%;
    flex-direction: row;
    justify-content: space-around;
  }

  .slider-wrapper {
    width: 100%;
  }

  .card {
    width: 100%;
    height: auto;
    padding: 40px 20px;
  }

  .footer-container {
    display: none;
  }

  .m-footer-container {
    display: block;
  }

  .footer-text {
    padding: 0px;
  }
  
  .footer-text a {
    margin-top: 56px;
  }

  .footer-text span {
    color: #BDBDBD;
    font-size: 16px;
    font-weight: 400;
    line-height: 160%;
  }

  .m-address {
    margin-top: 56px;
  }

  .m-phone {
    margin-top: 16px;
  }

  .phone {
    margin-left: 0;
  }

  .m-right {
    margin-top: 16px;
  }

  footer {
    background-color: #1b1b1b;
    color: white;
    padding: 40px 0px 40px 20px;
    text-align: left;  
  }
}
