@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');

 /* ── Reset ─────────────────────────────────────────────── */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-soft: #f6faf8;
    --border-soft: #e8ecef;
    --text-muted: #5f6b7a;
    --brand: #009a46;
    --brand-dark: #1b5e20;
    --brand-light-bg:rgba(0, 154, 70,0.06);
    --radius-lg: 1rem;
    --ink: #1a202c;
	--leaf: #18a558;
	--leaf5: #eafaf1;
	--leaf3: #58d68d;
	--border: #e1e4e8;
	--muted: #656d76;
	--r-xl: 24px;
	--r-lg: 16px;
    --success:#2e7d32;
    --danger:#dc3545;
    --warning:#ffc107;
    --text-light:#ffffffcc;
    --slate:rgb(248, 250, 252);
}

body {
    font-family: 'Inter', sans-serif;
    background: radial-gradient(circle at top right, #f7fcf8 0%, #ffffff 45%);
    color: #1a1a1a;
    line-height: 1.5;
    min-height: 100vh;
}

html {
	scroll-behavior: smooth;
}
main {
    width: 100%;
}
a {
    color: inherit;
    text-decoration: none;
}
a:focus-visible{
    outline: 0;
}
.text-xs{
    font-size: 0.625rem;
}
.text-sm{
    font-size: 0.75rem;
}
.text-md{
    font-size: 0.875rem;
}
.text-base{
    font-size: 1rem;
}
.text-lg{
    font-size: 1.125rem;
}
.text-xl {
    font-size: 1.25rem;
    line-height: 1.75rem;
}
.text-2xl{
    font-size: 1.5rem;
    line-height: 2rem;
}
.text-3xl{
    font-size: 1.875rem;
}
.text-4xl{
    font-size: 2.5rem;
}
.text-muted{
    color: var(--muted);
}
.text-success{
    color: var(--success);
}
.text-danger{
    color:var(--danger);
}
.text-warning{
    color:var(--warning);
}
.font-extrabold{
    font-weight: 900;
}
.font-bold{
    font-weight: 700;
}
.font-semibold {
    font-weight: 600;
}
.font-medium {
    font-weight: 500;
}
/*---------Button styles---------------*/
.btn-primary {
    background: linear-gradient(180deg, var(--brand-dark), var(--brand));
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.25s ease;
}

.btn-primary:hover {
    background: #1b5e20;
    transform: translateY(-1px);
}

.btn-primary:hover {
    background: #1b5e20;
    transform: translateY(-1px);
}

.btn-secondary {
    background: #fff;
    border: 1.5px solid var(--brand);
    color: #2e7d32;
    padding: 0.75rem 1.5rem;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
}

.btn-secondary:hover {
    background: #2e7d32;
    color: white;
}
/*------ Utility Classes -------*/
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding-left: 1rem;
    padding-right: 1rem;
}
.card {
    position: relative;
    display: flex;
    flex-direction: column;
    background: white;
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-lg);
    padding: 1.25rem;
    transition: all 0.25s ease;
    box-shadow: 0 8px 30px rgba(19, 47, 34, 0.06);    
}

.card:hover {
    box-shadow: 0 14px 34px rgba(19, 47, 34, 0.12);
    transform: translateY(-4px);
}

.positive {
    color: #2e7d32;
}

.negative {
    color: #dc3545;
}

.badge-up {
    background: #e8f5e9;
    color: #2e7d32;
    padding: 0.25rem 0.6rem;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 600;
}

.badge-down {
    background: #fee;
    color: #dc3545;
    padding: 0.25rem 0.6rem;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 600;
}
.flex-column {
    flex-direction: column;
}
/*--------- Alert messages----------*/
.alert {
    padding: 0.75rem 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    font-size: 0.85rem;
}

.alert-success {
    background: #e8f5e9;
    color: #2e7d32;
    border-left: 3px solid #2e7d32;
}

.alert-error {
    background: #fee;
    color: #dc3545;
    border-left: 3px solid #dc3545;
}

.alert-info {
    background: #e3f2fd;
    color: #1565c0;
    border-left: 3px solid #1565c0;
}
/*--------------------Header Styles----------------------------------*/
.main-header{
	background: rgba(255, 255, 255, 0.88);
	backdrop-filter: blur(10px);
	border-bottom: 1px solid var(--border);
	position: sticky;
	top: 0;
	z-index: 999;
	isolation: isolate;
}
.main-header .navbar {padding: 0.875rem 0;}
.nav-container {
	max-width: 1400px;
	margin: 0 auto;
	padding: 0 2rem;
	display: flex;
	justify-content: space-between;
	align-items: center;
}
.main-header .navbar-brand{
	display: inline-flex;
	align-items: center;
	gap: 0.75rem;
	text-decoration: none;
}
.main-header .navbar-brand .logo-img{
	max-height: 50px;
	width: auto;
}
.logo-icon {
	width: 40px;
	height: 40px;
	background: linear-gradient(135deg, #2e7d32, #1b5e20);
	border-radius: 12px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1.4rem;
}

.logo-text {
	display: flex;
	flex-direction: column;
}

.logo-brand {
	font-size: 1.3rem;
	font-weight: 700;
	color: #1a1a1a;
	letter-spacing: -0.3px;
}

.logo-tag {
	font-size: 0.7rem;
	color: #6c757d;
	font-family: monospace;
	margin-top: -2px;
}
.main-header .navbar .nav-links {
	display: flex;
	align-items: center;
	gap: 2rem;
}
.main-header .navbar .nav-links a {
	text-decoration: none;
	color: var(--muted);
	font-weight: 500;
	font-size: 0.875rem;
	transition: color 0.25s ease;
}

.main-header .navbar .nav-links a:hover,
.main-header .navbar .nav-links a.active {
	color: var(--brand);
}
.main-header .btn-outline {
	background: transparent;
	border: 1.5px solid var(--brand);
	color: var(--brand);
	padding: 0.5rem 1.25rem;
	border-radius: 8px;
	font-weight: 600;
	font-size: 0.9rem;
	cursor: pointer;
	transition: all 0.25s ease;
}
.main-header .btn-outline:hover {
	background: var(--brand);
	color: white;
}
.main-header .nav-dropdown {position: relative;}
.main-header .dropdown-toggle {
	background: none;
	border: none;
	font-size: 0.875rem;
	font-weight: 500;
	color: var(--muted);
	cursor: pointer;
	display: flex;
	align-items: center;
	gap: 5px;
}
.main-header .dropdown-toggle:hover {
	color: var(--brand);
}
.main-header .dropdown-toggle.active {
	color: var(--brand);
}
.main-header .dropdown-menu {
	position: absolute;
	top: 120%;
	left: 0;
	background: #fff;
	border: 1px solid var(--border);
	border-radius: 10px;
	width: 220px;
	/* 🔥 Scrollbar */
	max-height: 220px;
	overflow-y: auto;
	box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
	display: none;
	flex-direction: column;
	padding: 0.5rem 0;
	z-index: 999;
}
.main-header .dropdown-menu a {
	padding: 0.6rem 1rem;
	color: var(--muted);
	text-decoration: none;
	font-size: 0.9rem;
}
.main-header .dropdown-menu a:hover {
	background: var(--brand-light-bg);
	color: var(--brand);
}
/* Show dropdown on hover */
/* .nav-dropdown:hover .dropdown-menu {
	display: flex;
} */
.main-header .dropdown-menu.show {
	display: flex;
}
/* Smooth scrollbar (optional premium look) */
.main-header .dropdown-menu::-webkit-scrollbar {
	width: 6px;
}
.main-header .dropdown-menu::-webkit-scrollbar-thumb {
	background: #cbd5e0;
	border-radius: 10px;
}

    .mobile-toggle {
        display: none;
        background: none;
        border: none;
        font-size: 1.5rem;
        cursor: pointer;
        color: #1a1a1a;
    }

    .mobile-menu {
        display: none;
        flex-direction: column;
        padding: 1rem 2rem;
        background: #ffffff;
        border-top: 1px solid #e8ecef;
        animation: slideDown 0.25s ease;
    }

    .mobile-menu a {
        padding: 0.75rem 0;
        text-decoration: none;
        color: #4a5568;
        font-weight: 500;
        border-bottom: 1px solid #f1f5f9;
    }

    .mobile-menu a:last-of-type {
        border-bottom: none;
    }

    .mobile-menu a.active {
        color: var(--brand);
    }

    .mobile-menu .btn-outline {
        margin-top: 0.75rem;
        text-align: center;
        width: 100%;
        align-self: stretch;
        box-sizing: border-box;
        display: flex;
        align-items: center;
        justify-content: center;
        min-height: 42px;
        padding: 0.65rem 1rem;
        line-height: 1.2;
    }



    

    @keyframes slideDown {
        from {
            opacity: 0;
            transform: translateY(-8px);
        }

        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    @media (max-width: 768px) {
        .nav-container {
            padding: 0 1rem;
        }
        .main-header .navbar .nav-links {
            display: none;
        }
        .mobile-toggle {
            display: block;
        }
        /* ── FIX: make Explore button identical to <a> items ── */
        .mobile-menu .nav-dropdown {
            border-bottom: 1px solid #f1f5f9;
        }

        .mobile-menu .dropdown-toggle {
            width: 100%;
            padding: 0.75rem 0;
            font-size: 0.95rem;
            font-weight: 500;
            color: #4a5568;
            font-family: inherit;
            line-height: inherit;
            text-align: left;
            background: none;
            border: none;
            display: flex;
            justify-content: flex-start;
            gap: 6px;
            align-items: center;
            cursor: pointer;
            box-sizing: border-box;
        }

        .mobile-menu .dropdown-toggle:hover,
        .mobile-menu .dropdown-toggle.active {
            color: var(--brand);
        }

        .mobile-menu .dropdown-toggle .explore-arrow {
            font-size: 0.75rem;
            transition: transform 0.2s ease;
            margin-left: auto;
        }

        .mobile-menu .dropdown-toggle[aria-expanded="true"] .explore-arrow {
            transform: rotate(180deg);
        }

        /* dropdown panel in mobile */
        .mobile-menu .dropdown-menu {
            position: static;
            width: 100%;
            box-shadow: none;
            border: none;
            border-radius: 0;
            max-height: none;
            overflow-y: visible;
            padding: 0 0 0.25rem 0;
            margin-top: 0;
            background: transparent;
        }

        /* sub-items: indented with left accent */
        .mobile-menu .dropdown-menu a {
            padding: 0.6rem 0 0.6rem 1rem;
            font-size: 0.92rem;
            color: #4a5568;
            border-bottom: none;
            border-left: 2px solid #e8ecef;
            background: none;
        }

        .mobile-menu .dropdown-menu a:hover,
        .mobile-menu .dropdown-menu a.active {
            color: var(--brand);
            border-left-color: var(--brand);
            background: none;
        }
    }
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    body {
        font-size: 15px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
}
.footer {
    background: rgba(0, 154, 70,0.06);
    padding:2rem 0 1rem;
    margin-top: 3rem;
}
.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}
.footer-grid {
    display:flex;
    flex-wrap: wrap;
    flex-direction: row;
}
.footer-logo {margin-bottom: 0.5rem;}
.footer-logo .logo-img{height: 50px; width: auto;}
.footer-description {
    color: var(--text-muted);
    font-size: 0.875rem;
    line-height: 1.5;
    margin-bottom: 1rem;
    padding-right: 1rem;
}
.footer-social {
    display: flex;
    align-items: center;
    gap: 1rem;
}
.footer-social span {
    color: var(--text-muted);
    font-size: 0.875rem;
}
.footer-social a {
    color: var(--brand);
    font-size: 1.2rem;
    transition: all 0.25s ease;
}
.footer-social a:hover {
    color: var(--brand-dark);
    transform: translateY(-2px);
}
.footer-grid h4 {
    color: var(--ink);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}
.footer .nav{
    margin: 0 0 1rem;
    padding: 0; 
    list-style: none;
}
.footer .nav .nav-link{
    color: var(--text-muted);
    font-size: 0.875rem;
    text-decoration: none;
    display: block;
    margin-bottom: 0.5rem;
    transition: color 0.25s ease;
}
.footer .nav .nav-link:hover{
    color: var(--brand);
}
.legal-section .footer-disclaimer {
    font-size: 0.75rem;
    color: var(--text-muted);
    line-height: 1.4;
}
.legal-section .nav {
    margin-top: 0.5rem;
    display: flex;
    gap: 1rem;
}
.legal-section .nav .nav-link {
    font-size: 0.75rem;
    color: var(--link);
}
.footer-bottom {
    margin-top: 1rem;
    border-top: 1px solid var(--border);
    padding-top: 1rem;
}
.footer-bottom p{
    color: var(--text-muted);
    font-size: 0.75rem;
    margin-bottom: 0;
    text-align: center;
}
  
@media (min-width: 1024px) {
    .col-4 {
        flex: 0 0 33.333333%;
        max-width: 33.333333%;
    }
    .col-3 {
        flex: 0 0 25%;
        max-width: 25%;
    }
    .col-2{
        flex: 0 0 16.666667%;
        max-width: 16.666667%;
    }
}
@media (min-width: 768px) and (max-width: 1023px) {

}
@media (max-width: 767px) {
    .footer {
        padding: 2.5rem 0 1.25rem;
    }

    .footer-container {
        padding: 0 1rem;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}