*{
margin:0;
padding:0;
box-sizing:border-box;
}

body{
font-family:'Plus Jakarta Sans',sans-serif;
background:#f8f9fc;
color:#222;
}

.container{
width:90%;
max-width:1300px;
margin:auto;
}

/* Judul reusable untuk tiap section (dipakai visi, misi, tujuan, sasaran, layanan, dll) */
.title{
text-align:center;
max-width:700px;
margin:0 auto;
}

.title h2{
font-size:36px;
font-weight:800;
color:#7b1022;
margin-bottom:15px;
}

.title p{
color:#666;
line-height:1.8;
font-size:16px;
}

.hero{
position:relative;
height:720px;
overflow:hidden;
display:flex;
align-items:center;
}

.hero img{
position:absolute;
width:100%;
height:100%;
object-fit:cover;
}

.overlay{
position:absolute;
width:100%;
height:100%;
background:
linear-gradient(
90deg,
rgba(0,0,0,.75),
rgba(0,0,0,.45),
rgba(0,0,0,.25)
);
}

.hero-content{
position:relative;
z-index:5;
color:white;
}

.hero-badge{
display:inline-block;
padding:12px 22px;
background:rgba(255,255,255,.12);
border-radius:50px;
backdrop-filter:blur(12px);
margin-bottom:25px;
}

.hero h1{
font-size:70px;
font-weight:800;
line-height:1.15;
margin-bottom:30px;
}

.hero p{
font-size:20px;
max-width:700px;
line-height:1.9;
margin-bottom:35px;
}

.hero-button{
display:flex;
gap:18px;
flex-wrap:wrap;
}

.btn{
padding:18px 34px;
border-radius:50px;
font-weight:700;
text-decoration:none;
transition:.3s;
}

.btn-primary{
background:#7b1022;
color:white;
}

.btn-primary:hover{
background:#9b1830;
transform:translateY(-5px);
}

.btn-outline{
border:2px solid white;
color:white;
}

.btn-outline:hover{
background:white;
color:#111;
}

/* ===========================
STATISTIK
=========================== */

.stats{
padding:90px 0;
background:#7b1022;
color:white;
}

.stats-grid{
display:grid;
grid-template-columns:repeat(4,1fr);
gap:30px;
}

.stat-card{
text-align:center;
padding:35px;
border-radius:18px;
background:rgba(255,255,255,.08);
backdrop-filter:blur(15px);
transition:.35s;
}

.stat-card:hover{
transform:translateY(-10px);
}

.stat-card h2{
font-size:60px;
color:#ffd44d;
margin-bottom:10px;
}

.stat-card p{
font-size:18px;
}

/* ===========================
VISI & MISI (section awal/ringkas di homepage)
=========================== */

.visi-section{
padding:100px 0;
background:#fff;
}

.visi-grid{
display:flex;
justify-content:center;
margin-top:45px;
}

.visi-card{
max-width:820px;
width:100%;
text-align:center;
background:linear-gradient(135deg,#7b1022,#5d0817);
color:#fff;
padding:55px 50px;
border-radius:26px;
box-shadow:0 20px 45px rgba(123,16,34,.25);
transition:.35s;
}

.visi-card:hover{
transform:translateY(-10px);
}

.visi-card .icon{
font-size:50px;
margin-bottom:20px;
}

.visi-card h3{
color:#ffd54f;
margin-bottom:18px;
font-size:24px;
letter-spacing:.5px;
}

.visi-card p{
color:rgba(255,255,255,.92);
line-height:1.9;
font-size:17px;
}

.visi-card ul{
padding-left:20px;
color:rgba(255,255,255,.92);
line-height:1.9;
text-align:left;
}

.visi-card ul li{
margin-bottom:10px;
}

/* ===========================
LAYANAN
=========================== */

.service-section{
padding:100px 0;
background:#fff;
}

.service-grid{
display:grid;
grid-template-columns:repeat(4,1fr);
gap:30px;
}

.service-card{
background:#fff;
padding:40px;
border-radius:22px;
box-shadow:0 15px 35px rgba(0,0,0,.08);
text-align:center;
transition:.35s;
}

.service-card:hover{
transform:translateY(-12px);
}

.service-icon{
font-size:60px;
margin-bottom:20px;
}

.service-card h3{
margin-bottom:15px;
color:#7b1022;
}

.service-card p{
line-height:1.9;
color:#666;
}

/* ===========================
MENU INFORMASI
=========================== */

.info-section{
padding:100px 0;
background:#f8f9fb;
}

.info-grid{
display:grid;
grid-template-columns:repeat(4,1fr);
gap:30px;
}

.info-card{
background:white;
padding:40px;
border-radius:22px;
text-align:center;
text-decoration:none;
color:#222;
box-shadow:0 10px 30px rgba(0,0,0,.08);
transition:.35s;
}

.info-card:hover{
transform:translateY(-10px);
}

.info-card img{
width:80px;
margin-bottom:25px;
}

.info-card h3{
margin-bottom:15px;
color:#7b1022;
}

.info-card p{
line-height:1.8;
color:#666;
}

/*==================================
BERITA
==================================*/

.news-section{
padding:100px 0;
background:white;
}

.news-grid{
display:grid;
grid-template-columns:2fr 1fr;
gap:35px;
align-items:start;
}

.featured-news{
background:white;
border-radius:22px;
overflow:hidden;
box-shadow:0 18px 35px rgba(0,0,0,.08);
transition:.35s;
}

.featured-news:hover{
transform:translateY(-10px);
}

.featured-news img{
width:100%;
height:420px;
object-fit:cover;
}

.featured-content{
padding:35px;
}

.badge-news{
display:inline-block;
padding:8px 18px;
background:#7b1022;
color:white;
border-radius:50px;
margin-bottom:18px;
font-size:14px;
}

.featured-content h2{
font-size:34px;
margin-bottom:20px;
color:#7b1022;
}

.featured-content p{
line-height:1.9;
color:#666;
}

.news-list{
display:flex;
flex-direction:column;
gap:25px;
}

.news-item{
display:flex;
gap:18px;
padding:18px;
border-radius:20px;
background:white;
box-shadow:0 10px 25px rgba(0,0,0,.08);
text-decoration:none;
color:#222;
transition:.3s;
}

.news-item:hover{
transform:translateX(8px);
}

.news-item img{
width:120px;
height:95px;
object-fit:cover;
border-radius:14px;
}

.news-item h4{
margin-bottom:10px;
color:#7b1022;
font-size:18px;
}

.news-item p{
font-size:14px;
color:#666;
line-height:1.7;
}

.service-card,
.info-card,
.featured-news,
.news-item,
.stat-card,
.visi-card{
opacity:0;
transform:translateY(40px);
transition:.8s;
}

.show{
opacity:1;
transform:translateY(0);
}

/*=========================================
PENGUMUMAN
=========================================*/

.announcement-section{
padding:100px 0;
background:#f8f9fb;
}

.announcement-grid{
display:grid;
grid-template-columns:repeat(3,1fr);
gap:30px;
}

.announcement-card{
background:white;
padding:35px;
border-radius:22px;
box-shadow:0 15px 35px rgba(0,0,0,.08);
transition:.35s;
}

.announcement-card:hover{
transform:translateY(-10px);
}

.announcement-date{
display:inline-block;
padding:8px 16px;
background:#7b1022;
color:white;
border-radius:40px;
font-size:14px;
margin-bottom:20px;
}

.announcement-card h3{
margin-bottom:18px;
color:#7b1022;
}

.announcement-card p{
line-height:1.9;
margin-bottom:20px;
color:#666;
}

.announcement-card a{
font-weight:700;
color:#7b1022;
text-decoration:none;
}

/*=========================================
MITRA
=========================================*/

.partner-section{
padding:90px 0;
background:white;
overflow:hidden;
}

.logo-slider{
overflow:hidden;
margin-top:50px;
}

.logo-track{
display:flex;
gap:80px;
animation:logos 25s linear infinite;
align-items:center;
}

.logo-track img{
height:90px;
object-fit:contain;
filter:grayscale(100%);
transition:.3s;
}

.logo-track img:hover{
filter:none;
transform:scale(1.1);
}

@keyframes logos{
0%{
transform:translateX(0);
}
100%{
transform:translateX(-50%);
}
}

/*=========================================
CTA
=========================================*/

.cta-section{
padding:120px 0;
background:
linear-gradient(
135deg,
#7b1022,
#5d0817
);
color:white;
text-align:center;
}

.cta-section h2{
font-size:48px;
margin-bottom:25px;
}

.cta-section p{
max-width:700px;
margin:auto;
line-height:2;
margin-bottom:40px;
}

.cta-section a{
display:inline-block;
padding:18px 45px;
background:#ffd54f;
color:#111;
border-radius:50px;
font-weight:bold;
text-decoration:none;
transition:.3s;
}

.cta-section a:hover{
transform:translateY(-6px);
}

/*==================================
PIMPINAN LPPM
==================================*/

.leader-section{
    padding:110px 0;
    background:#f8f9fc;
}

.leader-profile{
    display:flex;
    align-items:center;
    gap:45px;

    background:#fff;
    padding:40px;
    border-radius:24px;

    box-shadow:0 15px 40px rgba(0,0,0,.08);

    margin-top:45px;

    transition:.35s;
}

.leader-profile:hover{
    transform:translateY(-8px);
    box-shadow:0 25px 55px rgba(0,0,0,.12);
}

.leader-photo{
    flex:0 0 300px;
}

.leader-photo img{
    width:300px;
    height:380px;

    object-fit:cover;

    border-radius:18px;

    box-shadow:0 12px 30px rgba(0,0,0,.15);

    transition:.35s;
}

.leader-profile:hover .leader-photo img{
    transform:scale(1.03);
}

.leader-info{
    flex:1;
}

.leader-badge{
    display:inline-block;

    padding:8px 18px;

    background:#7b1022;

    color:#fff;

    border-radius:30px;

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

    margin-bottom:18px;
}

.leader-badge.second{
    background:#0b57a4;
}

.leader-info h3{

    font-size:34px;

    color:#222;

    margin-bottom:18px;

    line-height:1.3;
}

.leader-info p{

    font-size:17px;

    color:#666;

    line-height:2;

    text-align:justify;

    margin-bottom:18px;
}

.leader-info strong{
    color:#7b1022;
}

/* Garis elegan */

.leader-info h3::after{

    content:'';

    display:block;

    width:80px;

    height:4px;

    background:#7b1022;

    border-radius:20px;

    margin-top:12px;
}

/* Responsive */

@media(max-width:991px){

    .leader-profile{

        flex-direction:column;

        text-align:center;

        gap:30px;

        padding:30px;
    }

    .leader-photo{

        flex:none;
    }

    .leader-photo img{

        width:230px;
        height:290px;
    }

    .leader-info h3{

        font-size:28px;
    }

    .leader-info p{

        text-align:left;
    }

}

/*==================================
RESPONSIVE
==================================*/

@media(max-width:1100px){

.stats-grid,
.service-grid,
.info-grid,
.announcement-grid,
.visi-grid{

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

}

.news-grid{

grid-template-columns:1fr;

}

.leader-grid{

grid-template-columns:1fr;

}

}

@media(max-width:768px){

.hero{

height:560px;

}

.hero h1{

font-size:42px;

}

.hero p{

font-size:16px;

}

.stats-grid,
.service-grid,
.info-grid,
.announcement-grid,
.visi-grid{

grid-template-columns:1fr;

}

.hero-button{

flex-direction:column;

}

.featured-news img{

height:250px;

}

.news-item{

flex-direction:column;

}

.news-item img{

width:100%;

height:220px;

}

.leader-image img{

height:320px;

}

}

/*==================================
BERITA SLIDER
==================================*/

.news-slider{
    position:relative;
    display:flex;
    align-items:center;
    gap:20px;
}

.news-wrapper{
    overflow:hidden;
    width:100%;
}

.news-track{

display:flex;

gap:25px;

transition:.5s;

will-change:transform;

}

.news-item{
    min-width:calc((100% - 50px)/3);
    background:#fff;
    border-radius:22px;
    overflow:hidden;
    text-decoration:none;
    color:#222;
    box-shadow:0 10px 25px rgba(0,0,0,.08);
    transition:.3s;
    display:flex;
    flex-direction:column;
}

.news-item:hover{
    transform:translateY(-8px);
}

.news-item img{
    width:100%;
    height:220px;
    object-fit:cover;
}

.news-item div{
    padding:22px;
}

.news-item h4{
    color:#7b1022;
    font-size:22px;
    margin-bottom:12px;
    line-height:1.4;
}

.news-item p{
    color:#666;
    line-height:1.8;
    font-size:15px;
}

.news-nav{
    width:52px;
    height:52px;
    border:none;
    border-radius:50%;
    background:#7b1022;
    color:#fff;
    font-size:22px;
    cursor:pointer;
    transition:.3s;
    flex-shrink:0;
}

.news-nav:hover{
    background:#9b1830;
}

.news-dots{
    display:flex;
    justify-content:center;
    gap:10px;
    margin-top:30px;
}

.news-dots .dot{
    width:10px;
    height:10px;
    border-radius:50%;
    background:#ccc;
}

.news-dots .dot.active{
    background:#7b1022;
}

@media(max-width:991px){

.news-item{
    min-width:calc((100% - 25px)/2);
}

}

@media(max-width:768px){

.news-item{
    min-width:100%;
}

.news-nav{
    display:none;
}

}

/*==================================
BERITA TERBARU V2
Tidak mengganggu CSS lama
==================================*/

.news-v2-section{
    padding:100px 0;
    background:#fff;
}

.news-v2-slider{
    position:relative;
    margin-top:50px;
}

.news-v2-wrapper{
    overflow:hidden;
    width:100%;
}

.news-v2-track{
    display:flex;
    gap:20px;
    transition:transform .5s ease;
}

.news-v2-card{
    flex:0 0 calc((100% - 60px)/4);
    background:#fff;
    border-radius:16px;
    overflow:hidden;
    box-shadow:0 10px 25px rgba(0,0,0,.08);
    transition:.35s;
}

.news-v2-card:hover{
    transform:translateY(-8px);
    box-shadow:0 18px 35px rgba(0,0,0,.12);
}

.news-v2-card a{
    display:block;
    color:#222;
    text-decoration:none;
}

.news-v2-image{
    overflow:hidden;
}

.news-v2-image img{
    width:100%;
    height:150px;
    object-fit:cover;
    transition:.4s;
    display:block;
}

.news-v2-card:hover img{
    transform:scale(1.08);
}

.news-v2-content{
    padding:16px;
}

.news-v2-badge{
    display:inline-block;
    background:#7b1022;
    color:#fff;
    padding:5px 12px;
    border-radius:30px;
    font-size:11px;
    margin-bottom:10px;
}

.news-v2-content h3{
    font-size:16px;
    color:#7b1022;
    line-height:1.35;
    margin-bottom:8px;

    display:-webkit-box;
    -webkit-line-clamp:2;
    -webkit-box-orient:vertical;
    overflow:hidden;
}

.news-v2-content p{
    color:#666;
    line-height:1.6;
    font-size:13px;
    margin-bottom:12px;

    display:-webkit-box;
    -webkit-line-clamp:2;
    -webkit-box-orient:vertical;
    overflow:hidden;
}

.news-v2-link{
    color:#7b1022;
    font-weight:700;
    font-size:13px;
}

.news-v2-btn{
    position:absolute;
    top:50%;
    transform:translateY(-50%);
    z-index:10;
    width:52px;
    height:52px;
    border:none;
    border-radius:50%;
    background:rgba(255,255,255,.85);
    color:#7b1022;
    cursor:pointer;
    font-size:22px;
    transition:.3s;
    box-shadow:0 8px 20px rgba(0,0,0,.15);
}

.news-v2-btn:hover{
    background:#fff;
    transform:translateY(-50%) scale(1.08);
}

#newsPrev{
    left:15px;
}

#newsNext{
    right:15px;
}

.news-v2-pagination{
    display:flex;
    justify-content:center;
    gap:10px;
    margin-top:35px;
}

.news-v2-dot{
    width:12px;
    height:12px;
    border-radius:50%;
    background:#d4d4d4;
    transition:.3s;
}

.news-v2-dot.active{
    background:#7b1022;
}

/* Tablet */

@media(max-width:991px){

.news-v2-card{
    flex:0 0 calc((100% - 40px)/3);
}

}

/* HP */

@media(max-width:768px){

.news-v2-btn{
    display:none;
}

.news-v2-track{
    gap:14px;
}

.news-v2-card{
    flex:0 0 calc((100% - 14px)/2);
}

.news-v2-image img{
    height:110px;
}

.news-v2-content{
    padding:12px;
}

.news-v2-content h3{
    font-size:14px;
}

.news-v2-content p{
    font-size:12px;
}

}

/*====================================================================
GROUP: VISI - MISI - TUJUAN - SASARAN STRATEGIS (RENSTRA LPPM)
Cari kata "GROUP:" ini untuk lompat cepat ke bagian visi-misi kedepannya.
Section terkait:
  #visi    -> .visi-section   (sudah didefinisikan di atas)
  #misi    -> .misi-section
  #tujuan  -> .tujuan-section
  #sasaran -> .sasaran-section
====================================================================*/

/* ---------- MISI LPPM ---------- */

.misi-section{
padding:100px 0;
background:#f8f9fc;
}

.misi-grid{
display:grid;
grid-template-columns:repeat(2,1fr);
gap:25px;
margin-top:45px;
}

.misi-card{
display:flex;
gap:20px;
background:#fff;
padding:30px;
border-radius:18px;
box-shadow:0 10px 25px rgba(0,0,0,.06);
border-left:5px solid #7b1022;
transition:.3s;
}

.misi-card:hover{
transform:translateY(-6px);
box-shadow:0 15px 35px rgba(0,0,0,.1);
}

.misi-number{
font-size:32px;
font-weight:800;
color:#7b1022;
opacity:.35;
flex-shrink:0;
}

.misi-card p{
color:#444;
line-height:1.8;
font-size:15.5px;
}

/* ---------- TUJUAN LPPM ---------- */

.tujuan-section{
padding:100px 0;
background:#fff;
}

.tujuan-list{
margin-top:45px;
display:flex;
flex-direction:column;
gap:18px;
}

.tujuan-item{
display:flex;
align-items:flex-start;
gap:18px;
background:#f8f9fc;
padding:22px 28px;
border-radius:16px;
transition:.3s;
}

.tujuan-item:hover{
background:#fdf0f2;
}

.tujuan-check{
width:34px;
height:34px;
flex-shrink:0;
border-radius:50%;
background:#7b1022;
color:#fff;
display:flex;
align-items:center;
justify-content:center;
font-weight:700;
}

.tujuan-item p{
color:#444;
line-height:1.8;
}

/* ---------- SASARAN STRATEGIS ---------- */

.sasaran-section{
padding:100px 0;
background:#7b1022;
color:#fff;
}

.sasaran-section .title h2,
.sasaran-section .title p{
color:#fff;
}

.sasaran-grid{
display:grid;
grid-template-columns:repeat(3,1fr);
gap:28px;
margin-top:45px;
}

.sasaran-card{
background:rgba(255,255,255,.08);
backdrop-filter:blur(12px);
border-radius:20px;
padding:32px;
transition:.3s;
}

.sasaran-card:hover{
transform:translateY(-8px);
background:rgba(255,255,255,.14);
}

.sasaran-card h3{
color:#ffd54f;
margin-bottom:18px;
font-size:20px;
}

.sasaran-card ul{
list-style:none;
display:flex;
flex-direction:column;
gap:12px;
}

.sasaran-card li{
padding-left:22px;
position:relative;
line-height:1.6;
font-size:14.5px;
color:rgba(255,255,255,.9);
}

.sasaran-card li::before{
content:'▸';
position:absolute;
left:0;
color:#ffd54f;
}

/* Responsive khusus misi/tujuan/sasaran */

@media(max-width:991px){
.misi-grid{grid-template-columns:1fr;}
.sasaran-grid{grid-template-columns:repeat(2,1fr);}
}

@media(max-width:768px){
.sasaran-grid{grid-template-columns:1fr;}
.misi-card{flex-direction:column;}
.tujuan-item{padding:18px;}
}

/* END GROUP: VISI - MISI - TUJUAN - SASARAN STRATEGIS */