:root {
    /* Primary Colors */
    --primary: #39A935;
    --primary-hover: #2ca028;

    /* Light Theme (Day Mode Only) */
    --bg-base: #ffffff;
    --bg-surface: #f5f5f5;
    --bg-surface-elevated: #eeeeee;

    --text-primary: #111111;
    --text-secondary: #555555;

    --border-color: rgba(0, 0, 0, 0.08);
    --border-highlight: rgba(57, 169, 53, 0.25);

    /* Typography */
    --font-headline: 'Manrope', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Spacing */
    --nav-height: 80px;
}

@media (max-width: 1024px) {
    :root {
        --nav-height: 60px;
    }
}

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-base);
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Utilities */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-padding {
    padding: 8rem 0;
}

.accent-text {
    color: var(--primary);
    font-style: italic;
    font-weight: 300;
}

/* Buttons */
.btn-primary {
    background-color: var(--primary);
    color: #fff;
    padding: 0.75rem 1.5rem;
    border-radius: 999px;
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    border: 1px solid transparent;
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(57, 169, 53, 0.2);
}

.btn-primary.large {
    padding: 1rem 3rem;
    font-size: 1rem;
}

.btn-secondary {
    background-color: transparent;
    color: var(--text-primary);
    padding: 1rem 3rem;
    border-radius: 999px;
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border: 1px solid var(--border-color);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-secondary:hover {
    background-color: var(--bg-surface);
    border-color: var(--text-primary);
}

/* ═══════════════════════════════════════
   NAVIGATION
   ═══════════════════════════════════════ */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    height: var(--nav-height);
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    z-index: 100;
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1536px;
    margin: 0 auto;
    padding: 0 2rem;
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    height: 175px;
    width: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
    transform-origin: left center;
}

.nav-logo:hover {
    transform: scale(1.03);
}

@media (max-width: 1024px) {
    .nav-logo {
        height: 55px;
        transform-origin: left center;
        margin-left: 0.5rem;
    }
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.nav-links a:not(.btn-primary) {
    color: var(--text-primary);
    text-decoration: none;
    font-family: var(--font-headline);
    font-weight: 700;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    opacity: 0.7;
    transition: opacity 0.3s ease, color 0.3s ease;
}

.nav-links a:not(.btn-primary):hover {
    opacity: 1;
    color: var(--primary);
}

/* Mobile Navigation Toggle */
.mobile-toggle {
    display: none;
    background: transparent;
    border: none;
    color: var(--text-primary);
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
}

@media (max-width: 1024px) {
    .mobile-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .nav-links {
        display: none;
    }
}

/* Mobile Nav Overlay */
.mobile-nav {
    position: fixed;
    inset: 0;
    background: rgba(255, 255, 255, 0.98);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    transform: translateY(-100%);
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-nav.active {
    transform: translateY(0);
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3rem;
    margin-bottom: 4rem;
}

.mobile-nav-links a {
    color: var(--text-primary);
    text-decoration: none;
    font-family: var(--font-headline);
    font-size: 2rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s ease;
}

.mobile-nav.active .mobile-nav-links a {
    opacity: 1;
    transform: translateY(0);
}

.mobile-nav.active .mobile-nav-links a:nth-child(1) {
    transition-delay: 0.2s;
}

.mobile-nav.active .mobile-nav-links a:nth-child(2) {
    transition-delay: 0.3s;
}

.mobile-nav.active .mobile-nav-links a:nth-child(3) {
    transition-delay: 0.4s;
}

.mobile-nav.active .mobile-nav-links a:nth-child(4) {
    transition-delay: 0.5s;
}

.mobile-nav.active .mobile-nav-links a:nth-child(5) {
    transition-delay: 0.6s;
}

/* ═══════════════════════════════════════
   STATUE & AWWWARDS SCROLL LAYOUT
   ═══════════════════════════════════════ */
.awwwards-body {
    background-color: #ffffff;
    color: #000000;
    font-family: 'Inter', sans-serif;
    overflow-x: hidden;
}

.italic-serif {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-weight: 400;
    color: var(--primary);
}

.statue-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.statue-img {
    height: 100vh;
    width: 100vw;
    object-fit: contain;
    transform-origin: center center;
    filter: drop-shadow(0 0 80px rgba(57, 169, 53, 0.25)) contrast(1.1) brightness(0.95);
}

.awwwards-main {
    position: relative;
    z-index: 10;
}

.awwwards-section {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 10vw;
    position: relative;
}

/* Text styling for readability - blend over statue */
.text-blend {
    color: #000000;
    text-shadow: 0 0 30px rgb(255, 255, 255), 0 30px 30px rgb(255, 255, 255);
    position: relative;
    z-index: 2;
}

/* Ensure section content sits above statue with blend */
.content-left,
.content-right,
.content-center {
    position: relative;
    z-index: 2;
}

/* Hero */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: var(--nav-height);
    position: relative;
}

.hero-content {
    max-width: 800px;
    padding: 0 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.badge {
    background: var(--bg-surface-elevated);
    border: 1px solid var(--border-highlight);
    color: var(--primary);
    padding: 0.5rem 1rem;
    border-radius: 999px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    margin-bottom: 2rem;
    display: inline-block;
}

.hero-title {
    font-family: var(--font-headline);
    font-size: clamp(4rem, 12vw, 14rem);
    font-weight: 900;
    line-height: 0.85;
    letter-spacing: -0.05em;
    margin-bottom: 2rem;
    color: #000000;
}

.hero-subtitle {
    font-size: clamp(1.2rem, 2vw, 1.5rem);
    color: var(--text-secondary);
    max-width: 600px;
    margin-bottom: 3rem;
}

.scroll-indicator {
    position: absolute;
    bottom: 3rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    opacity: 1;
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {

    0%,
    100% {
        opacity: 0.6;
        transform: translateY(0);
    }

    50% {
        opacity: 1;
        transform: translateY(8px);
    }
}

.scroll-indicator span {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.4em;
    font-weight: 900;
    color: var(--primary);
    text-decoration: underline;
    text-underline-offset: 6px;
    text-decoration-thickness: 2px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1), 0 0 20px rgba(57, 169, 53, 0.4);
    font-family: var(--font-headline);
}

.scroll-line {
    width: 3px;
    height: 70px;
    background: linear-gradient(to bottom, var(--primary), rgba(57, 169, 53, 0.05));
    box-shadow: 0 0 15px rgba(57, 169, 53, 0.5);
    border-radius: 3px;
}

/* Section Titles */
.section-badge {
    color: var(--primary);
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    display: block;
    margin-bottom: 1rem;
}

.section-title {
    font-family: var(--font-headline);
    font-size: clamp(3rem, 10vw, 10rem);
    font-weight: 900;
    letter-spacing: -0.04em;
    line-height: 0.9;
    margin-bottom: 1.5rem;
}

.section-desc {
    font-size: clamp(1.2rem, 2vw, 1.8rem);
    max-width: 600px;
    font-weight: 400;
}

.content-left {
    align-self: flex-start;
    max-width: 50%;
}

.content-right {
    align-self: flex-end;
    max-width: 50%;
    text-align: right;
}

.content-center {
    align-self: center;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Awwwards section buttons - clean, visible on light bg */
.awwwards-section .btn-primary {
    background-color: #000000;
    color: #ffffff;
    border: 1px solid #000000;
}

.awwwards-section .btn-primary:hover {
    background-color: #000000;
    box-shadow: 0 10px 30px rgba(5, 137, 7, 0.651);
}

.awwwards-section .btn-secondary {
    background-color: transparent;
    color: #000000;
    border: 1px solid rgb(0, 0, 0);
}

.awwwards-section .btn-secondary:hover {
    background-color: rgba(7, 137, 9, 0.81);
    border-color: rgb(0, 0, 0);
}

.mt-8 {
    margin-top: 2rem;
}

/* ═══════════════════════════════════════
   BENTO GRID (Solutions, etc.)
   ═══════════════════════════════════════ */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.bento-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 3rem;
    position: relative;
    overflow: hidden;
    transition: border-color 0.3s ease, transform 0.3s ease;
}

.bento-card:hover {
    border-color: var(--border-highlight);
    transform: translateY(-5px);
}

.card-inner {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.col-span-2 {
    grid-column: span 2;
}

.col-span-1 {
    grid-column: span 1;
}

.phase-number {
    font-size: 0.65rem;
    font-weight: 700;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.3em;
    margin-bottom: 2rem;
}

.bento-card h3 {
    font-family: var(--font-headline);
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.bento-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.card-footer {
    margin-top: auto;
    padding-top: 3rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.line-sm {
    height: 1px;
    width: 40px;
    background-color: var(--primary);
}

/* Images */
.img-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 12px;
}

.img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(20%);
    opacity: 0.9;
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    transform: scale(1.1);
}

.img-wrapper:hover img {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1);
}

.bento-card-image {
    padding: 0;
    overflow: hidden;
    aspect-ratio: 16/9;
}

.bento-card-image .card-inner {
    position: absolute;
    bottom: 0;
    left: 0;
    padding: 2rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85), transparent);
    width: 100%;
}

.bento-card-image h3 {
    color: white;
}

/* Protocol Section */
.grid-2-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
}

.abstract-box {
    width: 100%;
    aspect-ratio: 1;
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    position: relative;
    box-shadow: inset 0 0 50px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.abstract-box::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 50%, rgba(57, 169, 53, 0.08) 0%, transparent 70%);
}

.feature-list {
    margin-top: 3rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.feature-item {
    display: flex;
    gap: 1.5rem;
}

.icon-box {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    border-radius: 8px;
    background: var(--bg-surface-elevated);
    border: 1px solid var(--border-highlight);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
}

.feature-item h4 {
    font-family: var(--font-headline);
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.feature-item p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* CTA */
.btn-group {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 3rem;
}

/* ═══════════════════════════════════════
   FOOTER (Original with social icons)
   ═══════════════════════════════════════ */
.site-footer,
.awwwards-footer {
    position: relative;
    z-index: 10;
    background: #f8f8f8;
    padding: 2rem 0 1.5rem 0;
    border-top: 1px solid var(--border-color);
}

.footer-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 1rem;
}

.footer-logo-img,
.footer-logo {
    height: 175px;
    margin-bottom: 0.25rem;
}

.footer-tagline {
    color: var(--text-secondary);
    font-size: 0.75rem;
    margin-bottom: 0.75rem;
}

.footer-socials {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--bg-surface-elevated);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    transition: all 0.3s ease;
}

.social-icon svg {
    width: 18px;
    height: 18px;
}

.social-icon:hover {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
    transform: translateY(-3px);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-links h4 {
    color: var(--primary);
    font-family: var(--font-headline);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    margin-bottom: 2rem;
}

.footer-links ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-links a,
.site-footer a {
    color: var(--text-secondary);
    text-decoration: none;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    font-weight: 600;
    transition: color 0.3s;
}

.footer-links a:hover,
.site-footer a:hover {
    color: var(--primary);
}

.brand-group p {
    color: var(--text-secondary);
    max-width: 400px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    color: var(--text-secondary);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
}

.footer-tag {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-tag::before {
    content: '';
    display: block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--primary);
}

/* ═══════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════ */
@media (max-width: 1024px) {
    .bento-grid {
        grid-template-columns: 1fr 1fr;
    }

    .col-span-2 {
        grid-column: span 1;
    }

    .grid-2-col {
        grid-template-columns: 1fr;
    }

    .content-left,
    .content-right {
        max-width: 100%;
        text-align: left;
    }

    .statue-img {
        object-fit: cover;
    }
}

@media (max-width: 768px) {
    .bento-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .btn-group {
        flex-direction: column;
    }

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

/* Animated Edges for Solutions Hero */
.animated-border-box {
    position: relative;
    padding: 4rem 3rem;
    border-radius: 1.5rem;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(15px);
    z-index: 10;
}

.animated-border-box::before {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: calc(1.5rem + 3px);
    background: linear-gradient(90deg, #39a935, rgba(57, 169, 53, 0.2), #39a935, rgba(57, 169, 53, 0.2));
    background-size: 300% 300%;
    animation: rotateGradient 4s linear infinite;
    z-index: -1;
}

@keyframes rotateGradient {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

/* Solutions Hero Image Animations */
.animate-pulse-slow {
    animation: pulseSlow 5s ease-in-out infinite;
}

@keyframes pulseSlow {

    0%,
    100% {
        opacity: 0.2;
        transform: scale(0.9);
    }

    50% {
        opacity: 0.6;
        transform: scale(1.1);
    }
}

.floating-statue {
    animation: floatStatue 8s ease-in-out infinite;
}

@keyframes floatStatue {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-25px);
    }
}

/* Footer Nav */
.footer-nav {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 1.5rem;
}

.footer-nav a {
    color: var(--text-secondary);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-nav a:hover {
    color: #39a935;
}

/* FAQ Glow / Pop-out Animations */
.faq-item {
    position: relative;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    border: 1px solid rgba(57, 169, 53, 0.12);
    background: #ffffff;
    overflow: hidden;
}

.faq-item::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 1rem;
    background: linear-gradient(135deg, rgba(57, 169, 53, 0.0) 0%, rgba(57, 169, 53, 0.15) 50%, rgba(57, 169, 53, 0.0) 100%);
    background-size: 200% 200%;
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 0;
    pointer-events: none;
}

.faq-item:hover {
    border-color: rgba(57, 169, 53, 0.4);
    box-shadow: 0 0 30px rgba(57, 169, 53, 0.12), 0 8px 32px rgba(0, 0, 0, 0.08);
    transform: translateY(-4px) scale(1.01);
}

.faq-item:hover::before {
    opacity: 1;
    animation: faqGlow 2s ease-in-out infinite;
}

.faq-item h4 {
    position: relative;
    z-index: 1;
    transition: color 0.3s ease;
}

.faq-item:hover h4 {
    color: #39a935;
}

.faq-item p {
    position: relative;
    z-index: 1;
}

@keyframes faqGlow {

    0%,
    100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

.faq-item.reveal:nth-child(1) {
    transition-delay: 0.05s;
}

.faq-item.reveal:nth-child(2) {
    transition-delay: 0.1s;
}

.faq-item.reveal:nth-child(3) {
    transition-delay: 0.15s;
}

.faq-item.reveal:nth-child(4) {
    transition-delay: 0.2s;
}

.faq-item.reveal:nth-child(5) {
    transition-delay: 0.25s;
}

/* Screen Reader Only */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}