* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Outfit', sans-serif;
    text-decoration: none;
    list-style: none;
}

html {
    scroll-behavior: smooth;
}

body {
    background: #f7f0e4;
    color: #0d4b43;
    overflow-x: hidden;
}

:root{
    --primary-color:#FFF0CE;
}

[data-speed] {
    will-change: background-position;
    background-position: center center;
    transition: background-position 0.1s linear;
}

.site-container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 24px;
}

.heading{
    font-family: "Cormorant Garamond", serif;
}

/* Dividers carry width/height attributes (to reserve space while loading);
   keep their proportions when CSS changes the width. */
.ss-divider {
    height: auto;
    max-width: 100%;
}


/* Navigation */
#header-section {
    position: absolute;
    top: 24px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1600px;
    background-color: #0d4b43;
    border-radius: 50px;
    padding: 20px 30px;
    z-index: 100;
    border: none;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.header-wrap {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    align-items: center;
    justify-content: space-between;
    padding: 0;
}

.header-logo {
    font-size: 35px;
    font-family: "Cormorant Garamond", serif;
    color: var(--primary-color);
    font-weight: 500;
}
.header-logo span{
    font-family: "Cormorant Garamond", serif;
}
.header-logo-img {
    width: 28px;
    height: 28px;
    object-fit: contain;
}

.header-nav-links {
    display: flex;
    gap: 50px;
    justify-content: center;
}

.header-nav-link {
    color: var(--primary-color);
    font-weight: 400;
    letter-spacing: 0.03em;
    transition: color 0.2s ease;
}

.header-nav-link:hover {
    color: #F6DCAB;
}

.header-nav-cta {
    display: none;
}
.header-action{
    text-align: end;
}
.header-action .btn-primary{
    font-size: 16px;
}
#header-section:has(.menu-toggle.active){
  border-radius: 20px;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 32px;
    height: 32px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
}

.menu-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--primary-color);
    border-radius: 2px;
    transition: transform 0.25s ease, opacity 0.25s ease;
}
    
.menu-toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.btn-primary {
    padding: 10px 24px;
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #0d4b43;
    background-color: var(--primary-color);
    border: solid thin #0d4b43;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-block;
    outline: solid 2px var(--primary-color);
}

.btn-secondary {
    padding: 12px 30px;
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--primary-color);
    background-color: #0d4b43;
    border: solid thin var(--primary-color);
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-block;
    outline: solid 2px #0d4b43;
}

.btn-primary:hover{
    background-color: var(--primary-color);
    transform: translateY(-2px);
}
.btn-secondary:hover {
    transform: translateY(-2px);
}
/* Hero */
#hero-section {
    position: relative;
    min-height: 100vh;
    background-image: url('../images/banner-img.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
}

#hero-section .site-container {
    text-align: center;
    /* padding: 100px; */
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: var(--primary-color);
}

.hero-title {
    font-size: 150px;
    font-family: "Cormorant Garamond", serif;
    font-weight: 400;
    line-height: 110px;
    /* margin-top: 50px; */
    margin-bottom: 24px;
    letter-spacing: -0.01em;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}


section#hero-section img {
    width: 45%;
    margin: auto;
    margin-top: 26px;
}

section#hero-section p.hero-description {
    font-size: 18px;
    width: min(500px, 100%);
    margin: auto;
    margin-top: 40px;
}

section#hero-section a.btn-secondary {
    /* width: 248px; */
    margin: auto;
    margin-top: 40px;
}


/* Statistics */
#stats-section,
#steps-section {
    padding: 80px 0;
    background-image: url("../images/coexist-bg.webp");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: #FFF0CE;
    background-color: #FFF0CE;
    position: relative;
    overflow: hidden;
}

#stats-section .stats-header-wrap img {
    margin: auto;
    margin-bottom: 30px;
}

.stats-header-wrap {
    text-align: center;
    max-width: 630px;
    margin: 0 auto 48px auto;
}

.stats-title {
    font-size: 60px;
    font-weight: 500;
    color: #0a4b45;
    margin-bottom: 16px;
    font-family: "Cormorant Garamond", serif;
}

.stats-desc {
    color: #0a4b45;
    font-size: 18px;
    line-height: 1.6;
    font-weight: 400;
}

.stats-grid-wrap {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.stats-card {
    padding: 32px 28px;
    border-radius: 20px;
    border-left: 5px solid #0a4b45;
    text-align: left;
    color: var(--primary-color);
    border-right: 5px solid #0a4b45;
}

.stats-card.stats-card-pink {
    background-color: #E94C82;
}

.stats-card.stats-card-teal {
    background-color: #0a4b45;
    border-color: #E94C82;
}

.stats-number {
    font-size: 60px;
    font-family: "Artifika", serif;
    font-weight: 500;
}

.stats-tag {
    font-size: 40px;
    font-family: "Cormorant Garamond", serif;
    font-weight: 600;
    margin-bottom: 10px;
}

.stats-label {
    font-size: 16px;
    font-weight: 300;
    width: 50%;
}

/* Features */
#features-section {
    padding: 80px 0;
    background-image: url("../images/projects-img.webp");
    background-color: #DE4C83;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    color: var(--primary-color);
}

#features-section .features-header-wrap {
    max-width: 620px;
    margin: 0 auto 40px auto;
    text-align: center;
}

#features-section .features-title {
    font-size: 72px;
    font-family: "Cormorant Garamond", serif;
    color: var(--primary-color);
    margin-bottom: 16px;
    line-height: 68.15px;
    margin-top: 30px;
}

#features-section .features-desc {
    color: var(--primary-color);
    font-size: 18px;
    line-height: 1.6;
    width: min(451px, 100%);
    margin: auto;
}

.features-grid-wrap {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 60px;
    margin-top: 40px;
    align-items: stretch;
}

.features-card {
    background-color: #F9DEC9;
    border: 2px solid #0d4b43;
    border-radius: 200px 200px 30px 30px;
    padding: 30px 18px 24px 18px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    display: flex;
    flex-direction: column;
    align-items: center;
    outline: 4px solid #F9DEC9;
}

.features-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.25);
}

.features-card-img {
    width: 200px;
    height: 200px;
    object-fit: contain;
    margin: 10px auto 16px auto;
}

.features-card-title {
    font-family: "Cormorant Garamond", serif;
    font-size: 35px;
    color: #0d4b43;
    margin-bottom: 10px;
}

.features-card-desc {
    font-size: 16px;
    color: #2c3e38;
    line-height: 1.45;
    font-weight: 400;
}

/* Field Guide */
#field-guide-section {
    padding: 80px 0;
    background-image: url("../images/snakes-bg-image.webp");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: #FFF0CE;
    position: relative;
    overflow: hidden;
}

#field-guide-section .guide-header-wrap {
    max-width: 650px;
    margin: 0 auto 50px auto;
    text-align: center;
}

#field-guide-section .guide-title {
    font-size: 64px;
    color: var(--primary-color);
    margin-bottom: 16px;
}

#field-guide-section .guide-desc {
    color: var(--primary-color);
    font-size: 16px;
    line-height: 1.6;
}

.guide-grid-wrap {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 60px;
    margin-bottom: 60px;
}

.guide-card {
    background-color: #FFF0CE;
    border-radius: 28px;
    border-bottom: 5px solid #E94C82;
    padding: 30px 20px 28px 20px;
    text-align: center;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
}

.guide-card:hover {
    transform: translateY(-5px);
}

.guide-card-img {
    width: 100%;
    height: 140px;
    object-fit: contain;
    margin-bottom: 16px;
}

.guide-card-name {
    font-size: 28px;
    color: #075B5B;
    margin-bottom: 4px;
    font-family: "Cormorant Garamond", serif;
}

.guide-card-scientific {
    font-size: 16px;
    color: #E94C82;
    margin-bottom: 24px;
}

.guide-card .badge-venomous,
.guide-card .badge-non-venomous {
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #E94C82;
    color: var(--primary-color);
    font-size: 16px;
    font-weight: 400;
    padding: 6px 20px;
    border-radius: 20px;
    white-space: nowrap;
    letter-spacing: 0.02em;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.12);
}

.guide-btn-wrap {
    text-align: center;
}

.guide-btn-wrap .btn-field-guide:hover {
    background-color: var(--primary-color);
    transform: translateY(-2px);
}

/* Location */
#location-section {
    padding: 80px 0;
    /* height: 600px; */
    background-color: #e83e8c; 
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: var(--primary-color);
    position: relative;
    overflow: hidden;
    background-image: url(../images/map-bg-img.webp);
}

#location-section .location-content-wrap {
    max-width: 440px;
    text-align: center;
    margin: 0 auto;
}

#location-section .location-title {
    font-size: 64px;
    line-height: 1.1;
    color: var(--primary-color);
    margin-bottom: 20px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

#location-section .location-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 24px;
}

#location-section .location-divider span {
    font-size: 0.9rem;
    color: var(--primary-color);
}

#location-section .location-desc {
    color: var(--primary-color);
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 32px;
    font-weight: 400;
    letter-spacing: 0.01em;
}

#location-section .location-map-wrap {
    width: 100%;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

#location-section .location-map-img {
    height: 100%;
    position: absolute;
    object-fit: contain;
    right: 0;
    top: 0;
    bottom: 0;
}

/* Steps */
#steps-section {
    background-color: #FFF0CE;
    text-align: center;
}

#steps-section .steps-header-wrap {
    max-width: 600px;
    margin: 0 auto 48px;
}

#steps-section .steps-title {
    font-size: 64px;
    font-weight: 500;
    margin-top: 16px;
    margin-bottom: 12px;
    color: #075B5B;
}

#steps-section .steps-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin: 0 auto;
    width: 200px;
}

#steps-section .steps-divider::before,
#steps-section .steps-divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background-color: #075B5B;
}

#steps-section .steps-divider-icon {
    width: 20px;
    height: auto;
}

#steps-section .steps-desc {
    font-size: 1rem;
    color: #075B5B;
    line-height: 1.5;
}

.steps-grid-wrap {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 60px;

}

.steps-card {
    position: relative;
    padding: 40px 24px 32px;
    border-radius: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    color: #FFF0CE;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
}

.steps-card:nth-child(odd) {
    background-color: #075B5B;
}

.steps-card:nth-child(even) {
    background-color: #e83e8c;
}

.steps-number {
    position: absolute;
    top: 20px;
    right: 24px;
    font-size: 50px;
    font-weight: 700;
    color: rgba(254, 248, 226, 0.5);
    background: transparent;
    line-height: 1;
}

.steps-icon-wrap {
    width: 90px;
    height: 90px;
    background-color: #FFF0CE;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.steps-icon-wrap img {
    width: 48px;
    height: 48px;
    object-fit: contain;
}

.steps-card-title {
    font-family: "Cormorant Garamond", serif;
    font-size: 28px;
    color: #FFF0CE;
    margin-bottom: 12px;
}

.steps-card-desc {
    font-size: 16px;
    line-height: 1.5;
    color: #FFF0CE;
    font-weight: 400;
}

/* Impact */
#impact-section {
    padding: 80px 0;
    background-color: #e83e8c;
    background-image: url("../images/living-bg-img.webp");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: #FFF0CE;
    position: relative;
    overflow: hidden;
}

#impact-section .site-container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 60px;
    align-items: center;
}

#impact-section .impact-header-wrap {
    text-align: center;
    max-width: 440px;
    margin: 0 auto;
}

/* #impact-section .impact-header-wrap::before {
    content: "";
    display: block;
    width: 180px;
    height: 12px;
    margin: 0 auto 16px auto;
    background-repeat: no-repeat;
    background-position: center;
} */

#impact-section .impact-title {
    font-size: 64px;
    line-height: 1.1;
    color: #FFF0CE;
    margin-bottom: 20px;
}

#impact-section .impact-desc {
    color: #FFF0CE;
    font-size: 18px
;    line-height: 1.6;
    margin-bottom: 32px;
    font-weight: 300;
}

#impact-section .impact-header-wrap::after {
    content: "SUPPORT THE WORK";
    display: inline-block;
    padding: 10px 24px;
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 0.08em;
    color: #FFF0CE;
    background-color: #075B5B;
    outline: 2px solid #075B5B;
    border: 1px solid #FFF0CE;
    border-radius: 30px;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: all 0.25s ease;
}

.impact-grid-wrap {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-top: 0;
}

.impact-card {
    padding: 32px 28px;
    border-radius: 20px;
    border: none;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.impact-card:nth-child(1),
.impact-card:nth-child(4) {
    background-color: #075B5B;
    color: #FFF0CE;
}

.impact-card:nth-child(2),
.impact-card:nth-child(3) {
    background-color: #FFF0CE;
    color: #075B5B;
}

.impact-number {
    font-size: 40px;
    font-family: "Artifika", serif;
    line-height: 1;
    margin-bottom: 12px;
}

.impact-card:nth-child(1) .impact-number,
.impact-card:nth-child(4) .impact-number {
    color: #FFF0CE;
}

.impact-card:nth-child(2) .impact-number,
.impact-card:nth-child(3) .impact-number {
    color: #075B5B;
}

.impact-card-title {
    font-size: 30px;
    font-family: "Cormorant Garamond", serif;
    font-weight: 500;
    margin-bottom: 10px;
    line-height: 1.25;
}

.impact-card:nth-child(1) .impact-card-title,
.impact-card:nth-child(4) .impact-card-title {
    color: #FFF0CE;
}

.impact-card:nth-child(2) .impact-card-title,
.impact-card:nth-child(3) .impact-card-title {
    color: #075B5B;
}

.impact-card-desc {
    font-size: 16px;
    line-height: 1.45;
}

.impact-card:nth-child(1) .impact-card-desc,
.impact-card:nth-child(4) .impact-card-desc {
    color: rgba(254, 248, 226, 0.85);
}

.impact-card:nth-child(2) .impact-card-desc,
.impact-card:nth-child(3) .impact-card-desc {
    color: rgba(11, 79, 70, 0.85);
}

/* Footer */
#footer-section {
    background-color: #113835;
    color: #e5dfd3;
    padding: 60px 0 30px 0;
    border-top: none;
}

#footer-section .site-container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 24px;
}

.footer-grid-wrap {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 60px;
}

.footer-brand-wrap {
    max-width: 400px;
}

.footer-brand-wrap .footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}

.footer-brand-wrap .footer-logo-img {
    display: none;
}

.footer-brand-wrap .footer-logo span {
    font-size: 34px;
    font-family: "Cormorant Garamond", serif;
    font-weight: 400;
    color: #f2ebd9;
    letter-spacing: 0.02em;
}

.footer-brand-wrap p {
    font-size: 14px;
    color: #d1c9b8;
    letter-spacing: 0.05em;
    margin-top: 10px;
}

.footer-grid-wrap > div:nth-child(2),
.footer-grid-wrap > div:nth-child(3) {
    display: inline-block;
}

.footer-links-wrap {
    display: flex !important;
    flex-direction: row !important;
    gap: 28px;
    align-items: center;
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links-wrap li a {
    color: #f2ebd9;
    text-decoration: none;
    font-size: 16px;
    font-weight: 400;
    letter-spacing: 0.02em;
    transition: opacity 0.2s ease;
}

.footer-links-wrap li a:hover {
    opacity: 0.75;
}

.footer-bottom-wrap {
    border-top: none;
    padding-top: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.footer-bottom-wrap p:first-child {
    font-size: 0.8rem;
    color: #d1c9b8;
    text-align: center;
    margin-top: 20px;
}

.footer-quote p {
    font-style: italic;
    font-size: 24px;
    color: #e5c158;
    margin: 0;
    font-family: "Cormorant Garamond", serif;
}
.footer-quote{
    text-align: end;
    margin-top: 10px;
}
.features-grid-wrap {
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: 50px;
    margin: 40px -24px 0;
    padding: 4px 24px 12px;
    scroll-padding-left: 24px;
}
@media (max-width: 900px) {
    .footer-grid-wrap {
        flex-direction: column;
        gap: 32px;
    }
    
    .footer-links-wrap {
        flex-wrap: wrap;
        gap: 16px;
    }

    .footer-bottom-wrap p:last-child {
        position: static;
        margin-bottom: 16px;
    }
    #hero-section{
        background-position: left;
    }
    #location-section .location-grid-wrap {
        grid-template-columns: 1fr;
        padding: 0;
    }
}

/* ---------- Responsive ---------- */

@media (max-width: 860px) {
    #header-section {
        width: 92%;
        padding: 10px 18px;
    }

    .header-wrap {
        flex-wrap: wrap;
        position: relative;
    }

    .header-logo {
        order: 1;
        font-size: 28px;
        white-space: nowrap;
    }

    .header-cta-desktop {
        display: none;
    }

    .menu-toggle {
        display: flex;
        order: 2;
        flex-shrink: 0;
        width: 26px;
        height: 26px;
    }

    header nav {
        order: 3;
        width: 100%;
    }

    .header-nav-links {
        display: none;
        flex-direction: column;
        width: 100%;
        gap: 0;
        margin-top: 16px;
        text-align: center;
    }

    .header-nav-links.nav-open {
        display: flex;
    }

    .header-nav-links li {
        padding: 12px 0;
        border-top: 1px solid rgba(255, 240, 206, 0.15);
    }

    .header-nav-cta {
        display: block;
        border-top: none;
        padding: 20px 0 4px;
    }

    .header-nav-cta .btn-primary {
        padding: 10px 24px;
        font-size: 0.8rem;
    }
    .header-wrap{
        display: flex;
    }
}

@media (max-width: 360px) {
    #header-section {
        padding: 8px 14px;
    }

    .header-logo {
        font-size: 24px;
    }

    .menu-toggle {
        width: 22px;
        height: 22px;
        gap: 4px;
    }
}

@media (max-width: 768px) {
    #hero-section {
        background-image: url('../images/mobile-banner-img.webp');
    }
    #stats-section{
        background-image: url('../images/snakes-bg-mobile.webp');
    }
    #features-section{
        background-image: url('../images/feature-mobile-bg.webp');
    }
    #field-guide-section{
        background-image: url('../images/snake-bg-mobile.webp');
        background-size: contain;
        background-position: bottom;
        background-color: #075B5B;
        background-attachment: fixed;
    }
    #steps-section {
        background-image: url('../images/response-bg-mobile.webp');
        background-color: #FFF0CE;
        background-position: bottom;
        background-repeat: no-repeat;
    }
    .hero-title {
        font-size: 74px;
        line-height: 60px;
        margin-top: 60px;
    }
    #hero-section{
        display: block;
    }
    section#hero-section img{
        margin-top: 0;
    }
    section#hero-section p.hero-description{
        margin-top: 24px;
    }
    .features-grid-wrap {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        gap: 50px;
        margin: 40px -24px 0;
        padding: 4px 24px 12px;
        scroll-padding-left: 24px;
    }
    #hero-section .site-container {
        padding: 60px 24px;
    }

    section#hero-section img {
        width: 70%;
    }

    section#hero-section p.hero-description {
        font-size: 16px;
    }

    .stats-title {
        font-size: 40px;
    }

    .stats-grid-wrap {
        grid-template-columns: 1fr;
    }
    .stats-label{
        width: 100%;
    }
    #features-section .features-title {
        font-size: 44px;
        line-height: 1.2;
    }

    .features-grid-wrap {
        grid-template-columns: repeat(2, 1fr);
    }

    #field-guide-section .guide-title {
        font-size: 44px;
    }

    .guide-grid-wrap {
        grid-template-columns: repeat(2, 1fr);
    }

    #location-section .location-grid-wrap {
        grid-template-columns: 1fr;
        padding: 0;
    }

    #location-section .location-content-wrap {
        max-width: 100%;
        padding: 0 24px;
    }

    #location-section .location-map-wrap {
        justify-content: center;
        margin-top: 40px;
    }

    #location-section .location-map-img {
        position: static;
        height: auto;
        width: 100%;
    }

    #location-section .location-title {
        font-size: 2.6rem;
    }

    #steps-section .steps-title {
        font-size: 40px;
    }

    .steps-grid-wrap {
        grid-template-columns: repeat(2, 1fr);
    }

    #impact-section .site-container {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    #impact-section .impact-title {
        font-size: 2.4rem;
    }

    .impact-grid-wrap {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 64px;
    }

    .ss-divider {
        width: 100%;
    }

    /* section#hero-section a.btn-secondary {
        width: 100%;
    } */

    .stats-title {
        font-size: 32px;
    }

    #features-section .features-title {
        font-size: 34px;
    }

    .stats-number {
        font-size: 40px;
    }

    .stats-tag{
        font-size: 30px;
    }

    .stats-label{
        width: 100%;
    }


    .features-grid-wrap::-webkit-scrollbar {
        display: none;
    }

    .features-card {
        flex: 0 0 80%;
        scroll-snap-align: start;
    }

    #field-guide-section .guide-title {
        font-size: 34px;
    }

    .guide-grid-wrap {
        grid-template-columns: 1fr;
    }

    #steps-section .steps-title {
        font-size: 32px;
    }

    .steps-grid-wrap {
        grid-template-columns: 1fr;
    }

    #impact-section .impact-title {
        font-size: 2rem;
    }

    .impact-grid-wrap {
        grid-template-columns: 1fr;
    }

    .footer-bottom-wrap p:last-child {
        font-size: 1.1rem;
    }
}
/* Keep nav links on one line now that the menu has an Encounter Log link */
@media (min-width: 861px) {
    .header-wrap {
        grid-template-columns: auto 1fr auto;
        gap: 24px;
    }
    .header-nav-links {
        gap: clamp(20px, 2.4vw, 50px);
    }
    .header-nav-link {
        white-space: nowrap;
    }
}

.header-logo a {
    color: inherit;
}

.header-action .btn-primary {
    white-space: nowrap;
}

@media (min-width: 861px) and (max-width: 1150px) {
    .header-logo {
        font-size: 26px;
        white-space: nowrap;
    }
    .header-nav-link,
    .header-action .btn-primary {
        font-size: 14px;
    }
}

/* About */
#about-section {
    padding: 100px 0;
    background-color: #f7f0e4;
    background-image: url("../images/Projects_BG.webp");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: #0d4b43;
}

.about-header-wrap {
    text-align: center;
    max-width: 820px;
    margin: 0 auto 56px auto;
}

.about-header-wrap .ss-divider {
    display: block;
    margin: 0 auto 30px auto;
}

.about-title {
    font-size: 60px;
    font-weight: 500;
    line-height: 1.1;
    color: #0d4b43;
    margin-bottom: 24px;
}

.about-desc {
    font-size: 18px;
    line-height: 1.7;
    margin-bottom: 16px;
}

.about-desc:last-child {
    margin-bottom: 0;
}

.about-grid-wrap {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
    max-width: 1200px;
    margin: 0 auto;
}

.about-card {
    padding: 40px 36px;
    border-radius: 20px;
    color: #FFF0CE;
    border-left: 5px solid #0d4b43;
    border-right: 5px solid #0d4b43;
}

.about-card-teal {
    background-color: #0d4b43;
    border-color: #E94C82;
}

.about-card-pink {
    background-color: #E94C82;
}

.about-card-title {
    font-size: 40px;
    font-weight: 600;
    margin-bottom: 14px;
}

.about-card-desc {
    font-size: 17px;
    line-height: 1.7;
    font-weight: 300;
}

.about-tagline {
    text-align: center;
    font-size: 32px;
    font-style: italic;
    font-weight: 500;
    margin-top: 56px;
}

@media (max-width: 768px) {
    #about-section {
        padding: 64px 0;
    }
    .about-title {
        font-size: 40px;
    }
    .about-desc {
        font-size: 16px;
    }
    .about-grid-wrap {
        grid-template-columns: 1fr;
    }
    .about-card {
        padding: 30px 24px;
    }
    .about-card-title {
        font-size: 32px;
    }
    .about-tagline {
        font-size: 26px;
        margin-top: 40px;
    }
}

@media (max-width: 480px) {
    .about-title {
        font-size: 32px;
    }
}

/* Support the Work */
#support-section {
    padding: 100px 0;
    background-color: #FFF0CE;
    background-image: url("../images/coexist-bg.webp");
    background-size: cover;
    background-position: center bottom;
    background-repeat: no-repeat;
    color: #0d4b43;
}

/* Soft panel so the text stays readable over the illustration */
.support-body {
    background-color: rgba(255, 240, 206, 0.82);
    border-radius: 20px;
    padding: 32px 30px;
}

.support-header-wrap {
    text-align: center;
    max-width: 820px;
    margin: 0 auto 56px auto;
}

.support-eyebrow {
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #E94C82;
    margin-bottom: 16px;
}

.support-header-wrap .ss-divider {
    display: block;
    margin: 0 auto 30px auto;
}

.support-title {
    font-size: 60px;
    font-weight: 500;
    line-height: 1.1;
    margin-bottom: 24px;
}

.support-lead {
    font-size: 18px;
    line-height: 1.7;
}

.support-grid-wrap {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 48px;
    align-items: start;
    max-width: 1200px;
    margin: 0 auto;
}

.support-body p {
    font-size: 17px;
    line-height: 1.7;
    margin-bottom: 18px;
}

.support-body .support-tagline {
    font-size: 30px;
    font-style: italic;
    font-weight: 500;
    line-height: 1.3;
    margin: 28px 0 0;
}

.support-card {
    background-color: #0d4b43;
    color: #FFF0CE;
    padding: 40px 36px;
    border-radius: 20px;
    border-left: 5px solid #E94C82;
    border-right: 5px solid #E94C82;
}

.support-card-title {
    font-size: 40px;
    font-weight: 600;
    line-height: 1.1;
    margin-bottom: 14px;
}

.support-card-desc {
    font-size: 17px;
    line-height: 1.7;
    font-weight: 300;
    margin-bottom: 24px;
}

.support-email {
    display: block;
    color: #FFF0CE;
    font-size: 20px;
    font-weight: 500;
    word-break: break-all;
    margin-bottom: 28px;
}

.support-email:hover {
    color: #E94C82;
}

.support-btn {
    display: inline-block;
}

@media (max-width: 860px) {
    .support-grid-wrap {
        grid-template-columns: 1fr;
        gap: 36px;
    }
}

@media (max-width: 768px) {
    #support-section {
        padding: 64px 0;
        background-image: url("../images/response-bg-mobile.webp");
        background-position: bottom;
    }
    .support-body {
        padding: 24px 20px;
    }
    .support-title {
        font-size: 40px;
    }
    .support-lead,
    .support-body p {
        font-size: 16px;
    }
    .support-body .support-tagline {
        font-size: 26px;
    }
    .support-card {
        padding: 30px 24px;
    }
    .support-card-title {
        font-size: 32px;
    }
}

@media (max-width: 480px) {
    .support-title {
        font-size: 32px;
    }
}

/* Contact */
#contact-section {
    padding: 100px 0;
    background-color: #0d4b43;
    background-image: url("../images/snakes-bg-image.webp");
    background-size: cover;
    background-position: center bottom;
    background-repeat: no-repeat;
    color: #FFF0CE;
}

.contact-header-wrap {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 56px auto;
}

.contact-header-wrap .ss-divider {
    display: block;
    margin: 0 auto 30px auto;
}

.contact-title {
    font-size: 60px;
    font-weight: 500;
    line-height: 1.1;
    margin-bottom: 20px;
}

.contact-desc {
    font-size: 18px;
    line-height: 1.7;
}

.contact-grid-wrap {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 48px;
    max-width: 1200px;
    margin: 0 auto;
    align-items: start;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-card {
    background-color: rgba(13, 75, 67, 0.82);
    border: 1px solid rgba(255, 240, 206, 0.2);
    border-left: 5px solid #E94C82;
    border-radius: 20px;
    padding: 24px 28px;
}

.contact-card-title {
    font-size: 32px;
    font-weight: 600;
    margin-bottom: 6px;
}

.contact-card p {
    font-size: 16px;
    line-height: 1.6;
}

.contact-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-top: 8px;
}

.contact-meta a {
    color: #FFF0CE;
    font-size: 18px;
    font-weight: 600;
}

.contact-meta a:hover,
.contact-map-link:hover {
    color: #E94C82;
}

.contact-badge {
    background-color: #E94C82;
    color: #FFF0CE;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 20px;
}

.contact-map {
    border-radius: 20px;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    border: 1px solid rgba(255, 240, 206, 0.2);
}

.contact-map iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

.contact-map-link {
    color: #FFF0CE;
    font-weight: 500;
    align-self: flex-start;
}

.contact-form {
    background-color: #f7f0e4;
    color: #0d4b43;
    border-radius: 20px;
    padding: 40px 36px;
}

.contact-form-title {
    font-size: 36px;
    font-weight: 600;
    margin-bottom: 20px;
}

.contact-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 20px;
}

.contact-field {
    margin-bottom: 14px;
}

.contact-field label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 6px;
}

.contact-field label span {
    color: #E94C82;
}

.contact-field input,
.contact-field select,
.contact-field textarea {
    width: 100%;
    font: inherit;
    font-size: 16px;
    color: #0d4b43;
    background-color: #fff;
    border: 1px solid rgba(13, 75, 67, 0.3);
    border-radius: 12px;
    padding: 12px 14px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-field textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-field input:focus,
.contact-field select:focus,
.contact-field textarea:focus {
    outline: none;
    border-color: #0d4b43;
    box-shadow: 0 0 0 3px rgba(13, 75, 67, 0.15);
}

.contact-field .is-invalid {
    border-color: #c62f63;
    box-shadow: 0 0 0 3px rgba(233, 76, 130, 0.15);
}

.contact-error {
    min-height: 18px;
    font-size: 13px;
    color: #c62f63;
    margin-top: 4px;
}

.contact-form-status:empty {
    display: none;
}

.contact-form-status {
    border-radius: 12px;
    padding: 12px 16px;
    margin-bottom: 18px;
    font-size: 15px;
}

.contact-form-status.is-success {
    background-color: rgba(13, 75, 67, 0.1);
    color: #0d4b43;
}

.contact-form-status.is-error {
    background-color: rgba(233, 76, 130, 0.12);
    color: #a5254f;
}

.contact-hp {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.contact-submit {
    cursor: pointer;
    margin-top: 6px;
    outline: none;
}

.contact-submit:disabled {
    opacity: 0.6;
    cursor: wait;
}

@media (max-width: 860px) {
    .contact-grid-wrap {
        grid-template-columns: 1fr;
        gap: 36px;
    }
}

@media (max-width: 768px) {
    #contact-section {
        padding: 64px 0;
        background-image: url("../images/snake-bg-mobile.webp");
        background-position: bottom;
    }
    .contact-title {
        font-size: 40px;
    }
    .contact-desc {
        font-size: 16px;
    }
    .contact-form {
        padding: 30px 22px;
    }
    .contact-form-title {
        font-size: 30px;
    }
}

@media (max-width: 560px) {
    .contact-form-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .contact-title {
        font-size: 32px;
    }
}

/* Gallery */
#gallery-section {
    padding: 100px 0;
    background-color: #0d4b43;
    background-image: url("../images/mapbg-img.webp");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: #FFF0CE;
}

.gallery-header-wrap {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 48px auto;
}

.gallery-header-wrap .ss-divider {
    display: block;
    margin: 0 auto 30px auto;
}

.gallery-title {
    font-size: 60px;
    font-weight: 500;
    line-height: 1.1;
    margin-bottom: 16px;
}

.gallery-desc {
    font-size: 18px;
    line-height: 1.7;
}

.gallery-grid {
    columns: 4 260px;
    column-gap: 16px;
}

.gallery-item {
    break-inside: avoid;
    margin: 0 0 16px;
}

.gallery-item[hidden] {
    display: none;
}

.gallery-link {
    display: block;
    border-radius: 16px;
    overflow: hidden;
    background: rgba(255, 240, 206, 0.08);
}

.gallery-link img {
    display: block;
    width: 100%;
    height: auto;
    transition: transform 0.4s ease;
}

.gallery-link:hover img,
.gallery-link:focus-visible img {
    transform: scale(1.04);
}

.gallery-link:focus-visible {
    outline: 3px solid #E94C82;
    outline-offset: 3px;
}

.gallery-item figcaption {
    font-size: 14px;
    line-height: 1.5;
    padding: 8px 4px 0;
    opacity: 0.85;
}

.gallery-more-wrap {
    text-align: center;
    margin-top: 32px;
}

.gallery-more {
    cursor: pointer;
}

.gallery-lightbox {
    width: 100vw;
    height: 100vh;
    max-width: none;
    max-height: none;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    color: #FFF0CE;
    overflow: hidden;
}

.gallery-lightbox[open] {
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-lightbox::backdrop {
    background: rgba(6, 30, 27, 0.94);
}

.gallery-lightbox figure {
    margin: 0;
    max-width: calc(100vw - 140px);
    text-align: center;
}

.gallery-lightbox img {
    display: block;
    max-width: 100%;
    max-height: calc(100vh - 120px);
    margin: 0 auto;
    border-radius: 10px;
}

.gallery-lightbox figcaption {
    margin-top: 12px;
    font-size: 16px;
}

.gallery-lightbox button {
    position: absolute;
    background: rgba(255, 240, 206, 0.12);
    color: #FFF0CE;
    border: 0;
    border-radius: 50%;
    width: 48px;
    height: 48px;
    font-size: 32px;
    line-height: 1;
    cursor: pointer;
    display: grid;
    place-items: center;
}

.gallery-lightbox button:hover,
.gallery-lightbox button:focus-visible {
    background: #E94C82;
    outline: none;
}

.gallery-lb-close {
    top: 20px;
    right: 20px;
}

.gallery-lb-prev {
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
}

.gallery-lb-next {
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
}

@media (max-width: 768px) {
    #gallery-section {
        padding: 64px 0;
    }
    .gallery-title {
        font-size: 40px;
    }
    .gallery-desc {
        font-size: 16px;
    }
    .gallery-grid {
        columns: 2;
        column-gap: 10px;
    }
    .gallery-item {
        margin-bottom: 10px;
    }
    .gallery-link {
        border-radius: 10px;
    }
    .gallery-lightbox figure {
        max-width: 100vw;
        padding: 0 8px;
    }
    .gallery-lb-prev,
    .gallery-lb-next {
        top: auto !important;
        bottom: 20px;
        transform: none !important;
    }
}

@media (max-width: 480px) {
    .gallery-title {
        font-size: 32px;
    }
}

/* ==========================================================================
   Animations
   Active only when <html class="anim"> (set in header.php, skipped for
   visitors who prefer reduced motion). Reveal uses the `translate` property
   so it never fights the cards' existing `transform` hover lift.
   ========================================================================== */

@keyframes cc-fade-up {
    from { opacity: 0; translate: 0 30px; }
    to   { opacity: 1; translate: 0 0; }
}

@keyframes cc-draw {
    from { clip-path: inset(0 50% 0 50%); }
    to   { clip-path: inset(0 0 0 0); }
}

@keyframes cc-float {
    0%, 100% { translate: 0 0; }
    50%      { translate: 0 -6px; }
}

/* --- Hero: plays on load --- */
.anim #hero-section .hero-title {
    animation: cc-fade-up 1s cubic-bezier(.2, .7, .2, 1) .1s both;
}
.anim #hero-section .ss-divider {
    animation: cc-draw 1.1s cubic-bezier(.6, 0, .2, 1) .45s both;
}
.anim #hero-section .hero-description {
    animation: cc-fade-up 1s cubic-bezier(.2, .7, .2, 1) .6s both;
}
.anim #hero-section .btn-secondary {
    animation: cc-fade-up 1s cubic-bezier(.2, .7, .2, 1) .8s both;
}

/* --- Reveal on scroll (list kept in sync with assests/js/animate.js) --- */
.anim :is(.about-header-wrap, .stats-header-wrap, .features-header-wrap, .guide-header-wrap,
    .location-content-wrap, .steps-header-wrap, .impact-header-wrap, .gallery-header-wrap,
    .support-header-wrap, .contact-header-wrap,
    .about-card, .about-tagline, .stats-card, .features-card, .guide-card, .guide-btn-wrap,
    .steps-card, .impact-card, .gallery-item, .support-body, .support-card,
    .contact-card, .contact-map, .contact-form) {
    transition:
        opacity .8s ease var(--reveal-delay, 0ms),
        translate .8s cubic-bezier(.2, .7, .2, 1) var(--reveal-delay, 0ms),
        transform .3s ease,
        box-shadow .3s ease;
}

.anim :is(.about-header-wrap, .stats-header-wrap, .features-header-wrap, .guide-header-wrap,
    .location-content-wrap, .steps-header-wrap, .impact-header-wrap, .gallery-header-wrap,
    .support-header-wrap, .contact-header-wrap,
    .about-card, .about-tagline, .stats-card, .features-card, .guide-card, .guide-btn-wrap,
    .steps-card, .impact-card, .gallery-item, .support-body, .support-card,
    .contact-card, .contact-map, .contact-form):not(.is-visible) {
    opacity: 0;
    translate: 0 36px;
}

/* Section dividers draw outwards from the centre once their heading appears */
.anim .is-visible .ss-divider {
    animation: cc-draw 1.1s cubic-bezier(.6, 0, .2, 1) .2s both;
}

/* --- Hover & ambient motion --- */
@media (prefers-reduced-motion: no-preference) {
    .steps-card,
    .impact-card,
    .about-card,
    .support-card,
    .stats-card {
        transition: transform .3s ease, box-shadow .3s ease;
    }

    .steps-card:hover,
    .impact-card:hover,
    .about-card:hover,
    .support-card:hover,
    .stats-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 18px 34px rgba(0, 0, 0, 0.16);
    }

    .steps-icon-wrap {
        transition: transform .4s cubic-bezier(.3, 1.6, .5, 1);
    }

    .steps-card:hover .steps-icon-wrap {
        transform: rotate(-8deg) scale(1.1);
    }

    .guide-card-img,
    .features-card-img {
        transition: transform .5s ease;
    }

    .guide-card:hover .guide-card-img,
    .features-card:hover .features-card-img {
        transform: scale(1.06);
    }

    .contact-card {
        transition: transform .3s ease, border-color .3s ease;
    }

    .contact-card:hover {
        transform: translateX(6px);
    }

    /* Gentle bob on the hero call-to-action after it has arrived */
    .anim #hero-section .btn-secondary {
        animation:
            cc-fade-up 1s cubic-bezier(.2, .7, .2, 1) .8s both,
            cc-float 3.2s ease-in-out 2s infinite;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
}
