:root {
    --keppel-red: #C8102E;
    --keppel-grey: #7F7F7E;
}



#hero {
    position: relative;
    width: 100%;
    box-sizing: border-box;
    height: 100vh;
    /* min-height: 950px; */
    overflow: hidden;
    z-index: 0;
}

#hero .hero-swiper {
    width: 100%;
    height: 100%;
    transform-origin: center;
}

.parallax-section-2 {
    z-index: 2;
}

#hero .hero-swiper-wrapper .swiper-slide {}

#hero .hero-swiper-wrapper .swiper-slide img {
    width: 100%;
    object-fit: cover;
    /* object-position: center; */
    object-position: 70% center;
    height: 100%;
}

#hero .hero-text-wrapper {
    position: absolute;
    top: 45%;
    left: 0;
    padding: 0 100px;
    transform: translateY(-50%);
    z-index: 2;
    color: #fff;
    display: flex;
    flex-direction: column;
    max-width: 800px;
    width: 100%;
    gap: 30px;
    opacity: 0;
}

#hero .hero-swiper .swiper-pagination {
    width: 60%;
    left: 50%;
    bottom: 30px;
    transform: translateX(-50%);
    display: flex;
    justify-content: center;
}

#hero .hero-swiper .swiper-pagination-bullet.swiper-pagination-bullet-active {
    background-color: #FFF;
}

#hero .hero-swiper .swiper-pagination-bullet {
    height: 4px;
    max-width: 200px;
    width: 100%;
    border-radius: 8px;
    background-color: rgba(255, 255, 255, 0.5);
    margin: 0 var(--swiper-pagination-bullet-horizontal-gap, 10px)
}

#hero .hero-swiper .swiper-button-next,
#hero .hero-swiper .swiper-button-prev {
    width: 60px;
    height: 60px;
}

#hero .hero-swiper .swiper-button-next:after,
#hero .hero-swiper .swiper-button-prev:after {
    content: ' ';
    width: 60px;
    height: 60px;
    background-image: url("../images/icon-back-to-top.svg");
    background-repeat: no-repeat;
    background-size: contain;
}

#hero .hero-swiper .swiper-button-next:after {
    transform: rotate(90deg);
}

#hero .hero-swiper .swiper-button-prev:after {
    transform: rotate(-90deg);
}

/* #hero .hero-text-wrapper h1,
#hero .hero-text-wrapper h6 {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
} */

#hero .hero-text-wrapper .hero-cta-wrapper {

    display: flex;
    gap: 20px;
}

#what-we-do .interactive-map {
    width: 100%;
    padding: 0;
    margin: 0;
}

#what-we-do .interactive-map .map-wrapper {
    max-width: fit-content;
    width: 100%;
    margin: 0 auto;
    position: relative;
}

#what-we-do .interactive-map .map-wrapper .map-bg {
    width: 100%;
}

#what-we-do .interactive-map .map-wrapper .img-element {
    filter: grayscale(0%);
    transition: all 0.5s ease;
}

#what-we-do .interactive-map .map-wrapper>*:not(.map-bg) {
    position: absolute;
    z-index: 2;

}

/* #what-we-do .interactive-map .map-wrapper .map-solar {
    top: 36.3%;
    left: 11%;
    width: 19%;
    z-index: 5;
}

#what-we-do .interactive-map .map-wrapper .map-cooling {
    top: 17.7%;
    left: 30%;
    width: 32%;
    z-index: 4;
}

#what-we-do .interactive-map .map-wrapper .map-ev {
    top: 0;
    right: 25.1%;
    width: 14%;
    z-index: 3;
} */

/*new arrangement*/
#what-we-do .interactive-map .map-wrapper .map-solar {
    top: 49%;
    left: 8.5%;
    width: 19%;
    z-index: 5;
}

#what-we-do .interactive-map .map-wrapper .map-cooling {
    top: 14%;
    left: 32.2%;
    width: 32%;
    z-index: 4;
}

#what-we-do .interactive-map .map-wrapper .map-ev {
    top: 14.8%;
    right: 15%;
    width: 13%;
    z-index: 3;
}

#what-we-do .interactive-map .map-wrapper .map-solar .img-solar {
    width: 100%;
}

#what-we-do .interactive-map .map-wrapper .map-cooling .img-cooling {
    width: 100%;
}

#what-we-do .interactive-map .map-wrapper .map-ev .img-ev {
    width: 100%;
}

#what-we-do .interactive-map .btn-desc-wrapper {
    position: absolute;
    left: 0;
    display: flex;
    gap: 7px;
}

#what-we-do .interactive-map .map-btn {
    height: fit-content;
    width: fit-content;
    text-wrap: nowrap;
    padding: 2px 5px;
    border-radius: 25px;
    border: 2px solid #C8102E;
    color: #C8102E;
    background-color: #FFF;
    font-weight: 500;
    font-size: 16px;
    display: flex;
    align-items: center;
    cursor: pointer;
    z-index: 2;
    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

#what-we-do .interactive-map .map-btn span {
    padding: 0 6px;
}

#what-we-do .interactive-map .map-btn:after {
    content: '';
    display: block;
    height: 24px;
    width: 24px;
    background: url('../images/plus-icon.png') no-repeat;
    cursor: pointer;
}

#what-we-do .interactive-map div.active .map-btn:after {
    background: url('../images/minus-icon.png') no-repeat;
}

#what-we-do .interactive-map div.inactive .img-element,
#what-we-do .interactive-map .img-element.inactive {
    filter: grayscale(80%);
}

/* #what-we-do .interactive-map .divider {

    background: #d4d4d4;
    content: '';
    border-right: 2px solid #c6c6c6;
    height: 120px;
    position: relative;
    left: 0;
    z-index: -1;
} */



#what-we-do .interactive-map .map-desc {
    opacity: 0;
    min-width: 230px;
    overflow: hidden;
    background-color: #C8102E;
    padding: 14px;
    color: #FFF;
    border-radius: 4px;
    transform: translateX(-20px);
    z-index: 1;
}
#what-we-do .interactive-map .map-solar .map-desc {
	min-width: 300px;
}
#what-we-do .interactive-map .map-desc a {
    color: unset;
}
#what-we-do .map-desc .cta {
    display: flex;
    gap: 10px;
    align-items: center;
}

#what-we-do .map-desc .cta::after {
    content: '';
    height: 9px;
    width: 16px;
    background: url('../images/white-arrow-down.svg') no-repeat;
    transform: rotate(-90deg);
    display: inline-block;
}

#newsroom .news-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

#newsroom .news-wrapper .news-item {
    padding: 20px 0;
    color: #000;

}

#newsroom .news-wrapper .news-item .news-date {
    display: block;
    color: #575576;
    padding-bottom: 12px;
    font-size: 14px;
}

#newsroom .news-wrapper .news-item .news-title {
    padding-bottom: 20px;
    transition: all 0.3s ease;
}

#newsroom .news-wrapper .news-item:hover .news-title {
    color: var(--keppel-red);
}

#newsroom .news-wrapper .news-item:hover .read-more {
    gap: 15px;
}

@media only screen and (max-width: 1380px) {
    #what-we-do .interactive-map .btn-desc-wrapper {
        flex-direction: column;
    }
}

@media only screen and (max-width: 767px) {
    #hero {
        height: 80vh;
    }

    #hero .hero-text-wrapper {
        padding: 0 20px;
        transform: unset;
        top: auto;
        left: auto;
        bottom: 100px;
        gap: 8px;
    }

    #hero .hero-text-wrapper h1 {
        font-size: 32px;
    }

    #hero .hero-text-wrapper h6 {
        font-size: 17px;
    }

    #hero .hero-text-wrapper .hero-cta-wrapper {
        gap: 15px;
        padding-top: 12px;
    }

    #what-we-do .interactive-map {
        display: none;
    }

    #what-we-do .mobile-interactive-map .mobile-wwd-swiper .swiper-slide {
        display: flex;
        flex-direction: column;
    }

    #what-we-do .mobile-interactive-map .mobile-wwd-swiper .swiper-slide .img-wrapper {
        height: 400px;
    }

    #what-we-do .mobile-interactive-map .mobile-wwd-swiper .swiper-slide img {
        width: 100%;
        height: 100%;
        object-fit: contain;
    }

    #what-we-do .mobile-interactive-map .mobile-wwd-swiper .swiper-slide .map-desc {
        padding: 20px;
        background-color: #C8102E;
        color: #FFF;
    }
	#what-we-do .mobile-interactive-map .mobile-wwd-swiper .swiper-slide .map-desc a {
		color: #ffffff;
	}
	#hero .hero-swiper .swiper-button-next, #hero .hero-swiper .swiper-button-prev {
		top: 92.5%;
	}
    #what-we-do .mobile-interactive-map .mobile-wwd-swiper .swiper-slide .map-desc .map-title {
        background: #FFF;
        border-radius: 25px;
        padding: 4px 22px;
        width: fit-content;
        color: #C8102E;
        font-weight: 600;
        font-size: 17px;
        margin-bottom: 12px;
    }

    #what-we-do .mobile-interactive-map .mobile-wwd-swiper .swiper-pagination {
        top: 380px;
        height: fit-content
    }

    #what-we-do .mobile-interactive-map .mobile-wwd-swiper .swiper-pagination-bullet {
        height: 4px;
        max-width: 45px;
        width: 80%;
        border-radius: 8px;
        background-color: rgba(200, 16, 46, 1);
        margin: 0 var(--swiper-pagination-bullet-horizontal-gap, 5px);
    }

    .hero-cta-wrapper>a {
        width: 50%;
        padding: 12px 0;
        font-size: 16px;
        text-align: center;
    }

    #newsroom .news-wrapper .news-item {
        padding: 10px 0
    }

    #newsroom .news-wrapper {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    #newsroom .news-wrapper .news-item .news-title {
        font-size: 17px;
    }
}