/* =========================================================
   ARTICLE
========================================================= */

.article{
    width:100%;
    max-width:1200px;

    margin:0 auto;

    padding:120px 25px;
}


/* =========================================================
   HERO
========================================================= */

.hero{
    width:100%;

    text-align:center;

    margin-bottom:80px;
}

.subtitle{
    display:inline-block;

    padding:10px 22px;

    background:#14744f;
    color:#fff;

    border-radius:50px;

    font-size:13px;
    letter-spacing:2px;
    font-weight:700;

    margin-bottom:25px;

    text-transform:uppercase;
}

.hero h1{
    margin:0;

    font-size:48px;

    font-weight:800;

    line-height:1.35;

    color:#fff;

    text-transform:uppercase;

    word-break:break-word;
}


/* =========================================================
   SECTION
========================================================= */

.section{
    width:100%;

    margin-bottom:80px;
}

.section h2{
    margin:0 0 35px;

    font-size:34px;

    font-weight:800;

    color:#fff;

    line-height:1.4;

    word-break:break-word;
}

.section .center{
    text-align:center;
}

.section p{
    margin:0 0 18px;

    color:#d8d8d8;

    font-size:17px;

    font-weight:500;

    line-height:1.9;

    word-break:break-word;
}


/* =========================================================
   GRID 2
========================================================= */

.grid-2{
    width:100%;

    display:grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap:30px;
}


/* =========================================================
   CARD
========================================================= */

.card{
    width:100%;

    background:#101010;

    border:1px solid #222;

    border-radius:20px;

    padding:35px;

    transition:
        transform .35s ease,
        border-color .35s ease,
        box-shadow .35s ease;

    overflow:hidden;
}

.card:hover{
    transform:translateY(-6px);

    border-color:#1ea46d;

    box-shadow:
        0 15px 35px rgba(30,164,109,.15);
}

.herbal{
    border-top:5px solid #1ea46d;
}

.konvensional{
    border-top:5px solid #b23b3b;
}

.card h3{
    margin:0 0 22px;

    font-size:28px;

    color:#fff;

    font-weight:800;

    line-height:1.35;

    word-break:break-word;
}

.card p{
    margin:0 0 18px;

    font-size:17px;

    color:#d5d5d5;

    font-weight:500;

    line-height:1.8;
}

.card p:last-child{
    margin-bottom:0;
}

.card strong{
    color:#59d892;

    font-weight:700;
}

/* =========================================================
   TITLE CENTER
========================================================= */

.center{
    text-align:center;

    color:#fff;

    font-size:42px;

    font-weight:800;

    line-height:1.3;

    margin:0 0 50px;

    word-break:break-word;
}


/* =========================================================
   KHASIAT
========================================================= */

.khasiat{
    width:100%;

    max-width:1200px;

    margin:50px auto 0;

    display:grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap:25px;
}

.khasiat .item{
    width:100%;

    min-width:0;

    display:flex;

    align-items:center;

    gap:25px;

    min-height:160px;

    padding:22px;

    background:
        linear-gradient(
            145deg,
            rgba(255,255,255,.035),
            rgba(255,255,255,.01)
        );

    border:1px solid rgba(34,197,94,.65);

    border-radius:22px;

    transition:
        transform .3s ease,
        border-color .3s ease,
        box-shadow .3s ease;

    overflow:hidden;
}

.khasiat .item:hover{
    transform:translateY(-5px);

    border-color:#4ade80;

    box-shadow:
        0 15px 40px rgba(34,197,94,.12);
}


/* =========================================================
   GAMBAR KHASIAT
========================================================= */

.item-image{
    width:105px;
    height:105px;

    min-width:105px;

    border-radius:50%;

    overflow:hidden;

    border:2px solid #22c55e;

    background:#06130b;

    flex-shrink:0;
}

.item-image img{
    width:100%;
    height:100%;

    display:block;

    object-fit:cover;

    transition:transform .4s ease;
}

.khasiat .item:hover .item-image img{
    transform:scale(1.08);
}


/* =========================================================
   TEXT KHASIAT
========================================================= */

.item-content{
    flex:1;

    min-width:0;
}

.item-content p{
    margin:0;

    color:#fff;

    font-size:19px;

    line-height:1.55;

    font-weight:700;

    word-break:break-word;
}

/* komposisi */

.komposisi {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 40px;
}

.komposisi-card {
    display: block;
    text-decoration: none;
    color: inherit;
}

.komposisi-image {
    position: relative;

    width: 100%;
    height: 250px;

    overflow: hidden;

    border-radius: 20px;

    background: #f4faf7;

    border: 1px solid rgba(30, 164, 109, 0.25);

    box-shadow:
        0 10px 30px rgba(30, 164, 109, 0.08);

    isolation: isolate;
}

.komposisi-image img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;

    transition: transform 0.5s ease;
}


/* GRADIENT DI ATAS GAMBAR */
.komposisi-image::after {
    content: "";

    position: absolute;
    inset: 0;

    background: linear-gradient(
        to top,
        rgba(0, 40, 25, 0.88) 0%,
        rgba(0, 40, 25, 0.45) 35%,
        rgba(0, 40, 25, 0.05) 70%,
        transparent 100%
    );

    z-index: 1;
}


/* CONTENT DI DALAM FOTO */
.komposisi-overlay {
    position: absolute;

    left: 0;
    right: 0;
    bottom: 0;

    padding: 25px;

    z-index: 2;
}

.komposisi-overlay h3 {
    margin: 0 0 8px;

    color: #ffffff;

    font-size: 15px;
    font-weight: 700;
}

.komposisi-overlay span {
    display: inline-flex;
    align-items: center;
    gap: 7px;

    color: #b9f0d5;

    font-size: 13px;
    font-weight: 600;

    transition: gap 0.3s ease;
}


/* HOVER */
.komposisi-card:hover .komposisi-image img {
    transform: scale(1.07);
}

.komposisi-card:hover .komposisi-overlay span {
    gap: 11px;
}

/* =========================================================
   LARGE TABLET
   1200px
========================================================= */

@media(max-width:1200px){

    .article{
        padding-left:30px;
        padding-right:30px;
    }

    .khasiat{
        grid-template-columns:
            repeat(3, minmax(0,1fr));

        gap:20px;
    }

    .khasiat .item{
        gap:18px;

        padding:20px;
    }

    .item-image{
        width:90px;
        height:90px;
        min-width:90px;
    }

    .item-content p{
        font-size:17px;
    }

}


/* =========================================================
   TABLET
   1000px
========================================================= */

@media(max-width:1000px){

    .article{
        padding:100px 25px;
    }

    .hero{
        margin-bottom:65px;
    }

    .hero h1{
        font-size:40px;
    }

    .section{
        margin-bottom:65px;
    }

    .section h2{
        font-size:30px;

        margin-bottom:28px;
    }

    .section p{
        font-size:16px;

        line-height:1.8;
    }


    /* GRID */

    .grid-2{
        grid-template-columns:
            repeat(2, minmax(0,1fr));

        gap:20px;
    }

    .card{
        padding:28px;
    }

    .card h3{
        font-size:25px;
    }

    .card p{
        font-size:16px;
    }


    /* KHASIAT */

    .khasiat{
        grid-template-columns:
            repeat(2, minmax(0,1fr));

        gap:20px;

        margin-top:40px;
    }

    .khasiat .item{
        min-height:140px;

        padding:20px;

        gap:18px;

        border-radius:20px;
    }

    .item-image{
        width:90px;
        height:90px;

        min-width:90px;
    }

    .item-content p{
        font-size:17px;
    }


    /* TITLE */

    .center{
        font-size:36px;

        margin-bottom:40px;
    }

}


/* =========================================================
   SMALL TABLET
   768px
========================================================= */

@media(max-width:768px){

    .article{
        padding:80px 20px;
    }

    .hero{
        margin-bottom:55px;
    }

    .subtitle{
        padding:9px 18px;

        font-size:11px;

        letter-spacing:1.5px;

        margin-bottom:20px;
    }

    .hero h1{
        font-size:34px;

        line-height:1.3;
    }


    /* SECTION */

    .section{
        margin-bottom:55px;
    }

    .section h2{
        font-size:28px;

        line-height:1.35;

        margin-bottom:25px;
    }

    .section p{
        font-size:16px;

        line-height:1.8;
    }


    /* GRID MENJADI 1 KOLOM */

    .grid-2{
        grid-template-columns:1fr;

        gap:18px;
    }

    .card{
        padding:25px;

        border-radius:18px;
    }

    .card h3{
        font-size:24px;

        margin-bottom:18px;
    }

    .card p{
        font-size:16px;

        line-height:1.75;
    }


    /* KOMPOSISI */

    .komposisi{
        gap:10px;
    }

    .komposisi a{
        padding:12px 18px;

        font-size:14px;
    }


    /* KHASIAT */

    .khasiat{
        grid-template-columns:1fr;

        gap:16px;

        margin-top:35px;
    }

    .khasiat .item{
        min-height:125px;

        padding:18px;

        gap:20px;

        border-radius:18px;
    }

    .item-image{
        width:85px;
        height:85px;

        min-width:85px;
    }

    .item-content p{
        font-size:17px;

        line-height:1.5;
    }


    /* TITLE */

    .center{
        font-size:32px;

        margin-bottom:35px;
    }

}


/* =========================================================
   MOBILE
   600px
========================================================= */

@media(max-width:600px){

    .article{
        padding:65px 16px;
    }

    .hero{
        margin-bottom:45px;
    }

    .subtitle{
        padding:8px 16px;

        font-size:10px;

        letter-spacing:1.2px;

        margin-bottom:18px;
    }

    .hero h1{
        font-size:29px;

        line-height:1.3;
    }


    /* SECTION */

    .section{
        margin-bottom:45px;
    }

    .section h2{
        font-size:25px;

        line-height:1.35;

        margin-bottom:20px;
    }

    .section p{
        font-size:15px;

        line-height:1.75;
    }


    /* CARD */

    .card{
        padding:22px;

        border-radius:17px;
    }

    .card h3{
        font-size:22px;

        margin-bottom:15px;
    }

    .card p{
        font-size:15px;

        line-height:1.7;
    }


    /* KOMPOSISI */

    .komposisi{
        gap:8px;
    }

    .komposisi a{
        padding:10px 15px;

        font-size:13px;
    }


    /* KHASIAT */

    .khasiat{
        margin-top:30px;

        gap:14px;
    }

    .khasiat .item{
        min-height:110px;

        padding:15px;

        gap:15px;

        border-radius:16px;
    }

    .item-image{
        width:72px;
        height:72px;

        min-width:72px;
    }

    .item-content p{
        font-size:15px;

        line-height:1.5;
    }


    /* TITLE */

    .center{
        font-size:28px;

        line-height:1.3;

        margin-bottom:30px;
    }

}


/* =========================================================
   SMALL MOBILE
   480px
========================================================= */

@media(max-width:480px){

    .article{
        padding:55px 14px;
    }


    /* HERO */

    .subtitle{
        padding:7px 14px;

        font-size:9px;

        letter-spacing:1px;
    }

    .hero h1{
        font-size:25px;

        line-height:1.3;
    }


    /* SECTION */

    .section h2{
        font-size:22px;

        margin-bottom:18px;
    }

    .section p{
        font-size:14px;

        line-height:1.7;
    }


    /* CARD */

    .card{
        padding:19px;

        border-radius:15px;
    }

    .card h3{
        font-size:20px;
    }

    .card p{
        font-size:14px;

        line-height:1.7;
    }


    /* KOMPOSISI */

    .komposisi{
        display:grid;

        grid-template-columns:
            repeat(2, minmax(0,1fr));

        gap:8px;
    }

    .komposisi a{
        width:100%;

        padding:10px 8px;

        text-align:center;

        font-size:12px;

        border-radius:30px;
    }


    /* KHASIAT */

    .khasiat{
        gap:12px;
    }

    .khasiat .item{
        padding:13px;

        gap:13px;

        min-height:100px;
    }

    .item-image{
        width:65px;
        height:65px;

        min-width:65px;
    }

    .item-content p{
        font-size:14px;

        line-height:1.45;
    }


    /* TITLE */

    .center{
        font-size:25px;

        margin-bottom:25px;
    }

}


/* =========================================================
   EXTRA SMALL MOBILE
   360px
========================================================= */

@media(max-width:360px){

    .article{
        padding:45px 12px;
    }


    .hero h1{
        font-size:22px;
    }


    .subtitle{
        font-size:8px;

        padding:6px 12px;
    }


    .section h2{
        font-size:20px;
    }


    .section p{
        font-size:13px;
    }


    .card{
        padding:16px;
    }


    .card h3{
        font-size:18px;
    }


    .card p{
        font-size:13px;
    }


    .khasiat .item{
        padding:11px;

        gap:11px;
    }


    .item-image{
        width:58px;
        height:58px;

        min-width:58px;
    }


    .item-content p{
        font-size:13px;
    }


    .center{
        font-size:22px;
    }

}