body {
  width: 100%;
  margin: 10;
  font-family: Arial, sans-serif;
  background-color: #1e90ff; /* midday blue */
  color: white;
}

header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  align-items: center;
  padding: 10px 20px;
  padding-right: 50px;
  background: #004080;
  color: white;
  z-index: 1000;
}

header img {
  height: 50px;
  margin-right: 15px;
}

header h1 {
  font-size: 1.5rem;
}

header nav {
  display: flex;
  height: 50px;
  margin-left: auto;
}

    /* Navbar container */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 1rem;
  color: white;
}

/* Nav links */
.nav-links {
  margin-left: auto;
  display: flex;
  gap: 1rem;
}

.nav-links a {
  color: white;
  text-decoration: none;
}

/* Hamburger menu button */
.menu-btn {
  display: none;
  font-size: 1.5rem;
  cursor: pointer;
}

/* Grid container (desktop default) */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--gap, 1rem);
}

/* Mobile styles */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    flex-direction: column;
    background: #444;
    position: absolute;
    top: 60px;
    right: 0;
    width: 200px;
    padding: 1rem;
  }

  .nav-links.active {
    display: flex;
  }

  .menu-btn {
    display: block;
  }

  /* Grid collapses to single column */
  .grid {
    grid-template-columns: 1fr;
  }
}


    /* Menu sections */
    section {
      min-height: 100vh;
      padding: 50px;
      text-align: center;
    }

    section:nth-child(even) {
      background-color: #4682b4; /* alternating shade */
    }

   /* Banner section */
    .banner {
      height: 50vh; /* half screen height */
      background-image: url('assets/student foto.webp'); /* replace with your image path */
      background-size: cover; /* scale image to cover */
      background-position: center; /* center the image */
      display: flex;
      align-items: center;
      justify-content: center;
      color: white;
      text-align: center;
    }

    home {
//      background: rgba(0, 0, 0, 0.5); /* semi-transparent background for readability */
      padding: 20px;
      border-radius: 10px;
    }
    .home h1 {
      font-size: 3em;
      background: rgba(0, 0, 0, 0.5); /* semi-transparent background for readability */
    }

    .home p { font-size: 1em; }

    /* Button below banner, aligned right */
    .banner-button {
      position: absolute;
      right: 20px;
//      bottom: -25px;
      background: #ffcc00;
      color: black;
      padding: 10px 20px;
      margin-top: -15px;
      border: none;
      border-radius: 5px;
      cursor: pointer;
      font-weight: bold;
    }

    .card {
//      width: 300px;
      border: 1px solid #ddd;
      border-radius: 8px;
      box-shadow: 0 2px 5px rgba(0,0,0,0.1);
      overflow: hidden;
      font-family: Arial, sans-serif;
      margin-top: 50px;
    }
    .card img {
      width: 100%;
      height: auto;
    }
    .card-content {
      padding: 15px;
    }

   .card-content h3 {
      margin: 0 0 10px;
    }
    .card-content p {
      color: #555;
      font-size: 14px;
    }
    .card button {
      display: block;
      width: 100%;
      padding: 10px;
      border: none;
      background: #007BFF;
      color: white;
      font-size: 16px;
      cursor: pointer;
      border-radius: 0 0 8px 8px;
    }
    .card button:hover {
      background: #0056b3;
    }
