:root {
  --main-color: #3498db;
  --padding: 10px;
  --radius: 8px;
  --fs-1: clamp(1.75rem, 4vw, 3rem);
  --fs-2: clamp(1.5rem, 3vw, 2rem);
  --fs-3: clamp(1.25rem, 2vw, 1.5rem);
  --blue-bk: blue;
  --bg-color-box: #f8f9fa;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: sans-serif;
  min-height: 100vh;
}

img {
  width: 100%;
  height: auto;
}

.error {
  color: red;
}


/* ====================== REST OF YOUR STYLES (unchanged & cleaned) ====================== */
.parent-div-flex {
  background-color: darkseagreen;
  margin-top: 10px;
  display: flex;
  align-items: center;
  height: 40px;
  border: 1px solid black;
  padding: 0 15px;
}

.search-box {
  position: relative;
  width: 300px;
  margin: 5px;
}

.search-box input {
  width: 100%;
  padding: 12px 50px 12px 15px;
  border-radius: 25px;
  border: 1px solid #ccc;
  font-size: 16px;
  transition: 0.3s;
}

.search-box input:focus {
  outline: none;
  border-color: #6a5acd;
  box-shadow: 0 0 8px rgba(106, 90, 205, 0.4);
}

.search-box button {
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  background: #6a5acd;
  color: white;
  border: none;
  padding: 10px;
  border-radius: 50%;
  cursor: pointer;
  width: 40px;
  height: 40px;
  transition: 0.3s;
}

.search-box button:hover {
  background: #5848c2;
}

.grid-container {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  padding: 1rem;
}

.full-row {
  grid-column: 1 / -1;
}
.card-container {
  container-type: inline-size;
}

@container (min-width: 400px) {
  .card {
    display: grid;
    grid-template-columns: 1fr 2fr;
  }
}

.center-stuff {
  justify-self: center;
  align-self: center;
}

.info-box-bw,
.info-box-rw,
.info-box-gw {
  padding: 8px 12px;
  margin-bottom: 12px;
  display: inline-block;
  color: white;
  font-size: var(--fs-2);
}
.info-box-bw {
  background-color: black;
}
.info-box-rw {
  background-color: red;
}
.info-box-gw {
  background-color: green;
}

.fs-1 {
  font-size: var(--fs-1);
}
.fs-2 {
  font-size: var(--fs-2);
}
.fs-3 {
  font-size: var(--fs-3);
}

.licensed {
  background: white;
  color: red;
  text-align: center;
  padding: 20px;
  margin: 10px;
}

/* Navbar background */
.navbar {
  background-color: #000 !important;
}

/* Nav text colors */
.navbar .nav-link,
.navbar .navbar-brand {
  color: #fff !important;
}

/* Hover links
.navbar .nav-link:hover {
  color: #0d6efd !important;
  text-decoration: underline;
}

/* Increased spacing between menu items */
.navbar-nav .nav-item {
  padding: 0 12px;
  /* adjust this for more spacing */
}

/* dropdown menu appears upon hovering parent */
.dropdown:hover >.dropdown-menu{
  display: block;
}
/* Dropdown menu background */
.dropdown-menu {
  background-color: #111;
}

/* Dropdown items */
.dropdown-item {
  color: #fff !important;
}

.dropdown-item:hover {
  background-color: #0d6efd;
  color: #fff !important;
}

.nav-link.dropdown-toggle {
  display: flex;
  align-items: center;
}
.nav-link.dropdown-toggle::after {
  display: none;
}


/* Simple ▼ arrow */
.dropdown-toggle::after {
  content: " ▼" !important;
  border: none !important;
  margin: 6px;
}

/* Mobile menu background solid black */
@media (max-width: 991.98px) {
  .navbar-collapse {
    background-color: #000 !important; /* solid black */
  }

  .dropdown-menu {
    background-color: #000 !important; /* dropdown inside mobile menu */
  }

  .dropdown-item {
    color: #fff !important; /* keep text readable */
  }

  .dropdown-item:hover {
    background-color: #fff !important; /* same hover color as desktop */
    color: #000;
    display:block
  }
}
.navbar-logo {
  width: 80px;
  height: auto;
  cursor: pointer;
  border-radius: 10px;
}
/* Navbar link hover & active effect */
.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link:focus,
.navbar-dark .navbar-nav .nav-item.active .nav-link {
    color: #000 !important;          /* text color */
    background-color: #fff;          /* background highlight */
    border-radius: 4px;

}

/* Dropdown items */
.navbar-dark .dropdown-menu .dropdown-item:hover,
.navbar-dark .dropdown-menu .dropdown-item:focus,
.navbar-dark .dropdown-menu .dropdown-item.active {
    color: #000 !important;          /* text color */
    background-color: #fff;
}



