/* ===================================================
   PENGPROV TI JATIM - Landing Page Styles
   Modern, Animated, Responsive
=================================================== */

/* ===== BASE ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', 'Segoe UI', sans-serif;
    color: #333;
    overflow-x: hidden;
    padding-top: 0;
}

section {
    scroll-margin-top: 80px;
}

/* ===== SECTION HEADER (reusable) ===== */
.section-header {
    margin-bottom: 3rem;
}

.section-subtitle {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 600;
    color: #0d6efd;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
}

.section-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 0.75rem;
}

.section-divider {
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #0d6efd, #6610f2);
    margin: 0 auto;
    border-radius: 2px;
}

/* ===== NAVBAR ===== */
#mainNavbar {
    height: 70px;
    padding: 0.5rem 1rem;
    z-index: 1050;
    transition: all 0.4s ease;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
}

#mainNavbar.navbar-scrolled {
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
}

.navbar-logo {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.navbar-nav .nav-link {
    color: #333;
    font-weight: 500;
    padding: 0.5rem 1rem;
    position: relative;
    transition: color 0.3s;
}

.navbar-nav .nav-link::after {
    content: "";
    position: absolute;
    width: 0;
    height: 2.5px;
    background: linear-gradient(90deg, #0d6efd, #6610f2);
    left: 50%;
    bottom: 0;
    transition: all 0.3s ease;
    transform: translateX(-50%);
    border-radius: 2px;
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
    width: 60%;
}

.navbar-nav .nav-link:hover {
    color: #0d6efd;
}

.navbar-nav .nav-link.active {
    color: #0d6efd;
    font-weight: 600;
}

.navbar .btn-primary {
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    background: linear-gradient(135deg, #0d6efd, #6610f2);
    border: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(13, 110, 253, 0.3);
}

.navbar .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(13, 110, 253, 0.4);
}

@media (max-width: 991px) {
    .navbar-nav {
        padding-top: 1rem;
    }
    .navbar-nav .nav-link {
        padding: 0.75rem 0;
        text-align: center;
    }
    .navbar .btn-primary {
        margin-top: 10px;
        width: 100%;
        text-align: center;
    }
    #navbarPublic {
        background-color: #f8f9fa;
        padding: 0.5rem 0;
    }
    #navbarPublic .nav-item + .nav-item {
        border-top: 1px solid rgba(0,0,0,0.06);
    }
}

@media (max-width: 576px) {
    .navbar-brand {
        font-size: 0;
    }
    .navbar-logo {
        height: 36px;
        width: 36px;
    }
}

/* ===== HERO CAROUSEL ===== */
#heroCarousel,
#heroCarousel .carousel-inner,
#heroCarousel .carousel-item {
    width: 100vw;
    height: 100vh;
}

.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 8s ease;
}

/* Subtle Ken Burns zoom effect */
.carousel-item.active .hero-img {
    transform: scale(1.05);
}

/* Gradient overlay */
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(0, 0, 0, 0.2) 0%,
        rgba(0, 0, 0, 0.1) 40%,
        rgba(0, 0, 0, 0.6) 100%
    );
    z-index: 1;
}

.hero-caption {
    position: absolute;
    bottom: 15%;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: #fff;
    z-index: 2;
    max-width: 800px;
    width: 90%;
    padding: 0 15px;
    animation: heroFadeUp 1s ease forwards;
}

.hero-badge {
    display: inline-block;
    padding: 6px 20px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 1rem;
    color: #fff;
}

.hero-caption h1 {
    font-size: 3.2rem;
    font-weight: 800;
    line-height: 1.2;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
    margin-bottom: 0.75rem;
}

.hero-caption p {
    font-size: 1.15rem;
    font-weight: 300;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
    max-width: 600px;
    margin: 0 auto;
}

.btn-hero {
    display: inline-flex;
    align-items: center;
    padding: 12px 30px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.4);
    color: #fff;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-hero:hover {
    background: #fff;
    color: #1a1a2e;
    border-color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.btn-hero i {
    transition: transform 0.3s ease;
}

.btn-hero:hover i {
    transform: translateY(3px);
}

@keyframes heroFadeUp {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

/* Carousel indicators */
#heroCarousel .carousel-indicators {
    bottom: 30px;
    z-index: 3;
}

#heroCarousel .carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    border: 2px solid rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease;
    margin: 0 6px;
}

#heroCarousel .carousel-indicators button.active {
    background-color: #fff;
    transform: scale(1.3);
}

/* Carousel controls */
.carousel-control-prev,
.carousel-control-next {
    width: 60px;
    height: 60px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    margin: 0 20px;
    opacity: 0;
    transition: all 0.3s ease;
}

#heroCarousel:hover .carousel-control-prev,
#heroCarousel:hover .carousel-control-next {
    opacity: 1;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    background: rgba(255, 255, 255, 0.3);
}

@media (max-width: 767px) {
    .hero-caption {
        bottom: 20%;
    }
    .hero-caption h1 {
        font-size: 1.8rem;
    }
    .hero-caption p {
        font-size: 0.9rem;
    }
    .hero-badge {
        font-size: 0.7rem;
        padding: 4px 14px;
    }
    .btn-hero {
        padding: 10px 22px;
        font-size: 0.85rem;
    }
    .carousel-control-prev,
    .carousel-control-next {
        display: none;
    }
}

/* ===== BERITA SECTION ===== */
.section-berita {
    background: #fff;
}

.berita-card {
    border: none;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.06);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.berita-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.berita-img-wrapper {
    overflow: hidden;
    height: 200px;
}

.berita-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.berita-card:hover .berita-img-wrapper img {
    transform: scale(1.08);
}

.berita-card .card-body {
    padding: 1.25rem;
}

.berita-card .card-title {
    font-size: 1.05rem;
    font-weight: 600;
    color: #1a1a2e;
    margin-bottom: 0.5rem;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.berita-card .card-text {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.berita-card .btn-outline-primary {
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    padding: 6px 16px;
    transition: all 0.3s ease;
}

.berita-card .btn-outline-primary:hover {
    transform: translateX(4px);
}

/* ===== PROGRAM SECTION ===== */
.section-program {
    background: linear-gradient(180deg, #f8f9ff 0%, #fff 100%);
}

.program-card {
    background: #fff;
    border-radius: 20px;
    padding: 2.5rem 1.5rem;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: 1px solid rgba(0, 0, 0, 0.04);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.04);
    position: relative;
    overflow: hidden;
}

.program-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--accent, #0d6efd);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.program-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
}

.program-card:hover::before {
    transform: scaleX(1);
}

.program-icon {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--accent), color-mix(in srgb, var(--accent) 70%, white));
    margin: 0 auto;
    transition: all 0.4s ease;
}

.program-icon i {
    font-size: 2rem;
    color: #fff;
}

.program-card:hover .program-icon {
    transform: scale(1.1) rotate(-5deg);
    border-radius: 25px;
}

.program-card h5 {
    color: #1a1a2e;
}

.program-card p {
    font-size: 0.9rem;
    margin-bottom: 0;
}

/* ===== EVENT SECTION ===== */
.section-event {
    background: linear-gradient(180deg, #fff 0%, #f0f4ff 100%);
}

.event-card {
    border: none;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.06);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.event-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.event-img-wrapper {
    position: relative;
    overflow: hidden;
    height: 220px;
}

.event-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.event-card:hover .event-img-wrapper img {
    transform: scale(1.05);
}

.event-status {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 2;
}

.event-status .badge {
    font-size: 0.75rem;
    padding: 6px 14px;
    border-radius: 20px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.pulse-badge {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(25, 135, 84, 0.5); }
    70% { box-shadow: 0 0 0 10px rgba(25, 135, 84, 0); }
    100% { box-shadow: 0 0 0 0 rgba(25, 135, 84, 0); }
}

.event-card .card-body {
    padding: 1.25rem;
}

.event-card .card-title {
    color: #1a1a2e;
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
}

.event-info {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.event-info-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.88rem;
    color: #555;
}

.event-info-item i {
    font-size: 1rem;
    width: 20px;
    text-align: center;
}

.event-logos {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.event-logos img {
    height: 38px;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.event-logos img:hover {
    transform: scale(1.15);
}

.event-card .btn {
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    padding: 8px 18px;
}

/* ===== YOUTUBE SECTION ===== */
.section-youtube {
    background: linear-gradient(180deg, #0f0f1a 0%, #1a1a2e 100%);
    position: relative;
    overflow: hidden;
}

.section-youtube::before {
    content: '';
    position: absolute;
    top: -100px;
    left: -100px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255, 0, 0, 0.08) 0%, transparent 70%);
    border-radius: 50%;
}

.section-youtube::after {
    content: '';
    position: absolute;
    bottom: -80px;
    right: -80px;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(255, 0, 0, 0.06) 0%, transparent 70%);
    border-radius: 50%;
}

.section-youtube .section-subtitle {
    color: #ff0000;
    letter-spacing: 3px;
}

.section-youtube .section-title {
    color: #fff;
}

.section-youtube .section-divider {
    background: linear-gradient(90deg, #ff0000, #cc0000) !important;
}

.section-youtube .section-desc {
    color: #aaa;
    font-size: 0.95rem;
    max-width: 600px;
    margin: 0 auto;
}

/* YouTube Cards */
.youtube-card {
    background: #222238;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.06);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.youtube-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(255, 0, 0, 0.1);
    border-color: rgba(255, 0, 0, 0.2);
}

.youtube-video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    background: #111;
}

.youtube-video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.youtube-card-body {
    padding: 1rem 1.25rem;
}

.youtube-card.featured .youtube-card-body {
    padding: 1.25rem 1.5rem;
}

.youtube-card-title {
    color: #fff;
    font-weight: 600;
    font-size: 1.05rem;
    margin-bottom: 0.4rem;
    line-height: 1.4;
}

.youtube-card.mini .youtube-card-title {
    font-size: 0.9rem;
    margin-bottom: 0;
}

.youtube-card-text {
    color: #aaa;
    font-size: 0.88rem;
    margin-bottom: 0;
    line-height: 1.6;
}

/* YouTube Sidebar */
.youtube-sidebar .youtube-card.mini {
    flex: 1;
}

/* Subscribe Button */
.btn-youtube {
    background: #ff0000;
    color: #fff;
    border: none;
    border-radius: 50px;
    padding: 12px 36px;
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(255, 0, 0, 0.3);
}

.btn-youtube:hover {
    background: #cc0000;
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(255, 0, 0, 0.4);
}

.btn-youtube:active {
    transform: translateY(-1px);
}

/* YouTube Section Responsive */
@media (max-width: 991.98px) {
    .youtube-sidebar {
        flex-direction: row !important;
    }

    .youtube-sidebar .youtube-card.mini {
        flex: 1;
    }
}

@media (max-width: 575.98px) {
    .youtube-sidebar {
        flex-direction: column !important;
    }

    .youtube-card-title {
        font-size: 0.95rem;
    }

    .btn-youtube {
        padding: 10px 28px;
        font-size: 0.9rem;
    }
}

/* ===== INSTAGRAM SECTION ===== */
.section-instagram {
    background: linear-gradient(180deg, #fafafa 0%, #fff 100%);
    position: relative;
}

.section-instagram .section-subtitle {
    color: #E1306C;
    letter-spacing: 3px;
}

.section-instagram .section-title {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-instagram .section-divider {
    background: linear-gradient(90deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888) !important;
}

.section-instagram .section-desc {
    color: #666;
    font-size: 0.95rem;
    max-width: 550px;
    margin: 0 auto;
}

/* Instagram Feed Grid */
.ig-feed-item {
    display: block;
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 1 / 1;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.ig-feed-item:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: 0 12px 30px rgba(225, 48, 108, 0.2);
}

.ig-feed-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.ig-feed-item:hover img {
    transform: scale(1.1);
}

.ig-feed-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.ig-feed-item:hover .ig-feed-overlay {
    opacity: 1;
}

.ig-feed-overlay i {
    color: #fff;
    font-size: 1.2rem;
}

/* Instagram Profile Card */
.ig-profile-card {
    background: #fff;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
}

.ig-profile-card:hover {
    box-shadow: 0 12px 40px rgba(225, 48, 108, 0.12);
}

.ig-profile-header {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    margin-bottom: 1rem;
}

.ig-profile-avatar {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    padding: 3px;
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    flex-shrink: 0;
}

.ig-profile-avatar img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #fff;
}

.ig-profile-name {
    font-weight: 700;
    font-size: 1.1rem;
    color: #262626;
    margin-bottom: 0.4rem;
}

.ig-profile-stats {
    display: flex;
    gap: 1rem;
    font-size: 0.85rem;
    color: #666;
}

.ig-profile-stats strong {
    color: #262626;
}

.ig-profile-bio {
    font-size: 0.9rem;
    color: #555;
    line-height: 1.7;
    margin-bottom: 1.25rem;
}

/* Instagram Button */
.btn-instagram {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    color: #fff;
    border: none;
    border-radius: 12px;
    padding: 12px 28px;
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.3px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(225, 48, 108, 0.3);
}

.btn-instagram:hover {
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(225, 48, 108, 0.4);
    filter: brightness(1.05);
}

.btn-instagram:active {
    transform: translateY(0);
}

/* Instagram Section Responsive */
@media (max-width: 767.98px) {
    .ig-profile-header {
        flex-direction: column;
        text-align: center;
    }

    .ig-profile-stats {
        justify-content: center;
    }

    .ig-profile-bio {
        text-align: center;
    }

    .ig-profile-card {
        padding: 1.5rem;
    }
}

@media (max-width: 575.98px) {
    .ig-feed-overlay i {
        font-size: 1rem;
    }

    .ig-profile-name {
        font-size: 1rem;
    }

    .ig-profile-stats {
        font-size: 0.78rem;
        gap: 0.6rem;
    }

    .btn-instagram {
        padding: 10px 24px;
        font-size: 0.88rem;
    }
}

/* ===== FOOTER ===== */
.footer {
    background: linear-gradient(180deg, #1a1a2e 0%, #16213e 100%);
    color: #ccc;
    padding-top: 4rem;
}

.footer h5 {
    color: #fff;
    font-weight: 600;
    margin-bottom: 1.25rem;
    position: relative;
}

.footer h5::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 30px;
    height: 3px;
    background: linear-gradient(90deg, #0d6efd, #6610f2);
    border-radius: 2px;
}

.footer p,
.footer .list-unstyled li {
    color: #aaa;
    font-size: 0.92rem;
    line-height: 1.8;
}

.footer .list-unstyled a {
    color: #aaa;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer .list-unstyled a:hover {
    color: #fff;
    transform: translateX(5px);
}

.footer .social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    color: #aaa;
    text-decoration: none;
    transition: all 0.3s ease;
    margin-right: 0.5rem;
}

.footer .social-icon:hover {
    background: linear-gradient(135deg, #0d6efd, #6610f2);
    color: #fff;
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(13, 110, 253, 0.3);
}

.footer .social-icon i {
    font-size: 1.1rem;
}

.footer hr {
    background-color: rgba(255, 255, 255, 0.1);
    margin-top: 2.5rem;
    opacity: 1;
}

.footer .text-center {
    color: #666;
    font-size: 0.85rem;
    padding-bottom: 1.5rem;
}

/* ===== SCROLL TO TOP ===== */
.scroll-top-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, #0d6efd, #6610f2);
    color: #fff;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.4s ease;
    box-shadow: 0 6px 20px rgba(13, 110, 253, 0.35);
}

.scroll-top-btn.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-top-btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(13, 110, 253, 0.5);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
    .section-title {
        font-size: 1.8rem;
    }
    .berita-img-wrapper {
        height: 180px;
    }
}

@media (max-width: 768px) {
    .section-title {
        font-size: 1.5rem;
    }
    .program-card {
        padding: 2rem 1.25rem;
    }
    .program-icon {
        width: 65px;
        height: 65px;
        border-radius: 16px;
    }
    .program-icon i {
        font-size: 1.6rem;
    }
    .event-img-wrapper {
        height: 180px;
    }
}

@media (max-width: 576px) {
    .section-header {
        margin-bottom: 2rem;
    }
    .scroll-top-btn {
        bottom: 20px;
        right: 20px;
        width: 42px;
        height: 42px;
    }
}

/* Card Body: Nama & Jabatan */
.dashboard-card .card-body {
    text-align: center;
    padding: 15px 10px;
}

.dashboard-card .card-body h5 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.dashboard-card .card-body p {
    color: #777;
    font-size: 0.95rem;
}

/* Card Footer: Tombol Aksi */
.dashboard-card .card-footer {
    display: flex;
    justify-content: center;
    gap: 10px;
    padding: 15px;
    border-top: 1px solid #eee;
}

.dashboard-card .btn {
    padding: 5px 12px;
    font-size: 0.85rem;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.dashboard-card .btn:hover {
    transform: scale(1.05);
}

/* =============================
   Responsive
============================= */
@media (max-width: 992px) {
    .dashboard-card {
        margin: 0 auto;
    }
}

@media (max-width: 576px) {
    .dashboard-card .card-header img {
        width: 100px;
        height: 100px;
    }
}

/* ===== ADMIN SIDEBAR ===== */
body {
    margin: 0;
    font-family: 'Inter', sans-serif;
    background: #f3f4f6;
}

/* LAYOUT */
.admin-wrapper {
    display: flex;
    min-height: 100vh;
}

/* SIDEBAR */
.admin-sidebar {
    width: 260px;
    background: #111827;
    color: #9ca3af;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.sidebar-brand {
    padding: 20px;
    font-weight: 600;
    color: #fff;
    border-bottom: 1px solid #1f2937;
}

.sidebar-nav {
    list-style: none;
    padding: 10px 0;
    margin: 0;
}

.sidebar-nav li {
    position: relative;
}

.sidebar-nav a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    text-decoration: none;
    color: #9ca3af;
    font-size: 14px;
    transition: 0.2s;
}

.sidebar-nav a:hover {
    background: #1f2937;
    color: #fff;
}

.sidebar-nav a.active {
    background: #1f2937;
    color: #fff;
}

.sidebar-nav a.active::before {
    content: "";
    position: absolute;
    left: 0;
    height: 100%;
    width: 4px;
    background: #3b82f6;
}

/* SUBMENU */
.submenu {
    display: none;
    list-style: none;
    padding-left: 40px;
    background: #0f172a;
}

.submenu li a {
    padding: 8px 0;
    font-size: 13px;
}

.has-submenu.open .submenu {
    display: block;
}

.submenu-arrow {
    margin-left: auto;
    font-size: 12px;
}

/* MAIN AREA */
.admin-main {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.admin-topbar {
    height: 60px;
    background: #ffffff;
    border-bottom: 1px solid #e5e7eb;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
}

.admin-content {
    padding: 30px;
}

/* COLLAPSE MODE */
.admin-sidebar.collapsed {
    width: 80px;
}

.admin-sidebar.collapsed .brand-text,
.admin-sidebar.collapsed span,
.admin-sidebar.collapsed .submenu-arrow {
    display: none;
}

/* OVERLAY */
.sidebar-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.4);
    z-index: 900;
}

/* RESPONSIVE */
@media (max-width: 992px) {

    .admin-sidebar {
        position: fixed;
        left: -260px;
        height: 100%;
        z-index: 1000;
    }

    .admin-sidebar.mobile-show {
        left: 0;
    }

    .sidebar-overlay.show {
        display: block;
    }
}


/* Berita Detail */
.detail-berita {
    max-width: 800px;
    margin: 0 auto;
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.detail-berita h2 {
    font-size: 2rem;
    margin-bottom: 10px;
    color: #333;
}

.detail-berita .tanggal {
    font-size: 0.9rem;
    color: #888;
    margin-bottom: 20px;
}

.detail-berita img {
    width: 100%;
    max-height: 400px;
    object-fit: cover;
    border-radius: 5px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.detail-berita p {
    font-size: 1rem;
    line-height: 1.7;
    color: #555;
    margin-bottom: 20px;
}

.detail-berita .btn-secondary {
    background-color: #6c757d;
    border: none;
    padding: 8px 20px;
    border-radius: 5px;
    transition: background 0.3s;
}

.detail-berita .btn-secondary:hover {
    background-color: #5a6268;
}

/* Responsive */
@media (max-width: 768px) {
    .detail-berita {
        padding: 20px;
    }

    .detail-berita h2 {
        font-size: 1.5rem;
    }
}





