/* Base Styles */
:root {
    --primary-color: #2563eb;
    --primary-dark: #1d4ed8;
    --secondary-color: #10b981;
    --accent-color: #f59e0b;
    --dark-color: #1f2937;
    --light-color: #f9fafb;
    --gray-color: #6b7280;
    --light-gray: #e5e7eb;
    --body-font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    --heading-font: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    --transition: all 0.3s ease;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --border-radius: 8px;
    --content-width: 1200px;
}

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

html {
    scroll-behavior: smooth;
}

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

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

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

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

ul {
    list-style: none;
}

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

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

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

.btn-secondary {
    background-color: transparent;
    color: var(--dark-color);
    border: 1px solid var(--light-gray);
}

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

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

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1.5rem;
}

section {
    padding: 80px 0;
}

/* Header Styles */
header {
    background-color: white;
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

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

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

nav ul {
    display: flex;
}

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

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

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

.hamburger {
    display: none;
    cursor: pointer;
    width: 30px;
    height: 20px;
    position: relative;
    z-index: 1002;
}

.hamburger span {
    display: block;
    position: absolute;
    height: 3px;
    width: 100%;
    background: var(--dark-color);
    border-radius: 3px;
    transition: var(--transition);
}

.hamburger span:nth-child(1) {
    top: 0;
}

.hamburger span:nth-child(2) {
    top: 8px;
}

.hamburger span:nth-child(3) {
    top: 16px;
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('images/hero.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
    padding: 150px 0;
}

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

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Featured Posts Section */
.featured-posts {
    background-color: white;
}

.featured-posts h2 {
    text-align: center;
    margin-bottom: 50px;
}

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

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

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

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

.post-content {
    padding: 20px;
}

.post-content .date {
    color: var(--gray-color);
    font-size: 0.9rem;
    display: block;
    margin-bottom: 10px;
}

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

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

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

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

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

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

.newsletter h2,
.newsletter p {
    color: white;
}

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

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

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

.newsletter button {
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
    background-color: var(--accent-color);
    padding: 0 25px;
}

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

/* Tech Poll Section */
.tech-poll {
    background-color: #f3f4f6;
    padding: 70px 0;
}

.tech-poll h2 {
    text-align: center;
    margin-bottom: 40px;
}

.poll-container {
    max-width: 700px;
    margin: 0 auto;
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    padding: 30px;
}

.poll-container h3 {
    text-align: center;
    margin-bottom: 25px;
}

.poll-option {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.poll-option input[type="radio"] {
    margin-right: 10px;
}

.poll-results {
    margin-top: 30px;
    border-top: 1px solid var(--light-gray);
    padding-top: 20px;
}

.poll-results h4 {
    margin-bottom: 15px;
}

.result-bar {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
}

.result-bar .company {
    width: 100px;
    font-weight: 500;
}

.result-bar .bar {
    flex: 1;
    height: 20px;
    background-color: var(--light-gray);
    border-radius: 10px;
    overflow: hidden;
    margin: 0 15px;
}

.result-bar .fill {
    height: 100%;
    background-color: var(--primary-color);
    border-radius: 10px;
}

.result-bar .percentage {
    width: 50px;
    text-align: right;
    font-weight: 500;
}

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

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

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

.footer-logo p {
    color: #d1d5db;
}

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

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

.footer-links ul li a {
    color: #d1d5db;
}

.footer-links ul li a:hover {
    color: white;
}

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

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

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

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

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #9ca3af;
    font-size: 0.9rem;
}

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

.cookie-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: var(--content-width);
    margin: 0 auto;
    padding: 0 20px;
}

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

.cookie-buttons {
    display: flex;
    gap: 10px;
}

/* Page Header */
.page-header {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('images/page-header.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
    padding: 80px 0;
}

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

.page-header p {
    max-width: 600px;
    margin: 0 auto;
}

/* About Page Styles */
.about-section {
    background-color: white;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

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

.about-text h2 {
    margin-bottom: 20px;
}

.mission-section {
    background-color: #f3f4f6;
}

.mission-content h2 {
    text-align: center;
    margin-bottom: 50px;
}

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

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

.mission-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

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

.mission-card h3 {
    margin-bottom: 15px;
}

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

.team-section h2 {
    margin-bottom: 50px;
}

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

.team-member:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

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

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

.team-member p {
    color: var(--gray-color);
    padding: 0 15px;
    margin-bottom: 15px;
}

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

.team-member .social-icons {
    justify-content: center;
    margin-bottom: 20px;
}

.team-member .social-icons a {
    width: 35px;
    height: 35px;
    background-color: #f3f4f6;
    color: var(--dark-color);
}

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

.stats-section h2 {
    color: white;
    margin-bottom: 50px;
}

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

.stat-item .stat-number {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 10px;
}

.stat-item .stat-label {
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Blog Page Styles */
.blog-filter {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
    gap: 20px;
}

.search-bar {
    flex: 1;
    max-width: 400px;
    display: flex;
    border: 1px solid var(--light-gray);
    border-radius: var(--border-radius);
    overflow: hidden;
}

.search-bar input {
    flex: 1;
    padding: 10px 15px;
    border: none;
    font-size: 1rem;
}

.search-bar button {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 0 15px;
    cursor: pointer;
}

.category-filter select {
    padding: 10px 15px;
    border: 1px solid var(--light-gray);
    border-radius: var(--border-radius);
    font-size: 1rem;
    min-width: 200px;
}

.blog-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    margin-bottom: 50px;
}

.blog-post {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 30px;
    background-color: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.blog-post:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.blog-post .post-image {
    height: 100%;
}

.blog-post .post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

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

.post-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
}

.post-meta .date,
.post-meta .category {
    color: var(--gray-color);
    font-size: 0.9rem;
}

.post-meta .category {
    color: var(--primary-color);
}

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

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

.pagination a {
    background-color: white;
    color: var(--dark-color);
    border: 1px solid var(--light-gray);
}

.pagination a:hover {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

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

.pagination .dots {
    width: auto;
}

.pagination .next {
    width: auto;
    padding: 0 15px;
    border-radius: 20px;
}

/* Timeline Page Styles */
.timeline-intro {
    background-color: white;
    text-align: center;
}

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

.timeline-section {
    background-color: #f3f4f6;
    padding: 80px 0 100px;
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::after {
    content: '';
    position: absolute;
    width: 6px;
    background-color: var(--light-gray);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -3px;
}

.timeline-item {
    padding: 10px 40px;
    position: relative;
    width: 50%;
    left: 0;
    margin-bottom: 60px;
}

.timeline-item:nth-child(even) {
    left: 50%;
}

.timeline-dot {
    position: absolute;
    width: 20px;
    height: 20px;
    background-color: var(--primary-color);
    border-radius: 50%;
    top: 15px;
    right: -10px;
    z-index: 1;
}

.timeline-item:nth-child(even) .timeline-dot {
    left: -10px;
}

.timeline-date {
    position: absolute;
    top: 12px;
    right: -110px;
    font-weight: 700;
    color: var(--primary-color);
}

.timeline-item:nth-child(even) .timeline-date {
    left: -110px;
    text-align: right;
}

.timeline-content {
    padding: 20px;
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.timeline-content:hover {
    transform: scale(1.03);
    box-shadow: var(--shadow-md);
}

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

.timeline-content img {
    margin-top: 15px;
    border-radius: var(--border-radius);
}

.future-section {
    background-color: white;
}

.future-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

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

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

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

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

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

.info-item .icon {
    margin-right: 15px;
    color: var(--primary-color);
    flex-shrink: 0;
}

.info-content h3 {
    font-size: 1.1rem;
    margin-bottom: 5px;
}

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

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

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

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

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

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

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

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

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

.checkbox-group label {
    margin-bottom: 0;
    font-weight: normal;
    font-size: 0.9rem;
}

.form-submit {
    margin-top: 30px;
}

.map-section {
    background-color: #f3f4f6;
}

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

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

/* Modal Styles */
.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-content {
    background-color: white;
    border-radius: var(--border-radius);
    max-width: 500px;
    width: 90%;
    position: relative;
    animation: modalAnimation 0.3s ease;
}

@keyframes modalAnimation {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

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

.modal-body {
    padding: 40px;
    text-align: center;
}

.check-icon {
    color: var(--secondary-color);
    margin-bottom: 20px;
}

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

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

/* Single Post Styles */
.single-post {
    padding: 80px 0;
}

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

.post-header .post-meta {
    margin-bottom: 10px;
}

.post-header .post-meta .author {
    color: var(--gray-color);
    font-size: 0.9rem;
}

.featured-image {
    margin-bottom: 30px;
    border-radius: var(--border-radius);
    overflow: hidden;
}

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

.post-body h2,
.post-body h3 {
    margin-top: 40px;
}

.post-tags {
    display: flex;
    align-items: center;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--light-gray);
}

.post-tags span {
    font-weight: 600;
    margin-right: 10px;
}

.post-tags ul {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.post-tags ul li a {
    display: inline-block;
    padding: 5px 10px;
    background-color: #f3f4f6;
    border-radius: 30px;
    font-size: 0.9rem;
    color: var(--gray-color);
}

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

.author-box {
    display: flex;
    gap: 20px;
    background-color: #f9fafb;
    border-radius: var(--border-radius);
    padding: 30px;
    margin-bottom: 40px;
}

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

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

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

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

.post-navigation {
    border-top: 1px solid var(--light-gray);
    border-bottom: 1px solid var(--light-gray);
    padding: 20px 0;
    margin-bottom: 50px;
}

.nav-links {
    display: flex;
    justify-content: space-between;
}

.nav-previous,
.nav-next {
    max-width: 45%;
}

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

.nav-subtitle {
    display: block;
    font-size: 0.9rem;
    color: var(--gray-color);
    margin-bottom: 5px;
}

.nav-title {
    font-weight: 600;
}

.related-posts {
    margin-bottom: 50px;
}

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

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

.related-posts .post-content h4 {
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.comments-section h3 {
    margin-bottom: 30px;
}

.comment {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

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

.comment-content {
    flex: 1;
}

.comment-meta {
    margin-bottom: 10px;
}

.comment-author {
    font-weight: 600;
    margin-right: 10px;
}

.comment-date {
    color: var(--gray-color);
    font-size: 0.9rem;
}

.comment-text p {
    margin-bottom: 10px;
}

.comment-actions a {
    color: var(--gray-color);
    font-size: 0.9rem;
}

.comment-form {
    margin-top: 50px;
    background-color: #f9fafb;
    border-radius: var(--border-radius);
    padding: 30px;
}

.comment-form h4 {
    margin-bottom: 20px;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    h1 {
        font-size: 2.2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .hero h1 {
        font-size: 3rem;
    }
    
    .about-content,
    .future-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .timeline-dot {
        left: -10px;
    }
    
    .timeline-date {
        left: -110px;
        text-align: right;
    }
    
    .timeline-item,
    .timeline-item:nth-child(even) {
        width: 100%;
        left: 0;
        padding-left: 70px;
        padding-right: 0;
    }
    
    .timeline::after {
        left: 30px;
    }
    
    .blog-post {
        grid-template-columns: 1fr;
    }
    
    .blog-post .post-image {
        height: 250px;
    }
}

@media (max-width: 768px) {
    section {
        padding: 60px 0;
    }
    
    .hero {
        padding: 100px 0;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background-color: white;
        z-index: 1001;
        box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
        transition: var(--transition);
        padding: 80px 20px 20px;
    }
    
    nav.active {
        right: 0;
    }
    
    nav ul {
        flex-direction: column;
    }
    
    nav ul li {
        margin: 0 0 20px 0;
    }
    
    .hamburger {
        display: block;
    }
    
    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg);
        top: 8px;
    }
    
    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg);
        top: 8px;
    }
    
    .newsletter form {
        flex-direction: column;
    }
    
    .newsletter input,
    .newsletter button {
        width: 100%;
        border-radius: var(--border-radius);
    }
    
    .newsletter input {
        margin-bottom: 10px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .author-box {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .related-posts .post-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .blog-filter {
        flex-direction: column;
        align-items: stretch;
    }
    
    .search-bar {
        max-width: none;
    }
    
    .post-tags {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .post-tags span {
        margin-bottom: 10px;
    }
    
    .comment {
        flex-direction: column;
    }
    
    .comment-avatar {
        margin-bottom: 10px;
    }
}
