.base-container {
  min-height: 100vh; /* Adjust for header and footer height */
  display: flex;
  flex-direction: column;
}
.base-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #000000;
  position: relative;
}

/* Title Alignment */
.base-section .section-title {
  position: absolute;
  top: 20px; /* Position title near the top */
  margin: 0;
  font-size: 24px; /* Adjust as needed */
  color: #000000;
}












/* 메인화면 */
/* 비디오 배경과 오버레이 */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  display: flex;
  justify-content: center;
}

.hero .hero-gif {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

/* 오버레이와 콘텐츠 */
.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(
    0,
    0,
    0,
    0.6
  ); /* 반투명 검정 오버레이 - 기존보다 더 어둡게 설정 */
  z-index: 1;
}

.hero .content {
  position: absolute;
  top: 30%;
  left: 12%;
  color: #ffffff;
  text-align: left;
  z-index: 2;
  width: 100%; /* 너비를 90%로 제한하여 텍스트가 잘 보이도록 조정 */
  max-width: 1200px;
  padding: 20px;
}

.hero .content .content-text-1 {
  font-size: 1.4em;
  margin-bottom: 20px;
}

.hero .content  .content-text-2{
  font-size: 3em;
  font-weight: bold;
  margin-bottom: 20px;
  color: #ffffff; /* 주요 색상 강조 */
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
}
.hero .content  .content-text-2 .highlight{
  font-weight: bold;
  color: #4a90e2; /* 주요 색상 강조 */
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
}

.hero .content  .content-text-3 {
  font-size: 1.5em;
  line-height: 1.6;
}

@media (min-width:2560px) {
  .hero .content{
    left: 25.5%;
  }
  .hero .content .content-text-1{
    font-size: 2.5rem;
  }
  .hero .content .content-text-2{
    font-size: 4rem;
  }
  .hero .content .content-text-3{
    font-size: 2.5rem;
  }
}
@media (max-width:2560px) {

}

@media (max-width:1440px) {
  .hero .content{
    left: 7%;
  }
}

@media (max-width:1024px) {
  .hero .content{
    left: 3%;
  }
}

@media (max-width:768px) {
  .hero .content{
    text-align: center;
  }
}
@media (max-width:425px) {
  .hero .content .content-text-2{
    font-size: 1.7rem;
  }
  .hero .content{
    left: 0;
  }
}
@media (min-width:360px) and (max-width:424px) {
  .hero .content .content-text-2{
    font-size: 1.4rem
  }
}






.keyword-introduction {
  margin: 4rem 0;
}
.keyword-slide-container {
  width: 100%;
  min-height: 480px;

  overflow: hidden;
  display: flex;
  justify-content: center;

}

.keyword-slide-header{
  text-align: left;
  width: 45%;
  height: 480px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.keyword-slide-header .header-flex{
  width: 40%;
  height: 100%;
  padding-right: 30px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-around;
}

.keyword-header .header-text-1{
  font-size: 2rem;
  color: #666;
  padding-bottom: 20px;
}

.keyword-header .header-text-2{
  font-size: 4rem;
  color: #161616;
  
}

.keyword-slide-wrap {
  display: flex;
  width: 45%;
  height: 480px;
  overflow: hidden;
  position: relative; /* 추가 */
}
.keyword-container {
  min-width: 100%;
  padding: 20px;
  display: flex;
  justify-content: center;
  text-align: left;
  position: absolute; /* 추가 */
  left: 0; /* 추가 */
  top: 0; /* 추가 */
  opacity: 0; /* 추가 */
  visibility: hidden; /* 추가 */
  border-left: 2px solid #000000;
  /* transition: opacity 0.3s ease; 추가 */
}
.keyword-container.active {
  opacity: 1;
  visibility: visible;
}

.slide-header-content{
  min-height: 250px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.slide-header-content .keyword-header{
  font-weight: bold;
  display: none;
  
}
.slide-header-content .active{
  display: block;
}

.keyword-navigation {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.keyword-navigation .nav-btn{
  display: flex;
  gap: 20px;

}
.keyword-navigation .slide-btn {
  background: #3366cc;
  color: white;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s;
  z-index: 10; /* 버튼이 항상 최상위에 있도록 */
  position: relative; /* 위치 기준점 설정 */
}

.keyword-navigation .slide-btn:hover {
  background: #254e99;
}

.keyword-navigation .slide-position {
  font-size: 16px;
  color: #333;
  font-weight: 500;
}

.keyword-navigation .slide-position span {
  color: #000000;
  font-weight: bold;
  font-size: 22px;
  padding-right: 10px;
}

.keyword-container .keyword-content{
  position: relative;
  padding-left: 5rem;
  width: 100%;
}
/* .keyword-container .keyword-content::before{
  content: "";
  height: 100%;
  position: absolute;
  left: 0;
  border-left: 2px solid #000000;
} */

.keyword-container .keyword-content .content-text:nth-child(2){
  margin: 2rem 0;
}

.keyword-content .content-text .content-header{
  font-size: 1.5rem;
  font-weight: bold;
  padding-bottom: 10px;
}

.keyword-content .content-text .content-desc,
.keyword-content .content-text .content-budget{
  padding-left: 20px;
  color: #666;
  font-size: 1.1rem;
}

@media (min-width:2560px) {
  .keyword-slide-header{
    height: 550px;
  }
  .keyword-container{
    height: 550px;
  }
  .keyword-content .content-text .content-header{
    font-size: 2.3rem;
  }
  .keyword-content .content-text .content-desc, .keyword-content .content-text .content-budget{
    font-size: 1.3rem;
  }
}

@media (max-width:1440px) {
  .keyword-slide-header .header-flex{
    width: 66%;
  }
}
@media (max-width:1360px) {
  .keyword-slide-header .header-flex{
    width: 70%;
  }
}
@media (max-width:1024px) {
  .keyword-slide-header .header-flex{
    width: 93%;
  }
  .keyword-container .keyword-content{
    padding-left: 0;
  }
  .keyword-content .content-text .content-header{
    font-size: 1.3rem;
  }
  .keyword-content .content-text .content-desc,
  .keyword-content .content-text .content-budget{
    font-size: 0.9rem;
  }
}

@media (max-width:768px) {
  .keyword-header .header-text-2{
    font-size: 3rem;
  }
  .keyword-slide-header .header-flex{
    width: 95%;
  }
  .keyword-content .content-text .content-desc, .keyword-content .content-text .content-budget{
    font-size: 0.8rem;
  }
}
@media (max-width:425px) {
  .keyword-slide-container{
    flex-direction: column;
    align-items: center;
  }
  .keyword-slide-header{
    width: 100%;
    height: 360px;
  }
  .slide-header-content{
    justify-content: center;
    text-align: center;
  }
  .keyword-slide-wrap{
    width: 100%;
    height: 400px;
  }
  .keyword-content .content-text .content-header{
    font-size: 1.1rem;
  }
  .keyword-content .content-text .content-desc,
  .keyword-content .content-text .content-budget{
    font-size: 0.8rem;
  }
}
  @media (min-width:360px) and (max-width:424px){
  .keyword-content .content-text .content-header{
    font-size: 0.9rem;
  }
}






/* advice-introdution */
.advice-introduction {
  padding: 100px 0;
  background-color: #f8f9fa;
}

.advice-introduction .advice-container {
  max-width: 1400px;
  margin: 0 auto;
  display: flex
;
  justify-content: center;
  align-items: center;
  padding: 0 40px;
  flex-direction: column;
}
.advice-introduction .advice-header{
  max-width: 1200px;
}
.advice-introduction .advice-content {
  display: flex;
  
  max-width: 1200px;
  width: 100%;
}

.advice-introduction .advice-title {
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 40px;
  color: #333;
  text-align: left;
}

.advice-introduction .advice-description {
  font-size: 1.2rem;
  line-height: 1.8;
  color: #666;
  margin-bottom: 40px;
  text-align: left;
}
.advice-introduction .advice-description br{
  display: none;
}
.advice-introduction .advice-description strong {
  color: #4a90e2;
  font-weight: 600;
}

.advice-introduction .preparation-list {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  position: relative;  /* 가상요소를 위한 position 설정 */
}

.advice-introduction .preparation-list::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 300px;  /* 그라데이션의 높이 */
  background: linear-gradient(
    to bottom,
    rgba(248, 249, 250, 0) 0%,    /* 상단은 투명 */
    rgba(248, 249, 250, 1) 100%   /* 하단은 배경색과 동일 */
  );
  pointer-events: none;  /* 클릭 이벤트 통과 */
  z-index: 5;
}

.advice-introduction .list-item {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #555;
  position: relative;  /* 위치 기준점 설정 */
  z-index: 1;         /* 그라데이션 위에 텍스트가 보이도록 */
}
.advice-introduction .list-item strong {
  color: #333;
  font-weight: 600;
}

.advice-introduction .advice-image {
  flex: 1;
  max-width: 500px;
  margin-left: 60px;
}

.advice-introduction .advice-image img {
  width: 100%;
  height: auto;
  border-radius: 30px;
  box-shadow: 3px 2px 10px 1px #797979

}
.process-header .header-text-2 br{
  display: none;
}
@media (min-width:2560px) {
  .advice-introduction .advice-description{
    font-size: 1.4rem;
  }
  .advice-introduction .list-item{
    font-size: 1.3rem;
  }
}

@media (max-width:1440px) {
  .advice-introduction .advice-description{
    font-size: 1.4rem;
  }
  .advice-introduction .list-item{
    font-size: 1.3rem;
  }
}
@media (max-width:1360px) {

}
@media (max-width:1024px) {
  .advice-introduction .advice-description{
    word-break: keep-all;
    text-align: center;
    font-size: 1.1rem;
  }
  .advice-introduction .advice-description br{
    display: block;
  }
  .advice-introduction .advice-title{
    font-size: 1.7rem;
    text-align: center;
  }
}

@media (max-width:768px) {
  .advice-introduction .advice-content{
    flex-direction: column-reverse;
    align-items: center;
  }
  .advice-introduction .advice-image{
    margin-left: 0;
    margin-bottom: 2rem;
  }
  .advice-introduction .advice-image img{
    width: 60%;
  }
}
@media (max-width:425px) {
  .advice-introduction .advice-title{
    font-size: 1.6rem;
  }
  .advice-introduction .advice-container{
    padding: 0 15px;
  }
  .advice-introduction .advice-description{

    font-size: 0.8rem;
  }
  .advice-introduction .list-item{
    font-size: 0.8rem;
  }

}
  
@media (min-width:360px) and (max-width:424px) {
  .advice-introduction .advice-title{
    font-size: 1.5rem;
  }
  .advice-introduction .advice-description{
    font-size: 0.7rem;
  }
  .advice-introduction .list-item{
    font-size: 0.7rem;
  }
}
  












/* Service Introduction Styles */
.service-introduction {
  margin: 4rem 0;
}

/* 서비스 소개 내용 */
.service-introduction .service-description {
  text-align: center;
  color: #333;
  margin: 20px auto;
  max-width: 900px;
  line-height: 2;
}
.service-description .desc-text-1{
  font-size: 1rem;
}
.service-description .desc-text-2{
  font-size: 2.5rem;
  font-weight: bold;
}


.desc-text-2 span{
  color: #3366cc;
}
.service-description .desc-text-3 br{
  display: none;
}

/* 서비스 카드 스타일 */
.service-introduction .service-cards {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  justify-items: center;
  gap: 20px;
  margin-top: 40px;
  width: 80%;
}
.service-introduction .service-card {
  background-color: #e0edff;
  border-radius: 40px;
  width: 100%;
  height: 400px;
  padding: 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  position: relative;
}
.service-card span {
  color: #a0a0a0;
  margin-bottom: 10px;
  font-size: 0.8rem;
}

/* card-header 텍스트 스타일 */
.service-introduction .service-card .card-header{
  height: 40px;
}
.service-introduction .service-card .card-header span {
  font-size: 1.7rem;
  font-weight: bold;
  color: #3366cc;
  margin-bottom: 10px;
  line-height: 35px;
  vertical-align: middle;
}

/* card-highlight 텍스트 스타일 */
.service-introduction .service-card .card-highlight {
  font-size: 0.875rem;
  color: #333;
  line-height: 1.4;
  margin-bottom: 15px;
}

.service-card .card-description{
  font-size: 1rem;
}

/* 각 카드의 배경 이미지 설정 */
.service-introduction .service-card .card-icon {
  width: 60%;
  height: auto; /* 이미지 영역 높이 설정 */
  display: flex;
  justify-content: center;
  align-items: flex-end;
  overflow: hidden; /* 이미지가 컨테이너를 벗어나지 않도록 */
  border-radius: 20%;
  margin-bottom: 20px;
}
/* 이미지 스타일 */
.service-introduction .service-card .card-icon img {
  max-width: 100%;
  height: auto;
  object-fit: contain; /* 이미지 비율 유지 */
}

@media (min-width:2560px) {
  .service-description .desc-text-1{
    font-size: 2rem;
  }
  .service-description .desc-text-2{
    font-size: 3.5rem;
  }
  .service-description .desc-text-3{
    font-size: 1.4rem;
  }
  .service-introduction .service-card{
    height: 500px;
  }
  .service-card span{
    font-size: 1rem;
  }
  .service-introduction .service-card .card-highlight{
    font-size: 1rem;
  }
  .service-introduction .service-card .card-header{
    height: 60px;
  }
  .service-introduction .service-card .card-header span{
    font-size: 2.3rem;
    line-height: 45px;
  }
  .service-introduction .service-card .card-icon{
    width: 70%;
  }
  .service-card .card-description{
    font-size: 1.2rem;
  }
  .service-introduction .service-cards{
    width: 65%;
  }

}
@media (max-width:2560px) {
}

@media (max-width:1440px) {
  .service-introduction .service-cards{
    width: 95%;
  }
}

@media (max-width:1024px) {
  .service-introduction .service-cards{
    grid-template-columns:repeat(2,1fr);
    width: 65%;
  }
}

@media (max-width:768px) {
  .service-introduction .service-cards{
    width: 90%;
  }
}
@media (max-width:425px) {
  .service-introduction .service-description .desc-text-2{
    font-size: 1.6rem;
  }
  .service-description .desc-text-3 br{
    display: block;
  }
  .service-introduction .service-description .desc-text-3{
    font-size: 0.8rem;
  }
  .service-introduction .service-cards{
    grid-template-columns: repeat(1,1fr);
    width: 70% ;
  }
  .service-card .card-description{
    font-size: 0.9rem;
  }
}
@media (min-width:360px) and (max-width:424px) {
  .service-introduction .service-card .card-icon{
    width: 75%;
  }
  .service-introduction .service-description .desc-text-3{
  }
  .service-card span{
    font-size: 0.7rem;
  }
  .service-introduction .service-card{
    height: 350px;
  }
  .service-introduction .service-card .card-header span{
    font-size: 1.2rem;
  }
  .service-introduction .service-card .card-highlight{
    font-size: 0.7rem;
  }
}
@media (min-width:320px) {
  .service-introduction .service-card .card-header span{
    font-size: 1.4rem;
  }
}















/* process-introduction css */

.process-introduction{
  margin: 4rem 0;
  background-color: #F9F9F9;
}

.process-introduction .process-container{
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin: 4rem 0;
}

.process-container .process-header{
  text-align: center;
  line-height: 2;
  margin-bottom: 4rem;
}

.process-header .header-text-1{
  font-size: 2.5rem;
  font-weight: bold;
}
.process-header .header-text-1 span{
  color: #3366cc;
  font-size: 2.7rem;
}

.process-header .header-text-2{
  font-size: 1.7rem;
  color: #5e5e5e;
}

.process-container .process-content{
  display: flex;
  justify-content: center;
  width: 80%;
}

.process-container .process-content img{
  width: 100%;
  height: auto;
}

.process-content-img-1{
  display: block;
}
.process-content-img-2{
  display: none;
}
.process-content-img-3{
  display: none;
}
@media (max-width:1024px) {
  .process-header .header-text-2{
    font-size: 1.5rem;
  }
}
@media (max-width:768px) {
  .process-content-img-1{
    display: none;
  }
  .process-content-img-2{
    display: block;
  }
  .process-content-img-3{
    display: none;
  }

  .process-header .header-text-1{
    font-size: 2rem;
  }
  .process-header .header-text-2{
    font-size: 1rem;
  }
}
@media (max-width:425px) {
  .process-content-img-1{
    display: none;
  }
  .process-content-img-2{
    display: none;
  }
  .process-content-img-3{
    display: block;
  }
  .process-header .header-text-1{
    font-size: 1rem ;
  }
  .process-header .header-text-1 span{
    font-size: 1.7rem ; 
  }
  .process-header .header-text-2{
    font-size: 0.8rem ; 
  }
  .process-header .header-text-2 br{
    display: block;
  }
}
@media (min-width:360px) and (max-width:424px) {
  .process-header .header-text-1{
    font-size: 0.9rem;
  }
}






/* product-introduction css */
.product-introduction {
  padding: 100px 0;
  background-color: #ffffff;
}

.product-introduction .product-container {
  display: flex;
  gap: 4rem;
  flex-direction: column;
    width: 100%;
    align-items: center;
}
.product-introduction .product-header{
  text-align: center;
}

.product-header .header-text-1{
  line-height: 1.5;
  font-size: 2.5rem;
  padding-bottom: 20px;
  font-weight: bold;
}

.product-header .header-text-1 span{
  color: #3366cc;
  font-size: 3rem;
}

.product-header .header-text-2{
  line-height: 1.5;
  font-size: 1.5rem;
  color: #4d4d4d;
}

.product-introduction .product-cards {
  display: flex;
  justify-content: center;
  gap: 30px;
}
.product-introduction .product-card:nth-child(1){
  background-color: #fff;
  
}
.product-introduction .product-card:nth-child(2){
  background-color: #fff;
}
.product-introduction .product-card:nth-child(3){
  background-color: #dff4ff;
}

.product-introduction .product-card {
  flex: 1;
  max-width: 360px;
  min-width: 300px;
  height: 500px;
  border-radius: 10px;
  padding: 40px 20px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  text-align: center;  /* 중앙정렬 추가 */
}

.product-introduction .product-card:hover {
  transform: translateY(-5px);
}

.product-introduction .card-header {
  text-align: center;
  margin-bottom: 40px;
  border-bottom: 2px solid #dadada;
  height: 25%;
  position: relative;

}

.product-introduction .card-header h3 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 8px;
  color: #333;
}

.product-introduction .card-header .price {
  font-size: 24px;
  font-weight: 600;
  color: #4a90e2;
}

.product-introduction .card-header .standard-style {

  text-decoration: line-through;
  color: #686868;

}

.product-introduction .card-header .price-free{

  font-weight: bold;
  font-size: 1rem;
  color: #4a90e2;
}

.product-introduction .card-content{
  height: 65%;

}

.product-introduction .package-info {
  color: #333;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  height: 100%;
}

.product-introduction .service-list {
  margin-bottom: 30px;
}

.product-introduction .service-list h4,
.product-introduction .revision-info h4 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 15px;
  color: #666;
}

.product-introduction .service-list p {
  margin-bottom: 12px;
  line-height: 1.6;
  color: #333;
}
.product-introduction .service-list p span{
  color: #0400f8;
}

.product-introduction .revision-info {
  padding-top: 20px;
  width: 100%;
  border-top: 1px solid #cacaca;
}

.product-introduction .revision-info p {
  font-size: 16px;
  color: #333;
}

@media (max-width:1440px) {
  .product-introduction .product-cards{
    width: 90%;
    padding: 40px;
  }

}
@media (max-width:1024px) {
}

@media (max-width:768px) {
  .product-introduction .product-cards{
    width: 90%;
    gap: 15px;
  }
  .product-introduction .product-card{
    min-width: 245px;
    padding: 40px 10px;
  }
}
@media (max-width:700px) {
  .product-introduction .product-cards{
    flex-direction: column;
    align-items: center;
    min-width: 300px;
    padding: 40px;
  }
}

@media (max-width:425px) {
  .product-header .header-text-1{
    font-size: 1.5rem;
  }
  .product-header .header-text-2{
    font-size: 0.9rem;
  }
  .product-introduction .product-card{
    min-width: 300px;
  }
  .product-introduction .card-header .price-free{

  }
  .product-introduction .card-header .standard-style{
  }
}
@media (min-width:320px) and (max-width:424px) {
  .product-header .header-text-1{
    font-size: 1.3rem;
  }
  .product-header .header-text-2{
    font-size: 0.8rem;
  }
}




/* TOP 버튼 스타일 */
.top-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background-color: #3366cc;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.top-btn.show {
  opacity: 1;
  visibility: visible;
}

.top-btn img {
  width: 20px;
  height: 20px;
  margin-bottom: 2px;
  filter: brightness(0) invert(1);  /* 이미지를 흰색으로 변경 */
}

.top-btn span {
  color: white;
  font-size: 12px;
  font-weight: bold;
}

.top-btn:hover {
  transform: translateY(-5px);
  background-color: #254e99;
}

@media (max-width: 768px) {
  .top-btn {
      bottom: 20px;
      right: 20px;
      width: 40px;
      height: 40px;
  }
  
  .top-btn img {
      width: 15px;
      height: 15px;
  }
  
  .top-btn span {
      font-size: 10px;
  }
}