/* Base styles and variables */
:root {
    --color-primary: #6247aa;
    --color-primary-dark: #4a3580;
    --color-secondary: #ff9e4f;
    --color-secondary-dark: #e48a3e;
    --color-accent: #ff4a76;
    --color-text: #222832;
    --color-text-light: #455268;
    --color-background: #ffffff;
    --color-background-alt: #f7f9fc;
    --color-border: #e2e8f0;
    --color-white: #ffffff;
    --color-success: #42b883;
    --color-error: #ff5252;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    --font-serif: 'Playfair Display', Georgia, Cambria, 'Times New Roman', Times, serif;
    --font-mono: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --transition-base: all 0.3s ease;
    --max-width: 1200px;
    --header-height: 80px;
}

body.dark-theme {
    --color-primary: #8468d9;
    --color-primary-dark: #6247aa;
    --color-secondary: #ffb87f;
    --color-secondary-dark: #ff9e4f;
    --color-accent: #ff6e9a;
    --color-text: #e1e7f4;
    --color-text-light: #b4bfd1;
    --color-background: #0f172a;
    --color-background-alt: #1e293b;
    --color-border: #334155;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.4);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.3), 0 2px 4px -1px rgba(0, 0, 0, 0.2);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.4), 0 4px 6px -2px rgba(0, 0, 0, 0.2);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.4), 0 10px 10px -5px rgba(0, 0, 0, 0.2);
}

/* Reset and global styles */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 62.5%;
    scroll-behavior: smooth;
}

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

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

h1 {
    font-size: 4.2rem;
}

h2 {
    font-size: 3.2rem;
}

h3 {
    font-size: 2.4rem;
}

p {
    margin-bottom: 2rem;
}

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

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

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

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

.btn {
    display: inline-block;
    padding: 1.2rem 2.4rem;
    background-color: var(--color-primary);
    color: var(--color-white);
    border: none;
    border-radius: 4px;
    font-weight: 600;
    font-size: 1.6rem;
    text-align: center;
    cursor: pointer;
    transition: var(--transition-base);
    text-decoration: none;
}

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

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

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

/* Header & Navigation */
header {
    height: var(--header-height);
    width: 100%;
    background-color: var(--color-background);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 100;
    transition: var(--transition-base);
}

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

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

.logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
}

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

.logo span {
    font-family: var(--font-serif);
    font-size: 2.4rem;
    font-weight: 700;
    color: var(--color-primary);
}

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

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

nav ul li a {
    font-size: 1.6rem;
    font-weight: 500;
    color: var(--color-text);
    text-decoration: none;
    position: relative;
    padding-bottom: 0.5rem;
}

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

nav ul li a:hover::after,
nav ul li a.active::after {
    width: 100%;
}

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

.theme-toggle {
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem;
    border-radius: 50%;
    transition: var(--transition-base);
    margin-left: 2rem;
}

.theme-toggle:hover {
    background-color: var(--color-background-alt);
}

.theme-toggle svg {
    color: var(--color-text);
    transition: var(--transition-base);
}

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

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

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

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

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

.hero-image {
    flex: 1;
    max-width: 45%;
    position: relative;
}

.hero-image img {
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    transform: rotate(2deg);
}

/* Featured Posts Section */
.featured-posts {
    padding: 8rem 0;
}

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

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

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

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

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

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

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

.post-content {
    padding: 2.4rem;
}

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

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

.read-more {
    display: inline-block;
    font-weight: 600;
    color: var(--color-primary);
    position: relative;
}

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

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

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

/* Newsletter Section */
.newsletter {
    padding: 8rem 0;
    background-color: var(--color-background-alt);
}

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

.newsletter h2 {
    margin-bottom: 1.5rem;
}

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

.newsletter-form {
    display: flex;
    box-shadow: var(--shadow-md);
    border-radius: 4px;
    overflow: hidden;
}

.newsletter-form input {
    flex: 1;
    padding: 1.5rem 2rem;
    border: none;
    font-size: 1.6rem;
    outline: none;
}

.newsletter-form button {
    padding: 1.5rem 3rem;
    border: none;
    border-radius: 0;
}

/* Footer */
footer {
    background-color: var(--color-background-alt);
    padding: 6rem 0 3rem;
    margin-top: 5rem;
}

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

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

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

.footer-links h3 {
    font-size: 1.8rem;
    margin-bottom: 2rem;
}

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

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

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

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

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

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--color-background);
    color: var(--color-primary);
    transition: var(--transition-base);
}

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

.footer-bottom {
    margin-top: 5rem;
    padding-top: 2rem;
    border-top: 1px solid var(--color-border);
    text-align: center;
    color: var(--color-text-light);
    font-size: 1.4rem;
}

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

.page-header h1 {
    margin-bottom: 1.5rem;
}

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

/* Blog Posts Grid */
.blog-posts {
    padding: 6rem 0;
}

.blog-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 5rem;
}

.blog-card {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    background-color: var(--color-background);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition-base);
}

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

.blog-image {
    height: 100%;
    min-height: 300px;
}

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

.blog-content {
    padding: 3rem;
}

.blog-meta {
    display: flex;
    margin-bottom: 1.5rem;
}

.blog-meta .date {
    color: var(--color-text-light);
    margin-right: 2rem;
}

.blog-meta .category {
    color: var(--color-primary);
    font-weight: 600;
}

.blog-content h2 {
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
}

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

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

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

.contact-info h2 {
    margin-bottom: 2rem;
}

.contact-info > p {
    margin-bottom: 4rem;
}

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

.info-icon {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: var(--color-background-alt);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 2rem;
}

.info-item h3 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.info-item p, .info-item a {
    color: var(--color-text-light);
}

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

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

.contact-form-container h2 {
    margin-bottom: 3rem;
}

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

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

.form-group label {
    margin-bottom: 0.8rem;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    padding: 1.2rem;
    border: 1px solid var(--color-border);
    border-radius: 4px;
    font-size: 1.6rem;
    transition: var(--transition-base);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 2px rgba(98, 71, 170, 0.2);
}

.checkbox-group {
    flex-direction: row;
    align-items: center;
    gap: 1rem;
}

.checkbox-group input {
    width: 20px;
    height: 20px;
}

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

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

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

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

/* FAQ Section */
.faq-section {
    padding: 6rem 0;
}

.faq-section h2 {
    text-align: center;
    margin-bottom: 5rem;
}

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

.faq-item {
    background-color: var(--color-background);
    padding: 3rem;
    border-radius: 8px;
    box-shadow: var(--shadow-md);
}

.faq-item h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--color-primary);
}

/* Blog Post Single */
.blog-post {
    padding: 6rem 0;
}

.post-header {
    text-align: center;
    margin-bottom: 4rem;
}

.post-meta {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
}

.post-date, .post-category {
    margin: 0 1rem;
}

.post-category {
    color: var(--color-primary);
    font-weight: 600;
}

.post-author {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 3rem;
}

.post-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin-right: 1.5rem;
}

.post-author div {
    text-align: left;
}

.post-author span:first-child {
    font-weight: 600;
    display: block;
}

.post-author span:last-child {
    color: var(--color-text-light);
}

.post-featured-image {
    margin-bottom: 4rem;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

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

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

.post-intro {
    font-size: 2.2rem;
    color: var(--color-text-light);
    margin-bottom: 4rem;
    line-height: 1.5;
}

.post-content h2 {
    margin-top: 4rem;
}

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

.post-image-wide {
    margin: 4rem 0;
    border-radius: 8px;
    overflow: hidden;
}

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

blockquote {
    margin: 4rem 0;
    padding: 3rem;
    background-color: var(--color-background-alt);
    border-left: 5px solid var(--color-primary);
    font-size: 2rem;
    font-style: italic;
    position: relative;
}

blockquote::before {
    content: '"';
    font-family: Georgia, serif;
    font-size: 5rem;
    position: absolute;
    top: 1rem;
    left: 1rem;
    color: var(--color-primary);
    opacity: 0.2;
}

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

.post-tags {
    margin-top: 5rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

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

.post-tags a {
    display: inline-block;
    margin-right: 1rem;
    margin-bottom: 1rem;
    padding: 0.5rem 1.5rem;
    background-color: var(--color-background-alt);
    border-radius: 20px;
    font-size: 1.4rem;
    color: var(--color-text-light);
    transition: var(--transition-base);
}

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

.post-share {
    margin-top: 3rem;
    display: flex;
    align-items: center;
}

.post-share span {
    margin-right: 1.5rem;
    font-weight: 600;
}

/* Related Posts */
.related-posts {
    padding: 6rem 0;
    background-color: var(--color-background-alt);
}

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

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

.related-card {
    background-color: var(--color-background);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition-base);
}

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

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

.related-content {
    padding: 2rem;
}

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

.related-content p {
    margin-bottom: 1.5rem;
}

/* About Section */
.about-intro {
    padding: 6rem 0;
}

.about-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 6rem;
    align-items: center;
}

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

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

/* Values Section */
.our-values {
    padding: 6rem 0;
    background-color: var(--color-background-alt);
}

.our-values h2 {
    text-align: center;
    margin-bottom: 5rem;
}

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

.value-card {
    background-color: var(--color-background);
    padding: 3rem;
    border-radius: 8px;
    box-shadow: var(--shadow-md);
    text-align: center;
    transition: var(--transition-base);
}

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

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

.value-card h3 {
    margin-bottom: 1.5rem;
}

/* Team Section */
.team-section {
    padding: 6rem 0;
}

.team-section h2 {
    text-align: center;
    margin-bottom: 5rem;
}

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

.team-member {
    text-align: center;
}

.team-member img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    margin-bottom: 2rem;
    box-shadow: var(--shadow-md);
    transition: var(--transition-base);
}

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

.team-member h3 {
    margin-bottom: 0.5rem;
}

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

/* Testimonials */
.testimonials {
    padding: 6rem 0;
    background-color: var(--color-background-alt);
}

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

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

.testimonial {
    padding: 3rem;
    background-color: var(--color-background);
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    margin: 0 1.5rem;
}

.testimonial-content p {
    font-size: 1.8rem;
    font-style: italic;
    margin-bottom: 2.5rem;
}

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

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

.testimonial-author h4 {
    margin-bottom: 0.5rem;
    font-size: 1.8rem;
}

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

/* CTA Section */
.cta-section {
    padding: 8rem 0;
    background-color: var(--color-primary);
    color: var(--color-white);
}

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

.cta-content h2 {
    color: var(--color-white);
    margin-bottom: 2rem;
}

.cta-content p {
    margin-bottom: 3rem;
    font-size: 2rem;
}

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

.cta-content .btn:hover {
    background-color: var(--color-background-alt);
    color: var(--color-primary);
}

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

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

.cookie-content p {
    text-align: center;
    margin-bottom: 2rem;
}

.cookie-buttons {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.cookie-banner a {
    font-size: 1.4rem;
}

/* Thank You Modal */
.thank-you-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-base);
}

.thank-you-modal.show {
    opacity: 1;
    visibility: visible;
}

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

.close-modal {
    position: absolute;
    top: 2rem;
    right: 2rem;
    font-size: 2.4rem;
    cursor: pointer;
    line-height: 1;
}

.modal-content svg {
    color: var(--color-success);
    margin-bottom: 2rem;
}

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

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

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    margin: 4rem 0;
    gap: 1rem;
}

.pagination a, .pagination span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--color-background);
    color: var(--color-text);
    text-decoration: none;
    transition: var(--transition-base);
    font-weight: 600;
}

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

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

/* Media Queries */
@media (max-width: 1200px) {
    .hero-content h1 {
        font-size: 4.8rem;
    }
}

@media (max-width: 992px) {
    html {
        font-size: 56.25%;
    }
    
    .hero .container,
    .about-content {
        grid-template-columns: 1fr;
        gap: 5rem;
    }
    
    .hero-content,
    .hero-image {
        max-width: 100%;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 5rem;
    }
    
    .blog-card {
        grid-template-columns: 1fr;
    }
    
    .blog-image {
        height: 300px;
    }
}

@media (max-width: 768px) {
    html {
        font-size: 50%;
    }
    
    header {
        height: auto;
        padding: 2rem 0;
    }
    
    header .container {
        flex-direction: column;
        gap: 2rem;
    }
    
    nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    nav ul li {
        margin: 0 1.5rem 1rem;
    }
    
    .theme-toggle {
        margin: 0;
    }
    
    .faq-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .hero-content h1 {
        font-size: 3.6rem;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .newsletter-form input {
        margin-bottom: 1.5rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-logo {
        align-items: center;
    }
    
    .social-icons {
        justify-content: center;
    }
    
    .cookie-content {
        flex-direction: column;
    }
    
    .cookie-buttons {
        flex-direction: column;
        width: 100%;
    }
}
