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

:root {
    --primary-color: #2563eb;
    --secondary-color: #1e40af;
    --accent-color: #3b82f6;
    --text-dark: #1f2937;
    --text-light: #6b7280;
    --background-light: #f9fafb;
    --border-color: #e5e7eb;
    --white: #ffffff;
    --success-color: #10b981;
    --warning-color: #f59e0b;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
}

.container-main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.primary-navigation {
    background: var(--white);
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand-section {
    display: flex;
    align-items: center;
    gap: 12px;
}

.site-logo {
    width: 45px;
    height: 45px;
    border-radius: 8px;
    object-fit: cover;
}

.brand-name {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary-color);
}

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

.nav-links a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s;
}

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

/* Hero Banner */
.hero-banner {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--white);
    padding: 100px 20px;
    text-align: center;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    font-weight: 800;
}

.hero-subtitle {
    font-size: 1.3rem;
    opacity: 0.95;
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--white);
    padding: 60px 20px;
    text-align: center;
}

.page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.page-header p {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* Story Intro */
.story-intro {
    padding: 80px 20px;
    background: var(--background-light);
}

.story-box {
    max-width: 900px;
    margin: 0 auto;
    background: var(--white);
    padding: 50px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.story-box h2 {
    font-size: 2.2rem;
    margin-bottom: 25px;
    color: var(--primary-color);
}

.story-box p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-light);
}

/* Features Section */
.features-section {
    padding: 80px 20px;
}

.section-heading {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 60px;
    color: var(--text-dark);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
}

.feature-item {
    text-align: center;
    padding: 40px 30px;
    background: var(--white);
    border-radius: 12px;
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid var(--border-color);
}

.feature-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.feature-item h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.feature-item p {
    color: var(--text-light);
    line-height: 1.6;
}

/* Image Showcase */
.image-showcase {
    padding: 80px 20px;
    background: var(--background-light);
}

.showcase-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.showcase-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s;
}

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

.image-frame-custom {
    width: 100%;
    overflow: hidden;
}

.showcase-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
}

.showcase-card h3 {
    padding: 25px 25px 10px;
    font-size: 1.4rem;
    color: var(--text-dark);
}

.showcase-card p {
    padding: 0 25px 25px;
    color: var(--text-light);
    line-height: 1.6;
}

/* CTA Section */
.cta-section {
    padding: 80px 20px;
    background: var(--primary-color);
    color: var(--white);
}

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

.cta-content h2 {
    font-size: 2.3rem;
    margin-bottom: 20px;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.95;
}

/* Forms */
.lead-form {
    max-width: 700px;
    margin: 0 auto;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}

.lead-form input,
.lead-form select,
.lead-form textarea {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: 8px;
    font-size: 1rem;
    background: rgba(255,255,255,0.95);
    color: var(--text-dark);
    transition: border-color 0.3s;
}

.lead-form input:focus,
.lead-form select:focus,
.lead-form textarea:focus {
    outline: none;
    border-color: var(--white);
}

.btn-primary {
    background: var(--secondary-color);
    color: var(--white);
    padding: 15px 40px;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s, transform 0.2s;
    display: inline-block;
    text-decoration: none;
}

.btn-primary:hover {
    background: #1e3a8a;
    transform: translateY(-2px);
}

/* Recent Posts */
.recent-posts {
    padding: 80px 20px;
}

.posts-preview {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.post-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s;
}

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

.post-card .image-frame-custom img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.post-content {
    padding: 25px;
}

.post-content h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.post-content p {
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.6;
}

.read-more {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

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

/* Blog Page */
.blog-main {
    padding: 60px 20px;
}

.blog-grid {
    display: grid;
    gap: 50px;
    max-width: 900px;
    margin: 0 auto;
}

.blog-article-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s;
}

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

.article-image-wrapper .image-frame-custom img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.article-details {
    display: flex;
    gap: 20px;
    padding: 25px 30px 10px;
    font-size: 0.9rem;
}

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

.article-date {
    color: var(--text-light);
}

.blog-article-card h2 {
    padding: 0 30px;
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.blog-article-card p {
    padding: 0 30px;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 20px;
}

.article-link {
    display: inline-block;
    padding: 0 30px 30px;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

.article-link:hover {
    color: var(--secondary-color);
}

/* Newsletter */
.newsletter-signup {
    padding: 80px 20px;
    background: var(--background-light);
}

.newsletter-box {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
    background: var(--white);
    padding: 50px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.newsletter-box h2 {
    font-size: 2rem;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.newsletter-box p {
    color: var(--text-light);
    margin-bottom: 30px;
}

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

.newsletter-form input {
    flex: 1;
    padding: 14px 18px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
}

.newsletter-form button {
    white-space: nowrap;
}

/* About Page */
.about-story {
    padding: 80px 20px;
}

.story-content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.story-text h2 {
    font-size: 2.2rem;
    margin-bottom: 25px;
    color: var(--primary-color);
}

.story-text p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 20px;
}

.story-image .image-frame-custom img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

.mission-values {
    padding: 80px 20px;
    background: var(--background-light);
}

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

.value-card {
    text-align: center;
    padding: 40px 30px;
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.value-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.value-card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.value-card p {
    color: var(--text-light);
    line-height: 1.6;
}

/* Team Section */
.team-section {
    padding: 80px 20px;
}

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

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

.team-member-card {
    text-align: center;
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s;
}

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

.member-image-wrapper img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.member-info {
    padding: 30px;
}

.member-info h3 {
    font-size: 1.6rem;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.member-role {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 15px;
    display: block;
}

.member-bio {
    color: var(--text-light);
    line-height: 1.7;
    text-align: left;
}

/* Contact Page */
.contact-main {
    padding: 60px 20px;
}

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-info-section h2,
.contact-form-section h2 {
    font-size: 2rem;
    margin-bottom: 15px;
    color: var(--text-dark);
}

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

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-bottom: 40px;
}

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

.contact-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.contact-text h3 {
    font-size: 1.2rem;
    margin-bottom: 5px;
    color: var(--text-dark);
}

.contact-text p,
.contact-text a {
    color: var(--text-light);
    text-decoration: none;
}

.contact-text a:hover {
    color: var(--primary-color);
}

.map-placeholder {
    margin-top: 40px;
}

.map-placeholder .image-frame-custom img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

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

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

.form-group label {
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px 16px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s;
}

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

.checkbox-group label {
    flex-direction: row;
    align-items: center;
    gap: 10px;
    font-weight: normal;
}

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

.checkbox-group a {
    color: var(--primary-color);
}

.faq-section {
    padding: 80px 20px;
    background: var(--background-light);
}

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

.faq-item {
    background: var(--white);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.faq-item h3 {
    font-size: 1.2rem;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.faq-item p {
    color: var(--text-light);
    line-height: 1.6;
}

/* Post Article */
.post-article {
    background: var(--white);
}

.post-header {
    padding: 40px 20px 60px;
    background: var(--background-light);
}

.post-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    font-size: 0.95rem;
}

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

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

.post-header h1 {
    font-size: 2.8rem;
    margin-bottom: 30px;
    color: var(--text-dark);
    max-width: 900px;
}

.post-featured-image {
    max-width: 900px;
}

.post-featured-image .image-frame-custom img {
    width: 100%;
    max-height: 500px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

.post-content {
    padding: 60px 20px;
}

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

.lead-paragraph {
    font-size: 1.25rem;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 40px;
    font-weight: 400;
}

.content-wrapper h2 {
    font-size: 2rem;
    margin-top: 50px;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.content-wrapper h3 {
    font-size: 1.6rem;
    margin-top: 40px;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.content-wrapper p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 25px;
}

.post-cta {
    max-width: 800px;
    margin: 60px auto;
    padding: 40px;
    background: var(--background-light);
    border-radius: 12px;
    text-align: center;
}

.post-cta h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: var(--text-dark);
}

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

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

.post-navigation a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

.post-navigation a:hover {
    color: var(--secondary-color);
}

/* Footer */
.site-footer {
    background: var(--text-dark);
    color: var(--white);
    padding: 60px 20px 30px;
}

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

.footer-col h4 {
    font-size: 1.3rem;
    margin-bottom: 20px;
}

.footer-col p {
    color: rgba(255,255,255,0.8);
    line-height: 1.7;
}

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

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

.footer-links a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    transition: color 0.3s;
}

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

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

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--white);
    box-shadow: 0 -4px 20px rgba(0,0,0,0.15);
    padding: 30px 20px;
    z-index: 10000;
    display: none;
}

.cookie-banner.show {
    display: block;
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
}

.cookie-content h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.cookie-content p {
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.6;
}

.cookie-content a {
    color: var(--primary-color);
}

.cookie-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.btn-accept,
.btn-decline,
.btn-customize {
    padding: 12px 30px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s, transform 0.2s;
}

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

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

.btn-decline {
    background: var(--border-color);
    color: var(--text-dark);
}

.btn-decline:hover {
    background: #d1d5db;
}

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

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

/* Modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.6);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 10001;
}

.modal-overlay.show {
    display: flex;
}

.modal-content {
    background: var(--white);
    border-radius: 12px;
    max-width: 500px;
    width: 90%;
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 30px;
    border-bottom: 1px solid var(--border-color);
}

.modal-header h2 {
    font-size: 1.8rem;
    color: var(--text-dark);
}

.modal-close {
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--text-light);
    cursor: pointer;
    transition: color 0.3s;
}

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

.modal-body {
    padding: 30px;
}

.modal-body p {
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.6;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        gap: 15px;
    }
    
    .nav-links a {
        font-size: 0.95rem;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .section-heading {
        font-size: 2rem;
    }
    
    .story-content-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-layout {
        grid-template-columns: 1fr;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .post-header h1 {
        font-size: 2rem;
    }
    
    .cookie-buttons {
        flex-direction: column;
    }
    
    .cookie-buttons button {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .brand-name {
        font-size: 1.1rem;
    }
    
    .site-logo {
        width: 35px;
        height: 35px;
    }
    
    .nav-links {
        gap: 10px;
    }
    
    .nav-links a {
        font-size: 0.85rem;
    }
    
    .story-box {
        padding: 30px 25px;
    }
    
    .post-navigation {
        flex-direction: column;
    }
}