body {
    font-family: 'Roboto', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f0f4f8;
    color: #333;
}
h1, h2 {
    color: #ffffff;
}
.header {
    background-color: #1a4f8b;
    color: white;
    padding: 1rem;
    text-align: center;
}
.headerH1 {
    color: #1a4f8b;
}
.headerH2 {
    color: #1a4f8b;
}
.nav {
    background-color: #2c7ad6;
    padding: 0.5rem;
    position: sticky;
    top: 0;
    z-index: 1000;
    display: inline-block;
    margin-top: 10px;
    margin-bottom: 10px;
}
.nav a {
    color: white;
    text-decoration: none;
    padding: 0.5rem 1rem;
    display: inline-block;
    margin-top: 10px;
    margin-bottom: 10px;
}
.nav a:hover, .nav a.active {
    background-color: #1a4f8b;
}
.main {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 2rem;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
.section {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 2rem;
    margin-bottom: 2rem;
}
.section h2 {
    border-bottom: 2px solid #2c7ad6;
    padding-bottom: 10px;
}
.highlight-box {
    background-color: #e6f3ff;
    border-left: 5px solid #2c7ad6;
    padding: 15px;
    margin: 20px 0;
}
.dashboard {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
}
.dashboard-item {
    background-color: #f9f9f9;
    padding: 1rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
.dashboard-item h3 {
    margin-top: 0;
    color: #1a4f8b;
}

.card {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}
.footer {
    background-color: #1a4f8b;
    color: white;
    text-align: center;
    padding: 1rem;
    margin-top: 2rem;
}
.btn {
    background-color: #2c7ad6;
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.9rem;
    text-decoration: none;
    display: inline-block;
    margin-top: 0.5rem;
}
.btn:hover {
    background-color: #1a4f8b;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.card {
    background-color: #f9f9f9;
    border-radius: 8px;
    padding: 1.5rem;
    text-align: center;
    transition: transform 0.3s ease;
}
.card:hover {
    transform: translateY(-5px);
}
.icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #2c7ad6;
}
.progress-bar {
    background-color: #e0e0e0;
    border-radius: 4px;
    height: 20px;
    margin-top: 1rem;
    overflow: hidden;
}
.progress {
    background-color: #2c7ad6;
    height: 100%;
    width: 0;
    transition: width 1s ease-in-out;
}
.hero {
    background-image: url('https://source.unsplash.com/random/1200x400/?books');
    background-size: cover;
    background-position: center;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
    position: relative;
}
.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}
.hero-content {
    position: relative;
    z-index: 2;
}
.features {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}
.feature {
    flex-basis: calc(33.333% - 1rem);
    margin-bottom: 1rem;
}
.feature-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.search-bar {
    display: flex;
    margin-bottom: 1rem;
}
.search-bar input {
    flex-grow: 1;
    padding: 0.5rem;
    border: 1px solid #ccc;
    border-radius: 4px 0 0 4px;
}
.search-bar button {
    border-radius: 0 4px 4px 0;
}
.profile-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1rem;
}
.profile-card {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    padding: 1rem;
    text-align: center;
}
.profile-image {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin: 0 auto 1rem;
    background-size: cover;
    background-position: center;
}
.filters {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}
.filter-btn {
    background-color: #e0e0e0;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    cursor: pointer;
}
.filter-btn.active {
    background-color: #2c7ad6;
    color: white;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
    background-color: white;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.resource-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}
.resource-card {
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease;
}
.resource-card:hover {
    transform: translateY(-5px);
}
.resource-icon {
    font-size: 3rem;
    padding: 1rem;
    text-align: center;
    background-color: #e6f0ff;
}
.resource-details {
    padding: 1rem;
}
.resource-title {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}
.resource-description {
    font-size: 0.9rem;
    color: #666;
}
.contact-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 2rem;
}
.contact-method {
    flex: 1;
    margin: 0 1rem;
    padding: 1rem;
    background-color: #e6f3ff;
    border-radius: 5px;
}
.contact-form {
    background-color: #f0f8ff;
    padding: 2rem;
    border-radius: 5px;
}
.form-group {
    margin-bottom: 1rem;
}
label {
    display: block;
    margin-bottom: 0.5rem;
}
input[type="text"], input[type="email"], input[type="password"], select {
    width: 100%;
    padding: 0.5rem;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 1rem;
}
textarea {
    height: 150px;
}
button {
    background-color: #2c7ad6;
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    cursor: pointer;
    font-size: 1rem;
}
button:hover {
    background-color: #1a4f8b;
}
.error {
    color: #d32f2f;
    font-size: 0.9rem;
    margin-top: 0.25rem;
}
.footer {
    background-color: #1a4f8b;
    color: white;
    text-align: center;
    padding: 1rem;
    margin-top: 2rem;
}
.footer a {
    color: #a9d0f5;
}
.highlight {
    background-color: #e6f3ff;
    border-left: 4px solid #2c7ad6;
    padding: 1rem;
    margin: 1rem 0;
}
.profile-summary {
    display: flex;
    align-items: center;
    margin-bottom: 2rem;
}
.profile-pic {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin-right: 1rem;
}
.profile-info h2 {
    margin: 0;
}
.profile-info p {
    margin: 0.5rem 0;
}
.event-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}
.event-card {
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease;
}
.event-card:hover {
    transform: translateY(-5px);
}
.event-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}
.event-details {
    padding: 1rem;
}
.event-title {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}
.event-date, .event-location {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 0.5rem;
}
#calendar {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 0.5rem;
    margin-top: 1rem;
}
.calendar-day {
    background-color: #f0f4f8;
    border-radius: 4px;
    padding: 0.5rem;
    text-align: center;
    font-size: 0.9rem;
}
.calendar-day.has-event {
    background-color: #2c7ad6;
    color: white;
    cursor: pointer;
}
#eventModal {
    display: none;
    position: fixed;
    z-index: 1001;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.4);
}
.search-bar {
    display: flex;
    margin-bottom: 1rem;
}
.search-bar input {
    flex-grow: 1;
    padding: 0.5rem;
    border: 1px solid #ccc;
    border-radius: 4px 0 0 4px;
}
.search-bar button {
    background-color: #2c7ad6;
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
}
#resourceModal {
    display: none;
    position: fixed;
    z-index: 1001;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.4);
}
.modal-content {
    background-color: #fefefe;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    max-width: 600px;
    border-radius: 8px;
}
.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}
.close:hover,
.close:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
}

header {
    background: #1a4f8b;
    color: #ffffff;
    padding-top: 30px;
    min-height: 70px;
    border-bottom: #2c7ad6 3px solid;
}
header a {
    color: #ffffff;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 16px;
}
header ul {
    padding: 0;
    margin: 0;
    list-style: none;
    overflow: hidden;
}
header li {
    float: left;
    display: inline;
    padding: 0 20px 0 20px;
}
header #branding {
    float: left;
}
header #branding h1 {
    margin: 0;
}
header nav {
    float: right;
    margin-top: 10px;
}
header .highlight, header .current a {
    color: #2c7ad6;
    font-weight: bold;
}
header a:hover {
    color: #ffffff;
    font-weight: bold;
}
#main {
    background: #ffffff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    margin-top: 20px;
    padding: 20px;
    border-radius: 5px;
}

@media (max-width: 768px) {
    .feature {
        flex-basis: 100%;
    }
}
.cta {
    text-align: center;
    margin-top: 2rem;
}
.cta .btn {
    font-size: 1.2rem;
    padding: 0.75rem 1.5rem;
}
