/* Modern Hero Section */
.modern-hero-section {
    position: relative;
    min-height: 100vh;
    background: linear-gradient(135deg, #43A047 0%, #1B5E20 50%, #2E7D32 100%);
    overflow: hidden;
    display: flex;
    align-items: center;
    color: white;
}

.modern-hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.1);
    z-index: 1;
}

.modern-hero-section .container {
    position: relative;
    z-index: 2;
}

/* Floating Shapes */
.floating-shape {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    animation: float-around 20s infinite linear;
    z-index: 1;
}

.shape-1 {
    width: 150px;
    height: 150px;
    top: 15%;
    left: 10%;
    animation-delay: 0s;
    animation-duration: 25s;
    animation-name: drift;
}

.shape-2 {
    width: 100px;
    height: 100px;
    top: 60%;
    right: 15%;
    animation-delay: -5s;
    animation-duration: 30s;
    animation-name: float-around;
}

.shape-3 {
    width: 80px;
    height: 80px;
    bottom: 20%;
    left: 20%;
    animation-delay: -10s;
    animation-duration: 35s;
    animation-name: drift;
}

.shape-4 {
    width: 120px;
    height: 120px;
    top: 40%;
    right: 30%;
    animation-delay: -15s;
    animation-duration: 28s;
    animation-name: float-around;
}

@keyframes drift {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    33% { transform: translate(50px, -50px) rotate(120deg); }
    66% { transform: translate(-20px, 30px) rotate(240deg); }
}

@keyframes float-around {
    0% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(30px, -40px) rotate(90deg); }
    50% { transform: translate(-30px, -20px) rotate(180deg); }
    75% { transform: translate(20px, 40px) rotate(270deg); }
    100% { transform: translate(0, 0) rotate(360deg); }
}

/* Hero Content */
.hero-content {
    padding: 2rem 0;
}

.hero-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.gradient-text {
    background: linear-gradient(135deg, #ffffff, #e8f5e9);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}

.hero-subtitle {
    font-size: 1.3rem;
    line-height: 1.6;
    opacity: 0.9;
    max-width: 500px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.hero-cta .btn {
    padding: 1rem 2.5rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-primary {
    background: linear-gradient(135deg, #43A047, #1B5E20);
    border: none;
    box-shadow: 0 10px 25px rgba(67, 160, 71, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(67, 160, 71, 0.4);
}

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

.btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: white;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(255, 255, 255, 0.2);
}

/* Glassmorphism Stats */
.stat-item {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 2rem 1.5rem;
    text-align: center;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.stat-item::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transform: rotate(45deg);
    transition: all 0.6s ease;
    opacity: 0;
}

.stat-item:hover::before {
    opacity: 1;
    transform: rotate(45deg) translate(50%, 50%);
}

.stat-item:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.icon-wrapper {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem auto;
    font-size: 1.5rem;
    color: white;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.stat-item:hover .icon-wrapper {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
    animation: pulse-glow 2s ease-in-out infinite;
}

@keyframes pulse-glow {
    0%, 100% { box-shadow: 0 0 20px rgba(255, 255, 255, 0.5); }
    50% { box-shadow: 0 0 40px rgba(255, 255, 255, 0.8); }
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: white;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.stat-label {
    font-size: 1rem;
    opacity: 0.9;
    margin-bottom: 0;
    color: white;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="20" height="20" patternUnits="userSpaceOnUse"><path d="M 20 0 L 0 0 0 20" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.5;
    animation: drift 30s ease-in-out infinite;
}

/* Filter Section */
.filter-section {
    background: #f8fafc;
}

.filter-btn {
    border: 2px solid #43A047;
    color: #43A047;
    background: transparent;
    transition: all 0.3s ease;
    border-radius: 25px;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
}

.filter-btn:hover,
.filter-btn.active {
    background: linear-gradient(135deg, #43A047, #1B5E20);
    color: white;
    border-color: transparent;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(67, 160, 71, 0.3);
}

/* Responsive Design */
@media (max-width: 1200px) {
    .hero-title {
        font-size: 3rem;
    }
    
    .stat-item {
        padding: 1.5rem 1rem;
    }
}

@media (max-width: 992px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .modern-hero-section {
        min-height: 80vh;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
        margin-bottom: 1rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .modern-hero-section {
        min-height: 70vh;
    }
    
    .stat-item {
        padding: 1.5rem 1rem;
        margin-bottom: 1rem;
    }
    
    .stat-number {
        font-size: 1.8rem;
    }
    
    .hero-cta .btn {
        display: block;
        width: 100%;
        margin-bottom: 1rem;
    }
    
    .hero-cta .btn:last-child {
        margin-bottom: 0;
    }

    .filter-btn {
        margin-bottom: 0.5rem;
        width: 100%;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 1.8rem;
    }
    
    .hero-subtitle {
        font-size: 0.95rem;
    }
    
    .stat-item {
        padding: 1rem;
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
    
    .icon-wrapper {
        width: 60px;
        height: 60px;
    }
    
    .icon-wrapper i {
        font-size: 1.2rem;
    }
}

/* Modern Dokumentasi Cards */
.dokumentasi-card {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 25px;
    overflow: hidden;
    background: white;
    border: none;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    position: relative;
    display: flex;
    flex-direction: column;
}

.dokumentasi-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, #43A047, #1B5E20);
    transform: scaleX(0);
    transition: transform 0.3s ease;
    z-index: 1;
}

.dokumentasi-card:hover::before {
    transform: scaleX(1);
}

.dokumentasi-card:hover {
    transform: translateY(-20px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
}

.dokumentasi-card .card-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 2rem;
}

.dokumentasi-card .card-footer {
    margin-top: auto;
}

.dokumentasi-image-container {
    position: relative;
    overflow: hidden;
    background: #f8f9fa;
    min-height: 200px;
    max-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dokumentasi-image {
    transition: all 0.4s ease;
    width: 100%;
    height: auto;
    max-width: 100%;
    max-height: 400px;
    object-fit: contain;
    object-position: center;
    opacity: 0;
}

.dokumentasi-card:hover .dokumentasi-image {
    transform: scale(1.1);
}

.dokumentasi-image.loaded {
    opacity: 1;
}

/* Modern Badge Styling */
.badge.bg-primary {
    background: linear-gradient(135deg, #43A047, #1B5E20) !important;
}

.badge.bg-success {
    background: linear-gradient(135deg, #11998e, #38ef7d) !important;
}

.badge.bg-warning {
    background: linear-gradient(135deg, #f093fb, #f5576c) !important;
    color: white !important;
}

.badge.bg-info {
    background: linear-gradient(135deg, #66BB6A, #A5D6A7) !important;
}

/* File Viewer Styles */
.file-viewer-container {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 1rem;
    border: 1px solid #dee2e6;
    min-height: 200px;
    max-height: 400px;
    display: flex;
    flex-direction: column;
}

.file-frame {
    width: 100%;
    height: 300px;
    border: none;
    border-radius: 8px;
    background: white;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    flex: 1;
}

.text-frame {
    height: 250px;
    font-family: 'Courier New', monospace;
    background: #ffffff;
    flex: 1;
}

.file-preview-header {
    background: #e9ecef;
    padding: 0.75rem 1rem;
    border-radius: 6px;
    margin-bottom: 0.75rem;
    font-weight: 500;
    color: #495057;
    border: 1px solid #dee2e6;
}

.generic-file-preview {
    text-align: center;
    padding: 2rem 1rem;
}

.file-icon-container {
    margin-bottom: 1rem;
}

.file-name {
    color: #2c3e50;
    font-weight: 600;
    margin-bottom: 0.5rem;
    word-break: break-word;
}

.file-type {
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.pdf-viewer, .office-viewer, .text-viewer {
    position: relative;
}

.file-viewer-embed {
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        max-height: 0;
    }
    to {
        opacity: 1;
        max-height: 500px;
    }
}

/* Empty State */
.empty-state {
    padding: 3rem 2rem;
}

.empty-state i {
    opacity: 0.5;
}
    border-radius: 25px;
    padding: 2.5rem 1.5rem;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    height: 100%;
}

.stat-item:hover {
    transform: translateY(-15px) scale(1.05);
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
}

.stat-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: all 0.3s ease;
}

.stat-item:hover .stat-icon {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.stat-icon i {
    font-size: 1.5rem;
    color: white;
}

.stat-number {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: white;
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.3);
}

.stat-label {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0;
    font-weight: 400;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

/* Hero CTA */
.hero-cta {
    margin-top: 3rem;
}

/* Buttons */
.btn-light {
    background: white;
    border: none;
    color: #1B5E20;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

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

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

.btn-light:hover {
    color: #2E7D32;
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.btn-outline-light {
    border: 2px solid rgba(255, 255, 255, 0.8);
    color: white;
    background: transparent;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-outline-light:hover {
    background: white;
    color: #1B5E20;
    border-color: white;
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(255, 255, 255, 0.2);
}

.hover-lift {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* Animations */
@keyframes drift {
    0%, 100% { transform: translateX(0) translateY(0); }
    33% { transform: translateX(30px) translateY(-20px); }
    66% { transform: translateX(-20px) translateY(10px); }
}

@keyframes float-around {
    0%, 100% { transform: translateY(0px) translateX(0px) rotate(0deg); }
    25% { transform: translateY(-20px) translateX(10px) rotate(90deg); }
    50% { transform: translateY(0px) translateX(20px) rotate(180deg); }
    75% { transform: translateY(10px) translateX(-5px) rotate(270deg); }
}

@keyframes pulse-glow {
    0%, 100% { 
        box-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
        transform: scale(1);
    }
    50% { 
        box-shadow: 0 0 30px rgba(255, 255, 255, 0.5);
        transform: scale(1.05);
    }
}

@keyframes shimmer {
    0%, 100% { filter: brightness(1); }
    50% { filter: brightness(1.2); }
}

/* Documentation Section Modern Styling */
.documentation-section {
    background: #f8f9fa;
    position: relative;
}

.section-header .badge {
    background: linear-gradient(135deg, #43A047, #1B5E20) !important;
}

.section-title {
    font-size: 2.8rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.1rem;
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto;
}
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.stat-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: white;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.stat-label {
    font-size: 1rem;
    opacity: 0.9;
    margin-bottom: 0;
    color: white;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

/* Filter Section */
.filter-container {
    background: #f8f9fa;
    border-radius: 15px;
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.filter-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.filter-btn {
    border-radius: 25px;
    padding: 0.5rem 1rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.filter-btn.active {
    background: linear-gradient(135deg, #43A047 0%, #1B5E20 100%);
    color: white;
    border-color: transparent;
}

.filter-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(67, 160, 71, 0.3);
}

/* Dokumentasi Cards */
.dokumentasi-card {
    transition: all 0.3s ease;
    border-radius: 15px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.dokumentasi-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.dokumentasi-image-container {
    position: relative;
    overflow: hidden;
    background: #f8f9fa;
    min-height: 200px;
    max-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dokumentasi-image {
    transition: transform 0.3s ease, opacity 0.3s ease;
    width: 100%;
    height: auto;
    max-width: 100%;
    max-height: 400px;
    object-fit: contain;
    object-position: center;
    opacity: 0;
}

.dokumentasi-image.loaded {
    opacity: 1;
}

.dokumentasi-image-placeholder {
    min-height: 200px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid #dee2e6;
}

.placeholder-content {
    text-align: center;
    padding: 2rem;
}

.dokumentasi-card:hover .dokumentasi-image {
    transform: scale(1.02);
}

.card-title {
    color: #2c3e50;
    line-height: 1.4;
}

.card-text {
    line-height: 1.6;
}

/* Badges */
.badge {
    font-size: 0.85rem;
    font-weight: 500;
}

/* Buttons */
.btn-primary {
    background: linear-gradient(135deg, #43A047 0%, #1B5E20 100%);
    border: none;
    border-radius: 10px;
    padding: 12px 24px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(67, 160, 71, 0.3);
}

/* Empty State */
.empty-state {
    padding: 3rem 2rem;
}

.empty-state i {
    opacity: 0.5;
}

/* File Viewer Styles */
.file-viewer-container {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 1rem;
    border: 1px solid #dee2e6;
    min-height: 200px;
    max-height: 400px;
    display: flex;
    flex-direction: column;
}

.file-frame {
    width: 100%;
    height: 300px;
    border: none;
    border-radius: 8px;
    background: white;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    flex: 1;
}

.text-frame {
    height: 250px;
    font-family: 'Courier New', monospace;
    background: #ffffff;
    flex: 1;
}

.file-preview-header {
    background: #e9ecef;
    padding: 0.75rem 1rem;
    border-radius: 6px;
    margin-bottom: 0.75rem;
    font-weight: 500;
    color: #495057;
    border: 1px solid #dee2e6;
}

.generic-file-preview {
    text-align: center;
    padding: 2rem 1rem;
}

.file-icon-container {
    margin-bottom: 1rem;
}

.file-name {
    color: #2c3e50;
    font-weight: 600;
    margin-bottom: 0.5rem;
    word-break: break-word;
}

.file-type {
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.pdf-viewer, .office-viewer, .text-viewer {
    position: relative;
}

.file-viewer-embed {
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        max-height: 0;
    }
    to {
        opacity: 1;
        max-height: 500px;
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .card {
        margin-bottom: 1rem;
    }
    
    .dokumentasi-badge {
        font-size: 0.75rem;
        padding: 0.25rem 0.5rem;
    }
    
    .file-viewer-container {
        max-height: 280px;
    }
    
    .file-frame {
        height: 200px;
    }
    
    .text-frame {
        height: 180px;
    }
    
    .dokumentasi-image-container {
        max-height: 280px;
        min-height: 180px;
    }
    
    .dokumentasi-image {
        max-height: 280px;
    }
    
    .filter-buttons {
        justify-content: center;
    }
    
    .filter-btn {
        font-size: 0.875rem;
        padding: 0.4rem 0.8rem;
    }
}

@media (min-width: 992px) {
    .file-viewer-container {
        max-height: 420px;
    }
    
    .file-frame {
        height: 320px;
    }
    
    .text-frame {
        height: 300px;
    }
    
    .dokumentasi-image-container {
        max-height: 420px;
    }
    
    .dokumentasi-image {
        max-height: 420px;
    }
}

@media (min-width: 1200px) {
    .file-viewer-container {
        max-height: 400px;
    }
    
    .file-frame {
        height: 300px;
    }
    
    .text-frame {
        height: 280px;
    }
}

/* Modern Dokumentasi Cards */
.dokumentasi-card {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 25px;
    overflow: hidden;
    background: white;
    border: none;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    position: relative;
    display: flex;
    flex-direction: column;
}

.dokumentasi-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, #43A047, #1B5E20);
    transform: scaleX(0);
    transition: transform 0.3s ease;
    z-index: 1;
}

.dokumentasi-card:hover::before {
    transform: scaleX(1);
}

.dokumentasi-card:hover {
    transform: translateY(-20px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
}

.dokumentasi-card .card-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 2rem;
}

.dokumentasi-card .card-footer {
    margin-top: auto;
}

.dokumentasi-image-container {
    position: relative;
    overflow: hidden;
    background: #f8f9fa;
    min-height: 200px;
    max-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dokumentasi-image {
    transition: all 0.4s ease;
    width: 100%;
    height: auto;
    max-width: 100%;
    max-height: 400px;
    object-fit: contain;
    object-position: center;
    opacity: 0;
}

.dokumentasi-card:hover .dokumentasi-image {
    transform: scale(1.1);
}

.dokumentasi-image.loaded {
    opacity: 1;
}

/* Modern Badge Styling */
.badge.bg-primary {
    background: linear-gradient(135deg, #43A047, #1B5E20) !important;
}

.badge.bg-success {
    background: linear-gradient(135deg, #11998e, #38ef7d) !important;
}

.badge.bg-warning {
    background: linear-gradient(135deg, #f093fb, #f5576c) !important;
    color: white !important;
}

.badge.bg-info {
    background: linear-gradient(135deg, #66BB6A, #A5D6A7) !important;
}

/* Modern Filter Buttons */
.filter-btn {
    border: 2px solid #43A047;
    color: #43A047;
    background: transparent;
    transition: all 0.3s ease;
    border-radius: 25px;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
}

.filter-btn:hover,
.filter-btn.active {
    background: linear-gradient(135deg, #43A047, #1B5E20);
    color: white;
    border-color: transparent;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(67, 160, 71, 0.3);
}

/* Enhanced Responsive Design */
@media (max-width: 1200px) {
    .hero-title {
        font-size: 3.2rem;
    }
    
    .stat-item {
        padding: 2rem 1rem;
    }
}

@media (max-width: 992px) {
    .hero-title {
        font-size: 2.8rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .stat-number {
        font-size: 2.2rem;
    }
    
    .modern-hero-section {
        min-height: 80vh;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.2rem;
        margin-bottom: 1.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .modern-hero-section {
        min-height: 70vh;
    }
    
    .stat-item {
        padding: 1.5rem 1rem;
        margin-bottom: 1rem;
    }
    
    .stat-number {
        font-size: 1.8rem;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
    
    .dokumentasi-card:hover {
        transform: translateY(-10px);
    }
    
    .hero-cta .btn {
        display: block;
        width: 100%;
        margin-bottom: 1rem;
    }
    
    .hero-cta .btn:last-child {
        margin-bottom: 0;
    }

    .filter-btn {
        margin-bottom: 0.5rem;
        width: 100%;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 1.8rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .stat-item {
        padding: 1rem;
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
    
    .icon-wrapper {
        width: 70px;
        height: 70px;
    }
    
    .icon-wrapper i {
        font-size: 1.8rem;
    }
    
    .dokumentasi-card {
        margin-bottom: 1.5rem;
    }
    
    .filter-btn {
        margin-bottom: 0.5rem;
    }
}

/* Additional CSS animations */
.animate-in {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

.dokumentasi-card {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes fadeInUp {
    from { 
        opacity: 0; 
        transform: translateY(30px); 
    }
    to { 
        opacity: 1; 
        transform: translateY(0); 
    }
}

.btn.loading {
    pointer-events: none;
    position: relative;
}

.btn.loading::after {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    margin: auto;
    border: 2px solid transparent;
    border-top-color: currentColor;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

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

/* Enhanced hover effects */
.stat-item:hover .icon-wrapper {
    animation: pulse-glow 2s ease-in-out infinite;
}

.floating-shape:hover {
    animation-play-state: paused;
    transform: scale(1.1);
}

/* Social Media Section Styles */
.social-card {
    height: 100%;
    transition: all 0.3s ease;
}

.social-card a {
    text-decoration: none;
    color: inherit;
    display: block;
    height: 100%;
}

.social-content {
    background: white;
    border-radius: 15px;
    padding: 1.5rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    border: 1px solid rgba(0,0,0,0.05);
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.social-content:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.social-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
    color: white;
}

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

/* Brand Colors */
.social-content.facebook .social-icon {
    background: linear-gradient(135deg, #1877F2, #0d5cb8);
    box-shadow: 0 8px 16px rgba(24, 119, 242, 0.3);
}

.social-content.instagram .social-icon {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    box-shadow: 0 8px 16px rgba(220, 39, 67, 0.3);
}

.social-content.tiktok .social-icon {
    background: #000000;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

.social-content.youtube .social-icon {
    background: linear-gradient(135deg, #FF0000, #cc0000);
    box-shadow: 0 8px 16px rgba(255, 0, 0, 0.3);
}

.social-info h6 {
    color: #2c3e50;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.social-info small {
    color: #6c757d;
    font-size: 0.85rem;
}

.social-arrow {
    margin-top: 1rem;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #adb5bd;
    transition: all 0.3s ease;
}

.social-content:hover .social-arrow {
    background: #43A047;
    color: white;
    transform: translateX(5px);
}


/* Informasi Puskesmas Specific Styles */

/* Vision Mission Values */
.vision-section, .mission-section, .values-section {
    position: relative;
}

.section-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 1.5rem;
    color: white;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.visi-icon { background: linear-gradient(135deg, #43A047, #1B5E20); }
.misi-icon { background: linear-gradient(135deg, #11998e, #38ef7d); }
.nilai-icon { background: linear-gradient(135deg, #f093fb, #f5576c); }

.vision-card {
    background: #f8f9fa;
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    border-left: 5px solid #43A047;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.vision-text {
    font-size: 1.25rem;
    font-weight: 600;
    color: #2c3e50;
    font-style: italic;
    margin: 0;
}

.mission-card {
    background: white;
    border-radius: 15px;
    padding: 1.5rem;
    height: 100%;
    border: 1px solid rgba(0,0,0,0.05);
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    display: flex;
    align-items: flex-start;
}

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

.mission-number {
    background: linear-gradient(135deg, #11998e, #38ef7d);
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin-right: 1rem;
    flex-shrink: 0;
}

.mission-text {
    margin: 0;
    color: #495057;
    line-height: 1.6;
}

.value-card {
    background: white;
    border-radius: 15px;
    padding: 1.5rem;
    text-align: center;
    height: 100%;
    transition: all 0.3s ease;
    border: 1px solid rgba(0,0,0,0.05);
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.value-card:hover {
    transform: translateY(-5px);
}

.value-letter {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    background: -webkit-linear-gradient(135deg, #43A047, #1B5E20);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.value-title {
    font-weight: 700;
    color: #2c3e50;
    margin: 0;
}

/* Pustu Cards */
.pustu-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    border: 1px solid rgba(0,0,0,0.05);
}

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

.pustu-header {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 1.5rem;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    display: flex;
    align-items: center;
}

.pustu-number {
    background: linear-gradient(135deg, #43A047, #1B5E20);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
    margin-right: 1rem;
    box-shadow: 0 4px 10px rgba(67, 160, 71, 0.3);
}

.pustu-title {
    margin: 0;
    font-weight: 700;
    color: #2c3e50;
    line-height: 1.2;
}

.pustu-staff {
    padding: 1.5rem;
}

.staff-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.staff-list li {
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    font-size: 0.95rem;
    color: #495057;
}

.staff-list li:last-child {
    margin-bottom: 0;
}

.staff-list li i {
    width: 25px;
    margin-right: 0.5rem;
}

/* Border Cards (Batas Wilayah) */
.border-card {
    background: white;
    border-radius: 15px;
    padding: 1.5rem;
    text-align: center;
    height: 100%;
    transition: all 0.3s ease;
    border: 1px solid rgba(0,0,0,0.05);
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

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

.border-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: #43A047;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.border-card:hover .border-icon {
    background: linear-gradient(135deg, #43A047, #1B5E20);
    color: white;
}

/* Tables */
.table-hover tbody tr:hover {
    background-color: rgba(67, 160, 71, 0.05);
}

.leadership-table th, .demographic-table th, .staff-table th {
    background-color: #f8f9fa;
    border-bottom: 2px solid #dee2e6;
    color: #495057;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
}


/* Informasi Puskesmas Hero Section */
.hero-pelayanan {
    background: linear-gradient(135deg, #43A047 0%, #1B5E20 100%);
    padding: 6rem 0 4rem;
    position: relative;
    overflow: hidden;
}

.hero-pelayanan::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 100 100%22><defs><pattern id=%22grid%22 width=%2210%22 height=%2210%22 patternUnits=%22userSpaceOnUse%22><path d=%22M 10 0 L 0 0 0 10%22 fill=%22none%22 stroke=%22rgba(255,255,255,0.1)%22 stroke-width=%220.5%22/></pattern></defs><rect width=%22100%22 height=%22100%22 fill=%22url(%23grid)%22/></svg>');
    opacity: 0.3;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.1);
}

/* Map Container */
.map-container {
    position: relative;
    padding: 1rem;
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

/* Info Highlight */
.info-highlight {
    background: #f8f9fa;
    border-radius: 15px;
    padding: 1.5rem;
    border-left: 4px solid #43A047;
}

.highlight-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.75rem;
    border-bottom: 1px dashed #dee2e6;
    padding-bottom: 0.75rem;
}

.highlight-item:last-child {
    margin-bottom: 0;
    border-bottom: none;
    padding-bottom: 0;
}

.highlight-item .label {
    font-weight: 600;
    color: #495057;
}

.highlight-item .value {
    color: #43A047;
    font-weight: 700;
}

