/* General Reset and Base Styles */
:root {
    --primary-color: #4a6da7;
    --primary-color-light: #5a7db7;
    --primary-color-dark: #3a5d97;
    --secondary-color: #a7844a;
    --secondary-color-light: #b7945a;
    --secondary-color-dark: #97743a;
    --accent-color: #e74c3c;
    --text-color: #333333;
    --text-color-light: #666666;
    --background-color: #ffffff;
    --background-color-alt: #f8f9fa;
    --border-color: #e0e0e0;
    --success-color: #2ecc71;
    --warning-color: #f39c12;
    --error-color: #e74c3c;
    --info-color: #3498db;
    --box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
    --border-radius: 6px;
    --container-width: 1200px;
    --header-height: 80px;
    --footer-bg: #2c3e50;
    --footer-text: #ecf0f1;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--background-color);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

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

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

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

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

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

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
}

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

section {
    padding: 60px 0;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 10px 20px;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: var(--border-radius);
    cursor: pointer;
    text-align: center;
    font-weight: 600;
    transition: var(--transition);
    font-size: 1rem;
    line-height: 1.5;
}

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

.btn-lg {
    padding: 12px 24px;
    font-size: 1.1rem;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.9rem;
}

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

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

.btn-icon {
    background: none;
    border: none;
    color: var(--primary-color);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.btn-icon:hover {
    color: var(--primary-color-dark);
}

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

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

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

/* Forms */
input,
textarea,
select {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

input:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(74, 109, 167, 0.2);
}

label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group {
    margin-bottom: 20px;
}

.required {
    color: var(--error-color);
}

/* Header & Navigation */
header {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    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 a {
    display: flex;
    align-items: center;
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--text-color);
}

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

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

nav a {
    color: var(--text-color);
    font-weight: 500;
    position: relative;
    padding: 8px 0;
}

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

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

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

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-color);
    cursor: pointer;
    font-size: 1.5rem;
}

/* Hero Section */
.hero {
    background-color: var(--primary-color);
    color: white;
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(135deg, rgba(74, 109, 167, 0.9) 0%, rgba(58, 93, 151, 0.9) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 600px;
    text-align: center;
    margin: 0 auto;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    color: white;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: rgba(255, 255, 255, 0.9);
}

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

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

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

.featured-posts h2 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 2.2rem;
}

.posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.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 10px 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: 20px;
}

.post-content h3 {
    margin-bottom: 10px;
    font-size: 1.3rem;
}

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

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

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

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

/* Newsletter Section */
.newsletter {
    background-color: var(--background-color-alt);
    padding: 60px 0;
    text-align: center;
}

.newsletter h2 {
    margin-bottom: 15px;
}

.newsletter p {
    max-width: 600px;
    margin: 0 auto 25px;
    color: var(--text-color-light);
}

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

.newsletter-form input {
    flex: 1;
}

/* Stats Section */
.art-stats {
    padding: 70px 0;
    background-color: white;
}

.art-stats h2 {
    text-align: center;
    margin-bottom: 40px;
}

.stats-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
}

.stat-card {
    text-align: center;
    padding: 30px 20px;
    background-color: var(--background-color-alt);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

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

.stat-icon {
    margin-bottom: 15px;
    color: var(--primary-color);
}

.stat-card h3 {
    font-size: 1.8rem;
    margin-bottom: 10px;
    color: var(--primary-color);
}

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

/* Footer */
footer {
    background-color: var(--footer-bg);
    color: var(--footer-text);
    padding: 60px 0 20px;
    margin-top: auto;
}

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

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

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

.footer-logo p {
    font-weight: 700;
    font-size: 1.2rem;
}

.footer-links h3 {
    color: white;
    margin-bottom: 20px;
    font-size: 1.2rem;
}

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

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: var(--footer-text);
    transition: var(--transition);
}

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

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

.footer-contact svg {
    margin-right: 10px;
}

.footer-social h3 {
    color: white;
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.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: var(--footer-text);
    transition: var(--transition);
}

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

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

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

.cookie-content {
    text-align: center;
}

.cookie-content p {
    margin-bottom: 15px;
}

.cookie-buttons {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 10px;
}

.cookie-more {
    font-size: 0.9rem;
    color: var(--text-color-light);
}

.cookie-more a {
    text-decoration: underline;
}

/* Page Header */
.page-header {
    background-color: var(--primary-color);
    color: white;
    text-align: center;
    padding: 60px 0;
}

.page-header h1 {
    color: white;
    margin-bottom: 10px;
}

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

/* Blog Page Styles */
.blog-content {
    padding: 60px 0;
}

.blog-search {
    max-width: 600px;
    margin: 0 auto 40px;
}

.blog-search form {
    display: flex;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    overflow: hidden;
}

.blog-search input {
    flex: 1;
    border: none;
    padding: 12px 15px;
}

.blog-search button {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 0 20px;
    cursor: pointer;
    transition: var(--transition);
}

.blog-search button:hover {
    background-color: var(--primary-color-dark);
}

.blog-grid {
    display: grid;
    gap: 40px;
}

.blog-card {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 30px;
    background-color: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.blog-image {
    height: 100%;
}

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

.blog-details {
    padding: 30px;
}

.blog-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 0.9rem;
    color: var(--text-color-light);
}

.blog-details h2 {
    margin-bottom: 15px;
    font-size: 1.6rem;
}

.blog-details p {
    margin-bottom: 20px;
    color: var(--text-color-light);
}

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 50px;
    gap: 10px;
}

.page-number, .page-current {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-weight: 500;
    transition: var(--transition);
}

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

.page-number {
    background-color: var(--background-color-alt);
    color: var(--text-color);
}

.page-number:hover {
    background-color: var(--primary-color-light);
    color: white;
}

.page-next {
    display: flex;
    align-items: center;
    gap: 5px;
    font-weight: 500;
}

/* Blog Post Styles */
.post-content {
    padding: 60px 0;
}

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

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

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

.post-featured-image {
    border-radius: var(--border-radius);
    overflow: hidden;
    margin-bottom: 30px;
}

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

.post-body {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1rem;
    line-height: 1.8;
}

.post-body .lead {
    font-size: 1.2rem;
    color: var(--text-color);
    margin-bottom: 30px;
    line-height: 1.6;
}

.post-body h2 {
    font-size: 1.8rem;
    margin-top: 40px;
    margin-bottom: 20px;
}

.post-body h3 {
    font-size: 1.4rem;
    margin-top: 30px;
    margin-bottom: 15px;
}

.post-body p {
    margin-bottom: 20px;
}

.post-body blockquote {
    margin: 30px 0;
    padding: 20px 30px;
    border-left: 4px solid var(--primary-color);
    background-color: var(--background-color-alt);
    font-style: italic;
}

.post-body blockquote p {
    margin-bottom: 10px;
}

.post-body blockquote cite {
    font-style: normal;
    font-weight: 600;
    color: var(--text-color-light);
}

.post-body ul, .post-body ol {
    margin-bottom: 20px;
    padding-left: 20px;
}

.post-body li {
    margin-bottom: 10px;
}

.post-footer {
    max-width: 800px;
    margin: 50px auto;
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.post-tags {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

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

.post-tags a {
    display: inline-block;
    padding: 5px 12px;
    background-color: var(--background-color-alt);
    border-radius: 20px;
    font-size: 0.9rem;
    color: var(--text-color-light);
    transition: var(--transition);
}

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

.post-share {
    display: flex;
    align-items: center;
    gap: 10px;
}

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

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

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

.post-navigation {
    max-width: 800px;
    margin: 40px auto;
    display: flex;
    justify-content: space-between;
}

.nav-previous, .nav-next {
    max-width: 48%;
}

.nav-previous a, .nav-next a {
    display: flex;
    flex-direction: column;
    padding: 15px;
    background-color: var(--background-color-alt);
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.nav-previous a:hover, .nav-next a:hover {
    background-color: var(--primary-color-light);
    color: white;
}

.nav-subtitle {
    font-size: 0.9rem;
    color: var(--text-color-light);
    margin-bottom: 5px;
}

.nav-title {
    font-weight: 600;
}

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

.related-posts {
    max-width: 800px;
    margin: 60px auto;
}

.related-posts h3 {
    margin-bottom: 20px;
    text-align: center;
}

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

.related-post {
    background-color: var(--background-color-alt);
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: var(--transition);
}

.related-post:hover {
    transform: translateY(-5px);
}

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

.related-post h4 {
    padding: 15px;
    font-size: 1rem;
    color: var(--text-color);
    transition: var(--transition);
}

.related-post:hover h4 {
    color: var(--primary-color);
}

/* Gallery Page */
.gallery-filters {
    background-color: var(--background-color-alt);
    padding: 30px 0;
    border-bottom: 1px solid var(--border-color);
}

.filter-options {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 20px;
}

.filter-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

.filter-group label {
    margin-bottom: 0;
    font-weight: 600;
}

.filter-group select {
    width: auto;
    padding: 8px 30px 8px 12px;
}

.gallery-content {
    padding: 60px 0;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.gallery-item {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    background-color: white;
}

.artwork {
    position: relative;
    height: 250px;
    overflow: hidden;
}

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

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

.artwork-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

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

.artwork-actions {
    display: flex;
    gap: 15px;
}

.artwork-actions button {
    width: 40px;
    height: 40px;
    background-color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    transition: var(--transition);
}

.artwork-actions button:hover {
    background-color: var(--primary-color);
    color: white;
}

.artwork-details {
    padding: 20px;
}

.artwork-details h3 {
    margin-bottom: 5px;
    font-size: 1.2rem;
}

.artist {
    color: var(--text-color-light);
    margin-bottom: 10px;
    font-size: 0.9rem;
}

.artwork-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    color: var(--text-color-light);
}

.gallery-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.artwork-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 1100;
    padding: 20px;
    overflow-y: auto;
}

.modal-content {
    background-color: white;
    max-width: 1000px;
    margin: 40px auto;
    border-radius: var(--border-radius);
    overflow: hidden;
    position: relative;
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    color: var(--text-color);
    cursor: pointer;
    z-index: 1;
}

.modal-body {
    display: flex;
    flex-wrap: wrap;
}

.modal-artwork {
    flex: 1;
    min-width: 300px;
}

.modal-artwork img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.modal-info {
    flex: 1;
    min-width: 300px;
    padding: 30px;
}

.modal-info h2 {
    margin-bottom: 5px;
}

.modal-artist {
    color: var(--text-color-light);
    margin-bottom: 20px;
}

.modal-details {
    margin-bottom: 20px;
}

.detail-item {
    display: flex;
    margin-bottom: 10px;
}

.detail-label {
    font-weight: 600;
    width: 100px;
}

.modal-description {
    margin-bottom: 30px;
    line-height: 1.6;
}

.modal-actions {
    display: flex;
    gap: 15px;
}

.gallery-cta {
    background-color: var(--background-color-alt);
    padding: 60px 0;
    text-align: center;
}

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

.cta-content h2 {
    margin-bottom: 15px;
}

.cta-content p {
    margin-bottom: 25px;
    color: var(--text-color-light);
}

/* Tools Page */
.tools-intro {
    padding: 40px 0;
    background-color: var(--background-color-alt);
}

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

.tool-section {
    padding: 60px 0;
    border-bottom: 1px solid var(--border-color);
}

.tool-section:last-child {
    border-bottom: none;
}

.tool-section h2 {
    text-align: center;
    margin-bottom: 30px;
}

.tool-content {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    align-items: flex-start;
}

.tool-description {
    flex: 1;
    min-width: 300px;
}

.calculator-tool {
    flex: 2;
    min-width: 300px;
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

.calculator-inputs {
    flex: 1;
    min-width: 250px;
}

.calculator-results {
    flex: 1;
    min-width: 250px;
    background-color: var(--background-color-alt);
    padding: 20px;
    border-radius: var(--border-radius);
}

.result-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border-color);
}

.result-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.result-label {
    font-weight: 600;
}

.result-highlight {
    font-size: 1.1rem;
    color: var(--primary-color);
}

.chart-section {
    background-color: var(--background-color-alt);
}

.chart-container {
    width: 100%;
    height: 400px;
    margin-bottom: 20px;
}

.chart-legend {
    display: flex;
    justify-content: center;
    gap: 30px;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.legend-color {
    width: 16px;
    height: 16px;
    border-radius: 4px;
}

.color-tool {
    flex: 2;
    min-width: 300px;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.color-inputs {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: flex-end;
}

.color-palette {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.palette-color {
    flex: 1;
    min-width: 100px;
    text-align: center;
}

.color-swatch {
    height: 80px;
    border-radius: var(--border-radius);
    margin-bottom: 10px;
}

.color-code {
    font-family: monospace;
    font-size: 0.9rem;
}

.resources-section {
    background-color: white;
    padding: 60px 0;
}

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

.resource-card {
    background-color: var(--background-color-alt);
    padding: 30px;
    border-radius: var(--border-radius);
    text-align: center;
    transition: var(--transition);
}

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

.resource-icon {
    color: var(--primary-color);
    margin-bottom: 20px;
}

.resource-card h3 {
    margin-bottom: 15px;
}

.resource-card p {
    margin-bottom: 20px;
    color: var(--text-color-light);
}

.resource-link {
    font-weight: 600;
    color: var(--primary-color);
}

.community-section {
    background-color: var(--primary-color);
    color: white;
    padding: 80px 0;
    text-align: center;
}

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

.community-content h2 {
    color: white;
    margin-bottom: 15px;
}

.community-content p {
    margin-bottom: 30px;
    color: rgba(255, 255, 255, 0.9);
}

.community-cta {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.community-cta .btn-outline {
    border-color: white;
    color: white;
}

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

/* About Page */
.about-intro {
    padding: 60px 0;
}

.about-intro .container {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 50px;
    align-items: center;
}

.about-content h2 {
    margin-top: 40px;
    margin-bottom: 20px;
}

.about-content p {
    margin-bottom: 20px;
}

.mission-list {
    list-style: none;
    margin: 30px 0;
}

.mission-list li {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.mission-icon {
    color: var(--primary-color);
}

.mission-text h3 {
    margin-bottom: 10px;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.value-card {
    background-color: var(--background-color-alt);
    padding: 20px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.value-card h3 {
    margin-bottom: 10px;
    color: var(--primary-color);
}

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

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

.team-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px;
}

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

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

.team-member:hover {
    transform: translateY(-5px);
}

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

.team-member h3 {
    padding: 20px 20px 5px;
    margin-bottom: 5px;
}

.member-title {
    font-weight: 600;
    color: var(--primary-color);
    padding: 0 20px;
    margin-bottom: 10px;
}

.member-bio {
    padding: 0 20px;
    color: var(--text-color-light);
    font-size: 0.95rem;
    margin-bottom: 15px;
}

.member-social {
    display: flex;
    gap: 10px;
    padding: 0 20px 20px;
}

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

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

.stats-section {
    padding: 60px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}

.stat-card {
    background-color: var(--primary-color);
    color: white;
    text-align: center;
    padding: 30px;
    border-radius: var(--border-radius);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 1.1rem;
}

.testimonials-section {
    background-color: var(--background-color-alt);
    padding: 60px 0;
    text-align: center;
}

.testimonials-section h2 {
    margin-bottom: 40px;
}

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

.testimonial {
    background-color: white;
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: var(--box-shadow);
}

.testimonial-content {
    margin-bottom: 20px;
    font-style: italic;
}

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

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

.author-info h4 {
    margin-bottom: 5px;
}

.author-info p {
    color: var(--text-color-light);
    font-size: 0.9rem;
}

.testimonial-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 30px;
    gap: 20px;
}

.testimonial-nav {
    background: none;
    border: none;
    color: var(--text-color);
    cursor: pointer;
}

.testimonial-dots {
    display: flex;
    gap: 8px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: var(--border-color);
}

.dot.active {
    background-color: var(--primary-color);
}

.partners-section {
    padding: 60px 0;
    text-align: center;
}

.partners-intro {
    max-width: 800px;
    margin: 0 auto 40px;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 30px;
    align-items: center;
}

.partner-logo img {
    max-width: 120px;
    margin: 0 auto;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: var(--transition);
}

.partner-logo:hover img {
    filter: grayscale(0);
    opacity: 1;
}

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

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

.cta-content h2 {
    color: white;
    margin-bottom: 15px;
}

.cta-content p {
    margin-bottom: 30px;
    color: rgba(255, 255, 255, 0.9);
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.cta-buttons .btn-outline {
    border-color: white;
    color: white;
}

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

/* Contact Page */
.contact-section {
    padding: 60px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-info h2 {
    margin-bottom: 20px;
}

.contact-info > p {
    margin-bottom: 30px;
    color: var(--text-color-light);
}

.info-group {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
}

.info-icon {
    color: var(--primary-color);
}

.info-text h3 {
    margin-bottom: 5px;
}

.info-note {
    font-size: 0.9rem;
    color: var(--text-color-light);
    margin-top: 5px;
}

.social-connect {
    margin-top: 40px;
}

.social-connect h3 {
    margin-bottom: 15px;
}

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

.contact-form-container h2 {
    margin-bottom: 20px;
}

.contact-form {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.form-group {
    flex: 1 0 calc(50% - 10px);
}

.full-width {
    flex-basis: 100%;
}

.checkbox-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

.checkbox-group input {
    width: auto;
}

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

.form-actions {
    display: flex;
    gap: 15px;
    width: 100%;
    margin-top: 10px;
}

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

.map-section h2 {
    text-align: center;
    margin-bottom: 30px;
}

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

.faq-section {
    padding: 60px 0;
}

.faq-section h2 {
    text-align: center;
    margin-bottom: 40px;
}

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

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

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

.faq-toggle {
    background: none;
    border: none;
    color: var(--primary-color);
    cursor: pointer;
    transition: var(--transition);
}

.faq-toggle svg {
    transition: var(--transition);
}

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

.faq-answer {
    padding: 0 0 15px;
    display: none;
}

.faq-answer.active {
    display: block;
}

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 1100;
}

.modal-content {
    position: relative;
    background-color: white;
    max-width: 500px;
    margin: 100px auto;
    padding: 40px;
    border-radius: var(--border-radius);
    text-align: center;
}

.modal-icon {
    color: var(--success-color);
    margin-bottom: 20px;
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 1.5rem;
    background: none;
    border: none;
    cursor: pointer;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .about-intro .container {
        grid-template-columns: 1fr;
    }
    
    .about-image {
        order: -1;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    header {
        position: relative;
        height: auto;
    }
    
    header .container {
        flex-direction: column;
        align-items: flex-start;
        padding: 15px 20px;
    }
    
    nav {
        width: 100%;
        margin-top: 15px;
    }
    
    nav ul {
        flex-direction: column;
        gap: 0;
    }
    
    nav li {
        width: 100%;
    }
    
    nav a {
        display: block;
        padding: 10px 0;
        border-top: 1px solid var(--border-color);
    }
    
    nav a.active::after {
        display: none;
    }
    
    .menu-toggle {
        display: block;
        position: absolute;
        top: 20px;
        right: 20px;
    }
    
    .hero h1 {
        font-size: 2.2rem;
    }
    
    .blog-card {
        grid-template-columns: 1fr;
    }
    
    .blog-image {
        height: 200px;
    }
    
    .post-header h1 {
        font-size: 2rem;
    }
    
    .post-footer {
        flex-direction: column;
    }
    
    .post-navigation {
        flex-direction: column;
        gap: 20px;
    }
    
    .nav-previous, .nav-next {
        max-width: 100%;
    }
    
    .related-grid {
        grid-template-columns: 1fr;
    }
    
    .modal-body {
        flex-direction: column;
    }
    
    .calculator-tool, .color-tool {
        flex-direction: column;
    }
    
    .form-group {
        flex-basis: 100%;
    }
    
    .form-actions {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 60px 0;
    }
    
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .posts-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-container {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .testimonial-author {
        flex-direction: column;
        text-align: center;
    }
    
    .community-cta, .cta-buttons {
        flex-direction: column;
    }
}
