/* Googlefont Poppins CDN Link */
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@200;300;400;500;600;700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Baloo+2&display=swap");
@import url("https://fonts.googleapis.com/css?family=Special+Elite");
@import url("https://fonts.googleapis.com/css2?family=Yellowtail&display=swap");
* {
    box-sizing: border-box;
    font-family: "Open Sans", sans-serif;
    font-size: 16px;
}
body {
    min-height: 100vh;
    background-color: #f1f5f9;
}
nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 70px;
    background: #ffffff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    z-index: 999;
}

nav .navbar {
    height: 100%;
    max-width: 1250px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: auto;
    padding: 0 50px;
}

.navbar .logo a {
    display: inline-block;
    line-height: 0;
}

.navbar .logo img {
    vertical-align: middle;
}

nav .navbar .nav-links {
    line-height: 70px;
    height: 100%;
}

nav .navbar .links {
    display: flex;
    margin: 0;
    padding: 0;
}

nav .navbar .links li {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    list-style: none;
    padding: 0 20px;
}

nav .navbar .links li a {
    height: 100%;
    text-decoration: none;
    white-space: nowrap;
    color: #000000;
    font-size: 16px;
    font-weight: 500;
    display: flex;
    align-items: center;
    transition: color 0.3s ease;
}

/* Hover effect - warna hijau */
nav .navbar .links li:hover > a {
    color: #10b981;
}

/* Active state - warna hijau */
nav .navbar .links li.active > a {
    color: #10b981;
}

/* Border bottom hijau saat hover dan active */
nav .navbar .links li:hover::after,
nav .navbar .links li.active::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: #10b981;
}

.navbar .links i {
    font-size: 15px;
    line-height: 1;
    margin-left: 5px;
}

.links li:hover .htmlcss-arrow,
.links li:hover .htmlcss-arrow3,
.links li:hover .htmlcss-arrow4 {
    transform: rotate(180deg);
}

nav .navbar .links li .arrow {
    height: 100%;
    width: 22px;
    line-height: 70px;
    text-align: center;
    display: inline-block;
    color: #000000;
    transition: all 0.3s ease;
}

nav .navbar .links li:hover .arrow {
    color: #10b981;
}

nav .navbar .links li .sub-menu {
    position: absolute;
    top: 70px;
    left: 0;
    line-height: 40px;
    background: #ffffff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    border-radius: 0 0 4px 4px;
    display: none;
    z-index: 2;
    padding: 10px 0;
    min-width: 220px;
}

nav .navbar .links li:hover .htmlCss-sub-menu,
nav .navbar .links li:hover .htmlCss-sub-menu3,
nav .navbar .links li:hover .htmlCss-sub-menu4 {
    display: block;
}

.navbar .links li .sub-menu li {
    padding: 0 20px;
    border-bottom: none;
}

.navbar .links li .sub-menu li::after {
    display: none;
}

.navbar .links li .sub-menu a {
    color: #000000;
    font-size: 15px;
    font-weight: 400;
    transition: color 0.3s ease;
    display: block;
    padding: 8px 0;
}

.navbar .links li .sub-menu li:hover > a {
    color: #10b981;
}

.navbar .links li .sub-menu .more-arrow {
    line-height: 40px;
}

.navbar .links li .sub-menu .more-sub-menu {
    position: absolute;
    top: 0;
    left: 100%;
    border-radius: 0 4px 4px 4px;
    z-index: 1;
    display: none;
    background: #ffffff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    padding: 10px 0;
}

.links li .sub-menu .more:hover .more-sub-menu {
    display: block;
}

.navbar .search-box {
    position: relative;
    height: 40px;
    width: 40px;
}

.navbar .search-box i {
    position: absolute;
    height: 100%;
    width: 100%;
    line-height: 40px;
    text-align: center;
    font-size: 22px;
    color: #10b981;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.navbar .search-box .input-box {
    position: absolute;
    right: calc(100% - 40px);
    top: 80px;
    height: 60px;
    width: 300px;
    background: #ffffff;
    border-radius: 6px;
    opacity: 0;
    pointer-events: none;
    transition: all 0.4s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.navbar.showInput .search-box .input-box {
    top: 65px;
    opacity: 1;
    pointer-events: auto;
}

.search-box .input-box::before {
    content: "";
    position: absolute;
    height: 20px;
    width: 20px;
    background: #ffffff;
    right: 10px;
    top: -6px;
    transform: rotate(45deg);
}

.search-box .input-box input {
    position: absolute;
    top: 50%;
    left: 50%;
    border-radius: 4px;
    transform: translate(-50%, -50%);
    height: 35px;
    width: 280px;
    outline: none;
    padding: 0 15px;
    font-size: 16px;
    border: 1px solid #e5e7eb;
}

.navbar .nav-links .sidebar-logo {
    display: none;
}

.navbar .bx-menu {
    display: none;
}

@media (max-width: 1107px) {
    nav .navbar {
        max-width: 100%;
        padding: 0 25px;
    }

    nav .navbar .logo img {
        width: 110px;
    }

    nav .navbar .links li {
        padding: 0 15px;
        white-space: nowrap;
    }

    nav .navbar .links li a {
        font-size: 15px;
    }
}
@media (max-width: 1000px) {
    /* --- TOMBOL HAMBURGER --- */
    .navbar .bx-menu {
        display: block;
        font-size: 30px;
        color: #10b981;
        cursor: pointer;
        /* Ubah order menjadi 2 agar pindah ke paling kanan */
        order: 2;
        transition: 0.3s;
    }

    nav .navbar {
        padding: 0 20px;
        /* Tambahkan flex dan space-between untuk mendorong elemen ke ujung kiri dan kanan */
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    nav .navbar .logo {
        /* Ubah order menjadi 1 agar berada di paling kiri */
        order: 1;
    }
    
    nav .navbar .logo img {
        /* Ubah order menjadi 1 agar berada di paling kiri */
        width: 190px;
    }

    nav .navbar .search-box {
        /* Sembunyikan fitur pencarian di tampilan mobile */
        display: none !important;
    }

    /* --- SIDEBAR CONTAINER (FULL SCREEN) --- */
    nav .navbar .nav-links {
        position: fixed;
        top: 0;
        left: -100%;
        display: block;
        max-width: 100%;
        width: 100%;
        background: #ffffff;
        padding: 20px 30px;
        box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 1000;
        height: 100vh;
        overflow-y: auto;
    }

    /* --- HEADER SIDEBAR (LOGO & TOMBOL CLOSE) --- */
    .navbar .nav-links .sidebar-logo {
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin-bottom: 25px;
        padding: 0 0 15px 0 !important;
        border-bottom: 1px solid #eee;
    }

    .navbar .nav-links .sidebar-logo .logo-name img {
        margin-left: 0 !important;
    }

    .sidebar-logo .logo-name {
        font-size: 22px;
        color: #1f2937;
        font-weight: 700;
    }

    .sidebar-logo i {
        font-size: 32px;
        color: #10b981;
        cursor: pointer;
    }

    /* --- LIST MENU CONTAINER --- */
    nav .navbar .links {
        display: block;
        margin-top: -20px;
    }

    /* --- STYLE LIST MENU UTAMA --- */
    nav .navbar .links li {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: space-between;
        border-bottom: 1px solid #f3f4f6;
        padding: 0 !important;
        cursor: pointer;
        position: relative;
        background: #fff;
    }

    nav .navbar .links li a {
        padding: 18px 0 !important;
        flex: 1;
        color: #374151;
        font-size: 17px;
        font-weight: 600;
        line-height: 1.4;
        text-decoration: none;
        display: flex;
        align-items: center;
    }

    /* --- STYLE PANAH (ARROW) --- */
    nav .navbar .links li .arrow {
        width: 50px;
        height: 50px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 20px;
        color: #9ca3af;
        transition: transform 0.3s ease;
        border-left: 1px solid transparent;
    }

    /* Efek Hover Menu Utama */
    nav .navbar .links li:hover {
        background: #f9fafb;
    }
    nav .navbar .links li:hover > a,
    nav .navbar .links li:hover .arrow {
        color: #10b981;
    }

    /* --- STYLE SUB-MENU (DROPDOWN) --- */
    nav .navbar .links li .sub-menu {
        display: none;
        width: 100%;
        flex-basis: 100%;
        background: #f8fafc;
        border-radius: 8px;
        margin-top: 0;
        padding: 5px 0 !important;
        box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.03);
        margin-left: 0 !important;
    }

    /* Style Item Sub-menu */
    nav .navbar .links li .sub-menu li {
        border-bottom: 1px solid #eef0f2;
        display: flex;
        align-items: center;
    }

    /* Link Sub-menu */
    nav .navbar .links li .sub-menu a {
        padding: 12px 20px 12px 0 !important;
        font-size: 14px;
        color: #555;
        font-weight: 400;
        white-space: normal;
        margin-left: 0 !important;
    }

    nav .navbar .links li .sub-menu a i {
        padding: 0 !important;
    }

    nav .navbar .links li .sub-menu li:hover {
        background: #e6fffa;
    }

    nav .navbar .links li .sub-menu li:hover > a {
        color: #10b981;
    }

    /* --- LOGIC DISPLAY SUBMENU (HOVER & CLICK) --- */
    nav .navbar .links li:hover .htmlCss-sub-menu,
    nav .navbar .links li:hover .htmlCss-sub-menu3,
    nav .navbar .links li:hover .htmlCss-sub-menu4 {
        display: none;
    }

    .navbar .nav-links.show1 .links .htmlCss-sub-menu,
    .navbar .nav-links.show5 .links .htmlCss-sub-menu3,
    .navbar .nav-links.show7 .links .htmlCss-sub-menu4,
    nav .navbar .links li.show .sub-menu {
        display: block;
        animation: slideDown 0.3s ease forwards;
    }

    /* Rotasi Panah saat aktif */
    .navbar .nav-links.show1 .links .htmlcss-arrow,
    .navbar .nav-links.show5 .links .htmlcss-arrow3,
    .navbar .nav-links.show7 .links .htmlcss-arrow4,
    nav .navbar .links li.show .arrow {
        transform: rotate(180deg);
        color: #10b981;
    }

    /* Animasi Dropdown */
    @keyframes slideDown {
        from {
            opacity: 0;
            transform: translateY(-5px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
}

/* Penyesuaian Mobile Kecil */
@media (max-width: 370px) {
    .navbar .nav-links {
        padding: 15px 15px;
    }
    nav .navbar .links li a {
        font-size: 15px;
    }
}

.sub-footer {
    display: none;
}
.lifooter {
    list-style: none;
}
.afooter {
    text-decoration: none;
    color: white;
}
.bungkus::hover {
    cursor: pointer;
}
.liveradio {
    width: 400px;
}
.category {
    margin-top: 50px;
}

.lokasi {
    margin-top: 50px;
}
.lokasi iframe {
    border: 0;
    width: 100%;
    height: 500px;
}

@media (min-width: 768px) {
    .recentpost {
        width: 130px;
        height: 96px;
        object-fit: cover;
    }
}

.fix-size {
    width: 400px;
    height: 250px;
    object-fit: cover;
}
.sectionEvent {
    text-align: center;
    font-size: 24px; /* Sesuaikan ukuran font */
    font-weight: bold; /* Jika Anda ingin teks lebih tebal */
    margin-bottom: 20px; /* Jarak antara teks dan konten di bawahnya */
    position: relative;
}

.sectionEvent::after {
    content: "";
    width: 70px; /* Panjang garis hijau */
    height: 3px; /* Ketebalan garis hijau */
    background: linear-gradient(310deg, #2152ff, #21d4fd); /* Warna hijau */
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: -10px; /* Jarak antara teks dan garis hijau */
}
.section {
    font-size: 24px; /* Sesuaikan ukuran font */
    font-weight: bold; /* Jika Anda ingin teks lebih tebal */
    margin-bottom: 20px; /* Jarak antara teks dan konten di bawahnya */
    position: relative;
}

.section::after {
    content: "";
    width: 100%; /* Panjang garis hijau */
    height: 3px; /* Ketebalan garis hijau */
    background: linear-gradient(310deg, #2152ff, #21d4fd); /* Warna hijau */
    position: absolute;
    left: 0;
    bottom: -10px; /* Jarak antara teks dan garis hijau */
}
.slideevent {
    padding: 0 35px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wrapper {
    max-width: 1100px;
    width: 100%;
    position: relative;
}

.wrapper i {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.23rem;
    height: 50px;
    width: 50px;
    background: #fff;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.23);
    border-radius: 50%;
    cursor: pointer;
    line-height: 50px;
    text-align: center;
    transition: 0.3s ease;
    z-index: 888;
}

.wrapper i:first-child {
    left: -22px;
}

.wrapper i:last-child {
    right: -22px;
}

.wrapper i:active {
    transform: translateY(-50%) scale(0.85);
}

.wrapper .carousel1 {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: calc((100% / 3));
    gap: 16px;
    border-radius: 8px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    scroll-behavior: smooth;
}

.wrapper .carousel1.no-transition {
    scroll-behavior: auto;
}

.wrapper .carousel1::-webkit-scrollbar {
    display: none;
}

.wrapper .carousel1.dragging {
    scroll-behavior: auto;
    scroll-snap-type: none;
}

/* Tambahkan kelas ini untuk menempatkan kartu di tengah */
.centered-carousel {
    display: flex;
    justify-content: center;
}

/* Jika ada satu kartu, pastikan kartu tersebut berada di tengah */
.centered-carousel .card1 {
    flex: 0 0 auto;
    margin: 0 10px; /* Spasi antar kartu */
}

/* Hapus scroll snap behavior untuk menghindari masalah dengan centering */
.centered-carousel {
    scroll-snap-type: none;
    overflow-x: hidden; /* Sembunyikan scrollbar jika tidak diperlukan */
}

.wrapper .carousel1 .card1 {
    position: relative; /* Tambahkan ini agar overlay bisa diposisikan secara absolut */
    scroll-snap-align: start;
    height: 400px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    overflow: hidden; /* Tambahkan ini untuk memastikan overlay tidak keluar dari batas kartu */
    border: 0;
}

.card1 .overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(
        255,
        255,
        255,
        0.878
    ); /* Ubah ke warna hitam transparan untuk overlay */
    color: rgb(0, 0, 0);
    padding: 10px;
    box-sizing: border-box;
    transition:
        transform 0.3s ease,
        opacity 0.3s ease;
    transform: translateY(100%);
    opacity: 0; /* Tambahkan ini untuk memulai dengan overlay yang tidak terlihat */
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.card1:hover .overlay {
    transform: translateY(0);
    opacity: 1; /* Overlay menjadi terlihat saat dihover */
}

.overlay h2 {
    margin: 0;
    font-size: 18px; /* Ukuran font yang lebih besar */
    font-weight: bold;
}

.overlay p {
    margin: 5px 0 0;
    font-size: 14px;
    color: #242424; /* Warna font yang lebih terang untuk kontras */
}

.overlay .detail-button {
    padding: 8px 16px;
    font-size: 14px;
    color: white;
    background-color: #007bff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    text-decoration: none;
}

.overlay .detail-button:hover {
    background-color: #0056b3;
}
.overlay .text-container {
    max-width: 70%; /* Sesuaikan untuk mengatur lebar teks dan tombol */
}

@media (max-width: 900px) {
    .wrapper .carousel1 {
        grid-auto-columns: calc((100% / 2));
    }
}

@media (max-width: 600px) {
    .wrapper .carousel1 {
        grid-auto-columns: 113%;
    }
    .overlay {
        flex-direction: column; /* Ubah flex-direction ke column pada mode mobile */
        align-items: flex-start; /* Teks dan tombol diurutkan vertikal */
    }

    .overlay .text-container {
        max-width: 100%; /* Teks mengambil 100% lebar */
        margin-bottom: 10px; /* Spasi antara teks dan tombol */
    }

    .overlay .detail-button {
        width: 100%; /* Tombol mengambil lebar penuh */
        text-align: center; /* Pusatkan teks di dalam tombol */
    }
}

@media (min-width: 768px) {
    .gambarberita {
        width: 100%;
        height: 500px;
        object-fit: cover;
    }
}

.image-container {
    width: 100%;
    padding: 15px;
    overflow: hidden; /* Ensures the image doesn't overflow outside the container */
}

.image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures the image covers the entire container without stretching */
}

@media (max-width: 767px) {
    .image-container {
        padding: 15px; /* Reduce height for smaller screens */
        margin-bottom: 10px;
    }
}

#boxes {
    display: grid;
    width: 100%;
    margin-top: 30px;
}

#player03 .controls {
    display: flex;
    justify-content: space-around;
}

.player {
    background-image: url("../../assets/img/curved-images/curved0.jpg");
    width: 100%;
    height: 300px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

.player img {
    width: 180px;
    height: 180px;
    object-fit: cover;
    border-radius: 10px;
}

.info {
    color: #e1e1e6;
}

.info p {
    opacity: 0.68;
    font-size: 19px;
}

.info-wrapper {
    display: flex;
    align-items: center;
    gap: 30px;
    margin: 50px 0px;
    margin-left: 50px;
}

.player h1 {
    font-size: 27px;
    color: #e1e1e6;
    padding-bottom: 7px;
}

.controls {
    display: flex;
    justify-content: space-between;
    padding-top: 20px;
    align-items: center;
}

.play i {
    font-size: 1.23rem;
    height: 50px;
    width: 50px;
    background: linear-gradient(310deg, #2152ff, #21d4fd);
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.23);
    border-radius: 50%;
    cursor: pointer;
    line-height: 50px;
    text-align: center;
    color: white;
}

.volume-slider {
    width: 50%;
    -webkit-appearance: none;
    appearance: none;
    outline: none;
    border-radius: 5px;
    background-color: transparent;
}

/* Ubah warna track slider */
.volume-slider::-webkit-slider-runnable-track {
    background: #ffffff; /* Warna track slider */
    border-radius: 15px;
}

/* Ubah warna thumb (tombol penggeser) */
.volume-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 15px;
    height: 15px;
    background: linear-gradient(310deg, #2152ff, #21d4fd); /* Warna thumb */
    cursor: pointer;
    border-radius: 50%;
}

@media (max-width: 670px) {
    #boxes {
        display: flex;
        flex-direction: column;
        width: 100%;
        height: 500px;
    }
    .player {
        height: 470px;
    }

    .info-wrapper {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 15px;
        margin: 20px 0;
    }

    .info-wrapper img {
        margin-bottom: 15px;
    }

    .info {
        margin-bottom: 15px;
    }

    .controls {
        flex-direction: column;
        align-items: center;
        gap: 10px;
        width: 100%;
    }

    .volume-slider {
        margin-left: 0;
        width: 50%;
        margin-top: 10px;
    }
    .lokasi iframe {
        height: 250px;
    }
}

/* gallery */

/* Masonry image gallery styling */
.gallery {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.gallery .images {
    gap: 15px;
    max-width: 85%;
    margin: 40px 0;
    columns: 5 310px;
    list-style: none;
}
.gallery .images .img {
    display: flex;
    cursor: pointer;
    overflow: hidden;
    position: relative;
    margin-bottom: 14px;
    border-radius: 4px;
}
.gallery .images img {
    width: 100%;
    transition: transform 0.2s ease;
}

.gallery .images .img:hover img {
    transform: scale(1.1);
}

/* Image lightbox styling */
.lightbox {
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 5;
    position: fixed;
    visibility: hidden;
    background: rgba(0, 0, 0, 0.65);
}
.lightbox.show {
    visibility: visible;
}
.lightbox .wrapper1 {
    position: fixed;
    left: 50%;
    top: 50%;
    width: 100%;
    padding: 20px;

    max-width: 850px;
    background: #fff;
    border-radius: 6px;
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%, -50%) scale(0.9);
    transition: transform 0.1s ease;
}
.lightbox.show .wrapper1 {
    opacity: 1;
    pointer-events: auto;
    transform: translate(-50%, -50%) scale(1);
}
.wrapper1 :where(header, .details) {
    display: flex;
    align-items: center;
}
.wrapper1 header {
    justify-content: space-between;
}
header .details i {
    font-size: 1.7rem;
}
header .details span {
    font-size: 1.2rem;
    margin-left: 10px;
}
header .buttons i {
    height: 40px;
    width: 40px;
    cursor: pointer;
    display: inline-block;
    color: #fff;
    margin-left: 10px;
    background: #6c757d;
    font-size: 1.25rem;
    line-height: 40px;
    text-align: center;
    border-radius: 4px;
    transition: 0.2s ease;
}
header .buttons i:hover {
    background: #5f666d;
}
.wrapper1 .preview-img {
    display: flex;
    justify-content: center;
    margin-top: 25px;
}
.preview-img .img {
    max-height: 65vh;
}
.preview-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Responsive media query code */
@media screen and (max-width: 688px) {
    .lightbox .wrapper1 {
        padding: 12px;
        max-width: calc(100% - 26px);
    }
    .wrapper .preview-img {
        margin-top: 15px;
    }
    .gallery .images {
        max-width: 100%;
        padding: 0 13px;
        margin-top: 20px;
    }
}
.tombollive {
    background: linear-gradient(310deg, #2152ff, #21d4fd);
    color: white;
    padding: 8px 18px;
    border-radius: 5px;
    text-align: center;
    text-decoration: none;
    border: 0;
}
.img-slider {
    height: 700px;
    object-fit: cover;
}
@media (max-width: 700px) {
    .img-slider {
        height: 230px;
        object-fit: cover;
    }
}

.texttagline {
    padding: 0px 200px;
}

h1 {
    width: 100%;
    text-align: center;
    font-size: 3.5em;
    color: #1f003b;
}
.cardteam {
    box-shadow: 0 0 2.4em rgba(25, 0, 58, 0.1);
    padding: 1em 1em;
    border-radius: 0.6em;
    color: #1f003b;
    transition: 0.3s;
    background-color: #ffffff;
}
.cardteam .img-container {
    width: 10em;
    height: 10em;
    background-color: #21d4fd;
    padding: 0.3em;
    border-radius: 50%;
    margin: 0 auto 2em auto;
}
.cardteam img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
}
.cardteam h3 {
    font-weight: 500;
    text-align: center;
}
.cardteam p {
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-align: center;
}
.icons {
    width: 50%;
    min-width: 180px;
    margin: auto;
    display: flex;
    justify-content: space-between;
}
.cardteam a {
    text-decoration: none;
    color: inherit;
    font-size: 1.4em;
}

@media screen and (min-width: 768px) {
    section {
        padding: 1em 7em;
    }
}
@media screen and (min-width: 992px) {
    section {
        padding: 1em;
    }
    .cardteam {
        padding: 3.5em 1em;
        margin-top: 30px;
    }
}
@media screen and (max-width: 992px) {
    .cardteam {
        padding: 3.5em 1em;
        margin-top: 30px;
    }
    .texttagline {
        padding: 0px 20px;
    }
}
:root {
    /* Animation Timing Function */
    --primary-timing-func: cubic-bezier(0.86, 0, 0.07, 1);
    /* Button Variables */
    --button-radius: 60px;
    --button-inner-ring-radius: 120px;
    --button-outer-ring-radius: 100px;
    --button-gradient: 135deg, #2152ff, #21d4fd;
    --main-background-color: #edc1c2;
    /* Menu Variables */
    --menu-radius: calc(var(--button-radius) - 2px);
    --menu-height: 150px;
    --menu-width: 245px;
    --menu-border-radius: 10px;
    --menu-bg-color: #2779fc;
    --menu-timing-function: var(--primary-timing-func);
    --menu-icon-size: 30px;
    /*   Close Icon */
    --close-icon-timing-function: var(--primary-timing-func);
}

.sticky-menu-container {
    position: fixed;
    right: calc(var(--button-radius));
    bottom: calc(var(--button-radius));
    display: flex;
    align-items: center;
    justify-content: center;
}

.sticky-menu-container .outer-button {
    position: absolute;
    height: var(--button-radius, 70px);
    width: var(--button-radius, 70px);
    border-radius: 50%;
    background: linear-gradient(310deg, #2152ff, #21d4fd);
    background: -moz-linear-gradient(var(--button-gradient));
    background: -webkit-linear-gradient(var(--button-gradient));
    background: linear-gradient(var(--button-gradient));
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 10px 10px 18px 5px rgba(0, 0, 0, 0.2);
    cursor: pointer;
}
.sticky-menu-container .outer-button .icon-container {
    height: inherit;
    width: inherit;
    border-radius: inherit;
    display: inherit;
    align-items: inherit;
    justify-content: inherit;
    overflow: hidden;
    position: relative;
    cursor: inherit;
}
.sticky-menu-container .outer-button .close-icon {
    transform: scale(0) rotate(-270deg);
    opacity: 0;
    position: absolute;
}

.sticky-menu-container .outer-button .arrow-icon {
    position: absolute;
}

.sticky-menu-container .outer-button .arrow-icon.hiding-spot {
    transform: translateX(calc(var(--button-radius) / -2))
        translateY(calc(var(--button-radius) / 2));
    opacity: 0;
}

.sticky-menu-container .outer-button .close-icon.show {
    animation-duration: 1000ms;
    animation-name: close-in;
    animation-fill-mode: forwards;
    animation-timing-function: var(--close-icon-timing-function);
}

.sticky-menu-container .outer-button .close-icon.hide {
    animation-duration: 1000ms;
    animation-name: close-out;
    animation-timing-function: var(--close-icon-timing-function);
}

.sticky-menu-container .outer-button .arrow-icon.show {
    opacity: 0;
    animation-duration: 1000ms;
    animation-name: arrow-in;
    animation-fill-mode: forwards;
    animation-timing-function: var(--close-icon-timing-function);
    /*   animation-delay: 250ms; */
}

.sticky-menu-container .outer-button .arrow-icon.hide {
    animation-duration: 1000ms;
    animation-name: arrow-out;
    animation-fill-mode: forwards;
    animation-timing-function: var(--close-icon-timing-function);
}

.sticky-menu-container .outer-button::after,
sticky-menu-container.outer-button::before {
    position: absolute;
    display: inline-block;
    content: "";
    height: var(--button-inner-ring-radius);
    width: var(--button-inner-ring-radius);
    border-radius: 50%;
    background-color: transparent;
    border: 0px solid rgba(255, 255, 255, 0.5);
    opacity: 0;
    cursor: pointer;
}

.sticky-menu-container .outer-button.clicked::after {
    animation-duration: 500ms;
    animation-name: touch-click-inner;
    animation-iteration-count: 1;
    animation-fill-mode: forwards;
}

.sticky-menu-container .outer-button::before {
    height: var(--button-outer-ring-radius);
    width: var(--button-outer-ring-radius);
}

.sticky-menu-container .outer-button.clicked::before {
    animation-name: touch-click-outer;
    animation-duration: 500ms;
    animation-iteration-count: 1;
    animation-delay: 250ms;
}

.sticky-menu-container .inner-menu {
    position: absolute;
    height: var(--menu-height);
    width: var(--menu-width);
    border-radius: var(--menu-border-radius);
    background-color: var(--menu-bg-color);
    /*   transform: translate(calc(-50% + var(--button-radius) / 2), calc(-55% - var(--button-radius) / 2)); */
    transform: translateX(-91px) translateY(-169px);
    transition: all 1000ms cubic-bezier(0.86, 0, 0.07, 1);
    /*   transition-delay: 500ms; */
    padding: 30px;
    overflow: hidden;
}

.sticky-menu-container .inner-menu > ul {
    height: 100%;
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    align-content: space-between;
    margin: 0;
    padding: 0;
}

.sticky-menu-container .inner-menu > .menu-list > .menu-item {
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 3px;
    width: 100%;
    display: flex;
    align-items: center;
}

.sticky-menu-container .inner-menu > .menu-list > .menu-item {
    overflow: hidden;
}

.sticky-menu-container .inner-menu > .menu-list > .menu-item > .item-icon {
    margin-right: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sticky-menu-container .inner-menu.closed {
    height: var(--menu-radius);
    width: var(--menu-radius);
    border-radius: 50%;
    padding: 0;
    transform: unset;
}

.sticky-menu-container .inner-menu > .menu-list > .menu-item > .item-text {
    opacity: 0;
}
.sticky-menu-container .inner-menu > .menu-list > .menu-item > .item-text a {
    text-decoration: none;
    color: white;
}

.sticky-menu-container
    .inner-menu
    > .menu-list
    > .menu-item
    > .item-text.text-in {
    animation-duration: 1500ms;
    animation-name: text-in;
    animation-fill-mode: forwards;
    animation-timing-function: var(--close-icon-timing-function);
}

.sticky-menu-container .inner-menu > .menu-list > .menu-item.text-hides {
    animation-duration: 200ms;
    animation-name: text-hides;
    animation-fill-mode: forwards;
    animation-timing-function: var(--close-icon-timing-function);
}

@keyframes touch-click-inner {
    50% {
        transform: scale(0.375);
        border-width: 30px;
        opacity: 1;
    }
    100% {
        transform: scale(1);
        border-width: 1px;
        opacity: 0;
    }
}

@keyframes touch-click-outer {
    0% {
        border-width: 10px;
        opacity: 0;
    }
    50% {
        opacity: 0.2;
    }
    100% {
        transform: scale(1.1);
        opacity: 0;
    }
}

@keyframes close-in {
    0% {
        transform: scale(0) rotate(270deg);
        opacity: 0;
    }
    100% {
        transform: scale(1.1) rotate(0deg);
        opacity: 1;
    }
}

@keyframes close-out {
    0% {
        transform: scale(1.1) rotate(0deg);
        opacity: 1;
    }
    100% {
        transform: scale(0) rotate(270deg);
        opacity: 0;
    }
}

@keyframes arrow-out {
    0% {
        transform: translateX(0) translateY(0);
    }
    100% {
        transform: translateX(calc(var(--button-radius) / 1.5))
            translateY(calc(var(--button-radius) / -1.5));
    }
}

@keyframes arrow-in {
    0% {
        transform: translateX(calc(-1 * var(--button-radius)))
            translateY(calc(var(--button-radius)));
        opacity: 0;
    }
    100% {
        transform: translateX(0) translateY(0);
        opacity: 1;
    }
}

@keyframes text-in {
    0% {
        opcaity: 1;
        transform: translateY(50px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes text-hides {
    0% {
        opacity: 1;
    }
    100% {
        opacity: 0;
    }
}

/* image fix berita */
.img-berita {
    width: 100%;
    height: 230px;
    object-fit: cover;
}
.custom-pagination {
    color: #0fb6cc;
    border: 1px solid #7e1414;
    margin: 0 2px;
}
.custom-pagination {
    background-color: #0fb6cc;
    border-color: #0fb6cc;
    color: white;
}

.custom-pagination .pagination {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.cites i {
    font-size: 1.5rem;
    border: 1px solid #bdcbce;
    border-radius: 50px;
    padding: 12px;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0px auto;
    color: #21d4fd;
}
/* Carousel Overlay Text */
.overlay-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    text-align: center;
    color: #fff;
}

.logo-des {
    width: 300px;
    max-width: 15vw;
    height: auto;
}
.typewriter {
    margin-top: -80px;
}

.typewriter h2 {
    color: #fff;
    /* font-family: Poppins,sans-serif; */
    overflow: hidden; /* Ensures the content is not revealed until the animation */
    border-right: 0.15em solid #0066ff; /* The typewriter cursor */
    border-bottom: 0;
    white-space: nowrap; /* Keeps the content on a single line */
    margin: 0 auto; /* Gives that scrolling effect as the typing happens */
    letter-spacing: 0.15em; /* Adjust as needed */
    animation:
        typing 3.5s steps(30, end),
        blink-caret 0.5s step-end infinite;
}

/* The typing effect */
@keyframes typing {
    from {
        width: 0;
    }
    to {
        width: 100%;
    }
}

/* The typewriter cursor effect */
@keyframes blink-caret {
    from,
    to {
        border-color: transparent;
    }
    50% {
        border-color: #0066ff;
    }
}

/* Responsive Styles */
@media (max-width: 768px) {
    .overlay-text {
        top: 40%; /* Adjust top position for smaller screens */
    }

    .logo-des {
        width: 80px;
    }

    .typewriter {
        margin-top: 2px;
    }
    .typewriter h2 {
        font-size: 14px !important;
        letter-spacing: 0.1em;
        margin-top: -20px;
    }

    .overlay-text p {
        font-size: 0.9rem;
    }
}

@media (max-width: 576px) {
    .overlay-text {
        top: 35%; /* Further adjust for very small screens */
    }

    .logo-des {
        width: 70px;
    }

    .typewriter h1 {
        font-size: 1.2rem;
        letter-spacing: 0.08em;
    }

    .overlay-text p {
        font-size: 0.8rem;
    }
}

.dark-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 5;
}

/* Tombol Navigasi */
.carousel-control-prev,
.carousel-control-next {
    z-index: 15; /* Pastikan tombol berada di atas overlay dan teks */
}
.live-button {
    display: flex;
    align-items: center;
    background-color: #ff0000;
    border-radius: 8px;
    color: #fff;
    font-size: 10px;
    font-weight: bold;
    padding: 2px 7px;
    text-decoration: none;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.circle {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #fff;
    margin-right: 7px;
    animation: pulse 1s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(0.7);
    }
    50% {
        transform: scale(0.9);
    }
    100% {
        transform: scale(1.1);
    }
}
@media (max-width: 767.98px) {
    .border-sm-start-none {
        border-left: none !important;
    }
}

.img-store {
    height: 170px;
    width: 100%;
    object-fit: cover;
}

#filter-buttons button {
    border-radius: 3px;
    background: #fff;
    border-color: transparent;
}

#filter-buttons button:hover {
    background: #ddd;
}

#filter-buttons button.active {
    color: #fff;
    background: #6c757d;
}

#filterable-cards .card {
    width: 15rem;
    border: 2px solid transparent;
}

#filterable-cards .card.hide {
    display: none;
}

@media (max-width: 600px) {
    #filterable-cards {
        justify-content: center;
    }

    #filterable-cards .card {
        width: calc(100% / 2 - 10px);
    }
}
.chart-container {
    display: flex;
    justify-content: center; /* Memusatkan secara horizontal */
    align-items: center; /* Memusatkan secara vertikal */
    width: 100%;
    height: 100vh; /* Menentukan tinggi grafik */
    margin: 0 auto; /* Agar berada di tengah kontainer secara horizontal */
}

.card-location {
    display: flex;
    align-items: center;
    font-family: "Arial", sans-serif;
    font-size: 16px;
    color: #333;
    margin-top: 10px;
}

.card-location i {
    color: #1991f4;
    margin-right: 8px;
    font-size: 20px;
}

.card-location a {
    text-decoration: none;
    color: #1991f4;
    font-weight: bold;
}
.gambar-pembangunan {
    height: 200px;
    object-fit: cover;
}

.card-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    max-width: 1250px;
    margin: 30px auto;
    padding: 20px;
    gap: 20px;
}
.card-list .card-item {
    background: #fff;
    padding: 2px;
    border-radius: 8px;
    box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.04);
    list-style: none;
    cursor: pointer;
    text-decoration: none;
    border: 2px solid transparent;
    transition: border 0.5s ease;
}
.card-list .card-item:hover {
    box-shadow: 0px 0px 3px 1px #61b0f1;
}
.card-list .card-item img {
    width: 100%;
    aspect-ratio: 16/9;
    border-radius: 8px;
    object-fit: cover;
}
.card-list span {
    display: inline-block;
    background: #f7dff5;
    margin-top: 32px;
    padding: 8px 15px;
    font-size: 0.75rem;
    border-radius: 50px;
    font-weight: 600;
}
.card-list .developer {
    background: linear-gradient(to right, #33ccff, #0066ff);
    color: white;
}
.card-list .designer {
    background-color: #d1e8ff;
    color: #2968a8;
}
.card-list .editor {
    background-color: #d6f8d6;
    color: #205c20;
}
.card-item h6 {
    color: #2e2c2c;
    font-size: 1.438rem;
    margin-top: 28px;
    font-weight: 600;
}
.card-item .arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    transform: rotate(-35deg);
    height: 40px;
    width: 40px;
    color: #61b0f1;
    border: 1px solid #61b0f1;
    border-radius: 50%;
    margin-top: 40px;
    transition: 0.2s ease;
}
.card-list .card-item:hover .arrow {
    background: #61b0f1;
    color: #fff;
}
@media (max-width: 1200px) {
    .card-list .card-item {
        padding: 15px;
    }
}
@media screen and (max-width: 980px) {
    .card-list {
        margin: 0 auto;
    }
}
@media screen and (max-width: 768px) {
    .card-list .card-item {
        display: none; /* Sembunyikan semua kartu */
    }
    .card-list .card-item:first-child {
        display: block; /* Tampilkan hanya kartu pertama */
    }
}

/* Mobile: Tampilkan hanya 1 pertama */
@media screen and (max-width: 780px) {
    .card-item:nth-child(n + 2) {
        display: none; /* Sembunyikan card ke-2 dan seterusnya */
    }
}
/* Mobile: Tampilkan hanya 1 pertama */
@media screen and (max-width: 980px) {
    .card-item:nth-child(n + 3) {
        display: none; /* Sembunyikan card ke-2 dan seterusnya */
    }
}
.card-img-top {
    height: 300px;
}

.text-kegiatan {
    text-align: center;
}

/* logo bagian footer */
.logo-footer {
    margin-left: -20px;
    margin-top: -30px;
}
/* Posisi tengah mulai dari 768px ke atas */
@media (min-width: 768px) {
    .login-wrapper {
        min-height: 100vh;
        display: flex;
        align-items: center;
    }
}

/* Tampilan card supaya lebih modern */
.card-plain {
    padding: 25px 20px;
    border-radius: 18px;
    box-shadow: 0px 8px 25px rgba(0, 0, 0, 0.08);
    background: #ffffff;
    border: 1px solid #f1f1f1;
}

/* Judul */
.card-header h3 {
    font-size: 28px;
    font-weight: 700;
}

/* Input lebih rapi */
.form-control {
    height: 45px;
    border-radius: 10px;
    font-size: 14px;
}

/* Tombol tetap warna aslinya, hanya haluskan efek */
.btn {
    border-radius: 10px !important;
    font-weight: bold;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.25);
}
.thead-gradient {
    background: linear-gradient(to right, #00b4ff, #006aff) !important;
    color: white !important;
}
.map-responsive {
    position: relative;
    overflow: hidden;
    padding-bottom: 56.25%; /* Rasio 16:9 */
    height: 0;
    border-radius: 8px;
}
.map-responsive iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Wrapper Utama */
.aparatur-wrapper {
    position: relative;
    overflow: hidden; /* Menyembunyikan konten yang keluar jalur */
    padding: 20px 0;
    mask-image: linear-gradient(
        to right,
        transparent,
        black 10%,
        black 90%,
        transparent
    );
    -webkit-mask-image: linear-gradient(
        to right,
        transparent,
        black 10%,
        black 90%,
        transparent
    );
}

/* Track untuk Slider (Wadah Panjang) */
.aparatur-track {
    display: flex;
    gap: 25px; /* Jarak antar card */
    width: max-content;
    /* Animasi berjalan tanpa henti */
    animation: scroll 30s linear infinite;
}

/* Definisi Animasi */
@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    } /* Bergeser setengah panjang total (karena data diduplikasi) */
}

/* Pause saat mouse hover */
.aparatur-track:hover {
    animation-play-state: paused;
}

/* Styling Card Aparatur */
.aparatur-card-new {
    position: relative;
    width: 260px;
    height: 320px;
    border-radius: 15px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    flex-shrink: 0; /* Mencegah card mengecil */
    display: flex;
    flex-direction: column;
}

.aparatur-card-new:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 25px rgba(33, 82, 255, 0.2);
}

/* Area Foto */
.photo-area {
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.photo-area img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    transition: transform 0.5s;
}

.aparatur-card-new:hover .photo-area img {
    transform: scale(1.05);
}

/* Button Nama & Jabatan (Floating) */
.profile-btn-overlay {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 85%;
    background: linear-gradient(310deg, #2152ff, #21d4fd);
    padding: 5px 10px;
    border-radius: 12px;
    text-align: center;
    color: white;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    z-index: 2;
    transition: bottom 0.3s;
}

.aparatur-card-new:hover .profile-btn-overlay {
    bottom: 25px;
}

.profile-name {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: block;
    margin-bottom: 2px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.profile-job {
    font-size: 11px;
    font-weight: 400;
    opacity: 0.9;
    display: block;
}

/* Ribbon Label (Opsional) */
.ribbon-top {
    position: absolute;
    top: 0;
    left: 0;
    background: linear-gradient(310deg, #21d4fd, #2152ff);
    color: white;
    padding: 5px 15px;
    border-bottom-right-radius: 15px;
    font-size: 11px;
    font-weight: bold;
    z-index: 3;
}

.card-custom {
    border: none;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    background-color: white;
    transition: transform 0.3s;
}
.card-custom:hover {
    transform: translateY(-5px);
}
.quote-box {
    background-color: #f8f9fa;
    border-left: 5px solid #00cba9; /* Warna hijau tosca */
    padding: 20px;
    border-radius: 5px;
    font-style: italic;
    font-size: 1.1rem;
    color: #333;
}
.section-title {
    color: #344767;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-align: center;
}
.list-custom li {
    margin-bottom: 10px;
    position: relative;
}

/* bagian home */
/* Hero Section Styling */
#heroCarousel {
    margin-top: 1.5rem;
    margin-bottom: 3rem;
}

.hero-slide {
    position: relative;
    height: 500px;
}

.carousel-caption-custom {
    z-index: 10;
    text-align: left;
    max-width: 600px;
}

.carousel-caption-custom h1 {
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
    line-height: 1.2;
}

.carousel-caption-custom p {
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.7);
}

/* Tombol Prev/Next Styling */
.carousel-control-prev,
.carousel-control-next {
    width: 5%;
    opacity: 0.8;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    opacity: 1;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 2.5rem;
    height: 2.5rem;
}

/* Indicators Styling */
.carousel-indicators [data-bs-target] {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin: 0 5px;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-slide {
        height: 400px;
    }

    .carousel-caption-custom {
        padding-left: 1rem !important;
    }

    .carousel-caption-custom h1 {
        font-size: 2rem;
    }

    .carousel-caption-custom p {
        font-size: 1rem;
    }

    .btn-lg {
        padding: 0.75rem 2rem !important;
        font-size: 1rem !important;
    }
}

@media (max-width: 576px) {
    .hero-slide {
        height: 350px;
    }

    .carousel-caption-custom h1 {
        font-size: 1.5rem;
    }

    .carousel-caption-custom p {
        font-size: 0.9rem;
    }
}
/* penutup home */

/* bagian profil madrasah */
/* Hero Section */
.hero-section {
    background-color: #ffffff;
    padding: 80px 0;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    color: #000000;
    margin-bottom: 30px;
}

.hero-text {
    font-size: 0.95rem;
    line-height: 1.8;
    color: #666666;
    text-align: justify;
}

.accreditation-badge {
    position: absolute;
    bottom: 15px;
    right: 15px;
    background-color: #ffffff;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.badge-text {
    font-size: 2.5rem;
    font-weight: 800;
    color: #dc3545;
}

/* History Section */
.history-section {
    background-color: #f8f9fa;
    padding: 80px 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: #000000;
    line-height: 1.2;
    margin-bottom: 50px;
}

/* Timeline */
.timeline {
    position: relative;
    padding: 20px 0;
}

.timeline-item {
    margin-bottom: 60px;
    position: relative;
}

.timeline-marker {
    text-align: center;
    position: relative;
    padding: 20px 0;
}

.timeline-dot {
    width: 20px;
    height: 20px;
    background-color: #000000;
    border-radius: 50%;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.timeline-line {
    width: 2px;
    height: 100px;
    background-color: #cccccc;
    margin: 0 auto;
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
}

.timeline-item:last-child .timeline-line {
    display: none;
}

.timeline-year {
    font-size: 0.9rem;
    font-weight: 600;
    color: #000000;
    margin-top: 15px;
    text-align: center;
}

.timeline-content {
    padding: 20px;
}

.timeline-left {
    text-align: right;
}

.timeline-right {
    text-align: left;
}

.timeline-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: #000000;
    margin-bottom: 15px;
}

.timeline-text {
    font-size: 0.9rem;
    line-height: 1.7;
    color: #666666;
    text-align: justify;
}

/* Principals Section */
.principals-section {
    background-color: #f0f0f0;
    padding: 80px 0;
}

.principal-card {
    text-align: center;
    transition: transform 0.3s ease;
}

.principal-card:hover {
    transform: translateY(-5px);
}

.principal-image-wrapper {
    width: 180px;
    height: 180px;
    margin: 0 auto 20px;
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
    padding: 10px;
}

.principal-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

.principal-name {
    font-size: 1rem;
    font-weight: 600;
    color: #000000;
    margin-top: 10px;
}

/* Responsive */
@media (max-width: 992px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .timeline-left,
    .timeline-right {
        text-align: left;
    }

    .timeline-marker {
        margin: 20px 0;
    }
}

@media (max-width: 768px) {
    .hero-section {
        padding: 50px 0;
    }

    .hero-title {
        font-size: 2rem;
        text-align: center;
    }

    .hero-text {
        text-align: left;
    }

    .history-section,
    .principals-section {
        padding: 50px 0;
    }

    .timeline-line {
        height: 60px;
    }

    .principal-image-wrapper {
        width: 150px;
        height: 150px;
    }
}
/* penutup profil madrasah */

/* sarana dan prasarana */
/* --- SARANA PRASARANA SECTION --- */
.sarpras-section {
    padding: 100px 0;
    background-color: #f8f9fa; /* Background abu sangat muda agar card menonjol */
    position: relative;
}

.section-title {
    font-weight: 800;
    color: #333;
    margin-bottom: 10px;
}

.highlight-text {
    color: #047857; /* Warna Hijau Utama */
}

/* Card Wrapper */
.sarpras-card {
    padding: 10px;
    transition: all 0.4s ease;
    cursor: pointer;
}

/* Frame Kartu (Modern Polaroid Style) */
.card-frame {
    position: relative;
    background: #fff;
    padding: 15px; /* Frame putih di sekeliling gambar */
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08); /* Bayangan lembut */
    overflow: hidden;
    transition:
        transform 0.4s ease,
        box-shadow 0.4s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

/* Efek Hover pada Frame */
.sarpras-card:hover .card-frame {
    transform: translateY(-10px); /* Naik ke atas saat hover */
    box-shadow: 0 20px 40px rgba(4, 120, 87, 0.2); /* Bayangan hijau halus */
    border-color: #047857;
}

/* Gambar Utama */
.sarpras-img {
    width: 100%;
    height: 280px; /* Tinggi gambar fixed */
    object-fit: cover;
    border-radius: 10px;
    transition: transform 0.6s ease;
}

/* Efek Zoom Gambar saat Hover */
.sarpras-card:hover .sarpras-img {
    transform: scale(1.05);
}

/* Badge Emas (Icon Pojok Kiri) */
.gold-badge {
    position: absolute;
    top: -5px;
    left: -5px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #fcd34d, #d97706); /* Gradient Emas */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    box-shadow: 2px 4px 10px rgba(0, 0, 0, 0.2);
    border: 4px solid #fff; /* Border putih agar terpisah dari gambar */
    color: #fff;
    font-size: 1.5rem;
}

/* Label Tag (Judul Fasilitas) */
.label-tag {
    position: absolute;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%); /* Posisi tengah */
    background: #047857; /* Warna Hijau Utama */
    padding: 10px 25px;
    border-radius: 50px;
    box-shadow: 0 5px 15px rgba(4, 120, 87, 0.4);
    z-index: 10;
    white-space: nowrap;
    transition: all 0.3s ease;
}

.label-tag span {
    color: #fff;
    font-weight: 700;
    letter-spacing: 1px;
    font-size: 0.9rem;
    text-transform: uppercase;
}

/* Efek Label berubah saat hover */
.sarpras-card:hover .label-tag {
    background: #064e3b; /* Hijau lebih gelap */
    padding: 10px 35px; /* Melebar sedikit */
    bottom: 30px; /* Naik sedikit */
}

/* Container Judul */
.modern-heading {
    font-family: "Poppins", sans-serif; /* Pastikan pakai font yang bagus */
    line-height: 1.2;
    display: flex;
    align-items: baseline; /* Agar sejajar bawahnya */
    gap: 10px; /* Jarak antar kata */
}

/* Bagian "Sarana" (Gelap) */
.text-primary-dark {
    font-size: 3.5rem; /* Ukuran Besar */
    font-weight: 800;
    color: #334155; /* Warna dasar abu tua */
    /* Efek text shadow halus */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

/* Bagian "Prasarana" (Gradient Hijau) */
.text-accent-gradient {
    font-size: 2rem; /* Ukuran Lebih Kecil */
    font-weight: 700;
    /* Membuat text menjadi gradient */
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
}

/* Garis dekoratif kecil di bawah "Prasarana" */
.text-accent-gradient::after {
    content: "";
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 50%;
    height: 4px;
    background: #10b981;
    border-radius: 2px;
}
/* penutup sarana */

/* footer admin*/
/* --- CSS Footer Keren --- */

/* 1. Animasi Detak Jantung */
@keyframes beat {
    0%,
    100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.2);
    }
}

.heart-beat {
    animation: beat 1s infinite;
    display: inline-block;
}

/* 2. Gradient Text untuk Nama Sekolah */
.text-gradient-green {
    background: linear-gradient(310deg, #11998e 0%, #38ef7d 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
}

/* 3. Link Hover Effect */
.nav-footer .nav-link {
    transition: all 0.3s ease;
    font-size: 0.875rem;
}

.nav-footer .nav-link:hover {
    color: #28a745 !important; /* Warna hijau saat di-hover */
    transform: translateY(-2px);
}
/* penutup footer */
