/* ===================================================================
   STAII.CSS - SEDEKAH SYSTEM EXTENSION STYLES
   
   This file serves as an extension to the main style.css
   Contains custom styling for:
   - Custom body & layout enhancements
   - Navbar styling and responsive design  
   - Content areas and sections
   - Partners & endorsements section
   - Footer customizations
   - Mobile responsive overrides
   
   Import this file AFTER style.css in your HTML:
   <link rel="stylesheet" href="internal-system/dist/css/style.css">
   <link rel="stylesheet" href="staii.css">
=================================================================== */

/* Import Google Fonts for enhanced typography */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

/* ===================================================================
   BODY & LAYOUT ENHANCEMENTS
=================================================================== */

/* Custom Body Styling - Extends main CSS */
body {
    /* Enhanced gradient background */
    background: #F8F8FF;
    min-height: 100vh;
    font-family: 'Poppins', sans-serif;
    /* padding-top: 80px; Space for fixed navbar */
}

/* ===================================================================
   NAVBAR ENHANCEMENTS & CUSTOM STYLING
=================================================================== */

/* Navbar Separator Element */
.navbar-separator {
    width: 1px;
    height: 30px;
    background: rgba(255, 255, 255, 0.3);
    margin: 0 15px;
    align-self: center;
}

.nav-btn {
    background: linear-gradient(135deg, #1ab394, #20c997) !important;
    color: white !important;
    border-radius: 25px !important;
    padding: 8px 15px !important;
    margin: 0 3px !important;
    font-weight: 600 !important;
    border: 2px solid transparent !important;
    transition: all 0.3s ease !important;
    text-transform: uppercase !important;
    font-size: 11px !important;
    letter-spacing: 0.3px !important;
    display: inline-block !important;
    vertical-align: middle !important;
    line-height: 1.2 !important;
    white-space: nowrap !important;
    max-width: 150px !important;
}

/* Fix navbar alignment */
.navbar-nav {
    align-items: center !important;
    display: flex !important;
    flex-wrap: nowrap !important;
}

/* Ensure button container stays in one line */
.navbar-nav > li {
    flex-shrink: 0 !important;
}

/* .nav-link page-scroll{
    color: #e9ecef;
} */

/* Navbar Background Color */
.navbar-default {
    background-color: rgb(26, 179, 148) !important;
    border: none !important;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1) !important;
}

.navbar-default .navbar-collapse {
    background-color: rgb(26, 179, 148) !important;
}

    .navbar-nav > li {
        display: inline-block !important;
        float: none !important;
    }

    .nav.navbar-right > li > a {
        color: #fff;
    } 

    .navbar-default .nav > li > a:hover,
    .navbar-default .nav > li > a:focus {
        background-color: transparent;
        color: black;
    }

    .navbar-nav > li > a.nav-link {
        display: inline-block !important;
        padding: 15px !important;
        line-height: 20px !important;
    }

    /* Specific styling for nav buttons to keep them inline */
    .navbar-nav > li > a.nav-btn {
        display: inline-block !important;
        vertical-align: middle !important;
        margin: 0 5px !important;
    }

    .nav-btn-primary {
        background: linear-gradient(135deg, #28a745, #20c997) !important;
        color: white !important;
        border: 2px solid rgba(255, 255, 255, 0.3) !important;
        box-shadow: 0 6px 20px rgba(40, 167, 69, 0.4) !important;
        font-weight: 700 !important;
        text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3) !important;
        padding: 8px 15px !important;
        font-size: 11px !important;
    }

    .nav-btn-primary:hover {
        background: linear-gradient(135deg, #20c997, #17a2b8) !important;
        color: white !important;
        transform: translateY(-2px) !important;
        box-shadow: 0 8px 25px rgba(40, 167, 69, 0.5) !important;
        border-color: rgba(255, 255, 255, 0.5) !important;
    }

    .nav-btn-secondary {
        background: linear-gradient(135deg, #fd7e14, #ffc107) !important;
        color: #212529 !important;
        border: 2px solid rgba(33, 37, 41, 0.2) !important;
        box-shadow: 0 6px 20px rgba(253, 126, 20, 0.4) !important;
        font-weight: 700 !important;
        text-shadow: 0 1px 2px rgba(255, 255, 255, 0.3) !important;
        padding: 8px 15px !important;
        font-size: 11px !important;
    }

    .nav-btn-secondary:hover {
        background: linear-gradient(135deg, #ffc107, #ffca2c) !important;
        color: #212529 !important;
        transform: translateY(-2px) !important;
        box-shadow: 0 8px 25px rgba(253, 126, 20, 0.5) !important;
        border-color: rgba(33, 37, 41, 0.3) !important;
    }

    .nav-btn-info {
        background: linear-gradient(135deg, #17a2b8, #138496) !important;
        color: white !important;
        border: 2px solid rgba(255, 255, 255, 0.3) !important;
        box-shadow: 0 6px 20px rgba(23, 162, 184, 0.4) !important;
        font-weight: 700 !important;
        text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3) !important;
        padding: 8px 15px !important;
        font-size: 11px !important;
    }

    .nav-btn-info:hover {
        background: linear-gradient(135deg, #138496, #117a8b) !important;
        color: white !important;
        transform: translateY(-2px) !important;
        box-shadow: 0 8px 25px rgba(23, 162, 184, 0.5) !important;
        border-color: rgba(255, 255, 255, 0.5) !important;
    }

    .navbar-nav .nav-item:last-child {
        margin-right: 0 !important;
    }

    /* Navbar Logo Styling */
    .navbar-logo {
        height: 50px;
        width: auto;
        margin-right: 10px;
        vertical-align: middle;
        transition: all 0.3s ease;
    }

    .navbar-brand {
        height: 60px;
        display: flex;
        align-items: center;
        font-weight: 700;
        font-size: 1.1rem;
    }

    .navbar-brand:hover .navbar-logo {
        transform: scale(1.1);
    }

    /* ---------- Enhanced Dropdown + submenu styling ---------- */
    .navbar-nav .dropdown {
        position: relative;
    }

    .navbar-nav .main-label {
        display: block;
        padding: 15px !important;
        color: #fff !important;
        font-weight: 600;
        cursor: pointer;
        white-space: nowrap;
        transition: all 0.3s ease;
        text-decoration: none !important;
        line-height: 20px !important;
    }

    /* caret spacing */
    .navbar-nav .main-label .fa {
        margin-left: 6px;
        font-size: 12px;
        transition: transform 0.3s ease;
    }

    /* hover state on desktop */
    .navbar-nav .main-label:hover {
        background: rgba(255,255,255,0.08);
        border-radius: 4px;
        color: #fff !important;
        text-decoration: none !important;
    }

    /* Submenu - Hidden by default */
    .submenu {
        display: none; /* Default HIDDEN */
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
        position: absolute;
        top: 100%;
        left: 0;
        background: #ffffff;
        min-width: 220px;
        list-style: none;
        margin: 0; /* No gap for smooth hover */
        padding: 8px 0;
        box-shadow: 0 8px 25px rgba(0,0,0,0.15);
        border-radius: 8px;
        z-index: 9999;
        transition: all 0.3s ease;
        border: 1px solid rgba(0,0,0,0.1);
    }

    /* Prevent touch devices from showing submenu on hover ONLY on mobile */
    @media (max-width: 768px) and (hover: none) and (pointer: coarse) {
        .navbar-nav .dropdown:hover .submenu {
            display: none !important;
        }
    }

    /* Desktop & Tablet (769px+): Show submenu on hover */
    @media (min-width: 769px) {
        /* Add padding to dropdown to create hover bridge */
        .navbar-nav .dropdown {
            position: relative;
        }

        /* Invisible bridge to keep hover active */
        .navbar-nav .dropdown::after {
            content: '';
            position: absolute;
            top: 100%;
            left: 0;
            right: 0;
            height: 10px; /* Bridge height */
            display: block;
            z-index: 9998;
        }

        .navbar-nav .dropdown:hover .submenu {
            display: block;
            opacity: 1;
            visibility: visible;
            transform: translateY(0);
        }

        /* rotate caret on hover */
        .navbar-nav .dropdown:hover .main-label .fa {
            transform: rotate(180deg);
        }

        /* Keep submenu visible when hovering over it */
        .submenu:hover {
            display: block;
            opacity: 1;
            visibility: visible;
        }
    }

    /* Tablet specific: Enable click/tap to toggle */
    @media (min-width: 769px) and (max-width: 1024px) and (hover: none) {
        .navbar-nav .dropdown .submenu {
            display: none;
        }

        /* Show on click via JavaScript */
        .navbar-nav .dropdown.open .submenu {
            display: block !important;
            opacity: 1;
            visibility: visible;
            transform: translateY(0);
        }

        .navbar-nav .dropdown.open .main-label .fa {
            transform: rotate(180deg);
        }

        .navbar-nav .main-label {
            cursor: pointer;
        }
    }

    /* submenu items */
    .submenu li a {
        display: block;
        padding: 12px 18px;
        color: #333 !important;
        text-decoration: none;
        font-weight: 500;
        font-size: 14px;
        transition: all 0.3s ease;
        border-left: 3px solid transparent;
    }

    /* hover on submenu items */
    .submenu li a:hover {
        background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
        color: #1ab394 !important;
        text-decoration: none !important;
        border-left-color: #1ab394;
        padding-left: 22px;
        transform: translateX(4px);
    }

    /* ===================================================================
       NAVBAR RESPONSIVE DESIGN FOR DIFFERENT SCREEN SIZES
    =================================================================== */
    
    /* Large screens (1200px and above) - Default styles apply */
    
    /* Medium screens (992px to 1199px) - Slightly smaller buttons, MUST stay in one line */
    @media (max-width: 1199px) and (min-width: 992px) {
        .nav-btn {
            padding: 8px 12px !important;
            font-size: 10px !important;
            margin: 0 2px !important;
        }
        
        .nav-btn-primary, .nav-btn-secondary, .nav-btn-info {
            padding: 8px 12px !important;
            font-size: 10px !important;
        }
        
        /* Keep in one line */
        .navbar-nav {
            flex-wrap: nowrap !important;
        }
    }
    
    /* Medium screens (900px to 991px) - Compact buttons, MUST stay in one line */
    @media (max-width: 991px) and (min-width: 900px) {
        .nav-btn {
            padding: 6px 8px !important;
            font-size: 9px !important;
            margin: 0 2px !important;
            letter-spacing: 0.2px !important;
        }
        
        .nav-btn-primary, .nav-btn-secondary, .nav-btn-info {
            padding: 6px 8px !important;
            font-size: 9px !important;
        }
        
        .navbar-separator {
            margin: 0 5px !important;
        }
        
        /* Keep in one line */
        .navbar-nav {
            flex-wrap: nowrap !important;
        }
    }
    
    /* Small screens (769px to 899px) - Allow wrapping */
    @media (max-width: 899px) and (min-width: 769px) {
        .nav-btn {
            padding: 6px 10px !important;
            font-size: 9px !important;
            margin: 0 2px !important;
            letter-spacing: 0.2px !important;
        }
        
        .nav-btn-primary, .nav-btn-secondary, .nav-btn-info {
            padding: 6px 10px !important;
            font-size: 9px !important;
        }
        
        .navbar-separator {
            margin: 0 8px !important;
        }
        
        /* Allow wrapping on smaller screens */
        .navbar-nav {
            flex-wrap: wrap !important;
            justify-content: center !important;
        }
        
        .navbar-nav > li {
            margin: 3px !important;
        }
    }

    /* ===================================================================
       NAVBAR MOBILE RESPONSIVE DESIGN (768px and below)
    =================================================================== */
    @media (max-width: 768px) {
        .navbar-separator {
            display: none;
        }
        
        .navbar-nav {
            flex-direction: column !important;
            align-items: stretch !important;
            width: 100% !important;
        }
        
        .navbar-nav > li {
            display: block !important;
            width: 100% !important;
            margin: 2px 0 !important;
            text-align: center !important;
        }
        
        .navbar-nav > li > a.nav-link {
            padding: 12px 15px !important;
            text-align: center !important;
            border-radius: 5px !important;
            margin: 2px auto !important;
            display: block !important;
            width: calc(100% - 10px) !important;
            max-width: 100% !important;
        }

        /* Specific styling for "Utama" link on mobile */
        .navbar-nav > li > a.nav-link#homeLink {
            text-align: center !important;
            display: block !important;
            width: calc(100% - 10px) !important;
            margin: 2px auto !important;
            justify-content: center !important;
        }
        
        .nav-btn {
            margin: 8px auto !important;
            width: calc(100% - 10px) !important;
            text-align: center !important;
            padding: 12px 20px !important;
            font-size: 14px !important;
            border-radius: 8px !important;
            display: block !important;
        }
        
        .nav-btn-primary, .nav-btn-secondary, .nav-btn-info {
            padding: 14px 20px !important;
            font-size: 15px !important;
            font-weight: 700 !important;
            margin: 10px auto !important;
            width: calc(100% - 10px) !important;
            display: block !important;
        }

        /* Mobile submenu styling */
        .navbar-nav .dropdown .submenu {
            display: none !important; /* Force hide by default */
            position: static;
            box-shadow: none;
            margin: 0;
            padding: 0;
            background: rgba(255,255,255,0.1);
            border: none;
            border-radius: 0;
            opacity: 1;
            visibility: visible;
            transform: none;
            transition: all 0.3s ease;
            overflow: hidden;
            max-height: 0;
        }

        /* Show submenu when dropdown is open */
        .navbar-nav .dropdown.open .submenu {
            display: block !important;
            max-height: 500px;
        }

        .navbar-nav .dropdown {
            width: 100%;
        }

        .navbar-nav .main-label {
            padding: 12px 15px !important;
            text-align: center;
            cursor: pointer;
            position: relative;
        }

        /* Rotate caret when dropdown is open */
        .navbar-nav .dropdown.open .main-label .fa {
            transform: rotate(180deg) !important;
            transition: transform 0.3s ease;
        }

        .submenu li a {
            padding-left: 30px !important;
            color: rgba(0, 0, 0, 0.9) !important;
            border-left: none;
        }

        .submenu li a:hover {
            background: rgba(255,255,255,0.15) !important;
            color: #fff !important;
            padding-left: 35px !important;
        }
    }

    /* Extra small devices (phones, less than 576px) */
    @media (max-width: 575px) {
        .nav-btn {
            margin: 6px 10px !important;
            width: calc(100% - 20px) !important;
            padding: 12px 15px !important;
            font-size: 13px !important;
        }
        
        .nav-btn-primary, .nav-btn-secondary, .nav-btn-info {
            padding: 12px 15px !important;
            font-size: 14px !important;
            margin: 8px 10px !important;
        }
    }

    /* Accessibility Enhancement - Focus States */
    .navbar-nav .main-label:focus,
    .submenu li a:focus {
        outline: 2px solid rgba(26,179,148,0.25);
        outline-offset: 2px;
    }

/* ===================================================================
   MAIN CONTENT AREAS & SECTIONS
=================================================================== */

/* Main Content Wrapper */
    .main-content {
        padding: 60px 0;
        min-height: 60vh;
    }

    .content-wrapper {
        background: rgba(255, 255, 255, 0.95);
        border-radius: 20px;
        padding: 40px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        backdrop-filter: blur(10px);
    }

    .page-title {
        color: #1ab394;
        font-weight: 700;
        font-size: 2.5rem;
        text-align: center;
        margin-bottom: 30px;
    }

    /* Content Mobile Responsive */
    @media (max-width: 768px) {
        .content-wrapper {
            margin: 20px 15px;
            padding: 20px;
        }

        .page-title {
            font-size: 2rem;
        }
    }

/* ===================================================================
   PARTNERS & ENDORSEMENTS SECTION
=================================================================== */

/* Main Partners Section Container */
.partners-endorsements {
    background: linear-gradient(22deg, #1ab394 0%, #8eedda8a 83%);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

    .partners-endorsements::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="partner-grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="0.5" fill="%231A685B" opacity="0.03"/><circle cx="75" cy="75" r="0.5" fill="%231A685B" opacity="0.03"/><circle cx="50" cy="10" r="0.3" fill="%231A685B" opacity="0.03"/></pattern></defs><rect width="100" height="100" fill="url(%23partner-grain)"/></svg>');
        pointer-events: none;
    }

    .partners-header {
        margin-bottom: 60px;
    }

    .partners-title {
        font-size: 2.5rem;
        font-weight: 800;
        color: #1A685B;
        margin-bottom: 15px;
        letter-spacing: -1px;
        font-weight: bold;
        /* text-shadow: -3px -2px 1px rgba(255, 255, 255, 1); */
    }

    .partners-subtitle {
        font-size: 1.1rem;
        color: #000 !important;
        margin-bottom: 30px;
        max-width: 600px;
        margin-left: auto;
        margin-right: auto;
        line-height: 1.6;
    }

    .partners-line {
        width: 80px;
        height: 4px;
        background: linear-gradient(90deg, #1A685B, #e67e22);
        margin: 0 auto;
        border-radius: 2px;
    }

    .partner-logo-card {
        margin-bottom: 40px;
        transition: all 0.3s ease;
    }

    .logo-container {
        background: white;
        border-radius: 20px;
        padding: 30px 20px;
        box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
        transition: all 0.3s ease;
        position: relative;
        overflow: hidden;
        border: 1px solid #e9ecef;
        text-align: center;
        height: 220px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .logo-container::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 3px;
        background: linear-gradient(90deg, #1A685B 0%, #e67e22 50%, #1A685B 100%);
    }

    .logo-container:hover {
        transform: translateY(-10px);
        box-shadow: 0 15px 50px rgba(26, 104, 91, 0.15);
        border-color: #1A685B;
    }

    .partner-logo {
        max-width: 120px;
        max-height: 80px;
        width: auto;
        height: auto;
        object-fit: contain;
        margin-bottom: 20px;
        transition: all 0.3s ease;
        filter: grayscale(0.3);
    }

    .logo-container:hover .partner-logo {
        filter: grayscale(0);
        transform: scale(1.05);
    }

    .logo-overlay h5 {
        font-size: 1rem;
        font-weight: 700;
        color: #1A685B;
        margin-bottom: 5px;
        line-height: 1.3;
    }

    .logo-overlay p {
        font-size: 0.85rem;
        color: #6c757d;
        margin: 0;
        font-weight: 500;
    }

    .trust-badge {
        display: inline-flex;
        align-items: center;
        gap: 12px;
        background: linear-gradient(135deg, #1A685B 0%, #2d5a27 100%);
        color: white;
        padding: 15px 30px;
        border-radius: 50px;
        font-weight: 600;
        font-size: 1rem;
        box-shadow: 0 8px 25px rgba(26, 104, 91, 0.2);
        margin-top: 20px;
        text-decoration: none;
        /* untuk anchor */
        transition: all 0.5s ease;
        /* penting untuk smooth hover */
    }

    .trust-badge i {
        font-size: 1.2rem;
        color: #e67e22;
    }

    /* Hover effect timbul */
    .trust-badge:hover {
        transform: translateY(-5px);
        /* naik 5px */
        box-shadow: 0 12px 30px rgba(26, 104, 91, 0.3);
        /* shadow lebih jelas */
        background: linear-gradient(135deg, #2d5a27 0%, #1A685B 100%);
        /* warna terbalik */
    }

    .m-t-lg {
        margin-top: 50px;
    }

    /* Partners Section Mobile Responsive */
    @media (max-width: 768px) {
        .partners-endorsements {
            padding: 60px 0;
        }

        .partners-title {
            font-size: 2rem;
        }

        .logo-container {
            height: 180px;
            padding: 20px 15px;
        }

        .partner-logo {
            max-width: 100px;
            max-height: 60px;
        }

        .trust-badge {
            padding: 12px 20px;
            font-size: 0.9rem;
            flex-direction: column;
            gap: 8px;
            text-align: center;
        }
    }

/* ===================================================================
   INTERACTIVE ELEMENTS & COMPONENTS
=================================================================== */

/* Toggle Content Elements */
.more-info-content {
    display: none;
}
    .toggle-more-info-btn {
        background: linear-gradient(135deg, #1A685B 0%, #2d5a27 100%);
        color: #fff;
        border: none;
        border-radius: 8px;
        padding: 10px 18px;
        font-size: 15px;
        font-weight: 600;
        cursor: pointer;
        transition: all 0.3s ease;
        margin-top: 15px;
        display: inline-block;
        box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    }

    .toggle-more-info-btn:hover {
        background: linear-gradient(135deg, #2d5a27 0%, #1A685B 100%);
        transform: translateY(-2px);
        box-shadow: 0 6px 12px rgba(0,0,0,0.3);
    }

    .toggle-more-info-btn:active {
        transform: translateY(1px);
        box-shadow: 0 2px 4px rgba(0,0,0,0.2);
    }

/* ===================================================================
   FOOTER CUSTOMIZATIONS
=================================================================== */

/* Main Footer Section */
.official-footer {
    background: linear-gradient(135deg, #1A685B 0%, #2d5a27 100%);
    color: white;
    padding: 60px 0 30px;
    position: relative;
    overflow: hidden;
}

    .official-footer::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="footer-pattern" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="white" opacity="0.05"/><circle cx="75" cy="75" r="1" fill="white" opacity="0.05"/><circle cx="50" cy="10" r="0.5" fill="white" opacity="0.05"/></pattern></defs><rect width="100" height="100" fill="url(%23footer-pattern)"/></svg>');
        pointer-events: none;
    }

    .footer-logos {
        margin-bottom: 40px;
    }

    .main-footer-logo {
        margin-bottom: 40px;
    }

    .footer-main-logo {
        height: 80px;
        width: auto;
        margin-bottom: 20px;
    }

    .main-footer-logo h4 {
        font-size: 1.8rem;
        font-weight: 700;
        margin-bottom: 15px;
        color: white;
    }

    .main-footer-logo p {
        font-size: 1.1rem;
        color: rgba(255, 255, 255, 0.8);
        max-width: 500px;
        margin: 0 auto;
        line-height: 1.6;
    }

    .footer-partner-logos {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 60px;
        flex-wrap: wrap;
    }

    .footer-partner-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    .footer-partner-logo {
        height: 120px;
        width: auto;
        transition: all 0.4s ease;
        filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.15));
        border-radius: 8px;
        padding: 10px;
        box-sizing: border-box;
    }

    .footer-partner-item span {
        font-size: 0.9rem;
        color: rgba(255, 255, 255, 0.7);
        font-weight: 500;
    }

    .footer-divider {
        height: 1px;
        background: rgba(255, 255, 255, 0.2);
        margin: 40px 0 30px;
    }

    .footer-bottom p {
        margin: 5px 0;
        color: rgba(255, 255, 255, 0.8);
    }

    .footer-disclaimer {
        font-size: 0.9rem;
        color: rgba(255, 255, 255, 0.6) !important;
        font-style: italic;
    }

    /* Footer Mobile Responsive */
    @media (max-width: 768px) {
        .official-footer {
            padding: 40px 0 20px;
        }

        .footer-main-logo {
            height: 60px;
        }

        .main-footer-logo h4 {
            font-size: 1.5rem;
        }

        .footer-partner-logos {
            gap: 30px;
        }

        .footer-partner-logo {
            height: 45px;
        }
    }

/* ===================================================================
   PAYMENT METHOD STYLES & CORPORATE FEATURES
=================================================================== */

/* Corporate Features Section */
.corporate-features-section {
    background: linear-gradient(214deg, #1ab394 0%, #83e2cf8a 52%);
    padding: 0;
    margin-top: 0;
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    padding-top: 70px;
}

.corporate-features-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 50%, rgba(26, 179, 148, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(131, 226, 207, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 80%, rgba(26, 104, 91, 0.05) 0%, transparent 50%);
}

.corporate-features-header {
    max-width: 800px;
    margin: 0 auto 60px;
    position: relative;
    z-index: 2;
    padding-top: 40px;
}

.features-badge {
    display: inline-block;
    background: linear-gradient(135deg, #1A685B 0%, #2d5a27 100%);
    color: white;
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.8px;
    margin-bottom: 20px;
    margin-top: 0;
    text-transform: uppercase;
    box-shadow: 0 3px 10px rgba(26, 104, 91, 0.15);
}

.features-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1A685B;
    margin-bottom: 20px;
    line-height: 1.2;
    letter-spacing: -0.5px;
}

.highlight-text {
    background: linear-gradient(135deg, #1A685B 0%, #2d5a27 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.features-subtitle {
    font-size: 1.1rem;
    color: #6c757d;
    line-height: 1.6;
    font-weight: 400;
    max-width: 600px;
    margin: 0 auto;
}

.payment-methods-grid {
    margin-bottom: 40px;
}

.corporate-feature-card {
    background: white;
    border-radius: 20px;
    padding: 0;
    margin-bottom: 30px;
    position: relative;
    transition: all 0.4s ease;
    box-shadow: 0 8px 30px rgba(26, 104, 91, 0.08);
    border: 1px solid #e9ecef;
    height: 100%;
    overflow: hidden;
}

.corporate-feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, #1A685B 0%, #2d5a27 100%);
    transition: all 0.3s ease;
}

.corporate-feature-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 50px rgba(26, 104, 91, 0.15);
    border-color: #1A685B;
}

/* Premium Card Special Effects */
.premium-card {
    position: relative;
    transform: scale(1.02);
    z-index: 3;
}

.premium-card::before {
    background: linear-gradient(90deg, #e67e22 0%, #f39c12 100%);
}

.premium-card:hover {
    transform: scale(1.02) translateY(-15px);
}

.premium-glow {
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, #e67e22 0%, #f39c12 100%);
    border-radius: 30px;
    z-index: -1;
    opacity: 0.3;
    filter: blur(8px);
    animation: premiumGlow 3s ease-in-out infinite;
}

@keyframes premiumGlow {
    0%, 100% {
        opacity: 0.2;
        transform: scale(0.98);
    }
    50% {
        opacity: 0.4;
        transform: scale(1.02);
    }
}

/* Feature Badges */
.feature-badge {
    position: absolute;
    top: 25px;
    right: 25px;
    color: white;
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    z-index: 4;
}

.feature-badge.instant {
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
}

.feature-badge.premium {
    background: linear-gradient(135deg, #e67e22 0%, #f39c12 100%);
}

.feature-badge.personal {
    background: linear-gradient(135deg, #9b59b6 0%, #8e44ad 100%);
}

.feature-badge.mobile {
    background: linear-gradient(135deg, #27ae60 0%, #229954 100%);
}

/* Feature Header */
.feature-header {
    padding: 30px 30px 15px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.feature-icon-container {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.feature-icon-container.instant {
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    box-shadow: 0 15px 35px rgba(52, 152, 219, 0.25);
}

.feature-icon-container.premium {
    background: linear-gradient(135deg, #e67e22 0%, #f39c12 100%);
    box-shadow: 0 15px 35px rgba(230, 126, 34, 0.25);
}

.feature-icon-container.personal {
    background: linear-gradient(135deg, #9b59b6 0%, #8e44ad 100%);
    box-shadow: 0 15px 35px rgba(155, 89, 182, 0.25);
}

.feature-icon-container.mobile {
    background: linear-gradient(135deg, #27ae60 0%, #229954 100%);
    box-shadow: 0 15px 35px rgba(39, 174, 96, 0.25);
}

.feature-icon-container i {
    font-size: 32px;
    color: white;
}

.corporate-feature-card:hover .feature-icon-container {
    transform: scale(1.15) rotate(5deg);
}

.feature-content {
    flex: 1;
}

.feature-title {
    font-size: 1.6rem;
    font-weight: 700;
    color: #1A685B;
    margin-bottom: 8px;
    letter-spacing: -0.3px;
}

.feature-tag {
    display: inline-block;
    background: #f8f9fa;
    color: #6c757d;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.feature-tag.premium {
    background: linear-gradient(135deg, #fff3e0 0%, #fef7ec 100%);
    color: #e67e22;
}

/* Feature Body */
.feature-body {
    padding: 0 30px 15px;
}

.feature-description {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #6c757d;
    margin-bottom: 20px;
    font-weight: 400;
}

.feature-benefits {
    margin-bottom: 25px;
}

.benefit-row {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
    padding: 8px 0;
    transition: all 0.3s ease;
}

.benefit-row:hover {
    transform: translateX(10px);
}

.benefit-icon {
    width: 35px;
    height: 35px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.benefit-icon i {
    font-size: 14px;
    color: #1A685B;
}

.benefit-row:hover .benefit-icon {
    background: linear-gradient(135deg, #1A685B 0%, #2d5a27 100%);
    transform: scale(1.1);
}

.benefit-row:hover .benefit-icon i {
    color: white;
}

.benefit-row span {
    font-size: 0.9rem;
    color: #495057;
    font-weight: 500;
    line-height: 1.4;
}

/* Feature Footer */
.feature-footer {
    padding: 20px 30px 30px;
}

.btn-feature-action {
    width: 100%;
    border: none;
    padding: 12px 25px;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.btn-feature-action::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.btn-feature-action:hover::before {
    left: 100%;
}

.btn-feature-action.instant {
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    color: white;
    box-shadow: 0 8px 25px rgba(52, 152, 219, 0.25);
}

.btn-feature-action.premium {
    background: linear-gradient(135deg, #e67e22 0%, #f39c12 100%);
    color: white;
    box-shadow: 0 8px 25px rgba(230, 126, 34, 0.25);
}

.btn-feature-action.personal {
    background: linear-gradient(135deg, #9b59b6 0%, #8e44ad 100%);
    color: white;
    box-shadow: 0 8px 25px rgba(155, 89, 182, 0.25);
}

.btn-feature-action.mobile {
    background: linear-gradient(135deg, #27ae60 0%, #229954 100%);
    color: white;
    box-shadow: 0 8px 25px rgba(39, 174, 96, 0.25);
}

.btn-feature-action:hover {
    transform: translateY(-4px);
    color: white;
    text-decoration: none;
}

.btn-feature-action.instant:hover {
    box-shadow: 0 15px 40px rgba(52, 152, 219, 0.4);
}

.btn-feature-action.premium:hover {
    box-shadow: 0 15px 40px rgba(230, 126, 34, 0.4);
}

.btn-feature-action.personal:hover {
    box-shadow: 0 15px 40px rgba(155, 89, 182, 0.4);
}

.btn-feature-action.mobile:hover {
    box-shadow: 0 15px 40px rgba(39, 174, 96, 0.4);
}

.btn-feature-action i {
    font-size: 1.1rem;
}

/* Corporate Card Styles */
.corporate-card {
    background: white;
    border-radius: 15px;
    padding: 30px 20px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
    position: relative;
    overflow: hidden;
    height: 100%;
}

.corporate-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    border-color: #1A685B;
}

.corporate-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #1A685B 0%, #2d5a27 100%);
}

.corporate-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #1A685B 0%, #2d5a27 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    transition: all 0.3s ease;
}

.corporate-icon i {
    font-size: 28px;
    color: white;
}

.corporate-card h4 {
    font-size: 1.4rem;
    font-weight: 700;
    color: #1A685B;
    margin-bottom: 15px;
}

.corporate-card h6 {
    font-size: 0.9rem;
    color: #6c757d;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 15px;
}

.corporate-card p {
    font-size: 0.95rem;
    color: #6c757d;
    line-height: 1.6;
    margin-bottom: 20px;
}

.corporate-footer {
    margin-top: auto;
    padding-top: 15px;
}

.badge-navy {
    background: linear-gradient(135deg, #1A685B 0%, #2d5a27 100%);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    display: inline-block;
}

.m-t-xl {
    margin-top: 60px;
}

/* Payment Section Visibility Control */
.payment-section {
    background: linear-gradient(214deg, #1ab394 0%, #83e2cf8a 52%);
    padding: 0;
    margin-top: 0;
    position: relative;
    overflow: hidden;
    min-height: 100vh;
}

body.show-payment .landing-page-section:not(.payment-section) {
    display: none;
}

/* Payment Section Styling */
.payment-section .corporate-features-header {
    padding-top: 80px;
}

.payment-section .features-badge {
    background: linear-gradient(135deg, #e67e22 0%, #f39c12 100%);
    color: white;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.payment-section .features-subtitle {
    color: #495057 !important;
}

.payment-section .corporate-feature-card {
    box-shadow: 0 10px 40px rgba(26, 104, 91, 0.12);
    border: 2px solid rgba(26, 179, 148, 0.1);
}

/* Desktop: Hide payment-section on landing page */
@media (min-width: 769px) {
    .payment-section {
        display: block;
    }
}

/* Mobile: Show payment-section on landing page */
@media (max-width: 768px) {
    .corporate-features-header {
        padding-top: 20px;
        margin-bottom: 40px;
    }

    .features-title {
        font-size: 2rem;
    }

    .corporate-feature-card {
        margin-bottom: 20px;
    }

    .feature-header {
        padding: 20px 20px 10px;
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }

    .feature-icon-container {
        width: 60px;
        height: 60px;
    }

    .feature-icon-container i {
        font-size: 24px;
    }

    .feature-title {
        font-size: 1.3rem;
    }

    .feature-body {
        padding: 0 20px 10px;
    }

    .feature-footer {
        padding: 15px 20px 20px;
    }

    .benefit-row {
        margin-bottom: 8px;
    }
}

/* QR Popup Styles */
.qr-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 9999;
    display: none;
}

.qr-popup-overlay.active {
    display: block;
}

.qr-popup-box {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    z-index: 10000;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.3);
    max-width: 90%;
    max-height: 90%;
    display: none;
}

.qr-popup-box.active {
    display: block;
}

.qr-popup-box h3 {
    color: #1A685B;
    margin-bottom: 20px;
}

.qr-popup-box img {
    max-width: 250px;
    width: 100%;
    height: auto;
    border-radius: 10px;
    margin-bottom: 20px;
}

.qr-popup-box .btn {
    background: linear-gradient(135deg, #1A685B 0%, #2d5a27 100%);
    border: none;
    padding: 12px 30px;
    border-radius: 25px;
    color: white;
    font-weight: 600;
}

.qr-popup-box .btn:hover {
    background: linear-gradient(135deg, #2d5a27 0%, #1A685B 100%);
    transform: translateY(-2px);
}

@media (max-width: 576px) {
    .qr-popup-box {
        padding: 20px;
        margin: 20px;
    }

    .qr-popup-box img {
        max-width: 200px;
    }

    .qr-popup-box h3 {
        font-size: 1.5rem;
    }
}

/* Animation Enhancements */
@keyframes featureFloat {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

.corporate-feature-card:hover {
    animation: featureFloat 3s ease-in-out infinite;
}

.premium-card:hover {
    animation: featureFloat 2s ease-in-out infinite;
}

/* ===================================================================
   BLOCKCHAIN SECTION STYLES
=================================================================== */

/* Main Blockchain Section Container */
.blockchain-section {
    background: linear-gradient(135deg, #c0ede4 0%, #f3f4f48a 100%);
    /* background: linear-gradient(135deg, #1ab394 0%, #8eedda8a 100%); */
    padding: 80px 0;
    position: relative;
    overflow: hidden;
    min-height: 100vh;
}

.blockchain-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="blockchain-pattern" width="50" height="50" patternUnits="userSpaceOnUse"><rect width="2" height="2" x="10" y="10" fill="%231A685B" opacity="0.05"/><rect width="2" height="2" x="30" y="30" fill="%231A685B" opacity="0.05"/><rect width="1" height="1" x="40" y="15" fill="%231A685B" opacity="0.03"/></pattern></defs><rect width="100" height="100" fill="url(%23blockchain-pattern)"/></svg>');
    pointer-events: none;
}

/* Blockchain Header Styling */
.blockchain-section h1 {
    font-size: 2.8rem;
    font-weight: 800;
    color: #1A685B;
    margin-bottom: 20px;
    letter-spacing: -1px;
    text-shadow: 2px 2px 4px rgba(255, 255, 255, 0.3);
}

.blockchain-section p {
    font-size: 1.2rem;
    color: #2c3e50;
    line-height: 1.7;
    max-width: 800px;
    margin: 0 auto 60px;
    font-weight: 500;
}

/* Blockchain Decorative Line */
.blockchain-line {
    width: 100px;
    height: 5px;
    background: linear-gradient(90deg, #1A685B 0%, #e67e22 50%, #1A685B 100%);
    margin: 0 auto 30px;
    border-radius: 3px;
    position: relative;
}

.blockchain-line::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(90deg, transparent, rgba(26, 104, 91, 0.3), transparent);
    border-radius: 5px;
    z-index: -1;
}

/* Blockchain Cards */
.blockchain-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s ease;
    border: 1px solid #e9ecef;
    height: 100%;
    position: relative;
    box-shadow: 0 8px 30px rgba(26, 104, 91, 0.08);
}

.blockchain-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #1A685B 0%, #e67e22 50%, #2d5a27 100%);
    transition: all 0.3s ease;
}

.blockchain-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 20px 50px rgba(26, 104, 91, 0.15);
    border-color: #1A685B;
}

.blockchain-card:hover::before {
    height: 6px;
    background: linear-gradient(90deg, #e67e22 0%, #1A685B 50%, #e67e22 100%);
}

/* Card Body Styling */
.blockchain-card .card-body {
    padding: 30px 25px;
    position: relative;
    z-index: 2;
}

.blockchain-card .card-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1A685B;
    margin-bottom: 20px;
    letter-spacing: -0.3px;
}

.blockchain-card .card-text {
    font-size: 1rem;
    color: #6c757d;
    line-height: 1.6;
    margin-bottom: 20px;
}

.blockchain-card .card-text.text-left {
    text-align: left !important;
}

/* Icon Styling */
.blockchain-card .mb-3 i {
    transition: all 0.3s ease;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.15));
}

.blockchain-card:hover .mb-3 i {
    transform: scale(1.1) rotate(5deg);
    filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.25));
}

.blockchain-card .text-primary {
    color: #1A685B !important;
}

.blockchain-card .text-success {
    color: #27ae60 !important;
}

.blockchain-card .text-danger {
    color: #e74c3c !important;
}

/* Card Images */
.blockchain-card .card-img-bottom {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: all 0.4s ease;
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
}

.blockchain-card:hover .card-img-bottom {
    transform: scale(1.05);
    filter: brightness(1.1) saturate(1.2);
}

/* Info Box Styling */
.blockchain-section .bg-light {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%) !important;
    border-radius: 15px !important;
    box-shadow: 0 8px 25px rgba(26, 104, 91, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.blockchain-section .bg-light:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(26, 104, 91, 0.15);
}

.blockchain-section .bg-light::before {
    position: absolute;
    top: 20px;
    right: 25px;
    font-size: 2rem;
    opacity: 0.1;
    transform: rotate(-15deg);
}

.blockchain-section .bg-light p {
    color: #2c3e50 !important;
    max-width: 1000px;
    font-size: 1.1rem !important;
    line-height: 1.8 !important;
    margin: 0 !important;
    position: relative;
    z-index: 2;
    text-align: justify;
}

.blockchain-section .bg-light strong {
    color: #1A685B;
    font-weight: 700;
}

.blockchain-section .bg-light em {
    color: #e67e22;
    font-style: italic;
    font-weight: 500;
}

/* Blockchain Animation Effects */
@keyframes blockchainPulse {
    0%, 100% {
        box-shadow: 0 8px 30px rgba(26, 104, 91, 0.08);
    }
    50% {
        box-shadow: 0 12px 40px rgba(26, 104, 91, 0.15);
    }
}

.blockchain-card {
    animation: blockchainPulse 4s ease-in-out infinite;
}

.blockchain-card:nth-child(2) {
    animation-delay: 1s;
}

.blockchain-card:nth-child(3) {
    animation-delay: 2s;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .blockchain-section {
        padding: 60px 0;
    }
    
    .blockchain-section h1 {
        font-size: 2.2rem;
    }
    
    .blockchain-section p {
        font-size: 1rem;
        padding: 0 15px;
    }
    
    .blockchain-card {
        margin-bottom: 30px;
    }
    
    .blockchain-card .card-img-bottom {
        height: 180px;
    }
    
    .blockchain-section .bg-light {
        margin: 0 15px;
        padding: 25px !important;
    }
    
    .blockchain-section .bg-light p {
        font-size: 1rem !important;
    }
}

@media (max-width: 576px) {
    .blockchain-section h1 {
        font-size: 1.8rem;
    }
    
    .blockchain-line {
        width: 80px;
        height: 4px;
    }
    
    .blockchain-card .card-body {
        padding: 20px;
    }
    
    .blockchain-card .card-title {
        font-size: 1.3rem;
    }
    
    .blockchain-card .card-img-bottom {
        height: 160px;
    }
}

/* ===================================================================
   CHATBOT  EXTENSION STYLES
=================================================================== */
.chatbot-container {
    position: fixed;
    bottom: 30px;
    left: 30px;
    z-index: 9999;
    font-family: 'Poppins', sans-serif;
}

/* Chatbot Background Overlay */
.chatbot-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(3px);
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.chatbot-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Prevent body scroll when chatbot is active */
.chatbot-active {
    overflow: hidden !important;
    position: fixed !important;
    width: 100% !important;
}

.chatbot-toggle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #1A685B 0%, #2d5a27 100%);
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(26, 104, 91, 0.3);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.chatbot-toggle:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(26, 104, 91, 0.4);
}

.chatbot-toggle::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.1) 50%, transparent 70%);
    transform: translateX(-100%);
    transition: transform 0.6s;
}

.chatbot-toggle:hover::before {
    transform: translateX(100%);
}

.chatbot-icon {
    color: white;
    font-size: 24px;
    transition: all 0.3s ease;
}

.chatbot-toggle.active .chatbot-icon {
    transform: rotate(180deg);
}

.chatbot-window {
    position: absolute;
    bottom: 80px;
    left: 0;
    width: 450px;
    height: 600px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    transform: translateY(20px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    border: 1px solid rgba(26, 104, 91, 0.1);
    display: flex;
    flex-direction: column;
}

.chatbot-window.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
}

.chatbot-header {
    background: linear-gradient(135deg, #1A685B 0%, #2d5a27 100%);
    color: white;
    padding: 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.chatbot-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="islamic-pattern" width="20" height="20" patternUnits="userSpaceOnUse"><path d="M10,2 L18,10 L10,18 L2,10 Z" fill="none" stroke="white" stroke-width="0.5" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23islamic-pattern)"/></svg>');
    pointer-events: none;
}

.chatbot-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: white;
    margin: 0 auto 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1A685B;
    font-size: 24px;
    position: relative;
    z-index: 1;
}

.chatbot-title {
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 5px 0;
    position: relative;
    z-index: 1;
}

.chatbot-subtitle {
    font-size: 14px;
    opacity: 0.9;
    margin: 0;
    position: relative;
    z-index: 1;
}

.chatbot-messages {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 20px;
    background: linear-gradient(to bottom, #f8fffe, #ffffff);
}

.chatbot-messages::-webkit-scrollbar {
    width: 8px;
}

.chatbot-messages::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
    margin: 5px 0;
}

.chatbot-messages::-webkit-scrollbar-thumb {
    background: #1A685B;
    border-radius: 4px;
    border: 1px solid #f1f1f1;
}

.chatbot-messages::-webkit-scrollbar-thumb:hover {
    background: #146b5e;
}

.message {
    margin-bottom: 15px;
    animation: fadeInUp 0.4s ease;
}

.message.bot {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.message.user {
    display: flex;
    justify-content: flex-end;
}

.bot-avatar {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: linear-gradient(135deg, #1A685B, #2d5a27);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
}

.message-content {
    max-width: 70%;
    padding: 12px 16px;
    border-radius: 18px;
    font-size: 14px;
    line-height: 1.4;
    position: relative;
}

.message.bot .message-content {
    background: linear-gradient(135deg, #e8f5f3, #f0f8f6);
    color: #2c3e50;
    border-bottom-left-radius: 6px;
    border: 1px solid rgba(26, 104, 91, 0.1);
}

.message.user .message-content {
    background: linear-gradient(135deg, #1A685B, #2d5a27);
    color: white;
    border-bottom-right-radius: 6px;
}

.message.error .message-content {
    background: linear-gradient(135deg, #ffeaea, #ffe0e0);
    color: #d63384;
    border-bottom-left-radius: 6px;
    border: 1px solid rgba(214, 51, 132, 0.2);
    position: relative;
}

.message.error .message-content::before {
    content: '⚠️';
    margin-right: 8px;
    font-size: 16px;
}

.quick-replies {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}

.quick-reply {
    background: white;
    border: 2px solid #1A685B;
    color: #1A685B;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.quick-reply:hover {
    background: #1A685B;
    color: white;
    transform: translateY(-2px);
}

.chatbot-input {
    padding: 15px 20px;
    border-top: 1px solid rgba(26, 104, 91, 0.1);
    background: white;
    border-radius: 0 0 20px 20px;
    flex-shrink: 0;
    position: sticky;
    bottom: 0;
    z-index: 10;
}

.input-group {
    display: flex;
    gap: 10px;
    align-items: center;
}

.message-input {
    flex: 1;
    border: 2px solid rgba(26, 104, 91, 0.2);
    border-radius: 25px;
    padding: 12px 18px;
    font-size: 14px;
    outline: none;
    transition: all 0.3s ease;
    background: #fafafa;
}

.message-input:focus {
    border-color: #1A685B;
    background: white;
    box-shadow: 0 0 0 3px rgba(26, 104, 91, 0.1);
}

.send-button {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #1A685B, #2d5a27);
    border: none;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.send-button:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(26, 104, 91, 0.3);
}

.typing-indicator {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    background: linear-gradient(135deg, #e8f5f3, #f0f8f6);
    border-radius: 18px;
    border-bottom-left-radius: 6px;
    border: 1px solid rgba(26, 104, 91, 0.1);
    max-width: 70%;
}

.typing-dots {
    display: flex;
    gap: 4px;
}

.typing-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #1A685B;
    animation: typingBounce 1.4s infinite;
}

.typing-dot:nth-child(2) {
    animation-delay: 0.2s;
}

.typing-dot:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes typingBounce {

    0%,
    60%,
    100% {
        transform: translateY(0);
        opacity: 0.4;
    }

    30% {
        transform: translateY(-10px);
        opacity: 1;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile responsive */
@media (max-width: 768px) {
    .chatbot-container {
        left: 20px;
        bottom: 20px;
    }

    .chatbot-window {
        width: calc(100vw - 40px);
        max-width: 350px;
        height: 600px;
    }
}

/* ===================================================================
   QR-POPUP EXTENSION STYLES
=================================================================== */
/* QR Popup Styles */
.qr-popup-overlay {
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 10000;
}

.qr-popup-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.qr-popup-box {
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s, transform 0.4s;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -48%) scale(0.95);
    background: #fff;
    padding: 48px 36px;
    border-radius: 18px;
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.22);
    z-index: 10001;
    text-align: center;
    min-width: 340px;
}

.qr-popup-box.active {
    opacity: 1;
    pointer-events: auto;
    transform: translate(-50%, -50%) scale(1);
}

.qr-popup-box img {
    max-width: 320px;
    margin-bottom: 18px;
}

.qr-popup-box .btn {
    font-size: 20px;
    padding: 10px 32px;
    margin-top: 10px;
}

/* ===================================================================
   ADS POPUP EXTENSION STYLES - IKLAN PROMOSI
=================================================================== */

.ads-content {
    position: relative;
    /* PENTING: Sembunyikan slide yang berlebihan */
    overflow: hidden; 
    width: 100%;
    height: auto;
}

.ads-slider {
    /* PENTING: Susun slide dalam satu baris */
    display: flex;
    flex-wrap: nowrap;
    /* PENTING: Sesuaikan lebar. Jika 2 slide, gunakan 200%. Jika N slide, gunakan N * 100%. */
    width: 200%; 
    /* PENTING: Transisi untuk animasi pergeseran */
    transition: transform 0.5s ease-in-out;
}

.ads-slide {
    /* PENTING: Setiap slide mengambil 100% dari lebar parent (.ads-content) */
    width: 50%; /* 100% / Jumlah slide (dalam kes ini 2) */
    flex-shrink: 0; 
}

/* Ads Popup Overlay */
.ads-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 10000;
    display: none;
    transition: all 0.3s ease;
}

.ads-popup-overlay.active {
    display: block;
}

/* Ads Popup Box */
.ads-popup-box {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    border-radius: 20px;
    z-index: 10001;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    max-width: 90%;
    max-height: 90%;
    display: none;
    overflow: hidden;
    transition: all 0.3s ease;
}

.ads-popup-box.active {
    display: block;
    animation: adsPopupFadeIn 0.3s ease forwards;
}

/* Ads Content Links */
.ads-content a {
    display: block;
    text-decoration: none;
}

/* .ads-content img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 20px;
} */

.ads-content img {
    width: 100%;
    height: 90vh;
    display: block;
    border-radius: 20px;
}

/* Ads Close Button */
.ads-close-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 20px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10002;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(231, 76, 60, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
}

.ads-close-btn:hover {
    background: linear-gradient(135deg, #c0392b 0%, #a93226 100%);
    transform: scale(1.1) rotate(90deg);
    box-shadow: 0 6px 20px rgba(231, 76, 60, 0.5);
}

.ads-close-btn:active {
    transform: scale(0.95);
}

/* Animation for ads popup */
@keyframes adsPopupFadeIn {
    from {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.8);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
}

/* Mobile responsive for ads popup */
@media (max-width: 768px) {
    .ads-popup-box {
        max-width: 95%;
        margin: 10px;
    }
    
    .ads-close-btn {
        top: 10px;
        right: 10px;
        width: 35px;
        height: 35px;
        font-size: 18px;
    }

    .ads-content img {
        width: 100%;
        height: 45vh;
        display: block;
        border-radius: 15px;
    }
}

@media (max-width: 480px) {
    .ads-popup-box {
        max-width: 98%;
        margin: 5px;
    }
    
    .ads-close-btn {
        width: 30px;
        height: 30px;
        font-size: 16px;
    }
}

/* ===================================================================
   MUSIC BUTTON EXTENSION STYLES
=================================================================== */
#musicBtn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #1A685B 0%, #2d5a27 100%);
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(26, 104, 91, 0.3);
    transition: all 0.3s ease;
    position: fixed;
    bottom: 100px;
    left: 30px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

#musicBtn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(26, 104, 91, 0.4);
}

#musicBtn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.1) 50%, transparent 70%);
    transform: translateX(-100%);
    transition: transform 0.6s;
}

#musicBtn:hover::before {
    transform: translateX(100%);
}

.music-icon {
    color: white;
    font-size: 24px;
    transition: all 0.3s ease;
}

/* --- Responsive Styles --- */

/* For Tablets (up to 991px wide) */
@media (max-width: 991.98px) {
    #musicBtn {
        width: 60px;
        /* Slightly smaller */
        height: 60px;
        bottom: 100px;
        /* Adjust vertical position */
        left: 30px;
        /* Adjust horizontal position */
        box-shadow: 0 3px 15px rgba(26, 104, 91, 0.3);
    }

    .music-icon {
        font-size: 22px;
        /* Slightly smaller icon */
    }
}

/* For Mobile Phones (up to 767px wide) */
@media (max-width: 769.98px) {
    #musicBtn {
        width: 60px;
        height: 60px;
        bottom: 90px;
        left: 19px;
        box-shadow: 0 2px 10px rgba(26, 104, 91, 0.3);
    }

    .music-icon {
        font-size: 20px;
        /* Smallest icon size */
    }
}

/* For very small devices (e.g., iPhone 5/SE) */
@media (max-width: 480px) {
    #musicBtn {
        width: 60px;
        height: 60px;
        bottom: 87px;
        left: 19px;
    }
}
/* ===================================================================
   FLOATING EXTENSION STYLES
=================================================================== */

.float-qr-btn {
    position: fixed;
    bottom: 40px;
    right: 30px;
    z-index: 9999;
    background: #1A685B;
    color: #fff;
    border: none;
    border-radius: 50px;
    padding: 14px 28px;
    font-size: 18px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: transform 0.2s;
}

.float-qr-btn i {
    font-size: 22px;
}

.float-qr-btn:hover {
    transform: scale(1.08);
    box-shadow: 0 12px 40px rgba(26, 104, 91, 0.25);
}

/* Floating TikTok Live Button */
.float-tiktok-btn {
    position: fixed;
    bottom: 120px;
    right: 30px;
    z-index: 9999;
    background: linear-gradient(45deg, #ff0050, #ff4081);
    color: #fff;
    border: none;
    border-radius: 50px;
    padding: 14px 28px;
    font-size: 16px;
    font-weight: bold;
    box-shadow: 0 4px 16px rgba(255, 0, 80, 0.3);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    animation: tiktokPulse 2s infinite;
}

.float-tiktok-btn i {
    font-size: 20px;
}

.float-tiktok-btn:hover {
    transform: scale(1.08);
    box-shadow: 0 12px 40px rgba(255, 0, 80, 0.4);
}

.live-indicator {
    width: 8px;
    height: 8px;
    background: #00ff00;
    border-radius: 50%;
    animation: liveBlink 1s infinite;
    margin-left: 5px;
}

@keyframes tiktokPulse {
    0% {
        box-shadow: 0 4px 16px rgba(255, 0, 80, 0.3);
    }

    50% {
        box-shadow: 0 8px 24px rgba(255, 0, 80, 0.5);
    }

    100% {
        box-shadow: 0 4px 16px rgba(255, 0, 80, 0.3);
    }
}

@keyframes liveBlink {

    0%,
    50% {
        opacity: 1;
    }

    51%,
    100% {
        opacity: 0.3;
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .float-tiktok-btn {
        right: 20px;
        bottom: 100px;
        padding: 12px 24px;
        font-size: 14px;
    }

    .float-qr-btn {
        right: 20px;
    }
}

@media (max-width: 400px) {
    .float-tiktok-btn span {
        display: none; /* sembunyikan text bila skrin kecil */
    }
    .float-qr-btn span {
        display: none; /* sembunyikan text bila skrin kecil */
    }
    .float-oneoff-btn span {
        display: none; /* sembunyikan text bila skrin kecil */
    }
}


/* Floating One Off Payment Button */
.float-oneoff-btn {
    position: fixed;
    bottom: 200px;
    right: 30px;
    z-index: 9999;
    background: linear-gradient(45deg, #28a745, #20c997);
    color: #fff;
    border: none;
    border-radius: 50px;
    padding: 14px 28px;
    font-size: 16px;
    font-weight: bold;
    box-shadow: 0 4px 16px rgba(40, 167, 69, 0.3);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    animation: oneoffPulse 3s infinite;
}

.float-oneoff-btn i {
    font-size: 20px;
}

.float-oneoff-btn:hover {
    transform: scale(1.08);
    box-shadow: 0 12px 40px rgba(40, 167, 69, 0.4);
}

.payment-indicator {
    width: 8px;
    height: 8px;
    background: #ffc107;
    border-radius: 50%;
    animation: paymentBlink 1.5s infinite;
    margin-left: 5px;
}

@keyframes oneoffPulse {
    0% {
        box-shadow: 0 4px 16px rgba(40, 167, 69, 0.3);
    }

    50% {
        box-shadow: 0 8px 24px rgba(40, 167, 69, 0.5);
    }

    100% {
        box-shadow: 0 4px 16px rgba(40, 167, 69, 0.3);
    }
}

@keyframes paymentBlink {

    0%,
    50% {
        opacity: 1;
    }

    51%,
    100% {
        opacity: 0.4;
    }
}

/* Update responsive for all three buttons */
@media (max-width: 768px) {
    .float-oneoff-btn {
        right: 20px;
        bottom: 170px;
        padding: 12px 24px;
        font-size: 14px;
    }

    .float-tiktok-btn {
        right: 20px;
        bottom: 120px;
        padding: 12px 24px;
        font-size: 14px;
    }

    .float-qr-btn {
        right: 20px;
        bottom: 60px;
    }

    .ads-popup-box {
        width: 90vw;
        /* hampir penuh skrin */
        height: auto;
        /* tinggi ikut content */
        min-height: 300px;
        /* still ada bentuk kotak */
    }

    /* Ads Popup Styles */
    .ads-popup-overlay {
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.4s;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.6);
        z-index: 10000;
    }

    .ads-popup-overlay.active {
        opacity: 1;
        pointer-events: auto;
        backdrop-filter: blur(6px);
    }

    .ads-popup-box {
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.4s, transform 0.4s;
        position: fixed;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -48%) scale(0.95);
        z-index: 11111;
        max-width: 90vw;
        max-height: 90vh;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .ads-popup-box.active {
        opacity: 1;
        pointer-events: auto;
        transform: translate(-50%, -50%) scale(1);
    }

    .ads-content img {
        max-width: 100%;
        max-height: 90vh;
        border-radius: 12px;
        display: block;
        cursor: pointer;
    }
}
/* ===================================================================
   HUBUNGI KAMI PAGE SPECIFIC STYLES
=================================================================== */

/* Ensure exact styling match with index.php */
body.no-skin-config {
    background: #F8F8FF;
}

/* Contact Section Styling */
.contact.landing-page-section {
    background-image: url('internal-system/dist/img/landing/word_map.png');
    background-position: 50% 35%;
    background-repeat: no-repeat;
}

/* Gray Section Styling */
.gray-section {
    /* background: linear-gradient(22deg, rgb(26, 179, 148) 0%, rgba(142, 237, 218, 0.54) 83%); */
    background: #f4f4f4;
    margin-top: 60px;
}

/* Social Icons */
.social-icon a {
    background: #1ab394;
    color: #fff;
    padding: 4px 8px;
    height: 28px;
    width: 28px;
    display: block;
    border-radius: 50px;
    text-decoration: none;
}

.social-icon a:hover {
    background: #179d82;
}

/* Navy line styling */
.navy-line {
    width: 60px;
    height: 4px;
    background: #1ab394;
    margin: 0 auto 30px;
}

/* Navy text color */
.navy {
    color: #1ab394;
}

/* Button styling */
.btn-primary {
    background-color: #1ab394;
    border-color: #1ab394;
}

.btn-primary:hover {
    background-color: #179d82;
    border-color: #179d82;
}

/* Ensure margin spacing matches index.php */
.m-b-lg {
    margin-bottom: 60px;
}

.m-t-sm {
    margin-top: 15px;
}

.m-t-lg {
    margin-top: 60px;
}

/* Text color */
.text-color {
    color: #676a6c;
}

/* Address styling */
address {
    font-style: normal;
    line-height: 1.5;
}

address strong {
    color: #1ab394;
}

/* Landing page section spacing */
.landing-page-section {
    padding: 60px 0;
}

/* List inline for social icons */
.list-inline {
    padding-left: 0;
    list-style: none;
    margin-left: 0;
}

.list-inline-item {
    display: inline-block;
    margin-right: 10px;
}

.list-inline-item:last-child {
    margin-right: 0;
}

/* ===================================================================
   ORGANIZATIONAL CHART STYLES
=================================================================== */

/* Enhanced body background with green theme gradient for org chart */
.carta-organisasi-page body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(180deg, 
        rgba(26, 179, 148, 0.1) 0%, 
        rgba(255, 255, 255, 1) 20%, 
        rgba(26, 179, 148, 0.02) 80%, 
        rgba(26, 179, 148, 0.08) 100%);
    background-attachment: fixed;
    min-height: 100vh;
    margin: 0;
    padding: 0;
}

/* Additional gradient overlay for depth */
.carta-organisasi-page body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at top, rgba(26, 179, 148, 0.05) 0%, transparent 70%);
    pointer-events: none;
    z-index: -1;
}

/* Organizational Chart Container */
#orgchart {
    width: 100%;
    height: 1000px;
    margin: auto;
    border-radius: 20px;
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.95) 0%, 
        rgba(26, 179, 148, 0.02) 50%, 
        rgba(255, 255, 255, 0.98) 100%);
    backdrop-filter: blur(10px);
    box-shadow: 0 20px 40px rgba(26, 179, 148, 0.1), 
                0 0 0 1px rgba(26, 179, 148, 0.1),
                inset 0 1px 0 rgba(255, 255, 255, 0.8);
    overflow: visible;
    border: 1px solid rgba(26, 179, 148, 0.15);
    position: relative;
}

/* Add subtle inner glow */
#orgchart::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 20px;
    background: radial-gradient(circle at center, rgba(26, 179, 148, 0.03) 0%, transparent 70%);
    pointer-events: none;
}

/* Chart section styling with enhanced gradient */
.carta-organisasi-page section {
    padding: 60px 20px;
    background: linear-gradient(135deg, 
        rgba(26, 179, 148, 0.08) 0%, 
        rgba(26, 179, 148, 0.05) 25%, 
        rgba(255, 255, 255, 0.95) 50%, 
        rgba(26, 179, 148, 0.03) 75%, 
        rgba(26, 179, 148, 0.1) 100%);
    position: relative;
}

/* Add subtle pattern overlay */
.carta-organisasi-page section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 20%, rgba(26, 179, 148, 0.05) 0%, transparent 50%),
                radial-gradient(circle at 80% 80%, rgba(26, 179, 148, 0.05) 0%, transparent 50%),
                radial-gradient(circle at 40% 60%, rgba(26, 179, 148, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

/* Organizational Chart Title Styling */
.carta-organisasi-page section h1 {
    font-family: 'Poppins', sans-serif;
    /* background: linear-gradient(135deg, rgb(26, 179, 148) 0%, rgb(20, 150, 120) 100%); */
    background: rgb(26, 104, 91);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-align: center;
    margin-bottom: 50px;
    font-size: 2.8rem;
    font-weight: 800;
    text-shadow: 0 4px 8px rgba(26, 179, 148, 0.15);
    position: relative;
    z-index: 2;
}

/* Add glowing effect to title */
.carta-organisasi-page section h1::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    color: rgba(26, 179, 148, 0.1);
    filter: blur(10px);
    z-index: -1;
}

/* Ensure full visibility of org chart */
.boc-chart-container {
    overflow: visible !important;
    width: 100% !important;
    height: 100% !important;
}

.boc-chart {
    transform-origin: center center !important;
}

/* Ensure chart SVG fits properly */
#orgchart svg {
    width: 100% !important;
    height: auto !important;
    max-width: none !important;
}

/* Responsive adjustments for organizational chart */
/* Mobile Tablet View (768px and below) */
@media (max-width: 768px) {
    #orgchart {
        height: 600px !important;
        width: 100% !important;
        border-radius: 15px;
        overflow: auto !important;
        padding: 10px;
        box-sizing: border-box;
    }
    
    .carta-organisasi-page section h1 {
        font-size: 2rem;
        margin-bottom: 25px;
        text-align: center;
        padding: 0 15px;
    }
    
    .carta-organisasi-page section {
        padding: 30px 10px 50px;
        margin-top: 0;
    }
    
    .carta-organisasi-page body {
        padding-top: 70px;
        background: linear-gradient(180deg, 
            rgba(26, 179, 148, 0.08) 0%, 
            rgba(255, 255, 255, 1) 25%, 
            rgba(26, 179, 148, 0.03) 75%, 
            rgba(26, 179, 148, 0.06) 100%);
    }
    
    /* Ensure chart nodes are properly sized on mobile */
    #orgchart svg {
        max-width: 100%;
        height: auto;
    }
    
    /* Make navbar more mobile friendly */
    .navbar-brand img {
        height: 35px;
    }
}

/* Mobile Phone View (480px and below) */
@media (max-width: 480px) {
    .carta-organisasi-page section h1 {
        font-size: 1.75rem;
        margin-bottom: 20px;
        line-height: 1.2;
        margin-top: 40px;
    }
    
    .carta-organisasi-page section {
        padding: 67px 8px 40px;
    }
    
    #orgchart {
        height: 500px !important;
        margin: 0 5px;
        overflow: auto !important;
        padding: 8px;
        border-radius: 12px;
    }
    
    /* Extra small navbar adjustments */
    .navbar-brand img {
        height: 30px;
    }
    
    /* Compact spacing for very small screens */
    .carta-organisasi-page body {
        padding-top: 65px;
    }
}

/* Portrait orientation specific adjustments */
@media (max-width: 480px) and (orientation: portrait) {
    #orgchart {
        height: 450px !important;
        overflow: scroll !important;
    }
    
    .carta-organisasi-page section h1 {
        font-size: 1.6rem;
    }
}

/* ===================================================================
   ORGANIZATIONAL CHART MOBILE ENHANCEMENTS
=================================================================== */

/* Mobile-first approach for org chart */
@media (max-width: 768px) {
    /* Ensure chart container is mobile-optimized */
    #orgchart {
        touch-action: pan-x pan-y !important;
        -webkit-overflow-scrolling: touch !important;
    }
    
    /* Mobile navigation improvements */
    .navbar-toggler {
        border: none !important;
        padding: 4px 8px !important;
    }
    
    .navbar-toggler:focus {
        box-shadow: none !important;
    }
}

@media (max-width: 480px) {
    /* Very small screen optimizations */
    .container {
        padding-left: 10px !important;
        padding-right: 10px !important;
    }
    
    /* Adjust dropdown menus for mobile */
    .submenu {
        position: static !important;
        box-shadow: none !important;
        border-radius: 0 !important;
        background: rgba(26, 179, 148, 0.95) !important;
    }
}

/* Hide OrgChart control elements except zoom and fit */
div[data-ctrl-menu],
[data-ctrl-menu=""],
div[style*="position:absolute"][style*="right:30px"][style*="top:30px"],
.boc-menu,
.boc-menu-item,
[data-menu="true"],
.boc-edit-form,
.boc-search,
.boc-expand-all,
.boc-layout,
.boc-ctrl:not([data-boc-zoom]):not([data-boc-fit]) {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
}

/* Allow zoom and fit controls but style them nicely */
[data-boc="zoom"],
[data-boc="fit"],
.boc-zoom,
.boc-fit {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* Style the allowed toolbar buttons */
.boc-toolbar {
    background: rgba(26, 179, 148, 0.1) !important;
    border-radius: 10px !important;
    padding: 5px !important;
}

.boc-toolbar [data-boc="zoom"],
.boc-toolbar [data-boc="fit"] {
    background: rgb(26, 179, 148) !important;
    color: white !important;
    border-radius: 5px !important;
    margin: 2px !important;
    padding: 8px 12px !important;
    border: none !important;
    cursor: pointer !important;
    font-size: 14px !important;
}

.boc-toolbar [data-boc="zoom"]:hover,
.boc-toolbar [data-boc="fit"]:hover {
    background: rgb(20, 150, 120) !important;
    transform: translateY(-2px) !important;
    transition: all 0.3s ease !important;
}

/* Hide any floating controls or buttons */
#orgchart div[style*="position:absolute"][style*="cursor:pointer"],
#orgchart div[style*="position:fixed"][style*="cursor:pointer"] {
    display: none !important;
}

/* ===================================================================
   PROGRAM PAGE STYLES
=================================================================== */

/* Program List Section */
.program-section {
    padding: 120px 0 80px 0;
    background: #f8f9fa;
    min-height: calc(100vh - 120px);
}

.program-container {
    max-width: 1200px;
    margin: 0 auto;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #e9ecef;
    overflow: hidden;
}

.program-header {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: white;
    padding: 40px 30px;
    text-align: center;
    border-bottom: 3px solid #1ab394;
}

.program-header h1 {
    font-size: 2.2rem;
    margin-bottom: 12px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.program-header p {
    font-size: 1rem;
    opacity: 0.85;
    font-weight: 400;
    letter-spacing: 0.3px;
}

.main-content {
    position: relative;
    min-height: 600px;
    overflow: hidden;
}

.program-list-view {
    padding: 50px 40px;
    text-align: center;
    background: #ffffff;
}

.program-list-view h3 {
    color: #2c3e50;
    margin-bottom: 50px;
    font-size: 1.6rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
}

.program-list-view h3:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: #1ab394;
}

.program-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    max-width: 900px;
    margin: 0 auto;
}

.program-button {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    padding: 25px 30px;
    background: #ffffff;
    color: #2c3e50;
    border: 2px solid #e9ecef;
    border-radius: 6px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    text-align: left;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: relative;
}

.program-button:hover {
    background: #1ab394;
    color: white;
    border-color: #1ab394;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(26, 179, 148, 0.2);
}

.program-button .emoji {
    font-size: 1.8rem;
    margin-right: 15px;
    flex-shrink: 0;
}

.program-button::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 4px;
    background: #1ab394;
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.program-button:hover::before {
    transform: scaleY(1);
}

.program-detail-view {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #ffffff;
    padding: 50px 40px;
    opacity: 0;
    transform: translateX(100%);
    transition: all 0.5s ease;
    pointer-events: none;
    overflow: hidden;
    border-top: 4px solid #1ab394;
}

.program-detail-view.active {
    opacity: 1;
    transform: translateX(0);
    pointer-events: all;
}

.back-button {
    position: absolute;
    top: 15px;
    left: 15px;
    background: #2c3e50;
    color: white;
    border: 2px solid #2c3e50;
    border-radius: 4px;
    padding: 12px 20px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s ease;
    z-index: 10;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.back-button:hover {
    background: transparent;
    color: #2c3e50;
    transform: translateY(-1px);
}

/* Mobile responsive for back button - show only arrow */
@media (max-width: 768px) {
    .back-button {
        padding: 5px 10px;
        min-width: auto;
        top: 6px;
        left: 10px;
        font-size: 0.6rem;
    }
    
    .back-button .back-text {
        display: none;
    }
    
    .back-button .back-arrow {
        font-size: 1.1rem;
        font-weight: bold;
    }
}

.program-detail-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.program-info {
    text-align: center;
    margin-bottom: 40px;
}

.program-title {
    font-size: 2.2rem;
    color: #2c3e50;
    margin-bottom: 20px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-bottom: 3px solid #1ab394;
    padding-bottom: 15px;
}

.program-date {
    font-size: 1.1rem;
    color: #2c3e50;
    font-weight: 600;
    background: #f8f9fa;
    display: inline-block;
    padding: 12px 25px;
    border-radius: 4px;
    border: 1px solid #dee2e6;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.program-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 40px;
    padding: 30px;
    border-radius: 6px;
    background: #f8f9fa;
    margin-bottom: 40px;
    max-height: 400px;
    overflow-y: auto;
    border: 1px solid #e9ecef;
}

.program-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 4px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.program-image:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    border-color: #1ab394;
}

/* Custom scrollbar for gallery only */
.program-gallery::-webkit-scrollbar {
    width: 6px;
}

.program-gallery::-webkit-scrollbar-track {
    background: #f1f3f4;
    border-radius: 0;
}

.program-gallery::-webkit-scrollbar-thumb {
    background: #2c3e50;
    border-radius: 0;
}

.program-gallery::-webkit-scrollbar-thumb:hover {
    background: #1a252f;
}

/* Lightbox Modal */
.lightbox-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.lightbox-modal.active {
    display: flex;
}

.lightbox-image {
    max-width: 90%;
    max-height: 90%;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    background: rgba(0, 0, 0, 0.5);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}

.lightbox-close:hover {
    background: rgba(0, 0, 0, 0.8);
}

/* Program Responsive Design */
@media (max-width: 768px) {
    .program-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .program-header h1 {
        font-size: 2rem;
    }

    .program-title {
        font-size: 2rem;
    }

    .program-gallery {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
        gap: 12px;
        margin-bottom: 30px;
        max-height: 350px;
    }

    .program-image {
        height: 180px;
    }

    .program-detail-view {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .program-section {
        padding: 100px 10px 60px 10px;
    }

    .program-header {
        padding: 20px;
    }

    .program-list-view,
    .program-detail-view {
        padding: 20px;
    }

    .program-header h1 {
        font-size: 1.8rem;
    }

    .program-title {
        font-size: 1.8rem;
    }

    .program-gallery {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
        margin-bottom: 20px;
        max-height: 300px;
    }

    .program-image {
        height: 150px;
    }
}

/* Program Animations */
.program-list-view {
    opacity: 1;
    transition: opacity 0.3s ease;
}

.program-list-view.hiding {
    opacity: 0;
}

@keyframes slideInFromRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* ===================================================================
   END OF STAII EXTENSION STYLES
=================================================================== */