/* style.css */
/* Reset dan Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f9f9f9;
}

.container {
    width: 100%;
    max-width: 1250px;
    margin: 0 auto;
    padding: 0 0px;
}


/* Header Styles */
header {
    position: relative;
    color: white;
    height: 180px;
    overflow: hidden;
    width: 100%;
}

.header-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
    background: linear-gradient(135deg, rgba(30, 87, 153, 0.8) 0%, rgba(41, 137, 216, 0.8) 100%);
    background-size: cover;
    background-position: center;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    height: 100%;
}

.header-content {
    position: relative;
    z-index: 2;
    display: flex;
    height: 100%;
    align-items: center;
    justify-content: space-between;
}

/* Left Section - Village Identity */
.desa-identity {
    display: flex;
    align-items: center;
    gap: 15px;
    height: 100%;
}

.logo-desa {
    width: 100px;
    height: 100px;
    flex-shrink: 0;
    object-fit: contain;
}

.desa-text {
    text-align: left;
    color: white;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}

/* Text Animation */
.animated-title {
    font-size: 2.5rem;
    margin: 0 0 2px 0;
    line-height: 1;
    background: linear-gradient(90deg, #ffffff, #f1c40f, #e67e22, #ffffff);
    background-size: 300% auto;
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    animation: gradient 5s linear infinite;
}

@keyframes gradient {
    0% { background-position: 0% center; }
    100% { background-position: 100% center; }
}

/* Color Changing Animation */
.color-changing {
    font-size: 2.5rem;
    margin: 0 0 2px 0;
    line-height: 1;
    animation: colorChange 6s infinite;
}

@keyframes colorChange {
    0% { color: #ffffff; }
    20% { color: #f1c40f; }
    40% { color: #e67e22; }
    60% { color: #2ecc71; }
    80% { color: #3498db; }
    100% { color: #ffffff; }
}

.desa-text h2 {
    margin: 0;
    font-size: 1rem;
    line-height: 1.2;
    letter-spacing: 0.5px;
    color: white;
}

/* Right Section - Regent Photo Card */
.pemkab-profile {
    height: 100%;
    display: flex;
    align-items: flex-end;
    perspective: 1000px;
}

.pemkab-img-container {
    position: relative;
    width: 100%;
    max-width: 350px;
    height: 100%;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.pemkab-img-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

.pemkab-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    mix-blend-mode: luminosity;
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.pemkab-img:hover {
    opacity: 1;
    mix-blend-mode: normal;
}

/* Mobile Responsive Styles - Hide Right Card */
@media (max-width: 768px) {
    /* Hide the right card column completely */
    .pemkab-profile {
        display: none !important;
    }

    /* Adjust header for single column layout */
    header {
        height: auto;
        padding: 15px 0;
        background: linear-gradient(135deg, rgba(30, 87, 153, 0.8) 0%, rgba(41, 137, 216, 0.8) 100%);
    }

    /* Center the village identity */
    .header-content {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        height: auto;
    }

    /* Adjust village identity layout */
    .desa-identity {
        flex-direction: column;
        text-align: center;
        gap: 10px;
        width: 100%;
        padding: 0 15px;
    }

    /* Make logo smaller for mobile */
    .logo-desa {
        width: 100px;
        height: 100px;
        margin: 0 auto;
    }

    /* Adjust text sizes */
    .animated-title {
        font-size: 1.8rem;
        text-align: center;
    }

    .desa-text h2 {
        font-size: 0.9rem;
    }
}

/* Desktop Effects */
@media (min-width: 769px) {
    .pemkab-img-container::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 1;
    }
    
    .pemkab-img {
        position: relative;
        z-index: 0;
    }
}

/* Navigation - Base Styles */
nav {
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    backdrop-filter: blur(5px);
    animation: colorShift 15s infinite ease-in-out;
    background-color: rgba(46, 204, 113, 0.8);
    transition: all 0.3s ease;
    padding: 0;
    overflow: hidden;
}

/* Fallback untuk browser lama */
@supports not (backdrop-filter: blur(5px)) {
    nav {
        background-color: rgba(46, 204, 113, 0.95);
    }
}

/* Container untuk navbar */
.nav-container {
    display: flex;
    flex-direction: column;
    max-width: 100%;
    margin: 0 auto;
    position: relative;
}

/* Tombol Toggle untuk Mobile */
.menu-toggle {
    display: none; /* Sembunyiin di desktop */
    cursor: pointer;
    padding: 15px 20px;
    color: white;
    font-weight: 500;
    background-color: transparent;
    border: none;
    width: 100%;
    text-align: left;
    justify-content: space-between;
    align-items: center;
}

.menu-toggle i {
    transition: transform 0.3s ease;
    margin-left: 10px;
}

.menu-toggle.active i {
    transform: rotate(180deg);
}

/* Daftar Menu - Tampilan Desktop */
nav ul {
    display: flex;
    list-style: none;
    justify-content: center;
    margin: 0;
    padding: 0;
}

nav ul li {
    position: relative;
}

nav ul li a {
    color: white;
    text-decoration: none;
    padding: 15px 20px;
    display: block;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    text-align: center;
}

nav ul li a:hover {
    background-color: rgba(52, 152, 219, 0.7);
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: #f1c40f;
    transition: width 0.3s ease;
}

nav ul li a:hover::after {
    width: 70%;
}

/* Animasi Warna Background */
@keyframes colorShift {
    0% { background-color: rgba(46, 204, 113, 0.8); }
    20% { background-color: rgba(52, 152, 219, 0.8); }
    40% { background-color: rgba(155, 89, 182, 0.8); }
    60% { background-color: rgba(241, 196, 15, 0.8); }
    80% { background-color: rgba(230, 126, 34, 0.8); }
    100% { background-color: rgba(231, 76, 60, 0.8); }
}

/* Tampilan Mobile */
@media (max-width: 768px) {
    .menu-toggle {
        display: flex; /* Muncul hanya di mobile */
    }
    
    nav ul {
        display: none !important; /* Pastikan tersembunyi */
        flex-direction: column;
        width: 100%;
        background-color: inherit;
        box-shadow: 0 5px 10px rgba(0,0,0,0.2);
    }
    
    nav ul.show {
        display: flex !important; /* Pastikan muncul saat aktif */
    }
    
    nav ul li a {
        padding: 12px 20px;
        text-align: left;
        border-top: 1px solid rgba(255,255,255,0.1);
    }
    
    nav ul li a:hover::after {
        width: 30%;
        left: 20px;
        transform: none;
    }
    
    /* Perkuat efek blur di mobile */
    nav {
        backdrop-filter: blur(10px);
    }
    
    @supports not (backdrop-filter: blur(10px)) {
        nav {
            background-color: rgba(46, 204, 113, 0.98);
        }
    }
}



/* Hero Section with Centered Caption */
.hero {
    position: relative;
    height: 500px;
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), 
                url('../images/pantai-hollat.jpg') center/cover no-repeat;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    margin-bottom: 10px;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    position: relative;
}

/* Modified Image Caption */
.image-caption {
    position: relative; /* Changed from absolute to relative */
    margin: 20px auto 0;
    background-color: rgba(0, 0, 0, 0.6);
    color: white;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-style: italic;
    max-width: 80%;
    display: inline-block;
    animation: fadeIn 0.5s ease-in-out;
}

/* Adjustments for Hero Text */
.hero h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    text-shadow: 2px 2px 5px rgba(0,0,0,0.5);
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 15px;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}

/* Animation remains the same */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Kegiatan Grid */
.kegiatan-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
    margin: 20px 0;
}

.kegiatan-item {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.kegiatan-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.kegiatan-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-bottom: 3px solid #3498db;
}

.kegiatan-content {
    padding: 20px;
}

.kegiatan-content h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: #2c3e50;
}

.kegiatan-content p {
    color: #666;
    margin-bottom: 15px;
    font-size: 0.95rem;
}

.kegiatan-meta {
    display: flex;
    justify-content: space-between;
    color: #7f8c8d;
    font-size: 0.85rem;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #eee;
}

/* Sambutan Kepala Desa */
.sambutan {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.sambutan-content {
    display: flex;
    align-items: center;
    gap: 30px;
}

.kepala-desa-img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid white;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.sambutan-text {
    flex: 1;
}

.sambutan-text p {
    margin-bottom: 15px;
    font-size: 1.05rem;
    line-height: 1.8;
}

.kepala-desa-name {
    font-weight: bold;
    color: #2c3e50;
    margin-top: 20px;
}

/* Info Desa */
.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.info-card {
    background: white;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    text-align: center;
    transition: transform 0.3s ease;
}

.info-card:hover {
    transform: translateY(-5px);
}

.info-card i {
    font-size: 2.5rem;
    color: #3498db;
    margin-bottom: 15px;
}

.info-card h3 {
    margin-bottom: 10px;
    color: #2c3e50;
}

.info-card p {
    color: #7f8c8d;
}

/* Galeri */
.galeri-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 15px;
    margin-top: 30px;
}

.galeri-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    height: 200px;
}

.galeri-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.galeri-item:hover img {
    transform: scale(1.1);
}

.galeri-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.galeri-item:hover .galeri-overlay {
    opacity: 1;
}

.galeri-overlay i {
    color: white;
    font-size: 2rem;
}

/* Layanan Publik */
.layanan-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.layanan-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

.layanan-card:hover {
    transform: translateY(-5px);
}

.layanan-icon {
    background: #3498db;
    color: white;
    padding: 20px;
    text-align: center;
    font-size: 2rem;
}

.layanan-body {
    padding: 20px;
}

.layanan-body h3 {
    margin-bottom: 10px;
    color: #2c3e50;
}

.layanan-body p {
    color: #7f8c8d;
    margin-bottom: 15px;
}

/* Footer */
footer {
    background: #2c3e50;
    color: white;
    padding: 50px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.footer-col h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background: #f1c40f;
}

.footer-col p {
    margin-bottom: 15px;
    color: #ecf0f1;
}

.footer-links li {
    margin-bottom: 10px;
    list-style: none;
}

.footer-links a {
    color: #bdc3c7;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #f1c40f;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    color: white;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: #f1c40f;
    transform: translateY(-3px);
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: #bdc3c7;
    font-size: 0.9rem;
}

/* Buttons */
.btn {
    display: inline-block;
    background: #3498db;
    color: white;
    padding: 12px 25px;
    text-decoration: none;
    border-radius: 50px;
    margin-top: 10px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.3);
}

.btn:hover {
    background: white;
    color: #3498db;
    border-color: #3498db;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(52, 152, 219, 0.4);
}

.btn-outline {
    background: transparent;
    border: 2px solid white;
    color: white;
}

.btn-outline:hover {
    background: white;
    color: #3498db;
}

.btn-yellow {
    background: #f1c40f;
    box-shadow: 0 5px 15px rgba(241, 196, 15, 0.3);
}

.btn-yellow:hover {
    background: white;
    color: #f1c40f;
    border-color: #f1c40f;
    box-shadow: 0 8px 20px rgba(241, 196, 15, 0.4);
}

/* Responsive */
@media (max-width: 992px) {
    .header-content {
        flex-direction: column;
    }
    
    .pemkab-profile {
        margin-right: 0;
        margin-bottom: 20px;
        order: 2;
    }
    
    .desa-info {
        order: 1;
    }
    
    .sambutan-content {
        flex-direction: column;
        text-align: center;
    }
    
    .kepala-desa-img {
        margin-bottom: 20px;
    }
}

@media (max-width: 768px) {
    nav ul {
        flex-direction: column;
        align-items: center;
    }
    
    nav ul li {
        width: 100%;
        text-align: center;
    }
    
    .hero {
        height: 400px;
    }
    
    .hero h2 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .hero {
        height: 350px;
    }
    
    .section-title h2 {
        font-size: 1.7rem;
    }
    
    .kegiatan-grid, .info-grid, .galeri-grid, .layanan-grid {
        grid-template-columns: 1fr;
    }
    
    .pemkab-profile {
        flex-direction: column;
        gap: 15px;
    }
    
    .pemkab-img {
        width: 100px;
        height: 130px;
    }
}

/* Hero Section dengan Slideshow */
.hero-ticker-combo {
    position: relative;
    margin-bottom: 0; /* Hilangkan margin bawah */
}

.hero {
    position: relative;
    height: 500px;
    color: white;
    display: flex;
    align-items: center;
    text-align: center;
    margin-bottom: 0px;
    overflow: hidden;
}

.hero-slides {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero-slides .slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    z-index: 1;
}

.hero-slides .slide.active {
    opacity: 1;
    z-index: 2;
}

.hero-slides .slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5));
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    width: 100%;
}

.slide-controls {
    position: absolute;
    bottom: 20px;
    left: 0;
    right: 0;
    z-index: 4;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

.slide-controls button {
    background: rgba(255,255,255,0.3);
    border: none;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slide-controls button:hover {
    background: rgba(255,255,255,0.5);
}

.slide-dots {
    display: flex;
    gap: 10px;
}

.slide-dots .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.slide-dots .dot.active {
    background: white;
    transform: scale(1.2);
}

/* Hero Text Styles */
.hero-content {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
    position: relative;
    z-index: 3;
}

.hero-text-wrapper {
    background-color: rgba(0, 0, 0, 0.5);
    padding: 30px;
    border-radius: 15px;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-title {
    font-size: 3rem;
    margin-bottom: 10px;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    line-height: 1.2;
    font-weight: 700;
}

.highlight {
    color: #f8d56b;
    position: relative;
    display: inline-block;
}

.highlight::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 8px;
    background-color: rgba(248, 213, 107, 0.3);
    z-index: -1;
    transform: skewX(-15deg);
}

.hero-subtitle {
    font-size: 2.2rem;
    color: white;
    margin-bottom: 15px;
    font-weight: 600;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.animate-text {
    background: linear-gradient(90deg, #f8d56b, #ff9d00, #f8d56b);
    background-size: 200% auto;
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    animation: gradientText 3s linear infinite;
}

.hero-description {
    font-size: 1.3rem;
    color: white;
    max-width: 700px;
    margin: 0 auto 20px;
    line-height: 1.6;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.hero-badge {
    display: inline-block;
    background: linear-gradient(135deg, rgba(30, 87, 153, 0.8), rgba(41, 137, 216, 0.8));
    padding: 8px 20px;
    border-radius: 50px;
    margin-top: 15px;
}

.hero-badge span {
    color: white;
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 1px;
}

/* Animations */
@keyframes gradientText {
    0% { background-position: 0% center; }
    100% { background-position: 200% center; }
}

/* Responsive Adjustments */
@media (max-width: 992px) {
    .hero-title {
        font-size: 2.5rem;
    }
    .hero-subtitle {
        font-size: 1.8rem;
    }
    .hero-description {
        font-size: 1.1rem;
    }
}

@media (max-width: 768px) {
    .hero-text-wrapper {
        padding: 20px;
    }
    .hero-title {
        font-size: 2rem;
    }
    .hero-subtitle {
        font-size: 1.5rem;
    }
    .hero-description {
        font-size: 1rem;
        max-width: 90%;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.8rem;
    }
    .hero-subtitle {
        font-size: 1.3rem;
    }
    .hero-badge span {
        font-size: 0.8rem;
    }
}

/* News Ticker Styles */
.news-ticker {
	    margin-top: -1px; /* Satukan dengan hero */
    border-top: none; /* Hilangkan border atas */
    box-shadow: none; /* Hilangkan shadow */
    position: relative;
    z-index: 2; /* Pastikan di atas hero */
    background-color: white;
    padding: 15px 0;
    border-top: 1px solid #e0e0e0;
    border-bottom: 1px solid #e0e0e0;
    margin-bottom: 0px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.ticker-date {
    color: #1e88e5; /* Warna biru */
    font-size: 0.9rem;
    font-weight: 500;
}

.ticker-container {
    display: flex;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.ticker-icon {
    padding: 12px 15px;
    color: white;
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    margin: 0 10px;
    flex-shrink: 0;
}

.ticker-wrapper {
    flex: 1;
    overflow: hidden;
    position: relative;
    height: 30px;
}

.ticker-content {
    display: inline-flex;
    align-items: center;
    height: 100%;
    white-space: nowrap;
    animation: tickerScroll 60s linear infinite;
    padding-left: 100%;
}

.ticker-content:hover {
    animation-play-state: paused;
}

.ticker-item {
    display: inline-flex;
    align-items: center;
    gap: 20px;
    margin-right: 40px;
}

.ticker-date {
    color: #1e88e5; /* Warna biru */
    font-size: 0.9rem;
    font-weight: 500;
}

.ticker-text {
    color: #333;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 600;
    transition: color 0.3s;
}

.ticker-text:hover {
    color: #1e88e5;
    text-decoration: underline;
}

@keyframes tickerScroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-100%);
    }
}

.ticker-content {
    animation: tickerScroll 120s linear infinite; /* Durasi diperpanjang dari 60s ke 120s */
}

/* Responsive */
@media (max-width: 768px) {
    .ticker-icon {
        padding: 8px 10px;
        font-size: 1.1rem;
        margin: 0 5px;
    }
    
    .ticker-wrapper {
        height: 26px;
    }
    
    .ticker-item {
        gap: 10px;
    }
    
	.ticker-date {
	    color: #1e88e5; /* Warna biru */
	    font-size: 0.9rem;
	    font-weight: 500;
	}
    
    .ticker-text {
        font-size: 0.95rem;
    }
}

/* Menu Cards Styles */
.menu-cards {
    padding: 20px 0;
    background-color: #f5f5f5;
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

.menu-card {
    display: flex;
    height: 1.7cm; /* 1.5cm height */
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.menu-card:hover {
    transform: translateY(-3px);
}

.card-left {
    width: 30%;
    background-color: white;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-icon {
    font-size: 1.5rem;
    background: linear-gradient(45deg, #FF5252, #FF4081, #E040FB, #7C4DFF);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.card-icon.spin {
    animation: spin 0.5s linear;
}

/* Gaya untuk logo berwarna */
.card-left {
    width: 30%;
    background-color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6px; /* Ruang untuk logo */
}

.card-logo {
    max-width: 90%; /* Logo tidak melebihi container */
    max-height: 50px; /* Tinggi maksimal logo */
    object-fit: contain; /* Pertahankan aspect ratio */
    transition: transform 0.3s ease;
}

/* Efek hover */
.menu-card:hover .card-logo {
    transform: scale(1.1); /* Sedikit membesar saat hover */
}

/* Ukuran card yang disesuaikan */
.menu-card {
    height: 1.75cm;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden; /* Pastikan logo tidak keluar dari card */
}

.card-right {
    width: 70%;
    background-color: #e3f2fd;
    padding: 5px 10px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.card-right h3 {
    margin: 0;
    font-size: 1.2rem;
    color: #000080; /* Dark green for title */
}

.card-right p {
    margin: 2px 0 0 0;
    font-size: 0.7rem;
    color: #1E90FF; /* Medium green for description */
}

/* Responsive */
@media (max-width: 992px) {
    .menu-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .menu-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .menu-grid {
        grid-template-columns: 1fr;
    }
    
    .menu-card {
        height: auto;
        min-height: 1.5cm;
    }
}

/* Section Artikel */
.article-section {
    background: linear-gradient(135deg, #1e88e5, #43cea2, #185a9d);
    padding: 30px 0;
    font-family: 'Poppins', sans-serif;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    flex-wrap: wrap;
}

.section-title {
    color: white;
    font-size: 2.5rem;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    margin-bottom: 10px;
    font-family: 'Montserrat', sans-serif;
}

.section-controls {
    display: flex;
    gap: 15px;
}

.search-box {
    position: relative;
}

.search-box input {
    padding: 10px 15px 10px 35px;
    border-radius: 30px;
    border: none;
    width: 200px;
    font-family: 'Poppins', sans-serif;
}

.search-box i {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #777;
}

.category-filter select {
    padding: 10px 15px;
    border-radius: 30px;
    border: none;
    font-family: 'Poppins', sans-serif;
    cursor: pointer;
}

.article-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.article-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.article-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 25px rgba(0,0,0,0.15);
}

.article-image {
    height: 200px;
    overflow: hidden;
    position: relative;
}

.article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.upload-time {
    position: absolute;
    bottom: 10px;
    left: 10px;
    background: rgba(0,0,0,0.7);
    color: white;
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-family: 'Poppins', sans-serif;
}

.article-content {
    padding: 20px;
}

.article-title {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: #222;
    line-height: 1.4;
    font-weight: 600;
    font-family: 'Montserrat', sans-serif;
    min-height: 60px;
}

.read-more {
    display: inline-flex;
    align-items: center;
    color: #1e88e5;
    font-weight: 600;
    text-decoration: none;
    font-size: 1rem;
    transition: all 0.3s ease;
    font-family: 'Poppins', sans-serif;
}

.read-more:hover {
    color: #0d47a1;
    transform: translateX(5px);
}

.read-more i {
    margin-left: 8px;
    transition: transform 0.3s ease;
}

.read-more:hover i {
    transform: translateX(3px);
}

/* Responsive */
@media (max-width: 1200px) {
    .article-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .section-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .section-controls {
        width: 100%;
        flex-direction: column;
        gap: 10px;
    }
    
    .search-box input {
        width: 100%;
    }
    
    .article-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .article-title {
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .article-grid {
        grid-template-columns: 1fr;
    }
    
    .section-title {
        font-size: 2rem;
    }
}

/* Gaya Dasar */
body {
    font-family: 'Arial', sans-serif;
    background-color: #f5f5f5;
    margin: 0;
    padding: 0px;
}

.statistics-section {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 0px;
}

.stat-card {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 20px;
}

.population-card {
    display: flex;
    flex-direction: column;
}

.population-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.stat-icon {
    width: 40px;
    height: 40px;
    margin-right: 15px;
}

.stat-value {
    font-size: 1.5rem;
    font-weight: bold;
    color: #2c3e50;
}

.stat-label {
    font-size: 0.9rem;
    color: #7f8c8d;
}

.chart-card {
    text-align: center;
}

.chart-card h3 {
    margin-top: 0;
    color: #34495e;
}

/* Responsif */
@media (max-width: 768px) {
    .statistics-section {
        grid-template-columns: 1fr;
    }
}

/* Mobile Navigation */
@media (max-width: 991px) {
  .navbar ul {
    display: none;
  }

  .navbar.mobile-nav {
    display: flex;
    flex-direction: column;
  }

  .navbar-mobile .dropdown-menu {
    position: static;
  }
}

/* Gradien Hijau-Biru */
.pemerintah-slider-section-ohoi {
    background: radial-gradient(circle at top right, #ff4d4d, #4da6ff, #ffffff);
    padding: 0rem 0;
    color: white;
    position: relative;
    overflow: hidden;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.pemerintah-container-ohoi {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 0rem;
    position: relative;
}

/* Judul */
.slider-title-ohoi {
    text-align: center;
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.slider-subtitle-ohoi {
    text-align: center;
    font-size: 1rem;
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

/* Slider Container */
.slider-wrapper-ohoi {
    overflow: hidden;
    position: relative;
    padding: 0.5rem 0;
    width: 100%;
    max-width: 1200px; /* Lebar maksimum container */
    margin: 0 auto;
}

.perangkat-slider-ohoi {
    display: flex;
    gap: 0.8rem; /* Mengurangi gap antar card */
    transition: transform 0.5s ease;
}

/* Slide Item - 4 card sekaligus */
.perangkat-slide-ohoi {
    flex: 0 0 calc(25% - 0.6rem); /* 4 card dengan gap yang disesuaikan */
    min-width: 0; /* Memastikan card tidak melebar */
    background: rgba(255,255,255,0.1);
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.2);
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.slide-photo-ohoi {
    height: 250px;
    overflow: hidden;
    display: flex;
}

.slide-photo-ohoi img {
    width: 100%;
    height: 100%;
    object-fit: fill; /* Gambar akan di-stretch penuh */
    object-position: center;
    transition: transform 0.4s ease;
}

.slide-info-ohoi {
    background: white;
    padding: 1rem;
    text-align: center;
}

.slide-info-ohoi h3 {
    color: #333;
    font-size: 1rem;
    margin-bottom: 0.3rem;
    font-weight: 600;
}

.slide-info-ohoi p {
    color: #0083b0;
    font-size: 0.8rem;
    margin: 0;
    font-weight: 600;
}

/* Responsive */
@media (max-width: 1200px) {
    .perangkat-slide-ohoi {
        flex: 0 0 calc(33.33% - 0.7rem); /* 3 card */
    }
}

@media (max-width: 768px) {
    .perangkat-slide-ohoi {
        flex: 0 0 calc(50% - 0.6rem); /* 2 card */
    }
}

@media (max-width: 480px) {
    .perangkat-slide-ohoi {
        flex: 0 0 calc(100% - 0.5rem); /* 1 card */
    }
}

.slider-controls-ohoi {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1rem;
}

.slider-prev-ohoi, .slider-next-ohoi {
    background: rgba(255,255,255,0.2);
    border: none;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-prev-ohoi:hover, .slider-next-ohoi:hover {
    background: rgba(255,255,255,0.3);
}

/* Bagian Login Masyarakat */
.login-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 0; /* Padding dihilangkan */
    margin: 30px; /* Margin dihilangkan */
    background-color: #f5f7fa;
}

.login-section {
    min-height: auto;
    height: auto;
    display: flex;
    align-items: center;
    padding: px;
    background-color: #f5f7fa;
}

.login-container {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 900px;
    margin: 0 auto; /* Hanya margin horizontal */
    background: white;
    border-radius: 0; /* Border radius dihilangkan untuk mobile */
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    overflow: hidden;
}

/* Kolom Branding */
.brand-col {
    flex: 0 0 auto;
    background: url('../images/sisodi.png') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem;
    color: white;
    min-height: 200px;
}

.brand-content h1 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.brand-content .subtitle {
    font-size: 1rem;
    margin-bottom: 0.3rem;
}

.brand-content .location {
    font-size: 0.8rem;
    opacity: 0.9;
}

/* Kolom Form */
.form-col {
    flex: 1;
    padding: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-card {
    width: 100%;
    max-width: 400px;
}

.login-card h2 {
    color: #1e3c72;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    text-align: center;
}

.login-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.form-group label {
    color: #555;
    font-size: 0.9rem;
}

.form-group input {
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
}

.login-btn {
    background: #1e3c72;
    color: white;
    border: none;
    padding: 0.8rem;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1rem;
    margin-top: 0.5rem;
    transition: background 0.3s;
}

.login-btn:hover {
    background: #2a5298;
}

.login-links {
    display: flex;
    justify-content: center;
    margin-top: 1rem;
}

.login-links a {
    color: #1e3c72;
    font-size: 0.8rem;
    text-decoration: none;
    text-align: center;
}

/* Responsive untuk tablet dan desktop */
@media (min-width: 768px) {
    .login-container {
        flex-direction: row; /* Kembali ke row untuk desktop */
        height: 500px;
    }
    
    .brand-col {
        flex: 0 0 45%;
        min-height: 100%;
    }
    
    .form-col {
        flex: 0 0 55%;
        padding: 3rem;
    }
    
    .login-card {
        max-width: 350px;
    }
}

/* Responsive untuk mobile kecil */
@media (max-width: 480px) {
    .brand-col {
        padding: 1.5rem;
        min-height: 150px;
    }
    
    .form-col {
        padding: 1.5rem;
    }
    
    .login-card h2 {
        font-size: 1.3rem;
        margin-bottom: 1.2rem;
    }
    
    .form-group input {
        padding: 0.7rem;
    }
    
    .login-btn {
        padding: 0.7rem;
    }
}

/* Bagian Akhir Login Masyarakat */

/* Bagian Footer */
body {
    margin: 0;
    padding: 0;
    position: relative;
}

.upper-bg {
    height: 150px;
    width: 100%;
    background: white;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
}

.footer-section {
    background: linear-gradient(135deg, 
        #0d1b3a 0%,    /* Biru tua */
        #1a1a2e 50%,   /* Ungu tua */
        #4a0c0c 100%   /* Merah tua */
    );
    padding: 2rem 0 0;
    color: #f8f9fa;
    position: relative;
    margin-top: 100px; /* Sesuaikan dengan tinggi upper-bg */
}

/* Container dan Card */
.footer-container {
    display: flex;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    gap: 1.5rem;
}

.footer-col {
    flex: 1;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 1.2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    min-height: 350px; /* Tinggi card yang lebih compact */
}

/* Konten Card */
.footer-col h3 {
    color: #ffffff;
    margin-bottom: 1rem;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding-bottom: 0.6rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

/* Peta */
.map-wrapper {
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 0.8rem;
}

.map-link {
    display: block;
    text-align: center;
    background: rgba(255, 255, 255, 0.15);
    color: white;
    padding: 0.6rem;
    border-radius: 5px;
    text-decoration: none;
    font-size: 0.9rem;
    transition: background 0.3s;
}

.map-link:hover {
    background: rgba(255, 255, 255, 0.25);
}

/* Kontak */
.contact-info {
    margin-top: 0.5rem;
}

.contact-item {
    display: flex;
    gap: 0.8rem;
    margin-bottom: 0.8rem;
    align-items: flex-start;
}

.contact-item i {
    color: #ffffff;
    font-size: 1rem;
    margin-top: 0.15rem;
    opacity: 0.8;
}

.contact-item p, 
.contact-item a {
    color: #f8f9fa;
    font-size: 0.9rem;
    margin: 0;
    text-decoration: none;
}

.contact-item a:hover {
    color: #ff6b6b;
    text-decoration: underline;
}

/* Video */
.video-wrapper {
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 0.8rem;
}

.video-caption {
    text-align: center;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
}

/* Footer Bottom */
.footer-bottom {
    text-align: center;
    padding: 1.2rem;
    margin-top: 2rem;
    background: rgba(0, 0, 0, 0.3);
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.85rem;
}

/* Responsive */
@media (max-width: 992px) {
    .footer-container {
        flex-wrap: wrap;
    }
    
    .footer-col {
        flex: 0 0 calc(50% - 0.75rem);
        margin-bottom: 1.5rem;
        min-height: 320px;
    }
    
    .footer-col:last-child {
        flex: 0 0 100%;
    }
}

@media (max-width: 768px) {
    .footer-col {
        flex: 0 0 100% !important;
        min-height: auto;
    }
    
    .upper-bg {
        height: 100px;
    }
    
    .footer-section {
        margin-top: 80px;
    }
}

/* Reset dan Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #f5f7fa;
    color: #333;
    line-height: 1.6;
}

/* Layout Utama */
.main-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 0px;
}

.content-container {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    overflow: hidden;
}

/* Header Compact */
.compact-header {
    background: linear-gradient(135deg, #e63946, #ffffff, #1a1a2e);
    padding: 8px 10px; /* Mengurangi padding atas-bawah dari 10px ke 8px */
    text-align: center;
    height: auto; /* Memastikan tinggi mengikuti konten */
}

.compact-header h1 {
    font-size: 1.8rem;
    color: #1a1a2e;
    margin: 0;
    line-height: 1.2;
    padding: 5px 0; /* Menambahkan padding khusus untuk teks */
    margin-bottom: 0; /* Pastikan tidak ada margin bawah */
}

/* Dua Kolom Konten */
.two-column-content {
    margin-top: 0; /* Pastikan tidak ada margin atas */
    padding-top: 0; /* Pastikan tidak ada padding atas */
    display: flex;
    min-height: calc(100vh - 60px); /* Sesuaikan dengan tinggi header */

}

/* Kolom Kiri */
.left-column {
    flex: 0 0 220px;
    background: linear-gradient(135deg, #87CEEB, #E0F7FA, #B3E5FC);
    padding: 20px 0;
    border-right: 1px solid rgba(255,255,255,0.1);
}

.side-menu ul {
    list-style: none;
}

.side-menu li {
    margin-bottom: 5px;
}

.side-menu li a {
    display: flex;
    align-items: center;
    color: white;
    text-decoration: none;
    padding: 10px 20px;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.side-menu li a:hover {
    background: rgba(255,255,255,0.1);
    padding-left: 25px;
}

.side-menu li a i {
    margin-right: 10px;
    font-size: 1rem;
    width: 20px;
    text-align: center;
}

.side-menu li.active a {
    background: rgba(255,255,255,0.2);
    border-left: 4px solid #e63946;
}

/* Kolom Kanan */
.right-column {
    flex: 1;
    padding: 25px;
}

.right-column h2 {
    color: #1a1a2e;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #eee;
    font-size: 1.5rem;
}

.right-column h2 i {
    color: #e63946;
    margin-right: 10px;
}

.right-column h3 {
    color: #1a1a2e;
    margin: 25px 0 15px;
    font-size: 1.3rem;
}

.right-column h3 i {
    color: #e63946;
    margin-right: 10px;
}

.right-column p {
    margin-bottom: 20px;
    font-size: 1rem;
    line-height: 1.7;
}

.featured-img {
    width: 100%;
    height: auto;
    border-radius: 6px;
    margin: 15px 0;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

/* Grid Potensi */
.potensi-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 25px 0;
}

.potensi-card {
    background: #f9fafc;
    border-radius: 8px;
    padding: 20px;
    transition: all 0.3s ease;
    border: 1px solid #eee;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.potensi-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.potensi-card i {
    font-size: 2.5rem;
    color: #e63946;
    margin-bottom: 15px;
}

.potensi-card h4 {
    color: #1a1a2e;
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.potensi-card p {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 0;
}

/* Card dengan Gambar */
.card-left {
    margin-bottom: 15px;
}

.card-logo {
    width: 60px;
    height: auto;
}

.card-right h4 {
    color: #1a1a2e;
    margin-bottom: 8px;
    font-size: 1.2rem;
}

.card-right p {
    color: #666;
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 992px) {
    .two-column-content {
        flex-direction: column;
    }
    
    .left-column {
        flex: 0 0 auto;
        width: 100%;
    }
    
    .side-menu ul {
        display: flex;
        overflow-x: auto;
        padding: 0 10px;
    }
    
    .side-menu li {
        flex: 0 0 auto;
        margin-bottom: 0;
    }
    
    .side-menu li a {
        white-space: nowrap;
    }
    
    .side-menu li.active a {
        border-left: none;
        border-bottom: 4px solid #e63946;
    }
}

@media (max-width: 768px) {
    .potensi-container {
        grid-template-columns: 1fr;
    }
    
    .compact-header h1 {
        font-size: 1.5rem;
    }
    
    .right-column {
        padding: 20px;
    }
}

/* Gaya Dasar Card Menu */
.vertical-menu {
    display: flex;
    flex-direction: column;
    gap: 8px; /* Jarak antar card */
    padding: 10px;
}

.card-menu {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    background: white;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    overflow: hidden; /* Untuk border radius yang sempurna */
}

.card-menu:hover {
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    transform: translateY(-2px);
}

.card-menu.active {
    border-left: 4px solid #e63946;
    background-color: #f9f9f9;
}

/* Gaya Link Menu */
.menu-link {
    display: flex;
    align-items: center;
    padding: 12px 15px;
    color: #333;
    text-decoration: none;
    font-size: 0.95rem;
    gap: 12px;
}

.menu-link i {
    width: 20px;
    text-align: center;
    color: #555;
}

.card-menu.active .menu-link i,
.card-menu.active .menu-link {
    color: #e63946;
    font-weight: 500;
}

/* Gaya Dropdown */
.dropdown-icon {
    margin-left: auto;
    font-size: 0.8rem;
    transition: transform 0.3s;
}

.card-menu.dropdown.active .dropdown-icon {
    transform: rotate(180deg);
}

/* Gaya Submenu */
.submenu {
    display: none;
    padding: 0 15px 10px 15px;
    flex-direction: column;
    gap: 5px;
}

.card-menu.dropdown.active .submenu {
    display: flex;
}

.submenu-item {
    padding: 8px 10px 8px 32px;
    font-size: 0.85rem;
    color: #555;
    text-decoration: none;
    border-radius: 4px;
}

.submenu-item:hover {
    background-color: #f0f0f0;
    color: #e63946;
}