
h2{
    text-align: center;
    padding: 10px;
    font-size: 40px;
    font-weight: 700;
    color: #484848;
  }
  
  .main-content {
    display: flex;
    justify-content: center;
    margin-top: 20px;
  }
  
  /* General styling for the dropdown container */
  .dropdown-container {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-top: 20px;
  }
  
  /* Styling for each dropdown */
  .dropdown {
  position: relative;
  display: inline-block;
  width: 350px;
  }
  
  /* Search input styling */
  .dropdown input[type="text"] {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 16px;
  color: #333;
  margin-bottom: 10px;
  box-sizing: border-box;
  }
  
  .dropdown input[type="text"]::placeholder {
  color: #aaa;
  }
  
  /* Dropdown content styling */
  .dropdown-content {
  display: none;
  position: absolute;
  background-color: #ffffff;
  min-width: 100%;
  box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
  z-index: 1;
  max-height: 350px; /* Adjust as needed */
  overflow-y: auto;
  border: 1px solid #ddd;
  border-radius: 5px;
  box-sizing: border-box;
  }
  
  /* Link styling within dropdown */
  .dropdown-content a {
  color: #333;
  padding: 10px 15px;
  text-decoration: none;
  display: block;
  font-size: 16px;
  transition: background-color 0.3s ease;
  }
  
  .dropdown-content a:hover {
  background-color: #f1f1f1;
  }
  
  /* Show the dropdown on input focus */
  .dropdown input:focus + .dropdown-content,
  .dropdown-content:hover {
  display: block;
  }
  
  /* Dropdown items with alternating colors */
  .dropdown-content a:nth-child(odd) {
  /* background-color: #ffffff; /* Colorless */
  }
  
  .dropdown-content a:nth-child(even) {
  background-color: #edf1f6; /* Light color, adjust as needed */
  } 
  
  /* Container for exam categories */
  /* .categories-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    padding: 30px;
    justify-content: center;
    margin-top: 20px;
  } */
  
  /* Styling for each category box */
  /* .category-box {
    width: 30%; /* Adjust based on how many items per row */
    /* border: 1px solid #ddd;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.2s;
  } */ */
  
  /* .category-box:hover {
    transform: scale(1.05);
  }
  
  .category-box h3 {
    font-size: 1.2em;
    color: #2f1d6b;
    margin-bottom: 10px;
  }
  
  .category-box p {
    font-size: 0.95em;
    color: #555;
    margin-bottom: 15px;
  }
  
  .category-box a {
    color: #2f1d6b;
    text-decoration: none;
    font-weight: bold;
  } */
  /* .examCategories{
  margin: 2vh 0;
  }
  
  .examCategories h3{
  text-align: center;
  padding: 0;
  margin: 0;
  } */
  
  
  
  
  
  /* General styling for the exam categories */
  .examCategories {
    text-align: center;
    margin-top: 30px;
    padding: 20px;
    background: #000;
  }
  
  .examCategories h1 {
    font-size: 24px;
    color: #2f1d6b;
    text-align: center;
    padding-top: 3.5vh;
    margin-bottom: 30px;
    font-size: 3.3vh;
  }
  
  /* Grid layout for categories */
  .categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    padding: 0 20px;
  }
  
  /* Individual category card styling */
  .category-card {
    background-color: #fff;
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
  }
  
  .category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.2);
  }
  
  /* Icon styling */
  .category-icon {
    font-size: 40px;
    margin-bottom: 15px;
    color: #2f1d6b;
  }
  
  /* Text content in the card */
  .category-card h3 {
    font-size: 1.2rem;
    color: #333;
    margin-bottom: 10px;
  }
  
  .category-card p {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 15px;
  }
  
  /* Button link inside the card */
  .category-card a {
    display: inline-block;
    margin-top: 10px;
    padding: 8px 15px;
    background-color: #2f1d6b;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    font-size: 0.9rem;
    transition: background-color 0.3s;
  }
  
  .category-card a:hover {
    background-color: #5c3db9;
  }
  
  /* Custom background colors for each card type */
  .category-card.engineering {
    background: linear-gradient(145deg, #f0f9ff, #cde7ff);
  }
  
  .category-card.medical {
    background: linear-gradient(145deg, #f7ffe0, #d9ffba);
  }
  
  .category-card.law {
    background: linear-gradient(145deg, #fff2e0, #ffd6ba);
  }
  
  .category-card.defence {
    background: linear-gradient(145deg, #e0f7ff, #b3e7ff);
  }
  
  .category-card.banking {
    background: linear-gradient(145deg, #f7e0ff, #e1baff);
  }
  
  .category-card.government {
    background: linear-gradient(145deg, #ffe0e0, #ffbaba);
  }
  