:root{
    --primary:#0F8B4C;
    --secondary:#FFC107;
    --dark:#1F2937;
    --light:#FFFFFF;
    --bg:#F8FAFC;
}

/* =========================
   GLOBAL
========================= */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{
    padding-top:70px;
    font-family:'Poppins',sans-serif;
    background:var(--bg);
    color:var(--dark);
    overflow-x:hidden;
}

section{
    position:relative;
}

h1,h2,h3,h4,h5{
    font-weight:700;
}

h2{
    color:var(--primary);
    margin-bottom:20px;
}

/* =========================
   NAVBAR
========================= */

.navbar{
    position:fixed;
    top:0;
    width:100%;
    z-index:999;
    padding:16px 0;

    background:rgba(255,255,255,.15);
    backdrop-filter:blur(15px);

    transition:.4s;
}

.navbar.scrolled{
    background:#ffffff;
    box-shadow:0 8px 25px rgba(0,0,0,.08);
}

.navbar-brand{
    font-size:24px;
    font-weight:700;
    color:var(--primary)!important;
}

.nav-link{
    color:var(--dark)!important;
    font-weight:500;
    position:relative;
    margin-left:10px;
}

.nav-link::after{
    content:'';
    position:absolute;
    left:0;
    bottom:-5px;
    width:0;
    height:2px;
    background:var(--secondary);
    transition:.3s;
}

.nav-link:hover::after{
    width:100%;
}

.nav-link:hover{
    color:var(--primary)!important;
}

/* =========================
   HERO
========================= */

.hero{
    min-height:100vh;
    display:flex;
    align-items:center;
    padding-top:20px;

    background:
    linear-gradient(
        rgba(0,0,0,.45),
        rgba(0,0,0,.45)
    ),
    url('../images/bg.png');

    background-size:cover;
    background-position:center -60px;
    background-attachment:fixed;

    color:white;
}

.hero .container{
    display:flex;
    justify-content:flex-start;
}

.hero-content{
    width:100%;
    max-width:800px;
    text-align:left;
    padding-left:0;
    margin-top:40px;
}

.hero h1{
    font-size:52px;
    font-weight:700;
    line-height:1.2;
    max-width:650px;
    margin:0 0 20px 0;
    text-align:left;
}

.hero p{
    font-size:18px;
    max-width:550px;
    margin-bottom:30px;
    text-align:left;
}

.hero-buttons{
    display:flex;
    gap:15px;
    margin-bottom:40px;
}

.hero-stats{
    display:flex;
    gap:40px;
}

.hero-stats div{
    text-align:left;
}

.hero-stats h3{
    font-size:34px;
    margin-bottom:5px;
    color:white;
}

.hero-stats span{
    font-size:14px;
    color:#eee;
}

/* =========================
   BUTTON
========================= */

.btn-warning{
    background:var(--secondary);
    border:none;
    border-radius:50px;

    padding:14px 35px;
    font-weight:600;

    transition:.3s;
}

.btn-warning:hover{
    transform:translateY(-5px);
    box-shadow:0 10px 25px rgba(255,193,7,.4);
}

.btn-success{
    background:var(--primary);
    border:none;
    border-radius:50px;

    padding:12px 30px;
    font-weight:600;

    transition:.3s;
}

.btn-success:hover{
    background:#0c6e3d;
    transform:translateY(-4px);
}

/* =========================
   STATISTIK
========================= */

.stat-box{
    background:white;

    padding:35px;
    border-radius:25px;

    text-align:center;

    box-shadow:
    0 10px 30px rgba(0,0,0,.06);

    transition:.4s;
}

.stat-box:hover{
    transform:translateY(-10px);
}

.stat-box h2{
    color:var(--primary);
    font-size:40px;
    margin-bottom:10px;
}

.stat-box p{
    margin:0;
    color:#666;
}

/* =========================
   FEATURE CARD
========================= */

.feature-card{
    background:white;

    padding:35px;
    border-radius:25px;

    text-align:center;

    height:100%;

    box-shadow:
    0 10px 30px rgba(0,0,0,.05);

    transition:.4s;
}

.feature-card:hover{
    transform:translateY(-10px);
    box-shadow:
    0 15px 35px rgba(0,0,0,.1);
}

.feature-card .icon{
    font-size:50px;
    margin-bottom:15px;
}

/* =========================
   CARD PRODUK
========================= */

.card{
    border:none;
    border-radius:25px;

    overflow:hidden;

    box-shadow:
    0 15px 40px rgba(0,0,0,.08);

    transition:.4s;
}

.card:hover{
    transform:
    translateY(-10px)
    scale(1.02);
}

.card img{
    height:220px;
    object-fit:cover;
}

.card-body{
    padding:25px;
}

.card h5{
    font-weight:600;
    color:var(--primary);
}

.product-card{
    border-radius:20px;
}

.product-card .card-body{
    padding:18px;
}

.product-card h5{
    font-size:16px;
    font-weight:600;
}

.product-card p{
    font-size:13px;
    line-height:1.5;
}

.product-card img{
    transition:.4s;
}

.product-card:hover img{
    transform:scale(1.08);
}

/* =========================
   ABOUT IMAGE
========================= */

.img-fluid{
    border-radius:25px;
}

/* =========================
   TESTIMONI
========================= */

.testimoni{
    background:white;

    padding:30px;
    border-radius:25px;

    height:100%;

    box-shadow:
    0 10px 25px rgba(0,0,0,.08);

    transition:.4s;
}

.testimoni:hover{
    transform:translateY(-10px);
}

.testimoni b{
    color:var(--primary);
}

/* =========================
   CTA SECTION
========================= */

.cta-section{
    padding:100px 0;

    background:
    linear-gradient(
        135deg,
        #0F8B4C,
        #146C43
    );

    color:white;
}

.cta-section h2{
    color:white;
    font-size:45px;
}

.cta-section p{
    font-size:18px;
    margin-bottom:30px;
}

/* =========================
   FOOTER
========================= */

.footer{
    background:#111827;
    color:white;

    padding:70px 0 30px;
}

.footer h4{
    color:var(--secondary);
    margin-bottom:20px;
}

.footer p{
    color:#d1d5db;
}

.footer hr{
    margin:30px 0;
    opacity:.2;
}

/* =========================
   ANIMATION
========================= */

@keyframes fadeUp{

    from{
        opacity:0;
        transform:translateY(40px);
    }

    to{
        opacity:1;
        transform:translateY(0);
    }

}

/* =========================
   SCROLLBAR
========================= */

::-webkit-scrollbar{
    width:8px;
}

::-webkit-scrollbar-track{
    background:#f1f1f1;
}

::-webkit-scrollbar-thumb{
    background:var(--primary);
    border-radius:20px;
}

/* =========================
   RESPONSIVE
========================= */

@media(max-width:992px){

.hero h1{
    font-size:55px;
}

}

@media(max-width:768px){

.hero{
    padding:120px 20px;
}

.hero h1{
    font-size:40px;
}

.hero p{
    font-size:16px;
}

.navbar-brand{
    font-size:24px;
}

.stat-box{
    margin-bottom:20px;
}

.card img{
    height:250px;
}

.cta-section h2{
    font-size:32px;
}

}

@media(max-width:576px){

.hero h1{
    font-size:34px;
}

.hero p{
    font-size:15px;
}

.btn-warning,
.btn-success{
    width:100%;
}

}