/* Import CSS dari frontend yang sudah dibuat sebelumnya */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Professional Color Palette */
    --primary-color: #176b4d;
    --primary-dark: #0f4a35;
    --primary-light: #39b27a;
    --primary-50: #f0fdf4;
    --primary-100: #dcfce7;
    --secondary-color: #f8faf9;
    --accent-color: #ffb347;
    --accent-light: #ffd89b;
    
    /* Text Colors */
    --text-dark: #0f172a;
    --text-medium: #334155;
    --text-light: #64748b;
    --text-lighter: #94a3b8;
    
    /* Background Colors */
    --bg-white: #ffffff;
    --bg-light: #f8fafc;
    --bg-gray: #f1f5f9;
    
    /* Borders & Shadows */
    --border-color: rgba(15, 23, 42, 0.06);
    --border-hover: rgba(23, 107, 77, 0.2);
    --shadow-xs: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
    
    /* Border Radius */
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 14px;
    --radius-xl: 18px;
    --radius-2xl: 24px;
    --radius-full: 9999px;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 0.75rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
    --spacing-2xl: 3rem;
    --spacing-3xl: 4rem;
    
    /* Transitions */
    --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 200ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 300ms cubic-bezier(0.4, 0, 0.2, 1);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.7;
    color: var(--text-dark);
    background: var(--bg-white);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-feature-settings: 'kern' 1;
    text-rendering: optimizeLegibility;
}

/* Font Awesome Icons - Ensure they display correctly */
.fas,
.far,
.fab,
.fa {
    font-family: "Font Awesome 6 Free", "Font Awesome 6 Brands", "Font Awesome 6 Pro" !important;
    font-weight: 900;
    display: inline-block;
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    line-height: 1;
}

.fab {
    font-family: "Font Awesome 6 Brands" !important;
    font-weight: 400;
}

.far {
    font-weight: 400;
}

/* Remove white space above hero */
main {
    margin-top: 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header - Clean & Minimalist */
.header {
    background: #ffffff;
    border-bottom: 1px solid #f1f5f9;
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 1rem 0;
    transition: all var(--transition-base);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.header.scrolled {
    background: #ffffff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--primary-color);
}

.logo a {
    text-decoration: none;
    color: inherit;
}

.logo-img {
    height: 48px;
    width: auto;
    object-fit: contain;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 1.5rem;
    align-items: center;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-medium);
    font-weight: 500;
    font-size: 0.9375rem;
    letter-spacing: -0.01em;
    padding: 0.5rem 0.75rem;
    border-radius: 6px;
    transition: all var(--transition-fast);
    position: relative;
}

.nav-menu a:hover,
.nav-menu a:focus {
    color: var(--primary-color);
    background: #f8fafc;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger span {
    width: 28px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 3px;
    transition: all 0.3s;
}

/* Messages */
.messages-container {
    margin-top: 70px;
    padding: 1rem 0;
}

.alert {
    padding: var(--spacing-md) var(--spacing-lg);
    border-radius: var(--radius-lg);
    margin-bottom: var(--spacing-md);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9375rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid;
}

.alert-success {
    background: rgba(34, 197, 94, 0.06);
    color: #166534;
    border: 1px solid rgba(22, 163, 74, 0.25);
}

.alert-error {
    background: rgba(248, 113, 113, 0.06);
    color: #b91c1c;
    border: 1px solid rgba(239, 68, 68, 0.25);
}

.close-btn {
    background: none;
    border: none;
    font-size: 1.3rem;
    cursor: pointer;
    color: inherit;
}

/* Hero - Clean & Professional */
.hero {
    position: relative;
    min-height: 100vh;
    padding: var(--spacing-3xl) 0 var(--spacing-2xl);
    margin-top: 0;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    width: 100%;
    height: 100%;
}

.hero-bg-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.9s ease-in-out;
    width: 100%;
    height: 100%;
}

.hero-bg-slide.active {
    opacity: 1;
}

.hero-bg-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    min-height: 100vh;
}

@media (max-width: 768px) {
    .hero-bg-slide img {
        min-height: 70vh;
    }
}

@media (max-width: 480px) {
    .hero-bg-slide img {
        min-height: 60vh;
    }
}

.hero-bg-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(15, 74, 53, 0.4) 0%,
        rgba(23, 107, 77, 0.3) 50%,
        rgba(0, 0, 0, 0.2) 100%
    );
    z-index: 1;
}

.hero-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1.1fr);
    gap: 3rem;
    align-items: flex-start;
    position: relative;
    z-index: 2;
    width: 100%;
}

.hero-content {
    max-width: 560px;
    text-align: left;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    width: 100%;
}

.hero-tag {
    display: inline-block;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: rgba(255, 255, 255, 0.95);
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin: 0 0 1.5rem 0;
    padding: 0.5rem 1rem;
    text-align: left;
    align-self: flex-start;
    white-space: nowrap;
}

.hero-content h1 {
    font-size: clamp(2rem, 5vw, 3rem);
    line-height: 1.2;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin: 0 0 1rem 0;
    padding: 0;
    color: #ffffff;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.15);
    text-align: left;
    width: 100%;
    align-self: flex-start;
}

.hero-subtitle {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.95);
    max-width: 100%;
    margin: 0 0 2rem 0;
    padding: 0;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.15);
    line-height: 1.7;
    text-align: left;
    width: 100%;
    align-self: flex-start;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: flex-start;
    align-items: center;
    margin: 0;
    padding: 0;
    width: 100%;
    align-self: flex-start;
}

.hero-actions .btn-primary,
.hero-actions .btn-secondary {
    margin: 0;
    padding: 0.75rem 1.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    white-space: nowrap;
    text-align: left;
    align-self: flex-start;
}

.hero-secondary-btn {
    background: rgba(255, 255, 255, 0.95);
    color: var(--text-dark);
    border: 1px solid rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.hero-secondary-btn:hover {
    background: rgba(255, 255, 255, 1);
    border-color: rgba(255, 255, 255, 0.8);
    color: var(--primary-color);
}

.hero-summary-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-radius: var(--radius-2xl);
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: var(--shadow-xl);
    padding: var(--spacing-xl);
}

.hero-summary-header h3 {
    font-size: 1.1rem;
    font-weight: 650;
    margin-bottom: 0.2rem;
    color: var(--text-dark);
}

.hero-summary-header p {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 1.3rem;
}

.hero-summary-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
}

.hero-summary-item {
    border-radius: var(--radius-lg);
    padding: 0.85rem 0.95rem;
    border: 1px solid rgba(148, 163, 184, 0.25);
    text-decoration: none;
    background: #f9fafb;
    transition: all 0.18s ease;
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.hero-summary-item:hover {
    border-color: rgba(23, 107, 77, 0.45);
    background: #ffffff;
    transform: translateY(-1px);
}

.hero-summary-label {
    font-size: 0.86rem;
    font-weight: 600;
    color: var(--text-dark);
}

.hero-summary-desc {
    font-size: 0.78rem;
    color: var(--text-light);
}

/* Sections - Clean Spacing */
.section {
    padding: 4rem 0;
}

.section.bg-light {
    background: #f8fafc;
}

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-2xl);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.section-header h2 {
    font-size: clamp(1.75rem, 4vw, 2.25rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--text-dark);
    margin-bottom: var(--spacing-md);
    line-height: 1.2;
}

.section-header p {
    color: var(--text-medium);
    font-size: 1.0625rem;
    line-height: 1.6;
}

/* Section Header with Icon */
.section-header-with-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
}

.section-header-with-icon h2 {
    margin: 0;
}

.section-header-icon {
    color: var(--primary-color);
    font-size: 1.5rem;
}

.section-header-icon i,
.section-header-icon .fas {
    display: inline-block !important;
    font-family: "Font Awesome 6 Free" !important;
}

/* Section Footer - Button Wrapper */
.section-footer {
    text-align: center;
    margin-top: 2rem;
}

/* Features */
.features {
    padding: 3.5rem 0;
    background: #ffffff;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.6rem;
}

.feature-card {
    background: #ffffff;
    padding: 2rem;
    border-radius: 12px;
    text-align: left;
    border: 1px solid #e5e7eb;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    transition: all var(--transition-base);
}

.feature-card:hover {
    border-color: var(--primary-color);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.feature-icon {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1.25rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    background: #f0fdf4;
    border-radius: 12px;
}

.feature-icon i,
.feature-icon .fas,
.feature-icon .far {
    display: inline-block !important;
    font-size: inherit !important;
    color: inherit !important;
    font-family: "Font Awesome 6 Free" !important;
}

.feature-card h3 {
    color: var(--text-dark);
    margin-bottom: 0.75rem;
    font-size: 1.25rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    line-height: 1.4;
}

.feature-card p {
    color: var(--text-medium);
    margin-bottom: 1rem;
    font-size: 0.9375rem;
    line-height: 1.6;
}

.btn-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

.btn-link:hover {
    color: var(--secondary-color);
}

/* Buttons - Clean & Minimalist */
.btn-primary,
.btn-secondary {
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-size: 0.9375rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    cursor: pointer;
    transition: all var(--transition-base);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    border: 1px solid transparent;
    margin: 0;
    white-space: nowrap;
    text-align: center;
}

.btn-primary {
    background: var(--primary-color);
    color: #ffffff;
    box-shadow: 0 2px 4px rgba(23, 107, 77, 0.15);
}

.btn-primary:hover {
    background: var(--primary-dark);
    box-shadow: 0 4px 8px rgba(23, 107, 77, 0.2);
    color: #ffffff;
}

.btn-secondary {
    background: #ffffff;
    color: var(--text-dark);
    border: 1px solid #e5e7eb;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.btn-secondary:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    background: #f8fafc;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
}

.text-center {
    text-align: center;
}

/* Berita Grid */
.berita-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.berita-card {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #e5e7eb;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    transition: all var(--transition-base);
}

.berita-card:hover {
    border-color: var(--primary-color);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.berita-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

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

.berita-content {
    padding: var(--spacing-xl);
}

.berita-kategori {
    display: inline-block;
    background: var(--primary-color);
    color: var(--bg-white);
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: var(--radius-full);
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    margin-bottom: var(--spacing-md);
}

.berita-content h3 {
    margin-bottom: 0.75rem;
    font-size: 1.25rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    line-height: 1.4;
}

.berita-content h3 a {
    color: var(--text-dark);
    text-decoration: none;
    transition: color var(--transition-base);
}

.berita-content h3 a:hover {
    color: var(--primary-color);
}

.berita-meta {
    display: flex;
    gap: 1.3rem;
    margin-top: 1rem;
    font-size: 0.86rem;
    color: var(--text-light);
}

.berita-meta i,
.berita-meta .fas {
    display: inline-block !important;
    font-family: "Font Awesome 6 Free" !important;
    margin-right: 0.25rem;
}

/* Pengumuman */
.pengumuman-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.pengumuman-item {
    background: #ffffff;
    padding: 1.5rem;
    border-radius: 12px;
    display: flex;
    gap: 1.25rem;
    border: 1px solid #e5e7eb;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    transition: all var(--transition-base);
}

.pengumuman-item:hover {
    border-color: var(--primary-color);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.pengumuman-item.important {
    border-left: 3px solid var(--accent-color);
}

.pengumuman-icon {
    font-size: 1.5rem;
    color: var(--primary-color);
    flex-shrink: 0;
}

.pengumuman-icon i,
.pengumuman-icon .fas {
    display: inline-block !important;
    font-size: inherit !important;
    color: inherit !important;
    font-family: "Font Awesome 6 Free" !important;
}

.pengumuman-content h3 {
    margin-bottom: 0.5rem;
    color: var(--text-dark);
    font-size: 1.125rem;
    font-weight: 600;
    line-height: 1.4;
}

.pengumuman-content p {
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.pengumuman-date {
    color: var(--text-light);
    font-size: 0.9rem;
    display: block;
    margin-top: 0.5rem;
}

/* Potensi Grid */
.potensi-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.potensi-card {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #e5e7eb;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    transition: all var(--transition-base);
}

.potensi-card:hover {
    border-color: var(--primary-color);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.potensi-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

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

.potensi-content {
    padding: 1.5rem;
}

.potensi-kategori {
    display: inline-block;
    background: var(--primary-color);
    color: #ffffff;
    padding: 0.25rem 0.75rem;
    border-radius: 6px;
    font-size: 0.8125rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.potensi-content h3 {
    margin-bottom: 0.75rem;
    color: var(--text-dark);
    font-size: 1.25rem;
    font-weight: 600;
    line-height: 1.4;
}

/* Slider Section */
.slider-section {
    padding: 3rem 0;
    background: #ffffff;
}

.slider-wrapper {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    border: 1px solid var(--border-soft);
    box-shadow: var(--shadow-soft);
}

.slider-container {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 40%; /* 16:10 aspect ratio */
    overflow: hidden;
    background: #f9fafb;
}

.slider-track {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.slider-slide {
    min-width: 100%;
    height: 100%;
    position: relative;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.slider-slide.active {
    opacity: 1;
}

.slider-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 1rem;
    pointer-events: none;
    z-index: 10;
}

.slider-btn {
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid var(--border-soft);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    pointer-events: all;
    transition: all 0.2s ease;
    color: var(--primary-color);
    font-size: 0.9rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.slider-btn:hover {
    background: var(--white);
    border-color: var(--primary-color);
    transform: scale(1.05);
    box-shadow: 0 6px 16px rgba(23, 107, 77, 0.2);
}

.slider-btn:active {
    transform: scale(0.95);
}

.slider-dots {
    position: absolute;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.6rem;
    z-index: 10;
}

.slider-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    border: 2px solid rgba(255, 255, 255, 0.8);
    cursor: pointer;
    transition: all 0.3s ease;
    display: block;
}

.slider-dot.active {
    background: var(--white);
    border-color: var(--white);
    width: 28px;
    border-radius: 5px;
}

.slider-dot:hover {
    background: rgba(255, 255, 255, 0.8);
}

/* Footer - Clean & Minimalist */
.footer {
    background: #1f2937;
    color: #ffffff;
    padding: 3rem 0 1.5rem;
    margin-top: auto;
    border-top: 1px solid #374151;
    width: 100%;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.2fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

/* Footer Brand Section */
.footer-brand {
    max-width: 320px;
}

.footer-logo {
    display: flex;
    align-items: center;
    margin-bottom: 1.25rem;
}

.footer-logo-img {
    height: 60px;
    width: auto;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.footer-description {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9375rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

/* Social Media Links */
.footer-social {
    display: flex;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.2s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-link:hover {
    background: var(--primary-color);
    color: #ffffff;
    border-color: var(--primary-color);
}

.social-link i {
    font-size: 0.875rem;
    display: inline-block !important;
}

.social-link i.fab {
    font-family: "Font Awesome 6 Brands" !important;
    font-weight: 400 !important;
}

/* Footer Section */
.footer-section {
    display: flex;
    flex-direction: column;
}

.footer-title {
    font-size: 0.9375rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 1rem;
    letter-spacing: -0.01em;
}

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

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.9375rem;
    transition: color 0.2s ease;
    display: inline-block;
    line-height: 1.6;
}

.footer-links a:hover {
    color: #ffffff;
}

/* Footer Contact */
.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 0.875rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9375rem;
    line-height: 1.6;
}

.contact-item i {
    color: var(--primary-color);
    width: 18px;
    flex-shrink: 0;
    margin-top: 2px;
    font-size: 0.875rem;
    display: inline-block !important;
}

.contact-item i.fas,
.contact-item i.far {
    font-family: "Font Awesome 6 Free" !important;
    font-weight: 900 !important;
}

.contact-item i.fas,
.contact-item i.far {
    font-family: "Font Awesome 6 Free" !important;
    font-weight: 900 !important;
}

.contact-item span {
    flex: 1;
    word-break: break-word;
}

/* Footer Bottom */
.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.copyright {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.875rem;
    margin: 0;
}

.powered-by {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.8125rem;
    margin: 0;
}

.powered-by strong {
    color: rgba(255, 255, 255, 0.7);
    font-weight: 600;
}

/* ============ RESPONSIVE DESIGN ============ */

/* Tablet & Small Desktop (768px - 1024px) */
@media (max-width: 1024px) {
    .container {
        padding: 0 24px;
    }

    .hero-layout {
        gap: 2rem;
    }

    .hero-content h1 {
        font-size: 2.2rem;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .berita-grid,
    .potensi-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 2.5rem;
    }
    
    .footer-brand {
        max-width: 100%;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
        gap: 0.75rem;
    }

    .header {
        padding: 0.875rem 0;
    }

    .logo-img {
        height: 44px;
    }

    .nav-menu {
        gap: 1.25rem;
    }

    .nav-menu a {
        font-size: 0.9rem;
        padding: 0.45rem 0.65rem;
    }

    .section {
        padding: 3rem 0;
    }

    .section-header {
        margin-bottom: 2.5rem;
    }

    .features-grid {
        gap: 1.25rem;
    }
}

/* Mobile & Small Tablet (max-width: 768px) */
@media (max-width: 768px) {
    .container {
        padding: 0 16px;
    }

    .header {
        padding: 0.75rem 0;
    }

    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 64px;
        flex-direction: column;
        background: #ffffff;
        width: 100%;
        text-align: left;
        transition: 0.25s ease;
        box-shadow: 0 18px 40px rgba(15, 23, 42, 0.35);
        padding: 1.5rem 0 2rem;
        gap: 0.5rem;
        z-index: 999;
        max-height: calc(100vh - 64px);
        overflow-y: auto;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        width: 100%;
    }

    .nav-menu a {
        display: block;
        padding: 0.75rem 1.25rem;
        width: 100%;
        border-radius: 0;
        margin: 0 1rem;
    }

    .nav-menu a:hover {
        background: #f8fafc;
        color: var(--primary-color);
    }

    .logo-img {
        height: 40px;
    }

    .footer-logo-img {
        height: 40px;
    }

    .messages-container {
        margin-top: 64px;
        padding: 0.75rem 0;
    }

    .alert {
        padding: 0.875rem 1rem;
        font-size: 0.875rem;
    }

    .hero {
        padding: 3rem 0 2.5rem;
        min-height: 75vh;
    }

    .hero-layout {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .hero-summary-card {
        margin-top: 2rem;
        padding: 1.5rem;
    }

    .hero-content {
        max-width: 100%;
        text-align: left;
        padding: 0;
        margin: 0;
    }

    .hero-tag {
        margin-bottom: 1.25rem;
        font-size: 0.75rem;
        padding: 0.4rem 0.875rem;
    }

    .hero-content h1 {
        font-size: 1.8rem;
        line-height: 1.25;
        margin-bottom: 0.875rem;
        text-align: left;
    }

    .hero-subtitle {
        font-size: 0.9375rem;
        margin-bottom: 1.75rem;
        line-height: 1.6;
        text-align: left;
    }

    .hero-actions {
        flex-direction: row;
        width: 100%;
        justify-content: flex-start;
        flex-wrap: wrap;
        gap: 0.875rem;
        align-items: center;
    }

    .hero-actions .btn-primary,
    .hero-actions .btn-secondary {
        flex: 0 0 auto;
        min-width: 160px;
        padding: 0.75rem 1.5rem;
        margin: 0;
        white-space: nowrap;
        text-align: left;
        align-self: flex-start;
        justify-content: flex-start;
    }

    .hero-summary-grid {
        grid-template-columns: 1fr;
    }

    .section {
        padding: 2.5rem 0;
    }

    .section-header h2 {
        font-size: 1.5rem;
    }

    .features-grid,
    .berita-grid,
    .potensi-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .feature-card {
        padding: 1.5rem;
    }

    .berita-card,
    .potensi-card {
        border-radius: 12px;
    }

    .berita-content,
    .potensi-content {
        padding: 1.25rem;
    }

    .pengumuman-item {
        flex-direction: column;
        gap: 1rem;
        padding: 1.25rem;
    }

    .pengumuman-icon {
        font-size: 1.25rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer {
        padding: 2.5rem 0 1.25rem;
    }

    .slider-container {
        padding-bottom: 60%;
    }

    .slider-btn {
        width: 36px;
        height: 36px;
        font-size: 0.8rem;
    }

    .slider-dots {
        bottom: 1rem;
    }

    .slider-dot {
        width: 8px;
        height: 8px;
    }

    .slider-dot.active {
        width: 24px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .footer {
        padding: 3rem 0 1.5rem;
    }
    
    .footer-brand {
        max-width: 100%;
    }
    
    .footer-logo-img {
        height: 50px;
    }
    
    .footer-social {
        justify-content: flex-start;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
        gap: 0.75rem;
    }
    
    .copyright,
    .powered-by {
        text-align: center;
    }

    .btn-primary,
    .btn-secondary {
        padding: 0.75rem 1.4rem;
        font-size: 0.9rem;
    }

    /* Filter bar responsive */
    .filter-bar {
        flex-direction: column;
        align-items: stretch !important;
    }

    .filter-bar form,
    .filter-bar select {
        width: 100% !important;
    }

    /* Pagination responsive */
    .pagination {
        flex-direction: column;
        gap: 0.5rem !important;
    }

    .pagination a,
    .pagination span {
        width: 100%;
        text-align: center;
    }
}

/* Small Mobile (max-width: 480px) */
@media (max-width: 480px) {
    .container {
        padding: 0 12px;
    }

    .header {
        padding: 0.5rem 0;
    }

    .logo-img {
        height: 36px;
    }

    .hero {
        padding: 2.5rem 0 2rem;
        min-height: 65vh;
    }

    .hero-content {
        text-align: left;
        padding: 0;
        margin: 0;
    }

    .hero-tag {
        font-size: 0.7rem;
        padding: 0.35rem 0.75rem;
        margin-bottom: 1rem;
    }

    .hero-content h1 {
        font-size: 1.5rem;
        line-height: 1.25;
        margin-bottom: 0.75rem;
        text-align: left;
    }

    .hero-subtitle {
        font-size: 0.875rem;
        margin-bottom: 1.5rem;
        line-height: 1.6;
        text-align: left;
    }

    .hero-actions {
        flex-direction: column;
        width: 100%;
        justify-content: flex-start;
        gap: 0.75rem;
        align-items: stretch;
    }

    .hero-actions .btn-primary,
    .hero-actions .btn-secondary {
        width: 100%;
        padding: 0.75rem 1.25rem;
        font-size: 0.875rem;
        margin: 0;
        white-space: nowrap;
        text-align: left;
        justify-content: flex-start;
    }

    .hero-summary-card {
        padding: 1.25rem;
        margin-top: 1.5rem;
    }

    .hero-summary-header h3 {
        font-size: 1rem;
    }

    .hero-summary-header p {
        font-size: 0.85rem;
    }

    .section {
        padding: 2.5rem 0;
    }

    .section-header {
        margin-bottom: 1.75rem;
    }

    .section-header h2 {
        font-size: 1.5rem;
    }

    .section-header p {
        font-size: 0.875rem;
    }

    .features-grid {
        gap: 1rem;
    }

    .feature-card {
        padding: 1.25rem;
    }

    .feature-icon {
        width: 48px;
        height: 48px;
        font-size: 1.75rem;
        margin-bottom: 1rem;
    }

    .feature-card h3 {
        font-size: 1.125rem;
    }

    .feature-card p {
        font-size: 0.875rem;
    }

    .berita-grid,
    .potensi-grid {
        gap: 1.25rem;
    }

    .berita-card,
    .potensi-card {
        padding: 0;
    }

    .berita-image,
    .potensi-image {
        height: 180px;
    }

    .berita-content,
    .potensi-content {
        padding: 1rem;
    }

    .berita-content h3,
    .potensi-content h3 {
        font-size: 1.125rem;
    }

    .pengumuman-item {
        padding: 1rem;
        gap: 0.875rem;
    }

    .pengumuman-content h3 {
        font-size: 1rem;
    }

    .pengumuman-content p {
        font-size: 0.875rem;
    }

    .btn-primary,
    .btn-secondary {
        padding: 0.7rem 1.2rem;
        font-size: 0.85rem;
    }

    .footer {
        padding: 2rem 0 1rem;
    }

    .footer-content {
        gap: 1.5rem;
    }

    .footer-title {
        font-size: 0.875rem;
        margin-bottom: 0.875rem;
    }

    .footer-links a {
        font-size: 0.875rem;
    }

    .contact-item {
        font-size: 0.875rem;
    }

    .footer-section {
        margin-bottom: 1.5rem;
    }
}

/* Extra Small Mobile (max-width: 360px) */
@media (max-width: 360px) {
    .container {
        padding: 0 12px;
    }

    .header {
        padding: 0.5rem 0;
    }

    .logo-img {
        height: 32px;
    }

    .hero {
        padding: 2rem 0 1.75rem;
        min-height: 60vh;
    }

    .hero-content {
        text-align: left;
        padding: 0;
        margin: 0;
    }

    .hero-tag {
        font-size: 0.65rem;
        padding: 0.3rem 0.65rem;
        margin-bottom: 0.875rem;
    }

    .hero-content h1 {
        font-size: 1.3rem;
        line-height: 1.25;
        margin-bottom: 0.625rem;
        text-align: left;
    }

    .hero-subtitle {
        font-size: 0.8125rem;
        margin-bottom: 1.25rem;
        line-height: 1.6;
        text-align: left;
    }

    .hero-actions {
        flex-direction: column;
        width: 100%;
        justify-content: flex-start;
        gap: 0.625rem;
        align-items: stretch;
    }

    .hero-actions .btn-primary,
    .hero-actions .btn-secondary {
        width: 100%;
        justify-content: flex-start;
        padding: 0.7rem 1rem;
        font-size: 0.8125rem;
        margin: 0;
        white-space: nowrap;
        text-align: left;
        align-items: center;
    }

    .section {
        padding: 2rem 0;
    }

    .section-header {
        margin-bottom: 1.5rem;
    }

    .section-header h2 {
        font-size: 1.25rem;
    }

    .section-header p {
        font-size: 0.8125rem;
    }

    .feature-card {
        padding: 1rem;
    }

    .feature-icon {
        width: 44px;
        height: 44px;
        font-size: 1.5rem;
    }

    .berita-content,
    .potensi-content {
        padding: 0.875rem;
    }

    .pengumuman-item {
        padding: 0.875rem;
    }

    .footer {
        padding: 1.75rem 0 1rem;
    }

    .feature-card,
    .berita-card,
    .potensi-card {
        padding: 1rem;
    }
}

/* Landscape Mobile */
@media (max-width: 768px) and (orientation: landscape) {
    .hero {
        min-height: 100vh;
    }

    .nav-menu {
        max-height: calc(100vh - 64px);
    }
}

/* Collaborators Section - Clean & Minimalist (Like Ekosistem) */
.collaborators-section {
    padding: 2.5rem 0 1.5rem 0;
    background: #ffffff;
    overflow: hidden;
    position: relative;
}

.collaborators-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
    margin-top: 2rem;
}

.collaborators-row {
    position: relative;
    overflow: hidden;
    height: 160px;
    margin: 0;
    white-space: nowrap;
}

/* Slider Track - CSS Animation - SEAMLESS INFINITE - KECEPATAN TETAP */
.collaborators-slider-track {
    display: flex;
    animation: slideCollaboratorsRight 25s linear infinite;
    will-change: transform;
    transform-style: preserve-3d;
    backface-visibility: hidden;
    gap: 0;
    animation-timing-function: linear !important; /* Kecepatan tetap tanpa akselerasi/decelerasi */
    animation-iteration-count: infinite;
    animation-fill-mode: both;
}

/* Pause animation on hover */
.collaborators-row:hover .collaborators-slider-track {
    animation-play-state: paused;
}

/* Slider Animation - SEAMLESS LOOP */
/* Animasi bergerak tepat setengah dari total items untuk seamless effect */
@keyframes slideCollaboratorsRight {
    0% { 
        transform: translate3d(0, 0, 0); 
    }
    100% { 
        transform: translate3d(-50%, 0, 0); 
    }
}

/* Collaborator Box - Card Container */
.collaborator-box {
    width: 320px;
    height: 140px;
    padding: 0 10px;
    flex-shrink: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Collaborator Link */
.collaborator-link {
    width: 100%;
    height: 100%;
    text-decoration: none;
    color: inherit;
    display: block;
}

.collaborator-link:hover {
    text-decoration: none;
    color: inherit;
}

/* Collaborator Card - Clean & Minimalist */
.collaborator-card {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    background: #ffffff;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    transition: all 0.2s ease;
    cursor: pointer;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.collaborator-link:hover .collaborator-card,
.collaborator-card:hover {
    border-color: var(--primary-color);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

/* Collaborator Logo - Golden Circle */
.collaborator-logo {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    border-radius: 50%;
    /* background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%); */
    overflow: hidden;
}

.collaborator-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 8px;
}

.collaborator-logo-placeholder {
    color: #ffffff;
    font-size: 1.5rem;
}

/* Collaborator Content */
.collaborator-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100%;
    text-align: center;
}

.collaborator-name {
    font-size: 0.95rem;
    font-weight: 600;
    color: #2c3e50;
    line-height: 1.4;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.collaborator-desc {
    display: none;
}

/* Responsive Collaborators */
@media (max-width: 768px) {
    .collaborators-section {
        padding: 30px 0;
    }
    
    .collaborators-row {
        height: 160px;
        padding: 15px 0;
    }
    
    .collaborator-box {
        width: 250px;
        height: 130px;
    }
    
    .collaborators-slider-track {
        gap: 0;
    }
    
    @keyframes slideCollaboratorsRight {
        0% { transform: translate3d(0, 0, 0); }
        100% { transform: translate3d(-50%, 0, 0); }
    }
    
    .collaborator-card {
        padding: 15px;
    }
    
    .collaborator-logo {
        width: 60px;
        height: 60px;
        margin-bottom: 12px;
    }
    
    .collaborator-name {
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .collaborators-section {
        padding: 25px 0;
    }
    
    .collaborators-row {
        height: 140px;
        padding: 12px 0;
    }
    
    .collaborator-box {
        width: 220px;
        height: 120px;
    }
    
    .collaborators-slider-track {
        gap: 0;
    }
    
    @keyframes slideCollaboratorsRight {
        0% { transform: translate3d(0, 0, 0); }
        100% { transform: translate3d(-50%, 0, 0); }
    }
    
    .collaborator-card {
        padding: 12px;
    }
    
    .collaborator-logo {
        width: 50px;
        height: 50px;
        margin-bottom: 10px;
    }
    
    .collaborator-logo-placeholder {
        font-size: 1.5rem;
    }
    
    .collaborator-name {
        font-size: 0.8rem;
    }
}

/* GPU acceleration for smooth animations */
.collaborators-slider-track,
.collaborator-card {
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    will-change: transform;
}

/* Perangkat Desa Section - Same Style as Collaborators */
.perangkat-section {
    padding: 2.5rem 0 1.5rem 0;
    background: #ffffff;
    overflow: hidden;
    position: relative;
}

.perangkat-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
    margin-top: 2rem;
}

.perangkat-row {
    position: relative;
    overflow: hidden;
    height: 220px;
    margin: 0;
    white-space: nowrap;
}

/* Slider Track - CSS Animation - SEAMLESS INFINITE - KECEPATAN TETAP */
.perangkat-slider-track {
    display: flex;
    animation: slidePerangkatRight 30s linear infinite;
    will-change: transform;
    transform-style: preserve-3d;
    backface-visibility: hidden;
    gap: 0;
    animation-timing-function: linear !important;
    animation-iteration-count: infinite;
    animation-fill-mode: both;
}

/* Pause animation on hover */
.perangkat-row:hover .perangkat-slider-track {
    animation-play-state: paused;
}

/* Slider Animation - SEAMLESS LOOP */
@keyframes slidePerangkatRight {
    0% { 
        transform: translate3d(0, 0, 0); 
    }
    100% { 
        transform: translate3d(-50%, 0, 0); 
    }
}

/* Perangkat Box - Card Container */
.perangkat-box {
    width: 280px;
    height: 200px;
    padding: 0 10px;
    flex-shrink: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Perangkat Card - Clean & Minimalist */
.perangkat-card {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    background: #ffffff;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    transition: all 0.2s ease;
    cursor: pointer;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.perangkat-card:hover {
    border-color: var(--primary-color);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}

/* Perangkat Photo - Circle */
.perangkat-photo {
    width: 110px;
    height: 110px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    border-radius: 50%;
    overflow: hidden;
    background: linear-gradient(135deg, #f3f4f6 0%, #e5e7eb 100%);
    border: 4px solid #ffffff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    position: relative;
    flex-shrink: 0;
}

.perangkat-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.3s ease;
}

.perangkat-card:hover .perangkat-photo img {
    transform: scale(1.05);
}

.perangkat-photo-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #9ca3af;
    font-size: 2.5rem;
    background: linear-gradient(135deg, #f3f4f6 0%, #e5e7eb 100%);
}

/* Perangkat Content */
.perangkat-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100%;
    text-align: center;
}

.perangkat-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: #2c3e50;
    line-height: 1.4;
    margin: 0 0 6px 0;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.perangkat-jabatan {
    font-size: 0.9rem;
    color: #6b7280;
    line-height: 1.4;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Responsive Perangkat Desa */
@media (max-width: 768px) {
    .perangkat-section {
        padding: 30px 0;
    }
    
    .perangkat-row {
        height: 220px;
        padding: 15px 0;
    }
    
    .perangkat-box {
        width: 240px;
        height: 190px;
    }
    
    .perangkat-slider-track {
        gap: 0;
    }
    
    @keyframes slidePerangkatRight {
        0% { transform: translate3d(0, 0, 0); }
        100% { transform: translate3d(-50%, 0, 0); }
    }
    
    .perangkat-card {
        padding: 15px;
    }
    
    .perangkat-photo {
        width: 80px;
        height: 80px;
        margin-bottom: 12px;
        border: 3px solid #ffffff;
    }
    
    .perangkat-photo-placeholder {
        font-size: 2rem;
    }
    
    .perangkat-name {
        font-size: 0.9rem;
    }
    
    .perangkat-jabatan {
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .perangkat-section {
        padding: 25px 0;
    }
    
    .perangkat-row {
        height: 200px;
        padding: 12px 0;
    }
    
    .perangkat-box {
        width: 200px;
        height: 170px;
    }
    
    .perangkat-slider-track {
        gap: 0;
    }
    
    @keyframes slidePerangkatRight {
        0% { transform: translate3d(0, 0, 0); }
        100% { transform: translate3d(-50%, 0, 0); }
    }
    
    .perangkat-card {
        padding: 12px;
    }
    
    .perangkat-photo {
        width: 70px;
        height: 70px;
        margin-bottom: 10px;
        border: 3px solid #ffffff;
    }
    
    .perangkat-photo-placeholder {
        font-size: 1.8rem;
    }
    
    .perangkat-name {
        font-size: 0.85rem;
    }
    
    .perangkat-jabatan {
        font-size: 0.75rem;
    }
}

/* GPU acceleration for smooth animations */
.perangkat-slider-track,
.perangkat-card {
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    will-change: transform;
}

/* ========================================
   PUBLIC PAGES STYLING - Clean & Minimalist
   ======================================== */

/* Filter Bar - Clean & Professional */
.filter-bar {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    align-items: center;
}

.filter-bar form {
    flex: 1;
    min-width: 250px;
}

.filter-bar input[type="text"],
.filter-bar input[type="search"],
.filter-bar select {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1.5px solid #e5e7eb;
    border-radius: 8px;
    font-size: 0.875rem;
    font-family: inherit;
    transition: all 0.2s ease;
    background: #ffffff;
    color: #1f2937;
    box-sizing: border-box;
}

.filter-bar input[type="text"]:focus,
.filter-bar input[type="search"]:focus,
.filter-bar select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(23, 107, 77, 0.1);
}

.filter-bar input[type="text"]::placeholder,
.filter-bar input[type="search"]::placeholder {
    color: #9ca3af;
}

.filter-bar select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%236b7280' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    padding-right: 2.5rem;
}

/* Pagination - Clean & Minimalist */
.pagination {
    margin-top: 3rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.pagination a,
.pagination span {
    padding: 0.7rem 1.25rem;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.pagination a.btn-secondary {
    background: #ffffff;
    color: var(--text-dark);
    border: 1.5px solid #e5e7eb;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.pagination a.btn-secondary:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    background: #f8fafc;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
}

.pagination span {
    background: #f8fafc;
    border: 1.5px solid #e5e7eb;
    color: var(--text-dark);
    font-weight: 500;
}

/* Empty State - Professional */
.empty-state {
    text-align: center;
    padding: 4rem 2rem;
}

.empty-state > div:first-child {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: #f8fafc;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.empty-state i {
    font-size: 2.5rem;
    color: #9ca3af;
}

.empty-state p {
    color: #6b7280;
    font-size: 1rem;
    font-weight: 500;
    margin: 0;
}

/* Hero Section for List Pages - Clean */
.hero .hero-content {
    max-width: 100%;
    text-align: center;
}

.hero .hero-tag {
    margin-bottom: 1rem;
}

.hero .hero-subtitle {
    max-width: 600px;
    margin: 0 auto;
}

/* Card Improvements - More Spacing */
.berita-content,
.potensi-content {
    padding: 1.75rem;
}

.berita-content p,
.potensi-content p {
    color: #4b5563;
    line-height: 1.7;
    font-size: 0.9375rem;
    margin-bottom: 0;
}

/* Potensi Card Improvements */
.potensi-card {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #e5e7eb;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    transition: all var(--transition-base);
}

.potensi-card:hover {
    border-color: var(--primary-color);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.potensi-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

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

.potensi-content {
    padding: 1.75rem;
}

.potensi-kategori {
    display: inline-block;
    background: var(--primary-color);
    color: #ffffff;
    padding: 0.25rem 0.75rem;
    border-radius: 6px;
    font-size: 0.8125rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.potensi-content h3 {
    margin-bottom: 0.75rem;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-dark);
    line-height: 1.4;
}

.potensi-content p {
    color: #4b5563;
    line-height: 1.7;
    font-size: 0.9375rem;
    margin-bottom: 0.5rem;
}

.potensi-content p:last-child {
    margin-bottom: 0;
}

.potensi-content p i {
    color: var(--primary-color);
    margin-right: 0.5rem;
    font-size: 0.875rem;
}

/* UMKM Grid - Clean & Professional */
.umkm-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.umkm-card {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #e5e7eb;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    transition: all var(--transition-base);
    display: flex;
    flex-direction: column;
}

.umkm-card:hover {
    border-color: var(--primary-color);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.umkm-image {
    width: 100%;
    height: 220px;
    overflow: hidden;
    position: relative;
    background: #f8fafc;
}

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

.umkm-verified-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    padding: 0.375rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.375rem;
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.3);
}

.umkm-verified-badge i {
    font-size: 0.75rem;
}

.umkm-content {
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.umkm-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 0.75rem;
}

.umkm-header h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-dark);
    line-height: 1.4;
    margin: 0;
    flex: 1;
}

.umkm-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.25rem 0.625rem;
    background: #ecfdf5;
    color: #059669;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    white-space: nowrap;
}

.umkm-owner {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #6b7280;
    font-size: 0.875rem;
    margin-bottom: 0.75rem;
}

.umkm-owner i {
    color: var(--primary-color);
    font-size: 0.875rem;
}

.umkm-description {
    color: #4b5563;
    line-height: 1.7;
    font-size: 0.9375rem;
    margin-bottom: 1rem;
    flex: 1;
}

.umkm-products {
    margin-bottom: 1rem;
    padding: 0.875rem;
    background: #f8fafc;
    border-radius: 8px;
    border-left: 3px solid var(--primary-color);
}

.umkm-products strong {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-dark);
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.umkm-products strong i {
    color: var(--primary-color);
}

.umkm-products p {
    color: #4b5563;
    font-size: 0.875rem;
    line-height: 1.6;
    margin: 0;
}

.umkm-info {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1.25rem;
    padding-top: 1rem;
    border-top: 1px solid #e5e7eb;
}

.umkm-info-item {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    color: #6b7280;
    font-size: 0.875rem;
    line-height: 1.5;
}

.umkm-info-item i {
    color: var(--primary-color);
    font-size: 0.875rem;
    margin-top: 0.125rem;
    flex-shrink: 0;
}

.umkm-info-item span {
    flex: 1;
}

.umkm-actions {
    margin-top: auto;
}

.umkm-wa-btn {
    width: 100%;
    padding: 0.875rem 1.5rem;
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 0.9375rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 8px rgba(37, 211, 102, 0.25);
    text-decoration: none;
    letter-spacing: 0.01em;
}

.umkm-wa-btn:hover {
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.35);
    transform: translateY(-1px);
    color: white;
}

.umkm-wa-btn:active {
    transform: translateY(0);
}

.umkm-wa-btn i {
    font-size: 1.125rem;
}

/* Responsive Filter & Pagination */
@media (max-width: 768px) {
    .filter-bar {
        flex-direction: column;
        align-items: stretch;
    }
    
    .filter-bar form,
    .filter-bar select {
        width: 100%;
    }
    
    .pagination {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .pagination a,
    .pagination span {
        width: 100%;
        text-align: center;
    }
    
    .empty-state {
        padding: 3rem 1.5rem;
    }
    
    .empty-state > div:first-child {
        width: 64px;
        height: 64px;
    }
    
    .empty-state i {
        font-size: 2rem;
    }
    
    .umkm-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .umkm-content {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .filter-bar {
        margin-bottom: 1.5rem;
    }
    
    .filter-bar input[type="text"],
    .filter-bar input[type="search"],
    .filter-bar select {
        padding: 0.625rem 0.875rem;
        font-size: 0.8125rem;
    }
    
    .pagination {
        margin-top: 2rem;
    }
    
    .pagination a,
    .pagination span {
        padding: 0.625rem 1rem;
        font-size: 0.8125rem;
    }
    
    .empty-state {
        padding: 2.5rem 1rem;
    }
    
    .empty-state p {
        font-size: 0.9375rem;
    }
    
    .umkm-grid {
        gap: 1.25rem;
    }
    
    .umkm-content {
        padding: 1.25rem;
    }
    
    .umkm-image {
        height: 180px;
    }
    
    .umkm-header h3 {
        font-size: 1.125rem;
    }
    
    .umkm-wa-btn {
        padding: 0.75rem 1.25rem;
        font-size: 0.875rem;
    }
}

/* Print Styles */
@media print {
    .header,
    .footer,
    .hamburger,
    .nav-menu {
        display: none;
    }

    main {
        margin-top: 0;
    }

    .section {
        page-break-inside: avoid;
    }
}

