@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700&family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');
html {
    scroll-behavior: smooth;
}
body {
    margin: 0;
    font-family: 'Montserrat', 'Inter', sans-serif;
    color: #333;
    background-color: rgba(210, 182, 132, 0.345);
}
header {
    padding: 15px;
    position: relative;
    z-index: 10;
}
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-left: 20px;
    padding-right: 20px;
    /* box-shadow: 0 2px 8px rgba(0,0,0,0.05); */
    position: relative;
    z-index: 10;
}
.logo {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: bold;
    color: #8C3E11;
    /* gap: 10px; */
}
.nav-links {
    list-style: none;
    display: flex;
    gap: 30px;
    margin: 0;
    padding: 0;
}
.nav-links li a {
    text-decoration: none;
    color: #333;
    font-weight: 500;   
    transition: color 0.2s;
}
.nav-links li .secondary:hover {
    color: #8b2c0f;
}
.nav-links li .primary {
    color: rgba(255, 255, 255, 0.8);
}
.hero {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    text-align: left;
}
.hero-container {
    position: relative;
    z-index: 1;
    margin: 20px;
}
.hero-content {
    padding: 20px;
    text-align: left;
}
.hero h1 {
    font-size: 3rem;
    margin: 0;
}

.hero p {
    font-size: 1.5rem;
    margin: 20px 0;
}
.hero-buttons {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 20px;
    margin-top: 20px;
}
.cta-button {
    background-color: #8c3e11ab;
    color: white;
    padding: 15px 30px;
    border: none;
    border-radius: 5px;
    font-size: 1.2rem;
    cursor: pointer;
    transition: white 0.3s;
    text-decoration: none
}


.cta-button:hover {
    background-color: #8c3e11f8;
}
.problems {
    background: rgba(255, 255, 255, 0.8);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 48px 20px;
    gap: 24px;
    text-align: center;
}

.problems h2 {
    font-size: 2.8rem;
    margin-bottom: 32px;
    text-align: center;
}

/* Ensure problem cards are equal width and centered */
.problem-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 32px;
    margin: 32px auto;
    width: 100%;
    max-width: 1600px;
    justify-items: center;
}

/* Make problem cards much wider for desktop */
.problem-card {
    width: 48em;
    min-width: 340px;
    max-width: 98vw;
    box-sizing: border-box;
    background: rgba(255,255,255,0.95);
    border-radius: 20px;
    box-shadow: 0 4px 24px 0 rgba(140,62,17,0.10), 0 1.5px 6px 0 rgba(0,0,0,0.04);
    padding: 32px 28px 28px 28px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    gap: 18px;
    transition: transform 0.18s cubic-bezier(.4,1.4,.6,1), box-shadow 0.18s cubic-bezier(.4,1.4,.6,1);
    position: relative;
    overflow: hidden;
}

.problem-card:hover {
    transform: translateY(-4px) scale(1.025);
    box-shadow: 0 8px 32px 0 rgba(140,62,17,0.16), 0 2px 8px 0 rgba(0,0,0,0.06);
}

.problem-card h4 {
    color: #8C3E11;
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0 0 6px 0;
    letter-spacing: -0.01em;
}

.problem-card p {
    color: #3d2a13;
    font-size: 1.08rem;
    line-height: 1.6;
    margin: 0;
    font-weight: 500;
}

.problem-card svg {
    width: 40px;
    height: 40px;
    stroke: #8C3E11;
    stroke-width: 2.5;
    vertical-align: middle;
    display: inline-block;
    margin-bottom: 10px;
    margin-right: 10px;
    background: none;
}

@media (max-width: 900px) {
    .hero-container, .underground-container {
        flex-direction: column;
    }
    .offering-cards {
        grid-template-columns: 1fr;
    }
    .offering {
        width: 98%;
    }
    .problems h2,
    .mission h2 {
        font-size: 2rem;
    }
    .problem-cards {
        grid-template-columns: 1fr;
        gap: 20px;
        margin: 20px 0;
        max-width: 100vw;
    }
    
    .problem-card {
        padding: 22px 12px 18px 12px;
        border-radius: 14px;
        width: 100%;
        min-width: 0;
    }

    .problem-card svg {
        width: 32px;
        height: 32px;
        margin-bottom: 6px;
        margin-right: 6px;
    }

    .mission-cards {
        grid-template-columns: 1fr;
        gap: 20px;
        margin: 20px 0;
    }

    .mission-card {
        padding: 22px 12px 18px 12px;
        border-radius: 14px;
    }

    .mission-card svg {
        width: 32px;
        height: 32px;
        margin-bottom: 6px;
        margin-right: 6px;
    }

    .mission-card h4 {
        font-size: 1.2rem;
    }

    .mission-card p {
        font-size: 1rem;
    }
}

.mission {
    padding: 48px 20px;
    background: rgba(210, 183, 134, 0.2);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.mission h2 {
    font-size: 2.8rem;
    margin-bottom: 32px;
    text-align: center;
}

/* Solution cards (mission-cards) in 2 by 2 grid */
.mission-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    margin: 32px auto;
    width: 100%;
    max-width: 900px;
}

.mission-card {
    background: rgba(255,255,255,0.95);
    border-radius: 20px;
    box-shadow: 0 4px 24px 0 rgba(140,62,17,0.10), 0 1.5px 6px 0 rgba(0,0,0,0.04);
    padding: 32px 28px 28px 28px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    gap: 18px;
    transition: transform 0.18s cubic-bezier(.4,1.4,.6,1), box-shadow 0.18s cubic-bezier(.4,1.4,.6,1);
    position: relative;
    overflow: hidden;
}

.mission-card:hover {
    transform: translateY(-4px) scale(1.025);
    box-shadow: 0 8px 32px 0 rgba(140,62,17,0.16), 0 2px 8px 0 rgba(0,0,0,0.06);
}

.mission-card h4 {
    color: #8C3E11;
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0 0 6px 0;
    letter-spacing: -0.01em;
}

.mission-card p {
    color: #3d2a13;
    font-size: 1.08rem;
    line-height: 1.6;
    margin: 0;
    font-weight: 500;
}

.mission-card svg {
    width: 40px;
    height: 40px;
    stroke: #8C3E11;
    stroke-width: 2.5;
    vertical-align: middle;
    display: inline-block;
    margin-bottom: 10px;
    margin-right: 10px;
    background: none;
}

@media (max-width: 700px) {
    .navbar {
        padding-top: 10px;
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: center;
        padding-left: 10px;
        padding-right: 10px;
        gap: 0;
        font-size: 0.8rem;
        position: relative;
    }
    .logo {
        order: 1;
        position: static;
        font-size: 1rem;
        margin: 0 auto;
        left: 0; right: 0;
        text-align: center;
        width: 100%;
        display: flex;
        justify-content: center;
    }
    /* .logo img {
        display: none;
    } */
    .nav-links {
        display: none !important;
    }
    .hero {
        min-height: 85vh;
    }
    .hero h1 {
        font-size: 2rem;
    }
    .hero p {
        font-size: 1rem;
    }
    .hero-buttons {
        flex-direction: row;
        gap: 10px;
        justify-content: center;
    }
    .hero-image-wrapper {
        max-width: 450px;
    }
    .cta-button {
        width: auto;
        max-width: 340px;
        display: block;
        /* font-size: 1rem; */
        padding: 12px 8px;
        margin: 0 auto;
        box-sizing: border-box;
    }
    .underground h2,
    .about h2 {
        font-size: 1.5rem;
    }
    .underground p,
    .about p {
        font-size: 1rem;
    }
    .offering-cards {
        gap: 20px;
    }
    .offering {
        width: 98%;
        min-height: unset;
        padding: 14px 8px;
    }
    .offering h3 {
        font-size: 1.1rem;
    }
    .offering h4 {
        font-size: 1rem;
    }
    .offering p {
        font-size: 1rem;
    }
    .problem-card p {
        font-size: 1rem;
    }
    .green-dot,
    .green-dot-far {
        width: 4px;
        height: 4px;
        box-shadow: 0 0 6px 2px #39ff14, 0 0 30px 10px #39ff1444;
    }
    header {
        padding: 8px;
    }
    .underground-content {
        padding: 10px;
    }
    footer {
        padding: 10px 0;
        font-size: 0.95rem;
    }
    .problem-figures {
        /* font-size: 1.1rem; */
        text-align: center;
        width: 100%;
    }
    .problem-figure {
        /* font-size: 1.1rem; */
        font-weight: bold;
    }
    .mission-cards {
        display: flex;
        flex-direction: column;
        gap: 20px;
        margin: 20px 0;
        max-width: 100vw;
        width: 100%;
    }
    .mission-card {
        width: 100%;
        min-width: 0;
        box-sizing: border-box;
    }
}

.underground {
    padding: 20px 20px;
    /* color: white; */
    text-align: center;

}
.underground-container {
    position: relative;
    z-index: 1;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
/* .underground-content {
    background: rgba(255, 255, 255, 0.8);
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
    scroll-margin-top: 25px;
} */

.underground h2 {
    font-size: 2.5rem;
    margin: 0;
}

.underground p {
    font-size: 1.2rem;
    margin: 20px 0;
}

.underground-node {
    transition: opacity 0.5s;
}

.underground,
.about {
    padding-top: 48px;
    padding-bottom: 48px;
}

.cta-snarky {
    padding-top: 56px;
    padding-bottom: 56px;
    background: rgba(210, 183, 134, 0.10);
    text-align: center;
}

.offerings {
    display: flex;
    justify-content: center;
    margin-top: 30px;
    width: 100%;
}

.offering-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
    margin-top: 20px;
    margin-bottom: 20px;
    width: 100%;
}

.offering {
    background: rgba(255,255,255,0.92);
    border-radius: 12px;
    padding: 24px 18px;
    min-height: 180px;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 0;
    text-align: center;
    box-shadow: none;
}

.offering p:first-of-type + p {
    border-top: 1px solid #e0c9a0;
    margin-top: 18px;
    padding-top: 14px;
}

.offering h3 {
    margin: 0;
    font-size: 1.5rem;
}

.offering h4 {
    margin: 0 0 10px 0;
    color: #8C3E11;
    font-size: 1.2rem;
}

.offering p {
    font-size: 1rem;
}

footer {
    background-color: #333;
    color: white;
    text-align: center;
    padding: 20px 0;
}

.highlight {
    color: #8C3E11;
}

.brand {
    font-weight: bold;
    color: #218838;
}

.problem-figures {
    font-weight: 400;
    max-width: 40em;
    margin: 16px auto;
    text-align: center;
    line-height: 1.25;
    letter-spacing: 0.01em;
    font-size: 1.2rem;
}

.problem-figure {
    font-weight: bold;
    color: #8C3E11;
}

.logo-special-char {
    background: linear-gradient(0deg,rgba(140, 62, 17, 1) 0%, rgba(140, 62, 17, 1) 64%, rgb(107, 157, 98) 65%, rgb(107, 157, 98) 100%);
    background-clip: text;
    color: transparent;
}
.about {
    background: #fff;
}
.about h2 {
    text-align: center;
    font-size: 2.8rem;
    margin: 0;
}
.about p {
    font-size: 1.2rem;
    margin: 20px 0;
    text-align: left;
}

.green-dots {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    pointer-events: none;
    z-index: 2;
}

.green-dot {
    position: absolute;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: radial-gradient(circle, #39ff14 60%, #0f0 100%);
    box-shadow: 0 0 12px 4px #39ff14, 0 0 60px 20px #39ff1444;
    opacity: 0.8;
    animation: dot-glow 2s infinite alternate;
}
.green-dot-far {
    position: absolute;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: radial-gradient(circle, #39ff14 60%, #0f0 100%);
    box-shadow: 0 0 12px 4px #39ff14, 0 0 60px 20px #39ff1444;
    opacity: 0.8;
    animation: dot-glow 1.5s infinite alternate;
}

@keyframes dot-glow {
    0% { opacity: 0.5; box-shadow: 0 0 8px 4px #37ff14, 0 0 30px 5px #218838; }
    100% { opacity: 1; box-shadow: 0 0 8px 4px #39ff14, 0 0 50px 10px #218838; }
}

.max-text-width {
    max-width: 60em;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
    text-align: center;
}