/* Base Styles */
:root {
    --primary-color: #2c5282;
    --primary-dark: #1a365d;
    --primary-light: #4299e1;
    --secondary-color: #e53e3e;
    --text-color: #2d3748;
    --text-light: #718096;
    --background-color: #f7fafc;
    --card-bg: #ffffff;
    --border-color: #e2e8f0;
    --success-color: #38a169;
    --warning-color: #ed8936;
    --info-color: #3182ce;
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Open Sans', 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-body);
    color: var(--text-color);
    background-color: var(--background-color);
    line-height: 1.6;
}

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

p {
    margin-bottom: 1.5rem;
}

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

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

ul {
    list-style: none;
}

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

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

/* Header Styles */
header {
    background-color: var(--card-bg);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo img {
    width: 45px;
    height: 45px;
    margin-right: 10px;
    border-radius: 50%;
}

.logo span {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
}

.menu {
    display: flex;
}

.menu li {
    margin-left: 30px;
}

.menu a {
    color: var(--text-color);
    font-weight: 600;
    font-size: 1.1rem;
    padding: 8px 0;
    position: relative;
}

.menu a:hover, .menu a.active {
    color: var(--primary-color);
}

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

.menu a:hover::after, .menu a.active::after {
    width: 100%;
}

.mobile-menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    background-color: var(--primary-color);
    background-image: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 80px 0;
    text-align: center;
}

.hero h1 {
    font-size: 2.8rem;
    margin-bottom: 20px;
    color: white;
}

.hero p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto;
}

/* Blog Posts Section */
.blog-posts {
    flex: 2;
    padding: 40px 0;
}

.sidebar {
    flex: 1;
    padding: 40px 0 40px 40px;
}

.post-card {
    display: flex;
    margin-bottom: 40px;
    background-color: var(--card-bg);
    border-radius: 8px;
    box-shadow: var(--box-shadow);
    overflow: hidden;
    transition: var(--transition);
}

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

.post-image {
    flex: 1;
    min-width: 300px;
    max-width: 300px;
    overflow: hidden;
}

.post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.post-content {
    flex: 2;
    padding: 25px;
}

.post-content h3 {
    font-size: 1.4rem;
    margin-bottom: 10px;
}

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

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

.post-meta {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    color: var(--text-light);
    font-size: 0.9rem;
}

.post-date, .post-author {
    margin-right: 20px;
}

.post-excerpt {
    margin-bottom: 20px;
    color: var(--text-color);
}

.read-more {
    display: inline-flex;
    align-items: center;
    font-weight: 600;
    color: var(--primary-color);
}

.read-more i {
    margin-left: 5px;
    transition: var(--transition);
}

.read-more:hover i {
    transform: translateX(3px);
}

/* Sidebar Widgets */
.widget {
    background-color: var(--card-bg);
    border-radius: 8px;
    box-shadow: var(--box-shadow);
    padding: 25px;
    margin-bottom: 30px;
}

.widget h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border-color);
}

/* Search Widget */
.search-widget form {
    display: flex;
}

.search-widget input {
    flex: 1;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: 4px 0 0 4px;
    font-size: 0.95rem;
}

.search-widget button {
    padding: 0 20px;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
    transition: var(--transition);
}

.search-widget button:hover {
    background-color: var(--primary-dark);
}

/* Categories Widget */
.categories-widget ul li {
    padding: 10px 0;
    border-bottom: 1px solid var(--border-color);
}

.categories-widget ul li:last-child {
    border-bottom: none;
}

.categories-widget a {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.categories-widget a span {
    background-color: var(--primary-light);
    color: white;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.8rem;
}

/* Popular Posts Widget */
.popular-post {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border-color);
}

.popular-post:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.popular-post img {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: 4px;
    margin-right: 15px;
}

.popular-post h4 {
    font-size: 1rem;
    margin-bottom: 5px;
}

.popular-post .post-date {
    font-size: 0.8rem;
    color: var(--text-light);
}

/* Subscribe Widget */
.subscribe-widget p {
    margin-bottom: 15px;
}

.subscribe-widget input {
    width: 100%;
    padding: 12px 15px;
    margin-bottom: 15px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-size: 0.95rem;
}

.subscribe-widget button {
    width: 100%;
    padding: 12px 15px;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.subscribe-widget button:hover {
    background-color: var(--primary-dark);
}

/* Interesting Facts Section */
.interesting-facts {
    background-color: var(--primary-color);
    background-image: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 60px 0;
}

.interesting-facts h2 {
    text-align: center;
    color: white;
    margin-bottom: 40px;
}

.facts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.fact-card {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 25px;
    text-align: center;
    transition: var(--transition);
}

.fact-card:hover {
    transform: translateY(-5px);
    background-color: rgba(255, 255, 255, 0.15);
}

.fact-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    font-size: 1.8rem;
}

.fact-card h3 {
    font-size: 1.8rem;
    color: white;
    margin-bottom: 15px;
}

.fact-card p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0;
}

/* Footer */
footer {
    background-color: #1a202c;
    color: #e2e8f0;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 2fr;
    gap: 40px;
    margin-bottom: 30px;
}

.footer-logo {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.footer-logo img {
    width: 40px;
    height: 40px;
    margin-right: 10px;
    border-radius: 50%;
}

.footer-logo span {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 700;
    color: white;
}

.footer-info p {
    color: #cbd5e0;
    margin-bottom: 20px;
}

.social-links {
    display: flex;
}

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

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

.footer-links h3, .footer-contact h3 {
    color: white;
    font-size: 1.2rem;
    margin-bottom: 20px;
}

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

.footer-links a {
    color: #cbd5e0;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary-light);
    padding-left: 5px;
}

.footer-contact p {
    display: flex;
    align-items: flex-start;
    margin-bottom: 12px;
    color: #cbd5e0;
}

.footer-contact p i {
    margin-right: 10px;
    margin-top: 4px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
}

.footer-bottom p {
    margin-bottom: 0;
}

.footer-legal a {
    color: #cbd5e0;
    margin-left: 15px;
    font-size: 0.9rem;
}

.local-time {
    text-align: center;
    margin-top: 20px;
    font-size: 0.9rem;
    color: #a0aec0;
}

/* Cookie Notice */
.cookie-notice {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(26, 32, 44, 0.95);
    color: white;
    padding: 15px 0;
    z-index: 9999;
    transform: translateY(100%);
    transition: transform 0.4s ease;
}

.cookie-notice.show {
    transform: translateY(0);
}

.cookie-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.cookie-content p {
    margin-bottom: 0;
    flex: 2;
}

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

.cookie-buttons {
    display: flex;
    gap: 10px;
    flex: 1;
    justify-content: flex-end;
}

.cookie-buttons button {
    padding: 8px 15px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
}

#cookie-accept-all {
    background-color: var(--primary-light);
    color: white;
}

#cookie-settings, #cookie-reject {
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
}

.cookie-buttons button:hover {
    opacity: 0.9;
}

/* Page Header */
.page-header {
    background-color: #f8f9fa;
    padding: 60px 0;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
}

.page-header h1 {
    margin-bottom: 10px;
    font-size: 2.5rem;
}

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

/* About Page Styles */
.about-section {
    padding: 60px 0;
}

.about-intro {
    margin-bottom: 60px;
}

.about-image {
    margin: 40px 0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.feature-card {
    background-color: var(--card-bg);
    border-radius: 8px;
    box-shadow: var(--box-shadow);
    padding: 30px;
    text-align: center;
    transition: var(--transition);
}

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

.feature-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    background-color: #ebf4ff;
    color: var(--primary-color);
    border-radius: 50%;
    font-size: 1.8rem;
}

.team-section {
    margin-bottom: 60px;
}

.team-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px;
}

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

.team-card {
    background-color: var(--card-bg);
    border-radius: 8px;
    box-shadow: var(--box-shadow);
    padding: 20px;
    text-align: center;
    transition: var(--transition);
}

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

.team-card img {
    width: 100%;
    height: auto;
    aspect-ratio: 1/1;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
}

.team-card h3 {
    margin-bottom: 5px;
}

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

.team-social {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 15px;
}

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

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

.stats-section {
    margin-bottom: 60px;
}

.stats-section h2 {
    text-align: center;
    margin-bottom: 40px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.stat-card {
    background-color: var(--primary-color);
    color: white;
    border-radius: 8px;
    padding: 30px;
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.stat-text {
    font-size: 1.1rem;
}

/* Contact Page Styles */
.contact-section {
    padding: 60px 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.contact-info h2 {
    margin-bottom: 30px;
}

.contact-details {
    display: grid;
    gap: 25px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
}

.contact-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 50px;
    min-width: 50px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 8px;
    font-size: 1.2rem;
    margin-right: 15px;
}

.contact-text h3 {
    margin-bottom: 5px;
}

.contact-text p {
    margin-bottom: 0;
    color: var(--text-light);
}

.social-links-contact {
    margin-top: 40px;
}

.social-links-contact h3 {
    margin-bottom: 20px;
}

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

.social-icon {
    display: flex;
    align-items: center;
    background-color: #f8f9fa;
    color: var(--text-color);
    padding: 10px 15px;
    border-radius: 8px;
    transition: var(--transition);
}

.social-icon svg {
    margin-right: 10px;
}

.social-icon:hover {
    background-color: var(--primary-color);
    color: white;
}

.contact-form-container {
    background-color: var(--card-bg);
    border-radius: 8px;
    box-shadow: var(--box-shadow);
    padding: 30px;
}

.contact-form-container h2 {
    margin-bottom: 10px;
}

.form-intro {
    color: var(--text-light);
    margin-bottom: 25px;
}

.contact-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

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

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

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

.form-group textarea {
    resize: vertical;
}

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

.checkbox-group input {
    width: auto;
    margin-right: 10px;
    margin-top: 4px;
}

.btn-submit {
    width: 100%;
    padding: 15px;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

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

.map-section {
    margin-bottom: 60px;
}

.map-section h2 {
    text-align: center;
    margin-bottom: 30px;
}

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

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

.faq-section h2 {
    text-align: center;
    margin-bottom: 40px;
}

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

.faq-item {
    background-color: var(--card-bg);
    border-radius: 8px;
    box-shadow: var(--box-shadow);
    margin-bottom: 20px;
    overflow: hidden;
}

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

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

.faq-toggle {
    color: var(--primary-color);
    transition: var(--transition);
}

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

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

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

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

.modal.show {
    display: flex;
}

.modal-content {
    background-color: white;
    border-radius: 8px;
    max-width: 500px;
    width: 90%;
    padding: 30px;
    position: relative;
}

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

.thank-you-message {
    text-align: center;
}

.success-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background-color: var(--success-color);
    color: white;
    border-radius: 50%;
    font-size: 2rem;
}

.thank-you-message h2 {
    margin-bottom: 15px;
}

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

#close-modal-btn {
    padding: 12px 30px;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

#close-modal-btn:hover {
    background-color: var(--primary-dark);
}

/* Post Page Styles */
.post-header {
    text-align: left;
    padding: 80px 0;
    background-color: var(--primary-color);
    background-image: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
}

.post-header h1 {
    color: white;
    font-size: 2.8rem;
    margin-bottom: 20px;
}

.post-category a {
    display: inline-block;
    background-color: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 5px 10px;
    border-radius: 4px;
    margin-bottom: 15px;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
}

.post-header .post-meta {
    color: rgba(255, 255, 255, 0.8);
}

.post-header .post-author {
    display: flex;
    align-items: center;
}

.post-header .post-author img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin-right: 10px;
}

.post-header .post-date, .post-header .post-reading-time {
    display: flex;
    align-items: center;
}

.post-header .post-date i, .post-header .post-reading-time i {
    margin-right: 5px;
}

.post-container {
    display: grid;
    grid-template-columns: 3fr 1fr;
    gap: 40px;
    padding: 60px 0;
}

.post-content {
    background-color: var(--card-bg);
    border-radius: 8px;
    box-shadow: var(--box-shadow);
    padding: 30px;
}

.post-featured-image {
    margin: -30px -30px 30px;
    border-radius: 8px 8px 0 0;
    overflow: hidden;
}

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

.post-featured-image figcaption {
    padding: 10px 20px;
    background-color: var(--primary-dark);
    color: white;
    font-size: 0.9rem;
    text-align: center;
}

.post-introduction {
    font-size: 1.1rem;
    color: var(--text-color);
    border-left: 4px solid var(--primary-color);
    padding-left: 20px;
    margin-bottom: 30px;
}

.post-content h2 {
    font-size: 1.8rem;
    margin-top: 40px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border-color);
}

.post-content h3 {
    font-size: 1.4rem;
    margin-top: 30px;
    margin-bottom: 15px;
}

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

.post-content ul li, .post-content ol li {
    margin-bottom: 8px;
}

.post-content ul {
    list-style-type: disc;
}

.post-content ol {
    list-style-type: decimal;
}

.check-list {
    list-style: none !important;
    padding-left: 0 !important;
}

.check-list li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 10px;
}

.check-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0;
    color: var(--success-color);
    font-weight: bold;
}

.post-image {
    margin: 30px 0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.post-image figcaption {
    padding: 10px;
    background-color: #f8f9fa;
    font-size: 0.9rem;
    color: var(--text-light);
    text-align: center;
}

.info-box {
    background-color: #f8f9fa;
    border-left: 4px solid var(--info-color);
    padding: 20px;
    border-radius: 4px;
    margin: 30px 0;
}

.info-box h3, .info-box h4 {
    color: var(--info-color);
    margin-top: 0;
}

blockquote {
    background-color: #f8f9fa;
    border-left: 4px solid var(--primary-color);
    padding: 20px;
    margin: 30px 0;
    font-style: italic;
}

blockquote p {
    margin-bottom: 10px;
}

blockquote cite {
    display: block;
    color: var(--text-light);
    font-size: 0.9rem;
    text-align: right;
}

.two-column-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin: 30px 0;
}

.formula {
    font-family: monospace;
    background-color: #f8f9fa;
    padding: 10px;
    border-radius: 4px;
    margin: 10px 0;
    text-align: center;
}

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

.metric-card {
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 20px;
}

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

.post-tags h3 {
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.post-tags ul {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 0 !important;
}

.post-tags ul li {
    margin-bottom: 0 !important;
}

.post-tags a {
    display: inline-block;
    background-color: #f8f9fa;
    color: var(--text-color);
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 0.9rem;
    transition: var(--transition);
}

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

.post-author-bio {
    display: flex;
    background-color: var(--card-bg);
    border-radius: 8px;
    box-shadow: var(--box-shadow);
    padding: 30px;
    margin-top: 40px;
}

.post-author-bio img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin-right: 20px;
}

.author-info h3 {
    margin-bottom: 5px;
}

.author-title {
    color: var(--text-light);
    margin-bottom: 15px;
    font-style: italic;
}

.author-social {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

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

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

.related-posts {
    margin-top: 40px;
}

.related-posts h2 {
    text-align: center;
    margin-bottom: 30px;
}

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

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

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

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

.related-post-card h3 {
    padding: 15px 15px 5px;
    font-size: 1.1rem;
}

.related-post-card .post-meta {
    padding: 0 15px 15px;
    margin-bottom: 0;
}

.newsletter-section {
    background-color: #f8f9fa;
    padding: 60px 0;
    margin-top: 60px;
}

.newsletter-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    max-width: 900px;
    margin: 0 auto;
}

.newsletter-text {
    flex: 1;
}

.newsletter-text h2 {
    margin-bottom: 15px;
}

.newsletter-text p {
    margin-bottom: 0;
    color: var(--text-light);
}

.newsletter-form {
    flex: 1;
    display: flex;
}

.newsletter-form input {
    flex: 1;
    padding: 15px;
    border: 1px solid var(--border-color);
    border-radius: 4px 0 0 4px;
    font-size: 1rem;
}

.newsletter-form button {
    padding: 0 20px;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 0 4px 4px 0;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.newsletter-form button:hover {
    background-color: var(--primary-dark);
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .container {
        padding: 0 30px;
    }

    main.container {
        flex-direction: column;
    }

    .blog-posts {
        width: 100%;
    }

    .sidebar {
        width: 100%;
        padding-left: 0;
    }

    .features-grid, .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }

    .contact-section {
        grid-template-columns: 1fr;
    }

    .post-container {
        grid-template-columns: 1fr;
    }

    .related-posts-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.3rem;
    }

    .post-card {
        flex-direction: column;
    }

    .post-image {
        min-width: 100%;
        max-width: 100%;
        height: 220px;
    }

    .facts-grid {
        grid-template-columns: 1fr;
    }

    .menu {
        display: none;
        position: absolute;
        top: 80px;
        left: 0;
        right: 0;
        flex-direction: column;
        background-color: white;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
        padding: 20px;
    }

    .menu.show {
        display: flex;
    }

    .menu li {
        margin-left: 0;
        margin-bottom: 15px;
    }

    .mobile-menu-toggle {
        display: block;
    }

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

    .footer-legal a {
        margin-left: 0;
        margin-bottom: 10px;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .footer-bottom p {
        margin-bottom: 15px;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

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

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

    .cookie-buttons {
        justify-content: center;
    }

    .newsletter-content {
        flex-direction: column;
        text-align: center;
    }

    .newsletter-form {
        width: 100%;
    }

    .two-column-section {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .post-header h1 {
        font-size: 2rem;
    }

    .post-author-bio {
        flex-direction: column;
        text-align: center;
    }

    .post-author-bio img {
        margin: 0 auto 20px;
    }

    .author-social {
        justify-content: center;
    }

    .related-posts-grid {
        grid-template-columns: 1fr;
    }

    .post-meta {
        flex-direction: column;
        align-items: flex-start;
    }

    .post-date, .post-author {
        margin-right: 0;
        margin-bottom: 5px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero h1 {
        font-size: 1.8rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .contact-form .form-row {
        grid-template-columns: 1fr;
    }

    .page-header h1 {
        font-size: 2rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    .post-header {
        padding: 60px 0;
    }

    .post-content {
        padding: 20px;
    }

    .post-featured-image {
        margin: -20px -20px 20px;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .post-header .post-meta {
        flex-wrap: wrap;
        gap: 10px;
    }
}

/* Additional Styling for Content Elements */
.post-content strong {
    font-weight: 700;
    color: var(--primary-dark);
}

.post-content em {
    font-style: italic;
}

.post-content a {
    text-decoration: underline;
}

.post-content hr {
    margin: 30px 0;
    border: 0;
    height: 1px;
    background-color: var(--border-color);
}

.post-content img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
}

.post-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 30px 0;
}

.post-content table th,
.post-content table td {
    padding: 12px 15px;
    border: 1px solid var(--border-color);
}

.post-content table th {
    background-color: #f8f9fa;
    font-weight: 600;
}

.post-content table tr:nth-child(even) {
    background-color: #f8f9fa;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.fadeIn {
    animation: fadeIn 0.5s ease-in-out;
}
