/* General Body Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: linear-gradient(135deg, #E3F2FD 0%, #BBDEFB 100%);
    font-family: 'Poppins', sans-serif;
    min-height: 100vh;
    overflow-x: hidden;
}

/* Navbar Styles */
.navbar {
    background: linear-gradient(135deg, #4CAF50 0%, #2E7D32 100%);
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: white;
    text-decoration: none;
}

.logo i {
    font-size: 1.8rem;
    animation: spin 10s linear infinite;
}

.logo h1 {
    font-size: 1.6rem;
    font-weight: 600;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.nav-links a:hover {
    color: #E8F5E9;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background: #E8F5E9;
    bottom: -5px;
    left: 0;
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.main-container {
    display: flex;
    min-height: calc(100vh - 69px); /* Adjusted to account for navbar height */
}

/* Sidebar Styles (Assuming you might use it on other pages) */
.sidebar {
    background-color: rgba(255, 255, 255, 0.8);
    width: 300px;
    padding: 2rem 1rem;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* Content Area Styles */
.content-area {
    flex: 1;
    padding: 2rem;
    background-color: transparent; /* Ensure background doesn't override body gradient */
}

/* --- Resources Page Styles --- */
.resources-section {
    max-width: 800px;
    margin: 0 auto;
    background-color: rgba(255, 255, 255, 0.8);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.resources-section h2 {
    font-size: 2rem;
    color: #388E3C;
    margin-bottom: 1.5rem;
    text-align: center;
}

.resources-section h3 {
    font-size: 1.5rem;
    color: #388E3C;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.resources-section p {
    font-size: 1.1rem;
    color: #555;
    line-height: 1.7;
    margin-bottom: 1rem;
    text-align: justify;
}

.resources-section ul {
    list-style: disc;
    padding-left: 2rem;
    margin-bottom: 1rem;
}

.resources-section li {
    font-size: 1.1rem;
    color: #555;
    line-height: 1.7;
}

.resource-category {
    margin-bottom: 2rem;
}

.resource-category h3 {
    font-size: 1.3rem;
    color: #388E3C;
    margin-bottom: 1rem;
}

.resource-category ul {
    list-style: none;
    padding-left: 0;
}

.resource-category li {
    margin-bottom: 0.5rem;
}

.resource-category a {
    color: #0078d7;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.resource-category a:hover {
    color: #0056b3;
}

.resource-category a i {
    font-size: 0.8rem;
    margin-left: 0.5rem;
}

