/* ===== Reset Styles ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Arial, sans-serif;
  background-color: #f9fbfd;
  color: #2d3748;
  line-height: 1.6;
  padding-bottom: 70px; /* space for footer */
}

/* ===== Header & Navigation ===== */
header {
  background: linear-gradient(90deg, #5a67d8, #434190);
  color: white;
  padding: 1.2rem 2rem;
  text-align: center;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

header h1 {
  margin-bottom: 0.5rem;
  font-size: 1.8rem;
  letter-spacing: 1px;
}

nav ul {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 25px;
  flex-wrap: wrap;
}

nav ul li a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  padding: 6px 12px;
  border-radius: 6px;
  transition: background 0.3s ease, transform 0.2s ease;
}

nav ul li a:hover,
nav ul li a.active {
  background-color: rgba(255, 255, 255, 0.2);
  transform: scale(1.05);
}

/* ===== Main Content ===== */
main {
  padding: 2rem 1rem;
  max-width: 1000px;
  margin: auto;
}

section h2 {
  margin-bottom: 1rem;
  color: #2b2d42;
  font-size: 1.6rem;
  border-left: 5px solid #5a67d8;
  padding-left: 10px;
}

.schedule, 
.todo, 
.notes, 
.resources {
  background-color: white;
  padding: 1.5rem;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.08);
  margin-bottom: 2rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.schedule:hover, 
.todo:hover, 
.notes:hover, 
.resources:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(0,0,0,0.12);
}

/* ===== Tables ===== */
table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1rem;
  border-radius: 8px;
  overflow: hidden;
}

table th, 
table td {
  padding: 12px;
  border: 1px solid #e2e8f0;
  text-align: center;
}

table th {
  background-color: #5a67d8;
  color: white;
  font-weight: bold;
}

table tr:nth-child(even) {
  background-color: #f8fafc;
}

/* ===== Lists ===== */
ul {
  margin-top: 1rem;
  padding-left: 1.5rem;
}

ul li {
  margin-bottom: 0.6rem;
}

/* ===== Social Media Section ===== */
.social-media {
  margin-top: 1.5rem;
  text-align: center;
}

.social-media a {
  display: inline-block;
  margin: 0 10px;
  text-decoration: none;
  color: #5a67d8;
  font-size: 1.1rem;
  font-weight: 500;
  transition: color 0.3s ease, transform 0.2s ease;
}

.social-media a:hover {
  color: #434190;
  transform: scale(1.1);
}

/* ===== Footer ===== */
footer {
  text-align: center;
  background-color: #edf2f7;
  color: #4a5568;
  padding: 1rem;
  position: fixed;
  width: 100%;
  bottom: 0;
  border-top: 1px solid #ccc;
  font-size: 0.9rem;
}

footer p {
  margin: 5px 0;
}

/* ===== Responsive Design ===== */
@media (max-width: 768px) {
  nav ul {
    gap: 15px;
  }

  header h1 {
    font-size: 1.4rem;
  }

  section h2 {
    font-size: 1.3rem;
  }

  table th, table td {
    font-size: 0.9rem;
    padding: 8px;
  }
}

@media (max-width: 480px) {
  nav ul {
    flex-direction: column;
    align-items: center;
  }

  .schedule, .todo, .notes, .resources {
    padding: 1rem;
  }

  .social-media a {
    display: block;
    margin: 8px 0;
  }
}
