body {
    font-family: 'Segoe UI', sans-serif;
}

/* HERO */
.hero {
    position: relative;
    height: 500px;
    overflow: hidden;
}

/* SLIDER */
.hero-slider {
    position: absolute;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.slide.active {
    opacity: 1;
}

/* OVERLAY HITAM */
.hero::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    top: 0;
    left: 0;
}

/* TEXT */
.overlay {
    position: relative;
    z-index: 2;
    color: white;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-left: 60px;
}
/* SIDEBAR */
.sidebar {
    width: 220px;
    background: #0d6b3c;
    color: white;
    min-height: 100vh;
}

.sidebar a {
    display: block;
    color: white;
    padding: 10px;
    text-decoration: none;
    transition: 0.3s;
}

.sidebar a:hover {
    background: #084d2b;
}

/* CARD */
.card {
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border: none;
}

/* HOVER CARD */
.hover-card {
    transition: 0.3s;
    cursor: pointer;
}

.hover-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.25);
}

/* ========================= */
/* FOOTER PRO MAX */
/* ========================= */

.footer-full {
    width: 100%;
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.6)),
                url('../img/masjid.jpg') center/cover no-repeat;
    color: white;
}

.footer-full h5 {
    color: #ffffff;
    font-weight: 600;
}

.footer-full p,
.footer-full small {
    color: #dddddd;
}

.footer-link {
    color: #ffffff;
    text-decoration: none;
}

.footer-link:hover {
    color: #0d6efd;
}

.hero {
    position: relative;
    height: 500px;
    overflow: hidden;
}

.hero-slider {
    position: absolute;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.slide.active {
    opacity: 1;
}

/* overlay biar teks jelas */
.overlay {
    position: relative;
    z-index: 2;
    height: 100%;
    background: rgba(0,0,0,0.5);
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-left: 60px;
}
/* ADMIN */
.admin-sidebar {
    background: linear-gradient(180deg, #1e7e34, #145c26);
}

/* PENGURUS */
.pengurus-sidebar {
    background: linear-gradient(180deg, #0d6efd, #084298);
}

/* CONTENT */
.content{

    margin-left:280px;

    padding:30px;

    min-height:100vh;

    display:flex;

    flex-direction:column;
}

/* CARD ADMIN */
.card {
    border-radius: 15px;
    border: none;
}

/* HOVER */
.card:hover {
    transform: translateY(-5px);
    transition: 0.3s;
}

/* HEADER */
.admin-header {
    background: linear-gradient(90deg, #1e7e34, #28a745);
}

/* SIDEBAR */
.admin-sidebar {
    width: 240px;
    min-height: 100vh;
    background: linear-gradient(180deg, #145c26, #0d6b3c);
}

.sidebar a {
    display:block;
    color:white;
    padding:12px;
    border-radius:8px;
    margin-bottom:5px;
}

.sidebar a:hover {
    background: rgba(255,255,255,0.15);
}

/* CONTENT */
.content {
    background:#f4f6f9;
}

/* CARD */
.dashboard-card {
    border-radius:15px;
    padding:20px;
    color:white;
}

/* WARNA CARD */
.bg-user { background:#0d6efd; }
.bg-donasi { background:#198754; }
.bg-kegiatan { background:#fd7e14; }
.bg-berita { background:#6f42c1; }

/* FOOTER ADMIN */
.admin-footer {
    background:#1f2937;
    color:white;
    padding:20px;
    text-align:center;
    margin-top:40px;
}

body { font-family: 'Segoe UI'; }

.admin-header {
    background: linear-gradient(90deg,#145c26,#198754);
}

.sidebar {
    width:220px;
    background:#145c26;
    min-height:100vh;
    padding:15px;
}

.sidebar a {
    display:block;
    color:white;
    padding:10px;
    text-decoration:none;
    border-radius:8px;
}

.sidebar a:hover {
    background:#198754;
}

.content {
    background:#f4f6f9;
}

.card-box {
    padding:20px;
    border-radius:12px;
    color:white;
}

.bg1 { background:#0d6efd; }
.bg2 { background:#198754; }
.bg3 { background:#fd7e14; }
.bg4 { background:#6f42c1; }

.admin-footer {
    background:#1f2937;
    color:white;
    text-align:center;
    padding:15px;
}
.card {
    border-radius: 12px;
    border: none;
}

.card-header {
    background: #f8f9fa;
    font-weight: 600;
}

.table th {
    background: #f1f1f1;
}

.btn {
    border-radius: 8px;
}
/* HEADER */
.admin-header {
    background: linear-gradient(90deg,#0f5132,#198754);
    color: white;
    height: 60px;
}

.logo-icon {
    font-size: 20px;
}

/* SIDEBAR */
.sidebar {
    width: 240px;
    min-height: 100vh;
    background: #0f5132;
    color: white;
}

.sidebar-title h5 {
    margin: 0;
    font-weight: bold;
}

.sidebar-title small {
    color: #cfcfcf;
}

.sidebar a {
    display: block;
    padding: 12px;
    margin-bottom: 5px;
    border-radius: 8px;
    color: white;
    text-decoration: none;
    transition: 0.3s;
}

.sidebar a:hover {
    background: #198754;
    transform: translateX(5px);
}

/* CONTENT */
.content {
    background: #f4f6f9;
    min-height: 100vh;
    padding: 20px;
}
.overlay h1 {
    font-size: 48px;
    font-weight: 800;
}

.overlay p {
    font-size: 18px;
    margin-bottom: 20px;
}
.hero .btn {
    display: inline-block;
    width: fit-content;
}
.navbar {
    font-family: 'Inter', sans-serif;
}

.navbar-brand {
    font-size: 20px;
}

.nav-link {
    font-weight: 500;
    margin: 0 10px;
    transition: 0.3s;
}

.nav-link:hover {
    color: #198754;
}
.hover-card {
    transition: 0.3s;
    cursor: pointer;
}

.hover-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

/* =========================
   DARK MODE
========================= */

body.dark-mode{
    background:#121212;
    color:#f1f1f1;
}

/* CARD */
body.dark-mode .card,
body.dark-mode .info-box,
body.dark-mode .mini-stat{
    background:#1e1e1e;
    color:white;
    border:none;
}

/* NAVBAR */
body.dark-mode .navbar{
    background:#111 !important;
}

/* FOOTER */
body.dark-mode .footer-full{
    background:#000;
}

/* TEXT */
body.dark-mode .text-muted{
    color:#cfcfcf !important;
}

/* BUTTON */
body.dark-mode .btn-light{
    background:#333;
    color:white;
    border:none;
}

/* SECTION */
body.dark-mode section{
    background:#121212;
}

/* =========================
   TOP HEADER
========================= */

.top-header{

    background:#198754;

    padding:10px 0;

    overflow:hidden;
}

/* TEKS BERJALAN */

.marquee-container{

    width:75%;
}

.marquee-container marquee{

    color:white;

    font-weight:500;

    font-size:14px;

    white-space:nowrap;
}

/* TANGGAL */

.header-date{

    color:white;

    font-weight:600;

    font-size:14px;

    white-space:nowrap;
}

/* =========================
   NAVBAR
========================= */

.navbar{

    background:#ffffff;

    padding:14px 0;

    box-shadow:0 4px 15px rgba(0,0,0,0.06);

    position:sticky;

    top:0;

    z-index:999;
}

/* LOGO */

.navbar-brand span{

    color:#05472A;

    font-size:22px;

    font-weight:800;
}

/* MENU */

.nav-link{

    color:#05472A !important;

    font-weight:600;

    margin:0 10px;

    transition:0.3s;
}

/* HOVER */

.nav-link:hover{

    color:#198754 !important;
}

/* ACTIVE */

.nav-link.active{

    color:#198754 !important;
}

/* LOGIN BUTTON */

.btn-login{

    background:#198754;

    color:white;

    padding:10px 24px;

    border-radius:10px;

    text-decoration:none;

    font-weight:600;

    transition:0.3s;
}

.btn-login:hover{

    background:#146c43;

    color:white;
}

/* RESPONSIVE */

@media(max-width:768px){

    .top-header .container{

        flex-direction:column;

        gap:8px;
    }

    .marquee-container{

        width:100%;
    }

}

/* =========================
   TOP HEADER
========================= */

.top-header{
    background:#05472A;
    padding:10px 0;
    overflow:hidden;
}

.top-header-content{
    width:90%;
    margin:auto;
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:20px;
}

/* TEKS BERJALAN */

.marquee-container{
    width:75%;
}

.marquee-container marquee{
    color:#ffffff !important;
    font-weight:600;
    font-size:14px;
    white-space:nowrap;
}

/* TANGGAL */

.header-date{
    color:#ffffff !important;
    font-weight:600;
    font-size:14px;
    white-space:nowrap;
}

/* =========================
   NAVBAR
========================= */

.navbar{
    position:sticky;
    top:0;
    z-index:9999;

    background:rgba(5, 71, 42, 0.78) !important;

    backdrop-filter:blur(8px);
    -webkit-backdrop-filter:blur(8px);

    padding:14px 0;

    box-shadow:0 4px 15px rgba(0,0,0,0.15);
}

/* BRAND */

.navbar-brand span{
    color:white !important;
    font-size:22px;
    font-weight:800;
}

/* MENU */

.nav-link{
    color:white !important;
    font-weight:600;
    margin:0 8px;
    transition:0.3s;
}

/* HOVER */

.nav-link:hover{
    color:#dff5ea !important;
}

/* ACTIVE */

.nav-link.active{
    color:#ffffff !important;
    border-bottom:2px solid #dff5ea;
}

/* LOGIN BUTTON */

.btn-login{
    background:white !important;
    color:#05472A !important;
    border:none;
    border-radius:10px;
    padding:10px 22px;
    font-weight:700;
    transition:0.3s;
}

.btn-login:hover{
    background:#dff5ea !important;
}

/* RESPONSIVE */

@media(max-width:768px){

    .top-header-content{
        flex-direction:column;
        text-align:center;
    }

    .marquee-container{
        width:100%;
    }

    .navbar-brand span{
        font-size:18px;
    }

}

/* =========================
   STICKY NAVBAR FIX
========================= */

.navbar{

    position: sticky !important;

    top: 0;

    z-index: 99999;

    background: rgba(5, 71, 42, 0.78) !important;

    backdrop-filter: blur(10px);

    -webkit-backdrop-filter: blur(10px);

}

