:root {
    --primary-color: #1a237e;
    --secondary-color: #ffc107;
    --light-color: #f8f9fa;
    --dark-color: #212529;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f5f5f5;
    padding-top: 0; /* Remove any padding that might be hiding the navbar */
    margin: 0;
}

.navbar {
    background-color: var(--primary-color);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 1000;
}

.hero-section {
    background: linear-gradient(rgba(26, 35, 126, 0.8), rgba(26, 35, 126, 0.8)), url('https://images.unsplash.com/photo-1523050854058-8df90110c9f1?ixlib=rb-4.0.3&auto=format&fit=crop&w=1600&h=500&q=60');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 100px 0;
    text-align: center;
    margin-bottom: 40px;
}

.card {
    border: none;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    margin-bottom: 20px;
}

.card:hover {
    transform: translateY(-5px);
}

.news-card, .course-card, .track-card {
    height: 100%;
}

.track-card .track-icon {
    color: var(--primary-color);
}

.footer {
    background-color: var(--primary-color);
    color: white;
    padding: 40px 0;
    margin-top: 60px;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: #303f9f;
    border-color: #303f9f;
}

.btn-warning {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    color: var(--dark-color);
}

.accent-border {
    border-left: 4px solid var(--secondary-color);
}

.admin-login {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
}

.stat-card {
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
}

.content-section {
    line-height: 1.8;
}

.content-section h3 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.content-section ul {
    padding-left: 1.5rem;
}

.content-section li {
    margin-bottom: 0.5rem;
}

/* Ensure navbar doesn't get hidden by other elements */
.navbar {
    position: relative;
    z-index: 1030;
}

/* Fix for any potential z-index issues */
.container {
    position: relative;
    z-index: 1;
}

/* Error message styling */
.alert {
    border-radius: 10px;
    border: none;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Form styling */
.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(26, 35, 126, 0.25);
}

/* Table styling */
.table th {
    background-color: var(--primary-color);
    color: white;
    border: none;
}

/* Responsive fixes */
@media (max-width: 768px) {
    .hero-section {
        padding: 60px 0;
    }
    
    .admin-login {
        bottom: 10px;
        right: 10px;
    }
    
    .admin-login .btn {
        padding: 8px 16px;
        font-size: 14px;
    }
}