html {
    scroll-behavior: smooth;
}

body {
    height: 2000px; /* hanya untuk demo scroll */
}

:root {
    --primary-blue: #0b3d91;      /* biru donker */
    --soft-blue: #e7eefc;         /* biru pudar */
    --accent-orange: #ff7a00;     /* oren tua */
}

/* NAVBAR DEFAULT */
.navbar-custom {
    transition: all 0.3s ease;
    background: transparent;
    padding: 15px 0;
}

/* SAAT SCROLL */
.navbar-scrolled {
    background: #ffffff !important;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.navbar-collapse.show {
    background: #ffffff;
    padding: 15px;
}

.navbar-scrolled {
    background: #ffffff !important;
}

/* TEXT MENU */
.nav-link {
    color: #0a3d91 !important; /* biru donker */
    font-weight: 500;
    margin: 0 10px;
    position: relative;
}

/* ACTIVE MENU */
.nav-link.active {
    color: #ff6a00 !important;
}

.nav-link:hover {
    color: #ff6a00 !important;
}

/* BUTTON ORANGE */
.btn-orange {
    background-color: #ff6a00; /* orange pekat */
    color: white;
    border-radius: 25px;
    padding: 8px 15px;
    margin-left: 10px;
    font-size: 14px;
    transition: 0.3s;
}

.btn-orange:hover {
    background-color: #e65c00; /* lebih gelap saat hover */
    color: white;
}

/* LOGO */
.navbar-brand img {
    height: 45px;
}

/* RESPONSIVE CENTER MENU */
@media (min-width: 992px) {
    .navbar-nav-center {
        position: absolute;
        left: 50%;
        transform: translateX(-60%); /* geser manual lebih ke kiri */
    }
}

body {
    font-family: 'Segoe UI', sans-serif;
}

/* HERO */
.hero {
    position: relative;
    height: 500px;
    background: 
        linear-gradient(rgba(0,0,0,0.55), rgba(0,0,0,0.35)),
        url("https://prangkat.com/ruangcitainsani/image/hero.png") center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Overlay hitam */
.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.45);
}

.hero-content {
    position: relative;
    color: white;
    text-align: center;
    max-width: 900px;
}

.hero-title {
    font-size: 36px;
    font-weight: bold;
    letter-spacing: 1px;
}

.hero-title span {
    color: #ff6a00;
}

.hero-text {
    margin-top: 15px;
    font-size: 16px;
    line-height: 1.8;
}

.highlight {
    background:  #ff6a00;
    color: white;
    padding: 2px 6px;
    border-radius: 4px;
}

.highlight-blue {
    background: #0d6efd;
    color: white;
    padding: 2px 6px;
    border-radius: 4px;
}

/* RESPONSIVE */
@media(max-width: 768px) {
    .hero {
        text-align: center;
    }
}

.card-section {
    padding-top: 60px;
    padding-bottom: 60px;
}

/* CARD */
.custom-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 35px 25px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    height: 100%;
}

.custom-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 45px rgba(0,0,0,0.08);
}

/* ICON GAMBAR */
.icon-img {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, #fff7ed, #ffedd5);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon-img img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

/* TEXT */
.custom-card h5 {
    font-weight: 600;
    margin-bottom: 10px;
}

.custom-card p {
    font-size: 14px;
    color: #6b7280;
    margin: 0;
    line-height: 1.6;
}
/**/


.icon {
    font-size: 40px;
}


.custom-card:nth-child(2) {
    border-top: 4px solid #ff6a00;
}



.image-box img {
    width: 100%;
    object-fit: cover;
}


.program-section {
    background: #f8f9fa;
}

/* TITLE */
.program-section h2 {
    font-size: 32px;
    color: var(--primary-blue);
}

.program-section h2 span {
    color: var(--accent-orange);
}

/* CARD */
.program-card {
    background: var(--soft-blue);
    padding: 25px;
    border-radius: 15px;
    height: 100%;
    transition: 0.3s;
    border-left: 5px solid var(--primary-blue);
}

.program-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(11, 61, 145, 0.15);
    border-left: 5px solid var(--accent-orange);
}

/* TEXT */
.program-card h5 {
    font-weight: bold;
    margin-bottom: 10px;
    color: var(--primary-blue);
}

.program-card p {
    font-size: 14px;
    color: #444;
}

.program-card {
    backdrop-filter: blur(5px);
}

.program-section {
    background: linear-gradient(to bottom, #ffffff, #f3f6ff);
}

.program-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.06);
    transition: 0.3s;
    height: 100%;
}

.program-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.1);
}

/* text */
.program-text {
    flex: 1;
    padding-right: 10px;
}

.program-card h5 {
    font-weight: 600;
    margin-bottom: 8px;
}

.program-card p {
    font-size: 14px;
    color: #6b7280;
    margin: 0;
}

/* gambar kanan */
.program-img {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: 12px;
    flex-shrink: 0;
}

/* responsive */
@media (max-width: 768px) {
    .program-card {
        flex-direction: column;
        text-align: center;
    }

    .program-img {
        margin-top: 15px;
    }
}



/* OPTIONAL ICON */
.icon {
    font-size: 28px;
    color: var(--accent-orange);
}

.project-card {
    border-radius: 18px;
    padding: 20px;
    min-height: 200px;
    transition: 0.3s;
    color: #333;
}

/* Hover lebih halus */
.project-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}

/* WARNA LEBIH SOFT */
/*.project-card {*/
/*    border-radius: 18px;*/
/*    overflow: hidden;*/
/*    border: none;*/
/*    transition: 0.3s;*/
/*    background: #fff;*/
/*}*/

.project-card {
    border-radius: 18px;
    overflow: hidden;
    border: none;
    padding: 0; /* 🔥 ini penting */
}

.project-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

/* HEADER */
.card-header-custom {
    padding-top: 10px;
    padding-left:10px;
    position: relative;
    height: 140px;
    overflow: hidden;
}

/* IMAGE FULL */
.card-header-custom img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* biar tidak gepeng */
    position: absolute;
    top: 0;
    left: 0;
}

/* OPTIONAL: overlay biar teks tetap kebaca */
.card-header-custom::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.35);
}

/* TEXT di atas gambar */
.card-header-custom h6 {
    position: relative;
    z-index: 2;
    color: #fff;
}

/* BODY */
.card-body-custom {
    padding: 15px;
    background: #fff;
}

.card-body-custom ul {
    padding-left: 18px;
    margin: 0;
}

.card-body-custom li {
    font-size: 13px;
    margin-bottom: 6px;
    color: #555;
}

/* SOFT COLORS */
.bg-blue {
    background: linear-gradient(135deg, #6ea8fe, #4e73df);
}

.bg-pink {
    background: linear-gradient(135deg, #ff9ecb, #ff6fa5);
}

.bg-orange {
    background: linear-gradient(135deg, #ffb37a, #ff8c00);
}

.bg-green {
    background: linear-gradient(135deg, #6ee7b7, #34d399);
}

/* Text lebih gelap biar kebaca */
.project-card h5 {
    color: #2c2c2c;
}

.project-card ul {
    padding-left: 18px;
    margin: 0;
}

.project-card li {
    margin-bottom: 6px;
    font-size: 14px;
    color: #555;
}


/* BACKGROUND BIRU DONKER */
.fundraising-section {
    background: linear-gradient(135deg, #0f172a, #1e3a8a);
}

/* CARD */
.fund-card {
    background: #ffffff;
    border-radius: 18px;
    padding: 25px;
    transition: 0.3s;
}

.fund-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.2);
}

.fund-card h5 {
    font-size: 15px;
    font-weight: 600;
}

/* IMAGE */
.fund-card img {
    max-height: 180px;
    object-fit: contain;
}

/* BUTTON WA */
.btn-wa {
    background: #25d366;
    color: #fff;
    border-radius: 25px;
    padding: 8px 18px;
    font-size: 14px;
}

.btn-wa:hover {
    background: #1ebe5d;
    color: #fff;
}

/* DOWNLOAD BUTTON */
.btn-light {
    border-radius: 25px;
    font-size: 14px;
    padding: 8px 20px;
}

.btn-outline-light {
    border-radius: 25px;
    font-size: 14px;
    padding: 8px 20px;
}

.footer-custom {
    background: linear-gradient(135deg, #0f172a, #020617); /* hitam navy elegant */
    color: #e5e7eb;
    padding: 70px 0;
    font-family: 'Poppins', sans-serif;
    position: relative;
}

/* efek garis atas subtle */
.footer-custom::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #f59e0b, transparent);
}

/* logo */
.logo-text {
    font-weight: 700;
    font-size: 30px;
    color: #fbbf24; /* gold accent */
    letter-spacing: 1px;
}

/* title */
.footer-title {
    font-weight: 600;
    margin-bottom: 18px;
    color: #ffffff;
    font-size: 16px;
}

/* list */
.footer-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-list li {
    margin-bottom: 10px;
    color: #9ca3af;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
}

/* hover elegant */
.footer-list li:hover {
    color: #fbbf24;
    transform: translateX(5px);
}

/* icon spacing */
.footer-list i {
    margin-right: 10px;
    color: #fbbf24;
}

/* bottom copyright */
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    margin-top: 40px;
    padding-top: 20px;
    text-align: center;
    font-size: 13px;
    color: #6b7280;
}

/* DEFAULT (sebelum muncul) */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s ease;
}

/* SAAT MUNCUL */
.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.reveal:nth-child(1) { transition-delay: 0.1s; }
.reveal:nth-child(2) { transition-delay: 0.2s; }
.reveal:nth-child(3) { transition-delay: 0.3s; }
.reveal:nth-child(4) { transition-delay: 0.4s; }

/* BOTTOM NAV */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #ffffff;
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 8px 0;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.08);
    z-index: 9999;
    border-top-left-radius: 16px;
    border-top-right-radius: 16px;
}

/* ITEM */
.bottom-link {
    text-decoration: none;
    color: #777;
    font-size: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: 0.2s;
}

/* ICON */
.bottom-link i {
    font-size: 20px;
}

/* ACTIVE */
.bottom-link.active {
    color: #ff7a00;
}

/* HOVER */
.bottom-link:hover {
    color: #ff7a00;
}

/* SPACE BIAR GA KETUTUP NAV */
body {
    padding-bottom: 70px;
}

.card-section {
    transform: translateY(-80px);
    position: relative;
    z-index: 2;
}

.card-section .custom-card {
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    background: #fff;
    padding: 25px;
}