  body {
    margin: 0;
    background-color: #0f0f0f;
    font-family: "Poppins", sans-serif;
    color: #fff;
  }

  .bg-primary {
    background: linear-gradient(135deg, #40056d, #54025a, #a70101);
  }

  header {
  position: relative;
  height: 320px;
  overflow: hidden;
  color: #fff;
  text-align: center;
  background-color: #0f0f0f;
}

/* Background image (placed behind everything) */
.header-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;     /* keeps aspect ratio */
  opacity: 0.60;         /* makes text readable */
  z-index: 1;
}

/* Logo on the left */
.logo-container {
  position: absolute;
  top: 20px;
  left: 30px;
  z-index: 3;
}

.logo {
  width: 70px;
  height: auto;
  border-radius: 10px;
}

/* Header text stays above background */
.header-content {
  position: relative;
  z-index: 2;
  padding-top: 100px;
}

.header-content h1 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #fff;
  text-shadow: 1px 1px 4px rgba(0,0,0,0.7);
}

.header-content p {
  color: #ccc;
  font-size: 1.1rem;
  margin-top: 10px;
}
.nav-pills .nav-link {
  color: #ccc;
  border-radius: 10px;
  margin-bottom: 8px;
  transition: all 0.3s ease;
}

.nav-pills .nav-link:hover {
  background: linear-gradient(135deg, #54025a, #8e084d);
  color: #fff;
  box-shadow: 0 0 12px rgba(142, 8, 77, 0.8);
  transform: translateY(-2px);
}
  nav.navbar {
    border-top: 2px solid #54025a;
    border-bottom: 2px solid #54025a;
  }

  .navbar-dark .navbar-nav .nav-link {
    color: #ccc;
    font-weight: 500;
    transition: 0.3s;
  }

  .navbar-dark .navbar-nav .nav-link:hover,
  .navbar-dark .navbar-nav .nav-link.active {
    color: #fff;
    background-color: #54025a;
    border-radius: 10px;
    padding: 8px 16px;
  }

  .container {
    margin-top: 50px;
  }

  .img, .img2, .img3 {
    background-size: cover;
    background-position: center;
    border-radius: 15px;
    height: 220px;
    margin-bottom: 15px;
    border: 2px solid #54025a;
    box-shadow: 0 0 10px rgba(84,2,90,0.4);
  }

  .img {
    background-image: url('k.jpg');
  }

  .img2 {
    background-image: url('ken.jpg');
  }

 .img3 {
  background-image: url('n.jpg');
  background-size: cover;      /* makes it fill properly */
  background-position: center; /* centers the image */
  background-repeat: no-repeat;
  width: 100%;
  height: 220px;               /* must have a height! */
  border-radius: 15px;
  border: 2px solid #54025a;
  box-shadow: 0 0 10px rgba(84,2,90,0.4);
}

  h2 {
    color: #8e084d;
    margin-bottom: 20px;
    font-weight: 600;
  }

  h5 {
    color: #a70101;
  }

  .col-sm-4 {
    background: #161616;
    padding: 30px;
    border-radius: 20px;
    border: 1px solid #112256;
  }

  .col-sm-8 {
    background: #161616;
    padding: 40px;
    border-radius: 20px;
    border: 1px solid #112256;
  }

  .nav-pills .nav-link {
    color: #ccc;
    border-radius: 10px;
    margin-bottom: 8px;
  }

  .nav-pills .nav-link.active {
    background-color: #54025a;
  }
  footer {
    margin-top: 70px;
    padding: 30px;
    background-color: #111;
    color: #ccc;
    text-align: center;
    border-top: 2px solid #54025a;
  }

  footer p {
    margin: 0;
  }

  @media (max-width: 767px) {
    header h1 {
      font-size: 1.9rem;
    }
  }