body {
    font-family: 'Poppins', sans-serif;
    background-color: #f8f9fa;  
}
/* Custom Styles for Navbar */
.bg-gradient-primary {
    background: linear-gradient(135deg, #007bff, #00bfff); 
}

.navbar-logo {
    height: 70px;
    width: auto;
    margin-right: 15px;
}

.nav {
    display: flex;
    align-items: center;
}

.nav-item {
    margin-left: 20px;
}

.nav-link {
    padding: 10px 15px;
    border-radius: 5px;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.2s ease;
    font-weight: 500;
}

.nav-link:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: #fff !important;
    transform: translateY(-2px); /* Slight lift on hover */
}

.nav-link.active {
    background-color: rgba(255, 255, 255, 0.2);
    color: #fff !important;
}

/* Responsive Navbar */
@media (max-width: 768px) {
    .nav {
        flex-direction: column;
        align-items: flex-start;
    }

    .nav-item {
        margin-left: 0;
        margin-bottom: 10px;
    }

    .nav-link {
        padding: 8px 12px;
    }
}

/* Hero Section Enhancements */
.hero-section {
    background: linear-gradient(rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0.7)), url('../image/barangay-bg.jpg');
    background-size: cover;
    background-position: center;
    height: 90vh;
    color: black;
    text-shadow: 2px 2px 4px rgba(255, 255, 255, 0.3);
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.hero-logo {
    height: 50vh;
    max-width: auto;
    animation: fadeIn 2s ease-in-out;
    filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.5));
}
/* Announcement Section with Background Image */    
.announcement-section {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../image/barangay-bg.jpg');
    background-size: cover;
    background-position: center;
    height: auto;
    color: black;
    text-shadow: 2px 2px 4px rgba(255, 255, 255, 0.3);
    padding: 30px;
}

/* Ensure text and icons are white */
.announcement-section h3,
.announcement-section h4,
.announcement-section h5,
.announcement-section p,
.announcement-section li,
.announcement-section .fas { 
    color: white; 
}

/* List group items */
.announcement-section .list-group-item {
    background-color: rgba(255, 255, 255, 0.1); /* Semi-transparent background */
    border: none;
    border-radius: 10px;
    padding: 20px;
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease;
    height: 100%; /* Ensure equal height */
}

.announcement-section .list-group-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 10px rgba(255, 255, 255, 0.2);
}

.announcement-section .list-group-item:hover {
    background-color: rgba(0, 123, 255, 0.8); /* Semi-transparent blue */
    color: white; /* Ensure text is white on hover */
    transform: translateY(-5px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

/* Ensure icons and text are white on hover */
.announcement-section .list-group-item:hover h5,
.announcement-section .list-group-item:hover p,
.announcement-section .list-group-item:hover .fas {
    color: white;
}

/* Equal height for cards */
.row {
    display: flex;
    flex-wrap: wrap;
}

.row > [class*='col-'] {
    display: flex;
    flex-direction: column;
}

/* Button Enhancements */
.btn-primary, .btn-success .btn-danger  {
    padding: 12px 24px;
    font-size: 1.1rem;
    border-radius: 30px;
    transition: background-color 0.3s ease, transform 0.2s ease;
    border: none;
    font-weight: 500;
}

.btn-primary {
    background: linear-gradient(135deg, #007bff, #00bfff);
}

.btn-success {
    background: linear-gradient(135deg, #28a745, #20c997);
}

.btn-danger {
    background: linear-gradient(135deg, #ff2929, #ee5c5c);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #0056b3, #0099cc);
    transform: translateY(-2px);
}

.btn-success:hover {
    background: linear-gradient(135deg, #218838, #17a2b8);
    transform: translateY(-2px);
}

/* Announcement Section Enhancements */
.list-group-item {
    border: none;
    margin-bottom: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease;
    border-radius: 10px;
}

.list-group-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

/* Footer Enhancements */
footer {
    background-color: #343a40;
    color: white;
    padding: 20px 0;
}

footer a {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
}

footer a:hover {
    color: #17a2b8;
}

/* Keyframes for Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}



/* Sidebar Styling */
.sidebar {
    background: linear-gradient(180deg, #4e73df, #224abe);
    color: white;
    height: 100vh;
    position: fixed;
    width: 250px;
    padding: 20px;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
}

/* Sidebar Logo Container */
.sidebar-logo-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 30px;
}

/* Sidebar Logo Styling */
.sidebar-logo {
    width: 100px;
    height: auto;
   
}

.sidebar a {
    color: white;
    text-decoration: none;
    padding: 10px 15px;
    margin: 5px 0;
    border-radius: 5px;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: background 0.3s, transform 0.2s;
}

.sidebar a:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(5px);
}

.sidebar a.active {
    background: rgba(255, 255, 255, 0.2);
}

/* Content Area Styling */
.content-area {
    margin-left: 250px;
    padding: 20px;
}


.profile-card {
    max-width: 400px;
    margin: 20px auto;
}

