/* ==========================
   Reset
========================== */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:"Segoe UI",Arial,sans-serif;
}

body{
    background:#f3f6fb;
}

/* ==========================
   Carousel
========================== */

.carousel{

    position:relative;
    width:100%;
    max-width:1200px;
    margin:auto;
    overflow:hidden;
    border-radius:20px;
    box-shadow:0 10px 30px rgba(0,0,0,.15);

}

#slideContainer{

    position:relative;
    width:100%;
    height:650px;

}

/* ==========================
   Slide
========================== */

.slide{

    position:absolute;
    inset:0;
    opacity:0;
    transition:opacity .8s ease;

}

.slide.active{

    opacity:1;
    z-index:1;

}

.slide img{
    width:100%;
    height:100%;
    object-fit:scale-down;
    background:white;
}

/* ==========================
   Caption
========================== */

.caption{

    position:absolute;
    left:40px;
    bottom:40px;

    width:420px;

    background:rgba(255,255,255,.5);   /* 50% transparan */

    backdrop-filter:blur(8px);

    border-radius:16px;

    padding:20px;

    box-shadow:0 4px 12px rgba(0,0,0,.15);

}

.caption h2{

    color:#005baa;
    font-size:32px;
    margin-bottom:8px;

}

.caption h3{

    color:#333;
    font-size:20px;
    margin-bottom:15px;

}

.caption p{

    color:#666;
    line-height:1.6;

}

/* ==========================
   Tombol
========================== */

.prev,
.next{

    position:absolute;
    top:50%;

    transform:translateY(-50%);

    width:55px;
    height:55px;

    border:none;
    border-radius:50%;

    background:rgba(255,255,255,.8);

    cursor:pointer;

    font-size:24px;

    transition:.3s;

    z-index:100;

}

.prev{

    left:20px;

}

.next{

    right:20px;

}

.prev:hover,
.next:hover{

    background:#005baa;
    color:white;

}

/* ==========================
   Dots
========================== */

#dots{

    position:absolute;

    bottom:15px;

    left:50%;

    transform:translateX(-50%);

    display:flex;

    gap:12px;

    z-index:200;

}

.dot{

    width:14px;
    height:14px;

    border-radius:50%;

    background:white;

    cursor:pointer;

    transition:.3s;

    opacity:.5;

}

.dot.active{

    opacity:1;

    background:#005baa;

    transform:scale(1.3);

}

/* ==========================
   Responsive
========================== */

@media(max-width:900px){

#slideContainer{
    width:100%;
    aspect-ratio:9/16;
    max-height:900px;
}

.caption{

    left:20px;
    right:20px;
    width:auto;

}

.caption h2{

    font-size:24px;

}

.caption h3{

    font-size:18px;

}

}

@media(max-width:600px){

#slideContainer{

    height:420px;

}

.caption{

    padding:18px;
    bottom:20px;

}

.caption h2{

    font-size:20px;

}

.caption h3{

    font-size:16px;

}

.caption p{

    font-size:14px;

}

.prev,
.next{

    width:42px;
    height:42px;

    font-size:18px;

}

}
/* ===========================
   PDF Section
=========================== */

.pdf-section{
    max-width:900px;
    margin:50px auto;
    padding:0 20px;
}

.pdf-section h2{
    text-align:center;
    margin-bottom:30px;
    color:#333;
    font-size:30px;
}

.pdf-grid{
    display:grid;
    gap:20px;
}

.pdf-card{

    background:#fff;

    border-radius:16px;

    padding:25px;

    box-shadow:0 8px 20px rgba(0,0,0,.08);

    transition:.3s;
}

.pdf-card:hover{

    transform:translateY(-5px);

    box-shadow:0 12px 30px rgba(0,0,0,.15);

}

.pdf-icon{

    font-size:48px;

    margin-bottom:10px;

}

.pdf-card h3{

    margin-bottom:10px;

    color:#222;

}

.pdf-card p{

    color:#666;

    margin-bottom:20px;

}

.pdf-buttons{

    display:flex;

    gap:12px;

    flex-wrap:wrap;

}

.pdf-buttons a{

    text-decoration:none;

    padding:10px 18px;

    border-radius:8px;

    color:white;

    font-weight:bold;

    transition:.3s;

}

.btn-view{

    background:#2563eb;

}

.btn-view:hover{

    background:#1d4ed8;

}

.btn-download{

    background:#16a34a;

}

.btn-download:hover{

    background:#15803d;

}


.pdf-section h2{

    text-align:center;

    margin-bottom:20px;

    color:#333;

}

.pdf-section{
    margin:50px auto;
    text-align:center;
}

.pdf-viewer{

    width:80%;

    height:900px;

    border:none;

    display:block;

    margin:20px auto;

    box-shadow:0 4px 15px rgba(0,0,0,.2);

    border-radius:10px;

}

.download-area{

    text-align:center;

    margin-top:20px;

}

.btn-download{

    display:inline-block;

    background:#16a34a;

    color:white;

    text-decoration:none;

    padding:12px 24px;

    border-radius:8px;

    font-weight:bold;

    transition:.3s;

}

.btn-download:hover{

    background:#15803d;

}
