:root {
    --primary: #2C3E50; /* Academic Blue */
    --secondary: #18BC9C; /* Soft Teal/Green */
    --light-bg: #F8F9FA;
    --text-muted: #6c757d;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--light-bg);
    color: #333;
}

.navbar {
    background-color: #ffffff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.hero-section {
    background: linear-gradient(135deg, var(--primary) 0%, #34495e 100%);
    color: white;
    padding: 3rem 0;
    margin-bottom: 2rem;
    border-radius: 0 0 15px 15px;
}

.section-title {
    border-left: 5px solid var(--secondary);
    padding-left: 15px;
    margin-bottom: 20px;
    color: var(--primary);
    font-weight: 600;
}

.resource-card {
    transition: transform 0.2s, box-shadow 0.2s;
    border: none;
    border-radius: 10px;
    overflow: hidden;
    height: 100%;
    background: white;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.resource-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
}

.resource-thumb {
    height: 160px;
    object-fit: cover;
    width: 100%;
    background-color: #eee;
}

.badge-type {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(0,0,0,0.6);
    color: white;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
}