@font-face {
    font-family: 'Poppins';
    src: url('../font/poppins.regular.ttf') format('truetype');
    font-weight: 400;
}

@font-face {
    font-family: 'Poppins';
    src: url('../font/poppins.bold.ttf') format('truetype');
    font-weight: 700;
}

@font-face {
    font-family: 'Satoshi';
    src: url('../font/Satoshi-Regular.otf') format('opentype');
    font-weight: 400;
}

@font-face {
    font-family: 'Satoshi';
    src: url('../font/Satoshi-Bold.otf') format('opentype');
    font-weight: 700;
}

@font-face {
    font-family: 'Satoshi';
    src: url('../font/Satoshi-Black.otf') format('opentype');
    font-weight: 900;
}

@font-face {
    font-family: 'Satoshi';
    src: url('../font/Satoshi-Medium.otf') format('opentype');
    font-weight: 500;
}

html {
    scroll-behavior: smooth;
}

:root {
    --bg-dark-green: #0f2a0f;
    --accent-green: #5a9e2f;
    --btn-green: #4f9d3e;
    --text-dark: #111111;
    --text-grey: #666666;
    --light-green-bg: #e8f5e9;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #ffffff;
    color: var(--text-dark);
    font-family: 'Poppins', sans-serif;
    background-image:
        linear-gradient(rgba(0, 0, 0, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 0, 0, 0.05) 1px, transparent 1px);
    background-size: 60px 60px;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Satoshi', sans-serif;
    color: var(--text-dark);
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.nav-container {
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    padding-top: 20px;
    width: 100%;
    max-width: 1440px;
    padding-left: 40px;
    padding-right: 40px;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: white;
    padding: 12px 30px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    border: 2px solid #246101;
    transition: border 0.3s ease, box-shadow 0.3s ease;
}

.navbar.scrolled {
    border: 2px solid #246101;
}

.logo {
    height: 25px;
    width: auto;
    margin-top: 5px;
    cursor: pointer;
}

.nav-center-pill {
    display: flex;
    align-items: center;
    background-color: #f2f2f2;
    padding: 6px;
    padding-left: 40px;
    border-radius: 50px;
    gap: 40px;
}

.nav-center-pill a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    font-size: 14px;
    font-family: 'Satoshi', sans-serif;
}

.nav-right {
    display: flex;
    align-items: center;
}

.partner-btn {
    background-color: #0f2a0f;
    color: white;
    padding: 10px 24px;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    font-family: 'satoshi', sans-serif;
    font-size: 14px;
    transition: all 0.3s ease;
    border: 1px solid #0f2a0f;
    white-space: nowrap;
}

.partner-btn:hover {
    background-color: #5a9e2f;
    color: white;
    border: 1px solid #5a9e2f;
}

.home-btn-mobile {
    display: none;
}

.btn-contact {
    background-color: var(--btn-green);
    color: white !important;
    padding: 8px 18px;
    border-radius: 50px;
    font-weight: 600;
    transition: background 0.3s;
}

.btn-contact:hover {
    background-color: #3e7e31;
}

.hamburger {
    display: none;
    font-size: 24px;
    cursor: pointer;
    color: #0f2a0f;
}

@media (max-width: 900px) {
    .nav-center-pill {
        display: none;
    }

    .hamburger {
        display: block;
    }
}

#footer-cta {
    position: relative;
    overflow: hidden;
    padding: 80px 40px;
    text-align: center;
    color: white;
    background-color: var(--bg-dark-green);
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px),
        radial-gradient(circle at -10% -15%, rgba(90, 158, 47, 0.75) 0%, rgba(90, 158, 47, 0.45) 15%, rgba(90, 158, 47, 0.18) 28%, transparent 48%),
        radial-gradient(circle at 110% 115%, rgba(79, 157, 62, 0.85) 0%, rgba(79, 157, 62, 0.50) 18%, rgba(79, 157, 62, 0.20) 32%, transparent 52%);
    background-size: 60px 60px, 60px 60px, auto, auto;
    margin-bottom: 0;
}

#footer-cta h2 {
    font-size: 42px;
    margin-bottom: 10px;
    font-weight: 500;
    color: white;
}

.cta-description {
    font-size: 16px;
    line-height: 1.6;
    color: #cfcfcf;
    margin: 20px auto 40px;
    max-width: 600px;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.cta-btn-primary {
    background: white;
    color: var(--bg-dark-green);
    border: none;
    padding: 16px 32px;
    border-radius: 8px;
    font-weight: 700;
    font-family: 'Satoshi', sans-serif;
    font-size: 16px;
    cursor: pointer;
    transition: transform 0.2s;
    text-decoration: none;
}

.cta-btn-primary:hover {
    transform: translateY(-2px);
}

.cta-btn-secondary {
    background: transparent;
    color: white;
    border: 1px solid white;
    padding: 16px 32px;
    border-radius: 8px;
    font-weight: 500;
    font-family: 'Satoshi', sans-serif;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: background 0.2s;
    text-decoration: none;
}

.cta-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
}

.green-text {
    color: var(--accent-green);
    font-weight: 700;
}

.site-footer {
    width: 100%;
    background-color: #0E2600;
    color: white;
    padding: 60px 0 0;
    position: relative;
    overflow: hidden;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    position: relative;
    z-index: 2;
    padding-bottom: 80px;
}

.footer-left {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer-logo-small {
    width: 180px;
    height: auto;
    object-fit: contain;
}

.footer-legal-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-legal-links a {
    color: #cfcfcf;
    text-decoration: none;
    font-size: 14px;
    opacity: 0.8;
    transition: opacity 0.2s;
}

.footer-legal-links a:hover {
    opacity: 1;
    text-decoration: underline;
}

.copyright {
    margin-top: 60px;
    font-size: 14px;
    color: #888;
}

.footer-right {
    display: flex;
    gap: 100px;
}

.footer-column h4 {
    font-size: 18px;
    margin-bottom: 24px;
    color: white;
    font-weight: 500;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 14px;
}

.footer-column ul li a {
    color: #cfcfcf;
    text-decoration: none;
    font-size: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: color 0.2s;
}

.footer-column ul li a:hover {
    color: var(--accent-green);
}

.email-link {
    text-decoration: underline !important;
    text-underline-offset: 4px;
}

.footer-watermark-img {
    position: absolute;
    bottom: -20%;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 1400px;
    z-index: 1;
    pointer-events: none;
}

@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        gap: 40px;
    }

    .footer-right {
        gap: 40px;
        width: 100%;
        justify-content: space-between;
    }

    #footer-cta {
        padding: 60px 20px;
    }

    #footer-cta h2 {
        font-size: 32px;
    }
}

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.article-wrapper {
    min-height: 60vh;
    padding-top: 150px;
    padding-bottom: 80px;
}

.article-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

.article-layout {
    display: flex;
    gap: 60px;
}

.article-content {
    flex: 1;
}

.article-sidebar {
    width: 380px;
    flex-shrink: 0;
}

.sidebar-sticky-wrapper {
    position: sticky;
    top: 120px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.article-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.category-tag {
    color: var(--accent-green);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 1.5px;
}

.date {
    color: #888;
    font-size: 14px;
}

.article-header h1 {
    font-family: 'Satoshi', sans-serif;
    font-size: 56px;
    font-weight: 700;
    color: #1a1a1a;
    line-height: 1.1;
    margin: 15px 0 25px;
}

.highlight-green {
    color: var(--accent-green);
}

.article-subtitle {
    font-size: 20px;
    color: #555;
    line-height: 1.6;
    margin-bottom: 45px;
    max-width: 95%;
}

.main-image-wrapper {
    width: 100%;
    border-radius: 32px;
    overflow: hidden;
    margin-bottom: 50px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
}

.main-article-img {
    width: 100%;
    display: block;
    object-fit: cover;
}

.article-body h2 {
    font-size: 32px;
    color: var(--bg-dark-green);
    margin: 40px 0 20px;
}

.article-body p {
    font-size: 20px;
    line-height: 1.8;
    color: #333;
    margin-bottom: 35px;
}

.content-block {
    background: #f4f9f4;
    padding: 30px;
    border-left: 4px solid var(--accent-green);
    border-radius: 0 16px 16px 0;
    margin: 40px 0;
}

.sidebar-card {
    border-radius: 28px;
    padding: 35px;
}

.must-read-card {
    background: #f8fbf8;
    border: 1px solid #e2ece0;
}

.sidebar-title {
    font-size: 20px;
    margin-bottom: 25px;
    color: #111;
    font-weight: 700;
}

.related-item {
    display: flex;
    gap: 15px;
    text-decoration: none;
    margin-bottom: 25px;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    border-radius: 16px;
    padding: 10px;
    margin: -10px -10px 15px -10px;
    border: 1px solid transparent;
}

.related-item.active-article {
    background-color: white;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--accent-green);
    transform: scale(1.05);
}

.related-item.active-article h4 {
    color: var(--accent-green);
}

.related-item:hover {
    transform: translateX(5px);
}

.related-item.active-article:hover {
    transform: scale(1.05) translateX(0);
}

.related-item:last-child {
    margin-bottom: 0;
}

.thumb-box {
    width: 75px;
    height: 75px;
    background: #e0e0e0;
    border-radius: 16px;
    flex-shrink: 0;
}

.thumb-box img {
    object-fit: cover;
    width: 75px;
    height: 75px;
    border-radius: 20px;
}

.related-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.related-info h4 {
    font-size: 16px;
    color: #111;
    line-height: 1.3;
    margin-bottom: 4px;
    font-weight: 600;
}

.related-info span {
    font-size: 14px;
    color: #666;
}

.contact-calling-card {
    background: var(--bg-dark-green);
    color: white;
    text-align: center;
}

.contact-calling-card h3 {
    font-size: 18px;
    margin-bottom: 25px;
    font-weight: 500;
    color: white;
}

.contact-icons-row {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.contact-icon-link {
    width: 55px;
    height: 55px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    font-size: 20px;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-icon-link:hover {
    background: var(--accent-green);
    transform: translateY(-5px);
    border-color: var(--accent-green);
}

@media (max-width: 1100px) {
    .article-layout {
        flex-direction: column;
    }

    .article-sidebar {
        width: 100%;
    }

    .sidebar-sticky-wrapper {
        position: static;
    }
}

.stats-dropdown-wrapper {
    margin: 40px 0 60px 0;
    position: relative;
}

.stats-line-container {
    position: relative;
    text-align: center;
    height: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 30px;
}

.stats-line-container::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background-image: linear-gradient(to right, var(--accent-green) 70%, transparent 70%);
    background-size: 30px 1px;
    background-repeat: repeat-x;
    z-index: 1;
    transform: translateY(-50%);
}

.stats-dots-btn {
    position: relative;
    z-index: 2;
    background-color: white;
    border: 1px solid var(--accent-green);
    color: var(--accent-green);
    font-family: 'Satoshi', sans-serif;
    font-weight: 500;
    font-size: 13px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 0 16px;
    height: 28px;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    letter-spacing: 0.3px;
}

.stats-dots-btn:hover {
    background-color: var(--light-green-bg);
    transform: scale(1.05);
}

.stats-content {
    max-height: 0;
    overflow: hidden;
    transition: all 0.6s cubic-bezier(0.25, 1, 0.5, 1);
    opacity: 0;
}

.stats-content.open {
    opacity: 1;
    margin-top: 30px;
}

.stats-placeholder-box {
    background: #f9f9f9;
    padding: 30px;
    border-radius: 16px;
    text-align: center;
    border: 2px dashed #ccc;
    color: #888;
    font-weight: 500;
}

.map-interactive-container {
    border-radius: 8px;
    overflow: hidden;
}

.base-map-img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 8px;
    transition: filter 0.4s ease;
}

.map-interactive-container:has(.map-district:hover) .base-map-img {
    filter: grayscale(100%) brightness(0.7);
}

.map-district {
    pointer-events: auto;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transform-box: fill-box;
    transform-origin: center;
}

.map-interactive-container:has(.map-district:hover) .map-district:not(:hover) {
    filter: grayscale(0.5);
    opacity: 0.7;
}

.map-district:hover {
    transform: none;
    opacity: 1;
    filter: none;
}

.map-district:hover path[fill^="#"] {
    fill-opacity: 1;
    stroke: #ffffff;
    stroke-width: 3px;
    filter: brightness(1.2);
}

@media (max-width: 768px) {

    .container,
    .nav-container {
        padding: 0 20px;
    }

    .navbar {
        flex-direction: row;
        justify-content: space-between;
        position: relative;
    }

    .hamburger {
        display: block;
    }

    .nav-center-pill {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: white;
        flex-direction: column;
        padding: 20px;
        border-radius: 0 0 16px 16px;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
        z-index: 100;
        gap: 15px;
        align-items: center;
    }

    .nav-center-pill.active {
        display: flex;
    }


    .nav-right {
        display: none;
    }

    .partner-btn-mobile {
        display: block;
        width: 100%;
        text-align: center;
        margin-top: 5px;
        color: #ffffff !important;
    }

    .hero-content {
        flex-direction: column;
        text-align: center;
        margin-top: 0;
        gap: 40px;
    }

    .hero-left {
        max-width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .hero-buttons {
        justify-content: center;
        width: 100%;
        flex-wrap: wrap;
    }

    .hero-right {
        width: 100%;
        margin-top: 20px;
    }

    .image-placeholder {
        height: 300px;
        width: 100%;
    }

    .social-proof {
        justify-content: center;
    }

    .services-flex {
        flex-direction: column;
        gap: 30px;
    }

    .os-card {
        flex-direction: column;
        height: auto;
        height: 650px !important;
    }

    .os-card-left {
        padding: 40px 20px;
        text-align: center;
        align-items: center;
    }

    .os-card-right {
        height: 350px !important;
        width: 100%;
        padding: 20px;
    }

    .comparison-cards {
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }

    .card {
        width: 100%;
    }

    .footer-content {
        flex-direction: column;
        gap: 50px;
        text-align: center;
        align-items: center;
    }

    .footer-left {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .footer-legal-links {
        width: 100%;
        align-items: center;
    }

    .footer-right {
        flex-direction: column;
        gap: 40px;
        width: 100%;
        align-items: center;
    }

    .footer-column {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .footer-column h4 {
        margin-bottom: 15px;
        text-align: center;
    }

    .footer-column ul {
        width: 100%;
        padding: 0;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .footer-column ul li {
        width: 100%;
        display: flex;
        justify-content: center;
    }

    .footer-column ul li a {
        justify-content: center;
    }

    .about-content-box {
        padding: 30px 20px;
        width: 90%;
        max-height: 80vh;
        overflow-y: auto;
    }

    .about-title {
        font-size: 32px;
        margin-bottom: 20px;
    }

    .about-text p {
        font-size: 14px;
        margin-bottom: 30px;
    }

    .home-btn-mobile {
        display: block;
        width: 100%;
        text-align: center;
        background-color: #0f2a0f;
        color: white !important;
        padding: 10px 24px;
        border-radius: 50px;
        font-weight: 700;
        text-decoration: none;
        font-family: 'satoshi', sans-serif;
        font-size: 14px;
        transition: all 0.3s ease;
        border: 1px solid #0f2a0f;
    }

    .home-btn-mobile:hover {
        background-color: #5a9e2f;
        border: 1px solid #5a9e2f;
    }

}