

        /* --- Reset & Base Styles --- */
        :root {
            --bg-color: #ffffff;
            --secondary-bg: #f8fafb;
            --text-color: #353333;
            --text-secondary: #6b7280;
            --primary-color: #3b82f6;
            --primary-hover: #2563eb;
            --accent-color: #9f9cf2;
            --success-color: #10b981;
            --warning-color: #f59e0b;
            --border-color: #e5e7eb;
            --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
            --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
            --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
            --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
            --container-width: 1200px;
            --transition-base: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        }

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

        html {
            scroll-behavior: smooth;
        }

        body {
            font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Hiragino Kaku Gothic ProN', 'Meiryo', sans-serif;
            background-color: var(--bg-color);
            color: var(--text-color);
            line-height: 1.6;
            -webkit-font-smoothing: antialiased;
            -moz-osx-font-smoothing: grayscale;
        }

        /* --- Typography --- */
        h1, h2, h3, h4, h5, h6 {
            font-weight: 700;
            letter-spacing: -0.025em;
            color: var(--text-color);
            line-height: 1.2;
        }

        h1 {
            font-size: clamp(2.5rem, 5vw, 4rem);
            margin-bottom: 1.5rem;
        }

        h2 {
            font-size: clamp(2rem, 4vw, 3rem);
            margin-bottom: 2rem;
            text-align: center;
        }

        h3 {
            font-size: clamp(1.5rem, 3vw, 2rem);
            margin-bottom: 1rem;
            text-align: center;
        }

        p {
            max-width: 65ch;
            margin: 0 auto 1.5rem;
            font-size: 1.125rem;
            color: var(--text-secondary);
            line-height: 1.75;
        }

        /* --- Container --- */
        .container {
            max-width: var(--container-width);
            margin: 0 auto;
            padding: 0 1.5rem;
        }

        /* --- Navigation Bar --- */
        .navbar {
            background-color: rgba(255, 255, 255, 0.95);
            backdrop-filter: blur(10px);
            padding: 1rem 0;
            position: sticky;
            top: 0;
            z-index: 1000;
            transition: var(--transition-base);
        }

        .navbar.scrolled {
            box-shadow: var(--shadow-md);
        }

        .navbar .container {
            display: flex;
            justify-content: flex-end;
            align-items: center;
            position: relative;
        }

        .navbar-brand {
            font-weight: 700;
            font-size: 1.5rem;
            color: var(--text-color);
            text-decoration: none;
        }

        /* Navbar brand positioning override */
        .navbar-brand {
            position: absolute;
            left: 1.5rem;
            top: 0.05rem;
            
        }

        .navbar-nav {
            list-style: none;
            display: flex;
            gap: 2rem;
            margin: 0;
            padding: 0;
            margin-left: auto;
        }

        .nav-item a {
            color: var(--text-color);
            text-decoration: none;
            font-weight: 500;
            font-size: 1rem;
            position: relative;
            transition: var(--transition-base);
            padding: 0.5rem 0;
        }



        .nav-item a:hover {
            color: var(--primary-color);
        }

        /* --- Hamburger Menu --- */
        .navbar-toggler {
            display: none;
            background: none;
            border: none;
            cursor: pointer;
            padding: 0.5rem;
            position: relative;
            width: 30px;
            height: 30px;
            z-index: 1001;
        }

        .navbar-toggler i {
            font-size: 1.5rem;
            color: var(--text-color);
            transition: var(--transition-base);
        }

        /* Mobile Navigation */
        @media (max-width: 768px) {
            .navbar-toggler {
                display: block;
                position: absolute;
                right: 1.5rem;
            }
            
            .navbar-collapse {
                position: fixed;
                top: 0;
                left: -100%;
                width: 80%;
                max-width: 300px;
                height: 100vh;
                background-color: var(--bg-color);
                box-shadow: var(--shadow-xl);
                transition: left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
                z-index: 999;
                overflow-y: auto;
            }
            
            .navbar-collapse.active {
                left: 0;
            }
            

            
            .navbar-nav {
                flex-direction: column;
                padding: 5rem 2rem 2rem;
                gap: 0;
            }
            
            .nav-item {
                border-bottom: 1px solid var(--border-color);
            }
            
            .nav-item:last-child {
                border-bottom: none;
            }
            
            .nav-item a {
                display: block;
                padding: 1.25rem 0;
                font-size: 1.125rem;
                transition: all 0.2s ease;
            }
            
            .nav-item a:hover {
                padding-left: 0.5rem;
                color: var(--primary-color);
            }
            
            .nav-item a::after {
                display: none;
            }
            
            /* Hamburger Animation */
            .navbar-toggler.active i::before {
                content: "\f00d"; /* X icon */
            }
        }

        /* --- Hero Section --- */
        .hero {
            padding: 5rem 0;
            background: linear-gradient(135deg, var(--secondary-bg) 0%, rgba(255, 255, 255, 0) 100%);
            position: relative;
            overflow: hidden;
        }

        .hero::before {
            content: '';
            position: absolute;
            top: -50%;
            right: -50%;
            width: 200%;
            height: 200%;
            background: radial-gradient(circle, rgba(59, 130, 246, 0.1) 0%, transparent 70%);
            animation: float 20s ease-in-out infinite;
        }

        @keyframes float {
            0%, 100% { transform: translate(0, 0) rotate(0deg); }
            33% { transform: translate(30px, -30px) rotate(120deg); }
            66% { transform: translate(-20px, 20px) rotate(240deg); }
        }

        .hero .banner {
            text-align: center;
            margin-bottom: 2rem;
            position: relative;
            z-index: 1;
        }

        .hero .hero-decorative-image {
            max-width: 400px;
            height: auto;
            display: block;
            margin: 0 auto;
            filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.1));
        }

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

        .hero .subtitle-wrapper {
            text-align: center;
            margin: 2rem 0 3rem;
            position: relative;
            z-index: 1;
        }

        .hero .subtitle {
            font-size: clamp(1.75rem, 4vw, 2.5rem);
            background: linear-gradient(135deg, var(--text-color) 0%, var(--text-secondary) 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            margin-bottom: 0;
        }

        /* --- Buttons --- */
        .btn {
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            padding: 1rem 2.5rem;
            background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
            color: white;
            font-weight: 600;
            font-size: 1.1rem;
            text-decoration: none;
            border-radius: 50px;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            border: none;
            cursor: pointer;
            position: relative;
            z-index: 10;
            pointer-events: auto;
            box-shadow: 0 8px 25px rgba(59, 130, 246, 0.3);
            overflow: hidden;
        }

        .btn::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
            transition: left 0.5s;
        }

        .btn:hover::before {
            left: 100%;
        }

        .btn:hover {
            background: linear-gradient(135deg, var(--primary-hover) 0%, #8b5cf6 100%);
            transform: translateY(-3px) scale(1.05);
            box-shadow: 0 15px 35px rgba(59, 130, 246, 0.4);
        }

        .btn:active {
            transform: translateY(-1px) scale(1.02);
        }

        .btn i {
            font-size: 1.2rem;
            transition: transform 0.3s ease;
        }

        .btn:hover i {
            transform: translateX(3px);
        }

        /* --- Mission Section --- */
        .mission-section {
            background: var(--bg-color);
            border-radius: 20px;
            box-shadow: var(--shadow-lg);
            padding: 4rem 2rem;
            margin: 4rem auto;
            max-width: 1000px;
            position: relative;
            overflow: hidden;
        }

        .mission-section::before {
            content: '';
            position: absolute;
            top: -50%;
            left: -50%;
            width: 200%;
            height: 200%;
            background: radial-gradient(circle, rgba(139, 92, 246, 0.05) 0%, transparent 70%);
        }

        .mission-title {
            font-size: clamp(2rem, 4vw, 2.5rem);
            background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            text-align: center;
            margin-bottom: 3rem;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 1rem;
            position: relative;
            z-index: 1;
        }

        .mission-title i {
            font-size: 1.2em;
            color: var(--warning-color);
        }

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

        .mission-text p {
            font-size: 1.125rem;
            line-height: 1.8;
            margin-bottom: 1.5rem;
            color: var(--text-color);
        }

        .mission-text p:last-child {
            margin-bottom: 0;
        }

        .mission-cards {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 2rem;
            margin-bottom: 3rem;
            position: relative;
            z-index: 1;
        }

        .mission-card {
            background: linear-gradient(135deg, var(--secondary-bg), var(--bg-color));
            border: 1px solid var(--border-color);
            border-radius: 16px;
            padding: 2.5rem 2rem;
            text-align: center;
            transition: var(--transition-base);
            position: relative;
            overflow: hidden;
        }



        .mission-card h3 {
            font-size: 1.5rem;
            margin-bottom: 1rem;
        }

        .mission-card p {
            color: var(--text-secondary);
            font-size: 1.0625rem;
            margin-bottom: 0;
        }

        /* --- Projects Section --- */
        .projects-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
            gap: 2.5rem;
            margin-top: 3rem;
        }

        .project-card {
            background: var(--bg-color);
            border: 1px solid var(--border-color);
            border-radius: 20px;
            padding: 2.5rem;
            box-shadow: var(--shadow-md);
            transition: var(--transition-base);
            position: relative;
            overflow: hidden;
        }

        .project-logo {
            width: 100%;
            max-width: 280px;
            height: auto;
            display: block;
            margin: 0 auto 1.5rem;
            border-radius: 12px;
            box-shadow: var(--shadow-md);
        }

        /* --- Footer --- */
        .site-footer {
            border-top: 1px solid var(--border-color);
            padding: 3rem 0;
            text-align: center;
            background: var(--secondary-bg);
            margin-top: 5rem;
        }

        .site-footer p {
            color: var(--text-secondary);
            font-size: 0.875rem;
            margin-bottom: 1.5rem;
        }

        .social-links {
            display: flex;
            justify-content: center;
            gap: 1.5rem;
        }

        .social-links a {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 44px;
            height: 44px;
            background: var(--bg-color);
            border: 1px solid var(--border-color);
            border-radius: 50%;
            color: var(--text-secondary);
            font-size: 1.25rem;
            transition: var(--transition-base);
        }

        .social-links a:hover {
            color: var(--primary-color);
            border-color: var(--primary-color);
            transform: translateY(-3px);
            box-shadow: var(--shadow-md);
        }

        /* --- Responsive Design --- */
        @media (max-width: 768px) {
            .hero {
                padding: 3rem 0;
            }
            
            .hero .hero-decorative-image {
                max-width: 300px;
            }
            
            .mission-section {
                padding: 3rem 1.5rem;
                margin: 3rem 1rem;
            }
            
            .projects-grid {
                grid-template-columns: 1fr;
                gap: 2rem;
            }
            
            .btn {
                padding: 1rem 2rem;
                font-size: 1rem;
                min-height: 48px;
            }
        }

        @media (max-width: 480px) {
            .hero .hero-decorative-image {
                max-width: 250px;
            }
            
            .mission-cards {
                grid-template-columns: 1fr;
            }
            
            .social-links {
                gap: 1rem;
            }
            
            .social-links a {
                width: 40px;
                height: 40px;
                font-size: 1.125rem;
            }
            
            .btn {
                padding: 0.875rem 1.5rem;
                font-size: 0.95rem;
                min-height: 44px;
            }
        }



        /* --- Smooth Scroll Indicator --- */
        .scroll-indicator {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 3px;
            background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
            transform: scaleX(0);
            transform-origin: left;
            transition: transform 0.3s ease;
            z-index: 1001;
        }

        /* --- Loading Animation --- */
        .loading {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: var(--bg-color);
            display: flex;
            align-items: center;
            justify-content: center;
            z-index: 9999;
        }

        .loading-spinner {
            width: 50px;
            height: 50px;
            border: 3px solid var(--border-color);
            border-top-color: var(--primary-color);
            border-radius: 50%;
            animation: spin 1s linear infinite;
        }

        @keyframes spin {
            to { transform: rotate(360deg); }
        }

/* --- Additional Mobile Enhancements --- */
@media (max-width: 768px) {
    /* Better touch targets */
    .btn {
        min-height: 48px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }
    
    /* Improved mobile typography */
    p {
        font-size: 1rem;
        line-height: 1.7;
    }
    
    /* Better spacing on mobile */
    section {
        padding: 3rem 0;
    }
    
    /* Mobile-optimized cards */
    .mission-card, .project-card {
        padding: 2rem 1.5rem;
    }
    
    /* Prevent horizontal scroll */
    body {
        overflow-x: hidden;
    }
    
    /* Better mobile navigation overlay */
    .navbar-collapse.active + .overlay {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.5);
        z-index: 998;
    }
}

/* --- Accessibility Improvements --- */
.navbar-toggler:focus,
.btn:focus,
a:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Skip to content link */
.skip-to-content {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--primary-color);
    color: white;
    padding: 0.5rem 1rem;
    text-decoration: none;
    border-radius: 0 0 8px 0;
    transition: top 0.3s ease;
}

.skip-to-content:focus {
    top: 0;
}

/* --- Performance Optimizations --- */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* --- Dark Mode Support (Optional) --- */
@media (prefers-color-scheme: dark) {
    :root {
        --bg-color: #0a0a0a;
        --secondary-bg: #1a1a1a;
        --text-color: #ffffff;
        --text-secondary: #a1a1aa;
        --border-color: #27272a;
    }
    
    .navbar {
        background-color: rgba(10, 10, 10, 0.95);
    }
    
    .mission-card,
    .project-card {
        background: linear-gradient(135deg, var(--secondary-bg), #0f0f0f);
    }
    

}

/* --- Print Styles --- */
@media print {
    .navbar,
    .site-footer,
    .btn {
        display: none;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.5;
        color: black;
        background: white;
    }
    
    a {
        color: black;
        text-decoration: underline;
    }
}

/* --- Custom Scrollbar --- */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--secondary-bg);
}

::-webkit-scrollbar-thumb {
    background: var(--border-color);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--text-secondary);
}

/* --- Improved Form Styles (for future use) --- */
input,
textarea,
select {
    width: 100%;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    font-family: inherit;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background: var(--bg-color);
    color: var(--text-color);
    transition: var(--transition-base);
}

input:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

/* --- Utility Classes --- */
.text-center {
    text-align: center;
}

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mt-5 { margin-top: 3rem; }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mb-5 { margin-bottom: 3rem; }

.text-primary { color: var(--primary-color); }
.text-secondary { color: var(--text-secondary); }
.text-accent { color: var(--accent-color); }

/* --- Enhanced Mobile Menu Icon Animation --- */
.navbar-toggler {
    position: relative;
}

.navbar-toggler i {
    display: block;
    transition: transform 0.3s ease;
}

.navbar-toggler.active i {
    transform: rotate(180deg);
}

/* --- Page Transitions --- */
body {
    opacity: 0;
    transition: opacity 0.3s ease;
}

body.loaded {
    opacity: 1;
}

/* --- Enhanced Hero Section --- */
.hero-content {
    position: relative;
    z-index: 2;
}

.hero-bg-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.05;
    background-image: 
        radial-gradient(circle at 20% 80%, var(--primary-color) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, var(--accent-color) 0%, transparent 50%);
    z-index: 1;
}



/* --- Improved Navigation Indicator --- */
.nav-item a {
    position: relative;
}

/* --- Final Polish --- */
::selection {
    background: var(--primary-color);
    color: white;
}

::-moz-selection {
    background: var(--primary-color);
    color: white;
}

/* --- Resources Page --- */
.resource-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.resource-card {
    background: var(--bg-color);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 1.75rem;
    box-shadow: var(--shadow-md);
    transition: var(--transition-base);
    position: relative;
}



.resource-card-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.resource-card h3 {
    font-size: 1.25rem;
    margin: 0;
}

.resource-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: #fff;
    box-shadow: 0 6px 16px rgba(59, 130, 246, 0.3);
}

.resource-icon i { font-size: 1.1rem; }

.resources-intro {
    text-align: center;
    color: var(--text-secondary);
    margin: 0 auto 0.5rem;
}

.btn-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition-base);
}

.btn-link:hover {
    color: var(--primary-hover);
    transform: translateY(-1px);
}

.btn-link.disabled {
    color: var(--text-secondary);
    cursor: not-allowed;
    pointer-events: none;
}

.card-actions { margin-top: 1rem; }

@media (max-width: 768px) {
    .resource-card { padding: 1.25rem; }
}
#news-list {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 1em;
}

.news-item {
    display: flex;
    align-items: center;
    gap: 1em;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 0.5em;
}

.news-thumbnail {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 5px;
}

.news-info {
    display: flex;
    flex-direction: column;
}

.news-date {
    font-size: 0.85em;
    color: var(--text-secondary);
}

.news-title {
    font-weight: bold;
    font-size: 1.1em;
    color: var(--text-color);
}

/*------------------------------------*
 * #News Articles
 *------------------------------------*/

.news-article {
    max-width: 800px;
    margin: 40px auto;
    padding: 20px;
    background-color: var(--bg-color);
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.news-article h1 {
    color: var(--text-color);
    font-size: 2.5em;
    margin-bottom: 10px;
}

.news-date,
.news-author {
    color: var(--text-secondary);
    font-size: 0.9em;
    display: block;
}

.news-body {
    line-height: 1.8;
    color: var(--text-secondary);
    font-size: 1.1em;
}

.news-body h2,
.news-body h3,
.news-body h4,
.news-body h5,
.news-body h6 {
    color: var(--text-color);
    margin-top: 30px;
    margin-bottom: 15px;
}

.news-toc {
    border: 1px solid var(--border-color);
    padding: 15px;
    margin-bottom: 30px;
    background-color: var(--secondary-bg);
    border-radius: 5px;
}

.news-toc h3 {
    margin-top: 0;
    color: var(--text-color);
    font-size: 1.2em;
}

.news-toc ul {
    list-style: none;
    padding: 0;
}

.news-toc li {
    margin-bottom: 5px;
}

.news-toc a {
    color: #007bff;
    text-decoration: none;
}

.news-toc a:hover {
    text-decoration: underline;
}

.news-related {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid #eee;
}

.news-related h2 {
    color: #333;
    font-size: 1.8em;
    margin-bottom: 20px;
}

.news-related ul {
    list-style: none;
    padding: 0;
}

.news-related li {
    margin-bottom: 10px;
}

.news-related a {
    color: #007bff;
    text-decoration: none;
    font-weight: bold;
}

.news-related a:hover {
    text-decoration: underline;
}
