* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    min-height: 100vh;
    color: #333;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    background: rgba(41, 141, 228, 0.506);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.university-logo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid #290374;
    overflow: hidden;
}

.logo-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 5px;
}

.course-info {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.course-code {
    font-size: 2rem;
    font-weight: 700;
    color: #2c3e50;
    letter-spacing: -0.5px;
    line-height: 1;
    transition: all 0.3s ease; /* Add transition */
}

.course-name {
    font-size: 0.9rem;
    font-weight: 500;
    color: #2c3e50;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1.2;
    transition: all 0.3s ease; /* Add transition */
}

.nav-menu {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-menu a {
    text-decoration: none;
    color: #555;
    font-weight: 500;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: #3498db;
}
.nav-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-nav {
    background: rgba(255, 255, 255, 0.991);
    color: #2c3e50;
    border: 1px solid rgba(52, 152, 219, 0.3);
    padding: 0.6rem 1.2rem;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
}

.btn-nav:hover {
    background: #3498db;
    color: white;
    border-color: #3498db;
}

.btn-nav.active {
    background: #2980b9;
    color: white;
    border-color: #2980b9;
}

/* Hero Section */
.hero-section {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    margin: 2rem 0;
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #ff6b6b, #4ecdc4, #45b7d1, #96ceb4);
}

.hero-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    align-items: start;
}

.course-info h1 {
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 1.5rem;
    font-weight: 700;
    line-height: 1.2;
}

.course-description {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #555;
    margin-bottom: 2rem;
}

.action-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn {
    padding: 0.8rem 2rem;
    border: none;
    border-radius: 25px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    font-size: 0.95rem;
}

.btn-primary {
    background: #34495e;
    color: white;
}

.btn-secondary {
    background: #3498db;
    color: white;
}

.btn-tertiary {
    background: #2ecc71;
    color: white;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Instructors Section */
.instructors-section {
    background: rgba(255, 255, 255, 0.8);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
}

.instructors-section h2 {
    color: #2c3e50;
    margin-bottom: 1.5rem;
    font-size: 1.4rem;
}

.instructors-grid {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin-bottom: 2rem;
}

.instructor-card {
    text-align: center;
}

.instructor-avatar {
    width: 170px;
    height: 170px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    margin: 0 auto 0.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 1.2rem;
    border: 3px solid white;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.instructor-image,
.staff-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.instructor-avatar,
.staff-avatar {
    overflow: hidden;
}

.instructor-name {
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 0.3rem;
}

.instructor-title {
    color: #7f8c8d;
    font-size: 0.9rem;
}
.instructor-contact,
.staff-contact {
    display: flex;
    justify-content: center;
    gap: 0.8rem;
    margin-top: 0.8rem;
}

.contact-link {
    width: 32px;
    height: 32px;
    background: rgba(52, 152, 219, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #3498db;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.contact-link:hover {
    background: #3498db;
    color: white;
    transform: translateY(-2px);
}

.office-hours {
    margin-top: 1rem;
    padding: 0.8rem;
    background: rgba(46, 204, 113, 0.1);
    border-radius: 8px;
    border-left: 3px solid #2ecc71;
}

.office-hours-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: #27ae60;
    margin-bottom: 0.4rem;
}

.office-hours-time {
    font-size: 0.8rem;
    color: #555;
    margin-bottom: 0.2rem;
}

.office-hours-time:last-child {
    margin-bottom: 0;
}

.instructor-image,
.staff-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.instructor-avatar,
.staff-avatar {
    overflow: hidden;
}

.logistics-section {
    margin-top: 2rem;
    text-align: left;
}

.logistics-section h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.logistics-info {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.logistics-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: #555;
}

.logistics-item strong {
    color: #2c3e50;
    min-width: 80px;
}

/* Course Staff Section */
.staff-section {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    margin: 2rem 0;
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.staff-content {
    display: grid;
    grid-template-columns: 1fr 200px;
    gap: 3rem;
    align-items: start;
}

.staff-section h2 {
    font-size: 2rem;
    color: #2c3e50;
    margin-bottom: 2rem;
    font-weight: 700;
}

.staff-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
}

.staff-card {
    text-align: center;
}

.staff-avatar {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ff9a9e 0%, #fecfef 50%, #fecfef 100%);
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 1.5rem;
    border: 4px solid white;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.staff-name {
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.staff-title {
    color: #7f8c8d;
    font-size: 0.9rem;
}

/* Sidebar */
.sidebar {
    background: rgba(255, 255, 255, 0.7);
    border-radius: 15px;
    padding: 1.5rem;
}

.sidebar h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.sidebar-menu {
    list-style: none;
}

.sidebar-menu li {
    margin-bottom: 0.8rem;
}

.sidebar-menu a {
    color: #555;
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.sidebar-menu a:hover {
    color: #3498db;
}

/* General Information Section */
.info-section {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    margin: 2rem 0;
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.info-section h2 {
    font-size: 2rem;
    color: #2c3e50;
    margin-bottom: 2rem;
    font-weight: 700;
}

.info-content {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #555;
}
.objective-list,
.prerequisite-list {
    list-style-type: disc;
    margin-left: 2rem;
    margin-top: 1rem;
}

.objective-list li,
.prerequisite-list li {
    margin-bottom: 0.8rem;
    line-height: 1.6;
    color: #555;
}

.note-text {
    font-style: italic;
    background: rgba(241, 196, 15, 0.1);
    padding: 1.5rem;
    border-left: 4px solid #f1c40f;
    border-radius: 8px;
}

.note-text strong {
    color: #e67e22;
    font-weight: 700;
}
/* Page Header (for schedule page) */
.page-header {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    margin: 2rem 0;
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #ff6b6b, #4ecdc4, #45b7d1, #96ceb4);
}

.page-header h1 {
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 1rem;
    font-weight: 700;
}

.page-subtitle {
    font-size: 1.2rem;
    color: #7f8c8d;
    font-weight: 400;
}

/* Schedule Section - Table Format */
.schedule-table-container {
    overflow-x: auto;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.schedule-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 15px;
    overflow: hidden;
}

.schedule-table thead {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: white;
}

.schedule-table th {
    padding: 1.5rem 1rem;
    text-align: left;
    font-weight: 600;
    font-size: 1.1rem;
    letter-spacing: 0.5px;
}

.schedule-table th:first-child {
    width: 15%;
}

.schedule-table th:nth-child(2) {
    width: 40%;
}

.schedule-table th:nth-child(3) {
    width: 25%;
}

.schedule-table th:nth-child(4) {
    width: 20%;
}

.week-header-row {
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
}

.week-header-cell {
    padding: 1rem;
    text-align: center;
}

.week-header-cell h3 {
    color: white;
    font-size: 1.3rem;
    font-weight: 700;
    margin: 0;
}

.class-row {
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s ease;
}

.class-row:hover {
    background-color: rgba(52, 152, 219, 0.05);
}

.class-row:nth-child(even) {
    background-color: rgba(0, 0, 0, 0.02);
}

.midterm-row {
    background: linear-gradient(135deg, rgba(231, 76, 60, 0.1) 0%, rgba(255, 255, 255, 0.8) 100%);
}

.midterm-row:hover {
    background: linear-gradient(135deg, rgba(231, 76, 60, 0.15) 0%, rgba(255, 255, 255, 0.9) 100%);
}

.schedule-table td {
    padding: 1.5rem 1rem;
    vertical-align: top;
    border-right: 1px solid rgba(0, 0, 0, 0.05);
}

.schedule-table td:last-child {
    border-right: none;
}

.date-cell {
    text-align: center;
    background: rgba(52, 152, 219, 0.05);
}

.date-info {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.date {
    font-size: 1.1rem;
    font-weight: 700;
    color: #2c3e50;
}

.day {
    font-size: 0.9rem;
    color: #7f8c8d;
    font-weight: 500;
}

.topic-cell h4 {
    color: #2c3e50;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
    line-height: 1.3;
}

.topic-cell p {
    color: #555;
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 1rem;
}

.topic-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-bottom: 1rem;
}

.topic-tags .tag {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 0.3rem 0.7rem;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 500;
}

.resources-cell {
    background: rgba(46, 204, 113, 0.05);
}

.resource-links {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.resource-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #27ae60;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.3s ease;
    padding: 0.4rem 0.6rem;
    border-radius: 8px;
    background: rgba(46, 204, 113, 0.1);
}

.resource-link:hover {
    color: #219a52;
    background: rgba(46, 204, 113, 0.2);
}

.resource-link i {
    font-size: 0.9rem;
    min-width: 16px;
}

.reading-cell {
    background: rgba(155, 89, 182, 0.05);
}

.reading-links {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.reading-link {
    color: #8e44ad;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.3s ease;
    padding: 0.3rem 0.5rem;
    border-radius: 6px;
    background: rgba(155, 89, 182, 0.1);
    border-left: 3px solid #8e44ad;
}

.reading-link:hover {
    color: #732d91;
    background: rgba(155, 89, 182, 0.2);
}

/* Schedule Section */
.schedule-section {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    margin: 2rem 0;
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.schedule-grid {
    display: grid;
    gap: 2rem;
}

.week-card {
    background: rgba(255, 255, 255, 0.8);
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-left: 4px solid #3498db;
}

.week-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.week-card.final-week {
    border-left-color: #e74c3c;
    background: linear-gradient(135deg, rgba(231, 76, 60, 0.1) 0%, rgba(255, 255, 255, 0.8) 100%);
}

.week-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid rgba(52, 152, 219, 0.2);
}

.week-header h3 {
    color: #2c3e50;
    font-size: 1.4rem;
    font-weight: 700;
}

.week-date {
    color: #7f8c8d;
    font-weight: 600;
    font-size: 0.9rem;
    background: rgba(52, 152, 219, 0.1);
    padding: 0.3rem 0.8rem;
    border-radius: 12px;
}

.week-content h4 {
    color: #2c3e50;
    font-size: 1.2rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.topics {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.topic-tag {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

.assignment-badge,
.midterm-badge,
.project-badge,
.final-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.assignment-badge {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: white;
}

.assignment-badge.due {
    background: linear-gradient(135deg, #ff9a56 0%, #ff6b6b 100%);
}

.midterm-badge {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    color: white;
}

.midterm-badge.large {
    padding: 0.8rem 1.2rem;
    font-size: 0.9rem;
    font-weight: 700;
}

.project-badge {
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
    color: white;
}

.final-badge {
    background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
    color: white;
}

.week-materials {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.material-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #3498db;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

.material-link:hover {
    color: #2980b9;
}

.material-link i {
    font-size: 1rem;
}
.announcements-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.announcement-card {
    background: rgba(255, 255, 255, 0.8);
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border-left: 4px solid #3498db;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.announcement-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.announcement-card.important {
    border-left-color: #e74c3c;
    background: linear-gradient(135deg, rgba(231, 76, 60, 0.1) 0%, rgba(255, 255, 255, 0.8) 100%);
}

.announcement-card.pinned {
    border: 2px solid #f39c12;
    background: linear-gradient(135deg, rgba(243, 156, 18, 0.1) 0%, rgba(255, 255, 255, 0.9) 100%);
}

.announcement-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.announcement-date {
    font-size: 0.9rem;
    color: #7f8c8d;
    font-weight: 500;
}

.pin-badge {
    background: #f39c12;
    color: white;
    padding: 0.3rem 0.6rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.announcement-title {
    color: #2c3e50;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
    line-height: 1.3;
}

.announcement-content {
    color: #555;
    line-height: 1.6;
    font-size: 1rem;
}

.no-announcements {
    text-align: center;
    color: #7f8c8d;
    font-style: italic;
    padding: 2rem;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: white;
    margin-top: 4rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    padding: 3rem 0;
}

.footer-section h3 {
    color: #ecf0f1;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.footer-section p {
    color: #bdc3c7;
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: #bdc3c7;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #3498db;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: #bdc3c7;
}

.contact-item i {
    color: #3498db;
    width: 16px;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #bdc3c7;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: #3498db;
    color: white;
    transform: translateY(-2px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.5rem 0;
}

.footer-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
    margin-bottom: 1.5rem;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #95a5a6;
    font-size: 0.9rem;
}

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

.footer-bottom-links a {
    color: #95a5a6;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-bottom-links a:hover {
    color: #3498db;
}

* Resources Page Styles */
.books-section {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    margin: 2rem 0;
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.books-section h2 {
    font-size: 2rem;
    color: #2c3e50;
    margin-bottom: 1rem;
    font-weight: 700;
    text-align: center;
}

.section-description {
    text-align: center;
    color: #7f8c8d;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.books-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.book-card {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.book-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.book-cover {
    position: relative;
    height: 300px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.book-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.book-card:hover .book-image {
    transform: scale(1.05);
}

/* Fallback for missing images */
.book-cover::before {
    content: '📚';
    position: absolute;
    font-size: 4rem;
    color: white;
    z-index: 1;
}

.book-image {
    position: relative;
    z-index: 2;
}

.book-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.book-card:hover .book-overlay {
    opacity: 1;
}

.book-actions {
    display: flex;
    gap: 1rem;
    flex-direction: column;
}

.book-btn {
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.book-btn.primary {
    background: #3498db;
    color: white;
}

.book-btn.secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.book-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.book-info {
    padding: 2rem;
}

.book-title {
    font-size: 1.4rem;
    color: #2c3e50;
    font-weight: 700;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.book-authors {
    color: #7f8c8d;
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 1rem;
}

.book-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.book-year,
.book-publisher {
    font-size: 0.9rem;
    color: #95a5a6;
    background: rgba(52, 152, 219, 0.1);
    padding: 0.3rem 0.8rem;
    border-radius: 12px;
}

.book-description {
    color: #555;
    line-height: 1.6;
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.book-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.tag {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
}

.book-rating {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.stars {
    color: #f39c12;
    font-size: 1rem;
}

.rating-text {
    color: #7f8c8d;
    font-size: 0.9rem;
    font-weight: 600;
}

/* Additional Resources Section */
.additional-resources {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    margin: 2rem 0;
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.resources-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
}

.resource-category {
    background: rgba(255, 255, 255, 0.8);
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    border-left: 4px solid #3498db;
}

.resource-category h3 {
    color: #2c3e50;
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.resource-category h3 i {
    color: #3498db;
    font-size: 1.2rem;
}

.resource-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.resource-item {
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    padding-bottom: 1.5rem;
}

.resource-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.resource-item h4 {
    color: #2c3e50;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.resource-authors {
    color: #7f8c8d;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 0.8rem;
}

.resource-description {
    color: #555;
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 1rem;
}

.resource-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #3498db;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    transition: color 0.3s ease;
}

.resource-link:hover {
    color: #2980b9;
}

.resource-link i {
    font-size: 0.8rem;
}

/* Grading Policy Styles */
.grading-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.grading-intro {
    font-size: 1.1rem;
    color: #2c3e50;
    font-weight: 500;
    text-align: center;
    margin-bottom: 1rem;
}

.grading-breakdown {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.grade-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border-left: 4px solid #3498db;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.grade-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.grade-component {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.grade-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
}

.grade-icon.assignments {
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
}

.grade-icon.project {
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
}

.grade-icon.vlog {
    background: linear-gradient(135deg, #9b59b6 0%, #8e44ad 100%);
}

.grade-icon.midterm {
    background: linear-gradient(135deg, #f39c12 0%, #e67e22 100%);
}

.grade-icon.final {
    background: linear-gradient(135deg, #27ae60 0%, #229954 100%);
}

.grade-details h4 {
    color: #2c3e50;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.3rem;
}

.grade-details p {
    color: #7f8c8d;
    font-size: 0.95rem;
    margin: 0;
}

.grade-percentage {
    font-size: 2rem;
    font-weight: 700;
    color: #2c3e50;
    background: linear-gradient(135deg, #ecf0f1 0%, #bdc3c7 100%);
    padding: 0.5rem 1rem;
    border-radius: 12px;
    min-width: 80px;
    text-align: center;
}

.grading-notes {
    background: rgba(52, 152, 219, 0.1);
    border-radius: 12px;
    padding: 1.5rem;
    border-left: 4px solid #3498db;
}

.grading-notes h4 {
    color: #2c3e50;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.grading-notes-list {
    list-style-type: disc;
    margin-left: 1.5rem;
    color: #555;
}

.grading-notes-list li {
    margin-bottom: 0.5rem;
    line-height: 1.5;
}

.grading-scale {
    background: rgba(46, 204, 113, 0.1);
    border-radius: 12px;
    padding: 1.5rem;
    border-left: 4px solid #27ae60;
}

.grading-scale h4 {
    color: #2c3e50;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.scale-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 1rem;
}

.scale-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 8px;
    padding: 1rem;
    text-align: center;
}

.scale-item .grade {
    font-size: 1.5rem;
    font-weight: 700;
    color: #27ae60;
    margin-bottom: 0.3rem;
}

.scale-item .range {
    font-size: 0.9rem;
    color: #7f8c8d;
    font-weight: 500;
}

/* Assignments Page Styles - Add to your existing style.css */

/* Quick Navigation */
.quick-nav-section {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    margin: 0 0 2rem 0;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.quick-nav {
    display: flex;
    justify-content: center;
    gap: 2rem;
}

.quick-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: rgba(52, 152, 219, 0.1);
    border-radius: 15px;
    text-decoration: none;
    color: #2c3e50;
    transition: all 0.3s ease;
    min-width: 120px;
}

.quick-nav-item:hover {
    background: #3498db;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.3);
}

.quick-nav-item i {
    font-size: 1.5rem;
}

/* Assignments Section */
.assignments-section,
.vlog-section,
.project-section {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    margin: 2rem 0;
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.assignments-section h2,
.vlog-section h2,
.project-section h2 {
    font-size: 2rem;
    color: #2c3e50;
    margin-bottom: 1rem;
    font-weight: 700;
    text-align: center;
}

.section-description {
    text-align: center;
    color: #7f8c8d;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.assignments-grid {
    display: grid;
    gap: 2rem;
}

.assignment-card {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    border-left: 4px solid #3498db;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.assignment-card.upcoming {
    border-left-color: #f39c12;
    background: linear-gradient(135deg, rgba(243, 156, 18, 0.1) 0%, rgba(255, 255, 255, 0.9) 100%);
}

.assignment-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.assignment-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.assignment-number {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    font-weight: 700;
}

.assignment-status {
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.assignment-status.released {
    background: linear-gradient(135deg, #27ae60 0%, #229954 100%);
    color: white;
}

.assignment-status.upcoming {
    background: linear-gradient(135deg, #f39c12 0%, #e67e22 100%);
    color: white;
}

.assignment-content h3 {
    color: #2c3e50;
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.assignment-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #7f8c8d;
    font-size: 0.9rem;
}

.meta-item i {
    color: #3498db;
}

.assignment-description {
    color: #555;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.assignment-topics {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.assignment-topics .topic-tag {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
}

.assignment-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-disabled {
    background: #bdc3c7;
    color: #7f8c8d;
    cursor: not-allowed;
}

.btn-disabled:hover {
    transform: none;
    box-shadow: none;
}

/* Vlog Section */
.vlog-content {
    max-width: 800px;
    margin: 0 auto;
}

.vlog-card {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    border-left: 4px solid #9b59b6;
}

.vlog-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.vlog-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #9b59b6 0%, #8e44ad 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
}

.vlog-title h3 {
    color: #2c3e50;
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.vlog-meta {
    display: flex;
    gap: 2rem;
}

.vlog-weight,
.vlog-duration {
    background: rgba(155, 89, 182, 0.1);
    color: #8e44ad;
    padding: 0.3rem 0.8rem;
    border-radius: 12px;
    font-size: 0.85rem;
    font-weight: 600;
}

.vlog-requirements,
.vlog-timeline {
    margin-bottom: 2rem;
}

.vlog-requirements h4,
.vlog-timeline h4 {
    color: #2c3e50;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.requirements-list {
    list-style: none;
    margin-left: 1rem;
}

.requirements-list li {
    position: relative;
    color: #555;
    line-height: 1.6;
    margin-bottom: 0.8rem;
    padding-left: 1.5rem;
}

.requirements-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #27ae60;
    font-weight: bold;
}

.timeline-items {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.timeline-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.8rem;
    background: rgba(52, 152, 219, 0.05);
    border-radius: 8px;
    border-left: 3px solid #3498db;
}

.timeline-item.completed {
    background: rgba(39, 174, 96, 0.05);
    border-left-color: #27ae60;
}

.timeline-date {
    font-weight: 600;
    color: #2c3e50;
    min-width: 80px;
}

.timeline-desc {
    color: #555;
}

.vlog-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Project Section */
.project-content {
    max-width: 900px;
    margin: 0 auto;
}

.project-card {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    border-left: 4px solid #e74c3c;
}

.project-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.project-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
}

.project-title h3 {
    color: #2c3e50;
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.project-meta {
    display: flex;
    gap: 2rem;
}

.project-weight,
.project-team {
    background: rgba(231, 76, 60, 0.1);
    color: #e74c3c;
    padding: 0.3rem 0.8rem;
    border-radius: 12px;
    font-size: 0.85rem;
    font-weight: 600;
}

.project-options,
.project-deliverables,
.project-timeline {
    margin-bottom: 2rem;
}

.project-options h4,
.project-deliverables h4,
.project-timeline h4 {
    color: #2c3e50;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.options-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.option-card {
    background: rgba(52, 152, 219, 0.05);
    border: 1px solid rgba(52, 152, 219, 0.2);
    border-radius: 10px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
}

.option-card:hover {
    background: rgba(52, 152, 219, 0.1);
    transform: translateY(-2px);
}

.option-card h5 {
    color: #2c3e50;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
}

.option-card p {
    color: #7f8c8d;
    font-size: 0.9rem;
    line-height: 1.4;
}

.deliverables-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
}

.deliverable-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(46, 204, 113, 0.05);
    border-radius: 8px;
    border-left: 3px solid #27ae60;
}

.deliverable-item i {
    color: #27ae60;
    font-size: 1.2rem;
    min-width: 20px;
}

.deliverable-item span {
    color: #2c3e50;
    font-weight: 500;
}

.project-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}
.course-link {
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    display: block;
}

.course-link:hover .course-code {
    color: #3498db;
    transform: translateY(-1px);
}

.course-link:hover .course-name {
    color: #2c3e50;
}

.course-link:active {
    transform: translateY(0);
}



/* Responsive Design */
@media (max-width: 768px) {

    .course-code {
        font-size: 1.6rem;
    }
    
    .course-name {
        font-size: 0.8rem;
    }
    .grade-item {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
        padding: 1rem;
    }
    
    .grade-component {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
    
    .grade-percentage {
        font-size: 1.5rem;
        min-width: 60px;
    }
    
    .scale-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .grading-notes,
    .grading-scale {
        padding: 1rem;
    }
    .announcement-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .announcement-card {
        padding: 1rem;
    }
    .header-content {
        flex-direction: column;
        gap: 1rem;
    }

    .nav-menu {
        gap: 1rem;
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .staff-content {
        grid-template-columns: 1fr;
    }

    .course-info h1 {
        font-size: 2rem;
    }

    .page-header h1 {
        font-size: 2rem;
    }

    .instructors-grid {
        flex-direction: column;
        align-items: center;
    }

    .hero-section,
    .staff-section,
    .info-section,
    .schedule-section {
        padding: 2rem;
    }

    .week-materials {
        flex-direction: column;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-bottom-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .footer-bottom-links {
        gap: 1rem;
    }

    /* Schedule Table Mobile Responsiveness */
    .schedule-table-container {
        border-radius: 10px;
    }
    
    .schedule-table th,
    .schedule-table td {
        padding: 1rem 0.5rem;
        font-size: 0.9rem;
    }
    
    .schedule-table th {
        font-size: 1rem;
    }
    
    .topic-cell h4 {
        font-size: 1.1rem;
    }
    
    .topic-cell p {
        font-size: 0.85rem;
    }
    
    .topic-tags .tag {
        font-size: 0.7rem;
        padding: 0.2rem 0.5rem;
    }
    
    .assignment-badge,
    .midterm-badge,
    .project-badge,
    .final-badge {
        font-size: 0.75rem;
        padding: 0.4rem 0.6rem;
    }
    
    .resource-link,
    .reading-link {
        font-size: 0.8rem;
        padding: 0.3rem 0.4rem;
    }
    
    .date {
        font-size: 1rem;
    }
    
    .day {
        font-size: 0.8rem;
    }
    .instructor-contact,
    .staff-contact {
        gap: 0.6rem;
    }
    
    .contact-link {
        width: 28px;
        height: 28px;
        font-size: 0.8rem;
    }
    
    .office-hours {
        padding: 0.6rem;
        margin-top: 0.8rem;
    }
    .books-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .book-card {
        max-width: 100%;
    }

    .book-cover {
        height: 250px;
    }

    .book-info {
        padding: 1.5rem;
    }

    .resources-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .resource-category {
        padding: 1.5rem;
    }

    .books-section,
    .additional-resources {
        padding: 2rem;
    }

    .book-actions {
        flex-direction: row;
    }

    .book-btn {
        font-size: 0.8rem;
        padding: 0.6rem 1rem;
    }
    .quick-nav {
        flex-direction: column;
        gap: 1rem;
    }
    
    .quick-nav-item {
        flex-direction: row;
        justify-content: center;
        min-width: auto;
        padding: 1rem;
    }
    
    .assignment-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .assignment-meta {
        flex-direction: column;
        gap: 0.8rem;
    }
    
    .assignment-actions,
    .vlog-actions,
    .project-actions {
        flex-direction: column;
    }
    
    .vlog-header,
    .project-header {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .vlog-meta,
    .project-meta {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .timeline-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .timeline-date {
        min-width: auto;
        font-size: 0.9rem;
    }
    
    .options-grid {
        grid-template-columns: 1fr;
    }
    
    .deliverables-list {
        grid-template-columns: 1fr;
    }
    
    .assignments-section,
    .vlog-section,
    .project-section {
        padding: 2rem;
    }
    
    .section-description {
        font-size: 1rem;
    }
}

/* Decorative Elements */
.floating-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -1;
}

.shape {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

.shape:nth-child(1) {
    top: 20%;
    left: 10%;
    width: 60px;
    height: 60px;
    animation-delay: 0s;
}

.shape:nth-child(2) {
    top: 60%;
    right: 10%;
    width: 40px;
    height: 40px;
    animation-delay: 2s;
}

.shape:nth-child(3) {
    bottom: 20%;
    left: 20%;
    width: 80px;
    height: 80px;
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}