/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@200;300;400;500;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Merriweather:ital,wght@0,300;0,400;1,300&family=Poppins:ital,wght@0,200;0,500;0,600;0,700;1,200&display=swap');

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-padding-top: 2rem;
    text-decoration: none;
    list-style: none;
    scroll-behavior: smooth;
    font-family: 'Poppins', sans-serif;
}
:root{
    --main-green-color:#115400;
    --secondary-green-color:#6D9864;
}
section{
    padding: 50px 10%;
}
*::selection{
    color: #fff;
    background: var(--main-green-color);
}
img{
    width: 100%;
}
header{
    position: fixed;
    width: 100%;
    top: 0;
    right: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: white;
    box-shadow: 0 4px 41px rgb(14 55 54 / 14%);
    padding: 15px 10%;
    transition: 0.2s;
}
.logo {
    display: flex;
    align-items: center;
}
.logo img {
    width: 100px;
}
.navbar {
    display: flex;
}
.navbar a {
    font-size: 1rem;
    padding: 11px 20px;
    color: var(--second-green-color);
    font-weight: 600;
    text-transform: capitalize;
}
.navbar a:hover{
    color: var(--main-green-color);
} 
#menu-icon{
    font-size: 24px;
    cursor: pointer;
    z-index: 1001;
    display: none;
}

.home{
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    background: #dff3e2;
    gap: 1rem;
}

.home-text{
    flex: 1 1 17rem;
}

.home-img{
    display: flex;
    position: absolute;
    top: -1100px;
    right: -1000px;
}

.home-img img{
    animation: animate 3s linear infinite;
}
@keyframes animate{
    0% {
        transform: translate(-11px, 0);
    }
    50% {
        transform: translate(-0px, -11px);
    }
    100% {
        transform: translate(-11px, 0);
    }
}
.home-text span{
    font-size: 1rem;
    text-transform: uppercase;
    font-weight: 600;
    color: var(--main-green-color);
    padding-bottom: 3cm;
    
}
.home-text h1{
    font-family: 'Merriweather', serif;
    font-size: 3.2rem;
    font-weight: bolder;
    margin-top: 20px;
    margin-bottom: 20px;
}
.home-text h2 {
    font-size: 1.8rem;
    font-weight: 600;
    color: #FF8A00;
    text-transform: uppercase;
    margin: 0.5rem 0 1 1.4rem;
    margin-bottom: 20px;
}
.btn{
    padding: 7px 16px;
    border: 2px solid var(--main-green-color);
    border-radius: 40px;
    color: #115400;
    font-weight: 500;
}
.btn:hover{
    color: #fff;
    background-color: var(--main-green-color);
}
.services{
    background-color: #dff3e2;
    font-family: 'Poppins', sans-serif;
    min-height: 100vh;
    text-align:center
}
.services-text{
    text-align: center;
}
.service-text span{
    text-align: center;
    font-size: 1rem;
    text-transform: uppercase;
    font-weight: bold;
    font-family: 'Poppins', sans-serif;
    color: var(--main-green-color);
    margin-bottom: 20px;
}
.service-text h1{
    text-align: center;
    font-size: 2.5rem;
    text-transform: capitalize;
    font-weight: bold;    
    font-family: 'Merriweather', serif;
    color: #3d3d3d;
    margin-bottom: 20px;
}
.grid{
    display: grid;
    width: 100%;
    grid-gap: 6rem;
    margin-top: 20px;
    grid-template-columns: repeat(auto-fit, minmax(30rem, 1fr));    
}

.grid-item{
    background-color: #fff;
    border-radius: 2rem;
    width: 30em;
    overflow: hidden;
    box-shadow: 0 3rem 6rem rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: 0.2s;
}
.grid-item:hover{
    transform: translateY(-0.5%);
    box-shadow: 0 4rem 8rem rgba(0, 0, 0, 0.5);
}

.card .img-container{
    width: 100%;
    top: 50%;
    object-fit: cover;
}

.img-wrapper{ /*wrapper*/
    width: 100%;
    display: flex;
    animation: slide 14s infinite;
}
@keyframes slide{
    0%{
        transform: translateX(0);
    }
    25%{
        transform: translateX(0);
    }
    30%{
        transform: translateX(-100%);
    }
    50%{
        transform: translateX(-100%);
    }
    55%{
        transform: translateX(-200%);
    }
    75%{
        transform: translateX(-200%);
    }
    80%{
        transform: translateX(-300%);
    }
    100%{
        transform: translateX(-300%);
    }
}
.card-img{
    display: block;
    width: 100%;
    height: 15rem;
    object-fit: cover;
}
.card-content{
    padding: 3rem; 
}
.car-header{
    font-size: 3rem;
    font-weight: 500;
    color: var(--main-green-color);
    margin-bottom: 1.5rem;
}
.card-text{
    font-size: 1.6rem;
    letter-spacing: 0.1rem;
    line-height: 1.7;
    color: #3d3d3d;
    margin-bottom: 2.5rem;
}
.card-btn{
    display: block;
    width: 100%;
    padding: 1.5rem;
    font-size: 1rem;
    text-align: center;
    color: #115400;
    border:none;
    border-radius: 10rem;
    transition: 0.2s;
    cursor: pointer;
    letter-spacing: 0.1rem;
}

.card-btn span{
    margin-left: 1rem;
    transition: 0.2s;
}

@media only screen and (max-width: 60em) {
    .grid-item{
        padding: 3rem;
    }

    .grid{
        grid-gap: 3rem;
    }
}

.offer{
    background-color: #dff3e2;
    font-family: 'Poppins', sans-serif;
    min-height: 100vh;
    text-align:left
}

.offer span{
    text-align: left;
    font-size: 1rem;
    text-transform: uppercase;
    font-weight: bold;
    font-family: 'Poppins', sans-serif;
    color: var(--main-green-color);
    margin-bottom: 20px;
}

.offer h1{
    text-align: left;
    font-size: 2.5rem;
    text-transform: capitalize;
    font-weight: bold;    
    font-family: 'Merriweather', serif;
    color: #3d3d3d;
    margin-bottom: 20px;
}

.offer-content{
  display: flex;
  grid-auto-flow: column;
  gap: 4px;
  align-items: center;
  justify-items: center;
  margin-top: 20px;
}

.offer-content .column{
    background-color: #fff;
    border-radius: 20px;
    border-radius: 2rem;
    width: 35em;
    box-shadow: 0 3rem 6rem rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: 0.2s;
    margin-top: 20px;
    padding: 10px;
    text-align: center;  
}

.offer-content .column:hover{
    transform: translateY(-0.5%);
    box-shadow: 0 4rem 8rem rgba(0, 0, 0, 0.5);
}

.offer-content .column span{
    text-align: center;  
    text-transform: capitalize; 
    font-family: 'Poppins', sans-serif;
    color: var(--main-green-color);
    font-size: 50px;
    margin-top: 20px;
    margin-bottom: 20px;
}

.offer-content .column ul.offer-list{
    
    text-align: left; 
    text-transform: capitalize;
    font-family: 'Poppins', sans-serif;
    color: #3d3d3d;
    font-size: 25px;
    line-height: 70px;
    margin-top: 20px;
    margin-right: 20px;
    margin-left: 20px;
    margin-bottom: 20px;
}

.offer-content .column ul.offer-list li{
    list-style-position: inside;
    display: list-item;
    list-style-type: circle;
}

.aboutus{
    background-color: #dff3e2;
    font-family: 'Poppins', sans-serif;
    min-height: 100vh;
    text-align:center
}

.aboutus-text{
    text-align: center;
}
.aboutus-text span{
    text-align: center;
    font-size: 1rem;
    text-transform: uppercase;
    font-weight: bold;
    font-family: 'Poppins', sans-serif;
    color: var(--main-green-color);
    margin-bottom: 20px;
}
.aboutus-text h1{
    text-align: center;
    font-size: 2.5rem;
    text-transform: capitalize;
    font-weight: bold;    
    font-family: 'Merriweather', serif;
    color: #3d3d3d;
    margin-bottom: 20px;
}

.logo1 img{
    height: 200px;
    width: 450px;
}

.contacts{
    background-color: #528d5b;
    display: flex;
    flex-direction: column;
    align-items: center;
    font-family: 'Poppins', sans-serif;
    min-height: 30vh;
    text-align:center
}

.contacts-text{
    text-align: center;
    margin: 20px;
}

.contacts-text span{
    text-align: center;
    font-size: 1rem;
    text-transform: uppercase;
    font-weight: bold;
    font-family: 'Poppins', sans-serif;
    color: white;
    margin-bottom: 20px;
}

.alamat {
    text-align: center;
    font-size: 1rem;
    font-family: 'Poppins', sans-serif;
    color: white;
    margin-bottom: 20px;
}

.social a .bx{
    padding: 5px;
    color: #fff;
    background: #3d3d3d;
    border-radius: 100%;
    margin-top: 20px;
    margin-bottom: 20px;
}

.social a .bx:hover{
    background: var(--main-green-color);
}

.links{
    margin: 1rem 0 1rem;
}

.links a{
    font-size: 1rem;
    font-weight: 500;
    color: #c3c3c3;
    padding: 1rem;
}

.links a:hover{
    color: #dff3e2;
}

.contacts-text p{
    color: white;
}