
body {
    font-family: 'Pretendard', sans-serif;
}

:root{
    --drawer-w:320px;
    --header-h:64px;
}

#menu-btn{
    border:0;background:none;padding:0;
    display:flex;align-items:center;justify-content:center;
}

/* ── 드로어 닫기 버튼 ───────────────────────── */
#close-btn{
    position:absolute;
    top:18px;             /* 패딩 여유에 맞춰 조정 */
    right:18px;
    border:0;
    background:none;
    padding:0;
    z-index:1;            /* ul 위에 올라오도록 */
    display:none;         /* 기본은 숨김 → 드로어 열리면 보이게 */
}
  

/* 992px 이상(부트스트랩 lg) ─ 슬라이드 메뉴 강제 off */
.nav-desktop{ display: none;}
@media (min-width: 992px){
    .nav-desktop{
      display:flex !important;
      list-style:none; margin:0; padding:0;
    }
    #menu-btn, .overlay, .drawer{ display:none !important; }
}
  
/* 오버레이 */
.overlay{
    position:fixed;inset:0;
    background:rgba(0,0,0,.4);
    opacity:0;visibility:hidden;
    transition:opacity .3s;
    z-index:1040;
}
.overlay.show{opacity:1;visibility:visible;}

/* 드로어 */
.drawer{
    position:fixed; top:0; right:-320px;   /* ← 닫힐 때 화면 밖 */
    width:320px; height:100vh;
    background:#fff; padding:var(--header-h) 1.5rem 2rem;
    transition:right .3s ease;             /* transform 대신 right 이동 */
    overflow-y:auto; z-index:1050;
}
/* 열릴 때 */
.drawer.open{ right:0; }
/* 드로어 열렸을 때 close-btn 보이기 */
.drawer.open #close-btn{
    display:block;
}
  
/* 메뉴 목록 */
.drawer .menu{
    margin:0;padding:0;list-style:none;
}
.drawer .menu li{
    border-bottom:1px solid #eee;
}
.drawer .menu a{
    display:block;padding:1rem .25rem;
    color:#000;font-weight:500;text-decoration:none;
}
html,body{ overflow-x:hidden; }





.info {
    height: auto; /* 높이를 자동으로 조정 */
    text-align: center;
    color: #d1d1d1;
    font-weight: 100;
    display: flex;
    justify-content: center;
    align-items: center;
}

.info-element1 {
    font-size: 12px;
    font-weight: 200;
    color:#3a3939;
}


.navbar-brand {
    display: flex;
    align-items: center;
}
.navbar-brand img {
    margin-right: 8px;
}

.whitescreen{
    width: 100vw;
    height: 100vh;
    background-color: white;
    transition: all 0.7s;
    opacity: 0.0;
    position: fixed;
    z-index: -1000;
}


.nav-link{
    font-weight: 400;
    margin-right: 20px;
}

.lead{
    font-weight: 300;
    color: black;
}

.main-title{
    font-weight:500;
    color: black;
    z-index: auto;
}

#main-slogan{
    /* background-color: #2F6AB3; */
    /* border-radius: 25px; */
    /* margin-top: 20px; */
    margin-bottom: 20px;

    /* background-image: url('helloimg.webp'); */
    background-size: cover;
    background-position: center;
    
}

.navbar{
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 100;
    opacity: 90%;
}

.headline{
    font-weight: 600;
    margin-top: 50px;
    
}

.section{
    height:100vh; 
    display : flex;
    justify-content : center;
    align-items : center; 
    width:100%; 
    flex-direction: column;
}

.two-images{
    margin-top: 50px;
    display: flex;
    gap: 50px;
    padding: 20px; 
}

#company-vision-subtitle{
    width: 70%;
    text-align: center;
}



.image-box{
    width: 40vw;
    height: 500px;
    border-radius: 20px;
    background-color: white;
    /* background-image: url('https://heerim.com/data/goodsImages/16425747122.'); */
    position: relative;
    padding: 24px;
    background-size: cover;
    background-position: center;
    /* overflow: hidden; */
}


#timecheck{
    background-image: url('../index/stopwatch.png');    
}

#mentoring{
    background-image: url('../index/mentoring.png');
}


.image-box p {
    position: absolute;
    bottom: 24px; /* 하단 여백 */
    right: 24px; /* 우측 여백 */
    margin: 0;
    text-align: right;
    width: 70%;
    font-weight: 200;
    z-index: 2;
}

.image-box h1 {
    color: white;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.8);
    font-weight: bold;
    position: absolute;
    margin: 0;
    font-weight: 600;
    z-index: 2;
}


.carousel {
    width: 100%;
    margin: 0 auto;
    padding: 100px 0;
    overflow: hidden;
    
    display: flex;
    /* &:hover .group {
        animation-play-state: paused;
      } */

    
  }

  .group {
    display: flex;
    gap: 20px;
    padding-right: 20px;
    will-change: transform; /* 브라우저에 애니메이션할 것을 미리 알려 친절하게 대하세요. */
    animation: scrolling 11s linear infinite;
  }

  @keyframes scrolling {
    0% {
      transform: translateX(0);
    }
    100% {
      transform: translateX(-100%);
    }
  }

.item {
    position: relative;
    width: 350px;
    height: 300px;
    /* color: white; */
    border-radius: 24px;

    padding: 20px;
    font-size: xx-large;
    justify-content: space-between;
    flex-direction: column;
    align-items: right;
    background-size: 80%; 
    background-position: center; 
    background-repeat: no-repeat;
    background-position: 240% 190%;
    box-shadow: rgba(0, 0, 0, 0.2) 10px 10px 40px 0;

}

.item div {
    /* align-self: flex-end; */
    /* text-align: right; */
    position: absolute;
    bottom: 0;
    left: 20px;
}

.item h1 {
    margin: 0;
    align-self: flex-start;
}

.elements{
    align-items: center;
    display: flex;
    gap: 20px;
    padding: 20px;
    flex-wrap: nowrap;
    flex-direction: row;
    justify-content: space-between;
}

.element{
    text-align: center;
    width: 30vw;
    height: 150px;
    border-radius: 20px;
    box-shadow: rgba(0, 0, 0, 10%) 5px 5px 20px 0;
    background-color: white;
    font-size:xx-large;
    align-items: center;
    justify-content: center;
    display: flex;
    flex-direction: column;
}

/* ####################### 2025.01.03 수정 */

.element{
    text-align: center;
    width: calc(33.333% - 20px);
    min-width: 280px;
    height:150px;
    border-radius: 20px;
    box-shadow: rgba(0, 0, 0, 10%) 5px 5px 20px 0;
    background-color: white;
    font-size: 1.6rem;
    align-items: center;
    justify-content: center;
    display: flex;
    flex-direction: column;
}

/* ######################## */

.element-title{
    font-weight: 1000;
    /* color: white; */
}

.element-detail{
    font-weight: 100;
    font-size: 16px;
    padding-top: 5px;
}

.gradient{
    background: linear-gradient( #444444, white);
    width: 100%;
    height: 200px;
    bottom:0;
    z-index: -2;
}

#solution-card{
    background-color: #444444; 
    /* background-color: #2F6AB3;     */
}

#goal{
    background-color: #444444;
    /* background-color: #2F6AB3; */
    z-index: -1;
    height: 150px;
    width: 40vw;
}

.fixed {
    position: fixed;
    /* top: 30%; */
    /* transform: translate(-50%, -50%); */
}

#title-container{
    /* position: fixed; */
    z-index: -1;
    display: flex;
    width: 100%;
    height: 100%;
    justify-content: center;
    align-items: center;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}

#blank{
    width: 100%;
    height: 385px;
}

.display-none{
    display: none;
}

#solution-title{
    padding-top: 50px;
    color: white;
}

.review-container{
    padding-left: 50px;
    padding-right: 50px;
    width: 100%;
    display: flex;
}

.review-card{
    background-color: white;
    border-radius: 20px;
    box-shadow: rgba(0, 0, 0, 0.2) 10px 10px 40px 0;
    margin-bottom: 20px;
    width: 60vw;
    height: 150px;
    margin-bottom: 50px;
    padding-top: 20px;
    padding-right: 20px;
    padding-left: 25px;

    color: #333; /* 텍스트 기본 색상 */

}

.review-name {
    font-size: 1.2rem; /* 이름 크기 */
    font-weight: 700; /* 굵게 */
    color: #333; /* 텍스트 색상 */
    margin-bottom: 5px; /* 이름과 나이 사이 간격 */
}

.review-who {
    font-size: 0.9rem; /* 나이 및 신분 크기 */
    font-weight: 400; /* 일반 굵기 */
    color: #666; /* 연한 색상 */
    margin-bottom: 5px; /* 나이와 메시지 간격 */
}

.review-message {
    font-size: 0.95rem; /* 메시지 크기 */
    font-weight: 300; /* 얇은 굵기 */
    color: #444; /* 메시지 텍스트 색상 */
    line-height: 1.5; /* 줄 간격 */
    margin-top: 10px;
}

.floating-animation{
    opacity: 0.0;
    transform: translateY(20px);
    transition: all 0.5s ease-in-out;
}

.floating-animation-arrow{
    opacity: 0.0;
    transform: translateY(-20px);
    transition: all 0.5s ease-in-out;
}

.contactus{
    transform: translate(-50%, -50%);
    padding: 0 auto;
    position: fixed;
    top:40%;
    left:50%;
    /* display: none; */
    z-index: -10000;
    text-align: center;
}

.contactus-animation{
    opacity: 0.0;
    transition: all 0.5s ease-in-out;
    /* display: none; */
    
}

.contactus-show{
    opacity: 1.0;
    /* display: block; */
    z-index: 100;
}

.show{
    opacity: 1.0;
    transform: translateY(0px);
}
.show-arrow{
    opacity: 0.7;
    transform: translateY(0px);
}

.whitescreen-on{
    display: block;
    opacity: 1.0;

    z-index: 1000;
}

.text-shadow {
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8); /* 검은 그림자 추가 */
    font-size: 1rem;
}

.button-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap:  nowrap;
}

.service-card {
    background: white;
    width: 320px;
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.service-card h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 10px;
}

.service-card p {
    font-size: 16px;
    color: #555;
    margin-bottom: 20px;
}

/* ################################## 2025.01.03 수정 */

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

.elements{
    align-items: center;
    display: flex;
    gap: 20px;
    padding: 20px;
    flex-wrap: wrap; /* nowrap */
    flex-direction: row;
    justify-content: center; /* space-between */
}

/* .element{
    text-align: center;
    width: calc(33.333% - 20px); 30vw
    min-width: 280px; 추가
    height: auto; 150px
    border-radius: 20px;
    box-shadow: rgba(0, 0, 0, 10%) 5px 5px 20px 0;
    background-color: white;
    font-size: 1rem; xx-large
    align-items: center;
    justify-content: center;
    display: flex;
    flex-direction: column;
} */

.image-box::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6); /* 반투명 검은색 */
    border-radius: 20px;
    z-index: 1;
}

/* 반응형 미디어 쿼리 */
@media screen and (max-width: 1024px) {
    .solution-title {
        text-align: center;
    }
    .element {
        width: calc(50% - 20px);
    }
    .service-container {
        flex-direction: column;
        align-items: center;
    }

    .service-card {
        width: 90%;
    }
}

@media screen and (max-width: 768px) {
    .element {
        width: 100%;
    }
    .service-container {
        flex-direction: column;
        align-items: center;
    }

    .service-card {
        width: 90%;
    }

    #company-vision-subtitle {
        font-size: 0.9rem;
        line-height: 1.4;
        padding: 10px;
    }
}