:root{
	--green-primary:#119847;
	--green-dark:#0d7a39;
	--orange-primary:#f7931a;
}

/* ================= GLOBAL ================= */
*{
	margin:0;
	padding:0;
	box-sizing:border-box;
}

body{
    font-family:'Poppins',sans-serif;
    background:#f1fec6;
    overflow-x:hidden;
}

/* ================= HERO SLIDER ================= */
.hero-slider{
    position:relative;
    height:100vh;
    overflow:hidden;
}

.slides{
    display:flex;
    height:100%;
    transition:transform 0.8s ease-in-out;
}

.slide{
    min-width:100%;
    height:100vh;
    background-size:cover;
    background-position:center;
    position:relative;
}

.overlay{
    position:absolute;
    top:0;
    left:0;
    width:100%;
    height:100%;
    background:rgba(0,0,0,0.45);
}

.hero-content{
    position:absolute;
    top:50%;
    left:50%;
    transform:translate(-50%, -50%);
    text-align:center;
    color:white;
    z-index:2;
    padding:20px;
}

.hero-content img{
    width:200px;
    margin-bottom:25px;
}

/* ================= LINKS ================= */
.links{
    padding:80px 20px;
    text-align:center;
}

.links h2{
    font-family:'Playfair Display',serif;
    font-size:2rem;
    color:var(--green-dark);
    margin-bottom:40px;
}

.grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
    gap:30px;
    max-width:1100px;
    margin:auto;
}

.card{
    background:white;
    padding:30px 20px;
    border-radius:20px;
    border:1px solid #eee;

    display:flex;
    flex-direction:column;
    justify-content:space-between;

    transition:0.3s;
}

.card:hover{
    transform:translateY(-10px);
    box-shadow:0 20px 40px rgba(0,0,0,0.1);
}

.card-content{
    flex-grow:1;
}

.card h3{
    color:var(--green-dark);
    margin-bottom:10px;
}

.card p{
    font-size:0.9rem;
    color:#555;
    min-height:40px; /* biar rata */
}

.qr img{
    margin-top:15px;
    width:150px;
    height:150px;
}

.btn{
    display:inline-block;
    margin-top:15px;
    padding:12px 25px;
    background:var(--green-primary);
    color:white;
    text-decoration:none;
    border-radius:40px;
    font-weight:600;
    transition:0.3s;
}

.btn:hover{
    background:var(--green-dark);
}

/* ================= FOOTER ================= */
footer{
    padding:40px;
    text-align:center;
    background:#111;
    color:#aaa;
    font-size:0.85rem;
}

/* ================= SCROLL INDICATOR ================= */
.scroll-indicator{
    position:absolute;
    bottom:30px;
    left:50%;
    transform:translateX(-50%);
    text-align:center;
    color:white;
    z-index:3;
    font-size:0.85rem;
    letter-spacing:2px;
    opacity:0.8;
}

.scroll-indicator span{
    display:block;
    width:24px;
    height:40px;
    border:2px solid white;
    border-radius:20px;
    margin:0 auto 8px;
    position:relative;
}

.scroll-indicator span::after{
    content:"";
    position:absolute;
    top:8px;
    left:50%;
    transform:translateX(-50%);
    width:4px;
    height:8px;
    background:white;
    border-radius:4px;
    animation:scrollAnim 1.8s infinite;
}

@keyframes scrollAnim{
    0%{opacity:1; top:8px;}
    100%{opacity:0; top:22px;}
}

/* ================= SUBSCRIBE ================= */
.subscribe{
    display:flex;
    justify-content:center;
    align-items:center;
    min-height:91.6vh;
    padding:20px;
}

.box{
    background:white;
    padding:35px 30px;
    border-radius:15px;
    width:100%;
    max-width:500px;
    text-align:center;
    box-shadow:0 10px 30px rgba(0,0,0,0.08);
}

/* TITLE */
.sub_title h2{
    color:var(--green-dark);
    margin-top:10px;
}

.sub_title p{
    font-size:0.9rem;
    margin-top:5px;
    color:#555;
}

.sub_line{
    margin:20px 0;
    border:none;
    border-top:1px solid #eee;
}

/* FORM */
.form-group{
    text-align:left;
    margin-bottom:10px;
}

input, textarea{
    width:100%;
    padding:12px;
    border-radius:8px;
    border:1px solid #ccc;
    font-size:0.9rem;
    transition:0.2s;
}

input:focus, textarea:focus{
    border-color:var(--green-primary);
    outline:none;
}

textarea{
    resize:none;
}

/* ERROR */
.input-error{
    border:1px solid red !important;
    background:#fff5f5;
}

.error-text{
    color:red;
    font-size:0.75rem;
    margin-top:3px;
}

/* BUTTON */
.btn-group{
    margin-top:15px;
}

.btn-primary{
    background:var(--green-primary);
    color:white;
    border:none;
    padding:12px;
    width:100%;
    border-radius:8px;
    cursor:pointer;
    font-weight:600;
    margin-bottom:10px;
    transition:0.3s;
}

.btn-primary:hover{
    background:var(--green-dark);
}

.btn-secondary{
    display:block;
    text-align:center;
    padding:10px;
    border-radius:8px;
    border:1px solid var(--green-primary);
    color:var(--green-primary);
    text-decoration:none;
    font-weight:500;
    transition:0.3s;
}

.btn-secondary:hover{
    background:#eafff2;
}

/* ================= SUCCESS ================= */
.success-box{
    display:none;
    text-align:center;
    padding:10px;
    animation:fadeIn 0.5s ease;
}

.success-box h3{
    color:var(--green-primary);
    margin-bottom:10px;
}

.success-box p{
    margin-bottom:8px;
    line-height:1.5;
}

.success-box .btn-primary{
    margin-top:20px;
}

/* ANIMATION */
@keyframes fadeIn{
    from{
        opacity:0;
        transform:translateY(10px);
    }
    to{
        opacity:1;
        transform:translateY(0);
    }
}

/* ================= RESPONSIVE ================= */
@media(max-width:768px){

    .hero-content img{
        width:150px;
    }

    .links h2{
        font-size:1.5rem;
    }
}