:root {
    --primary-color: #bb2025;
    --primary-dark: #a4181d;
    --primary-light: #ff4757;
    --secondary-color: #f8f9fa;
    --text-dark: #2c3e50;
    --text-light: #6c757d;
    --white: #ffffff;
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 8px 25px rgba(187, 32, 37, 0.15);
    --border-radius: 8px;
    --gradient-primary: linear-gradient(135deg, #bb2025 0%, #ff4757 100%);
    --gradient-overlay: linear-gradient(
        135deg,
        rgba(187, 32, 37, 0.9) 0%,
        rgba(255, 71, 87, 0.9) 100%
    );
}

* {
    box-sizing: border-box;
}

body {
    font-family: "Segoe UI", -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--white);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Loading Animation */
.loading {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999 !important;
    transition: opacity 0.5s ease;
}

.loading.hidden {
    opacity: 0;
    pointer-events: none;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-top: 3px solid var(--white);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* Start Progress Bar */
/* Container untuk menjaga posisi tengah */
.progress-container {
    width: 100%;
    display: flex;
    justify-content: center; /* posisikan bar di tengah */
    padding: 0.5rem 0; /* opsional, beri ruang atas-bawah */
}

.progress-bar {
    height: 4px;
    width: 0; /* mulai dari 0 */
    max-width: 60%; /* atur lebar maksimum progress bar (misal 60%) */
    background: var(--gradient-primary);
    border-radius: 2px;
    animation: progress 2s ease-out forwards; /* forwards = tetap di akhir */
}

@keyframes progress {
    from {
        width: 0;
    }
    to {
        width: 100%; /* 100% relatif terhadap max-width di atas */
    }
}

/* End Progress Bar */

/* Navbar Custom Style */
#main-navbar {
    background: rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: px solid rgba(255, 255, 255, 0.1);
    padding: 0.5rem 1rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 999;
}

#main-navbar.scrolled {
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border-bottom-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

/* Brand Logo */
.brand-logo-wrapper {
    position: relative;
    width: 48px;
    height: 48px;
    margin-right: 0.75rem;
}

.brand-logo-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
}

/* Logo Shine Effect */
.logo-shine {
    position: absolute;
    top: 0;
    left: -50%;
    width: 50%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.3),
        transparent
    );
    transform: skewX(-20deg);
    animation: shine 2s infinite;
}

@keyframes shine {
    0% {
        left: -50%;
    }
    100% {
        left: 100%;
    }
}

/* Navbar Brand Text */
.brand-text h5 {
    margin: 0;
    font-size: 1.1rem;
    color: #ffffff;
    font-weight: 800;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.brand-text p {
    margin: 0;
    font-size: 0.6rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
    transition: all 0.3s ease;
}

.navbar-brand:hover .brand-text h5 {
    transform: translateY(-1px);
    color: #a4181d;
}

.navbar-brand:hover .brand-text p {
    color: rgba(255, 255, 255, 1);
}

/* Navbar Links */
#main-navbar .nav-link {
    color: rgba(255, 255, 255, 0.9) !important;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 0.75rem 1.25rem;
    margin: 0.25rem 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 4rem;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    border: 1px solid transparent;
}

#main-navbar .nav-link::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.1),
        transparent
    );
    transition: left 0.5s ease;
}

#main-navbar .nav-link:hover::before {
    left: 100%;
}

#main-navbar .nav-link:hover {
    color: var(--white) !important;
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

#main-navbar .nav-link.active {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
    color: var(--white) !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

#main-navbar .nav-link i {
    font-size: 0.85rem;
    margin-right: 0.5rem;
    transition: all 0.3s ease;
}

#main-navbar .nav-link:hover i {
    transform: scale(1.1);
}

/* Login Button */
#btn-login {
    background: linear-gradient(
        135deg,
        var(--primary-color) 0%,
        var(--primary-light) 100%
    ) !important;
    border: 2px solid rgba(255, 255, 255, 0.2) !important;
    color: var(--white) !important;
    font-weight: 700;
    padding: 0.75rem 1.5rem !important;
    border-radius: 30px !important;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(187, 32, 37, 0.3);
}

#btn-login::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.2),
        transparent
    );
    transition: left 0.6s ease;
}

#btn-login:hover::before {
    left: 100%;
}

#btn-login:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(187, 32, 37, 0.4);
    border-color: rgba(255, 255, 255, 0.4) !important;
}

/* Mobile Toggler */
#main-navbar .navbar-toggler {
    border: none;
    padding: 0.5rem;
    background: transparent;
    border-radius: 0.25rem;
    backdrop-filter: none;
    transition: all 0.3s ease;
}

/* Hover effect */
#main-navbar .navbar-toggler:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.05);
}

/* Hamburger icon */
/* Reset background default Bootstrap */
#main-navbar .navbar-toggler-icon {
    display: block;
    position: relative;
    width: 25px;
    height: 3px; /* ini menjadi garis tengah */
    background: var(--white); /* garis tengah */
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Top & bottom line */
#main-navbar .navbar-toggler-icon::before,
#main-navbar .navbar-toggler-icon::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 3px;
    background: var(--white);
    border-radius: 2px;
    transition: all 0.3s ease;
}

#main-navbar .navbar-toggler-icon::before {
    top: -8px; /* garis atas */
}

#main-navbar .navbar-toggler-icon::after {
    top: 8px; /* garis bawah */
}

#main-navbar .navbar-toggler[aria-expanded="false"] {
    background: transparent;
}

#main-navbar .navbar-toggler[aria-expanded="true"] {
    background: transparent;
}

/* Toggle ke X */
#main-navbar .navbar-toggler[aria-expanded="true"] .navbar-toggler-icon {
    background: transparent; /* garis tengah hilang */
}

#main-navbar
    .navbar-toggler[aria-expanded="true"]
    .navbar-toggler-icon::before {
    transform: rotate(45deg) translateY(0px);
    top: 0;
}

#main-navbar .navbar-toggler[aria-expanded="true"] .navbar-toggler-icon::after {
    transform: rotate(-45deg) translateY(0px);
    top: 0;
}

@media (min-width: 992px) {
    #main-navbar .brand-text h5 {
        font-size: 1.2rem;
    }

    #main-navbar .brand-text p {
        font-size: 0.8rem;
    }
}

/* Hero Slider */
.hero-slider {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    background: #000;
}

.hero-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: all 1.2s cubic-bezier(0.4, 0, 0.2, 1);
    transform: scale(1.05);
}

.hero-slide.active {
    opacity: 1;
    transform: scale(1);
}

.vignette-overlay,
.gradient-overlay {
    position: absolute;
    inset: 0;
    pointer-events: none;
    width: 100%;
    height: 100%;
}
.vignette-overlay {
    background: radial-gradient(
        ellipse at center,
        transparent 0%,
        transparent 40%,
        rgba(0, 0, 0, 0.3) 70%,
        rgba(0, 0, 0, 0.8) 100%
    );
    z-index: 1;
}
.gradient-overlay {
    background: linear-gradient(
        135deg,
        rgba(187, 32, 37, 0.1) 0%,
        rgba(0, 0, 0, 0.4) 50%,
        rgba(0, 0, 0, 0.7) 100%
    );
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    height: 100%;
    display: flex;
    align-items: center;
    color: var(--white);
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    color: var(--white);
    transition: all 0.3s ease;
}

.hero-badge:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 4px rgba(255, 255, 255, 0.15),
        0 0 6px rgba(255, 255, 255, 0.6), 0 0 80px rgba(255, 255, 255, 0.35);
    background: linear-gradient(
            135deg,
            #ffffff 0%,
            #fbfdff 30%,
            #e8f2ff 50%,
            #ffffff 70%,
            #f3f8ff 100%
        ),
        linear-gradient(
            120deg,
            rgba(255, 255, 255, 0) 0%,
            rgba(255, 255, 255, 0) 45%,
            rgba(255, 255, 255, 0.9) 50%,
            rgba(255, 255, 255, 0) 55%,
            rgba(255, 255, 255, 0) 100%
        );
    background-size: 100% 100%, 300% 100%;
    background-position: center, -150% 0%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: heroTitleShine 2.8s linear infinite;
}
.hero-title a {
    color: #ffd;
    text-decoration: underline;
}
.hero-title a:hover {
    color: #fff;
    text-decoration: none;
}

.hero-title.floating {
    animation: floatText 4s ease-in-out infinite;
}
@keyframes floatText {
    0%,
    100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.hero-meta {
    display: flex;
    gap: 1rem;
    margin: 1rem 0 2rem;
    flex-wrap: wrap;
}

.hero-meta .meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.9);
    background: rgba(255, 255, 255, 0.1);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
}

.hero-meta .meta-item:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.hero-meta .meta-item i {
    color: var(--primary-light);
    font-size: 0.8rem;
}

.hero-meta .meta-item span {
    color: var(--white);
    font-size: 0.8rem;
}

.hero-description {
    font-size: 1.1rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    max-width: 600px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-actions .btn {
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.hero-actions .btn::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.2),
        transparent
    );
    transition: left 0.6s ease;
}

.hero-actions .btn:hover::before {
    left: 100%;
}

.hero-actions .btn-primary {
    background: var(--white);
    color: var(--primary-color);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    border: 0px solid transparent;
}

.hero-actions .btn-primary:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

.hero-actions .btn-outline-light {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: var(--white);
    backdrop-filter: blur(10px);
}

.hero-actions .btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-3px) scale(1.05);
}

/* Hero Image Preview */
.hero-image-preview {
    position: relative;
    margin-left: 2rem;
    /* opsional: sizing untuk layout flex/grid */
    flex: 0 0 100%;
    max-width: 100%;
}

/* Image container */
.hero-image-preview .image-container {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    transition: transform 0.38s cubic-bezier(0.22, 0.9, 0.26, 1),
        box-shadow 0.38s ease;
    cursor: pointer;
    will-change: transform;
}

/* Gerakkan container hanya vertikal (tidak diskalakan) */
.hero-image-preview .image-container:hover {
    transform: translateY(-8px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.45);
}

/* Gambar preview (yang akan diskalakan) */
.hero-image-preview .preview-image {
    display: block; /* pastikan block untuk konsistensi */
    width: 100%;
    height: 300px;
    object-fit: cover;
    transform: scale(1);
    transition: transform 0.45s cubic-bezier(0.2, 0.8, 0.2, 1);
    will-change: transform;
    backface-visibility: hidden;
}

/* Scale gambar saat hover pada parent container */
.hero-image-preview .image-container:hover .preview-image {
    transform: scale(1.08); /* atur nilai sesuai selera (1.05 - 1.12) */
}

/* Overlay (icon play) */
.hero-image-preview .image-overlay {
    position: absolute;
    inset: 0; /* shorthand top/right/bottom/left = 0 */
    background: rgba(0, 0, 0, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.25s ease;
    z-index: 2;
    pointer-events: none; /* tidak menghalangi hover awal */
}

/* Saat hover: tampilkan overlay dan izinkan klik pada overlay */
.hero-image-preview .image-container:hover .image-overlay {
    opacity: 1;
    pointer-events: auto;
}

.hero-image-preview .image-overlay i {
    font-size: 3rem;
    color: var(--white);
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
}

/* Caption */
.hero-image-preview .image-caption {
    text-align: center;
    margin-top: 1rem;
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.9rem;
}

/* Controls */
.slider-controls {
    position: absolute;
    bottom: 2rem;
    right: 2rem;
    z-index: 4;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.slider-nav {
    display: flex;
    gap: 0.5rem;
}

.slider-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-btn:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: scale(1.1);
}

/* Dots */
.slider-dots {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.5rem;
    z-index: 4;
}
.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-dot.active {
    background: var(--white);
    transform: scale(1.2);
}

.slider-dot .dot-number {
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--primary-color);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.slider-dot.active .dot-number {
    opacity: 1;
}

.slider-dot:hover {
    background: rgba(255, 255, 255, 0.6);
    transform: scale(1.1);
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 6%;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: rgba(255, 255, 255, 0.8);
    z-index: 4;
}

.scroll-arrow {
    margin-top: 0.5rem;
    animation: bounce 2s infinite;
}

.scroll-arrow i {
    font-size: 1.5rem;
}

.scroll-text {
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    animation: fadeInOut 2s infinite;
}

.scroll-text a {
    color: rgb(226, 215, 215);
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s, text-decoration 0.2s;
    padding-bottom: 1px;
}

@keyframes bounce {
    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

/* Responsive */
@media (max-width: 991px) {
    .hero-title {
        font-size: 2rem;
    }
    .hero-description {
        font-size: 1rem;
    }
}
@media (max-width: 576px) {
    .hero-title {
        font-size: 1.5rem;
    }
    .hero-description {
        font-size: 0.9rem;
    }
    .slider-btn {
        font-size: 1.2rem;
        padding: 0.4rem 0.6rem;
    }
}

/* End Hero Slider */

/* Start Section Title */
.section-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 1rem;
    position: relative;
    overflow: hidden;
}

.section-title::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(187, 32, 37, 0.1),
        transparent
    );
    transition: left 0.8s;
}

.section-title:hover::before {
    left: 100%;
}

.section-title::after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: 2px;
    transition: width 0.3s ease;
}

.section-title:hover::after {
    width: 100px;
}
/* End Section Title */

/* Start Visual Chart Section */
.visual-chart-section {
    padding: 4rem 0;
    background: linear-gradient(
        135deg,
        var(--secondary-color) 0%,
        #ffffff 100%
    );
    position: relative;
    overflow: hidden;
}

.visual-chart-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(
            circle at 10% 20%,
            rgba(187, 32, 37, 0.05) 0%,
            transparent 50%
        ),
        radial-gradient(
            circle at 90% 80%,
            rgba(255, 71, 87, 0.05) 0%,
            transparent 50%
        );
    pointer-events: none;
}

.visual-chart-section .section-header {
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
}

.visual-chart-section .section-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--gradient-primary);
    color: var(--white);
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    box-shadow: 0 8px 25px rgba(187, 32, 37, 0.3);
    transition: all 0.3s ease;
}

.visual-chart-section .section-badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(187, 32, 37, 0.4);
}

.visual-chart-section .section-title {
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 1rem;
    background: linear-gradient(
        135deg,
        var(--primary-color) 0%,
        var(--primary-light) 100%
    );
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.visual-chart-section .section-subtitle {
    font-size: 0.875rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    font-weight: 400;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.visual-chart-section .progress-bar {
    width: 100px;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: 2px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

.visual-chart-section .progress-bar::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.8),
        transparent
    );
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

@media (min-width: 992px) {
    .visual-chart-section .section-badge {
        font-size: 1.1rem;
    }

    .visual-chart-section .section-title {
        font-size: 2.5rem;
    }

    .visual-chart-section .section-subtitle {
        font-size: 1.1rem;
    }

    .visual-chart-section .progress-bar {
        max-width: 20% !important;
    }

    .visual-chart-section .btn-cta-enhanced {
        font-size: 1.2rem !important;
    }
}
/* End Visual Chart Section */

/* Start Budget Realization Section */
.budget-realization-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, var(--white) 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

.budget-realization-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(
            circle at 10% 20%,
            rgba(187, 32, 37, 0.05) 0%,
            transparent 50%
        ),
        radial-gradient(
            circle at 90% 80%,
            rgba(255, 71, 87, 0.05) 0%,
            transparent 50%
        );
    pointer-events: none;
}

.budget-realization-section .section-header {
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
}

.budget-realization-section .section-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--gradient-primary);
    color: var(--white);
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    box-shadow: 0 8px 25px rgba(187, 32, 37, 0.3);
    transition: all 0.3s ease;
}

.budget-realization-section .section-badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(187, 32, 37, 0.4);
}

.budget-realization-section .section-title {
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 1rem;
    background: linear-gradient(
        135deg,
        var(--primary-color) 0%,
        var(--primary-light) 100%
    );
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.budget-realization-section .section-subtitle {
    font-size: 0.875rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    font-weight: 400;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.budget-realization-section .progress-bar {
    width: 100px;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: 2px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

.budget-realization-section .progress-bar::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.8),
        transparent
    );
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

@media (min-width: 992px) {
    .budget-realization-section .section-badge {
        font-size: 1.1rem;
    }

    .budget-realization-section .section-title {
        font-size: 2.5rem;
    }

    .budget-realization-section .section-subtitle {
        font-size: 1.1rem;
    }

    .budget-realization-section .progress-bar {
        max-width: 20% !important;
    }

    .budget-realization-section .btn-cta-enhanced {
        font-size: 1.2rem !important;
    }
}

.budget-realization-section {
    padding: 4rem 0;
    background: #f9fafc;
}

.budget-realization-section .section-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.budget-realization-section .section-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--primary-color, #bb2025);
    color: #fff;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

/* Grid Card */
.budget-cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .budget-cards {
        grid-template-columns: 1fr 1fr; /* 2 card per baris */
    }
}

/* Modern Card */
.budget-card {
    background: #ffffff;
    border-radius: 1rem;
    padding: 1.8rem;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.budget-card:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

/* Title */
.budget-card .region-wrapper {
    text-align: center;
    margin-bottom: 1.5rem;
}

.budget-card .region-name {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary-color, #bb2025);
    margin-bottom: 1rem;
}

.budget-card .region-underline {
    height: 4px;
    width: 20%;
    margin: 0 auto;
    border-radius: 2px;
    background: var(--gradient-primary);
    background-size: 200% 100%;
    animation: shine 3s linear infinite;
}

@keyframes shine {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

/* Budget Info - Mobile First (vertikal) */
.budget-info {
    display: flex;
    flex-direction: column; /* default vertikal */
    gap: 1rem;
    margin-bottom: 1.2rem;
}

/* Hilangkan garis divider di mode vertikal */
.budget-item::after {
    display: none;
}

/* Budget Item */
.budget-item {
    position: relative;
    background: #f9fafb;
    padding: 1rem;
    border-radius: 10px;
    text-align: center;
    transition: background 0.3s ease, transform 0.3s ease;
}

.budget-item:hover {
    background: #f3f4f6;
    transform: translateY(-2px);
}

/* Label & Value */
.budget-item .label {
    display: block;
    font-size: 0.8rem;
    color: #666;
    margin-bottom: 0.4rem;
    font-weight: 500;
}

.budget-item .value {
    font-size: 1.4rem;
    font-weight: 800;
    color: #111;
    animation: fadeUp 0.5s ease-in-out;
}

/* Progress Bar */
.budget-card .progress-bar {
    height: 10px;
    border-radius: 6px;
    background: #e5e7eb;
    overflow: hidden;
    margin-top: 0.8rem;
}

.budget-card .progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color, #bb2025), #e63946);
    border-radius: 6px;
    transition: width 0.5s ease;
}

/* Desktop & Tablet (>=768px) - Horizontal */
@media (min-width: 768px) {
    .budget-info {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        grid-template-areas:
            "pagu realisasi"
            "persentase persentase";
        gap: 1rem;
    }

    .budget-item {
        min-width: 0; /* biar fleksibel */
        padding: 1.5rem;
    }

    .budget-item::after {
        display: none; /* hilangkan divider vertikal */
    }

    .budget-item.pagu {
        grid-area: pagu;
    }
    .budget-item.realisasi {
        grid-area: realisasi;
    }
    .budget-item.persentase {
        grid-area: persentase;
    }
}
/* End Budget Realization Section */

/* Start About Section */
.about-section {
    padding: 5rem 0;
    background: linear-gradient(
        135deg,
        var(--secondary-color) 0%,
        #ffffff 100%
    );
    position: relative;
    overflow: hidden;
}

.about-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="%23bb2025" opacity="0.03"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    pointer-events: none;
}

.about-section .progress-bar {
    width: 100px;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: 2px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

.about-section .progress-bar::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.8),
        transparent
    );
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

.about-text {
    font-size: 0.9rem;
    line-height: 1.8;
    color: var(--text-light);
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

@media (min-width: 992px) {
    .about-section h2 {
        font-size: 2.5rem !important;
    }

    .about-section .progress-bar {
        max-width: 20% !important;
    }

    .about-section .about-text {
        font-size: 1.1rem;
        max-width: 800px;
    }
}
/* End About Section */

/* Start Stats Section */
.stats-section {
    background: var(--gradient-primary);
    padding: 4rem 0;
    position: relative;
    overflow: hidden;
}

.stats-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="dots" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="%23ffffff" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23dots)"/></svg>');
    pointer-events: none;
}

.stat-item {
    text-align: center;
    padding: 2rem 1rem;
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--white);
    line-height: 1;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.stat-item:hover .stat-number {
    transform: scale(1.1);
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.4);
}

.stat-label {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    font-weight: 500;
    margin-top: 0.5rem;
    transition: all 0.3s ease;
}

.stat-item:hover .stat-label {
    color: var(--white);
    transform: scale(1.05);
}
/* End Stats Section */

/* Start Feature Section */
.feature-section {
    padding: 4rem 0;
    background: linear-gradient(
        135deg,
        var(--secondary-color) 0%,
        #ffffff 100%
    );
    position: relative;
    overflow: hidden;
}

.feature-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="%23bb2025" opacity="0.03"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    pointer-events: none;
}

.feature-section .feature-card {
    background: var(--white);
    border-radius: var(--border-radius);
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: var(--shadow);
    border: none;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.feature-section .feature-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--gradient-primary);
    transition: width 0.3s ease;
}

.feature-section .feature-card::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(187, 32, 37, 0.05) 0%,
        rgba(255, 71, 87, 0.05) 100%
    );
    opacity: 0;
    transition: opacity 0.3s ease;
}

.feature-section .feature-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--shadow-hover);
}

.feature-section .feature-card:hover::before {
    width: 8px;
}

.feature-section .feature-card:hover::after {
    opacity: 1;
}

.feature-section .feature-card .feature-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient-primary);
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--white);
    font-size: 1.8rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-section .feature-card .feature-icon::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transition: all 0.3s ease;
    transform: translate(-50%, -50%);
}

.feature-section .feature-card:hover .feature-icon {
    transform: rotate(360deg) scale(1.1);
}

.feature-section .feature-card:hover .feature-icon::before {
    width: 100%;
    height: 100%;
}

.feature-section .feature-card h4 {
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1rem;
    transition: color 0.3s ease;
}

.feature-section .feature-card:hover h4 {
    color: var(--primary-color);
}

.feature-section .feature-card p {
    color: var(--text-light);
    line-height: 1.6;
    transition: color 0.3s ease;
}

.feature-section .feature-card:hover p {
    color: var(--text-dark);
}

.feature-section .feature-badge {
    background: var(--gradient-primary);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    margin: 0.25rem;
    display: inline-block;
    transition: all 0.3s ease;
    cursor: pointer;
}

.feature-section .feature-badge:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 4px 15px rgba(187, 32, 37, 0.3);
}

.feature-section .progress-bar {
    width: 100px;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: 2px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

.feature-section .progress-bar::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.8),
        transparent
    );
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

@media (min-width: 992px) {
    .feature-section h2 {
        font-size: 2.5rem !important;
    }

    .feature-section .progress-bar {
        max-width: 20% !important;
    }
}
/* End Feature Section */

/* Start Programs Section */
.programs-section {
    padding: 4rem 0;
    background: linear-gradient(
        135deg,
        var(--secondary-color) 0%,
        #ffffff 100%
    );
    position: relative;
    overflow: hidden;
}

.programs-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(
            circle at 10% 20%,
            rgba(187, 32, 37, 0.05) 0%,
            transparent 50%
        ),
        radial-gradient(
            circle at 90% 80%,
            rgba(255, 71, 87, 0.05) 0%,
            transparent 50%
        );
    pointer-events: none;
}

.programs-section .section-header {
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
}

.programs-section .section-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--gradient-primary);
    color: var(--white);
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    box-shadow: 0 8px 25px rgba(187, 32, 37, 0.3);
    transition: all 0.3s ease;
}

.programs-section .section-badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(187, 32, 37, 0.4);
}

.programs-section .section-title {
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 1rem;
    background: linear-gradient(
        135deg,
        var(--primary-color) 0%,
        var(--primary-light) 100%
    );
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.programs-section .section-subtitle {
    font-size: 0.875rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    font-weight: 400;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.programs-section .progress-bar {
    width: 100px;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: 2px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

.programs-section .progress-bar::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.8),
        transparent
    );
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

@media (min-width: 992px) {
    .programs-section .section-badge {
        font-size: 1.1rem;
    }

    .programs-section .section-title {
        font-size: 2.5rem;
    }

    .programs-section .section-subtitle {
        font-size: 1.1rem;
    }

    .programs-section .progress-bar {
        max-width: 20% !important;
    }

    .programs-section .btn-cta-enhanced {
        font-size: 1.2rem !important;
    }
}
/* End Programs Section */

/* Start Article Grid */
.articles-grid-enhanced {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.article-card-enhanced {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
}

.article-card-enhanced::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.2),
        transparent
    );
    transition: left 0.6s ease;
    z-index: 1;
}

.article-card-enhanced:hover::before {
    left: 100%;
}

.article-card-enhanced:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 25px 60px rgba(187, 32, 37, 0.15);
}

.article-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(
        circle,
        rgba(187, 32, 37, 0.1) 0%,
        transparent 70%
    );
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.article-card-enhanced:hover .article-glow {
    opacity: 1;
}

/* Enhanced Article Image */
.article-image-enhanced {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.image-link {
    display: block;
    width: 100%;
    height: 100%;
    position: relative;
}

.article-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.article-card-enhanced:hover .article-img {
    transform: scale(1.1);
}

.image-overlay-enhanced {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(187, 32, 37, 0.8) 0%,
        rgba(255, 71, 87, 0.8) 100%
    );
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
}

.article-card-enhanced:hover .image-overlay-enhanced {
    opacity: 1;
}

.overlay-content {
    color: var(--white);
    text-align: center;
    font-weight: 600;
    font-size: 1.1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.overlay-content i {
    font-size: 1.5rem;
}

/* Enhanced Badges */
.category-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: var(--gradient-primary);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 4px 15px rgba(187, 32, 37, 0.3);
    z-index: 2;
}

.date-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(0, 0, 0, 0.7);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    backdrop-filter: blur(10px);
    z-index: 2;
}

/* Enhanced Article Content */
.article-content-enhanced {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 2;
}

.article-header {
    margin-bottom: 1rem;
}

.article-title-enhanced {
    margin: 0 0 1rem;
    font-size: 1.2rem;
    font-weight: 700;
    line-height: 1.4;
    transition: color 0.3s ease;
}

.article-title-enhanced a {
    color: var(--text-dark);
    text-decoration: none;
    transition: color 0.3s ease;
}

.article-card-enhanced:hover .article-title-enhanced a {
    color: var(--primary-color);
}

.article-meta-enhanced {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-light);
    font-size: 0.85rem;
    font-weight: 500;
}

.meta-item i {
    color: var(--primary-color);
    font-size: 0.8rem;
}

.article-excerpt-enhanced {
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex: 1;
}

/* Enhanced Read More Button */
.article-footer-enhanced {
    margin-top: auto;
}

.read-more-btn-enhanced {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    padding: 0.75rem 1.5rem;
    border: 2px solid var(--primary-color);
    border-radius: 25px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.read-more-btn-enhanced::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    transition: left 0.3s ease;
    z-index: -1;
}

.read-more-btn-enhanced:hover::before {
    left: 0;
}

.read-more-btn-enhanced:hover {
    color: var(--white);
    transform: translateX(5px);
    text-decoration: none;
}

.read-more-btn-enhanced i {
    transition: transform 0.3s ease;
}

.read-more-btn-enhanced:hover i {
    transform: translateX(3px);
}

/* Enhanced CTA Button */
.section-cta-enhanced {
    text-align: center;
    margin-bottom: 2rem;
}

.btn-cta-enhanced {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    background: var(--gradient-primary);
    color: var(--white);
    padding: 1.25rem 2.5rem;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 15px 35px rgba(187, 32, 37, 0.3);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.btn-cta-enhanced::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.2),
        transparent
    );
    transition: left 0.6s ease;
}

.btn-cta-enhanced:hover::before {
    left: 100%;
}

.btn-cta-enhanced:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 25px 50px rgba(187, 32, 37, 0.4);
    color: var(--white);
    text-decoration: none;
}

.btn-shine {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.4),
        transparent
    );
    transition: left 0.6s ease;
}

.btn-cta-enhanced:hover .btn-shine {
    left: 100%;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 4rem 2rem;
    color: var(--text-light);
}

.empty-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: var(--white);
}

.empty-state h3 {
    margin-bottom: 1rem;
    color: var(--text-dark);
}
/* End Article Grid */

/* Start Feedback Section */
.feedback-section {
    position: relative;
    padding: 4rem 0;
    background: linear-gradient(
        135deg,
        var(--secondary-color) 0%,
        #ffffff 100%
    );
    overflow: hidden;
}

.feedback-background-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(
            circle at 20% 20%,
            rgba(187, 32, 37, 0.05) 0%,
            transparent 50%
        ),
        radial-gradient(
            circle at 80% 80%,
            rgba(255, 71, 87, 0.05) 0%,
            transparent 50%
        );
    pointer-events: none;
}

.feedback-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
}

.particle {
    position: absolute;
    background: rgba(187, 32, 37, 0.1);
    border-radius: 50%;
    animation: float 8s ease-in-out infinite;
}

.particle-1 {
    width: 60px;
    height: 60px;
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.particle-2 {
    width: 40px;
    height: 40px;
    top: 60%;
    right: 15%;
    animation-delay: 2s;
}

.particle-3 {
    width: 80px;
    height: 80px;
    bottom: 30%;
    left: 20%;
    animation-delay: 4s;
}

.particle-4 {
    width: 30px;
    height: 30px;
    top: 40%;
    right: 30%;
    animation-delay: 1s;
}

@keyframes float {
    0%,
    100% {
        transform: translateY(0) rotate(0deg);
        opacity: 0.7;
    }
    50% {
        transform: translateY(-20px) rotate(180deg);
        opacity: 1;
    }
}

.feedback-content-wrapper {
    position: relative;
    z-index: 3;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.feedback-header {
    margin-bottom: 0.875rem;
}

.feedback-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--gradient-primary);
    color: var(--white);
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    box-shadow: 0 8px 25px rgba(187, 32, 37, 0.3);
    transition: all 0.3s ease;
}

.feedback-badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(187, 32, 37, 0.4);
}

.feedback-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    background: linear-gradient(
        135deg,
        var(--primary-color) 0%,
        var(--primary-light) 100%
    );
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.feedback-description {
    font-size: 1rem;
    color: var(--text-light);
    line-height: 1.6;
    opacity: 0.9;
    margin-bottom: 0;
}

@media (min-width: 992px) {
    .feedback-content-wrapper {
        flex-direction: row;
        align-items: flex-start;
        gap: 60px;
    }

    .feedback-content {
        flex: 1;
    }

    .feedback-form {
        flex: 1;
    }

    .feedback-title {
        font-size: 2.5rem;
    }

    .feedback-description {
        font-size: 1.1rem;
    }
}

.contact-card-wrapper {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 30px;
}

.contact-card {
    position: relative;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 20px;
    padding: 1.5rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column; /* default: mobile = column */
    align-items: center;
    text-align: center;
    gap: 1rem;
    overflow: hidden;
}

.contact-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.2),
        transparent
    );
    transition: left 0.6s ease;
}

.contact-card:hover::before {
    left: 100%;
}

.contact-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 60px rgba(187, 32, 37, 0.15);
}

.contact-card-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(
        circle,
        rgba(187, 32, 37, 0.1) 0%,
        transparent 70%
    );
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.contact-card:hover .contact-card-glow {
    opacity: 1;
}

@media (min-width: 768px) {
    .contact-card {
        flex-direction: row; /* tablet+ = sejajar horizontal */
        align-items: center;
        text-align: left;
    }
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.5rem;
    box-shadow: 0 8px 25px rgba(187, 32, 37, 0.3);
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.contact-card:hover .contact-icon {
    transform: scale(1.1) rotate(5deg);
}

.contact-details h5 {
    margin: 0 0 0.5rem;
    font-weight: 700;
    color: var(--text-dark);
    font-size: 1.1rem;
}

.contact-details p {
    margin: 0;
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.5;
}

.contact-details a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.contact-details a:hover {
    color: var(--primary-dark);
}

.form-container {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.form-container::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-primary);
}

.form-header {
    text-align: center;
    margin-bottom: 2rem;
}

.form-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--gradient-primary);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.form-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.form-subtitle {
    color: var(--text-light);
    font-size: 0.9rem;
    margin: 0;
}

.feedback-form .form-group {
    margin-bottom: 1.25rem;
}

.feedback-form .form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-dark);
    font-size: 0.9rem;
}

.feedback-form .form-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

/* Input/Select dengan space kiri untuk icon */
.feedback-form .form-control {
    width: 100%;
    padding: 1rem 1rem 1rem 3rem; /* space kiri buat icon */
    border: 2px solid #e9ecef;
    border-radius: 12px;
    font-size: 0.95rem;
    appearance: none; /* hilangkan default arrow select */
    transition: all 0.3s ease;
    background: var(--white);
}

/* Focus style */
.feedback-form .form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(187, 32, 37, 0.1);
    transform: translateY(-2px);
}

/* Icon di kiri */
.feedback-form .form-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--primary-color);
    font-size: 1rem;
    pointer-events: none;
    transition: color 0.3s ease;
}

/* Invalid input */
.feedback-form .form-control.is-invalid {
    border-color: #dc3545;
}

/* Icon ikut merah saat invalid */
.feedback-form .form-control.is-invalid ~ .form-icon {
    color: #dc3545 !important;
}

/* Tetap merah walau fokus */
.feedback-form .form-control.is-invalid:focus ~ .form-icon {
    color: #dc3545 !important;
}

.feedback-form .invalid-feedback {
    display: block;
    visibility: visible !important;
    opacity: 1 !important;
    color: #dc3545;
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

/* Wrapper untuk checkbox */
.checkbox-wrapper {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    flex-wrap: wrap;
}

/* Sembunyikan checkbox asli */
.form-checkbox-enhanced {
    display: none;
}

/* Custom checkbox */
.checkbox-custom {
    width: 20px;
    height: 20px;
    border: 2px solid #e9ecef;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    flex-shrink: 0;
    margin-top: 2px;
    background-color: var(--white);
    position: relative;
}

/* Tanda centang muncul saat checked */
.form-checkbox-enhanced:checked + .checkbox-label .checkbox-custom::after {
    content: "✓";
    color: var(--white);
    font-size: 0.8rem;
    font-weight: bold;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* Background saat checkbox dicentang */
.form-checkbox-enhanced:checked + .checkbox-label .checkbox-custom {
    background: var(--gradient-primary);
    border-color: var(--primary-color);
}

/* Label checkbox */
.checkbox-label {
    font-size: 0.9rem;
    color: var(--text-dark);
    line-height: 1.5;
    cursor: pointer;
    display: flex;
    align-items: flex-start;
    gap: 0.5rem; /* jarak label dan checkbox */
    flex-wrap: wrap;
}

/* Link di label */
.privacy-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.privacy-link:hover {
    color: var(--primary-dark);
}

/* Responsive: di mobile, icon di atas label */
@media (max-width: 576px) {
    .checkbox-wrapper {
        flex-direction: column;
        align-items: flex-start;
    }

    .checkbox-label {
        flex-direction: row;
        align-items: center;
    }
}

.feedback-form .btn-submit-enhanced {
    position: relative;
    width: 100%;
    background: var(--gradient-primary);
    color: var(--white);
    padding: 1.25rem 2rem;
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(187, 32, 37, 0.3);
}

.feedback-form .btn-submit-enhanced::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.2),
        transparent
    );
    transition: left 0.6s ease;
}

.feedback-form .btn-submit-enhanced:hover::before {
    left: 100%;
}

.feedback-form .btn-submit-enhanced:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 15px 35px rgba(187, 32, 37, 0.4);
}

.feedback-form .btn-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    position: relative;
    z-index: 2;
}

.feedback-form .btn-shine {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.4),
        transparent
    );
    transition: left 0.6s ease;
}

.feedback-form .btn-submit-enhanced:hover .btn-shine {
    left: 100%;
}
/* End Feedback Section */

/* Start CTA Section */
/* ================================
   CTA Section (Mobile First)
================================== */
.cta-section {
    position: relative;
    padding: 3rem 1rem;
    background: var(--gradient-primary);
    overflow: hidden;
    text-align: center;
}

/* Background Overlay */
.cta-background-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(
            circle at 20% 20%,
            rgba(255, 255, 255, 0.1) 0%,
            transparent 50%
        ),
        radial-gradient(
            circle at 80% 80%,
            rgba(255, 255, 255, 0.08) 0%,
            transparent 50%
        ),
        radial-gradient(
            circle at 40% 40%,
            rgba(255, 71, 87, 0.1) 0%,
            transparent 50%
        );
    pointer-events: none;
}

/* Particles */
.cta-particles {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.particle {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

.particle-1 {
    width: 60px;
    height: 60px;
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}
.particle-2 {
    width: 40px;
    height: 40px;
    top: 60%;
    right: 15%;
    animation-delay: 2s;
}
.particle-3 {
    width: 80px;
    height: 80px;
    bottom: 30%;
    left: 20%;
    animation-delay: 4s;
}
.particle-4 {
    width: 30px;
    height: 30px;
    top: 40%;
    right: 30%;
    animation-delay: 1s;
}

@keyframes float {
    0%,
    100% {
        transform: translateY(0) rotate(0deg);
        opacity: 0.7;
    }
    50% {
        transform: translateY(-20px) rotate(180deg);
        opacity: 1;
    }
}

/* Content Wrapper */
.cta-content-wrapper {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

/* Badge */
.cta-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.15);
    color: var(--white);
    padding: 0.75rem 1rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}
.cta-badge:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
}

/* Title */
.cta-title {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 1rem;
    line-height: 1.3;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Description */
.cta-description {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 2rem;
    line-height: 1.6;
    max-width: 90%;
    margin-inline: auto;
}

/* Actions */
.cta-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
    width: 100%;
}

.btn-cta-primary,
.btn-cta-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

/* Primary Button */
.btn-cta-primary {
    position: relative;
    background: var(--white);
    color: var(--primary-color);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    border: none;
}
.btn-cta-primary::before {
    content: "";
    position: absolute;
    inset: 0;
    left: -100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(187, 32, 37, 0.1),
        transparent
    );
    transition: left 0.6s ease;
}
.btn-cta-primary:hover::before {
    left: 100%;
}
.btn-cta-primary:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

/* Secondary Button */
.btn-cta-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}
.btn-cta-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-5px) scale(1.05);
}

/* Trust Indicators */
.cta-trust-indicators {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}
.trust-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
    font-weight: 500;
}
.trust-icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}
.trust-item:hover .trust-icon {
    background: rgba(255, 255, 255, 0.25);
    transform: scale(1.1);
}
.trust-icon i {
    color: var(--white);
    font-size: 1rem;
}

/* Visual Card */
.cta-visual-element {
    margin-top: 2rem;
    display: flex;
    justify-content: center;
}
.floating-card {
    position: relative;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 1.5rem;
    text-align: center;
    color: var(--white);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
    animation: floatCard 3s ease-in-out infinite;
}
.card-glow {
    position: absolute;
    inset: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(
        circle,
        rgba(255, 71, 87, 0.3) 0%,
        transparent 70%
    );
    animation: rotate 4s linear infinite;
}
.card-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.5rem;
}
.floating-card h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}
.floating-card p {
    font-size: 0.9rem;
    opacity: 0.85;
    margin: 0;
}

@keyframes floatCard {
    0%,
    100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}
@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* ================================
   Desktop / Tablet Enhancements
================================== */
@media (min-width: 768px) {
    .cta-section {
        padding: 5rem 2rem;
    }
    .cta-content-wrapper {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
    .cta-main-content {
        text-align: left;
        flex: 1;
    }
    .cta-title {
        font-size: 2.5rem;
    }
    .cta-description {
        max-width: 600px;
        margin-inline: 0;
    }
    .cta-actions {
        flex-direction: row;
        max-width: none;
    }
    .cta-trust-indicators {
        flex-direction: row;
        justify-content: flex-start;
    }
    .cta-visual-element {
        flex: 1;
        margin-top: 0;
    }
}

@media (min-width: 992px) {
    .cta-title {
        font-size: 3rem;
    }

    .cta-main-content {
        flex: 2;
    }

    .cta-description {
        font-size: 1.2rem;
    }

    .btn-cta-primary {
        padding: 1.25rem 2.5rem;
        font-size: 1.1rem;
    }

    .cta-actions {
        justify-content: start;
    }
}

/* End CTA Section */

/* ============================
   Footer Styles Refactored
   ============================ */
/* Footer General */
.footer {
    position: relative;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 50%, #1a1a1a 100%);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: #fff;
    padding: 1rem;
    overflow: hidden;
}

/* Background Gradient Overlay */
.footer::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        45deg,
        rgba(187, 32, 37, 0.1) 0%,
        rgba(255, 71, 87, 0.05) 50%,
        rgba(187, 32, 37, 0.1) 100%
    );
    z-index: 1;
    pointer-events: none;
}

/* Container */
.footer .container {
    position: relative;
    z-index: 2;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-radius: 20px;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

/* Background Logo Floating Animation */
.footer-bg-logo {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 0;
    pointer-events: none;
}

.footer-bg-image {
    width: 300px;
    height: 300px;
    opacity: 0.08;
    transform: scale(1.2);
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%,
    100% {
        transform: translateY(0) scale(1.2);
    }
    50% {
        transform: translateY(-15px) scale(1.25);
    }
}

/* Headings */
.footer h5 {
    font-weight: 600;
    margin-bottom: 1rem;
    position: relative;
    z-index: 2;
}

/* Links */
.footer a {
    color: var(--white);
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
}

.footer a:hover {
    color: #bb2025;
    transform: translateX(5px);
}

.footer a::before {
    content: "";
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #bb2025, #ff4757);
    transition: width 0.3s ease;
}

.footer a:hover::before {
    width: 100%;
}

/* Footer Brand Logo */
.footer .d-flex img {
    height: 80px;
    width: auto;
    object-fit: contain;
}

/* Social Media Icons */
.footer .social-icons a {
    color: #fff;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.footer .social-icons a:hover {
    color: #ff4757;
    transform: translateY(-3px);
}

.footer .contact-list i {
    color: var(--primary-color);
}

/* Responsive Footer */
@media (max-width: 991.98px) {
    .footer .row {
        text-align: center;
    }

    .footer .col-lg-3 {
        margin-bottom: 2rem;
    }

    .footer .d-flex {
        flex-direction: column;
        align-items: center;
    }

    .footer .d-flex img {
        margin-bottom: 0.5rem;
    }

    .footer p,
    .footer small {
        text-align: center;
    }
}

/* // Medium devices (tablets, 768px and up) */
@media (min-width: 768px) {
    #main-navbar .nav-link {
        margin-right: 0.25rem;
    }

    .footer {
        padding: 2.5rem 0;
    }

    .footer .d-flex img {
        height: 60px;
    }
}

/* // Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
}

/* // X-Large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
}

/* // XX-Large devices (larger desktops, 1400px and up) */
@media (min-width: 1400px) {
}

/* Start Custom Pagination */
/* Wrapper Pagination */
#custom-paginator .pagination {
    gap: 0.4rem; /* Jarak antar item */
}

/* Default tombol */
#custom-paginator .page-item .nav-link {
    border-radius: 8px;
    padding: 0.4rem 0.75rem;
    font-size: 0.9rem;
    color: var(--primary-color, #0d6efd);
    border: 1px solid var(--primary-color, #0d6efd);
    background: transparent;
    transition: all 0.3s ease;
}

/* Hover effect */
#custom-paginator .page-item .nav-link:hover {
    background: var(--primary-color, #0d6efd);
    color: #fff;
    transform: translateY(-2px);
}

/* Active (halaman sekarang) */
#custom-paginator .page-item.active .nav-link {
    background: var(--primary-color, #0d6efd);
    color: #fff !important;
    border-color: var(--primary-color, #0d6efd);
    font-weight: 600;
    cursor: default;
    transform: none;
}

/* Disabled */
#custom-paginator .page-item.disabled .nav-link {
    color: #aaa !important;
    border-color: #ddd;
    background: #f8f9fa;
    cursor: not-allowed;
    opacity: 0.6;
    transform: none;
}

/* Ellipsis */
#custom-paginator .page-item.disabled .nav-link {
    background: transparent;
    border: none;
    cursor: default;
    opacity: 1;
    font-weight: bold;
}

/* Transisi halus */
#custom-paginator .nav-link {
    transition: all 0.25s ease-in-out;
}

/* Responsive */
@media (max-width: 576px) {
    #custom-paginator .page-item .nav-link {
        font-size: 0.8rem;
        padding: 0.3rem 0.55rem;
    }
}

/* End Custom Pagination */

/* Start Dashboard SKM Section */
.dashboard-hero-enhanced {
    position: relative;
    overflow: hidden;
    background: var(--gradient-primary);
    color: var(--white);
    padding: 2rem;
    border-radius: 20px;
    margin-bottom: 2rem;
    box-shadow: 0 20px 40px rgba(187, 32, 37, 0.3);
}

.dashboard-hero-enhanced::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(
            1200px 300px at -10% 0%,
            rgba(255, 255, 255, 0.12),
            transparent 40%
        ),
        radial-gradient(
            800px 200px at 110% 100%,
            rgba(255, 255, 255, 0.08),
            transparent 40%
        );
    pointer-events: none;
}

.dashboard-hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    position: relative;
    z-index: 2;
}

.dashboard-hero-text h3 {
    margin: 0 0 0.5rem;
    font-weight: 800;
    font-size: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.dashboard-hero-text p {
    margin: 0;
    opacity: 0.95;
    font-size: 0.9rem;
}

.dashboard-badge-enhanced {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.18);
    color: var(--white);
    padding: 0.75rem 1.25rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.dashboard-badge-enhanced:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
}

/* Enhanced Dashboard Controls */
.dashboard-controls-enhanced {
    display: flex;
    gap: 1rem;
    align-items: center;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.75);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.7);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.control-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.control-group label {
    color: var(--text-dark);
    font-weight: 700;
    font-size: 0.9rem;
}

.control-select {
    background: var(--white);
    color: var(--text-dark);
    border: 1px solid #e9ecef;
    border-radius: 12px;
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    min-width: 200px;
}

.control-select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(187, 32, 37, 0.12);
}

.summary-pill-enhanced {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: var(--gradient-primary);
    color: var(--white);
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    box-shadow: 0 8px 25px rgba(187, 32, 37, 0.3);
    transition: all 0.3s ease;
}

.summary-pill-enhanced:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(187, 32, 37, 0.4);
}

.summary-pill-enhanced i {
    font-size: 0.8rem;
}

/* Enhanced KPIs */
.dashboard-kpis-enhanced {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.dashboard-card-enhanced {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 20px;
    padding: 1.5rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.dashboard-card-enhanced::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.2),
        transparent
    );
    transition: left 0.6s ease;
}

.dashboard-card-enhanced:hover::before {
    left: 100%;
}

.dashboard-card-enhanced:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 60px rgba(187, 32, 37, 0.15);
}

.kpi-card-enhanced {
    position: relative;
}

.kpi-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.kpi-left {
    flex: 1;
}

.kpi-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-light);
    margin: 0 0 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.kpi-value {
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-dark);
    line-height: 1;
}

.kpi-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.5rem;
    box-shadow: 0 8px 25px rgba(187, 32, 37, 0.3);
    transition: all 0.3s ease;
}

.kpi-card-enhanced:hover .kpi-icon {
    transform: scale(1.1) rotate(5deg);
}

.grade-badge {
    background: var(--gradient-primary);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 15px;
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.kpi-progress {
    height: 4px;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 2px;
    overflow: hidden;
}

.progress-bar-kpi {
    height: 100%;
    background: var(--gradient-primary);
    border-radius: 2px;
    width: 0;
    transition: width 1s ease;
}

/* Enhanced Charts */
.charts-row-enhanced {
    /* display: grid; */
    /* grid-template-columns: repeat(12, 1fr); */
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.chart-card-enhanced {
    position: relative;
}

.chart-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
}

.chart-header h4 {
    margin: 0;
    font-weight: 700;
    color: var(--text-dark);
    font-size: 1.1rem;
}

.chart-badge {
    width: 40px;
    height: 40px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1rem;
    box-shadow: 0 4px 15px rgba(187, 32, 37, 0.3);
}

.chart-container {
    height: 380px;
    position: relative;
}

.chart-container-large {
    height: 460px;
    position: relative;
}

.chart-container-small {
    height: 320px;
    position: relative;
}

.chart-footer {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
    padding: 0.75rem;
    background: rgba(0, 0, 0, 0.05);
    border-radius: 10px;
    font-size: 0.85rem;
    color: var(--text-light);
}

.chart-footer i {
    color: var(--primary-color);
    font-size: 0.8rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .dashboard-hero-content {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .dashboard-controls-enhanced {
        flex-direction: column;
        align-items: stretch;
    }

    .summary-pill-enhanced {
        justify-content: center;
    }

    /* .charts-row-enhanced {
    grid-template-columns: 1fr;
  } */

    .section-title-enhanced {
        font-size: 2rem;
    }
}

@media (max-width: 576px) {
    .dashboard-kpis-enhanced {
        grid-template-columns: 1fr;
    }

    .kpi-content {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .section-title-enhanced {
        font-size: 1.75rem;
    }
}
/* End Dashboard SKM Section */

/* Floating Music Player Styles */
.floating-music-player {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999;
    font-family: "Segoe UI", -apple-system, BlinkMacSystemFont, sans-serif;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.music-player-container {
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 15px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    min-width: 300px;
    max-width: 350px;
    position: relative;
    overflow: hidden;
}

.music-player-container::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(187, 32, 37, 0.1),
        transparent
    );
    transition: left 0.6s ease;
}

.music-player-container:hover::before {
    left: 100%;
}

/* Music Icon */
.music-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: linear-gradient(
        135deg,
        var(--primary-color) 0%,
        var(--primary-light) 100%
    );
    border-radius: 50%;
    margin: 0 auto 15px;
    color: white;
    font-size: 1.2rem;
    box-shadow: 0 4px 15px rgba(187, 32, 37, 0.3);
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
    cursor: pointer;
}

.music-icon:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(187, 32, 37, 0.4);
}

@keyframes pulse {
    0% {
        box-shadow: 0 4px 15px rgba(187, 32, 37, 0.3);
    }
    50% {
        box-shadow: 0 4px 15px rgba(187, 32, 37, 0.6),
            0 0 0 10px rgba(187, 32, 37, 0.1);
    }
    100% {
        box-shadow: 0 4px 15px rgba(187, 32, 37, 0.3);
    }
}

/* Player Controls */
.player-controls {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.control-buttons {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.control-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.control-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.control-btn.active {
    background: var(--primary-color);
    border-color: var(--primary-light);
    box-shadow: 0 4px 15px rgba(187, 32, 37, 0.3);
}

/* Volume Slider */
.volume-slider-container {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 10px;
}

.volume-slider {
    flex: 1;
    height: 4px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 2px;
    outline: none;
    cursor: pointer;
    -webkit-appearance: none;
}

.volume-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 16px;
    height: 16px;
    background: var(--primary-color);
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.volume-slider::-webkit-slider-thumb:hover {
    transform: scale(1.2);
    box-shadow: 0 4px 12px rgba(187, 32, 37, 0.4);
}

.volume-slider::-moz-range-thumb {
    width: 16px;
    height: 16px;
    background: var(--primary-color);
    border-radius: 50%;
    cursor: pointer;
    border: none;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

.volume-value {
    color: white;
    font-size: 0.8rem;
    font-weight: 600;
    min-width: 35px;
    text-align: center;
}

/* Progress Bar */
.progress-container {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.progress-bar {
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 2px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(
        90deg,
        var(--primary-color) 0%,
        var(--primary-light) 100%
    );
    border-radius: 2px;
    width: 0%;
    transition: width 0.1s ease;
    position: relative;
}

.progress-fill::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.3),
        transparent
    );
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

.time-display {
    display: flex;
    justify-content: space-between;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.75rem;
    font-weight: 500;
}

/* Toggle Button */
.toggle-player {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.8rem;
}

.toggle-player:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

/* Collapsed State */
.floating-music-player.collapsed .player-controls {
    display: none !important;
}

.floating-music-player.collapsed .music-player-container {
    min-width: auto;
    max-width: 80px;
    padding: 15px;
}

.floating-music-player.collapsed .toggle-player i {
    transform: rotate(180deg);
}

/* Responsive */
@media (max-width: 768px) {
    .floating-music-player {
        bottom: 10px;
        right: 10px;
        left: 10px;
    }

    .music-player-container {
        min-width: auto;
        max-width: none;
    }
}

/* Animation for show/hide */
.floating-music-player.hidden {
    transform: translateY(100px);
    opacity: 0;
    pointer-events: none;
}

/* Visual feedback for playing state */
.music-player-container.playing .music-icon {
    animation: musicPulse 1.5s infinite;
}

@keyframes musicPulse {
    0%,
    100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

/* Loading state */
.music-player-container.loading .music-icon {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}
