* {
    font-family: 'Inter', sans-serif;
}

body {
    background: linear-gradient(135deg, var(--bg-light) 0%, #FFFFFF 100%);
    min-height: 100vh;
}

/* Navbar */
.navbar {
    background: linear-gradient(135deg, var(--primary-green) 0%, #005a32 100%) !important;
    box-shadow: 0 4px 20px var(--shadow-light);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.navbar-brand {
    font-size: clamp(1rem, 2vw, 1.25rem);
    font-weight: 700;
    background: linear-gradient(45deg, #ffffff, var(--accent-green));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 2px 10px rgba(255, 255, 255, 0.3);
}

.nav-link {
    font-weight: 500;
    color: #ffffff !important;
    position: relative;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem !important;
    border-radius: 25px;
    margin: 0 0.25rem;
}

.nav-link:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.2);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary-green) 0%, #005a32 100%);
    color: #fff;
    padding: 80px 20px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="80" cy="40" r="1.5" fill="rgba(255,255,255,0.1)"/><circle cx="40" cy="80" r="1" fill="rgba(255,255,255,0.1)"/></svg>');
    animation: float 20s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px) rotate(0deg);
    }

    50% {
        transform: translateY(-10px) rotate(180deg);
    }
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    margin-bottom: 1.5rem;
    background: linear-gradient(45deg, #ffffff, var(--accent-green));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 4px 20px rgba(255, 255, 255, 0.3);
    animation: slideInLeft 1s ease-out;
}

.hero p {
    font-size: 1.25rem;
    opacity: 0.9;
    animation: slideInLeft 1s ease-out 0.2s both;
}

.hero-logo {
    width: clamp(120px, 20vw, 200px);
    height: auto;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.3));
    animation: slideInRight 1s ease-out 0.4s both, bounce 3s ease-in-out 2s infinite;
    transition: transform 0.3s ease;
}

.hero-logo:hover {
    transform: scale(1.05) rotate(5deg);
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes bounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

/* Call-to-Action Button */
.cta-button {
    background: linear-gradient(45deg, var(--light-green), var(--accent-green));
    color: var(--primary-green);
    border: none;
    padding: 15px 35px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    text-decoration: none;
    display: inline-block;
    margin-top: 2rem;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(103, 197, 137, 0.3);
    animation: slideInLeft 1s ease-out 0.6s both;
}

.cta-button:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 12px 35px rgba(103, 197, 137, 0.4);
    color: var(--primary-green);
}

/* Features Section */
#features {
    padding: 100px 0;
    background: linear-gradient(135deg, #ffffff 0%, var(--bg-light) 100%);
    position: relative;
}

.feature-col {
    padding: 2rem;
    margin-bottom: 2rem;
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 10px 40px var(--shadow-light);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 116, 63, 0.08);
    position: relative;
    overflow: hidden;
}

.feature-col::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-green), var(--light-green));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.feature-col:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px var(--shadow-medium);
}

.feature-col:hover::before {
    transform: scaleX(1);
}

.fa-icon {
    color: var(--primary-green);
    margin: 1rem 0 2rem 0;
    transition: all 0.3s ease;
}

.feature-col:hover .fa-icon {
    color: var(--light-green);
    transform: scale(1.1) rotate(5deg);
}

.feature-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.feature-col p {
    color: #6c757d;
    line-height: 1.6;
}

/* Enhanced About Section */
.about-section {
    padding: 80px 20px;
    background: linear-gradient(135deg, var(--primary-green) 0%, #005a32 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.about-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: backgroundMove 30s linear infinite;
}

@keyframes backgroundMove {
    0% {
        transform: translate(0, 0);
    }

    100% {
        transform: translate(50px, 50px);
    }
}

.about-content {
    position: relative;
    z-index: 2;
}

.about-img {
    max-width: 140px;
    height: auto;
    margin: 0 10px;
    filter: drop-shadow(0 8px 25px rgba(0, 0, 0, 0.3));
    transition: transform 0.3s ease;
}

.about-img:hover {
    transform: scale(1.05) rotate(-5deg);
}

/* Stats Section */
.stats-section {
    background: var(--bg-light);
    padding: 60px 0;
}

.stat-item {
    text-align: center;
    padding: 2rem;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-green);
    display: block;
}

.stat-label {
    color: #6c757d;
    font-weight: 500;
    margin-top: 0.5rem;
}

/* Footer */
footer {
    background: linear-gradient(135deg, var(--text-dark) 0%, #1a252f 100%);
    color: #ffffff;
    padding: 40px 0 20px 0;
    margin-top: 0;
}

/* Loading Screen */
#loader-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: linear-gradient(135deg, var(--primary-green) 0%, #005a32 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.3s ease;
}

.loader-spinner {
    border: 6px solid rgba(255, 255, 255, 0.2);
    border-top: 6px solid #ffffff;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    animation: spin 1s linear infinite;
    margin-bottom: 20px;
}

.loader-text {
    color: #ffffff;
    font-size: 1.2rem;
    font-weight: 500;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Scroll Animations */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Improvements */
@media (max-width: 768px) {
    .hero {
        padding: 60px 20px;
        text-align: center;
    }

    .feature-col {
        margin-bottom: 2rem;
    }

    #features {
        padding: 60px 20px;
    }
}