/* Base Styles */
:root {
    --primary-color: #ff6b35;
    --primary-light: #ff8c61;
    --primary-dark: #e45525;
    --secondary-color: #2E4057;
    --accent-color: #5C946E;
    --text-color: #333333;
    --text-light: #666666;
    --text-lighter: #999999;
    --bg-color: #ffffff;
    --bg-light: #f5f7fa;
    --bg-dark: #e0e5ec;
    --border-color: #e0e0e0;
    --border-radius: 8px;
    --box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
    --max-width: 1200px;
    --header-height: 80px;
    --font-primary: 'Montserrat', sans-serif;
    --font-secondary: 'Merriweather', serif;
}

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700&family=Merriweather:wght@400;700&display=swap');

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

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

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

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

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

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

button {
    cursor: pointer;
    font-family: var(--font-primary);
}

ul, ol {
    list-style-position: inside;
}

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

section {
    padding: 8rem 0;
}

.semi-transparent {
    background-color: rgba(245, 247, 250, 0.7);
    backdrop-filter: blur(10px);
    border-radius: var(--border-radius);
    padding: 2.5rem;
    box-shadow: var(--box-shadow);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-secondary);
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--secondary-color);
    font-weight: 700;
}

h1 {
    font-size: 4.2rem;
}

h2 {
    font-size: 3.2rem;
}

h3 {
    font-size: 2.4rem;
}

h4 {
    font-size: 2rem;
}

h5 {
    font-size: 1.8rem;
}

h6 {
    font-size: 1.6rem;
}

p {
    margin-bottom: 1.5rem;
}

.section-intro {
    font-size: 1.8rem;
    max-width: 80rem;
    margin: 0 auto 4rem;
    text-align: center;
    color: var(--text-light);
}

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

/* Buttons */
.btn {
    display: inline-block;
    padding: 1.2rem 3rem;
    background-color: var(--primary-color);
    color: #fff;
    border: none;
    border-radius: var(--border-radius);
    font-weight: 600;
    font-size: 1.6rem;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.btn:hover {
    background-color: var(--primary-dark);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
}

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

.btn-secondary:hover {
    background-color: #243547;
}

.btn-tertiary {
    background-color: transparent;
    color: var(--text-color);
    border: 1px solid var(--border-color);
    box-shadow: none;
}

.btn-tertiary:hover {
    background-color: var(--bg-light);
    color: var(--text-color);
    border-color: var(--text-lighter);
    box-shadow: none;
}

/* Header & Navigation */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    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 {
    height: 5rem;
    width: auto;
}

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

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

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

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

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

.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 2.5rem;
    height: 2rem;
    cursor: pointer;
}

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

/* Hero Section */
.hero {
    padding: 17rem 0 12rem;
    background: linear-gradient(rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.8)), url('images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    position: relative;
}

.hero-content {
    max-width: 60rem;
}

.hero h1 {
    margin-bottom: 2rem;
    color: var(--secondary-color);
}

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

/* Page Header */
.page-header {
    padding: 14rem 0 6rem;
    background: linear-gradient(rgba(46, 64, 87, 0.9), rgba(46, 64, 87, 0.8)), url('images/page-header-bg.jpg');
    background-size: cover;
    background-position: center;
    text-align: center;
    color: #fff;
}

.page-header h1 {
    color: #fff;
    margin-bottom: 1rem;
}

.page-header p {
    font-size: 1.8rem;
    max-width: 70rem;
    margin: 0 auto;
    color: rgba(255, 255, 255, 0.9);
}

/* Featured Posts Section */
.featured-posts {
    background-color: var(--bg-light);
}

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

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

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

.post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.post-image {
    height: 22rem;
    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;
    line-height: 1.3;
}

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

.read-more {
    display: flex;
    align-items: center;
    font-weight: 600;
    gap: 0.5rem;
}

.post-meta {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    color: var(--text-lighter);
    font-size: 1.4rem;
}

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

.post-meta .category {
    padding: 0.3rem 1rem;
    background-color: var(--bg-light);
    border-radius: 2rem;
    font-weight: 500;
}

.post-meta .reading-time {
    margin-left: auto;
}

/* Checklist Section */
.checklist-section {
    margin: 4rem 0;
}

.checklist-section h2, .checklist-section h3 {
    margin-bottom: 2rem;
}

.checklist-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(30rem, 1fr));
    gap: 1.5rem;
}

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

.checklist-item input[type="checkbox"] {
    margin-top: 0.3rem;
    width: 1.8rem;
    height: 1.8rem;
    accent-color: var(--primary-color);
}

.checklist-item label {
    flex: 1;
    font-size: 1.6rem;
    line-height: 1.5;
}

/* Newsletter Section */
.newsletter {
    background-color: var(--secondary-color);
    color: #fff;
    padding: 6rem 0;
}

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

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

.newsletter p {
    margin-bottom: 2.5rem;
    color: rgba(255, 255, 255, 0.9);
}

.newsletter form {
    display: flex;
    gap: 1rem;
}

.newsletter input[type="email"] {
    flex: 1;
    padding: 1.2rem 1.5rem;
    border: none;
    border-radius: var(--border-radius);
    font-size: 1.6rem;
}

/* Footer */
footer {
    background-color: #1a2a3a;
    color: rgba(255, 255, 255, 0.9);
    padding: 6rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(25rem, 1fr));
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-col h3 {
    color: #fff;
    margin-bottom: 2rem;
    font-size: 1.8rem;
}

.footer-col p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 2rem;
}

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

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

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

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

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

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 4rem;
    height: 4rem;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: #fff;
    transition: var(--transition);
}

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

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    font-size: 1.4rem;
}

.footer-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

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

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

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

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

.cookie-content p {
    flex: 1;
    min-width: 30rem;
    margin-bottom: 0;
}

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

/* Blog Listing Page */
.blog-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
}

.blog-grid .post-card {
    display: grid;
    grid-template-columns: minmax(25rem, 1fr) 2fr;
    min-height: 25rem;
}

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

.blog-grid .post-content {
    padding: 3rem;
}

.blog-grid .post-content h2 {
    font-size: 2.4rem;
    margin-bottom: 1.5rem;
}

/* Blog Post */
.blog-post {
    padding-top: 10rem;
}

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

.author {
    display: flex;
    align-items: center;
    margin-top: 2rem;
}

.author-image {
    width: 5rem;
    height: 5rem;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 1.5rem;
}

.author-info {
    display: flex;
    flex-direction: column;
}

.author-name {
    font-weight: 600;
}

.author-title {
    color: var(--text-lighter);
    font-size: 1.4rem;
}

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

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

.post-content {
    max-width: 80rem;
    margin: 0 auto;
}

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

.post-content h3 {
    margin-top: 3rem;
}

.post-content h4 {
    margin-top: 2.5rem;
}

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

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

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

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

.post-tags a {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    margin: 0.5rem;
    background-color: var(--bg-light);
    border-radius: 2rem;
    color: var(--text-light);
    font-size: 1.4rem;
    transition: var(--transition);
}

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

.info-box {
    background-color: var(--bg-light);
    border-radius: var(--border-radius);
    padding: 2.5rem;
    margin: 3rem 0;
}

.info-box h3, .info-box h4 {
    margin-top: 0;
    margin-bottom: 1.5rem;
}

.info-box ul {
    margin-bottom: 0;
}

.quote-box {
    padding: 2.5rem;
    margin: 3rem 0;
    border-left: 5px solid var(--primary-color);
    background-color: var(--bg-light);
}

.quote-box blockquote {
    font-style: italic;
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.quote-box cite {
    display: block;
    text-align: right;
    font-style: normal;
    font-weight: 600;
}

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

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

.prev-post a, .next-post a {
    display: flex;
    flex-direction: column;
    color: var(--text-color);
}

.prev-post a:hover, .next-post a:hover {
    color: var(--primary-color);
}

.prev-post span, .next-post span {
    font-size: 1.4rem;
    color: var(--text-lighter);
    margin-bottom: 0.5rem;
}

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

.related-posts {
    margin-top: 5rem;
}

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

.related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.related-post {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

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

.related-post h4 {
    padding: 1.5rem;
    font-size: 1.6rem;
    margin-bottom: 0;
}

.share-post {
    margin-top: 5rem;
    text-align: center;
}

.share-post h3 {
    margin-bottom: 2rem;
}

.share-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

.share-buttons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 4.5rem;
    height: 4.5rem;
    background-color: var(--bg-light);
    border-radius: 50%;
    color: var(--text-color);
    transition: var(--transition);
}

.share-buttons a:hover {
    background-color: var(--primary-color);
    color: #fff;
    transform: translateY(-3px);
}

/* About Page */
.about-intro {
    display: flex;
    align-items: flex-start;
    gap: 5rem;
    margin-bottom: 6rem;
}

.about-content {
    flex: 3;
}

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

.about-values {
    margin-top: 4rem;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(25rem, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.value-item {
    text-align: center;
}

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

.value-item h4 {
    margin-bottom: 1rem;
}

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

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(25rem, 1fr));
    gap: 4rem;
    margin-top: 4rem;
}

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

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

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

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

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

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

.social-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin: 1.5rem 0 2rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3.5rem;
    height: 3.5rem;
    background-color: var(--bg-light);
    border-radius: 50%;
    color: var(--text-color);
    transition: var(--transition);
}

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

.our-story {
    position: relative;
}

.timeline {
    position: relative;
    max-width: 80rem;
    margin: 0 auto;
    padding: 2rem 0;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 2px;
    height: 100%;
    background-color: var(--border-color);
}

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

.timeline-dot {
    position: absolute;
    top: 0.5rem;
    left: -0.8rem;
    width: 1.8rem;
    height: 1.8rem;
    background-color: var(--primary-color);
    border-radius: 50%;
    z-index: 1;
}

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

.approach-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(25rem, 1fr));
    gap: 3rem;
    margin-top: 4rem;
}

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

.approach-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.approach-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 8rem;
    height: 8rem;
    margin: 0 auto 2rem;
    background-color: var(--bg-light);
    border-radius: 50%;
    color: var(--primary-color);
}

.testimonials {
    background-color: var(--bg-light);
    text-align: center;
}

.testimonial {
    max-width: 70rem;
    margin: 0 auto;
}

.testimonial-content {
    background-color: var(--bg-color);
    border-radius: var(--border-radius);
    padding: 3rem;
    box-shadow: var(--box-shadow);
    position: relative;
}

.testimonial-content::before {
    content: '"';
    position: absolute;
    top: 2rem;
    left: 2rem;
    font-size: 10rem;
    color: var(--bg-light);
    line-height: 1;
    font-family: serif;
    z-index: 0;
}

.testimonial-content p {
    position: relative;
    z-index: 1;
    font-style: italic;
    font-size: 1.8rem;
    margin-bottom: 2rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
}

.testimonial-author img {
    width: 6rem;
    height: 6rem;
    border-radius: 50%;
    object-fit: cover;
}

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

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

.cta-section {
    background: linear-gradient(rgba(46, 64, 87, 0.9), rgba(46, 64, 87, 0.8)), url('images/cta-bg.jpg');
    background-size: cover;
    background-position: center;
    color: #fff;
    text-align: center;
}

.cta-content {
    max-width: 70rem;
    margin: 0 auto;
}

.cta-content h2 {
    color: #fff;
    margin-bottom: 2rem;
}

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

/* Contact Page */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    margin-bottom: 6rem;
}

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

.contact-methods {
    margin: 3rem 0;
}

.contact-method {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2rem;
}

.method-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 5rem;
    height: 5rem;
    background-color: var(--bg-light);
    border-radius: 50%;
    margin-right: 2rem;
    color: var(--primary-color);
}

.method-details h3 {
    margin-bottom: 0.5rem;
}

.method-details p {
    margin-bottom: 0;
}

.office-hours {
    margin-top: 3rem;
}

.office-hours ul {
    list-style: none;
}

.office-hours li {
    margin-bottom: 1rem;
}

.contact-form-container {
    background-color: var(--bg-color);
    border-radius: var(--border-radius);
    padding: 3rem;
    box-shadow: var(--box-shadow);
}

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

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

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

.form-group .required {
    color: #e74c3c;
}

.form-group input,
.form-group select,
.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;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(255, 107, 53, 0.2);
}

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

.checkbox-group input[type="checkbox"] {
    width: auto;
    margin-top: 0.3rem;
}

.checkbox-group label {
    margin-bottom: 0;
}

.form-submit {
    margin-top: 3rem;
}

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

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

.faq-section {
    margin-top: 6rem;
}

.faq-container {
    margin-top: 4rem;
}

.faq-item {
    margin-bottom: 2rem;
    border-bottom: 1px solid var(--border-color);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 0;
    cursor: pointer;
}

.faq-question h3 {
    margin-bottom: 0;
    font-size: 1.8rem;
    flex: 1;
    padding-right: 2rem;
}

.faq-toggle {
    transform: rotate(0);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-toggle {
    transform: rotate(180deg);
}

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

.faq-item.active .faq-answer {
    max-height: 50rem;
    padding-bottom: 2rem;
}

.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: 2000;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background-color: var(--bg-color);
    border-radius: var(--border-radius);
    padding: 4rem;
    max-width: 50rem;
    text-align: center;
    position: relative;
}

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

.modal-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 8rem;
    height: 8rem;
    background-color: var(--accent-color);
    border-radius: 50%;
    margin: 0 auto 2rem;
    color: #fff;
}

/* Responsive Styles */
@media screen and (max-width: 1024px) {
    html {
        font-size: 60%;
    }
    
    .about-intro {
        flex-direction: column;
    }
    
    .about-image {
        order: -1;
        margin-bottom: 3rem;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

@media screen and (max-width: 768px) {
    html {
        font-size: 58%;
    }
    
    section {
        padding: 6rem 0;
    }
    
    nav {
        position: fixed;
        top: var(--header-height);
        left: -100%;
        width: 100%;
        height: calc(100vh - var(--header-height));
        background-color: var(--bg-color);
        transition: var(--transition);
        z-index: 1000;
    }
    
    nav.active {
        left: 0;
    }
    
    nav ul {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        height: 100%;
        gap: 4rem;
    }
    
    nav a {
        font-size: 2rem;
    }
    
    .hamburger {
        display: flex;
        z-index: 1010;
    }
    
    .hamburger.active span:first-child {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active span:last-child {
        transform: rotate(-45deg) translate(5px, -5px);
    }
    
    .hero {
        padding: 14rem 0 8rem;
    }
    
    .blog-grid .post-card {
        grid-template-columns: 1fr;
    }
    
    .related-grid {
        grid-template-columns: 1fr;
    }
    
    .cookie-content {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .cookie-buttons {
        width: 100%;
        justify-content: space-between;
    }
    
    .values-grid, .approach-grid, .team-grid {
        grid-template-columns: 1fr;
    }
    
    .newsletter form {
        flex-direction: column;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }
}

@media screen and (max-width: 576px) {
    html {
        font-size: 56%;
    }
    
    h1 {
        font-size: 3.6rem;
    }
    
    h2 {
        font-size: 2.8rem;
    }
    
    .posts-grid {
        grid-template-columns: 1fr;
    }
    
    .post-navigation {
        flex-direction: column;
        gap: 2rem;
    }
    
    .prev-post, .next-post {
        max-width: 100%;
    }
    
    .modal-content {
        padding: 3rem 2rem;
    }
}
