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

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

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

.main-header {
    background-color: var(--bg-white);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.logo-section img {
    border-radius: 8px;
}

.site-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.primary-nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

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

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

.welcome-banner {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 3rem 2rem;
    text-align: center;
}

.greeting-multi {
    font-size: 0.9rem;
    opacity: 0.9;
    margin-bottom: 1rem;
}

.welcome-banner h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.welcome-text {
    font-size: 1.1rem;
    max-width: 800px;
    margin: 0 auto;
}

.homepage-main,
.blog-main,
.about-main,
.contact-main,
.post-main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.hero-section {
    margin: 3rem 0;
}

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

.hero-text h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

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

.hero-image img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.cta-button {
    display: inline-block;
    background-color: var(--primary-color);
    color: white;
    padding: 0.75rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s;
}

.cta-button:hover {
    background-color: var(--secondary-color);
}

.cta-button-secondary {
    display: inline-block;
    background-color: var(--accent-color);
    color: white;
    padding: 0.75rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s;
}

.cta-button-secondary:hover {
    background-color: #d97706;
}

.features-section {
    margin: 4rem 0;
    padding: 3rem 0;
    background-color: var(--bg-light);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.feature-card {
    background-color: var(--bg-white);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

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

.feature-icon {
    font-size: 3rem;
    display: block;
    margin-bottom: 1rem;
}

.feature-card h3 {
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.feature-card p {
    color: var(--text-light);
    font-size: 0.95rem;
}

.recent-posts {
    margin: 4rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.section-header p {
    color: var(--text-light);
}

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

.post-preview {
    background-color: var(--bg-white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

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

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

.post-preview h3 {
    padding: 1rem 1.5rem 0.5rem;
    color: var(--text-dark);
}

.post-preview p {
    padding: 0 1.5rem;
    color: var(--text-light);
    margin-bottom: 1rem;
}

.read-more {
    display: inline-block;
    margin: 0 1.5rem 1.5rem;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}

.read-more:hover {
    text-decoration: underline;
}

.info-section {
    margin: 4rem 0;
    padding: 3rem 0;
}

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

.info-block h3 {
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.info-block p {
    color: var(--text-light);
}

.cta-section {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 4rem 2rem;
    text-align: center;
    border-radius: 12px;
    margin: 4rem 0;
}

.cta-wrapper h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.cta-wrapper p {
    margin-bottom: 2rem;
}

.site-footer {
    background-color: var(--text-dark);
    color: white;
    padding: 3rem 2rem 1rem;
    margin-top: 4rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-col h4 {
    margin-bottom: 1rem;
    color: white;
}

.footer-col p,
.footer-col ul {
    color: #9ca3af;
    font-size: 0.9rem;
}

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

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

.footer-col a {
    color: #9ca3af;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-col a:hover {
    color: white;
}

.company-reg {
    font-size: 0.85rem;
    margin-top: 0.5rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #374151;
    color: #9ca3af;
    font-size: 0.9rem;
}

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--bg-white);
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
    padding: 1.5rem 2rem;
    z-index: 2000;
    display: none;
}

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

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

.cookie-content h4 {
    margin-bottom: 0.5rem;
}

.cookie-content p {
    margin-bottom: 1rem;
    color: var(--text-light);
    font-size: 0.9rem;
}

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

.cookie-btn {
    padding: 0.5rem 1.5rem;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

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

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

.cookie-btn.customize {
    background-color: var(--bg-light);
    color: var(--text-dark);
}

.cookie-btn.customize:hover {
    background-color: var(--border-color);
}

.cookie-btn.decline {
    background-color: transparent;
    color: var(--text-light);
    border: 1px solid var(--border-color);
}

.cookie-link {
    color: var(--primary-color);
    font-size: 0.9rem;
}

.page-hero {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 3rem 2rem;
    text-align: center;
    border-radius: 12px;
    margin-bottom: 3rem;
}

.page-hero-content h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.page-hero-content p {
    font-size: 1.1rem;
}

.blog-container {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.blog-card {
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: 2rem;
    background-color: var(--bg-white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

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

.blog-card-content {
    padding: 2rem;
}

.blog-card-content h2 {
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.blog-meta {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.blog-card-content p {
    color: var(--text-light);
    margin-bottom: 1rem;
}

.blog-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}

.blog-link:hover {
    text-decoration: underline;
}

.blog-sidebar-section {
    margin: 3rem 0;
}

.sidebar-container {
    max-width: 400px;
}

.sidebar-widget {
    background-color: var(--bg-light);
    padding: 2rem;
    border-radius: 12px;
}

.sidebar-widget h3 {
    margin-bottom: 1rem;
}

.category-list {
    list-style: none;
}

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

.category-list a {
    color: var(--text-dark);
    text-decoration: none;
    transition: color 0.3s;
}

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

.about-story {
    margin: 3rem 0;
}

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

.story-text h2 {
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.story-text p {
    margin-bottom: 1rem;
    color: var(--text-light);
}

.story-image img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

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

.team-header {
    text-align: center;
    margin-bottom: 3rem;
}

.team-header h2 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.team-header p {
    color: var(--text-light);
}

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

.team-card {
    background-color: var(--bg-white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    text-align: center;
}

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

.team-card h3 {
    padding: 1rem 1.5rem 0.5rem;
    color: var(--text-dark);
}

.team-role {
    color: var(--primary-color);
    font-weight: 600;
    padding: 0 1.5rem;
    margin-bottom: 0.5rem;
}

.team-card p {
    padding: 0 1.5rem 1.5rem;
    color: var(--text-light);
    font-size: 0.9rem;
}

.values-section {
    background-color: var(--bg-light);
    padding: 4rem 2rem;
    margin: 4rem 0;
    border-radius: 12px;
}

.values-wrapper h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2rem;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

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

.value-icon {
    font-size: 3rem;
    display: block;
    margin-bottom: 1rem;
}

.value-item h3 {
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

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

.about-cta {
    text-align: center;
    margin: 4rem 0;
}

.cta-content h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

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

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

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 3rem;
}

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

.contact-detail {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.contact-icon {
    font-size: 1.5rem;
}

.contact-detail h3 {
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

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

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

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

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

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

.form-group input,
.form-group textarea {
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-family: inherit;
    font-size: 1rem;
}

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

.submit-btn {
    background-color: var(--primary-color);
    color: white;
    padding: 0.75rem 2rem;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s;
}

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

.map-section {
    margin: 3rem 0;
}

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

.map-placeholder {
    background-color: var(--bg-light);
    padding: 4rem;
    text-align: center;
    border-radius: 12px;
    color: var(--text-light);
}

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    z-index: 3000;
    justify-content: center;
    align-items: center;
}

.modal.active {
    display: flex;
}

.modal-content {
    background-color: var(--bg-white);
    padding: 3rem;
    border-radius: 12px;
    max-width: 500px;
    text-align: center;
    position: relative;
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 2rem;
    cursor: pointer;
    color: var(--text-light);
}

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

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

.modal-btn {
    background-color: var(--primary-color);
    color: white;
    padding: 0.75rem 2rem;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
}

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

.post-article {
    background-color: var(--bg-white);
}

.post-header h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

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

.post-meta span::after {
    content: "•";
    margin-left: 1rem;
}

.post-meta span:last-child::after {
    content: "";
    margin-left: 0;
}

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

.post-featured-image img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.post-content {
    color: var(--text-dark);
    line-height: 1.8;
}

.post-content h2 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.post-content h3 {
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
}

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

.post-footer {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

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

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

.post-tags a {
    background-color: var(--bg-light);
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    text-decoration: none;
    color: var(--text-dark);
    font-size: 0.9rem;
    transition: background-color 0.3s;
}

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

.post-sidebar {
    position: sticky;
    top: 100px;
    height: fit-content;
}

.sidebar-section {
    background-color: var(--bg-light);
    padding: 2rem;
    border-radius: 12px;
}

.sidebar-section h3 {
    margin-bottom: 1rem;
}

.related-posts {
    list-style: none;
}

.related-posts li {
    margin-bottom: 1rem;
}

.related-posts a {
    color: var(--text-dark);
    text-decoration: none;
    transition: color 0.3s;
}

.related-posts a:hover {
    color: var(--primary-color);
}

@media (max-width: 1024px) {
    .post-main {
        grid-template-columns: 1fr;
    }
    
    .post-sidebar {
        position: static;
    }
}

@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        gap: 1rem;
    }
    
    .primary-nav ul {
        gap: 1rem;
    }
    
    .hero-wrapper,
    .story-container {
        grid-template-columns: 1fr;
    }
    
    .contact-container {
        grid-template-columns: 1fr;
    }
    
    .blog-card {
        grid-template-columns: 1fr;
    }
    
    .blog-card-image img {
        height: 250px;
    }
    
    .welcome-banner h1 {
        font-size: 1.8rem;
    }
    
    .page-hero-content h1 {
        font-size: 1.8rem;
    }
    
    .post-header h1 {
        font-size: 1.8rem;
    }
}