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

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

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

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

.primary-nav {
    background: var(--bg-white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    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-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--text-dark);
    font-size: 1.5rem;
    font-weight: 700;
}

.brand-logo img {
    border-radius: 50%;
    object-fit: cover;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    margin: 3px 0;
    transition: var(--transition);
}

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

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

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

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

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

.hero-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    padding: 80px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    line-height: 1.2;
    color: var(--text-dark);
}

.hero-content p {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 30px;
}

.cta-button {
    display: inline-block;
    padding: 15px 35px;
    background: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
}

.cta-button:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4);
}

.hero-image {
    width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

.learn-section,
.featured-posts,
.features-section {
    padding: 80px 20px;
    background: var(--bg-light);
}

.learn-section:nth-child(even),
.features-section:nth-child(even) {
    background: var(--bg-white);
}

h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: var(--text-dark);
}

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

.learn-card {
    background: var(--bg-white);
    padding: 40px 30px;
    border-radius: 12px;
    text-align: center;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    position: relative;
    cursor: pointer;
}

.learn-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.learn-card svg {
    color: var(--primary-color);
    margin-bottom: 20px;
}

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

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

.learn-card[data-tooltip]:hover::before {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: var(--text-dark);
    color: white;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 0.875rem;
    white-space: nowrap;
    margin-bottom: 10px;
    opacity: 0.95;
}

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

.post-card,
.blog-post-card {
    background: var(--bg-white);
    border-radius: 12px;
    overflow: hidden;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

.post-card:hover,
.blog-post-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.15);
}

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

.post-content,
.post-card-body {
    padding: 25px;
}

.post-date {
    display: inline-block;
    color: var(--primary-color);
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.post-content h3,
.post-card-body h2 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--text-dark);
}

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

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

.read-more:hover,
.btn-read-article:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

.post-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 15px;
}

.reading-time {
    display: flex;
    align-items: center;
    gap: 5px;
    color: var(--text-light);
    font-size: 0.875rem;
}

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

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

.feature-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.feature-item h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

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

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

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

.page-header p {
    font-size: 1.25rem;
    opacity: 0.95;
}

.blog-listing {
    padding: 80px 20px;
}

.about-intro {
    padding: 80px 20px;
    background: var(--bg-light);
}

.about-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-content h2 {
    text-align: left;
    margin-bottom: 25px;
}

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

.about-content img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

.team-section {
    padding: 80px 20px;
}

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

.team-member {
    text-align: center;
    background: var(--bg-white);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: var(--transition);
}

.team-member:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

.team-member img {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 20px;
}

.team-member h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.team-member p:first-of-type {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 15px;
}

.team-member p:last-of-type {
    color: var(--text-light);
    line-height: 1.7;
}

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

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

.value-card {
    background: var(--bg-white);
    padding: 40px 30px;
    border-radius: 12px;
    text-align: center;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    position: relative;
}

.value-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

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

.value-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

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

.contact-section {
    padding: 80px 20px;
}

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

.contact-info h2 {
    text-align: left;
    margin-bottom: 30px;
}

.info-block {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    align-items: flex-start;
}

.info-block svg {
    color: var(--primary-color);
    flex-shrink: 0;
}

.info-block h3 {
    font-size: 1.25rem;
    margin-bottom: 8px;
}

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

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

.info-block a:hover {
    text-decoration: underline;
}

.contact-form-wrapper h2 {
    text-align: left;
    margin-bottom: 30px;
}

.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 15px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    transition: var(--transition);
    font-family: inherit;
}

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

.submit-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px 35px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
}

.submit-btn:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4);
}

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

.map-placeholder iframe {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

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

.modal.active {
    display: flex;
}

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

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

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

.modal-content svg {
    margin-bottom: 20px;
}

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

.modal-content p {
    color: var(--text-light);
    margin-bottom: 30px;
    line-height: 1.7;
}

.modal-btn {
    padding: 12px 30px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    transition: var(--transition);
}

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

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

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

.post-meta-info {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.post-meta-info span {
    color: var(--text-light);
    font-size: 0.9rem;
}

.post-author {
    color: var(--primary-color) !important;
    font-weight: 600;
}

.post-header h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    line-height: 1.2;
}

.post-excerpt {
    font-size: 1.25rem;
    color: var(--text-light);
    line-height: 1.7;
}

.post-featured-image {
    width: 100%;
    height: 500px;
    overflow: hidden;
}

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

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

.post-content section {
    margin-bottom: 50px;
}

.post-content h2 {
    text-align: left;
    font-size: 2rem;
    margin-bottom: 25px;
    margin-top: 40px;
}

.post-content p {
    color: var(--text-light);
    line-height: 1.9;
    margin-bottom: 20px;
    font-size: 1.1rem;
}

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

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

.back-to-blog,
.prev-post,
.next-post {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.back-to-blog:hover,
.prev-post:hover,
.next-post:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

.post-nav-links {
    display: flex;
    gap: 30px;
}

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

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

.footer-section h3 {
    margin-bottom: 20px;
    font-size: 1.25rem;
}

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

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

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

.footer-section a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    transition: var(--transition);
}

.footer-section a:hover {
    color: white;
    text-decoration: underline;
}

.vat-info {
    font-size: 0.9rem;
    margin-top: 15px;
}

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

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

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

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

.cookie-content h3 {
    margin-bottom: 15px;
    font-size: 1.5rem;
}

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

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

.cookie-btn {
    padding: 12px 25px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    font-size: 0.95rem;
}

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

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

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

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

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

.cookie-btn.decline:hover {
    border-color: var(--text-light);
    color: var(--text-dark);
}

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

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

@media (max-width: 968px) {
    .nav-toggle {
        display: flex;
    }

    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--bg-white);
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 4px 10px rgba(0,0,0,0.1);
        display: none;
    }

    .nav-links.active {
        display: flex;
    }

    .hero-section {
        grid-template-columns: 1fr;
        padding: 60px 20px;
    }

    .hero-content h1 {
        font-size: 2.25rem;
    }

    .about-content {
        grid-template-columns: 1fr;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .post-header h1 {
        font-size: 2rem;
    }

    .post-excerpt {
        font-size: 1.1rem;
    }

    .post-navigation .container {
        flex-direction: column;
        gap: 20px;
    }
}

@media (max-width: 640px) {
    .hero-content h1,
    .page-header h1 {
        font-size: 1.75rem;
    }

    h2 {
        font-size: 1.75rem;
    }

    .learn-grid,
    .posts-grid,
    .features-wrapper,
    .values-grid,
    .team-grid {
        grid-template-columns: 1fr;
    }

    .cookie-buttons {
        flex-direction: column;
    }

    .cookie-btn {
        width: 100%;
    }
}