/* Base Styles */
:root {
    --primary-color: #5c6bc0;
    --secondary-color: #8e24aa;
    --accent-color: #ff6e40;
    --text-color: #333;
    --light-text: #666;
    --bg-color: #fff;
    --light-bg: #f9f9f9;
    --border-color: #e0e0e0;
    --success-color: #43a047;
    --error-color: #e53935;
    --header-height: 80px;
    --footer-bg: #263238;
    --footer-text: #eceff1;
    --border-radius: 8px;
    --box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

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

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

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

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

ul {
    list-style: none;
}

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

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

button:hover, .cta-button:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: var(--box-shadow);
}

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

section {
    padding: 60px 0;
}

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

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 20px;
}

/* Header Styles */
header {
    background-color: var(--bg-color);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 15px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

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

.logo img {
    height: 60px;
    width: auto;
    border-radius: 50%;
}

.typewriter {
    flex: 1;
    margin: 0 20px;
}

.typewriter h1 {
    margin: 0;
    font-size: 1.8rem;
    overflow: hidden;
    border-right: 3px solid var(--primary-color);
    white-space: nowrap;
    margin: 0 auto;
    letter-spacing: 0.15em;
    animation: typing 3.5s steps(30, end), blink-caret 0.75s step-end infinite;
}

@keyframes typing {
    from { width: 0 }
    to { width: 100% }
}

@keyframes blink-caret {
    from, to { border-color: transparent }
    50% { border-color: var(--primary-color); }
}

nav ul {
    display: flex;
    align-items: center;
}

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

nav ul li a {
    color: var(--text-color);
    font-weight: 600;
    padding: 8px 15px;
    border-radius: var(--border-radius);
    transition: var(--transition);
    display: flex;
    align-items: center;
}

nav ul li a i {
    margin-right: 8px;
}

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

/* Hero Section */
.hero {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 80px 5%;
    background-color: var(--light-bg);
    flex-wrap: wrap;
}

.hero-content {
    flex: 1;
    min-width: 300px;
    margin-right: 40px;
}

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

.hero-content p {
    font-size: 1.1rem;
    margin-bottom: 30px;
}

.hero-image {
    flex: 1;
    min-width: 300px;
    text-align: center;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

/* Featured Posts Section */
.featured-posts {
    padding: 60px 5%;
    background-color: var(--bg-color);
}

.featured-posts h2 {
    text-align: center;
    margin-bottom: 40px;
    color: var(--primary-color);
}

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

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

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

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

.post-card h3 {
    padding: 20px 20px 10px;
    font-size: 1.3rem;
}

.post-card p {
    padding: 0 20px 20px;
    color: var(--light-text);
}

.read-more {
    display: block;
    padding: 0 20px 20px;
    color: var(--primary-color);
    font-weight: 600;
    transition: var(--transition);
}

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

.read-more:hover {
    color: var(--secondary-color);
}

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

/* This Day in History Section */
.this-day-in-history {
    padding: 60px 5%;
    background-color: var(--light-bg);
}

.this-day-in-history h2 {
    text-align: center;
    margin-bottom: 30px;
    color: var(--primary-color);
}

.history-content {
    background-color: var(--bg-color);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    max-width: 800px;
    margin: 0 auto;
}

.history-event {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
}

.history-event:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.history-event h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
}

/* Newsletter Section */
.newsletter {
    padding: 60px 5%;
    background-color: var(--primary-color);
    text-align: center;
    color: white;
}

.newsletter h2 {
    color: white;
    margin-bottom: 20px;
}

.newsletter p {
    max-width: 600px;
    margin: 0 auto 30px;
}

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

#newsletter-form input {
    flex: 1;
    padding: 12px 15px;
    border: none;
    border-radius: var(--border-radius) 0 0 var(--border-radius);
    font-size: 1rem;
}

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

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

/* Footer Styles */
footer {
    background-color: var(--footer-bg);
    color: var(--footer-text);
    padding: 60px 5% 20px;
}

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

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

.footer-logo img {
    height: 60px;
    width: auto;
    border-radius: 50%;
    margin-bottom: 15px;
}

.footer-links h3, .footer-contact h3, .footer-social h3 {
    color: white;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-links h3::after, .footer-contact h3::after, .footer-social h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 3px;
    background-color: var(--accent-color);
}

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

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

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

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

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

.social-icons {
    display: flex;
}

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

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

.social-icons a i {
    color: white;
    font-size: 1.2rem;
}

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

.footer-legal {
    display: flex;
    flex-wrap: wrap;
}

.footer-legal a {
    color: var(--footer-text);
    margin-left: 20px;
    transition: var(--transition);
}

.footer-legal a:hover {
    color: var(--accent-color);
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    color: white;
    padding: 20px;
    z-index: 1000;
    display: none;
}

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

.cookie-buttons {
    margin: 20px 0;
}

.cookie-buttons button {
    margin: 0 10px;
    background-color: var(--primary-color);
}

.cookie-buttons button:hover {
    background-color: var(--secondary-color);
}

.cookie-buttons button:first-child {
    background-color: var(--success-color);
}

.cookie-buttons button:first-child:hover {
    background-color: #2e7d32;
}

.cookie-buttons button:last-child {
    background-color: var(--error-color);
}

.cookie-buttons button:last-child:hover {
    background-color: #c62828;
}

.cookie-more-info {
    font-size: 0.9rem;
}

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

/* Blog Page Styles */
.blog-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 60px 5% 30px;
}

.blog-posts {
    padding: 0 5% 60px;
}

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

.post img {
    width: 300px;
    height: 250px;
    object-fit: cover;
}

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

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

.post-meta span {
    margin-right: 20px;
    display: flex;
    align-items: center;
}

.post-meta span i {
    margin-right: 5px;
}

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

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

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

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

/* About Page Styles */
.about-hero {
    display: flex;
    padding: 80px 5%;
    background-color: var(--light-bg);
    flex-wrap: wrap;
}

.about-image {
    flex: 1;
    min-width: 300px;
    margin-right: 40px;
}

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

.about-content {
    flex: 2;
    min-width: 300px;
}

.about-content h2 {
    color: var(--primary-color);
    margin-bottom: 20px;
}

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

.about-story {
    padding: 60px 5%;
}

.about-story h2 {
    text-align: center;
    margin-bottom: 40px;
    color: var(--primary-color);
}

.story-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

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

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

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

.expertise {
    padding: 60px 5%;
    background-color: var(--light-bg);
}

.expertise h2 {
    text-align: center;
    margin-bottom: 40px;
    color: var(--primary-color);
}

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

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

.expertise-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.expertise-item i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.testimonials {
    padding: 60px 5%;
}

.testimonials h2 {
    text-align: center;
    margin-bottom: 40px;
    color: var(--primary-color);
}

.testimonials-slider {
    max-width: 800px;
    margin: 0 auto;
}

.testimonial {
    background-color: var(--light-bg);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    margin: 0 10px;
}

.testimonial-content p {
    font-style: italic;
    margin-bottom: 20px;
}

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

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

.testimonial-author h4 {
    margin-bottom: 5px;
}

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

/* Services Page Styles */
.services-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 60px 5% 30px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    padding: 0 5% 60px;
}

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

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

.service-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.service-features {
    text-align: left;
    margin: 20px 0;
    padding-left: 20px;
}

.service-features li {
    margin-bottom: 10px;
    position: relative;
}

.service-features li::before {
    content: '✓';
    color: var(--success-color);
    position: absolute;
    left: -20px;
}

.service-price {
    font-size: 1.2rem;
    font-weight: 700;
    margin: 20px 0;
    color: var(--primary-color);
}

.process {
    padding: 60px 5%;
    background-color: var(--light-bg);
}

.process h2 {
    text-align: center;
    margin-bottom: 40px;
    color: var(--primary-color);
}

.process-steps {
    max-width: 800px;
    margin: 0 auto;
}

.process-step {
    display: flex;
    margin-bottom: 30px;
}

.step-number {
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin-right: 20px;
    flex-shrink: 0;
}

.step-content {
    flex: 1;
}

.step-content h3 {
    margin-bottom: 10px;
}

.cta-section {
    padding: 60px 5%;
    background-color: var(--primary-color);
    text-align: center;
    color: white;
}

.cta-section h2 {
    color: white;
    margin-bottom: 20px;
}

.cta-section .cta-button {
    background-color: white;
    color: var(--primary-color);
    margin-top: 20px;
}

.cta-section .cta-button:hover {
    background-color: var(--accent-color);
    color: white;
}

/* Contact Page Styles */
.contact-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 60px 5% 30px;
}

.contact-content {
    display: flex;
    flex-wrap: wrap;
    padding: 0 5% 60px;
}

.contact-form-container {
    flex: 1;
    min-width: 300px;
    margin-right: 40px;
}

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

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

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

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

#contact-form .checkbox-group {
    display: flex;
    align-items: center;
}

#contact-form .checkbox-group input {
    width: auto;
    margin-right: 10px;
}

#contact-form .form-submit {
    text-align: right;
}

#contact-form button {
    background-color: var(--primary-color);
    color: white;
    padding: 12px 30px;
    font-weight: 600;
}

#contact-form button:hover {
    background-color: var(--secondary-color);
}

.contact-info {
    background-color: var(--light-bg);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    margin-bottom: 30px;
}

.contact-item {
    display: flex;
    margin-bottom: 20px;
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-right: 15px;
    flex-shrink: 0;
}

.contact-item h4 {
    margin-bottom: 5px;
}

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

.social-connect {
    background-color: var(--light-bg);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.map-section {
    padding: 0 5% 60px;
}

.map-section h2 {
    text-align: center;
    margin-bottom: 30px;
    color: var(--primary-color);
}

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

.faq-section {
    padding: 0 5% 60px;
    background-color: var(--light-bg);
}

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

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

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

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

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

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

.faq-answer {
    padding: 0 20px 20px;
    display: none;
}

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

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

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

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

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

.close:hover {
    color: var(--error-color);
}

.modal-content i {
    font-size: 3rem;
    color: var(--success-color);
    margin-bottom: 20px;
}

.modal-content button {
    background-color: var(--primary-color);
    color: white;
    margin-top: 20px;
}

/* Blog Post Styles */
.blog-post {
    max-width: 800px;
    margin: 0 auto;
    padding: 60px 5%;
}

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

.post-header h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.post-featured-image {
    border-radius: var(--border-radius);
    margin-top: 20px;
}

.post-intro {
    font-size: 1.2rem;
    color: var(--light-text);
    font-weight: 500;
    margin-bottom: 30px;
    border-left: 4px solid var(--primary-color);
    padding-left: 20px;
}

.post-content h2 {
    color: var(--primary-color);
    margin: 40px 0 20px;
}

.post-content h3 {
    margin: 30px 0 15px;
    color: var(--secondary-color);
}

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

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

.post-quote {
    margin: 30px 0;
    padding: 30px;
    background-color: var(--light-bg);
    border-radius: var(--border-radius);
    position: relative;
}

.post-quote::before {
    content: '"';
    position: absolute;
    top: 10px;
    left: 10px;
    font-size: 5rem;
    color: rgba(0, 0, 0, 0.1);
    line-height: 1;
}

.post-quote blockquote {
    font-style: italic;
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.post-quote cite {
    display: block;
    text-align: right;
    font-weight: 600;
    color: var(--primary-color);
}

.post-tip {
    margin: 30px 0;
    padding: 20px;
    background-color: #e8f5e9;
    border-left: 4px solid var(--success-color);
    border-radius: var(--border-radius);
}

.post-tip h4 {
    color: var(--success-color);
    margin-bottom: 10px;
}

.post-callout {
    margin: 40px 0;
    padding: 30px;
    background-color: var(--light-bg);
    border-radius: var(--border-radius);
    text-align: center;
}

.post-callout h4 {
    color: var(--primary-color);
    margin-bottom: 10px;
}

.post-callout .cta-button {
    margin-top: 20px;
}

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

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

.author-info {
    flex: 1;
}

.author-info h3 {
    margin-bottom: 5px;
    color: var(--primary-color);
}

.author-info h4 {
    margin-bottom: 10px;
}

.author-social {
    margin-top: 15px;
}

.author-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    background-color: var(--primary-color);
    border-radius: 50%;
    margin-right: 10px;
    transition: var(--transition);
}

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

.author-social a i {
    color: white;
    font-size: 0.9rem;
}

.post-navigation {
    display: flex;
    justify-content: space-between;
    margin: 40px 0;
}

.prev-post, .next-post {
    flex: 1;
    max-width: 45%;
    background-color: var(--light-bg);
    padding: 20px;
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.prev-post {
    margin-right: 10px;
}

.next-post {
    margin-left: 10px;
    text-align: right;
}

.prev-post:hover, .next-post:hover {
    background-color: var(--primary-color);
    color: white;
}

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

.prev-post span i, .next-post span i {
    margin: 0 5px;
}

.post-navigation h4 {
    margin-bottom: 0;
    font-size: 1rem;
}

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

.related-posts h3 {
    text-align: center;
    margin-bottom: 30px;
    color: var(--primary-color);
}

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

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

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

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

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

.related-post a {
    display: block;
    padding: 0 15px 15px;
    color: var(--primary-color);
    font-weight: 600;
    transition: var(--transition);
}

.related-post a i {
    margin-left: 5px;
    transition: var(--transition);
}

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

.related-post a:hover i {
    transform: translateX(5px);
}

/* Responsive Styles */
@media (max-width: 992px) {
    header {
        padding: 15px 3%;
    }

    .logo img {
        height: 50px;
    }

    .typewriter h1 {
        font-size: 1.5rem;
    }

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

    nav ul li a {
        padding: 6px 10px;
    }

    .hero, .about-hero {
        padding: 60px 3%;
    }

    .hero-content, .about-content {
        margin-right: 20px;
    }

    .featured-posts, .about-story, .expertise, .testimonials, .services-intro, .services-grid, .process, .cta-section, .contact-intro, .contact-content, .map-section, .faq-section {
        padding-left: 3%;
        padding-right: 3%;
    }

    .post img {
        width: 250px;
        height: 200px;
    }

    .story-image {
        margin-right: 20px;
    }

    .contact-form-container {
        margin-right: 20px;
    }
}

@media (max-width: 768px) {
    header {
        flex-direction: column;
        padding: 15px 3% 5px;
    }

    .logo {
        margin-bottom: 10px;
    }

    .typewriter {
        margin: 10px 0;
        text-align: center;
    }

    nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }

    nav ul li {
        margin: 5px;
    }

    .hero, .about-hero {
        flex-direction: column;
        text-align: center;
    }

    .hero-content, .about-content {
        margin-right: 0;
        margin-bottom: 40px;
    }

    .post {
        flex-direction: column;
    }

    .post img {
        width: 100%;
        height: 200px;
    }

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

    .story-image {
        margin-right: 0;
        margin-bottom: 20px;
    }

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

    .contact-form-container {
        margin-right: 0;
        margin-bottom: 40px;
    }

    #newsletter-form {
        flex-direction: column;
    }

    #newsletter-form input {
        border-radius: var(--border-radius);
        margin-bottom: 10px;
    }

    #newsletter-form button {
        border-radius: var(--border-radius);
    }

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

    .footer-legal {
        margin-top: 10px;
        justify-content: center;
    }

    .footer-legal a {
        margin: 5px 10px;
    }

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

    .prev-post, .next-post {
        max-width: 100%;
        margin: 0 0 20px 0;
    }

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

@media (max-width: 480px) {
    .post-grid {
        grid-template-columns: 1fr;
    }

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

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

    .cookie-buttons {
        display: flex;
        flex-direction: column;
    }

    .cookie-buttons button {
        margin: 5px 0;
    }

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

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

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