/* ==========================================================================
   Pikul Bareng — custom brand & polish layer
   ========================================================================== */

/* ---------- Smooth scroll for "Mulai Berdonasi" anchor ---------- */
html{scroll-behavior:smooth}
#donasi{scroll-margin-top:80px}

/* ---------- Preloader: logo + spinner ring ---------- */
.loader{display:flex;align-items:center;justify-content:center;flex-direction:column;background:#fff}
.loader .loader-logo{position:relative;width:76px;height:76px;margin:0 auto 16px}
.loader .loader-logo img{position:absolute;inset:0;margin:auto;width:50px;height:50px}
.loader-ring{position:absolute;inset:0;border:3px solid rgba(255,96,21,.18);border-top-color:#ff6015;border-radius:50%;animation:pikul-spin .9s linear infinite}
@keyframes pikul-spin{to{transform:rotate(360deg)}}
.loader-text{font-family:quicksand,sans-serif;font-weight:700;font-size:19px;color:#302c51;letter-spacing:.6px}
.loader-text b{color:#ff6015}

/* ---------- Branding ---------- */
.navbar-brand{display:flex;align-items:center;gap:10px;padding-top:0;padding-bottom:0}
.navbar-brand .brand-logo,
.mobile-nav .logo img{width:38px!important;height:38px!important;background-color:#ffffff!important;border-radius:50%!important;padding:4px!important;box-shadow:0 2px 8px rgba(0,0,0,.16)!important;object-fit:contain!important;display:inline-block!important;flex-shrink:0!important}
.brand-wordmark{font-family:quicksand,sans-serif;font-weight:700;font-size:24px;color:#302c51;line-height:1;letter-spacing:-.3px}
.brand-wordmark b{color:#ff6015}
.main-nav.menu-shrink .brand-wordmark{font-size:20px}
.mobile-nav .logo{display:flex;align-items:center;gap:10px}
.mobile-nav .brand-wordmark{font-size:19px;color:#ffffff!important}

/* ---------- Theme Switcher in Navigation Menu ---------- */
.nav-theme-toggle{margin-left:auto}
.main-nav nav .navbar-nav .nav-item.nav-theme-toggle{display:flex!important;align-items:center!important;padding:0!important;margin-left:15px!important}
.menu-theme-switch{display:flex;align-items:center;margin:0;padding:0}
.switch{position:relative;display:inline-block;width:48px;height:26px;margin-bottom:0;flex-shrink:0}
.switch input{opacity:0;width:0;height:0}
.switch .slider{position:absolute;cursor:pointer;top:0;left:0;right:0;bottom:0;background-color:transparent;border:1.5px solid #ff6015;transition:.4s}
.switch .slider.round{border-radius:34px}
.switch .slider::before{position:absolute;content:"";height:20px;width:20px;left:2px;top:0;bottom:0;margin:auto 0;transition:.4s;border-radius:50%;background:#ff6015 url(../img/night.png) no-repeat center;background-size:12px}
.switch input:checked+.slider{background-color:transparent;border-color:#ff6015}
.switch input:checked+.slider::before{transform:translateX(21px);background:#ff6015 url(../img/sunny.png) no-repeat center;background-size:12px}

/* ---------- Mobile Menu (MeanMenu) Frame & Border Polish ---------- */
@media only screen and (max-width:991px){
  .mean-container a.meanmenu-reveal{transition:none!important;-webkit-transition:none!important;touch-action:manipulation!important;-webkit-tap-highlight-color:transparent!important}
  .mean-container a.meanmenu-reveal span{transition:none!important;-webkit-transition:none!important}
  .mean-container .mean-bar{background-color:#302c51!important}
  .mean-container .mean-nav{background:#fff;margin-top:55px;border-radius:0 0 20px 20px;box-shadow:0 15px 35px rgba(48,44,81,.22);border:1px solid rgba(48,44,81,.12);border-top:none;overflow:hidden;will-change:height,opacity;transform:translateZ(0);-webkit-transform:translateZ(0)}
  .mean-container .mean-nav ul{height:auto!important;max-height:80vh;overflow-y:auto;padding:6px 0}
  .mean-container .mean-nav ul li a{display:block;padding:13px 20px;color:#302c51;font-family:quicksand,sans-serif;font-weight:600;font-size:15px;border-top:1px solid #f0edf7;transition:all .25s ease}
  .mean-container .mean-nav ul li:first-child a{border-top:none}
  .mean-container .mean-nav ul li a:hover,.mean-container .mean-nav ul li a.active{color:#ff6015!important;background-color:rgba(255,96,21,.06);padding-left:26px}
  .menu-theme-switch{justify-content:center;padding:14px 20px;border-top:1px solid #f0edf7;margin-top:4px;background-color:rgba(48,44,81,.02)}
  .theme-dark .mean-container .mean-nav{background:#1d1d1d!important;border-color:rgba(255,255,255,.1)!important;box-shadow:0 15px 35px rgba(0,0,0,.6)!important}
  .theme-dark .mean-container .mean-nav ul li a{color:#fff!important;border-top-color:rgba(255,255,255,.08)!important}
  .theme-dark .mean-container .mean-nav ul li a:hover,.theme-dark .mean-container .mean-nav ul li a.active{color:#ff6015!important;background-color:rgba(255,96,21,.12)!important}
  .theme-dark .menu-theme-switch{border-top-color:rgba(255,255,255,.08);background-color:rgba(255,255,255,.03)}
}

/* ---------- Kolom presisi: kartu seragam & sejajar ---------- */
.donation-item,.blog-item{height:100%;display:flex;flex-direction:column;margin-bottom:30px!important;border-radius:22px;overflow:hidden;border:1px solid rgba(48,44,81,.14)!important;box-shadow:0 8px 24px rgba(48,44,81,.07)!important;background:#fff}
.donation-item .img,.blog-item .top{flex-shrink:0;aspect-ratio:16/10;overflow:hidden;background:#f5f3ee}
.donation-item .img img,.blog-item .top img{width:100%;height:100%;object-fit:cover;transition:transform .5s ease}
.donation-item:hover .img img,.blog-item:hover .top img{transform:scale(1.06)}
.donation-item .inner,.blog-item .bottom{margin-top:auto}

@media only screen and (max-width:991px){
  .donation-item,.blog-item{margin-bottom:25px!important;border:1.5px solid rgba(48,44,81,.14)!important;box-shadow:0 8px 24px rgba(48,44,81,.09)!important}
  .donations-area .row > div,
  .blog-area .row > div,
  .donations-area [class*="col-"],
  .blog-area [class*="col-"]{margin-bottom:20px!important}
}
.theme-dark .donation-item,.theme-dark .blog-item{border:1px solid rgba(255,255,255,.15)!important;box-shadow:0 12px 35px rgba(0,0,0,.6)!important}

/* ---------- Mobile Card, Content Width & Typography Polish ---------- */
@media only screen and (max-width:767px){
  .container{padding-left:14px!important;padding-right:14px!important}
  .donations-area .row,.blog-area .row{margin-left:-6px!important;margin-right:-6px!important}
  .donations-area .row > div,.blog-area .row > div,
  .donations-area [class*="col-"],.blog-area [class*="col-"]{padding-left:6px!important;padding-right:6px!important;margin-bottom:18px!important}
  
  .donation-item,.blog-item{border-radius:18px!important;margin-bottom:18px!important}
  .donation-item .top{padding:14px 14px 4px 14px!important}
  .donation-item .inner{padding:0 14px 16px 14px!important;overflow:visible!important}
  .donation-item .bottom{padding-top:30px!important;overflow:visible!important}
  .donation-item .bottom .skill{overflow:visible!important;margin-bottom:14px!important}
  .donation-item .bottom .skill-bar{overflow:visible!important}
  .donation-item .bottom .skill-bar span{top:-22px!important;font-size:13px!important;font-weight:600!important;color:#302c51!important}
  .donation-item .top h3,.blog-item .bottom h3{font-size:16.5px!important;line-height:1.35!important;margin-bottom:6px!important}
  .blog-item .bottom{padding:14px 14px 16px 14px!important}
  .blog-item .bottom ul{margin-bottom:8px!important}
  .blog-item .bottom ul li{font-size:12.5px!important;margin-right:10px!important}
  .blog-item .bottom .blog-btn{font-size:13.5px!important;margin-top:4px!important}

  /* Badan Berita & Halaman Detail (Lebih Luas, Proporsional) */
  .donation-details-area{padding-top:75px!important;padding-bottom:40px!important}
  .donation-details-area .details-item .details-img h2{font-size:22px!important;line-height:1.35!important;margin-bottom:12px!important}
  .donation-details-area .details-item .details-img img{border-radius:14px!important;margin-bottom:16px!important;width:100%!important}
  .donation-details-area .details-item .details-img p,.donation-details-area .details-item .details-img div{font-size:15px!important;line-height:1.75!important}
  .donation-details-area .details-item .details-payment{padding:22px 16px!important;border-radius:16px!important}
}

/* ---------- Hide floating back-to-top button ---------- */
.go-top{display:none!important}

/* ---------- Footer: link informasi ---------- */
.footer-area .footer-links{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:6px 12px;text-align:center;padding-top:40px}
.footer-area .footer-links a{display:inline-block;color:#cfccdd;font-weight:500!important;font-size:14px!important;margin:0!important;transition:.3s}
.footer-area .footer-links a:hover{color:#ff6015}
.footer-area .footer-link-sep{color:#6c668a!important;font-size:13px!important;font-weight:400!important;margin:0 2px!important}
.footer-area .copyright-area{margin-top:20px}

@media only screen and (max-width:767px){
  .footer-area .footer-links{display:flex!important;flex-wrap:nowrap!important;align-items:center!important;justify-content:center!important;padding-top:18px!important;padding-left:6px!important;padding-right:6px!important;gap:0!important;white-space:nowrap!important;overflow:visible!important}
  .footer-area .footer-links a{font-size:clamp(11px,3.3vw,13px)!important;font-weight:400!important;margin:0 3px!important;color:#cfccdd!important;white-space:nowrap!important;letter-spacing:-.1px!important}
  .footer-area .footer-link-sep{font-size:12px!important;font-weight:300!important;color:#6c668a!important;margin:0 2px!important;user-select:none!important}
  .footer-area .copyright-area{margin-top:12px!important;padding-top:10px!important;padding-bottom:15px!important;border-top:1px solid rgba(255,255,255,.08)!important}
  .footer-area .copyright-area p{font-weight:400!important;font-size:clamp(11px,3.1vw,12.5px)!important;white-space:nowrap!important;margin-bottom:0!important;color:rgba(255,255,255,.75)!important;text-align:center!important}
  .footer-area .copyright-area p a{font-weight:500!important;color:#ff6015!important}
}

/* ---------- Bentuk rounded ---------- */
.donation-item .img img,.blog-item .top a img{border-radius:0}
.donation-item .top{padding-left:30px;padding-right:30px}
.donation-item .inner{padding:0 30px 30px}
.donation-item .top h3{padding-top:8px}
.details-img img,.blog-item .top img{border-radius:18px}
.widget-area .post-inner li img{border-radius:12px}
.pagination-area ul li a{border-radius:10px}
.donation-details-area .details-item .details-img img{border-radius:18px}

/* ---------- Form ---------- */
.form-control{border-radius:12px}
.donation-details-area .details-payment{border-radius:18px}
.donation-details-area .details-payment .form-control{border-radius:12px}
.contact-area #contactForm .form-control{border-radius:10px;border:1px solid #ece5dc}

/* ---------- Static Content Pages (/tentang-kami, /syarat-dan-ketentuan, /pusat-bantuan) ---------- */
.static-page-area{padding-top:100px;padding-bottom:80px;background-color:#fcfbfa}
.static-page-card{background:#fff;border-radius:20px;padding:45px 50px;border:1px solid rgba(48,44,81,.1);box-shadow:0 10px 30px rgba(48,44,81,.05)}
.static-content h2{font-family:quicksand,sans-serif;font-size:30px;font-weight:700;color:#302c51;margin-bottom:20px;padding-bottom:12px;border-bottom:2px solid rgba(255,96,21,.15)}
.static-content h3{font-family:quicksand,sans-serif;font-size:20px;font-weight:700;color:#302c51;margin-top:30px;margin-bottom:12px}
.static-content p{font-size:15.5px;line-height:1.8;color:#555;margin-bottom:14px}
.static-content ul{margin:12px 0 20px 0!important;padding-left:28px!important;list-style-type:disc!important}
.static-content ul li{font-size:15px;line-height:1.75;color:#555;margin-bottom:8px;list-style-type:disc!important;display:list-item!important;padding-left:4px}
.static-content ol{margin:12px 0 20px 0!important;padding-left:28px!important;list-style-type:decimal!important}
.static-content ol li{font-size:15px;line-height:1.75;color:#555;margin-bottom:8px;list-style-type:decimal!important;display:list-item!important;padding-left:4px}

@media only screen and (max-width:767px){
  .static-page-area{padding-top:80px;padding-bottom:50px}
  .static-page-card{padding:28px 20px;border-radius:16px}
  .static-content h2{font-size:24px;margin-bottom:16px}
  .static-content h3{font-size:18px;margin-top:24px;margin-bottom:10px}
  .static-content p{font-size:14.5px;line-height:1.75;margin-bottom:12px}
  .static-content ul,.static-content ol{padding-left:20px!important;margin:10px 0 16px 0!important}
  .static-content ul li,.static-content ol li{font-size:14px;line-height:1.7;margin-bottom:6px}
}

.theme-dark .static-page-area{background-color:#1a1926}
.theme-dark .static-page-card{background-color:#252525;border-color:rgba(255,255,255,.12);box-shadow:0 10px 30px rgba(0,0,0,.5)}
.theme-dark .static-content h2{color:#fff;border-bottom-color:rgba(255,96,21,.3)}
.theme-dark .static-content h3{color:#fff}
.theme-dark .static-content p,.theme-dark .static-content ul li,.theme-dark .static-content ol li{color:#d1d0db}

/* ---------- Campaign Detail Header & Stats Card ---------- */
.campaign-stats-card{background:#fdfaf7;border:1px solid rgba(255,96,21,.16);border-radius:16px;padding:20px 24px;margin-top:16px;margin-bottom:24px}
.campaign-date,.campaign-deadline{font-size:14px;font-weight:500;color:#757575}
.campaign-money-row{display:flex;justify-content:space-between;align-items:flex-end;flex-wrap:wrap;gap:10px 15px;padding-top:10px;border-top:1px dashed rgba(48,44,81,.12);margin-top:8px}
.raised-wrapper .raised-label,.target-wrapper .target-label{display:block;font-size:12px;color:#888;margin-bottom:2px;font-weight:500;text-transform:uppercase;letter-spacing:.3px}
.raised-wrapper .raised-amount{font-family:quicksand,sans-serif;font-size:26px;font-weight:700;color:#ff6015;margin:0;line-height:1.2;white-space:nowrap}
.target-wrapper{text-align:right}
.target-wrapper .target-amount{font-family:quicksand,sans-serif;font-size:16px;font-weight:700;color:#302c51;white-space:nowrap}
.campaign-progress-box .skill-bar-wrap{width:100%;height:8px;background-color:#eee9e2;border-radius:20px;overflow:hidden}
.campaign-progress-box .skill-bar-inner{height:100%;background:linear-gradient(90deg,#ff6015,#ff8c42);border-radius:20px;transition:width .6s ease}
.campaign-progress-box .progress-pct{font-size:13.5px;color:#ff6015}
.campaign-progress-box .donatur-cnt{font-size:13.5px;color:#302c51}

@media only screen and (max-width:767px){
  .campaign-stats-card{padding:16px 18px;margin-top:12px;margin-bottom:20px;border-radius:14px}
  .campaign-date,.campaign-deadline{font-size:12.5px}
  .raised-wrapper .raised-amount{font-size:22px}
  .target-wrapper .target-amount{font-size:15px}
}

.theme-dark .campaign-stats-card{background:#252525;border-color:rgba(255,255,255,.1)}
.theme-dark .campaign-money-row{border-top-color:rgba(255,255,255,.1)}
.theme-dark .campaign-date,.theme-dark .campaign-deadline{color:#a8a6b8!important}
.theme-dark .target-wrapper .target-amount{color:#fff}
.theme-dark .campaign-progress-box .skill-bar-wrap{background-color:#383838}
.theme-dark .campaign-progress-box .donatur-cnt{color:#fff}