html, body {
    width: 100%;
    overflow-x: hidden;

}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Inter", Arial, sans-serif;
}

body {
  background: #080a0c;
  color: white;
  flex: auto;
  background-repeat: no-repeat;
  background-attachment: fixed;
  min-height: 100vh;
}

/* Navbar */
 nav {
   background: #000000 ;
    color: rgb(0, 217, 255);
    padding: 15px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

nav ul {
  list-style: none;
  display: flex;
}

nav ul li {
  margin-left: 25px;
}

nav ul li a {
  color: white;
  text-decoration: none;
  font-weight: bold;
}

nav ul li a:hover {
  color: #1affd5;
}

.btn {
  background: #1affd5;
  color: #0b0f14;
  padding: 8px 16px;
  border-radius: 8px;
}

/* Hero Section */
.home {
  height: 90vh;
  background: radial-gradient(circle at top, #15293b, #0b0f14);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 0 20%;
}

.home h1 {
  font-size: 60px;
  margin-bottom: 15px;
}

.home h1 span {
  color: #1affd5;
}

.home p {
  opacity: 0.8;
  margin-bottom: 25px;
}

.primary-btn {
  background: #1affd5;
  color: #0b0f14;
  padding: 12px 28px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: bold;
}

/* Sections */
section {
  padding: 60px 80px;
  text-align: center;
}

/* Semester Pills */
.Semesters ul {
  list-style: none;
  margin-top: 20px;
}

.Semesters ul li {
  display: inline-block;
  margin: 8px;
}

.Semesters ul li a {
  background: #1affd5;
  color: #0b0f14;
  padding: 10px 20px;
  border-radius: 20px;
  text-decoration: none;
  font-weight: bold;
}

/* Footer */
footer {
  background: #0b0f14;
  color: white;
  text-align: center;
  padding: 15px;
}
.browse {
  background: radial-gradient(circle at center, rgb(69, 69, 100), black);
  color: white;
  padding: 80px 20px;
  text-align: center;
  min-height: 100vh; /* ensures full section coverage */
}

.browse h2 {
  font-size: 36px;
  margin-bottom: 10px;
}

.browse h2 span {
  color: #ddee41;
}

.subtitle {
  max-width: 700px;
  margin: 0 auto 40px;
  color: #7fa3c7;
}

/* Grid Layout */
.semester-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(250px, 1fr));
  gap: 20px;
  max-width: 1100px;
  margin: 40px auto 0 auto;
}

/* Card */
.card {
  border: 1px solid #ffffff33;
  border-radius: 12px;
  padding: 20px;
  background: #0f1620;
  text-align: left;
  transition: all 0.25s ease;
  backdrop-filter: blur(80px);
  -webkit-backdrop-filter: blur(80px);
  background: transparent;
}

/* Card Header */
.card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 15px;
}

/* Number Badge */
.badge {
  background: #90d6c9;
  color: #0b0f14;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 18px;
}

/* Arrow */
.arrow {
  background: #1a1c1f;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 900;
}

/* Subject List */
.card ul {
  list-style: none;
}

.card ul li {
  margin: 6px 0;
  color: #d6e6ff;
}

.more {
  color: #1affd5;
  font-size: 14px;
}

/* Responsive */
@media (max-width: 900px) {
  .semester-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .semester-grid {
    grid-template-columns: 1fr;
  }
}
a{
color: #d6e6ff;
text-decoration: none;
}
.backbtn{
    background: #1a1c1f;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;


}
.hi{
  text-decoration: none;
  color: white;
  padding: 10px;
}
.hi:hover{
  text-decoration: underline;
}
.arrow:hover{
  color: rgb(0, 0, 0);
  background-color: rgb(255, 255, 255 ,80%);
}
.semester-grid p{
  text-align: center;
  font-weight: 400;
  gap: 2px;
  padding: 5px;
  
}
.arrow:active{
  color: rgb(0, 0, 0);
  background-color: rgb(255, 255, 255 ,50%);
}
.card:hover{

   border-color: #ffffff;
  box-shadow:
    0 0 10px rgba(252, 255, 254, 0.4),
    0 0 20px rgba(255, 255, 255, 0.3),
    0 0 40px rgba(250, 255, 254, 0.15);

  transform: translateY(-4px); /* slight lift effect */
  backdrop-filter: blur(80px);
  -webkit-backdrop-filter: blur(80px);
  background: #86878a2c;
}
.card:active{
   border-color: #ffffff;
  box-shadow:
    0 0 10px rgba(252, 255, 254, 0.4),
    0 0 20px rgba(255, 255, 255, 0.3),
    0 0 40px rgba(250, 255, 254, 0.15);

  transform: translateY(-4px); /* slight lift effect */
  backdrop-filter: blur(80px);
  -webkit-backdrop-filter: blur(80px);
  background: #86878a2c;
}
.backbtn:hover{
  background-color: transparent;

   border-color: #ffffff;

  box-shadow:
    0 0 10px rgba(240, 243, 243, 0.4),
    0 0 20px rgba(255, 255, 255, 0.3),
    0 0 40px rgba(255, 255, 255, 0.15);

  transform: translateY(-4px); /* slight lift effect */
}
.backbtn:active{
  background-color: transparent;

   border-color: #1affd5;

  box-shadow:
    0 0 10px rgba(26, 255, 213, 0.4),
    0 0 20px rgba(26, 255, 213, 0.3),
    0 0 40px rgba(26, 255, 213, 0.15);

  transform: translateY(-4px); /* slight lift effect */
}
footer {
    background: #111;
    color: white;
    padding: 15px;
    border-radius: 20000px;
    padding: 4px 14px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.card p{
    text-decoration:underline rgba(4, 255, 117, 0.568) ;
}