@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=Outfit:wght@500;700;800&display=swap');

:root {
    --primary-h: 125;
    --primary-s: 45%;
    --primary-l: 35%;

    --primary-green: hsl(var(--primary-h), var(--primary-s), var(--primary-l));
    --primary-green-dark: hsl(var(--primary-h), var(--primary-s), calc(var(--primary-l) - 10%));
    --primary-green-light: hsl(var(--primary-h), var(--primary-s), calc(var(--primary-l) + 15%));
    --accent-gold: #c5a059;
    --white: #ffffff;
    --bg-light: #fdfdfd;
    --text-main: #1a1c1a;
    --text-muted: #5c635c;
    --glass: rgba(255, 255, 255, 0.85);
    --shadow-soft: 0 20px 40px rgba(0, 0, 0, 0.04);
    --brand-gradient: linear-gradient(135deg, var(--primary-green) 0%, var(--primary-green-dark) 100%);
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-main);
    background-color: var(--bg-light);
    line-height: 1.7;
    overflow-x: hidden;
}

h1,
h2,
h3,
.navbar-brand {
    font-family: 'Outfit', sans-serif;
}

.navbar {
    background-color: var(--glass);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding: 1.2rem 0;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.navbar-brand img {
    height: 60px;
    transition: transform 0.3s;
}

.nav-link {
    color: var(--text-main);
    font-weight: 500;
    margin: 0 1.25rem;
    position: relative;
    opacity: 0.8;
}

.nav-link:not(.dropdown-toggle):not(.btn-primary-green)::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2.5px;
    background: var(--primary-green);
    transition: width 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    border-radius: 2px;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* Fix for dropdown-toggle hover bug */
.nav-link.dropdown-toggle::after {
    display: none !important;
}

.nav-link:hover {
    color: var(--primary-green);
    opacity: 1;
}

.btn-primary-green {
    background: var(--brand-gradient);
    color: var(--white);
    border: none;
    padding: 0.8rem 2rem;
    border-radius: 12px;
    font-weight: 600;
    letter-spacing: -0.01em;
    box-shadow: 0 10px 20px rgba(46, 125, 50, 0.2);
    transition: all 0.3s ease;
}

.btn-primary-green:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(46, 125, 50, 0.3);
    color: var(--white);
}

.hero-section {
    padding: 140px 0 100px;
    background: radial-gradient(circle at top right, rgba(46, 125, 50, 0.03) 0%, transparent 60%);
}

.heading-xl {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;
    background: linear-gradient(135deg, #1a1c1a 0%, var(--primary-green-dark) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1.5rem;
}

.subheading {
    font-size: 1.35rem;
    color: var(--text-muted);
    font-weight: 400;
    max-width: 540px;
    margin-bottom: 2.5rem;
}

.section-padding {
    padding: 100px 0;
}

.section-title {
    font-size: 2.25rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #1a1c1a;
    margin-bottom: 3rem;
    text-align: center;
}

.card-feature {
    border: 1px solid rgba(0, 0, 0, 0.05);
    padding: 3rem 2rem;
    border-radius: 20px;
    background: var(--white);
    box-shadow: var(--shadow-soft);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    height: 100%;
}

.card-feature:hover {
    transform: translateY(-12px);
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.07);
    border-color: rgba(46, 125, 50, 0.1);
}

.card-feature i {
    font-size: 3rem;
    background: var(--brand-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 2rem;
}

.card-feature h3 {
    font-weight: 700;
    margin-bottom: 1rem;
}

footer {
    background-color: #0d110d;
    color: rgba(255, 255, 255, 0.7);
    padding: 80px 0 40px;
}

footer h5 {
    color: var(--white);
    font-weight: 700;
    margin-bottom: 1.5rem;
}

footer a {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    transition: color 0.3s;
}

footer a:hover {
    color: var(--primary-green-light);
}

.contact-form {
    max-width: 700px;
    margin: 0 auto;
    background: var(--white);
    padding: 3rem;
    border-radius: 24px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.shadow-premium {
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1) !important;
    transition: all 0.3s ease;
}

.map-demo-container:hover {
    transform: translateY(-5px);
}

/* Leaflet Grayscale Filter for Landing Map */
.leaflet-tile-pane {
    filter: grayscale(100%);
}