/* Base Styles and Variables */
:root {
    --primary-color: #4a6fa0;
    --primary-dark: #345784;
    --primary-light: #7995c0;
    --secondary-color: #e87e54;
    --secondary-dark: #d1663c;
    --secondary-light: #f5a487;
    --text-color: #333333;
    --text-light: #666666;
    --background: #ffffff;
    --background-alt: #f9f9f9;
    --border-color: #e0e0e0;
    --success-color: #4CAF50;
    --error-color: #F44336;
    --warning-color: #FF9800;
    --font-primary: 'Nunito Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    --font-headings: 'Playfair Display', Georgia, 'Times New Roman', serif;
    --box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
    --border-radius: 8px;
    --container-max-width: 1200px;
    --container-padding: 0 20px;
    --header-height: 80px;
}

/* Reset & Base HTML */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 62.5%; /* 10px = 1rem */
    scroll-behavior: smooth;
}

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

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

h1 {
    font-size: 3.6rem;
}

h2 {
    font-size: 2.8rem;
}

h3 {
    font-size: 2.2rem;
}

p {
    margin-bottom: 1.5rem;
}

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

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

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

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

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

button:hover, .btn:hover {
    background-color: var(--primary-dark);
    color: white;
}

.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;
}

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

section {
    padding: 6rem 0;
}

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

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

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

.logo a {
    display: flex;
    align-items: center;
    color: var(--text-color);
    font-weight: 700;
    font-size: 2rem;
}

.logo img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin-right: 1rem;
}

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

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

nav ul li a {
    color: var(--text-color);
    font-weight: 600;
    position: relative;
    padding-bottom: 0.5rem;
}

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

nav ul li a.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--primary-color);
}

.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    cursor: pointer;
}

.hamburger span {
    height: 2px;
    width: 100%;
    background-color: var(--text-color);
    border-radius: 2px;
    transition: var(--transition);
}

/* Main Content Spacing */
main {
    padding-top: var(--header-height);
}

/* Hero Section */
.hero {
    padding: 8rem 0;
    background-color: var(--background-alt);
    position: relative;
    overflow: hidden;
}

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

.hero-content {
    flex: 1;
    max-width: 55%;
}

.hero h1 {
    font-size: 4.2rem;
    margin-bottom: 2rem;
    line-height: 1.2;
}

.hero p {
    font-size: 1.8rem;
    margin-bottom: 3rem;
    color: var(--text-light);
}

.hero-image {
    flex: 1;
    margin-left: 4rem;
    text-align: right;
}

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

/* Welcome Languages Section */
.welcome-languages {
    background-color: white;
    padding: 4rem 0;
}

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

.language-greetings {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
}

.greeting {
    padding: 1.5rem 2.5rem;
    background-color: var(--background-alt);
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.greeting:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

.greeting span {
    display: block;
    font-size: 1.4rem;
    color: var(--text-light);
    margin-top: 0.5rem;
}

/* Featured Posts Section */
.featured-posts {
    padding: 6rem 0;
    background-color: var(--background);
}

.featured-posts h2 {
    text-align: center;
    margin-bottom: 4rem;
}

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

.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 12px 20px rgba(0, 0, 0, 0.1);
}

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

.post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.post-content {
    padding: 2rem;
}

.post-content h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

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

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

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

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

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

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

/* Art Timeline Section */
.art-timeline {
    padding: 6rem 0;
    background-color: var(--background-alt);
}

.art-timeline h2 {
    text-align: center;
    margin-bottom: 4rem;
}

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

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 2px;
    background-color: var(--primary-light);
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    margin-bottom: 4rem;
}

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

.timeline-content {
    background-color: white;
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--box-shadow);
    width: calc(50% - 3rem);
    position: relative;
}

.timeline-item:nth-child(odd) .timeline-content {
    margin-left: auto;
}

.timeline-item:nth-child(even) .timeline-content {
    margin-right: auto;
}

.timeline-content h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.timeline-content p {
    margin-bottom: 0;
}

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

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

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

.newsletter p {
    font-size: 1.8rem;
    margin-bottom: 3rem;
    opacity: 0.9;
}

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

.newsletter-form input {
    flex: 1;
    padding: 1.2rem 1.5rem;
    border-radius: var(--border-radius);
    border: none;
    font-size: 1.6rem;
}

.newsletter-form button {
    background-color: var(--secondary-color);
    color: white;
    border: none;
    padding: 0 2.5rem;
}

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

/* Footer */
footer {
    background-color: #1e2a3a;
    color: white;
    padding: 5rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr repeat(3, 1fr);
    gap: 3rem;
    margin-bottom: 4rem;
}

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

.footer-logo p {
    opacity: 0.8;
}

.footer-links h3, .footer-social h3 {
    color: white;
    font-size: 1.8rem;
    margin-bottom: 2rem;
    position: relative;
}

.footer-links h3::after, .footer-social h3::after {
    content: '';
    position: absolute;
    bottom: -0.8rem;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--primary-light);
}

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

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

.footer-links ul li a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}

.footer-links ul li a:hover {
    color: white;
    padding-left: 5px;
}

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

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

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 1.4rem;
    opacity: 0.7;
}

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

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

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.cookie-content p {
    flex: 1 1 100%;
    margin-bottom: 1.5rem;
}

.cookie-buttons {
    display: flex;
    gap: 1rem;
}

.btn-accept {
    background-color: var(--success-color);
}

.btn-accept:hover {
    background-color: #3d8c40;
}

.btn-customize {
    background-color: var(--warning-color);
}

.btn-customize:hover {
    background-color: #e08600;
}

.btn-decline {
    background-color: var(--error-color);
}

.btn-decline:hover {
    background-color: #d32f2f;
}

.cookie-more {
    margin-left: 1rem;
    text-decoration: underline;
}

/* Page Header (for inner pages) */
.page-header {
    background-color: var(--background-alt);
    padding: 5rem 0;
    text-align: center;
}

.page-header h1 {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.page-header p {
    font-size: 1.8rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

/* Blog Page Styles */
.blog-grid {
    display: flex;
    flex-direction: column;
    gap: 4rem;
    margin-bottom: 4rem;
}

.blog-card {
    display: flex;
    flex-direction: column;
    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 12px 20px rgba(0, 0, 0, 0.1);
}

.blog-image {
    height: 350px;
    overflow: hidden;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.blog-details {
    padding: 3rem;
}

.blog-meta {
    display: flex;
    gap: 2rem;
    margin-bottom: 1.5rem;
    font-size: 1.4rem;
}

.blog-meta .date, .blog-meta .category {
    color: var(--text-light);
}

.blog-meta .category {
    background-color: var(--primary-light);
    color: white;
    padding: 0.3rem 1rem;
    border-radius: 2rem;
}

.blog-details h2 {
    font-size: 2.4rem;
    margin-bottom: 1.5rem;
}

.blog-details p {
    margin-bottom: 2rem;
}

/* Blog Post Styles */
.blog-post {
    padding: 5rem 0;
}

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

.post-meta {
    display: flex;
    gap: 2rem;
    margin-bottom: 1.5rem;
    font-size: 1.6rem;
}

.post-category {
    background-color: var(--primary-light);
    color: white;
    padding: 0.3rem 1rem;
    border-radius: 2rem;
}

.post-date, .post-author {
    color: var(--text-light);
}

.featured-image {
    margin-bottom: 3rem;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.featured-image img {
    width: 100%;
    height: auto;
}

.post-content {
    margin-bottom: 4rem;
}

.post-intro {
    font-size: 1.8rem;
    color: var(--text-color);
    line-height: 1.7;
    margin-bottom: 2.5rem;
}

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

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

.post-content p {
    margin-bottom: 1.8rem;
}

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

.post-content li {
    margin-bottom: 0.8rem;
}

.post-image {
    margin: 3rem 0;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.post-image img {
    width: 100%;
    height: auto;
}

.image-caption {
    display: block;
    text-align: center;
    font-size: 1.4rem;
    color: var(--text-light);
    padding: 1rem;
    background-color: var(--background-alt);
}

blockquote {
    border-left: 4px solid var(--primary-color);
    padding-left: 2rem;
    margin: 3rem 0;
    font-style: italic;
    color: var(--text-color);
    font-size: 1.8rem;
}

blockquote cite {
    display: block;
    margin-top: 1rem;
    font-size: 1.6rem;
    font-style: normal;
    color: var(--text-light);
}

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

.post-tags span {
    font-weight: 600;
}

.post-tags a {
    background-color: var(--background-alt);
    padding: 0.5rem 1.5rem;
    border-radius: 2rem;
    font-size: 1.4rem;
    color: var(--text-color);
    transition: var(--transition);
}

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

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

.post-share span {
    font-weight: 600;
}

.post-share a {
    color: var(--text-light);
    transition: var(--transition);
}

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

.author-box {
    display: flex;
    gap: 2rem;
    background-color: var(--background-alt);
    padding: 2.5rem;
    border-radius: var(--border-radius);
    margin-bottom: 4rem;
}

.author-image {
    flex-shrink: 0;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
}

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

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

.author-role {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 1rem;
}

.author-social {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.author-social a {
    color: var(--text-light);
    transition: var(--transition);
}

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

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

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 3rem;
    margin-bottom: 4rem;
}

.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 12px 20px rgba(0, 0, 0, 0.1);
}

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

.related-post h3 {
    padding: 1.5rem 1.5rem 0;
    font-size: 1.8rem;
}

.related-post p {
    padding: 0 1.5rem 1.5rem;
    font-size: 1.4rem;
    color: var(--text-light);
}

.post-comments h2 {
    margin-bottom: 3rem;
}

.comment-form {
    max-width: 800px;
}

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

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

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

.form-group textarea {
    resize: vertical;
}

/* About Page Styles */
.about-mission {
    padding: 6rem 0;
}

.about-content {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 4rem;
    align-items: center;
}

.about-text h2 {
    margin-top: 0;
}

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

.team-section {
    padding: 6rem 0;
    background-color: var(--background-alt);
}

.team-section h2, .team-intro {
    text-align: center;
}

.team-intro {
    max-width: 700px;
    margin: 0 auto 4rem;
    font-size: 1.8rem;
    color: var(--text-light);
}

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

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

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

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

.team-member h3 {
    margin: 1.5rem 0 0.5rem;
    font-size: 2rem;
}

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

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

.member-social {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    padding: 0 1.5rem 2rem;
}

.member-social a {
    color: var(--text-light);
}

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

.partners-section {
    padding: 6rem 0;
}

.partners-section h2, .partners-section > p {
    text-align: center;
    margin-bottom: 4rem;
}

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

.partner {
    text-align: center;
}

.partner img {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    box-shadow: var(--box-shadow);
}

.partner h3 {
    font-size: 1.8rem;
}

/* Contact Page Styles */
.contact-section {
    padding: 6rem 0;
}

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

.contact-info h2, .contact-form h2 {
    margin-top: 0;
    margin-bottom: 2.5rem;
}

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

.icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1.5rem;
    color: white;
    flex-shrink: 0;
}

.details h3 {
    margin-bottom: 0.5rem;
    font-size: 1.8rem;
}

.social-connect {
    margin-top: 4rem;
}

.social-connect h3 {
    margin-bottom: 1.5rem;
}

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

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

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

.btn-submit {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 1.2rem 3rem;
    font-size: 1.6rem;
}

.map-section {
    padding: 6rem 0;
    background-color: var(--background-alt);
}

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

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

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

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

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

.close-modal {
    position: absolute;
    top: 2rem;
    right: 2rem;
    font-size: 2.4rem;
    cursor: pointer;
    color: var(--text-light);
    transition: var(--transition);
}

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

.modal-icon {
    width: 80px;
    height: 80px;
    background-color: var(--success-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    color: white;
}

.modal-content h2 {
    margin-bottom: 1.5rem;
}

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

/* Responsive Styles */
@media (max-width: 1200px) {
    html {
        font-size: 60%;
    }

    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    html {
        font-size: 58%;
    }

    .hero .container {
        flex-direction: column;
    }

    .hero-content {
        max-width: 100%;
        text-align: center;
    }

    .hero-image {
        margin-left: 0;
        margin-top: 3rem;
    }

    .about-content {
        grid-template-columns: 1fr;
    }

    .about-image {
        order: -1;
    }

    .timeline::before {
        left: 30px;
    }

    .timeline-dot {
        left: 30px;
    }

    .timeline-content {
        width: calc(100% - 6rem);
        margin-left: 6rem !important;
    }

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

@media (max-width: 768px) {
    html {
        font-size: 56%;
    }

    nav {
        position: fixed;
        top: var(--header-height);
        left: 0;
        right: 0;
        background-color: white;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
        padding: 2rem;
        clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
        transition: var(--transition);
    }

    nav.active {
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    }

    nav ul {
        flex-direction: column;
        gap: 2rem;
    }

    nav ul li {
        margin-left: 0;
    }

    .hamburger {
        display: flex;
    }

    .hamburger.active span:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }

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

    .cookie-content {
        flex-direction: column;
        align-items: flex-start;
    }

    .cookie-buttons {
        flex-wrap: wrap;
    }

    .cookie-more {
        margin-left: 0;
        margin-top: 1rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 4rem;
    }

    .blog-card {
        flex-direction: column;
    }
}

@media (max-width: 576px) {
    html {
        font-size: 54%;
    }

    h1 {
        font-size: 3.2rem;
    }

    h2 {
        font-size: 2.6rem;
    }

    .hero h1 {
        font-size: 3.6rem;
    }

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

    .post-meta {
        flex-direction: column;
        gap: 0.5rem;
        align-items: flex-start;
    }

    .post-share {
        flex-wrap: wrap;
    }

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

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