/*=========================================================
PKB KOTA BOGOR
Components Framework v4.0
Service & Statistics
=========================================================*/

/*=========================================================
SERVICE SECTION
=========================================================*/

#services{

    position:relative;

    background:
    radial-gradient(circle at top right,
    rgba(11,107,53,.05),
    transparent 45%),
    #F8FAFC;

}

/*=========================================================
SERVICE CARD
=========================================================*/

.service-card{

    position:relative;

    background:#fff;

    border-radius:24px;

    overflow:hidden;

    border:1px solid rgba(15,23,42,.05);

    box-shadow:0 15px 40px rgba(15,23,42,.06);

    transition:.35s;

    height:100%;

}

.service-card:hover{

    transform:translateY(-10px);

    box-shadow:0 25px 60px rgba(15,23,42,.12);

}

.service-card::before{

    content:"";

    position:absolute;

    left:0;

    top:0;

    width:5px;

    height:0;

    background:var(--primary);

    transition:.35s;

}

.service-card:hover::before{

    height:100%;

}

/*=========================================================
CARD BODY
=========================================================*/

.service-card .card-body{

    padding:35px;

    display:flex;

    flex-direction:column;

    height:100%;

}

/*=========================================================
ICON
=========================================================*/

.service-icon{

    width:82px;

    height:82px;

    border-radius:22px;

    display:flex;

    align-items:center;

    justify-content:center;

    font-size:34px;

    color:#fff;

    background:linear-gradient(
        135deg,
        var(--primary),
        var(--primary-light)
    );

    margin-bottom:25px;

    transition:.35s;

}

.service-card:hover .service-icon{

    transform:rotate(-8deg) scale(1.08);

}

/*=========================================================
TITLE
=========================================================*/

.service-card h4{

    font-size:22px;

    font-weight:700;

    margin-bottom:15px;

    color:var(--black);

    transition:.3s;

}

.service-card:hover h4{

    color:var(--primary);

}

/*=========================================================
TEXT
=========================================================*/

.service-card p{

    color:var(--text-light);

    line-height:1.8;

    flex:1;

}

/*=========================================================
BUTTON
=========================================================*/

.service-card .btn{

    align-self:flex-start;

    margin-top:25px;

    border-radius:50px;

    padding:12px 24px;

}

/*=========================================================
STATISTICS
=========================================================*/

.statistics-section{

    position:relative;

    overflow:hidden;

    background:linear-gradient(
        135deg,
        #0B6B35,
        #128A45
    );

    color:#fff;

}

.statistics-section::before{

    content:"";

    position:absolute;

    inset:0;

    background:

    radial-gradient(circle at top right,

    rgba(255,255,255,.08),

    transparent 45%),

    radial-gradient(circle at bottom left,

    rgba(255,255,255,.05),

    transparent 50%);

}

/*=========================================================
STAT TITLE
=========================================================*/

.statistics-section .section-title{

    color:#fff;

}

.statistics-section .section-subtitle{

    color:rgba(255,255,255,.75);

}

/*=========================================================
STAT CARD
=========================================================*/

.stat-card{

    position:relative;

    background:rgba(255,255,255,.10);

    backdrop-filter:blur(15px);

    -webkit-backdrop-filter:blur(15px);

    border:1px solid rgba(255,255,255,.12);

    border-radius:24px;

    padding:35px 20px;

    text-align:center;

    transition:.35s;

    height:100%;

}

.stat-card:hover{

    transform:translateY(-10px);

    background:rgba(255,255,255,.16);

}

/*=========================================================
STAT ICON
=========================================================*/

.stat-icon{

    width:72px;

    height:72px;

    margin:auto;

    margin-bottom:22px;

    border-radius:18px;

    display:flex;

    align-items:center;

    justify-content:center;

    background:#fff;

    color:var(--primary);

    font-size:30px;

}

/*=========================================================
NUMBER
=========================================================*/

.stat-card h3{

    font-size:48px;

    font-weight:800;

    color:#fff;

    margin-bottom:10px;

}

/*=========================================================
LABEL
=========================================================*/

.stat-card p{

    margin:0;

    color:rgba(255,255,255,.85);

    font-size:15px;

}

/*=========================================================
COUNTER
=========================================================*/

.counter{

    display:inline-block;

    min-width:40px;

}

/*=========================================================
RESPONSIVE
=========================================================*/

@media(max-width:992px){

.service-card{

    margin-bottom:25px;

}

}

@media(max-width:768px){

.service-card .card-body{

    padding:25px;

}

.service-icon{

    width:68px;

    height:68px;

    font-size:28px;

}

.stat-card{

    padding:28px 15px;

}

.stat-card h3{

    font-size:38px;

}

}
/*=========================================================
LATEST NEWS
=========================================================*/

#news{

    position:relative;

    background:#fff;

}

/*=========================================================
HEADLINE
=========================================================*/

.headline-card{

    position:relative;

    overflow:hidden;

    border-radius:26px;

    background:#fff;

    box-shadow:0 20px 60px rgba(15,23,42,.08);

    height:100%;

}

.headline-card img{

    width:100%;

    height:420px;

    object-fit:cover;

    transition:.5s;

}

.headline-card:hover img{

    transform:scale(1.05);

}

.headline-content{

    padding:35px;

}

.headline-content span{

    display:inline-flex;

    align-items:center;

    gap:8px;

    padding:8px 16px;

    background:rgba(11,107,53,.08);

    color:var(--primary);

    border-radius:999px;

    font-size:13px;

    font-weight:700;

    margin-bottom:18px;

}

.headline-content h3{

    font-size:32px;

    line-height:1.35;

    margin-bottom:18px;

}

.headline-content p{

    color:var(--text-light);

    line-height:1.8;

    margin-bottom:25px;

}

.headline-content a{

    display:inline-flex;

    align-items:center;

    gap:8px;

    font-weight:700;

    color:var(--primary);

}

.headline-content a:hover{

    gap:14px;

}

/*=========================================================
NEWS ITEM
=========================================================*/

.news-item{

    display:flex;

    gap:18px;

    margin-bottom:25px;

    padding-bottom:25px;

    border-bottom:1px solid #EDF2F7;

}

.news-item:last-child{

    margin-bottom:0;

    padding-bottom:0;

    border:none;

}

.news-item img{

    width:150px;

    height:105px;

    object-fit:cover;

    border-radius:16px;

    flex-shrink:0;

    transition:.35s;

}

.news-item:hover img{

    transform:scale(1.05);

}

/*=========================================================
NEWS BODY
=========================================================*/

.news-body{

    flex:1;

}

.news-body small{

    display:block;

    color:var(--primary);

    font-size:13px;

    font-weight:600;

    margin-bottom:10px;

}

.news-body h5{

    margin-bottom:12px;

    line-height:1.45;

}

.news-body h5 a{

    color:var(--black);

    transition:.3s;

}

.news-body h5 a:hover{

    color:var(--primary);

}

.news-body p{

    font-size:14px;

    color:var(--text-light);

    margin-bottom:10px;

}

/*=========================================================
NEWS META
=========================================================*/

.news-meta{

    display:flex;

    align-items:center;

    gap:18px;

    font-size:13px;

    color:var(--text-light);

}

.news-meta i{

    color:var(--primary);

    margin-right:6px;

}

/*=========================================================
READ MORE
=========================================================*/

.news-read{

    display:inline-flex;

    align-items:center;

    gap:8px;

    font-size:14px;

    font-weight:700;

    color:var(--primary);

    transition:.3s;

}

.news-read:hover{

    gap:14px;

}

/*=========================================================
EMPTY NEWS
=========================================================*/

.news-empty{

    background:#fff;

    border:1px dashed var(--border);

    border-radius:20px;

    padding:50px;

    text-align:center;

}

.news-empty i{

    font-size:50px;

    color:var(--primary);

    margin-bottom:20px;

}

.news-empty h4{

    margin-bottom:10px;

}

.news-empty p{

    margin:0;

}

/*=========================================================
RESPONSIVE
=========================================================*/

@media(max-width:992px){

.headline-card{

    margin-bottom:35px;

}

.news-item{

    gap:15px;

}

}

@media(max-width:768px){

.headline-card img{

    height:260px;

}

.headline-content{

    padding:25px;

}

.headline-content h3{

    font-size:24px;

}

.news-item{

    flex-direction:column;

}

.news-item img{

    width:100%;

    height:220px;

}

}
/*=========================================================
PROGRAM SECTION
=========================================================*/

#programs{

    position:relative;

    background:#F8FAFC;

}

.program-card{

    position:relative;

    background:#fff;

    border-radius:24px;

    overflow:hidden;

    box-shadow:0 15px 45px rgba(15,23,42,.06);

    transition:.35s;

    height:100%;

}

.program-card:hover{

    transform:translateY(-10px);

    box-shadow:0 25px 60px rgba(15,23,42,.12);

}

.program-image{

    position:relative;

    overflow:hidden;

}

.program-image img{

    width:100%;

    height:240px;

    object-fit:cover;

    transition:.45s;

}

.program-card:hover .program-image img{

    transform:scale(1.08);

}

.program-body{

    padding:30px;

}

.program-body h4{

    font-size:24px;

    margin-bottom:15px;

}

.program-body p{

    margin-bottom:20px;

    color:var(--text-light);

}

.program-icon{

    width:70px;

    height:70px;

    display:flex;

    align-items:center;

    justify-content:center;

    border-radius:18px;

    background:rgba(11,107,53,.10);

    color:var(--primary);

    font-size:30px;

    margin-bottom:20px;

}

/*=========================================================
AGENDA
=========================================================*/

#agenda{

    background:#fff;

}

.agenda-card{

    display:flex;

    gap:25px;

    background:#fff;

    border-radius:22px;

    padding:25px;

    box-shadow:0 10px 35px rgba(15,23,42,.06);

    transition:.35s;

    margin-bottom:25px;

}

.agenda-card:hover{

    transform:translateY(-6px);

}

.agenda-date{

    width:90px;

    min-width:90px;

    border-radius:18px;

    background:var(--primary);

    color:#fff;

    display:flex;

    flex-direction:column;

    align-items:center;

    justify-content:center;

    padding:15px;

}

.agenda-date h2{

    font-size:34px;

    color:#fff;

    margin:0;

    line-height:1;

}

.agenda-date span{

    margin-top:8px;

    font-size:13px;

    text-transform:uppercase;

    letter-spacing:1px;

}

.agenda-body{

    flex:1;

}

.agenda-body h4{

    margin-bottom:12px;

}

.agenda-meta{

    display:flex;

    flex-wrap:wrap;

    gap:18px;

    font-size:14px;

    color:var(--text-light);

    margin-bottom:15px;

}

.agenda-meta i{

    color:var(--primary);

    margin-right:6px;

}

.agenda-body p{

    margin:0;

}

/*=========================================================
GALLERY
=========================================================*/

#gallery{

    background:#F8FAFC;

}

.gallery-item{

    position:relative;

    overflow:hidden;

    border-radius:22px;

    cursor:pointer;

}

.gallery-item img{

    width:100%;

    height:260px;

    object-fit:cover;

    transition:.45s;

}

.gallery-item:hover img{

    transform:scale(1.12);

}

.gallery-overlay{

    position:absolute;

    inset:0;

    display:flex;

    flex-direction:column;

    justify-content:flex-end;

    padding:25px;

    background:linear-gradient(

        transparent,

        rgba(0,0,0,.75)

    );

    opacity:0;

    transition:.35s;

}

.gallery-item:hover .gallery-overlay{

    opacity:1;

}

.gallery-overlay h5{

    color:#fff;

    margin-bottom:6px;

}

.gallery-overlay span{

    color:rgba(255,255,255,.8);

    font-size:14px;

}

/*=========================================================
RESPONSIVE
=========================================================*/

@media(max-width:992px){

.program-card{

    margin-bottom:25px;

}

.agenda-card{

    flex-direction:column;

}

.agenda-date{

    width:100%;

    flex-direction:row;

    gap:15px;

}

.gallery-item{

    margin-bottom:25px;

}

}

@media(max-width:768px){

.program-image img{

    height:220px;

}

.program-body{

    padding:22px;

}

.gallery-item img{

    height:220px;

}

}
/*=========================================================
CALL TO ACTION
=========================================================*/

#cta{

    position:relative;

    overflow:hidden;

    background:linear-gradient(
        135deg,
        var(--primary),
        var(--primary-dark)
    );

    color:#fff;

}

#cta::before{

    content:"";

    position:absolute;

    inset:0;

    background:
    radial-gradient(circle at top right,
    rgba(255,255,255,.12),
    transparent 45%),
    radial-gradient(circle at bottom left,
    rgba(255,255,255,.08),
    transparent 45%);

}

.cta-box{

    position:relative;

    z-index:2;

    text-align:center;

    max-width:900px;

    margin:auto;

}

.cta-box h2{

    color:#fff;

    font-size:48px;

    font-weight:800;

    margin-bottom:20px;

}

.cta-box p{

    color:rgba(255,255,255,.85);

    font-size:18px;

    margin-bottom:35px;

}

.cta-buttons{

    display:flex;

    justify-content:center;

    gap:20px;

    flex-wrap:wrap;

}

.cta-buttons .btn{

    min-width:220px;

}

/*=========================================================
FOOTER
=========================================================*/

.footer{

    background:#111827;

    color:#E5E7EB;

    padding:80px 0 0;

}

.footer-logo{

    display:flex;

    align-items:center;

    gap:15px;

    margin-bottom:25px;

}

.footer-logo img{

    width:60px;

    height:60px;

}

.footer-logo h4{

    color:#fff;

    margin:0;

}

.footer-logo small{

    color:#9CA3AF;

}

.footer-about{

    color:#9CA3AF;

    line-height:1.9;

    margin-bottom:25px;

}

.footer-title{

    color:#fff;

    font-size:18px;

    font-weight:700;

    margin-bottom:22px;

}

.footer-links{

    list-style:none;

    margin:0;

    padding:0;

}

.footer-links li{

    margin-bottom:12px;

}

.footer-links a{

    color:#9CA3AF;

    transition:.3s;

}

.footer-links a:hover{

    color:#fff;

    padding-left:8px;

}

.footer-contact{

    list-style:none;

    margin:0;

    padding:0;

}

.footer-contact li{

    display:flex;

    gap:12px;

    margin-bottom:15px;

    color:#9CA3AF;

}

.footer-contact i{

    color:var(--secondary);

    width:20px;

}

/*=========================================================
SOCIAL
=========================================================*/

.footer-social{

    display:flex;

    gap:12px;

    margin-top:25px;

}

.footer-social a{

    width:42px;

    height:42px;

    border-radius:50%;

    background:rgba(255,255,255,.08);

    display:flex;

    align-items:center;

    justify-content:center;

    color:#fff;

    transition:.3s;

}

.footer-social a:hover{

    background:var(--primary);

    transform:translateY(-5px);

}

/*=========================================================
COPYRIGHT
=========================================================*/

.footer-bottom{

    margin-top:60px;

    border-top:1px solid rgba(255,255,255,.08);

    padding:25px 0;

}

.footer-bottom p{

    margin:0;

    color:#9CA3AF;

}

.footer-bottom a{

    color:#fff;

}

/*=========================================================
NEWSLETTER
=========================================================*/

.newsletter{

    display:flex;

    gap:10px;

    margin-top:20px;

}

.newsletter input{

    flex:1;

    height:50px;

    border:none;

    border-radius:12px;

    padding:0 18px;

}

.newsletter button{

    height:50px;

    padding:0 22px;

    border:none;

    border-radius:12px;

    background:var(--primary);

    color:#fff;

    cursor:pointer;

}

/*=========================================================
RESPONSIVE
=========================================================*/

@media(max-width:992px){

.footer{

    text-align:center;

}

.footer-logo{

    justify-content:center;

}

.footer-social{

    justify-content:center;

}

.footer-contact li{

    justify-content:center;

}

.newsletter{

    flex-direction:column;

}

}

@media(max-width:768px){

.cta-box h2{

    font-size:34px;

}

.cta-box p{

    font-size:16px;

}

.cta-buttons{

    flex-direction:column;

}

.cta-buttons .btn{

    width:100%;

}

.footer{

    padding-top:60px;

}

.footer-bottom{

    text-align:center;

}

}