:root {
    /* --keppel-red: #E51D37; */
    --keppel-red: #C8102E;
    --keppel-grey: #767575;
    --keppel-border-grey-40: rgba(118, 117, 117, 0.4);
    --keppel-bg-grey: #F5F5F5;
    --vh: 100vh;
}

header.home-header * {
    transition: all 0.5s ease;
}

/* * {
    border: 1px solid red !important;
} */

header.home-header {
    border-bottom: 1px solid transparent;
    background-color: rgba(255, 255, 255, 0);
    transition: all 0.5s ease;
}

header.home-header .header-wrapper {
    padding: 17px 80px 32px 32px;
    height: 139px;
    background-color: rgba(255, 255, 255, 0);
}

header.home-header nav {
    padding-top: 30px;
}

header.home-header .logo {
    width: 212px;
}

header.home-header nav a.search-btn::after {
    background: url('../images/search.svg');
    background-size: contain;
}


#hero {
    padding: 42px 48px;
    height: var(--vh);
    max-width: 1440px;
    max-height: 810px;
    /* 16:9 ratio */
    margin: 0 auto;
}

#hero-swiper {
    height: 100%;
}

#hero-swiper .swiper-slide {
    position: relative;
    overflow: hidden;
    display: inline-block;
}

#hero-swiper .swiper-slide .text-wrapper {
    position: absolute;
    top: 50%;
    padding: 68px;
    color: white;
    display: flex;
    flex-direction: column;
    gap: 32px;
    width: calc(100%);
    z-index: 2;
    transform: translateY(-40%);
}

#hero-swiper .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    position: relative;
    display: block;
}

#hero-swiper .swiper-slide:after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.1);
    pointer-events: none;
}

#hero-swiper .hero-split-anim.split-text {
    display: none;
}


.cltr-prfm .parallax-section {
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    height: 50vh;
    min-height: 500px;
}

.cltr-prfm .three-col {
    justify-content: space-evenly;
    gap: 48px;
    margin: 0 auto;
    width: max-content;

}

.cltr-prfm .three-col .cltr-item {
    gap: 12px;
}

.cltr-prfm .three-col .divider {
    content: '';
    width: 1px;
    display: inline-block;
    height: 100%;
    background-color: var(--keppel-border-grey-40);
    transform: skew(-15deg);
}

.cltr-prfm .three-col .cltr-item h2 {
    font-size: 72px;
    text-align: center;
    line-height: unset;
    margin-bottom: 16px;
}

.cltr-prfm .three-col .cltr-item .sub-text {
    text-align: center;
    padding-bottom: 20px;
}

.fetr-strs .content-section {
    max-height: 810px;
    min-height: 700px;
}

.fetr-strs .slider-container {
    width: calc(100% + (-1 * var(--left-shift-slider)) + 100px);
    left: -50px;
    position: relative;
}

.fetr-strs .slider {
    display: flex;
    transition: transform 0.5s ease-in-out;
    height: 100%;
    position: relative;
}

.fetr-strs .slide {
    min-width: 100%;
    box-sizing: border-box;
    position: relative;
    display: flex;
    transform: skew(-15deg);
    /* left: var(--left-shift-slider); */
}

.fetr-strs .slider .slider-pagination {
    display: flex;
    gap: 4px;
    margin-top: 64px;
    width: 100%;
}

.fetr-strs .slider .slider-pagination .dot {
    height: 2px;
    border-radius: 8px;
    background-color: rgba(34, 34, 34, 0.16);
    width: 100%;
    cursor: pointer;
}

.fetr-strs .slider .slider-pagination .dot.current-slide {
    background-color: var(--keppel-red);
}

.fetr-strs .slider .slider-nav-arrows {
    display: flex;
    cursor: pointer;
}

.fetr-strs .slider .slider-nav-arrows .next-btn,
.fetr-strs .slider .slider-nav-arrows .prev-btn {
    content: '';
    display: inline-block;
    height: 40px;
    width: 40px;
}

.fetr-strs .slider .slider-nav-arrows .next-btn {
    background: url('../images/arrow_right_alt.png') no-repeat;
    background-size: 24px 18px;
    background-position: center;
}

.fetr-strs .slider .slider-nav-arrows .prev-btn {
    background: url('../images/arrow_left_alt.png') no-repeat;
    background-size: 24px 18px;
    background-position: center;
}


.fetr-strs .slide .img-wrapper {
    position: relative;
    overflow: hidden;
    width: 50%;
    height: auto;
    top: -25px;
}

:root {
    --left-shift-slider: 0px;
}

.fetr-strs .slide .img-wrapper img {
    position: relative;
    height: 100%;
    width: 100%;
    object-fit: cover;
    transform: skew(15deg);
    transform-origin: top left;
}

.fetr-strs .slide-content {
    position: relative;
    background-color: var(--keppel-bg-grey);
    padding: 20px;
    width: 50%;
    bottom: -25px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.fetr-strs .slide-content .content-wrapper {
    width: 60%;
    margin-right: 100px;
    max-width: 500px;
}

.fetr-strs .slide-content .content-wrapper .sub-text {
    padding-top: 20px;
    padding-bottom: 48px;
}

.fetr-strs .slide-content>* {
    transform: skew(15deg) !important;
}

.fetr-strs .navigation {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
}

.fetr-strs .navigation button {
    background: rgba(255, 255, 255, 0.8);
    border: none;
    padding: 10px;
    cursor: pointer;
}

.fetr-strs .pagination {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 5px;
}

.fetr-strs .pagination .dot {
    width: 10px;
    height: 10px;
    background: #ccc;
    border-radius: 50%;
    cursor: pointer;
}

.fetr-strs .pagination .dot.active {
    background: #f00;
}

.ltst-frm .news-listing-wrpr {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    padding-top: 48px;
    padding-bottom: 48px;
}

.ltst-frm .news-listing-wrpr .news-item .img-wrapper {
    margin-bottom: 24px;
    height: 268px;
}

.ltst-frm .news-listing-wrpr .news-item .img-wrapper img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.ltst-frm .news-listing-wrpr .news-item .text-wrapper .title {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 16px;
}

.ltst-frm .news-listing-wrpr .news-item .text-wrapper .category {
    color: var(--keppel-red);
    font-size: 14px;
    margin-bottom: 24px;
}

.ltst-frm .news-listing-wrpr .news-item .text-wrapper .content {

    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 16px;
}




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


    header.home-header .logo {
        width: 168px;
    }

    header.home-header .header-wrapper {
        margin-top: -3px;
        padding: 0px 40px 8px 19px;
        height: 88px;
    }

    #hero-swiper .swiper-slide .text-wrapper {
        padding: 32px;
        top: 40%;
    }


}

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

    #hero-swiper .swiper-slide[data-swiper-slide-index="0"] img {
        object-position: 80%;
    }

    .ltst-frm .news-listing-wrpr .news-item:hover {
        color: unset;
    }

    .ltst-frm .news-listing-wrpr .news-item .img-wrapper {
        height: 240px;
    }

    #hero-swiper .swiper-slide .text-wrapper {
        padding: 24px;
        top: 70%;
    }

    #hero-swiper .swiper-slide .text-wrapper h2 {
        font-size: clamp(32px, 10vw, 44px);
    }

    .cltr-prfm .three-col .cltr-item h2 {
        font-size: 42px;
    }

    .cltr-prfm .three-col .cltr-item .sub-text {
        font-size: 14px;
    }

    .fetr-strs .slider-container {
        width: 100%;
        left: 0;
    }

    .fetr-strs .content-section {
        height: fit-content;
        max-height: unset;
        padding-top: 0;
        padding-bottom: 0;
    }

    .fetr-strs .slide {
        min-width: 100%;
        transform: skew(0);
        flex-direction: column;
    }

    .fetr-strs .slide .img-wrapper {
        height: 45%;
        clip-path: polygon(0% 0%, 100% 0%, 100% 85%, 0% 100%);
    }

    .fetr-strs .slide .img-wrapper,
    .fetr-strs .slide-content {
        width: 100%;
        top: unset;
        bottom: unset;
        overflow: unset;
    }

    .fetr-strs .slide-content {
        height: 60%;
    }


    .fetr-strs .slide .img-wrapper img,
    .fetr-strs .slide-content>* {
        transform: skew(0) !important;
    }

    .fetr-strs .slide-content .content-wrapper {
        width: 100%;
        margin-right: 0;
        max-width: unset;
    }

    .fetr-strs {
        background-color: var(--keppel-bg-grey);
    }

    .fetr-strs .slide-content .content-wrapper .title {
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .fetr-strs .slide-content .content-wrapper .sub-text {
        padding-top: 12px;
        padding-bottom: 0px;
        display: -webkit-box;
        margin-bottom: 24px;
        -webkit-line-clamp: 4;
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .fetr-strs .slider .slider-pagination {
        margin-top: 48px;
        margin-bottom: 28px;
    }

    .ltst-frm .news-listing-wrpr {
        grid-template-columns: 1fr;
    }
}