/* Variables */
:root {
    --primary-color: #2E7D32;
    --secondary-color: #66BB6A;
    --accent-color: #1565C0;
    --text-dark: #212529;
    --text-light: #6c757d;
}

/* Navbar */
.navbar {
    transition: all 0.3s ease;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.navbar.scrolled {
    background-color: #fff;
    box-shadow: 0 2px 20px rgba(0,0,0,0.15);
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)), 
                url('https://images.unsplash.com/photo-1501854140801-50d01698950b?w=1920') center/cover no-repeat fixed;
    display: flex;
    align-items: center;
    position: relative;
    margin-top: -76px;
    padding-top: 76px;
}

.hero-section .overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.3);
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

/* Page Header */
.page-header {
    min-height: 50vh;
    background: linear-gradient(rgba(46,125,50,0.8), rgba(46,125,50,0.8)), 
                url('https://images.unsplash.com/photo-1501854140801-50d01698950b?w=1920') center/cover;
    display: flex;
    align-items: center;
    margin-top: -76px;
    padding-top: 76px;
}

.page-header .overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-size: 2rem;
    animation: bounce 2s infinite;
    z-index: 2;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-20px);
    }
    60% {
        transform: translateX(-50%) translateY(-10px);
    }
}

/* Hover Cards */
.hover-card {
    transition: all 0.3s ease;
}

.hover-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.2) !important;
}

/* Cards */
.card {
    transition: all 0.3s ease;
}

/* Buttons */
.btn-success {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-success:hover {
    background-color: #1B5E20;
    border-color: #1B5E20;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(46,125,50,0.4);
}

.btn-outline-light:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255,255,255,0.3);
}

/* Sections */
section {
    padding: 80px 0;
}

/* Statistics Counter */
.display-4 {
    font-size: 3rem;
}

/* Footer */
footer a {
    transition: all 0.3s ease;
}

footer a:hover {
    color: var(--secondary-color) !important;
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .display-3 {
        font-size: 2rem;
    }
    
    .display-5 {
        font-size: 1.75rem;
    }
    
    section {
        padding: 50px 0;
    }
}

/* Loading Animation */
.fade-in {
    animation: fadeIn 1s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #1B5E20;
}