/* Base Styles & Variables */
:root {
    --primary-color: #0056b3;
    --secondary-color: #00a8cc;
    --text-dark: #333333;
    --text-light: #666666;
    --bg-light: #f4f7f6;
    --white: #ffffff;
    --sidebar-width: 250px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    display: flex;
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--white);
}

/* Sidebar Navigation */
.sidebar {
    width: var(--sidebar-width);
    height: 100vh;
    background-color: var(--primary-color);
    color: var(--white);
    position: fixed;
    display: flex;
    flex-direction: column;
}

.sidebar .brand {
    padding: 2rem 1.5rem;
    background-color: rgba(0,0,0,0.1);
    text-align: center;
}

.nav-menu ul {
    list-style: none;
    margin-top: 2rem;
}

.nav-menu ul li a {
    display: block;
    padding: 1rem 1.5rem;
    color: var(--white);
    text-decoration: none;
    transition: background 0.3s;
}

.nav-menu ul li a:hover {
    background-color: var(--secondary-color);
}

/* Main Content */
.main-content {
    margin-left: var(--sidebar-width);
    width: calc(100% - var(--sidebar-width));
}

/* Sections & Typography */
.hero {
    padding: 4rem 2rem;
    background-color: var(--bg-light);
    border-bottom: 3px solid var(--secondary-color);
}

.hero h1 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.hero .tagline {
    font-size: 1.2rem;
    color: var(--text-light);
}

.section {
    padding: 4rem 2rem;
}

.section h2 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 2rem;
    border-bottom: 2px solid var(--secondary-color);
    display: inline-block;
    padding-bottom: 0.5rem;
}

.bg-light {
    background-color: var(--bg-light);
}

.bg-primary {
    background-color: var(--primary-color);
    color: var(--white);
}

.bg-primary h2, .bg-primary h3 {
    color: var(--white);
    border-bottom-color: var(--secondary-color);
}

/* Grid Layouts */
.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.mt-2 {
    margin-top: 2rem;
}

/* Cards */
.card {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    border-left: 4px solid var(--secondary-color);
}

.card h3, .card h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

ul {
    margin-left: 1.5rem;
}

.feature-list {
    list-style-type: square;
}

/* Footer */
.footer {
    background-color: #222;
    color: #ccc;
    padding: 3rem 2rem;
}

.footer h2 {
    color: var(--white);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.footer a {
    color: var(--secondary-color);
    text-decoration: none;
}

.footer a:hover {
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
    body {
        flex-direction: column;
    }

    .sidebar {
        width: 100%;
        height: auto;
        position: relative;
    }

    .nav-menu ul {
        display: flex;
        flex-wrap: wrap;
        margin-top: 0;
    }

    .nav-menu ul li {
        flex: 1;
        text-align: center;
    }

    .main-content {
        margin-left: 0;
        width: 100%;
    }

    .grid-2 {
        grid-template-columns: 1fr;
    }
}


.flex {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.kotak-saja30 {

    border-width: 1px;
    border-color: rgba(0, 0, 0, 0.2);
    background-color: #fffdfd;
    color: #000000;
    border-style: solid;
    transition: 0.3s;
    border-radius: 6px;
    margin-top: 6px;
    margin-left: 5px;
    margin-right: 5px;
    margin-bottom: 6px;
    padding: 10px;
}

.fade_in_out {
    animation: flickerAnimation 1s ease reverse forwards infinite;

}

@keyframes flickerAnimation {
    0% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@-o-keyframes flickerAnimation {
    0% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@-moz-keyframes flickerAnimation {
    0% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@-webkit-keyframes flickerAnimation {
    0% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}


