body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    color: #4b5320;
    background-color: #f7fcf5;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

header {
    background-color: #47d240;
    padding: 10px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

nav .logo a {
    display: flex; /* Aligns the image and text horizontally */
    align-items: center; /* Vertically centers them */
    gap: 10px; /* Adds space between the image and the text */

    font-size: 24px;
    font-weight: bold;
    text-decoration: none;
    color: #2e4d2e;
}

nav .logo a img {
    height: 40px;
}

nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}

nav ul li {
    margin-left: 25px;
}

nav ul a {
    text-decoration: none;
    color: #2e4d2e;
    font-weight: 500;
    transition: color 0.3s;
}

nav ul a.active {
    font-weight: bold;
    /* color: #556b2f; */
    /* border-bottom: 2px solid #556b2f; */
}

nav ul a:hover {
    color: #556b2f;
}

.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)),
                url('images/hero-background.jpg') no-repeat center center/cover;
    color: #ffffff;
    text-align: center;
    padding: 100px 20px;
}

.hero h1 {
    font-size: 4em;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero p {
    font-size: 1.5em;
    max-width: 700px;
    margin: 0 auto;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

.section {
    padding: 50px 0;
    text-align: center;
}

.section h2 {
    font-size: 2.5em;
    color: #556b2f;
    margin-bottom: 20px;
}

.product-grid, .core-values, .certifications {
    display: grid;
    gap: 30px;
    text-align: center;
}

.product-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.product-card {
    background-color: #ffffff;
    border: 1px solid #d1e7d0;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.product-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.product-card h3 {
    margin: 15px 0 5px;
    color: #556b2f;
}

.product-card p {
    color: #8b8b8b;
    font-style: italic;
    margin-bottom: 15px;
}

.article-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.article-card {
    background-color: #ffffff;
    border: 1px solid #d1e7d0;
    border-radius: 8px;
    padding: 20px;
    transition: transform 0.3s, box-shadow 0.3s;
    text-align: left;
}

.article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.article-card h3 {
    color: #556b2f;
    margin-top: 0;
}

.article-card a {
    display: inline-block;
    margin-top: 15px;
    color: #4b5320;
    text-decoration: none;
    font-weight: bold;
}

.article-card a:hover {
    text-decoration: underline;
}

.certifications {
    /* display: grid; */
    display: flex;
    /* grid-template-columns: repeat(auto-fit, minmax(100px, 1fr)); */
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
}

.certifications img {
    max-width: 100%;
    height: 80px;
    object-fit: contain;
    opacity: 0.8;
    transition: opacity 0.3s;
}

.certifications img:hover {
    opacity: 1;
}

footer {
    background-color: #2e4d2e;
    color: #f7fcf5;
    text-align: center;
    padding: 20px 0;
}

@media (max-width: 768px) {
    nav {
        flex-direction: column;
    }
    nav ul {
        margin-top: 15px;
    }
    nav ul li {
        margin: 0 10px;
    }
    .hero h1 {
        font-size: 2.5em;
    }
    .hero p {
        font-size: 1.2em;
    }
}

.vision-mission-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    text-align: left; /* Aligns text to the left */
}

.vision-mission-grid h3 {
    color: #556b2f;
    font-size: 1.8em;
    margin-bottom: 10px;
}

.vision-mission-grid ul {
    list-style: none;
    padding-left: 0;
}

.vision-mission-grid li {
    margin-bottom: 15px;
    position: relative;
    padding-left: 30px;
}

.vision-mission-grid li::before {
    content: '🌿';
    position: absolute;
    left: 0;
    color: #556b2f;
}

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



.contact-section-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    padding: 50px 0;
    background-color: #f0f5ee;
    border-radius: 10px;
}

.contact-info-container {
    text-align: left;
    padding-left: 50px;
}

.contact-info-container h2 {
    font-size: 2.5em;
    color: #556b2f;
    margin-bottom: 20px;
}

.contact-details {
    padding: 40px;
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    text-align: left;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
}
        
.contact-info-item:last-child {
    margin-bottom: 0;
}

.contact-info-item .icon {
    font-size: 1.5em;
    margin-right: 20px;
    color: #556b2f;
    width: 30px;
    text-align: center;
    line-height: 1.5;
}
        
.contact-info-item .text strong {
    display: block;
    font-size: 1.1em;
    color: #2e4d2e;
}
        
.contact-info-item .text a,
.contact-info-item .text p {
    color: #4b5320;
    text-decoration: none;
    transition: color 0.3s;
    margin: 0;
}

.contact-info-item .text a:hover {
    color: #556b2f;
}

.cta-button {
    display: inline-block;
    background-color: #556b2f;
    color: #ffffff;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s;
}

.cta-button:hover {
    background-color: #4b5320;
}
        
@media (max-width: 768px) {
    .contact-section-layout {
        grid-template-columns: 1fr;
    }
    .contact-info-container {
        text-align: center;
        padding-left: 20px;
        padding-right: 20px;
    }
}

/* Article-specific styles */
.article-content {
    text-align: left; /* Ensures all text is left-aligned */
    padding: 40px 0;
}

.article-content h1 {
    font-size: 2.8em;
    color: #556b2f;
    margin-bottom: 20px;
    text-align: center; /* Center-align the main title only */
}

.article-content h2 {
    font-size: 2em;
    color: #4b5320;
    margin-top: 40px;
    margin-bottom: 15px;
}

.article-content p, .article-content li {
    font-size: 1.1em;
    line-height: 1.8;
    color: #4b5320;
}

.intro-text {
    font-size: 1.2em;
    line-height: 1.8;
    color: #2e4d2e;
    font-style: italic;
    text-align: center;
}

.article-image {
    display: block;
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 30px auto; /* Centers the image */
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* Generic grid for side-by-side article content */
.article-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    align-items: center;
    margin-top: 20px;
}

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

.article-content ul {
    margin-left: 20px;
    padding-left: 0;
}

.article-content li {
    margin-bottom: 10px;
}

.article-section {
    margin-top: 50px;
}

.key-takeaways {
    background-color: #f0f5ee;
    padding: 20px;
    border-radius: 10px;
    margin-top: 50px;
}

.key-takeaways h2 {
    text-align: center;
    color: #556b2f;
    margin-bottom: 15px;
}
