.elementor-2635 .elementor-element.elementor-element-717cccf{--display:flex;--justify-content:center;--align-items:stretch;--container-widget-width:calc( ( 1 - var( --container-widget-flex-grow ) ) * 100% );--gap:0px 0px;--row-gap:0px;--column-gap:0px;}.elementor-2635 .elementor-element.elementor-element-098a12a{width:100%;max-width:100%;}/* Start custom CSS for html, class: .elementor-element-098a12a *//* ===================================
   DINAS PERTANIAN BOYOLALI
=================================== */

.distani-hero{
    position:relative;
    height:550px;
    overflow:hidden;
    margin-bottom:60px;
    background-image:url('https://images.unsplash.com/photo-1500937386664-56d1dfef3854?q=80&w=1920');
    background-size:cover;
    background-position:center;
}

.distani-overlay{
    position:absolute;
    top:0;
    left:0;
    width:100%;
    height:100%;
    background:rgba(0,0,0,.45);
}

.distani-content{
    position:relative;
    z-index:2;
    height:100%;
    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;
    text-align:center;
    color:#fff;
    padding:20px;
}

.distani-content h1{
    font-size:60px;
    font-weight:800;
    color:#fff;
    margin-bottom:20px;
    text-transform:uppercase;
    line-height:1.2;
}

.distani-content p{
    font-size:22px;
    margin-bottom:30px;
}

.distani-btn{
    background:#198754;
    color:white !important;
    text-decoration:none;
    padding:14px 30px;
    border-radius:8px;
    font-weight:600;
    transition:0.3s;
}

.distani-btn:hover{
    background:#146c43;
    color:white !important;
}

.distani-container{
    max-width:1200px;
    margin:auto;
    padding:0 20px;
}

.distani-section{
    padding:70px 0;
}

.distani-section h2,
.distani-layanan h2{
    text-align:center;
    color:#198754;
    font-size:42px;
    font-weight:700;
    margin-bottom:40px;
}

.distani-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:40px;
    align-items:center;
}

.distani-img{
    width:100%;
    border-radius:15px;
    display:block;
    box-shadow:0 5px 20px rgba(0,0,0,.15);
}

.distani-grid p{
    line-height:1.8;
    font-size:17px;
}

.distani-grid ul{
    padding-left:20px;
}

.distani-grid li{
    margin-bottom:10px;
}

.distani-layanan{
    background:#f5f8f6;
    padding:70px 0;
}

.distani-cards{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:25px;
}

.distani-card{
    background:white;
    padding:30px;
    border-radius:15px;
    box-shadow:0 5px 15px rgba(0,0,0,.08);
    transition:0.3s;
}

.distani-card:hover{
    transform:translateY(-6px);
}

.distani-card .icon{
    font-size:40px;
    margin-bottom:15px;
}

.distani-card h3{
    color:#198754;
    margin-bottom:15px;
}

.distani-card p{
    margin:0;
    line-height:1.7;
}

/* MOBILE */

@media(max-width:768px){

    .distani-hero{
        height:450px;
    }

    .distani-content h1{
        font-size:34px;
    }

    .distani-content p{
        font-size:18px;
    }

    .distani-grid{
        grid-template-columns:1fr;
    }

    .distani-cards{
        grid-template-columns:1fr;
    }

    .distani-section h2,
    .distani-layanan h2{
        font-size:32px;
    }
}/* End custom CSS */