/* Custom styles for the services section */
#services .icon-box:hover {
    transform: translateY(-8px) scale(1.03);
    box-shadow:
        0 20px 50px rgba(0, 0, 0, 0.15),
        0 8px 25px rgba(102, 126, 234, 0.3);
    border-color: rgba(255, 255, 255, 0.6);
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.9) 0%, rgba(118, 75, 162, 0.9) 100%);
}

/* Ensure text and icons remain readable on hover */
#services .icon-box:hover .title a,
#services .icon-box:hover .icon i {
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    opacity: 1;
    visibility: visible;
    font-weight: 700;
}

#services .icon-box:hover::before {
    opacity: 0.8;
}

/* Enhanced Footer Styles */
#footer {
    background: linear-gradient(to right, #2c3e50, #3a6073);
    color: rgba(255, 255, 255, 0.8);
    padding-top: 40px;
}

#footer h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: white;
}

#footer h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: white;
    margin-bottom: 1.2rem;
    position: relative;
    padding-bottom: 10px;
}

#footer h4:after {
    content: '';
    position: absolute;
    display: block;
    width: 50px;
    height: 3px;
    background: #4a89dc;
    bottom: 0;
    left: 0;
}

.footer-info p {
    font-size: 0.95rem;
    line-height: 1.5;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.75);
    transition: all 0.3s ease;
    text-decoration: none;
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: white;
    padding-left: 5px;
}

.footer-links .bi {
    font-size: 0.8rem;
    color: #4a89dc;
}

.footer-info a {
    color: rgba(255, 255, 255, 0.75);
    transition: all 0.3s;
}

.footer-info a:hover {
    color: white;
}

.footer-map {
    margin-top: 10px;
    margin-bottom: 20px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.footer-map iframe {
    width: 100%;
    height: 200px;
    border: none;
}

/* Stunting Statistics Section */
.stunting-stats-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 60px 0;
    margin-top: 0;
}

.stunting-stats-section .section-title h2 {
    color: #e74c3c;
    font-weight: 700;
}

.stunting-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.stunting-normal {
    background: linear-gradient(135deg, #27ae60 0%, #2ecc71 100%);
    color: white;
}

.stunting-danger {
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    color: white;
}

.stunting-warning {
    background: linear-gradient(135deg, #f39c12 0%, #e67e22 100%);
    color: white;
}

.stunting-info {
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    color: white;
}

.stunting-info-card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-left: 5px solid #e74c3c;
}

.stunting-info-card h4 {
    color: #e74c3c;
    margin-bottom: 15px;
    font-weight: 600;
}

.btn-link {
    color: #e74c3c;
    text-decoration: none;
    font-weight: 600;
    border-bottom: 1px solid transparent;
    transition: all 0.3s ease;
}

.btn-link:hover {
    color: #c0392b;
    border-bottom-color: #c0392b;
}

.copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
}