html, body {
  overflow-x: hidden;
  margin: 0;
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  background-color: #f8f9fa;
}

/* Prevent body scroll when mobile menu is open */
body.menu-open {
  overflow: hidden;
  position: fixed;
  width: 100%;
}

/* ========== Navbar Styles ========== */
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 5vw;
  background-color: white;
  position: fixed; 
  top: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  width: 100%;
  box-sizing: border-box;
  transition: all 0.3s ease;
  min-height: 60px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(8px); 
  -webkit-backdrop-filter: blur(8px); 
}

body {
  padding-top: 80px; 
}

.logo {
  flex-shrink: 0;
}

.logo img {
  height: 70px;
  width: auto;
  vertical-align: middle;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 25px;
  list-style: none;
  padding: 0;
  margin: 0;
  flex-shrink: 0;
}

.nav-links li {
  margin: 0;
}

.nav-links li a {
  text-decoration: none;
  color: #333;
  font-weight: bold;
  font-size: 20px;
  transition: color 0.3s ease;
  white-space: nowrap;
}

.nav-links li a:hover {
  color: #0d47a1;
}

/* Hide hamburger menu on desktop */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  padding: 5px;
  z-index: 10002;
  position: relative;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background-color: #333;
  margin: 3px 0;
  transition: 0.3s;
  border-radius: 3px;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(-45deg) translate(-5px, 6px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(45deg) translate(-5px, -6px);
}

/* Overlay */
.nav-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 9998;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.nav-overlay.active {
  display: block;
  opacity: 1;
}

/* Mobile responsive navbar */
@media (max-width: 768px) {
  body {
    padding-top: 0;
  }
  
  .navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    min-height: 60px; 
    flex-direction: row;
    align-items: center;
    padding: 10px 4vw; 
    justify-content: space-between;
    backdrop-filter: none; 
    -webkit-backdrop-filter: none;
    z-index: 10000;
  }

  .logo {
    margin-bottom: 0;
    align-self: center;
    width: auto;
    display: flex;
    justify-content: flex-start;
  }

  .logo img {
    height: 50px;
  }

  /* Show Hamburger Menu */
  .hamburger {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 70%;
    max-width: 300px;
    height: 100vh;
    background-color: white;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    gap: 20px;
    padding-top: 80px;
    transition: right 0.3s ease-in-out;
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
    z-index: 10001;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .nav-links.active {
    right: 0;
  }

  .nav-links li {
    width: 90%;
    margin: 0;
    text-align: center;
  }

  .nav-links li a {
    display: block;
    padding: 15px 20px;
    width: 100%;
    font-size: 18px;
    font-weight: 600;
    white-space: nowrap;
    border-radius: 8px;
    transition: all 0.3s ease;
    color: #333;
    text-decoration: none;
    box-sizing: border-box;
    margin: 5px 0;
  }

  .nav-links li a:hover,
  .nav-links li a:active,
  .nav-links li a:focus {
    background-color: #f0f8ff;
    color: #0d47a1;
    transform: translateY(-2px);
  }

  /* Add padding to body when mobile menu might be open */
  body {
    padding-top: 70px;
  }
}

@media (max-width: 480px) {
  .navbar {
    min-height: 55px;
    padding: 8px 3vw;
  }

  .logo img {
    height: 45px;
  }

  .nav-links {
    width: 80%;
    padding-top: 70px;
  }

  .nav-links li a {
    padding: 12px 15px;
    font-size: 16px;
  }

  body {
    padding-top: 65px;
  }
}

/* ========== Schedule Section ========== */
.schedule-section {
  padding: 60px 20px;
  background: white;
  min-height: calc(100vh - 200px);
}

.container {
  max-width: 900px;
  margin: 0 auto;
  background: white;
  padding: 40px;
}

.container h2 {
  font-size: 1.8rem;
  color: #333;
  text-align: center;
  margin-bottom: 40px;
  font-weight: 600;
  border-bottom: 2px solid #e9ecef;
  padding-bottom: 15px;
}

.container h3 {
  font-size: 1.3rem;
  color: #1565c0;
  margin: 35px 0 20px 0;
  font-weight: 600;
  padding: 10px 0;
  border-bottom: 1px solid #e3f2fd;
}

.schedule-table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0 35px 0;
  background: white;
  border: 1px solid #dee2e6;
}

.schedule-table thead {
  background: #f8f9fa;
}

.schedule-table th {
  padding: 15px 20px;
  text-align: left;
  font-weight: 600;
  color: #333;
  font-size: 0.95rem;
  border-bottom: 2px solid #dee2e6;
}

.schedule-table th:first-child {
  width: 35%;
  color: #1565c0;
}

.schedule-table th:last-child {
  width: 65%;
}

.schedule-table tbody tr {
  background: white;
}

.schedule-table tbody tr:nth-child(even) {
  background: #f8f9fa;
}

.schedule-table td {
  padding: 12px 20px;
  border-bottom: 1px solid #dee2e6;
  font-size: 0.9rem;
  line-height: 1.5;
  vertical-align: top;
}

.schedule-table td:first-child {
  font-weight: 600;
  color: #495057;
  background: #e9ecef;
  border-right: 2px solid #dee2e6;
}

.schedule-table td:last-child {
  color: #333;
}

/* ========== Footer ========== */
footer {
  background: #111827;
  color: white;
  padding: 2rem 1rem;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  max-width: 1000px;
  margin: auto;
  gap: 2rem;
}

.footer-content > div {
  flex: 1;
  min-width: 250px;
}

footer h4, footer h3 {
  margin-bottom: 0.5rem;
  color: #f1f5f9;
}

footer ul {
  list-style: none;
  padding: 0;
}

footer ul li {
  margin-bottom: 0.3rem;
}

footer ul li a {
  color: #cbd5e1;
  text-decoration: none;
  transition: color 0.3s ease;
}

footer ul li a:hover {
  color: #60a5fa;
}

footer p {
  margin: 0.25rem 0;
  color: #cbd5e1;
}

footer .copyright {
  text-align: center;
  margin-top: 2rem;
  font-size: 0.875rem;
  border-top: 1px solid #374151;
  padding-top: 1rem;
}

@media (min-width: 769px) {
  .nav-overlay {
    display: none !important;
  }
}

/* Mobile Responsive Schedule Section */
@media (max-width: 768px) {
  .schedule-section {
    padding: 40px 15px;
  }

  .container {
    padding: 25px 15px;
  }

  .container h2 {
    font-size: 1.5rem;
    margin-bottom: 30px;
  }

  .container h3 {
    font-size: 1.1rem;
    margin: 25px 0 15px 0;
  }

  .schedule-table {
    font-size: 0.85rem;
  }

  .schedule-table th,
  .schedule-table td {
    padding: 10px 12px;
  }

  .schedule-table th:first-child {
    width: 40%;
  }

  .schedule-table th:last-child {
    width: 60%;
  }
}

@media (max-width: 480px) {
  .schedule-section {
    padding: 40px 10px;
  }

  .container {
    padding: 20px 10px;
  }

  .container h2 {
    font-size: 1.4rem;
  }

  .container h3 {
    font-size: 1rem;
  }

  .schedule-table {
    font-size: 0.8rem;
  }

  .schedule-table th,
  .schedule-table td {
    padding: 8px 10px;
  }

  .schedule-table th:first-child {
    width: 45%;
  }

  .schedule-table th:last-child {
    width: 55%;
  }
}