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

:root {
    --primary-color: #2c5f8d;
    --secondary-color: #4a90c6;
    --accent-color: #f7941d;
    --dark-color: #1a1a1a;
    --light-color: #f8f9fa;
    --text-color: #333;
    --border-color: #e0e0e0;
    --success-color: #28a745;
    --white: #ffffff;
}

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

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

.navigation-primary {
    padding: 0;
}

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

.brand-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
}

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

.logo-text {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
}

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

.nav-menu a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: color 0.3s;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

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

.hero-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--white);
    padding: 4rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    gap: 3rem;
}

.hero-content {
    flex: 1;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.hero-cta {
    display: flex;
    gap: 1rem;
}

.btn-primary,
.btn-secondary,
.btn-large,
.btn-submit,
.btn-read-more,
.btn-back-blog,
.btn-contact-post,
.btn-modal-close {
    padding: 0.875rem 2rem;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-primary,
.btn-large,
.btn-submit,
.btn-read-more {
    background: var(--accent-color);
    color: var(--white);
}

.btn-primary:hover,
.btn-large:hover,
.btn-submit:hover,
.btn-read-more:hover {
    background: #e67e0d;
    transform: translateY(-2px);
}

.btn-secondary,
.btn-back-blog {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-secondary:hover,
.btn-back-blog:hover {
    background: var(--white);
    color: var(--primary-color);
}

.hero-image {
    flex: 1;
}

.hero-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.features-section,
.latest-posts,
.about-intro,
.values-section,
.team-section,
.stats-section,
.blog-posts-section,
.contact-section,
.map-section {
    max-width: 1200px;
    margin: 4rem auto;
    padding: 2rem;
}

.features-section h2,
.latest-posts h2,
.about-intro h2,
.values-section h2,
.team-section h2,
.stats-section h2,
.page-header h1,
.contact-section h2 {
    text-align: center;
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 3rem;
}

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

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

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

.feature-icon {
    font-size: 3rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.feature-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.posts-grid,
.blog-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.post-preview,
.blog-post-card {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

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

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

.post-content,
.post-details {
    padding: 1.5rem;
}

.post-meta,
.post-meta-info {
    display: flex;
    gap: 1rem;
    font-size: 0.875rem;
    color: #666;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.post-content h3 a,
.post-details h2 a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s;
}

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

.post-excerpt,
.post-summary {
    margin: 1rem 0;
    color: #555;
}

.read-more,
.btn-read-more {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: gap 0.3s;
}

.read-more:hover,
.btn-read-more:hover {
    gap: 0.75rem;
}

.view-all-posts {
    text-align: center;
    margin-top: 3rem;
}

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

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

.cta-content p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
}

.page-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--white);
    text-align: center;
    padding: 3rem 2rem;
}

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

.about-content-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    margin-bottom: 3rem;
}

.about-text p {
    margin-bottom: 1rem;
}

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

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

.value-item {
    text-align: center;
    padding: 2rem;
}

.value-item i {
    font-size: 3rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
}

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

.team-intro {
    text-align: center;
    font-size: 1.125rem;
    margin-bottom: 3rem;
    color: #555;
}

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

.team-card {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

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

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

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

.team-role {
    color: var(--accent-color);
    font-weight: 600;
    padding: 0 1.5rem;
}

.team-bio {
    padding: 1rem 1.5rem 1.5rem;
    color: #555;
}

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

.stat-item {
    text-align: center;
    padding: 2rem;
    background: var(--light-color);
    border-radius: 10px;
}

.stat-number {
    font-size: 3rem;
    font-weight: bold;
    color: var(--accent-color);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1.125rem;
    color: var(--primary-color);
}

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

.contact-details {
    margin-top: 2rem;
}

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

.contact-icon {
    font-size: 1.5rem;
    color: var(--accent-color);
    min-width: 30px;
}

.contact-icon i {
    width: 30px;
    text-align: center;
}

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

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

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

.contact-form-container h2 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.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(--primary-color);
}

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

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

.map-container {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

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

.post-header {
    margin-bottom: 3rem;
}

.post-header-content {
    max-width: 900px;
    margin: 2rem auto;
    padding: 0 2rem;
}

.post-intro {
    font-size: 1.25rem;
    color: #555;
    margin-top: 1rem;
}

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

.post-featured-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

.post-content {
    padding: 0 2rem;
    line-height: 1.8;
}

.content-section {
    margin-bottom: 3rem;
}

.content-section h2 {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 1.5rem;
    margin-top: 2rem;
}

.content-section h3 {
    color: var(--secondary-color);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    margin-top: 1.5rem;
}

.content-section p {
    margin-bottom: 1rem;
}

.post-footer-nav {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 2px solid var(--border-color);
    flex-wrap: wrap;
}

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

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

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

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

.modal-content {
    background: var(--white);
    padding: 3rem;
    border-radius: 10px;
    text-align: center;
    max-width: 500px;
    margin: 2rem;
}

.modal-icon {
    font-size: 4rem;
    color: var(--success-color);
    margin-bottom: 1rem;
}

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

.btn-modal-close {
    background: var(--primary-color);
    color: var(--white);
    margin-top: 1.5rem;
}

.main-footer {
    background: var(--dark-color);
    color: var(--white);
    padding: 3rem 2rem 1rem;
}

.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-section h4 {
    color: var(--accent-color);
    margin-bottom: 1rem;
}

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

.footer-links li,
.footer-contact li {
    margin-bottom: 0.5rem;
}

.footer-links a,
.footer-contact a {
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover,
.footer-contact a:hover {
    color: var(--accent-color);
}

.registration-number {
    margin-top: 1rem;
    font-size: 0.875rem;
    color: #999;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #444;
    color: #999;
}

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

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

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

.cookie-text h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.cookie-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: flex-end;
    align-items: center;
}

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

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

.accept-btn:hover {
    background: #218838;
}

.reject-btn {
    background: #6c757d;
    color: var(--white);
}

.reject-btn:hover {
    background: #5a6268;
}

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

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

@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        gap: 1rem;
    }

    .nav-menu {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }

    .hero-section {
        flex-direction: column;
        text-align: center;
    }

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

    .hero-cta {
        flex-direction: column;
    }

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

    .features-grid,
    .posts-grid,
    .blog-container,
    .values-grid,
    .team-grid,
    .stats-grid {
        grid-template-columns: 1fr;
    }

    .post-footer-nav {
        flex-direction: column;
    }

    .cookie-buttons {
        justify-content: center;
    }
}