* {
    box-sizing: border-box;
}

body {
    height: 100%;
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #ebebeb;
}

.menu-toggle {
    display: none;
    position: fixed;
    top: 0.5rem;
    left: 0.5rem;
    z-index: 1001;
    background: #33333300;
    color: #fff;
    font-size: 1.5rem;
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.mobile-sidebar {
    display: none;
}



.nav {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 20px;
}

.nav>li {
    position: relative;
}

.nav a {
    display: block;
    padding: 10px 15px;
    text-decoration: none;
    color: #333;
    display: block;
    padding: 10px 15px;
    text-decoration: none;
    cursor: pointer;
}

.dropdown-menu {
    width: 250px;
    height: 500px;
    overflow: auto;
    white-space: normal;
    word-wrap: break-word;
    overflow-wrap: break-word;
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    list-style: none;
    background: white;
    padding: 0;
    margin: 0;
    border: 1px solid #ccc;
}

.dropdown-menu a:hover {
    background-color: #3f3f3f;
    color: white;
}


.dropdown-menu li a {
    padding: 10px;
    display: block;
}

.dropdown-menu a {
    border-bottom: 1px solid #ccc;
    font-size: smaller;
    border-bottom: 1px solid #ccc;
}

.dropdown:hover .dropdown-menu {
    display: block;
}


.sidebar {
    width: 100%;
    padding: 20px 60px;
    /* background: linear-gradient(to right, #1cb5c0, skyblue); */
    background: linear-gradient(to left, #858585, #3b3b3b);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    bottom: 0;
    z-index: 100;
}

h2 {
    color: #fafbfc;
    margin-top: 18px;
    margin-bottom: 0px;
    font-size: 40px;
    background-color: #858585;
    padding: 20px;
    margin-bottom: 20px;
}

.about h2 {
background-color: white;
    color: #393939;
    margin-top: 18px;
    margin-bottom: 0px;
    font-size: 40px;
    padding: 20px;
    margin-bottom: 20px;
}


.side {
    margin: 0;
    color: #ffffff;
    font-size: 20px;
}

/* 
.tombol {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    justify-content: flex-end;
} */



.tombol>nav>ul>li>a {
    text-align: center;
    background-color: #ffffff;
    width: 100px;
    height: 35px;
    padding: 0 15px;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-size: 14px;
    box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s;
    text-decoration: none;
    color: rgb(48, 48, 48);
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
}


.tombol>nav>ul>li>a:hover {
    transform: scale(1.1);
    /* background-color: #d7d7d7; */
    background-color: #3f3f3f;
    color: #ffffff;
}


.heading {
    padding: 20px 20px 70px 20px;
    text-align: center;
    font-family: "Montserrat", sans-serif;
    font-size: large;
    /* box-shadow: 4px 0px 4px rgba(0, 0, 0, 0.4); */
}



.head {
    margin: auto;
    text-align: center;
    color: #3b3b3b;
    font-weight: 700;
    font-size: 40px;
    text-shadow: 2px 2px 2px rgba(0, 0, 0, 0.2);
}



.grid-container {
    display: grid;
    grid-template-columns: 1fr 2.5fr;
    gap: 10px;
    padding-top: 0;
}


.item {
    padding: 10px;
}

.heading-2 h3 {
    font-size: 35px;

}



.logo {
    width: 500px;
    margin-top: 20px;
    border-radius: 30px 0 30px 0;
    box-shadow: 4px 4px 6px rgba(0, 0, 0, 0.3);
}

.item p {
    margin: auto;
    text-align: justify;
    font-size: 15px;
    letter-spacing: 1px;
    font-family: 'Poppins', sans-serif;
}

.animate__animated.animate__fadeIn {
    --animate-duration: 3s;
}

.animate__animated.animate__fadeInUp {
    --animate-duration: 2s;
}


footer {
    background: #343434;
    color: white;
    padding: 15px 0;
    width: 100%;
}

.heading-2 {
    padding: 20px 20px 70px 20px;
    text-align: center;
    background-color: #e3e3e3;
    font-family: "Montserrat", sans-serif;
    font-size: large;
}

.service-container {
    display: flex;
    flex-wrap: wrap;
    gap: 90px;
    padding: 10px 0 10px 0;
    margin: 0 auto;
    justify-content: center;
}

.service {
    height: 350px;
    background: linear-gradient(to bottom, #ffffff, #d3d3d3);
    padding: 15px;
    width: 250px;
    box-shadow: 4px 4px 4px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s;

}

.service:hover {
    transform: scale(1.05);

}

.judul-service {
    font-size: 15px;
    font-weight: bold;
    margin: 10px 0 5px;
}

.service img {
    width: 100%;
    height: 280px;
    /* border-radius: 10px; */
    object-fit: cover;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.head-news {
    font-size: 25px;
    display: flexbox;
}

.news {
    margin: auto;
    /* background-color: #e3e3e3; */
    /* min-height: 80vh; */
    text-align: center;
    padding: 20px 30px 70px 30px;
}

.grid-news {
    margin: auto;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.item-2 {
    text-align: center;
}

.kegiatan h4 {
    font-size: 15px;
}


.item-2 p {
    padding-top: 20px;
    margin: auto;
    text-align: justify;
    font-size: 15px;
    letter-spacing: 1px;
    font-family: 'Poppins', sans-serif;

}


.item-2 img {
    border-radius: 40px 0px 40px 0px;
    width: 650px;
    height: 250px;
    object-fit: cover;
    box-shadow: 4px 4px 5px rgba(0, 0, 0, 0.3);
}

.news2 img {
    border-radius: 40px 0px 40px 0px;
    width: 650px;
    height: 250px;
    object-fit: cover;
    object-position: top;
    box-shadow: 4px 4px 5px rgba(0, 0, 0, 0.3);
}




.item-2 .kegiatan {
    border-radius: 20px;
    color: #fafbfc;
    padding: 0 25px 0 25px;

}

.kegiatan h4 {
    border-radius: 20px;
    padding: 10px;
    background-color: #3f3f3f;

}

.f-content {
    display: flex;
    justify-content: center;
    text-align: center;
    align-items: center;
    margin: auto;
    gap: 20px;
}

.logo-f {
    width: 50px;
}

@media (max-width: 1650px) {
    .item-2 p {
        width: 90%;
    }

    .heading {
        padding: 20px 40px 70px 40px;
    }

}


@media (max-width: 1480px) {
    .grid-container {
        /* grid-template-columns: 1fr; */
        /* padding: 10px; */
        gap: 20px;

    }


    /* .item .logo {
        width: 90%;

    } */

    .service-container {

        width: 100%;
        gap: 70px 70px
    }

    

    .heading {
        padding: 20px;
    }

    .item p {
        margin-top: 15px;
        margin-bottom: 0px;
        width: 100%;

    }


    .side {
        text-align: center;
    }


    .item-2 p {
        font-size: 14px;
        width: 90%;
        margin: auto;
    }

    .item-2 img {
        border-radius: 40px 0px 40px 0px;
        width: 90%;
        height: 180px;
        object-fit: cover;
        image-rendering: auto;
    }


    .kegiatan h4 {
        font-size: 8px;
    }

}

@media (max-width: 1300px) {


    
    .service-container {
        display: flex;
        flex-wrap: wrap;
        gap: 0px 40px;
    }

    .service {
        width: 200px;
        height: 250px;

    }

    .service img {
        height: 90%;
    }

    .judul-service {
        font-size: 10px;
        font-weight: bold;
        margin: 10px 0 5px;
    }

    .item-2 p {
        font-size: 10px;
    }
}


@media (max-width: 1030px) {

    .sidebar {
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 10px;
    }

    .tombol {
        justify-content: center;
        flex-wrap: wrap;
    }

    .grid-container {
        grid-template-columns: 1fr;
        padding: 10px;
        gap: 20px;

    }

    .service-container {
        display: flex;
        flex-wrap: wrap;
        gap: 50px 90px;
    }

    .service {
        width: 250px;
        height: 320px;
    }

    .service img {
        height: 250px;
    }

    .judul-service {
        font-size: 15px;
        font-weight: bold;
        margin: 10px 0 5px;
    }

    .head {
        font-size: 25px;
    }

    .item p {

        width: 100%;
        font-size: 13px;
    }

    .item-2 p {
        font-size: 13px;
    }

    .item-2 .kegiatan {
        padding: 0 15px 0 15px;

    }

    .item-2 img {
        border-radius: 40px 0px 40px 0px;
        width: 90%;
        height: 250px;
    }

}

@media (max-width: 1029px) {

    .service-container {
        display: flex;
        flex-wrap: wrap;
        gap: 90px 150px;
    }
}


@media (max-width: 900px) {

    .service-container {
        display: flex;
        flex-wrap: wrap;
        gap: 90px 100px;
    }
}



@media (max-width: 690px) {

    h2 {
        font-size: 25px;
        padding: 5px;
    }

    .heading-2 h3 {
        font-size: 25px;
    }
    .service-container {
        gap: 40px 90px;
    }

    .grid-news {
        grid-template-columns: 1fr;
        gap: 20px;

    }

    .item .logo {
        width: 90%;
        height: auto;

    }

    .service {
        width: 200px;
        height: 250px;
    }

    .item-2 img {
        width: 100%;
        height: 200px;
    }

    .item p {
        width: 100%;
        font-size: 10px;
    }

    .item-2 p {
        width: 100%;
        font-size: 10px;
    }


    .head {
        font-size: 20px;
    }

    .nav {
        display: flex;
        justify-content: center;
        gap: 10px;

    }

    .tombol>nav>ul>li>a {
        width: 90px;
        height: 30px;
        font-size: 14px;
    }



    .judul-service {
        font-size: 10px;
    }


    .service img {
        width: 100%;
        height: 190px;
        object-fit: cover;

    }

    .logo-f {
        width: 30px;
    }

    .kegiatan h4 {
        font-size: 10px;
    }

    .kegiatan {
        width: 100%;
        margin: auto;

    }

    .f-content p {
        font-size: 10px;
    }

    .f-content {
        display: flex;
        justify-content: center;
        text-align: center;
        align-items: center;
        margin: auto;
        width: auto;
        height: 20px;
    }

    .head-news {
        font-size: 20px;
    }

}

@media (max-width: 590px) {
    .service-container {
        gap: 40px 50px;
    }
}

@media (max-width: 502px) {

    h2 {
        font-size: 20px;
        padding: 5px;
    }

    .heading-2 h3 {
        font-size: 20px;
    }

    .menu-toggle {
        display: block;
    }

    .mobile-sidebar {
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        width: 220px;
        height: 100%;
        background: linear-gradient(to top, #7d7d7d, #3b3b3b);
        padding: 2rem 1rem;
        transform: translateX(-100%);
        transition: transform 0.3s ease-in-out;
        z-index: 1000;
    }

    .mobile-sidebar.active {
        transform: translateX(0);
    }

    .mobile-sidebar ul {
        list-style: none;
        margin-top: 40px;
        padding: 0;
    }

    .mobile-sidebar li {
        margin-bottom: 1rem;
        
        /* border-bottom: 1px solid #ccc; */
    }

    .mobile-sidebar a {
        /* background-color: #eeeeee;
        border-radius: 10px; */
        display: flex;
        /* justify-content: center; */
         box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
        border-bottom: 1px solid #ccc;
        font-weight: 600;
        /* color: #242424; */
        color: #e3e3e3;
        text-decoration: none;
        font-size: 15px;
        padding: 10px;
    }

    .mobile-sidebar a:hover {
        background-color: #4f4f4f;
        color: #ededed;
    }

    .tombol {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 20px;
        display: none;
    }

    .tombol a {
        width: 40%;
        min-width: 50px;
    }

    .judul-service {
        font-size: 14px;
    }

    .service {
        width: 320px;
        height: 370px;
    }

    .service img {
        width: 100%;
        height: 300px;
        object-fit: cover;

    }
}