* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: #f5f7fb;
    color: #172033;
}


/* ======================================
   SIDEBAR
====================================== */

.sidebar {

    position: fixed;

    left: 0;
    top: 0;

    width: 260px;
    height: 100vh;

    padding: 25px 18px;

    background:
        linear-gradient(
            180deg,
            #0f172a,
            #172554,
            #1d4ed8
        );

    color: white;

    box-shadow:
        5px 0 30px
        rgba(0,0,0,.12);

    z-index: 1000;
}


/* LOGO */

.logo {
    text-align: center;

    padding-bottom: 25px;

    border-bottom:
        1px solid
        rgba(255,255,255,.15);
}

.logo-icon {

    width: 68px;
    height: 68px;

    margin: auto;

    display: flex;

    align-items: center;
    justify-content: center;

    font-size: 34px;

    border-radius: 20px;

    background:
        rgba(255,255,255,.13);
}

.logo h2 {

    margin-top: 14px;

    font-size: 19px;
}

.logo p {

    margin-top: 5px;

    font-size: 12px;

    color: #bfdbfe;
}


/* MENU */

.menu {
    margin-top: 25px;
}

.menu-title {

    margin: 0 12px 12px;

    color: #93c5fd;

    font-size: 10px;

    letter-spacing: 1.5px;
}

.menu a {

    display: flex;

    align-items: center;

    gap: 13px;

    padding: 13px 15px;

    margin-bottom: 5px;

    color: #dbeafe;

    text-decoration: none;

    border-radius: 12px;

    transition: .3s;
}

.menu a span {

    width: 28px;

    text-align: center;

    font-size: 19px;
}

.menu a:hover,
.menu a.active {

    color: white;

    background:
        rgba(255,255,255,.13);

    transform:
        translateX(4px);
}


/* LOGOUT */

.logout {

    position: absolute;

    bottom: 25px;

    left: 18px;
    right: 18px;
}

.logout a {

    display: flex;

    align-items: center;

    gap: 13px;

    padding: 13px 15px;

    color: #fecaca;

    text-decoration: none;

    border-radius: 12px;

    background:
        rgba(239,68,68,.10);

    transition: .3s;
}

.logout a:hover {

    color: white;

    background: #dc2626;
}


/* ======================================
   MAIN
====================================== */

.main {

    margin-left: 260px;

    min-height: 100vh;
}


/* ======================================
   TOPBAR
====================================== */

.topbar {

    height: 75px;

    padding: 0 35px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    background: white;

    border-bottom:
        1px solid #e2e8f0;

    position: sticky;

    top: 0;

    z-index: 900;
}

.topbar h3 {

    font-size: 19px;
}

.topbar p {

    margin-top: 4px;

    color: #64748b;

    font-size: 12px;
}


/* ADMIN */

.admin {

    display: flex;

    align-items: center;

    gap: 10px;
}

.admin-icon {

    width: 43px;
    height: 43px;

    display: flex;

    align-items: center;
    justify-content: center;

    background: #dbeafe;

    border-radius: 50%;

    font-size: 20px;
}

.admin strong {

    display: block;

    font-size: 13px;
}

.admin small {

    display: block;

    margin-top: 3px;

    color: #64748b;

    font-size: 10px;
}


/* ======================================
   CONTENT
====================================== */

.content {

    padding: 35px;
}


/* ======================================
   HERO
====================================== */

.hero {

    min-height: 410px;

    position: relative;

    overflow: hidden;

    display: flex;

    align-items: center;

    padding: 50px;

    border-radius: 28px;

    background-image:
        url("images/download(1).jpg");

    background-size: cover;

    background-position: center;

    box-shadow:
        0 20px 45px
        rgba(15,23,42,.18);
}


/* OVERLAY */

.hero-overlay {

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(8,15,35,.96),
            rgba(15,23,42,.78),
            rgba(30,64,175,.20)
        );
}


/* HERO CONTENT */

.hero-content {

    position: relative;

    z-index: 2;

    max-width: 650px;

    color: white;
}

.welcome {

    display: inline-block;

    padding: 8px 14px;

    margin-bottom: 18px;

    font-size: 10px;

    letter-spacing: 1.5px;

    border-radius: 30px;

    background:
        rgba(255,255,255,.13);

    border:
        1px solid
        rgba(255,255,255,.20);
}

.hero h1 {

    font-size: 45px;

    line-height: 1.12;

    margin-bottom: 17px;
}

.hero h1 span {

    color: #93c5fd;
}

.hero p {

    max-width: 570px;

    line-height: 1.8;

    color: #dbeafe;

    font-size: 14px;
}


/* BUTTON */

.hero-button {

    display: inline-flex;

    align-items: center;

    gap: 12px;

    margin-top: 25px;

    padding: 13px 20px;

    color: #1d4ed8;

    background: white;

    border-radius: 10px;

    text-decoration: none;

    font-size: 13px;

    font-weight: bold;

    transition: .3s;
}

.hero-button:hover {

    transform:
        translateY(-4px);

    box-shadow:
        0 10px 25px
        rgba(0,0,0,.25);
}


/* ======================================
   SECTION
====================================== */

.section-title {

    margin-top: 35px;

    margin-bottom: 18px;
}

.section-title h2 {

    font-size: 22px;
}

.section-title p {

    margin-top: 5px;

    color: #64748b;

    font-size: 13px;
}


/* ======================================
   STATISTICS
====================================== */

.statistics {

    display: grid;

    grid-template-columns:
        repeat(4,1fr);

    gap: 17px;
}

.stat-card {

    display: flex;

    align-items: center;

    gap: 15px;

    padding: 22px;

    background: white;

    border:
        1px solid #e2e8f0;

    border-radius: 18px;

    transition: .3s;
}

.stat-card:hover {

    transform:
        translateY(-5px);

    box-shadow:
        0 15px 30px
        rgba(15,23,42,.08);
}

.stat-icon {

    width: 53px;
    height: 53px;

    display: flex;

    align-items: center;
    justify-content: center;

    font-size: 24px;

    background: #eff6ff;

    border-radius: 14px;
}

.stat-card span {

    color: #64748b;

    font-size: 11px;
}

.stat-card h2 {

    margin-top: 3px;

    font-size: 24px;
}

.stat-card small {

    color: #94a3b8;

    font-size: 10px;
}


/* ======================================
   ABOUT
====================================== */

.about {

    display: grid;

    grid-template-columns:
        1.5fr 1fr;

    gap: 20px;

    margin-top: 30px;
}

.about-card,
.visi-card {

    padding: 30px;

    border-radius: 20px;

    background: white;

    border:
        1px solid #e2e8f0;
}

.label {

    color: #2563eb;

    font-size: 10px;

    font-weight: bold;

    letter-spacing: 2px;
}

.about-card h2 {

    margin-top: 10px;

    margin-bottom: 17px;

    font-size: 25px;

    line-height: 1.3;
}

.about-card h2 span {

    color: #2563eb;
}

.about-card p {

    color: #64748b;

    font-size: 13px;

    line-height: 1.8;
}


/* FEATURES */

.features {

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 10px;

    margin-top: 20px;
}

.features div {

    padding: 10px;

    color: #475569;

    background: #f8fafc;

    border-radius: 8px;

    font-size: 10px;
}


/* VISI */

.visi-card {

    color: white;

    background:
        linear-gradient(
            135deg,
            #1d4ed8,
            #172554
        );
}

.quote {

    font-family: Georgia;

    font-size: 70px;

    line-height: .5;

    color: #93c5fd;
}

.visi-card h2 {

    margin-top: 20px;

    font-size: 25px;

    line-height: 1.4;
}

.visi-card p {

    margin-top: 15px;

    color: #dbeafe;

    font-size: 13px;

    line-height: 1.8;
}

.line {

    width: 50px;

    height: 3px;

    margin-top: 20px;

    background: #93c5fd;

    border-radius: 5px;
}

.visi-card > span {

    display: block;

    margin-top: 12px;

    color: #bfdbfe;

    font-size: 10px;
}


/* ======================================
   CARDS
====================================== */

.cards {

    display: grid;

    grid-template-columns:
        repeat(3,1fr);

    gap: 15px;
}

.card {

    position: relative;

    display: flex;

    align-items: center;

    gap: 14px;

    padding: 20px;

    color: #172033;

    text-decoration: none;

    background: white;

    border:
        1px solid #e2e8f0;

    border-radius: 16px;

    transition: .3s;
}

.card:hover {

    transform:
        translateY(-5px);

    border-color: #93c5fd;

    box-shadow:
        0 12px 25px
        rgba(37,99,235,.09);
}

.card-icon {

    width: 48px;
    height: 48px;

    flex-shrink: 0;

    display: flex;

    align-items: center;
    justify-content: center;

    background: #eff6ff;

    border-radius: 12px;

    font-size: 22px;
}

.card h3 {

    font-size: 14px;
}

.card p {

    margin-top: 5px;

    color: #64748b;

    font-size: 10px;

    line-height: 1.5;
}

.arrow {

    position: absolute;

    right: 15px;

    color: #2563eb;

    font-size: 18px;
}


/* ======================================
   FOOTER
====================================== */

footer {

    margin-top: 50px;

    padding: 35px;

    color: #cbd5e1;

    background: #0f172a;
}

.footer-main {

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 30px;
}

.footer-logo {

    display: flex;

    align-items: center;

    gap: 12px;
}

.footer-icon {

    width: 45px;
    height: 45px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 12px;

    background: #1d4ed8;

    font-size: 20px;
}

.footer-logo h3 {

    color: white;

    font-size: 15px;
}

.footer-logo p {

    margin-top: 4px;

    color: #64748b;

    font-size: 10px;
}

.footer-text {

    max-width: 400px;

    color: #94a3b8;

    font-size: 11px;

    line-height: 1.7;

    text-align: right;
}

.footer-bottom {

    display: flex;

    justify-content: space-between;

    margin-top: 25px;

    padding-top: 18px;

    border-top:
        1px solid
        rgba(255,255,255,.08);

    color: #64748b;

    font-size: 10px;
}


/* ======================================
   RESPONSIVE
====================================== */

@media (max-width: 1100px) {

    .statistics {

        grid-template-columns:
            repeat(2,1fr);
    }

    .cards {

        grid-template-columns:
            repeat(2,1fr);
    }
}


@media (max-width: 850px) {

    .sidebar {

        width: 75px;

        padding: 20px 10px;
    }

    .logo h2,
    .logo p,
    .menu-title,
    .menu a b,
    .logout b {

        display: none;
    }

    .logo-icon {

        width: 50px;
        height: 50px;

        font-size: 25px;
    }

    .menu a,
    .logout a {

        justify-content: center;
    }

    .main {

        margin-left: 75px;
    }

    .content {

        padding: 20px;
    }

    .hero {

        padding: 35px 25px;
    }

    .hero h1 {

        font-size: 34px;
    }

    .about {

        grid-template-columns: 1fr;
    }
}


@media (max-width: 600px) {

    .statistics,
    .cards {

        grid-template-columns: 1fr;
    }

    .topbar {

        padding: 0 15px;
    }

    .admin div:last-child {

        display: none;
    }

    .footer-main {

        flex-direction: column;

        align-items: flex-start;
    }

    .footer-text {

        text-align: left;
    }

    .footer-bottom {

        flex-direction: column;

        gap: 8px;
    }

    .features {

        grid-template-columns: 1fr;
    }
}