/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

/* Body Background */
body {
  background: linear-gradient(to right, #270849, #264e33);
  color: #fff;
  overflow-x: hidden;
}

/* Background Animation */
.background-animation {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  overflow: hidden;
}
.circle {
  position: absolute;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.08);
  animation: float 10s infinite ease-in-out;
}
.circle:nth-child(1) { width: 100px; height: 100px; top: 20%; left: 10%; }
.circle:nth-child(2) { width: 150px; height: 150px; top: 50%; left: 80%; }
.circle:nth-child(3) { width: 80px; height: 80px; top: 70%; left: 30%; }
.circle:nth-child(4) { width: 120px; height: 120px; top: 40%; left: 60%; }
.circle:nth-child(5) { width: 90px; height: 90px; top: 30%; left: 25%; }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-30px); }
}

/* Navbar */
.navbar {
  background: #030306;
  padding: 15px 20px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
  position: sticky;
  top: 0;
  z-index: 10;
}
.navbar-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.navbar-logo {
  color: #fff;
  font-size: 24px;
  text-decoration: none;
  display: flex;
  align-items: center;
}
.navbar-logo img {
  width: 35px;
  margin-right: 10px;
}
.navbar-menu {
  list-style: none;
  display: flex;
  gap: 20px;
}
.navbar-link {
  color: #ddd;
  text-decoration: none;
  font-weight: 500;
}
.navbar-link:hover {
  color: #ffca28;
}
.navbar-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
}
.toggle-bar {
  width: 25px;
  height: 3px;
  background-color: #fff;
  margin: 4px 0;
}

/* Header Paragraph */
.ami {
  background: #283149;
  padding: 20px;
  text-align: center;
}
.par {
  font-size: 16px;
  color: #f1f1f1;
}

/* Main Container */
.container {
  max-width: 1200px;
  margin: auto;
  padding: 20px;
}
.sem h2, .section-bar h2 {
  text-align: center;
  margin: 20px 0;
  color: #fdd835;
  text-transform: uppercase;
}

/* Subject Section */
.subject-section {
  margin: 30px 0;
  background: #35143c;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}
.subject-title {
  font-size: 22px;
  margin-bottom: 10px;
  color: #bbb;
  text-align: center; /* Center the title */
}
.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center; /* Center the buttons horizontally */
}
.subject-button {
  padding: 10px 20px;
  background-color: #282e43;
  color: #fff;
  border: none;
  text-decoration: none;
  border-radius: 6px;
  transition: 0.3s ease;
}
.subject-button:hover {
  background-color: #00b894;
}

/* Footer */
footer {
  background: #111;
  color: #bbb;
  padding: 30px 20px;
  margin-top: 50px;
}
.footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}
.footer-section {
  flex: 1 1 200px;
  margin: 10px;
}
.footer-section h3 {
  color: #fff;
  margin-bottom: 10px;
}
.footer-section ul {
  list-style: none;
}
.footer-section a {
  color: #bbb;
  text-decoration: none;
}
.footer-section a:hover {
  color: #ffca28;
}
.footer-section img {
  width: 16px;
  vertical-align: middle;
  margin-right: 5px;
}
.footer-bottom {
  text-align: center;
  padding-top: 10px;
  font-size: 14px;
  color: #888;
}

/* Responsive */
@media (max-width: 768px) {
  .navbar-menu {
    display: none;
    flex-direction: column;
    background-color: #1a1a2e;
    position: absolute;
    top: 65px;
    right: 20px;
    width: 200px;
    border-radius: 8px;
    padding: 10px;
  }
  .navbar-toggle {
    display: flex;
  }
  .navbar.active .navbar-menu {
    display: flex;
  }
}













  




.wer {

  text-align: center;
  color: #1e5f6a;
  padding: 7px;

}