:root {
    --primary-green: rgba(13, 169, 21, 0.93);
    --secondary-green: #2E7D32;
    --light-green: #81C784;
    --primary-blue: #1976D2;
    --text-dark: #333;
}

.nav-link {
    font-weight: 400 !important;
}

body {
    font-family: 'Rubik', sans-serif !important;
    color: var(--text-dark);
}

/* Header Styles */
.top-bar {
    background: linear-gradient(135deg, #4CAF50 0%, #2196F3 100%);
    color: white;
    font-size: 0.9rem;
    padding: 0.5rem 0;
}

.top-bar a {
    color: white;
    text-decoration: none;
    margin: 0 0.5rem;
}

.navbar {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    background-color: white !important;
}

.navbar-brand img {
    height: 60px;
}

.nav-link {
    color: var(--text-dark) !important;
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    transition: color 0.3s;
}

.nav-link:hover {
    color: var(--primary-green) !important;
}

.nav-link.active {
    color: var(--primary-green) !important;
    font-weight: 600;
}

.dropdown-menu {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 8px;
    margin-top: 0 !important;
}

.dropdown-item {
    border-radius: 8px;
    margin-bottom: 4px;
    padding: 8px 16px;
    font-weight: 500;
    color: var(--text-dark);
    transition: all 0.2s ease;
}

.dropdown-item:last-child {
    margin-bottom: 0;
}

.dropdown-item:hover, .dropdown-item:focus {
    background-color: rgba(46, 125, 50, 0.08); /* Light green tint */
    color: var(--primary-green);
    transform: translateX(4px);
}

.dropdown-item.active {
    background-color: var(--primary-green);
    color: white;
    box-shadow: 0 4px 12px rgba(46, 125, 50, 0.2);
}

/* Mobile Navbar Styling */
@media (max-width: 991px) {
    .navbar-collapse {
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(15px);
        -webkit-backdrop-filter: blur(15px);
        border-radius: 16px;
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
        border: 1px solid rgba(255, 255, 255, 0.2);
        padding: 20px;
        margin-top: 15px;
        position: absolute;
        top: 100%;
        left: 10px;
        right: 10px;
        z-index: 1000;
    }

    .navbar-nav .nav-link {
        padding: 10px 15px !important;
        border-radius: 8px;
        margin-bottom: 5px;
    }

    .navbar-nav .nav-link:hover {
        background-color: rgba(46, 125, 50, 0.05);
    }
    
    .dropdown-menu {
        background: transparent;
        box-shadow: none;
        border: none;
        padding-left: 20px;
        margin-top: 0;
    }
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #4CAF50 0%, #2196F3 100%);
    color: white;
    position: relative;
    overflow: hidden;
    min-height: 400px;
}

.hero-section::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 0;
    margin-bottom: 30px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 320'%3E%3Cpath fill='%23ffffff' fill-opacity='1' d='M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,122.7C672,117,768,139,864,133.3C960,128,1056,96,1152,90.7C1248,85,1344,107,1392,117.3L1440,128L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z'%3E%3C/path%3E%3C/svg%3E") no-repeat bottom;
    background-size: cover;
}

.breadcrumb {
    font-size: 13px;
}

/* Cards */
.news-card {
    border: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    height: 100%;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.btn-custom {
    background-color: #8B6914;
    color: white;
    border: none;
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    transition: background-color 0.3s;
}

.btn-custom:hover {
    background-color: #6B4F0F;
    color: white;
}

/* Footer */
footer {
    background-color: #ffffff;

    color: var(--text-dark);
}

.footer-section {
    padding: 3rem 0;
    background-color: #ecfffe;
}

.footer-title {
    color: var(--primary-green);
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer-link {
    color: var(--text-dark);
    text-decoration: none;
    display: block;
    padding: 0.25rem 0;
    transition: color 0.3s;
}

.footer-link:hover {
    color: var(--primary-green);
}

.social-links a {
    color: var(--primary-green);
    font-size: 1.5rem;
    margin: 0 0.5rem;
    transition: color 0.3s;
}

.social-links a:hover {
    color: var(--secondary-green);
}

/* Footer bottom links */
.footer-bottom-links .footer-link {
    display: inline;
    padding: 0;
    margin: 0 0.5rem;
}

/* Language Switcher */
.lang-switcher {
    background: none;
    border: none;
    padding: 0;
    margin-left: 1rem;
}

.lang-switcher img {
    height: 20px;
    width: 30px;
    object-fit: cover;
}


/* Biodiversity Section Styles */
.biodiversity-section {
    position: relative;
    overflow: hidden;
    padding: 80px 0;
}

#biodiversity-map {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.biodiversity-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(76, 175, 80, 0.16) 0%, rgba(33, 150, 243, 0.29) 100%);
    z-index: 1;
}

.biodiversity-content {
    position: relative;
    z-index: 2;
}

.bio-cta-card {
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    border: none;
}

.bio-cta-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
}

.bio-cta-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, #4CAF50 0%, #2196F3 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.btn-bio {
    background: linear-gradient(135deg, #4CAF50 0%, #2196F3 100%);
    border: none;
    color: white;
    padding: 12px 32px;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-bio:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(76, 175, 80, 0.4);
    color: white;
}

.reading-time {
    font-size: 0.85rem;
    color: #666;
}

.category-badge {
    color: white;
    font-size: 0.65rem;
    padding: 0.25rem 0.5rem;
    border-radius: 12px;
    font-weight: 400;
}

.card-text {
    line-height: 1.35;
    font-size: 0.85rem;
}

.blog-sidebar-item {
    transition: transform 0.2s, box-shadow 0.2s;
}

.blog-sidebar-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1) !important;
}

.blog-sidebar-img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
}

.blog-sidebar-title {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.4;
    color: #33823b !important;
}


.author-info {
    font-size: 0.85rem;
}


.lead-title {
    background: linear-gradient(135deg, #4CAF50 0%, #2196F3 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

#latestNewsSection {
    background: linear-gradient(135deg, #edf7ff 0%, #f0f4f1 100%);
}

/* About Section Cards */
.about-card {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    height: 100%;
    border: 1px solid rgba(0, 0, 0, 0.05);
    overflow: hidden;
    position: relative;
    z-index: 1;
}

.about-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: transparent;
    transition: all 0.3s ease;
}

.about-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.card-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    display: inline-block;
    transition: transform 0.3s ease;
}

.about-card:hover .card-icon {
    transform: scale(1.1);
}

.icon-green { color: var(--primary-green); }
.title-green { color: var(--primary-green); font-weight: 700; margin-bottom: 1rem; }
.about-card:has(.title-green)::before { background: var(--primary-green); }

.icon-blue { color: var(--primary-blue); }
.title-blue { color: var(--primary-blue); font-weight: 700; margin-bottom: 1rem; }
.about-card:has(.title-blue)::before { background: var(--primary-blue); }

.icon-gradient {
    background: linear-gradient(135deg, #4CAF50 0%, #2196F3 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.title-gradient {
    background: linear-gradient(135deg, #4CAF50 0%, #2196F3 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 700;
    margin-bottom: 1rem;
}
.about-card:has(.title-gradient)::before { background: linear-gradient(135deg, #4CAF50 0%, #2196F3 100%); }

.values-list {
    list-style: none;
    padding: 0;
    margin-top: 1.5rem;
    text-align: left;
}

.values-list li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1rem;
    font-size: 0.95rem;
    color: #555;
    padding: 8px;
    border-radius: 8px;
    transition: background-color 0.2s ease;
}

.values-list li:hover {
    background-color: rgba(0,0,0,0.02);
}

.values-list li i {
    color: var(--primary-green);
    margin-right: 12px;
    font-size: 1.2rem;
    flex-shrink: 0;
    margin-top: 2px;
}

/* Mobile Adjustments */
@media (max-width: 991px) {
    .about-card {
        margin-bottom: 1.5rem;
    }
    
    .card-icon {
        font-size: 2.5rem;
        margin-bottom: 1rem;
    }
    
    .values-list li {
        font-size: 0.9rem;
    }
}