/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
header {
    background: #1a365d;
    color: white;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: white;
}

.logo-image {
    height: 55px;
    width: auto;
    margin-right: 12px;
    transition: transform 0.3s ease;
}

.logo-image:hover {
    transform: scale(1.05);
}

.logo-text {
    font-size: 1.5rem;
    font-weight: bold;
}

/* Mobile responsive logo adjustments */
@media (max-width: 480px) {
    .logo-image {
        height: 32px;
        margin-right: 8px;
    }
    
    .logo-text {
        font-size: 1.2rem;
    }
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.search-toggle, .mobile-menu-toggle {
    background: none;
    border: none;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 4px;
    transition: background-color 0.3s;
}

.search-toggle:hover, .mobile-menu-toggle:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.mobile-menu-toggle {
    display: none;
}

/* Navigation Styles */
nav {
    background: #2d4a6b;
    padding: 0.5rem 0;
    position: relative;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 0;
    flex-wrap: wrap;
}

.nav-menu li {
    margin: 0;
}

.nav-link {
    color: white;
    text-decoration: none;
    padding: 0.75rem 1rem;
    display: block;
    transition: background-color 0.3s;
    border-radius: 4px;
    white-space: nowrap;
}

.nav-link:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 4rem 0;
    display: flex;
    align-items: center;
    min-height: 500px;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.tagline {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 12px 24px;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-primary {
    background: #e53e3e;
    color: white;
}

.btn-secondary {
    background: #38a169;
    color: white;
}

.btn-tertiary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Enhanced Hero Section */
.hero-description {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    opacity: 0.95;
    line-height: 1.6;
}

.hero-call {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 1;
}

/* Features Section */
.features {
    padding: 4rem 0;
    background: #f7fafc;
}

.features h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
    color: #2d3748;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-card h3 {
    color: #2d4a6b;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.feature-link {
    color: #667eea;
    text-decoration: none;
    font-weight: 600;
}

/* What We Do Section */
.what-we-do {
    padding: 4rem 0;
    background: #f7fafc;
}

.what-we-do h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
    color: #2d3748;
}

.what-we-do-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.what-we-do-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border-top: 4px solid #667eea;
    transition: transform 0.3s ease;
}

.what-we-do-card:hover {
    transform: translateY(-5px);
}

.what-we-do-card h3 {
    color: #2d4a6b;
    margin-bottom: 1rem;
    font-size: 1.4rem;
    font-weight: 600;
}

.what-we-do-card p {
    color: #4a5568;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.card-link {
    color: #667eea;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.card-link:hover {
    color: #2d4a6b;
}

/* Why It Matters Section */
.why-it-matters {
    padding: 3rem 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-align: center;
}

.why-it-matters h2 {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.why-it-matters p {
    font-size: 1.2rem;
    line-height: 1.7;
    max-width: 800px;
    margin: 0 auto;
}

/* Page Header Styles */
.page-header {
    background: #2d4a6b;
    color: white;
    padding: 3rem 0;
    text-align: center;
}

.page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.page-header p {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* Content Section Styles */
.content {
    padding: 3rem 0;
    min-height: 400px;
}

/* Grid Layouts for Different Content Types */
.news-grid, .proposals-grid, .guides-grid, .blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

/* Card Styles */
.news-card, .proposal-card, .guide-card, .blog-card {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
    border-left: 4px solid #667eea;
}

.news-card:hover, .proposal-card:hover, .guide-card:hover, .blog-card:hover {
    transform: translateY(-5px);
}

.news-card h2, .proposal-card h2, .guide-card h2, .blog-card h2 {
    color: #2d4a6b;
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

/* Meta Information Styles */
.proposal-meta, .guide-meta, .blog-meta {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
    flex-wrap: wrap;
}

.proposal-meta span, .guide-meta span, .blog-meta span {
    background: #f7fafc;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.9rem;
    color: #2d4a6b;
    font-weight: 600;
}

.category, .difficulty, .author {
    background: #e6fffa !important;
    color: #234e52 !important;
}

.status, .topic, .date {
    background: #fef5e7 !important;
    color: #744210 !important;
}

/* Contact Page Styles */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 2rem;
}

.contact-methods {
    margin-top: 2rem;
}

.contact-method {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: #f7fafc;
    border-radius: 8px;
}

.contact-method h3 {
    color: #2d4a6b;
    margin-bottom: 0.5rem;
}

.contact-form-placeholder {
    background: #f7fafc;
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
}

/* Enhanced Contact Page Styles */
.contact-intro {
    text-align: center;
    margin-bottom: 3rem;
    padding: 2rem;
    background: #f7fafc;
    border-radius: 8px;
    border-left: 4px solid #667eea;
}

.contact-intro p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #2d3748;
    margin: 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.contact-section {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border-top: 4px solid #667eea;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-section:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.contact-section h2 {
    color: #2d4a6b;
    margin-bottom: 1rem;
    font-size: 1.4rem;
    font-weight: 600;
}

.contact-section p {
    margin-bottom: 1rem;
    line-height: 1.6;
    color: #4a5568;
}

.contact-detail {
    background: #edf2f7;
    padding: 1rem;
    margin: 1rem 0;
    border-radius: 6px;
    border-left: 3px solid #667eea;
}

.contact-detail strong {
    color: #2d4a6b;
}

.collaboration-list {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
}

.collaboration-list li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: #4a5568;
}

.collaboration-list li::before {
    content: "▶";
    color: #667eea;
    font-weight: bold;
    position: absolute;
    left: 0;
}

.tip-notice {
    background: linear-gradient(135deg, #fed7d7 0%, #fbb6ce 100%);
    padding: 1rem;
    border-radius: 8px;
    border-left: 4px solid #e53e3e;
    margin-top: 1rem;
}

.tip-notice p {
    margin: 0;
    color: #742a2a;
    font-weight: 500;
}

.github-link {
    background: #f7fafc;
    padding: 1rem;
    border-radius: 6px;
    border-left: 3px solid #38a169;
    margin-top: 1rem;
}

.github-link strong {
    color: #2d4a6b;
}

.github-link em {
    color: #718096;
    font-size: 0.9rem;
}

/* Legal Content Styles */
.legal-content {
    max-width: 800px;
    margin: 2rem auto;
    line-height: 1.8;
}

.legal-content h2 {
    color: #2d4a6b;
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.legal-content p {
    margin-bottom: 1rem;
}

/* Sitemap Styles */
.sitemap-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.sitemap-section {
    background: #f7fafc;
    padding: 2rem;
    border-radius: 8px;
}

.sitemap-section h2 {
    color: #2d4a6b;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.sitemap-list {
    list-style: none;
    padding: 0;
}

.sitemap-list li {
    margin-bottom: 0.5rem;
}

.sitemap-list a {
    color: #667eea;
    text-decoration: none;
    transition: color 0.3s;
}

.sitemap-list a:hover {
    color: #2d4a6b;
    text-decoration: underline;
}

/* Enhanced About Page Styles */
.about-content {
    max-width: 800px;
    margin: 2rem auto;
    line-height: 1.8;
}

.about-content h2 {
    color: #2d4a6b;
    margin-top: 2.5rem;
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
    padding-bottom: 0.5rem;
    border-bottom: 3px solid #667eea;
}

.about-content p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.styled-list {
    margin: 1.5rem 0;
    padding-left: 0;
    list-style: none;
}

.styled-list li {
    margin-bottom: 0.75rem;
    padding-left: 2rem;
    position: relative;
    font-size: 1.05rem;
}

.styled-list li::before {
    content: "▶";
    color: #667eea;
    font-weight: bold;
    position: absolute;
    left: 0;
}

.values-list {
    margin: 1.5rem 0;
    padding-left: 0;
    list-style: none;
}

.values-list li {
    margin-bottom: 1rem;
    padding: 1rem;
    background: #f7fafc;
    border-left: 4px solid #667eea;
    border-radius: 4px;
    font-size: 1.05rem;
}

.values-list li strong {
    color: #2d4a6b;
    font-size: 1.1rem;
}

.motto-section {
    margin-top: 3rem;
    text-align: center;
    padding: 2rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 12px;
}

.motto-section h2 {
    color: white !important;
    border-bottom: none !important;
    margin-bottom: 1rem;
}

/* Enhanced Footer Styles */
footer {
    background: linear-gradient(135deg, #1a202c 0%, #2d3748 100%);
    color: white;
    padding: 4rem 0 1rem;
    margin-top: auto;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-section {
    position: relative;
}

.footer-section:first-child {
    padding-right: 2rem;
}

.footer-section h4 {
    margin-bottom: 1.5rem;
    color: #e2e8f0;
    font-size: 1.2rem;
    font-weight: 600;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-section:first-child h4 {
    font-size: 1.4rem;
    color: #ffffff;
    margin-bottom: 1rem;
}

.footer-section h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: #667eea;
    border-radius: 1px;
}

.footer-section:first-child p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #cbd5e0;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li {
    margin-bottom: 0.75rem;
    transition: transform 0.2s ease;
}

.footer-section ul li:hover {
    transform: translateX(5px);
}

.footer-section a {
    color: #a0aec0;
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    padding: 0.25rem 0;
    border-radius: 4px;
}

.footer-section a::before {
    content: '▶';
    color: #667eea;
    font-size: 0.8rem;
    margin-right: 0.5rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.footer-section a:hover::before {
    opacity: 1;
}

.footer-section a:hover {
    color: #ffffff;
    background-color: rgba(102, 126, 234, 0.1);
    padding-left: 0.5rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #4a5568;
    color: #a0aec0;
    font-size: 0.95rem;
    position: relative;
}

.footer-bottom::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 1px;
    background: linear-gradient(90deg, transparent, #667eea, transparent);
}

/* Enhanced Blog Page Styles */
.blog-intro {
    text-align: center;
    margin-bottom: 3rem;
    padding: 2rem;
    background: linear-gradient(135deg, #f7fafc 0%, #edf2f7 100%);
    border-radius: 12px;
    border-left: 4px solid #667eea;
}

.blog-intro p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #2d3748;
    margin-bottom: 1rem;
}

.blog-intro p:last-child {
    margin-bottom: 0;
}

.blog-sections {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.blog-info-section {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border-top: 4px solid #667eea;
    transition: transform 0.3s ease;
}

.blog-info-section:hover {
    transform: translateY(-3px);
}

.blog-info-section h2 {
    color: #2d4a6b;
    margin-bottom: 1.5rem;
    font-size: 1.4rem;
    font-weight: 600;
}

.blog-info-section p {
    line-height: 1.6;
    color: #4a5568;
    margin-bottom: 1rem;
}

.blog-features-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.blog-features-list li {
    padding: 0.75rem 0;
    padding-left: 2rem;
    position: relative;
    color: #4a5568;
    border-bottom: 1px solid #e2e8f0;
}

.blog-features-list li:last-child {
    border-bottom: none;
}

.blog-features-list li::before {
    content: "▶";
    color: #667eea;
    font-weight: bold;
    position: absolute;
    left: 0;
    top: 0.75rem;
}

.cta-section {
    border-top-color: #38a169 !important;
    background: linear-gradient(135deg, #f0fff4 0%, #c6f6d5 100%);
}

.contact-cta {
    background: white;
    padding: 1rem;
    border-radius: 8px;
    border-left: 4px solid #38a169;
    margin-top: 1rem;
}

.contact-cta strong {
    color: #2d4a6b;
}

.contact-cta a {
    color: #38a169;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.contact-cta a:hover {
    color: #2f855a;
    text-decoration: underline;
}

.blog-posts-section {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 2px solid #e2e8f0;
}

.blog-posts-section h2 {
    color: #2d4a6b;
    margin-bottom: 2rem;
    font-size: 2rem;
    text-align: center;
}

.coming-soon {
    border-left-color: #ed8936 !important;
    background: linear-gradient(135deg, #fffaf0 0%, #fef5e7 100%);
}

.coming-soon h3 {
    color: #c05621;
}

.coming-soon p {
    color: #744210;
}

/* Enhanced Proposals Page Styles */
.proposals-intro {
    text-align: center;
    margin-bottom: 3rem;
    padding: 2rem;
    background: linear-gradient(135deg, #f7fafc 0%, #edf2f7 100%);
    border-radius: 12px;
    border-left: 4px solid #667eea;
}

.proposals-intro p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #2d3748;
    margin-bottom: 1rem;
}

.proposals-intro p:last-child {
    margin-bottom: 0;
    font-size: 1.2rem;
    color: #2d4a6b;
}

.proposals-sections {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.proposals-info-section {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border-top: 4px solid #667eea;
    transition: transform 0.3s ease;
}

.proposals-info-section:hover {
    transform: translateY(-3px);
}

.proposals-info-section h2 {
    color: #2d4a6b;
    margin-bottom: 1.5rem;
    font-size: 1.4rem;
    font-weight: 600;
}

.proposals-info-section p {
    line-height: 1.6;
    color: #4a5568;
    margin-bottom: 1rem;
}

.proposals-features-list, .how-it-works-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.proposals-features-list li, .how-it-works-list li {
    padding: 0.75rem 0;
    padding-left: 2rem;
    position: relative;
    color: #4a5568;
    border-bottom: 1px solid #e2e8f0;
}

.proposals-features-list li:last-child, .how-it-works-list li:last-child {
    border-bottom: none;
}

.proposals-features-list li::before {
    content: "⚡";
    position: absolute;
    left: 0;
    top: 0.75rem;
}

.how-it-works-list li::before {
    content: "✓";
    color: #38a169;
    font-weight: bold;
    position: absolute;
    left: 0;
    top: 0.75rem;
}

.featured-proposals-section {
    margin-bottom: 3rem;
    padding-top: 2rem;
    border-top: 2px solid #e2e8f0;
}

.featured-proposals-section h2 {
    color: #2d4a6b;
    margin-bottom: 2rem;
    font-size: 2rem;
    text-align: center;
    padding-bottom: 0.5rem;
    border-bottom: 3px solid #667eea;
}

.featured-proposal-card {
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border-top: 4px solid #e53e3e;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
}

.featured-proposal-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.featured-proposal-card h3 {
    color: #2d4a6b;
    margin-bottom: 0.75rem;
    font-size: 1.2rem;
    font-weight: 600;
}

.featured-proposal-card p {
    color: #4a5568;
    margin-bottom: 1rem;
    font-size: 0.95rem;
    line-height: 1.5;
}

.proposal-status {
    background: #fef5e7;
    color: #744210;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    display: inline-block;
    border: 1px solid #ed8936;
}

.contribute-section {
    background: linear-gradient(135deg, #f0fff4 0%, #c6f6d5 100%);
    padding: 2rem;
    border-radius: 12px;
    border-top: 4px solid #38a169;
    text-align: center;
}

.contribute-section h2 {
    color: #2d4a6b;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.contribute-section p {
    color: #4a5568;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.contribute-section .contact-cta {
    background: white;
    padding: 1rem;
    border-radius: 8px;
    border-left: 4px solid #38a169;
    margin-top: 1rem;
    display: inline-block;
}

.contribute-section .contact-cta strong {
    color: #2d4a6b;
}

.contribute-section .contact-cta a {
    color: #38a169;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.contribute-section .contact-cta a:hover {
    color: #2f855a;
    text-decoration: underline;
}

/* Enhanced Guides Page Styles */
.guides-intro {
    text-align: center;
    margin-bottom: 3rem;
    padding: 2rem;
    background: linear-gradient(135deg, #f7fafc 0%, #edf2f7 100%);
    border-radius: 12px;
    border-left: 4px solid #667eea;
}

.guides-intro p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #2d3748;
    margin: 0;
}

.main-guides-section {
    margin-bottom: 3rem;
}

.main-guides-section h2 {
    color: #2d4a6b;
    margin-bottom: 2rem;
    font-size: 2rem;
    text-align: center;
    padding-bottom: 0.5rem;
    border-bottom: 3px solid #667eea;
}

.main-guides-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.main-guide-card {
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border-top: 4px solid #38a169;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    text-decoration: none;
    color: inherit;
}

.main-guide-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    text-decoration: none;
    color: inherit;
}

.main-guide-card h3 {
    color: #2d4a6b;
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
    font-weight: 600;
}

.main-guide-card p {
    color: #4a5568;
    margin: 0;
    font-size: 0.95rem;
}

.guides-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.guide-category {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border-top: 4px solid #667eea;
}

.guide-category h2 {
    color: #2d4a6b;
    margin-bottom: 1rem;
    font-size: 1.4rem;
    font-weight: 600;
}

.guide-category p {
    color: #4a5568;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.guide-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.guide-list li {
    padding: 0.75rem 0;
    padding-left: 2rem;
    position: relative;
    color: #4a5568;
    border-bottom: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.guide-list li:last-child {
    border-bottom: none;
}

.guide-list li::before {
    content: "📖";
    position: absolute;
    left: 0;
    top: 0.75rem;
}

.guide-list li:hover {
    background-color: #f7fafc;
    padding-left: 2.5rem;
    cursor: pointer;
}

.advanced-section {
    border-top-color: #ed8936 !important;
    background: linear-gradient(135deg, #fffaf0 0%, #fef5e7 100%);
}

.advanced-section h2 {
    color: #c05621 !important;
}

.advanced-section .guide-list li::before {
    content: "🔬";
}

/* Mobile Responsive Design */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: block;
    }
    
    .nav-menu {
        display: none;
        flex-direction: column;
        gap: 0;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #2d4a6b;
        padding: 1rem 20px;
        box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    }
    
    nav.mobile-open .nav-menu {
        display: flex;
    }
    
    .nav-link {
        padding: 1rem;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 200px;
        text-align: center;
    }
    
    .feature-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .page-header h1 {
        font-size: 2rem;
    }
    
    .page-header p {
        font-size: 1rem;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .news-grid, .proposals-grid, .guides-grid, .blog-grid {
        grid-template-columns: 1fr;
    }
    
    .sitemap-content {
        grid-template-columns: 1fr;
    }
    
    .proposal-meta, .guide-meta, .blog-meta {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .header-container {
        padding: 0 10px;
    }
    
    .nav-container {
        padding: 0 10px;
    }
    
    .container {
        padding: 0 10px;
    }
    
    .logo-text {
        font-size: 1.2rem;
    }
    
    footer {
        padding: 3rem 0 1rem;
    }
    
    .footer-content {
        gap: 1.5rem;
    }
    
    .footer-section h4 {
        font-size: 1.1rem;
    }
    
    .footer-section:first-child h4 {
        font-size: 1.2rem;
    }
    
    .footer-section:first-child p {
        font-size: 1rem;
    }
    
    .contact-intro {
        padding: 1.5rem;
        margin-bottom: 2rem;
    }
    
    .contact-intro p {
        font-size: 1rem;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .contact-section {
        padding: 1.5rem;
    }
    
    .contact-section h2 {
        font-size: 1.2rem;
    }
    
    .contact-detail, .tip-notice, .github-link {
        padding: 0.75rem;
    }
    
    .blog-intro {
        padding: 1.5rem;
        margin-bottom: 2rem;
    }
    
    .blog-intro p {
        font-size: 1rem;
    }
    
    .blog-sections {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-bottom: 2rem;
    }
    
    .blog-info-section {
        padding: 1.5rem;
    }
    
    .blog-info-section h2 {
        font-size: 1.2rem;
    }
    
    .blog-features-list li {
        padding-left: 1.5rem;
    }
    
    .main-guide-card, .guide-category, .contribute-section {
        padding: 1rem;
    }
    
    .main-guide-card h3 {
        font-size: 1.1rem;
    }
    
    .guide-list li {
        padding-left: 1.5rem;
        font-size: 0.95rem;
    }
    
    .guide-list li:hover {
        padding-left: 2rem;
    }
    
    .proposals-intro {
        padding: 1.5rem;
        margin-bottom: 2rem;
    }
    
    .proposals-intro p {
        font-size: 1rem;
    }
    
    .proposals-sections {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-bottom: 2rem;
    }
    
    .proposals-info-section {
        padding: 1.5rem;
    }
    
    .proposals-info-section h2 {
        font-size: 1.2rem;
    }
    
    .featured-proposals-section h2 {
        font-size: 1.5rem;
    }
    
    .featured-proposals-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

/* Recent Content Sections */
.recent-content {
    padding: 4rem 0;
    background: white;
}

.recent-section {
    margin-bottom: 4rem;
}

.recent-section:last-child {
    margin-bottom: 0;
}

.recent-section h2 {
    color: #2d4a6b;
    margin-bottom: 2rem;
    font-size: 2rem;
    text-align: center;
    padding-bottom: 0.5rem;
    border-bottom: 3px solid #667eea;
}

.recent-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.recent-card {
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border-left: 4px solid #667eea;
    transition: all 0.3s ease;
    cursor: pointer;
}

.recent-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.recent-card.placeholder {
    border-left-color: #ed8936;
    background: linear-gradient(135deg, #fffaf0 0%, #fef5e7 100%);
    cursor: default;
}

.recent-card h3 {
    color: #2d4a6b;
    margin-bottom: 0.75rem;
    font-size: 1.2rem;
    font-weight: 600;
}

.recent-card.placeholder h3 {
    color: #c05621;
}

.recent-card p {
    color: #4a5568;
    margin-bottom: 1rem;
    font-size: 0.95rem;
    line-height: 1.5;
}

.recent-card.placeholder p {
    color: #744210;
}

.recent-meta {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.recent-meta span {
    background: #f7fafc;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    color: #2d4a6b;
    font-weight: 600;
}

.date {
    background: #e6fffa !important;
    color: #234e52 !important;
}

.status {
    background: #fef5e7 !important;
    color: #744210 !important;
}

.difficulty {
    background: #edf2f7 !important;
    color: #2d4a6b !important;
}

.view-all {
    text-align: center;
    margin-top: 2rem;
}

.btn-outline {
    background: transparent;
    color: #667eea;
    border: 2px solid #667eea;
    padding: 12px 24px;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.3s;
    display: inline-block;
}

.btn-outline:hover {
    background: #667eea;
    color: white;
    transform: translateY(-2px);
}

/* Enhanced styles for print */
@media print {
    body {
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }
    
    header, footer {
        display: none;
    }
    
    .container {
        padding: 0;
        max-width: 100%;
    }
    
    .hero, .features, .what-we-do, .why-it-matters, .recent-content, .blog-intro, .proposals-intro, .news-intro {
        padding: 2rem 0;
        background: none;
        color: #333;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }
    
    .hero h1, .features h2, .what-we-do h2, .why-it-matters h2, .recent-section h2, .blog-intro h2, .proposals-intro h2, .news-intro h2 {
        color: #2d4a6b;
        margin-bottom: 1rem;
        font-size: 1.5rem;
    }
    
    .btn, .btn-primary, .btn-secondary, .btn-tertiary {
        padding: 10px 20px;
        font-size: 0.9rem;
        border-radius: 4px;
        display: inline-block;
        margin: 0.5rem 0;
    }
    
    .btn-primary {
        background: #e53e3e;
        color: white;
    }
    
    .btn-secondary {
        background: #38a169;
        color: white;
    }
    
    .btn-tertiary {
        background: transparent;
        color: #e53e3e;
        border: 2px solid #e53e3e;
    }
    
    .footer-content {
        display: block;
        text-align: center;
    }
    
    .footer-section {
        margin-bottom: 2rem;
    }
    
    .footer-section h4 {
        font-size: 1.2rem;
        margin-bottom: 1rem;
    }
    
    .footer-section a {
        display: inline-block;
        margin: 0.5rem 0;
    }
}

.news-meta {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
    flex-wrap: wrap;
}

.news-meta span {
    background: #f7fafc;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.9rem;
    color: #2d4a6b;
    font-weight: 600;
}

/* Mobile Responsive for News Page */
@media (max-width: 768px) {
    .news-intro {
        padding: 1.5rem;
        margin-bottom: 2rem;
    }
    
    .news-intro p {
        font-size: 1rem;
    }
    
    .news-sections {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-bottom: 2rem;
    }
    
    .news-info-section {
        padding: 1.5rem;
    }
    
    .news-info-section h2 {
        font-size: 1.2rem;
    }
    
    .featured-topics-section h2 {
        font-size: 1.5rem;
    }
    
    .featured-topics-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .news-info-section, .featured-topic-card, .tip-section {
        padding: 1rem;
    }
    
    .featured-topic-card h3 {
        font-size: 1rem;
    }
    
    .news-features-list li, .editorial-ethos-list li {
        padding-left: 1.5rem;
        font-size: 0.95rem;
    }
}

/* Enhanced News Page Styles */
.news-intro {
    text-align: center;
    margin-bottom: 3rem;
    padding: 2rem;
    background: linear-gradient(135deg, #f7fafc 0%, #edf2f7 100%);
    border-radius: 12px;
    border-left: 4px solid #e53e3e;
}

.news-intro p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #2d3748;
    margin-bottom: 1rem;
}

.news-intro p:last-child {
    margin-bottom: 0;
    font-size: 1.2rem;
    color: #e53e3e;
}

.news-sections {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.news-info-section {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border-top: 4px solid #e53e3e;
    transition: transform 0.3s ease;
}

.news-info-section:hover {
    transform: translateY(-3px);
}

.news-info-section h2 {
    color: #2d4a6b;
    margin-bottom: 1.5rem;
    font-size: 1.4rem;
    font-weight: 600;
}

.news-info-section p {
    line-height: 1.6;
    color: #4a5568;
    margin-bottom: 1rem;
}

.news-features-list, .editorial-ethos-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.news-features-list li, .editorial-ethos-list li {
    padding: 0.75rem 0;
    padding-left: 2rem;
    position: relative;
    color: #4a5568;
    border-bottom: 1px solid #e2e8f0;
}

.news-features-list li:last-child, .editorial-ethos-list li:last-child {
    border-bottom: none;
}

.news-features-list li::before {
    content: "📰";
    position: absolute;
    left: 0;
    top: 0.75rem;
}

.editorial-ethos-list li::before {
    content: "✓";
    color: #e53e3e;
    font-weight: bold;
    position: absolute;
    left: 0;
    top: 0.75rem;
}

.featured-topics-section {
    margin-bottom: 3rem;
    padding-top: 2rem;
    border-top: 2px solid #e2e8f0;
}

.featured-topics-section h2 {
    color: #2d4a6b;
    margin-bottom: 2rem;
    font-size: 2rem;
    text-align: center;
    padding-bottom: 0.5rem;
    border-bottom: 3px solid #e53e3e;
}

.featured-topics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.featured-topic-card {
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border-top: 4px solid #ed8936;
    transition: all 0.3s ease;
    cursor: pointer;
}

.featured-topic-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.featured-topic-card h3 {
    color: #2d4a6b;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
    font-weight: 600;
}

.featured-topic-card p {
    color: #4a5568;
    margin: 0;
    font-size: 0.9rem;
}

.tip-section {
    background: linear-gradient(135deg, #fed7d7 0%, #fbb6ce 100%);
    padding: 2rem;
    border-radius: 12px;
    border-top: 4px solid #e53e3e;
    text-align: center;
    margin-bottom: 3rem;
}

.tip-section h2 {
    color: #2d4a6b;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.tip-section p {
    color: #742a2a;
    margin-bottom: 1rem;
    line-height: 1.6;
    font-weight: 500;
}

.tip-section .contact-cta {
    background: white;
    padding: 1rem;
    border-radius: 8px;
    border-left: 4px solid #e53e3e;
    margin-top: 1rem;
    display: inline-block;
}

.tip-section .contact-cta strong {
    color: #2d4a6b;
}

.tip-section .contact-cta a {
    color: #e53e3e;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.tip-section .contact-cta a:hover {
    color: #c53030;
    text-decoration: underline;
}

.news-articles-section {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 2px solid #e2e8f0;
}

.news-articles-section h2 {
    color: #2d4a6b;
    margin-bottom: 2rem;
    font-size: 2rem;
    text-align: center;
}

/* Mobile Responsive for News Page */
@media (max-width: 768px) {
    .news-intro {
        padding: 1.5rem;
        margin-bottom: 2rem;
    }
    
    .news-intro p {
        font-size: 1rem;
    }
    
    .news-sections {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-bottom: 2rem;
    }
    
    .news-info-section {
        padding: 1.5rem;
    }
    
    .news-info-section h2 {
        font-size: 1.2rem;
    }
    
    .featured-topics-section h2 {
        font-size: 1.5rem;
    }
    
    .featured-topics-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .news-info-section, .featured-topic-card, .tip-section {
        padding: 1rem;
    }
    
    .featured-topic-card h3 {
        font-size: 1rem;
    }
    
    .news-features-list li, .editorial-ethos-list li {
        padding-left: 1.5rem;
        font-size: 0.95rem;
    }
}

.terms-list li::before {
    content: "▶";
    color: #667eea;
    font-weight: bold;
    position: absolute;
    left: 0;
}
/*
.ip-list li::before {
    content: "©";
    color: #2d4a6b;
    font-weight: bold;
    position: absolute;
     left: 0; 
}*/
/*
.liability-list li::before {
    content: "⚠️";
    position: absolute;
    left: 0;
}*/
/*
.changes-list li::before {
    content: "🔄";
    position: absolute;
    left: 0;
}*/

.notice-box {
    background: #fef5e7;
    padding: 1rem;
    border-radius: 6px;
    border-left: 4px solid #ed8936;
    margin: 1rem 0;
}

.notice-box p {
    margin: 0;
    color: #744210;
    font-weight: 500;
}

.safety-notice {
    background: #fed7d7;
    padding: 1rem;
    border-radius: 6px;
    border-left: 4px solid #e53e3e;
    margin: 1rem 0;
}

.safety-notice p {
    margin: 0;
    color: #742a2a;
    font-weight: 500;
}

.third-party-notice {
    background: #e6fffa;
    padding: 1rem;
    border-radius: 6px;
    border-left: 4px solid #38a169;
    margin: 1rem 0;
}

.third-party-notice p {
    margin: 0;
    color: #234e52;
    font-weight: 500;
}

/* Mobile responsive for terms of service */
@media (max-width: 768px) {
    .terms-intro {
        padding: 1rem;
    }
    
    .usage-list li, .content-list li, .ip-list li, .liability-list li, .changes-list li {
        padding-left: 1.5rem;
        font-size: 0.95rem;
    }
    
    .notice-box, .safety-notice, .third-party-notice {
        padding: 0.75rem;
    }
}

/* Reading progress bar */
.reading-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

.reading-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #667eea, #764ba2);
    width: 0%;
    transition: width 0.3s ease;
}

/* Active TOC link styling */
.table-of-contents a.active {
    color: #667eea;
    font-weight: 600;
}
