/* ========================================
   KDEBWM CUSTOM HOMEPAGE (RESPONSIVE REFACTOR)
   ======================================== */

/* =========================================================
   GLOBAL HEADER SIZING & OVERFLOW FIX
   ========================================================= */
.kdeb-header,
.kdeb-header *,
.kdeb-header *::before,
.kdeb-header *::after {
    box-sizing: border-box;
}

.kdeb-header {
    width: 100%;
    height: 116px;
    background-color: #d82323;
    border-bottom: 8px solid #fcd116;
    position: relative;
    z-index: 999;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.20);
    position: sticky !important;
    top: 0 !important;
}

.kdeb-header-container {
    width: 100%;
    max-width: 100%;
    height: 108px;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: stretch;
    position: relative;
}

/* ----------------------------------------
   LOGO BOX
   ---------------------------------------- */
.kdeb-logo-box {
    flex: 0 0 149px;
    width: 149px;
    max-width: 149px;
    height: 108px;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}
.kdeb-logo-box > a {
    display: block;
    width: 124px;
    height: 77.5px;
    margin-left: 25px;
    padding: 0;
    line-height: 0;
}
.kdeb-logo-img {
    display: block;
    width: 124px;
    height: 77.5px;
    margin: 0;
    padding: 0;
    object-fit: contain;
}

/* ----------------------------------------
   HEADER NAVIGATION (OVERFLOW FIXES)
   ---------------------------------------- */
.kdeb-nav-wrapper {
    flex: 1 1 auto !important;
    width: auto !important;
    max-width: none !important;
    overflow: visible !important; 
    padding-left: 20px;
}

.kdeb-nav-list {
    display: flex !important;
    flex-wrap: nowrap !important;
    justify-content: flex-end !important;
    width: 100% !important;
    max-width: 100% !important;
    height: 108px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.kdeb-nav-list > li {
    width: auto !important;
    flex: 0 1 auto !important; 
    border-left: 1px solid rgba(255, 255, 255, 0.12) !important;
    display: flex !important;
    align-items: stretch !important;
    height: 108px;
    position: relative;
}

.kdeb-nav-list > li:last-child {
    border-right: 1px solid rgba(255, 255, 255, 0.12) !important;
}

.kdeb-nav-list > li > a {
    font-family: "Inter", Arial, Helvetica, sans-serif !important;
    font-size: clamp(13px, 1.2vw, 16px) !important; 
    font-weight: 600 !important;
    line-height: 20px !important;
    text-align: center !important;
    display: flex !important;
    flex-direction: column;
    align-items: center !important;
    justify-content: center !important; /* Fixed vertical alignment */
    height: 100% !important;
    width: 100% !important;
    padding: 15px 1vw !important; 
    box-sizing: border-box !important;
    position: relative !important;
    top: 0 !important;
    color: #fcd116;
    text-decoration: none;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.kdeb-nav-list > li:hover > a { background-color: rgba(0, 0, 0, 0.12); color: #ffffff; }

/* ----------------------------------------
   SUBMENU
   ---------------------------------------- */
.kdeb-nav-list .sub-menu {
    display: none;
    position: absolute;
    top: 108px;
    left: 0;
    min-width: 230px;
    margin: 0;
    padding: 0;
    list-style: none;
    background-color: #d82323;
    border-top: 4px solid #fcd116;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
    z-index: 2000;
}
.kdeb-nav-list > li:hover > .sub-menu { display: block; }
.kdeb-nav-list .sub-menu li {
    display: block;
    width: 100%;
    margin: 0;
    padding: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
    position: relative;
}
.kdeb-nav-list .sub-menu li a {
    display: block;
    width: 100%;
    min-height: 52px;
    padding: 15px 20px;
    background-color: #d82323;
    color: #fcd116;
    font-family: 'Inter', Arial, sans-serif;
    font-size: 15px;
    font-weight: 600;
    line-height: 22px;
    text-align: left;
    text-decoration: none;
    transition: background-color 0.2s ease, color 0.2s ease;
}
.kdeb-nav-list .sub-menu li:hover > a { background-color: #fcd116; color: #222222; }

/* ----------------------------------------
   MOBILE CONTROLS (SEARCH & HAMBURGER)
   ---------------------------------------- */
.kdeb-mobile-controls {
    display: flex;
    align-items: center;
    height: 108px;
    flex: 0 0 auto;
}

.kdeb-mobile-toggle {
    display: none; 
    margin: 0;
    padding: 0;
    background: transparent;
    border: none;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    z-index: 5000;
}
.kdeb-mobile-toggle span {
    display: block;
    width: 28px;
    height: 3px;
    margin: 4px 0;
    background-color: #fcd116; 
    border-radius: 3px;
    transition: transform 0.25s ease, opacity 0.25s ease;
}
.kdeb-mobile-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.kdeb-mobile-toggle.is-open span:nth-child(2) { opacity: 0; }
.kdeb-mobile-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.kdeb-search-wrapper {
    display: flex !important;
    align-items: center;
    justify-content: center;
    flex: 0 0 68px !important;
    height: 108px;
    visibility: visible !important;
    position: relative;
}

.kdeb-search-toggle {
    width: 48px;
    height: 48px;
    margin: 0;
    padding: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    color: #ffffff;
    cursor: pointer;
    transition: transform 0.15s ease, background-color 0.15s ease;
}
.kdeb-search-toggle:hover { transform: scale(1.08); }
.kdeb-search-toggle svg { display: block; width: 26px; height: 26px; }

.kdeb-search-dropdown {
    display: none;
    position: absolute;
    top: 108px;
    right: 10px;
    width: 280px;
    padding: 14px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.20);
    z-index: 3000;
}
.kdeb-search-dropdown input[type="search"] { width: 100%; padding: 8px 12px; border: 2px solid #cbd5e1; border-radius: 4px; font-family: Arial, sans-serif; font-size: 14px; outline: none; }
.kdeb-search-dropdown input[type="search"]:focus { border-color: #d82323; }

/* ----------------------------------------
   FORCED MOBILE HEADER MECHANICS (1199px)
   ---------------------------------------- */
@media (max-width: 1199px) {
    .kdeb-header { height: auto !important; min-height: 108px !important; border-bottom-width: 8px !important; }
    .kdeb-header-container { width: 100% !important; height: 108px !important; display: flex !important; justify-content: space-between !important; align-items: center !important; padding-right: 15px !important; }
    .kdeb-logo-box { flex: 0 0 auto !important; width: 149px !important; height: 108px !important; display: flex !important; justify-content: flex-start !important; align-items: center !important; }
    .kdeb-logo-img { width: 124px !important; height: 77.5px !important; }
    
    .kdeb-mobile-controls { display: flex !important; align-items: center !important; gap: 5px !important; height: auto !important; }
    
    button#wnavtoggle.kdeb-mobile-toggle { display: flex !important; flex-direction: column !important; align-items: center !important; justify-content: center !important; position: absolute !important; top: 30px !important; right: 68px !important; left: auto !important; width: 48px !important; height: 48px !important; z-index: 5000 !important; }
    
    .kdeb-search-wrapper { position: relative !important; width: auto !important; height: auto !important; z-index: 4000 !important; display: block !important; }
    
    nav.kdeb-nav-wrapper {
        display: none !important;
        position: fixed !important;
        top: 0 !important;
        right: 0 !important;
        left: auto !important;
        width: min(370px, 85vw) !important;
        height: 100vh !important;
        overflow-y: auto !important;
        background-color: #ffffff !important;
        box-shadow: -8px 0 25px rgba(0,0,0,0.25) !important;
        z-index: 9000 !important;
        padding: 108px 0 0 !important;
        box-sizing: border-box !important;
    }

    nav.kdeb-nav-wrapper.mobile-menu-open {
        display: block !important;
    }
    
    .kdeb-nav-list { display: block !important; width: 100% !important; height: auto !important; }
    .kdeb-nav-list > li { width: 100% !important; display: block !important; height: auto !important; border-top: 1px solid #e0e0e0 !important; border-left: none !important; }
    .kdeb-nav-list > li > a { display: flex !important; width: 100% !important; height: auto !important; min-height: 58px !important; padding: 18px 20px !important; align-items: center !important; justify-content: space-between !important; text-align: left !important; font-size: 16px !important; color: #555555 !important; font-weight: 600 !important; }
    
    .kdeb-nav-list .sub-menu { position: static !important; display: none !important; width: 100% !important; background-color: #f9f9f9 !important; border-top: none !important; box-shadow: none !important; }
    .kdeb-nav-list > li.mobile-submenu-open > .sub-menu { display: block !important; }
    .kdeb-nav-list .sub-menu li { border-bottom: 1px solid rgba(0, 0, 0, 0.05) !important; }
    .kdeb-nav-list .sub-menu li a { min-height: 48px !important; padding: 14px 20px 14px 35px !important; font-size: 14px !important; text-align: left !important; background-color: transparent !important; color: #666666 !important; }
    .kdeb-nav-list > li:hover > .sub-menu { display: none !important; }
    .kdeb-nav-list > li.mobile-submenu-open:hover > .sub-menu { display: block !important; }
    
    .kdeb-search-dropdown { top: 60px !important; right: 0 !important; width: min(280px, calc(100vw - 20px)) !important; }
}

@media (max-width: 480px) {
    .kdeb-logo-box { height: 100px !important; }
    .kdeb-header-container { height: 100px !important; min-height: 100px !important; }
    .kdeb-logo-img { width: 112px !important; height: 70px !important; }
    nav.kdeb-nav-wrapper {
        top: 0 !important;
        right: 0 !important;
        left: auto !important;
        width: min(340px, 88vw) !important;
        height: 100vh !important;
        padding-top: 100px !important;
    }
    .kdeb-nav-list > li > a { min-height: 54px !important; font-size: 15px !important; }
    .kdeb-nav-list .sub-menu li a { padding: 13px 18px 13px 32px !important; font-size: 14px !important; }
}

/* ----------------------------------------
   2. HERO SECTION & SCALING FIX
   ---------------------------------------- */
.home #slider-area,
.home #slider-area ss3-force-full-width,
.home #slider-area .n2-section-smartslider,
.home #slider-area .n2-ss-slider {
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 16 / 9; 
    background-size: cover !important;
    background-position: center !important;
    margin: 0 !important;
    padding: 0 !important;
}

.home .caption {
    position: absolute !important;
    top: 50% !important;
    left: 15% !important;
    max-width: 450px !important;
    transform: translate(0, -50%) !important;
    opacity: 1 !important;
    transition: all 0.6s ease !important;
}

.home .caption h3 {
    color: #fcd116 !important;
    font-family: "Montserrat", sans-serif !important;
    font-size: clamp(32px, 4vw, 46px) !important; 
    font-weight: 700 !important;
    line-height: 1.4 !important;
    margin-bottom: 15px !important;
}

.home .caption p {
    color: #fff !important;
    font-family: "Inter", Arial, Helvetica, sans-serif !important;
    font-size: clamp(14px, 1.5vw + 0.5rem, 16px) !important; 
    font-weight: 400 !important;
    line-height: 1.6 !important;
    margin-top: 10px !important;
    margin-bottom: 25px !important;
    position: relative !important;
    top: 0 !important;
}

.home .caption .btn,
.home .caption .btn-default {
    font-family: "Inter", Arial, Helvetica, sans-serif !important;
    background-color: #da251d !important;
    border: 2px solid #da251d !important;
    border-radius: 50px !important;
    color: #fff !important;
    padding: 8px 25px !important;
    margin-bottom: 15px !important;
    font-size: 16px !important;
    font-weight: 400 !important;
    transition: all 0.3s ease !important;
}

.n2-ss-slider .nextend-arrow { display: none !important; visibility: hidden !important; }
.n2-ss-slider .nextend-bullet-bar { display: flex !important; }

@media (max-width: 767px) {
    .home .caption { left: 8% !important; right: 8% !important; max-width: none !important; width: auto !important; }
}


/* ----------------------------------------
   3. NEWS TICKER
   ---------------------------------------- */
.home .kdeb-ticker-wrapper { padding: 5px 15px !important; background-color: #ffffff !important; }
.home .kdeb-ticker-container { display: flex !important; align-items: center !important; margin: 0 auto !important; padding: 6px 12px 6px 6px !important; min-height: 52px !important; background-color: #fdf5ea !important; border-radius: 50px !important; }
.home .kdeb-ticker-badge { width: 40px !important; height: 40px !important; flex-shrink: 0 !important; margin-right: 15px !important; border-radius: 50% !important; display: flex !important; align-items: center !important; justify-content: center !important; }
.home .kdeb-ticker-viewport { flex: 1 1 auto !important; height: 40px !important; overflow: hidden !important; position: relative !important; display: flex !important; align-items: center !important; }
.home .kdeb-ticker-slide { color: #222222 !important; font-family: "Inter", sans-serif !important; font-size: 15px !important; line-height: 40px !important; }
.home .kdeb-ticker-controls { display: flex !important; gap: 8px !important; padding-left: 15px !important; flex-shrink: 0 !important; }
.home .kdeb-ticker-controls button { width: 32px !important; height: 32px !important; border-radius: 50% !important; border: none !important; cursor: pointer !important; }

/* ----------------------------------------
   4. SERVICES SECTION
   ---------------------------------------- */
.kdeb-services-section { width: 100% !important; background-color: #ffffff !important; padding: 30px 20px 50px 20px !important; box-sizing: border-box !important; }
.kdeb-services-container { width: 100% !important; max-width: 1140px !important; margin: 0 auto !important; }
.kdeb-services-header { text-align: center !important; margin-bottom: 35px !important; }
.kdeb-services-company { color: #e31b23 !important; font-size: clamp(26px, 3vw, 32px) !important; font-weight: 800 !important; margin: 0 0 4px 0 !important; }
.kdeb-services-subtitle { color: #111111 !important; font-size: clamp(19px, 2vw, 22px) !important; font-weight: 800 !important; margin: 0 !important; }
.kdeb-services-grid { display: grid !important; grid-template-columns: repeat(3, minmax(0, 1fr)) !important; gap: 18px !important; align-items: stretch !important; }
.kdeb-grid-col { display: flex !important; flex-direction: column !important; gap: 18px !important; width: 100% !important; }
.kdeb-service-card { display: flex !important; flex-direction: column !important; width: 100% !important; height: auto !important; min-height: max-content !important; background-color: #ffffff !important; border-radius: 14px !important; overflow: hidden !important; text-decoration: none !important; box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08) !important; transition: transform 0.25s ease, box-shadow 0.25s ease !important; }
.kdeb-service-card:hover { transform: translateY(-3px) !important; box-shadow: 0 7px 18px rgba(0, 0, 0, 0.12) !important; }
.kdeb-card-img-box { width: 100% !important; height: 180px !important; overflow: hidden !important; background-color: #f1f1f1 !important; }
.kdeb-card-img-box img { width: 100% !important; height: 100% !important; object-fit: cover !important; }
.kdeb-card-yellow-stripe { width: 100% !important; height: 4px !important; background-color: #fca311 !important; }
.kdeb-card-content { display: flex !important; align-items: center !important; justify-content: space-between !important; width: 100% !important; height: auto !important; min-height: 52px !important; padding: 12px 14px !important; box-sizing: border-box !important; color: #222222 !important; }
.kdeb-card-content h4, .kdeb-card-content h5, .kdeb-card-content p { font-size: 14px !important; font-weight: 600 !important; line-height: 1.3 !important; margin: 0 !important; }
.kdeb-card-tall { height: 100% !important; }
.kdeb-card-tall .kdeb-card-img-box { height: auto !important; flex: 1 1 auto !important; min-height: 300px !important; }
@media (max-width: 991px) { .kdeb-services-grid { grid-template-columns: 1fr 1fr !important; } .kdeb-card-tall .kdeb-card-img-box { min-height: 320px !important; } }
@media (max-width: 767px) { .kdeb-services-grid { grid-template-columns: 1fr !important; } .kdeb-card-tall .kdeb-card-img-box { min-height: 250px !important; } }


/* ----------------------------------------
   5. ASSETS / STATISTICS
   ---------------------------------------- */
section.kdeb-assets-section { position: relative !important; width: 100% !important; height: auto !important; padding: 55px 20px 65px 20px !important; box-sizing: border-box !important; color: #ffffff !important; isolation: isolate !important; }
section.kdeb-assets-section::before { content: "" !important; position: absolute !important; inset: 0 !important; background-image: url("https://portalkdebwm.scs.my/wp-content/uploads/2026/08/bg.jpg") !important; background-size: cover !important; background-position: center !important; z-index: 0 !important; }
section.kdeb-assets-section > * { position: relative !important; z-index: 2 !important; }
section.kdeb-assets-section .kdeb-assets-title, section.kdeb-assets-section h2 { color: #fcd116 !important; font-size: clamp(30px, 4vw, 42px) !important; font-weight: 800 !important; text-align: center !important; margin-bottom: 8px !important; }
section.kdeb-assets-section .kdeb-assets-subtitle { font-size: clamp(15px, 2vw, 18px) !important; text-align: center !important; }
section.kdeb-assets-section .kdeb-stats-grid { display: grid !important; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)) !important; gap: 15px !important; width: 100% !important; max-width: 1200px !important; margin: 30px auto 0 !important; }
section.kdeb-assets-section .kdeb-stat-card { background-color: rgba(255, 255, 255, 0.30) !important; border: 1px solid rgba(255, 255, 255, 0.55) !important; border-radius: 8px !important; padding: 25px 15px !important; text-align: center !important; height: auto !important; min-height: max-content !important; }
section.kdeb-assets-section .kdeb-stat-number { color: #fcd116 !important; font-size: clamp(32px, 3.5vw, 42px) !important; font-weight: 700 !important; }
section.kdeb-assets-section .kdeb-stat-underline { width: 40px !important; height: 3px !important; background-color: #d82323 !important; margin: 10px auto !important; }
section.kdeb-assets-section .kdeb-stat-label { font-size: 16px !important; font-weight: 700 !important; }
section.kdeb-assets-section .kdeb-stats-pagination { text-align: center !important; margin-top: 25px !important; }
section.kdeb-assets-section .kdeb-dot { width: 12px !important; height: 12px !important; border-radius: 50% !important; display: inline-block !important; margin: 0 5px !important; background: rgba(255,255,255,0.45) !important;}
section.kdeb-assets-section .kdeb-dot.active { background: #fff !important; border: 2px solid #fff !important; }
section.kdeb-assets-section + div, section.kdeb-assets-section + footer { margin-top: 0 !important; padding-top: 0 !important; }

/* ----------------------------------------
   6. WHAT'S NEW (Responsive Carousel)
   ---------------------------------------- */
.home section.panel { width: 100% !important; background-color: #ffffff !important; overflow: hidden !important; }
.home section.panel .secTitle h2 { font-size: clamp(28px, 4vw, 40px) !important; line-height: 1.2 !important; text-align: center !important; margin-bottom: 30px !important; }
.home section.panel .upcoming-events, .home section.panel .evt-listing, .home section.panel .evt-carousel, .home section.panel .owl-stage-outer { width: 100% !important; max-width: 1200px !important; min-width: 0 !important; margin: 0 auto !important; }
.home section.panel .owl-stage { display: flex !important; width: auto !important; }
.home section.panel .owl-item { width: 284px !important; max-width: 100vw !important; flex: 0 0 auto !important; margin-right: 20px !important; }
.home section.panel .evtBx, .home section.panel .evtLink, .home section.panel .evtBx-wrap, .home section.panel .evtImg { width: 100% !important; height: 297px !important; border-radius: 20px !important; }
.home section.panel .evtImg { background-size: cover !important; background-position: center !important; }
.home section.panel .evtBx-wrap::after { content: "" !important; position: absolute !important; inset: auto 0 0 0 !important; height: 65% !important; background: linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,0.85) 100%) !important; border-radius: 0 0 20px 20px !important; }
.home section.panel .evtContent { position: absolute !important; bottom: 18px !important; left: 20px !important; right: 20px !important; color: #fff !important; z-index: 3 !important; }
.home section.panel .evtContent .post-cat { background-color: #ff7a00 !important; padding: 6px 10px !important; border-radius: 5px !important; font-size: 14px !important; font-weight: 700 !important; margin-bottom: 10px !important; display: inline-block !important; }
.home section.panel .evtContent .evtTitle { font-size: 20px !important; font-weight: 700 !important; line-height: 1.3 !important; display: -webkit-box !important; -webkit-box-orient: vertical !important; -webkit-line-clamp: 2 !important; overflow: hidden !important; }

/* =========================================================
   7. FOOTER REDESIGN (EXACT MATCH)
   ========================================================= */
.kdeb-footer {
    background-color: #5a1414 !important; /* Matches the deep red-brown background */
    border-top: 8px solid #fcd116 !important;
    color: #ffffff !important;
    font-family: 'Inter', sans-serif !important;
    padding-top: 60px !important;
}

/* Headings (Yellow, bold) */
.kdeb-footer h6 {
    color: #fcd116 !important;
    font-family: 'Montserrat', sans-serif !important;
    font-weight: 800 !important;
    font-size: 17px !important;
    margin-bottom: 25px !important;
    text-transform: uppercase !important;
}

/* --- CUSTOMER HELPLINE --- */
.kdeb-footer .contact-box {
    display: flex !important;
    align-items: center !important;
    margin-bottom: 25px !important;
    gap: 15px !important;
}

.kdeb-footer .footer-icon {
    width: 35px !important;
    height: 35px !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    flex-shrink: 0 !important;
}

/* Makes SVGs outlined with no fill */
.kdeb-footer .footer-icon svg {
    width: 100% !important;
    height: 100% !important;
    fill: transparent !important; 
    stroke: #ffffff !important;
    stroke-width: 1.5 !important;
    stroke-linecap: round !important;
    stroke-linejoin: round !important;
}

.kdeb-footer .footer-icon i {
    font-size: 35px !important;
    color: #ffffff !important;
}

.kdeb-footer .contact-sm-box {
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
}

.kdeb-footer .contact-sm-box span {
    color: #f03a3a !important; /* Red numbers */
    font-size: 18px !important;
    font-weight: 700 !important;
    line-height: 1.3 !important;
}

/* Forces the words 'TOLL FREE' to be white */
.kdeb-footer .tollfree-icon + .contact-sm-box span:first-child,
.kdeb-footer .contact-sm-box span.text-white {
    color: #ffffff !important;
    font-size: 15px !important;
}

/* --- NAVIGATION --- */
.kdeb-footer .footer-navigation {
    padding: 0 !important;
    margin: 0 !important;
    list-style: none !important;
}

.kdeb-footer .footer-navigation li {
    margin-bottom: 15px !important;
}

.kdeb-footer .footer-navigation li a {
    color: #ffffff !important;
    text-decoration: none !important;
    font-size: 15px !important;
    font-weight: 500 !important;
}

.kdeb-footer .footer-navigation li a:hover {
    color: #fcd116 !important;
}

/* --- LINKS / MUNICIPAL LOGOS --- */
.kdeb-footer .municipal-links {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 12px !important;
    padding: 0 !important;
    margin: 0 !important;
    list-style: none !important;
}

.kdeb-footer .municipal-links li a {
    background-color: #e1dfdf !important; /* Light grey rounded boxes */
    border-radius: 8px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 8px !important;
    aspect-ratio: 1 / 1 !important; /* Perfect squares */
}

.kdeb-footer .municipal-links li a img {
    max-width: 100% !important;
    max-height: 100% !important;
    object-fit: contain !important;
}

/* --- DOWNLOAD APP --- */
.kdeb-footer .download-box {
    display: flex !important;
    align-items: center !important;
    gap: 15px !important;
    margin-bottom: 40px !important;
}

.kdeb-footer .iclean {
    width: 110px !important;
    flex-shrink: 0 !important;
}

.kdeb-footer .iclean img {
    width: 100% !important;
    height: auto !important;
    border-radius: 16px !important; 
}

.kdeb-footer .mobile-app {
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
}

.kdeb-footer .mobile-app img {
    width: 130px !important;
    height: auto !important;
}

/* --- FOLLOW US --- */
.kdeb-footer .social-media-box {
    display: flex !important;
    flex-wrap: wrap !important; /* Wrap to next line */
    gap: 20px !important;
    padding: 0 !important;
    margin: 0 !important;
    list-style: none !important;
    max-width: 180px !important; /* Forces 5th icon (asterisk) to the next row */
}

.kdeb-footer .social-media-box li a {
    color: #ffffff !important;
    font-size: 26px !important;
    display: block !important;
    transition: color 0.2s ease !important;
}

.kdeb-footer .social-media-box li a:hover {
    color: #fcd116 !important;
}

.kdeb-footer .bottom-footer {
    background-color: #1a0808 !important; 
    padding: 20px 0 !important;
    text-align: center !important;
    margin-top: 40px !important;
}

.kdeb-footer .bottom-footer p {
    margin: 0 !important;
    color: #999999 !important;
    font-size: 13px !important;
}


/* ============================================
   8. INNER PAGES: VISION, GROUP, MILESTONE
   ============================================ */
.vision-mission-page, .group-structure-page, .milestone-journey-page { width: 100% !important; max-width: 1296px !important; margin: 0 auto !important; padding: 50px 20px 80px !important; box-sizing: border-box !important; }
.vision-mission-page > h1, .group-structure-page h1, .milestone-journey-page h1 { font-size: clamp(30px, 4vw, 40px) !important; font-weight: 700 !important; margin-bottom: 35px !important; line-height: 1.2 !important; }
.vision-mission-grid { display: flex !important; flex-wrap: wrap !important; gap: 50px !important; }
.vision-column, .mission-column { flex: 1 1 300px !important; }
.vision-image img, .mission-image img, .group-structure-image img, .milestone-journey-image img { max-width: 100% !important; height: auto !important; display: block !important; }
.vision-text, .mission-text { font-size: clamp(16px, 2vw, 20px) !important; line-height: 1.8 !important; }

/* BOARD OF DIRECTORS (BOD) */
.bod-container { width: 100% !important; max-width: 1400px !important; margin: 0 auto !important; padding: 55px 20px 80px !important; box-sizing: border-box !important; }
.bod-title { font-size: clamp(30px, 4vw, 40px) !important; font-weight: 700 !important; margin-bottom: 40px !important; }
.bod-page .bod-grid { display: grid !important; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)) !important; gap: 30px !important; }
.bod-page .bod-grid > .bod-card { background: #ffffff !important; border-radius: 0 0 24px 24px !important; overflow: hidden !important; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.10) !important; display: flex !important; flex-direction: column !important; height: auto !important; }
.bod-page .bod-grid > .bod-card .bod-image-wrapper { height: auto !important; aspect-ratio: 4/3 !important; background: radial-gradient(ellipse at center bottom, #fff0a8 0%, #fff8d8 40%, #ffffff 78%) !important; display: flex !important; align-items: flex-end !important; justify-content: center !important; }
.bod-page .bod-grid > .bod-card .bod-image-wrapper img { max-width: 100% !important; max-height: 100% !important; object-fit: contain !important; }
.bod-page .bod-grid > .bod-card .bod-red-line { height: 10px !important; background: #ed1c24 !important; }
.bod-page .bod-grid > .bod-card .bod-info { padding: 24px 20px 18px !important; text-align: center !important; height: auto !important; min-height: max-content !important; }
.bod-page .bod-grid > .bod-card .bod-info h3 { font-size: 22px !important; font-weight: 700 !important; margin: 0 !important; }
.bod-page .bod-grid > .bod-card .bod-info p { font-size: 16px !important; color: #999 !important; margin-top: 10px !important; }
.bod-page .bod-grid > .bod-card .bod-button { background: #ffd21a !important; color: #000 !important; font-weight: 700 !important; height: 58px !important; display: flex !important; align-items: center !important; justify-content: center !important; gap: 10px !important; }

/* SENIOR MANAGEMENT TEAM (SMT) */
.smt-container { width: 100% !important; max-width: 1500px !important; margin: 0 auto !important; padding: 40px 20px 70px !important; }
.smt-title { font-size: clamp(30px, 4vw, 40px) !important; font-weight: 700 !important; margin-bottom: 40px !important; }
.smt-header { display: grid !important; grid-template-columns: 140px 1fr 140px 1fr !important; gap: 20px !important; padding: 0 10px 14px !important; font-weight: 700 !important; font-size: 18px !important; }
.smt-row { display: flex !important; flex-wrap: wrap !important; border-bottom: 1px solid #d9d9d9 !important; height: auto !important; }
.smt-row-gray { background: #f1f1f1 !important; }
.smt-person { flex: 1 1 300px !important; display: flex !important; align-items: center !important; padding: 20px !important; height: auto !important; }
.smt-photo { width: 120px !important; height: 120px !important; flex-shrink: 0 !important; margin-right: 20px !important; }
.smt-photo img { width: 100% !important; height: 100% !important; object-fit: contain !important; }
.smt-position { font-size: 16px !important; margin-bottom: 5px !important; }
.smt-name { font-size: 18px !important; font-weight: 700 !important; margin-bottom: 12px !important; }
.smt-button { background: #ed1c24 !important; color: #fff !important; padding: 10px 20px !important; border-radius: 28px !important; display: inline-flex !important; align-items: center !important; gap: 8px !important; text-decoration: none !important; }

/* Admin bar fix & word breaks */
.page-banner .page-banner-title { white-space: normal !important; word-break: break-word !important; line-height: 1.2 !important; }
#wpadminbar { display: none !important; }
html, body.admin-bar { margin-top: 0 !important; }
/* Mobile hamburger / search divider */
@media (max-width: 768px) {
    #wnavtoggle.kdeb-mobile-toggle::after {
        content: "";
        position: absolute;
        right: -12px;
        top: 8px;
        width: 1px;
        height: 32px;
        background: #ffffff;
    }
}

/* Fix mobile hamburger/search divider */
@media (max-width: 768px) {
    #wnavtoggle.kdeb-mobile-toggle::after {
        display: none !important;
    }

    .kdeb-search-wrapper {
        border-left: 1px solid #ffffff !important;
        padding-left: 12px !important;
        margin-left: 12px !important;
        height: 32px !important;
        display: flex !important;
        align-items: center !important;
    }
}

/* Center mobile hamburger/search divider */
@media (max-width: 768px) {
    .kdeb-search-wrapper {
        position: relative !important;
        border-left: none !important;
        padding-left: 12px !important;
        margin-left: 12px !important;
    }

    .kdeb-search-wrapper::before {
        content: "";
        position: absolute;
        left: 0;
        top: 50%;
        transform: translateY(-50%);
        width: 1px;
        height: 32px;
        background: #ffffff;
    }
}

/* Horizontally center divider between hamburger and search */
@media (max-width: 768px) {
    .kdeb-search-wrapper::before {
        left: 6px !important;
    }
}

/* Move divider slightly right */
@media (max-width: 768px) {
    .kdeb-search-wrapper::before {
        left: 12px !important;
    }
}

/* ============================================
   MOBILE FOOTER RESPONSIVE LAYOUT
   ============================================ */
@media (max-width: 767px) {

    .kdeb-footer {
        width: 100% !important;
        overflow-x: hidden !important;
    }

    .kdeb-footer .container,
    .kdeb-footer .row {
        width: 100% !important;
        max-width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        box-sizing: border-box !important;
    }

    .kdeb-footer .row > [class*="col-"] {
        width: 100% !important;
        max-width: 100% !important;
        flex: 0 0 100% !important;
        padding-left: 20px !important;
        padding-right: 20px !important;
        margin-bottom: 35px !important;
        box-sizing: border-box !important;
    }

    /* Municipal logos */
    .kdeb-footer .municipal-links {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
        gap: 10px !important;
        width: 100% !important;
    }

    .kdeb-footer .municipal-links li {
        min-width: 0 !important;
    }

    .kdeb-footer .municipal-links li a {
        width: 100% !important;
        padding: 6px !important;
        box-sizing: border-box !important;
    }

    /* Download app */
    .kdeb-footer .download-box {
        flex-wrap: wrap !important;
        gap: 15px !important;
    }

    .kdeb-footer .iclean {
        width: 100px !important;
        max-width: 100% !important;
    }

    .kdeb-footer .mobile-app {
        flex-direction: column !important;
        max-width: 130px !important;
    }

    .kdeb-footer .mobile-app img {
        width: 130px !important;
        max-width: 100% !important;
        height: auto !important;
    }

    /* Social icons */
    .kdeb-footer .social-media-box {
        max-width: 100% !important;
        flex-wrap: wrap !important;
    }
}

/* Smaller phones */
@media (max-width: 480px) {

    .kdeb-footer .row > [class*="col-"] {
        padding-left: 15px !important;
        padding-right: 15px !important;
    }

    .kdeb-footer .municipal-links {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
        gap: 8px !important;
    }

    .kdeb-footer .municipal-links li a {
        padding: 5px !important;
    }

    .kdeb-footer .footer-list h6 {
        font-size: 18px !important;
    }

    .kdeb-footer .download-box {
        gap: 12px !important;
    }
}

/* ============================================
   SIS GREEN ENERGY PLANT IMAGES
   ============================================ */
.sisge-images {
    width: 100%;
    max-width: 1200px;
    margin: 40px auto 0;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.sisge-images img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    margin: 0 auto;
    object-fit: contain;
}

@media (max-width: 767px) {
    .sisge-images {
        margin-top: 30px;
        gap: 20px;
    }

    .sisge-images img {
        width: 100%;
    }
}
/* ============================================
   FAQ WTE ACCORDION
   ============================================ */

.kdeb-faq-wte {
    width: 100%;
    margin: 40px 0 20px;
}

.kdeb-faq-item {
    width: 100%;
    border-bottom: 1px solid #e5e5e5;
}

.kdeb-faq-question {
    width: 100%;
    min-height: 64px;
    padding: 18px 20px;
    border: 0;
    border-bottom: 1px solid #e5e5e5;
    background: #ffffff;
    color: #333333;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    text-align: left;
    font-family: inherit;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.5;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.kdeb-faq-question:hover {
    background: #f7f7f7;
}

.kdeb-faq-icon {
    flex: 0 0 auto;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333333;
    font-size: 24px;
    font-weight: 400;
    line-height: 1;
    transition: transform 0.2s ease;
}

.kdeb-faq-item.active .kdeb-faq-icon {
    transform: rotate(45deg);
}

.kdeb-faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 20px;
    background: #ffffff;
    color: #555555;
    font-size: 15px;
    line-height: 1.7;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.kdeb-faq-item.active .kdeb-faq-answer {
    padding-top: 18px;
    padding-bottom: 20px;
}

.kdeb-faq-answer p {
    margin: 0 0 15px;
}

.kdeb-faq-answer p:last-child {
    margin-bottom: 0;
}

.kdeb-faq-answer ul {
    margin: 0 0 15px 20px;
    padding-left: 20px;
}

.kdeb-faq-answer li {
    margin-bottom: 8px;
}


/* ============================================
   FAQ WTE MOBILE
   ============================================ */

@media (max-width: 767px) {

    .kdeb-faq-wte {
        margin-top: 30px;
    }

    .kdeb-faq-question {
        min-height: 60px;
        padding: 16px 15px;
        font-size: 15px;
        gap: 12px;
    }

    .kdeb-faq-icon {
        width: 24px;
        height: 24px;
        font-size: 21px;
    }

    .kdeb-faq-answer {
        padding-left: 15px;
        padding-right: 15px;
        font-size: 14px;
    }

    .kdeb-faq-item.active .kdeb-faq-answer {
        padding-top: 15px;
        padding-bottom: 18px;
    }
}
/* ============================================
   WASTE MANAGEMENT IN SELANGOR
   QUESTIONS + FAQ ACCORDION
   ============================================ */

.kdeb-waste-management-content {
    width: 100%;
    max-width: 1320px;
    margin: 0 auto;
    padding: 20px 0 40px;
}

.kdeb-wm-question {
    margin: 0 0 40px;
}

.kdeb-wm-question h3 {
    margin: 0 0 20px;
    color: #172b43;
    font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
    font-size: 26px;
    font-weight: 700;
    line-height: 1.35;
}

.kdeb-wm-question p {
    margin: 0 0 18px;
    color: #333333;
    font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
    font-size: 16px;
    line-height: 1.8;
}

.kdeb-wm-question p:last-child {
    margin-bottom: 0;
}


/* ============================================
   FAQ ACCORDION
   ============================================ */

.kdeb-wm-faq {
    width: 100%;
    margin-top: 35px;
}

.kdeb-wm-faq-item {
    width: 100%;
    border-bottom: 1px solid #e5e5e5;
}

.kdeb-wm-faq-question {
    width: 100%;
    min-height: 64px;
    padding: 18px 20px;
    border: 0;
    border-bottom: 1px solid #e5e5e5;
    background: #ffffff;
    color: #333333;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    text-align: left;
    font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.5;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.kdeb-wm-faq-question:hover {
    background: #f7f7f7;
}

.kdeb-wm-faq-icon {
    flex: 0 0 auto;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333333;
    font-size: 24px;
    font-weight: 400;
    line-height: 1;
    transition: transform 0.2s ease;
}

.kdeb-wm-faq-item.active .kdeb-wm-faq-icon {
    transform: rotate(45deg);
}

.kdeb-wm-faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 20px;
    background: #ffffff;
    color: #555555;
    font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
    font-size: 15px;
    line-height: 1.7;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.kdeb-wm-faq-item.active .kdeb-wm-faq-answer {
    padding-top: 18px;
    padding-bottom: 20px;
}

.kdeb-wm-faq-answer p {
    margin: 0 0 15px;
}

.kdeb-wm-faq-answer p:last-child {
    margin-bottom: 0;
}


/* ============================================
   MOBILE
   ============================================ */

@media (max-width: 767px) {

    .kdeb-waste-management-content {
        padding: 10px 0 30px;
    }

    .kdeb-wm-question {
        margin-bottom: 30px;
    }

    .kdeb-wm-question h3 {
        font-size: 22px;
        line-height: 1.4;
        margin-bottom: 16px;
    }

    .kdeb-wm-question p {
        font-size: 15px;
        line-height: 1.7;
    }

    .kdeb-wm-faq {
        margin-top: 25px;
    }

    .kdeb-wm-faq-question {
        min-height: 60px;
        padding: 16px 15px;
        font-size: 14px;
        gap: 12px;
    }

    .kdeb-wm-faq-icon {
        width: 24px;
        height: 24px;
        font-size: 21px;
    }

    .kdeb-wm-faq-answer {
        padding-left: 15px;
        padding-right: 15px;
        font-size: 14px;
    }

    .kdeb-wm-faq-item.active .kdeb-wm-faq-answer {
        padding-top: 15px;
        padding-bottom: 18px;
    }
}

/* ============================================
   WASTE MANAGEMENT - EXACT LAYOUT
   ============================================ */

.kdeb-waste-management-content {
    width: 100%;
    max-width: 1320px;
    margin: 0 auto;
    padding: 20px 0 50px;
}

.kdeb-wm-intro-questions {
    width: 100%;
    margin: 0 0 35px;
}

.kdeb-wm-intro-question {
    width: 100%;
    min-height: 50px;
    margin-bottom: 12px;
    padding: 14px 35px;
    box-sizing: border-box;
    background: #6fc276;
    border-radius: 7px;
    color: #ffffff;
    font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.4;
    display: flex;
    align-items: center;
}

.kdeb-wm-faq {
    width: 100%;
}

.kdeb-wm-faq-item {
    width: 100%;
    margin-bottom: 14px;
    border: 1px solid #d9d9d9;
    border-radius: 8px;
    overflow: hidden;
    background: #ffffff;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.08);
}

.kdeb-wm-faq-question {
    width: 100%;
    min-height: 82px;
    padding: 18px 28px;
    border: 0;
    background: #6fc276;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
    text-align: left;
    font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.4;
    cursor: pointer;
}

.kdeb-wm-faq-question span:first-child {
    flex: 1;
}

.kdeb-wm-faq-icon {
    flex: 0 0 auto;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #173b65;
    font-size: 28px;
    font-weight: 400;
    line-height: 1;
    transition: transform 0.25s ease;
}

.kdeb-wm-faq-item.active .kdeb-wm-faq-icon {
    transform: rotate(180deg);
}

.kdeb-wm-faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 40px;
    background: #fffef0;
    color: #111111;
    font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
    font-size: 17px;
    line-height: 1.8;
    transition: max-height 0.35s ease, padding 0.35s ease;
}

.kdeb-wm-faq-item.active .kdeb-wm-faq-answer {
    padding-top: 22px;
    padding-bottom: 25px;
}

.kdeb-wm-faq-answer p {
    margin: 0 0 22px;
}

.kdeb-wm-faq-answer p:last-child {
    margin-bottom: 0;
}

@media (max-width: 767px) {
    .kdeb-waste-management-content {
        padding: 15px 15px 35px;
        box-sizing: border-box;
    }

    .kdeb-wm-intro-question {
        padding: 13px 18px;
        font-size: 14px;
    }

    .kdeb-wm-faq-question {
        min-height: 65px;
        padding: 15px 18px;
        font-size: 15px;
        gap: 12px;
    }

    .kdeb-wm-faq-answer {
        padding-left: 20px;
        padding-right: 20px;
        font-size: 15px;
        line-height: 1.7;
    }

    .kdeb-wm-faq-item.active .kdeb-wm-faq-answer {
        padding-top: 18px;
        padding-bottom: 20px;
    }
}


/* ============================================
   FAQ WTE - GREEN ACCORDION STYLE
   Match Waste Management in Selangor
   ============================================ */

.kdeb-faq-wte .kdeb-faq-item {
    width: 100%;
    margin-bottom: 14px;
    border: 1px solid #d9d9d9;
    border-radius: 8px;
    overflow: hidden;
    background: #ffffff;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.08);
}

.kdeb-faq-wte .kdeb-faq-question {
    width: 100%;
    min-height: 82px;
    padding: 18px 28px;

    border: 0;
    background: #6fc276;

    color: #ffffff;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 25px;
    text-align: left;

    font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.4;

    cursor: pointer;
}

.kdeb-faq-wte .kdeb-faq-question span:first-child {
    flex: 1;
}

.kdeb-faq-wte .kdeb-faq-icon {
    flex: 0 0 auto;
    width: 30px;
    height: 30px;

    display: flex;
    align-items: center;
    justify-content: center;

    color: #173b65;
    font-size: 28px;
    font-weight: 400;
    line-height: 1;

    transition: transform 0.25s ease;
}

.kdeb-faq-wte .kdeb-faq-item.active .kdeb-faq-icon {
    transform: rotate(180deg);
}

.kdeb-faq-wte .kdeb-faq-answer {
    background: #fffef0;
    color: #111111;

    font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
    font-size: 17px;
    line-height: 1.8;
}

.kdeb-faq-wte .kdeb-faq-item.active .kdeb-faq-answer {
    padding-top: 22px;
    padding-bottom: 25px;
}

.kdeb-faq-wte .kdeb-faq-answer p {
    margin-bottom: 22px;
}

.kdeb-faq-wte .kdeb-faq-answer p:last-child {
    margin-bottom: 0;
}

@media (max-width: 767px) {

    .kdeb-faq-wte .kdeb-faq-question {
        min-height: 65px;
        padding: 15px 18px;
        font-size: 15px;
        gap: 12px;
    }

    .kdeb-faq-wte .kdeb-faq-answer {
        padding-left: 20px;
        padding-right: 20px;
        font-size: 15px;
        line-height: 1.7;
    }

    .kdeb-faq-wte .kdeb-faq-item.active .kdeb-faq-answer {
        padding-top: 18px;
        padding-bottom: 20px;
    }
}


/* ============================================
   THE PROPOSED PROJECT / NIMBY ISSUE FAQ
   ============================================ */

.kdeb-nimby-faq {
    width: 100%;
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 0 50px;
    box-sizing: border-box;
}

.kdeb-nimby-faq-item {
    width: 100%;
    margin-bottom: 14px;
    border: 1px solid #d9d9d9;
    border-radius: 8px;
    overflow: hidden;
    background: #ffffff;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.08);
}

.kdeb-nimby-faq-question {
    width: 100%;
    min-height: 82px;
    padding: 18px 28px;
    border: 0;
    background: #6fc276;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
    text-align: left;
    font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.4;
    cursor: pointer;
    box-sizing: border-box;
}

.kdeb-nimby-faq-question span:first-child {
    flex: 1;
}

.kdeb-nimby-faq-icon {
    flex: 0 0 auto;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #173b65;
    font-size: 28px;
    font-weight: 400;
    line-height: 1;
    transition: transform 0.25s ease;
}

.kdeb-nimby-faq-item.active .kdeb-nimby-faq-icon {
    transform: rotate(180deg);
}

.kdeb-nimby-faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 40px;
    background: #fffef0;
    color: #111111;
    font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
    font-size: 17px;
    line-height: 1.8;
    transition: max-height 0.35s ease, padding 0.35s ease;
    box-sizing: border-box;
}

.kdeb-nimby-faq-item.active .kdeb-nimby-faq-answer {
    padding-top: 22px;
    padding-bottom: 25px;
}

.kdeb-nimby-faq-answer p {
    margin: 0 0 22px;
}

.kdeb-nimby-faq-answer p:last-child {
    margin-bottom: 0;
}

@media (max-width: 767px) {

    .kdeb-nimby-faq {
        padding: 0 15px 35px;
    }

    .kdeb-nimby-faq-question {
        min-height: 65px;
        padding: 15px 18px;
        font-size: 15px;
        gap: 12px;
    }

    .kdeb-nimby-faq-answer {
        padding-left: 20px;
        padding-right: 20px;
        font-size: 15px;
        line-height: 1.7;
    }

    .kdeb-nimby-faq-item.active .kdeb-nimby-faq-answer {
        padding-top: 18px;
        padding-bottom: 20px;
    }
}


/* ============================================
   THE PROPOSED PROJECT / NIMBY ISSUE FAQ
   ============================================ */

.kdeb-nimby-faq {
    width: 100%;
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 0 50px;
    box-sizing: border-box;
}

.kdeb-nimby-faq-item {
    width: 100%;
    margin-bottom: 14px;
    border: 1px solid #d9d9d9;
    border-radius: 8px;
    overflow: hidden;
    background: #ffffff;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.08);
}

.kdeb-nimby-faq-question {
    width: 100%;
    min-height: 82px;
    padding: 18px 28px;
    border: 0;
    background: #6fc276;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
    text-align: left;
    font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.4;
    cursor: pointer;
    box-sizing: border-box;
}

.kdeb-nimby-faq-question span:first-child {
    flex: 1;
}

.kdeb-nimby-faq-icon {
    flex: 0 0 auto;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #173b65;
    font-size: 28px;
    font-weight: 400;
    line-height: 1;
    transition: transform 0.25s ease;
}

.kdeb-nimby-faq-item.active .kdeb-nimby-faq-icon {
    transform: rotate(180deg);
}

.kdeb-nimby-faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 40px;
    background: #fffef0;
    color: #111111;
    font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
    font-size: 17px;
    line-height: 1.8;
    transition: max-height 0.35s ease, padding 0.35s ease;
    box-sizing: border-box;
}

.kdeb-nimby-faq-item.active .kdeb-nimby-faq-answer {
    padding-top: 22px;
    padding-bottom: 25px;
}

.kdeb-nimby-faq-answer p {
    margin: 0 0 22px;
}

.kdeb-nimby-faq-answer p:last-child {
    margin-bottom: 0;
}

@media (max-width: 767px) {

    .kdeb-nimby-faq {
        padding: 0 15px 35px;
    }

    .kdeb-nimby-faq-question {
        min-height: 65px;
        padding: 15px 18px;
        font-size: 15px;
        gap: 12px;
    }

    .kdeb-nimby-faq-answer {
        padding-left: 20px;
        padding-right: 20px;
        font-size: 15px;
        line-height: 1.7;
    }

    .kdeb-nimby-faq-item.active .kdeb-nimby-faq-answer {
        padding-top: 18px;
        padding-bottom: 20px;
    }
}


/* ============================================
   WASTE TO ENERGY TECHNOLOGY - FAQ ACCORDION
   ============================================ */

.kdeb-wte-tech-faq {
    width: 100%;
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 0 50px;
    box-sizing: border-box;
}

.kdeb-wte-tech-faq-item {
    width: 100%;
    margin-bottom: 14px;
    border: 1px solid #d9d9d9;
    border-radius: 8px;
    overflow: hidden;
    background: #ffffff;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.08);
}

.kdeb-wte-tech-faq-question {
    width: 100%;
    min-height: 82px;
    padding: 18px 28px;
    border: 0;
    background: #6fc276;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
    text-align: left;
    font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.4;
    cursor: pointer;
    box-sizing: border-box;
}

.kdeb-wte-tech-faq-question span:first-child {
    flex: 1;
}

.kdeb-wte-tech-faq-icon {
    flex: 0 0 auto;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #173b65;
    font-size: 28px;
    font-weight: 400;
    line-height: 1;
    transition: transform 0.25s ease;
}

.kdeb-wte-tech-faq-item.active .kdeb-wte-tech-faq-icon {
    transform: rotate(180deg);
}

.kdeb-wte-tech-faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 40px;
    background: #fffef0;
    color: #111111;
    font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
    font-size: 17px;
    line-height: 1.8;
    transition: max-height 0.35s ease, padding 0.35s ease;
    box-sizing: border-box;
}

.kdeb-wte-tech-faq-item.active .kdeb-wte-tech-faq-answer {
    padding-top: 22px;
    padding-bottom: 25px;
}

.kdeb-wte-tech-faq-answer p {
    margin: 0 0 22px;
}

.kdeb-wte-tech-faq-answer p:last-child {
    margin-bottom: 0;
}

.kdeb-wte-tech-faq-answer h3 {
    margin: 25px 0 10px;
    color: #173b65;
    font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
    font-size: 19px;
    font-weight: 700;
    line-height: 1.4;
}

.kdeb-wte-tech-faq-answer h3:first-child {
    margin-top: 0;
}

.kdeb-wte-tech-faq-answer ul {
    margin: 0 0 22px 25px;
    padding: 0;
}

.kdeb-wte-tech-faq-answer li {
    margin-bottom: 8px;
}

@media (max-width: 767px) {

    .kdeb-wte-tech-faq {
        padding: 0 15px 35px;
    }

    .kdeb-wte-tech-faq-question {
        min-height: 65px;
        padding: 15px 18px;
        font-size: 15px;
        gap: 12px;
    }

    .kdeb-wte-tech-faq-answer {
        padding-left: 20px;
        padding-right: 20px;
        font-size: 15px;
        line-height: 1.7;
    }

    .kdeb-wte-tech-faq-item.active .kdeb-wte-tech-faq-answer {
        padding-top: 18px;
        padding-bottom: 20px;
    }

    .kdeb-wte-tech-faq-answer h3 {
        font-size: 17px;
    }
}

/* =========================================================
   FINAL MOBILE RIGHT-SIDE DRAWER FIX
   ========================================================= */

@media (max-width: 1199px) {

    /* Keep hamburger visible on the right */
    button#wnavtoggle.kdeb-mobile-toggle {
        display: flex !important;
        position: absolute !important;
        top: 30px !important;
        right: 68px !important;
        left: auto !important;
        width: 48px !important;
        height: 48px !important;
        z-index: 10000 !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        background: transparent !important;
    }

    /* Right-side drawer */
    .kdeb-header .kdeb-nav-wrapper.mobile-menu-open {
        display: block !important;
        position: fixed !important;
        top: 0 !important;
        right: 0 !important;
        left: auto !important;
        width: min(370px, 85vw) !important;
        min-width: 300px !important;
        max-width: 370px !important;
        height: 100vh !important;
        max-height: 100vh !important;
        margin: 0 !important;
        padding: 0 !important;
        overflow-x: hidden !important;
        overflow-y: auto !important;
        background: #ffffff !important;
        z-index: 9999 !important;
        box-shadow: -8px 0 25px rgba(0,0,0,0.25) !important;
    }

    /* Logo tile sits at the LEFT edge of the drawer */
    .kdeb-header:has(.kdeb-nav-wrapper.mobile-menu-open) .kdeb-logo-box {
        position: fixed !important;
        top: 0 !important;
        right: min(85vw, 370px) !important;
        left: auto !important;
        width: 104px !important;
        max-width: 104px !important;
        height: 75px !important;
        margin: 0 !important;
        padding: 0 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        background: #d82323 !important;
        z-index: 10001 !important;
    }

    .kdeb-header:has(.kdeb-nav-wrapper.mobile-menu-open) .kdeb-logo-box > a {
        width: 92px !important;
        height: 70px !important;
        margin: 0 !important;
        padding: 0 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }

    .kdeb-header:has(.kdeb-nav-wrapper.mobile-menu-open) .kdeb-logo-img {
        width: 92px !important;
        height: 70px !important;
        margin: 0 !important;
        object-fit: contain !important;
    }

    /* Dark overlay behind drawer */
    .kdeb-header:has(.kdeb-nav-wrapper.mobile-menu-open)::before {
        content: "" !important;
        position: fixed !important;
        inset: 0 !important;
        width: 100vw !important;
        height: 100vh !important;
        background: rgba(0,0,0,0.76) !important;
        z-index: 9998 !important;
        pointer-events: auto !important;
    }

    /* Menu rows */
    .kdeb-nav-wrapper.mobile-menu-open .kdeb-nav-list {
        width: 100% !important;
        margin: 0 !important;
        padding: 75px 0 7px !important;
        display: block !important;
        background: #ffffff !important;
    }

    .kdeb-nav-wrapper.mobile-menu-open .kdeb-nav-list > li {
        width: 100% !important;
        min-height: 56px !important;
        border-bottom: 1px solid #dddddd !important;
        background: #ffffff !important;
    }

    .kdeb-nav-wrapper.mobile-menu-open .kdeb-nav-list > li > a {
        width: 100% !important;
        min-height: 56px !important;
        padding: 0 42px 0 16px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        color: #495057 !important;
        background: #ffffff !important;
        text-align: center !important;
        box-sizing: border-box !important;
    }

}

/* Small phones */
@media (max-width: 480px) {

    button#wnavtoggle.kdeb-mobile-toggle {
        top: 26px !important;
        right: 68px !important;
        width: 44px !important;
        height: 44px !important;
    }

    .kdeb-header .kdeb-nav-wrapper.mobile-menu-open {
        width: min(340px, 88vw) !important;
        min-width: 280px !important;
        max-width: 340px !important;
    }

    .kdeb-header:has(.kdeb-nav-wrapper.mobile-menu-open) .kdeb-logo-box {
        right: min(88vw, 340px) !important;
    }

}


/* =========================================================
   FINAL KDEBWM MOBILE DRAWER VISUAL TUNING
   ========================================================= */

@media (max-width: 1199px) {

    /* Right-side drawer */
    .kdeb-header .kdeb-nav-wrapper.mobile-menu-open {
        width: 370px !important;
        min-width: 0 !important;
        max-width: 370px !important;
        right: 0 !important;
        left: auto !important;
        top: 0 !important;
        height: 100vh !important;
        max-height: 100vh !important;
        padding: 75px 0 0 !important;
        overflow-x: hidden !important;
        overflow-y: auto !important;
        box-sizing: border-box !important;
        background: #ffffff !important;
    }

    /* KDEBWM logo tile attached to drawer */
    .kdeb-header:has(.kdeb-nav-wrapper.mobile-menu-open) .kdeb-logo-box {
        position: fixed !important;
        top: 0 !important;
        right: 370px !important;
        left: auto !important;
        width: 104px !important;
        max-width: 104px !important;
        height: 75px !important;
        margin: 0 !important;
        padding: 0 !important;
        background: #d82323 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        z-index: 10001 !important;
    }

    .kdeb-header:has(.kdeb-nav-wrapper.mobile-menu-open) .kdeb-logo-box > a {
        width: 92px !important;
        height: 70px !important;
        margin: 0 !important;
        padding: 0 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }

    .kdeb-header:has(.kdeb-nav-wrapper.mobile-menu-open) .kdeb-logo-img {
        width: 92px !important;
        height: 70px !important;
        margin: 0 !important;
        padding: 0 !important;
        object-fit: contain !important;
    }

    /* Menu */
    .kdeb-nav-wrapper.mobile-menu-open .kdeb-nav-list {
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        display: block !important;
        background: #ffffff !important;
    }

    /* Menu items */
    .kdeb-nav-wrapper.mobile-menu-open .kdeb-nav-list > li {
        width: 100% !important;
        min-height: 56px !important;
        margin: 0 !important;
        padding: 0 !important;
        border-bottom: 1px solid #dddddd !important;
        background: #ffffff !important;
    }

    .kdeb-nav-wrapper.mobile-menu-open .kdeb-nav-list > li > a {
        width: 100% !important;
        min-height: 56px !important;
        height: 56px !important;
        padding: 0 42px 0 16px !important;
        box-sizing: border-box !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        background: #ffffff !important;
        color: #495057 !important;
        text-align: center !important;
        font-size: 16px !important;
        font-weight: 600 !important;
    }

    /* Yellow strip directly below menu */
    .kdeb-header .kdeb-nav-wrapper.mobile-menu-open::after {
        content: "" !important;
        display: block !important;
        width: 100% !important;
        height: 7px !important;
        background: #fcd116 !important;
    }
}

/* Smaller phones */
@media (max-width: 480px) {

    .kdeb-header .kdeb-nav-wrapper.mobile-menu-open {
        width: 340px !important;
        max-width: 340px !important;
        padding-top: 75px !important;
    }

    .kdeb-header:has(.kdeb-nav-wrapper.mobile-menu-open) .kdeb-logo-box {
        right: 340px !important;
        width: 104px !important;
        max-width: 104px !important;
    }
}

