@font-face {
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("font/Poppins/Poppins-Light.ttf");
}

* {
    font-family: 'Poppins', sans-serif;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    height: 100%;
    margin: 0;
    display: flex;
    flex-direction: column;
}

.navbar {
    padding: 0.1rem 1rem !important;
}

.dropdown-item {
    display: block;
    width: 100%;
    padding: .10rem 1.5rem;
    clear: both;
    font-weight: 400;
    color: white !important;
    text-align: inherit;
    white-space: nowrap;
    background-color: transparent;
    border: 0;
}

.dropdown-item:hover {
    background-color: transparent !important;
    color: rgba(255, 255, 255, .75);
}

.sticky-custom {
    position: sticky;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1200;
    /* z-index: 100; */
}

.page {
    margin: 120px 0;
}

.content-page {
    background-color: #fff;
    background-size: contain;
    background-position: center;
}

.bg-nav {
    background-color: #28575f !important;
}

.top {
    background: rgba(23, 27, 33, 1);
    color: rgba(243, 243, 243, 1);
    min-height: 36px;
    padding-top: 3px;
    text-align: center;
    font-size: 16px;
}

.top p {
    margin: 2px 0 0 0;
    text-align: center;
}

p {
    display: block;
    margin-block-start: 1em;
    margin-block-end: 1em;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
}

.content-portal {
    margin-top: 20px;
}


.fixed-all {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 1030;
}

/* gambar portal */

.gambar img {
    /* max-height: 100%; */
    max-width: 100%;
    height: 300px;
    width: 100%;
}

.read-artikel .artikel-header .gambar img {
    max-width: 100%;
    height: 300px;
    width: 350px;
}

.images img {
    max-width: 100%;
}

.content-time {
    word-spacing: 6px;
}

.title-brand {
    padding-left: 18px;
    padding-top: 4px;
}


@media screen and (min-width: 601px) and (max-width: 900px) {
    .gambar img {
        height: auto;
    }
}

/* header */

.header {
    background-color: #fff;
    padding-top: 6px;
    padding-bottom: 6px;
}

header {
    padding: 20px 0;
}

.brand {
    display: flex;
}

.brand img {
    margin-right: 20px;
}

.brand .brand-name h1 {
    font-size: 25px;
    color: #171b21;
    text-transform: uppercase;
}

.brand .brand-name h3 {
    font-size: 18px;
    font-family: Raleway, 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #e3b509;
}


/* nav bar */

.navbar {
    border-bottom: 5px solid #e3b509;
}

.nav-link {
    color: #fff;
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 0.25px;
}

.bg-nav {
    background-color: #3b3b3b;
    color: #fff;
}

.navbar-dark .navbar-nav .nav-link {
    color: #fff;
}

.navbar-nav>li>a {
    color: #fff !important;
}

.navbar-nav>li>a:hover {
    color: #e3b509 !important;
}


.dropdown-menu.show {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 1000;
    display: none;
    float: left;
    min-width: 10rem;
    /* padding: .5rem 0; */
    margin: .125rem 0 0;
    font-size: 1rem;
    color: #fff !important;
    text-align: left;
    list-style: none;
    background-color: #28575f;
    background-clip: padding-box;
    border: 1px solid rgba(0, 0, 0, .15);
    border-radius: .25rem;
    padding: 10px;
}

.dropdown-item.active,
.dropdown-item:active {
    color: #e3b509 !important;
    text-decoration: none;
    background-color: transparent !important;
}

.dropdown-item:hover {
    color: #e3b509 !important;
}

/* css untuk slider hero area */

/* ===== HERO AREA ===== */
#hero-area {
    position: relative;
    overflow: hidden;
}

/* ===== Slider Image ===== */
#hero-area .slider-item-img img {
    width: 100%;
    height: 100vh;
    object-fit: cover;
    display: block;
}

/* ===== Slider Text Content ===== */
#hero-area .slider-item-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(255, 255, 255, 0.8);
    padding: 16px 24px;
    text-align: center;
    font-family: 'Raleway', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    width: 80%;
    /* lebih stabil dari max-width saja */
    max-width: 700px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Judul & Deskripsi */
#hero-area .slider-item-content h2 {
    font-size: 2rem;
    font-weight: 600;
    color: #3b3b3b;
    margin-bottom: 10px;
}

#hero-area .slider-item-content p {
    font-size: 1rem;
    color: #3b3b3b;
}

/* ===== Navigation Buttons ===== */
#slider-hero-nav .owl-prev,
#slider-hero-nav .owl-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    border: none;
    background-color: #3b3b3b;
    color: #fff;
    outline: none;
    padding: 8px 11px;
    font-size: 20px;
    transition: background-color 0.3s;
}

#slider-hero-nav .owl-prev:hover,
#slider-hero-nav .owl-next:hover {
    cursor: pointer;
    background-color: #e3b509;
    color: #3b3b3b;
}

#slider-hero-nav .owl-prev {
    left: 10px;
    border-radius: 0 50px 50px 0;
}

#slider-hero-nav .owl-next {
    right: 10px;
    border-radius: 50px 0 0 50px;
}

/* ====== RESPONSIVE ====== */

/* --- Smartphone --- */
@media screen and (max-width: 600px) {
    #hero-area .slider-item-img img {
        height: 260px;
    }

    #hero-area .slider-item-content {
        width: 90%;
        /* biar pas di layar kecil */
        padding: 10px 14px;
    }

    #hero-area .slider-item-content h2 {
        font-size: 1rem;
        font-weight: 500;
    }

    #hero-area .slider-item-content p {
        font-size: 0.75rem;
    }

    #slider-hero-nav .owl-prev,
    #slider-hero-nav .owl-next {
        font-size: 16px;
        padding: 6px 9px;
    }

    #page {
        margin: 130px 0;
    }
}

/* --- Tablet --- */
@media screen and (min-width: 601px) and (max-width: 900px) {
    #hero-area .slider-item-img img {
        height: 400px;
    }

    #hero-area .slider-item-content {
        width: 85%;
        padding: 12px 18px;
    }

    #hero-area .slider-item-content h2 {
        font-size: 1.5rem;
    }

    #hero-area .slider-item-content p {
        font-size: 0.9rem;
    }
}

/* --- Desktop --- */
@media screen and (min-width: 901px) {
    #hero-area .slider-item-img img {
        height: 90vh;
    }

    #hero-area .slider-item-content {
        width: 70%;
        max-width: 700px;
    }

    #hero-area .slider-item-content h2 {
        font-size: 2rem;
    }

    #hero-area .slider-item-content p {
        font-size: 1rem;
    }
}

/* about */


.section-about .title h4 {
    font-weight: 700;
    color: #333;
    margin-bottom: 10px;
}

.section-about .title hr {
    width: 80px;
    border: 2px solid #e3b509;
    margin: 10px auto 30px auto;
    opacity: 0.8;
}

.section-about .content .container {
    margin: 0 auto;
    padding: 40px 50px;
    border-radius: 10px;
    /* box-shadow: 0 0 20px rgba(0,0,0,0.05); */
}

.bg-school {
    background-color: #28575f !important;
    color: #fff;
}

.section-about .about-desc {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #555;
}

.section-about .alert {
    border-radius: 8px;
    font-size: 1.1rem;
    letter-spacing: 0.5px;
}

.section-about .card {
    border-radius: 8px;
    overflow: hidden;
}

.section-about .card-body {
    font-size: 1rem;
    color: #444;
    line-height: 1.7;
}

/* RESPONSIVE */
@media (max-width: 992px) {
    .section-about .content .container {
        padding: 30px 25px;
    }
}

@media (max-width: 768px) {
    .section-about {
        padding: 60px 15px;
    }

    .section-about .about-desc {
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .section-about .content .container {
        padding: 25px 20px;
    }

    .section-about .title h4 {
        font-size: 1.25rem;
    }
}


.center {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 200px;
}

/* ===== Tombol Selengkapnya ===== */
.btn.btn-selengkapnya {
    display: inline-block;
    /* pastikan bisa diatur lebarnya */
    width: 30%;
    background-color: #fff;
    color: #000;
    font-weight: 500;
    font-size: 18px;
    border: 1px solid #000;
    border-radius: 6px;
    /* biar lebih modern */
    padding: 10px 0;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

/* Hover effect */
.btn.btn-selengkapnya:hover {
    background-color: #000;
    color: #fff;
    border-color: #000;
}

/* ===== Responsive Breakpoints ===== */

/* Smartphone */
@media screen and (max-width: 600px) {
    .btn.btn-selengkapnya {
        width: 70%;
        font-size: 14px;
        padding: 8px 0;
    }
}

/* Tablet */
@media screen and (min-width: 601px) and (max-width: 900px) {
    .btn.btn-selengkapnya {
        width: 50%;
        font-size: 16px;
    }
}

/* Desktop besar */
@media screen and (min-width: 901px) {
    .btn.btn-selengkapnya {
        width: 30%;
    }
}


.navbar-dark .navbar-nav .active>.nav-link,
.navbar-dark .navbar-nav .nav-link.active,
.navbar-dark .navbar-nav .nav-link.show,
.navbar-dark .navbar-nav .show>.nav-link {
    color: #e3b509 !important;
}



.btn.btn-selengkapnya:hover {
    background-color: #e3b509;
    color: #FFF;
    transition: background-color 0.5s;
}

.btn.btn-on {
    background-color: #3b3b3b;
    color: #fff;
    font-weight: 600;
    transition: background-color 0.3s;
    border-radius: 50px;
}

.btn.btn-on:hover {
    color: #3b3b3b;
    background-color: #e3b509;
}


/* sambutan */

.img-master img {
    width: 260px;
    height: 270px;
}

@media screen and (max-width: 769px) {
    .img-master img {
        width: 250px;
        height: 300px;
        text-align: center;
    }
}

.alert-merah {
    color: white;
    background-color: red;
}

.alert-peta {
    color: #3b3b3b;
    background-color: #7CFC00;
}

.alert {
    text-align: center;
    font-weight: 900;
}

h3.title {
    text-align: center;
    color: #3b3b3b;
    font-size: 30px;
}

@media screen and (max-width: 769px) {
    h3.title {
        text-align: center;
        color: #3b3b3b;
        font-size: 15px;
    }
}

.galeri-embed {
    border: 10px solid #fff;
    height: 250px;
}

.foto-section {
    border: 4px solid #eaeaea;
    height: 250px;
}

.foto-section {
    min-height: 100%;
    width: 100%;
    height: auto;
}

.foto img {
    height: 250px;
    max-width: 100%;
}

.galeri-embed iframe {
    width: 100%;
    height: 100%;
}

/* ===== Section Item Slider ===== */
.section-item-slider {
    position: relative;
    box-shadow: 0 0 15px #eaeaea;
    height: 100%;
    padding: 0 0 50px 0 !important;
    border-radius: 8px;
    overflow: hidden;
    background-color: #fff;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-bottom: 60px;
    margin: 4px;
}


.section-item-slider:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

/* ===== Gambar Utama ===== */
.section-item-slider .gambar img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    display: block;
}

/* ===== Caption di Bawah Gambar ===== */
.section-item-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #fff;
    color: #000;
    text-align: center;
    font-weight: 600;
    padding: 12px 8px;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.05);
}

.section-item-caption h5 {
    font-size: 15px;
    margin-bottom: 4px;
}

.section-item-caption a h6 {
    font-size: 14px;
    text-decoration: none;
    color: #e3b509;
    transition: color 0.3s ease;
}

.section-item-caption a h6:hover {
    color: #e3b509;
}

/* ===== Thumbnail (Opsional di Dalam Item) ===== */
.section-item-thumbnail {
    width: 100%;
    object-fit: contain;
    max-height: 320px;
    padding: 0 2px 10px;
}

.section-item-thumbnail img {
    width: 100%;
    max-height: 320px;
    object-fit: cover;
}

/* ===== Efek Hover Caption ===== */
.section-item-caption:hover {
    color: #28575f;
    cursor: pointer;
}

/* ===== Section Body (Wrapper) ===== */
.section-body {
    margin-top: 40px;
}

/* ===== Responsiveness ===== */

/* --- Smartphone --- */
@media screen and (max-width: 600px) {
    .section-item-slider .gambar img {
        height: 180px;
    }

    .section-item-caption {
        font-size: 13px;
        padding: 8px 4px;
    }

    .section-item-caption h5 {
        font-size: 13px;
    }

    .section-item-caption a h6 {
        font-size: 12px;
    }
}

/* --- Tablet --- */
@media screen and (min-width: 601px) and (max-width: 900px) {
    .section-item-slider .gambar img {
        height: 200px;
    }

    .section-item-caption {
        font-size: 14px;
        padding: 10px;
    }

    .section-item-caption h5 {
        font-size: 14px;
    }

    .section-item-caption a h6 {
        font-size: 13px;
    }
}

/* --- Desktop --- */
@media screen and (min-width: 901px) {
    .section-item-slider .gambar img {
        height: 240px;
    }
}




/* visi */

.visi {
    padding-top: 40px;
    padding-bottom: 40px;
}

.visi-content {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 20px;
}

.misi {
    padding-top: 40px;
    padding-bottom: 40px;
}

.misi-content {
    line-height: 1.8;
    margin: 50px;
}

.jarak-portal {
    margin-bottom: 30px;
}

.isi-portal {
    display: flex;
    align-items: inherit;
    justify-content: center;
    padding: 20px;
}

.link-images .card .card-body:hover {
    box-shadow: 3px 3px 3px 3px #000000;
    -moz-box-shadow: 0px 3px 3px #000000;
    -webkit-box-shadow: 0px 3px 3px #000000;
}

.title-kontak {
    font-size: 18px;
    font-weight: 500;
    margin-top: 10px;
}

.isi-kontak {
    margin-top: 10px;
    padding-left: 25px;
    padding-right: 25px;
}

.contact {
    padding-top: 148px !important;
    padding-bottom: 80px !important;
}

.peta-kantor {
    padding-top: 20px;
    padding-bottom: 20px;
}

/* tugas dan wewenang */

#practice {
    padding: 40px 0;
    background-color: rgba(0, 0, 0, 0.2);
}

#practice .section-body-item {
    /* display: flex; */
    background-color: #3b3b3b;
    border-radius: 5px;
    padding: 20px;
    color: #F2C808;
    text-align: center;
    height: 200px;
    text-align: center;
    align-items: center;
    font-size: 25px;
    margin-bottom: 30px;
}

#practice .section-body-item:hover {
    cursor: pointer;
    background-color: #e3b509;
    color: #fff;
}

#practice .section-body-item h4 {
    font-weight: 500;
}

#practice .section-body .row:first-of-type {
    margin-bottom: 30px;
    padding: 30px;
}

#practice .row-2 {
    position: relative;
    top: 50%;
    transform: translateY(-50%);
}

.register {
    padding-left: 50px;
    padding-right: 50px;
    margin-top: 3%;
}

.registrasi-anggota {
    padding-top: 148px !important;
    padding-bottom: 80px !important;
}

.content {
    /* text-align: justify; */
    width: 100%;
}

.title h4 {
    color: #28575f;
    font-size: 24px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.title hr {
    border-top: 0;
    border-bottom: 5px solid #e3b509;
    width: 80px;
}


/* footer */

footer {
    background-color: #28575f !important;
    color: #fff;
    padding-top: 20px;
    font-weight: 200;
    margin-top: auto;
}

footer .brand {
    display: flex;
    justify-content: flex-start;
}

footer .brand img {
    max-width: 100%;
    width: 70px;
    height: 70px;
    top: 20px;
}

footer .brand h1 {
    font-size: 20px;
    font-weight: 600;
    line-height: 25px;
    text-transform: uppercase;
}

footer .profile {
    margin-top: 20px;
}

footer .tentang {
    margin-top: 20px;
    font-size: 14px;
    line-height: 26px;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.5);
}

footer .sosmed {
    list-style: none;
    margin: 0;
}

footer .sosmed li {
    display: inline-block;
}

footer .sosmed li a {
    color: #fff;
    border: 1px solid rgba(225, 255, 225, 0.5);
    display: inline-block;
    height: 50px;
    width: 50px;
    text-align: center;
    border-radius: 50%;
    font-size: 20px;
    line-height: 50px;
}

footer .sosmed li a:hover {
    color: #c7c7c7c7;
}

.footer-col {
    margin-top: 20px;
}

.footer-col h2 {
    font-size: 20px;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 25px;
}

.footer-col .alamat {
    font-size: 14px;
    line-height: 25px;
}

.footer-col .kontak {
    list-style: none;
    padding: 0;
    font-size: 14px;
    line-height: 24px;
}

.footer-col .kontak li {
    margin-right: 10px 0;
}

.footer-col .kontak i {
    margin-right: 10px;
}

.footer-col .footer-nav {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-col .footer-nav li {
    margin: 10px 0;
}

.footer-col .footer-nav a {
    color: #fff;
    text-decoration: none;
    font-size: 15px;
    font-weight: 28px;
    transition: all 0.3s;
}

.footer-col .footer-nav a:hover {
    border-bottom: 1px dashed #fff;
}

.footer-copyright .container {
    padding: 10px 0;
}

.footer-copyright {
    margin-top: 60px;
}

.footer-copyright h6 {
    font-size: 16px;
    color: #CECECE;
    font-weight: 400;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #3b3b3b;
}

.footer-copyright h6 a {
    color: inherit;
    text-decoration: none;
    color: #3b3b3b;
}

.footer-copyright h6 a:hover {
    border-bottom: 1px dashed #3b3b3b;
    color: #3b3b3b;
}

.footer-copyright {
    background-color: #e3b509;
    color: #000000 !important;
    font-weight: 800;
}


/* galeri */
.video-content {
    position: relative;
}

.video-content .video-container {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
    padding: 10px;
}

.video-content .video-container .video {
    height: 250px;
    width: 350px;
    border: 5px solid #fff;
    border-radius: 5px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.7);
    cursor: pointer;
    overflow: hidden;
}

.video-content .video-container .video video {
    height: 100%;
    width: 100%;
    object-fit: cover;
    transition: .2s linear;
}

.video-content .video-container .video:hover video {
    transform: scale(1.1);
}

.video-content .popup-video {
    margin-top: 85px;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100;
    background: rgba(0, 0, 0, .8);
    height: 100%;
    width: 100%;
    display: none;
}

.video-content .popup-video video {

    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 750px;
    border-radius: 5px;
    border: 3px solid #fff;
    object-fit: cover;
}

.video-content .popup-video span {
    margin-top: 50px;
    position: absolute;
    top: 5px;
    right: 20px;
    font-size: 35px;
    color: #fff;
    font-weight: bolder;
    z-index: 100;
    cursor: pointer;
}

/* responsive galeri */

@media (max-width: 768px) {
    .video-content .popup-video video {
        width: 95%;
    }
}

.foto-content {
    position: relative;
}

.foto-content .foto-container {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
    padding: 10px;
}

.foto-content .foto-container .foto {
    height: 250px;
    width: 380px;
    border: 5px solid #fff;
    border-radius: 5px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.7);
    cursor: pointer;
    overflow: hidden;
}

.foto-content .foto-container .foto img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    transition: .2s linear;
}

.foto-section .foto:hover img {
    transform: scale(1.1);
    cursor: pointer;
}

.foto-content .popup-foto {
    margin-top: 85px;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100;
    background: rgba(0, 0, 0, .8);
    height: 100%;
    width: 100%;
    display: none;
}

.foto-content .popup-foto img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 5px;
    border: 3px solid #fff;
    max-width: 100%;
    height: 350px;
}

.foto-content .popup-foto span {
    margin-top: 50px;
    position: absolute;
    top: 5px;
    right: 20px;
    font-size: 35px;
    color: #fff;
    font-weight: bolder;
    z-index: 100;
    cursor: pointer;
}

/* responsive galeri */

@media (max-width: 768px) {
    .foto-content .popup-foto img {
        width: 95%;
    }
}

.read-artikel {
    padding-top: 120px !important;
    padding-bottom: 80px !important;
}

.artikel-header {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.artikel-header .title h1 {
    text-align: center;
    font-size: 26px;
    padding-top: 20px;
    padding-bottom: 20px;
}

.artikel-header .images img {
    width: 520px;
    max-width: 100%;
    height: 260px;
    padding-left: 20px;
    padding-right: 20px;
}

.artikel-header .date-portal {
    word-spacing: 5px;
    padding-top: 10px;
    padding-bottom: 10px;
}

.content-artikel {
    display: flex;
    justify-content: center;
    padding-left: 20px;
    padding-right: 20px;
    padding-top: 50px;
    padding-bottom: 50px;
}
