/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-blue: #004AAD;
    --white: #FFFFFF;
    --black: #000000;
    --gray-light: #F5F5F5;
    --gray-medium: #E0E0E0;
    --gray-dark: #666666;
    --text-dark: #1A1A1A;
    --text-light: #666666;
}

html {
    scroll-behavior: smooth;
}

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

/* Header Styles */
.main-header {
    background-color: var(--primary-blue);
    color: var(--white);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.header-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
    gap: 2rem;
}

.header-bottom {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-shrink: 0;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-shrink: 0;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.logo-section:hover {
    opacity: 0.8;
}

.logo {
    height: 50px;
    width: auto;
}

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

.logo-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
    line-height: 1.2;
}

.logo-subtitle {
    font-size: 0.85rem;
    color: var(--white);
    opacity: 0.9;
    line-height: 1.2;
}

.main-nav {
    display: flex;
    justify-content: center;
    width: 100%;
}

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

.nav-list a {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: opacity 0.3s ease;
    padding: 0.5rem 0;
}

.nav-list a:hover {
    opacity: 0.8;
    text-decoration: underline;
}

.login-button {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
    flex-shrink: 0;
    font-family: inherit;
}

.login-button:hover {
    background: rgba(255, 255, 255, 0.3);
}

.search-toggle {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: var(--white);
    width: 40px;
    height: 40px;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
    flex-shrink: 0;
}

.search-toggle:hover {
    background: rgba(255, 255, 255, 0.3);
}

/* Dark Mode Toggle Button */
.dark-mode-toggle {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: var(--white);
    width: 40px;
    height: 40px;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
    flex-shrink: 0;
}

.dark-mode-toggle:hover {
    background: rgba(255, 255, 255, 0.3);
}

.dark-mode-toggle svg {
    width: 20px;
    height: 20px;
}

.language-switcher {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: var(--white);
    padding: 0.5rem 0.75rem;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 500;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: background 0.3s ease;
}

.language-switcher:hover {
    background: rgba(255, 255, 255, 0.3);
}

.language-switcher .flag {
    font-size: 1.2rem;
}

/* Search Overlay */
.search-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--white);
    z-index: 2000;
    flex-direction: column;
    overflow-y: auto;
}

.search-overlay.active {
    display: flex;
}

.search-overlay-header {
    background-color: var(--primary-blue);
    color: var(--white);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 2001;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.search-header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.search-overlay-close {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: var(--white);
    width: 48px;
    height: 48px;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
    flex-shrink: 0;
}

.search-overlay-close:hover {
    background: rgba(255, 255, 255, 0.3);
}

.search-overlay-content {
    flex: 1;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 3rem 2rem;
}

.search-overlay-container {
    width: 100%;
    max-width: 1000px;
}

.search-overlay-title {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--text-light);
    margin-bottom: 1.5rem;
    text-align: center;
}

.search-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    margin-bottom: 3rem;
}

.search-icon {
    position: absolute;
    left: 1.5rem;
    color: var(--primary-blue);
    z-index: 1;
    pointer-events: none;
}

.search-overlay-input {
    width: 100%;
    padding: 1.5rem 4rem 1.5rem 4rem;
    font-size: 1.25rem;
    border: 2px solid #E0E0E0;
    border-radius: 4px;
    background: var(--white);
    color: var(--text-dark);
    transition: border-color 0.3s ease;
}

.search-overlay-input:focus {
    outline: none;
    border-color: var(--primary-blue);
}

.search-clear {
    position: absolute;
    right: 1rem;
    background: none;
    border: none;
    color: var(--gray-dark);
    cursor: pointer;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.3s ease;
}

.search-clear:hover {
    color: var(--text-dark);
}

.search-links-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    margin-top: 2rem;
}

.search-links-column {
    display: flex;
    flex-direction: column;
}

.search-links-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

.search-links-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.search-links-list li {
    margin-bottom: 0.75rem;
}

.search-links-list a {
    color: var(--text-dark);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s ease;
    display: block;
    padding: 0.25rem 0;
}

.search-links-list a:hover {
    color: var(--primary-blue);
    text-decoration: underline;
}

/* Search Results */
.search-results {
    margin-top: 2rem;
    max-height: 60vh;
    overflow-y: auto;
}

.search-results-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--gray-light);
}

.search-results-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-blue);
    margin: 0;
}

.search-results-count {
    font-size: 0.9rem;
    color: var(--text-light);
    font-weight: 500;
}

.search-results-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.search-result-item {
    padding: 1.25rem;
    background: var(--white);
    border: 1px solid var(--gray-light);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.search-result-item:hover {
    border-color: var(--primary-blue);
    box-shadow: 0 4px 12px rgba(0, 74, 173, 0.1);
    transform: translateY(-2px);
}

.search-result-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 0.5rem;
}

.search-result-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary-blue);
    margin: 0;
    flex: 1;
}

.search-result-page {
    font-size: 0.75rem;
    color: var(--text-light);
    background: var(--gray-light);
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    white-space: nowrap;
}

.search-result-snippet {
    font-size: 0.9rem;
    color: var(--text-dark);
    margin: 0;
    line-height: 1.6;
}

.search-result-snippet mark {
    background: rgba(0, 74, 173, 0.2);
    color: var(--primary-blue);
    font-weight: 600;
    padding: 0 2px;
    border-radius: 2px;
}

.search-no-results {
    text-align: center;
    padding: 3rem 2rem;
    color: var(--text-light);
    font-size: 1rem;
}

.search-results::-webkit-scrollbar {
    width: 8px;
}

.search-results::-webkit-scrollbar-track {
    background: var(--gray-light);
    border-radius: 4px;
}

.search-results::-webkit-scrollbar-thumb {
    background: var(--primary-blue);
    border-radius: 4px;
}

.search-results::-webkit-scrollbar-thumb:hover {
    background: #003a8a;
}

.search-view-all {
    padding: 1rem;
    text-align: center;
    border-bottom: 1px solid var(--gray-light);
    margin-bottom: 1rem;
}

/* Search Page Styles */
.search-page-input-container {
    margin: 2rem 0 3rem 0;
    max-width: 100%;
}

.search-page-input-wrapper {
    display: flex;
    align-items: center;
    background: var(--white);
    border: 2px solid var(--gray-light);
    border-radius: 8px;
    padding: 0.5rem;
    transition: border-color 0.3s ease;
    gap: 0.5rem;
}

.search-page-input-wrapper:focus-within {
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(0, 74, 173, 0.1);
}

.search-page-input {
    flex: 1;
    border: none;
    outline: none;
    padding: 0.75rem 1rem;
    font-size: 1.1rem;
    color: var(--text-dark);
}

.search-page-button {
    background: var(--primary-blue);
    color: var(--white);
    border: none;
    padding: 0.75rem 2rem;
    border-radius: 6px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.3s ease;
}

.search-page-button:hover {
    background: #003a8a;
}

.search-page-results {
    margin-top: 2rem;
}

.search-page-results-header {
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--gray-light);
}

.search-page-results-header h2 {
    font-size: 1.5rem;
    color: var(--text-dark);
    margin: 0;
    font-weight: 600;
}

.search-page-results-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.search-page-result-item {
    background: var(--white);
    border: 1px solid var(--gray-light);
    border-radius: 8px;
    padding: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.search-page-result-item:hover {
    border-color: var(--primary-blue);
    box-shadow: 0 4px 12px rgba(0, 74, 173, 0.1);
    transform: translateY(-2px);
}

.search-page-result-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 0.75rem;
}

.search-page-result-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-blue);
    margin: 0;
    flex: 1;
}

.search-page-result-page {
    font-size: 0.8rem;
    color: var(--text-light);
    background: var(--gray-light);
    padding: 0.35rem 0.75rem;
    border-radius: 4px;
    white-space: nowrap;
}

.search-page-result-snippet {
    font-size: 0.95rem;
    color: var(--text-dark);
    margin: 0.75rem 0;
    line-height: 1.6;
}

.search-page-result-snippet mark {
    background: rgba(0, 74, 173, 0.2);
    color: var(--primary-blue);
    font-weight: 600;
    padding: 0 2px;
    border-radius: 2px;
}

.search-page-result-link {
    display: inline-block;
    color: var(--primary-blue);
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    margin-top: 0.5rem;
    transition: color 0.3s ease;
}

.search-page-result-link:hover {
    color: #003a8a;
    text-decoration: underline;
}

.search-page-no-results {
    text-align: center;
    padding: 4rem 2rem;
    color: var(--text-light);
    font-size: 1.1rem;
}

@media (max-width: 768px) {
    .search-page-input-container .search-input-wrapper {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .search-page-button {
        width: 100%;
    }
    
    .search-page-result-header {
        flex-direction: column;
        gap: 0.5rem;
    }
}

/* Main Wrapper */
.main-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem;
    display: grid;
    grid-template-columns: 380px 1fr;
    gap: 3rem;
    align-items: start;
    min-height: calc(100vh - 200px);
    position: relative;
}

.main-wrapper::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: -4rem;
    width: calc(380px + 2rem);
    background-color: #f7f7f7;
    z-index: -1;
}

/* Sidebar Styles */
.sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    position: sticky;
    top: 2rem;
    align-self: start;
    background-color: #f7f7f7;
    padding: 1.25rem;
    border-radius: 4px;
    z-index: 10;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.sidebar-section {
    background: var(--white);
    padding: 1rem;
    border: 1px solid var(--gray-medium);
}

.sidebar-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.search-box {
    position: relative;
    display: flex;
    align-items: center;
}

.search-box svg {
    position: absolute;
    left: 1rem;
    color: var(--gray-dark);
}

.sidebar-search {
    width: 100%;
    padding: 0.65rem 0.85rem 0.65rem 2.25rem;
    border: 1px solid var(--gray-medium);
    border-radius: 4px;
    font-size: 0.85rem;
}

.sidebar-links {
    list-style: none;
}

.sidebar-links li {
    margin-bottom: 0.35rem;
}

.sidebar-links a {
    color: var(--text-dark);
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.3s ease;
}

.sidebar-links a:hover {
    color: var(--primary-blue);
    text-decoration: underline;
}

.highlight-box {
    border-left: 4px solid var(--primary-blue);
    background: var(--gray-light);
}

.sidebar-text {
    font-size: 0.8rem;
    color: var(--text-light);
    line-height: 1.5;
}

/* Main Content Styles */
.main-content {
    min-width: 0;
    position: relative;
    z-index: 1;
}

/* Spotlight Section */
.spotlight {
    margin-bottom: 3rem;
}

.spotlight-image {
    width: 100%;
    height: 400px;
    overflow: hidden;
    margin-bottom: 1.5rem;
    border-radius: 4px;
}

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

.spotlight-content {
    padding: 0 1rem;
}

.spotlight-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
    line-height: 1.3;
}

.spotlight-text {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.spotlight-meta {
    display: flex;
    align-items: center;
    gap: 2rem;
    font-size: 0.9rem;
    color: var(--gray-dark);
}

.spotlight-link {
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: 500;
    transition: opacity 0.3s ease;
}

.spotlight-link:hover {
    opacity: 0.8;
    text-decoration: underline;
}

/* Featured Grid */
.featured-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}

.feature-card {
    background: var(--white);
    border: 1px solid var(--gray-medium);
    border-radius: 4px;
    overflow: hidden;
    transition: box-shadow 0.3s ease;
}

.feature-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.feature-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

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

.feature-content {
    padding: 1.5rem;
}

.feature-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
}

.feature-text {
    font-size: 0.95rem;
    color: var(--text-light);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.feature-link {
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: opacity 0.3s ease;
}

.feature-link:hover {
    opacity: 0.8;
    text-decoration: underline;
}

/* Mission Section */
.mission-section {
    margin-top: 3rem;
    padding: 2rem;
    background: var(--gray-light);
    border-radius: 4px;
}

.mission-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.mission-item {
    padding: 1.5rem;
    background: var(--white);
    border-radius: 4px;
    border-left: 4px solid var(--primary-blue);
}

.mission-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

.mission-text {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.7;
}

/* Partners Section */
.partners-section {
    background: var(--white);
    padding: 3rem 0;
    margin-top: 4rem;
    border-top: 1px solid var(--gray-medium);
    border-bottom: 1px solid var(--gray-medium);
    overflow: hidden;
}

.partners-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.partners-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-blue);
    text-align: center;
    margin-bottom: 2rem;
}

.partners-slider {
    position: relative;
    overflow: hidden;
    width: 100%;
}

.partners-track {
    display: flex;
    align-items: center;
    gap: 3rem;
    animation: slide 30s linear infinite;
    will-change: transform;
}

.partners-track:hover {
    animation-play-state: paused;
}

.partner-logo {
    flex-shrink: 0;
    width: 150px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    background: var(--white);
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.partner-logo:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.partner-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: filter 0.3s ease, opacity 0.3s ease;
}

.partner-logo:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

/* Partners Map */
.partners-experts-map {
    position: relative;
    cursor: pointer;
    z-index: 1;
    isolation: isolate;
}

.partners-experts-map.map-active {
    cursor: grab;
}

.partners-experts-map.map-active:active {
    cursor: grabbing;
}

/* Map Click Overlay */
.map-click-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.map-click-overlay:hover {
    background: rgba(255, 255, 255, 0.4);
}

.map-click-message {
    background: rgba(0, 74, 173, 0.7);
    color: var(--white);
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    font-weight: 500;
    font-size: 0.9rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    pointer-events: none;
    opacity: 0.9;
}

/* Custom Map Markers */
.custom-marker {
    background: transparent;
    border: none;
}

.marker-icon {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: 700;
    font-size: 14px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    border: 2px solid var(--white);
}

.partner-icon {
    background: var(--primary-blue);
}

.expert-icon {
    background: #d4af37;
}

.map-legend {
    font-size: 0.9rem;
}

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

/* Footer */
.main-footer {
    background: var(--text-dark);
    color: var(--white);
    padding: 3rem 0 1rem;
    margin-top: 0;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--white);
}

.footer-text {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--white);
    text-decoration: underline;
}

.footer-bottom {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1.5rem 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    text-align: center;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
}

/* Page Content Styles */
.page-header {
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--gray-medium);
}

.page-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.page-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
}

.content-section {
    margin-bottom: 3rem;
}

.section-title {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--primary-blue);
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--primary-blue);
}

.content-text {
    font-size: 1rem;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.content-list {
    list-style: none;
    margin-left: 1.5rem;
    margin-bottom: 1.5rem;
}

.content-list li {
    margin-bottom: 0.75rem;
    padding-left: 1.5rem;
    position: relative;
    font-size: 1rem;
    color: var(--text-light);
    line-height: 1.7;
}

.content-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--primary-blue);
    font-weight: bold;
    font-size: 1.2rem;
}

/* Remove bullet points from numbered lists (ol) */
ol.content-list li::before,
.content-list[style*="decimal"] li::before {
    content: none !important;
}

ol.content-list {
    list-style: decimal;
    padding-left: 2rem;
}

ol.content-list li {
    padding-left: 0.5rem;
}

.two-column {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.info-box {
    background: var(--gray-light);
    padding: 1.5rem;
    border-radius: 4px;
    border-left: 4px solid var(--primary-blue);
    margin-bottom: 1.5rem;
}

.info-box-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary-blue);
    margin-bottom: 0.75rem;
}

.table-container {
    overflow-x: auto;
    margin-bottom: 2rem;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1.5rem;
}

.data-table th,
.data-table td {
    padding: 0.75rem;
    text-align: left;
    border-bottom: 1px solid var(--gray-medium);
}

.data-table th {
    background: var(--primary-blue);
    color: var(--white);
    font-weight: 600;
}

.data-table tr:hover {
    background: var(--gray-light);
}

/* Thesis Book Icon */
.thesis-book-icon-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    margin: 4rem 0;
    padding: 2rem;
    flex-wrap: wrap;
}

.thesis-book-icon-btn {
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 1rem;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.thesis-book-icon-btn:hover {
    transform: scale(1.05);
}

.thesis-book-icon-btn:active {
    transform: scale(0.98);
}

.thesis-book-icon-btn svg {
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
    transition: filter 0.3s ease;
}

.thesis-book-icon-btn:hover svg {
    filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.3));
}

.thesis-book-icon-text {
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary-blue);
    text-align: center;
}

/* Thesis Book Modal */
.thesis-book-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.thesis-book-modal.active {
    opacity: 1;
    visibility: visible;
}

.thesis-book-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
}

.thesis-book-modal-container {
    position: relative;
    width: 90%;
    max-width: 900px;
    max-height: 90vh;
    z-index: 10001;
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.thesis-book-modal.active .thesis-book-modal-container {
    transform: scale(1);
}

.thesis-book-modal-close {
    position: absolute;
    top: -40px;
    right: 0;
    background: var(--white);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--text-dark);
    transition: all 0.3s ease;
    z-index: 10002;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.thesis-book-modal-close:hover {
    background: var(--primary-blue);
    color: var(--white);
    transform: rotate(90deg);
}

.thesis-book-modal-book {
    position: relative;
    background: linear-gradient(135deg, #f5f5f5 0%, #ffffff 50%, #f5f5f5 100%);
    border: 4px solid #d4af37;
    border-left: 15px solid #b8941f;
    border-radius: 8px;
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.4),
        inset -10px 0 20px rgba(0, 0, 0, 0.2),
        inset 0 0 40px rgba(212, 175, 55, 0.2);
    overflow: hidden;
    max-height: 90vh;
    display: flex;
}

.thesis-book-modal-spine {
    width: 20px;
    background: linear-gradient(180deg, #b8941f 0%, #d4af37 50%, #b8941f 100%);
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 0;
    box-shadow: inset 2px 0 5px rgba(0, 0, 0, 0.3);
}

/* Spiral coil rings - using precise repeating pattern */
.thesis-book-modal-spine::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 100%;
    background-image: 
        radial-gradient(circle 2.5px at 50% 3%, #8b6f1a 0%, #8b6f1a 100%, transparent 100%),
        radial-gradient(circle 2.5px at 50% 8%, #8b6f1a 0%, #8b6f1a 100%, transparent 100%),
        radial-gradient(circle 2.5px at 50% 13%, #8b6f1a 0%, #8b6f1a 100%, transparent 100%),
        radial-gradient(circle 2.5px at 50% 18%, #8b6f1a 0%, #8b6f1a 100%, transparent 100%),
        radial-gradient(circle 2.5px at 50% 23%, #8b6f1a 0%, #8b6f1a 100%, transparent 100%),
        radial-gradient(circle 2.5px at 50% 28%, #8b6f1a 0%, #8b6f1a 100%, transparent 100%),
        radial-gradient(circle 2.5px at 50% 33%, #8b6f1a 0%, #8b6f1a 100%, transparent 100%),
        radial-gradient(circle 2.5px at 50% 38%, #8b6f1a 0%, #8b6f1a 100%, transparent 100%),
        radial-gradient(circle 2.5px at 50% 43%, #8b6f1a 0%, #8b6f1a 100%, transparent 100%),
        radial-gradient(circle 2.5px at 50% 48%, #8b6f1a 0%, #8b6f1a 100%, transparent 100%),
        radial-gradient(circle 2.5px at 50% 53%, #8b6f1a 0%, #8b6f1a 100%, transparent 100%),
        radial-gradient(circle 2.5px at 50% 58%, #8b6f1a 0%, #8b6f1a 100%, transparent 100%),
        radial-gradient(circle 2.5px at 50% 63%, #8b6f1a 0%, #8b6f1a 100%, transparent 100%),
        radial-gradient(circle 2.5px at 50% 68%, #8b6f1a 0%, #8b6f1a 100%, transparent 100%),
        radial-gradient(circle 2.5px at 50% 73%, #8b6f1a 0%, #8b6f1a 100%, transparent 100%),
        radial-gradient(circle 2.5px at 50% 78%, #8b6f1a 0%, #8b6f1a 100%, transparent 100%),
        radial-gradient(circle 2.5px at 50% 83%, #8b6f1a 0%, #8b6f1a 100%, transparent 100%),
        radial-gradient(circle 2.5px at 50% 88%, #8b6f1a 0%, #8b6f1a 100%, transparent 100%),
        radial-gradient(circle 2.5px at 50% 93%, #8b6f1a 0%, #8b6f1a 100%, transparent 100%),
        radial-gradient(circle 2.5px at 50% 98%, #8b6f1a 0%, #8b6f1a 100%, transparent 100%);
    background-size: 100% 5%;
    background-repeat: repeat-y;
    background-position: center;
    opacity: 1;
}

/* Spiral connecting lines */
.thesis-book-modal-spine::after {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 100%;
    background: repeating-linear-gradient(
        to bottom,
        transparent 0px,
        transparent 2.5px,
        rgba(107, 80, 16, 0.4) 3px,
        rgba(107, 80, 16, 0.4) 4px,
        transparent 4.5px,
        transparent 5%
    );
    background-size: 100% 5%;
    background-repeat: repeat-y;
}

.thesis-book-modal-pages {
    flex: 1;
    background: #ffffff;
    overflow-y: auto;
    max-height: 90vh;
}

.thesis-book-modal-page {
    padding: 3rem;
    min-height: 100%;
    border-left: 2px solid #e8e8e8;
    position: relative;
}

.thesis-book-modal-page::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, transparent 0%, #d0d0d0 5%, #d0d0d0 95%, transparent 100%);
}

.thesis-book-modal-content {
    position: relative;
    z-index: 1;
}

.thesis-book-modal-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-blue);
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 3px solid var(--primary-blue);
}

.thesis-book-modal-subtitle {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.thesis-book-modal-chapter {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-top: 2rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--primary-blue);
}

.thesis-book-modal-text {
    line-height: 1.8;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.thesis-book-modal-list {
    list-style: decimal;
    padding-left: 2rem;
    margin: 1rem 0;
    line-height: 1.8;
}

.thesis-book-modal-list li {
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.thesis-book-modal-list ul {
    list-style: lower-alpha;
    padding-left: 2rem;
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
}

.thesis-book-modal-list ul li {
    margin-bottom: 0.3rem;
}

.thesis-book-modal-note {
    background: #fff9e6;
    border-left: 4px solid #ffc107;
    padding: 1.5rem;
    margin: 2rem 0;
    border-radius: 4px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.thesis-book-modal-note p {
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
}

.thesis-book-modal-note ul {
    list-style: disc;
    padding-left: 2rem;
    margin-top: 0.5rem;
}

.thesis-book-modal-note ul li {
    margin-bottom: 0.5rem;
}

/* Scrollbar styling for modal */
.thesis-book-modal-pages::-webkit-scrollbar {
    width: 8px;
}

.thesis-book-modal-pages::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.thesis-book-modal-pages::-webkit-scrollbar-thumb {
    background: #d4af37;
    border-radius: 4px;
}

.thesis-book-modal-pages::-webkit-scrollbar-thumb:hover {
    background: #b8941f;
}

/* Thesis Book Table */
.thesis-book-table-container {
    overflow-x: auto;
    margin: 2rem 0;
}

.thesis-book-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
    background: #ffffff;
}

.thesis-book-table thead {
    background: var(--primary-blue);
    color: var(--white);
}

.thesis-book-table th {
    padding: 1rem;
    text-align: left;
    font-weight: 700;
    border: 1px solid rgba(255, 255, 255, 0.2);
    vertical-align: top;
}

.thesis-book-table th:first-child {
    width: 60px;
    text-align: center;
}

.thesis-book-table th:nth-child(2) {
    width: 200px;
}

.thesis-book-table td {
    padding: 1rem;
    border: 1px solid #e0e0e0;
    vertical-align: top;
    line-height: 1.6;
}

.thesis-book-table tbody tr:nth-child(even) {
    background: #f9f9f9;
}

.thesis-book-table tbody tr:hover {
    background: #f0f7ff;
}

.thesis-book-table td:first-child {
    text-align: center;
    font-weight: 600;
    color: var(--primary-blue);
    background: #f5f5f5;
}

.thesis-book-table td:nth-child(2) {
    font-weight: 600;
    color: var(--text-dark);
}

.thesis-book-table ul {
    margin: 0.5rem 0;
    padding-left: 1.5rem;
    list-style: disc;
}

.thesis-book-table ul li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.thesis-book-table strong {
    color: var(--primary-blue);
    font-weight: 700;
    display: block;
    margin-top: 0.5rem;
    margin-bottom: 0.3rem;
}

.thesis-book-table p {
    margin: 0.5rem 0;
    line-height: 1.6;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .main-wrapper {
        grid-template-columns: 350px 1fr;
        gap: 2rem;
    }
    
    .main-wrapper::before {
        width: calc(350px + 2rem);
    }
}

@media (max-width: 968px) {
    .main-wrapper {
        grid-template-columns: 1fr;
        padding: 1rem;
    }
    
    .main-wrapper::before {
        display: none;
    }

    .sidebar {
        order: 2;
        position: relative;
        top: auto;
        max-height: none;
        overflow-y: visible;
    }

    .main-content {
        order: 1;
    }

    .header-top, .header-bottom {
        padding: 1rem;
    }
    
    .header-top {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }
    
    .header-actions {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .logo-section {
        width: 100%;
        justify-content: center;
    }

    .nav-list {
        gap: 1rem;
        font-size: 0.85rem;
    }

    .featured-grid {
        grid-template-columns: 1fr;
    }

    .mission-grid {
        grid-template-columns: 1fr;
    }

    .footer-container {
        grid-template-columns: repeat(2, 1fr);
    }

    .two-column {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .main-header {
        position: relative;
    }
    
    .header-top {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .logo-section {
        flex-direction: row;
        align-items: center;
        width: auto;
    }

    .logo {
        height: 40px;
    }

    .logo-title {
        font-size: 1.2rem;
    }

    .logo-subtitle {
        font-size: 0.75rem;
    }
    
    .header-actions {
        width: 100%;
        justify-content: space-around;
        gap: 0.25rem;
    }
    
    .header-bottom {
        padding: 0.5rem 1rem;
    }
    
    .nav-list {
        flex-direction: column;
        gap: 0.5rem;
        align-items: flex-start;
    }
    
    .language-switcher, .login-button, .dark-mode-toggle, .search-toggle {
        padding: 0.4rem 0.8rem;
        font-size: 0.85rem;
        width: auto;
        height: auto;
    }
    
    .dark-mode-toggle svg, .search-toggle svg {
        width: 18px;
        height: 18px;
    }

    .spotlight-title {
        font-size: 1.5rem;
    }

    .page-title {
        font-size: 1.8rem;
    }

    .footer-container {
        grid-template-columns: 1fr;
    }

    /* Search Overlay Mobile */
    .search-header-container {
        flex-wrap: wrap;
        padding: 1rem;
    }

    .search-overlay-content {
        padding: 2rem 1rem;
    }

    .search-overlay-input {
        padding: 1.25rem 3.5rem 1.25rem 3.5rem;
        font-size: 1.1rem;
    }

    .search-icon {
        left: 1rem;
        width: 20px;
        height: 20px;
    }

    .search-links-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    /* Partners Mobile */
    .partners-container {
        padding: 0 1rem;
    }

    .partners-title {
        font-size: 1.2rem;
        margin-bottom: 1.5rem;
    }

    .partner-logo {
        width: 120px;
        height: 80px;
    }

    .partners-track {
        gap: 2rem;
    }

    /* Reduce animation distance on mobile for better performance */
    .fade-in-up {
        transform: translateY(20px);
    }

    .slide-in-left {
        transform: translateX(-20px);
    }

    .slide-in-right {
        transform: translateX(20px);
    }
}

/* Reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
    .fade-in,
    .fade-in-up,
    .slide-in-left,
    .slide-in-right,
    .scale-in {
        transition: none;
        opacity: 1;
        transform: none;
    }
}

/* Scroll Animations */
.animate-on-scroll {
    opacity: 0;
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animate-on-scroll.animated {
    opacity: 1;
}

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in.animated {
    opacity: 1;
    transform: translateY(0);
}

.slide-in-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.slide-in-left.animated {
    opacity: 1;
    transform: translateX(0);
}

.slide-in-right {
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.slide-in-right.animated {
    opacity: 1;
    transform: translateX(0);
}

.scale-in {
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.scale-in.animated {
    opacity: 1;
    transform: scale(1);
}

.fade-in-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: opacity, transform;
}

.fade-in-up.animated {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger animation delays for multiple elements */
.animate-delay-1 {
    transition-delay: 0.1s;
}

.animate-delay-2 {
    transition-delay: 0.2s;
}

.animate-delay-3 {
    transition-delay: 0.3s;
}

.animate-delay-4 {
    transition-delay: 0.4s;
}

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

.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }

/* Map Container */
.map-container {
    margin-top: 2rem;
    margin-bottom: 2rem;
}

#defense-centers-map {
    z-index: 1;
}

