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

:root {
    --primary-color: #2c3e50;
    --secondary-color: #3498db;
    --accent-color: #e74c3c;
    --text-color: #333;
    --light-bg: #f8f9fa;
    --border-color: #dee2e6;
    --success-color: #27ae60;
    --warning-color: #f39c12;
}

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

.main-header {
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navigation-bar {
    padding: 1rem 0;
}

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

.logo-section {
    display: flex;
    align-items: center;
    gap: 1rem;
}

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

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

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

.nav-link {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: color 0.3s;
    padding: 0.5rem 1rem;
}

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

.hero-banner {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: #fff;
    padding: 4rem 2rem;
}

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

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

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

.cta-button {
    display: inline-block;
    background-color: var(--accent-color);
    color: #fff;
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: transform 0.3s, box-shadow 0.3s;
}

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

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

.container-width {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.beginner-block {
    padding: 4rem 2rem;
    background-color: var(--light-bg);
}

.beginner-card {
    background-color: #fff;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.beginner-card h2 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 2rem;
}

.beginner-content p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.beginner-tips {
    list-style: none;
    margin-bottom: 2rem;
}

.beginner-tips li {
    padding: 0.75rem 0;
    font-size: 1.05rem;
    border-bottom: 1px solid var(--border-color);
}

.beginner-cta {
    display: inline-block;
    background-color: var(--secondary-color);
    color: #fff;
    padding: 0.75rem 1.5rem;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: background-color 0.3s;
}

.beginner-cta:hover {
    background-color: #2980b9;
}

.realtime-clock {
    padding: 2rem;
    background-color: var(--primary-color);
    text-align: center;
}

.clock-widget {
    max-width: 400px;
    margin: 0 auto;
}

.clock-label {
    color: #fff;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.clock-display {
    color: #fff;
    font-size: 2rem;
    font-weight: 700;
    font-family: 'Courier New', monospace;
}

.featured-stories,
.blog-main,
.about-story,
.team-section,
.values-section,
.contact-section,
.statistics-section {
    padding: 4rem 2rem;
}

.section-heading {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--primary-color);
}

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

.story-card,
.blog-post-card {
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

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

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

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

.card-content h3,
.post-body h2 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

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

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

.card-content p,
.post-body .post-excerpt {
    margin-bottom: 1rem;
    color: #666;
}

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

.read-more:hover,
.read-full-post:hover {
    color: #2980b9;
}

.post-category {
    display: inline-block;
    background-color: var(--secondary-color);
    color: #fff;
    padding: 0.25rem 0.75rem;
    border-radius: 3px;
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
}

.post-meta {
    display: flex;
    gap: 1rem;
    font-size: 0.9rem;
    color: #777;
    margin-top: 1rem;
}

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

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

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

.stat-label {
    font-size: 1.1rem;
    color: #666;
}

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

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

.page-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
}

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

.about-text h2 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 2rem;
}

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

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

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

.team-member-card {
    text-align: center;
    padding: 2rem;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.team-member-card img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1rem;
    border: 4px solid var(--secondary-color);
}

.team-member-card h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.member-position {
    color: var(--secondary-color);
    font-weight: 600;
    margin-bottom: 1rem;
}

.member-bio {
    color: #666;
    line-height: 1.6;
}

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

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

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

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

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

.contact-info h2,
.contact-form-wrapper h2 {
    color: var(--primary-color);
    margin-bottom: 2rem;
    font-size: 2rem;
}

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

.contact-icon {
    font-size: 2rem;
}

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

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

.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: 1px solid var(--border-color);
    border-radius: 5px;
    font-family: inherit;
    font-size: 1rem;
}

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

.submit-button {
    background-color: var(--secondary-color);
    color: #fff;
    padding: 1rem;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s;
}

.submit-button:hover {
    background-color: #2980b9;
}

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

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

.modal-content {
    background-color: #fff;
    padding: 3rem;
    border-radius: 10px;
    text-align: center;
    max-width: 500px;
}

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

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

.modal-close-btn {
    margin-top: 2rem;
    background-color: var(--secondary-color);
    color: #fff;
    padding: 0.75rem 2rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
}

.post-article {
    background-color: #fff;
}

.post-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 3rem 2rem;
}

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

.post-header h1 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    line-height: 1.3;
}

.post-meta-info {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    color: #777;
    font-size: 0.95rem;
}

.post-category-tag {
    background-color: var(--secondary-color);
    color: #fff;
    padding: 0.25rem 0.75rem;
    border-radius: 3px;
}

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

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

.post-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #444;
}

.lead-paragraph {
    font-size: 1.25rem;
    color: #555;
    font-weight: 500;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.post-content h2 {
    color: var(--primary-color);
    font-size: 1.75rem;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
}

.post-content p {
    margin-bottom: 1.5rem;
}

.post-navigation {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 2px solid var(--border-color);
}

.back-to-blog {
    display: inline-block;
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.post-nav-links {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
}

.prev-post,
.next-post {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 600;
}

.site-footer {
    background-color: var(--primary-color);
    color: #fff;
    padding: 3rem 2rem 1rem;
}

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

.footer-section h3 {
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.footer-section p {
    line-height: 1.6;
    opacity: 0.9;
}

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

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

.footer-links a {
    color: #fff;
    text-decoration: none;
    opacity: 0.9;
    transition: opacity 0.3s;
}

.footer-links a:hover {
    opacity: 1;
}

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

.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #fff;
    box-shadow: 0 -5px 15px rgba(0,0,0,0.2);
    padding: 2rem;
    z-index: 1500;
    display: none;
}

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

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

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

.cookie-content p {
    margin-bottom: 1rem;
    line-height: 1.6;
}

.cookie-content a {
    color: var(--secondary-color);
}

.cookie-buttons {
    display: flex;
    gap: 1rem;
}

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

.cookie-btn:hover {
    transform: translateY(-2px);
}

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

.reject-btn {
    background-color: #ccc;
    color: #333;
}

@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        gap: 1rem;
    }
    
    .nav-menu {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }
    
    .hero-content,
    .about-content-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-text h1 {
        font-size: 2rem;
    }
    
    .stories-grid,
    .blog-grid,
    .team-grid,
    .stats-grid,
    .values-grid {
        grid-template-columns: 1fr;
    }
    
    .post-header h1 {
        font-size: 1.75rem;
    }
    
    .cookie-buttons {
        flex-direction: column;
    }
}

@media print {
    .main-header,
    .cookie-consent,
    .post-navigation,
    .site-footer {
        display: none;
    }
}