* {
    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;
    --success-color: #10b981;
    --hover-color: #1d4ed8;
}

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);
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

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

.container-fluid {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

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

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

.logo-section {
    display: flex;
    align-items: center;
    gap: 15px;
}

.site-logo {
    border-radius: 8px;
}

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

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

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

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

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

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.hamburger {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    position: relative;
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    left: 0;
}

.hamburger::before {
    top: -8px;
}

.hamburger::after {
    bottom: -8px;
}

.hero-banner {
    position: relative;
    height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-image {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    color: white;
    max-width: 800px;
    padding: 0 20px;
}

.hero-title {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 20px;
    margin-bottom: 30px;
    opacity: 0.95;
}

.btn-primary {
    display: inline-block;
    background: var(--primary-color);
    color: white;
    padding: 15px 40px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 16px;
    transition: background 0.3s ease, transform 0.2s ease;
}

.btn-primary:hover {
    background: var(--hover-color);
    transform: translateY(-2px);
}

.page-header {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 80px 0 60px;
    text-align: center;
}

.page-header h1 {
    font-size: 42px;
    margin-bottom: 15px;
}

.page-header p {
    font-size: 18px;
    opacity: 0.9;
}

.summary-box {
    background: var(--bg-light);
    padding: 60px 0;
}

.summary-content {
    max-width: 900px;
    margin: 0 auto;
}

.summary-content h2 {
    font-size: 32px;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.summary-content p {
    font-size: 17px;
    line-height: 1.8;
    color: var(--text-light);
}

.featured-posts,
.blog-listing {
    padding: 80px 0;
}

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

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

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

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

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

.post-content {
    padding: 25px;
}

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

.post-excerpt {
    color: var(--text-light);
    margin-bottom: 20px;
    font-size: 15px;
}

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

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

.blog-item {
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 30px;
    margin-bottom: 40px;
    background: var(--bg-white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

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

.blog-details {
    padding: 30px;
}

.blog-date {
    color: var(--text-light);
    font-size: 14px;
    display: block;
    margin-bottom: 10px;
}

.blog-details h2 {
    font-size: 26px;
    margin-bottom: 15px;
    color: var(--text-dark);
}

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

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

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

.post-single {
    padding: 40px 0 80px;
}

.post-hero img {
    width: 100%;
    max-height: 500px;
    object-fit: cover;
    border-radius: 12px;
}

.post-header {
    max-width: 900px;
    margin: 40px auto 30px;
}

.post-header h1 {
    font-size: 42px;
    margin-bottom: 20px;
    line-height: 1.3;
}

.post-meta {
    display: flex;
    gap: 20px;
    color: var(--text-light);
    font-size: 15px;
}

.post-body {
    max-width: 900px;
    margin: 0 auto;
}

.lead-paragraph {
    font-size: 20px;
    line-height: 1.7;
    color: var(--text-light);
    margin-bottom: 30px;
}

.post-body h2 {
    font-size: 30px;
    margin: 40px 0 20px;
    color: var(--text-dark);
}

.post-body p {
    font-size: 17px;
    line-height: 1.8;
    margin-bottom: 20px;
    color: var(--text-light);
}

.post-conclusion {
    background: var(--bg-light);
    padding: 30px;
    border-radius: 12px;
    margin-top: 40px;
}

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

.post-navigation a {
    color: var(--primary-color);
    font-weight: 600;
    padding: 12px 25px;
    border: 2px solid var(--primary-color);
    border-radius: 8px;
    transition: all 0.3s ease;
}

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

.about-intro,
.team-section,
.values-section {
    padding: 60px 0;
}

.about-content {
    max-width: 900px;
    margin: 0 auto;
}

.about-content h2 {
    font-size: 32px;
    margin-bottom: 25px;
}

.about-content p {
    font-size: 17px;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 20px;
}

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

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

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

.team-card h3 {
    font-size: 22px;
    margin: 20px 0 10px;
}

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

.team-bio {
    padding: 0 20px 25px;
    color: var(--text-light);
    font-size: 15px;
    line-height: 1.6;
}

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

.value-item {
    background: var(--bg-white);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.value-item h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: var(--primary-color);
}

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

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

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

.contact-info h2,
.contact-form-wrapper h2 {
    font-size: 28px;
    margin-bottom: 30px;
}

.info-block {
    margin-bottom: 25px;
}

.info-block h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: var(--primary-color);
}

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

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

.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 textarea {
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 15px;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

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

.btn-submit {
    background: var(--primary-color);
    color: white;
    padding: 15px 40px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
}

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

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

.modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: white;
    padding: 40px;
    border-radius: 12px;
    max-width: 500px;
    position: relative;
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 28px;
    cursor: pointer;
    color: var(--text-light);
}

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

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

.btn-close-modal {
    background: var(--primary-color);
    color: white;
    padding: 12px 30px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    margin-top: 20px;
}

.cta-section {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    padding: 80px 0;
}

.cta-box {
    text-align: center;
    color: white;
}

.cta-box h2 {
    font-size: 36px;
    margin-bottom: 15px;
}

.cta-box p {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.95;
}

.btn-question {
    display: inline-block;
    background: white;
    color: var(--primary-color);
    padding: 15px 40px;
    border-radius: 8px;
    font-weight: 600;
    transition: transform 0.2s ease;
}

.btn-question:hover {
    transform: translateY(-2px);
}

.main-footer {
    background: var(--text-dark);
    color: white;
    padding: 60px 0 20px;
}

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

.footer-column h3 {
    font-size: 20px;
    margin-bottom: 20px;
}

.footer-column p {
    color: rgba(255,255,255,0.8);
    line-height: 1.7;
    margin-bottom: 10px;
}

.footer-reg {
    font-size: 14px;
    margin-top: 10px;
}

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

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

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

.footer-links a:hover {
    color: 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 {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
    z-index: 1500;
    padding: 25px 20px;
    display: none;
}

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

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

.cookie-content h3 {
    font-size: 20px;
    margin-bottom: 12px;
}

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

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

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

.cookie-buttons button {
    padding: 10px 25px;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

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

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

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

.cookie-buttons button:hover {
    opacity: 0.9;
}

@media (max-width: 768px) {
    .primary-nav {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        background: white;
        box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    }
    
    .primary-nav.active {
        display: block;
    }
    
    .primary-nav ul {
        flex-direction: column;
        padding: 20px;
        gap: 0;
    }
    
    .primary-nav li {
        border-bottom: 1px solid var(--border-color);
    }
    
    .primary-nav a {
        display: block;
        padding: 15px 0;
    }
    
    .mobile-toggle {
        display: block;
    }
    
    .hero-title {
        font-size: 32px;
    }
    
    .hero-subtitle {
        font-size: 16px;
    }
    
    .page-header h1 {
        font-size: 32px;
    }
    
    .section-heading {
        font-size: 28px;
    }
    
    .posts-grid {
        grid-template-columns: 1fr;
    }
    
    .blog-item {
        grid-template-columns: 1fr;
    }
    
    .post-header h1 {
        font-size: 32px;
    }
    
    .contact-wrapper {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .team-grid {
        grid-template-columns: 1fr;
    }
    
    .cookie-buttons {
        flex-direction: column;
    }
    
    .cookie-buttons button {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .hero-banner {
        height: 400px;
    }
    
    .hero-title {
        font-size: 26px;
    }
    
    .btn-primary {
        padding: 12px 30px;
        font-size: 14px;
    }
}