:root {
    --primary-color:#fe0000;
    --gray-color:#636363;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 9;
}

.divider{
    margin: 30px 0;
}

.text-primary {
    color: var(--primary-color) !important;
}

#header {
    position: absolute;
    background-color: transparent;
    transition: background-color 0.3s, box-shadow 0.3s;
    z-index: 1000;
    width: 100%;
}

.navmenu a {
    color: white;
}

#header.scrolled {
    backdrop-filter: blur(21px);
    background: rgb(255 255 255) !important;
    position: sticky;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

#header.scrolled .navmenu a {
    color: var(--gray-color);
}

#header.scrolled .navmenu a:hover,
#header.scrolled .navmenu a.active {
    color: var(--primary-color);
}

.navmenu > ul {
    transition: height 0.3s ease;
    /* Allow desktop dropdowns to render outside the nav container */
    overflow: visible;
}

@media screen and (max-width:1200px) {
    .navmenu > ul {
        overflow: auto;
    }
    .mobile-nav-active .navmenu {
        height: 1920px;
    }
    .mobile-nav-active .navmenu>ul {
        height: 300px;
    }
    #header.scrolled .mobile-nav-active .navmenu {
        z-index: 9;
    }
    #header.scrolled.mobile-nav-active .navmenu > ul {
        height: 500px !important;
    }
    #header .navmenu a,
    #header.scrolled .navmenu a {
        color: #636363;
    }
    #header .navmenu a.active,
    #header.scrolled .navmenu a.active {
        color: var(--primary-color);
    }
    #header .navmenu a:hover,
    #header.scrolled .navmenu a:hover {
        background: var(--primary-color);
        color: white;
    }
}

.mobile-nav-toggle {
    color: white;
}

.scrolled .mobile-nav-toggle {
    color: rgb(41, 41, 41);
}

.logo-text {
    font-family: var(--special-font);;
}


.hero-swiper {
    position: relative;
    width: 100%;
    height: 954px;
    overflow: hidden;
}

.hero-swiper .swiper-slide {
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 40px;
    background-size: cover;
    height: 100%;
    position: relative;
}

.hero-swiper .slide-caption {
    position: relative;
    color: white;
    /* background-color: rgba(0,0,0,0.4); */
    padding: 20px;
    border-radius: 8px;
    z-index: 10;
    letter-spacing: 2px;
    text-align: center;
}

.hero-swiper .slide-caption h2 {
    font-family: var(--slider-font);
    font-size: 50px;
    margin-bottom: 10px;
}

.hero-swiper .slide-caption p {
    font-size: 1.2rem;
}

.header .logo img {
    max-height: 120px;
    margin-right: 8px;
    margi: 0;
}

.hero-swiper .slide-caption {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease-out;
}

.hero-swiper .swiper-slide-active .slide-caption {
    opacity: 1;
    transform: translateY(0);
}

.swiper-button-next, .swiper-button-prev {
    margin: 0 50px;
}

.swiper-button-next:after, .swiper-button-prev:after {
    color: var(--primary-color);
}

.swiper-pagination-bullet {
    background: var(--primary-color) !important;
}

@media screen and (max-width:1200px) {
    .hero-swiper .slide-caption {
        width: 100%;
        text-align: center;
    }
}

@media screen and (max-width:960px) {
    .hero-swiper .slide-caption h2 {
        font-size:40px;
    }
    .hero-swiper .slide-caption p {
        font-size: 18px;
    }
}

@media screen and (max-width:870px)  {
    .swiper-button-next,
    .swiper-button-prev {
        position: absolute;
        top: 850px;
        transform: translateY(-80px);
    }
}

.about img {
    border-radius: 10px;
    width: 100%;
    display: block;
}

/* Products page: tab usability on mobile */
.products-tabs {
    -webkit-overflow-scrolling: touch;
}

.products-tabs .nav-link {
    white-space: nowrap;
    padding: 0.6rem 0.9rem;
    color: #444;
    border: #dadada solid 1px;
}

.products-tabs .nav-link.active {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: #fff;
}

.products-tabs .nav-link:hover,
.products-tabs .nav-link:focus {
    background-color:  #df0303;
    border: #df0303 solid 1px;
    color: #fff;
}

@media (max-width: 576px) {
    .products-tabs .nav-link {
        font-size: 0.88rem;
        padding: 0.5rem 0.75rem;
    }
}

.image-stack::after {
    content: ' ';
    display: table;
    clear: both;
}
.image-stack__item--top {
    float: left;
    width: 66%;
    margin-right: -100%;
    position: relative;
    z-index: 1;
}
.image-stack__item--bottom {
    float: right;
    width: 75%;
}
@supports (display: grid) {
    .image-stack {
        display: grid;
        position: relative;
        grid-template-columns: repeat(12, 1fr);
    }
    .image-stack__item--bottom {
        grid-column: -4;
        grid-row: 1;
        width: 100%;
    }
    .image-stack__item--top {
        grid-row: 1;
        grid-column: 1 / span 8;
        padding-top: 20%;
        width: 100%;
    }
}

.k-product{
    margin-bottom: 30px;
}

.title-k-product {
    display: flex;
    align-items: center;
    margin-top: 20px;
}

.title-k-product::before {
    content: '';
    display: inline-block;
    width: 3px;
    height: 50px;
    background-color: var(--primary-color);
    margin-right: 10px;
}

.k-product .img-thumby {
    width: 100%;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.page-title {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
    height: 400px;
}

.industry ul {
    list-style: none;
}

.industry i {
    padding-right: 10px;
    color: var(--primary-color);
}

.glightbox-clean .gslide-title {
    margin-bottom: 0;
}

.service-item {
    border: 1px solid #d6d6d6;
}

@media screen and (min-width:768px) and (max-width:1200px) {
    .service-item {
        display: flex !important;
        flex-direction: column;
    }
    .service-item i {
        margin-bottom: 10px;
    }
}

html {
    scroll-padding-top: 35%;
}

.footer-contact p {
    margin: 0;
    line-height: 1.6;
}

.addr-line {
    white-space: nowrap;
}

@media (min-width: 992px) {
    .col-custom-5 {
        width: 20%;
        flex: 0 0 20%;
    }
}

.list-group.row {
    margin-left: 0;
    margin-right: 0;
}

.card-rounded {
    border-radius: 10px;
}

.we-serve {
    background-color: #f8f8f8;
    padding: 40px 0;
}

#industryCarousel .carousel-control-prev,
#industryCarousel .carousel-control-next {
    width: 5%;
}

/* Style arrow button */
#industryCarousel .carousel-control-prev-icon,
#industryCarousel .carousel-control-next-icon {
    background-color: var(--primary-color);
    border-radius: 50%;
    padding: 15px;
    background-size: 60%; /* bagi icon tak terlalu besar */
    background-position: center;
}

/* k-tab */
.filter-sticky-top {
    position: sticky;
    top: 200px; /* jarak dari atas bila sticky */
    z-index: 99;
}
.k-tab {
    width: 100%;
    
    padding: 18px;
    border-radius: 18px;
    
    background: #ffffff;
    border: 1px solid #e9ecef;
    
    box-shadow:
    0 10px 30px rgba(0, 0, 0, 0.05),
    0 2px 10px rgba(0, 0, 0, 0.03);
    
    gap: 10px;
}

.k-tab .nav-item {
    width: 100%;
}

.k-tab .nav-link {
    width: 100%;
    padding: 14px 18px;
    
    border: none !important;
    border-radius: 12px;
    
    background: #f8f9fa;
    color: #495057;
    
    font-weight: 500;
    font-size: 15px;
    line-height: 1.4;
    
    text-align: left;
    
    transition: all 0.3s ease;
}

/* Hover */
.k-tab .nav-link:hover {
    background: var(--primary-color);
    color: #fff;
    
    transform: translateX(4px);
    
    box-shadow: 0 8px 20px rgba(13, 110, 253, 0.18);
}

/* Active */
.k-tab .nav-link.active {
    background: var(--primary-color) !important;
    color: #fff !important;
    
    font-weight: 600;
    
    box-shadow:
    0 10px 25px rgba(0, 0, 0, 0.25),
    inset 0 1px 1px rgba(255,255,255,0.2);
}

/* Optional smooth scroll effect */
.k-tab .nav-link:focus {
    box-shadow: none;
}

/* Mobile */
@media (max-width: 991px) {
    .k-tab {
        position: relative;
        top: unset;
        max-width: 100%;
        margin-bottom: 20px;
    }
}

/* social media */
.fab-icon {
    position: absolute;
    top: 18%;
    right: 24%;
}

.floating {
    position: fixed;
    width: 40px;
    height: 40px;
    color: white;
    border-radius: 50px;
    /* box-shadow: 2px 2px 3px rgba(0, 0, 0, .5); */
    filter: drop-shadow(2px 2px 3px rgba(0, 0, 0, .5));
    z-index: 100;
    transition: ease .3s;
    text-decoration: none;
}

.floating:hover {
    text-decoration: none;
    color: white;
    transform: scale(1.1);
}

.i-wa {
    background-color: #0cc143;
    bottom: 100px;
    right: 16px;
    font-size: 25px;
}
