html,
body {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Pretendard Variable'!important;
    font-size: 62.5%;
    font-size: 18px;
    overflow-x: hidden;
}

:root {
    --swiper-theme-color: #32b16c!important;
}

header {
    backdrop-filter: blur(10px);
    height: 63px;
    position: fixed;
    z-index: 5;
    top: 0;
    transition: top 0.2s ease-in-out;
    width: 100%;
}

.nav-up {
    top: -65px;
}

.btn-group-fab {
  position: fixed;
  width: 50px;
  height: auto;
  right: 20px; bottom: 20px;
}
.btn-group-fab div {
  position: relative; width: 100%;
  height: auto;
}
.btn-group-fab .btn {
  position: absolute;
  bottom: 0;
  border-radius: 50%;
  display: block;
  margin-bottom: 4px;
  width: 40px; height: 40px;
  margin: 4px auto;
}
.btn-group-fab .btn-main {
  width: 50px; height: 50px;
  right: 50%; margin-right: -25px;
  z-index: 9;
}
.btn-group-fab .btn-sub {
  bottom: 0; z-index: 8;
  right: 50%;
  margin-right: -20px;
  -webkit-transition: all 2s;
  transition: all 0.5s;
}
.btn-group-fab.active .btn-sub:nth-child(2) {
  bottom: 60px;
}
.btn-group-fab.active .btn-sub:nth-child(3) {
  bottom: 110px;
}
.btn-group-fab.active .btn-sub:nth-child(4) {
  bottom: 160px;
}
.btn-group-fab .btn-sub:nth-child(5) {
  bottom: 210px;
}

.home {
    height: 280vh;
}

.haenaedaContainer {
    /* hide fixed overflow contents */
    clip: rect(0, auto, auto, 0);
  
    /* does not work if overflow = visible */
    overflow: hidden;
  
    /* only works with absolute positioning */
    position: absolute;
  
    /* Make sure containers are full-width and height */
    height: 100vh;
    left: 0;
    width: 100%;
    
    
    /* safari hack */
    -webkit-mask-image: -webkit-linear-gradient(top, #ffffff 0%,#ffffff 100%);
}

.secondContainer {
    height: 200vh!important;
}

.centerCanvas {
    margin: 0;
    z-index: 6;
    height: 100vh!important; 
    display: -webkit-box; 
    display: -moz-box;
    display: -ms-flexbox; 
    display: flex; 

    -webkit-box-align: center; 
    -moz-box-align: center;
    -ms-flex-align: center;
    align-items: center; /* 수직 정렬 */

    -webkit-box-pack: center;
    -moz-box-pack: center; 
    -ms-flex-pack: center; 
    justify-content: center; /* 수평 정렬 */
}

#c {
    z-index: 6;
    width: 95vh;
    height: 65vh;
    border: 0.5rem solid rgba(240, 240, 240);
    max-width: 80%;
}

.centerCanvas {
    position: relative;
}

.canvas-loading {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 15;
}

.canvas-loading.hidden {
    display: none;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 4px solid rgba(50, 177, 108, 0.2);
    border-top-color: #32b16c;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.canvas-loading p {
    margin-top: 1rem;
    color: #32b16c;
    font-size: 0.9rem;
    font-weight: 500;
}

.container_solid {
    background: white;
    
    /* position this container at the top of its parent element */
    top: 0;
}

.secondContainerOpacity {
    background: white;
    position: relative;
    z-index: 3;
}

.title_wrapper {
    position: fixed;
    display: block;  
    margin: auto;
    width: 100%;
    /* center the text wrapper vertically */
    top: 50%;
    -webkit-transform: translateY(-50%);
        -ms-transform: translateY(-50%);
            transform: translateY(-50%);
  }
  
  .title_wrapper h1 {
    text-align: center;
    font-size: 9vw;
    text-align: center;
    font-weight: 920;
    place-content: center;
    display: grid;
  }

  .container_solid .title_wrapper h1 {
    /* the text background */
    background: url(https://haenaeda.com/cdn/files/background-landing.jpg);
    background-size: cover;
    background-position: center;
    
    /* clip the text is possible */
    text-fill-color: transparent;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    -webkit-background-clip: text;
    
    /* fallback text color */
    color: black;
  }

  .container_image {
    /* Grab a free image from unsplash */
    background-image: url(https://haenaeda.com/cdn/files/background-landing.jpg);
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
    
    /* position the second container below the first container */
    top: 100vh;
}
@supports ( -webkit-touch-callout : none) {
    .container_image {
        background-attachment:scroll;
    }
}

  .container_image .title_wrapper h1 {
    color: white;
  }

  .nav {
    width: 100%;
    position: fixed;
    line-height: 65px;
    text-align: center;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(30px);
    height: 63px;
    position: fixed;
    z-index: 5;
    top: 0;
    transition: top 0.2s ease-in-out;
}

.nav div.logo {
    float: left;
    width: auto;
    height: auto;
    padding-left: 2rem;
}

.nav div.logo a {
    text-decoration: none;
    font-weight: 920;
    color: #000;
    font-size: 1.5rem;
}

.nav div.logo a:hover {
    color: #32b16c;
}

.nav div.main_list {
    height: 65px;
    float: right;
}

.nav div.main_list ul {
    width: 100%;
    height: 65px;
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav div.main_list ul li {
    width: auto;
    height: 65px;
    padding: 0;
    padding-right: 3rem;
}

.nav div.main_list ul li a {
    text-decoration: none;
    color: black;
    line-height: 65px;
    font-size: 2.4rem;
}

.nav div.main_list ul li a:hover {
    color: #32b16c;
}

.firstSection {
    height: 100vh;
    display: -webkit-box; 
    display: -moz-box;
    display: -ms-flexbox; 
    display: flex; 
 
    -webkit-box-align: center; 
    -moz-box-align: center;
    -ms-flex-align: center;
    align-items: center; /* 수직 정렬 */
 
    -webkit-box-pack: center;
    -moz-box-pack: center; 
    -ms-flex-pack: center; 
    justify-content: center; /* 수평 정렬 */
}

.imageTransitionSection {
    height: 60vh;
    display: -webkit-box; 
    display: -moz-box;
    display: -ms-flexbox; 
    display: flex; 
 
    -webkit-box-align: center; 
    -moz-box-align: center;
    -ms-flex-align: center;
    align-items: center; /* 수직 정렬 */
 
    -webkit-box-pack: center;
    -moz-box-pack: center; 
    -ms-flex-pack: center; 
    justify-content: center; /* 수평 정렬 */
}

.subtext {
    color: rgba(160, 160, 160);
}

.bemsimage {
    padding-left: 0!important;
}

.pwmimage {
    padding-right: 0!important;
    margin-top: 0!important;
}

.swiper {
    width: 500px;
    height: 400px;
    z-index: 20!important;
    max-width: 100%;
  }

  .swiper-slide {
    text-align: center;
    font-size: 18px;
    background: #fff;

    /* Center slide text vertically */
    display: -webkit-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    -webkit-justify-content: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    -webkit-align-items: center;
    align-items: center;
    max-width: 100%;
  }

  .swiper-slide img {
    display: block;
    width: 500px;
    height: 400px;
    object-fit: contain;
    max-width: 100%;
  }

  .swiper {
    margin-left: auto;
    margin-right: auto;
    max-width: 100%;
  }

  .carousel-control-next-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%2332b16c'%3e%3cpath d='M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e")!important;
  }

  .carousel-control-prev-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%2332b16c'%3e%3cpath d='M11.354 1.646a.5.5 0 0 1 0 .708L5.707 8l5.647 5.646a.5.5 0 0 1-.708.708l-6-6a.5.5 0 0 1 0-.708l6-6a.5.5 0 0 1 .708 0z'/%3e%3c/svg%3e")!important;
}

.carousel-indicators [data-bs-target] {
    background-color: #32b16c!important;
}

.centerDiv {
    display: -webkit-box; 
    display: -moz-box;
    display: -ms-flexbox; 
    display: flex; 
 
    -webkit-box-align: center; 
    -moz-box-align: center;
    -ms-flex-align: center;
    align-items: center; /* 수직 정렬 */
 
    -webkit-box-pack: center;
    -moz-box-pack: center; 
    -ms-flex-pack: center; 
    justify-content: center; /* 수평 정렬 */
}

.imageTextSection {
    height: 50vh;
    margin-top: 10%;
    margin-left: 10%;
    margin-right: 10%;
    display: flex;
    justify-content: center;
}

.videoSection {
    height: 100vh;
    display: -webkit-box; 
    display: -moz-box;
    display: -ms-flexbox; 
    display: flex; 
 
    -webkit-box-align: center; 
    -moz-box-align: center;
    -ms-flex-align: center;
    align-items: center; /* 수직 정렬 */
 
    -webkit-box-pack: center;
    -moz-box-pack: center; 
    -ms-flex-pack: center; 
    justify-content: center; /* 수평 정렬 */
}

.beforeAfterSection {
    height: 100vh;
    display: -webkit-box; 
    display: -moz-box;
    display: -ms-flexbox; 
    display: flex; 
 
    -webkit-box-align: center; 
    -moz-box-align: center;
    -ms-flex-align: center;
    align-items: center; /* 수직 정렬 */
 
    -webkit-box-pack: center;
    -moz-box-pack: center; 
    -ms-flex-pack: center; 
    justify-content: center; /* 수평 정렬 */
}

.developerVideo {
    width: 75vh;
    z-index: 6;
}

.alignRight {
    text-align: right;
}

.responsiveBr {
    display: none;
}

.navTrigger {
    display: none;
}

.nav {
    -webkit-transition: all 0.4s ease;
    transition: all 0.4s ease;
}

.myH1 {
    font-size: 40px;
    font-weight: 700;
    display: flex;
    color: rgba(40, 40, 40);
}

.companyVision {
    font-size: 70px;
    font-weight: 900;
    max-width: 100%;
}

.more {
    position: absolute;
    font-size: 40px;
    z-index: 5;
    text-decoration: none;
    color: #32b16c;
}

.headerText {
    font-size: 25px;
    font-weight: 500;
    color: #32b16c;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.responsiveSecond {
    display: flex;
}

.home-sec {
    padding-top: 64px;
    padding-bottom: 80px;
    z-index: 6;
  }
  .before-after {
    background: #283593;
  }
  .home-col {
    width: 100%;
    max-width: 1024px;
    padding-left: 32px;
    padding-right: 32px;
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
  }
  .home-sec h2 {
    text-align: center;
  }
  .before-after .container {
    width: 100%;
    border-radius: 4px;
    overflow: hidden;
    position: relative;
    cursor: col-resize;
    box-shadow: 0 12px 24px 0;
    min-height: 300px;
  }
  .before-after .before {
    position: absolute;
    height: 100%;
    top: 0;
    left: 0;
    overflow: hidden;
    border-right: 4px solid #b6b6b6;
    box-sizing: border-box;
  }
  .before-after .before img {
    display: flex;
    height: 100%;
  }

#footer {
    display: flex;
    background-color: #E6E6E6;
    color: #616161;
    max-width: 100%;
}

.footerDiv {
    padding: 60px;
}

.footerLogo {
    font-weight: 900;
    font-size: 23px;
    padding-bottom: 10px;
}

.footerLogoCompany {
    padding-top: 10px;
    font-weight: 500;
    font-size: 14px;
    color: #858484;
}

.footerText {
    font-size: 13px;
    font-weight: 500;
    color: #616161;
    position: relative;
    z-index: 6;
    text-decoration: none;
}

/* .sec-text {
    color: #32b16c;
    position: relative;
}

.sec-text:before {
    content: "";
    z-index: 1;
    position: absolute;
    top:0;
    left: 0;
    height: 100%;
    width: 100%;
    background-color: white;
    border-left: 2px solid #32b16c;
    animation: animate 1.8s steps(3) infinite;
}
@keyframes animate{
    40%, 60%{
        left: 100%;
    }
    100%{
        left: 0%;
    }
}

.thirdText {
    position: relative;
    z-index: 3;
} */

.hidden {
    opacity:0;
}

.alignLeft {
    justify-content: center;
    align-items: center;
}

/* ── 연혁 타임라인 ── */
.haenaeda-timeline {
    position: relative;
    max-width: 680px;
    width: 100%;
    padding-left: 72px;
    padding-bottom: 4rem;
}

/* 세로 선 */
.haenaeda-timeline::before {
    content: '';
    position: absolute;
    left: 28px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, #32b16c 0%, rgba(50, 177, 108, 0.08) 100%);
}

/* 연도 레이블 */
.hn-timeline-year {
    font-size: 1.9rem;
    font-weight: 900;
    color: #32b16c;
    margin: 2.8rem 0 1.1rem;
    position: relative;
    line-height: 1.2;
}

/* 연도 원형 마커 */
.hn-timeline-year::before {
    content: '';
    position: absolute;
    left: -56px; /* (72 - 28) - 12 = 32 → left edge at 28-12=16px from container */
    top: 50%;
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
    background: #32b16c;
    border-radius: 50%;
}

/* 이벤트 행 */
.hn-timeline-event {
    display: flex;
    align-items: baseline;
    gap: 1.1rem;
    margin-bottom: 0.85rem;
    position: relative;
}

/* 이벤트 점 마커 */
.hn-timeline-event::before {
    content: '';
    position: absolute;
    left: -50px; /* left edge at 28-6=22px from container */
    top: 0.42em;
    width: 12px;
    height: 12px;
    background: #fff;
    border: 2.5px solid #32b16c;
    border-radius: 50%;
    box-shadow: 0 0 0 3px rgba(50, 177, 108, 0.12);
}

.hn-timeline-date {
    font-size: 0.85rem;
    color: #32b16c;
    font-weight: 700;
    min-width: 72px;
    white-space: nowrap;
    flex-shrink: 0;
}

.hn-timeline-desc {
    font-size: 1rem;
    color: rgba(45, 45, 45);
    font-weight: 500;
    line-height: 1.5;
}

@media (max-width: 768px) {
    .haenaeda-timeline {
        padding-left: 52px;
    }
    .haenaeda-timeline::before {
        left: 20px;
    }
    .hn-timeline-year {
        font-size: 1.5rem;
    }
    .hn-timeline-year::before {
        left: -40px;
        width: 20px;
        height: 20px;
    }
    .hn-timeline-event::before {
        left: -36px;
        width: 10px;
        height: 10px;
    }
    .hn-timeline-event {
        flex-direction: column;
        gap: 0.15rem;
        margin-bottom: 1.1rem;
    }
    .hn-timeline-date {
        font-size: 0.78rem;
    }
    .hn-timeline-desc {
        font-size: 0.9rem;
    }
}

/* ── 주요 수행 프로젝트 테이블 ── */
.hn-projects-accordion {
    width: 100%;
}

.hn-projects-toggle {
    list-style: none;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.5rem 0.95rem;
    margin: 0 0 0.95rem;
    border: 1px solid rgba(50, 177, 108, 0.45);
    border-radius: 999px;
    background: rgba(50, 177, 108, 0.06);
    color: #32b16c;
    font-size: 0.82rem;
    font-weight: 700;
    cursor: pointer;
    user-select: none;
}

.hn-projects-toggle::-webkit-details-marker {
    display: none;
}

.hn-projects-toggle::after {
    content: '';
    width: 0.5rem;
    height: 0.5rem;
    border-right: 2px solid #32b16c;
    border-bottom: 2px solid #32b16c;
    transform: rotate(45deg) translateY(-1px);
    transition: transform 0.2s ease;
}

.hn-projects-accordion[open] .hn-projects-toggle::after {
    transform: rotate(-135deg) translateY(-1px);
}

.hn-projects-table-wrap {
    overflow-x: auto;
    border-radius: 10px;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.07);
}

.hn-projects-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.88rem;
}

.hn-projects-table thead tr {
    background: #32b16c;
    color: #fff;
}

.hn-projects-table th {
    padding: 0.8rem 1.2rem;
    font-weight: 700;
    text-align: left;
    white-space: nowrap;
    letter-spacing: 0.02em;
}

.hn-projects-table td {
    padding: 0.55rem 1.2rem;
    color: rgba(50, 50, 50);
    border-bottom: 1px solid rgba(220, 220, 220, 0.5);
}

.hn-projects-table tbody tr:last-child td {
    border-bottom: none;
}

.hn-projects-table tbody tr:nth-child(even) td {
    background: rgba(50, 177, 108, 0.04);
}

.hn-projects-table tbody tr:hover td {
    background: rgba(50, 177, 108, 0.1);
    transition: background 0.15s;
}

.hn-projects-table td:first-child {
    color: #32b16c;
    font-weight: 700;
    white-space: nowrap;
}

/* ── 푸터 주소 레이블 ── */
.footerAddrLabel {
    display: inline-block;
    font-size: 10px;
    font-weight: 700;
    color: #32b16c;
    border: 1px solid rgba(50, 177, 108, 0.55);
    border-radius: 3px;
    padding: 1px 5px;
    margin-right: 7px;
    line-height: 1.5;
    vertical-align: middle;
}

.textWrap {
    position: relative;
}

.coverImageLaptop {
    width: 100vw;
    height: 1999px;
    object-fit: contain;
    object-position: center;
    max-width: 100%;
}

.wrap {
    width: 84vh;
    display: flex;
    flex-wrap: nowrap;
}

/* Media qurey section */

@media screen and (min-width: 768px) and (max-width: 1024px) {
    .div-container {
        margin: 0;
    }
    .container {
        margin: 0;
    }
    .companyVision {
        font-size: 7vw;
    }
    .more {
        font-size: 4.5vw;
    }
}

@media screen and (max-width:768px) {
    .navTrigger {
        display: block;
    }
    .nav div.logo {
        margin-left: 15px;
    }
    .nav div.main_list {
        width: 100%;
        height: 0;
        overflow: hidden;
    }
    .nav div.show_list {
        height: auto;
        display: none;
    }
    .nav div.main_list ul {
        flex-direction: column;
        width: 100%;
        height: 100vh;
        right: 0;
        left: 0;
        bottom: 0;
        background-color: #fff;
        /*same background color of navbar*/
        background-position: center top;
    }
    .nav div.main_list ul li {
        width: 100%;
        text-align: right;
    }
    .nav div.main_list ul li a {
        text-align: center;
        width: 100%;
        font-size: 3rem;
        padding: 20px;
    }
    .nav div.media_button {
        display: block;
    }
    .companyVision {
        font-size: 6vw;
    }
    .more {
        font-size: 4.5vw;
    }
    .myH1 {
        font-size: 30px;
    }
    .headerText {
        font-size: 17px;
    }
    .secondSection {
        display: block;
    }
    .responsiveBr {
        display: block;
    }
    .imageTextSection {
        display: block;
    }
    .responsiveSecond {
        display: none;
    }
    #footer {
        height: 400px;
    }
    .imageTextSection {
        height: 100vh!important;
        max-width: 100%!important;
    }
    .swiper {
        max-width: 100%!important;
        width: 80vw;
    }
    .swiper-slide img {
        max-width: 100%!important;
    }
    .thirdSection {
        margin-left: 0!important;
    }
    #c {
        width: 40vh;
        height: 40vh;
    }
    .coverImageLaptop {
        height: 200px;
        margin-bottom: 10rem;
    }
    .coverImageText {
        margin-left: 10%;
    }
    .partnerImage {
        height: 10px;
    }
    
}

@media screen and (max-width: 992px) {
    .bemsimage {
        padding-left: calc(var(--bs-gutter-x) * .5)!important;
    }
    .pwmimage {
        padding-right: calc(var(--bs-gutter-x) * .5)!important;
        margin-top: var(--bs-gutter-y)!important;
    }
    .haenaedaDesign {
        margin-bottom: 10rem;
    }
    .haenaedaControlPanelProduction {
        margin-bottom: 5rem;
    }
    .haenaedaConstructionImage {
        margin-top: 0!important;
    }
    .haenaedaConstructionImageDiv {
        margin-bottom: 10rem!important;
    }
    .BEMS {
        margin-bottom: 5rem;
    }
}

@media (min-width: 1400px) {
    .carousel {
        max-width: 780px!important;
    }
}

.dropup .hide-toggle.dropdown-toggle::after {
    display: none !important;
  }

.back-to-top {
    position: fixed;
    bottom: 25px;
    right: 25px;
    display: none;
    z-index: 5!important;
}






/* Animation */
/* Inspiration taken from Dicson https://codemyui.com/simple-hamburger-menu-x-mark-animation/ */

.navTrigger {
    cursor: pointer;
    width: 30px;
    height: 25px;
    margin-top: 20px;
    position: absolute;
    right: 30px;
    top: 0;
    bottom: 0;
}

.navTrigger i {
    background-color: black;
    border-radius: 2px;
    content: '';
    display: block;
    width: 100%;
    height: 4px;
}

.navTrigger i:nth-child(1) {
    -webkit-animation: outT 0.8s backwards;
    animation: outT 0.8s backwards;
    -webkit-animation-direction: reverse;
    animation-direction: reverse;
}

.navTrigger i:nth-child(2) {
    margin: 5px 0;
    -webkit-animation: outM 0.8s backwards;
    animation: outM 0.8s backwards;
    -webkit-animation-direction: reverse;
    animation-direction: reverse;
}

.navTrigger i:nth-child(3) {
    -webkit-animation: outBtm 0.8s backwards;
    animation: outBtm 0.8s backwards;
    -webkit-animation-direction: reverse;
    animation-direction: reverse;
}

.navTrigger.active i:nth-child(1) {
    -webkit-animation: inT 0.8s forwards;
    animation: inT 0.8s forwards;
}

.navTrigger.active i:nth-child(2) {
    -webkit-animation: inM 0.8s forwards;
    animation: inM 0.8s forwards;
}

.navTrigger.active i:nth-child(3) {
    -webkit-animation: inBtm 0.8s forwards;
    animation: inBtm 0.8s forwards;
}

@-webkit-keyframes inM {
    50% {
        -webkit-transform: rotate(0deg);
    }
    100% {
        -webkit-transform: rotate(45deg);
    }
}

@keyframes inM {
    50% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(45deg);
    }
}

@-webkit-keyframes outM {
    50% {
        -webkit-transform: rotate(0deg);
    }
    100% {
        -webkit-transform: rotate(45deg);
    }
}

@keyframes outM {
    50% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(45deg);
    }
}

@-webkit-keyframes inT {
    0% {
        -webkit-transform: translateY(0px) rotate(0deg);
    }
    50% {
        -webkit-transform: translateY(9px) rotate(0deg);
    }
    100% {
        -webkit-transform: translateY(9px) rotate(135deg);
    }
}

@keyframes inT {
    0% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(9px) rotate(0deg);
    }
    100% {
        transform: translateY(9px) rotate(135deg);
    }
}

@-webkit-keyframes outT {
    0% {
        -webkit-transform: translateY(0px) rotate(0deg);
    }
    50% {
        -webkit-transform: translateY(9px) rotate(0deg);
    }
    100% {
        -webkit-transform: translateY(9px) rotate(135deg);
    }
}

@keyframes outT {
    0% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(9px) rotate(0deg);
    }
    100% {
        transform: translateY(9px) rotate(135deg);
    }
}

@-webkit-keyframes inBtm {
    0% {
        -webkit-transform: translateY(0px) rotate(0deg);
    }
    50% {
        -webkit-transform: translateY(-9px) rotate(0deg);
    }
    100% {
        -webkit-transform: translateY(-9px) rotate(135deg);
    }
}

@keyframes inBtm {
    0% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-9px) rotate(0deg);
    }
    100% {
        transform: translateY(-9px) rotate(135deg);
    }
}

@-webkit-keyframes outBtm {
    0% {
        -webkit-transform: translateY(0px) rotate(0deg);
    }
    50% {
        -webkit-transform: translateY(-9px) rotate(0deg);
    }
    100% {
        -webkit-transform: translateY(-9px) rotate(135deg);
    }
}

@keyframes outBtm {
    0% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-9px) rotate(0deg);
    }
    100% {
        transform: translateY(-9px) rotate(135deg);
    }
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
/* 인터랙티브 애니메이션 & 효과 */
/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

/* 타이핑 애니메이션 */
@keyframes typing {
    from { width: 0; }
    to { width: 100%; }
}

@keyframes blink {
    50% { border-right-color: transparent; }
}

.typing-text {
    border-right: 2px solid #32b16c;
    overflow: hidden;
    white-space: nowrap;
    display: inline-block;
}

/* AOS 커스텀 - 페이드업 + 스케일 */
[data-aos="fade-up-scale"] {
    opacity: 0;
    transform: translateY(40px) scale(0.95);
}

[data-aos="fade-up-scale"].aos-animate {
    opacity: 1;
    transform: translateY(0) scale(1.0);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

/* 통계 섹션 */
.stats-section {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    padding: 2rem;
    margin: 2rem auto;
    max-width: 900px;
}

.stat-box {
    text-align: center;
    padding: 1.5rem;
    border-left: 4px solid #32b16c;
    background: rgba(50, 177, 108, 0.02);
    border-radius: 4px;
    transition: all 0.3s ease;
}

.stat-box:hover {
    transform: translateY(-4px);
    background: rgba(50, 177, 108, 0.06);
    box-shadow: 0 8px 16px rgba(50, 177, 108, 0.1);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 900;
    color: #32b16c;
    line-height: 1;
}

.stat-unit {
    font-size: 1.2rem;
    color: rgba(160, 160, 160);
    margin-left: 0.3rem;
    font-weight: 700;
}

.stat-label {
    margin-top: 0.8rem;
    color: rgba(80, 80, 80);
    font-size: 0.95rem;
    font-weight: 500;
}

/* 서비스 카드 호버 효과 */
.software-card,
.service-card,
[class*="card"] {
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    border-radius: 8px;
}

.software-card:hover,
.service-card:hover,
[class*="card"]:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 32px rgba(50, 177, 108, 0.15) !important;
}

/* 모바일 반응형 */
@media (max-width: 768px) {
    .stats-section {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 1.5rem;
        margin: 1.5rem auto;
    }

    .stat-box {
        padding: 1rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    .stat-unit {
        font-size: 1rem;
    }

    .stat-label {
        font-size: 0.85rem;
    }
}

