/* 
 * Grundlegende Einstellungen
 */
:root {
    --primary-color: #3498db;
    --primary-dark: #2980b9;
    --secondary-color: #2ecc71;
    --accent-color: #e74c3c;
    --dark-color: #2c3e50;
    --light-color: #ecf0f1;
    --text-color: #333;
    --light-text: #f5f5f5;
    --border-color: #ddd;
    --shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
    --border-radius: 8px;
    --spacing: 8px;
    --container-width: 1200px;
    --header-height: 80px;
}

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

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

img {
    max-width: 100%;
    height: auto;
    display: block;
}

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

a:hover {
    color: var(--primary-dark);
}

ul {
    list-style: none;
}

.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.btn {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--light-text);
    padding: 12px 24px;
    border-radius: var(--border-radius);
    text-align: center;
    font-weight: 600;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.btn:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    color: var(--light-text);
}

.btn-small {
    padding: 8px 16px;
    font-size: 0.9em;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 20px;
    color: var(--dark-color);
}

p {
    margin-bottom: 20px;
}

section {
    padding: 80px 0;
}

/* 
 * Navigation
 */
.navbar {
    background-color: white;
    height: var(--header-height);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: var(--shadow);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.logo img {
    height: 60px;
    width: auto;
}

.nav-links {
    display: flex;
    align-items: center;
}

.nav-links li {
    margin: 0 15px;
}

.nav-links a {
    color: var(--text-color);
    font-weight: 600;
    padding: 10px 0;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.burger {
    display: none;
    cursor: pointer;
}

.burger div {
    width: 25px;
    height: 3px;
    background-color: var(--text-color);
    margin: 5px;
    transition: var(--transition);
}

@media screen and (max-width: 768px) {
    .nav-links {
        position: absolute;
        right: 0;
        height: calc(100vh - var(--header-height));
        top: var(--header-height);
        background-color: white;
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 50%;
        transform: translateX(100%);
        transition: transform 0.5s ease-in;
        box-shadow: -5px 0 10px rgba(0, 0, 0, 0.1);
    }
    
    .nav-links li {
        opacity: 0;
        margin: 20px 0;
    }
    
    .burger {
        display: block;
    }

    .nav-active {
        transform: translateX(0%);
    }
    
    @keyframes navLinkFade {
        from {
            opacity: 0;
            transform: translateX(50px);
        }
        to {
            opacity: 1;
            transform: translateX(0px);
        }
    }
}

/* 
 * Hero Section
 */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('images/4.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    text-align: center;
    color: var(--light-text);
    margin-top: var(--header-height);
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    color: white;
}

.hero p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto 30px;
}

/* 
 * Page Headers
 */
.page-header {
    height: 40vh;
    display: flex;
    align-items: center;
    text-align: center;
    color: var(--light-text);
    margin-top: var(--header-height);
}

.blog-header {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('images/4.jpg');
    background-size: cover;
    background-position: center;
}

.contact-header {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('images/7.jpg');
    background-size: cover;
    background-position: center;
}

.about-header {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('images/10.jpg');
    background-size: cover;
    background-position: center;
}

.page-header h1 {
    font-size: 3rem;
    color: white;
}

.page-header p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto;
}

/* 
 * Featured Posts
 */
.featured-posts {
    padding: 80px 0;
    background-color: #fff;
}

.featured-posts h2 {
    text-align: center;
    margin-bottom: 50px;
    font-size: 2.5rem;
}

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

.post-card {
    background-color: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

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

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

.post-content {
    padding: 20px;
}

.post-content h3 {
    font-size: 1.4rem;
    margin-bottom: 10px;
}

.post-content p {
    margin-bottom: 20px;
    color: #666;
}

.more-posts {
    text-align: center;
    margin-top: 50px;
}

/* 
 * About Section
 */
.about {
    background-color: #f9f9f9;
}

.about .container {
    display: flex;
    align-items: center;
    gap: 50px;
}

.about-content {
    flex: 1;
}

.about-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.about-content p {
    margin-bottom: 30px;
    color: #666;
}

.about-image {
    flex: 1;
}

.about-image img {
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

@media screen and (max-width: 768px) {
    .about .container {
        flex-direction: column;
    }
}

/* 
 * Mistakes Section
 */
.mistakes {
    background-color: #fff;
}

.mistakes h2 {
    text-align: center;
    margin-bottom: 50px;
    font-size: 2.2rem;
}

.mistakes-content {
    display: flex;
    gap: 50px;
}

.mistakes-list {
    flex: 2;
    background-color: #f9f9f9;
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.mistakes-list li {
    margin-bottom: 20px;
    padding-left: 30px;
    position: relative;
}

.mistakes-list li i {
    color: var(--accent-color);
    position: absolute;
    left: 0;
    top: 4px;
}

.mistakes-list li strong {
    display: block;
    margin-bottom: 5px;
    color: var(--dark-color);
}

.tips {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.tips p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: #555;
}

@media screen and (max-width: 768px) {
    .mistakes-content {
        flex-direction: column;
    }
}

/* 
 * Newsletter
 */
.newsletter {
    background-color: var(--primary-color);
    color: white;
    text-align: center;
}

.newsletter h2 {
    color: white;
    font-size: 2.2rem;
}

.newsletter p {
    max-width: 600px;
    margin: 0 auto 30px;
    font-size: 1.1rem;
}

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

.newsletter-form input {
    flex: 1;
    padding: 15px;
    border: none;
    border-radius: var(--border-radius) 0 0 var(--border-radius);
    font-size: 1rem;
}

.newsletter-form .btn {
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
    background-color: var(--dark-color);
}

.newsletter-form .btn:hover {
    background-color: #1e2a36;
}

@media screen and (max-width: 600px) {
    .newsletter-form {
        flex-direction: column;
    }
    
    .newsletter-form input {
        border-radius: var(--border-radius);
        margin-bottom: 10px;
    }
    
    .newsletter-form .btn {
        border-radius: var(--border-radius);
    }
}

/* 
 * Footer
 */
footer {
    background-color: var(--dark-color);
    color: var(--light-text);
    padding: 70px 0 20px;
}

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

.footer-logo img {
    height: 60px;
    margin-bottom: 15px;
}

.footer-links h3,
.footer-legal h3,
.footer-contact h3 {
    color: white;
    font-size: 1.2rem;
    margin-bottom: 20px;
}

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

.footer-links a,
.footer-legal a {
    color: #bbb;
    transition: var(--transition);
}

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

.footer-contact p {
    margin-bottom: 10px;
    color: #bbb;
}

.footer-contact i {
    margin-right: 10px;
    color: var(--primary-color);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p {
    margin: 0;
    color: #bbb;
}

.social-icons {
    display: flex;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    margin-left: 10px;
    transition: var(--transition);
}

.social-icons a:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
}

@media screen and (max-width: 768px) {
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-bottom p {
        margin-bottom: 20px;
    }
}

/* 
 * Cookie Consent
 */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.9);
    color: white;
    padding: 20px;
    z-index: 9999;
    display: none;
}

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

.cookie-content h3 {
    color: white;
    margin-bottom: 10px;
}

.cookie-content p {
    margin-bottom: 20px;
}

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

.btn-cookie {
    padding: 8px 16px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
}

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

.customize {
    background-color: #f1c40f;
    color: #333;
}

.reject {
    background-color: #7f8c8d;
    color: white;
}

.cookie-more {
    color: var(--primary-color);
    text-decoration: underline;
    display: inline-block;
    margin-top: 10px;
}

/* 
 * Blog Page Styles
 */
.blog-posts {
    padding: 80px 0;
}

.blog-grid {
    grid-template-columns: 1fr;
    gap: 40px;
}

.post-card.large {
    display: grid;
    grid-template-columns: 300px 1fr;
}

.post-card.large .post-image {
    height: 100%;
}

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

.category {
    color: var(--primary-color);
    font-weight: 600;
}

@media screen and (max-width: 768px) {
    .post-card.large {
        grid-template-columns: 1fr;
    }
    
    .post-card.large .post-image {
        height: 200px;
    }
}

/* 
 * Subscribe Section
 */
.subscribe {
    background-color: #f5f5f5;
    padding: 80px 0;
}

.subscribe-content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.subscribe-content h2 {
    font-size: 2.2rem;
    margin-bottom: 20px;
}

.subscribe-content p {
    margin-bottom: 30px;
    color: #666;
}

.subscribe-form {
    display: flex;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.subscribe-form input {
    flex: 1;
    padding: 15px;
    border: none;
    font-size: 1rem;
}

.subscribe-form .btn {
    border-radius: 0;
}

@media screen and (max-width: 600px) {
    .subscribe-form {
        flex-direction: column;
        box-shadow: none;
    }
    
    .subscribe-form input {
        border-radius: var(--border-radius);
        margin-bottom: 10px;
        box-shadow: var(--shadow);
    }
    
    .subscribe-form .btn {
        border-radius: var(--border-radius);
    }
}

/* 
 * Blog Post Page
 */
.blog-post {
    margin-top: var(--header-height);
    padding: 60px 0;
}

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

.post-header h1 {
    font-size: 2.8rem;
    margin-bottom: 20px;
}

.post-header .post-meta {
    justify-content: center;
}

.post-header .post-meta span {
    display: flex;
    align-items: center;
}

.post-header .post-meta i {
    margin-right: 5px;
}

.blog-post .post-image {
    height: 500px;
    margin-bottom: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

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

.post-content h2 {
    font-size: 2rem;
    margin: 40px 0 20px;
}

.post-content h3 {
    font-size: 1.5rem;
    margin: 30px 0 15px;
}

.post-content p {
    margin-bottom: 20px;
    line-height: 1.8;
}

.post-content ul, .post-content ol {
    margin-bottom: 20px;
    padding-left: 20px;
}

.post-content ul li, .post-content ol li {
    margin-bottom: 10px;
    position: relative;
}

.post-content ul {
    list-style-type: disc;
}

.post-figure {
    margin: 30px 0;
}

.post-figure img {
    width: 100%;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.post-figure figcaption {
    text-align: center;
    margin-top: 10px;
    font-style: italic;
    color: #777;
}

blockquote {
    background-color: #f9f9f9;
    border-left: 5px solid var(--primary-color);
    padding: 20px;
    margin: 30px 0;
    font-style: italic;
}

blockquote p {
    margin-bottom: 10px;
}

blockquote cite {
    font-style: normal;
    font-weight: 600;
    color: #555;
}

.post-tags {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}

.post-tags span {
    font-weight: 600;
    margin-right: 10px;
}

.post-tags a {
    display: inline-block;
    background-color: #f1f1f1;
    color: #666;
    padding: 5px 10px;
    border-radius: 4px;
    margin-right: 10px;
    margin-bottom: 10px;
    font-size: 0.9rem;
}

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

.post-share {
    margin-top: 20px;
    display: flex;
    align-items: center;
}

.post-share span {
    font-weight: 600;
    margin-right: 15px;
}

.post-share a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #f1f1f1;
    color: #666;
    margin-right: 10px;
    transition: var(--transition);
}

.post-share a:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-3px);
}

.post-author {
    margin: 60px auto;
    max-width: 800px;
    display: flex;
    gap: 30px;
    background-color: #f9f9f9;
    padding: 30px;
    border-radius: var(--border-radius);
}

.author-image {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

.author-info h3 {
    font-size: 1rem;
    color: #777;
    margin-bottom: 5px;
}

.author-info h4 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.author-info p {
    margin: 0;
}

.related-posts {
    max-width: 800px;
    margin: 0 auto 60px;
}

.related-posts h3 {
    font-size: 1.8rem;
    margin-bottom: 30px;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.related-post {
    background-color: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.related-post:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.related-post img {
    height: 150px;
    object-fit: cover;
}

.related-content {
    padding: 15px;
}

.related-content h4 {
    font-size: 1rem;
    margin-bottom: 10px;
    line-height: 1.4;
}

.related-content a {
    font-size: 0.9rem;
    font-weight: 600;
}

@media screen and (max-width: 768px) {
    .post-author {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .related-grid {
        grid-template-columns: 1fr;
    }
}

/* 
 * Contact Page
 */
.contact {
    padding: 80px 0;
}

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

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

.info-card {
    display: flex;
    margin-bottom: 30px;
    background-color: white;
    padding: 20px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.info-card .icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    margin-right: 20px;
    flex-shrink: 0;
}

.info-card .icon i {
    font-size: 1.5rem;
}

.info-card .details h3 {
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.info-card .details p {
    margin: 0;
    color: #666;
}

.social-media {
    margin-top: 40px;
}

.social-media h3 {
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.social-media .social-icons {
    justify-content: flex-start;
}

.social-media .social-icons a {
    margin-left: 0;
    margin-right: 15px;
}

.contact-form {
    background-color: white;
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-family: inherit;
    font-size: 1rem;
}

.form-group textarea {
    resize: vertical;
}

.checkbox-container {
    display: flex;
    align-items: flex-start;
    position: relative;
    padding-left: 35px;
    cursor: pointer;
    font-weight: normal;
}

.checkbox-container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 20px;
    width: 20px;
    background-color: #f1f1f1;
    border-radius: 4px;
}

.checkbox-container:hover input ~ .checkmark {
    background-color: #e1e1e1;
}

.checkbox-container input:checked ~ .checkmark {
    background-color: var(--primary-color);
}

.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

.checkbox-container input:checked ~ .checkmark:after {
    display: block;
}

.checkbox-container .checkmark:after {
    left: 7px;
    top: 3px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.btn-submit {
    width: 100%;
    font-size: 1.1rem;
    padding: 15px;
}

.map-section {
    padding: 0 0 80px;
}

.map-section h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 30px;
}

.map-container {
    height: 450px;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

@media screen and (max-width: 768px) {
    .contact-content {
        grid-template-columns: 1fr;
    }
}

/* 
 * Popup
 */
.popup {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.6);
}

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

@keyframes popup {
    from {transform: scale(0.8); opacity: 0;}
    to {transform: scale(1); opacity: 1;}
}

.close-popup {
    position: absolute;
    right: 20px;
    top: 15px;
    font-size: 28px;
    cursor: pointer;
    color: #aaa;
}

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

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

.popup-content h2 {
    font-size: 2rem;
    margin-bottom: 15px;
}

.popup-content p {
    margin-bottom: 30px;
}

.btn-popup {
    padding: 12px 30px;
}

/* 
 * About Page Styles
 */
.mission {
    padding: 80px 0;
    background-color: white;
}

.mission-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 50px;
    align-items: center;
}

.mission-text h2 {
    font-size: 2.2rem;
    margin-bottom: 30px;
}

.mission-text p {
    margin-bottom: 20px;
    line-height: 1.8;
}

.mission-image img {
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.team {
    background-color: #f9f9f9;
    padding: 80px 0;
}

.team h2 {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 50px;
}

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

.team-member {
    background-color: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

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

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

.member-info {
    padding: 20px;
}

.member-info h3 {
    font-size: 1.5rem;
    margin-bottom: 5px;
}

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

.member-info p {
    margin-bottom: 20px;
}

.member-info .social-icons {
    justify-content: flex-start;
}

.member-info .social-icons a {
    margin-left: 0;
    margin-right: 15px;
    background-color: #f1f1f1;
    color: var(--dark-color);
}

.member-info .social-icons a:hover {
    background-color: var(--primary-color);
    color: white;
}

.timeline {
    padding: 80px 0;
    background-color: white;
}

.timeline h2 {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 50px;
}

.timeline-container {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline-container::after {
    content: '';
    position: absolute;
    width: 4px;
    background-color: var(--primary-color);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -2px;
}

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

.timeline-dot {
    position: absolute;
    width: 20px;
    height: 20px;
    background-color: white;
    border: 4px solid var(--primary-color);
    border-radius: 50%;
    z-index: 1;
    left: 50%;
    transform: translateX(-50%);
}

.timeline-date {
    position: absolute;
    top: 0;
    width: 120px;
    padding: 5px 0;
    background-color: var(--primary-color);
    color: white;
    border-radius: 4px;
    text-align: center;
    font-weight: 600;
    left: calc(50% - 150px);
}

.timeline-content {
    position: relative;
    padding: 20px;
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    width: calc(50% - 40px);
    left: calc(50% + 40px);
}

.timeline-content h3 {
    margin-bottom: 10px;
}

.timeline-content p {
    margin: 0;
}

.timeline-item:nth-child(even) .timeline-date {
    left: auto;
    right: calc(50% - 150px);
}

.timeline-item:nth-child(even) .timeline-content {
    left: auto;
    right: calc(50% + 40px);
}

.values {
    padding: 80px 0;
    background-color: #f9f9f9;
}

.values h2 {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 50px;
}

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

.value-card {
    background-color: white;
    border-radius: var(--border-radius);
    padding: 30px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

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

.value-icon {
    width: 80px;
    height: 80px;
    background-color: rgba(52, 152, 219, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin: 0 auto 20px;
}

.value-icon i {
    font-size: 2.5rem;
    color: var(--primary-color);
}

.value-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.value-card p {
    margin: 0;
    color: #666;
}

@media screen and (max-width: 768px) {
    .mission-content {
        grid-template-columns: 1fr;
    }
    
    .timeline-container::after {
        left: 31px;
    }
    
    .timeline-dot {
        left: 31px;
        transform: none;
    }
    
    .timeline-date {
        left: 80px;
        width: auto;
        right: auto;
    }
    
    .timeline-item:nth-child(even) .timeline-date {
        left: 80px;
        right: auto;
    }
    
    .timeline-content {
        width: calc(100% - 90px);
        left: 80px;
    }
    
    .timeline-item:nth-child(even) .timeline-content {
        left: 80px;
        right: auto;
    }
}

/* 
 * Animations
 */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.fadeIn {
    animation: fadeIn 1s;
}

@keyframes slideInFromLeft {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(0);
    }
}

.slideInFromLeft {
    animation: slideInFromLeft 1s ease-out;
}

@keyframes slideInFromRight {
    0% {
        transform: translateX(100%);
    }
    100% {
        transform: translateX(0);
    }
}

.slideInFromRight {
    animation: slideInFromRight 1s ease-out;
}

@keyframes slideInFromBottom {
    0% {
        transform: translateY(100%);
    }
    100% {
        transform: translateY(0);
    }
}

.slideInFromBottom {
    animation: slideInFromBottom 1s ease-out;
}
