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

:root {
    --primary-color: #2563eb;
    --secondary-color: #1e40af;
    --accent-color: #3b82f6;
    --text-color: #1f2937;
    --text-light: #6b7280;
    --background: #ffffff;
    --background-alt: #f9fafb;
    --border-color: #e5e7eb;
    --success-color: #10b981;
    --warning-color: #f59e0b;
    --error-color: #ef4444;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--background);
}

.container-fluid {
    width: 100%;
    padding: 0 20px;
}

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

.main-header {
    background-color: var(--background);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

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

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

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

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

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

.nav-menu a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: color 0.3s;
}

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

.hero-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 80px 0;
}

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

.hero-content {
    animation: fadeInLeft 0.8s;
}

.hero-title {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.2;
}

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

.cta-button {
    display: inline-block;
    background-color: white;
    color: var(--primary-color);
    padding: 15px 35px;
    border-radius: 8px;
    text-decoration: none;
    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);
}

.hero-image img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
    animation: fadeInRight 0.8s;
}

.fun-fact-section {
    padding: 60px 0;
    background-color: var(--background-alt);
}

.fun-fact-box {
    background: linear-gradient(135deg, #ffecd2 0%, #fcb69f 100%);
    padding: 40px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.fact-icon {
    font-size: 60px;
    display: block;
    margin-bottom: 20px;
}

.fun-fact-box h3 {
    font-size: 28px;
    margin-bottom: 15px;
    color: var(--text-color);
}

.fun-fact-box p {
    font-size: 18px;
    color: var(--text-light);
    line-height: 1.8;
}

.features-section,
.latest-posts-section,
.blog-section,
.about-intro-section,
.team-section,
.stats-section,
.contact-section,
.map-section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    font-size: 38px;
    font-weight: 700;
    margin-bottom: 50px;
    color: var(--text-color);
}

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

.feature-card {
    background: var(--background);
    padding: 35px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s, box-shadow 0.3s;
}

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

.feature-icon {
    font-size: 50px;
    display: block;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
}

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

.spell-check-section {
    padding: 60px 0;
    background-color: var(--background-alt);
}

.spell-checker-widget {
    max-width: 700px;
    margin: 0 auto;
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.spell-checker-widget h3 {
    font-size: 26px;
    margin-bottom: 25px;
    text-align: center;
}

#spellCheckText {
    width: 100%;
    padding: 15px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 16px;
    font-family: inherit;
    resize: vertical;
    margin-bottom: 20px;
}

.check-button {
    width: 100%;
    background-color: var(--primary-color);
    color: white;
    padding: 15px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s;
}

.check-button:hover {
    background-color: var(--secondary-color);
}

.check-result {
    margin-top: 20px;
    padding: 15px;
    background-color: var(--background-alt);
    border-radius: 8px;
    min-height: 50px;
}

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

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

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

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

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

.post-category,
.post-category-badge {
    display: inline-block;
    background-color: var(--primary-color);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 15px;
}

.post-content h3 a,
.post-details h2 a {
    text-decoration: none;
    color: var(--text-color);
    font-size: 22px;
    line-height: 1.4;
    transition: color 0.3s;
}

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

.post-content p,
.post-excerpt {
    color: var(--text-light);
    margin: 15px 0;
    line-height: 1.7;
}

.read-more-link,
.read-more-button {
    display: inline-block;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

.read-more-link:hover,
.read-more-button:hover {
    color: var(--secondary-color);
}

.post-meta,
.post-meta-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}

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

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

.page-hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 80px 0;
    text-align: center;
}

.page-title {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 20px;
}

.page-description {
    font-size: 20px;
    opacity: 0.95;
    max-width: 700px;
    margin: 0 auto;
}

.about-intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text h2 {
    font-size: 32px;
    margin-bottom: 20px;
}

.about-text h3 {
    font-size: 24px;
    margin-top: 30px;
    margin-bottom: 15px;
}

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

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

.values-list li {
    padding: 12px 0;
    font-size: 18px;
    color: var(--text-light);
}

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

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

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

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

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

.team-member-card h3 {
    font-size: 22px;
    margin-bottom: 10px;
}

.member-position {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 15px;
    display: block;
}

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

.stats-section {
    background-color: var(--background-alt);
}

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

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

.stat-number {
    display: block;
    font-size: 48px;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.stat-label {
    display: block;
    font-size: 18px;
    color: var(--text-light);
}

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

.contact-info h2,
.contact-form-wrapper h2 {
    font-size: 32px;
    margin-bottom: 30px;
}

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

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

.contact-item h3 {
    font-size: 18px;
    margin-bottom: 8px;
}

.contact-item p,
.contact-item a {
    color: var(--text-light);
    text-decoration: none;
    line-height: 1.7;
}

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

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

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

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

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

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

.submit-button {
    background-color: var(--primary-color);
    color: white;
    padding: 15px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s;
}

.submit-button:hover {
    background-color: var(--secondary-color);
}

.map-placeholder {
    background-color: var(--background-alt);
    padding: 100px;
    border-radius: 12px;
    text-align: center;
    font-size: 18px;
    color: var(--text-light);
}

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

.modal-content {
    background: white;
    padding: 40px;
    border-radius: 12px;
    max-width: 500px;
    width: 90%;
    position: relative;
    animation: slideDown 0.3s;
}

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

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

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

.success-icon {
    display: inline-block;
    width: 80px;
    height: 80px;
    background-color: var(--success-color);
    color: white;
    border-radius: 50%;
    font-size: 50px;
    line-height: 80px;
    margin-bottom: 20px;
}

.modal-body h2 {
    font-size: 28px;
    margin-bottom: 15px;
}

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

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

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

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

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

.post-title-main {
    font-size: 42px;
    font-weight: 800;
    margin: 20px 0;
    line-height: 1.3;
}

.post-featured-image {
    margin-bottom: 50px;
}

.post-featured-image img {
    width: 100%;
    max-height: 500px;
    object-fit: cover;
    border-radius: 12px;
}

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

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

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

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

.post-conclusion {
    background-color: var(--background-alt);
    padding: 30px;
    border-radius: 12px;
    margin-top: 50px;
    border-left: 4px solid var(--primary-color);
}

.post-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 60px;
    padding-top: 40px;
    border-top: 2px solid var(--border-color);
}

.post-navigation a {
    text-decoration: none;
    color: var(--primary-color);
    font-weight: 600;
    transition: color 0.3s;
}

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

.site-footer {
    background-color: var(--text-color);
    color: white;
    padding: 60px 0 30px;
    margin-top: 80px;
}

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

.footer-column h4 {
    font-size: 20px;
    margin-bottom: 20px;
}

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

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

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

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    transition: color 0.3s;
}

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

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

.footer-bottom p {
    color: rgba(255,255,255,0.6);
}

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

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
}

.cookie-text h4 {
    font-size: 18px;
    margin-bottom: 8px;
}

.cookie-text p {
    color: var(--text-light);
    line-height: 1.6;
}

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

.cookie-buttons {
    display: flex;
    gap: 15px;
    flex-shrink: 0;
}

.cookie-btn {
    padding: 10px 20px;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

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

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

.customize-btn {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

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

.decline-btn {
    background-color: var(--background-alt);
    color: var(--text-color);
}

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

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 968px) {
    .hero-container,
    .about-intro-grid,
    .contact-wrapper {
        grid-template-columns: 1fr;
    }
    
    .hero-title {
        font-size: 36px;
    }
    
    .page-title {
        font-size: 36px;
    }
    
    .nav-menu {
        gap: 15px;
    }
    
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
    
    .cookie-buttons {
        flex-wrap: wrap;
        justify-content: center;
    }
}

@media (max-width: 640px) {
    .hero-title {
        font-size: 28px;
    }
    
    .hero-subtitle {
        font-size: 16px;
    }
    
    .page-title {
        font-size: 28px;
    }
    
    .section-header {
        font-size: 28px;
    }
    
    .post-title-main {
        font-size: 28px;
    }
    
    .posts-grid,
    .blog-posts-list {
        grid-template-columns: 1fr;
    }
    
    .nav-menu {
        display: none;
    }
}