/* style.css */

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px; /* Offset for sticky nav */
}

/* Base body texture */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.018'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 0;
}

/* Hide scrollbar for the fullscreen menu */
.no-scroll {
    overflow: hidden;
}

/* Custom class for the hover line effect on governance cards */
.gov-card::after {
    content: '';
    position: absolute;
    bottom: 0; 
    left: 0; 
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, #C8102E, transparent);
    opacity: 0;
    transition: opacity 0.3s;
}
.gov-card:hover::after { 
    opacity: 1; 
}
