:root {
    --primary-color: #F98341;
    --primary-dark: #e6752e;
    --primary-light: #ffa366;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.navbar {
    background-color: white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
    font-weight: bold;
    color: var(--primary-color) !important;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
}

.navbar-brand img {
    height: 50px;
    width: auto;
    transition: transform 0.3s;
}

.navbar-brand img:hover {
    transform: scale(1.05);
}

.nav-link {
    color: #333 !important;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-link:hover {
    color: var(--primary-color) !important;
}

.hero-section {
    background: linear-gradient(135deg, rgba(249, 131, 65, 0.9) 0%, rgba(230, 117, 46, 0.9) 100%),
        url('https://images.unsplash.com/photo-1488521787991-ed7bbaae773c?q=80&w=2070&auto=format&fit=crop') center center;
    background-size: cover;
    background-attachment: fixed;
    color: white;
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.hero-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 1440 320"><path fill="rgba(255,255,255,0.1)" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,122.7C672,117,768,139,864,138.7C960,139,1056,117,1152,101.3C1248,85,1344,75,1392,69.3L1440,64L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>');
    background-size: cover;
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    padding: 12px 30px;
    font-weight: 600;
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
}

.section-title {
    color: var(--primary-color);
    font-weight: bold;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: var(--primary-color);
}

.card {
    border: none;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    height: 100%;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

.card-header {
    background-color: var(--primary-color);
    color: white;
    font-weight: bold;
    border: none;
}

.value-card {
    background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%);
    border-left: 4px solid var(--primary-color);
    padding: 20px;
    margin-bottom: 20px;
    transition: all 0.3s;
}

.value-card:hover {
    border-left-width: 8px;
    transform: translateX(5px);
}

.value-number {
    background-color: var(--primary-color);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin-bottom: 10px;
}

.stats-box {
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary-color) 100%);
    color: white;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    margin-bottom: 20px;
}

.stats-number {
    font-size: 2.5rem;
    font-weight: bold;
}

.dimension-card {
    background-color: white;
    border-left: 5px solid var(--primary-color);
    padding: 20px;
    margin-bottom: 15px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.dimension-icon {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-right: 10px;
}

footer {
    background-color: #2c3e50;
    color: white;
    padding: 40px 0 20px;
}

footer a {
    color: var(--primary-light);
    text-decoration: none;
}

footer a:hover {
    color: white;
}

.timeline-item {
    padding: 20px;
    background-color: #f8f9fa;
    border-radius: 8px;
    margin-bottom: 20px;
    position: relative;
    padding-left: 60px;
}

.timeline-year {
    position: absolute;
    left: 20px;
    top: 20px;
    background-color: var(--primary-color);
    color: white;
    padding: 5px 15px;
    border-radius: 5px;
    font-weight: bold;
    font-size: 0.9rem;


    /* ========== NAVBAR STYLING ========== */
    
        /* Background navbar putih dengan shadow */
        .sb-topnav {
            background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%) !important;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) !important;
            transition: all 0.3s ease;
            padding: 0.5rem 0;
        }
    
        /* Animasi saat scroll - shadow lebih dalam */
        .sb-topnav:hover {
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
        }
    
        /* Logo styling - tidak tertimpa sidebar */
        .navbar-brand {
            padding-left: 1rem !important;
            margin-left: 0 !important;
            display: flex;
            align-items: center;
            transition: all 0.3s ease;
        }
    
        .navbar-brand img {
            max-height: 50px;
            width: auto;
            transition: transform 0.3s ease;
        }
    
        /* Animasi logo saat hover */
        .navbar-brand:hover img {
            transform: scale(1.05);
        }
    
        /* Tombol hamburger - warna orange */
        .sb-topnav .btn-link {
            color: #F98341 !important;
            transition: all 0.3s ease;
        }
    
        .sb-topnav .btn-link:hover {
            color: #e6752e !important;
            background-color: rgba(249, 131, 65, 0.1);
            border-radius: 8px;
            transform: rotate(90deg);
        }
    
        /* Icon user - warna orange */
        .sb-topnav .nav-link {
            color: #F98341 !important;
            transition: all 0.3s ease;
        }
    
        .sb-topnav .nav-link:hover {
            color: #e6752e !important;
            background-color: rgba(249, 131, 65, 0.1);
            border-radius: 8px;
            transform: scale(1.1);
        }
    
        /* Dropdown menu styling */
        .dropdown-menu {
            border: none;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
            border-radius: 8px;
            animation: dropdownSlide 0.3s ease;
        }
    
        @keyframes dropdownSlide {
            from {
                opacity: 0;
                transform: translateY(-10px);
            }
    
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }
    
           /* Dropdown item hover */
           .dropdown-item {
               transition: all 0.3s ease;
               padding: 0.6rem 1.2rem;
               color: #333333 !important;
               /* 👈 TAMBAHKAN - biar text keliatan */
        }
    
        .dropdown-item:hover {
            background-color: #F98341;
            color: white !important;
            transform: translateX(5px);
        }

           .dropdown-item[type="submit"] {
               width: 100%;
               text-align: left;
               border: none;
               background: none;
               cursor: pointer;
               color: #333333 !important;
               /* 👈 TAMBAHKAN - biar logout keliatan */
        }
    
        /* Animasi navbar saat page load */
        .sb-topnav {
            animation: navbarSlideDown 0.5s ease;
        }
    
        @keyframes navbarSlideDown {
            from {
                opacity: 0;
                transform: translateY(-20px);
            }
    
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }
    
        /* Responsive - Logo tidak tertimpa di mobile */
        @media (max-width: 768px) {
            .navbar-brand {
                padding-left: 0.5rem !important;
            }
    
            .navbar-brand img {
                max-height: 40px;
            }
        }
    
        /* Fix z-index agar navbar di atas sidebar */
        .sb-topnav {
            z-index: 1030 !important;
        }
    
        /* Perbaikan spacing untuk logo agar tidak tertimpa */
        #layoutSidenav {
            margin-top: 0 !important;
        }
    
        .sb-nav-fixed .sb-topnav {
            position: fixed;
            top: 0;
            right: 0;
            left: 0;
            z-index: 1030;
        }
    
        /* User icon dengan efek pulse */
        .sb-topnav .fa-user {
            animation: pulse 2s infinite;
        }
    
        @keyframes pulse {
    
            0%,
            100% {
                opacity: 1;
            }
    
            50% {
                opacity: 0.7;
            }
        }
}