:root {
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --navy: #0f172a;
    --gold: #fbbf24;
    --text: #0f172a;
    --muted: #64748b;
    --bg-gradient: linear-gradient(135deg, #e0e7ff 0%, #f0f4ff 50%, #e0f2fe 100%);
    --glass-bg: rgba(255, 255, 255, 0.65);
    --neu-shadow: 8px 8px 16px rgba(163, 177, 198, 0.3), -8px -8px 16px rgba(255, 255, 255, 0.9);
    --neu-shadow-inset: inset 4px 4px 8px rgba(163, 177, 198, 0.3), inset -4px -4px 8px rgba(255, 255, 255, 0.9);
    --neu-press: inset 2px 2px 5px rgba(163, 177, 198, 0.4), inset -2px -2px 5px rgba(255, 255, 255, 0.9);
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }

body {
    font-family: 'Inter', sans-serif;
    background: var(--bg-gradient);
    color: var(--text);
    margin: 0;
    padding: 0;
    padding-bottom: 100px;
    overflow-x: hidden;
    cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 24 24' fill='%232563eb' stroke='%23ffffff' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 4l16 8-7 1-1 7z'/%3E%3C/svg%3E") 4 4, auto;
}

a, button, .btn-3d-app, .action-card, .nav-item, input, select {
    cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 24 24' fill='%23fbbf24' stroke='%23ffffff' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 4l16 8-7 1-1 7z'/%3E%3C/svg%3E") 4 4, pointer;
}

/* Top Donation Bar */
.top-donation-bar {
    background: linear-gradient(90deg, #1e3a8a 0%, #312e81 100%);
    color: white;
    text-align: center;
    padding: 10px 15px;
    font-size: 0.85rem;
    font-weight: 600;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}
.top-donation-bar i { color: #fbbf24; }
.top-donation-bar a {
    background: #fbbf24;
    color: #0f172a;
    padding: 5px 15px;
    border-radius: 20px;
    text-decoration: none;
    font-weight: 800;
    font-size: 0.8rem;
    transition: all 0.2s ease;
    box-shadow: 0 3px 0 #d99b0b;
}
.top-donation-bar a:hover { transform: translateY(-1px); box-shadow: 0 4px 0 #d99b0b; color: #0f172a; }

/* Public/Admin Navbar */
.premium-navbar {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    padding: 15px 0;
    transition: all 0.3s ease;
    z-index: 1030;
}
.premium-navbar.scrolled { padding: 10px 0; box-shadow: 0 6px 25px rgba(0, 0, 0, 0.08); }
.navbar-brand-custom { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.navbar-brand-icon {
    width: 45px; height: 45px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    color: white; font-size: 1.4rem;
    box-shadow: 0 4px 10px rgba(37, 99, 235, 0.3);
}
.navbar-brand-text { font-family: 'Poppins', sans-serif; font-weight: 800; font-size: 1.2rem; color: var(--navy); line-height: 1; }
.navbar-brand-text small { display: block; font-size: 0.7rem; color: var(--muted); font-weight: 600; letter-spacing: 1px; margin-top: 3px; }
.premium-nav-link {
    color: var(--navy) !important;
    font-weight: 700;
    font-size: 0.9rem;
    margin: 0 8px; /* Margin thoda badhaya gaya hai */
    padding: 12px 24px !important; /* Horizontal padding badhaya gaya hai */
    border-radius: 12px;
    background: rgba(255,255,255,0.5);
    box-shadow: 4px 4px 8px rgba(163, 177, 198, 0.3), -4px -4px 8px rgba(255, 255, 255, 0.8);
    transition: all 0.25s ease;
    display: inline-block;
    text-decoration: none;
    letter-spacing: 1px; /* Text ko thoda wide karne ke liye professional touch */
    line-height: 1.2;
}
.premium-nav-link:hover { color: var(--primary) !important; transform: translateY(-2px); box-shadow: 6px 6px 12px rgba(163, 177, 198, 0.4), -6px -6px 12px rgba(255, 255, 255, 0.9); }
.premium-nav-link:active { transform: translateY(1px); box-shadow: var(--neu-press); }
.premium-nav-link.active { background: linear-gradient(135deg, #3b82f6, #1d4ed8); color: white !important; box-shadow: inset 2px 2px 5px rgba(0,0,0,0.2), inset -2px -2px 5px rgba(255,255,255,0.2); }
.premium-nav-link::after { display: none !important; }
.nav-btn-3d { display: inline-flex; align-items: center; gap: 8px; padding: 12px 22px; border-radius: 14px; font-weight: 700; font-size: 0.9rem; text-decoration: none; transition: all 0.2s ease; border: none; }
.nav-btn-blue { background: linear-gradient(135deg, #3b82f6, #1d4ed8); color: white; box-shadow: 0 5px 0 #123c9e; }
.nav-btn-blue:hover { transform: translateY(-2px); box-shadow: 0 7px 0 #123c9e; color: white; }
.nav-btn-gold { background: linear-gradient(135deg, #fde047, #f59e0b); color: #0f172a; box-shadow: 0 5px 0 #b77908; }
.nav-btn-gold:hover { transform: translateY(-2px); box-shadow: 0 7px 0 #b77908; color: #0f172a; }
.nav-btn-outline { background: transparent; color: var(--navy); border: 2px solid #cbd5e1; box-shadow: 4px 4px 8px rgba(163, 177, 198, 0.3), -4px -4px 8px rgba(255, 255, 255, 0.8); }
.nav-btn-outline:hover { border-color: var(--primary); color: var(--primary); transform: translateY(-2px); }
.premium-toggler { border: none; padding: 5px; }
.premium-toggler:focus { box-shadow: none; }
.toggler-line { width: 30px; height: 3px; background: var(--navy); margin: 6px 0; border-radius: 5px; transition: all 0.3s ease; }
.premium-toggler[aria-expanded="true"] .toggler-line:nth-child(1) { transform: rotate(45deg) translate(6px, 7px); }
.premium-toggler[aria-expanded="true"] .toggler-line:nth-child(2) { opacity: 0; }
.premium-toggler[aria-expanded="true"] .toggler-line:nth-child(3) { transform: rotate(-45deg) translate(6px, -7px); }
.navbar-collapse { transition: height 0.3s ease, opacity 0.3s ease; }
@media (max-width: 991px) {
    .navbar-collapse { margin-top: 20px; padding-bottom: 30px; border-top: 1px solid #e2e8f0; }
    .premium-nav-link { display: block; width: 100%; margin: 12px 0; padding: 18px !important; text-align: center; font-size: 1rem; }
    .nav-actions-mobile { display: flex; flex-direction: column; gap: 15px; margin-top: 25px; padding-top: 20px; border-top: 1px solid #e2e8f0; }
    .nav-actions-mobile .nav-btn-3d { width: 100%; justify-content: center; padding: 15px; font-size: 1rem; }
    .nav-actions-desktop { display: none !important; }
}
@media (min-width: 992px) { .nav-actions-mobile { display: none !important; } }

/* Student App Header */
.app-header { background: var(--glass-bg); backdrop-filter: blur(20px); padding: 20px 20px 15px; display: flex; justify-content: space-between; align-items: center; position: sticky; top: 0; z-index: 1000; box-shadow: 0 4px 20px rgba(0,0,0,0.05); }
.user-info { display: flex; align-items: center; gap: 15px; }
.user-avatar { width: 50px; height: 50px; border-radius: 50%; object-fit: cover; border: 3px solid rgba(255,255,255,0.8); box-shadow: var(--neu-shadow); }
.user-name { font-weight: 800; font-size: 1.1rem; margin: 0; line-height: 1; }
.user-role { font-size: 0.75rem; color: #64748b; font-weight: 600; }
.bell-icon { width: 45px; height: 45px; border-radius: 12px; background: rgba(255,255,255,0.5); display: flex; align-items: center; justify-content: center; color: #3b82f6; font-size: 1.3rem; box-shadow: var(--neu-shadow); cursor: pointer; text-decoration: none; }

/* Floating Bottom Nav */
.bottom-nav { position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%); width: calc(100% - 40px); max-width: 450px; background: rgba(255, 255, 255, 0.75); backdrop-filter: blur(20px); border-radius: 30px; padding: 12px 20px; display: none; justify-content: space-around; align-items: center; box-shadow: 0 15px 35px rgba(0,0,0,0.1), inset 0 1px 0 rgba(255,255,255,0.5); z-index: 1050; }
.nav-item { display: flex; flex-direction: column; align-items: center; justify-content: center; color: #64748b; text-decoration: none; font-size: 0.65rem; font-weight: 700; width: 60px; height: 50px; border-radius: 15px; transition: all 0.3s ease; margin:10px; }
.nav-item i { font-size: 1.4rem; margin-bottom: 4px; }
.nav-item.active { color: #2563eb; background: rgba(37, 99, 235, 0.1); transform: translateY(-5px); box-shadow: 0 5px 15px rgba(37, 99, 235, 0.2); }

/* Global Reusable Classes */
.btn-3d-app { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 22px; border-radius: 14px; font-weight: 800; border: none; transition: transform .2s ease, box-shadow .2s ease; text-decoration: none; }
.btn-3d-app:active { transform: translateY(2px); }
.btn-app-blue { background: linear-gradient(135deg, #3b82f6, #1d4ed8); color: white; box-shadow: 0 5px 0 #123c9e; }
.btn-app-blue:active { box-shadow: 0 2px 0 #123c9e; }
.btn-app-gold { background: linear-gradient(135deg, #fde047, #f59e0b); color: #0f172a; box-shadow: 0 5px 0 #b77908; }
.btn-app-gold:active { box-shadow: 0 2px 0 #b77908; }
.neu-card { background: var(--glass-bg); backdrop-filter: blur(15px); border-radius: 25px; padding: 25px; margin-bottom: 20px; box-shadow: var(--neu-shadow); border: 1px solid rgba(255,255,255,0.4); }
.section-title { font-size: 1.1rem; font-weight: 800; color: #1e293b; margin-bottom: 20px; display: flex; align-items: center; gap: 10px; }
.action-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; margin-bottom: 20px; }
.action-card { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 20px 10px; border-radius: 20px; background: rgba(255,255,255,0.6); text-decoration: none; color: #0f172a; box-shadow: var(--neu-shadow); transition: all 0.2s ease; font-weight: 700; font-size: 0.8rem; min-height: 140px; }
.action-card:active { transform: scale(0.95); box-shadow: var(--neu-press); }
.action-card i { font-size: 2.2rem; margin-bottom: 10px; }
.list-item { display: flex; align-items: center; justify-content: space-between; padding: 15px; background: rgba(255,255,255,0.5); border-radius: 15px; margin-bottom: 10px; box-shadow: 2px 2px 5px rgba(163, 177, 198, 0.2), -2px -2px 5px rgba(255, 255, 255, 0.9); }
.list-item:last-child { margin-bottom: 0; }
@media (min-width: 768px) { .action-grid { grid-template-columns: repeat(4, 1fr); } }