/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: #ffffff;
    color: #333;
    line-height: 1.6;
    overflow-x: hidden;
}

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

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

::-webkit-scrollbar-thumb {
    background: #4caf50;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #2e7d32;
}

/* Navigation */
.header-nav {
    transition: all 0.3s ease;
}

.navbar-brand {
    font-size: 1.5rem;
    color: #2e7d32 !important;
}

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

.nav-link:hover,
.nav-link.active {
    color: #2e7d32 !important;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 50%;
    background-color: #2e7d32;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 80%;
}

/* Hero Section */
.hero-section {
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('https://images.unsplash.com/photo-1494412651409-8963ce7935a7?w=1920&q=80') center/cover;
    opacity: 0.1;
    z-index: 0;
}

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

/* Feature Cards */
.feature-card {
    border-radius: 12px;
    transition: all 0.3s ease;
    background: #fff;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(46, 125, 50, 0.2) !important;
}

.feature-card .icon-wrapper {
    transition: transform 0.3s ease;
}

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

/* Buttons */
.btn {
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-success {
    background-color: #2e7d32;
    border-color: #2e7d32;
}

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

.btn-outline-light:hover {
    background-color: rgba(255, 255, 255, 0.2);
    border-color: #fff;
}

/* Statistics Section */
.stat-card {
    transition: all 0.3s ease;
}

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

.stat-number {
    animation: fadeInUp 1s ease;
}

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

/* Images */
img {
    max-width: 100%;
    height: auto;
}

.img-fluid.rounded {
    border-radius: 12px;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #1b5e20 0%, #2e7d32 100%);
}

.footer a:hover {
    color: #4caf50 !important;
}

.social-links a {
    transition: all 0.3s ease;
}

.social-links a:hover {
    transform: translateY(-3px);
    opacity: 0.8;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #2e7d32 0%, #4caf50 100%);
    color: #fff;
    padding: 1rem 0;
    box-shadow: 0 -5px 20px rgba(0,0,0,0.1);
    z-index: 9999;
    display: none;
    animation: slideUp 0.5s ease;
}

.cookie-banner.show {
    display: block;
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
    }
    to {
        transform: translateY(0);
    }
}

.cookie-banner a {
    color: #fff;
    text-decoration: underline;
}

.cookie-banner .btn-light {
    font-weight: 600;
}

/* Cards */
.card {
    border-radius: 12px;
    transition: all 0.3s ease;
}

.card:hover {
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* Section Spacing */
section {
    padding: 4rem 0;
}

/* Responsive */
@media (max-width: 768px) {
    .display-3 {
        font-size: 2.5rem;
    }
    
    .display-4 {
        font-size: 2rem;
    }
    
    .display-5 {
        font-size: 1.75rem;
    }
    
    .hero-section {
        min-height: 400px !important;
    }
    
    .cookie-banner .container .row {
        text-align: center;
    }
    
    .cookie-banner .btn {
        margin-top: 1rem;
    }
}

/* Blog Cards */
.blog-card {
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.blog-card img {
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.blog-card:hover img {
    transform: scale(1.05);
}

/* Blog Article */
.blog-article img {
    border-radius: 12px;
    margin: 2rem 0;
}

.blog-article h2,
.blog-article h3 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: #2e7d32;
}

/* Contact Form */
.contact-form {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 2rem;
}

.form-control,
.form-select {
    border-radius: 8px;
    border: 1px solid #ddd;
    padding: 0.75rem;
}

.form-control:focus,
.form-select:focus {
    border-color: #4caf50;
    box-shadow: 0 0 0 0.2rem rgba(76, 175, 80, 0.25);
}

/* Map Container */
.map-container {
    border-radius: 12px;
    overflow: hidden;
    height: 450px;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/* FAQ Section */
.faq-item {
    background: #fff;
    border-radius: 12px;
    margin-bottom: 1rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.faq-question {
    padding: 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
    font-weight: 600;
    color: #333;
}

.faq-question:hover {
    background: #f8f9fa;
    color: #2e7d32;
}

.faq-question i {
    transition: transform 0.3s ease;
}

.faq-question.active i {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 1.5rem 1.5rem 1.5rem;
    display: none;
    color: #666;
    line-height: 1.8;
}

.faq-answer.show {
    display: block;
    animation: fadeIn 0.3s ease;
}

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

/* Resources Page */
.service-card {
    border-radius: 12px;
    padding: 2rem;
    background: #fff;
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    height: 100%;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(46, 125, 50, 0.15);
}

.service-card .icon-box {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #4caf50 0%, #2e7d32 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.service-card .icon-box i {
    font-size: 2rem;
    color: #fff;
}

/* About Page */
.team-member {
    text-align: center;
    padding: 1.5rem;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.team-member:hover {
    background: #f8f9fa;
}

.team-member img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1rem;
    border: 5px solid #4caf50;
}

/* Timeline */
.timeline {
    position: relative;
    padding: 2rem 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #4caf50;
    transform: translateX(-50%);
}

.timeline-item {
    margin-bottom: 2rem;
    position: relative;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    width: 20px;
    height: 20px;
    background: #4caf50;
    border-radius: 50%;
    transform: translateX(-50%);
    border: 4px solid #fff;
    box-shadow: 0 0 0 4px #4caf50;
}

@media (max-width: 768px) {
    .timeline::before {
        left: 20px;
    }
    
    .timeline-item::before {
        left: 20px;
    }
}

/* Legal Pages */
.legal-content {
    background: #fff;
    border-radius: 12px;
    padding: 3rem;
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
}

.legal-content h2 {
    color: #2e7d32;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.legal-content h3 {
    color: #4caf50;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

/* Utility Classes */
.text-success {
    color: #2e7d32 !important;
}

.bg-success {
    background-color: #2e7d32 !important;
}

.border-success {
    border-color: #2e7d32 !important;
}

/* Loading Animation */
@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

.loading {
    animation: pulse 1.5s ease-in-out infinite;
}

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

/* Link Styles */
a {
    text-decoration: none;
    transition: all 0.3s ease;
}

/* Selection Color */
::selection {
    background: #4caf50;
    color: #fff;
}

::-moz-selection {
    background: #4caf50;
    color: #fff;
}