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

:root {
    --primary-color: #1a365d;
    --secondary-color: #2c5282;
    --accent-color: #3182ce;
    --text-dark: #1a202c;
    --text-light: #718096;
    --bg-light: #f7fafc;
    --bg-white: #ffffff;
    --border-color: #e2e8f0;
    --success-color: #38a169;
    --error-color: #e53e3e;
}

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

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

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

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

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

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

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

.nav-link {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s;
    padding: 5px 0;
}

.nav-link:hover,
.nav-link.active {
    color: var(--accent-color);
}

.main-content {
    min-height: calc(100vh - 400px);
}

.hero-banner {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    color: white;
    padding: 100px 20px;
    text-align: center;
    margin-bottom: 50px;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

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

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

.cta-button {
    display: inline-block;
    padding: 15px 35px;
    background: white;
    color: var(--primary-color);
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    transition: transform 0.3s, box-shadow 0.3s;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

.quote-section {
    max-width: 1200px;
    margin: 0 auto 50px;
    padding: 0 20px;
}

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

.quote-future,
.quote-day {
    background: var(--bg-white);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.quote-title {
    font-size: 22px;
    margin-bottom: 15px;
    color: var(--primary-color);
}

blockquote {
    font-style: italic;
    color: var(--text-light);
    line-height: 1.8;
}

blockquote cite {
    display: block;
    margin-top: 15px;
    font-style: normal;
    font-weight: 600;
    color: var(--accent-color);
}

.featured-articles,
.info-section {
    max-width: 1200px;
    margin: 0 auto 50px;
    padding: 0 20px;
}

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

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

.article-card {
    background: var(--bg-white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s, box-shadow 0.3s;
}

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

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

.card-content {
    padding: 25px;
}

.card-title {
    font-size: 22px;
    margin-bottom: 15px;
    color: var(--primary-color);
}

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

.read-more {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

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

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

.info-card {
    background: var(--bg-white);
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.info-icon {
    font-size: 48px;
    display: block;
    margin-bottom: 15px;
}

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

.site-footer {
    background: var(--primary-color);
    color: white;
    padding: 50px 20px 20px;
    margin-top: 80px;
}

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

.footer-title {
    font-size: 20px;
    margin-bottom: 15px;
}

.footer-text,
.footer-registration,
.footer-contact {
    color: rgba(255,255,255,0.8);
    margin-bottom: 10px;
}

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

.footer-links a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    display: block;
    padding: 5px 0;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    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: white;
    padding: 25px;
    box-shadow: 0 -5px 20px rgba(0,0,0,0.15);
    z-index: 10000;
    display: none;
}

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

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

.cookie-title {
    font-size: 22px;
    margin-bottom: 10px;
    color: var(--primary-color);
}

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

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

.cookie-btn {
    padding: 12px 30px;
    border: none;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

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

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

.cookie-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.cookie-link {
    color: var(--accent-color);
    text-decoration: none;
}

.blog-page,
.about-page,
.contact-page,
.post-page {
    background: var(--bg-light);
}

.page-header-blog,
.about-hero,
.contact-header-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    color: white;
    padding: 80px 20px;
    text-align: center;
}

.page-title-main,
.about-main-title,
.contact-page-title {
    font-size: 42px;
    margin-bottom: 15px;
}

.page-subtitle-blog,
.about-intro,
.contact-page-subtitle {
    font-size: 18px;
    opacity: 0.95;
}

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

.blog-grid {
    display: grid;
    gap: 30px;
}

.blog-post-card {
    background: var(--bg-white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    display: grid;
    grid-template-columns: 300px 1fr;
    transition: transform 0.3s, box-shadow 0.3s;
}

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

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

.post-details {
    padding: 30px;
}

.post-category {
    display: inline-block;
    padding: 5px 15px;
    background: var(--accent-color);
    color: white;
    border-radius: 20px;
    font-size: 14px;
    margin-bottom: 15px;
}

.post-heading a {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 24px;
    transition: color 0.3s;
}

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

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

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

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

.post-link-btn {
    padding: 10px 25px;
    background: var(--accent-color);
    color: white;
    text-decoration: none;
    border-radius: 20px;
    transition: all 0.3s;
}

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

.mission-section {
    max-width: 1000px;
    margin: 50px auto;
    padding: 0 20px;
}

.mission-content {
    background: var(--bg-white);
    padding: 40px;
    border-radius: 15px;
    margin-bottom: 30px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.mission-title {
    font-size: 32px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.mission-text {
    color: var(--text-light);
    margin-bottom: 15px;
    line-height: 1.8;
}

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

.value-item {
    text-align: center;
    padding: 25px;
    background: var(--bg-light);
    border-radius: 10px;
}

.value-icon {
    font-size: 40px;
    display: block;
    margin-bottom: 10px;
}

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

.team-section {
    max-width: 1200px;
    margin: 50px auto;
    padding: 0 20px;
}

.team-heading {
    font-size: 36px;
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.team-intro {
    text-align: center;
    color: var(--text-light);
    margin-bottom: 50px;
}

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

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

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

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

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

.member-bio {
    color: var(--text-light);
    line-height: 1.7;
}

.stats-section {
    background: var(--primary-color);
    color: white;
    padding: 60px 20px;
    margin: 50px 0;
}

.stats-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}

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

.stat-number {
    display: block;
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 16px;
    opacity: 0.9;
}

.contact-content-wrapper {
    max-width: 1200px;
    margin: 50px auto;
    padding: 0 20px;
}

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

.contact-info-panel,
.contact-form-panel {
    background: var(--bg-white);
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

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

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

.contact-icon {
    font-size: 32px;
    flex-shrink: 0;
}

.contact-detail-text h4 {
    color: var(--primary-color);
    margin-bottom: 5px;
}

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

.registration-info {
    margin-top: 30px;
    padding: 20px;
    background: var(--bg-light);
    border-radius: 10px;
}

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

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

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

.form-input,
.form-textarea {
    padding: 12px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-family: inherit;
    font-size: 16px;
    transition: border-color 0.3s;
}

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

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

.form-submit-btn:hover {
    background: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

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

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

.modal-content {
    background: white;
    padding: 40px;
    border-radius: 15px;
    max-width: 500px;
    width: 90%;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.modal-title {
    font-size: 24px;
    color: var(--primary-color);
}

.modal-close {
    background: none;
    border: none;
    font-size: 32px;
    cursor: pointer;
    color: var(--text-light);
}

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

.modal-footer {
    text-align: right;
}

.modal-btn {
    padding: 10px 30px;
    background: var(--accent-color);
    color: white;
    border: none;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s;
}

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

.post-article {
    max-width: 900px;
    margin: 50px auto;
    padding: 0 20px;
}

.post-header {
    margin-bottom: 40px;
}

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

.post-category-badge,
.post-date-badge {
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
}

.post-category-badge {
    background: var(--accent-color);
    color: white;
}

.post-date-badge {
    background: var(--bg-light);
    color: var(--text-dark);
}

.post-title {
    font-size: 42px;
    color: var(--primary-color);
    margin-bottom: 30px;
    line-height: 1.3;
}

.post-featured-image {
    margin-bottom: 40px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.post-featured-image img {
    width: 100%;
    height: auto;
    display: block;
}

.post-content {
    background: var(--bg-white);
    padding: 50px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.post-intro {
    font-size: 20px;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 30px;
    font-style: italic;
    padding-left: 20px;
    border-left: 4px solid var(--accent-color);
}

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

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

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

.post-navigation {
    margin-top: 50px;
    padding: 30px;
    background: var(--bg-light);
    border-radius: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.back-to-blog,
.prev-post,
.next-post {
    padding: 10px 25px;
    background: var(--accent-color);
    color: white;
    text-decoration: none;
    border-radius: 20px;
    transition: all 0.3s;
}

.back-to-blog:hover,
.prev-post:hover,
.next-post:hover {
    background: var(--primary-color);
    transform: translateY(-2px);
}

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

@media (max-width: 768px) {
    .container-header {
        flex-direction: column;
        gap: 20px;
    }

    .primary-nav ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }

    .hero-title {
        font-size: 32px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .articles-grid,
    .blog-grid {
        grid-template-columns: 1fr;
    }

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

    .post-thumbnail img {
        height: 200px;
    }

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

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

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

    .post-title {
        font-size: 28px;
    }

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

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

    .post-nav-links {
        flex-direction: column;
        width: 100%;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 24px;
    }

    .section-heading {
        font-size: 28px;
    }

    .post-title {
        font-size: 24px;
    }

    .page-title-main {
        font-size: 32px;
    }
}