/*** Spinner Start ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}
/*** Spinner End ***/

/*** Modal / Pop-up Theme ***/
:root {
    --ipm-green: #009a49;
    --ipm-yellow: #f3d404;
    --ipm-dark: rgba(0, 0, 0, 0.55);
    --ipm-glass: rgba(255, 255, 255, 0.82);
}

.modal-backdrop.show {
    background: radial-gradient(circle at 20% 20%, rgba(0,154,73,0.2), transparent 45%),
                radial-gradient(circle at 80% 0%, rgba(243,212,4,0.15), transparent 40%),
                rgba(0,0,0,0.55);
    opacity: 1;
}

.modal-glass {
    background: var(--ipm-glass);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(0,154,73,0.15);
    box-shadow: 0 20px 60px rgba(0,0,0,0.18), 0 8px 24px rgba(0,0,0,0.12);
    border-radius: 18px;
    overflow: hidden;
}

.modal-glass .modal-header {
    border: none;
    background: linear-gradient(135deg, rgba(0,154,73,0.1), rgba(243,212,4,0.08));
    color: #093;
}

.modal-glass .modal-title {
    font-weight: 700;
    letter-spacing: 0.2px;
}

.modal-glass .btn-close {
    filter: invert(32%) sepia(76%) saturate(808%) hue-rotate(96deg) brightness(89%) contrast(92%);
    opacity: 0.7;
}

.modal-glass .btn-close:hover {
    opacity: 1;
}

.modal-glass .modal-body {
    background: linear-gradient(180deg, rgba(255,255,255,0.75), rgba(255,255,255,0.9));
}

.modal-glass .form-control {
    border-radius: 14px;
    border: 1px solid rgba(0,154,73,0.2);
    box-shadow: inset 0 1px 2px rgba(0,0,0,0.04);
}

.modal-glass .form-control:focus {
    border-color: rgba(0,154,73,0.55);
    box-shadow: 0 0 0 0.25rem rgba(0,154,73,0.18);
}

.modal-glass .btn-modal-primary {
    background: linear-gradient(135deg, #009a49, #0cbf60);
    color: #fff;
    border: none;
    border-radius: 14px;
    box-shadow: 0 10px 24px rgba(0,154,73,0.25);
}

.modal-glass .btn-modal-primary:hover {
    background: linear-gradient(135deg, #00853e, #0aa754);
    color: #fff;
}

.modal-glass .input-group-text {
    border-radius: 12px;
}

.back-to-top {
    position: fixed;
    right: 30px;
    bottom: 30px;
    transition: 0.5s;
    z-index: 99;
    color: #009a49;
    background-color: white;
}

/*** Button Start ***/
.btn {
    font-weight: 600;
    transition: .5s;
}

.btn-square {
    width: 32px;
    height: 32px;
}

.btn-sm-square {
    width: 34px;
    height: 34px;
}

.btn-md-square {
    width: 44px;
    height: 44px;
}

.btn-lg-square {
    width: 56px;
    height: 56px;
}

.btn-xl-square {
    width: 66px;
    height: 66px;
}

.btn-square,
.btn-sm-square,
.btn-md-square,
.btn-lg-square,
.btn-xl-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
}

.btn.btn-primary {
    color: var(--bs-white);
    border: none;
}

.btn.btn-primary:hover {
    background: var(--bs-dark);
    color: #009a49;
}

.btn.btn-light {
    color: #009a49;
    border: none;
}

.btn.btn-light:hover {
    color: #009a49;
    background: var(--bs-dark);
}

.btn.btn-dark {
    color: #009a49;
    border: none;
}

.btn.btn-dark:hover {
    color: #009a49;
    background: var(--bs-light);
}


/*** Topbar Start ***/ 
.topbar .fas,
.topbar .fab{
    color: #009a49;
}

.ts{
    background-color: #f3d404;
}

.small{
    color: rgba(0, 0, 0, .6);
}

.small:hover{
    color: black;
}

.topbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 600;
    vertical-align: middle;
    margin-left: 8px;
    color: #009a49;
    
}

.topbar .dropdown .dropdown-menu a:hover {
    color: #009a49;
    background-color: white;
}

.topbar .dropdown .dropdown-menu {
    transform: rotateX(0deg);
    visibility: visible;
    background: #009a49;
    padding-top: 10px;
    border: 0;
    transition: .5s;
    opacity: 1;
}

/*** Topbar End ***/


/*** Navbar Start ***/
.btn-search{
    color: #009a49;
    background-color: #009a49;
}

.menu{
    color: #009a49;
}

.nav-bar {
    background: var(--bs-white);
    transition: 1s;
}

.navbar-light .navbar-brand img {
    max-height: 60px;
    transition: .5s;
}

.nav-bar .navbar-light .navbar-brand img {
    max-height: 50px;
}

.navbar .navbar-nav .nav-item .nav-link {
    padding: 0;
    color: #009a49;
}

.navbar .navbar-nav .nav-item {
    display: flex;
    align-items: center;
    padding: 15px;
    justify-items: center;
}

.navbar-light .navbar-nav .nav-item,
.navbar-light .navbar-nav .nav-item .nav-link{
    color: rgba(0, 0, 0, .6);
}

.navbar-light .navbar-nav .nav-item:hover,
.navbar-light .navbar-nav .nav-item:hover .nav-link{
    color: black;
}

.navbar-light .navbar-nav .nav-item.active,
.navbar-light .navbar-nav .nav-item.active .nav-link {
    color: #009a49;
}

@media (max-width: 991px) {
    .navbar {
        padding: 20px 0;
    }

    .navbar .navbar-nav .nav-link {
        padding: 0;
    }

    .navbar .navbar-nav .nav-item {
        display: flex;
        padding: 20px;
        flex-direction: column;
        justify-content: start;
        align-items: start;
    }

    .navbar .navbar-nav .nav-btn {
        display: flex;
        justify-content: start;
    }

    .navbar .navbar-nav {
        width: 100%;
        display: flex;
        margin-top: 2px;
        padding-bottom: 20px;
        background: var(--bs-light);
        border-radius: 10px;
    }

    .navbar.navbar-expand-lg .navbar-toggler {
        padding: 8px 15px;
        border: 1px solid #009a49;
        color: #009a49;
    }
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 600;
    vertical-align: middle;
    margin-left: 8px;
}

.dropdown .dropdown-menu .dropdown-item:hover {
    background: #009a49 ;
    color: var(--bs-white);
    display: block;
}

@media (min-width: 992px) {
    .navbar {
        padding: 20px 0;
        height: 80px;
    }

    .navbar .nav-btn {
        display: flex;
        align-items: center;
        justify-content: end;
    }

    .navbar .navbar-nav {
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        background: var(--bs-light);
        border-radius: 10px;
    }

    .navbar .navbar-nav .nav-btn {
        width: 100%;
        display: flex;
        margin-left: auto;
    }
}
/*** Navbar End ***/


/*** Carousel Hero Header Start ***/
.bg-welcome {
    background: linear-gradient(135deg, #009a49, #007a3a);
}

.header-carousel .header-carousel-item {
    height: 560px;
}

.header-carousel .owl-nav .owl-prev,
.header-carousel .owl-nav .owl-next {
    position: absolute;
    width: 60px;
    height: 60px;
    border-radius: 60px;
    background: var(--bs-light);
    color: #009a49;
    font-size: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.5s;
}

.header-carousel .owl-nav .owl-prev {
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    margin-left: 30px;
}
.header-carousel .owl-nav .owl-next {
    bottom: 30px;
    right: 50%;
    transform: translateX(-50%);
    margin-right: 30px;
}

.header-carousel .owl-nav .owl-prev:hover,
.header-carousel .owl-nav .owl-next:hover {
    box-shadow: inset 0 0 100px 0 #009a49;
    color: var(--bs-light);
}

.header-carousel .header-carousel-item .carousel-caption {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    bottom: 8;
    display: flex;
    align-items: center;
}

.header-carousel .col-lg-7 h2,
.header-carousel .col-lg-7 h4 {
    text-shadow: 1px 2px 4px rgba(0, 0, 0, 0.5); 
}

.header-carousel .col-lg-7 h1 {
    text-shadow: 2px 4px 8px rgba(0, 0, 0, 0.5);
}

.btn-lm{
    background-color: #f3d404;
    color: #009a49;
}

.btn-lm:hover{
    background-color: black;
    color: #009a49;
}

.event-timer {
    background: linear-gradient(135deg, #009a49, #007a3a); 
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2); 
}

.event-timer h2,
.event-timer h4 {
    color: #fff;
    text-shadow: 1px 2px 4px rgba(0, 0, 0, 0.4); 
}

.timer-box h1 {
    font-size: 3.5rem;
    margin: 0;
    color: #fff; 
    text-shadow: 1px 2px 4px rgba(0, 0, 0, 0.4); 
}

.timer-box span {
    font-size: 1.2rem;
    color: #fff; 
    text-transform: uppercase; 
    font-weight: bold;
    text-shadow: 1px 2px 4px rgba(0, 0, 0, 0.5);
}

.header-carousel .btn-carousel {
    background-color: white;
    color: #007a3a; 
    font-weight: bold;
    border: none;
    padding: 10px 20px;
    border-radius: 25px;
    transition: all 0.3s ease;
}

.header-carousel .btn:hover {
    background-color: #007a3a;
    color: #fff;
}

@media (max-width: 991px) {
    .header-carousel .header-carousel-item .carousel-caption {
        padding-top: 40px;
    }

    .header-carousel .header-carousel-item {
        height: 800px;
    }
    
    .header-carousel .owl-nav .owl-prev {
        bottom: -30px;
        left: 50%;
        transform: translateX(-50%);
        margin-left: -45px;
    }

    .header-carousel .owl-nav .owl-next {
        bottom: -30px;
        left: 50%;
        transform: translateX(-50%);
        margin-left: 45px;
    }
}
/*** Carousel Hero Header End ***/


/*** Single Page Hero Header Start ***/
.bg-breadcrumb {
    position: relative;
    overflow: hidden;
    background: #009a49;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    padding: 60px 0 60px 0;
    transition: 0.5s;
}

.bg-breadcrumb .breadcrumb {
    position: relative;
}

.bg-breadcrumb .breadcrumb .breadcrumb-item a {
    color: var(--bs-white);
}
/*** Single Page Hero Header End ***/


/*** IPMZEN Start ***/
.ipmzen .our-features{
    color: #009a49;
}

.ipmzen .ipmzen-item {
    border-radius: 10px;
    transition: 0.5s;
}

.ipmzen .fa{
    color: #009a49;
}

.ipmzen span{
    color: white;
}

.ipmzen .btn-rm, .carousel .btn-rm, .add .btn-rm{
    font-weight: lighter;
    background-color: #009a49;
}

.ipmzen .btn-rm:hover, .carousel .btn-rm:hover{
    background-color: black;
    color: #009a49; 
}

.ipmzen .btn-lsb {
    background-color: #ffffff; 
    color: #004d40; 
    font-weight: 500;
    font-size: 1.2rem; 
    padding: 10px 20px; 
    border-radius: 30px; 
    border: 2px solid #009a49; 
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.ipmzen .btn-lsb:hover {
    background-color: #f1f1f1; 
    transform: scale(1.05); 
}

.ipmzen .btn-lsb span {
    color: #004d40;
    text-decoration: none; 
}

.ipmzen .btn-lsb span:hover {
    color: #004d40; 
}

.ipmzen .ipmzen-item:hover {
    box-shadow: 0 0 45px rgba(0, 0, 0, .1);
}

.ipmzen .ipmzen-item:hover .ipmzen-content {
    background: var(--bs-white);
}

.ipmzen .ipmzen-item .ipmzen-img {
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    position: relative;
    overflow: hidden;
}

.ipmzen .ipmzen-item .ipmzen-img img {
    transition: 0.5s;
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.ipmzen .ipmzen-item:hover .ipmzen-img img {
    transform: scale(1.2);
}

.ipmzen .ipmzen-item .ipmzen-img::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 0;
    top: 0;
    left: 0;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    background: rgba(1, 95, 201, .2);
    transition: 0.5s;
    z-index: 1;
}

.ipmzen .ipmzen-item:hover .ipmzen-img::after {
    height: 100%;
}

.ipmzen .ipmzen-item .ipmzen-img .ipmzen-categiry {
    position: absolute;
    bottom: 0;
    right: 0;
    border-top-left-radius: 10px;
    display: inline-flex;
    color: #f3d404;
    background: #009a49;
    z-index: 9;
}

.ipmzen .ipmzen-item .ipmzen-comment {
    justify-content: space-between;
}

.ipmzen .ipmzen-item .ipmzen-content {
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    background: var(--bs-white);
    min-height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    flex-grow: 1;
}

.ipmzen .ipmzen-item .ipmzen-content .h5{
    font-weight: bold;
    color: rgba(0, 0, 0, .6);
}

.ipmzen .ipmzen-item .ipmzen-content a.btn {
    color: var(--bs-dark);
}

.ipmzen .ipmzen-item:hover .ipmzen-content a.btn:hover {
    color: var(--bs-primary);
}

@media (max-width: 991px) {
    .ipmzen .ipmzen-item .ipmzen-comment {
        justify-content: space-evenly;
    }

    .komentar {
        display: none
    }
}
/*** IPMZEN End ***/

/*** About Start ***/
.about span{
    color: #007a3a;
    font-weight: 700;
}

.about h4{
    color: #007a3a;
    font-weight: bold;
}

.about .about-ipm{
    color: #009a49;
    font-weight: bold;
}

.about .bg-about{
    background-color: white;
}

.about .fa{
    color: #009a49;
}
/*** About End ***/

/*** Demisioner Start ***/
.testimonial-carousel .owl-stage-outer {
    margin-top: 58px;
    margin-right: -1px;
}

.testimonial .owl-nav .owl-prev {
    position: absolute;
    top: -58px;
    left: 0;
    background: white;
    color: #009a49;
    padding: 5px 30px;
    border-radius: 30px;
    transition: 0.5s;
}

.testimonial .owl-nav .owl-prev:hover {
    background: var(--bs-dark);
    color: var(--bs-white);
}

.testimonial .owl-nav .owl-next {
    position: absolute;
    top: -58px;
    right: 0;
    background: white;
    color: #009a49;
    padding: 5px 30px;
    border-radius: 30px;
    transition: 0.5s;
}

.testimonial .owl-nav .owl-next:hover {
    background: var(--bs-dark);
    color: var(--bs-white);
}

.demisioner h4,
.demisioner p{
    color: #009a49;
}

.demisioner .bg-demis{
    background-color: #009a49;
}

@media (max-width: 991px) {
    .testimonial-item .col-5, 
    .testimonial-item .col-lg-5, 
    .testimonial-item .col-xl-4 {
        flex: 0 0 100%; /* Membuat kolom gambar mengambil 100% lebar layar */
        max-width: 100%; /* Memastikan kolom tidak melewati 100% lebar */
    }

    .testimonial-item img {
        height: auto; /* Mengatur tinggi gambar secara otomatis berdasarkan proporsi lebarnya */
        max-height: 200px; /* Batasi tinggi maksimum gambar agar tidak terlalu besar */
        width: 100%; /* Gambar akan mengambil 100% lebar container-nya */
        object-fit: contain; /* Menjaga proporsi gambar tanpa memotong */
    }
    .testimonial-item .col-md-12,
    .testimonial-item .col-lg-7,
    .testimonial-item .col-xl-8 {
        padding: 5px; /* Kurangi padding agar lebih kompak di layar kecil */
    }
    .testimonial-item p {
        font-size: 14px; /* Kurangi ukuran font deskripsi */
    }
}

/*** Demisioner End ***/


/*** Selamat Start ***/
.bg-selamat {
    background: #009a49; 
    color: white; 
    display: inline-block; 
    padding: 12px 24px; 
    border-radius: 8px; 
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); 
    font-weight: 600; 
    font-family: 'Roboto', sans-serif; 
    transition: all 0.3s ease;
}

.blockquote-footer{
    color: #009a49;
    font-weight: 500;
}
/*** Selamat End ***/


/*** Footer Start ***/
.footer-pd{
    margin-right: 10px;
    color: white;
}

.footer {
    background: linear-gradient(135deg, #009a49, #007a3a);;
}

.footer h4{
    color: #f3d404;
}

.footer .footer-item {
    display: flex;
    flex-direction: column;
}

.footer .bg-foot{
    background: var(--bs-light);
    color: #009a49;
}

.footer .footer-item a {
    line-height: 35px;
    color: white;
    transition: 0.5s;
}

.footer .footer-item p {
    line-height: 35px;
    color: white;
}

.footer .footer-item a:hover {
    color: #009a49;
}

.footer .footer-item .footer-btn a,
.footer .footer-item .footer-btn a i {
    transition: 0.5s;
}

.footer .footer-item .footer-btn a:hover {
    background: var(--bs-white);
}

.footer .footer-item .footer-btn a:hover i {
    color: var(--bs-primary);
}


.footer .footer-item .footer-instagram {
    position: relative;
    overflow: hidden;
}

.footer .footer-item .footer-instagram img {
    transition: 0.5s;
}

.footer .footer-item .footer-instagram:hover img {
    transform: scale(1.2);
}

.footer .footer-item .footer-instagram .footer-search-icon {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.5s;
    opacity: 0;
}

.footer .footer-item .footer-instagram:hover .footer-search-icon {
    opacity: 1;
    background: rgba(0, 0, 0, .6);
}

.footer .footer-item .footer-btn a {
    background: var(--bs-light);
    color: #009a49;
}

.footer .footer-item .footer-btn a:hover {
    background: var(--bs-dark);
}

.footer .footer-item .footer-btn a:hover i {
    color: #009a49;
}

.footer .form{
    background-color: #f3d404;
}
/*** Footer End ***/


/*** copyright Start ***/
.copyright {
    background: var(--bs-light);
    border-top: 1px solid rgba(255, 255, 255, .08);
}

.text-copyright{
    color: #009a49;
}
/*** copyright end ***/

/*** struktur start ***/
.struktur {
    text-align: center;
    background: linear-gradient(bottom right, #ffffff, #f8f9fa);
}

.bg-struktur {
    background: linear-gradient(135deg, #009a49, #007a3a);
    
}

.bg-struktur p {
    color: #f9fbe7;
    font-size: 1.1rem;
    margin: 0 auto;
    max-width: 80%;
}

.bg-struktur h1 {
    color: #e8f5e9;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
    margin: 0 auto;
    max-width: 80%;
}

.struktur .btn-text{
    color: #f3d404;
}

.bidang h1 {
    color: #2c3e50;
    text-align: center;
    font-weight: bold;
    margin-bottom: 30px;
    font-size: 2.5rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.bidang .col-xl-4, .col-xl {
    text-align: center;
}

.bidang .col-xl-4 img, .col-xl img {
    border: 5px solid #fff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.bidang .col-xl-4 img:hover, .col-xl img:hover {
    transform: scale(1.1);
}

.bidang h4 {
    color: #34495e;
    font-size: 1.5rem;
    margin-top: 15px;
}

.bidang p {
    color: #7f8c8d;
    font-size: 1rem;
}

.bidang .row.g-4 {
    margin-top: 20px;
}
/*** struktur end ***/

/*** Berita Start ***/
.berita{
    background: var(--bs-light);
}

.header-berita {
    text-align: center;
}

.bg-berita {
    background: linear-gradient(135deg, #009a49, #007a3a);
    
}

.bg-berita p {
    color: #f9fbe7;
    font-size: 1.1rem;
    margin: 0 auto;
    max-width: 80%;
}

.bg-berita h1 {
    color: #e8f5e9;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
    margin: 0 auto;
    max-width: 80%;
}

.berita .ipmzen{
    position: relative;
    overflow: hidden;
}

.berita .ipmzen-wrapper {
    position: relative;
}

.berita .scroll-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: #fff;
    border: none;
    padding: 10px;
    cursor: pointer;
    z-index: 10;
    border-radius: 50%;
    transition: background-color 0.3s;
}

.berita .left-scroll-btn {
    left: -20px;
    background-color: #009a49;
}

.berita .right-scroll-btn {
    right: -20px;
    background-color: #009a49;
}

.berita .ipmzen-scroll {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: hidden; 
    scroll-behavior: smooth;
}

.berita .ipmzen-item {
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .berita .ipmzen-item {
        width: calc(100% / 2); 
        max-width: none;
        margin-right: 8px; 
    }
}

@media (max-width: 576px) {
    .berita .ipmzen-item {
        width: 100%; 
        max-width: none;
        margin-right: 0; 
    }

    .berita .ipmzen-content {
        padding: 10px;
    }
}
/*** Berita End ***/

/*** Berita 1 Start ***/
.berita-1 .container h1 {
    font-weight: 500;
    color: #333;
}

.berita-1 .catatan span {
    color: white;
    background-color: #009a49;
    padding: 5px 10px;
    margin-right: 10px;
    border-radius: 10px;
    font-size: 0.9rem; 
    font-weight: 400; 
}

.berita-1 .container img {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
    border-radius: 5px; 
}

.berita-1 .container .row p {
    font-size: 1rem; 
    color: #333;
    font-weight: 400; 
    font-family: 'Roboto', sans-serif;
    line-height: 1.6; 
    letter-spacing: 0.5px;
}

.berita-1 .related-item a {
    color: #333;
    font-weight: 500;
    text-decoration: none;
    display: flex;
    font-family: 'Roboto', sans-serif;
}

.berita-1 .related-item a:hover {
    color: #009a49;
}

.berita-1 .related-item h6 {
    font-size: 1rem;
    margin-bottom: 4px;
    font-family: 'Roboto', sans-serif;
    font-weight: normal;
}

.berita-1 .related-item p {
    font-size: 0.85rem;
    font-family: 'Roboto', sans-serif;
}

.berita-1 .related-item-img {
    width: 80px;
    height: 80px; 
    object-fit: cover; 
    border-radius: 5px; 
}

.berita-1 .ml-3 {
    margin-left: 16px;
}

@media (min-width: 768px) {
    .berita-1 .sponsor-banner-sm {
        display: none;
    }

    .berita-1 .catatan .hp {
        display: none;
    }
}

@media (max-width: 768px) {

    .berita-1 .catatan .laptop {
        display: none;
    }
       
    .berita-1 .container img {
        margin-bottom: 10px;
    }

    .berita-1 .container .row p {
        font-size: 0.9rem;  
    }

    .berita-1 .container .col-4 {
        margin-top: 20px;
    }
    .berita-1 .related-item a {
        flex-direction: column; /* Pada layar kecil, tampilkan gambar di atas teks */
        align-items: start; /* Teks dan gambar disejajarkan secara vertikal */
    }

    .berita-1 .related-item-img {
        width: 100px; /* Sesuaikan ukuran gambar pada layar kecil */
        height: 100px;
    }

    .berita-1 .ml-3 {
        margin-left: 8px; /* Hapus margin di layar kecil */
        margin-top: 10px; /* Berikan jarak di atas teks */
    }

    .berita-1 .sponsor-banner-lg {
        display: none;
    }

    .berita-1 .catatan span {
        color: white;
        background-color: #009a49;
        padding: 5px 10px;
        margin-right: 5px;
        border-radius: 10px;
        font-size: 0.9rem; 
        font-weight: 400; 
    }
}   
/*** Berita 1 End ***/

/*** Contact Start ***/
.contact .text-hijau{
    color: #009a49;
}

.contact .btn-contact{
    background-color: #009a49;
    color: white;
    font-weight: 100;
}

.contact-img-inner img {
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border: 2px solid #009a49;
}

.contact-icon i {
    transition: transform 0.3s;
}

.contact-icon:hover i {
    transform: scale(1.1);
}
.btn-contact:hover {
    background-color: black;
    color: white;
}
.contact h4 {
    font-weight: bold;
    color: #009a49;
}

.contact p {
    color: #333;
}

.no-hp{
    max-height: 60px;
}

@media (max-width: 768px) {
    .contact .contact-img-inner{
        width: 100%;
        text-align: center;
    }
}
/*** Contact End ***/

/*** Login Start ***/
.login a:hover {
    color: #009a49;
}
/*** Login End ***/

/*** Beranda Start ***/
.beranda body {
    font-family: 'Poppins', sans-serif;
    background-color: #f8f9fa;
    margin: 0;
    padding: 0;
}
.beranda h2 {
    font-size: 24px;
    margin: 10px 0;
    color: white;
}
.beranda h4 {
    font-size: 36px;
    margin: 0;
    padding: 20px 0;
}
.beranda .container {
    padding: 40px 0;
}
.beranda .card {
    background-color: white;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    border-radius: 8px;
    padding: 30px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}
.beranda .card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
}
.beranda .card a {
    text-decoration: none;
    color: #333;
}
/*** Beranda End ***/

/*** Logo Start ***/
.logo .logo-item {
    max-width: 300px;
    max-height: 300px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.logo .logo-item:hover {
    transform: scale3d(1.1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}
.logo-item-wrapper {
    position: relative;
    display: inline-block;
    text-align: center;
}

.logo-item img {
    width: 100%;
    height: auto;
    transition: transform 0.3s ease-in-out;
}

.logo-title {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #009a49;
    color: white;
    padding: 5px 10px;
    font-size: 14px;
    border-radius: 5px;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

.logo-item-wrapper:hover img {
    transform: scale(1.1);
}

.logo-item-wrapper:hover .logo-title {
    opacity: 1;
}
/*** Logo End ***/

/*** Sejarah Start ***/
.sejarah p, .sejarah ul{
    font-size: 1rem; 
    color: #333;
    font-weight: 400; 
    font-family: 'Roboto', sans-serif;
    line-height: 1.5;
    letter-spacing: 0.5px;
}
/*** Sejarah End ***/

.iklan-wrapper {
    background-color: white; /* Border tipis untuk membingkai */
    border-radius: 10px; /* Membuat sudut membulat */
    transition: all 0.3s ease; /* Animasi transisi */
}

.iklan-wrapper:hover {
    background-color: #009a49; /* Latar belakang lebih terang saat hover */
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1); /* Efek bayangan */
}

.iklan-wrapper adsmu {
    margin: auto; /* Agar konten iklan terpusat */
    max-width: 100%; /* Responsif */
}

@media (min-width: 768px) {
    .iklan-sm {
        display: none;
    }
}

@media (max-width: 768px) {
    .iklan-lg {
        display: none;
    }
}