:root {
    --primary-color: #2c3e50;
    --secondary-color: #3498db;
    --accent-color: #e74c3c;
    --text-color: #333;
    --text-light: #666;
    --bg-light: #f8f9fa;
    --bg-white: #ffffff;
    --border-color: #e0e0e0;
    --shadow: 0 2px 10px rgba(0,0,0,0.1);
    --transition: all 0.3s ease;
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-white);
}

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

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

.main-header {
    background: var(--bg-white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar-custom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

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

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

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

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

.nav-menu a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: var(--transition);
    padding: 8px 16px;
    border-radius: 5px;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--secondary-color);
    background-color: rgba(52, 152, 219, 0.1);
}

.burger-menu {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.burger-menu span {
    width: 25px;
    height: 3px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

.hero-banner {
    position: relative;
    height: 500px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.3);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    padding: 0 20px;
}

.hero-content h1 {
    font-size: 48px;
    margin-bottom: 20px;
    font-weight: 700;
}

.hero-content p {
    font-size: 20px;
    margin-bottom: 30px;
}

.cta-button {
    display: inline-block;
    padding: 15px 40px;
    background-color: var(--accent-color);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
    box-shadow: var(--shadow);
}

.cta-button:hover {
    background-color: #c0392b;
    transform: translateY(-2px);
}

.intro-section,
.featured-posts,
.facts-section,
.blog-listing,
.about-intro,
.team-section,
.values-section,
.contact-section {
    padding: 80px 0;
}

.intro-section {
    background-color: var(--bg-light);
    text-align: center;
}

.intro-section h2 {
    font-size: 36px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.intro-section p {
    font-size: 18px;
    color: var(--text-light);
    max-width: 900px;
    margin: 0 auto;
}

.featured-posts h2,
.facts-section h2,
.team-section h2,
.values-section h2 {
    text-align: center;
    font-size: 36px;
    color: var(--primary-color);
    margin-bottom: 50px;
}

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

.post-card {
    background: var(--bg-white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

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

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

.post-content {
    padding: 25px;
}

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

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

.read-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.read-more:hover {
    gap: 12px;
}

.facts-section {
    background-color: var(--bg-light);
}

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

.fact-item {
    text-align: center;
    padding: 30px;
    background: var(--bg-white);
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.fact-item i {
    font-size: 48px;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.fact-item h4 {
    font-size: 24px;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.fact-item p {
    color: var(--text-light);
}

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

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

.page-header p {
    font-size: 20px;
}

.blog-listing {
    background-color: var(--bg-light);
}

.blog-posts {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

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

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

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

.post-details {
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

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

.post-details h2 {
    font-size: 28px;
    margin-bottom: 15px;
}

.post-details h2 a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

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

.read-more-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 600;
    margin-top: 15px;
    transition: var(--transition);
}

.read-more-link:hover {
    gap: 12px;
}

.about-content-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-text h2 {
    font-size: 32px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.about-text p {
    color: var(--text-light);
    margin-bottom: 20px;
    font-size: 16px;
}

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

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

.team-member {
    text-align: center;
    padding: 30px;
    background: var(--bg-white);
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

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

.team-member img {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 20px;
    border: 5px solid var(--bg-light);
}

.team-member h3 {
    font-size: 22px;
    color: var(--primary-color);
    margin-bottom: 10px;
}

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

.team-member p:last-of-type {
    color: var(--text-light);
    font-size: 14px;
}

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

.value-card {
    text-align: center;
    padding: 40px 30px;
    background: var(--bg-white);
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

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

.value-card i {
    font-size: 48px;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

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

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

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

.contact-info {
    background: var(--bg-light);
    padding: 40px;
    border-radius: 10px;
}

.contact-info h2 {
    font-size: 28px;
    color: var(--primary-color);
    margin-bottom: 30px;
}

.info-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.info-item i {
    font-size: 24px;
    color: var(--secondary-color);
    margin-top: 5px;
}

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

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

.contact-form-wrapper h2 {
    font-size: 28px;
    color: var(--primary-color);
    margin-bottom: 30px;
}

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

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

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

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

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

.submit-button {
    padding: 15px 40px;
    background-color: var(--secondary-color);
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.submit-button:hover {
    background-color: #2980b9;
    transform: translateY(-2px);
}

.post-single {
    background-color: var(--bg-light);
}

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

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

.post-meta {
    display: flex;
    gap: 30px;
    color: var(--text-light);
    margin: 30px 0;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--border-color);
}

.post-meta span {
    display: flex;
    align-items: center;
    gap: 8px;
}

.post-single h1 {
    font-size: 42px;
    color: var(--primary-color);
    margin-bottom: 30px;
}

.post-body {
    background: var(--bg-white);
    padding: 50px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    margin-bottom: 50px;
}

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

.post-body h3 {
    font-size: 24px;
    color: var(--primary-color);
    margin: 30px 0 15px;
}

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

.post-navigation {
    text-align: center;
    padding: 30px 0;
}

.back-to-blog {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 30px;
    background-color: var(--secondary-color);
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: var(--transition);
}

.back-to-blog:hover {
    background-color: #2980b9;
    gap: 15px;
}

.main-footer {
    background-color: var(--primary-color);
    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);
    margin-bottom: 15px;
    line-height: 1.6;
}

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

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

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

.footer-column ul li a:hover {
    color: white;
    padding-left: 5px;
}

.registration {
    font-size: 14px;
    margin-top: 15px;
}

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

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

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

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

.cookie-content h3 {
    font-size: 24px;
    color: var(--primary-color);
    margin-bottom: 15px;
}

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

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

.cookie-btn {
    padding: 12px 30px;
    border: none;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

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

.cookie-btn.accept:hover {
    background-color: #2980b9;
}

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

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

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

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

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

.modal-content {
    background: var(--bg-white);
    padding: 50px;
    border-radius: 10px;
    text-align: center;
    max-width: 500px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
}

.modal-icon i {
    font-size: 64px;
    color: #27ae60;
    margin-bottom: 20px;
}

.modal-content h2 {
    font-size: 32px;
    color: var(--primary-color);
    margin-bottom: 15px;
}

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

.modal-close-btn {
    padding: 12px 40px;
    background-color: var(--secondary-color);
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.modal-close-btn:hover {
    background-color: #2980b9;
}

@media (max-width: 968px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 80px;
        flex-direction: column;
        background-color: var(--bg-white);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: var(--shadow);
        padding: 20px 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .burger-menu {
        display: flex;
    }

    .hero-content h1 {
        font-size: 32px;
    }

    .hero-content p {
        font-size: 16px;
    }

    .blog-post-card {
        grid-template-columns: 1fr;
    }

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

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

    .post-body {
        padding: 30px 20px;
    }

    .post-single h1 {
        font-size: 32px;
    }

    .post-body h2 {
        font-size: 26px;
    }
}

@media (max-width: 768px) {
    .posts-grid,
    .facts-grid,
    .team-grid,
    .values-grid {
        grid-template-columns: 1fr;
    }

    .page-header h1 {
        font-size: 36px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }
}