/* ===================================
   GLOBAL
=================================== */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:'Segoe UI',sans-serif;
}

html{
    scroll-behavior:smooth;
}

body{
    background:#f5f7fb;
    overflow-x:hidden;
}

/* ===================================
   HERO SLIDER
=================================== */

.hero-slider{
    position:relative;
    width:100%;
    height:100vh;
    overflow:hidden;
    min-height:100vh;
}

/* Slide */

.slide{
    position:absolute;
    inset:0;
    opacity:0;
    visibility:hidden;
    overflow:hidden;
    transition:opacity .8s ease;
}

.slide.active{
    opacity:1;
    visibility:visible;
}

/* Background */

.slide-bg{
    position:absolute;
    inset:0;
    width:100%;
    height:100%;
    object-fit:cover;
    z-index:1;
}

/* Overlay */

.overlay{
    position:absolute;
    inset:0;
    background:rgba(0,0,0,.65);
    z-index:2;
}

/* Hero Content */

.hero-content{
    position:absolute;
    top:50%;
    left:8%;
    transform:translateY(-50%);
    max-width:800px;
    color:#fff;
    z-index:5;
}

.hero-subtitle{
    display:inline-block;
    font-size:20px;
    font-weight:700;
    color:#fff;
    text-transform:uppercase;
    letter-spacing:2px;
    padding-bottom:10px;
    border-bottom:3px solid #4682b4;
    margin-bottom:25px;
}

.hero-content h1{
    font-size:60px;
    line-height:1.15;
    margin-bottom:25px;
    font-weight:800;
    text-shadow:0 8px 20px rgba(0,0,0,.35);
}

.hero-content p{
    font-size:20px;
    line-height:34px;
    margin-bottom:35px;
    color:#f3f3f3;
}

/* Button */

.hero-btn{
    display:flex;
    gap:18px;
    flex-wrap:wrap;
}

.btn-primary{
    background:#4682b4;
    color:#fff;
    padding:15px 35px;
    border-radius:50px;
    text-decoration:none;
    font-weight:600;
    transition:.35s;
}

.btn-primary:hover{
    background:#0d47a1;
    transform:translateY(-4px);
}

.btn-outline{
    border:2px solid #fff;
    color:#fff;
    padding:15px 35px;
    border-radius:50px;
    text-decoration:none;
    font-weight:600;
    transition:.35s;
}

.btn-outline:hover{
    background:#fff;
    color:#1565c0;
}

/* Slider Button */
.prev,
.next{
    position:absolute;
    top:50%;
    transform:translateY(-50%);
    width:55px;
    height:55px;
    border:none;
    border-radius:50%;
    background:rgba(255,255,255,.18);
    backdrop-filter:blur(8px);
    color:#fff;
    cursor:pointer;
    font-size:20px;
    z-index:20;
    transition:.3s;
}

.prev{
    left:30px;
}

.next{
    right:30px;
}

.prev:hover,
.next:hover{
    background:#4682b4;
}

/* Slider Dot */
.slider-dot{
    position:absolute;
    left:50%;
    bottom:80px;
    transform:translateX(-50%);
    display:flex;
    gap:12px;
    z-index:20;
}

.dot{
    width:14px;
    height:14px;
    border-radius:50%;
    background:rgba(255,255,255,.45);
    cursor:pointer;
    transition:.3s;
}

.dot.active{
    background:#fff;
    transform:scale(1.3);
}

/* Bottom Gradient */
.hero-slider::after{
    content:"";
    position:absolute;
    left:0;
    bottom:0;
    width:100%;
    height:180px;
    background:linear-gradient(
        to bottom,
        rgba(255,255,255,0),
        rgba(255,255,255,.12),
        rgba(255,255,255,.35),
        #fff
    );
    pointer-events:none;
    z-index:10;
}

/* ===================================
   PRODUK UNGGULAN
=================================== */

.produk-home{
    background:#fff;
    padding:100px 7%;
}

.produk-home h2{
    text-align:center;
    font-size:42px;
    color:#4682b4;
    font-weight:800;
    margin-bottom:15px;
}

.produk-home > p{
    text-align:center;
    color:#666;
    font-size:17px;
    margin-bottom:60px;
}

/* =====================
   GRID PRODUK
===================== */
.produk-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
    gap:25px;
}

/* =====================
   CARD
===================== */
.home-card{
    position:relative;
    background:#fff;
    border-radius:18px;
    overflow:hidden;
    border:1px solid #ececec;
    box-shadow:0 10px 25px rgba(0,0,0,.08);
    transition:.35s;
}

.home-card:hover{
    transform:translateY(-10px);
    box-shadow:0 20px 45px rgba(0,0,0,.18);
}


/* =====================
   IMAGE
===================== */
.card-img{
    width:100%;
    height:220px;
    display:flex;
    justify-content:center;
    align-items:center;
    background:#fff;
    padding:15px;
    overflow:hidden;
    border-bottom:1px solid #f0f0f0;
}

.card-img img{
    width:100%;
    height:100%;
    object-fit:contain;
    transition:.4s;
}

.home-card:hover .card-img img{
    transform:scale(1.05);
}

/* =====================
   BODY
===================== */
.card-body{
    padding:15px;
}

.card-body h3{
    font-size:16px;
    color:#222;
    min-height:45px;
    margin-bottom:12px;
    line-height:1.4;
}

.home-harga{
    color:#2e7d32;
    font-size:20px;
    font-weight:700;
    margin-bottom:15px;
}

/* =====================
   BUTTON
===================== */
.home-btn-group{
    display:flex;
    gap:10px;
}

.home-btn{
    flex:1;
    text-align:center;
    text-decoration:none;
    background:#4682b4;
    color:#fff;
    padding:10px;
    border-radius:12px;
    font-size:14px;
    font-weight:600;
    transition:.3s;
}

.home-btn:hover{
    background:#2f6f9f;
}

.home-cart{
    width:45px;
    display:flex;
    justify-content:center;
    align-items:center;
    text-decoration:none;
    border:none;
    border-radius:12px;
    background:#4682b4;
    color:#fff;
    transition:.3s;
}

.home-cart:hover{
    background:#2f6f9f;
    transform:scale(1.08);
}

/* =====================
   LIHAT SEMUA
===================== */
.lihat-wrap{
    text-align:center;
    margin-top:60px;
}

.lihat-semua{
    display:inline-block;
    padding:15px 40px;
    border-radius:50px;
    text-decoration:none;
    color:#fff;
    font-weight:bold;
    background:linear-gradient(135deg,#4682b4,#42a5f5);
    box-shadow:0 10px 25px rgba(21,101,192,.3);
    transition:.35s;
}

.lihat-semua:hover{
    transform:translateY(-5px);
    box-shadow:0 18px 35px rgba(21,101,192,.45);
}
/* ===================================
   TENTANG KOPERASI
=================================== */

.tentang-home{
    position:relative;
    display:grid;
    grid-template-columns:1fr 1fr;
    align-items:center;
    gap:70px;
    padding:120px 8%;
    overflow:hidden;
    background:linear-gradient(135deg,#4682b4,#1976d2,#42a5f5);

}

/* Dekorasi */
.tentang-home::before{
    content:"";
    position:absolute;
    width:380px;
    height:380px;
    border-radius:50%;
    background:rgba(255,255,255,.08);
    top:-120px;
    left:-120px;
}

.tentang-home::after{
    content:"";
    position:absolute;
    width:280px;
    height:280px;
    border-radius:50%;
    background:rgba(255,255,255,.05);
    right:-80px;
    bottom:-80px;
}
.btn-tentang{
    display:inline-flex;
    align-items:center;
    gap:10px;
    background:#fff;
    color:#4682b4;
    padding:16px 38px;
    border-radius:50px;
    text-decoration:none;
    font-weight:bold;
    transition:.35s;
}

.btn-tentang:hover{
    transform:translateY(-6px);
    box-shadow:0 20px 40px rgba(0,0,0,.25);
}
.info-item{
    background:rgba(255,255,255,.15);
    backdrop-filter:blur(10px);
    border:1px solid rgba(255,255,255,.2);
    border-radius:22px;
    padding:28px;
    transition:.35s;
}

.info-item:hover{
    transform:translateY(-10px);
    background:rgba(255,255,255,.25);
}

/* =====================
   IMAGE
===================== */

.tentang-img{
    position:relative;
    z-index:2;
}

.tentang-img img{
    width:100%;
    border-radius:25px;
    display:block;
    box-shadow:0 25px 50px rgba(0,0,0,.30);
    transition:.4s;
    height:520px;
    object-fit:cover;
    border-radius:30px;
}

.tentang-img img:hover{
    transform:scale(1.03);
}

/* =====================
   TEXT
===================== */
.koperasi-badge{
    position:absolute;
    bottom:25px;
    left:25px;
    background:#fff;
    color:#4682b4;
    padding:14px 25px;
    border-radius:40px;
    font-weight:700;
    box-shadow:0 10px 30px rgba(0,0,0,.20);
}

.koperasi-badge i{
    margin-right:10px;
}
.tentang-list{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:18px;
    margin:35px 0;
}

.tentang-list div{
    display:flex;
    align-items:center;
    color:#fff;
    font-size:16px;
    font-weight:600;
}

.tentang-list i{
    color:#4caf50;
    font-size:20px;
    margin-right:12px;
}

.tentang-text{
    position:relative;
    z-index:2;
}

.mini-title{
    display:inline-flex;
    align-items:center;
    gap:10px;
    padding:14px 30px;
    background:#fff;
    color:#4682b4;
    font-size:18px;
    font-weight:700;
    border-radius:50px;
    box-shadow:0 10px 25px rgba(0,0,0,.18);
    margin-bottom:25px;
    letter-spacing:.5px;
    text-transform:uppercase;
    transition:.3s;
}

.mini-title:hover{
    transform:translateY(-3px);
    box-shadow:0 15px 35px rgba(0,0,0,.25);
}

.tentang-text h2{
    color:#fff;
    font-size:42px;
    font-weight:800;
    line-height:1.3;
    margin-bottom:25px;
}

.tentang-text p{
    color:#edf4ff;
    font-size:17px;
    line-height:34px;
    text-align:justify;
    margin-bottom:35px;
}

/* =====================
   BUTTON
===================== */
.tentang-text a{
    display:inline-block;
    padding:15px 35px;
    border-radius:50px;
    text-decoration:none;
    background:#fff;
    color:#4682b4;
    font-weight:bold;
    transition:.35s;
}

.tentang-text a:hover{
    transform:translateY(-5px);
    box-shadow:0 18px 35px rgba(0,0,0,.25);
}

/* =====================
   INFO CARD
===================== */
.info-koperasi{
    display:flex;
    flex-wrap:wrap;
    gap:20px;
    margin-top:40px;
}

.info-item{
    flex:1;
    min-width:130px;
    padding:22px;
    text-align:center;
    border-radius:18px;
    background:rgba(255,255,255,.12);
    backdrop-filter:blur(8px);
}

.info-item h3{
    color:#fff;
    font-size:28px;
    margin-bottom:8px;
}

.info-item span{
    color:#dcecff;
    font-size:14px;
}

/* ===================================
   KENAPA MEMILIH KAMI
=================================== */

.keuntungan{
    padding:70px 8%;
    background:linear-gradient(180de #ffffff);
    text-align:center;
}

.judul-section span{
    display:inline-block;
    padding:12px 28px;
    border-radius:50px;
    background:#e8f2ff;
    color:#4682b4;
    font-size:15px;
    font-weight:700;
    letter-spacing:1px;
    text-transform:uppercase;
    margin-bottom:18px;
}

.judul-section h2{
    font-size:42px;
    color:#4682b4;
    margin-bottom:18px;
    font-weight:800;
}

.judul-section p{
    max-width:700px;
    margin:0 auto 70px;
    color:#666;
    font-size:17px;
    line-height:30px;
}

/* GRID */
.icon-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
    gap:30px;
}

/* CARD */
.box{
    position:relative;
    background:#fff;
    padding:45px 30px;
    border-radius:22px;
    overflow:hidden;
    border:1px solid #edf2f7;
    box-shadow:0 10px 30px rgba(0,0,0,.08);
    transition:.4s;
}

.box:hover{
    transform:translateY(-12px);
    box-shadow:0 20px 45px rgba(0,0,0,.15);
}

/* GARIS ATAS */
.box::before{
    content:"";
    position:absolute;
    top:0;
    left:0;
    width:0;
    height:5px;
    background:#4682b4;
    transition:.4s;
}

.box:hover::before{
    width:100%;
}

/* ICON */
.icon-circle{
    width:90px;
    height:90px;
    margin:0 auto 25px;
    border-radius:50%;
    background:linear-gradient(135deg,#1565c0,#42a5f5);
    display:flex;
    justify-content:center;
    align-items:center;
    color:#fff;
    font-size:34px;
    box-shadow:0 12px 25px rgba(21,101,192,.3);
    transition:.4s;
}

.box:hover .icon-circle{
    transform:rotate(10deg) scale(1.08);
}

/* JUDUL */
.box h4{
    font-size:22px;
    color:#222;
    margin-bottom:15px;
    transition:.3s;
}

.box:hover h4{
    color:#4682b4;
}

/* DESKRIPSI */
.box p{
    color:#666;
    font-size:15px;
    line-height:28px;
}

/* RESPONSIVE */
@media(max-width:768px){
    .keuntungan{
        padding:70px 20px;
    }

    .judul-section h2{
        font-size:32px;
    }

    .icon-grid{
        grid-template-columns:1fr;
    }

    .box{
        padding:35px 25px;
    }

}

/* ===================================
   RESPONSIVE
=================================== */
/* ===========================
   Laptop
=========================== */
@media (max-width:1200px){

    /* Hero */
    .hero-content{
        max-width:560px;
    }

    .hero-content h1{
        font-size:56px;
    }

    /* Produk */
    .produk-grid{
        grid-template-columns:repeat(4,1fr);
    }

}


/* ===========================
   Tablet
=========================== */
@media (max-width:992px){
    /* HERO */
    .hero-content{
        left:50%;
        transform:translate(-50%,-50%);
        width:90%;
        max-width:100%;
        text-align:center;
    }

    .hero-content h1{
        font-size:48px;
    }

    .hero-content p{
        font-size:17px;
        line-height:30px;
    }

    .hero-btn{
        justify-content:center;
    }

    .prev,
    .next{
        display:none;
    }

    .slider-dot{
        bottom:60px;
    }

    /* PRODUK */

    .produk-grid{
        grid-template-columns:repeat(3,1fr);
    }

    /* TENTANG */

    .tentang-home{
        grid-template-columns:1fr;
        gap:45px;
        text-align:center;
        padding:90px 35px;
    }

    .tentang-img img{
        max-width:450px;
        margin:auto;
    }

    .tentang-text p{
        text-align:center;
    }

    .info-koperasi{
        justify-content:center;
    }

    /* COUNTER */

    .counter{
        grid-template-columns:repeat(2,1fr);
    }

}


/* ===========================
   Mobile
=========================== */
@media (max-width:768px){

    /* HERO */

    .hero-slider{
        height:90vh;
    }

    .hero-content h1{
        font-size:38px;
    }

    .hero-content p{
        font-size:15px;
        line-height:28px;
    }

    .hero-subtitle{
        font-size:15px;
    }

    .btn-primary,
    .btn-outline{
        width:100%;
        text-align:center;
    }

    /* PRODUK */

    .produk-home{
        padding:70px 20px;
    }

    .produk-home h2{
        font-size:32px;
    }

    .produk-home>p{
        font-size:15px;
        margin-bottom:35px;
    }

    .produk-grid{
        grid-template-columns:repeat(2,1fr);
        gap:18px;
    }

    .card-img{
        height:180px;
    }

    .card-body h3{
        font-size:15px;
        min-height:auto;
    }

    .home-harga{
        font-size:18px;
    }

    /* TENTANG */

    .tentang-home{
        padding:70px 20px;
    }

    .tentang-text h2{
        font-size:32px;
    }

    .tentang-text p{
        font-size:15px;
        line-height:28px;
    }

    .info-item{
        min-width:100%;
    }

    /* KEUNGGULAN */

    .keuntungan{
        padding:70px 20px;
    }

    .judul-section h2{
        font-size:30px;
    }

    .icon-grid{
        grid-template-columns:1fr;
    }

    .box{
        padding:30px 20px;
    }

    /* COUNTER */

    .counter{
        padding:60px 20px;
        grid-template-columns:1fr;
    }

    .counter-box h2{
        font-size:45px;
    }

    /* TESTIMONI */

    .testimoni{
        padding:70px 20px;
    }

    .testimoni h2{
        font-size:30px;
        margin-bottom:40px;
    }

    .testimoni-grid{
        grid-template-columns:1fr;
    }

}


/* ===========================
   HP Kecil
=========================== */
@media (max-width:576px){

    .hero-content h1{
        font-size:32px;
    }

    .hero-content p{
        font-size:14px;
    }

    .hero-subtitle{
        font-size:13px;
    }

    .produk-grid{
        grid-template-columns:1fr;
    }

    .card-img{
        height:220px;
    }

    .tentang-text h2{
        font-size:28px;
    }

    .judul-section h2,
    .testimoni h2{
        font-size:28px;
    }

    .counter-box h2{
        font-size:38px;
    }

}

/* ===========================
   HP Sangat Kecil
=========================== */
@media (max-width:480px){

    .hero-content{
        width:92%;
    }

    .icon-circle{
        width:70px;
        height:70px;
    }

    .icon-circle i{
        font-size:28px;
    }

    .box h4{
        font-size:20px;
    }

}