@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

.marquee-container {
    background: #067a1f;
    color: white;
    padding: 10px 0;
    height: 40px;
    overflow: hidden;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 60;
    font-size: 0.875rem;
    font-weight: 500;
    display: flex;
    align-items: center;
}

nav {
    top: 40px; /* Offset by marquee height */
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.glass-nav {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

.nav-scrolled {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.1);
    height: 70px !important;
}

.nav-link {
    position: relative;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 50%;
    background: #067a1f;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link:hover {
    color: #067a1f;
}

/* Page Transitions */
.page-transition {
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.page-transition.loaded {
    opacity: 1;
}

/* Top Loading Bar */
#top-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 0;
    height: 4px;
    background: #067a1f;
    z-index: 9999;
    transition: width 0.3s ease;
}

/* Mobile Menu Styling (Pill-shaped) */
.mobile-nav-link {
    display: block;
    padding: 12px 24px;
    margin: 8px 16px;
    border-radius: 9999px;
    font-weight: 500;
    color: #4b5563;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-nav-link:hover, 
.mobile-nav-link.active {
    background: #067a1f;
    color: white;
    box-shadow: 0 10px 15px -3px rgba(6, 122, 31, 0.3);
    transform: translateY(-2px);
}

.marquee-content {
    display: inline-block;
    white-space: nowrap;
    animation: marquee 20s linear infinite;
    padding-left: 100%;
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-100%); }
}

.marquee-content span {
    padding-right: 50px;
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #067a1f;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #056318;
}

.animate-fade-in {
    animation: fadeIn 0.8s ease-in-out;
}

.animate-slide-up {
    animation: slideUp 0.8s ease-out;
}

.animate-slide-left {
    animation: slideLeft 0.8s ease-out;
}

.animate-bounce-slow {
    animation: bounce 4s infinite;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from { transform: translateY(20px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

@keyframes slideLeft {
    from { transform: translateX(20px); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

.card-hover {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.card-hover:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 25px -5px rgba(6, 122, 31, 0.2), 0 10px 10px -5px rgba(6, 122, 31, 0.1);
}

/* Reveal Animations */
.reveal {
    position: relative;
    opacity: 0;
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.active {
    opacity: 1;
}

.fade-bottom {
    transform: translateY(50px);
}

.fade-left {
    transform: translateX(-50px);
}

.fade-right {
    transform: translateX(50px);
}

.scale-up {
    transform: scale(0.9);
}

.reveal.active.fade-bottom,
.reveal.active.fade-left,
.reveal.active.fade-right {
    transform: translateY(0) translateX(0);
}

.reveal.active.scale-up {
    transform: scale(1);
}

/* Hero Gradient Animation */
@keyframes gradientBG {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.hero-gradient {
    background: linear-gradient(-45deg, #067a1f, #10c21f, #0e7e04, #14d60d);
    background-size: 400% 400%;
    animation: gradientBG 15s ease infinite;
}

/* Back to Top Button */
#back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #067a1f;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 100;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

#back-to-top.show {
    opacity: 1;
    visibility: visible;
}

#back-to-top:hover {
    background: #056318;
    transform: translateY(-5px);
}

/* Slider Styles */
.slider-container {
    position: relative;
    overflow: hidden;
    border-radius: 1.5rem;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.slider {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.slide {
    min-width: 100%;
    position: relative;
}

.slide-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(43, 116, 46, 0.9), transparent);
    color: white;
    padding: 2rem;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 10;
    color: white;
}

.slider-btn i {
    font-size: 1.25rem;
    transition: transform 0.3s ease;
    color: white !important;
}

.slider-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.slider-btn:hover i {
    transform: scale(1.1);
}

.prev {
    left: 1.5rem;
}

.next {
    right: 1.5rem;
}

@media (max-width: 768px) {
    .slider-btn {
        top: auto;
        bottom: 1.5rem;
        transform: none;
        width: 40px;
        height: 40px;
        background: rgba(255, 255, 255, 0.25);
    }
    
    .slider-btn:hover {
        transform: scale(1.05);
    }
    
    .prev {
        left: 1rem;
    }
    
    .next {
        right: 1rem;
    }
}

.slider-dots {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.75rem;
    z-index: 10;
    padding: 0.5rem 1rem;
    background: rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

@media (max-width: 768px) {
    .slider-dots {
        bottom: 1.75rem;
    }
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: rgba(255, 255, 255, 1);
    transform: scale(1.4);
    width: 20px;
    border-radius: 4px;
}