body {
    margin: 0;
    font-family: 'Segoe UI', sans-serif;
    background: radial-gradient(circle, #111 20%, #000 80%);
    color: #f5f5f5;
}
/* =========================================
   NAVIGATION DROPDOWN
   ========================================= */

/* Dropdown Container */
.nav-links li.dropdown {
    position: relative;
}

/* The Dropdown Menu Wrapper */
.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--nav-bg, #1a1a1a); 
    min-width: 320px;
    box-shadow: 0px 8px 16px rgba(0,0,0,0.3);
    z-index: 1000;
    list-style: none;
    padding: 10px 0;
    margin: 0;
    border-radius: 4px;
    border: 1px solid rgba(255,255,255,0.1);
}

/* Dropdown Item Styling */
.dropdown-content li {
    width: 100%;
    text-align: left;
}

.dropdown-content li a {
    padding: 12px 20px;
    display: block;
    font-size: 14px;
    line-height: 1.4;
    color: var(--nav-text, #ffffff);
    text-decoration: none;
    transition: background 0.2s ease;
}

/* Hover State for Dropdown Links */
.dropdown-content li a:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

/* Trigger Visibility on Hover */
.dropdown:hover .dropdown-content {
    display: block;
}

/* Visual Caret (Down Arrow) */
.dropbtn::after {
    content: ' ▾';
    font-size: 10px;
    vertical-align: middle;
    opacity: 0.7;
}

/* Navigation Styles */
.site-nav {
    background-color: var(--nav-bg, #111);
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 20px;
}

.nav-links a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
}

/* Dropdown Logic */
.dropdown {
    position: relative;
}

.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #1a1a1a;
    min-width: 350px;
    box-shadow: 0px 8px 16px rgba(0,0,0,0.5);
    z-index: 1000;
    border-radius: 4px;
    padding: 10px 0;
}

.dropdown-content li a {
    padding: 12px 20px;
    display: block;
    font-size: 14px;
    line-height: 1.4;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.dropdown-content li a strong {
    color: #ffd700;
    display: block;
}

/* Show on Hover */
.dropdown:hover .dropdown-content {
    display: block;
}

.dropbtn::after {
    content: ' ▾';
    font-size: 10px;
}

/* Donate Button */
.donate-btn {
    background: #ffd700;
    color: #000 !important;
    padding: 8px 15px;
    border-radius: 4px;
}
/* HERO */
.hero {
    height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(135deg, #000, #1a1a1a);
}

.hero h1 {
    font-size: 3.6rem;
    color: #D4AF37;
    letter-spacing: 3px;
}

.hero p {
    max-width: 650px;
    margin: 20px auto;
    color: #ccc;
}

/* COMPASS */
.compass-section {
    padding: 80px 20px;
    text-align: center;
}

.compass-section h2 {
    color: #D4AF37;
    margin-bottom: 40px;
}

.compass {
    position: relative;
    width: 420px;
    height: 420px;
    margin: auto;
    border: 2px solid #D4AF37;
    border-radius: 50%;
}

/* PILLAR TOOLTIP (SUB-DESCRIPTIONS) */
.pillar-tooltip {
    position: absolute;
    max-width: 260px;
    padding: 12px 14px;
    background: rgba(0, 0, 0, 0.9);
    color: #f5f5f5;
    font-size: 0.85rem;
    line-height: 1.5;
    border: 1px solid #D4AF37;
    border-radius: 6px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
    z-index: 999;
}

/* PILLARS */
.pillar {
    position: absolute;
    padding: 10px 15px;
    background: #000;
    border: 1px solid #D4AF37;
    color: #D4AF37;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.pillar:hover {
    background: #D4AF37;
    color: #000;
}

/* POSITIONS */
.north { top: -12px; left: 50%; transform: translateX(-50%); }
.north-east { top: 55px; right: -22px; }
.east { top: 50%; right: -32px; transform: translateY(-50%); }
.south-east { bottom: 55px; right: -22px; }
.south { bottom: -12px; left: 50%; transform: translateX(-50%); }
.south-west { bottom: 55px; left: -22px; }
.west { top: 50%; left: -32px; transform: translateY(-50%); }
.north-west { top: 55px; left: -22px; }

/* CENTER */
.center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #D4AF37;
    color: #000;
    width: 90px;
    height: 90px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 0.9rem;
    text-align: center;
}

/* ABOUT */
.about {
    padding: 70px 20px;
    background: #0b0b0b;
    text-align: center;
}

.about h2 {
    color: #D4AF37;
}

.about p {
    max-width: 820px;
    margin: auto;
    color: #ccc;
    line-height: 1.7;
}

/* FOOTER */
footer {
    padding: 25px;
    text-align: center;
    background: #000;
    color: #777;
}
/* LIGHT THEME VARIABLES */
:root {
    --bg-color: #111;
    --text-color: #f5f5f5;
    --accent-color: #D4AF37;
    --section-bg: #0b0b0b;
    --footer-bg: #000;
}

/* DARK THEME VARIABLES */
body.dark {
    --bg-color: #f5f5f5;
    --text-color: #111;
    --accent-color: #D4AF37; /* Keep accent gold */
    --section-bg: #e6e6e6;
    --footer-bg: #111;
}

/* APPLY VARIABLES */
body {
    background: var(--bg-color);
    color: var(--text-color);
    transition: background 0.3s, color 0.3s;
}

.compass-section,
.about,
.manifesto,
.pathway {
    background: var(--section-bg);
    transition: background 0.3s;
}

footer {
    background: var(--footer-bg);
    color: var(--text-color);
    transition: background 0.3s, color 0.3s;
}

.hero h1,
.compass-section h2,
.about h2,
.manifesto h2,
.pathway h2 {
    color: var(--accent-color);
}
#theme-toggle {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: var(--accent-color);
    color: var(--bg-color);
    border: none;
    padding: 10px 15px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: bold;
    z-index: 1000;
    transition: background 0.3s, color 0.3s;
}

#theme-toggle:hover {
    opacity: 0.85;
}
/* MANIFESTO SECTION */
.manifesto {
    padding: 60px 20px;
    background: var(--section-bg);
    border-left: 5px solid var(--accent-color);
    border-radius: 8px;
    max-width: 900px;
    margin: 40px auto;
    box-shadow: 0 0 15px rgba(0,0,0,0.4);
    line-height: 1.7;
    transition: background 0.3s, color 0.3s;
}

.manifesto h2 {
    font-size: 2.2rem;
    color: var(--accent-color);
    margin-bottom: 25px;
    text-align: center;
}

.manifesto p {
    font-size: 1rem;
    color: var(--text-color);
    margin-bottom: 18px;
    text-align: justify;
}

.manifesto-quote {
    font-style: italic;
    font-size: 1.1rem;
    text-align: center;
    color: var(--accent-color);
    margin-top: 25px;
    padding: 10px 0;
    border-top: 1px solid var(--accent-color);
    border-bottom: 1px solid var(--accent-color);
}

/* LEARNING PATHWAY SECTION */
.pathway {
    padding: 60px 20px;
    background: var(--section-bg);
    border-radius: 8px;
    max-width: 900px;
    margin: 40px auto;
    box-shadow: 0 0 15px rgba(0,0,0,0.3);
    transition: background 0.3s, color 0.3s;
}

.pathway h2 {
    font-size: 2rem;
    color: var(--accent-color);
    margin-bottom: 25px;
    text-align: center;
}

.learning-path {
    list-style: none;
    padding: 0;
    margin: 0;
}

.learning-path li {
    background: rgba(212, 175, 55, 0.05);
    border-left: 4px solid var(--accent-color);
    padding: 12px 18px;
    margin-bottom: 12px;
    font-size: 1rem;
    line-height: 1.6;
    border-radius: 4px;
    transition: background 0.3s;
}

.learning-path li strong {
    color: var(--accent-color);
}

.learning-path li:hover {
    background: rgba(212, 175, 55, 0.15);
}

@media screen and (max-width: 768px) {
    .manifesto, .pathway {
        padding: 40px 15px;
        margin: 30px 10px;
    }

    .manifesto h2, .pathway h2 {
        font-size: 1.8rem;
    }

    .learning-path li {
        font-size: 0.95rem;
        padding: 10px 15px;
    }
}
