/* NAVBAR STYLING */
.navbar {
  background: linear-gradient(to right, #0074cc, #66b2ff);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.navbar .navbar-nav .nav-link {
  color: white;
  padding: 10px 15px;
  transition: background-color 0.3s, color 0.3s;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link:focus {
  background-color: rgba(255, 255, 255, 0.2);
  color: white;
  border-radius: 6px;
}

.navbar .dropdown-menu {
  background-color: white;
  border: none;
  border-radius: 6px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.navbar .dropdown-item {
  color: #0074cc;
  padding: 10px 20px;
}

.navbar .dropdown-item:hover {
  background-color: #f0f8ff;
  color: #005fa3;
}

.navbar-toggler {
  border: none;
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba%28255,255,255,0.9%29' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}

/* LOGO */
.logo-container {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 20px 0 10px;
}

.logo {
  height: 60px;
  width: auto;
  max-width: 100%;
}

/* FORM CARDS */
.card.contact-card {
  padding: 30px;
  background-color: #f9f9f9;
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  margin: 40px auto;
  max-width: 1000px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contact-address {
  font-size: 14px;
}

/* CURSUSBLOKKEN */
.cursusblok {
  display: block;
  width: 100%;
  margin-bottom: 2rem;
}

.cursusblok h2 {
  margin-bottom: 0.5rem;
  font-size: 1.4rem;
}

.cursusblok details {
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 6px;
  padding: 0.8rem 1rem;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
  margin-top: 0.5rem;
  max-width: 100%;
}

.cursusblok table.cursus-tabel {
  width: 100%;
  margin-top: 1rem;
  border-collapse: collapse;
  font-size: 14px;
}

.cursusblok table.cursus-tabel th,
.cursusblok table.cursus-tabel td {
  border: 1px solid #ccc;
  padding: 8px;
  text-align: left;
}

.cursusblok .btn {
  display: inline-block;
  background-color: #0074cc;
  color: #fff;
  padding: 6px 16px;
  border-radius: 4px;
  text-decoration: none;
  font-size: 14px;
  margin: 0;
}

.cursusblok .btn-secondary {
  background-color: #888;
}

/* HERO / HEADER */
.hero {
  position: relative;
  width: 100vw;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  height: 400px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.5);
  z-index: 1;
}

.overlay {
  position: relative;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2;
  width: 100%;
}

.hero-buttons {
  display: flex;
  gap: 20px;
  z-index: 3;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
}

@media (max-width: 600px) {
  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .btn {
    width: 80%;
    max-width: 300px;
  }
}

.btn {
  background-color: orange;
  color: white;
  padding: 16px 32px;
  text-decoration: none;
  font-size: 18px;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.3);
  z-index: 3;
  position: relative;
  min-width: 160px;
  text-align: center;
}

/* FOOTER */
footer {
  text-align: center;
  padding: 20px;
  background: #f5f5f5;
  margin-top: 40px;
}

@media (max-width: 768px) {
  .card.contact-card {
    flex-direction: column;
    align-items: stretch;
  }

  .hero {
    height: 250px;
  }
}
