@import url("https://cdn.jsdelivr.net/npm/bootstrap-icons@1.13.1/font/bootstrap-icons.min.css");

body > br {
    display: none;
}

body {
    font-size: 14px !important;
}

#main_index {
    overflow: hidden;
    padding-bottom: 0 !important;
}

#main_index a:hover {
    text-decoration: none;
}

#main_index button:focus {
    outline: none;
}


/*navigation bar*/
.navbar_type8 {
    height: 110px;
    padding: 0 8%;
    border-bottom: .8px solid #ccc;
    transition: all 0.25s ease-in-out;
}

#main_index .navbar_type8 {
    border-bottom: none;
    height: 130px;
}

.dark_nav {
    height: 80px !important;
    background-color: rgb(255,255,255,0.9) !important;
    border-bottom: .8px solid #ccc !important;
}

.navbar_type8 .logo {
    margin-left: 0;
    flex: 0 1 25%;
}

.navbar_type8 .logo img {
    width: 100%;
    padding: 10px 0;
    object-position: left;
}

.navbar_type8 .nav_tab {
    padding: 0;
    gap: 2.7vw;
    flex: 0 1 75%;
}

.navbar_type8 .nav_tab .nav_item {
    text-transform: unset;
}

.navbar_type8 .nav_tab .nav_item a {
    font-size: 1vw;
    color: #000;
    font-weight: 300;
    padding: 1vw;
}

.navbar_type8 .nav_tab .nav_item::before {
    position: absolute;
    content: "";
    left: 50%;
    top: 110%;
    width: 0;
    border-bottom: none;
    transition: all 0.25s ease-in-out;
    opacity: 1;
    height: 1.8px;
    background-color: #333;
    transform: translate(-50%, 0);
}

.navbar_type8 .nav_tab .nav_item:hover::before {
    width: 100%;
}

/*footer*/
.footer_type13 {
    color: white;
    background-color: #333;
    padding-top: 1.5rem !important;
    padding-bottom: 2rem !important;
    overflow: hidden;
    font-weight: 200;
}

.footer_type13 .top_row {
    background: unset;
}

.footer_type13 .bottom_row {
    background-color: transparent;
    font-size: 14px;
    position: relative;
    padding-top: 1rem;
    margin-top: 1rem;
}

.footer_type13 .bottom_row::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 0;
    width: 90%;
    height: .8px;
    background-color: #ed1c24;
    transform: translate(-50%, 0);
}

.footer_type13 .bottom_row b {
    font-weight: 700;
}

.footer_type13 .sub_title p {
    border-bottom: .8px solid #ed1c24;
    font-size: 18px;
}

.footer_type13 a:hover,
.footer_type13 a.text:hover {
    color: #ed1c24 !important;
}

.footer_type13 .title {
    min-height: 115px;
}

.footer_type13 .logo img {
    max-height: 115px;
    object-fit: contain;
    object-position: left;
}

/*homepage banner*/
.slider_banner {
    background-image: url('https://cdn1.npcdn.net/userfiles/27661/image/b_banner1_bg.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: 50% 50%;
    position: relative;
}

.slider_banner::before {
    content: "TIMELESS SILVER";
    position: absolute;
    left: 0;
    bottom: 8.5vw;
    width: 100%;
    text-align: center;
    font-size: 10.75vw;
    font-weight: 900;
    line-height: 1;
    white-space: nowrap;
    background: linear-gradient(
        120deg,
        #666 0%,
        #cfcfcf 20%,
        #ffffff 40%,
        #b5b5b5 60%,
        #f5f5f5 80%,
        #666 100%
    );
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: silverShine 10s linear infinite;
    opacity: 0.55;
}

html[lang="ms"] .slider_banner::before {
    content: "PERAK ABADI";
}

.slider_banner::after {
    content: "EXCEPTIONAL CRAFTMANSHIP";
    position: absolute;
    left: 50%;
    bottom: 4vw;
    transform: translate(-50%, 0);
    font-size: 1.3vw;
    font-weight: 200;
    color: #000;
    letter-spacing: 10px;
    opacity: 0.5;
    white-space: nowrap;
}

html[lang="ms"] .slider_banner::after {
    content: "PEMBUATAN TERBAIK";
}

@keyframes silverShine {
    0% {
        background-position: -200% center;
    }
    100% {
        background-position: 200% center;
    }
}

@keyframes silverShine2 {
    0% {
        background-position: -300% center;
    }
    100% {
        background-position: 300% center;
    }
}

.slider_banner .banner_content {
    opacity: 1 !important;
}

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

.hp_banner_ring {
    width: 32%;
    position: absolute;
    left: 52.5%;
    top: 58%;
    transform: translate(-50%, -50%);
}

.hp_banner_ring img {
    animation: floating 3s infinite ease-in-out;
}

.hp_banner_word {
    width: 39%;
    position: absolute;
    left: 54.5%;
    top: 49.5%;
    transform: translate(-50%, -50%);
}

@media (min-width: 991.5px) {
    #main_index .index_wrapper_2 {
        margin-top: -130px;
    }
}

/*homepage slogan*/
.hp_slogan {
    padding: 1.3rem 0;
    background-color: #333;
}

.hp_slogan_title {
    font-size: 1.2vw;
    font-weight: 200;
    margin-bottom: 0;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 2vw;
    justify-content: center;
    transition: all 0.2s ease-in-out;
}

.hp_slogan_title span {
    display: block;
    width: 2px;
    height: 2px;
    background-color: #fff;
    border-radius: 50%;
}

.hp_slogan_title:hover {
    transform: translateY(-5px);
}

/*homepage about*/
.hp_about {
    padding: 6.5rem 7.5%;
    background-image: url('https://cdn1.npcdn.net/userfiles/27661/image/c_bg.png');
    background-size: 39%;
    background-repeat: no-repeat;
    background-position: 100% 0;
}

.hp_small_title {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 18.5px;
    font-weight: 300;
    color: #000;
    margin-bottom: 15px;
}

.hp_small_title span {
    display: block;
    width: 20px;
    height: 15px;
    background-image: url('https://cdn1.npcdn.net/userfiles/27661/image/c_deco.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: 50% 50%;
}

.hp_big_title {
    font-size: 2vw;
    font-weight: 700;
    color: #333;
    margin-bottom: 0;
}

.hp_big_title span {
    display: block;
}

.hp_about_right_box {
    display: flex;
    justify-content: flex-end;
}

.hp_keyword {
    font-size: 15px;
    font-weight: 300;
    color: #000;
    margin-bottom: 0;
    line-height: 2;
}

.hp_about_middle_box {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6vw;
    margin: 2rem 0 5rem;
}

.hp_button {
    position: relative;
    transition: all 0.3s ease-in-out;
    padding: 6.5px 15px;
    background-color: #333;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    gap: 10px;
    border: none;
    outline: none;
    overflow: hidden;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
}

.hp_button span {
    display: block;
    width: 20px;
    height: 15px;
    background-image: url('https://cdn1.npcdn.net/userfiles/27661/image/c_btn_deco.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: 50% 50%;
}

.hp_button:hover {
    transform: scale(1.05);
}

.hp_button:active {
    transform: scale(0.75);
}

.hp_button:hover::before {
    animation: shine 1.5s ease-out infinite;
}

.hp_button::before {
    content: "";
    position: absolute;
    width: 100px;
    height: 100%;
    background-image: linear-gradient(
        120deg,
        rgba(255, 255, 255, 0) 30%,
        rgba(255, 255, 255, 0.8),
        rgba(255, 255, 255, 0) 70%
    );
    top: 0;
    left: -100px;
    opacity: 0.6;
}

@keyframes shine {
  0% {
    left: -100px;
  }

  60% {
    left: 100%;
  }

  to {
    left: 100%;
  }
}

.hp_about_bottom_box {
    overflow: hidden;
}

.hp_about_bottom_box img {
    animation: zoomAnimation 25s infinite linear;
}

@keyframes zoomAnimation {
    from {
        transform: scale(1);
    }
    to {
        transform: scale(1.2);
    }
}

/*homepage category*/
#main_index .index_wrapper_5 {
    padding: 0 7.5% 7rem;
}

.hp_category .hp_small_title {
    justify-content: center;
}

.hp_category_top_box {
    margin-bottom: 4rem;
}

#main_index .product_cat-4 .col-12.col-md-3.col-lg-3.p-0 {
    margin: 15px 0 !important;
    padding: 0 15px !important;
}

#main_index .product_cat-4 .col-12.col-md-3.col-lg-3.p-0:nth-child(n+5),
#main_index .product_cat-4 .cat_box .content .content_box h3,
#main_index .product_cat-4 .cat_box .content .content_box .btn-outline-primary,
#main_index .product_cat-4 .cat_box .content .line {
    display: none;
}

#main_index .product_cat-4 .cat_outter_box {
    padding: 0;
    transition: all 0.3s ease-in-out;
}

#main_index .product_cat-4 .cat_outter_box:hover {
    transform: translateY(-10px);
}

#main_index .product_cat-4 .cat_box {
    height: auto;
    overflow: visible;
}

#main_index .product_cat-4 .cat_box img {
    aspect-ratio: 1/1;
    transition: all 0.3s ease-in-out;
}

#main_index .product_cat-4 .cat_box:hover img {
    transform: scale(1);
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2);
}

#main_index .product_cat-4 .cat_box .content .content_box {
    padding: 0;
}

#main_index .product_cat-4 .cat_box .content {
    position: relative;
    bottom: unset;
    left: unset;
    height: auto;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: transparent;
    transition: ease-in 0.4s;
    text-align: center;
}

#main_index .product_cat-4 .cat_box .content .content_box h4 {
    font-size: 20px;
    margin: 40px 0 0 !important;
    font-weight: 700;
    letter-spacing: 1px;
}

/*homepage why*/
.hp_why {
    padding: 8rem 8% 12rem;
    background-image: url('https://cdn1.npcdn.net/userfiles/27661/image/e_bg.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: 50% 0;
}

.hp_why_top_box {
    margin-bottom: 6rem;
}

.hp_why .hp_small_title {
    justify-content: center;
}

.hp_why_group {
    display: flex;
    flex-direction: column;
    gap: 10rem;
    width: 81%;
}

.hp_why_left {
    text-align: right;
}

.hp_why_title {
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 25px;
}

.hp_why_keyword {
    font-size: 15px;
    font-weight: 300;
    color: #000;
    margin-bottom: 0;
    line-height: 2;
}

.hp_why_middle_box {
    width: 124%;
    position: relative;
    left: -16%;
}

.hp_why_left {
    padding-top: 10vw;
}

.hp_why_left .hp_why_point:nth-child(2) {
    position: relative;
    left: 17%;
}

.hp_why_right {
    padding-top: 3vw;
}

.hp_why_right .hp_why_point:nth-child(1) {
    position: relative;
    left: -37%;
}

.hp_why_right .hp_why_point:nth-child(2) {
    position: relative;
    left: 3%;
}

.hp_why_middle_box {
    animation: floating 4s infinite ease-in-out;
}

@keyframes floating {
  0%, 100% {
    transform: translateY(-8px);
  }
  50% {
    transform: translateY(0px);
  }
}

.hp_why_middle_box img {
    animation: rotateShake 7s infinite ease-in-out;
    transform-origin: center;
}

@keyframes rotateShake {
  0%, 100% {
    transform: rotate(-1deg);
    filter: drop-shadow(-4px 4px 8px rgba(0, 0, 0, 0.1));
  }
  50% {
    transform: rotate(1deg);
    filter: drop-shadow(4px 4px 8px rgba(0, 0, 0, 0.1));
  }
}

/*homepage services*/
.hp_services {
    padding: 2rem 13% 9rem;
    position: relative;
}

.hp_services::before {
    content: "";
    position: absolute;
    left: 0;
    top: -7vw;
    width: 100%;
    height: 100%;
    background-image: url('https://cdn1.npcdn.net/userfiles/27661/image/f_bg.png');
    background-size: 45%;
    background-repeat: no-repeat;
    background-position: 0 0;
}

.hp_services .hp_big_title {
    margin-bottom: 3rem;
}

.hp_services_left_box {
    padding-right: 2.5vw;
    padding-top: 1.5vw;
}

.hp_services_img {
    margin-top: 6rem;
    width: 50%;
    animation: floating 4s infinite ease-in-out;
}

.hp_services_img img {
    animation: rotateShake 7s infinite ease-in-out;
    transform-origin: center;
}

.hp_services_right_right {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    padding-left: 4.5vw;
}

.hp_services_point {
    padding: 25px 20px;
    background-color: #fff;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease-in-out;
}

.hp_services_point:hover {
    transform: translateY(-10px);
}

.hp_services_icon {
    width: fit-content;
    padding: 5px;
    background-color: #333;
    border-radius: 50%;
}

.hp_services_icon img {
    max-width: 45px;
}

.hp_services_point:hover .hp_services_icon img {
    animation: 1s jello;
}

.hp_services_title {
    font-size: 21px;
    font-weight: 700;
    letter-spacing: 1px;
    margin: 3.5rem 0 2rem;
    line-height: 1.4;
    color: #333;
}

.hp_services_title span {
    display: block;
}

html[lang="ms"] .hp_services_title span {
    display: unset;
}

.hp_services_keyword {
    font-size: 15px;
    font-weight: 300;
    color: #000;
    margin-bottom: 0;
    line-height: 2;
}

/*homepage news*/
#main_index .index_wrapper_8 {
    padding: 8rem 7.5%;
    background-image: url('https://cdn1.npcdn.net/userfiles/27661/image/g_bg.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: 50% 50%;
    background-attachment: fixed;
    color: #fff;
}

.hp_news .hp_small_title,
.hp_news .hp_big_title {
    color: #fff;
}

.hp_news .hp_small_title span {
    background-image: url('https://cdn1.npcdn.net/userfiles/27661/image/c_btn_deco.png');
}

.hp_news_keyword {
    font-size: 13px;
    color: #fff;
    margin: 2.5rem 0;
    font-weight: 300;
}

#main_index .innerRow_8 {
    width: 40%;
}

#main_index .hp_latest_new .news_box {
    padding: 0 15px !important;
    margin: 0 !important;
}

#main_index .hp_latest_new .news_box:nth-child(n+2) {
    display: none;
}

#main_index .hp_latest_new .news_box .col-12.col-lg-4,
#main_index .hp_latest_new .news_box .read_more {
    display: none;
}

#main_index .hp_latest_new .news_box .col-12.col-lg-8 {
    -ms-flex: 0 0 100%;
    flex: 0 0 100%;
    max-width: 100%;
}

#main_index .hp_latest_new .news_box .title {
    font-size: 17px;
    color: #fff !important;
}

#main_index .hp_latest_new .news_box .title b {
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    word-wrap: break-word;
    font-weight: 400;
}

#main_index .hp_latest_new .news_box .date {
    opacity: 1;
    font-size: 14px;
    color: #fff;
    font-weight: 300;
}

#main_index .hp_latest_new .news_box .content {
    word-break: break-all;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    word-wrap: break-word;
    font-weight: 400;
    font-size: 13px;
    margin: 0;
    opacity: 1;
    color: #fff;
}

/*homepage contact*/
.hp_contact {
    padding: 6rem 7.5%;
}

.hp_contact_right_box {
    padding-left: 1vw;
}

.hp_contact_button {
    display: flex;
    margin-top: 1.5rem;
}

/*other pages*/


/*homepage responsive*/

@media (max-width: 1200.5px) {
    /*navigation bar*/
    .navbar_type8 {
        padding: 0 15px;
    }
    .navbar_type8 .nav_tab .nav_item a {
        font-size: 1.3vw;
    }
    .navbar_type8 .nav_tab {
        gap: 1.7vw;
    }
    
    /*footer*/
    
    
    /*homepage banner*/
    
    
    /*homepage slogan*/
    .hp_slogan_title {
        font-size: 1.6vw;
    }
    
    /*homepage about*/
    .hp_about {
        padding: 5rem 15px;
    }
    .hp_small_title span,
    .hp_button span {
        width: 18px;
        height: 13px;
    }
    .hp_small_title {
        font-size: 15.5px;
    }
    .hp_big_title {
        font-size: 26px;
    }
    .hp_button {
        font-size: 13.5px;
    }
    .hp_keyword {
        font-size: 14px;
        line-height: 1.8;
    }
    .hp_about_middle_box {
        margin: 1.5rem 0 3.5rem;
    }
    
    /*homepage category*/
    #main_index .index_wrapper_5 {
        padding: 0 15px 5rem;
    }
    .hp_category_top_box {
        margin-bottom: 2rem;
    }
    #main_index .product_cat-4 .cat_box .content .content_box h4 {
        font-size: 17px;
        margin: 30px 0 0 !important;
    }
    
    /*homepage why*/
    .hp_why {
        padding: 5rem 15px;
    }
    .hp_why_top_box {
        margin-bottom: 3rem;
    }
    .hp_why_group {
        gap: 5rem;
        width: 87%;
    }
    .hp_why_title {
        font-size: 17px;
        margin-bottom: 15px;
    }
    .hp_why_keyword {
        font-size: 14px;
        line-height: 1.8;
    }
    
    /*homepage services*/
    .hp_services {
        padding: 2rem 15px 5rem;
    }
    .hp_services_left_box {
        padding-right: 0;
    }
    .hp_services .hp_big_title {
        margin-bottom: 1.5rem;
    }
    .hp_services_img {
        margin-top: 3rem;
    }
    .hp_services_right_right {
        gap: 25px;
        padding-left: 0;
    }
    .hp_services_title {
        font-size: 17px;
        margin: 30px 0 20px;
    }
    .hp_services_keyword {
        font-size: 14px;
        line-height: 1.8;
    }
    
    /*homepage news*/
    #main_index .index_wrapper_8 {
        padding: 5rem 15px;
    }
    .hp_news_keyword {
        font-size: 13px;
    }
    #main_index .innerRow_8 {
        width: 50%;
    }
    
    /*homepage contact*/
    .hp_contact {
        padding: 4rem 15px;
    }
    .hp_contact_right_box {
        padding-left: 0;
    }

}

.side_menu {
    background-color: #333;
}

.side_menu .list-group .list-group-item a {
    color: #fff;
}

@media (max-width: 991.5px) {
    /*footer*/
    
    
    /*homepage banner*/
    
    
    /*homepage slogan*/
    
    
    /*homepage about*/
    
    
    /*homepage category*/
    
    
    /*homepage why*/
    .hp_why_right .hp_why_point:nth-child(1) {
        left: -20%;
    }
    
    /*homepage services*/
    
    
    /*homepage news*/
    #main_index .index_wrapper_8 {
        background-attachment: unset;
    }
    
    /*homepage contact*/
    .hp_big_title span {
        display: unset;
    }

}

@media (max-width: 767.5px) {
    /*footer*/
    .footer_type13 {
        padding: 2rem 15px 2.5rem !important;
    }
    
    /*homepage banner*/
    .slider_banner .item > img {
        min-height: 350px;
        object-fit: cover;
    }
    .hp_banner_ring {
        width: 90%;
        left: 50%;
        top: 25px;
        transform: translate(-50%, 0);
    }
    .hp_banner_ring img {
        min-height: 200px;
        max-height: 200px;
        object-fit: contain;
    }
    .hp_banner_word {
        width: 75%;
        left: 50%;
        top: 15px;
        transform: translate(-50%, 0);
    }
    .hp_banner_word img {
        min-height: 205px;
        max-height: 205px;
        object-fit: contain;
    }
    .slider_banner::before {
        animation: silverShine2 20s linear infinite;
        white-space: wrap;
        font-size: 47px;
        bottom: 20px;
        opacity: 0.6;
        background-size: 300% auto;
    }
    .slider_banner::after {
        display: none;
    }
    
    /*homepage slogan*/
    .hp_slogan_title {
        font-size: 4vw;
    }
    
    /*homepage about*/
    .hp_about_right_box {
        justify-content: flex-start;
        margin-top: 1.5rem;
    }
    .hp_about_middle_box {
        margin: 2rem 0 3.5rem;
        display: flex;
        flex-direction: column;
        gap: 15px;
    }
    .hp_about_bottom_box img {
        min-height: 200px;
        object-fit: cover;
        object-position: 45% 50%;
    }
    
    /*homepage category*/
    #main_index .product_cat-4 .cat_box .content .content_box h4 {
        margin: 20px 0 0 !important;
    }
    
    /*homepage why*/
    .hp_why_middle_box {
        width: 100%;
        left: 0;
    }
    .hp_why_left {
        padding-top: 0;
        text-align: left;
        margin: 2.5rem 0;
    }
    .hp_why_group {
        gap: 2.5rem;
        width: 100%;
    }
    .hp_why_left .hp_why_point:nth-child(2),
    .hp_why_right .hp_why_point:nth-child(1),
    .hp_why_right .hp_why_point:nth-child(2) {
        left: 0;
    }
    
    /*homepage services*/
    .hp_services_right_right {
        grid-template-columns: 1fr;
        margin-top: 3rem;
    }
    .hp_services_point {
        padding: 25px;
    }
    .hp_services_title span {
        display: unset;
    }
    .hp_services_title {
        margin: 30px 0 15px;
    }
    
    /*homepage news*/
    #main_index .innerRow_8 {
        width: 100%;
        margin: 0 auto;
    }
    #main_index .innerContainer_8 {
        padding: 0;
    }
    #main_index .index_wrapper_8 {
        position: relative;
    }
    #main_index .index_wrapper_8::before {
        content: "";
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        background-color: #000;
        opacity: 0.25;
    }
    
    /*homepage contact*/
    .hp_contact_right_box {
        margin-top: 1.5rem;
    }

}