.about-con ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding: 0;
    margin: 0;
    list-style: none;
}

.about-con li {
    position: relative;
    padding: 24px;
    margin-bottom: 40px;
    border-radius: 20px;
    overflow: hidden;

    background: linear-gradient(
        -45deg,
        #0A2A66,
        #1565C0,
        #42A5F5,
        #D4AF37,
        #FFE082,
        #1565C0
    );

    background-size: 400% 400%;
    animation: blueGoldFlow 10s ease infinite;

    display: flex;
    justify-content: center;
    align-items: center;
}

@keyframes blueGoldFlow {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.about-con li img {
    background: white;
    border-radius: 12px;

    max-width: 100%;
    max-height: 100%;

    display: block;
}

/* First two landscape images */

.about-con li:nth-child(1),
.about-con li:nth-child(2) {
    height: 520px;
}

/* Third portrait image */

.about-con li:nth-child(3) {
    height: auto;
    padding: 24px;
}

.about-con li:nth-child(3) img {
    width: auto;
    max-width: 55%;
    height: auto;
}

/* ==========================================
   TVET PENYERTAAN CONTENT LIST
========================================== */

.tvet-list{
    display:flex;
    flex-wrap:wrap;
    gap:30px;
    justify-content:center;
}

/* Two cards per row */

.tvet-card{
    width:calc(50% - 15px);
    background:#ffffff;
    border-radius:20px;
    overflow:hidden;
    box-shadow:0 12px 30px rgba(0,0,0,.08);
    transition:all .35s ease;
    position:relative;
}

/* Blue-Gold accent */

.tvet-card::before{
    content:"";
    position:absolute;
    top:0;
    left:0;
    width:100%;
    height:6px;
    background:linear-gradient(
        90deg,
        #0A2A66,
        #1565C0,
        #42A5F5,
        #D4AF37
    );
}

/* Hover */

.tvet-card:hover{
    transform:translateY(-8px);
    box-shadow:0 20px 45px rgba(0,0,0,.15);
}

/* Image */

.f-list-item-teaser-image{
    overflow:hidden;
}

.f-list-item-teaser-image img{
    width:100%;
    height:260px;
    object-fit:cover;
    display:block;
    transition:transform .45s ease;
}

.tvet-card:hover .f-list-item-teaser-image img{
    transform:scale(1.05);
}

/* Title */

.f-list-item-title{
    padding:22px;
    text-align:center;
}

.f-list-item-title a{
    color:#0A2A66;
    font-size:1.35rem;
    font-weight:700;
    line-height:1.45;
    text-decoration:none;
    transition:.3s;
}

.f-list-item-title a:hover{
    color:#D4AF37;
}

/* ==========================================
   TVET FULL ARTICLE IMAGE
========================================== */

.f-content-image{
    display:flex;
    justify-content:center;
    margin:50px 0;
}

.f-content-image img{

    width:75%;
    max-width:900px;

    height:auto;

    padding:12px;

    background:linear-gradient(
        135deg,
        #0A2A66,
        #1565C0,
        #42A5F5,
        #D4AF37
    );

    border-radius:20px;

    box-shadow:0 20px 50px rgba(0,0,0,.18);

    transition:.35s ease;

}

.f-content-image img:hover{

    transform:translateY(-5px);

}

.fPageTitle{

    background: linear-gradient(
        -45deg,
        #041B4D,
        #0A2A66,
        #103A8C,
        #7A5A12,
        #B8860B,
        #5A430A,
        #0A2A66
    );

    background-size: 400% 400%;
    animation: blueGoldFlow 14s ease infinite;

    padding: 90px 0;
    text-align: center;

}

.fPageTitle h1{

    color: #ffffff;
    font-size: 58px;
    font-weight: 700;
    letter-spacing: 1px;
    text-shadow:
        0 3px 10px rgba(0,0,0,.45),
        0 0 18px rgba(0,0,0,.25);

    margin: 0;

}

.institute-buttons .f-list-item{

    margin:20px 0;

    border-radius:18px;

    overflow:hidden;

    box-shadow:0 12px 30px rgba(0,0,0,.08);

    transition:.35s;

}

.institute-buttons .f-list-item-title a{

    display:flex;

    justify-content:space-between;

    align-items:center;

    padding:24px 30px;

    background:white;

    color:#0A2A66;

    text-decoration:none;

    font-size:20px;

    font-weight:700;

    border-left:8px solid #B8860B;

}

.institute-buttons .f-list-item-title a::after{

    content:"➜";

    font-size:22px;

    transition:.35s;

}

.institute-buttons .f-list-item:hover{

    transform:translateY(-6px);

}

.institute-buttons .f-list-item:hover .f-list-item-title a{

    background:linear-gradient(
        135deg,
        #041B4D,
        #0A2A66,
        #103A8C,
        #7A5A12
    );

    color:white;

}

.institute-buttons .f-list-item:hover .f-list-item-title a::after{

    transform:translateX(8px);

    color:#FFD54F;

}

/* ==========================================
   APS COURSES
   BLUE + GOLD MOTION BUTTONS
========================================== */


/* ==========================================
   MAIN WIDGET
========================================== */

.course-item {

    width: 100% !important;

    max-width: 100% !important;

    margin: 0 auto !important;

    padding: 25px 0 !important;

    text-align: center !important;

}


/* ==========================================
   EACH COURSE ROW
========================================== */

.course-item h5 {

    position: relative;

    width: 100%;

    margin: 0 0 18px 0 !important;

    padding: 0 !important;

    text-align: center !important;

    overflow: hidden;

    border-radius: 18px;

}


/* ==========================================
   COURSE BUTTON / LINK
========================================== */

.course-item .course-link {

    position: relative !important;

    z-index: 2 !important;

    display: flex !important;

    align-items: center !important;

    justify-content: center !important;

    width: 420px;

    max-width: 90%;

    min-height: 78px;

    margin: 0 auto !important;

    padding: 20px 55px 20px 70px;

    box-sizing: border-box;

    border: 1px solid rgba(10, 42, 102, 0.15);

    border-radius: 18px;

    background: #ffffff;

    color: #111111 !important;

    text-align: center !important;

    text-decoration: none !important;

    font-size: 17px;

    font-weight: 700;

    line-height: 1.4;

    box-shadow:
        0 8px 25px rgba(4, 27, 77, 0.08);

    transition:
        color 0.5s ease,
        transform 0.45s ease,
        box-shadow 0.45s ease,
        border-color 0.45s ease;

}


/* ==========================================
   GRADIENT BACKGROUND
========================================== */

.course-item h5::after {

    content: "";

    position: absolute;

    inset: 0;

    z-index: 1;

    background: linear-gradient(
        110deg,
        #041B4D,
        #0A2A66,
        #123F91,
        #5A430A,
        #B8860B,
        #D4AF37,
        #5A430A,
        #0A2A66,
        #041B4D
    );

    background-size: 300% 100%;

    opacity: 0;

    transform: translateX(-100%);

    transition:
        opacity 0.55s ease,
        transform 0.75s cubic-bezier(.22, 1, .36, 1);

    pointer-events: none;

}


/* ==========================================
   HOVER GRADIENT
========================================== */

.course-item h5:hover::after {

    opacity: 1;

    transform: translateX(0);

    animation:
        courseGradientFlow 5s ease infinite;

}


/* ==========================================
   HOVER TEXT
========================================== */

.course-item h5:hover .course-link {

    color: #ffffff !important;

    background: transparent !important;



}


/* ==========================================
   GRADIENT MOTION
========================================== */

@keyframes courseGradientFlow {

    0% {

        background-position: 0% 50%;

    }

    50% {

        background-position: 100% 50%;

    }

    100% {

        background-position: 0% 50%;

    }

}


/* ==========================================
   HOVER BUTTON MOVEMENT
========================================== */

.course-item h5:hover .course-link {

    transform: translateY(-5px);



}


/* ==========================================
   COURSE NUMBER
========================================== */

.course-item h5::before {

    content: counter(course-number, decimal-leading-zero);

    position: absolute;

    top: 50%;

    left: calc(50% - 190px);

    transform: translateY(-50%);

    z-index: 3;

    display: flex;

    align-items: center;

    justify-content: center;

    width: 36px;

    height: 36px;

    border-radius: 50%;

    background:
        linear-gradient(
            135deg,
            #7A5A12,
            #B8860B,
            #D4AF37
        );

    color: #ffffff;

    font-size: 11px;

    font-weight: 700;

    letter-spacing: 1px;

    pointer-events: none;

    transition:
        transform 0.45s ease,
        background 0.45s ease,
        color 0.45s ease;

}


/* Enable numbering */

.course-item .f-module-content > div {

    counter-reset: course-number;

}

.course-item h5 {

    counter-increment: course-number;

}


/* ==========================================
   NUMBER HOVER
========================================== */

.course-item h5:hover::before {

    background: #ffffff;

    color: #0A2A66;

    transform:
        translateY(-50%)
        scale(1.08)
        rotate(8deg);

}


/* ==========================================
   GOLD UNDERLINE
========================================== */

.course-item .course-link {

    isolation: isolate;

}

.course-item .course-link span {

    position: relative;

}


/* ==========================================
   MOBILE
========================================== */

@media (max-width: 768px) {

    .course-item {

        padding: 15px 0 !important;

    }


    .course-item h5 {

        margin-bottom: 14px !important;

        border-radius: 15px;

    }


    .course-item .course-link {

        width: 90%;

        max-width: 90%;

        min-height: 68px;

        padding: 18px 35px 18px 55px;

        border-radius: 15px;

        font-size: 15px;

    }


    .course-item h5::before {

        left: calc(5% + 15px);

        width: 31px;

        height: 31px;

        font-size: 10px;

    }

}


/* Mobile */

@media (max-width:768px){

    .tvet-card{
        width:100%;
    }

    .f-list-item-teaser-image img{
        height:220px;
    }

    .f-list-item-title a{
        font-size:1.15rem;
    }

}