﻿/* ----------------------------------------------------------------
	Custom CSS

	Add all your Custom Styled CSS here for New Styles or
	Overwriting Default Theme Styles for Better Handling Updates
-----------------------------------------------------------------*/

.image-resize {
    width: 35%
}

.header-title-font {
    font-size: 50px;
    font-weight: bold;
    line-height: 1.2
}


.mobile-banner {
    display: none
}

.imageBox {
    position: relative;
    float: left;
    padding-bottom: 10px;
}

    .imageBox .hoverImg {
        position: absolute;
        left: 0;
        top: 0;
        display: none;
    }

    .imageBox:hover .hoverImg {
        display: block;
    }

.hero-1 {
    background-image: url(../images/slider/announcement-bm.jpg);
}

.hero-1-en {
    background-image: url(/images/slider/announcement-en.jpg);
}

.hero-2 {
    background-image: url(../images/slider/perlindungan_tenang2022.jpg);
}

.hero-3-bm {
    background-image: url(../images/hero/new2022bm.jpg);
}

.hero-3-en {
    background-image: url(../images/hero/new2022en.jpg);
}

.hero-4 {
    background-image: url(../images/mycoverage/mycoverage-banner-01.jpg);
}

.hero-5 {
    background-image: url(../images/mycoverage/mycoverage-banner-02.jpg);
}

.hero-6 {
    background-image: url(../images/mycoverage/mycoverage-banner-03.jpg);
}


@media only screen and (max-width: 1400px) {
    .menu-link {
        font-size: 10px;
    }
}


@media only screen and (max-width: 580px) {

    .hero-1 {
        background-image: url(../images/slider/announcement-bm-mobile.jpg);
    }

    .hero-1-en {
        background-image: url(/images/slider/announcement-en-mobile.jpg);
    }


    .hero-2 {
        background-image: url(../images/slider/perlindungan_tenang2022_mobile.jpg);
    }

    .hero-3-bm {
        background-image: url(../images/hero/nov2022bm.jpg);
    }

    .hero-3-en {
        background-image: url(../images/hero/nov2022en.jpg);
    }


    .min-vh-100 {
        min-height: 60vh !important;
    }

    .header-title-font {
        font-size: 22px;
        font-weight: bold;
        line-height: 1.2;
        color: #ffffff
    }

    .header-description-font {
        font-size: 16px;
        font-weight: 300;
        line-height: 1.2;
        color: #ffffff
    }

    .mobile-banner {
        display: block
    }

    #slider_desktop {
        display: none
    }

    .image-resize {
        width: 100%
    }
}

/* Hero banner */
.mySwiper {
    width: 100%;
}

.swiper-slide {
    position: relative;
    overflow: hidden;
}

.banner {
    width: 100%;
    height: auto;
    display: block;
}


/* Content sitting on top of the image */
.hero-content {
    position: absolute;
    top: 50%;
    left: 5%;
    transform: translateY(-50%);
    width: 42%;
    max-width: 600px;
    color: #fff;
}


    /* Heading */
    .hero-content h1 {
        font-size: 42px;
        line-height: 1.15;
        font-weight: 700;
        margin: 0 0 20px;
    }


    /* Description */
    .hero-content p {
        font-size: 16px;
        line-height: 1.5;
        margin: 0 0 28px;
        max-width: 520px;
    }


/* Buttons */
.hero-buttons {
    display: flex;
    gap: 14px;
}

    .hero-buttons .btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-width: 170px;
        padding: 12px 25px;
        border-radius: 30px;
        color: #fff;
        text-decoration: none;
        font-size: 15px;
        font-weight: 500;
        transition: all 0.2s ease;
    }


/* Blue button */
.btn-explore {
    background: #0879d1;
}

    .btn-explore:hover {
        background: #0568b5;
        color: #fff;
    }


/* Orange button */
.btn-contact {
    background: #ff9d16;
}

    .btn-contact:hover {
        background: #e98b05;
        color: #fff;
    }

@media (max-width: 991px) {

    .hero-content {
        left: 5%;
        width: 50%;
    }

        .hero-content h1 {
            font-size: 32px;
        }

        .hero-content p {
            font-size: 14px;
        }

    .hero-buttons .btn {
        min-width: 140px;
        padding: 10px 18px;
    }
}


@media (max-width: 767px) {

    .hero-content {
        left: 6%;
        width: 55%;
    }

        .hero-content h1 {
            font-size: 24px;
            margin-bottom: 10px;
        }

        .hero-content p {
            font-size: 12px;
            line-height: 1.3;
            margin-bottom: 15px;
        }

    .hero-buttons {
        gap: 8px;
    }

        .hero-buttons .btn {
            min-width: auto;
            padding: 8px 14px;
            font-size: 12px;
        }
}

.about-section {
    padding: 65px 0 70px;
    background: #fff;
}


/* Heading */
.about-heading {
    text-align: center;
    margin-bottom: 42px;
}

    .about-heading h2 {
        margin: 0 0 10px;
        font-size: 36px;
        line-height: 1.2;
        font-weight: 700;
        color: #0757a8;
    }

    .about-heading p {
        margin: 0;
        font-size: 16px;
        line-height: 1.5;
        color: #555;
    }


/* Five icons in one row */
.about-services {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    max-width: 1150px;
    margin: 0 auto;
}


/* Individual item */
.about-service {
    width: 19%;
    text-align: center;
}


    /* Icon */
    .about-service img {
        display: block;
        width: 110px;
        height: 110px;
        object-fit: contain;
        margin: 0 auto 15px;
    }


    /* Title */
    .about-service h3 {
        margin: 0 0 9px;
        font-size: 16px;
        line-height: 1.3;
        font-weight: 700;
        color: #333;
    }


    /* Description */
    .about-service p {
        margin: 0;
        font-size: 14px;
        line-height: 1.35;
        color: #555;
    }

@media (max-width: 991px) {

    .about-services {
        flex-wrap: wrap;
        justify-content: center;
        gap: 35px 20px;
    }

    .about-service {
        width: 28%;
    }
}


@media (max-width: 767px) {

    .about-section {
        padding: 45px 20px;
    }

    .about-heading h2 {
        font-size: 30px;
    }

    .about-heading p {
        font-size: 14px;
    }

    .about-services {
        gap: 35px 10px;
    }

    .about-service {
        width: 45%;
    }

        .about-service img {
            width: 90px;
            height: 90px;
        }

        .about-service h3 {
            font-size: 15px;
        }

        .about-service p {
            font-size: 13px;
        }
}


@media (max-width: 480px) {

    .about-service {
        width: 100%;
    }
}


/* ========================================
   PRODUCT SECTION
======================================== */

.product-section {
    padding: 65px 0 80px;
    background: #effbfc;
}


/* ========================================
   HEADING
======================================== */

.product-heading {
    margin-bottom: 35px;
}

    .product-heading h2 {
        margin: 0 0 12px;
        font-size: 36px;
        line-height: 1.2;
        font-weight: 700;
        color: #0757a8;
    }

    .product-heading p {
        margin: 0;
        font-size: 16px;
        color: #333;
    }


/* ========================================
   FILTER BOX
======================================== */


.product-search {
    padding: 35px 45px 30px;
    margin-bottom: 42px;
    border-radius: 12px;
    background: linear-gradient( 110deg, #ff8120 0%, #ff9d16 50%, #ffb52b 100% );

}


    /* Find the products */
    .product-search h3 {
        margin: 0 0 25px;
        font-size: 24px;
        font-weight: 700;
        color: #fff;
    }

/* ========================================
   DROPDOWN
======================================== */

.select-wrapper {
    position: relative;
    width: 100%;
}

    .select-wrapper select {
        width: 100%;
        height: 50px;
        padding: 0 45px 0 18px;
        border: none;
        border-radius: 6px;
        background: #fff;
        color: #666;
        appearance: none;
        -webkit-appearance: none;
        -moz-appearance: none;
    }

    /* Custom dropdown arrow */
    .select-wrapper::after {
        content: "";
        position: absolute;
        right: 18px;
        top: 50%;
        width: 8px;
        height: 8px;
        border-right: 2px solid #777;
        border-bottom: 2px solid #777;
        transform: translateY(-65%) rotate(45deg);
        pointer-events: none;
    }
/* ========================================
   FILTER ROW
======================================== */

.product-filter-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}


.product-filter label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 600;
    color: #fff;
}


/* Select */
.product-filter select {
    width: 100%;
    height: 48px;
    padding: 0 14px;
    border: 0;
    border-radius: 5px;
    background: #fff;
    color: #777;
    font-size: 14px;
    outline: none;
}


/* ========================================
   SEARCH BUTTON
======================================== */

.product-search-button {
    margin-top: 25px;
}


.btn-search {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 44px;
    padding: 0 27px;
    border: 0;
    border-radius: 25px;
    background: #0874d1;
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.25s ease;
}


    .btn-search:hover {
        background: #075eac;
        transform: translateY(-1px);
    }


.search-icon {
    font-size: 21px;
    line-height: 1;
}


/* ========================================
   PRODUCT GRID
======================================== */

.product-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 12px;
}


/* ========================================
   PRODUCT CARD
======================================== */

.product-card {
    min-height: 200px;
    padding: 18px 12px 14px;
    text-align: center;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 10px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: all 0.25s ease;
}


    .product-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
    }


/* ========================================
   LOGO
======================================== */

.product-logo {
    height: 55px;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 10px;
}


    .product-logo img {
        max-width: 100px;
        max-height: 142px;
        width: auto;
        height: auto;
        object-fit: contain;
    }


/* ========================================
   PRODUCT DESCRIPTION
======================================== */

.product-description {
    font-size: 11px;
    color: #000;
    margin-bottom: 3px;
}


/* Product name */
.product-card h3 {
    margin: 0 0 8px;
    font-size: 15px;
    font-weight: 700;
    color: #222;
}


/* ========================================
   TAG
======================================== */

.product-tag {
    display: inline-block;
    padding: 3px 15px;
    margin-bottom: 7px;
    border-radius: 3px;
    font-size: 10px;
}


.tag-green {
    background: #d9f3ef;
    color: #51a99e;
}


.tag-orange {
    background: #ffe8d5;
    color: #e89852;
}


.tag-yellow {
    background: #fff4c9;
    color: #d4b62c;
}


.tag-blue {
    background: #dceaf9;
    color: #4281c4;
}


.tag-purple {
    background: #eee5fa;
    color: #8963bd;
}


/* ========================================
   UNDERWRITING
======================================== */

.product-underwriting {
    font-size: 11px;
    color: #555;
    margin-bottom: auto;
}


/* ========================================
   VIEW DETAILS
======================================== */

.product-details {
    display: block;
    width: 100%;
    padding-top: 12px;
    margin-top: 10px;
    border-top: 1px solid #eee;
    color: #555;
    text-decoration: none;
    font-size: 11px;
}


    .product-details span {
        margin-left: 4px;
        font-size: 17px;
        vertical-align: -1px;
    }


    .product-details:hover {
        color: #0874d1;
    }

/* ========================================
   TABLET
======================================== */

@media (max-width: 1199px) {

    .product-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}


/* ========================================
   TABLET / SMALL LAPTOP
======================================== */

@media (max-width: 991px) {

    .product-search {
        padding: 30px;
    }

    .product-filter-row {
        grid-template-columns: repeat(2, 1fr);
    }
}


/* ========================================
   MOBILE
======================================== */

@media (max-width: 767px) {

    .product-section {
        padding: 45px 20px 60px;
    }

    .product-heading h2 {
        font-size: 30px;
    }

    .product-heading p {
        font-size: 14px;
    }


    .product-search {
        padding: 25px 20px;
    }


        .product-search h3 {
            font-size: 21px;
        }


    .product-filter-row {
        grid-template-columns: 1fr;
        gap: 15px;
    }


    .product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
}


/* ========================================
   SMALL MOBILE
======================================== */

@media (max-width: 480px) {

    .product-grid {
        grid-template-columns: 1fr;
    }
}

/* =========================================
   SUPPORT + CONTACT SECTION
========================================= */

.support-contact-section {
    width: 100%;
}


/* Main two-column wrapper */
.support-wrapper {
    display: flex;
    width: 100%;
}


/* =========================================
   LEFT - SUPPORT
========================================= */

.support-area {
    width: 100%;
    background: #0752a4;
    color: #fff;
}

.support-inner {
    max-width: 900px;
    padding: 38px 50px 35px;
    margin: 0 auto;
    text-align: center;
}

    .support-inner h2 {
        margin: 0 0 5px;
        font-size: 25px;
        line-height: 1.2;
        font-weight: 700;
        color: #fff;
        text-align: center;
    }

.support-intro {
    margin: 0 0 22px;
    font-size: 11px;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.9);
    text-align: center;
}

/* =========================================
   SUPPORT ITEMS
========================================= */

.support-items {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 80px;
    margin: 20px auto 0;
}

.support-item {
    display: flex;
    align-items: center;
    text-align: left;
    width: 250px;
}


.support-icon {
    flex-shrink: 0;

    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;

}


    .support-icon img {
        width: 182px;
        height: 182px;
        object-fit: contain;
    }


/* Support text */
.support-content h3 {
    margin: 0 0 3px;
    font-size: 12px;
    font-weight: 700;
    color: #fff;
}


.support-content p {
    margin: 0;
    max-width: 190px;
    font-size: 9px;
    line-height: 1.35;
    color: rgba(255, 255, 255, 0.9);
}


/* =========================================
   RIGHT - NEED HELP
========================================= */

.help-area {
    width: 35%;
    background: linear-gradient( 120deg, #ff8120, #ffb52b );
    color: #fff;
}


.help-inner {
    padding: 35px 40px 30px;
}


    .help-inner h2 {
        margin: 0 0 3px;
        font-size: 25px;
        line-height: 1.2;
        font-weight: 700;
        color: #fff;
    }


.help-intro {
    margin: 0 0 15px;
    font-size: 10px;
    color: rgba(255, 255, 255, 0.9);
}


/* =========================================
   CONTACT ITEMS
========================================= */




.contact-icon {
    width: 25px;
    height: 25px;
    flex-shrink: 0;
}


    .contact-icon img {
        width: 25px;
        height: 25px;
        object-fit: contain;
        filter: brightness(0) invert(1);
    }


.contact-content h3 {
    margin: 0;
    font-size: 11px;
    font-weight: 700;
    color: #fff;
}


.contact-content p {
    margin: 1px 0;
    font-size: 10px;
    color: #fff;
}


.contact-content span {
    font-size: 8px;
    color: rgba(255, 255, 255, 0.9);
}

@media (max-width: 991px) {

    .support-wrapper {
        flex-direction: column;
    }

    .support-area,
    .help-area {
        width: 100%;
    }

    .support-inner {
        max-width: none;
        margin: 0;
    }
}


@media (max-width: 767px) {

    .support-inner {
        padding: 30px 25px;
    }

    .help-inner {
        padding: 30px 25px;
    }


    .support-items {
        flex-direction: column;
        gap: 20px;
    }


    .support-item {
        width: 100%;
    }
}

/* =========================================
   Product Card
========================================= */

.product-card-clickable {
    cursor: pointer;
    transition: all 0.2s ease;
}

    .product-card-clickable:hover {
        transform: translateY(-3px);
        box-shadow: 0 10px 25px rgba(0,0,0,0.10);
    }


/* =========================================
   Product Modal
========================================= */

.product-modal {
    border: 0;
    border-radius: 14px;
    overflow: hidden;
}


    .product-modal .modal-header {
        padding: 20px 25px;
        border-bottom: 1px solid #eeeeee;
    }


    .product-modal .modal-body {
        padding: 30px;
    }


/* Header */

.product-modal-header {
    display: flex;
    align-items: center;
    gap: 25px;
    padding-bottom: 25px;
    border-bottom: 1px solid #eeeeee;
}


.product-modal-logo {
    width: 130px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}


    .product-modal-logo img {
        max-width: 120px;
        max-height: 70px;
        object-fit: contain;
    }


.product-modal-header h2 {
    margin: 0 0 8px;
    font-size: 24px;
    font-weight: 600;
    color: #222;
}


.product-modal-company {
    display: inline-block;
    padding: 5px 14px;
    background: #dff5f2;
    color: #268c84;
    border-radius: 4px;
    font-size: 13px;
}


/* Sections */

.product-modal-section {
    padding-top:10px;
    border-bottom: 1px solid #eeeeee;
}


    .product-modal-section h4 {
        margin: 0 0 10px;
        font-size: 16px;
        font-weight: 600;
        color: #222;
    }


    .product-modal-section div {
        font-size: 14px;
        line-height: 1.7em;
        color: #000;
       
    }


/* Contact */

.product-modal-contact {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    padding-top: 22px;
}


    .product-modal-contact > div {
        display: flex;
        flex-direction: column;
        gap: 5px;
    }


    .product-modal-contact strong {
        font-size: 13px;
        color: #000;
        text-transform: uppercase;
    }


    .product-modal-contact a,
    .product-modal-contact span {
        font-size: 14px;
        color: #333;
    }


    .product-modal-contact a {
        color: #16877f;
        text-decoration: none;
    }


        .product-modal-contact a:hover {
            text-decoration: underline;
        }


/* Mobile */

@media (max-width: 575px) {

    .product-modal-header {
        align-items: flex-start;
        gap: 15px;
    }

    .product-modal-logo {
        width: 90px;
        height: 65px;
    }

        .product-modal-logo img {
            max-width: 85px;
            max-height: 60px;
        }

    .product-modal-header h2 {
        font-size: 20px;
    }

    .product-modal-contact {
        grid-template-columns: 1fr;
    }
}

.product-modal-data {
    display: none;
}

.product-modal-section > div ol,
.product-modal-section > div ul {
    margin: 0 0 10px 0;
    padding-left: 0;
    list-style-position: inside;
    color:#000;
}

.product-modal-section > div li {
    margin-bottom: 5px;
}

.product-modal-website {
    display: flex;
    justify-content: center;
    padding-top: 25px;
}

.btn-view-website {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 11px 24px;
    background: #168b83;
    color: #ffffff;
    border-radius: 5px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
}

    .btn-view-website:hover {
        background: #11756e;
        color: #ffffff;
        text-decoration: none;
    }

    .btn-view-website span {
        font-size: 16px;
    }

.mySwiper .banner {
    display: block;
    width: 100%;
    height: auto;
}

@media (max-width: 767px) {

    .mySwiper .swiper-slide {
        position: relative;
        height: auto;
        min-height: 0;
    }

    .mySwiper .hero-content {
        top: 50%;
        left: 5%;
        transform: translateY(-50%);
        width: 48%;
    }
}
/* =========================================
MOBILE HERO LOGO VISIBILITY
========================================= */

@media (max-width: 767px) {

   
    .mySwiper .hero-content img:first-child {
        display: block;
        width: 100%;
        max-width: 240px;
        height: auto;
        padding: 8px 12px;
        margin-bottom: 16px;
        /* Soft translucent background */
        background: rgba(255, 255, 255, 0.88);
        /* Rounded corners */
        border-radius: 10px;
        /* Subtle separation from the hero image */
        box-shadow: 0 3px 12px rgba(0, 0, 0, 0.15);
        /* Preserve logo proportions */
        object-fit: contain;
    }

}
