/* Base Styles */
:root {
    --primary-color: #2c8462;
    --primary-dark: #216a4f;
    --primary-light: #4ca98a;
    --secondary-color: #f58a07;
    --secondary-dark: #d67406;
    --secondary-light: #ffa53a;
    --dark-color: #333333;
    --dark-light: #555555;
    --light-color: #f8f9fa;
    --light-dark: #e9ecef;
    --text-color: #333333;
    --text-light: #666666;
    --border-color: #dee2e6;
    --success-color: #28a745;
    --warning-color: #ffc107;
    --error-color: #dc3545;
    --info-color: #17a2b8;
    --font-main: 'Open Sans', sans-serif;
    --font-heading: 'Montserrat', sans-serif;
    --box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

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

body {
    font-family: var(--font-main);
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--light-color);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    margin-bottom: 1rem;
    font-weight: 700;
    line-height: 1.2;
    color: var(--dark-color);
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

img {
    max-width: 100%;
    height: auto;
}

ul, ol {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
}

/* Layout */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Header */
header {
    background-color: #fff;
    box-shadow: var(--box-shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 15px;
}

.logo img {
    height: 50px;
    width: auto;
}

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

nav ul li {
    margin-left: 1.5rem;
}

nav ul li a {
    font-weight: 600;
    color: var(--dark-color);
    padding: 0.5rem 0;
    position: relative;
}

nav ul li a:hover, 
nav ul li a.active {
    color: var(--primary-color);
    text-decoration: none;
}

nav ul li a.active::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--primary-color);
}

/* Welcome Banner */
.welcome-banner {
    background-color: var(--primary-color);
    color: white;
    padding: 1rem 0;
    text-align: center;
}

.welcome-banner p {
    margin: 0;
    font-weight: 500;
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 3rem 0;
    background-color: var(--light-color);
}

.hero h1 {
    margin-bottom: 1.5rem;
    color: var(--dark-color);
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-light);
    max-width: 800px;
    margin: 0 auto;
}

/* Featured Section */
.featured {
    padding: 3rem 0;
    background-color: var(--light-dark);
}

.featured h2 {
    text-align: center;
    margin-bottom: 2rem;
}

.featured-items {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.featured-item {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

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

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

.featured-item h3 {
    padding: 1rem 1rem 0.5rem;
    font-size: 1.25rem;
}

.featured-item p {
    padding: 0 1rem 1rem;
    color: var(--text-light);
}

/* Blog Posts */
.blog-posts {
    padding: 3rem 0;
}

.blog-posts h2 {
    text-align: center;
    margin-bottom: 2rem;
}

.post {
    display: flex;
    margin-bottom: 2rem;
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.post-image {
    flex: 0 0 300px;
}

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

.post-content {
    flex: 1;
    padding: 1.5rem;
}

.post-content h3 {
    margin-bottom: 0.5rem;
}

.post-content h3 a {
    color: var(--dark-color);
}

.post-content h3 a:hover {
    color: var(--primary-color);
}

.post-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    color: var(--text-light);
    font-size: 0.9rem;
}

.read-more {
    display: inline-block;
    margin-top: 1rem;
    font-weight: 600;
}

/* Single Blog Post */
.blog-post-single {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
    margin-bottom: 2rem;
}

.post-header {
    padding: 2rem 2rem 0;
}

.post-featured-image {
    margin-bottom: 2rem;
}

.post-featured-image img {
    width: 100%;
    height: auto;
    max-height: 500px;
    object-fit: cover;
}

.post-content {
    padding: 0 2rem 2rem;
}

.post-content .lead {
    font-size: 1.25rem;
    font-weight: 300;
    margin-bottom: 1.5rem;
}

.post-image-inline {
    margin: 1.5rem 0;
    text-align: center;
}

.post-image-inline img {
    max-width: 100%;
    border-radius: 8px;
    box-shadow: var(--box-shadow);
}

.post-image-inline .caption {
    margin-top: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-light);
    font-style: italic;
}

.post-tags {
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
}

.post-tags span {
    font-weight: 600;
    margin-right: 0.5rem;
}

.post-tags a {
    display: inline-block;
    background-color: var(--light-dark);
    color: var(--text-color);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.post-tags a:hover {
    background-color: var(--primary-light);
    color: white;
    text-decoration: none;
}

.post-navigation {
    display: flex;
    justify-content: space-between;
    padding: 1rem 2rem 2rem;
    border-top: 1px solid var(--border-color);
}

/* Related Posts */
.related-posts {
    margin-bottom: 3rem;
}

.related-posts h3 {
    margin-bottom: 1.5rem;
    text-align: center;
}

.related-posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.related-post {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

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

.related-post h4 {
    padding: 1rem;
    font-size: 1rem;
}

.related-post h4 a {
    color: var(--dark-color);
}

.related-post h4 a:hover {
    color: var(--primary-color);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    text-align: center;
    transition: var(--transition);
}

.btn:hover {
    background-color: var(--primary-dark);
    color: white;
    text-decoration: none;
}

.btn-primary {
    background-color: var(--primary-color);
}

.btn-secondary {
    background-color: var(--secondary-color);
}

.btn-secondary:hover {
    background-color: var(--secondary-dark);
}

/* Footer */
footer {
    background-color: var(--dark-color);
    color: white;
    padding: 3rem 0 1rem;
}

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

.footer-logo {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-logo img {
    height: 50px;
    width: auto;
    margin-bottom: 1rem;
}

.footer-links h3, 
.footer-contact h3, 
.footer-social h3 {
    color: white;
    margin-bottom: 1rem;
}

.footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links ul li {
    margin-bottom: 0.5rem;
}

.footer-links ul li a {
    color: rgba(255, 255, 255, 0.7);
}

.footer-links ul li a:hover {
    color: white;
}

.footer-contact p {
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
}

.footer-contact p i {
    margin-right: 0.5rem;
}

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    transition: var(--transition);
}

.social-icons a:hover {
    background-color: var(--primary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Cookie Notice */
.cookie-notice {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--dark-color);
    color: white;
    padding: 1rem 0;
    z-index: 9999;
    display: none;
}

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

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    text-align: center;
}

.cookie-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin: 1rem 0;
}

.cookie-buttons button {
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
}

#accept-cookies {
    background-color: var(--primary-color);
    color: white;
}

#customize-cookies {
    background-color: transparent;
    color: white;
    border: 1px solid white;
}

#reject-cookies {
    background-color: var(--error-color);
    color: white;
}

.cookie-content a {
    color: var(--secondary-light);
}

/* About Page */
.about-hero {
    text-align: center;
    padding: 3rem 0 2rem;
}

.about-intro {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin: 2rem 0;
}

.about-image {
    flex: 0 0 40%;
}

.about-image img {
    border-radius: 8px;
    box-shadow: var(--box-shadow);
}

.about-text {
    flex: 1;
}

.about-values {
    padding: 3rem 0;
    background-color: var(--light-dark);
}

.about-values h2 {
    text-align: center;
    margin-bottom: 2rem;
}

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

.value-item {
    background-color: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: var(--box-shadow);
    text-align: center;
    transition: var(--transition);
}

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

.value-icon {
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.team-section {
    padding: 3rem 0;
}

.team-section h2, 
.team-intro {
    text-align: center;
    margin-bottom: 1rem;
}

.team-intro {
    max-width: 800px;
    margin: 0 auto 2rem;
}

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

.team-member {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
    text-align: center;
    transition: var(--transition);
}

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

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

.team-member h3 {
    margin: 1rem 0 0.5rem;
}

.team-member p {
    padding: 0 1rem;
    margin-bottom: 0.5rem;
}

.team-member p:nth-child(3) {
    font-weight: 600;
    color: var(--primary-color);
}

.team-member p:last-child {
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

.services-section {
    padding: 3rem 0;
    background-color: var(--light-dark);
}

.services-section h2 {
    text-align: center;
    margin-bottom: 2rem;
}

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

.service-item {
    background-color: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: var(--box-shadow);
    text-align: center;
    transition: var(--transition);
}

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

.service-icon {
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.partners-section {
    padding: 3rem 0;
}

.partners-section h2 {
    text-align: center;
    margin-bottom: 2rem;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    align-items: center;
}

.partner img {
    max-width: 150px;
    max-height: 80px;
    margin: 0 auto;
    display: block;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: var(--transition);
}

.partner:hover img {
    filter: grayscale(0);
    opacity: 1;
}

.cta-section {
    padding: 3rem 0;
    text-align: center;
    background-color: var(--primary-light);
    color: white;
    border-radius: 8px;
    margin-bottom: 3rem;
}

.cta-section h2 {
    color: white;
}

.cta-section p {
    max-width: 600px;
    margin: 0 auto 1.5rem;
}

.cta-section .btn {
    background-color: white;
    color: var(--primary-color);
}

.cta-section .btn:hover {
    background-color: var(--light-dark);
}

/* Contact Page */
.contact-hero {
    text-align: center;
    padding: 3rem 0 2rem;
}

.contact-intro {
    max-width: 800px;
    margin: 0 auto 2rem;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-info {
    background-color: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: var(--box-shadow);
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.contact-icon {
    margin-right: 1rem;
    color: var(--primary-color);
}

.contact-text h3 {
    margin-bottom: 0.5rem;
}

.contact-map {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
    height: 300px;
}

.contact-map img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.contact-form-container {
    background-color: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: var(--box-shadow);
}

.contact-form-container h2 {
    margin-bottom: 1.5rem;
}

.contact-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group {
    margin-bottom: 1rem;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-family: var(--font-main);
}

.form-checkbox {
    display: flex;
    align-items: flex-start;
}

.form-checkbox input {
    margin-right: 0.5rem;
    margin-top: 0.25rem;
    width: auto;
}

.form-submit {
    grid-column: 1 / -1;
    text-align: center;
    margin-top: 1rem;
}

.modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    align-items: center;
    justify-content: center;
}

.modal.show {
    display: flex;
}

.modal-content {
    background-color: white;
    max-width: 500px;
    width: 90%;
    border-radius: 8px;
    box-shadow: var(--box-shadow);
    position: relative;
}

.close-modal {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 1.5rem;
    cursor: pointer;
}

.modal-body {
    padding: 2rem;
    text-align: center;
}

.modal-icon {
    color: var(--success-color);
    margin-bottom: 1rem;
}

.faq-section {
    padding: 3rem 0;
    background-color: var(--light-dark);
    margin-bottom: 3rem;
}

.faq-section h2 {
    text-align: center;
    margin-bottom: 2rem;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background-color: white;
    margin-bottom: 1rem;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    cursor: pointer;
}

.faq-question h3 {
    margin: 0;
    font-size: 1.2rem;
}

.faq-toggle {
    font-size: 1.5rem;
    font-weight: bold;
}

.faq-answer {
    padding: 0 1.5rem 1.5rem;
    display: none;
}

.faq-item.active .faq-answer {
    display: block;
}

.faq-item.active .faq-toggle {
    content: '-';
}

/* Responsive Styles */
@media (max-width: 992px) {
    .post {
        flex-direction: column;
    }
    
    .post-image {
        flex: none;
        height: 200px;
    }
    
    .about-intro {
        flex-direction: column;
    }
    
    .about-image {
        flex: none;
        width: 100%;
        max-width: 500px;
        margin: 0 auto;
    }
    
    .contact-container {
        grid-template-columns: 1fr;
    }
    
    .contact-map {
        order: -1;
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.75rem;
    }
    
    .hero {
        padding: 2rem 0;
    }
    
    .featured {
        padding: 2rem 0;
    }
    
    .blog-posts {
        padding: 2rem 0;
    }
    
    .post-header {
        padding: 1.5rem 1.5rem 0;
    }
    
    .post-content {
        padding: 0 1.5rem 1.5rem;
    }
    
    .post-navigation {
        padding: 1rem 1.5rem 1.5rem;
    }
    
    .contact-form {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    header .container {
        flex-direction: column;
        gap: 1rem;
    }
    
    nav ul {
        justify-content: center;
    }
    
    nav ul li {
        margin: 0 0.75rem;
    }
    
    .cookie-buttons {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
}
