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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f9f9f9;
}

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

.container-wrap-narrow {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.main-header {
    background-color: #2d5016;
    color: #fff;
    padding: 15px 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.logo-section {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-section img {
    border-radius: 50%;
    border: 2px solid #fff;
}

.site-title {
    font-size: 1.5rem;
    font-weight: bold;
    color: #fff;
}

.primary-nav ul {
    display: flex;
    list-style: none;
    gap: 25px;
}

.primary-nav a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.primary-nav a:hover {
    color: #a8d5a3;
}

.hero-banner {
    position: relative;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.hero-overlay {
    position: relative;
    z-index: 2;
    background: rgba(45, 80, 22, 0.8);
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
}

.hero-overlay h1 {
    font-size: 3rem;
    margin-bottom: 15px;
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 25px;
}

.cta-button {
    display: inline-block;
    background-color: #6ba547;
    color: #fff;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s;
}

.cta-button:hover {
    background-color: #578a38;
}

.secondary-button {
    display: inline-block;
    background-color: #2d5016;
    color: #fff;
    padding: 10px 25px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s;
}

.secondary-button:hover {
    background-color: #3d6821;
}

.features-grid, .info-section, .recent-posts, .about-story, .team-section, .values-section, .contact-section, .blog-listing, .post-content {
    padding: 60px 0;
}

.features-grid h2, .info-section h2, .recent-posts h2, .team-section h2, .values-section h2, .page-header h1 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 40px;
    color: #2d5016;
}

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

.feature-box {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.feature-box:hover {
    transform: translateY(-5px);
}

.feature-box img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.feature-content {
    padding: 20px;
}

.feature-content h3 {
    color: #2d5016;
    margin-bottom: 10px;
    font-size: 1.4rem;
}

.info-flex {
    display: flex;
    gap: 40px;
    align-items: center;
    flex-wrap: wrap;
}

.info-text {
    flex: 1;
    min-width: 300px;
}

.info-text h2 {
    text-align: left;
    margin-bottom: 20px;
}

.info-text p {
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.info-image {
    flex: 1;
    min-width: 300px;
}

.info-image img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.posts-preview {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.post-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

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

.post-card h3 {
    padding: 15px 15px 10px;
}

.post-card h3 a {
    color: #2d5016;
    text-decoration: none;
    transition: color 0.3s;
}

.post-card h3 a:hover {
    color: #6ba547;
}

.post-card p {
    padding: 0 15px 15px;
}

.center-align {
    text-align: center;
    margin-top: 30px;
}

.site-footer {
    background-color: #2d5016;
    color: #fff;
    padding: 40px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.footer-col h4 {
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 8px;
}

.footer-col a {
    color: #a8d5a3;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-col a:hover {
    color: #fff;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #3d6821;
}

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #fff;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.2);
    padding: 20px;
    z-index: 10000;
    display: none;
}

.cookie-banner.show {
    display: block;
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
}

.cookie-content p {
    margin-bottom: 10px;
}

.cookie-buttons {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.cookie-btn {
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    transition: background-color 0.3s;
}

.cookie-btn.accept {
    background-color: #6ba547;
    color: #fff;
}

.cookie-btn.accept:hover {
    background-color: #578a38;
}

.cookie-btn.decline {
    background-color: #ccc;
    color: #333;
}

.cookie-btn.decline:hover {
    background-color: #bbb;
}

.page-header {
    background-color: #2d5016;
    color: #fff;
    padding: 60px 0;
    text-align: center;
}

.page-header p {
    font-size: 1.2rem;
    margin-top: 10px;
}

.blog-grid {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.blog-item {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    display: flex;
    flex-wrap: wrap;
}

.blog-image {
    flex: 1;
    min-width: 300px;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-text {
    flex: 2;
    padding: 25px;
    min-width: 300px;
}

.blog-text h2 {
    margin-bottom: 10px;
}

.blog-text h2 a {
    color: #2d5016;
    text-decoration: none;
    transition: color 0.3s;
}

.blog-text h2 a:hover {
    color: #6ba547;
}

.blog-meta {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.read-more {
    color: #6ba547;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s;
}

.read-more:hover {
    color: #2d5016;
}

.story-flex {
    display: flex;
    gap: 40px;
    align-items: center;
    flex-wrap: wrap;
}

.story-text {
    flex: 1;
    min-width: 300px;
}

.story-text h2 {
    text-align: left;
    margin-bottom: 20px;
}

.story-text p {
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.story-image {
    flex: 1;
    min-width: 300px;
}

.story-image img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

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

.team-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    text-align: center;
}

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

.team-card h3 {
    margin: 15px 0 5px;
    color: #2d5016;
}

.team-role {
    color: #6ba547;
    font-weight: bold;
    margin-bottom: 10px;
}

.team-card p {
    padding: 0 15px 15px;
    text-align: left;
}

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

.value-item {
    background: #fff;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.value-item h3 {
    color: #2d5016;
    margin-bottom: 10px;
}

.contact-layout {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
}

.contact-info-box, .contact-form-box {
    flex: 1;
    min-width: 300px;
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.info-item {
    margin-bottom: 20px;
}

.info-item h3 {
    color: #2d5016;
    margin-bottom: 8px;
}

.info-item a {
    color: #6ba547;
    text-decoration: none;
}

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

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    margin-bottom: 5px;
    font-weight: bold;
    color: #2d5016;
}

.form-group input, .form-group textarea {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-family: inherit;
    font-size: 1rem;
}

.form-group input:focus, .form-group textarea:focus {
    outline: none;
    border-color: #6ba547;
}

.submit-btn {
    background-color: #6ba547;
    color: #fff;
    padding: 12px 30px;
    border: none;
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s;
}

.submit-btn:hover {
    background-color: #578a38;
}

.modal {
    display: none;
    position: fixed;
    z-index: 10001;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
}

.modal-content {
    background-color: #fff;
    margin: 15% auto;
    padding: 30px;
    border-radius: 8px;
    width: 90%;
    max-width: 500px;
    position: relative;
}

.close-modal {
    position: absolute;
    right: 15px;
    top: 10px;
    font-size: 2rem;
    cursor: pointer;
    color: #666;
}

.close-modal:hover {
    color: #000;
}

.post-header {
    margin-bottom: 30px;
}

.post-header h1 {
    color: #2d5016;
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.post-meta {
    color: #666;
    font-size: 0.95rem;
}

.featured-image {
    border-radius: 8px;
    margin-bottom: 30px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.post-body {
    font-size: 1.1rem;
    line-height: 1.8;
}

.post-body h2 {
    color: #2d5016;
    margin: 30px 0 15px;
    font-size: 1.8rem;
}

.post-body h3 {
    color: #2d5016;
    margin: 25px 0 12px;
    font-size: 1.4rem;
}

.post-body p {
    margin-bottom: 20px;
}

.post-body strong {
    color: #2d5016;
}

.post-navigation {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #ddd;
}

.back-to-blog {
    color: #6ba547;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s;
}

.back-to-blog:hover {
    color: #2d5016;
}

@media (max-width: 768px) {
    .header-flex {
        flex-direction: column;
        gap: 15px;
    }
    
    .primary-nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .hero-overlay h1 {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .info-flex, .story-flex {
        flex-direction: column;
    }
    
    .blog-item {
        flex-direction: column;
    }
    
    .contact-layout {
        flex-direction: column;
    }
    
    .cookie-buttons {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .site-title {
        font-size: 1.2rem;
    }
    
    .hero-banner {
        height: 350px;
    }
    
    .post-header h1 {
        font-size: 1.8rem;
    }
    
    .features-grid h2, .info-section h2, .recent-posts h2 {
        font-size: 1.8rem;
    }
}