/* =========================================
   GEMINI 3 THEME: MODERN, DARK, GLOWING
   ========================================= */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;500;700&family=Noto+Sans+Ethiopic:wght@300;500;700&display=swap');

:root {
    --bg-body: #020617;
    --bg-card: rgba(15, 23, 42, 0.6);
    --bg-glass: rgba(30, 41, 59, 0.4);
    --primary: #3b82f6; /* Electric Blue */
    --accent: #10b981;  /* Neon Green */
    --glow: rgba(59, 130, 246, 0.5);
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --border: rgba(148, 163, 184, 0.15);
    --font-en: 'Inter', sans-serif;
    --font-am: 'Noto Sans Ethiopic', sans-serif;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
    background: radial-gradient(circle at 50% 0%, #1e293b 0%, var(--bg-body) 70%);
    color: var(--text-main);
    font-family: var(--font-en), var(--font-am);
    min-height: 100vh;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
}

a { text-decoration: none; color: inherit; transition: var(--transition); }
ul { list-style: none; }

/* --- GLOW EFFECTS --- */
.glow-on-hover {
    position: relative;
    transition: var(--transition);
    z-index: 1;
}

.glow-on-hover::before {
    content: '';
    position: absolute;
    inset: -1px;
    z-index: -1;
    background: linear-gradient(45deg, var(--primary), var(--accent), var(--primary));
    background-size: 400%;
    filter: blur(10px);
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: inherit;
    animation: glowing 20s linear infinite;
}

.glow-on-hover:hover::before { opacity: 0.7; }
.glow-on-hover:hover { transform: translateY(-3px); }

@keyframes glowing { 0% { background-position: 0 0; } 50% { background-position: 400% 0; } 100% { background-position: 0 0; } }

/* --- NAVIGATION (ACCORDION) --- */
.navbar {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(2, 6, 23, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    padding: 0.8rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand { 
    font-size: 1.4rem; 
    font-weight: 700; 
    display: flex; 
    align-items: center; 
    gap: 10px; 
    background: linear-gradient(to right, #fff, #94a3b8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-menu {
    display: flex;
    gap: 20px;
}

/* Mobile Accordion Logic */
.menu-toggle { display: none; font-size: 1.5rem; cursor: pointer; background: none; border: none; color: white; }

@media (max-width: 768px) {
    .menu-toggle { display: block; }
    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #0f172a;
        flex-direction: column;
        gap: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s ease;
        border-bottom: 1px solid var(--border);
    }
    .nav-menu.active { max-height: 400px; }
    .nav-item { width: 100%; padding: 15px 20px; border-bottom: 1px solid rgba(255,255,255,0.05); }
}

.nav-item { font-size: 0.95rem; font-weight: 500; color: var(--text-muted); }
.nav-item:hover { color: var(--primary); }
.nav-item.active { color: var(--accent); }

/* --- CARDS & GLASSMORPHISM --- */
.glass-panel {
    background: var(--bg-card);
    backdrop-filter: blur(16px);
    border: 1px solid var(--border);
    border-radius: 16px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    padding: 20px 0;
}

/* --- BUTTONS & SWITCHES --- */
.btn {
    padding: 10px 24px;
    border-radius: 99px;
    font-weight: 600;
    cursor: pointer;
    border: 1px solid transparent;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: var(--transition);
}

.btn-primary { background: var(--primary); color: white; box-shadow: 0 0 15px rgba(59, 130, 246, 0.3); }
.btn-primary:hover { background: #2563eb; box-shadow: 0 0 25px rgba(59, 130, 246, 0.6); }
.btn-accent { background: var(--accent); color: #020617; }
.btn-outline { border: 1px solid var(--primary); color: var(--primary); background: transparent; }
.btn-outline:hover { background: rgba(59, 130, 246, 0.1); }

/* Language Switcher */
.lang-switch {
    display: flex;
    background: rgba(255,255,255,0.1);
    border-radius: 20px;
    padding: 2px;
    cursor: pointer;
}
.lang-opt { padding: 4px 12px; border-radius: 18px; font-size: 0.8rem; color: var(--text-muted); }
.lang-opt.active { background: var(--primary); color: white; }

/* --- FOOTER --- */
footer {
    margin-top: auto;
    background: #020617;
    border-top: 1px solid var(--border);
    padding: 30px 5%;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* --- UTILITIES --- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; width: 100%; }
.text-gradient { background: linear-gradient(135deg, var(--primary), var(--accent)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.amharic-text { font-family: var(--font-am); }