@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600;700;800;900&display=swap');

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    height: auto;
}

body {
    padding: 0;
    margin: 0;
    font-family: 'Poppins', sans-serif;
}

ul {
    list-style: none;
}

a {
    text-decoration: none;
}

header {
    position: sticky;
    top: 0px;
    background-color: #0d3b19;
    width: 100%;
    z-index: 1000;
}

.container {
    max-width: 90rem;
    padding: 0 1rem;
    margin: 0 auto;
    display: flex;
    position: relative;
    height: 7rem;
}

.logo-container {
    flex: 1;
    display: flex;
    align-items: center; 
}

.nav-btn {
    flex: 3;
    display: flex;
    align-items: center;
    float: right;

}

.nav-links {
    flex: 2;

}

.nav-links>ul {
    display: flex;
    float: right;
}

.nav-link {
    position: relative;
}

.nav-link>a {
    line-height: 3rem;
    color: #fff;
    padding: 0 1.5rem;
    letter-spacing: 1px;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: .5s;
}

.nav-link>a>i {
    margin-left: .2rem;
}

.nav-link:hover>a {
    transform: scale(1.1);
}

.dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    width: 12rem;
    transform: translateY(10px);
    opacity: 0;
    pointer-events: none;
    transition: .5s;
}

.dropdown ul {
    position: relative;
}

.dropdown-link>a {
    display: flex;
    background-color: #fff;
    color: #162921;
    padding: .5rem 1rem;
    font-size: 1.5rem;
    align-items: center;
    justify-content: space-between;
    transition: .3s;
}

.dropdown-link:hover>a {
    background-color: #1e4934;
    color: #fff;
}

.dropdown-link:not(:nth-last-child(2)) {
    border-bottom: 1px solid #efefef;
}

.arrow {
    position: absolute;
    width: 11px;
    height: 11px;
    top: -5.5px;
    left: 32px;
    background-color: #fff;
    transform: rotate(45deg);
    cursor: pointer;
    transition: .3s;
    z-index: -1;
}

.dropdown-link:first-child:hover~.arrow {
    background-color: #1e4934;
}

.dropdown-link {
    position: relative;
}

.nav-link:hover>.dropdown {
    transform: translate(0, 0);
    opacity: 1;
    pointer-events: auto;
}

.hamburger-menu-container {
    width: 100%;
    flex: 1;
    display: none;
    align-items: center;
    justify-content: flex-end;
}

.hamburger-menu {
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.hamburger-menu div {
    width: 1.6rem;
    height: 3px;
    border-radius: 3px;
    background-color: #fff;
    position: relative;
    z-index: 1001;
    transition: .5s;
}

.hamburger-menu div:before,
.hamburger-menu div:after {
    content: '';
    position: absolute;
    width: inherit;
    height: inherit;
    background-color: #fff;
    border-radius: 3px;
    transition: .5s;
}

.hamburger-menu div:before {
    transform: translateY(-7px);
}

.hamburger-menu div:after {
    transform: translateY(7px);
}

#check {
    position: absolute;
    top: 50%;
    right: 1.5rem;
    transform: translateY(-50%);
    width: 2.5rem;
    height: 2.5rem;
    z-index: 90000;
    cursor: pointer;
    opacity: 0;
    display: none;
}

#check:checked~.hamburger-menu-container .hamburger-menu div {
    background-color: transparent;
}

#check:checked~.hamburger-menu-container .hamburger-menu div:before {
    transform: translateY(0) rotate(-45deg);
}

#check:checked~.hamburger-menu-container .hamburger-menu div:after {
    transform: translateY(0) rotate(45deg);
}

@keyframes animation {
    from {
        opacity: 0;
        transform: translateY(15px);
    }

    to {
        opacity: 1;
        transform: translateY(0px);
    }
}

#gallery {
    text-align: center;
}

.containergalery1 {
    position: relative;
    align-items: center;
    width: 100%;
}

.contentgallery-txt {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 20px;
    font-size: 36px;
    color: #00CC00;
}


.imagegalery1 img {
    display: block;
    width: 100%;
    height: 50vh;
    overflow: hidden;
    opacity: 0.5;
    filter: brightness(30%);
}

.contentgallery-txt h1 {
    margin: 0;
}

@media screen and (max-width: 600px) {
    
    .imagegalery1 img{
        height: auto;
    }

    .contentgallery-txt {
        font-size: 20px;
    }
}

.profile-all {
    background-color: #0f510f;
    color: #fff;
    padding: 50px 20px;
    height: auto;
}

.profile {
    text-align: center;
}

.profile p {
    text-align: justify;
    position: center;
    font-size: 12px;
    margin-top: 20px;
}

.profile h1 {
    font-size: 16px;
    margin-bottom: 20px;
    white-space: nowrap;
}

.containerhistory {
    display: flex;
    flex-direction: column-reverse;
    padding: 0 1rem;
    margin: 0 auto;
}

.col {
    flex: 1;
}

.col img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto; /* Memastikan gambar berada di tengah */
    max-height: 200px; /* Menetapkan tinggi maksimum gambar */
}

.col strong {
    text-decoration: underline;
    color: #00CC00;
}

@media screen and (min-width: 600px) {
    .containerhistory {
        flex-direction: row;
    }

    .profile h1 {
        font-size: 30px;
        
    }

    .profile p {
        font-size: 17px;
        justify-content: center;
        align-items: center;
        padding: 20px;
    }

    .col {
        align-items: center;
        justify-content: center;
    }

    .col img {
        max-height: 400px;
    }
}

.li2 {
    text-align: justify;
    margin-right: 2vh;
}

.profile-visimisi {
    background-color: #d5d6d8;
    font-family: 'Poppins', sans-serif;
    padding: 70px;
}

.profile-visimisi h2 {
    font-family: 'Poppins', sans-serif;
    font-weight: bold;
    font-size: 5vh;
    line-height: 1.5em;
    color: #0d3b19;
    text-align: center;
}

.profile-visimisi p {
    font-family: 'Poppins', sans-serif;
    font-weight: normal;
    font-size: 17px;
    line-height: 1.5em;
}

.profile-visimisi ul li {
    font-family: 'Poppins', sans-serif;
    font-weight: normal;
    font-size: 17px;
    margin-bottom: 0.5vh;
    line-height: 1.5em;
    list-style-type: circle;
}

.k3lh {
    font-family: 'Poppins', sans-serif;
    padding: 70px;
}

.k3lh2 ol li {
    font-family: 'Poppins', sans-serif;
    font-weight: normal;
    font-size: 17px;
    margin-bottom: 0.5vh;
    line-height: 1.5em;
    list-style-type: circle;
    text-align: justify;
}

.k3lh h1 {
    font-weight: bold;
    font-size: 3.5vh;
    line-height: 1.5em;
    color: #0f510f;
    text-align: center;
}

.k3lh h2 {
    font-size: 17px;
    font-weight: normal;
    line-height: 1.5em;
    margin-bottom: 20px;
    margin-top: 20px;
}

@media screen and (max-width: 600px) {
    .profile-visimisi h2 {
        font-size: 16px;
    }

    .profile-visimisi p {
        font-size: 12px;
    }

    .profile-visimisi ul li {
        font-size: 12px;
    }

    .k3lh h1 {
        font-size: 16px;
    }

    .k3lh h2 {
        font-size: 12px;
    }

    .k3lh ol li {
        font-size: 12px;
    }
}

.column3 {
    float: left;
    width: 15%;
    padding: 10px;
    height: 40vh;
    color: #efefef;
}

.column3 p a {
    color: #efefef;
}

@media screen and (max-width: 600px) {
    .column3 {
        width: 100%;
        background-color: #0d3b19;
        height: auto;
    }
}

.column4 {
    float: left;
    width: 40%;
    padding: 10px;
    color: #efefef;
}

@media screen and (max-width: 600px) {
    .column4 {
        width: 100%;
        background-color: #0d3b19;
        height: auto;
    }
}


.column5 {
    float: left;
    width: 7%;
    padding: 10px;
    color: #efefef;
}

.column5 p a {
    color: #efefef;
}

@media screen and (max-width: 600px) {
    .column5 {
        width: 100%;
        background-color: #0d3b19;
        height: auto;
    }
}

.row:after {
    content: "";
    display: table;
    clear: both;
}

.footer4 {
    background-color: #0d3b19;
    padding: 20px;
    font-size: 12px;
}


@media (max-width: 920px) {
    .hamburger-menu-container {
        display: flex;
    }

    #check {
        display: block;
    }

    .nav-btn {
        position: fixed;
        height: calc(100vh - 7rem);
        top: 7rem;
        left: 0;
        width: 100%;
        background-color: #50725f;
        flex-direction: column;
        align-items: center;
        justify-content: space-between;
        overflow-x: hidden;
        overflow-y: auto;
        transform: translateX(100%);
        transition: .65s;
    }
    #check:checked~.nav-btn {
        transform: translateX(0);
    }

    #check:checked~.nav-btn .nav-link {
        animation: animation .5s ease forwards var(--i);
    }

    .nav-links {
        flex: initial;
        width: 100%;
    }

    .nav-links>ul {
        width: 100%;
        flex-direction: column;
        float: left;
    }

    .nav-link {
        width: 100%;
        opacity: 0;
        transform: translateY(15px);
    }

    .nav-link>a {
        line-height: 1;
        padding: 1.6rem 2rem;
    }

    .nav-link:hover>a {
        transform: scale(1);
        background-color: #1e4934;
    }

    .dropdown {
        position: initial;
        top: initial;
        left: initial;
        transform: initial;
        opacity: 1;
        pointer-events: auto;
        width: 100%;
        padding: 0;
        background-color: #50725f;
        display: none;
    }

    .nav-link:hover>.dropdown {
        display: block;
    }

    .nav-link:hover>a>i {
        transform: rotate(360deg);
    }

    .dropdown-link>a {
        background-color: transparent;
        color: #fff;
        padding: 1.2rem 2rem;
        line-height: 1;
    }

    .dropdown-link:not(:nth-last-child(2)) {
        border-bottom: none;
    }

    .arrow {
        z-index: 1;
        background-color: #50725f;
        left: 10%;
        transform: scale(1.1) rotate(45deg);
        transition: .5s;
    }

    .nav-link:hover .arrow {
        background-color: #50725f;
    }

    .dropdown-link:hover>a {
        background-color: #22935d;
    }

    .dropdown-link:first-child:hover~.arrow {
        background-color: #22935d;
    }

    .nav-link>a>i {
        font-size: 1.1rem;
        transform: rotate(-90deg);
        transition: .7s;
    }
    
     /* ///////////////////////////////// */
    header .container .nav-btn .nav-links  li.showMenu i.ar {
        transform: rotate(-180deg);
    }
    
    
    
    header .container .nav-links li .sub-menu {
        /* padding: 6px 6px 14px 80px; */
        margin-top: -10px;
        background: #50725f;
        display: none;
    }
    
    header .container .nav-links li.showMenu .sub-menu {
        display: block;
    }
    
    header .container .nav-link li .sub-menu a {
        color: #fff;
        font-size: 15px;
        padding: 5px 0;
        white-space: nowrap;
        opacity: 0.6;
        transition: all 0.3s ease;
    }
    
    header .container .nav-link li .sub-menu a:hover {
        opacity: 1;
        
    }
    
    header .container.close .nav-link li .sub-menu {
        position: absolute;
        left: 100%;
        top: -10px;
        margin-top: 0;
        padding: 10px 20px;
        border-radius: 0 6px 6px 0;
        transition: all 0.4s ease;
        opacity: 0;
        display: none;
        pointer-events: none;
        
    }
    
    header .container.close .nav-link li:hover .sub-menu {
        top: 0;
        opacity: 1;
        pointer-events: auto;
    }
    
    header .container .nav-link li .sub-menu .link_name {
        display: none;
    }
    
    header .container.close .nav-link li .sub-menu .link_name {
        font-size: 18px;
        opacity: 1;
        display: block;
    }
    
    header .container .nav-link li .sub-menu .blank{
        opacity: 1;
        pointer-events: auto;
        padding: 3px 20px 6px 16px;
    }
    
    header .container .nav-link li:hover .sub-menu .blank{
        top:50%;
        transform: translate(-50%);
    }

    header .container .nav-links li .iocn-link {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .fas .fa-caret-down:before {
        content: "\ed35";
    }
    /*////////////////////////////////////////////*/
}


@media screen and (max-width: 600px) {
    section {
        height: auto;
    }
    .footer4 {
        background-color: #0d3b19;
        padding: 20px;
    }

    .footer4 p {
        font-size: 12px;
        color: #efefef;
        /* padding-left: 20px; */
    }

    .footer4 a {
        font-size: 12px;
        color: #efefef;
    }

}
