/* Soft Shadow */
.shadow-soft{
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

/* Medium Shadow */
.shadow-medium{
    box-shadow: 0 4px 15px rgba(0,0,0,0.12);
}

/* Floating Card */
.shadow-float{
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
    transition: all 0.3s ease;
}

.shadow-float:hover{
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.18);
}

/* Elegant Orange Glow */
.shadow-primary{
    box-shadow: 0 4px 15px rgba(242, 101, 34, 0.25);
}

/* Button Modern */
.btn-modern{
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.12);
    transition: all 0.25s ease;
}

.btn-modern:hover{
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.18);
}

/* Glass Shadow */
.shadow-glass{
    background: rgba(255,255,255,0.9);
    backdrop-filter: blur(8px);
    box-shadow: 0 8px 32px rgba(31,38,135,0.12);
}

.header-brand{
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.header-logo{
    width: 45px;
    height: 45px;
    object-fit: contain;
}

.header-text h5{
    margin: 0;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.2;
    color: #222;
    
}

.header-text small{
    display: block;
    font-size: 18px;
    color: #777;
    line-height: 1.2;
    
}

/* Wrapper logo kanan header */
.header-partner-logo{
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
}

/* Image logo kecil */
.header-partner-logo img{
    height: 38px;
    width: auto;
    object-fit: contain;
    transition: all 0.25s ease;
    opacity: 0.9;
}

/* Hover effect */
.header-partner-logo img:hover{
    opacity: 1;
    transform: scale(1.05);
}

/* Background menu utama */
.header-sticky{
    background: #0F7B0F;
    box-shadow: 0 3px 10px rgba(0,0,0,0.08);
}

/* Link menu utama */
.main-menu > li > a{
    color: #fff !important;
    font-weight: 600;
    padding: 18px 15px;
    display: inline-block;
    transition: all 0.25s ease;
}

/* Hover menu */
.main-menu > li > a:hover{
    color: #FFD54F !important;
}

/* Icon menu */
.main-menu > li > a i{
    color: #fff !important;
}

.main-menu .sub-menu{
    background: #0F7B0F !important;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.12);
    border: none;
    padding: 0px;
}

/* Item submenu */
.main-menu .sub-menu li,
.main-menu .sub-menu li a{
    background: #0F7B0F !important;
    color: #fff !important;
}

/* Hover submenu */
.main-menu .sub-menu li a:hover{
    background: #0c660c !important;
    color: #FFD54F !important;
}

.main-menu .sub-menu li a:hover{
    display: block;
}

.main-header .main-nav ul ul.sub-menu li:hover,
.main-header .main-nav ul ul.sub-menu li a:hover{
    background: transparent !important;
}

@media (max-width: 768px){
    .header-text h5{
        font-size: 11px;
        line-height: 1.1;
    }
    .header-text small{
        font-size: 8px;
        line-height: 1.1;
    }

    .slide-content{
        top: 50%;
        transform: translate(-50%, -50%);
        width: 90%;
        padding: 0 10px;
    }

    .slide-content h1{
        font-size: 12px;
    }

    .slide-content p{
        font-size: 8px;
    }

    .banner-photo{
        opacity:.15;
    }

    .photo-1{
        width:120px;
        height:160px;
        left:-20px;
    }

    .photo-2{
        width:120px;
        height:160px;
        left:40px;
    }
    .program-card{
        margin-bottom:20px;
    }

    .facility-left .facility-content,
    .facility-right .facility-content{
        border-radius:0 70px 70px 0;
        text-align:left;
        padding:20px 100px 20px 20px;
    }

    .facility-right .facility-image{
        left:auto;
        right:10px
        box-shadow:
        0 0 10px rgba(255,255,255,0.4),
        0 0 20px rgba(255,255,255,0.2);    }

    .whatsapp-float{
        right:31px;
        bottom:80px;
        width:55px;
        height:55px;
    }

    .potrait-image{
        display: block;
        margin: 0 auto;
    }

    .tenaga-photo{
        height:280px;
    }

    .tenaga-nama{
        font-size:16px;
        min-height:auto;
    }

    /*.fasilitas-card{
        display:flex !important;
        flex-direction:column-reverse !important;
    }

    .fasilitas-card.reverse{
        display:flex !important;
        flex-direction:column-reverse !important;
    }

    .fasilitas-image,
    .fasilitas-content{
        width:100%;
    }

    .fasilitas-image img{
        height:250px;
    }*/

    .timeline-year{
        font-size:28px;
    }

    .timeline-header{
        flex-direction:column;
        align-items:flex-start;
    }

}

@media(max-width:991px){
    .tenaga-photo{
        height:300px;
    }
}

.heroSwiper,
.heroSwiper .swiper-wrapper,
.heroSwiper .swiper-slide{
    height: 500px;
}

.slide-bg{
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    position: relative;
}

.slide-bg::before{
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.45);
}

.slide-content{
    position: absolute;
    top: 58%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #fff;
    z-index: 2;
    width: 80%;
}

.slide-content h1,
.slide-content p{
    color: #fff;
}

.slide-content h1{
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
}

.slide-content p{
    font-size: 13px;
    opacity: 0.9;
}

.swiper-pagination{
    bottom: 20px !important;
}

.text-shine{
    color: #fff;
    text-shadow:
        0 0 5px rgba(255,215,0,0.8),
        0 0 10px rgba(255,215,0,0.6),
        0 0 20px rgba(255,215,0,0.4);
    animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow{
    from{
        text-shadow:
            0 0 5px rgba(255,255,255,0.5),
            0 0 10px rgba(255,255,255,0.5);
    }
    to{
        text-shadow:
            0 0 10px rgba(255,255,255,0.9),
            0 0 20px rgba(255,255,255,0.8),
            0 0 30px rgba(255,255,255,0.6);
    }
}

.text-glow-gold{
    color: #fff;
    text-shadow:
        0 0 5px rgba(255,215,0,0.8),
        0 0 10px rgba(255,215,0,0.6),
        0 0 20px rgba(255,215,0,0.4);
}

.banner-photo{
    position:absolute;
    z-index:1;
    width:180px;
    height:240px;
    border-radius:12px;
    overflow:hidden;
    border:2px solid #D4AF37;
    box-shadow:
        0 15px 35px rgba(0,0,0,.25),
        0 0 0 1px rgba(255,255,255,.2) inset;
}

.banner-photo img{
    width:100% !important;
    height:100% !important;
    object-fit:cover;
    display:block;
    object-position:center;
}

/* Foto belakang */
.photo-1{
    width:180px;
    height:240px;
    left:40px;
    top:50%;
    transform:translateY(-50%) rotate(-12deg);
    opacity:.85;
}

/* Foto depan */
.photo-2{
    width:180px;
    height:240px;
    left:120px;
    top:50%;
    transform:translateY(-50%) rotate(8deg);
}

/* Pastikan konten di atas foto */
.entry-main-content{
    position:relative;
    z-index:5;
}

.banner-photo::before{
    content:'';
    position:absolute;
    inset:6px;
    border:1px solid rgba(212,175,55,.5);
    border-radius:8px;
    pointer-events:none;
}

.rotateZoomIn{
    animation: rotateZoomIn 1s ease-out;
}

@keyframes rotateZoomIn{
    0%{
        opacity:0;
        transform:scale(0.3) rotate(-180deg);
    }

    70%{
        transform:scale(1.05) rotate(10deg);
    }

    100%{
        opacity:1;
        transform:scale(1) rotate(0deg);
    }
}

.program-card{
    background:#fff;
    border:2px solid #D4AF37;
    border-radius:12px;

    padding:30px 25px;
    text-align:center;
    height:100%;

    transition:all .3s ease;

    box-shadow:
        0 5px 15px rgba(0,0,0,.06);
    display:flex;
    flex-direction:column;
}

.program-card:hover{
    transform:translateY(-5px);

    box-shadow:
        0 12px 30px rgba(0,0,0,.12);
}

.program-icon{
    width:70px;
    height:70px;

    margin:0 auto 20px;

    border-radius:50%;

    background:#0F7B0F;
    color:#fff;

    display:flex;
    align-items:center;
    justify-content:center;

    font-size:28px;

    box-shadow:
        0 5px 15px rgba(15,123,15,.25);
}

.program-card h4{
    color:#0F7B0F;
    font-weight:700;
    margin-bottom:15px;
    min-height:60px;
    max-height:60px;
    line-height:1.4;
     display:-webkit-box;
    -webkit-line-clamp:2;
    -webkit-box-orient:vertical;

    overflow:hidden;
}
.program-card p{
    color:#666;
    line-height:1.8;
    margin:0;
    flex-grow: 1;
}
.program-card::before{
    content:'';
    display:block;
    width:60px;
    height:3px;
    background:#D4AF37;
    margin:0 auto 20px;
    border-radius:10px;
}

.font-arabian{
    font-family: 'El Messiri', sans-serif !important;
}

.font-title {
    color:#0F7B0F;
    font-weight: 900;
}

.post-card-content{
    height:auto !important;
    min-height:auto !important;
}

.post-card-1{
    background:#fff;
    border:2px solid rgba(212,175,55,.7);
    border-radius:12px;
    overflow:hidden;
    box-shadow:0 5px 15px rgba(0,0,0,.05);
    transition:all .3s ease;
}

.post-card-1:hover{
    border-color:#D4AF37;
    box-shadow:0 10px 25px rgba(15,123,15,.15);
}

.post-card-1 .post-thumb{
    min-height:220px;
}

.post-card-1 .post-title{
    min-height:72px;
    margin-bottom:10px;

    line-height:1.4;
    overflow:hidden;
}

.post-card-1 .post-title a{
    color:#0F7B0F;
    transition:.3s;
    display:-webkit-box;
    -webkit-line-clamp:3;
    -webkit-box-orient:vertical;
    overflow:hidden;
}

.post-card-1:hover .post-title a{
    color:#D4AF37;
}

.announcement-slider .swiper-slide img{
    width:100%;
    height:100%;
    object-fit:cover;
    display:block;
    transition:transform .7s cubic-bezier(.2,.8,.2,1);
}

.announcement-slider .swiper-slide:hover img{
    transform:scale(1.1);
}

.facility-card{
    margin-bottom:25px;
}

.facility-content{
    position:relative;
    background:#fff;
    border:2px solid #D4AF37;
    min-height:210px;
    overflow:hidden;
    display:flex;
    flex-direction:column;
    justify-content:center;
}

/* ==========================
   CARD KIRI
========================== */

.facility-left .facility-content{
    border-radius:0 110px 110px 0;
    padding:25px 180px 25px 25px;
}

.facility-left .facility-image{
    position:absolute;
    right:10px;
    top:50%;
    transform:translateY(-50%);
    width:180px;
    height:180px;
    border-radius:50%;
    overflow:hidden;
    box-shadow:
        0 0 10px rgba(255,255,255,0.4),
        0 0 20px rgba(255,255,255,0.2);
    
}

/* ==========================
   CARD KANAN
========================== */

.facility-right .facility-content{
    border-radius:110px 0 0 110px;
    padding:25px 25px 25px 180px;
    text-align:right;
}

.facility-right .facility-image{
    position:absolute;
    left:10px;
    top:50%;
    transform:translateY(-50%);
    width:180px;
    height:180px;
    border-radius:50%;
    overflow:hidden;
    box-shadow:
        0 0 10px rgba(255,255,255,0.4),
        0 0 20px rgba(255,255,255,0.2);
}

/* ==========================
   FOTO
========================== */

.facility-image img{
    width:100%;
    height:100%;
    object-fit:cover;
    display:block;
    filter: brightness(1.15) saturate(1.1);
}

/* ==========================
   TEKS
========================== */

.facility-content h5{
    color:#0F7B0F;
    font-weight:700;
    margin-bottom:10px;
}

.facility-content p{
    margin-bottom:0;
    color:#666;
}

/* ==========================
   HOVER
========================== */

.facility-card{
    transition:.3s;
}

.facility-card:hover{
    transform:translateY(-3px);
}

.facility-card:hover .facility-image img{
    transform:scale(1.08);
}

.facility-image img{
    transition:.5s;
}

.education-card{
    background:#fff;
    border:1px solid #D4AF37;
    border-radius:15px;
    padding:30px 20px;
    text-align:center;
    height:100%;
    transition:.3s;
    overflow:hidden;
    position:relative;
}

.education-card:hover{
    transform:translateY(-6px);
    box-shadow:0 12px 25px rgba(0,0,0,.12);
}

.education-logo{
    width:100px;
    height:100px;
    margin:0 auto 20px;
    background:#fff;
    padding:10px;
    display:flex;
    align-items:center;
    justify-content:center;
    overflow:hidden; /* wajib */
}

.education-logo img{
    width:100%;
    height:100%;
    object-fit:contain;
}
.education-card h4{
    color:#0F7B0F;
    font-weight:700;
    min-height:60px;
    border-bottom:2px dotted #D4AF37;
}
.education-card p{
    color:#666;
    margin-bottom:0;
}

.video-thumb{
    aspect-ratio: 9/16;
    overflow:hidden;
    border-radius:10px;
}

.video-thumb img{
    width:100%;
    height:100%;
    object-fit:cover;
    display:block;
}

td.wrap-text{
    white-space: normal !important;
    word-break: break-word !important;
    overflow-wrap: break-word !important;
    vertical-align: top !important;
}

.announcement-slider{
    width:100%;
}

.announcement-slider .swiper-slide{
    height:300px;
    overflow:hidden;
}

.announcement-slider .swiper-slide img{
    width:100%;
    height:300px;
    object-fit:fill;
}

.gallery-item{
    overflow:hidden;
    border-radius:15px;
    background:#fff;
    border:1px solid rgba(15,123,15,.15);
    box-shadow:0 4px 15px rgba(15,123,15,.08);
    transition:.3s;
    position:relative;
}

.gallery-item:hover{
    border-color:#0F7B0F;
    box-shadow:
        0 8px 25px rgba(15,123,15,.20);
}

.gallery-item img{
    width:100%;
    height:250px;
    object-fit:cover;
    transition:.5s;
}

.gallery-item:hover img{
    transform:scale(1.07);
}

.gallery-item::after{
    content:'';
    position:absolute;
    inset:0;
    background:linear-gradient(
        to top,
        rgba(0,0,0,.35),
        transparent
    );
    opacity:0;
    transition:.3s;
}

.gallery-item:hover::after{
    opacity:1;
}

footer{
    position:relative;
    overflow:hidden;
    background:#0F7B0F; /* fallback hijau */
    color:#F5F5F5;
}

footer::before{
    content:'';
    position:absolute;
    inset:0;
    background-image: var(--footer-bg);
    background-size:cover;
    filter:blur(8px);
    transform:scale(1.1);
    opacity:.3;
    z-index:1;
}

footer::after{
    content:'';
    position:absolute;
    inset:0;
    background:rgba(15,123,15,.75);
    z-index:2;
}

footer .container{
    position:relative;
    z-index:3;
}

footer h5{
    color:#FFD700;
    font-weight:700;
}

footer p,
footer li,
footer span{
    color:#F5F5F5;
}

footer a{
    color:#F5F5F5;
    transition:.3s;
}

footer a:hover{
    color:#F59E0B;
}

#scrollUp{
    right:20px;
    bottom:20px;
}

.whatsapp-float{
    position:fixed;
    right:31px;
    bottom:80px;
    width:40px;
    height:40px;
    border-radius:50%;
    background:#25D366;
    color:#fff;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:20px;
    box-shadow:0 4px 15px rgba(0,0,0,.25);
    z-index:999;
    transition:.3s;
}

.whatsapp-float:hover{
    transform:scale(1.1);
}

.whatsapp-float::before{
    content:'';
    position:absolute;
    inset:-8px;
    border-radius:50%;
    background:rgba(37,211,102,.3);
    animation:waPulse 2s infinite;
}

@keyframes waPulse{
    0%{
        transform:scale(1);
        opacity:1;
    }
    100%{
        transform:scale(1.6);
        opacity:0;
    }
}

.entry-header-style-2{
    background-image: url('breadcrumb-a.png');
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;

    text-align: left;
}

.entry-header-style-2::before{
    /*background: rgba(15,123,15,.15);*/
}

.entry-header-style-2 .entry-title{
    color:#fff;
}

.breadcrumb-page{
    color:#fff;
    font-size:14px;
    margin-bottom:15px;
}

.breadcrumb-page a{
    color:#fff;
}

.breadcrumb-page span{
    color:#fff;
}

.page-header .entry-title {
    font-size: 30px;
    line-height: 1.2;
    padding-left: 0px;
}
.page-header .breadcrumb-page{
    padding-left: 0px;
}

.portal-content img{
    /*max-width: 100%;
    height: auto;*/

    margin-top: 15px;
    margin-bottom: 15px;

    margin-left: 15px;
    margin-right: 15px;
}

.potrait-image img{
    width: 100%;
    max-width: 280px;
    aspect-ratio: 3 / 4;

    object-fit: cover;
    object-position: center;

    border-radius: 10px !important;
}

.portal-image{
    border: 2px solid rgba(15,123,15,.35) !important;
    border-radius: 12px !important;
    /*box-shadow: 0 8px 25px rgba(15,123,15,.12) !important;*/
    overflow: hidden;
}

.portal-content ul > li{
    display: list-item !important;
    list-style-type: disc !important;
    margin-left: 20px;
}

.portal-content ol > li{
    display: list-item !important;
    list-style-type: decimal !important;
    margin-left: 20px;
}

.tenaga-card{
    background:#fff;
    border-radius:16px;
    overflow:hidden;
    border:1px solid rgba(0,0,0,.08);
    box-shadow:0 8px 25px rgba(0,0,0,.08);
    transition:all .3s ease;
    height:100%;
}

.tenaga-card:hover{
    transform:translateY(-6px);
    box-shadow:0 15px 35px rgba(0,0,0,.15);
}

/* Foto */
.tenaga-photo{
    width:100%;
    height:250px;
    object-fit:contain;
    object-position:center top;
    display:block;
    transition:transform 2s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Informasi */
.tenaga-info{
    padding:15px 15px 18px;
    text-align:center;
}

/* Nama */
.tenaga-nama{
    font-size:14px;
    font-weight:700;
    color:#222;
    line-height:1.4;
    margin-bottom:2px;
}

/* Jabatan */
.tenaga-jabatan{
    font-size:14px;
    color:#6c757d;
    line-height:1.4;
    margin: 0;
}

.tenaga-card:hover .tenaga-photo{
    transform:scale(1.04);
}

.fasilitas-card{
    display:flex;
    align-items:center;
    background:#fff;
    border-radius:16px;
    overflow:hidden;
    border:1px solid rgba(0,0,0,.08);
    box-shadow:0 8px 25px rgba(0,0,0,.06);
    height:100%;
    transition:all .3s ease;
}

.fasilitas-card:hover{
    transform:translateY(-4px);
    box-shadow:0 15px 35px rgba(0,0,0,.12);
}

/* Genap: gambar kanan */
.fasilitas-card.reverse{
    flex-direction:row-reverse;
}

.fasilitas-image{
    width:45%;
    overflow:hidden;
}

.fasilitas-image img{
    width:100%;
    height:220px;
    object-fit:cover;
    display:block;
    transition:transform 1.5s ease;
}

.fasilitas-card:hover .fasilitas-image img{
    transform:scale(1.04);
}

.fasilitas-content{
    width:55%;
    padding:20px;
}

.fasilitas-content h4{
    margin-bottom:10px;
    font-size:20px;
    font-weight:700;
    color:#222;
}

.fasilitas-content p{
    margin:0;
    line-height:1.7;
    color:#666;
}
.prestasi-timeline{
    position:relative;
    max-width:1000px;
    margin:auto;
    padding-left:50px;
}

.prestasi-timeline::before{
    content:'';
    position:absolute;
    left:15px;
    top:0;
    bottom:0;
    width:3px;
    background:linear-gradient(
        to bottom,
        #1b5e20,
        #d4af37
    );
}

.timeline-year{
    font-size:34px;
    font-weight:800;
    color:#1b5e20;
    margin:50px 0 25px;
    position:relative;
}

.timeline-item{
    position:relative;
    margin-bottom:25px;
}

.timeline-dot{
    position:absolute;
    left:-42px;
    top:24px;
    width:18px;
    height:18px;
    border-radius:50%;
    background:#d4af37;
    border:4px solid #fff;
    box-shadow:0 0 0 3px #1b5e20;
}

.timeline-card{
    background:#fff;
    border-radius:18px;
    padding:22px 25px;
    box-shadow:0 10px 30px rgba(0,0,0,.08);
    border-left:5px solid #d4af37;
    transition:.4s;
}

.timeline-card:hover{
    transform:translateY(-5px);
    box-shadow:0 18px 40px rgba(0,0,0,.12);
}

.timeline-header{
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:15px;
    margin-bottom:10px;
}

.timeline-header h4{
    margin:0;
    font-size:20px;
    font-weight:700;
    color:#222;
}

.timeline-level{
    background:#eef8f0;
    color:#1b5e20;
    padding:6px 12px;
    border-radius:50px;
    font-size:12px;
    font-weight:700;
}

.timeline-meta{
    color:#888;
    font-size:13px;
    margin-bottom:8px;
}

.timeline-peraih{
    font-weight:600;
    color:#d4af37;
    margin-bottom:10px;
}

.timeline-card p{
    margin:0;
    line-height:1.8;
    color:#555;
}
