@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700&display=swap");

body {
    margin: 0;
    font-family: "Montserrat", sans-serif;
}

/* --------------------------------------------------------------------------------- */
/* CONTAINER STYLE */
/* --------------------------------------------------------------------------------- */

/* --------------------------------------------------------------------------------- */
/* FONT STYLE */
/* --------------------------------------------------------------------------------- */
h1 {
    font-size: 32px;
    color: #008846;
    font-weight: 700;
    padding-bottom: 40px;
}

h2 {
    font-size: 16px;
    color: #333;
}

.homesection3 h2 {
    color: #008846;
}

p {
    font-size: 14px;
    color: #333;
}

.careerssection2 h1 {
    padding: 0.67em 0;
}

.careerssection2 p {
    text-align: left;
}

.policysection2 h3 {
    color: #4c4c4c;
}

.policysection2 p {
    color: #4c4c4c;
    line-height: 28px;
}

.titlebar {
    font-size: 15px;
    font-weight: 700;
    color: #ffffff;
    background-color: #008846;
}

.listtitle {
    font-size: 15px;
    font-weight: 700;
    color: #008846;
}

.listitem {
    font-size: 15px;
    font-weight: 400;
    color: #4c4c4c;
}

.promodetails2 p {
    line-height: 1.5em;
    padding: 10px;
    text-align: left;
}

.promodetails2 img {
    width: 100%;
}

.endetails2 p {
    text-align: left;
    display: block;
    width: 100%;
}

.eventnnewsdetails h1 {
    padding: 0 10px 50px;
}
/* --------------------------------------------------------------------------------- */
/* BUTTON */
/* --------------------------------------------------------------------------------- */
.button-red {
    font-size: 16px;
    font-weight: 700;
    background-color: red;
    color: white;
    border-radius: 20px;
    padding: 10px 20px;
    border: none;
}

.button-red:hover {
    opacity: 0.5;
    color: white;
}

a.button-red:link,
a.button-red:visited {
    font-weight: 700;
    text-decoration: none;
    color: #fff;
    background-color: red;
    padding: 10px 20px;
    border-radius: 20px;
}
a.button-red:hover {
    opacity: 0.5;
}

a.button-green:link,
a.button-green:visited {
    font-weight: 700;
    text-decoration: none;
    color: #fff;
    background-color: #008846;
    padding: 10px 20px;
    border-radius: 20px;
}
a.button-green:hover {
    opacity: 0.5;
}

a.button-email:link,
a.button-email:visited {
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    color: #fff;
    background-color: #008846;
    padding: 10px 20px;
    border-radius: 20px;
}
a.button-email:hover {
    opacity: 0.5;
}
.locateussection3 img {
    display: block;
    margin: -7px auto 0 auto;
}

/* --------------------------------------------------------------------------------- */
/* LOCATE US DROPDOWN MENU */
/* --------------------------------------------------------------------------------- */
.locateussection3 select {
    font-family: "Montserrat", sans-serif;
    font-size: 16px;
    width: 250px;
    height: 50px;
    padding: 10px;
}

.box {
    color: rgb(60, 60, 60);
    /* padding: 20px; */
    display: none;
    margin-top: 20px;
}
/* .all{ border: #ff0000 solid 3px; box-sizing: border-box; }
.johor{ border: #228B22 solid 3px; box-sizing: border-box; }
.selangor{ border: #0000ff solid 3px; box-sizing: border-box; } */

/* --------------------------------------------------------------------------------- */
/* LINK */
/* --------------------------------------------------------------------------------- */
a.item:visited,
a.item:link {
    text-decoration: none;
    color: green;
    margin: 40px;
}
a.item:hover {
    text-decoration: underline;
    color: yellow;
}
a.item:active {
    text-decoration: underline;
    color: orange;
}
.footer a:visited,
.footer a:link {
    font-weight: 700;
    text-decoration: none;
    color: #333;
}
.footer a:hover {
    opacity: 0.5;
}
.footer6 a:visited,
.footer6 a:link {
    font-weight: 400;
    text-decoration: none;
    color: #fff;
}
.footer6 a:hover {
    opacity: 0.5;
}

/* --------------------------------------------------------------------------------- */
/* News & Event */
/* --------------------------------------------------------------------------------- */
[type="radio"] {
    display: none;
}
.eventnnewssection3 label {
    width: 150px;
    padding: 0.6rem 2rem;
    border-radius: 1.25rem;
    cursor: pointer;
    display: inline-block;
    transition: 0.25s;
    background-color: #008846;
    margin: 5px;
    font-weight: 600;
    color: white;
}
[type="radio"]:checked + label {
    background: red;
}
[type="radio"]:nth-of-type(2):checked ~ .gallery .card:not(.event),
[type="radio"]:nth-of-type(3):checked ~ .gallery .card:not(.announcement),
[type="radio"]:nth-of-type(4):checked ~ .gallery .card:not(.press) {
    display: none;
}
.gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 1fr;
    grid-gap: 20px;
    padding: 0;
    margin-top: 50px;
}
.card {
    margin: 0;
    background: #ffffff;
    border-radius: 0.25rem;
    overflow: hidden;
    position: relative;
    transition: box-shadow 0.35s;
}
/* .card:hover{
  box-shadow: 0 0 25px #0009;
} */
.card__content {
    width: calc(100% - 1px);
    position: relative;
    text-align: left;
    line-height: 30px;
    padding: 20px 0;
}
.card__image {
    width: 100%;
    object-fit: cover;
    display: block;
}

.card__content .date {
    position: absolute;
    right: 0;
    top: 20px;
}
.card__content h2 {
    padding-top: 20px;
}

/* News & Events ------------------------------*/
.gallery2 {
    display: grid;
    justify-content: center;
    grid-template-columns: repeat(auto-fit, 360px);
    grid-auto-rows: 1fr;
    grid-gap: 1rem;
    position: relative;
}

/* --------------------------------------------------------------------------------- */
/* OTHERS */
/* --------------------------------------------------------------------------------- */
.annoucement-btn {
    color: white;
    background-color: #008846;
    float: left;
    padding: 10px 20px;
    border-radius: 20px;
}
.annoucement-date {
    float: right;
    padding: 10px 20px;
}
.annoucement-title {
    clear: both;
    padding: 10px 20px 20px;
    text-align: left;
}
.aboutsection3 .subitem2 img {
    width: 100%;
}

.linkSpanner,
figure .linkSpanner {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1;
}

.footer h3 {
    font-size: 16px;
    color: #333;
    margin-bottom: 10px;
    font-weight: 300;
}
.footer p {
    font-size: 16px;
    color: #333;
    margin: 10px 0;
}
.footer p img {
    float: left;
    padding-right: 15px;
}
.footer5 p,
.footer6 p {
    font-size: 12px;
    color: #333;
    margin: 20px 0;
    color: white;
}

@media screen and (max-width: 992px) {
    .gallery {
        grid-template-columns: repeat(2, 1fr);
        padding: 0;
    }
}

@media screen and (max-width: 760px) {
    .gallery {
        grid-template-columns: repeat(1, 1fr);
        padding: 0;
    }
}

/* --------------------------------------------------------------------------------- */
/* MOBILE */
/* --------------------------------------------------------------------------------- */
@media screen and (max-width: 600px) {
    .titlebar {
        font-size: 12px;
        font-weight: 700;
        color: #ffffff;
        background-color: #008846;
    }

    .listtitle {
        font-size: 12px;
        font-weight: 700;
        color: #008846;
    }

    .listitem {
        font-size: 12px;
        font-weight: 400;
        color: #4c4c4c;
    }

    a.button-email:link,
    a.button-email:visited {
        font-size: 12px;
        font-weight: 700;
        text-decoration: none;
        color: #fff;
        background-color: #008846;
        padding: 5px 10px;
        border-radius: 15px;
    }
    a.button-email:hover {
        opacity: 0.5;
    }
}
