/* 
 * Dev Tools Nest - Main Stylesheet
 * A modern, responsive design with warm colors
 */

/* Base Styles & Variables */
:root {
    --primary-color: #e67e22;      /* Coral */
    --secondary-color: #3498db;    /* Sky Blue */
    --accent-color: #e74c3c;       /* Bright Coral/Red */
    --background-color: #f8f5f2;   /* Light Sand */
    --dark-background: #2c3e50;    /* Dark Blue */
    --text-color: #34495e;         /* Dark Blue-Gray */
    --light-text: #ecf0f1;         /* Off-White */
    --border-color: #eaeaea;       /* Light Gray */
    --success-color: #2ecc71;      /* Green */
    --warning-color: #f39c12;      /* Orange */
    --box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    --border-radius: 8px;
    --transition: all 0.3s ease;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: var(--background-color);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 6px;
    border: 3px solid var(--background-color);
}

::-webkit-scrollbar-thumb:hover {
    background: #d35400;
}

/* Reset & Base Elements */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Nunito', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--background-color);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Quicksand', sans-serif;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 1rem;
    color: var(--dark-background);
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
}

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

a:hover {
    color: #d35400;
}

img {
    max-width: 100%;
    height: auto;
    border-radius: var(--border-radius);
}

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

li {
    margin-bottom: 0.5rem;
}

button, .btn {
    cursor: pointer;
    display: inline-block;
    background-color: var(--primary-color);
    color: white;
    font-family: 'Quicksand', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    padding: 12px 24px;
    border: none;
    border-radius: var(--border-radius);
    transition: var(--transition);
    text-align: center;
}

button:hover, .btn:hover {
    background-color: #d35400;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.9rem;
}

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

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

.btn-full {
    width: 100%;
}

input, textarea, select {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    font-family: 'Nunito', sans-serif;
    font-size: 1rem;
    transition: var(--transition);
    margin-bottom: 1rem;
}

input:focus, textarea:focus, select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(230, 126, 34, 0.2);
}

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

section {
    padding: 80px 0;
}

/* Header & Navigation */
header {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.logo img {
    max-height: 50px;
    border-radius: 0;
}

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

nav ul li {
    margin: 0 0 0 30px;
}

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

nav ul li a:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    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);
}

/* Hero Section */
.hero {
    padding: 80px 0;
    background-color: #fef8f5;
}

.hero .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.hero-content {
    flex: 1;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: var(--dark-background);
}

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

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
}

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

/* Feature Grid Section */
.what-is-it, .how-it-works {
    background-color: white;
}

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

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

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

.feature-item .icon {
    margin-bottom: 20px;
}

.feature-item h3 {
    margin-bottom: 15px;
    color: var(--dark-background);
}

/* Steps Section */
.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.step {
    background-color: #fff;
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    position: relative;
    transition: var(--transition);
}

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

.step-number {
    position: absolute;
    top: -20px;
    left: 30px;
    width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 700;
}

/* Editor's Word Section */
.editors-word {
    background-color: var(--background-color);
}

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

.editor-image {
    flex: 0 0 150px;
}

.editor-image img {
    border-radius: 50%;
    border: 3px solid var(--primary-color);
}

.editor-text {
    flex: 1;
}

.editor-text blockquote {
    font-style: italic;
    position: relative;
    padding-left: 20px;
    border-left: 3px solid var(--primary-color);
    margin-bottom: 15px;
}

.editor-name {
    font-weight: 700;
    text-align: right;
    color: var(--primary-color);
}

/* Post Grid Section */
.post-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.post-card {
    background-color: 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 10px 30px rgba(0, 0, 0, 0.1);
}

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

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

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

.post-content {
    padding: 20px;
}

.post-meta {
    font-size: 0.9rem;
    color: #7f8c8d;
    margin-bottom: 10px;
}

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

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

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

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

.view-all-container {
    margin-top: 40px;
    text-align: center;
}

/* Testimonials Section */
.testimonials {
    background-color: #fef8f5;
}

.testimonial-slider {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

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

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

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

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

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

.testimonial-author p {
    font-size: 0.9rem;
    margin-bottom: 0;
    color: #7f8c8d;
}

/* CTA Section */
.cta {
    background-color: var(--dark-background);
    color: white;
    text-align: center;
}

.cta-content {
    max-width: 700px;
    margin: 0 auto;
}

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

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

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

.newsletter-form input {
    flex: 1;
    margin-right: 10px;
    margin-bottom: 0;
    border: none;
}

/* Footer */
footer {
    background-color: var(--dark-background);
    color: var(--light-text);
    padding: 60px 0 20px;
}

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

.footer-logo img {
    max-height: 50px;
    margin-bottom: 15px;
    border-radius: 0;
}

.footer-col h3 {
    color: white;
    margin-bottom: 20px;
    font-size: 1.2rem;
    position: relative;
}

.footer-col h3:after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--primary-color);
}

.footer-col p {
    color: #bdc3c7;
}

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

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

.footer-col ul li a {
    color: #bdc3c7;
    transition: var(--transition);
}

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

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

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    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 {
    fill: white;
    width: 18px;
    height: 18px;
}

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

.footer-bottom p {
    color: #bdc3c7;
    font-size: 0.9rem;
    margin-bottom: 0;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 800px;
    background-color: white;
    padding: 20px;
    border-radius: var(--border-radius);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    display: none;
}

.cookie-banner.show {
    display: block;
    animation: slidein 0.5s ease-out;
}

@keyframes slidein {
    from {
        bottom: -100px;
        opacity: 0;
    }
    to {
        bottom: 20px;
        opacity: 1;
    }
}

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

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

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

.cookie-content a {
    font-size: 0.9rem;
}

/* Page Header */
.page-header {
    background-color: var(--dark-background);
    color: white;
    text-align: center;
    padding: 60px 0;
}

.page-header h1 {
    color: white;
    margin-bottom: 10px;
}

.page-header p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Blog Post Styles */
.blog-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}

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

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

.blog-image {
    flex: 0 0 35%;
    position: relative;
    overflow: hidden;
}

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

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

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

.blog-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 0.9rem;
    color: #7f8c8d;
}

.blog-meta .date, .blog-meta .category {
    display: flex;
    align-items: center;
}

.blog-meta .date:before {
    content: '📅';
    margin-right: 5px;
}

.blog-meta .category:before {
    content: '🏷️';
    margin-right: 5px;
}

.blog-card-content h2 {
    margin-bottom: 15px;
    font-size: 1.5rem;
}

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

/* Newsletter Section */
.newsletter {
    background-color: #fef8f5;
    text-align: center;
}

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

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

.newsletter-content p {
    margin-bottom: 30px;
}

/* Blog Post Page */
.blog-post {
    padding-top: 60px;
}

.post-header {
    max-width: 900px;
    margin: 0 auto 40px;
    text-align: center;
}

.post-header .post-meta {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
    font-size: 0.95rem;
    color: #7f8c8d;
}

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

.featured-image {
    margin-bottom: 40px;
}

.featured-image img {
    width: 100%;
    max-height: 500px;
    object-fit: cover;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.post-content {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1rem;
    line-height: 1.8;
}

.post-content h2 {
    margin-top: 40px;
    margin-bottom: 20px;
}

.post-content .editors-word {
    margin: 40px 0;
    padding: 30px;
    background-color: #fef8f5;
    border-radius: var(--border-radius);
}

.post-content blockquote {
    font-style: italic;
    position: relative;
    padding: 20px;
    background-color: #f6f6f6;
    border-left: 3px solid var(--primary-color);
    margin: 30px 0;
}

.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 30px;
}

.tag {
    background-color: #f6f6f6;
    color: var(--text-color);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.9rem;
    transition: var(--transition);
}

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

.post-author {
    display: flex;
    align-items: center;
    gap: 30px;
    max-width: 800px;
    margin: 60px auto;
    padding: 30px;
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.author-avatar {
    flex: 0 0 100px;
}

.author-avatar img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 3px solid var(--primary-color);
}

.author-bio {
    flex: 1;
}

.author-bio h3 {
    margin-bottom: 5px;
    font-size: 1rem;
    color: #7f8c8d;
}

.author-bio h4 {
    margin-bottom: 10px;
    font-size: 1.3rem;
}

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

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

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

.social-links svg {
    fill: var(--text-color);
    transition: var(--transition);
}

.social-links a:hover svg {
    fill: white;
}

.post-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 800px;
    margin: 0 auto 60px;
    padding: 20px 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.back-to-blog {
    display: flex;
    align-items: center;
    font-weight: 600;
}

.back-to-blog svg {
    margin-right: 5px;
    fill: var(--primary-color);
}

.post-nav-links {
    display: flex;
    gap: 20px;
}

.prev-post, .next-post {
    display: flex;
    flex-direction: column;
    text-align: right;
}

.prev-post span:first-child, .next-post span:first-child {
    font-size: 0.9rem;
    color: #7f8c8d;
}

.prev-post span:last-child, .next-post span:last-child {
    font-weight: 600;
}

.related-posts {
    max-width: 800px;
    margin: 0 auto 60px;
}

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

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

.related-post {
    background-color: 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 10px 30px rgba(0, 0, 0, 0.1);
}

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

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

.related-post .post-meta {
    padding: 0 15px 15px;
    font-size: 0.8rem;
    color: #7f8c8d;
}

/* About Page Styles */
.about-mission, .about-story {
    background-color: white;
}

.mission-content, .story-content {
    display: flex;
    align-items: center;
    gap: 40px;
}

.mission-image, .story-image {
    flex: 0 0 45%;
}

.mission-text, .story-text {
    flex: 1;
}

.mission-text h2, .story-text h2 {
    margin-bottom: 20px;
}

.mission-text p, .story-text p {
    margin-bottom: 20px;
}

.team-section {
    background-color: var(--background-color);
    text-align: center;
}

.team-intro {
    max-width: 700px;
    margin: 0 auto 40px;
}

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

.team-member {
    background-color: 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 10px 30px rgba(0, 0, 0, 0.1);
}

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

.team-member h3 {
    margin: 20px 0 5px;
}

.team-member p {
    padding: 0 20px;
    margin-bottom: 20px;
}

.team-member p:nth-of-type(1) {
    color: var(--primary-color);
    font-weight: 600;
}

.values {
    background-color: white;
    text-align: center;
}

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

.value-item {
    background-color: var(--background-color);
    padding: 30px;
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.value-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow);
}

.value-icon {
    margin-bottom: 20px;
}

.value-item h3 {
    margin-bottom: 15px;
}

/* Contact Page Styles */
.contact-content {
    background-color: white;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-info {
    padding-right: 30px;
}

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

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

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

.info-icon {
    flex: 0 0 60px;
}

.info-item h3 {
    margin-bottom: 10px;
}

.info-item address, .info-item p {
    margin-bottom: 0;
    font-style: normal;
}

.social-connect {
    margin-top: 40px;
}

.social-connect h3 {
    margin-bottom: 15px;
}

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

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

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

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

.checkbox-container {
    display: flex;
    align-items: center;
    gap: 10px;
}

.checkbox-container input[type="checkbox"] {
    width: auto;
    margin-bottom: 0;
}

.map-section {
    background-color: var(--background-color);
    text-align: center;
}

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

.map-container img {
    width: 100%;
    border-radius: 0;
    display: block;
}

.faq {
    background-color: white;
}

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

.faq-item {
    background-color: var(--background-color);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.faq-item h3 {
    margin-bottom: 15px;
    color: var(--primary-color);
}

.faq-item p {
    margin-bottom: 0;
}

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

.modal.show {
    display: flex;
    animation: fadeIn 0.3s;
}

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

.modal-content {
    background-color: white;
    padding: 30px;
    border-radius: var(--border-radius);
    max-width: 500px;
    width: 90%;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    position: relative;
}

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

.modal-body {
    text-align: center;
}

.success-icon {
    margin-bottom: 20px;
}

.modal-body h2 {
    margin-bottom: 15px;
}

.modal-body p {
    margin-bottom: 20px;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .hero .container {
        flex-direction: column;
    }
    
    .mission-content, .story-content {
        flex-direction: column;
    }
    
    .mission-image, .story-image {
        order: -1;
        margin-bottom: 30px;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-info {
        padding-right: 0;
        margin-bottom: 30px;
    }
    
    .blog-card {
        flex-direction: column;
    }
    
    .blog-image {
        height: 250px;
    }
    
    .related-posts-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    header .container {
        flex-direction: column;
    }
    
    .logo {
        margin-bottom: 15px;
    }
    
    nav ul {
        justify-content: center;
    }
    
    nav ul li {
        margin: 0 15px;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .newsletter-form input {
        margin-right: 0;
        margin-bottom: 10px;
    }
    
    .post-header h1 {
        font-size: 2.2rem;
    }
    
    .post-author {
        flex-direction: column;
        text-align: center;
    }
    
    .author-avatar {
        margin-bottom: 20px;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .post-navigation {
        flex-direction: column;
        gap: 20px;
    }
    
    .post-nav-links {
        width: 100%;
        justify-content: space-between;
    }
    
    .editor-content {
        flex-direction: column;
        text-align: center;
    }
    
    .editor-text blockquote {
        padding: 15px;
        border-left: none;
        border-top: 3px solid var(--primary-color);
    }
}

@media (max-width: 576px) {
    section {
        padding: 60px 0;
    }
    
    nav ul {
        flex-wrap: wrap;
    }
    
    nav ul li {
        margin: 10px 15px;
    }
    
    .post-header .post-meta {
        flex-direction: column;
        gap: 5px;
    }
}
