  @keyframes shaking {
    0% {
        transform: rotate(0);
    }
    25% {
        transform: rotate(-2deg);
    }
    50% {
        transform: rotate(2deg);
    }
    75% {
        transform: rotate(-5deg);
    }
    100% {
        transform: rotate(0);
    }
}

@keyframes beating {
    0%, 50%, 100% {
        transform: scale(1);
    }
    70% {
        transform: scale(0.99);

    }
    80% {
        transform: scale(1.02);
    }
    90% {
        transform: scale(1);
    }
}

.beat {
    animation: beating 1.2s ease-in-out infinite;
}

.style2025 section ul, .style2025 section ol {
    margin-left: 1em;
    padding-left: 1em;
    list-style-position: outside;
    margin-bottom: 0.5em;
}

.style2025 section ul {
    list-style-type: disc;
}

.style2025 section ol {
    list-style-type: decimal;
}

.style2025 section ul ul,
.style2025 section ol ol,
.style2025 section ul ol,
.style2025 section ol ul {
    margin-top: 0.5em;
    margin-bottom: 0.5em;
}

.style2025 section li {
    margin-bottom: 0.5em;
}

.style2025 section:not(#footer),
.style2025 section:not(#footer) p,
.style2025 section:not(#footer) tr,
.style2025 section:not(#footer) th,
.style2025 section:not(#footer) td
{
    font-size: 16px;
    line-height: 1.3em;
    margin-bottom: 1em;
    color: #666666;
}

.style2025 section h1 {
    font-size: 1.8em;
    font-weight: bold;
    margin-bottom: 0.6em;
    color: #000000;
}

.style2025 section h2 {
    font-size: 1.6em;
    font-weight: bold;
    margin-bottom: 0.55em;
}

.style2025 section h3 {
    font-size: 1.4em;
    font-weight: bold;
    margin-bottom: 0.5em;
}

.style2025 section h4 {
    font-size: 1.2em;
    font-weight: bold;
    margin-bottom: 0.45em;
}

.style2025 section h5 {
    font-size: 1em;
    font-weight: bold;
    margin-bottom: 0.4em;
}

#eventBody {
    background-image: url('https://studymalaysia.com/images/2025-07/bg-event.webp');
    background-repeat: no-repeat;
    background-position: top center;
    background-attachment: fixed;
}

.shortcode-form h2 {
    font-weight: bold;
    font-size: 1.8em;
    line-height: 1.2em;
    margin-bottom: 0.2em;
}

.shortcode-form h2:after {
    font-weight: normal;
    content: "/////////////////////////////////////////////";
    width: 100%;
    max-width: 150px;
    line-height: 3px;
    font-size: 28px;
    overflow: hidden;
    display: block;
    margin: 10px auto;
    filter: opacity(0.5);
}

.featured {
    border: 1px solid rgb(255, 205, 84) !important;
}

#latest-hero, #latest {
    color: #666666;
    line-height: 1.3em;
}

#latest .card {
    border-bottom-right-radius: 25px;
}

#latest .card-img-top {
    border: 1px solid #eeeeee;
    object-fit: cover;
}

#latest .card-title {
    font-size: 21px;
    font-weight: bold;
}

.navbar-brand > img {
    max-height: 60px;
}

i.border-circle {
    border-radius: 50%;
    border: 5px solid #666666;
    width: 2em;
    height: 2em;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: auto;
    transition: ease-in-out 0.2s all;
}

a:hover i.border-circle {
   filter: drop-shadow(1px 1px 3px rgba(0, 0, 0, 0.15));
   animation: shaking 0.5s infinite;
    background-color: #ffffff;
}

#eventList,
#eventList p {
    font-size: 14px;
}

#eventList h5 {
    font-weight: bold;
    font-size: 1.3em;
}
