:root {
    --primary-color: #ff6b00;
    --secondary-color: #ff8c33;
    --accent-color: #f43f5e;
    --background-color: #0f172a;
    --surface-color: rgba(30, 41, 59, 0.7);
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --glass-border: rgba(255, 255, 255, 0.1);
}

body {
    margin: 0;
    font-family: 'Inter', sans-serif;
    background-color: var(--background-color);
    color: var(--text-primary);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background-image: 
        radial-gradient(at 40% 20%, hsla(253,16%,7%,1) 0px, transparent 50%),
        radial-gradient(at 80% 0%, hsla(189,100%,56%,0.1) 0px, transparent 50%),
        radial-gradient(at 0% 50%, hsla(355,100%,93%,0.1) 0px, transparent 50%);
    background-attachment: fixed;
}

/* Scholarship Custom Styles */
.hero-section {
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('https://images.unsplash.com/photo-1522202176988-66273c2fd55f?q=80&w=2071&auto=format&fit=crop') no-repeat center center;
    background-size: cover;
    color: white;
    padding: 100px 0;
    text-align: center;
}
.hero-section h1 {
    font-weight: 700;
    font-size: 3rem;
    margin-bottom: 20px;
}
.hero-section p {
    font-size: 1.25rem;
    margin-bottom: 30px;
}

.section-dark {
    background-color: #0b1a30;
    color: white;
    padding: 60px 0;
}
.section-white {
    background-color: #ffffff;
    color: #333;
    padding: 60px 0;
}

.scholarship-card {
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    overflow: hidden;
    color: #333;
    transition: transform 0.3s;
    border: 1px solid #eee;
}
.scholarship-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0,0,0,0.15);
}
.scholarship-img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}
.scholarship-card-body {
    padding: 20px;
}
.btn-apply-orange {
    background-color: #ff6b00;
    color: white;
    border: none;
    border-radius: 4px;
    padding: 8px 20px;
    font-weight: 500;
    transition: background-color 0.3s;
}
.btn-apply-orange:hover {
    background-color: #e65c00;
    color: white;
}
.glass-container {
    background: var(--surface-color);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

/* Navbar */
.navbar {
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--glass-border);
}
.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
    letter-spacing: -0.5px;
}
.nav-link {
    color: var(--text-secondary) !important;
    transition: all 0.3s ease;
}
.nav-link:hover {
    color: var(--text-primary) !important;
    transform: translateY(-2px);
}

/* Buttons */
.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border: none;
    border-radius: 8px;
    color: white;
    padding: 10px 24px;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(79, 70, 229, 0.3);
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(79, 70, 229, 0.5);
}

/* Form Elements */
.form-control, .form-select {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    color: var(--text-primary);
    border-radius: 8px;
    padding: 12px;
}
.form-control:focus, .form-select:focus {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.25rem rgba(79, 70, 229, 0.25);
    color: var(--text-primary);
}
.form-label {
    color: var(--text-secondary);
    font-weight: 500;
    margin-bottom: 0.5rem;
}

/* Cards */
.course-card {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: var(--surface-color);
    border: 1px solid var(--glass-border);
}
.course-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    border-color: var(--primary-color);
}
.course-image {
    height: 200px;
    object-fit: cover;
    border-top-left-radius: calc(16px - 1px);
    border-top-right-radius: calc(16px - 1px);
}

/* Tables */
.table {
    color: var(--text-primary);
}
.table thead th {
    border-bottom: 2px solid var(--glass-border);
    color: var(--text-secondary);
    font-weight: 500;
}
.table tbody td {
    border-bottom: 1px solid var(--glass-border);
    vertical-align: middle;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.animate-up {
    animation: fadeInUp 0.6s ease forwards;
}

/* Auth Pages */
.auth-wrapper {
    min-height: calc(100vh - 76px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 0;
}
.auth-card {
    width: 100%;
    max-width: 800px;
    padding: 2.5rem;
}

/* Profile / Dashboard layout */
.sidebar {
    background: var(--surface-color);
    border-right: 1px solid var(--glass-border);
    min-height: calc(100vh - 76px);
    padding: 2rem 1rem;
}
.sidebar .nav-link {
    padding: 12px 20px;
    border-radius: 8px;
    margin-bottom: 8px;
}
.sidebar .nav-link.active {
    background: rgba(255, 107, 0, 0.1);
    color: var(--primary-color) !important;
    border-left: 4px solid var(--primary-color);
}
