/* Base Styles and Variables */
:root {
    --primary-color: #1e7b5a;
    --primary-dark: #156647;
    --primary-light: #2a9c73;
    --secondary-color: #34495e;
    --secondary-dark: #2c3e50;
    --secondary-light: #3c5a7a;
    --accent-color: #f0c419;
    --light-gray: #f5f7fa;
    --medium-gray: #e1e8ed;
    --dark-gray: #333333;
    --text-color: #2d3748;
    --text-light: #718096;
    --white: #ffffff;
    --box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    --transition: all 0.3s ease;
    --border-radius: 6px;
    --container-width: 1200px;
    --header-height: 80px;
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    font-size: 16px;
    background-color: var(--white);
}

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

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

ul {
    list-style: none;
}

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

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

.btn {
    display: inline-block;
    padding: 12px 24px;
    background-color: var(--primary-color);
    color: white;
    border-radius: var(--border-radius);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    text-align: center;
}

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

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

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

.btn-tertiary {
    background-color: transparent;
    color: var(--text-color);
    border: 1px solid var(--medium-gray);
}

.btn-tertiary:hover {
    background-color: var(--light-gray);
    color: var(--text-color);
}

/* Header Styles */
header {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 100;
    height: var(--header-height);
    display: flex;
    align-items: center;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    display: flex;
    align-items: center;
}

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

nav ul {
    display: flex;
}

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

nav ul li a {
    color: var(--text-color);
    font-weight: 500;
    padding: 8px 0;
    position: relative;
}

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

nav ul li a:hover:after,
nav ul li a.active:after {
    width: 100%;
}

nav ul li a.active {
    color: var(--primary-color);
    font-weight: 600;
}

/* Hero Section */
.hero {
    background: linear-gradient(to right, rgba(30, 123, 90, 0.9), rgba(42, 156, 115, 0.8)), url('images/1.jpg');
    background-size: cover;
    background-position: center;
    color: var(--white);
    padding: 100px 0;
    text-align: center;
}

.hero h1 {
    font-size: 3em;
    margin-bottom: 20px;
    font-weight: 700;
}

.hero p {
    font-size: 1.2em;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero .btn {
    padding: 14px 32px;
    font-size: 1.1em;
    background-color: var(--white);
    color: var(--primary-color);
}

.hero .btn:hover {
    background-color: var(--light-gray);
}

/* Stats Section */
.stats-section {
    padding: 80px 0;
    background-color: var(--light-gray);
}

.stats-section h2 {
    text-align: center;
    margin-bottom: 50px;
    color: var(--secondary-dark);
    font-size: 2.2em;
}

.stats-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 30px;
}

.stat-item {
    flex: 1 1 200px;
    text-align: center;
    padding: 30px 20px;
    background-color: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.stat-number {
    display: block;
    font-size: 3em;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.stat-item p {
    color: var(--text-light);
    font-size: 1.1em;
}

/* Featured Posts Section */
.featured-posts {
    padding: 80px 0;
}

.featured-posts h2 {
    text-align: center;
    margin-bottom: 50px;
    color: var(--secondary-dark);
    font-size: 2.2em;
}

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

.post-card {
    background-color: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.post-img {
    height: 200px;
    overflow: hidden;
}

.post-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.post-card:hover .post-img img {
    transform: scale(1.05);
}

.post-content {
    padding: 25px;
}

.post-content h3 {
    margin-bottom: 15px;
    font-size: 1.4em;
    color: var(--secondary-dark);
}

.post-content p {
    color: var(--text-light);
    margin-bottom: 15px;
}

.read-more {
    display: inline-block;
    color: var(--primary-color);
    font-weight: 600;
    position: relative;
}

.read-more:after {
    content: '→';
    margin-left: 5px;
    transition: var(--transition);
}

.read-more:hover:after {
    margin-left: 10px;
}

.view-all {
    text-align: center;
}

/* Admin Dashboard Section */
.admin-dashboard {
    padding: 80px 0;
    background-color: var(--light-gray);
}

.admin-dashboard h2 {
    text-align: center;
    margin-bottom: 30px;
    color: var(--secondary-dark);
    font-size: 2.2em;
}

.admin-iframe {
    width: 100%;
    height: 400px;
    border: none;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    background-color: var(--medium-gray);
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="800" height="400" viewBox="0 0 800 400"><rect width="800" height="400" fill="%23ffffff"/><text x="400" y="200" font-family="Arial" font-size="20" text-anchor="middle" fill="%23666666">Admin Dashboard Analytics</text><rect x="50" y="250" width="700" height="100" fill="%23f0f0f0" rx="5" ry="5"/><rect x="70" y="270" width="150" height="60" fill="%231e7b5a" rx="3" ry="3"/><rect x="240" y="270" width="180" height="60" fill="%2334495e" rx="3" ry="3"/><rect x="440" y="270" width="120" height="60" fill="%23f0c419" rx="3" ry="3"/><rect x="580" y="270" width="150" height="60" fill="%23e74c3c" rx="3" ry="3"/><rect x="50" y="50" width="340" height="180" fill="%23f0f0f0" rx="5" ry="5"/><path d="M70,180 L120,130 L170,150 L220,90 L270,110 L320,70" stroke="%231e7b5a" stroke-width="3" fill="none"/><rect x="410" y="50" width="340" height="180" fill="%23f0f0f0" rx="5" ry="5"/><circle cx="460" cy="100" r="30" fill="%231e7b5a" opacity="0.7"/><circle cx="560" cy="100" r="40" fill="%2334495e" opacity="0.7"/><circle cx="680" cy="100" r="25" fill="%23f0c419" opacity="0.7"/></svg>');
    background-size: cover;
    background-position: center;
}

/* Newsletter Section */
.newsletter {
    padding: 80px 0;
    background: linear-gradient(to right, rgba(52, 73, 94, 0.9), rgba(44, 62, 80, 0.9)), url('images/2.jpg');
    background-size: cover;
    background-position: center;
    color: var(--white);
    text-align: center;
}

.newsletter h2 {
    font-size: 2.2em;
    margin-bottom: 20px;
}

.newsletter p {
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

#newsletter-form {
    display: flex;
    max-width: 500px;
    margin: 0 auto;
}

#newsletter-form input {
    flex: 1;
    padding: 14px 20px;
    border: none;
    border-radius: var(--border-radius) 0 0 var(--border-radius);
    font-size: 1em;
}

#newsletter-form button {
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
    padding: 0 25px;
    background-color: var(--accent-color);
    color: var(--secondary-dark);
    font-weight: 600;
}

#newsletter-form button:hover {
    background-color: #e0b60f;
}

/* Footer */
footer {
    background-color: var(--secondary-dark);
    color: var(--white);
    padding: 70px 0 20px;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 50px;
    gap: 30px;
}

.footer-logo {
    flex: 1 1 300px;
}

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

.footer-logo p {
    color: var(--medium-gray);
    line-height: 1.8;
}

.footer-links {
    flex: 1 1 200px;
}

.footer-links h3, .footer-contact h3 {
    font-size: 1.3em;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-links h3:after, .footer-contact h3:after {
    content: '';
    position: absolute;
    width: 50px;
    height: 2px;
    background-color: var(--primary-light);
    bottom: 0;
    left: 0;
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a {
    color: var(--medium-gray);
    transition: var(--transition);
}

.footer-links ul li a:hover {
    color: var(--white);
    padding-left: 5px;
}

.footer-contact {
    flex: 1 1 300px;
}

.footer-contact p {
    color: var(--medium-gray);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.footer-contact i {
    margin-right: 10px;
    color: var(--primary-light);
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.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%;
    transition: var(--transition);
}

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

.social-icons svg {
    color: var(--white);
}

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

.footer-bottom p {
    color: var(--medium-gray);
    font-size: 0.9em;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    background-color: var(--white);
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    border-radius: var(--border-radius);
    padding: 20px;
    z-index: 1000;
    display: none;
    max-width: 1200px;
    margin: 0 auto;
}

.cookie-content {
    text-align: center;
}

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

.cookie-buttons {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 15px;
}

.cookie-buttons button {
    padding: 10px 20px;
    font-size: 0.9em;
}

.cookie-content a {
    font-size: 0.9em;
    text-decoration: underline;
}

/* Page Header */
.page-header {
    background: linear-gradient(to right, rgba(30, 123, 90, 0.9), rgba(42, 156, 115, 0.8)), url('images/3.jpg');
    background-size: cover;
    background-position: center;
    color: var(--white);
    padding: 60px 0;
    text-align: center;
}

.page-header h1 {
    font-size: 2.8em;
    margin-bottom: 15px;
}

.page-header p {
    font-size: 1.2em;
    max-width: 700px;
    margin: 0 auto;
}

/* Blog Page Styles */
.blog-filter {
    margin-bottom: 40px;
    background-color: var(--white);
    padding: 25px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.blog-filter h3 {
    margin-bottom: 15px;
    color: var(--secondary-dark);
    font-size: 1.3em;
}

.filter-options {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.filter-btn {
    padding: 8px 15px;
    background-color: var(--light-gray);
    border: none;
    border-radius: 30px;
    cursor: pointer;
    transition: var(--transition);
    font-size: 0.9em;
}

.filter-btn:hover, .filter-btn.active {
    background-color: var(--primary-color);
    color: var(--white);
}

.blog-posts {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-bottom: 40px;
}

.blog-post {
    display: flex;
    flex-wrap: wrap;
    background-color: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.blog-post .post-img {
    flex: 0 0 300px;
    height: auto;
}

.blog-post .post-content {
    flex: 1;
    padding: 30px;
}

.post-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 15px;
    color: var(--text-light);
    font-size: 0.9em;
}

.post-category {
    background-color: var(--primary-light);
    color: var(--white);
    padding: 3px 10px;
    border-radius: 30px;
}

.blog-post h2 {
    margin-bottom: 15px;
    font-size: 1.6em;
}

.read-more-btn {
    display: inline-block;
    padding: 10px 20px;
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: var(--border-radius);
    margin-top: 15px;
    font-weight: 500;
    transition: var(--transition);
}

.read-more-btn:hover {
    background-color: var(--primary-dark);
    color: var(--white);
}

.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin: 40px 0;
}

.page-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: var(--white);
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: var(--transition);
}

.page-number.current {
    background-color: var(--primary-color);
    color: var(--white);
}

.page-number.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.page-number:not(.disabled):not(.current):hover {
    background-color: var(--light-gray);
}

/* About Page Styles */
.about-intro {
    padding: 80px 0;
}

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

.about-text {
    flex: 1 1 500px;
}

.about-text h2 {
    color: var(--secondary-dark);
    font-size: 1.8em;
    margin-bottom: 20px;
}

.about-text p {
    margin-bottom: 20px;
    line-height: 1.8;
}

.about-image {
    flex: 1 1 400px;
}

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

.about-values {
    padding: 80px 0;
    background-color: var(--light-gray);
}

.about-values h2 {
    text-align: center;
    margin-bottom: 50px;
    color: var(--secondary-dark);
    font-size: 2.2em;
}

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

.value-card {
    background-color: var(--white);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    text-align: center;
}

.value-icon {
    width: 70px;
    height: 70px;
    background-color: rgba(30, 123, 90, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.value-icon svg {
    color: var(--primary-color);
}

.value-card h3 {
    margin-bottom: 15px;
    color: var(--secondary-dark);
}

.team-section {
    padding: 80px 0;
}

.team-section h2 {
    text-align: center;
    margin-bottom: 20px;
    color: var(--secondary-dark);
    font-size: 2.2em;
}

.team-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px;
    color: var(--text-light);
    font-size: 1.1em;
}

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

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

.team-member:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.team-member img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
}

.team-member h3 {
    margin: 20px 20px 5px;
    color: var(--secondary-dark);
}

.team-member p {
    margin: 0 20px 15px;
    color: var(--text-light);
}

.team-member p:first-of-type {
    color: var(--primary-color);
    font-weight: 500;
}

.social-links {
    display: flex;
    gap: 10px;
    margin: 0 20px 20px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    background-color: var(--light-gray);
    border-radius: 50%;
    transition: var(--transition);
}

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

.social-links svg {
    color: var(--secondary-dark);
    transition: var(--transition);
}

.social-links a:hover svg {
    color: var(--white);
}

.partners-section {
    padding: 80px 0;
    background-color: var(--light-gray);
}

.partners-section h2 {
    text-align: center;
    margin-bottom: 20px;
    color: var(--secondary-dark);
    font-size: 2.2em;
}

.partners-section p {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px;
    color: var(--text-light);
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 30px;
}

.partner {
    background-color: var(--white);
    padding: 30px;
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--box-shadow);
}

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

.partner:hover img {
    filter: none;
    opacity: 1;
}

.testimonials {
    padding: 80px 0;
}

.testimonials h2 {
    text-align: center;
    margin-bottom: 50px;
    color: var(--secondary-dark);
    font-size: 2.2em;
}

.testimonial-slider {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    gap: 30px;
    overflow-x: auto;
    padding: 20px 0;
    scrollbar-width: none;
}

.testimonial-slider::-webkit-scrollbar {
    display: none;
}

.testimonial {
    flex: 0 0 100%;
    background-color: var(--white);
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: var(--box-shadow);
}

.testimonial-content {
    position: relative;
    padding: 20px 0;
}

.testimonial-content:before {
    content: '"';
    position: absolute;
    top: -20px;
    left: -10px;
    font-size: 5em;
    color: var(--primary-light);
    opacity: 0.3;
    font-family: Georgia, serif;
}

.testimonial-author {
    display: flex;
    align-items: center;
    margin-top: 20px;
}

.testimonial-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 15px;
}

.author-info h4 {
    color: var(--secondary-dark);
    margin-bottom: 5px;
}

.author-info p {
    color: var(--text-light);
    font-size: 0.9em;
}

/* Contact Page Styles */
.contact-section {
    padding: 80px 0;
}

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

.contact-info {
    flex: 1 1 400px;
}

.contact-info h2 {
    color: var(--secondary-dark);
    font-size: 1.8em;
    margin-bottom: 20px;
}

.contact-info > p {
    margin-bottom: 30px;
    line-height: 1.8;
}

.info-item {
    display: flex;
    margin-bottom: 25px;
}

.info-icon {
    flex: 0 0 50px;
    height: 50px;
    background-color: rgba(30, 123, 90, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
}

.info-icon svg {
    color: var(--primary-color);
}

.info-content h3 {
    color: var(--secondary-dark);
    margin-bottom: 5px;
}

.info-content p, .info-content a {
    color: var(--text-light);
}

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

.social-connect h3 {
    margin-bottom: 15px;
    color: var(--secondary-dark);
}

.contact-form-container {
    flex: 1 1 500px;
    background-color: var(--white);
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.contact-form-container h2 {
    color: var(--secondary-dark);
    font-size: 1.8em;
    margin-bottom: 30px;
}

.contact-form .form-group {
    margin-bottom: 20px;
}

.contact-form label {
    display: block;
    margin-bottom: 8px;
    color: var(--secondary-dark);
    font-weight: 500;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--medium-gray);
    border-radius: var(--border-radius);
    font-size: 1em;
    transition: var(--transition);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 3px rgba(30, 123, 90, 0.1);
}

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

.form-checkbox input {
    width: auto;
    margin-right: 10px;
    margin-top: 5px;
}

.form-checkbox label {
    flex: 1;
    font-weight: normal;
    font-size: 0.9em;
    color: var(--text-light);
}

.contact-form button {
    width: 100%;
    padding: 14px;
    font-size: 1.1em;
}

.map-section {
    padding: 80px 0;
    background-color: var(--light-gray);
}

.map-section h2 {
    text-align: center;
    margin-bottom: 30px;
    color: var(--secondary-dark);
    font-size: this ain't 2.2em;
}

.map-container {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.map-container img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.faq-section {
    padding: 80px 0;
}

.faq-section h2 {
    text-align: center;
    margin-bottom: 50px;
    color: var(--secondary-dark);
    font-size: 2.2em;
}

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

.faq-item {
    margin-bottom: 15px;
    border: 1px solid var(--medium-gray);
    border-radius: var(--border-radius);
    overflow: hidden;
}

.faq-question {
    padding: 20px;
    background-color: var(--white);
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.faq-question h3 {
    margin: 0;
    font-size: 1.1em;
    color: var(--secondary-dark);
}

.faq-toggle {
    font-size: 1.5em;
    color: var(--primary-color);
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: var(--transition);
    background-color: var(--light-gray);
}

.faq-item.active .faq-answer {
    padding: 20px;
    max-height: 500px;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

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

.modal-content {
    background-color: var(--white);
    padding: 40px;
    border-radius: var(--border-radius);
    max-width: 500px;
    width: 90%;
    position: relative;
    text-align: center;
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 1.5em;
    cursor: pointer;
    color: var(--text-light);
}

.thank-you-icon {
    color: var(--primary-color);
    margin-bottom: 20px;
}

.thank-you-content h2 {
    color: var(--secondary-dark);
    margin-bottom: 15px;
}

.thank-you-content p {
    margin-bottom: 25px;
    color: var(--text-light);
}

.close-btn {
    padding: 10px 30px;
}

/* Blog Post Page Styles */
.blog-post-header {
    background: linear-gradient(to right, rgba(30, 123, 90, 0.9), rgba(42, 156, 115, 0.8)), url('images/3.jpg');
    background-size: cover;
    background-position: center;
    color: var(--white);
    padding: 60px 0;
}

.blog-post-header .container {
    max-width: 800px;
}

.blog-post-header h1 {
    font-size: 2.5em;
    margin-bottom: 20px;
}

.blog-post-header .post-meta {
    justify-content: center;
    margin-bottom: 0;
    color: rgba(255, 255, 255, 0.9);
}

.blog-post-content {
    padding: 60px 0;
}

.blog-post-content .container {
    max-width: 800px;
}

.post-featured-image {
    margin-bottom: 40px;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.post-featured-image img {
    width: 100%;
}

.post-content h2 {
    font-size: 1.8em;
    color: var(--secondary-dark);
    margin: 40px 0 20px;
}

.post-content h3 {
    font-size: 1.4em;
    color: var(--secondary-dark);
    margin: 30px 0 15px;
}

.post-content p {
    margin-bottom: 20px;
    line-height: 1.8;
}

.post-content ul, .post-content ol {
    margin-bottom: 20px;
    padding-left: 20px;
}

.post-content li {
    margin-bottom: 10px;
    line-height: 1.8;
}

.post-content a {
    color: var(--primary-color);
    text-decoration: underline;
}

.post-tags {
    margin: 40px 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

.tag-label {
    font-weight: 600;
    color: var(--secondary-dark);
}

.tag {
    display: inline-block;
    padding: 5px 12px;
    background-color: var(--light-gray);
    border-radius: 30px;
    font-size: 0.9em;
    color: var(--text-color);
    transition: var(--transition);
}

.tag:hover {
    background-color: var(--primary-light);
    color: var(--white);
}

.author-bio {
    display: flex;
    align-items: center;
    background-color: var(--light-gray);
    padding: 30px;
    border-radius: var(--border-radius);
    margin-bottom: 40px;
}

.author-img {
    flex: 0 0 100px;
    margin-right: 20px;
}

.author-img img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
}

.author-info h3 {
    font-size: 1em;
    color: var(--text-light);
    margin-bottom: 5px;
}

.author-info h4 {
    font-size: 1.2em;
    color: var(--secondary-dark);
    margin-bottom: 10px;
}

.post-navigation {
    display: flex;
    justify-content: space-between;
    margin-bottom: 60px;
    border-top: 1px solid var(--medium-gray);
    border-bottom: 1px solid var(--medium-gray);
    padding: 20px 0;
}

.prev-post, .next-post {
    flex: 1;
    max-width: 45%;
}

.prev-post {
    text-align: left;
}

.next-post {
    text-align: right;
}

.prev-post a, .next-post a {
    display: block;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.prev-post span, .next-post span {
    display: block;
    color: var(--text-light);
    font-size: 0.9em;
}

.prev-post.disabled, .next-post.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.related-posts {
    padding: 60px 0;
    background-color: var(--light-gray);
}

.related-posts h2 {
    text-align: center;
    margin-bottom: 40px;
    color: var(--secondary-dark);
    font-size: 2em;
}

.related-posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

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

.related-post:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

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

.related-post h3 {
    margin: 20px 20px 10px;
    font-size: 1.2em;
    color: var(--secondary-dark);
}

.related-post p {
    margin: 0 20px 20px;
    color: var(--text-light);
    font-size: 0.9em;
}

.cta-section {
    padding: 80px 0;
    background: linear-gradient(to right, rgba(30, 123, 90, 0.9), rgba(42, 156, 115, 0.8)), url('images/5.jpg');
    background-size: cover;
    background-position: center;
    color: var(--white);
    text-align: center;
}

.cta-section h2 {
    font-size: 2.2em;
    margin-bottom: 20px;
}

.cta-section p {
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.newsletter-form {
    display: flex;
    max-width: 500px;
    margin: 0 auto;
}

.newsletter-form input {
    flex: 1;
    padding: 14px 20px;
    border: none;
    border-radius: var(--border-radius) 0 0 var(--border-radius);
    font-size: 1em;
}

.newsletter-form button {
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
    padding: 0 25px;
    background-color: var(--accent-color);
    color: var(--secondary-dark);
    font-weight: 600;
}

.newsletter-form button:hover {
    background-color: #e0b60f;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .blog-post {
        flex-direction: column;
    }
    
    .blog-post .post-img {
        flex: 0 0 auto;
        height: 250px;
    }
    
    .author-bio {
        flex-direction: column;
        text-align: center;
    }
    
    .author-img {
        margin-right: 0;
        margin-bottom: 20px;
    }
}

@media (max-width: 768px) {
    :root {
        --header-height: 70px;
    }
    
    .hero h1 {
        font-size: 2.5em;
    }
    
    .stats-container, .footer-content {
        gap: 20px;
    }
    
    .footer-links, .footer-contact {
        flex: 1 1 100%;
    }
    
    #newsletter-form {
        flex-direction: column;
    }
    
    #newsletter-form input {
        border-radius: var(--border-radius);
        margin-bottom: 10px;
    }
    
    #newsletter-form button {
        border-radius: var(--border-radius);
    }
    
    .contact-form-container {
        padding: 30px 20px;
    }
    
    .post-navigation {
        flex-direction: column;
        gap: 20px;
    }
    
    .prev-post, .next-post {
        max-width: 100%;
    }
}

@media (max-width: 576px) {
    .hero h1 {
        font-size: 2em;
    }
    
    .post-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
    
    .filter-options {
        overflow-x: auto;
        padding-bottom: 10px;
        flex-wrap: nowrap;
    }
    
    .filter-btn {
        flex: 0 0 auto;
    }
    
    .blog-post-header h1 {
        font-size: 2em;
    }
    
    .cookie-buttons {
        flex-direction: column;
    }
}
