/* Overall */
#main_index{
    overflow: hidden;
    padding-bottom: 0px !important;
}
a:hover{
    text-decoration: unset;
}
#main_index h1,h2,h3,h4,h5,h6,p{
    margin-bottom: 0;
}

:root{
    --primary-color:  #00796a;
    --secondary-color:  #fec107;
}

.c_color3{
    color: var(--primary-color);
}

/* Text */
.n_title{
    font-size:clamp(1.75rem, 2.35vw, 2.35vw);
    font-weight:700;
    text-transform: uppercase;
}

.n_small span{
    position:relative;    
    text-transform: uppercase;
    font-size: clamp(.9rem, 1vw, 1vw);
    font-weight: 400;
    color: #333;
    display: flex;
    align-items: center;
    gap: .5rem;
}

.n_small span:before{
    display: inline-flex;
    content:"";    
    margin:auto 0;
    width: 25px;
    height: 25px;
    background: url(https://cdn1.npcdn.net/images/5_BUTTON_ELEMENT_qmgl0u_1780537101.png?md5id=cbccf404f52466bc599c6fb168c1f9f8&new_width=259&new_height=180&type=4);    
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.n_content{
    font-size: clamp(.9rem, .95vw, .95vw);
    font-weight: 300;
    line-height: 2;
}

.n_subtitle{
    font-size: clamp(.9rem, 1vw, 1vw);    
}

/* button */
.main-btn{
    position: relative;
    display: flex;
    align-items: center;
    gap: .6rem;
    font-size: clamp(.85rem, 1vw, 1vw);
    font-weight: 600;
    color: #fff;
    background: #263137;
    border-style: none;
    padding: 8px 25px;
    transition: .5s linear;
    
    &:after{
        position: absolute;
        content: "";
        width: 100%;
        height: 100%;
        bottom: -8px;
        right: -8px;
        background: var(--primary-color);
        z-index: -1;
        transition: all .3s linear;
    }        
    
    &:hover{
        background: transparent;
        
        &:after{
            bottom: 0;
            right: 0;
        }
    }
}
.btn-icon{
    width: 20px;
    display: grid;
    place-content: center;
}

.hp_banner .main-btn{
    &:after{
        background: #fff;
    }
    &:hover{
        color: var(--primary-color);                
    }
}

/* Nav */
.navbar_type8{
    height: 113px;
    background: #fff;
    padding: 1rem 0;
}
#main_index .navbar_type8{
    background: transparent;
}
.navbar_type8 .logo{
    margin-left: 8%;  
    flex: unset;
    min-width: 12%;
}
.navbar_type8 .logo img{
    padding: 0px;
    width: 100%;
}

.navbar_type8 .nav_tab{
    flex: unset;
    width: 100%;
    padding-right: 6rem;
    gap: 100px;  
}
.navbar_type8 .nav_tab .nav_item:before{
    display: none;
}
.navbar_type8 .nav_tab .nav_item:after{
    position: absolute;
    content: "";
    width: 15px;
    height: 15px;
    background: url(https://cdn1.npcdn.net/images/5_BUTTON_ELEMENT_qmgl0u_1780537101.png?md5id=cbccf404f52466bc599c6fb168c1f9f8&new_width=259&new_height=180&type=4);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    top: 0;
    bottom: 0px;
    left: -20px;
    margin: auto;
    opacity: 0;
    transition: all .3s linear;
}
.navbar_type8 .nav_tab .nav_item a{
    color: #000;
    padding: 0;
    font-size: clamp(.9rem, 1vw, 1rem);
    font-weight: 600;
    text-transform: uppercase;         
}
.navbar_type8 .nav_tab .nav_item:not(:last-child) a:After{
    position: absolute;
    content: "";
    width: 10px;
    height: 10px;
    background: var(--secondary-color);
    border-radius: 50%;
    top: 50%;   
    transform: translateY(-50%);
    right: calc(-100px / 2);
}
.navbar_type8 .nav_tab .nav_item a:hover{
    color: var(--secondary-color);
}
.navbar_type8 .nav_tab .nav_item:hover:after{
    animation: flipCustom .5s linear;
    animation-composition: add;
    opacity: 1;
}

@keyframes flipCustom{
    from{
        transform: rotateY(80deg);
    }
    to{
        transform: rotateY(0deg);
    }
}

.dark_nav{
background: rgba(255, 255, 255, 0.9) !important;
}

.navbar_mobile{
    background: #fff;
}

@media(max-width:1200px){
    .navbar_type8 .nav_tab{        
        gap: 60px;  
    }
    .navbar_type8 .nav_tab .nav_item:not(:last-child) a::after{
        right: -30px;
        width: 7px;
        height: 7px;
    }
}

/* Banner */
.slider_banner .banner_content{
    overflow: hidden;
    opacity: 1 !important;
}
.hp_banner{
    padding:0;
    background:#eef2f2;
    overflow:hidden;
    height: 100%;
}

.hp_banner .hp_banner_wrapper{
    position:relative;
    height: 100%;
}

.hp_banner .hp_banner_bg{
    position: absolute;
    top: 15%;
    left: 50%;
    width: 84%;
    transform: translateX(-50%);
}

.hp_banner .hp_banner_textbox{
    position:absolute;
    top:20%;
    left:50%;
    text-align: center;
    z-index:2;
    transform: translateX(-50%);
    animation-composition: add;
    width: 100%;
}

.hp_banner .hp_banner_title{
    font-size: clamp(2rem, 3.75vw, 3.75vw);
    line-height:1.1;
    font-weight:700;    
    text-transform:uppercase;
    text-shadow:0 4px 3px rgba(0,0,0,0.6);
    color: #fff;
}

.hp_banner .hp_banner_small{
    display:inline-block;
    background:#f9c400;
    padding:6px 35px;
    font-size: clamp(.95rem, 1.2vw, 1.2vw);
    font-weight:500;
    margin-top:20px;
}

.hp_banner .hp_banner_house{
    position:absolute;
    bottom:0;
    left:0;
    width: 100%;
}

.hp_banner .hp_banner_houseimg{
    width:100% !important;
    height:auto !important;
}

.hp_banner .main-btn{
    position: absolute;
    bottom: -85%;
    left: 12%;
}

@media(min-width:991px){
    .slider_banner{
        margin-top: -113px;
    }
}

@media(max-width:1200px){
    .slider_banner .item > img{
        min-height: 55vw;
        object-fit: cover;
    }
    .hp_banner .hp_banner_bg{
        width: 84%;
        top: 19%;
    }
    .hp_banner .hp_banner_textbox{
        top: 25%;
    }
    .hp_banner .main-btn{
        bottom: -70%;
    }
}

@media screen and (max-width:991.5px){   
    .hp_banner .hp_banner_bg{
        width: 90%;
        top: 9%;
    }
    .hp_banner .hp_banner_textbox{
        top:15%;
    }
}

@media screen and (max-width:767.5px){
    .slider_banner .item > img{
        min-height: 70vw;
    }
    .hp_banner .hp_banner_bg{
        position: relative;
        width: 90%;
        padding-top: 40%;
        top: 8%;
        
        img{
            position: absolute;
            top: 0;
            left: 0;
            min-width: 100%;
            min-height: 100%;
            object-fit: cover;
            object-position: center;
        }
    }
    .hp_banner .main-btn{
        position: relative;                
        bottom: unset;
        left: 0;
        margin: auto;
        margin-top: 1rem;        
    }
    .hp_banner .hp_banner_textbox{
        top:18.5%;
    }
}

@media(max-width:576px){
    .slider_banner .item > img{
        min-height: 130vw;
    }
    .hp_banner .hp_banner_house{
        width: 150%;
        left: -20%;
    }
    .hp_banner .hp_banner_bg{
        width: 100%;
        padding-top: none;
        height: 74%;
        top: 0;
    }
    .hp_banner .hp_banner_textbox{
        top: 35%;
        transform: translateY(-52%) translateX(-50%);
        padding: 0 15px;
    }   
    .hp_banner .hp_banner_title{
        font-size: 30px;
    }
}

/* About */
.hp_about{
    padding: 5rem 0;
    margin: 0 -15px;
}

.hp_about_textbox{
    padding: 0 8rem 0 3rem
}

.hp_about_textbox .n_small{
    margin-bottom: .5rem;
}
.hp_about_textbox .n_content{
    margin: .85rem 0 1.15rem;
}

@media(max-width:1200px){
    .hp_about_textbox{
        padding: 0 3rem 0 1rem;
    }
}

@media(max-width:991px){
    .hp_about{
        padding: 0;
    }
    .hp_about .row{
        flex-direction: column-reverse;
    }
    .hp_about_textbox{
        padding: 4rem 5rem;
    }
}

@media screen and (max-width:767.5px){
    .hp_about_textbox{
        padding: 4rem 6%;
    }
}

/* Why */
.hp_why{
    padding: 0;    
    margin: 0 -15px;
    background: linear-gradient(to top, #e9f1f3 86%, #fff 0%)
}

.hp_why .row{
    align-items:center;
}

.hp_why_textbox{    
    width: 75%;
    margin: auto;
    margin-left: 7rem;
    padding-top: 5rem;
}

.hp_why .hp_why_itembox{
    display:flex;
    flex-wrap:wrap;
    margin-top:40px;
}

.hp_why .hp_why_item{
    width:50%;
    display:flex;
    align-items:center;    
    margin-bottom: 1rem;
    cursor: default;
    
    &:hover{
        .hp_why_iconbox{
            animation: swing 1s linear
        }
    }
}

.hp_why_iconbox{
    width: 45px;
    height: 45px;
    aspect-ratio: 1/1;
}

.hp_why .n_title{
    color: #000;
    margin-top: 1rem;
}
.hp_why .n_subtitle{
    margin-left: .85rem;
}

@media(max-width:1200px){
    .hp_why{
        background: #e9f1f3;
        padding: 5rem 0;
    }
    .hp_why_textbox{
        margin: auto;
        padding-top: 0;
    }
}

@media(max-width:991px){
    .hp_why{
        padding: 0;
    }
    .hp_why_textbox{
        padding: 4rem 0;
    }
}

@media screen and (max-width:576px){
    .hp_why .hp_why_item{
        width: 100%;
    }
    .hp_why_textbox{
        width: 100%;
        padding: 4rem 6%;
    }
    .hp_why .n_subtitle{
        font-size: 16px;
    }
}

/* Service */
.index_wrapper_5{
    background: #1f2933;
    padding: 5rem 0;
}
.hp_service .n_title{
    margin-bottom: 1.75rem;
}

.hp_service .product_box{
    background:#fff;
}

.hp_service .content{
    background:#00897b;
    padding:18px 15px;
}

.hp_service .content h6{
    color:#fff;
    margin:0;
}

.service_3 .service_box:hover img{
    transform: unset;
}
.service_3 .service_box .content,
.service_3 .service_box .content h3{
    position: unset;
    transform: unset;
    background: none;
    opacity: 1;
}
.service_3 .service_box .content h3{
    color: #fff;
    font-size: clamp(.9rem, 1.25vw, 1.25vw);
    font-weight: 500;
    background: var(--primary-color);
    padding: .85rem 1rem;
    margin-top: 1rem;
    transition: all .3s linear;
}
.service_3 .service_box{
    padding: 0 0.5rem !important;
}
.service_3 .service_box:hover .content h3{
    color: #000;
    background: var(--secondary-color);
}

@media(min-width:576px) and (max-width:991px){
    .service_3 .service_box{
        flex: 0 1 50%;
        max-width: 50%;
        padding: 1rem !important;
    }
}

@media(max-width:576px){
    .index_wrapper_5{
        padding-bottom: 4rem;
    }
    .service_3{
        padding: 0 6%;
    }
    .service_3 .service_box{
        padding: 1rem !important;
        flex: 0 1 100%;
        max-width: 100%;
    }
    .service_3 .service_box img{
        height: 250px;
    }
}

/* Video */
.hp_video{
    padding:5rem 10%;
}

.hp_video .n_content{    
    width: 70%;
    margin: 1rem auto 2rem;
}

.abt-video{
    position: relative;           
}
.abt-video video{
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    object-fit: cover;
}
.btnBox{
    position: absolute;
    top: 15%;
    right: -5%;
    z-index: 1;
        
}
.videoBtn{
    background: #fff;
    font-size: clamp(.85rem, .92vw, .92vw);
    font-weight: 700;    
    width: 130px;
    height: 130px;
    padding: 1rem;
    aspect-ratio: 1/1;
    display: grid;
    place-content: center;
    border-style: none;
    box-shadow: 0 1px 8px #1a1a1a5c;
    transition: all .5s ease-in-out;
    display: flex;
    flex-direction: column;
    gap: .75rem;
    line-height: 1.15;
    border-radius: 15px;
    position: relative;
    
    i{
        color: var(--secondary-color);
        font-size: clamp(1rem, 2vw, 2vw);
    }
    
    &:after{
        position: absolute;
        content: "";
        width: 100%;
        height: 100%;
        background: var(--primary-color);
        transform: scale(1.18);
        top: 0;
        left: 0;
        z-index: -1;
        border-radius: 15px;
    }
}
.muteBtn{
    background: #fff;
    font-size: 1rem;
    font-weight: 700;
    border-radius: 50px;
    padding: .35rem 1rem;
    margin-left: .5rem;
    border-style: none;
    box-shadow: 0 1px 8px #1a1a1a5c;
    transition: all .5s ease-in-out;
}
/* .btnBox.playing{
    transform: unset;
    top: unset;
    left: unset;
    bottom: 0;
    right: 0;   
    margin: 2rem;
} */
/* .btnBox.playing .muteBtn,
.btnBox.playing .videoBtn{
    opacity: .5;
}
.btnBox.playing:hover .muteBtn,
.btnBox.playing:hover .videoBtn{
    opacity: 1;
} */

@media(max-width:768px){
    .hp_video{
        padding: 4rem 4%;
    }
    .hp_video .n_content{    
        width: 100%;
        margin: 1rem auto 2rem;
    }
    .videoBtn{
        width: 100px;
        height: 100px;
    }
}

@media(max-width:576px){
    .videoBtn{
        width: 80px;
        height: 80px;
    }
}

/* Process */
.hp_process{
    padding: 5rem calc(5% - 15px);
    background: url(https://cdn1.npcdn.net/images/E_STEP_BG_3q10fx_1780555840.jpg?md5id=cbccf404f52466bc599c6fb168c1f9f8&new_width=1600&new_height=589&type=4);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

.hp_process .n_title{
    margin-bottom: .85rem;
    font-size: clamp(1.5rem, 2.2vw, 2.2vw);
}
.hp_process .n_content{
    margin-bottom: 1rem;
}

.hp_process_imgbox{
    width: 90%;
    margin: auto;
}

.hp_process:hover .hp_process_imgbox{
    animation: pulse 3s linear infinite;
    transform-origin: bottom;
}

.hp_process_stepbox h3{
    color: var(--secondary-color);
    font-size: clamp(.95rem, 1.2vw, 1.2vw);
    margin-bottom:1rem;
}

.hp_process .hp_process_step{
    display:flex;
    align-items:center;
    margin-bottom:15px;
    gap: 1rem;
}

.hp_process .hp_process_step .num{
    background: var(--secondary-color);
    width: 32px;
    height: 32px;
    aspect-ratio: 1/1;
    display: grid;
    place-content: center;
    border-radius: 50%;
    font-weight: 700;
    font-size: clamp(1rem, 1.15vw, 1.15vw);
    position: relative;        
}

.hp_process .hp_process_step:not(:last-child) .num:after{
    position: absolute;
    content: "";
    width: 1.5px;
    height: 170%;
    bottom: -50px;
    left: 0;
    right: 0;
    margin: auto;
    background: var(--secondary-color);
}

.hp_process .hp_process_step h4{
    color: #fff;
    font-size: clamp(.95rem, 1vw, 1vw);
    font-weight: 500;    
}

.hp_process .hp_process_step p{
    color:#eee;
    margin:0;
    font-weight: 300;
    font-size: clamp(.9rem, 1vw, 1vw);
}


.hp_process .col-lg-2 {
  flex: 0 0 25%;
  max-width: 25%;
}
.hp_process .col-lg-5{
  flex: 0 0 35%;
  max-width: 35%;
}
.hp_process .col-lg-5:first-child .hp_process_textbox{
  padding-left: 2rem;
}
.hp_process .col-lg-5:last-child .hp_process_textbox{
  padding-left: 2rem;
}

@media screen and (max-width:991.5px){

    .hp_process .hp_process_imgbox{        
        width: 40%;
        margin-top: 5rem;
    }
    
    .hp_process .col-lg-2 {
      flex: 0 0 100%;
      max-width: 100%;
        order: 2;
    }
    .hp_process .col-lg-5{
      flex: 0 0 50%;
      max-width: 50%;
        order: 1;
    }
}

@media screen and (max-width:767.5px){

    .hp_process{
        padding:60px 0;
    }

    .hp_process .n_title{
        font-size:30px;
    }
}

@media(max-width:576px){
    .hp_process{
        background-position: right;
        padding: 5rem 4%;
    }
    .hp_process .col-lg-5{
        flex: 0 0 100%;
        max-width: 100%;
    }
    
    .hp_process_textbox{
        padding-bottom: 2rem;
    }
    .hp_process .hp_process_imgbox{
        width: 85%;
        margin-top: 1rem;
    }
    
    .hp_process .col-lg-5:first-child .hp_process_textbox,
    .hp_process .col-lg-5:last-child .hp_process_textbox{
        padding-left: 0;
    }
}

/* Marquee */
.hp_marquee{
    overflow:hidden;
    background:#fff;
    padding:2.5rem 0;
}

.hp_marquee .hp_marquee_track{
    display:flex;
    width:max-content;
    animation:marqueeMove 25s linear infinite;
}

.hp_marquee .hp_marquee_item{
    font-size: clamp(1rem, 1.75vw, 1.75vw);
    font-weight:700;
    color: var(--primary-color);
    margin-right:50px;
    white-space:nowrap;
    display: flex;
    align-items: center;
    
    &:before{
        display: inline-flex;
        content: "";
        width: 28px;
        height: 28px;
        background: url(https://cdn1.npcdn.net/images/5_BUTTON_ELEMENT_qmgl0u_1780537101.png?md5id=cbccf404f52466bc599c6fb168c1f9f8&new_width=259&new_height=180&type=4);
        background-size: contain;
        background-repeat: no-repeat;
        background-position: center;
        margin-right: 50px;
    }
}

@keyframes marqueeMove{
    from{
        transform:translateX(0);
    }

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

@media screen and (max-width:767.5px){

    .hp_marquee .hp_marquee_item{
        font-size:22px;
        margin-right:60px;
    }
}

/* Footer */
.footer_type8{
    color: #000;
    border-top: none;
    background: #e9f1f3;
    padding: 4rem 15px 1rem;
}
.footer_type8 .title h5{
    color: var(--primary-color);
    text-transform: uppercase;
    font-size: clamp(.85rem, 1.2vw, 1.2vw);
    font-weight: 600;
}
.footer_type8 a{
    color: #000;
    
    &:hover{
        color: var(--primary-color);
    }
}
.footer_type8 .social_media i{
    color: #000;           
}
.footer_type8 .social_media a{
    border-color: var(--primary-color);
    border-width: .1rem;
    
    &:hover{        
        background: var(--primary-color);
        
        i{
            color: #fff;
        }
    }
}