/* style.css */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&family=Plus+Jakarta+Sans:wght@300;400;500;600;700&display=swap');

:root {
    /* Color Palette - Premium Teal & Slate Dark Theme */
    --bg-base: #0f172a;
    --bg-surface: #1e293b;
    --bg-surface-hover: #334155;
    --border-color: #334155;
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --text-inverse: #0f172a;
    
    --primary: #06b6d4; /* Cyan/Teal */
    --primary-glow: rgba(6, 182, 212, 0.15);
    --primary-hover: #0891b2;
    
    --success: #10b981; /* Emerald */
    --success-glow: rgba(16, 185, 129, 0.1);
    
    --warning: #f59e0b; /* Amber */
    --warning-glow: rgba(245, 158, 11, 0.1);
    
    --danger: #ef4444; /* Rose */
    --danger-glow: rgba(239, 68, 68, 0.15);
    
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
    
    --radius-lg: 16px;
    --radius-md: 12px;
    --radius-sm: 8px;
    --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.3), 0 8px 10px -6px rgba(0, 0, 0, 0.3);
}

/* Light Mode Toggle Override */
body.light-theme {
    --bg-base: #f1f5f9;
    --bg-surface: #ffffff;
    --bg-surface-hover: #f8fafc;
    --border-color: #e2e8f0;
    --text-main: #0f172a;
    --text-muted: #64748b;
    --text-inverse: #ffffff;
    
    --primary: #0891b2;
    --primary-glow: rgba(8, 145, 178, 0.1);
    --primary-hover: #0e7490;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--bg-base);
    color: var(--text-main);
    font-family: var(--font-body);
    min-height: 100vh;
    display: flex;
    overflow-x: hidden;
    line-height: 1.6;
    transition: background-color 0.3s, color 0.3s;
}

/* App Layout */
.app-container {
    display: flex;
    width: 100%;
    min-height: 100vh;
}

/* Sidebar Styling */
.sidebar {
    display: none !important;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary), #3b82f6);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 1.25rem;
    box-shadow: 0 0 15px var(--primary-glow);
}

.logo-text {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.25rem;
    letter-spacing: -0.5px;
    background: linear-gradient(to right, var(--primary), #60a5fa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.user-profile-badge {
    padding: 1rem;
    background-color: var(--bg-base);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.user-role {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--primary);
    font-weight: 600;
}

.user-name {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-main);
}

.nav-menu {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.nav-item a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.85rem 1rem;
    color: var(--text-muted);
    text-decoration: none;
    border-radius: var(--radius-sm);
    font-weight: 500;
    transition: var(--transition);
}

.nav-item.active a, .nav-item a:hover {
    color: var(--text-main);
    background-color: var(--bg-surface-hover);
}

.nav-item.active a {
    border-left: 3px solid var(--primary);
    padding-left: calc(1rem - 3px);
}

.nav-item-icon {
    font-size: 1.2rem;
    width: 20px;
    text-align: center;
}

/* Main Content Area */
.main-content {
    flex-grow: 1;
    padding: 2rem;
    max-width: 100%;
    margin: 0 auto;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

/* Header Area */
.top-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
}

.header-title h1 {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 2rem;
}

.header-title p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.theme-toggle-btn {
    background-color: var(--bg-surface);
    border: 1px solid var(--border-color);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: var(--text-main);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: var(--transition);
}

.theme-toggle-btn:hover {
    background-color: var(--bg-surface-hover);
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    background-color: var(--primary);
    color: var(--text-inverse);
    border: none;
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: var(--transition);
}

.btn:hover {
    background-color: var(--primary-hover);
    transform: translateY(-1px);
}

.btn-secondary {
    background-color: var(--bg-surface);
    color: var(--text-main);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    background-color: var(--bg-surface-hover);
}

.btn-danger {
    background-color: var(--danger);
    color: white;
}

.btn-danger:hover {
    background-color: #e11d48;
}

/* Stat Cards */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
}

.stat-card {
    background-color: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.stat-card:hover {
    transform: translateY(-2px);
    border-color: var(--primary);
}

.stat-info {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.stat-label {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-muted);
    font-weight: 600;
}

.stat-value {
    font-size: 2rem;
    font-weight: 700;
    font-family: var(--font-heading);
}

.stat-desc {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.stat-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    background-color: var(--bg-surface-hover);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary);
}

.stat-card.alert-card .stat-icon {
    color: var(--danger);
    background-color: var(--danger-glow);
}

.stat-card.alert-card {
    border-color: rgba(239, 68, 68, 0.2);
}

/* Dashboard Grid layouts */
.dashboard-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 1.5rem;
}

@media (max-width: 1024px) {
    .dashboard-grid {
        grid-template-columns: 1fr;
    }
}

.card {
    background-color: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.card-title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 600;
}

.card-action-link {
    color: var(--primary);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
}

.card-action-link:hover {
    text-decoration: underline;
}

/* Residents List / Grid */
.residents-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.5rem;
}

.resident-card {
    background-color: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.resident-card:hover {
    transform: translateY(-2px);
    border-color: var(--primary);
}

.resident-header {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.resident-avatar {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: linear-gradient(135deg, #0284c7, var(--primary));
    color: white;
    font-size: 1.25rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    text-transform: uppercase;
}

.resident-avatar.female {
    background: linear-gradient(135deg, #db2777, #f472b6);
}

.resident-meta h3 {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 600;
}

.resident-meta p {
    color: var(--text-muted);
    font-size: 0.85rem;
}

.resident-details-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    padding: 0.75rem 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    font-size: 0.85rem;
}

.detail-item {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.detail-label {
    color: var(--text-muted);
    font-size: 0.75rem;
    text-transform: uppercase;
}

.detail-value {
    font-weight: 600;
}

/* Badges */
.badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.25rem 0.5rem;
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: var(--radius-sm);
    text-transform: uppercase;
}

.badge-care {
    background-color: var(--primary-glow);
    color: var(--primary);
    border: 1px solid var(--primary);
}

.badge-care-5 {
    background-color: var(--danger-glow);
    color: var(--danger);
    border: 1px solid var(--danger);
}

.badge-care-4 {
    background-color: rgba(245, 158, 11, 0.15);
    color: var(--warning);
    border: 1px solid var(--warning);
}

.badge-category-allgemein {
    background-color: var(--primary-glow);
    color: var(--primary);
}

.badge-category-medizinisch {
    background-color: rgba(59, 130, 246, 0.15);
    color: #60a5fa;
}

.badge-category-notfall {
    background-color: var(--danger-glow);
    color: var(--danger);
    animation: pulse-danger 2s infinite;
}

.badge-category-soziales {
    background-color: var(--success-glow);
    color: var(--success);
}

.badge-category-pflegebericht {
    background-color: var(--primary-glow);
    color: var(--primary);
}

.badge-category-therapie {
    background-color: rgba(139, 92, 246, 0.15);
    color: #a78bfa;
}

.badge-category-vorkommnis {
    background-color: var(--danger-glow);
    color: var(--danger);
    animation: pulse-danger 2s infinite;
}

.badge-category-wunde {
    background-color: rgba(245, 158, 11, 0.15);
    color: var(--warning);
}

.badge-category-vitalwerte {
    background-color: rgba(20, 184, 166, 0.15);
    color: #2dd4bf;
}

@keyframes pulse-danger {
    0% {
        box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.4);
    }
    70% {
        box-shadow: 0 0 0 6px rgba(239, 68, 68, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(239, 68, 68, 0);
    }
}

/* Tables styling */
.table-responsive {
    overflow-x: auto;
    width: 100%;
}

table.data-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

table.data-table th {
    padding: 1rem;
    color: var(--text-muted);
    font-size: 0.8rem;
    text-transform: uppercase;
    font-weight: 600;
    border-bottom: 1px solid var(--border-color);
}

table.data-table td {
    padding: 1rem;
    border-bottom: 1px solid var(--border-color);
    font-size: 0.9rem;
    vertical-align: middle;
}

table.data-table tbody tr:hover {
    background-color: var(--bg-surface-hover);
}

/* Care Logs List */
.reports-timeline {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.report-item {
    background-color: var(--bg-surface-hover);
    padding: 1.25rem;
    border-radius: var(--radius-md);
    border-left: 4px solid var(--primary);
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.report-item.report-notfall {
    border-left-color: var(--danger);
    background-color: rgba(239, 68, 68, 0.05);
}

.report-item.report-medizinisch {
    border-left-color: #3b82f6;
}

.report-item.report-soziales {
    border-left-color: var(--success);
}

.report-item.report-pflegebericht {
    border-left-color: var(--primary);
}

.report-item.report-therapie {
    border-left-color: #8b5cf6;
}

.report-item.report-vorkommnis {
    border-left-color: var(--danger);
    background-color: rgba(239, 68, 68, 0.05);
}

.report-item.report-wunde {
    border-left-color: var(--warning);
}

.report-item.report-vitalwerte {
    border-left-color: #14b8a6;
}

.report-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.report-author {
    font-weight: 600;
}

.report-content {
    font-size: 0.9rem;
    white-space: pre-wrap;
}

/* Profile Detail layout */
.profile-layout {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 2rem;
    align-items: start;
}

@media (max-width: 900px) {
    .profile-layout {
        grid-template-columns: 1fr;
    }
}

.profile-card {
    position: sticky;
    top: 2rem;
}

.profile-detail-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.profile-detail-header .resident-avatar {
    width: 80px;
    height: 80px;
    font-size: 2rem;
}

.profile-detail-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding-top: 1.5rem;
}

.profile-detail-item {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
}

.profile-detail-item .label {
    color: var(--text-muted);
}

.profile-detail-item .val {
    font-weight: 600;
    text-align: right;
}

/* Tabs */
.tabs-container {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.tabs-nav {
    display: flex;
    gap: 0.5rem;
    border-bottom: 1px solid var(--border-color);
    overflow-x: auto;
    padding-bottom: 0.5rem;
}

.tab-btn {
    background: none;
    border: none;
    color: var(--text-muted);
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 600;
    padding: 0.75rem 1.25rem;
    cursor: pointer;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    white-space: nowrap;
}

.tab-btn:hover {
    color: var(--text-main);
    background-color: var(--bg-surface);
}

.tab-btn.active {
    color: var(--text-main);
    background-color: var(--primary-glow);
    border-bottom: 2px solid var(--primary);
    border-radius: var(--radius-sm) var(--radius-sm) 0 0;
}

.tab-pane {
    display: none;
}

.tab-pane.active {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* Vital Signs Chart/Indicator styling */
.vitals-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.vital-value-card {
    background-color: var(--bg-surface-hover);
    padding: 1.25rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.5rem;
}

.vital-value-card .label {
    font-size: 0.8rem;
    text-transform: uppercase;
    color: var(--text-muted);
    font-weight: 600;
}

.vital-value-card .val {
    font-size: 1.75rem;
    font-weight: 700;
    font-family: var(--font-heading);
    color: var(--primary);
}

.vital-value-card.alert-high .val {
    color: var(--danger);
}

.vital-value-card.alert-low .val {
    color: #3b82f6;
}

/* Daily Checklist Tasks list */
.tasks-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.task-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: var(--bg-surface-hover);
    padding: 1rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
}

.task-details {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.task-title {
    font-weight: 600;
    font-size: 0.95rem;
}

.task-freq {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.task-action {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Forms styling */
.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
}

.form-control {
    background-color: var(--bg-base);
    border: 1px solid var(--border-color);
    color: var(--text-main);
    font-family: var(--font-body);
    font-size: 0.95rem;
    padding: 0.75rem 1rem;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    width: 100%;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-glow);
}

select.form-control {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2306b6d4' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1.15em;
    padding-right: 2.5rem;
    cursor: pointer;
}

select.form-control option {
    background-color: var(--bg-surface);
    color: var(--text-main);
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.form-actions {
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
    margin-top: 1rem;
}

/* Modals */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(15, 23, 42, 0.75);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
}

.modal-overlay.open {
    opacity: 1;
    pointer-events: auto;
}

.modal-content {
    background-color: var(--bg-surface);
    border: 1px solid var(--border-color);
    width: 100%;
    max-width: 600px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    overflow: hidden;
    transform: scale(0.9);
    transition: var(--transition);
}

.modal-overlay.open .modal-content {
    transform: scale(1);
}

.modal-header {
    padding: 1.5rem;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h3 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
}

.modal-body {
    padding: 1.5rem;
    max-height: 70vh;
    overflow-y: auto;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    body {
        flex-direction: column;
    }
    
    .sidebar {
        width: 100%;
        border-right: none;
        border-bottom: 1px solid var(--border-color);
        padding: 1rem 1.5rem;
        gap: 1rem;
    }
    
    .logo-container {
        justify-content: space-between;
    }
    
    .user-profile-badge {
        display: none;
    }
    
    .nav-menu {
        flex-direction: row;
        justify-content: space-around;
    }
    
    .nav-item a {
        padding: 0.5rem;
        font-size: 0.8rem;
        flex-direction: column;
        gap: 0.25rem;
    }
    
    .nav-item.active a {
        border-left: none;
        border-bottom: 3px solid var(--primary);
        padding-left: 0.5rem;
        padding-bottom: calc(0.5rem - 3px);
    }
    
    .main-content {
        width: 100%;
        padding: 1rem;
    }
}

/* ==========================================================================
   🌀 Floating Radial Menu (GTA 5 Style)
   ========================================================================== */

.radial-trigger-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: rgba(15, 23, 42, 0.65);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 2.5px solid var(--primary-glow);
    color: var(--primary);
    font-size: 2.1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 30px rgba(13, 148, 136, 0.4);
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    z-index: 9999;
}

.radial-trigger-btn:hover {
    transform: scale(1.1) rotate(45deg);
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
    box-shadow: 0 0 20px var(--primary);
}

.radial-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.75);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 99990;
}

.radial-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.radial-container {
    width: 320px;
    height: 320px;
    border-radius: 50%;
    position: relative;
    background: rgba(30, 41, 59, 0.25);
    border: 2px dashed rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    transform: scale(0.85);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.radial-overlay.active .radial-container {
    transform: scale(1);
}

.radial-center {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: rgba(15, 23, 42, 0.95);
    border: 3px solid var(--primary);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: absolute;
    z-index: 10;
    box-shadow: 0 0 30px rgba(13, 148, 136, 0.3);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.radial-item {
    --angle: calc(360deg / var(--total) * var(--i));
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(var(--angle)) translate(105px) rotate(calc(-1 * var(--angle)));
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.radial-item a {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: rgba(30, 41, 59, 0.85);
    border: 2px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.radial-item:hover {
    transform: translate(-50%, -50%) rotate(var(--angle)) translate(115px) rotate(calc(-1 * var(--angle))) scale(1.2);
}

.radial-item:hover a {
    background: var(--primary);
    color: #fff !important;
    border-color: var(--primary);
    box-shadow: 0 0 20px var(--primary);
}

