/* CSS Reset and Base Styles - Updated 2025-06-22 */
/* MOBILE VIEWPORT ENFORCEMENT */
/* Force mobile viewport compliance */
@viewport {
    width: device-width;
    initial-scale: 1.0;
    maximum-scale: 1.0;
    user-scalable: no;
}

/* Prevent mobile browser zoom on form focus */
@media screen and (max-width: 768px) {
    input, textarea, select {
        font-size: 16px !important;
        transform: scale(1);
    }
    
    /* Force mobile layout recognition */
    html {
        -webkit-text-size-adjust: 100%;
        -ms-text-size-adjust: 100%;
        touch-action: manipulation;
    }
    
    body {
        -webkit-text-size-adjust: 100%;
        -ms-text-size-adjust: 100%;
        min-width: 320px;
        overflow-x: hidden;
    }
}

/* STORY PRINCIPLES UPDATED - NO BOX STYLING */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
}

:root {
    /* Color Palette - Official Brand Colors */
    --forest-green: #22573B;
    --gold: #B08D57;
    --copper: #B87333;
    --dark-forest-green: #1A432E;
    --dark-grey: #4a4a4a;
    --light-grey: #f8f9fa;
    --off-white: #FFFFFF; /* Changed from #F1E9D2 */
    --off-white-rgb: 255, 255, 255; /* Changed from 241, 233, 210 */
    --text-dark: #2d3748;
    --text-light: #5d697b; /* Darkened for better contrast on off-white */
    --border-light: #e0e0e0; /* Changed from #dcd5c3 for white theme */
    
    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-weight-light: 300;
    --font-weight-normal: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;
    
    /* Spacing */
    --section-padding: 6rem 0;
    --container-max-width: 1200px;
    --border-radius: 8px;
    --transition: all 0.3s ease;
}

body {
    font-family: var(--font-primary);
    font-weight: var(--font-weight-normal);
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--off-white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 2rem;
}

/* Header Styles */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(var(--off-white-rgb), 0.9);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--border-light);
    z-index: 1000;
    transition: transform 0.3s ease, background-color 0.3s ease;
    transform: translateY(0);
}

.header.hidden {
    transform: translateY(-100%);
}

.header.scrolled {
    background: rgba(var(--off-white-rgb), 0.95);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.header-container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-img {
    height: 40px;
    width: auto;
}

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

.nav-links {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: var(--font-weight-medium);
    transition: var(--transition);
    position: relative;
}

.nav-links a:hover {
    color: var(--forest-green);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--forest-green);
    transition: var(--transition);
}

.nav-links a:hover::after {
    width: 100%;
}

/* Button Styles */
.cta-button {
    border: none;
    border-radius: var(--border-radius);
    padding: 0.75rem 1.5rem;
    font-family: var(--font-primary);
    font-weight: var(--font-weight-semibold);
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.cta-button .mobile-text {
    display: none;
}

.cta-button .desktop-text {
    display: inline;
}

.cta-button.primary {
    background: var(--forest-green);
    color: var(--off-white);
}

.cta-button.primary:hover {
    background: var(--dark-forest-green);
    transform: translateY(-2px);
}

.cta-button.secondary {
    background: transparent;
    color: var(--off-white);
    border: 2px solid var(--off-white);
}

.cta-button.secondary:hover {
    background: var(--off-white);
    color: var(--forest-green);
    border-color: var(--off-white);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 30px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 10;
}

.mobile-menu-toggle span {
    display: block;
    height: 3px;
    width: 100%;
    background: var(--forest-green);
    border-radius: 3px;
    transition: all 0.3s ease;
}

.mobile-menu-toggle.open span:first-child {
    transform: rotate(45deg) translate(8px, 8px);
}

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

.mobile-menu-toggle.open span:last-child {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Hero Section - Fixed Parallax */
.hero {
    height: 100vh;
    display: flex;
    align-items: flex-end; /* Moves content to the bottom */
    justify-content: center;
    position: relative;
    overflow: hidden;
    color: var(--off-white); /* Ensure text is visible before JS loads */
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('images/top-hero.jpeg');
    background-size: cover; /* Changed from contain back to cover */
    background-position: center center;
    background-repeat: no-repeat;
    z-index: -2;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: -1;
}

.hero-content {
    text-align: center;
    color: var(--off-white);
    max-width: 800px;
    padding: 0 2rem 15vh; /* Adds padding from the bottom */
    z-index: 1;
    position: relative;
    animation: fadeInUp 1s ease-out;
}

.hero-title {
    font-size: clamp(2rem, 5vw + 1rem, 3.5rem); /* Fluid font size */
    font-weight: var(--font-weight-bold);
    margin-bottom: 2.5rem; /* Increased margin to button */
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
    font-size: 1.25rem;
    font-weight: var(--font-weight-light);
    margin-bottom: 2.5rem;
    opacity: 0.95;
    line-height: 1.6;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* Solution Section */
.solution {
    padding: var(--section-padding);
    background: var(--off-white);
}

.solution-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.product-mockup {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 400px;
    position: relative;
}

.product-image {
    max-width: 300px;
    max-height: 400px;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(34, 87, 59, 0.3);
    transition: var(--transition);
}

.product-image:hover {
    transform: scale(1.05);
    box-shadow: 0 25px 50px rgba(34, 87, 59, 0.4);
}

.product-shadow {
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 40px;
    background: radial-gradient(ellipse, rgba(34, 87, 59, 0.3) 0%, transparent 70%);
    border-radius: 50%;
    z-index: -1;
}

.solution-text {
    text-align: center; /* Center the text */
}

.solution-text h2 {
    font-size: 2.5rem;
    font-weight: var(--font-weight-bold);
    margin-bottom: 1.5rem;
    color: var(--forest-green);
    line-height: 1.3;
}

.solution-text p {
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.7;
}

/* Science Section */
.science {
    background-image: url('images/ingredients.png');
    background-size: cover;
    background-position: center;
    color: var(--off-white);
    padding: var(--section-padding);
    position: relative;
    overflow: hidden; /* For new parallax */
}

.science::before {
    display: none;
}

.science .container {
    position: static;
}

.science h2, .science .ingredient-section-title {
    color: var(--off-white);
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
    text-align: center;
}

.science-intro {
    color: var(--off-white);
    font-weight: 400;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
    max-width: 80ch;
    margin: 0 auto 3rem auto;
    text-align: center;
}

/* --- Base styles for all sections for fade-in --- */
section:not(.hero) {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
    margin-bottom: 2rem; /* Add spacing between sections */
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: var(--section-padding); /* Ensure padding is consistent */
}

/* Remove margin from the last section to prevent spacing before the footer */
section.contact {
    margin-bottom: 0;
}

section.is-visible {
    opacity: 1;
    transform: translateY(0);
}


/* Interactive Ingredient Section */
.ingredient-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto 1fr; /* Allow row to grow */
    grid-template-areas:
        'title title'
        'list  info';
    gap: 2rem;
    margin-top: 4rem;
    align-items: stretch;
    width: 100%;
    max-width: 1200px; /* Or another appropriate max-width */
    margin-left: auto;
    margin-right: auto;
}

.ingredient-container {
    display: contents;
}

.ingredient-section-title {
    grid-area: title;
    text-align: center;
    margin-bottom: 1.5rem;
    font-size: 1.8rem; /* Adjusted for better visibility */
    font-weight: var(--font-weight-semibold);
    /* Color is inherited from .science section */
}

.ingredient-list {
    grid-area: list;
    background: rgba(var(--off-white-rgb), 0.85);
    backdrop-filter: blur(8px);
    border-radius: var(--border-radius);
    border: 1px solid rgba(0, 0, 0, 0.1);
    padding: 1.2rem;
    overflow-y: auto;
    overflow-x: hidden;
    max-height: 450px;
    min-height: 300px;
    position: relative;
    /* Improved scrolling behavior */
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
}

.ingredient-info {
    grid-area: info;
    background: rgba(var(--off-white-rgb), 0.85);
    backdrop-filter: blur(8px);
    border-radius: var(--border-radius);
    border: 1px solid rgba(0, 0, 0, 0.1);
    padding: 2rem;
    overflow-y: auto;
    overflow-x: hidden;
    max-height: 450px;
    min-height: 300px;
    position: relative;
    /* Improved scrolling behavior */
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
}

.ingredient-list-content {
    transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform;
}

.ingredient-list-content.overscroll-top {
    transform: translateY(12px);
}

.ingredient-list-content.overscroll-bottom {
    transform: translateY(-12px);
}

.ingredient-item {
    display: flex;
    align-items: center;
    padding: 0.8rem 1rem;
    margin-bottom: 0.5rem;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border: 1px solid transparent;
    position: relative;
}

.ingredient-item:hover {
    background: rgba(34, 87, 59, 0.08);
    transform: translateX(5px);
    border-color: rgba(34, 87, 59, 0.2);
    box-shadow: 0 2px 8px rgba(34, 87, 59, 0.1);
}

.ingredient-item.active {
    background: rgba(34, 87, 59, 0.15);
    border-color: var(--forest-green);
    transform: translateX(3px);
    box-shadow: 0 4px 12px rgba(34, 87, 59, 0.2);
}

.ingredient-item.active:hover {
    transform: translateX(3px);
}

.ingredient-icon {
    width: 40px;
    height: 40px;
    background: rgba(34, 87, 59, 0.1);
    border: 1.5px solid rgba(34, 87, 59, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    flex-shrink: 0;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
}

.ingredient-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), transparent);
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.ingredient-item:hover .ingredient-icon::before {
    opacity: 1;
}

.ingredient-icon svg {
    width: 20px;
    height: 20px;
    color: var(--forest-green);
    transition: all 0.3s ease;
    z-index: 1;
    position: relative;
}

.ingredient-item:hover .ingredient-icon {
    background: rgba(34, 87, 59, 0.15);
    border-color: rgba(34, 87, 59, 0.3);
    transform: scale(1.05);
}

.ingredient-item.active .ingredient-icon {
    background: var(--forest-green);
    border-color: var(--forest-green);
    transform: scale(1.02);
}

.ingredient-item.active .ingredient-icon svg {
    color: var(--off-white);
}

.ingredient-item.active:hover .ingredient-icon {
    transform: scale(1.02);
}

.ingredient-name {
    font-weight: var(--font-weight-semibold);
    font-size: 1rem;
    color: var(--text-dark);
}

.ingredient-dosage {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-left: auto;
    white-space: nowrap;
    padding-left: 1rem;
}

.ingredient-info h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--forest-green);
}

.ingredient-info h4 {
    font-size: 1.2rem;
    margin: 1.5rem 0 0.5rem 0;
    color: var(--forest-green);
    font-weight: var(--font-weight-semibold);
}

.ingredient-info p {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-dark);
}

.ingredient-info-visual,
.ingredient-detail-image,
.ingredient-info-placeholder {
    display: none; /* Keep these hidden as they are not used */
}

/* Business Section */
.business {
    padding: var(--section-padding);
    background: var(--off-white);
}

.business-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.business-text {
    text-align: center; /* Center the text */
}

.business-text h2 {
    font-size: 2.5rem;
    font-weight: var(--font-weight-bold);
    margin-bottom: 1.5rem;
    color: var(--forest-green);
    line-height: 1.3;
}

.business-text p {
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.7;
}

.office-placeholder {
    min-height: 400px;
    background: linear-gradient(135deg, rgba(34, 87, 59, 0.1), rgba(176, 141, 87, 0.1));
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px dashed var(--forest-green);
}

.office-scene {
    text-align: center;
    color: var(--forest-green);
    font-size: 1.1rem;
}

/* Story Section */
.story {
    padding: var(--section-padding);
    background: var(--off-white);
}

.story-content {
    max-width: 1000px;
    margin: 0 auto;
}

.story-text {
    max-width: none;
    text-align: center; /* Center the text */
}

.story-text h2 {
    font-size: 2.8rem;
    font-weight: var(--font-weight-bold);
    margin-bottom: 2rem;
    color: var(--forest-green);
    line-height: 1.2;
}

.story-text p {
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.story-principles-asText {
    margin: 2rem 0;
}

.story-principles-asText p {
    margin-bottom: 1rem;
}

.story-principles-asText p strong {
    color: var(--forest-green);
    font-weight: var(--font-weight-semibold);
    display: block;
    margin-bottom: 0.25rem;
}

.story-principles-asText p span {
    font-weight: var(--font-weight-medium);
    display: block;
    padding-left: 1rem;
}

/* Safety Section */
.safety {
    padding: var(--section-padding);
    background: var(--forest-green);
    color: var(--off-white);
}

.safety-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.safety-content h2 {
    font-size: 2.5rem;
    font-weight: var(--font-weight-bold);
    margin-bottom: 1.5rem;
    color: var(--off-white);
    line-height: 1.3;
}

.safety-content p {
    font-size: 1.1rem;
    color: rgba(var(--off-white-rgb), 0.9);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

/* Contact Section */
.contact {
    padding: var(--section-padding);
    background: var(--forest-green);
    color: var(--off-white);
}

.contact-content {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.contact h2 {
    font-size: 2.5rem;
    font-weight: var(--font-weight-bold);
    margin-bottom: 1.5rem;
}

.contact p {
    font-size: 1.1rem;
    font-weight: var(--font-weight-light);
    margin-bottom: 3rem;
    opacity: 0.9;
    line-height: 1.7;
}

.contact-form {
    display: grid;
    gap: 1.5rem;
}

.form-group {
    text-align: left;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid rgba(var(--off-white-rgb), 0.3);
    border-radius: var(--border-radius);
    background: rgba(var(--off-white-rgb), 0.1);
    color: var(--off-white);
    font-family: var(--font-primary);
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(var(--off-white-rgb), 0.7);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--off-white);
    background: rgba(var(--off-white-rgb), 0.15);
}

.contact-form .cta-button {
    margin-top: 1rem;
    padding: 1rem 2rem;
    font-size: 1rem;
    background: var(--off-white);
    color: var(--forest-green);
}

.contact-form .cta-button:hover {
    background: rgba(var(--off-white-rgb), 0.9);
    color: var(--forest-green);
    transform: translateY(-2px);
}

/* Footer */
.footer {
    background: var(--dark-forest-green);
    color: var(--off-white);
    padding: 2rem 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-logo-img {
    height: 30px;
    width: auto;
}

.footer-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.footer-link {
    color: rgba(var(--off-white-rgb), 0.8);
    text-decoration: none;
    transition: var(--transition);
}

.footer-link:hover {
    color: var(--gold);
}

.linkedin-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
}

.linkedin-link svg {
    transition: var(--transition);
}

.linkedin-link:hover {
    color: #0077b5; /* LinkedIn brand color */
}

.linkedin-link:hover svg {
    transform: scale(1.1);
}

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

/* Responsive Design */
@media (max-width: 1024px) {
    .hero::before, .science {
        background-attachment: scroll;
    }
    
    .solution-content,
    .business-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .story-content {
        text-align: center;
    }
    
    .story-text h2 {
        font-size: 2.4rem;
    }
    
    .story-principles {
        text-align: left;
        padding: 2rem;
        margin: 2rem auto;
        max-width: 600px;
    }
    
    .ingredient-section {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto auto;
        grid-template-areas:
            'title'
            'list'
            'info';
        gap: 2rem;
    }
    
    .ingredient-list,
    .ingredient-info {
        max-height: 200px;
    }

    .safety-content {
        flex-direction: column;
    }

    .safety-text {
        order: 1;
    }

    .safety-visual {
        order: 2;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 4rem 0;
    }
    
    .container {
        padding: 0 1rem;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .nav-links {
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        background: rgba(var(--off-white-rgb), 0.98);
        backdrop-filter: blur(20px);
        border-top: 1px solid var(--border-light);
        box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
        flex-direction: column;
        gap: 0;
        padding: 2rem;
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        z-index: 999;
    }
    
    .nav-links.open {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .nav-links li {
        margin: 0;
        text-align: center;
        border-bottom: 1px solid var(--border-light);
        padding: 1rem 0;
    }
    
    .nav-links li:last-child {
        border-bottom: none;
    }
    
    .nav-links a {
        font-size: 1.1rem;
        font-weight: var(--font-weight-medium);
        color: var(--text-dark);
        display: block;
        padding: 0.5rem 0;
    }
    
    .nav .cta-button {
        display: inline-block;
        padding: 0.6rem 1rem;
        font-size: 0.9rem;
    }
    
    .nav .cta-button .desktop-text {
        display: none;
    }
    
    .nav .cta-button .mobile-text {
        display: inline;
    }
    
    .hero-content {
        padding: 0 1rem 12vh; /* Adjusted padding for mobile */
    }
    
    .solution-text h2,
    .business-text h2,
    .story-text h2,
    .science h2,
    .contact h2 {
        font-size: 2rem;
        line-height: 1.2;
        margin-bottom: 1.5rem;
    }
    
    .solution-text p,
    .business-text p,
    .story-text p,
    .contact p {
        font-size: 1rem;
        line-height: 1.6;
        margin-bottom: 1.2rem;
    }
    
    .science-intro {
        font-size: 1.1rem;
        line-height: 1.5;
    }
    
    .story-text h2 {
        font-size: 2.2rem;
    }
    
    .story-principles li {
        font-size: 1rem;
        line-height: 1.5;
        padding-left: 1.5rem;
        margin-bottom: 1.2rem;
    }
    
    .story-principles li strong {
        font-size: 1.1rem;
        margin-bottom: 0.5rem;
    }
    
    .story-principles-asText p span {
        padding-left: 0;
    }

    .ingredient-list,
    .ingredient-info {
        max-height: 280px; /* Improved height for better mobile experience */
        min-height: 200px;
        padding: 1rem; /* Reduce padding for compactness */
        scroll-padding: 0.5rem;
    }
    
    .ingredient-section {
        gap: 1.5rem; /* Re-apply mobile gap */
    }

    .ingredient-section-title {
        font-size: 1.2rem; /* Slightly reduce font size */
        margin-bottom: 0.6rem;
    }

    .ingredient-item {
        padding: 0.4rem;
        margin-bottom: 0.2rem;
    }

    .ingredient-name {
        font-size: 0.9rem; /* Reduce font size */
    }

    .ingredient-dosage {
        font-size: 0.75rem; /* Reduce font size */
    }

    .ingredient-info {
        padding-top: 1rem; /* Restore some padding for mobile */
    }

    .ingredient-info h3 {
        font-size: 1.3rem;
        margin-bottom: 0.6rem;
    }

    .ingredient-info h4 {
        font-size: 1rem;
        margin: 0.6rem 0 0.4rem 0;
    }

    .ingredient-info p {
        font-size: 0.9rem; /* Reduce font size */
        line-height: 1.4;
        margin-bottom: 0.6rem;
        word-break: break-word; /* Prevent text overflow */
        overflow-wrap: break-word; /* Wrap long words */
        hyphens: auto; /* Allow hyphenation for better wrapping */
    }
    
    .contact-form {
        gap: 1.5rem;
    }
    
    .form-group input,
    .form-group textarea {
        padding: 1rem;
        font-size: 1rem;
    }
    
    .cta-button {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
        padding: 1.5rem 0;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 1rem;
        font-size: 0.9rem;
    }
    
    .office-image {
        width: 100%;
        height: auto;
        object-fit: cover;
    }
    
    .business-visual {
        display: flex;
        justify-content: center;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }
    
    .hero-content {
        padding: 0 1rem 10vh; /* Adjusted padding for small screens */
    }
    
    .solution-text h2,
    .business-text h2,
    .story-text h2,
    .science h2,
    .contact h2 {
        font-size: 1.8rem;
    }
    
    .story-text h2 {
        font-size: 2rem;
    }
    
    .ingredient-list,
    .ingredient-info {
        padding: 1rem;
    }
}

/* Office Image Styling */
.office-image {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: var(--border-radius);
    box-shadow: 0 10px 30px rgba(34, 87, 59, 0.2);
    transition: var(--transition);
}

.office-image:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(34, 87, 59, 0.3);
}

/* Ensure proper mobile rendering */
@media screen and (max-width: 768px) {
    body {
        font-size: 16px; /* Prevent zoom on iOS */
    }
}

/* Privacy Policy Styles */
.privacy-policy {
    padding: 8rem 0 4rem 0;
    background: var(--off-white);
    min-height: 100vh;
}

.privacy-content {
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.7;
}

.privacy-content h1 {
    font-size: 3rem;
    font-weight: var(--font-weight-bold);
    color: var(--forest-green);
    margin-bottom: 1rem;
    text-align: center;
}

.privacy-content .last-updated {
    text-align: center;
    color: var(--text-light);
    font-style: italic;
    margin-bottom: 3rem;
    font-size: 0.9rem;
}

.privacy-content h2 {
    font-size: 1.5rem;
    font-weight: var(--font-weight-semibold);
    color: var(--forest-green);
    margin: 2.5rem 0 1rem 0;
    border-bottom: 2px solid var(--gold);
    padding-bottom: 0.5rem;
}

.privacy-content p {
    margin-bottom: 1.2rem;
    color: var(--text-dark);
    font-size: 1rem;
}

.privacy-content ul {
    margin: 1rem 0 1.5rem 2rem;
    color: var(--text-dark);
}

.privacy-content li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.privacy-content strong {
    color: var(--forest-green);
    font-weight: var(--font-weight-semibold);
}

.back-to-site {
    text-align: center;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-light);
}

@media (max-width: 768px) {
    .privacy-policy {
        padding: 6rem 0 3rem 0;
    }
    
    .privacy-content h1 {
        font-size: 2.2rem;
    }
    
    .privacy-content h2 {
        font-size: 1.3rem;
        margin: 2rem 0 0.8rem 0;
    }
    
    .privacy-content ul {
        margin-left: 1.5rem;
    }
    
    .privacy-content p {
        font-size: 0.95rem;
    }
}

/* Remove duplicate styles - these are handled in the main responsive section */ 

/* Safety Section */
.safety-content {
    display: flex;
    align-items: center;
    gap: 4rem;
}

.safety-text {
    flex: 1;
}

.safety-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.safety-image {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.safety-image:hover {
    transform: scale(1.03);
}

@media (max-width: 1024px) {
    .safety-content {
        flex-direction: column;
    }
} 