/* ===========================================
   GOOGLE FONT
=========================================== */

/* Pastikan HTML & Body mengambil sekurang-kurangnya 100% ketinggian skrin */
html, body {
    height: 100%;
    margin: 0;
    padding: 0;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh; /* Ketinggian penuh skrin browser */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Lexend', sans-serif;
}

/* Kembangkan kawasan kandungan utama (main) untuk tolak footer ke paling bawah */
main.main {
    flex: 1 0 auto;
    display: flex;
    flex-direction: column;
}

/* ===========================================
   LINK
=========================================== */

a {
    text-decoration: none;
}

img {
    max-width: 100%;
}

/* ===========================================
   TOP BAR
=========================================== */

.topbar {
    background: #233ea5;
    font-size: 14px;
}

.top-link {
    color: #fff;
    margin-left: 20px;
    transition: .3s;
    text-decoration : none;
    font-size:14px;
}

    .top-link:hover {
        color: #9fc5ff;
    }

/* ===========================================
   NAVBAR
=========================================== */

.navbar {
    padding: 12px 0;
}

.navbar-brand h5 {
    font-size: 20px;
}

.nav-link {
    color: #333;
    font-weight: 500;
    transition: .3s;
}

.nav-link-i {
    color: #333;
    font-weight: 500;
    margin: 0 20px;
    transition: .3s;
    text-decoration:none;
}

    .nav-link:hover,
    .nav-link.active {
        color: #2954d1;
    }

.btn-login {
    background: #3f51d7;
    color: #fff;
    border-radius: 30px;
    padding: 10px 30px;
    font-weight: 600;
}

    .btn-login:hover {
        background: #2744c9;
        color: #fff;
    }

/* ===========================================
   HERO
=========================================== */

/*.hero {
    padding: 90px 0;
    background: radial-gradient(circle at top left,#dde6ff 0,#f6f9ff 40%,#ffffff 100%);
}*/

.hero {
    position: relative;
    overflow: hidden;
    padding: 0px 0 250px;
    min-height: 560px;
    background: linear-gradient(rgba(0,0,0,.1), rgba(0,0,0,.1)), url("../images/family.jpg") center no-repeat, radial-gradient(circle at top left, #dde6ff 0%, #f6f9ff 45%, #ffffff 100%);
    background-size: 110%, cover;
}





    .hero .badge {
        font-size: 15px;
    }

    .hero h1 {
        color: white;
        /*color: #3f51d7;*/
        line-height: 1.2;
    }

    .hero p {
        font-size: 18px;
    }

.hero-image {
    animation: float 5s infinite ease-in-out;
}

@keyframes float {

    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-12px);
    }

    100% {
        transform: translateY(0);
    }
}

/*.hero-right {
    position: relative; 
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 420px;
}*/

.hero-right {
    display: flex;
    justify-content: flex-end;
    align-items: flex-start;
    gap: 24px;
}




.hero-family {
    width: 80%;
    max-width: 520px;
}

/*.hero-info {
    position: absolute;
    right: -0%;
    top: 42%;
    transform: translateY(-50%);
    width: 300px;
    background: #fff;
    border-radius: 24px;
    padding: 20px;
    box-shadow: 0 20px 60px rgba(0,0,0,.12);
}*/

/*.hero-info {
    width: 320px;
    max-width: 100%;
    background: #fff;
    border-radius: 24px;
    padding: 20px;
    box-shadow: 0 20px 60px rgba(0,0,0,.12);*/
    /* naikkan sedikit supaya nampak terapung */
    /*transform: translateY(60px);
    z-index: 2;
}*/



.hero-info {
    width: 350px;
    max-width: 100%;
    height: 405px;
    background: #ffffffcc;
    border-radius: 12px;
    padding: 20px 30px 20px 20px;
    box-shadow: 0 20px 60px rgba(0,0,0,.12);
    transform: translateY(60px);
    z-index: 2;
    overflow-y: auto;
    overflow-x: hidden;
}


    .hero-info::-webkit-scrollbar {
        width: 6px;
    }

    .hero-info::-webkit-scrollbar-track {
        background: rgba(0, 0, 0, 0.03);
        border-radius: 10px;
        margin: 10px 0;
    }

    .hero-info::-webkit-scrollbar-thumb {
        background: #1a43bf;
        border-radius: 10px;
    }

        .hero-info::-webkit-scrollbar-thumb:hover {
            background: #0d2f8e;
        }

        /* 3. Sokongan untuk Firefox */
        .hero-info {
            scrollbar-width: thin;
            scrollbar-color: #1a43bf rgba(0, 0, 0, 0.03);
        }




.info-item {
    display: flex;
    gap: 15px;
    /*align-items: center;*/
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}

    .info-item:last-child {
        border-bottom: none;
    }

    .info-item i {
        width: 42px;
        height: 42px;
        display: flex;
        justify-content: center;
        align-items: center;
        background: #eef3ff;
        color: #4353ff;
        border-radius: 12px;
        font-size: 18px;
        padding : 11px;
    }

    .info-item small {
        color: #4353ff;
    }

    .info-item h6 {
        margin: 2px 0 0;
        /*font-weight: 700;*/
        color: black;
        font-size:15px;
    }

.status-box {
    margin-top: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
    background: #ecf9ee;
    padding: 14px;
    border-radius: 16px;
}

    .status-box i {
        color: #29b74b;
        font-size: 24px;
    }

    .status-box h6 {
        margin: 0;
        color: #2b8b44;
    }


/* ==================================================
   MOBILE STYLING (MEDIA QUERY)
=================================================== */
@media (max-width: 991px) {
    .hero-info {
        position: relative;
        transform: none;
        width: calc(100% - 24px); 
        margin: 20px auto 30px auto; 
        height: 380px;
        background: rgba(255, 255, 255, 0.95);
        border-radius: 12px;
        padding: 20px 15px; 
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        clip-path: inset(0 round 16px);
    }

    .hero-right {
        min-height: auto;
        margin-top: 10px;
        margin-bottom: 30px;
        padding: 0 10px;
    }

    .hero-family {
        width: 100%;
    }

    .info-item i {
        background: #d5e0fb;
    }
}

/* ===========================================
   BUTTON
=========================================== */

.btn-primary {
    background: #233ea5;
    border: none;
    border-radius: 12px;
}

    .btn-primary:hover {
        background: #2744c9;
    }

.btn-outline-primary {
    border-radius: 12px;
}

/* ===========================================
   QUICK MENU
=========================================== */

.quick-card {
    background: #fff;
    border-radius: 20px;
    padding: 10px 10px;
    text-align: center;
    transition: .35s;
    box-shadow: 0 8px 30px rgba(0,0,0,.06);
    height: 100%;
}

    .quick-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 15px 40px rgba(63,81,215,.15);
    }

    .quick-card i {
        font-size: 45px;
        color: #3557dd;
        margin-bottom: 10px;
    }

    .quick-card h5 {
        font-weight: 700;
        margin-bottom: 12px;
    }

    .quick-card p {
        color: #777;
        font-size: 15px;
    }

/* ===========================================
   CARD
=========================================== */

.card {
    border: none;
    border-radius: 20px;
    transition: .3s;
}

    .card:hover {
        transform: translateY(-5px);
        box-shadow: 0 12px 35px rgba(0,0,0,.08);
    }

    .card h4 {
        color: #243665;
    }

.list-group-item {
    padding: 18px;
    border: none;
    border-bottom: 1px solid #ececec;
}

    .list-group-item:last-child {
        border-bottom: none;
    }

/* ===========================================
   KENAPA STR
=========================================== */

.bg-primary {
    background: #233ea5 !important;
}

    .bg-primary ul {
        margin-top: 20px;
        padding-left: 20px;
    }

    .bg-primary li {
        margin-bottom: 15px;
    }

/* ===========================================
   FOOTER
=========================================== */

footer {
    margin-top: auto !important; /* KUNCI UTAMA: Menolak footer sentiasa ke paling bawah */
    background: #233ea5 !important;
    width: 100%;
}

    footer h5, footer h6 {
        margin-bottom: 0;
    }

/* ===========================================
   DROPDOWN
=========================================== */

.dropdown-menu {
    border: none;
    border-radius: 15px;
    box-shadow: 0 15px 35px rgba(0,0,0,.08);
}

.dropdown-item {
    padding: 10px 20px;
}

    .dropdown-item:hover {
        background: #eef2ff;
        color: #3557dd;
    }

/* ===========================================
   SCROLLBAR
=========================================== */

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-thumb {
    background: #3557dd;
    border-radius: 20px;
}

/* ===========================================
   RESPONSIVE (100% Dynamic Viewport Fit)
=========================================== */

/* Pastikan elemen utama mengambil 100% tinggi skrin mobile */
html, body {
    min-height: 100vh;
    margin: 0;
    padding: 0;
}

body {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.hero, main, .main-content {
    flex: 1 0 auto; /* Isi ruang kosong di atas */
}

@media(max-width:991px) {

    /* Layout & Struktur Utama */
    .hero {
        text-align: center;
        padding: 10px 0 !important;
        flex: 1 1 auto; /* Bagi bahagian hero/kandungan fleksibel isi ruang kosong */
       /* display: flex;*/
        flex-direction: column;
        justify-content: space-around;
        overflow: hidden;
    }

    .hero-image {
        margin-top: 10px !important;
    }

    /*.navbar-brand img {
        width: 55px;
    }*/

    .quick-card {
        margin-bottom: 10px !important;
        flex: 1 1 auto;
    }

    /* Quick Menu Section - Melekat atas footer */
    .quick-menu-section {
        margin-top: 0px !important;
        padding: 6px 0 !important;
        flex: 0 0 auto;
        background: #ffffff;
    }

    /* =========================================================
       COMPRESS ALL 7 ITEMS INTO ONE SCREEN (NO SCROLL)
       ========================================================= */
    .quick-menu-grid {
        display: flex !important;
        flex-wrap: nowrap !important;
        justify-content: space-between !important;
        align-items: flex-start !important;
        gap: 2px !important;
        padding: 0 4px !important;
        width: 100% !important;
        overflow: hidden !important;
    }

    .quick-item {
        flex: 1 1 0 !important;
        min-width: 0 !important;
        padding: 2px 1px !important;
        text-align: center !important;
    }

        /* Kecilkan Saiz Ikon */
        .quick-item i {
            font-size: 1.1rem !important;
            margin-bottom: 3px !important;
        }

        /* Kecilkan Saiz Teks */
        .quick-item span {
            font-size: 0.62rem !important;
            line-height: 1.05 !important;
            display: block !important;
            word-break: break-word;
        }

    /* Footer - Melekat di bahagian paling bawah */
    footer {
        flex: 0 0 auto !important;
        margin-top: 0 !important;
        padding: 8px 0 !important;
        width: 100% !important;
    }

        footer h6 {
            font-size: 0.65rem !important;
            margin: 0 !important;
        }
}

@media(max-width:768px) {

    .display-3 {
        font-size: 35px;
    }

    .hero p {
        font-size: 16px;
    }

    .btn {
        width: 100%;
        /*margin-bottom: 15px;*/
        font-size: 14px;
    }

    .btn-outline-primary {
        margin-left: 0 !important;
    }

    .topbar {
        display: none;
    }


}

@media(max-width:576px) {

    .navbar {
        padding: 12px 0;
    }

    .hero {
        padding: 50px 0;
    }

    .quick-card {
        padding: 25px;
    }

    .card {
        margin-bottom: 20px;
    }
}


/*.quick-menu-section {
    position: relative;
    margin: -180px auto 0;
    z-index: 10;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    width: 100%;
}*/


.quick-menu-section {
    position: relative;
    z-index: 10;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    /* FIX JURANG: Buang margin-bottom & paksa margin 0 */
    margin-top: -180px; /* Kekalkan kedudukan naik ke atas hero */
    margin-bottom: 0 !important;
    padding-bottom: 10px !important; /* Kawal jarak dalaman menu jika mahu */
    background-color: #ffffff; /* Mengisi warna latar jika ada ruang terbocor */
}


.quick-menu-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    width: 100%;
}




.quick-card svg {
    width: 72px;
    height: 72px;
}

.icon-main {
    stroke: #3557dd;
    stroke-width: 2;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.icon-light {
    stroke: #5AAEFF;
    stroke-width: 2;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
}


.dashboard-menu {
    padding: 30px 0px;
}

.dashboard-item {
    display: block;
    text-decoration: none;
    color: #233ea5;
    transition: .3s;
}

    .dashboard-item:hover {
        transform: translateY(-6px);
        text-decoration: none;
    }

.dashboard-icon {
    width: 90px;
    height: 90px;
    margin: auto;
    margin-bottom: 15px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    background: white !important;
    color: #272caa;
    font-size: 38px;
    border: 4px solid #fff;
    /*box-shadow: 0 10px 30px rgba(35,62,165,.10), 0 0 0 4px rgba(35,62,165,.12);*/
    transition: .3s;
}

.dashboard-item:hover .dashboard-icon {
    transform: scale(1.08);
    background: #deeff4;
}

.dashboard-item h6 {
    font-size: 15px;
    font-weight: 600;
    color: #233ea5;
    line-height: 22px;
}


.dashboard-header {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    padding: 20px 30px;
    background: #eef5ff;
    border-radius: 18px;
    margin-bottom: 25px;
}

.dashboard-user {
    display: flex;
    align-items: center;
    gap: 18px;
}

.dashboard-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #233ea5;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 28px;
    /*box-shadow: 0 8px 20px rgba(35,62,165,.25);*/
}

.dashboard-user-info h4 {
    margin: 0;
    font-size: 24px;
    font-weight: 700;
    color: #233ea5;
}

.dashboard-user-info span {
    font-size: 17px;
    color: #6c757d;
}

.btn-profile {
    background: #233ea5;
    color: #fff;
    padding: 5px 15px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    transition: .3s;
}

    .btn-profile:hover {
        background: #1a2f82;
        color: #fff;
    }


#infoSTRModal .modal-content {
    border-radius: 40px;
    border: 5px solid #E8AA00;
    min-height: 650px;
}




#infoSTRModal .modal-header {
    padding: 30px 40px 10px;
}

#infoSTRModal .modal-body,
#siaranMediaModal .modal-body {
    padding: 30px 60px 60px;
}

#infoSTRModal h5{
    margin-top: 25px;
    font-weight: 600;
}

#infoSTRModal ul {
    margin-left: 20px;
}

#infoSTRModal li {
    margin-bottom: 8px;
}

#infoSTRModal .clickable-text, .clickable-text {
    display: inline-block;
    transition: all 0.25s ease;
    cursor: pointer;
}

    .clickable-text:hover {
        transform: translateX(6px);
        color: #0d6efd !important;
    }



/* =========================================
   SIARAN MEDIA MODAL
========================================= */

#siaranMediaModal .modal-content {
    border-radius: 40px;
    border: 5px solid #E8AA00;
    min-height: unset;
}

/* HEADER */
#siaranMediaModal .modal-header {
    padding: 28px 40px 18px;
    border-bottom: 1px solid #e5e5e5;
}

    #siaranMediaModal .modal-header h3 {
        color: #292d32;
    }


/* BODY */
#siaranMediaModal .modal-body {
    padding: 0;
}


/* SWIPER */
#siaranMediaModal .siaranMediaSwiper {
    width: 100%;
    height: 350px;
    position: relative;
}


/* SLIDE */
#siaranMediaModal .swiper-slide {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px 100px 60px;
}


/* CONTENT */
#siaranMediaModal .siaran-content {
    width: 100%;
    max-width: 850px;
    color: #292d32;
}

    #siaranMediaModal .siaran-content h4 {
        font-size: 24px;
        font-weight: 700;
        margin-bottom: 20px;
        text-align: center;
    }

    #siaranMediaModal .siaran-content hr {
        margin: 20px 0 30px;
        border-color: #ddd;
    }

    #siaranMediaModal .siaran-content h5 {
        font-size: 21px;
        font-weight: 700;
        margin-bottom: 15px;
    }

    #siaranMediaModal .siaran-content ul {
        padding-left: 30px;
        margin: 0;
    }

    #siaranMediaModal .siaran-content li {
        font-size: 17px;
        line-height: 1.8;
        margin-bottom: 8px;
    }


/* =========================================
   ARROW
========================================= */

#siaranMediaModal .swiper-button-prev,
#siaranMediaModal .swiper-button-next {
    color: #4055D6;
    width: 55px;
    height: 70px;
}

#siaranMediaModal .swiper-button-prev {
    left: 35px;
}

#siaranMediaModal .swiper-button-next {
    right: 35px;
}


    /* Besarkan arrow */
    #siaranMediaModal .swiper-button-prev::after,
    #siaranMediaModal .swiper-button-next::after {
        font-size: 40px;
        font-weight: 400;
    }


/* =========================================
   PAGINATION / DOT
========================================= */

#siaranMediaModal .swiper-pagination {
    bottom: 18px;
}

#siaranMediaModal .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    opacity: 1;
    background: #4055D6;
}

#siaranMediaModal .swiper-pagination-bullet-active {
    background: #4055D6;
}


/* =========================================
   MOBILE
========================================= */
@media (max-width: 768px) {

    #siaranMediaModal .modal-content {
        border-radius: 25px;
        border-width: 4px;
    }

    #siaranMediaModal .modal-header {
        padding: 20px;
    }

        #siaranMediaModal .modal-header h3 {
            font-size: 22px;
        }

    #siaranMediaModal .siaranMediaSwiper {
        height: 350px;
    }

    #siaranMediaModal .swiper-slide {
        padding: 25px 50px 55px;
    }

    #siaranMediaModal .siaran-content h4 {
        font-size: 20px;
    }

    #siaranMediaModal .siaran-content h5 {
        font-size: 18px;
    }

    #siaranMediaModal .siaran-content li {
        font-size: 15px;
    }

    #siaranMediaModal .swiper-button-prev {
        left: 5px;
    }

    #siaranMediaModal .swiper-button-next {
        right: 5px;
    }

        #siaranMediaModal .swiper-button-prev::after,
        #siaranMediaModal .swiper-button-next::after {
            font-size: 40px;
        }

    #siaranMediaModal .swiper-pagination-bullet {
        width: 12px;
        height: 12px;
    }
}

#permohonanModal .modal-content {
    border-radius: 40px;
    min-height: 350px;
}

#siaranMediaModal .maklumat-lanjut {
    display: inline-block;
    margin-top: 10px;
    color: #4055D6;
    font-size: 17px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
}

    #siaranMediaModal .maklumat-lanjut:hover {
        color: #E8AA00;
        transform: translateX(5px);
        text-decoration: none;
    }


/* ========================================
   MAKLUMAT TERKINI - VERTICAL TABS
======================================== */

/*#infoSTRModal .modal-content {
    border-radius: 30px;
    border: none;
    overflow: hidden;
}*/

#infoSTRModal .modal-body {
    padding: 25px 30px 35px;
}


/* TAB KIRI */
#infoSTRModal .news-tabs {
    gap: 8px;
    max-height: 500px;
    overflow-y: auto;
    padding-right: 5px;
}


    /* BUTTON TAB */
    #infoSTRModal .news-tabs .nav-link {
        text-align: left;
        color: #17324d;
        background: #f8fbfc;
        border: 1px solid #e2eaee;
        border-radius: 8px;
        padding: 14px 18px;
        font-size: 16px;
        line-height: 1.4;
        transition: all 0.25s ease;
    }


        /* HOVER */
        #infoSTRModal .news-tabs .nav-link:hover {
            background: #eef6ff;
            border-color: #1473e6;
            transform: translateX(3px);
        }


        /* ACTIVE */
        #infoSTRModal .news-tabs .nav-link.active {
            color: white;
            background: #1473e6;
            border-color: #1473e6;
            box-shadow: 0 4px 10px rgba(20, 115, 230, 0.2);
        }


/* CONTENT KANAN */
#infoSTRModal .news-content {
    background: #eef6fc;
    /*border-left: 5px solid #1455a0;*/
    border-radius: 0 18px 18px 18px;
    padding: 30px 35px;
    min-height: 430px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}


/* TARIKH */
#infoSTRModal .news-date {
    display: block;
    color: #555;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 20px;
}


/* TAJUK */
#infoSTRModal .news-content h4 {
    color: #17324d;
    font-weight: 700;
    margin-bottom: 20px;
}


/* SUB TAJUK */
#infoSTRModal .news-content h5 {
    color: #17324d;
    font-weight: 600;
}


/* TEXT */
#infoSTRModal .news-content p,
#infoSTRModal .news-content li {
    color: #17324d;
    font-size: 16px;
    line-height: 1.8;
}


/* LIST */
#infoSTRModal .news-content li {
    margin-bottom: 12px;
}


/* SCROLLBAR TAB */
#infoSTRModal .news-tabs::-webkit-scrollbar {
    width: 5px;
}

#infoSTRModal .news-tabs::-webkit-scrollbar-thumb {
    background: #cbd8e5;
    border-radius: 10px;
}

@media (max-width: 991px) {

    #infoSTRModal .news-tabs {
        flex-direction: row !important;
        overflow-x: auto;
        overflow-y: hidden;
        flex-wrap: nowrap;
        padding-bottom: 8px;
    }

        #infoSTRModal .news-tabs .nav-link {
            min-width: 230px;
            white-space: normal;
        }

    #infoSTRModal .news-content {
        min-height: auto;
        padding: 25px;
    }
}


/* ========================================
   SIARAN MEDIA
======================================== */

.siaran-media-content {
    flex: 1;
    min-width: 0;
}

    .siaran-media-content small {
        display: block;
        color: #4353ff;
        /*font-size: 18px;*/
        margin-bottom: 5px;
    }


/* ========================================
   SLIDER
======================================== */

#siaranMediaSlider {
    width: 100%;
}


    /*
   RUANG TAJUK DIBERI HEIGHT TETAP

   Jadi walaupun:
   - tajuk 1 baris
   - tajuk 2 baris
   - tajuk 3 baris

   arrow tetap berada pada tempat sama.
*/

    #siaranMediaSlider .carousel-inner {
        min-height: 60px;
    }


    #siaranMediaSlider .carousel-item h6 {
        margin: 0;
        padding: 0;
        line-height: 1.35;
    }


        #siaranMediaSlider .carousel-item h6 a {
            color: #0066ff;
            /*font-size: 21px;*/
            font-weight: 400;
        }


/* ========================================
   BAHAGIAN BAWAH
======================================== */

    
    #siaranMediaSlider .carousel-inner {
        min-height: 75px; 
        display: flex;
        align-items: center; 
    }

    
    #siaranMediaSlider .carousel-item h6 {
        margin-bottom: 0;
        line-height: 1.4;
        height:70px;
    }

.siaran-bottom {
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}


/* Maklumat lanjut */

.maklumat-lanjut {
    color: #666;
    font-size: 14px;
    font-style: italic;
    text-decoration: none;
    margin-left: 5px;
}


/* ========================================
   ARROW
======================================== */

.siaran-controls {
    display: flex;
    align-items: center;
    gap: 6px;
}


.siaran-arrow {
   /* width: 50px;*/
    /*height: 50px;*/
    border: none;
    border-radius: 16px;
    background: #eef2ff;
    color: #4263d8;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    transition: all 0.2s ease;
}


    .siaran-arrow:hover {
        background: #e1e7ff;
        transform: translateY(-1px);
    }


    .siaran-arrow:active {
        transform: scale(0.95);
    }


/* ========================================
   DOTS
======================================== */

.siaran-indicators {
    position: static;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 18px;
}


    .siaran-indicators button {
        width: 10px;
        height: 10px;
        padding: 0;
        margin: 0;
        border: none;
        border-radius: 50%;
        background: #d9d9d9;
        opacity: 1;
        transition: all 0.2s ease;
    }


        .siaran-indicators button.active {
            background: #4263d8;
            transform: scale(1.15);
        }



/* Container Utama Bar Menu */
.quick-menu-section {
    background-color: white;
    padding: 18px 0;
    border-top: 1px solid #f0ece1;
    border-bottom: 1px solid #f0ece1;
    width: 100%;
    margin: 0px !important;
}

/* Penjajaran Grid 7 Item */
.quick-menu-grid {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Gaya Pautan / Item Menu */
.quick-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none !important;
    color: #333333;
    transition: transform 0.2s ease, color 0.2s ease;
    cursor: pointer;
    text-align: center;
    min-width: 100px;
}

    /* Gaya Ikon Green Outline */
    .quick-item i {
        font-size: 1.8rem;
        color: #233ea5;
        margin-bottom: 6px;
        line-height: 1;
    }

    /* Gaya Teks */
    .quick-item span {
        font-size: 0.78rem;
        font-weight: 500;
        color: #333333;
        line-height: 1.2;
    }

    /* Efek Apabila Tetikus Lalu (Hover) */
    .quick-item:hover {
        transform: translateY(-2px);
    }

        .quick-item:hover i {
            color: #0d6efd;
        }

        .quick-item:hover span {
            color: #0d6efd;
        }

/* Responsif untuk Skrin Telefon Bimbit */
@media (max-width: 768px) {
    .quick-menu-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 20px 10px;
    }
}

.hero {
    padding: 0px;
}


/* Hilangkan margin/padding pada container utama */
main.main {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
    flex: 1; /* Supaya footer kekal di bawah jika skrin tinggi */
}

/* Hilangkan margin/padding atas footer */
footer {
    margin-top: 0 !important;
    padding-top: 15px; /* Pelarasan jarak dalam footer sahaja (jika perlu) */
}


.top-link.dropdown-toggle::after {
    display: none !important;
}


.dropdown-menu {
    z-index: 9999 !important; 
}


.dropdown-menu-end {
    right: 0 !important;
    left: auto !important;
}


.topbar {
    display: block !important;
    
}

    .topbar .top-link {
        color: #ffffff;
        text-decoration: none;
        font-size: 13px;
    }


    
    .topbar .text-nowrap {
        white-space: nowrap !important;
    }


@media (max-width: 576px) {
    .topbar .topbar-text {
        font-size: 0.65rem !important;
    }

    .topbar .top-link {
        font-size: 12px !important;
        padding: 2px 4px;
        margin-left:5px;
    }


}


@media (min-width: 577px) {
    
    .topbar .top-link {
        font-size: 14px;
    }
}


.hubungi-dropdown-menu {
    white-space: normal !important; 
    width: 280px !important; 
    max-width: 90vw !important; 
    word-break: break-word; 
}

    .hubungi-dropdown-menu small,
    .hubungi-dropdown-menu strong,
    .hubungi-dropdown-menu a {
        white-space: normal !important; 
    }