:root {
    --primary: #1a3a2e;
    --secondary: #0f2419;
    --accent: #6b4423;
    --text: #2c3e50;
    --text-light: #5a6c7d;
    --light: #f8f9fa;
    --beige: #f0f2f4;
    --cream: #ffffff;
    --shadow: rgba(0, 0, 0, 0.08);
    --shadow-hover: rgba(0, 0, 0, 0.12);
}

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

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Playfair+Display:wght@700;800&display=swap');

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.8;
    color: var(--text);
    background-color: var(--light);
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}


header {
    background-image: url('./pics/healthy-deer.webp');
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    color: var(--cream);
    padding: 4rem 1rem;
    min-height: 40vh;
    position: relative;
    overflow: hidden;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

header::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(44, 74, 62, 0.97), rgba(44, 74, 62, 0.4));
    z-index: 1;
}

.header-content {
    position: relative;
    z-index: 2;
    padding: 2rem;
    border-radius: 8px;
}

header h1 {
    font-family: 'Playfair Display', serif;
    font-size: 4rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    max-width: 100%;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

header p {
    font-size: 1.375rem;
    font-weight: 300;
    max-width: 90%;
    opacity: 0.95;
    margin: 0 auto;
    text-align: center;
    letter-spacing: 0.02em;
}

nav {
    text-align: center;
    background-color: var(--cream);
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 1px 3px var(--shadow);
    width: 100%;
    backdrop-filter: blur(10px);
    background-color: rgba(255, 255, 255, 0.95);
}

nav ul {
    display: flex;
    justify-content: flex-start;  /* Changed back to flex-start for mobile scrolling */
    list-style: none;
    margin: 0;
    padding: 0 1rem;  /* Added horizontal padding */
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

/* Add media query for larger screens */
@media (min-width: 769px) {
    nav ul {
        justify-content: center;  /* Center only on larger screens */
    }
}

/* Hide scrollbar on Chrome/Safari */
nav ul::-webkit-scrollbar {
    display: none;
}

nav li {
    margin: 0;
    flex-shrink: 0;
}

nav a {
    color: var(--text);
    text-decoration: none;
    font-weight: 500;
    padding: 1.25rem 1.5rem;
    display: block;
    white-space: nowrap;
    font-size: 0.875rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    transition: all 0.3s ease;
    position: relative;
}

nav a:hover {
    color: var(--accent);
}

nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background-color: var(--accent);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

nav a:hover::after {
    width: 80%;
}

/* Add scroll indicators */
.nav-scroll-container {
    position: relative;
    width: 100%;
    background-color: var(--secondary);
}

.nav-scroll-container::before,
.nav-scroll-container::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 20px;
    pointer-events: none;
    z-index: 1;
    opacity: 0;
    transition: opacity 0.3s;
}

.nav-scroll-container::before {
    left: 0;
    background: linear-gradient(to right, var(--secondary), transparent);
}

.nav-scroll-container::after {
    right: 0;
    background: linear-gradient(to left, var(--secondary), transparent);
}

/* Show gradient indicators when scrollable */
nav ul.is-scrollable ~ .nav-scroll-container::before {
    opacity: 1;
}

nav ul.is-scrollable ~ .nav-scroll-container::after {
    opacity: 1;
}

/* Mobile-specific adjustments */
@media (max-width: 768px) {
    nav a {
        padding: 1rem 1rem;  /* Increased horizontal padding slightly */
        font-size: 0.9rem;
    }

    nav ul {
        padding: 0 0.75rem;  /* Adjusted padding for mobile */
    }
}

section {
    padding: 6rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

section:nth-of-type(even) {
    background-color: var(--cream);
}

h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.75rem;
    font-weight: 700;
    margin-bottom: 3rem;
    color: var(--primary);
    text-align: center;
    letter-spacing: -0.01em;
}

.impact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    margin: 3rem 0;
}

.impact-card {
    background: white;
    padding: 3rem;
    border-radius: 1rem;
    box-shadow: 0 10px 30px var(--shadow);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.impact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px var(--shadow-hover);
}

.metric {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    line-height: 1;
}

.metric-description {
    font-size: 1rem;
    color: var(--text-light);
    line-height: 1.6;
    font-weight: 400;
}

#solution {
    background: var(--beige);
    position: relative;
}

.content-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.content-block {
    flex: 1 1 45%;
    max-width: 85%;
    min-width: 30%;
    margin: 0 auto;
    padding: 3rem;
    background: white;
    border-radius: 1rem;
    box-shadow: 0 10px 30px var(--shadow);
    display: flex;
    flex-direction: column;
    text-align: left;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.content-block:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px var(--shadow-hover);
}


.content-block p {
    margin-bottom: 1.5rem;
    font-size: 1.0625rem;
    line-height: 1.75;
    color: var(--text-light);
    font-weight: 400;
}

.content-block p:last-child {
    margin-bottom: 0;
}

.content-block ul {
    text-align: left;
    margin: 1.5rem 0 2rem 1.5rem;
    list-style-type: none;
    padding-left: 0;
}

.content-block ul li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    line-height: 1.6;
}

.content-block ul li::before {
    content: "•";
    color: var(--accent);
    font-weight: bold;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
}

.content-block h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.875rem;
    color: var(--primary);
    margin-bottom: 2rem;
    text-align: center;
    position: relative;
    padding-bottom: 1.5rem;
    letter-spacing: -0.01em;
}

.content-block h3::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 2px;
    background: linear-gradient(90deg, var(--accent) 0%, var(--primary) 100%);
    border-radius: 1px;
}

/* Improve spacing between sections */
.content-block + .content-block {
    margin-top: 3rem;
}

/* For larger screens, add media query to further align */
@media (max-width: 768px) {
    .content-block {
        flex: 1 1 100%;
        max-width: 100%;
        margin-bottom: 2rem;
    }

    .content-grid {
        gap: 1rem;
    }
}

@media (min-width: 1024px) {
    .content-grid {
        gap: 4rem;
    }
}

.sensitive-content {
    background: white;
    padding: 3rem;
    border-radius: 1rem;
    box-shadow: 0 10px 30px var(--shadow);
    border: 1px solid rgba(0, 0, 0, 0.05);
    margin-top: 3rem;
}

.sensitive-content h3 {
    color: var(--primary);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    text-align: center;  /* Added text-align: center */
}
ul {
    margin-left: 1.5rem;
    margin-bottom: 1.5rem;
}

li {
    margin-bottom: 0.75rem;
}

footer {
    background: var(--primary);
    color: var(--cream);
    padding: 4rem 2rem;
    text-align: center;
    font-size: 0.875rem;
    width: 100%;
    margin: 0;
    position: relative;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, var(--accent) 50%, transparent 100%);
}

footer p {
    opacity: 0.8;
    max-width: 600px;
    margin: 0 auto 1rem auto;  /* Add bottom margin between paragraphs */
    line-height: 1.5;
}

footer p:last-child {
    margin-bottom: 0;  /* Remove margin from last paragraph */
}

@media (max-width: 768px) {
       header h1 {
        font-size: 2.5rem;
    }

    header p {
        font-size: 1.5rem;
        padding: 0 1rem;
    }
}


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

    section {
        padding: 3rem 1.5rem;
    }

.sensitive-content {
    background: white;
    border-radius: 0.75rem;
    padding: 1.5rem;
    margin: 2rem 0;
}

.warning-text {
    color: #c53030;
    font-weight: 500;
    margin-bottom: 1rem;
}

.image-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.image-container {
    position: relative;
    border-radius: 0.75rem;
    overflow: hidden;
    aspect-ratio: 4/3;
    margin: 2rem 0;
    text-align: center
}

.image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.blur-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 1rem;
    text-align: center;
    transition: opacity 0.3s ease;
    border-radius: 0.75rem;
}

.blur-overlay.hidden {
    opacity: 0;
    pointer-events: none;
}
.hidden {
    display: none;
}
.reveal-button {
    background: var(--primary);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    cursor: pointer;
    margin-top: 1rem;
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.reveal-button:hover {
    background: var(--secondary);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.content-image {
    max-width: 100%;
    border-radius: 4px;
    max-width: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    margin: 0 auto;
}

.image-caption {
    font-size: 0.9rem;
    color: var(--text);
    margin-top: 0.5rem;
    text-align: center;
}

.language-switcher {
    position: absolute;
    top: 1rem;
    right: 1rem;
    z-index: 3;
    background: var(--cream);
    border: 2px solid var(--primary);
    border-radius: 2rem;
    display: flex;
    align-items: center;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.language-option {
    padding: 0.5rem 1rem;
    cursor: pointer;
    font-weight: 500;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    color: var(--primary);
    background: var(--cream);
    border: none;
}

.language-option:first-child {
    border-right: 1px solid var(--primary);
}

.language-option.active {
    background: var(--accent);
    color: var(--cream);
    font-weight: 700;
    box-shadow: inset 0 0 5px rgba(0,0,0,0.2);
}

.language-option:not(.active):hover {
    background: var(--beige);
}

.language-icon {
    display: inline-block;
    vertical-align: middle;
    margin-right: 4px;
}

@media (max-width: 768px) {
    .language-switcher {
        top: 0.5rem;
        right: 0.5rem;
        transform: scale(0.9);
    }
}

.home-link {
    margin-bottom: 1rem;
}

.home-link a {
    color: var(--cream);
    text-decoration: none;
    font-size: 1.1rem;
}

.home-link a:hover {
    text-decoration: underline;
}

.return-button-container {
    position: absolute;
    top: 1.5rem;
    left: 1.5rem;
    z-index: 3;
}

.return-button {
    background: var(--cream);
    color: var(--primary);
    border: 2px solid var(--primary);
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    cursor: pointer;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.return-button:hover {
    background: var(--primary);
    color: var(--cream);
    transform: translateX(-3px);
}

@media (max-width: 768px) {
    .return-button-container {
        top: 1rem;
        left: 1rem;
    }

    .return-button {
        padding: 0.4rem 0.8rem;
        font-size: 0.85rem;
    }
}

.header-link {
    color: inherit;
    text-decoration: none;
    transition: opacity 0.2s;
}

.header-link:hover {
    opacity: 0.9;
}

.parasite-images {
    display: flex;
    justify-content: space-around;
    gap: 2rem;
    margin: 2rem 0;
}

.parasite-images figure {
    flex: 1;
    text-align: center;
    width: 250px;  /* Set fixed width */
    max-width: 250px;  /* Ensure consistent max width */
}

.parasite-image {
    width: 100%;
    height: 200px;  /* Set fixed height */
    object-fit: cover;  /* Maintain aspect ratio while filling container */
    border-radius: 8px;
    margin-bottom: 0.5rem;
}

.parasite-images figcaption {
    font-size: 0.9rem;
    color: #666;
}

/* Add responsive adjustments for mobile */
@media (max-width: 768px) {
    .parasite-images {
        flex-direction: column;
        align-items: center;
    }

    .parasite-images figure {
        width: 100%;
        max-width: 300px;
    }
}

.video-container {
    position: relative;
    width: 100%;
    max-width: 800px;
    margin: 2rem auto;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.impact-quote {
    margin: 3rem auto;
    max-width: 800px;
    padding: 2rem 3rem;
    border-left: 5px solid #2c5282;
    background: rgba(44, 82, 130, 0.05);
    font-style: italic;
    font-size: 1.25rem;
    line-height: 1.6;
    color: #2d3748;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.impact-quote p {
    margin: 0;
}

a {
    color: #735032;  /* Darker version of your accent color */
    transition: color 0.2s ease;
}

a:hover {
    color: #8B5E3C;  /* Original accent color on hover */
}
.contact-section {
    text-align: center;
    margin: 2rem 0;
    padding: 1rem;
}

.contact-section h3 {
    color: #333;
    margin-bottom: 1rem;
}

.contact-section p {
    max-width: 600px;
    margin: 0 auto;
    color: #666;
}

/* Contact Form Styling */
#fs-frm {
    max-width: 600px;
    margin: 3rem auto;
    padding: 3rem;
    background: white;
    border-radius: 1rem;
    box-shadow: 0 15px 35px var(--shadow);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

#fs-frm:hover {
    box-shadow: 0 20px 45px var(--shadow-hover);
}

#fs-frm fieldset {
    border: none;
    padding: 0;
    margin: 0;
}

#fs-frm label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text);
    font-weight: 500;
    font-size: 0.875rem;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

#fs-frm input,
#fs-frm textarea {
    width: 100%;
    padding: 1rem;
    margin-bottom: 1.75rem;
    border: 2px solid rgba(0, 0, 0, 0.1);
    border-radius: 0.5rem;
    background: var(--light);
    font-size: 1rem;
    transition: all 0.3s ease;
    font-family: inherit;
}

#fs-frm input:focus,
#fs-frm textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(26, 58, 46, 0.1);
    background: white;
    transform: translateY(-1px);
}

#fs-frm input[type="submit"] {
    background: var(--primary);
    color: white;
    font-weight: 500;
    padding: 1rem 3rem;
    border: none;
    border-radius: 0.5rem;
    cursor: pointer;
    width: auto;
    margin: 1.5rem 0 0 0;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 0.875rem;
    box-shadow: 0 4px 15px rgba(26, 58, 46, 0.2);
}

#fs-frm input[type="submit"]:hover {
    background: var(--secondary);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(26, 58, 46, 0.3);
}

/* Add responsive adjustments */
@media (max-width: 768px) {
    #fs-frm {
        padding: 1.5rem;
        margin: 1.5rem auto;
    }
}

/* Animation definitions */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    opacity: 0;
    animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Smooth transitions for interactive elements */
* {
    transition: color 0.3s ease, background-color 0.3s ease, border-color 0.3s ease;
}

/* Additional professional polish */
::selection {
    background-color: var(--accent);
    color: white;
}

::-moz-selection {
    background-color: var(--accent);
    color: white;
}
