/* --- 1. FONTS & VARIABLES --- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;800&display=swap');

:root {
    --bg-dark: #120526;       
    --accent-bright: #7F1DFF; 
    --accent-pink: #A3299E;   
    --text-white: #FFFFFF;
    --text-muted: #BDB7C5;
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
}

/* --- 2. GLOBAL STYLES --- */
body {
    background-color: var(--bg-dark) !important;
    background-image: radial-gradient(circle at 10% 20%, rgba(127, 29, 255, 0.15) 0%, transparent 40%),
                      radial-gradient(circle at 90% 80%, rgba(163, 41, 158, 0.15) 0%, transparent 40%);
    color: var(--text-white) !important;
    font-family: 'Inter', sans-serif;
    margin: 0;
    line-height: 1.6;
    min-height: 100vh;
}

h1, h2, h3, h4, p, li, strong, span {
    color: var(--text-white) !important;
}

.highlight {
    color: var(--accent-bright) !important;
}

/* --- 3. NAVIGATION (The Edge Spacing Fix) --- */
nav.container-fluid {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(18, 5, 38, 0.8) !important;
    backdrop-filter: blur(15px) saturate(180%);
    -webkit-backdrop-filter: blur(15px) saturate(180%);
    border-bottom: 1px solid var(--glass-border) !important;
    z-index: 1000;
    padding: 10px 0;
}

.nav-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    width: 100%;
    padding: 0 40px; /* This pulls ALM and Links away from the screen edges */
}

/* --- 4. HERO & ANIMATION --- */
.hero {
    background: transparent !important;
    padding: 160px 0 60px 0;
    text-align: center;
}

h1 { font-size: 3.5rem; font-weight: 800; }

.science-icon {
    position: relative;
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.dot {
    width: 10px;
    height: 10px;
    background-color: var(--accent-bright);
    border-radius: 50%;
    box-shadow: 0 0 15px var(--accent-bright);
}

.orbit {
    position: absolute;
    width: 60px;
    height: 25px;
    border: 2px solid rgba(127, 29, 255, 0.4);
    border-radius: 50%;
    animation: rotate 3s linear infinite;
}

.orbit::after {
    content: '';
    position: absolute;
    width: 60px;
    height: 25px;
    border: 2px solid rgba(163, 41, 158, 0.4);
    border-radius: 50%;
    transform: rotate(120deg);
    top: -2px; left: -2px;
}

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

/* --- 5. CARDS (Alignment Fix) --- */
article.project-card {
    background: var(--glass-bg) !important;
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border) !important;
    border-radius: 20px !important;
    padding: 2rem !important;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    transition: all 0.4s ease;
}

article.project-card footer {
    background: transparent !important;
    border-top: 1px solid var(--glass-border) !important;
    padding: 1rem 0 0 0 !important;
    margin-top: 1.5rem !important;
    display: flex;
    justify-content: flex-start;
}

article footer a {
    color: var(--accent-bright) !important;
    font-weight: 600;
    text-decoration: none;
}

/* --- 6. BUTTONS --- */
[role="button"] {
    background-color: var(--accent-bright) !important;
    border: none !important;
    border-radius: 50px !important;
    padding: 12px 30px !important;
}
