/* Wrapper Utama */
.pa-footer-wrapper {
    background: linear-gradient(135deg, #1a3c2a, #2d6a4f, #1a3c2a);
    padding: 20px 0 10px 0;
    color: #ffffff;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
    border-top: 4px solid #0a4b2a;
    border-bottom: 4px solid #0a4b2a;
    margin-top: 30px;
    box-shadow: 0 -5px 15px rgba(0,0,0,0.2);
}

.pa-footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    padding: 0 15px;
}

/* Setiap Kolom */
.pa-footer-col {
    padding: 15px 20px;
    border: 2px solid #0a4b2a;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(4px);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pa-footer-col:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
}

.pa-footer-col h3 {
    color: #a8e6cf;
    border-bottom: 3px solid #0a4b2a;
    padding-bottom: 12px;
    margin-top: 0;
    margin-bottom: 18px;
    font-size: 1.2em;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
    letter-spacing: 0.5px;
    position: relative;
}

.pa-footer-col h3::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 50px;
    height: 3px;
    background: #a8e6cf;
    border-radius: 2px;
}

/* List Styles */
.pa-footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.pa-footer-col li {
    margin-bottom: 12px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    line-height: 1.5;
    font-size: 0.95em;
}

/* Icon Styles */
.pa-icon {
    display: inline-block;
    min-width: 28px;
    font-size: 1.2em;
    color: #a8e6cf;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
    flex-shrink: 0;
}

/* Link Styles */
.pa-footer-col a {
    color: #d4edda;
    text-decoration: none;
    transition: all 0.3s ease;
    word-break: break-word;
    border-bottom: 1px solid transparent;
}

.pa-footer-col a:hover {
    color: #ffffff;
    border-bottom-color: #a8e6cf;
    text-decoration: none;
}

.pa-footer-col a:active {
    color: #a8e6cf;
}

/* Kolom 2: Jam Pelayanan */
.pa-service-hours {
    font-size: 0.95em;
}

.pa-service-hours p {
    margin: 8px 0;
    line-height: 1.8;
    padding: 8px 12px;
    background: rgba(255,255,255,0.05);
    border-radius: 6px;
    border-left: 3px solid #a8e6cf;
}

.pa-service-hours strong {
    color: #a8e6cf;
    font-weight: 700;
}

/* Kolom 3: Sosial Media */
.pa-social-list li {
    padding: 5px 0;
    border-bottom: 1px solid rgba(168, 230, 207, 0.15);
    transition: padding-left 0.3s ease;
}

.pa-social-list li:hover {
    padding-left: 5px;
}

.pa-social-list li:last-child {
    border-bottom: none;
}

.pa-social-list .pa-icon {
    font-size: 1.3em;
}

/* Kolom 4: Statistik */
.pa-stats-list li {
    display: block !important;
    margin-bottom: 10px !important;
    padding: 8px 12px !important;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 6px;
    border-left: 3px solid transparent;
    transition: all 0.3s ease;
}

.pa-stats-list li:hover {
    background: rgba(255, 255, 255, 0.1);
    border-left-color: #a8e6cf;
    padding-left: 16px !important;
}

.pa-stats-list li:last-child {
    border-bottom: none !important;
}

.pa-stats-list .stat-number {
    font-weight: 700;
    color: #a8e6cf;
    font-size: 1.1em;
}

/* Copyright Footer */
.pa-footer-copyright {
    grid-column: 1 / -1;
    text-align: center;
    padding-top: 15px;
    margin-top: 15px;
    border-top: 1px solid rgba(168, 230, 207, 0.15);
    font-size: 0.85em;
    color: rgba(255,255,255,0.7);
}

/* Responsive Design */
@media (max-width: 992px) {
    .pa-footer-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .pa-footer-col h3 {
        font-size: 1.1em;
    }
}

@media (max-width: 768px) {
    .pa-footer-wrapper {
        padding: 15px 0;
    }
    
    .pa-footer-col {
        padding: 12px 15px;
    }
    
    .pa-footer-col li {
        font-size: 0.9em;
    }
}

@media (max-width: 576px) {
    .pa-footer-container {
        grid-template-columns: 1fr;
        gap: 12px;
        padding: 0 10px;
    }
    
    .pa-footer-col {
        margin-bottom: 5px;
        padding: 12px;
    }
    
    .pa-footer-col h3 {
        font-size: 1em;
        padding-bottom: 8px;
        margin-bottom: 12px;
    }
    
    .pa-footer-col li {
        font-size: 0.85em;
        margin-bottom: 8px;
    }
    
    .pa-icon {
        min-width: 22px;
        font-size: 1em;
    }
    
    .pa-service-hours p {
        padding: 5px 10px;
        margin: 5px 0;
    }
}

/* Dark mode support untuk users */
@media (prefers-color-scheme: dark) {
    .pa-footer-wrapper {
        background: linear-gradient(135deg, #0a1f15, #1a3c2a, #0a1f15);
    }
}

/* Print styles */
@media print {
    .pa-footer-wrapper {
        background: #2d6a4f !important;
        -webkit-print-color-adjust: exact !important;
        print-color-adjust: exact !important;
    }
}

/* Animasi loading untuk statistik */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.pa-footer-col {
    animation: fadeInUp 0.5s ease forwards;
}

.pa-footer-col:nth-child(2) {
    animation-delay: 0.1s;
}

.pa-footer-col:nth-child(3) {
    animation-delay: 0.2s;
}

.pa-footer-col:nth-child(4) {
    animation-delay: 0.3s;
}