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

:root {
    --primary-color: #1a4d8f;
    --secondary-color: #dc291e;
    --text-dark: #222222;
    --text-light: #666666;
    --bg-light: #f8f9fa;
    --white: #ffffff;
    --border-color: #e0e0e0;
    --success-color: #28a745;
    --shadow: 0 2px 10px rgba(0,0,0,0.1);
}

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

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

/* Navigation */
.main-navigation {
    background-color: var(--white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

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

.brand-logo img {
    border-radius: 50%;
}

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

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

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

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

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--text-dark);
    transition: 0.3s;
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-image {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(26, 77, 143, 0.7);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
    max-width: 800px;
    padding: 0 20px;
}

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

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

.cta-button {
    display: inline-block;
    padding: 15px 40px;
    background-color: var(--secondary-color);
    color: var(--white);
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: background-color 0.3s;
}

.cta-button:hover {
    background-color: #b32319;
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, var(--primary-color), #2563a8);
    color: var(--white);
    padding: 60px 20px;
    text-align: center;
}

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

.page-subtitle {
    font-size: 18px;
    opacity: 0.9;
}

/* Main Content */
.main-content {
    padding: 60px 0;
}

.intro-section,
.mission-section,
.values-section,
.team-section,
.history-section,
.blog-section,
.contact-section {
    padding: 60px 0;
}

.intro-section h2,
.mission-section h2,
.values-section h2,
.team-section h2,
.history-section h2,
.features-section h2,
.recent-posts-section h2,
.cta-section h2,
.facts-section h2,
.blog-section h2 {
    font-size: 36px;
    margin-bottom: 30px;
    color: var(--primary-color);
    text-align: center;
}

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

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

.feature-card {
    background: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: transform 0.3s;
}

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

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

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

/* Posts Preview Grid */
.posts-preview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.post-preview-card {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s;
}

.post-preview-card:hover {
    transform: translateY(-5px);
}

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

.post-preview-content {
    padding: 25px;
}

.post-preview-content h3 {
    font-size: 20px;
    margin-bottom: 15px;
}

.post-preview-content h3 a {
    text-decoration: none;
    color: var(--text-dark);
    transition: color 0.3s;
}

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

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

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

/* CTA Section */
.cta-section {
    background: var(--bg-light);
    padding: 60px 20px;
    text-align: center;
    margin: 60px 0;
}

.cta-button-secondary {
    display: inline-block;
    padding: 15px 40px;
    background-color: var(--primary-color);
    color: var(--white);
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    margin-top: 20px;
    transition: background-color 0.3s;
}

.cta-button-secondary:hover {
    background-color: #2563a8;
}

.center-align {
    text-align: center;
    margin-top: 40px;
}

.secondary-button {
    display: inline-block;
    padding: 12px 30px;
    background-color: var(--white);
    color: var(--primary-color);
    text-decoration: none;
    border: 2px solid var(--primary-color);
    border-radius: 5px;
    font-weight: 600;
    transition: all 0.3s;
}

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

/* Facts Section */
.facts-section {
    background: var(--bg-light);
    padding: 60px 20px;
    margin-top: 60px;
}

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

.fact-box {
    background: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.fact-box h3 {
    font-size: 20px;
    color: var(--primary-color);
    margin-bottom: 15px;
}

/* Mission Section */
.mission-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    margin-top: 40px;
}

.mission-content img {
    width: 100%;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

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

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

.value-item {
    background: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

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

/* Team Grid */
.team-intro {
    text-align: center;
    font-size: 18px;
    color: var(--text-light);
    margin-bottom: 40px;
}

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

.team-member-card {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s;
}

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

.team-member-card img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.team-member-card h3 {
    padding: 20px 20px 10px;
    color: var(--text-dark);
    font-size: 22px;
}

.member-position {
    padding: 0 20px;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 10px;
}

.team-member-card p:last-child {
    padding: 0 20px 20px;
    color: var(--text-light);
    line-height: 1.6;
}

/* Timeline */
.timeline {
    position: relative;
    margin-top: 40px;
    padding-left: 50px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--primary-color);
}

.timeline-item {
    position: relative;
    margin-bottom: 40px;
}

.timeline-year {
    position: absolute;
    left: -50px;
    top: 0;
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
}

.timeline-content {
    background: var(--white);
    padding: 25px;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

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

/* Blog Posts List */
.blog-posts-list {
    margin-top: 40px;
}

.blog-post-item {
    display: grid;
    grid-template-columns: 500px 1fr;
    gap: 30px;
    margin-bottom: 40px;
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

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

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

.blog-post-content h2 {
    font-size: 26px;
    margin-bottom: 15px;
}

.blog-post-content h2 a {
    text-decoration: none;
    color: var(--text-dark);
    transition: color 0.3s;
}

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

.post-meta {
    color: var(--text-light);
    font-size: 14px;
    margin-bottom: 15px;
}

.read-more-btn {
    display: inline-block;
    margin-top: 15px;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

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

/* Contact Section */
.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 50px;
    margin-top: 40px;
}

.contact-info h2 {
    text-align: left;
    margin-bottom: 30px;
}

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

.contact-icon {
    font-size: 32px;
    color: var(--primary-color);
}

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

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

.contact-item a:hover {
    text-decoration: underline;
}

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

/* Contact Form */
.contact-form-wrapper h2 {
    text-align: left;
    margin-bottom: 30px;
}

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

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

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

.form-group input,
.form-group textarea {
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-size: 16px;
    font-family: inherit;
}

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

.checkbox-group label {
    flex-direction: row;
    align-items: center;
    gap: 10px;
    font-weight: normal;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
}

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

.submit-btn:hover {
    background-color: #2563a8;
}

/* Map Section */
.map-section {
    padding: 60px 0;
}

.map-placeholder {
    margin-top: 30px;
}

.map-placeholder img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.map-note {
    text-align: center;
    margin-top: 20px;
    color: var(--text-light);
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
}

.modal-content {
    background-color: var(--white);
    margin: 10% auto;
    padding: 40px;
    border-radius: 10px;
    max-width: 500px;
    text-align: center;
    position: relative;
}

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

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

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

.modal-btn {
    margin-top: 20px;
    padding: 12px 30px;
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
}

/* Post Article */
.post-article {
    background: var(--white);
}

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

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

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

.post-header h1 {
    font-size: 42px;
    color: var(--text-dark);
    margin-bottom: 20px;
    line-height: 1.2;
}

.post-metadata {
    display: flex;
    gap: 20px;
    color: var(--text-light);
    font-size: 14px;
}

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

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

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

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

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

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

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

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

.post-body ul {
    margin: 20px 0;
    padding-left: 40px;
}

.post-body ul li {
    font-size: 18px;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 10px;
}

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

.back-to-blog {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}

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

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

/* Footer */
.site-footer {
    background-color: #2c3e50;
    color: var(--white);
    padding: 60px 20px 20px;
    margin-top: 60px;
}

.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-links {
    list-style: none;
}

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

.footer-links a {
    color: var(--white);
    text-decoration: none;
    transition: opacity 0.3s;
}

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

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

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

/* Cookie Notice */
.cookie-notice {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--white);
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
    z-index: 1500;
    padding: 30px;
}

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

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

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

.cookie-purposes {
    background: var(--bg-light);
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 20px;
}

.cookie-purposes ul {
    margin-top: 10px;
    padding-left: 20px;
}

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

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

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

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

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

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

/* Responsive Design */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }
    
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 20px;
        box-shadow: var(--shadow);
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .hero-content h1 {
        font-size: 32px;
    }
    
    .page-header h1 {
        font-size: 32px;
    }
    
    .mission-content {
        grid-template-columns: 1fr;
    }
    
    .blog-post-item {
        grid-template-columns: 1fr;
    }
    
    .blog-post-image img {
        height: 300px;
    }
    
    .contact-layout {
        grid-template-columns: 1fr;
    }
    
    .post-header h1 {
        font-size: 28px;
    }
    
    .post-navigation {
        flex-direction: column;
        gap: 20px;
    }
    
    .timeline {
        padding-left: 30px;
    }
    
    .timeline-year {
        left: -35px;
    }
}