/* ================================
   RESET
================================ */

*{
    box-sizing:border-box;
}


body{

    margin:0;

    font-family:'Segoe UI', Arial, sans-serif;

    background:#f4f8f5;

    color:#1b4332;

}



/* ================================
   SIDEBAR
================================ */

.sidebar{

    position:fixed;

    width:275px;

    height:100vh;

    background:#075b32;

    color:white;

    padding:30px 25px;

}



.brand{

    display:flex;

    gap:15px;

    align-items:center;

}



.logo{

    font-size:45px;

}



.brand h2{

    margin:0;

    font-size:32px;

    color:white;

}



.brand p{

    margin:5px 0;

    font-size:14px;

    color:#d8f3dc;

}



.brand small{

    color:#b7e4c7;

    line-height:1.4;

}





.sidebar ul{

    padding:40px 0;

    list-style:none;

}



.sidebar li{

    padding:18px;

    margin-bottom:15px;

    border-radius:15px;

    font-size:18px;

    transition:.3s;

}



.sidebar li:hover{

    background:#16804c;

}



.sidebar li.active{

    background:#29945e;

}



.sidebar a{

    color:white;

    text-decoration:none;

    display:flex;

    align-items:center;

    gap:12px;

}



/* ================================
   MAIN
================================ */


main{

    margin-left:275px;

}





/* ================================
   TOPBAR
================================ */


.topbar{

    height:120px;

    background:rgb(7, 181, 74);

    padding:25px 60px;

    display:flex;

    justify-content:space-between;

    align-items:center;

    border-bottom:1px solid #eee;

}



.topbar h1{

    font-size:42px;

    margin:0;

    color:#075b32;

}



.topbar p{

    margin-top:10px;

    color:#555;

    font-size:17px;

}



.profile{

    font-size:45px;

    color:#198754;

}



/* ================================
   HERO
================================ */


.hero{

    margin:40px;

    height:380px;

    border-radius:30px;

    background:

    linear-gradient(

        90deg,

        rgba(0,90,55,.85),

        rgba(0,120,70,.35)

    ),

    url("../img/desa.png");


    background-size:cover;

    background-position:center;


    display:flex;

    align-items:center;


    padding:70px;


    color:white;


    overflow:hidden;

}




.hero-content{

    max-width:700px;

}



.hero h2{

    font-size:55px;

    line-height:1.2;

    margin:0 0 20px;

    color:white;

}



.hero p{

    font-size:20px;

    line-height:1.6;

    color:white;

    margin-bottom:30px;

}



.hero a{

    background:#ffc107;

    color:#222;

    padding:16px 40px;

    border-radius:40px;

    text-decoration:none;

    font-weight:bold;

    display:inline-block;

    transition:.3s;

}



.hero a:hover{

    background:#ffca28;

    transform:translateY(-3px);

}



/* ================================
   MENU CARD
================================ */


.content{


    display:grid;

    grid-template-columns:repeat(3,1fr);

    gap:30px;

    padding:0 40px 40px;

}



.card{


    background:white;


    padding:30px;


    border-radius:22px;


    box-shadow:

    0 10px 25px rgba(0,0,0,.08);


    transition:.3s;


}



.card:hover{

    transform:translateY(-5px);

}



.card h3{

    color:#075b32;

    font-size:24px;

}



.card p{

    color:#555;

    line-height:1.6;

}





.icon{


    width:60px;

    height:60px;


    border-radius:50%;


    display:flex;


    justify-content:center;


    align-items:center;


    font-size:25px;


}



.green{

    background:#d8f3dc;

    color:#198754;

}



.blue{

    background:#dbeafe;

    color:#2563eb;

}



.orange{

    background:#ffedd5;

    color:#ea580c;

}





.card a{


    color:#198754;


    font-weight:bold;


    text-decoration:none;


}





/* ================================
   STATISTIK
================================ */


.stats{


    display:grid;


    grid-template-columns:repeat(4,1fr);


    gap:20px;


    padding:40px;


}



.stats div{


    background:white;


    border-radius:20px;


    padding:25px;


    text-align:center;


    box-shadow:

    0 5px 20px rgba(0,0,0,.08);


}



.stats i{


    font-size:35px;


    color:#198754;


}



.stats h2{


    font-size:35px;


    color:#198754;


}





/* ================================
   FOOTER
================================ */


footer{


    background:#075b32;


    color:white;


    padding:30px 50px;


    display:flex;


    justify-content:space-between;


    align-items:center;


}



footer p{

    color:#d8f3dc;

}



/* ================================
   RESPONSIVE
================================ */


@media(max-width:900px){


.sidebar{

    width:80px;

    padding:20px;

}



.brand p,

.brand small,

.sidebar a{

    font-size:0;

}



main{

    margin-left:80px;

}



.content{

    grid-template-columns:1fr;

}



.hero{

    margin:20px;

    padding:40px;

}



.hero h2{

    font-size:38px;

}


}