/* Base Styles */
:root {
    --primary-color: #5d62b5;
    --secondary-color: #f27b9b;
    --accent-color: #ffd166;
    --text-color: #333333;
    --text-light: #666666;
    --background-color: #ffffff;
    --background-alt: #f8f9fa;
    --border-color: #e0e0e0;
    --success-color: #2ecc71;
    --warning-color: #f39c12;
    --error-color: #e74c3c;
    --link-color: #5d62b5;
    --link-hover: #4a4e91;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --border-radius: 8px;
    --transition: all 0.3s ease;
    --font-primary: 'Montserrat', sans-serif;
    --font-secondary: 'Merriweather', serif;
    --max-width: 1200px;
}

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700&family=Merriweather:wght@300;400;700&display=swap');

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-primary);
    color: var(--text-color);
    background-color: var(--background-color);
    line-height: 1.6;
    overflow-x: hidden;
}

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

a:hover {
    color: var(--link-hover);
}

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

ul {
    list-style: none;
}

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

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.75rem;
}

h4 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1.5rem;
}

button, .btn {
    display: inline-block;
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius);
    font-family: var(--font-primary);
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    font-size: 1rem;
}

button:hover, .btn:hover {
    background-color: var(--link-hover);
    color: white;
    transform: translateY(-2px);
}

.btn.secondary {
    background-color: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

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

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

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

.btn.small {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

/* Layout */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

section {
    padding: 5rem 0;
}

/* Header and Navigation */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 5%;
    background-color: var(--background-color);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.logo {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 1rem;
}

.logo-container h1 {
    font-size: 1.5rem;
    margin-bottom: 0;
    color: var(--primary-color);
}

nav ul {
    display: flex;
    gap: 2rem;
}

nav a {
    color: var(--text-color);
    font-weight: 500;
    position: relative;
    padding-bottom: 0.25rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

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

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

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

/* Icon styles for navigation */
[class^="icon-"] {
    font-size: 1.2rem;
}

/* Hero Section */
.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 5rem 5%;
    background-color: var(--background-alt);
    margin-bottom: 3rem;
}

.hero-content {
    flex: 1;
    max-width: 600px;
}

.hero-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.hero-content p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    color: var(--text-light);
}

.hero-image {
    flex: 1;
    margin-left: 2rem;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

/* Editor's Note Section */
.editor-note {
    background-color: #f8f5ff;
    padding: 3rem 5%;
    border-radius: var(--border-radius);
    margin: 0 5% 3rem;
}

.editor-note h2 {
    text-align: center;
    margin-bottom: 2rem;
    color: var(--primary-color);
}

.note-content {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.editor-img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid white;
    box-shadow: var(--shadow);
}

.note-text {
    flex: 1;
}

.signature {
    font-style: italic;
    font-weight: 500;
    margin-top: 1.5rem;
    text-align: right;
}

/* Fun Fact Section */
.fun-fact {
    background-color: #fff5f8;
    padding: 2rem 5%;
    border-radius: var(--border-radius);
    margin: 0 5% 3rem;
    text-align: center;
}

.fun-fact h3 {
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.fact-container {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1rem;
    font-style: italic;
}

/* Featured Posts Section */
.featured-posts {
    padding: 3rem 5%;
}

.featured-posts h2 {
    text-align: center;
    margin-bottom: 2.5rem;
    color: var(--text-color);
}

.post-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 2.5rem;
}

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

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

.post-image {
    height: 200px;
    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 {
    padding: 1.5rem;
}

.post-content h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

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

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

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

.read-more:hover::after {
    margin-left: 0.75rem;
}

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

/* Newsletter Section */
.newsletter {
    background-color: var(--primary-color);
    color: white;
    padding: 4rem 5%;
    margin-top: 4rem;
}

.newsletter-content {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.newsletter h2 {
    color: white;
    margin-bottom: 1rem;
}

.newsletter p {
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

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

.newsletter-form input {
    flex: 1;
    padding: 0.75rem 1rem;
    border: none;
    border-radius: var(--border-radius);
    font-family: var(--font-primary);
    font-size: 1rem;
}

.newsletter-form button {
    background-color: var(--secondary-color);
}

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

/* Footer */
footer {
    background-color: #2c2f45;
    color: #ffffff;
    padding: 4rem 5% 2rem;
}

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

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

.logo-small {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin-bottom: 1rem;
}

.footer-links h4, .footer-legal h4, .footer-contact h4, .footer-social h4 {
    color: white;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.footer-links ul, .footer-legal ul {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links a, .footer-legal a, .footer-contact a {
    color: #b8b9c7;
    transition: var(--transition);
}

.footer-links a:hover, .footer-legal a:hover, .footer-contact a:hover {
    color: white;
}

.footer-contact address {
    font-style: normal;
    color: #b8b9c7;
    margin-bottom: 1rem;
    line-height: 1.8;
}

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

.social-icon {
    width: 20px;
    height: 20px;
    fill: #b8b9c7;
    transition: var(--transition);
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #3f4259;
    transition: var(--transition);
}

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

.social-icons a:hover .social-icon {
    fill: white;
}

.copyright {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #3f4259;
    color: #b8b9c7;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #2c2f45;
    color: white;
    padding: 1.5rem;
    z-index: 9999;
    display: none;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
}

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

.cookie-buttons {
    display: flex;
    gap: 1rem;
    margin: 1.5rem 0 1rem;
    flex-wrap: wrap;
}

.cookie-btn {
    padding: 0.5rem 1.25rem;
    font-size: 0.875rem;
}

.cookie-policy {
    font-size: 0.875rem;
    margin-bottom: 0;
}

.cookie-policy a {
    color: var(--accent-color);
    text-decoration: underline;
}

/* Blog Page Styles */
.blog-page {
    padding: 2rem 5%;
}

.blog-header {
    text-align: center;
    margin-bottom: 3rem;
}

.blog-header h1 {
    color: var(--primary-color);
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.blog-header p {
    max-width: 700px;
    margin: 0 auto;
    color: var(--text-light);
    font-size: 1.1rem;
}

.blog-content {
    display: grid;
    grid-template-columns: 1fr 3fr 1fr;
    gap: 2rem;
}

.blog-filters {
    padding-right: 1.5rem;
    border-right: 1px solid var(--border-color);
}

.search-bar {
    display: flex;
    margin-bottom: 2rem;
}

.search-bar input {
    flex: 1;
    padding: 0.75rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius) 0 0 var(--border-radius);
    font-family: var(--font-primary);
}

.search-btn {
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
    padding: 0.75rem 1rem;
    cursor: pointer;
}

.categories h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.categories ul {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.categories a {
    color: var(--text-color);
    transition: var(--transition);
}

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

.blog-posts {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.blog-post {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 1.5rem;
    padding-bottom: 2.5rem;
    border-bottom: 1px solid var(--border-color);
}

.blog-post .post-image {
    height: 200px;
    border-radius: var(--border-radius);
    overflow: hidden;
}

.post-details {
    display: flex;
    gap: 1rem;
    margin-bottom: 0.5rem;
}

.post-date, .post-category {
    font-size: 0.875rem;
    color: var(--text-light);
}

.post-category {
    color: var(--primary-color);
    font-weight: 500;
}

.blog-post h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.blog-post p {
    color: var(--text-light);
    margin-bottom: 1rem;
}

.blog-sidebar {
    padding-left: 1.5rem;
    border-left: 1px solid var(--border-color);
}

.newsletter-sidebar {
    background-color: #f8f5ff;
    padding: 1.5rem;
    border-radius: var(--border-radius);
    margin-bottom: 2rem;
}

.newsletter-sidebar h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.sidebar-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.sidebar-form input {
    padding: 0.75rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    font-family: var(--font-primary);
}

.popular-posts h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.popular-posts ul {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

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

.tags h3 {
    font-size: 1.2rem;
    margin: 2rem 0 1rem;
}

.tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tag {
    background-color: #f0f0f0;
    color: var(--text-color);
    padding: 0.4rem 0.8rem;
    border-radius: 30px;
    font-size: 0.875rem;
    transition: var(--transition);
}

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

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 3rem;
    gap: 0.5rem;
}

.current-page, .page-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    transition: var(--transition);
}

.current-page {
    background-color: var(--primary-color);
    color: white;
    font-weight: 500;
}

.page-number {
    color: var(--text-color);
    border: 1px solid var(--border-color);
}

.page-number:hover {
    background-color: #f0f0f0;
}

.next-page {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-color);
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.next-page:hover {
    background-color: #f0f0f0;
}

/* About Page Styles */
.about-page {
    padding: 2rem 0;
}

.about-hero {
    background-color: var(--primary-color);
    color: white;
    padding: 5rem 5%;
    text-align: center;
    margin-bottom: 4rem;
}

.about-hero h1 {
    color: white;
    font-size: 3rem;
    margin-bottom: 1rem;
}

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

.our-story, .our-mission, .team-section, .values-section, .join-us {
    padding: 4rem 5%;
    margin-bottom: 2rem;
}

.story-content, .mission-container {
    max-width: 1200px;
    margin: 0 auto;
}

.story-content h2, .our-mission h2, .team-section h2, .values-section h2, .join-us h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--primary-color);
}

.story-layout {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 3rem;
    align-items: center;
}

.story-text p:last-child {
    margin-bottom: 0;
}

.story-image {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

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

.mission-card {
    background-color: white;
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
}

.mission-card:hover {
    transform: translateY(-5px);
}

.mission-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background-color: #f0f5ff;
    margin: 0 auto 1.5rem;
}

.mission-icon svg {
    width: 35px;
    height: 35px;
    stroke: var(--primary-color);
}

.mission-card h3 {
    margin-bottom: 1rem;
    color: var(--primary-color);
}

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

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

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

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

.team-member:hover {
    transform: translateY(-5px);
}

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

.team-member h3, .team-member p {
    padding: 0 1.5rem;
}

.team-member h3 {
    margin-top: 1.5rem;
    margin-bottom: 0.25rem;
    font-size: 1.25rem;
}

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

.team-member p:last-of-type {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.social-links {
    display: flex;
    gap: 1rem;
    padding: 0 1.5rem 1.5rem;
}

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

.value-item {
    text-align: center;
    padding: 2rem;
    background-color: #f8f9fa;
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.value-item:hover {
    background-color: #f0f5ff;
}

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

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

.join-us {
    background-color: var(--primary-color);
    color: white;
    text-align: center;
}

.join-content {
    max-width: 800px;
    margin: 0 auto;
}

.join-us h2 {
    color: white;
}

.join-us p {
    margin-bottom: 2.5rem;
    font-size: 1.1rem;
}

.join-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

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

.join-us .btn:hover {
    background-color: var(--accent-color);
    color: var(--text-color);
}

.join-us .btn.secondary {
    background-color: transparent;
    border-color: white;
    color: white;
}

.join-us .btn.secondary:hover {
    background-color: white;
    color: var(--primary-color);
}

/* Contact Page Styles */
.contact-page {
    padding: 2rem 0;
}

.contact-hero {
    background-color: var(--primary-color);
    color: white;
    padding: 5rem 5%;
    text-align: center;
    margin-bottom: 4rem;
}

.contact-hero h1 {
    color: white;
    font-size: 3rem;
    margin-bottom: 1rem;
}

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

.contact-content {
    padding: 0 5%;
    margin-bottom: 4rem;
}

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

.contact-info h2, .contact-map h2, .contact-form-container h2 {
    margin-bottom: 2rem;
    color: var(--primary-color);
}

.info-item {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.info-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: #f0f5ff;
    flex-shrink: 0;
}

.info-icon svg {
    width: 28px;
    height: 28px;
    stroke: var(--primary-color);
}

.info-text h3 {
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.info-text p, .info-text address {
    color: var(--text-light);
    margin-bottom: 0;
    font-style: normal;
    line-height: 1.8;
}

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

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

.social-contact h3 {
    margin: 2rem 0 1rem;
    font-size: 1.2rem;
}

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

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

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

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

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

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

.form-group textarea {
    resize: vertical;
}

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

.checkbox-group input {
    width: auto;
    margin-top: 0.25rem;
}

.checkbox-group label {
    margin-bottom: 0;
    font-weight: normal;
    color: var(--text-light);
}

.submit-btn {
    background-color: var(--primary-color);
    width: 100%;
    font-size: 1.1rem;
    padding: 1rem;
}

.faq-section {
    background-color: #f8f9fa;
    padding: 4rem 5%;
}

.faq-section h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--primary-color);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
    display: grid;
    gap: 2rem;
}

.faq-item {
    background-color: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.faq-item h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

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

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

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

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

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

.checkmark {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
}

.checkmark-circle {
    stroke: var(--success-color);
    stroke-width: 2;
    opacity: 0.3;
}

.checkmark-check {
    stroke: var(--success-color);
    stroke-width: 2;
    stroke-linecap: round;
    stroke-dasharray: 25;
    stroke-dashoffset: 0;
}

.thank-you-message h2 {
    color: var(--success-color);
    margin-bottom: 1rem;
}

.thank-you-message p {
    margin-bottom: 2rem;
}

.close-thank-you {
    background-color: var(--success-color);
}

.close-thank-you:hover {
    background-color: #27ae60;
}

/* Blog Post Page Styles */
.blog-post-page {
    padding: 3rem 5%;
    display: grid;
    grid-template-columns: 3fr 1fr;
    gap: 3rem;
}

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

.post-header {
    margin-bottom: 2rem;
}

.post-meta {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.post-date, .post-category, .post-author {
    font-size: 0.9rem;
    color: var(--text-light);
}

.post-category {
    color: var(--primary-color);
    font-weight: 500;
}

.post-header h1 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-color);
}

.post-excerpt {
    font-size: 1.25rem;
    color: var(--text-light);
    line-height: 1.6;
    border-left: 3px solid var(--primary-color);
    padding-left: 1rem;
    margin-bottom: 2rem;
}

.post-featured-image {
    border-radius: var(--border-radius);
    overflow: hidden;
    margin-bottom: 2.5rem;
}

.post-body {
    font-family: var(--font-secondary);
    line-height: 1.8;
    margin-bottom: 3rem;
}

.post-body h2 {
    font-size: 1.75rem;
    margin: 2.5rem 0 1.5rem;
    color: var(--primary-color);
}

.post-body h3 {
    font-size: 1.5rem;
    margin: 2rem 0 1.25rem;
}

.post-body p, .post-body ul, .post-body ol {
    margin-bottom: 1.5rem;
}

.post-body ul, .post-body ol {
    padding-left: 1.5rem;
}

.post-body ul li, .post-body ol li {
    margin-bottom: 0.75rem;
}

.post-body .post-image {
    border-radius: var(--border-radius);
    overflow: hidden;
    margin: 2rem 0;
    height: auto;
}

.image-caption {
    text-align: center;
    color: var(--text-light);
    font-size: 0.9rem;
    margin-top: 0.75rem;
    font-style: italic;
}

.post-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 2rem;
    align-items: center;
}

.tag-label {
    font-weight: 500;
}

.post-share {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid var(--border-color);
}

.share-buttons {
    display: flex;
    gap: 0.75rem;
}

.author-box {
    display: flex;
    gap: 2rem;
    background-color: #f8f9fa;
    padding: 2rem;
    border-radius: var(--border-radius);
    margin-bottom: 3rem;
}

.author-image {
    flex-shrink: 0;
}

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

.author-info h3 {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

.author-info h4 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.author-info p {
    color: var(--text-light);
    margin-bottom: 0;
    font-size: 0.95rem;
}

.related-posts {
    margin-bottom: 3rem;
}

.related-posts h3 {
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

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

.related-post {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.related-post:hover {
    transform: translateY(-5px);
}

.related-post img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
}

.related-post h4 {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    color: white;
    padding: 1.5rem 1rem 1rem;
    margin-bottom: 0;
    font-size: 1rem;
    line-height: 1.4;
}

.comments-section {
    margin-bottom: 3rem;
}

.comments-section h3 {
    margin-bottom: 2rem;
    font-size: 1.5rem;
}

.comments-container {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-bottom: 3rem;
}

.comment {
    background-color: #f8f9fa;
    padding: 1.5rem;
    border-radius: var(--border-radius);
}

.comment-reply {
    margin-left: 3rem;
    border-left: 3px solid var(--primary-color);
}

.comment-author {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.comment-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.comment-meta h4 {
    margin-bottom: 0.25rem;
    font-size: 1.1rem;
}

.comment-date {
    font-size: 0.875rem;
    color: var(--text-light);
}

.comment-content p {
    margin-bottom: 1rem;
}

.reply-btn {
    background-color: transparent;
    color: var(--primary-color);
    padding: 0.5rem 1rem;
    border: 1px solid var(--primary-color);
    font-size: 0.875rem;
}

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

.comment-form h3 {
    margin-bottom: 1.5rem;
}

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

/* Blog Sidebar Styles */
.blog-sidebar {
    position: sticky;
    top: 100px;
    align-self: start;
}

.sidebar-section {
    margin-bottom: 3rem;
}

.sidebar-section h3 {
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
    position: relative;
    padding-bottom: 0.75rem;
}

.sidebar-section h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: var(--primary-color);
}

.author-brief {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

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

.author-details h4 {
    margin-bottom: 0.25rem;
    font-size: 1.1rem;
}

.author-details p {
    margin-bottom: 0;
    color: var(--primary-color);
    font-size: 0.9rem;
}

.sidebar-section > p {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.popular-posts-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.popular-post {
    display: flex;
    gap: 1rem;
}

.post-thumbnail {
    width: 80px;
    height: 80px;
    border-radius: var(--border-radius);
    object-fit: cover;
}

.popular-post-details h4 {
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
    color: var(--text-color);
    transition: var(--transition);
    line-height: 1.4;
}

.popular-post:hover .popular-post-details h4 {
    color: var(--primary-color);
}

.category-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.category-list li a {
    color: var(--text-color);
    transition: var(--transition);
}

.category-list li a:hover {
    color: var(--primary-color);
}

/* Responsive Styles */
@media (max-width: 1200px) {
    .hero, .post-grid {
        flex-direction: column;
    }
    
    .hero-content, .hero-image {
        max-width: 100%;
        margin: 0 0 2rem;
    }
    
    .post-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .blog-content {
        grid-template-columns: 1fr 2fr;
    }
    
    .blog-filters {
        display: none;
    }
    
    .blog-post-page {
        grid-template-columns: 2fr 1fr;
    }
}

@media (max-width: 992px) {
    .note-content {
        flex-direction: column;
        text-align: center;
    }
    
    .editor-img {
        margin: 0 auto 1.5rem;
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .blog-post {
        grid-template-columns: 1fr;
    }
    
    .contact-methods {
        grid-template-columns: 1fr;
    }
    
    .blog-post-page {
        grid-template-columns: 1fr;
        gap: 4rem;
    }
    
    .blog-sidebar {
        position: static;
        border-top: 1px solid var(--border-color);
        padding-top: 3rem;
    }
}

@media (max-width: 768px) {
    header {
        flex-direction: column;
        gap: 1rem;
    }
    
    nav ul {
        gap: 1rem;
    }
    
    .post-grid, .related-posts-grid {
        grid-template-columns: 1fr;
    }
    
    .newsletter-form {
        flex-direction: column;
        gap: 1rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-logo {
        align-items: center;
    }
    
    .social-icons {
        justify-content: center;
    }
    
    .story-layout {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .author-box {
        flex-direction: column;
        text-align: center;
    }
    
    .author-image {
        margin: 0 auto 1.5rem;
    }
}

@media (max-width: 576px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.75rem;
    }
    
    .hero-content h2 {
        font-size: 2rem;
    }
    
    .contact-hero h1, .about-hero h1, .post-header h1 {
        font-size: 2rem;
    }
    
    nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .cookie-buttons {
        flex-direction: column;
    }
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero, .editor-note, .fun-fact, .featured-posts, .newsletter {
    animation: fadeIn 1s ease-out;
}
