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

:root {
    --primary-color: #1a5490;
    --secondary-color: #2c7cc1;
    --accent-color: #f39c12;
    --dark-color: #2c3e50;
    --light-color: #ecf0f1;
    --text-color: #333;
    --border-color: #ddd;
    --success-color: #27ae60;
    --error-color: #e74c3c;
}

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

.main-header {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

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

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

.logo-text h1 {
    font-size: 1.5rem;
    margin-bottom: 0.2rem;
}

.tagline {
    font-size: 0.85rem;
    opacity: 0.9;
}

.primary-navigation {
    margin-top: 10px;
}

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

.nav-menu li a {
    color: white;
    text-decoration: none;
    padding: 10px 18px;
    border-radius: 5px;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.95rem;
}

.nav-menu li a:hover,
.nav-menu li a.active {
    background: rgba(255,255,255,0.2);
    transform: translateY(-2px);
}

.hero-banner {
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('images/1.jpg') center/cover;
    color: white;
    padding: 100px 20px;
    text-align: center;
    margin-bottom: 40px;
}

.hero-overlay h2 {
    font-size: 2.8rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero-overlay p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--accent-color);
    color: white;
    padding: 15px 35px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    transition: all 0.3s;
    font-size: 1.1rem;
}

.cta-button:hover {
    background: #e67e22;
    transform: scale(1.05);
}

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

.section-title {
    font-size: 2rem;
    margin-bottom: 30px;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 12px;
}

.featured-articles,
.overview-section,
.history-today,
.newsletter-section {
    padding: 60px 0;
}

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

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

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

.article-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.article-content {
    padding: 25px;
}

.article-category {
    background: var(--secondary-color);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    display: inline-block;
    margin-bottom: 15px;
}

.article-content h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: var(--dark-color);
}

.article-content p {
    color: #666;
    margin-bottom: 20px;
    line-height: 1.7;
}

.read-more {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: bold;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s;
}

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

.overview-columns {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

.overview-box {
    background: white;
    padding: 35px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.overview-box h3 {
    font-size: 1.6rem;
    margin-bottom: 25px;
    color: var(--primary-color);
}

.overview-list {
    list-style: none;
}

.overview-list li {
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.overview-list li:last-child {
    border-bottom: none;
}

.overview-list li i {
    color: var(--success-color);
    margin-top: 3px;
}

.history-today {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.history-content {
    background: rgba(255,255,255,0.1);
    padding: 40px;
    border-radius: 10px;
    backdrop-filter: blur(10px);
}

.history-year {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 20px;
    color: var(--accent-color);
}

.history-content h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.history-impact {
    margin-top: 30px;
}

.history-impact h4 {
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.history-impact ul {
    list-style-position: inside;
    line-height: 2;
}

.newsletter-section {
    background: var(--light-color);
}

.newsletter-box {
    background: white;
    padding: 50px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
}

.newsletter-icon {
    font-size: 4rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.newsletter-box h2 {
    font-size: 2rem;
    margin-bottom: 15px;
    color: var(--dark-color);
}

.newsletter-form {
    display: flex;
    gap: 10px;
    max-width: 600px;
    margin: 30px auto 0;
    flex-wrap: wrap;
}

.newsletter-form input {
    flex: 1;
    padding: 15px 20px;
    border: 2px solid var(--border-color);
    border-radius: 50px;
    font-size: 1rem;
    min-width: 250px;
}

.newsletter-form button {
    padding: 15px 35px;
    background: var(--secondary-color);
    color: white;
    border: none;
    border-radius: 50px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.newsletter-form button:hover {
    background: var(--primary-color);
    transform: scale(1.05);
}

.main-footer {
    background: var(--dark-color);
    color: white;
    padding: 50px 0 0;
    margin-top: 60px;
}

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

.footer-section h3 {
    margin-bottom: 20px;
    color: var(--accent-color);
}

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

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

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

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

.footer-reg {
    margin-top: 15px;
    font-size: 0.9rem;
    opacity: 0.8;
}

.footer-section p {
    line-height: 1.8;
    color: #bbb;
}

.footer-bottom {
    background: rgba(0,0,0,0.3);
    text-align: center;
    padding: 20px;
}

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

.cookie-consent.show {
    display: block;
    animation: slideUp 0.4s ease;
}

@keyframes slideUp {
    from { transform: translateY(100%); }
    to { transform: translateY(0); }
}

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

.cookie-text h3 {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.cookie-text p {
    color: #666;
    line-height: 1.6;
}

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

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

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

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

.cookie-btn.accept-all:hover {
    background: #229954;
}

.cookie-btn.reject {
    background: var(--light-color);
    color: var(--text-color);
}

.cookie-btn.reject:hover {
    background: #d5d8dc;
}

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

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

.blog-listing,
.mission-section,
.team-section,
.stats-section,
.contact-section,
.map-section {
    padding: 50px 0;
}

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

.blog-post-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 0;
    transition: all 0.3s;
}

.blog-post-card:hover {
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.post-image-wrapper {
    position: relative;
    overflow: hidden;
}

.post-thumbnail {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

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

.post-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--accent-color);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: bold;
}

.post-card-content {
    padding: 30px;
    display: flex;
    flex-direction: column;
}

.post-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
    color: #999;
    font-size: 0.9rem;
    flex-wrap: wrap;
}

.post-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.post-card-content h2 {
    font-size: 1.6rem;
    margin-bottom: 15px;
    color: var(--dark-color);
}

.post-link {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: bold;
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s;
}

.post-link:hover {
    color: var(--primary-color);
    gap: 12px;
}

.mission-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    background: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

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

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

.values-list {
    list-style: none;
}

.values-list li {
    padding: 12px 0;
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid var(--border-color);
}

.values-list li:last-child {
    border-bottom: none;
}

.values-list i {
    color: var(--success-color);
    font-size: 1.2rem;
}

.team-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px;
    color: #666;
    font-size: 1.1rem;
}

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

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

.team-member:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

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

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

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

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

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

.stat-box {
    background: white;
    padding: 40px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: all 0.3s;
}

.stat-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.stat-icon {
    font-size: 3rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 10px;
}

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

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

.contact-info-side h2,
.contact-form-side h2 {
    color: var(--primary-color);
    margin-bottom: 30px;
    font-size: 1.8rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-item {
    display: flex;
    gap: 20px;
    padding: 20px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.contact-item i {
    font-size: 1.8rem;
    color: var(--secondary-color);
    min-width: 30px;
}

.contact-item h3 {
    margin-bottom: 8px;
    color: var(--dark-color);
}

.contact-form {
    background: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

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

.form-group label {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
    font-weight: bold;
    color: var(--dark-color);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    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 select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--secondary-color);
}

.submit-button {
    width: 100%;
    padding: 15px;
    background: var(--secondary-color);
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

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

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

.post-page {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 50px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 50px 20px;
}

.post-wrapper {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.post-header-section {
    padding: 40px 50px 20px;
}

.breadcrumbs {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    font-size: 0.9rem;
    color: #666;
}

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

.breadcrumbs i {
    font-size: 0.7rem;
}

.post-title {
    font-size: 2.5rem;
    color: var(--dark-color);
    margin-bottom: 20px;
    line-height: 1.3;
}

.post-meta-info {
    display: flex;
    gap: 25px;
    flex-wrap: wrap;
    color: #999;
    font-size: 0.95rem;
}

.post-meta-info span {
    display: flex;
    align-items: center;
    gap: 8px;
}

.post-category-tag {
    background: var(--secondary-color);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
}

.post-featured-image {
    width: 100%;
    height: 450px;
    overflow: hidden;
}

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

.post-body {
    padding: 50px;
    line-height: 1.8;
}

.post-summary {
    background: var(--light-color);
    padding: 30px;
    border-radius: 10px;
    margin-bottom: 40px;
    border-left: 4px solid var(--accent-color);
}

.post-summary h3 {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    color: var(--dark-color);
}

.post-summary ul {
    list-style-position: inside;
}

.post-summary li {
    padding: 8px 0;
}

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

.post-body p {
    margin-bottom: 20px;
    text-align: justify;
}

.post-tags {
    padding: 30px 50px;
    border-top: 2px solid var(--light-color);
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.post-tags i {
    color: var(--secondary-color);
    font-size: 1.2rem;
}

.post-tags a {
    background: var(--light-color);
    padding: 8px 18px;
    border-radius: 20px;
    text-decoration: none;
    color: var(--text-color);
    transition: all 0.3s;
}

.post-tags a:hover {
    background: var(--secondary-color);
    color: white;
}

.post-navigation {
    padding: 30px 50px;
    border-top: 2px solid var(--light-color);
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.prev-post,
.next-post {
    padding: 12px 25px;
    background: var(--secondary-color);
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.prev-post:hover,
.next-post:hover {
    background: var(--primary-color);
}

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

.sidebar-widget {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    margin-bottom: 30px;
}

.sidebar-widget h3 {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.recent-posts {
    list-style: none;
}

.recent-posts li {
    padding: 15px 0;
    border-bottom: 1px solid var(--border-color);
}

.recent-posts li:last-child {
    border-bottom: none;
}

.recent-posts a {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.3s;
}

.recent-posts a:hover {
    color: var(--secondary-color);
}

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

.modal.show {
    display: flex;
}

.modal-content {
    background: white;
    padding: 50px;
    border-radius: 15px;
    text-align: center;
    max-width: 500px;
    animation: modalSlide 0.3s ease;
}

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

.modal-close {
    float: right;
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    color: #999;
}

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

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

@media (max-width: 1200px) {
    .post-page {
        grid-template-columns: 1fr;
    }
    
    .sidebar {
        position: static;
    }
}

@media (max-width: 968px) {
    .blog-post-card {
        grid-template-columns: 1fr;
    }
    
    .post-image-wrapper {
        height: 250px;
    }
    
    .mission-content,
    .contact-layout {
        grid-template-columns: 1fr;
    }
    
    .overview-columns {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .hero-overlay h2 {
        font-size: 2rem;
    }
    
    .hero-overlay p {
        font-size: 1rem;
    }
    
    .nav-menu {
        width: 100%;
        justify-content: center;
    }
    
    .post-title {
        font-size: 1.8rem;
    }
    
    .post-body,
    .post-header-section,
    .post-tags,
    .post-navigation {
        padding: 30px 20px;
    }
    
    .newsletter-box {
        padding: 30px 20px;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .newsletter-form input,
    .newsletter-form button {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .header-container {
        flex-direction: column;
        text-align: center;
    }
    
    .logo-section {
        flex-direction: column;
    }
    
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
    
    .cookie-buttons {
        width: 100%;
        flex-direction: column;
    }
    
    .cookie-btn {
        width: 100%;
    }
}