body {
    font-family: 'Inter', sans-serif;
    background-color: #f8f9fa; /* Light background */
    padding-bottom: 0; /* Default for larger screens */
}
@media (max-width: 991.98px) { /* Bootstrap's lg breakpoint */
    body {
        padding-bottom: 70px; /* Adjust based on bottom nav height */
    }
}

.navbar-custom {
    background-color: var(--primary); /* Green from your image */
    box-shadow: 0 2px 4px rgba(0,0,0,.1);
}
.navbar-brand, .nav-link {
    color: #fff !important;
    font-weight: 500;
}
.navbar-brand:hover, .nav-link:hover {
    color: #e0e0e0 !important;
}
.hero-section {
    background: linear-gradient(to right, var(--primary), #218838); /* Green gradient */
    color: #fff;
    padding: 80px 0;
    text-align: center;
    border-bottom-left-radius: 30px;
    border-bottom-right-radius: 30px;
    margin-bottom: 40px;
}
.hero-section h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
}
.hero-section p {
    font-size: 1.25rem;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}
.btn-primary-custom {
    background-color: var(--secondary); /* Yellow from your image */
    border-color: var(--secondary);
    color: #333;
    font-weight: 600;
    padding: 12px 30px;
    border-radius: 25px;
    transition: all 0.3s ease;
}
.btn-primary-custom:hover {
    background-color: #e0a800;
    border-color: #e0a800;
    color: #333;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,.2);
}
.feature-card {
    border: none;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%; /* Ensure cards in a row have equal height */
}
.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,.12);
}
.feature-card .card-body {
    padding: 30px;
}
.feature-icon {
    font-size: 3rem;
    color: var(--primary); /* Green icon color */
    margin-bottom: 15px;
}
.offer-card {
    border: none;
    border-radius: 10px;
    background-color: #fff;
    box-shadow: 0 3px 10px rgba(0,0,0,.05);
    padding: 20px;
    height: 100%;
}
.offer-card h6 {
    color: var(--primary);
    font-weight: 600;
}
.leaderboard-section {
    background-color: #fff;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,.08);
    padding: 30px;
    margin-top: 40px;
}
.leaderboard-item {
    display: flex;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid #eee;
}
.leaderboard-item:last-child {
    border-bottom: none;
}
.leaderboard-item img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 15px;
    border: 2px solid var(--primary);
}
.leaderboard-item .name {
    font-weight: 500;
    color: #333;
    flex-grow: 1;
}
.leaderboard-item .points {
    font-weight: 700;
    color: var(--primary);
    font-size: 1.1rem;
}
.contributor-section {
    background-color: #e6ffe6; /* Light green background */
    border-radius: 15px;
    padding: 40px;
    margin-top: 50px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,.05);
}
.contributor-section h2 {
    color: var(--primary);
    font-weight: 700;
    margin-bottom: 25px;
}
.contributor-section p {
    color: #333;
    font-size: 1.1rem;
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto 30px auto;
}
.contributor-section .criteria-list {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
    display: inline-block; /* For centering the list */
    text-align: left;
}
.contributor-section .criteria-list li {
    margin-bottom: 10px;
    color: #444;
    font-weight: 500;
}
.contributor-section .criteria-list li i {
    color: var(--primary);
    margin-right: 10px;
}

.footer-custom {
    background-color: #343a40; /* Dark gray */
    color: #fff;
    padding: 40px 0;
    margin-top: 50px;
    border-top-left-radius: 30px;
    border-top-right-radius: 30px;
}
.footer-custom a {
    color: #fff;
    text-decoration: none;
}
.footer-custom a:hover {
    color: var(--secondary);
}
/* Footer */
.footer {
background-color: #121212; /* Very dark footer */
border-top: 1px solid #30363D;
}
.footer .nav-link {
color: #C9D1D9 !important;
}
.footer .nav-link:hover {
color: #FFFFFF !important;
}
.footer .social-links a {
font-size: 1.5rem;
transition: color 0.3s ease;
}
.footer .social-links a:hover {
color: #56D364; /* Green accent on hover */
}
/* Styling for mobile bottom nav */
.bottom-nav-mobile {
    background-color: var(--primary);
    box-shadow: 0 -2px 4px rgba(0,0,0,.1);
}
.bottom-nav-mobile .nav-link {
    color: #fff;
    padding: 10px 0;
    font-size: 0.8rem;
    line-height: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.bottom-nav-mobile .nav-link i {
    margin-bottom: 5px;
    font-size: 1.5rem;
}
.bottom-nav-mobile .nav-link.active {
    color: var(--secondary);
}
.nav-item{
    width: max-content;
}
