/* Reset and Base Styles */
* { box-sizing: border-box; margin: 0; padding: 0; }

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #0a0a0a; /* Dark background to make glass pop */
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

/* Background aesthetic blob */
.background-blob {
    position: absolute;
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, #2d5a27, #2c3e50, #8e44ad);
    filter: blur(100px);
    border-radius: 50%;
    animation: pulse 10s infinite alternate;
}

/* The Glass Card */
.glass-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 30px;
    padding: 3rem;
    width: 90%;
    max-width: 600px;
    color: white;
    text-align: center;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    z-index: 1;
}

h1 { margin-bottom: 1rem; font-size: 2.5rem; }

.lang-selector {
    margin-top: 2rem;
    display: flex;
    justify-content: center;
    gap: 10px;
}

button {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 10px;
    cursor: pointer;
    transition: 0.3s;
}

button:hover { background: rgba(255, 255, 255, 0.2); }

@keyframes pulse {
    from { transform: scale(1); }
    to { transform: scale(1.2); }
}
/* Add these to your existing style.css */

.main-nav {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.main-nav a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.9rem;
    transition: 0.3s;
}

.main-nav a:hover { color: white; }

.divider {
    height: 2px;
    width: 50px;
    background: #e67e22; /* Gold/Orange accent for a formal look */
    margin: 10px auto 20px auto;
}

.portal-content {
    line-height: 1.6;
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.lang-selector span {
    display: block;
    margin-bottom: 10px;
    font-size: 0.8rem;
    opacity: 0.6;
}
* { box-sizing: border-box; margin: 0; padding: 0; }

body {
    font-family: 'Inter', sans-serif;
    background: #050505;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #ffffff;
}

.background-blob {
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, #2d3436 0%, #000000 70%);
    z-index: 0;
}

.glass-card {
    position: relative;
    z-index: 1;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 3rem;
    width: 90%;
    max-width: 650px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.main-nav {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 2rem;
}

.main-nav a {
    color: #888;
    text-decoration: none;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: 0.3s;
}

.main-nav a.active, .main-nav a:hover { color: #fff; }

.trilingual-title {
    display: flex;
    flex-direction: column;
    gap: 8px;
    text-align: center;
    margin-bottom: 20px;
}

.en { font-size: 1.6rem; font-weight: 700; }
.ar, .he { font-size: 1.2rem; font-weight: 300; opacity: 0.7; }

.divider {
    height: 1px;
    width: 60px;
    background: linear-gradient(90deg, transparent, #fff, transparent);
    margin: 0 auto 2rem auto;
}

.portal-content { text-align: center; margin-bottom: 2rem; opacity: 0.9; }

.lang-selector { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 20px; text-align: center; }

.lang-label { font-size: 0.7rem; opacity: 0.5; margin-bottom: 15px; display: block; }

.button-group { display: flex; justify-content: center; gap: 10px; }

button {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    color: white;
    padding: 8px 16px;
    border-radius: 8px;
    cursor: pointer;
    transition: 0.3s;
}

button:hover { background: rgba(255,255,255,0.15); border-color: rgba(255,255,255,0.3); }
/* Update your main-card to be more expansive */
.glass-card {
    background: rgba(10, 10, 10, 0.6); /* Darker, more serious tones */
    border: 1px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(40px);
    padding: 4rem;
    max-width: 900px; /* Wider for more content */
}

/* Add an institutional "Global Header" style */
.state-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid #c5a059; /* Metallic gold/bronze accent */
    margin-bottom: 3rem;
}

/* Use a Grid for your "Departments" or "Functions" */
.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.action-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 1.5rem;
    border-radius: 12px;
    transition: transform 0.2s;
}

.action-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.08);
}