@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Playfair+Display:wght@400;600;700&display=swap');

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

body {
    font-family: 'Inter', 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: #444;
    background: linear-gradient(135deg, #fefefe 0%, #e6ecf3 100%);
    min-height: 100vh;
}

/* Typography */
h1, h2, h3 {
    font-family: 'Playfair Display', serif;
}

h1, h2, h3, h4, h5, h6 {
    color: #333;
}

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

/* Header Styles */
header {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(15px);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 30px rgba(102, 126, 234, 0.1);
    border-bottom: 1px solid rgba(102, 126, 234, 0.1);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.logo-image {
    width: 45px;
    height: 45px;
    object-fit: contain;
}

/* Fallback if image doesn't load */
.logo-image:not([src]), .logo-image[src=""] {
    display: none;
}

.logo-image + .logo-text {
    margin-left: 0;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.logo-main {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: #2563eb;
    margin: 0;
}

.logo-sub {
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    font-weight: 500;
    color: #6b7280;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.logo:hover .logo-main {
    color: #7c3aed;
}

.logo:hover .logo-sub {
    color: #f59e0b;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
    flex-wrap: wrap;
}

nav a {
    text-decoration: none;
    color: #444;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    position: relative;
}

nav a:hover {
    color: #667eea;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #667eea, #fcd34d);
    transition: width 0.3s ease;
}

nav a:hover::after {
    width: 100%;
}

/* Language Switcher */
.language-switch a {
    background: linear-gradient(135deg, #667eea 0%, #fcd34d 100%);
    color: white !important;
    padding: 0.4rem 0.8rem;
    border-radius: 15px;
    font-size: 0.85rem;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
}

.language-switch a:hover {
    transform: scale(1.05);
    box-shadow: 0 2px 10px rgba(102, 126, 234, 0.3);
}

.language-switch a::after {
    display: none; /* Remove underline for language switcher */
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.9) 0%, rgba(252, 211, 77, 0.8) 100%);
    backdrop-filter: blur(20px);
    padding: 5rem 0;
    text-align: center;
    color: white;
    margin: 2rem 0;
    border-radius: 25px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Ccircle cx='30' cy='30' r='4'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E") repeat;
    animation: float 20s ease-in-out infinite;
    pointer-events: none;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 2;
}

.tagline {
    font-size: 1.6rem;
    font-style: italic;
    font-family: 'Playfair Display', serif;
    margin-bottom: 2rem;
    opacity: 0.95;
    position: relative;
    z-index: 2;
}

.hero-subtitle {
    font-size: 1.4rem;
    margin-bottom: 2.5rem;
    font-weight: 300;
    position: relative;
    z-index: 2;
}

.cta-button {
    display: inline-block;
    background: linear-gradient(135deg, #4ade80 0%, #60a5fa 100%);
    color: white;
    padding: 1.2rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(74, 222, 128, 0.3);
    position: relative;
    z-index: 2;
    animation: gentlePulse 4s ease-in-out infinite;
}

@keyframes gentlePulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.02); }
}

.cta-button:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 10px 30px rgba(74, 222, 128, 0.4);
    background: linear-gradient(135deg, #22c55e 0%, #3b82f6 100%);
    animation: none;
}

/* Main Content */
.main-content {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(15px);
    padding: 4rem 0;
    margin: 2rem 0;
    border-radius: 25px;
    box-shadow: 0 15px 40px rgba(102, 126, 234, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.8);
}

.section {
    margin-bottom: 4rem;
    position: relative;
}

.section::after {
    content: "";
    display: block;
    height: 2px;
    margin: 3rem auto 0;
    width: 60%;
    background: linear-gradient(to right, transparent, rgba(102, 126, 234, 0.3), transparent);
    border-radius: 2px;
}

.section:last-child::after {
    display: none;
}

.section h2 {
    color: #667eea;
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 2rem;
    text-align: center;
    position: relative;
}

.section h2::before {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #667eea, #fcd34d);
    border-radius: 2px;
}

/* Core Principle */
.core-principle {
    background: linear-gradient(135deg, rgba(252, 211, 77, 0.9) 0%, rgba(255, 154, 158, 0.8) 100%);
    padding: 2.5rem;
    border-radius: 20px;
    margin: 2rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.core-principle::before {
    content: '⚖️';
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    font-size: 1.5rem;
    opacity: 0.6;
}

.core-principle h3 {
    color: #333;
    font-size: 1.7rem;
    margin-bottom: 1.2rem;
    font-weight: 600;
}

.core-principle p {
    font-size: 1.3rem;
    font-style: italic;
    font-family: 'Playfair Display', serif;
    color: #444;
    font-weight: 500;
}

/* Problem Solution */
.problem-solution {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin: 2rem 0;
}

.problem, .solution {
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
}

.problem {
    background: linear-gradient(135deg, #ffeaa7 0%, #fab1a0 100%);
}

.solution {
    background: linear-gradient(135deg, #a8e6cf 0%, #7fcdcd 100%);
}

.problem h3, .solution h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #333;
}

/* Two Patterns */
.two-patterns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    margin: 2rem 0;
}

.pattern-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.pattern-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    transition: all 0.3s ease;
}

.pattern-card.pattern-amf::before {
    background: linear-gradient(180deg, #667eea 0%, #4f46e5 100%);
}

.pattern-card.pattern-cmf::before {
    background: linear-gradient(180deg, #fcd34d 0%, #f59e0b 100%);
}

.pattern-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(102, 126, 234, 0.15);
}

.pattern-card:hover::before {
    width: 8px;
}

.pattern-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: block;
}

.pattern-card.pattern-amf .pattern-icon::before {
    content: '🧠';
}

.pattern-card.pattern-cmf .pattern-icon::before {
    content: '🎨';
}

.pattern-card h4 {
    color: #333;
    font-size: 1.4rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.pattern-card ul {
    list-style: none;
    padding-left: 0;
}

.pattern-card li {
    margin-bottom: 0.7rem;
    padding-left: 1.8rem;
    position: relative;
    color: #555;
}

.pattern-card li:before {
    content: "→";
    position: absolute;
    left: 0;
    font-weight: bold;
    transition: all 0.3s ease;
}

.pattern-card.pattern-amf li:before {
    color: #667eea;
}

.pattern-card.pattern-cmf li:before {
    color: #fcd34d;
}

.treatment {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(252, 211, 77, 0.1) 100%);
    padding: 1.2rem;
    border-radius: 12px;
    margin-top: 1.5rem;
    border-left: 3px solid;
}

.pattern-card.pattern-amf .treatment {
    border-left-color: #667eea;
}

.pattern-card.pattern-cmf .treatment {
    border-left-color: #fcd34d;
}

.treatment strong {
    color: #333;
    font-weight: 600;
}

/* Highlights */
.highlights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.highlight-card {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    padding: 2.5rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    position: relative;
    border: 1px solid rgba(102, 126, 234, 0.1);
}

.highlight-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #667eea, #fcd34d);
    border-radius: 20px 20px 0 0;
}

.highlight-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(102, 126, 234, 0.15);
}

.highlight-card h4 {
    color: #667eea;
    font-size: 1.4rem;
    margin-bottom: 1.2rem;
    font-weight: 600;
    position: relative;
}

.highlight-card h4::after {
    content: '✨';
    position: absolute;
    top: -5px;
    right: -25px;
    font-size: 1rem;
    opacity: 0.6;
}

.highlight-card p {
    color: #555;
    line-height: 1.6;
}

/* Stats */
.stats {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 3rem 0;
    border-radius: 20px;
    margin: 2rem 0;
}

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

.stat-item h3 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.stat-item p {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* Contact Section */
.contact-section {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
}

.contact-section h3 {
    color: #667eea;
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.contact-info {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.contact-info div {
    background: white;
    padding: 1rem;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.contact-info a {
    color: #667eea;
    text-decoration: none;
}

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

/* Footer */
footer {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 2rem 0;
    text-align: center;
    margin-top: 2rem;
}

.footer-quote {
    font-style: italic;
    font-size: 1.2rem;
    color: #667eea;
    margin-bottom: 1rem;
}

/* Under Construction Styles */
.under-construction {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.9) 0%, rgba(252, 211, 77, 0.8) 100%);
    backdrop-filter: blur(20px);
    padding: 6rem 0;
    text-align: center;
    color: white;
    margin: 2rem 0;
    border-radius: 25px;
    position: relative;
}

.under-construction h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.3);
}

.under-construction p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.under-construction .emoji {
    font-size: 4rem;
    margin-bottom: 2rem;
    animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.under-construction a {
    color: #fcd34d;
    text-decoration: none;
    font-weight: 600;
    border-bottom: 2px solid transparent;
    transition: border-color 0.3s ease;
}

.under-construction a:hover {
    border-bottom-color: #fcd34d;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2rem;
    }
    
    .tagline {
        font-size: 1.2rem;
    }
    
    .problem-solution, .two-patterns {
        grid-template-columns: 1fr;
    }
    
    .highlights {
        grid-template-columns: 1fr;
    }
    
    nav ul {
        justify-content: center;
    }
    
    .contact-info {
        flex-direction: column;
        align-items: center;
    }
}
/* Enhanced mobile navigation - ADD THIS TO styles.css */
@media (max-width: 768px) {
    nav ul {
        flex-direction: column;
        gap: 0.5rem;
        background: rgba(255, 255, 255, 0.95);
        padding: 1rem;
        border-radius: 10px;
        margin-top: 1rem;
    }
    
    .header-content {
        flex-direction: column;
        gap: 1rem;
    }
    
    nav ul li {
        text-align: center;
    }
}

@media (max-width: 480px) {
    nav ul {
        grid-template-columns: repeat(2, 1fr);
        display: grid;
        gap: 0.5rem;
    }
    
    .language-switch {
        grid-column: span 2;
        justify-self: center;
    }
}
/* Enhanced Scientific Foundation for About Page */
.science-intro {
    background: #f0f9ff;
    padding: 1.5rem;
    border-radius: 12px;
    border-left: 4px solid #667eea;
    margin-bottom: 2rem;
    text-align: center;
}

.research-link-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    margin-top: 2rem;
}

.research-link-card h4 {
    color: white;
    margin-bottom: 1rem;
}

.research-button {
    display: inline-block;
    background: white;
    color: #667eea;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    margin-top: 1rem;
    transition: transform 0.2s ease;
}

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

/* Research notes for all pages */
.research-note {
    margin-top: 0.5rem;
    padding: 0.5rem;
    background: rgba(102, 126, 234, 0.1);
    border-radius: 8px;
    border-left: 3px solid #667eea;
}

.research-note small {
    color: #667eea;
    font-size: 0.8rem;
    font-style: italic;
}
.research-note {
    margin-top: 0.5rem;
    padding: 0.5rem;
    background: rgba(102, 126, 234, 0.1);
    border-radius: 8px;
    border-left: 3px solid #667eea;
}

.research-note small {
    color: #667eea;
    font-size: 0.8rem;
    font-style: italic;
}
.citation {
    font-size: 0.85rem;
    color: #667eea;
    font-style: italic;
    margin-top: 0.5rem;
    padding: 0.3rem 0.8rem;
    background: rgba(102, 126, 234, 0.1);
    border-radius: 12px;
    display: inline-block;
}

.trauma-integration {
    background: #fef7f0;
    padding: 2rem;
    border-radius: 15px;
    border-left: 4px solid #f59e0b;
    margin-top: 2rem;
}

.trauma-integration h4 {
    color: #f59e0b;
    margin-bottom: 1rem;
}

.trauma-integration ul {
    list-style: none;
    padding-left: 0;
}

.trauma-integration li {
    margin-bottom: 0.7rem;
    padding-left: 1.5rem;
    position: relative;
}

.trauma-integration li:before {
    content: "▸";
    position: absolute;
    left: 0;
    color: #f59e0b;
    font-weight: bold;
}

.research-updates {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin: 1.5rem 0;
}

.research-item {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    border-left: 3px solid #667eea;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.research-item h4 {
    color: #667eea;
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.research-item p {
    font-size: 0.9rem;
    margin: 0;
}

.research-link {
    text-align: center;
    margin-top: 2rem;
}

.research-detail-link {
    display: inline-block;
    background: #667eea;
    color: white;
    padding: 1rem 2rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.research-detail-link:hover {
    background: #5a67d8;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
}

@media (max-width: 768px) {
    .research-updates {
        grid-template-columns: 1fr;
    }
}
.external-link {
    color: #667eea;
    font-size: 0.8rem;
    text-decoration: none;
    margin-left: 0.5rem;
}

.external-link:hover {
    text-decoration: underline;
}
/* ===============================================
   COMPLETE BLOG CSS - EXTRACTED FROM ALL SOURCES
   Add this to your styles.css file
   =============================================== */

/* GENERAL BLOG STYLES */
.blog-posts {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin: 2rem 0;
}

.blog-post {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 15px;
    border-left: 5px solid #667eea;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

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

.post-header h3 {
    color: #667eea;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.post-meta {
    display: flex;
    gap: 1rem;
    font-size: 0.9rem;
    color: #666;
    flex-wrap: wrap;
}

.post-meta span {
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
}

.post-meta .date {
    background: #e8f4f8;
    color: #667eea;
}

.post-meta .author {
    background: #f0f9f0;
    color: #22c55e;
}

.post-meta .category {
    background: #fef3e2;
    color: #f59e0b;
}

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

.post-content a {
    color: #667eea;
    text-decoration: none;
    font-weight: 500;
}

.post-content a:hover {
    text-decoration: underline;
}

/* BLOG GUIDE STYLES */
.add-blog-guide {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 2rem;
    border-radius: 15px;
    margin: 2rem 0;
    border-left: 5px solid #667eea;
}

.add-blog-guide h3 {
    color: #667eea;
    margin-bottom: 1rem;
}

.add-blog-guide h4 {
    color: #333;
    margin: 1.5rem 0 1rem 0;
}

.code-template {
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    margin: 1rem 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.code-template pre {
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 8px;
    overflow-x: auto;
    font-size: 0.85rem;
    line-height: 1.4;
}

.code-template code {
    font-family: 'Courier New', monospace;
    color: #333;
}

.category-guide {
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    margin: 1rem 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.category-examples {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}

.category-tag {
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

.category-tag.research { background: #e8f4f8; color: #667eea; }
.category-tag.pilot { background: #f0f9f0; color: #22c55e; }
.category-tag.implementation { background: #fef3e2; color: #f59e0b; }
.category-tag.community { background: #f3e8ff; color: #7c3aed; }
.category-tag.training { background: #fdf2f8; color: #ec4899; }
.category-tag.website { background: #ecfdf5; color: #059669; }
.category-tag.general { background: #f1f5f9; color: #475569; }
.category-tag.academic { background: #eff6ff; color: #2563eb; }

.posting-tips {
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    margin: 1rem 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.posting-tips ul {
    margin: 1rem 0;
    padding-left: 1.5rem;
}

.posting-tips li {
    margin-bottom: 0.5rem;
    line-height: 1.5;
}

.language-switch a {
    background: linear-gradient(135deg, #667eea 0%, #fcd34d 100%);
    color: white !important;
    padding: 0.4rem 0.8rem;
    border-radius: 15px;
    font-size: 0.85rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.language-switch a:hover {
    transform: scale(1.05);
    box-shadow: 0 2px 10px rgba(102, 126, 234, 0.3);
}

/* ===============================================
   STRATEGIC OVERVIEW STYLES
   =============================================== */

/* PHASE BOXES */
.phase-box {
    background: #f8f9fa;
    border-left: 4px solid #667eea;
    padding: 1.5rem;
    margin: 1rem 0;
    border-radius: 8px;
}

.implementation-phases {
    margin: 1.5rem 0;
}

/* STAKEHOLDER GRID */
.stakeholder-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin: 1.5rem 0;
}

.stakeholder-card {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 10px;
    border-top: 4px solid #667eea;
}

.stakeholder-card h5 {
    color: #667eea;
    margin-bottom: 0.5rem;
}

/* FUNDING INFORMATION */
.funding-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin: 1.5rem 0;
}

.funding-requirement, .funding-alternatives {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 10px;
    border-left: 4px solid #22c55e;
}

/* TIMELINE ANALYSIS */
.timeline-analysis {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin: 1.5rem 0;
}

.timeline-advantages {
    background: #f0f9f0;
    padding: 1.5rem;
    border-radius: 10px;
    border-left: 4px solid #22c55e;
}

.timeline-challenges {
    background: #fef3e2;
    padding: 1.5rem;
    border-radius: 10px;
    border-left: 4px solid #f59e0b;
}

/* ADVANTAGES GRID */
.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin: 1.5rem 0;
}

.advantage-item {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 10px;
    border-top: 4px solid #667eea;
}

.advantage-item h5 {
    color: #667eea;
    margin-bottom: 1rem;
}

/* NEXT STEPS */
.next-steps {
    background: #f0f9f0;
    padding: 1.5rem;
    border-radius: 10px;
    border-left: 4px solid #22c55e;
    margin: 1.5rem 0;
}

/* VISION SECTIONS */
.vision-sections {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin: 1.5rem 0;
}

.vision-impact, .vision-benefits {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 10px;
    border-left: 4px solid #667eea;
}

.vision-impact h5, .vision-benefits h5 {
    color: #667eea;
    margin-bottom: 1rem;
}

/* RISK ANALYSIS */
.risk-analysis {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin: 1.5rem 0;
}

.primary-risks {
    background: #fef3e2;
    padding: 1.5rem;
    border-radius: 10px;
    border-left: 4px solid #f59e0b;
}

.mitigation-strategies {
    background: #f0f9f0;
    padding: 1.5rem;
    border-radius: 10px;
    border-left: 4px solid #22c55e;
}

.primary-risks h5, .mitigation-strategies h5 {
    margin-bottom: 1rem;
}

/* ===============================================
   MOBILE RESPONSIVE
   =============================================== */

@media (max-width: 768px) {
    .funding-info, 
    .timeline-analysis, 
    .vision-sections, 
    .risk-analysis {
        grid-template-columns: 1fr;
    }
    
    .stakeholder-grid {
        grid-template-columns: 1fr;
    }
    
    .advantages-grid {
        grid-template-columns: 1fr;
    }
}
/* Implementation tabs spacing */
.implementation-tabs .tab-content {
    margin-top: 6rem;
    padding-top: 2rem;
}
.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #667eea;
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }
    
    nav ul {
        display: none;
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(15px);
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
        flex-direction: column;
        padding: 2rem;
        z-index: 200;
        max-height: calc(100vh - 70px);
    }
    
    nav ul.show {
        display: flex;
    }
    
    nav ul li {
        text-align: center;
        margin: 1rem 0;
    }
    
    /* Hide language switcher from collapsing menu */
    nav ul li.language-switch {
        display: none;
    }
    
    /* Keep header sticky */
    header {
        position: sticky;
        top: 0;
    }
    
    /* Language switcher stays visible next to hamburger */
    .header-content {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    
    .header-controls {
        display: flex;
        align-items: center;
        gap: 1rem;
    }
}
  
/* Tab functionality for implementation sections */
.implementation-tabs {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 20px;
    margin: 2rem 0;
}

.tab-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    justify-content: center;
}

.tab-button {
    background: white;
    border: 2px solid #e5e7eb;
    padding: 1rem 2rem;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.tab-button.active {
    background: #667eea;
    color: white;
    border-color: #667eea;
}

.tab-button:hover:not(.active) {
    border-color: #667eea;
    color: #667eea;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

/* Implementation tab spacing */
.implementation-tabs .tab-content {
    margin-top: 4rem;
    padding-top: 2rem;
}

/* All the other missing styles for implementation sections */
.implementation-section {
    background: white;
    padding: 2rem;
    border-radius: 15px;
}

.best-practice-highlight {
    background: rgba(255, 255, 255, 0.95);
    padding: 2rem;
    border-radius: 15px;
    margin: 2rem 0;
    border: 2px solid #22c55e;
    box-shadow: 0 5px 20px rgba(34, 197, 94, 0.2);
}

.best-practice-highlight h4 {
    color: #22c55e;
    text-align: center;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.integration-examples {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    margin: 1.5rem 0;
}

.example-item {
    background: #f0f9ff;
    padding: 1rem;
    border-radius: 10px;
    border-left: 3px solid #22c55e;
    font-size: 0.95rem;
}

.example-item strong {
    color: #22c55e;
    display: block;
    margin-bottom: 0.3rem;
}

.parent-guidelines {
    margin: 2rem 0;
}

.guideline-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 1.5rem 0;
}

.guideline-card {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 15px;
    border-left: 4px solid #22c55e;
    text-align: center;
}

.guideline-card h5 {
    color: #22c55e;
    margin-bottom: 1rem;
}

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

.benefit-card {
    background: #f0f9ff;
    padding: 2rem;
    border-radius: 15px;
    border-left: 4px solid #667eea;
    text-align: center;
}

.benefit-card h5 {
    color: #667eea;
    margin-bottom: 1rem;
}

.daily-schedule {
    margin: 2rem 0;
}

.schedule-item {
    background: rgba(255, 255, 255, 0.9);
    padding: 2rem;
    border-radius: 15px;
    margin: 1.5rem 0;
    border-top: 4px solid #667eea;
}

.schedule-item h5 {
    color: #667eea;
    margin-bottom: 1rem;
}
@media (max-width: 768px) {
    .tab-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .integration-examples,
    .guideline-grid,
    .educator-benefits {
        grid-template-columns: 1fr;
    }
}
.logo {
    cursor: pointer;
    z-index: 10;
}

.logo:hover {
    opacity: 0.8;
}
/* Collapsing header on scroll */
header {
    transition: all 0.3s ease;
}

header.scrolled {
    padding: 0.5rem 0; /* Smaller padding when scrolled */
}

header.scrolled .logo-image {
    width: 35px; /* Smaller logo */
    height: 35px;
}

header.scrolled .logo-main {
    font-size: 1.2rem; /* Smaller text */
}

header.scrolled .logo-sub {
    font-size: 0.75rem;
}

header.scrolled nav ul {
    font-size: 0.85rem; /* Smaller menu text */
}

@media (max-width: 768px) {
    header.scrolled {
        padding: 0.3rem 0; /* Even smaller on mobile */
    }
    
    header.scrolled .logo-main {
        font-size: 1rem;
    }
    
    header.scrolled .logo-sub {
        font-size: 0.7rem;
    }
}
.menu-toggle {
    touch-action: manipulation;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
}
/* Mobile header controls */
.header-controls {
    display: none;
}

@media (max-width: 768px) {
    .header-controls {
        display: flex;
        align-items: center;
        gap: 1rem;
    }
    
    .mobile-language {
        background: linear-gradient(135deg, #667eea 0%, #fcd34d 100%);
        color: white !important;
        padding: 0.4rem 0.8rem;
        border-radius: 15px;
        font-size: 0.85rem;
        font-weight: 600;
        text-decoration: none;
    }
    
    /* Hide language switcher from collapsing menu */
    nav ul li.language-switch {
        display: none;
    }
}
/* Prevent long words in headings from overflowing */
h2 {
  word-break: break-word;
  overflow-wrap: break-word;
}

/* Slightly reduce heading size on very small screens */
@media (max-width: 480px) {
  h2 {
    font-size: 1.5rem; /* tweak as needed */
  }
}
/* German headings: allow soft hyphenation with real dashes */
html[lang="de"] h2, h2[lang="de"] {
  hyphens: auto;
  -webkit-hyphens: auto; /* Safari/iOS */
  word-break: normal;
  overflow-wrap: normal;
}
