/* Base Styles */
:root {
    --primary-color: #4361ee;
    --primary-dark: #3a56d4;
    --primary-light: #637efc;
    --secondary-color: #118ab2;
    --secondary-dark: #0e7a9b;
    --secondary-light: #31a0c7;
    --accent-color: #ff9f1c;
    --accent-dark: #e08700;
    --accent-light: #ffb74d;
    --dark-color: #212529;
    --dark-muted: #343a40;
    --light-color: #f8f9fa;
    --muted-color: #6c757d;
    --light-muted: #dee2e6;
    --success: #06d6a0;
    --danger: #ef476f;
    --warning: #ffd166;
    --info: #073b4c;
    --box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    --border-radius: 8px;
    --transition: all 0.3s ease;
    --container-width: 1200px;
    --header-height: 80px;
    --font-main: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
    --font-heading: 'Montserrat', var(--font-main);
    --font-code: 'JetBrains Mono', monospace;
}

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

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    line-height: 1.6;
    color: var(--dark-color);
    background-color: var(--light-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);
}

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

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1.25rem;
}

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

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

/* Button Styles */
.btn {
    display: inline-block;
    font-weight: 500;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    user-select: none;
    border: 1px solid transparent;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    line-height: 1.5;
    border-radius: var(--border-radius);
    transition: var(--transition);
    cursor: pointer;
    text-decoration: none;
}

.btn:hover, .btn:focus {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

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

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

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

.btn-secondary:hover, .btn-secondary:focus {
    background-color: var(--secondary-dark);
    border-color: var(--secondary-dark);
}

.btn-outlined {
    color: var(--primary-color);
    background-color: transparent;
    border-color: var(--primary-color);
}

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

.btn-small {
    padding: 0.4rem 0.8rem;
    font-size: 0.875rem;
}

/* Header & Navigation */
header {
    background-color: white;
    box-shadow: var(--box-shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
    height: var(--header-height);
    display: flex;
    align-items: center;
}

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

.logo img {
    width: 50px;
    height: 50px;
    border-radius: 5px;
}

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

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

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

nav a {
    color: var(--dark-color);
    font-weight: 500;
    position: relative;
}

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

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

.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.menu-toggle span {
    width: 30px;
    height: 3px;
    background-color: var(--dark-color);
    transition: var(--transition);
}

/* Hero Section */
.hero {
    padding: 5rem 0;
    background: linear-gradient(135deg, #f5f7ff 0%, #e8efff 100%);
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.hero-content h2 {
    font-size: 2.75rem;
    margin-bottom: 1.5rem;
    color: var(--dark-color);
}

.hero-content p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    color: var(--muted-color);
}

.hero-image {
    text-align: center;
}

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

/* Features Section */
.features {
    padding: 5rem 0;
    background-color: white;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.25rem;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2.5rem;
}

.feature-card {
    background-color: white;
    border-radius: var(--border-radius);
    padding: 2.5rem;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    position: relative;
    z-index: 1;
}

.feature-card:hover {
    transform: translateY(-10px);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
    display: inline-flex;
}

.feature-card h3 {
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.feature-card p {
    color: var(--muted-color);
}

/* Latest Posts Section */
.latest-posts {
    padding: 5rem 0;
    background-color: var(--light-color);
}

.posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    margin-bottom: 2rem;
}

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

.post-image img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.post-content {
    padding: 1.5rem;
}

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

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

.view-more {
    text-align: center;
    margin-top: 2rem;
}

/* Calculator Section */
.calculator-section {
    padding: 5rem 0;
    background-color: white;
}

.section-description {
    text-align: center;
    margin-top: -1.5rem;
    margin-bottom: 3rem;
    color: var(--muted-color);
}

.calculator-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    background-color: var(--light-color);
    border-radius: var(--border-radius);
    padding: 2.5rem;
    box-shadow: var(--box-shadow);
}

.calculator-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

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

.form-group label {
    font-weight: 500;
    color: var(--dark-color);
}

.form-group input,
.form-group select {
    padding: 0.75rem 1rem;
    border: 1px solid var(--light-muted);
    border-radius: var(--border-radius);
    font-size: 1rem;
    background-color: white;
}

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

.calculator-result {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
}

.calculator-result h3 {
    margin-bottom: 1rem;
    font-size: 1.25rem;
    color: var(--dark-color);
}

#result-value {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

#result-explanation {
    text-align: center;
    color: var(--muted-color);
    font-size: 0.875rem;
}

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

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

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

.newsletter-content p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    font-size: 1.125rem;
}

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

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

.newsletter-form input:focus {
    outline: none;
}

.newsletter-form button {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
}

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

/* User Letter Section */
.user-letter {
    padding: 5rem 0;
    background-color: var(--light-color);
}

.letter-wrapper {
    display: flex;
    gap: 2.5rem;
    background-color: white;
    border-radius: var(--border-radius);
    padding: 2.5rem;
    box-shadow: var(--box-shadow);
    max-width: 900px;
    margin: 0 auto;
}

.letter-icon {
    color: var(--primary-color);
    font-size: 2.5rem;
    flex-shrink: 0;
}

.letter-content h3 {
    margin-bottom: 1.25rem;
    color: var(--dark-color);
    font-size: 1.5rem;
}

.letter-content p {
    color: var(--muted-color);
    margin-bottom: 1.25rem;
}

.letter-signature {
    font-style: italic;
    margin-top: 2rem;
}

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

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

.footer-about {
    grid-column: span 2;
}

.footer-logo {
    width: 60px;
    height: 60px;
    margin-bottom: 1.25rem;
    border-radius: 5px;
}

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

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

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

.footer-about p {
    color: rgba(255, 255, 255, 0.7);
}

.footer-nav h3,
.footer-contact h3,
.footer-legal h3 {
    color: white;
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
}

.footer-nav ul,
.footer-legal ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-nav ul li,
.footer-legal ul li {
    margin-bottom: 0.75rem;
}

.footer-nav a,
.footer-legal a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}

.footer-nav a:hover,
.footer-legal a:hover {
    color: white;
}

.footer-contact address {
    font-style: normal;
    color: rgba(255, 255, 255, 0.7);
}

.footer-contact address p {
    margin-bottom: 0.75rem;
}

.footer-contact address a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}

.footer-contact address a:hover {
    color: white;
}

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

.footer-bottom p {
    color: rgba(255, 255, 255, 0.5);
    margin: 0;
    font-size: 0.875rem;
}

/* Cookie Consent */
.cookie-consent {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    max-width: 90%;
    width: 800px;
    background-color: white;
    padding: 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.2);
    z-index: 9999;
    display: none;
}

.cookie-content h3 {
    margin-bottom: 0.75rem;
}

.cookie-content p {
    margin-bottom: 1.25rem;
    color: var(--muted-color);
}

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

.cookie-link {
    font-size: 0.875rem;
    margin-bottom: 0;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 9999;
}

.modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.2);
    max-width: 500px;
    width: 90%;
}

.close-modal {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
    color: var(--muted-color);
}

.modal-body {
    text-align: center;
}

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

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

.modal-body p {
    margin-bottom: 1.5rem;
    color: var(--muted-color);
}

/* Page Banner */
.page-banner {
    background-color: var(--primary-color);
    color: white;
    padding: 3rem 0;
    text-align: center;
}

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

.page-banner p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.25rem;
    max-width: 700px;
    margin: 0 auto;
}

/* Blog Page */
.blog-content {
    padding: 4rem 0;
}

.blog-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
}

.blog-main {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.blog-post {
    background-color: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    display: flex;
    flex-direction: column;
}

.blog-post .post-image {
    height: 250px;
}

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

.blog-post .post-content {
    padding: 2rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.post-meta {
    display: flex;
    gap: 1rem;
    font-size: 0.875rem;
    color: var(--muted-color);
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.blog-post h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.blog-post p {
    color: var(--muted-color);
    margin-bottom: 1.5rem;
}

.blog-post .btn {
    align-self: flex-start;
    margin-top: auto;
}

.pagination {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1rem;
}

.pagination .current-page,
.pagination a {
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);
    color: var(--primary-color);
    font-weight: 500;
}

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

.pagination a.disabled {
    color: var(--muted-color);
    cursor: not-allowed;
}

.blog-sidebar {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

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

.sidebar-widget h3 {
    margin-bottom: 1.25rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.sidebar-widget h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: var(--primary-color);
}

.category-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.category-list li {
    margin-bottom: 0.5rem;
}

.category-list a {
    display: flex;
    align-items: center;
    color: var(--muted-color);
    transition: var(--transition);
}

.category-list a:hover {
    color: var(--primary-color);
}

.category-list a::before {
    content: '›';
    margin-right: 0.5rem;
    color: var(--primary-color);
}

.popular-posts {
    list-style: none;
    padding: 0;
    margin: 0;
}

.popular-posts li {
    padding-bottom: 1rem;
    margin-bottom: 1rem;
    border-bottom: 1px solid var(--light-muted);
}

.popular-posts li:last-child {
    padding-bottom: 0;
    margin-bottom: 0;
    border-bottom: none;
}

.popular-posts a {
    display: block;
    font-weight: 500;
    margin-bottom: 0.25rem;
}

.popular-posts .post-date {
    font-size: 0.75rem;
    color: var(--muted-color);
}

.sidebar-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.sidebar-form input {
    padding: 0.75rem 1rem;
    border: 1px solid var(--light-muted);
    border-radius: var(--border-radius);
}

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

/* Post Page */
.post-banner {
    background-color: var(--primary-dark);
    padding: 4rem 0 3rem;
    text-align: left;
}

.post-banner .post-meta {
    margin-bottom: 1.25rem;
    color: rgba(255, 255, 255, 0.8);
}

.post-banner h1 {
    color: white;
    font-size: 2.75rem;
    margin-bottom: 0;
    max-width: 800px;
}

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

.post-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
}

.post-featured-image {
    margin-bottom: 2rem;
}

.post-featured-image img {
    width: 100%;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.post-text {
    margin-bottom: 2rem;
}

.post-text h2 {
    margin-top: 2.5rem;
    margin-bottom: 1.25rem;
    font-size: 1.75rem;
}

.post-text h3 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-size: 1.35rem;
}

.post-text p, .post-text ul, .post-text ol {
    margin-bottom: 1.5rem;
    color: var(--dark-muted);
}

.post-text blockquote {
    padding: 1.5rem;
    border-left: 4px solid var(--primary-color);
    background-color: var(--light-color);
    margin: 1.5rem 0;
    font-style: italic;
    color: var(--dark-muted);
}

.post-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    margin-top: 2rem;
    border-top: 1px solid var(--light-muted);
    flex-wrap: wrap;
    gap: 1rem;
}

.post-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: center;
}

.tag-label, .share-label {
    font-weight: 500;
    color: var(--dark-color);
}

.tag {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background-color: var(--light-color);
    border-radius: 20px;
    font-size: 0.875rem;
    color: var(--muted-color);
    transition: var(--transition);
}

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

.post-share {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.post-share a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    color: var(--muted-color);
    background-color: var(--light-color);
    border-radius: 50%;
    transition: var(--transition);
}

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

.post-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--light-muted);
}

.nav-previous, .nav-next {
    display: flex;
    flex-direction: column;
    max-width: 45%;
}

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

.nav-subtitle {
    font-size: 0.875rem;
    color: var(--muted-color);
    margin-bottom: 0.5rem;
}

.nav-title {
    font-weight: 500;
    color: var(--dark-color);
}

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

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

.author-image {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1rem;
}

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

.author-bio p {
    font-size: 0.875rem;
    color: var(--muted-color);
    margin-bottom: 1rem;
}

.related-posts {
    list-style: none;
    padding: 0;
    margin: 0;
}

.related-posts li {
    padding-bottom: 1rem;
    margin-bottom: 1rem;
    border-bottom: 1px solid var(--light-muted);
}

.related-posts li:last-child {
    padding-bottom: 0;
    margin-bottom: 0;
    border-bottom: none;
}

.related-posts a {
    display: block;
    font-weight: 500;
    margin-bottom: 0.25rem;
}

.related-posts .post-date {
    font-size: 0.75rem;
    color: var(--muted-color);
}

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

.resource-links li {
    margin-bottom: 0.75rem;
}

.resource-links a {
    display: flex;
    align-items: center;
    color: var(--primary-color);
}

.resource-links a::before {
    content: '›';
    margin-right: 0.5rem;
}

/* Resources Page */
.resources-intro {
    padding: 4rem 0;
}

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

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

.resources-content p {
    margin-bottom: 1.25rem;
    color: var(--muted-color);
}

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

.resource-categories {
    padding: 4rem 0;
    background-color: var(--light-color);
}

.category-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
}

.tab-button {
    padding: 0.75rem 1.5rem;
    background-color: white;
    border: 1px solid var(--light-muted);
    border-radius: var(--border-radius);
    font-size: 1rem;
    font-weight: 500;
    color: var(--muted-color);
    cursor: pointer;
    transition: var(--transition);
}

.tab-button:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.tab-button.active {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

.tab-content {
    position: relative;
}

.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
}

.resources-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.resource-card {
    display: flex;
    gap: 1.5rem;
    background-color: white;
    padding: 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.resource-card:hover {
    transform: translateY(-5px);
}

.resource-icon {
    color: var(--primary-color);
    flex-shrink: 0;
}

.resource-info {
    flex: 1;
}

.resource-info h3 {
    margin-bottom: 0.75rem;
    font-size: 1.25rem;
}

.resource-info p {
    color: var(--muted-color);
    margin-bottom: 1rem;
}

.resource-format {
    display: block;
    font-size: 0.875rem;
    color: var(--dark-muted);
    margin-bottom: 1rem;
}

.resource-tools {
    padding: 4rem 0;
}

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

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

.tool-card:hover {
    transform: translateY(-10px);
}

.tool-image img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.tool-content {
    padding: 1.5rem;
}

.tool-content h3 {
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.tool-content p {
    color: var(--muted-color);
    margin-bottom: 1.5rem;
}

/* FAQ Section */
.resources-faq {
    padding: 4rem 0;
    background-color: var(--light-color);
}

.accordion-container {
    max-width: 800px;
    margin: 0 auto;
}

.accordion-item {
    margin-bottom: 1rem;
    border-radius: var(--border-radius);
    overflow: hidden;
    background-color: white;
    box-shadow: var(--box-shadow);
}

.accordion-header {
    width: 100%;
    padding: 1.25rem 1.5rem;
    background-color: white;
    border: none;
    text-align: left;
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--dark-color);
    cursor: pointer;
    position: relative;
    transition: var(--transition);
}

.accordion-header::after {
    content: '+';
    position: absolute;
    right: 1.5rem;
    font-size: 1.5rem;
    transition: var(--transition);
}

.accordion-header.active::after {
    transform: rotate(45deg);
}

.accordion-content {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: var(--transition);
}

.accordion-content p {
    margin-bottom: 1.5rem;
    color: var(--muted-color);
}

.accordion-item.active .accordion-content {
    padding: 0 1.5rem 1.5rem;
    max-height: 500px;
}

/* CTA Section */
.cta-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    text-align: center;
}

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

.cta-section p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    font-size: 1.125rem;
}

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

/* Contact Page */
.contact-content {
    padding: 4rem 0;
}

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

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

.contact-info p {
    color: var(--muted-color);
    margin-bottom: 2rem;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

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

.method-icon {
    color: var(--primary-color);
    flex-shrink: 0;
}

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

.method-details p, .method-details address {
    color: var(--muted-color);
    font-style: normal;
}

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

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

.contact-form-container p {
    color: var(--muted-color);
    margin-bottom: 2rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-form .form-group {
    margin-bottom: 0;
}

.contact-form .form-group label {
    margin-bottom: 0.5rem;
}

.contact-form .form-group input, 
.contact-form .form-group select, 
.contact-form .form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--light-muted);
    border-radius: var(--border-radius);
    font-size: 1rem;
    font-family: var(--font-main);
}

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

.checkbox-group {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.checkbox-group input {
    width: auto !important;
}

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

.location-map {
    padding: 4rem 0;
}

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

.faq-section {
    padding: 4rem 0;
    background-color: var(--light-color);
}

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

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

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

.about-content p {
    margin-bottom: 1.25rem;
    color: var(--muted-color);
}

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

.about-values {
    padding: 4rem 0;
    background-color: var(--light-color);
}

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

.value-card {
    background-color: white;
    border-radius: var(--border-radius);
    padding: 2.5rem;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.value-card:hover {
    transform: translateY(-10px);
}

.value-icon {
    color: var(--primary-color);
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.value-card h3 {
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.value-card p {
    color: var(--muted-color);
}

.team-section {
    padding: 4rem 0;
}

.section-description {
    text-align: center;
    margin-top: -1.5rem;
    margin-bottom: 3rem;
    color: var(--muted-color);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

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

.team-card {
    background-color: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.team-card:hover {
    transform: translateY(-10px);
}

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

.team-card h3 {
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
    padding: 0 1.5rem;
    font-size: 1.25rem;
}

.team-card p {
    padding: 0 1.5rem;
    color: var(--muted-color);
    margin-bottom: 1rem;
}

.team-card p:first-of-type {
    color: var(--primary-color);
    font-weight: 500;
    margin-bottom: 0.75rem;
}

.team-social {
    display: flex;
    gap: 0.75rem;
    margin: 1rem 1.5rem 1.5rem;
}

.team-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    color: var(--muted-color);
    background-color: var(--light-color);
    border-radius: 50%;
    transition: var(--transition);
}

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

.about-history {
    padding: 4rem 0;
    background-color: var(--light-color);
}

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

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

.history-content h2 {
    margin-bottom: 2rem;
}

.timeline {
    position: relative;
    padding-left: 2rem;
}

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

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

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-dot {
    position: absolute;
    left: -2.5rem;
    top: 0.5rem;
    width: 1rem;
    height: 1rem;
    background-color: var(--primary-color);
    border-radius: 50%;
    border: 2px solid white;
}

.timeline-content h3 {
    margin-bottom: 0.75rem;
    font-size: 1.25rem;
    color: var(--primary-color);
}

.timeline-content p {
    color: var(--muted-color);
}

/* Responsive Styles */
@media (max-width: 992px) {
    html {
        font-size: 15px;
    }
    
    .hero .container {
        grid-template-columns: 1fr;
    }
    
    .hero-content {
        text-align: center;
    }
    
    .blog-layout,
    .post-layout {
        grid-template-columns: 1fr;
    }
    
    .about-grid,
    .resources-grid,
    .history-grid {
        grid-template-columns: 1fr;
    }
    
    .history-image {
        order: -1;
    }
}

@media (max-width: 768px) {
    html {
        font-size: 14px;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    nav {
        position: fixed;
        top: var(--header-height);
        left: 0;
        right: 0;
        background-color: white;
        box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
        padding: 1rem;
        transform: translateY(-100%);
        opacity: 0;
        transition: var(--transition);
        z-index: 99;
    }
    
    nav.active {
        transform: translateY(0);
        opacity: 1;
    }
    
    nav ul {
        flex-direction: column;
        gap: 1rem;
    }
    
    .feature-grid,
    .values-grid,
    .team-grid {
        grid-template-columns: 1fr;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .letter-wrapper {
        flex-direction: column;
    }
    
    .post-footer {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .post-navigation {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .nav-previous, .nav-next {
        max-width: 100%;
    }
    
    .nav-next {
        text-align: left;
    }
    
    .category-tabs {
        flex-wrap: wrap;
        justify-content: flex-start;
    }
    
    .resource-card {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .post-banner h1 {
        font-size: 2rem;
    }
    
    .cookie-buttons {
        flex-direction: column;
    }
}
