:root {
    --primary-color: #2c5aa0;
    --secondary-color: #1a3d6b;
    --accent-color: #4a90e2;
    --text-dark: #333333;
    --text-light: #666666;
    --bg-light: #f8f9fa;
    --bg-white: #ffffff;
    --border-color: #e0e0e0;
    --success-color: #28a745;
    --warning-color: #ffc107;
    --danger-color: #dc3545;
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 8px rgba(0,0,0,0.15);
    --shadow-lg: 0 8px 16px rgba(0,0,0,0.2);
    --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-dark);
    background-color: var(--bg-white);
}

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

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--accent-color);
}

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

.primary-nav {
    background-color: var(--bg-white);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.brand-section {
    display: flex;
    align-items: center;
    gap: 12px;
}

.brand-logo {
    width: 50px;
    height: 50px;
    border-radius: 8px;
}

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

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

.nav-links a {
    font-weight: 500;
    padding: 8px 12px;
    border-radius: 4px;
    transition: var(--transition);
}

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

.hero-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--bg-white);
    padding: 80px 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.hero-content h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    line-height: 1.2;
}

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

.hero-actions {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.btn-primary {
    background-color: var(--bg-white);
    color: var(--primary-color);
    padding: 12px 30px;
    border-radius: 6px;
    font-weight: 600;
    display: inline-block;
    transition: var(--transition);
    border: 2px solid var(--bg-white);
}

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

.btn-secondary {
    background-color: transparent;
    color: var(--bg-white);
    padding: 12px 30px;
    border-radius: 6px;
    font-weight: 600;
    display: inline-block;
    border: 2px solid var(--bg-white);
    transition: var(--transition);
}

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

.hero-visual img {
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
}

.section-heading {
    text-align: center;
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 50px;
    position: relative;
    padding-bottom: 15px;
}

.section-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--accent-color);
    border-radius: 2px;
}

.features-grid {
    padding: 80px 20px;
    background-color: var(--bg-light);
}

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

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

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.feature-card h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 1.3rem;
}

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

.table-responsive {
    overflow-x: auto;
    margin-top: 30px;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    background-color: var(--bg-white);
    box-shadow: var(--shadow-md);
    border-radius: 8px;
    overflow: hidden;
}

.comparison-table thead {
    background-color: var(--primary-color);
    color: var(--bg-white);
}

.comparison-table th,
.comparison-table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.comparison-table tbody tr:hover {
    background-color: var(--bg-light);
}

.recent-posts {
    padding: 80px 20px;
    background-color: var(--bg-light);
}

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

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

.post-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.post-image-wrapper {
    overflow: hidden;
    height: 250px;
}

.post-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.post-card:hover .post-image-wrapper img {
    transform: scale(1.05);
}

.post-content {
    padding: 25px;
}

.post-content h3 {
    color: var(--primary-color);
    margin-bottom: 12px;
    font-size: 1.2rem;
}

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

.link-read {
    color: var(--accent-color);
    font-weight: 600;
}

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

.info-block {
    padding: 80px 20px;
}

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

.info-text h2 {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 1.8rem;
}

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

.info-list {
    list-style: none;
    margin-top: 20px;
}

.info-list li {
    padding: 10px 0;
    color: var(--text-dark);
    font-weight: 500;
}

.info-image img {
    border-radius: 12px;
    box-shadow: var(--shadow-md);
}

.cta-section {
    padding: 80px 20px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--bg-white);
    text-align: center;
}

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

.cta-content p {
    font-size: 1.1rem;
    margin-bottom: 30px;
}

.btn-primary-light {
    background-color: var(--bg-white);
    color: var(--primary-color);
    padding: 12px 35px;
    border-radius: 6px;
    font-weight: 600;
    display: inline-block;
    transition: var(--transition);
}

.btn-primary-light:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

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

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

.footer-logo {
    border-radius: 8px;
    margin-bottom: 15px;
}

.footer-column h3,
.footer-column h4 {
    margin-bottom: 15px;
}

.footer-column p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
}

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

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

.footer-menu a {
    color: rgba(255, 255, 255, 0.8);
}

.footer-menu a:hover {
    color: var(--bg-white);
}

.registration-info {
    margin-top: 10px;
    font-size: 0.9rem;
}

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

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

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

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

.cookie-content h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
}

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

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

.btn-cookie-accept,
.btn-cookie-customize,
.btn-cookie-decline {
    padding: 10px 25px;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

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

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

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

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

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

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

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

.header-description {
    font-size: 1.2rem;
    opacity: 0.9;
}

.blog-layout {
    padding: 60px 20px;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 40px;
}

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

.blog-post-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.blog-post-image {
    overflow: hidden;
    height: 280px;
}

.blog-post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.blog-post-card:hover .blog-post-image img {
    transform: scale(1.05);
}

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

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

.post-date,
.post-category {
    background-color: var(--bg-light);
    padding: 5px 12px;
    border-radius: 4px;
}

.blog-post-body h2 {
    margin-bottom: 15px;
}

.blog-post-body h2 a {
    color: var(--primary-color);
}

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

.btn-read-article {
    color: var(--accent-color);
    font-weight: 600;
}

.about-mission {
    padding: 60px 20px;
}

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

.mission-text h2 {
    color: var(--primary-color);
    margin-bottom: 20px;
}

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

.mission-image img {
    border-radius: 12px;
    box-shadow: var(--shadow-md);
}

.team-section {
    padding: 60px 20px;
    background-color: var(--bg-light);
}

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

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

.team-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.team-card img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    margin: 0 auto 20px;
    object-fit: cover;
}

.team-card h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
}

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

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

.values-section {
    padding: 60px 20px;
}

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

.value-item {
    text-align: center;
    padding: 30px;
}

.value-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

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

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

.contact-wrapper {
    padding: 60px 20px;
}

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

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

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

.contact-detail {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
}

.contact-icon {
    font-size: 1.8rem;
    color: var(--accent-color);
}

.contact-text h3 {
    color: var(--primary-color);
    margin-bottom: 8px;
    font-size: 1.1rem;
}

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

.registration-box {
    margin-top: 30px;
    padding: 15px;
    background-color: var(--bg-white);
    border-radius: 8px;
}

.contact-form-panel {
    background-color: var(--bg-white);
    padding: 40px;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
}

.contact-form-panel h2 {
    color: var(--primary-color);
    margin-bottom: 30px;
}

.contact-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-dark);
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-family: inherit;
    transition: var(--transition);
}

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

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

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

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

.map-placeholder {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    position: relative;
}

.map-placeholder img {
    width: 100%;
}

.map-text {
    text-align: center;
    padding: 20px;
    background-color: var(--bg-white);
    color: var(--text-dark);
    font-weight: 500;
}

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

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

.modal-box {
    background-color: var(--bg-white);
    border-radius: 12px;
    max-width: 500px;
    width: 90%;
    box-shadow: var(--shadow-lg);
}

.modal-header {
    padding: 25px;
    background-color: var(--success-color);
    color: var(--bg-white);
    border-radius: 12px 12px 0 0;
}

.modal-body {
    padding: 30px;
}

.modal-footer {
    padding: 20px;
    text-align: right;
    border-top: 1px solid var(--border-color);
}

.btn-modal-close {
    background-color: var(--primary-color);
    color: var(--bg-white);
    padding: 10px 25px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
}

.post-article {
    padding-bottom: 60px;
}

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

.post-breadcrumb {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 20px;
}

.post-breadcrumb a {
    color: var(--text-light);
}

.post-header-full h1 {
    color: var(--primary-color);
    font-size: 2.2rem;
    margin-bottom: 20px;
}

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

.post-date-full,
.post-reading-time,
.post-category-full {
    background-color: var(--bg-white);
    padding: 8px 15px;
    border-radius: 6px;
}

.post-featured-image {
    max-height: 500px;
    overflow: hidden;
}

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

.post-content-wrapper {
    padding: 60px 20px;
}

.post-content-wrapper .container-main {
    display: grid;
    grid-template-columns: 3fr 1fr;
    gap: 50px;
}

.post-content {
    max-width: 800px;
}

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

.post-content h2 {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-top: 40px;
    margin-bottom: 20px;
}

.post-content h3 {
    color: var(--secondary-color);
    font-size: 1.4rem;
    margin-top: 30px;
    margin-bottom: 15px;
}

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

.post-cta-box {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--bg-white);
    padding: 40px;
    border-radius: 12px;
    text-align: center;
    margin-top: 50px;
}

.post-cta-box h3 {
    margin-top: 0;
    margin-bottom: 15px;
    color: var(--bg-white);
}

.post-cta-box p {
    margin-bottom: 25px;
    color: var(--bg-white);
}

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

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

.sidebar-widget h3 {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.related-posts,
.quick-nav {
    list-style: none;
}

.related-posts li,
.quick-nav li {
    margin-bottom: 12px;
}

.related-posts a,
.quick-nav a {
    color: var(--text-dark);
    display: block;
    padding: 8px 0;
    transition: var(--transition);
}

.related-posts a:hover,
.quick-nav a:hover {
    color: var(--primary-color);
    padding-left: 10px;
}

@media (max-width: 968px) {
    .hero-section,
    .info-content-wrapper,
    .mission-content {
        grid-template-columns: 1fr;
    }

    .nav-links {
        gap: 15px;
    }

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

    .section-heading {
        font-size: 1.7rem;
    }

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

    .post-content-wrapper .container-main {
        grid-template-columns: 1fr;
    }

    .post-sidebar {
        position: static;
    }

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

@media (max-width: 768px) {
    .nav-wrapper {
        flex-direction: column;
        gap: 15px;
    }

    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
    }

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

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