:root {
    --primary-color: #4CAF50;
    --secondary-color: #2E7D32;
    --dark-color: #1B5E20;
    --light-color: #E8F5E9;
}

/* Base Styles */
body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    padding-top: 76px;
}

/* Header & Navigation */
.site-header {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.navbar-brand img {
    height: 40px;
    width: auto;
}

.navbar-nav .nav-link {
    position: relative;
    padding: 0.5rem 1rem;
    font-weight: 500;
    color: #333;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: var(--primary-color);
}

.navbar-nav .nav-link.active {
    color: var(--primary-color);
}

.navbar-nav .nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 1rem;
    right: 1rem;
    height: 2px;
    background-color: var(--primary-color);
}

/* Mobile menu improvements */
@media (max-width: 991.98px) {
    .navbar-collapse {
        padding: 1rem 0;
    }
    
    .navbar-nav .nav-link {
        padding: 0.75rem 0;
    }
    
    .navbar-nav .nav-link.active::after {
        left: 0;
        right: 0;
    }
}

/* Smooth transition for navbar toggler */
.navbar-toggler {
    padding: 0.5rem;
    transition: all 0.3s ease;
    border: 0;
}

.navbar-toggler:focus {
    box-shadow: none;
}

/* Language Switcher */
.language-switcher .btn {
    padding: 0.375rem 0.75rem;
    font-size: 0.875rem;
}

.language-menu {
    position: relative;
    list-style: none;
    margin: 0;
    padding: 0;
}

.current-lang {
    cursor: pointer;
    padding: 0.5rem 1rem;
    color: var(--primary-color);
    font-weight: 600;
}

.language-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    list-style: none;
    margin: 0;
    padding: 0.5rem 0;
    min-width: 150px;
}

.current-lang:hover .language-dropdown,
.current-lang:focus-within .language-dropdown {
    display: block;
}

.language-dropdown a {
    display: block;
    padding: 0.5rem 1rem;
    color: var(--text-color);
    text-decoration: none;
    transition: background-color 0.2s;
}

.language-dropdown a:hover {
    background-color: var(--light-color);
}

/* Cards */
.card {
    transition: transform 0.2s ease-in-out;
}

.card:hover {
    transform: translateY(-5px);
}

.card-img-top {
    height: 200px;
    object-fit: cover;
}

/* Hero Section */
.hero {
    position: relative;
    background-size: cover;
    background-position: center;
    min-height: 60vh;
    display: flex;
    align-items: center;
    color: white;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
}

.hero-content {
    position: relative;
    z-index: 1;
}

/* Stats */
.stat-card {
    background: var(--light-color);
    border-radius: 1rem;
    padding: 2rem;
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    color: var(--primary-color);
    font-weight: bold;
}

/* Footer */
.footer {
    margin-top: auto;
}

/* Responsive */
@media (max-width: 768px) {
    .hero {
        min-height: 40vh;
    }
    
    .card-img-top {
        height: 150px;
    }
}

/* Carousel Styles */
#heroCarousel {
    margin-top: -76px; /* Offset for fixed header */
}

.carousel-image-container {
    width: 100%;
    height: 400px;
    overflow: hidden;
    background-color: #1B5E20;
}

.carousel-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    object-position: center;
}

.carousel-caption {
    background: rgba(0, 0, 0, 0.5);
    left: 0;
    right: 0;
    bottom: 0;
    padding: 2rem;
}

.carousel-caption h1,
.carousel-caption h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.carousel-caption p {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
}

.carousel-indicators {
    bottom: 1rem;
}

.carousel-control-prev,
.carousel-control-next {
    width: 5%;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .carousel-image-container {
        height: 300px;
    }
    
    .carousel-image {
        height: 300px;
    }
    
    .carousel-caption h1,
    .carousel-caption h2 {
        font-size: 1.8rem;
    }
    
    .carousel-caption p {
        font-size: 1rem;
    }
}