body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: #eef2f7;
  color: #222;
}
header {
  text-align: center;
  padding: 2rem 0;
  background-color: #004a99;
  color: white;
}
header h1 {
  font-weight: 700;
  font-size: 2.8rem;
  margin-bottom: 0.3rem;
  letter-spacing: 1.5px;
}
header p {
  font-size: 1.25rem;
  margin: 0;
  font-style: italic;
}
nav.navbar {
  background-color: #004a99;
}
nav.navbar .nav-link,
nav.navbar .navbar-brand {
  color: #f0f7ff;
  font-weight: 600;
}
nav.navbar .nav-link:hover,
nav.navbar .nav-link.active {
  color: #ffd54f;
  text-decoration: underline;
}
 #navbar img {
            width: 40px;
            height: 40px;
        }
.carousel-inner img {
  height: 400px;
  object-fit: cover;
  width: 100%;
}
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}
.gallery img {
  width: 100%;
  height: auto;
  border-radius: 0.5rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  cursor: pointer;
}
.gallery img:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 20px rgba(59, 130, 246, 0.6);
}
/*footer {
  background: #002d66;
  color: #d3e0f0;
  text-align: center;
  padding: 1rem 0;
}*/

 footer {
      background-color: #002d66;
      color: #d3e0f0;
      padding: 40px 20px;
      margin-top: 20px;
    }
    .footer-section {
      margin-bottom: 20px;
    }
    .footer-section h5 {
      color: #ffd54f;
    }



	/*.notice-scroll {
      max-height: 280px; 
      overflow-y: auto; 
      border: 1px solid #ccc; 
      padding: 10px;
      background-color: #f9f9f9; 
    }
    .notice-item {
      margin-bottom: 10px; 
    }

	.notice-content {
		position: absolute;
		width: 100%;
	}*/

.toppers-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1rem;
}
.toppers-table th,
.toppers-table td {
  border: 1px solid #aac9f5;
  padding: 0.5rem 0.75rem;
  text-align: left;
}
.toppers-table th {
  background-color: #d0e3ff;
  color: #003366;
}
/* Responsive styles */
@media (max-width: 767.98px) {
  header h1 {
    font-size: 2rem;
  }
  header p {
    font-size: 1rem;
  }
  .carousel-inner img {
    height: 250px;
  }
  .notice-scroll {
    max-height: 200px;
  }
}
/* Custom style for navbar background on scroll */
.navbar.scrolled {
  background-color: rgba(0, 123, 255, 0.9); /* Darker blue background */
  transition: background-color 0.3s;
}

 /*nav {
      background: linear-gradient(135deg, #4a90e2, #357abd);
      box-shadow: 0 4px 10px rgba(53, 122, 189, 0.5);
      position: fixed;
      width: 100%;
      top: 0;
      left: 0;
      z-index: 1000;
    }

    .nav-container {
      display: flex;
      justify-content: space-between;
      align-items: center;
      max-width: 1100px;
      margin: 0 auto;
      padding: 0.75rem 1rem;
    }

    .nav-brand {
      font-size: 1.5rem;
      font-weight: bold;
      user-select: none;
      color: #fff;
    }

    .nav-toggle {
      display: none;
      flex-direction: column;
      cursor: pointer;
      width: 24px;
      height: 18px;
      justify-content: space-between;
    }

    .nav-toggle span {
      display: block;
      height: 3px;
      width: 100%;
      background: white;
      border-radius: 2px;
      transition: all 0.3s ease;
    }


    .nav-links {
      display: flex;
      list-style: none;
    }

    .nav-links li {
      margin-left: 1.5rem;
    }

    .nav-links a {
      color: #eee;
      text-decoration: none;
      font-size: 1rem;
      padding: 0.5rem 0;
      transition: color 0.3s ease;
      user-select: none;
    }

    .nav-links a:hover, .nav-links a:focus {
      color: #ffcc00;
      outline: none;
    }

    
    @media (max-width: 768px) {
      .nav-toggle {
        display: flex;
      }
*/
     
	  /* Reset 
    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }

    body {
      font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
      background-color: #121212;
      color: #eee;
      line-height: 1.6;
      min-height: 100vh;
    }




    nav {
      background: linear-gradient(135deg, #4a90e2, #357abd);
      box-shadow: 0 4px 10px rgba(53, 122, 189, 0.5);
      position: fixed;
      width: 100%;
      top: 0;
      left: 0;
      z-index: 1000;
    }

    .nav-container {
      display: flex;
      justify-content: space-between;
      align-items: center;
      max-width: 1100px;
      margin: 0 auto;
      padding: 0.75rem 1rem;
    }

    .nav-brand {
      font-size: 1.5rem;
      font-weight: bold;
      user-select: none;
      color: #fff;
    }

    .nav-toggle {
      display: none;
      flex-direction: column;
      cursor: pointer;
      width: 24px;
      height: 18px;
      justify-content: space-between;
    }

    .nav-toggle span {
      display: block;
      height: 3px;
      width: 100%;
      background: white;
      border-radius: 2px;
      transition: all 0.3s ease;
    }

  
    .nav-links {
      display: flex;
      list-style: none;
    }

    .nav-links li {
      margin-left: 1.5rem;
    }

    .nav-links a {
      color: #eee;
      text-decoration: none;
      font-size: 1rem;
      padding: 0.5rem 0;
      transition: color 0.3s ease;
      user-select: none;
      display: block;
    }

    .nav-links a:hover,
    .nav-links a:focus {
      color: #ffcc00;
      outline: none;
    }

   
    @media (max-width: 768px) {
      .nav-toggle {
        display: flex;
      }

      .nav-links {
        position: fixed;
        flex-direction: column;
        top: 56px;
        left: 0;
        width: 100%;
        background: #222;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s ease, padding 0.3s ease;
        border-top: 2px solid #357abd;
      }

      .nav-links.open {
        max-height: 300px; 
        padding-bottom: 0.5rem;
      }

      .nav-links li {
        margin: 0;
        border-bottom: 1px solid #444;
      }

      .nav-links a {
        padding: 1rem 1.5rem;
        font-size: 1.2rem;
        width: 100%;
      }

    
      .nav-toggle.open span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
      }

      .nav-toggle.open span:nth-child(2) {
        opacity: 0;
      }

      .nav-toggle.open span:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px);
      }
    }

	main {
      margin-top: 70px;
      padding: 1rem;
      max-width: 1100px;
      margin-left: auto;
      margin-right: auto;
      color: #ddd;
    }*/