/* Base Styles */
:root {
    --primary-color: #4a6fa5;
    --secondary-color: #e67e22;
    --accent-color: #3498db;
    --dark-color: #2c3e50;
    --light-color: #ecf0f1;
    --text-color: #333333;
    --text-light: #7f8c8d;
    --success-color: #27ae60;
    --warning-color: #e74c3c;
    --border-color: #dcdfe6;
    --background-light: #f8f9fa;
    --background-dark: #2c3e50;
    --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
    --border-radius: 4px;
    --container-width: 1200px;
    --header-height: 80px;
}

* {
    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: #fff;
}

html {
    scroll-behavior: smooth;
}

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

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

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

ul, ol {
    list-style: none;
}

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

p {
    margin-bottom: 1.5rem;
}

.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

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

.btn:hover {
    background-color: var(--secondary-color);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

section {
    padding: 5rem 0;
}

/* Header & Navigation */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: var(--transition);
    height: var(--header-height);
    display: flex;
    align-items: center;
}

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

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

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

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

nav ul {
    display: flex;
}

nav ul li {
    margin-left: 1.5rem;
}

nav ul li a {
    font-weight: 500;
    padding: 0.5rem;
    color: var(--dark-color);
}

nav ul li a:hover,
nav ul li a.active {
    color: var(--primary-color);
    border-bottom: 2px solid var(--primary-color);
}

.hamburger-menu {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: var(--dark-color);
    margin: 3px 0;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    height: 90vh;
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('images/hero.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    color: white;
    text-align: center;
    margin-top: var(--header-height);
}

.hero .container {
    max-width: 800px;
}

.hero h2 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: white;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

/* Editor's Note Section */
.editor-note {
    background-color: var(--background-light);
}

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

.note-content img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
}

.note-text {
    flex: 1;
}

/* Featured Posts */
.featured-posts h2 {
    text-align: center;
    margin-bottom: 3rem;
}

.posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
}

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

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

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

.post-content {
    padding: 1.5rem;
}

.post-content h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

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

.read-more {
    font-weight: 500;
    color: var(--primary-color);
}

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

.view-all {
    text-align: center;
    margin-top: 3rem;
}

/* Services Section */
.services {
    background-color: var(--background-light);
}

.services h2 {
    text-align: center;
    margin-bottom: 3rem;
}

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

.service {
    text-align: center;
    padding: 1.5rem;
    border-radius: 8px;
    background-color: white;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

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

.service img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 4px;
    margin-bottom: 1rem;
}

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

.service p {
    color: var(--text-light);
}

/* Testimonials Section */
.testimonials h2 {
    text-align: center;
    margin-bottom: 3rem;
}

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

.testimonial {
    background-color: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: var(--box-shadow);
    text-align: center;
}

.testimonial p {
    font-style: italic;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.client {
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.client h4 {
    margin-bottom: 0.2rem;
    font-weight: 600;
}

.client p {
    margin-bottom: 0;
    color: var(--text-light);
    font-style: normal;
}

/* Footer */
footer {
    background-color: var(--background-dark);
    color: white;
    padding: 4rem 0 2rem;
}

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

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

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

.footer-logo h3 {
    color: white;
    margin-bottom: 0.5rem;
}

.footer-links h4, 
.footer-contact h4,
.footer-social h4 {
    color: white;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.footer-links ul li {
    margin-bottom: 0.5rem;
}

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

.footer-links ul li a:hover {
    color: var(--secondary-color);
}

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

.footer-contact p i {
    margin-right: 0.5rem;
}

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

.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(-5px);
}

.copyright {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--background-dark);
    color: white;
    padding: 1rem 0;
    z-index: 1000;
    display: none;
}

.cookie-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

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

.cookie-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

.cookie-buttons button {
    padding: 0.5rem 1rem;
    background-color: transparent;
    border: 1px solid white;
    color: white;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
}

.cookie-buttons .accept-cookies {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

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

.cookie-buttons a {
    color: var(--light-color);
    text-decoration: underline;
    align-self: center;
}

/* Blog Page Styles */
.page-banner {
    background-color: var(--primary-color);
    color: white;
    text-align: center;
    padding: 8rem 0 4rem;
    margin-top: var(--header-height);
}

.page-banner h2 {
    color: white;
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.blog-content {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
}

.blog-posts {
    flex: 3;
}

.blog-sidebar {
    flex: 1;
}

.blog-post {
    display: flex;
    margin-bottom: 3rem;
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

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

.blog-post .post-content {
    padding: 2rem;
    flex: 1;
}

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

.post-meta span {
    margin-right: 1.5rem;
}

.sidebar-widget {
    background-color: white;
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    box-shadow: var(--box-shadow);
}

.sidebar-widget h3 {
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--border-color);
}

.categories ul li {
    margin-bottom: 0.5rem;
    display: flex;
    justify-content: space-between;
}

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

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

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

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

.newsletter p {
    margin-bottom: 1rem;
}

.newsletter form {
    display: flex;
    flex-direction: column;
}

.newsletter input {
    padding: 0.8rem;
    margin-bottom: 1rem;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
}

/* Blog Post Page */
.blog-post-container {
    margin-top: var(--header-height);
    padding: 4rem 0;
}

.blog-post-full {
    background-color: white;
    border-radius: 8px;
    box-shadow: var(--box-shadow);
    overflow: hidden;
    margin-bottom: 2rem;
}

.post-header {
    padding: 2rem 2rem 0;
}

.post-header h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.featured-image {
    width: 100%;
    height: 500px;
    object-fit: cover;
    margin-bottom: 2rem;
}

.post-content {
    padding: 0 2rem 2rem;
}

.post-content h2 {
    font-size: 1.8rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.post-content h3 {
    font-size: 1.4rem;
    margin-top: 1.5rem;
    margin-bottom: 0.8rem;
}

.post-content ul, 
.post-content ol {
    margin-left: 1.5rem;
    margin-bottom: 1.5rem;
}

.post-content ul li,
.post-content ol li {
    margin-bottom: 0.5rem;
    list-style-type: disc;
}

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

.inline-image {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 2rem 0;
}

.post-tags {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    padding: 1rem 2rem;
    background-color: var(--background-light);
    border-top: 1px solid var(--border-color);
}

.post-tags span {
    margin-right: 1rem;
    font-weight: 600;
}

.post-tags a {
    display: inline-block;
    padding: 0.3rem 0.8rem;
    background-color: rgba(74, 111, 165, 0.1);
    border-radius: 20px;
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    color: var(--primary-color);
}

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

.author-bio {
    display: flex;
    padding: 2rem;
    background-color: var(--background-light);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.author-bio img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin-right: 1.5rem;
    object-fit: cover;
}

.author-bio h3 {
    margin-bottom: 0.5rem;
}

.author-bio p {
    margin-bottom: 0;
}

.post-navigation {
    display: flex;
    justify-content: space-between;
    padding: 2rem;
    background-color: white;
    border-bottom: 1px solid var(--border-color);
}

.prev-post, .next-post {
    max-width: 45%;
}

.prev-post span, .next-post span {
    display: block;
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 0.3rem;
}

.related-posts {
    padding: 2rem;
    background-color: white;
}

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

.related-posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1.5rem;
}

.related-post img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 0.8rem;
}

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

.comments-section {
    padding: 2rem;
    background-color: white;
    border-top: 1px solid var(--border-color);
}

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

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

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

.comment img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin-right: 1.5rem;
    object-fit: cover;
}

.comment-content {
    flex: 1;
}

.comment-meta {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.8rem;
}

.comment-meta h4 {
    margin-bottom: 0;
}

.comment-meta span {
    color: var(--text-light);
    font-size: 0.9rem;
}

.comment p {
    margin-bottom: 0.8rem;
}

.reply-btn {
    background-color: transparent;
    border: none;
    color: var(--primary-color);
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 500;
}

.reply-btn:hover {
    color: var(--secondary-color);
}

.add-comment {
    margin-top: 3rem;
}

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

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

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

.about-author {
    text-align: center;
}

.about-author img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin: 0 auto 1rem;
    object-fit: cover;
}

.about-author h3 {
    margin-bottom: 0.5rem;
}

.about-author p {
    margin-bottom: 1rem;
}

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

/* Portfolio Page */
.portfolio-filters {
    text-align: center;
    margin-bottom: 3rem;
}

.filter-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.filter-btn {
    padding: 0.5rem 1.2rem;
    background-color: transparent;
    border: 1px solid var(--border-color);
    border-radius: 20px;
    cursor: pointer;
    transition: var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

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

.gallery-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    height: 300px;
}

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

.item-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1.5rem;
    opacity: 0;
    transition: var(--transition);
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-item:hover .item-overlay {
    opacity: 1;
}

.item-overlay h3 {
    color: white;
    margin-bottom: 0.3rem;
}

.item-overlay p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1rem;
}

.view-project {
    align-self: flex-start;
    padding: 0.5rem 1rem;
    background-color: var(--primary-color);
    color: white;
    border-radius: 20px;
    font-size: 0.9rem;
}

.view-project:hover {
    background-color: var(--secondary-color);
    color: white;
}

.cta-section {
    background-color: var(--primary-color);
    color: white;
    text-align: center;
    padding: 4rem 0;
}

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

.cta-section p {
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-section .btn {
    background-color: white;
    color: var(--primary-color);
}

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

/* About Page */
.about-story {
    padding-top: 3rem;
}

.about-content {
    display: flex;
    gap: 3rem;
    align-items: center;
}

.about-image {
    flex: 1;
}

.about-image img {
    border-radius: 8px;
    width: 100%;
}

.about-text {
    flex: 1;
}

.about-text h2 {
    margin-bottom: 1.5rem;
}

.approach-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.approach-item {
    text-align: center;
    padding: 2rem;
    background-color: white;
    border-radius: 8px;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

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

.approach-icon {
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.approach-item h3 {
    margin-bottom: 1rem;
}

.team-section {
    background-color: var(--background-light);
}

.section-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
}

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

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

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

.team-member h3 {
    margin: 1.5rem 0 0.3rem;
    padding: 0 1.5rem;
}

.team-member p {
    padding: 0 1.5rem;
    margin-bottom: 0.5rem;
}

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

.team-member .social-links {
    padding: 0 1.5rem 1.5rem;
}

.testimonials-section {
    padding: 5rem 0;
}

.testimonials-section h2 {
    text-align: center;
    margin-bottom: 3rem;
}

.quote-icon {
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

/* Contact Page */
.contact-content {
    padding-top: 3rem;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(500px, 1fr));
    gap: 3rem;
}

.contact-info h3,
.contact-form h3 {
    margin-bottom: 1.5rem;
}

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

.info-icon {
    margin-right: 1rem;
    color: var(--primary-color);
}

.info-text h4 {
    margin-bottom: 0.3rem;
}

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

.contact-form form {
    background-color: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: var(--box-shadow);
}

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

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

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

.form-group.checkbox label {
    margin-bottom: 0;
    font-weight: normal;
}

.map-section {
    padding-top: 5rem;
}

.map-section h3 {
    text-align: center;
    margin-bottom: 2rem;
}

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

.faq-section {
    padding-top: 5rem;
}

.faq-section h3 {
    text-align: center;
    margin-bottom: 3rem;
}

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

.faq-item {
    margin-bottom: 1.5rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
}

.faq-question {
    padding: 1rem 1.5rem;
    background-color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.faq-question h4 {
    margin-bottom: 0;
}

.toggle-icon {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.faq-answer {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-answer p {
    padding: 1rem 0;
    margin-bottom: 0;
}

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

.modal-content {
    background-color: white;
    padding: 2rem;
    border-radius: 8px;
    max-width: 500px;
    width: 90%;
    text-align: center;
    position: relative;
}

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

.success-icon {
    color: var(--success-color);
    margin-bottom: 1.5rem;
}

.modal-content h3 {
    margin-bottom: 1rem;
}

.modal-content p {
    margin-bottom: 2rem;
}

/* Responsive Styles */
@media (max-width: 1200px) {
    .container {
        padding: 0 1rem;
    }
    
    .blog-content {
        flex-direction: column;
    }
    
    .blog-sidebar {
        order: -1;
    }
    
    .sidebar-widget {
        margin-bottom: 1.5rem;
    }
}

@media (max-width: 992px) {
    :root {
        --header-height: 70px;
    }
    
    .hero h2 {
        font-size: 2.5rem;
    }
    
    .about-content {
        flex-direction: column;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    :root {
        --header-height: 60px;
    }
    
    nav {
        position: fixed;
        top: var(--header-height);
        left: -100%;
        width: 100%;
        height: calc(100vh - var(--header-height));
        background-color: white;
        transition: 0.3s;
        z-index: 999;
    }
    
    nav.active {
        left: 0;
    }
    
    nav ul {
        flex-direction: column;
        align-items: center;
        padding: 2rem 0;
    }
    
    nav ul li {
        margin: 1rem 0;
    }
    
    .hamburger-menu {
        display: flex;
    }
    
    .hamburger-menu.active .bar:nth-child(1) {
        transform: rotate(-45deg) translate(-5px, 6px);
    }
    
    .hamburger-menu.active .bar:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger-menu.active .bar:nth-child(3) {
        transform: rotate(45deg) translate(-5px, -6px);
    }
    
    .hero {
        height: 70vh;
    }
    
    .hero h2 {
        font-size: 2rem;
    }
    
    .note-content {
        flex-direction: column;
        text-align: center;
    }
    
    .note-content img {
        margin: 0 auto 1.5rem;
    }
    
    .blog-post {
        flex-direction: column;
    }
    
    .blog-post img {
        width: 100%;
        height: 200px;
    }
    
    .post-navigation {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .prev-post, .next-post {
        max-width: 100%;
    }
}

@media (max-width: 576px) {
    :root {
        --header-height: 50px;
    }
    
    .hero {
        height: 60vh;
    }
    
    .hero h2 {
        font-size: 1.8rem;
    }
    
    .featured-image {
        height: 300px;
    }
    
    .post-header h1 {
        font-size: 1.8rem;
    }
    
    .author-bio {
        flex-direction: column;
        text-align: center;
    }
    
    .author-bio img {
        margin: 0 auto 1.5rem;
    }
    
    .comment {
        flex-direction: column;
    }
    
    .comment img {
        margin: 0 auto 1rem;
    }
    
    .comment-meta {
        flex-direction: column;
        align-items: center;
    }
    
    .comment.reply {
        margin-left: 1.5rem;
    }
}
