*{
    margin: 0;
    padding: 0;
}



@media (max-width : 768px){
    .footer-kotak{
        margin-top: 20px;
        width: 100%;
        height: 100%;
        background-color: #2b502f;
    }

    .email{
        color: white;
        display: block;
        font-size: 10px;
        margin-top: 5px;
    }
   
    
  
}

@import url('https://fonts.googleapis.com/css2?family=Advent+Pro:ital,wght@0,100..900;1,100..900&family=Anton+SC&family=Dosis:wght@200..800&family=Quicksand:wght@300..700&display=swap');




.quicksand-font {
    font-family: "Quicksand", sans-serif;
    font-optical-sizing: auto;
    font-weight: 600;
    font-style: normal;
  }

  
.quicksand-font-2{
    font-family: "Quicksand", sans-serif;
    font-optical-sizing: auto;
    font-weight: 200;
    font-style: normal;
}

nav{
    background-color: rgba(0, 0, 0, 0);
    height: 60px;
    transition: background-color 0.4s ease-in-out;
   
}

nav.scrolled{
    background-color: #85b729;
    opacity: 1;
}

nav ul{
    top: 0;
    width: 100%;
    height: 60px;
    list-style: none;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    
}

nav li{
    height: 80px;
   
}

nav a{
    height: 100%;
    padding: 0 20px;
    text-decoration: none;
    display: flex;
    align-items: center;
    color: white;
    margin-right: 40px;
    
}



/* Hanya untuk menu yang di-hover */
nav ul li.hideOnMobile a {
    position: relative;
    display: inline-block;
    padding-top: 30px;
    padding-bottom: 5px; /* Memberi ruang untuk garis di bawah teks */
    text-decoration: none; /* Menghilangkan underline default */
}

nav ul li.hideOnMobile a::after {
    content: "";
    position: absolute;
    margin-bottom: 20px;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px; /* Ketebalan garis */
    background-color: #2b502f; /* Warna garis hijau */
    transition: width 0.3s ease;
}

nav ul li.hideOnMobile a:hover::after {
    width: 100%; /* Garis akan muncul penuh saat di-hover */
}

nav li:first-child{
    margin-right: auto;
}

.logo{
    width: 50px; 
    margin-top: 0px;  
}

.sidebar{
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: 250px;
    z-index: 11;
    background-color: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    box-shadow: -10px 0 10px rgba(0, 0, 0, 0.1);
    display: none;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
}

.sidebar-2{
  list-style-type: none ;
  padding-left: 0;
}

.li-2{
    
    position: relative;
    color: #2b502f;
    font-size: 40px;
    padding-top: 30px;
    transition: 0.5s;
    padding-left: 40px;
    padding-bottom: 10px;
    
}



.email{
    color: white;
    display: block;
}

.col-1-resize{
    width :7%;
}

.col-7-resize{
    margin-left: -40px;
}
.garis{
    width: 5px;
    height: 100%;
    background-color:#2b502f;
    margin-left: 10px;
}

.ceo-welcome{
    width: 250px;
    height: 250px;
    box-shadow: #2b502f 0px 19px 38px, #85b729 0px 15px 12px;
    border-radius: 10px;
}

.message-ceo{
    display: flex;
    margin-top: 40px;
}

.message-ceo-2{
    display: flex;
    text-align: justify;
}

.vision{
    background-color: #2b502f;
    color: white;
    padding: 20px;
    border-radius: 40px;
}


.vision-2{
    display: flex;
    color: #85b729;
    margin-top: 10%;
    font-size: 30px;
    text-align: center;
    font-family: 'Tahoma', sans-serif;  
    
}

.mission-1{
    display: inline-block;
    position: relative;
    padding-top: 40px;
   color: #85b729;
    font-size: 20px;
}

.head-commitment{
    background-color: #2b502f;
    color: white;
    padding: 20px;
    border-radius: 40px;
}
.commitment{
    font-weight: 500;
    margin-top: 40px;
    text-align: center;
    display: inline-block;
    font-size: 30px;
    color: #85b729;
    
}

@media (min-width : 412px){
    .Pupuk-Agrotis{
        margin-top: -80px;
    }

    .text-product-2{
        font-size: 15px !important;
    }
   

}
@media (max-width : 768px){
    .li-2{
    
        position: relative;
        color: #2b502f;
        font-size: 15px;
        padding-top: 10px;
        transition: 0.5s;
        padding-left: 20px;
        padding-bottom: 10px;
        
    }

    .col-7-resize{
        margin-left: -10px;
    }

    .ceo-welcome{
        width: 150px;
        height: 150px;
        box-shadow: #2b502f 0px 19px 38px, #85b729 0px 15px 12px;
        border-radius: 10px;
    }
    .message-ceo-2{
        display: flex;
        text-align: justify;
    }

    .vision-2{
        display: flex;
        margin-top: 10%;
        font-weight: 600;
        font-size: 30px;
        text-align: center;
        font-family: 'Tahoma', sans-serif;
    }

    .mission-1{
        
        display: inline-block;
        position: relative;
        padding-top: 40px;
       color: #85b729;
        font-size: 20px;
    }

    .head-commitment{
        text-align: center;
        font-size: 20px;
        background-color: #2b502f;
        color: white;
        padding: 10px;
        border-radius: 40px;
    }

    .commitment{
        font-weight: 500;
        margin-top: 10px;
        text-align: center;
        display: inline-block;
        font-size: 15px;
        color: #85b729;
        
    }
}

.li-2:hover{
    background-color: #2b502f;
    color: white;
    border-radius : 0px 40px 40px 0px;
}


.sidebar li{
    width: 100%;
    
}

.sidebar a{
    width: 100%;
    text-shadow: 1px 1px 3px #000000; 
}
.menu-button{
    display: none;
}
@media (max-width: 800px){
    .hideOnMobile{
        display: none;
    }
    .menu-button{
        display: block;
    }
}

@media (max-width: 400px){
    .sidebar{
        width: 100%;
    }
}

@keyframes slideInUp {
    from {
        transform: translateY(100%); /* Mulai dari bawah layar */
        opacity: 0; /* Mulai dengan transparan */
    }
    to {
        transform: translateY(0); /* Berakhir pada posisi asli */
        opacity: 1; /* Sepenuhnya terlihat */
    }
}

.banner-container {
    position: relative;
    width: 100%;
    height: 500px; /* Tinggi banner ditetapkan ke 500px */
    overflow: hidden;
    animation: slideInUp 1s ease-in forwards; /*Terapkan animasi*/
}

.banner-container-2 {
    position: relative;
    width: 100%;
    height: 100%; /* Tinggi banner ditetapkan ke 500px */
    overflow: hidden;
    animation: fadeIn 1s ease-in; /*Terapkan animasi*/
}


.banner-container-3{
    position: relative;
    width: 100%;
    height: 800px; /* Tinggi banner ditetapkan ke 500px */
    overflow: hidden;
    animation: fadeIn 1s ease-in; /*Terapkan animasi*/
    text-shadow: 5px 2px 3px #000000; 
}

.banner {
    width: 100%;
    height: 100%;
    margin-top: -50px !important;
    object-fit: cover; /* Memastikan gambar tidak pecah dan tetap proporsional */
    filter: brightness(70%);
}

.banner-2{
    width: 100%;
    height: 100%;
    margin-top: -50px !important;
    object-fit: cover; /* Memastikan gambar tidak pecah dan tetap proporsional */      
    background: linear-gradient(to top, rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0));
}

.banner-3{
    width: 100%;
    height: 100%;
    margin-top: -50px !important;
    object-fit: cover; /* Memastikan gambar tidak pecah dan tetap proporsional */      
    filter: brightness(0.8);
}




.banner-container h1 {
    position: absolute;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 3rem;
    text-align: center;
}

.banner-container-3 h1 {
    position: absolute;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 3rem;
    text-align: center;
}

.banner-container-3 h1::after {
    content: "";
    display: block;
    margin: auto;
    width: 100%;
    height: 4px;
    background-color: #ffffff; /* Warna hijau muda */
    animation: slideInLeft 1s forwards; ;
}


@media (max-width: 768px){
    .banner-container-2 h1 {
        position: absolute;
        top: 40% !important;
        left: 50%;
        transform: translate(-50%, -50%);
        color: white;
        font-size: 2rem !important;
        text-align: center;
        /* background-color: #85b729; */
        padding: 5px;
        border-radius: 20px;
    }

    .banner-3{
        width: 100%;
        height: 650px;
        margin-top: -50px !important;
        object-fit: cover; /* Memastikan gambar tidak pecah dan tetap proporsional */      
        filter: brightness(0.8);
    }
}

.banner-container-2 h1 {
    position: absolute;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 6rem;
    text-align: center;
    border-radius: 100px;
    text-shadow: 5px 2px 3px #000000; 
}

.banner-container h1::after {
    content: "";
    display: block;
    margin: 10px auto;
    width: 100%;
    height: 3px;
    background-color: #85b729; /* Warna hijau muda */
}

.banner-container h4.slogan {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 1.5rem; /* Sesuaikan ukuran font */
    text-align: center;
    margin-top: 10px; /* Ruang antara h1 dan h4 */
}

/* Media query for smaller screens */
@media (max-width: 768px) {
    .banner-container {
        height: 300px; /* Sesuaikan tinggi banner pada layar kecil */
    }

    .banner-container h1 {
        font-size: 2rem; /* Kurangi ukuran font pada layar kecil */
        top: 35%; /* Atur ulang posisi h1 */
    }

    .banner-container h4.slogan {
        font-size: 1rem; /* Kurangi ukuran font slogan */
        top: 50%; /* Atur ulang posisi h4 agar tetap berada di bawah h1 */
        margin-top: 20px; /* Sesuaikan jarak antar elemen */
    }

    
}

@keyframes fadeIn{
    from{
        opacity: 0;
    }
    to{
        opacity: 1;
    }
}
.sawah-2{
    width: 100%;
    height: 400px;
    object-fit: cover;
    filter: brightness(90%);
    animation: fadeIn 1s ease-in forwards;
}

/* Media query for smaller screens */
@media (max-width: 768px) {
    .sawah-2{
        width: 100%;
        height: 200px;
        object-fit: cover;
        filter: brightness(90%);
    }
}

.text-justify{
    text-align: justify;
}

@media (max-width: 768px) {
    .content-1{
        font-size: 25px;
    }
}
.content-1 {
    animation: fadeIn 1s ease-in forwards;
}

@keyframes slideInLeft {
    from {
        width: 0%;
    }
    to {
        width: 100%;
    }
}
 .content-1::after {
    content: "";
    display: block;
    margin: 10px auto;
    width: 100%;
    height: 3px;
    background-color: #2b502f; /* Warna hijau muda */
    animation: slideInLeft 1s forwards; /*Terapkan animasi*/
}
/* Media query untuk layar HP */
@media (max-width: 768px) {
    
    .container-gambar-index{
        top: 0;
        margin-top: -90px !important;
    }
    .petani-1 {
        width: 100%;
        height: 400px !important;
        border-radius: 20px; /* Adjust the value as needed */
        animation: fadeIn 1s ease-in;
    }

    .circle {
        padding: 5px;
        width: 210px !important;
        height: 210px !important;
        background: rgb(10,116,18);
        background: linear-gradient(106deg, rgba(10,116,18,1) 0%, rgba(133,183,41,1) 100%);
        border-radius: 100%;
        color: white;
        text-align: center;
        box-shadow: rgba(255, 255, 255, 0.1) 0px 1px 1px 0px inset, rgba(50, 50, 93, 0.25) 0px 50px 100px -20px, rgba(0, 0, 0, 0.3) 0px 30px 60px -30px;
        animation: slideInUp 1s ease-in forwards; /*Terapkan animasi*/
    }
    .purity{
    margin-top: 15px !important;
    margin-bottom: 20px;
    display: inline-block;
    font-size: 20px !important;
    font-weight: 700;
    }

    .purity-2{
        
        font-size: 15px;
    }

    .content-5{
        font-size: 20px !important;
        color: #fff;
        background-color: #2b502f;
        padding: 10px;
        border-radius: 20px;
        display: block !important;
        text-align: center;
    }
    .fa-youtube-square{
        font-size: 30px;
        color: white;
        margin-left: 5px;
    }
    .qa-content-5{
        font-size: 30px !important;
        margin-top: -10px !important;
    }

    .qa-content-5-2{
        font-size: 15px !important;
        color: #85b729;
    }
 
}
.container-2{
    display: flex;
    justify-content: center; /* Untuk memusatkan secara horizontal */
    align-items: center;
    height: 30vh; /* Opsional, untuk memusatkan secara vertikal */
}
.our-product {
    background-color: #2b502f;
    display: inline-block; /* Membuat background hanya mengcover tulisan */
    padding: 10px 20px; /* Tambahan padding untuk memberi ruang di dalam elemen */
    text-align: center; /* Menyelaraskan teks di tengah */
    border-radius: 20px; /* Membuat border-radius */
    color: white; /* Agar teks terlihat jelas di atas background merah */
}

.petani-1 {
    height: 600px;
    border-radius: 20px; /* Adjust the value as needed */
    animation: fadeIn 1s ease-in;
}

.circle {
    width: 300px;
    height: 300px;
    background: rgb(10,116,18);
    background: linear-gradient(106deg, rgba(10,116,18,1) 0%, rgba(133,183,41,1) 100%);
    border-radius: 100%;
    color: white;
    text-align: center;
    box-shadow: rgba(255, 255, 255, 0.1) 0px 1px 1px 0px inset, rgba(50, 50, 93, 0.25) 0px 50px 100px -20px, rgba(0, 0, 0, 0.3) 0px 30px 60px -30px;
    animation: slideInUp 1s ease-in forwards; /*Terapkan animasi*/
    
}

.purity{
    margin-top: 100px;
    display: inline-block;
    font-size: 40px;
    font-weight: 700;
    
}

.content-5{
    font-size: 40px;
    color: #fff;
    background-color: #2b502f;
    padding: 10px;
    border-radius: 20px;
}

.petani-2{
    width: 100%;
    object-fit: cover;
}

.qa-content-5{
    color: #2b502f;
    font-size: 50px;
    margin-top: 100px;
   font-weight: 600;
}

.qa-content-5-2{
    font-size: 25px;
    color: #85b729;
}

.footer-kotak{
    margin-top: 20px;
    width: 100%;
    height: 100%;
    background-color: #2b502f;
}


.logo-footer{
    width: 50px;
    margin-top: 5px;
}

.logo-footer-2{
    width: 110px;
    margin-top: 5px;
}

.logo-footer-3{
    width: 110px;
    margin-top: 5px;
}

.footer-nama{
    color: white;
    font-weight: 500;
}

.footer-nama::after {
    text-align: left;
    content: "";
    display: block;
    margin-top: 10px;
    width: 100%;
    height: 3px;
    background-color: #ffffff; /* Warna hijau muda */
}

.fa-location-dot{
    margin-top: 20px;
    color: #fff;
}

.alamat-footer{
    color: white;
}

.fa-phone{
    margin-top: 10px;
    color: white;
}

.telpon-footer{
    color: white;
}

.sosmed{
    display: flex;
    margin-top: 10px;
    margin-left: 20px;
    font-weight: 500;
    color: white;
}

.fa-square-instagram{
    color: white;
    font-size: 50px;
    margin-left: 20px;
}
.fa-linkedin-square{
    font-size: 50px;
    color: white;
    margin-left: 5px;
}

.fa-youtube-square{
    font-size: 50px;
    color: white;
    margin-left: 5px;
}

.policy{
    display: flex;
    margin-top: 50px;
    color: white;
    margin-left: 20px;
    text-decoration: underline;
}

.partner{
    display: flex;
    color: white;
    font-weight: 500;
    margin-top: 10px;
}

.copyright{
    display: flex;
    color: white;
    margin-top: 10px;
}
@media (max-width : 768px){
    .logo-footer{
        width: 30px;
    }
    .footer-nama{
        color: white;
        font-weight: 500;
        font-size: 10px;
    }

    .fa-location-dot{
        margin-top: 20px;
        color: #fff;
        font-size: 10px;
    }

    .alamat-footer{
        color: white;
        font-size: 10px;
        
    }

    .fa-phone{
        margin-top: 10px;
        color: white;
        font-size: 10px;
    }
    
    .telpon-footer{
        color: white;
        font-size: 10px;
    }

    .sosmed{
        display: flex;
        margin-top: 10px;
        margin-left: 20px;
        font-weight: 500;
        font-size: 10px;
        color: white;
    }
    .fa-square-instagram{
        color: white;
        font-size: 30px;
        margin-left: 20px;
    }
    .fa-linkedin-square{
        font-size: 30px;
        color: white;
        margin-left: 5px;
    }
    .fa-youtube-square{
        font-size: 30px;
        color: white;
        margin-left: 5px;
    }
    .policy{
        display: flex;
        margin-top: 20px;
        color: white;
        margin-left: 20px;
        text-decoration: underline;
    }
    .copyright{
        display: flex;
        font-size: 10px;
        color: white;
        margin-top: 10px;
    }

    .product-banner{
        margin-top: -200px !important;
    }

    .sayuran-1{
        width: 100%;
        height: 400px !important;
        object-fit: cover;
        filter: brightness(0.8);
        animation: fadeIn 1s ease-in;
    }

    .Pupuk-Agrotis{
        width: 200px !important;
    }

    .text-product {
        background-color: white;
        margin-left: 0; /* Align text to the left within the col-6 */
        text-align: center;
        width: 100%;
        border-radius: 20px !important;
        color: #85b729;
        font-size: 30px !important;
    }

    .container-circle{
        margin-top: 50px !important;
    }

    .circle-2 {
        padding: 5px;
        width: 140px !important;
        height: 140px !important;
        background: rgb(10,116,18);
        background: linear-gradient(106deg, rgba(10,116,18,1) 0%, rgba(133,183,41,1) 100%);
        border-radius: 100%;
        color: white;
        text-align: center;
        box-shadow: rgba(255, 255, 255, 0.1) 0px 1px 1px 0px inset, rgba(50, 50, 93, 0.25) 0px 50px 100px -20px, rgba(0, 0, 0, 0.3) 0px 30px 60px -30px;
        animation: slideInUp 1s ease-in forwards; /*Terapkan animasi*/
    }

    .logo-footer-2{
        width: 80px;
        margin-top: 5px;
    }

    .logo-footer-3{
        width: 80px;
        margin-top: 5px;
    }
}
.product-banner{
    margin-top: -50px;
    position: relative;
    
}
.sayuran-1{
    width: 100%;
    height: 700px;
    object-fit: cover;
    filter: brightness(0.5);
    animation: fadeIn 1s ease-in;
    position: absolute;
   
}

.container-product{
    display: flex;
    position: relative;
    z-index:2;
    align-items: center;
    
}

.Pupuk-Agrotis{
    width: 300px;
}

.bg-colom {
    position: relative;
    padding: 20px; /* Ensure there is space around the text */
}

.h1-container {
    display: flex;
    justify-content: center;
    width: 100%;
}

.h1-product {
    background-color: #0d5032;
    color: white; /* Ensure text is readable on the red background */
    border-radius: 20px;
    padding: 10px 20px;
    text-align: center;
    display: inline-block; /* Ensures the background color only covers the text */
    margin-bottom: 10px; /* Space between the H1 and the text below */
}

.text-product {
    background-color: white;
    margin-left: 0; /* Align text to the left within the col-6 */
    text-align: center;
    width: 100%;
    border-radius: 40px;
    color: #85b729;
    font-size: 40px;
}

.text-product-2{
    color: white;
    margin-left: 0;
    text-align: center;
    font-size: 20px;
    font-weight: 500;
}

.container-circle{
    margin-top: 200px;
}

.circle-2 {
    width: 300px;
    height: 300px;
    background: rgb(10,116,18);
    background: linear-gradient(106deg, rgba(10,116,18,1) 0%, rgba(133,183,41,1) 100%);
    border-radius: 100%;
    color: white;
    text-align: center;
    box-shadow: rgba(255, 255, 255, 0.1) 0px 1px 1px 0px inset, rgba(50, 50, 93, 0.25) 0px 50px 100px -20px, rgba(0, 0, 0, 0.3) 0px 30px 60px -30px;
    animation: slideInUp 1s ease-in forwards; /*Terapkan animasi*/
    
}
.footer-product{
    margin-top: 0;
    z-index: 2;
    position: relative;
    margin-top: 50px;
}

.banner-contact-head {
    position: relative;
    display: flex;
  
    height: 750px; /* Set height as needed */
}

.banner-contact {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute; /* Allow the image to act as a background */
    top: 0;
    left: 0;
    z-index: 1; /* Behind the text */
    filter: brightness(0.9);
}

.h2-contact {
    position: relative;
    z-index: 2; /* Above the image */
    color: white; /* Adjust color as needed */
    font-size: 5rem; /* Adjust font size as needed */
    text-align: left;
    text-shadow: 5px 2px 10px #2b502f;
    margin-top: 150px; /* Remove default margin */
    margin-left: 100px;
}

.h2-contact::after{
    content: "";
    display: block;
    margin: auto;
    width: 100%;
    height: 6px;
    border-radius: 20px;
    background-color: #0d5032; /* Warna hijau muda */

}

.contact-text{
    z-index: 2;
    position: absolute;
    margin-top: 260px;
    font-weight: 600;
    font-size: 40px;
    margin-left: 100px;
    font-family: 'Great Vibes', cursive;
}

.btn-success{
    z-index: 2;
    position: absolute;
    margin-top: 340px;
    margin-left: 100px;
    font-size: 20px;
}

.sosial-media-contact{
    position: absolute;
    z-index: 2;
    margin-top: 410px;
    color: white;
    margin-left: 80px;

}

@media (max-width: 768px) {
    .h2-contact {
        position: relative;
        z-index: 2; /* Above the image */
        color: white; /* Adjust color as needed */
        font-size: 2rem; /* Adjust font size as needed */
        text-align: left;
        text-shadow: 5px 2px 10px #2b502f;
        margin-top: 150px; /* Remove default margin */
        margin-left: 50px;
    }

    
    .h2-contact::after{
        content: "";
        margin-top: 10px;
        display: block;
        
        width: 100%;
        height: 6px;
        border-radius: 20px;
        background-color: #0d5032; /* Warna hijau muda */

    }

    .contact-text{
        z-index: 2;
        position: absolute;
        margin-top: 220px;
        font-weight: 600;
        font-size: 30px;
        margin-left: 50px;
        font-family: 'Great Vibes', cursive;
    }
    
    .banner-contact {
        display: flex;
        width: 150%; /* Increase the width so the image does not get cut off */
        height: 100%;
        object-fit: cover;
        position: absolute;
        top: 0;
        z-index: 1;
        filter: brightness(0.9);
        transform: translateX(-20%); /* Move the image to the left */
        margin-left: -20%; /* Ensure the image doesn’t get cut off */
    }

    .btn-success{
        z-index: 2;
        position: absolute;
        margin-top: 260px;
        margin-left: 50px;
        font-size: 20px;
    }

    .sosial-media-contact{
        position: absolute;
        z-index: 2;
        margin-top: 310px;
        color: white;
        margin-left: 32px;
    
    }
}


.h2-contact-2{
    left: 50%;
    transform: translateX(-50%);
    margin-top: 10px;
    text-align: center;
    position: relative;
    display: inline-block;
    color: white;
    padding: 10px;
    border-radius: 20px;
    background-color: #0d5032;
    justify-content: center;
}

.form-label{
    color: white;
}

.btn-wa{
    color: white;
    background-color: #85b729;
    border: none;
}

.btn-wa:hover{
    color: white;
    background-color: #0d5032;
}
.kotak-contact {
    background-image: url(img/oat.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 400px;
}

.maps{
    width: 100%;
    height: 500px;
}