/* Header Starts Here */

.header {
  padding: 15px 0;
  background-color: white;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.3);
}

.hamburgerIcon {
  width: 30px;
  height: 30px;
  border: none;
  outline: none;
  display: none;
  background-color: black;
}

.searchIcon {
  width: 30px;
  height: 30px;
  border: none;
  outline: none;
  display: none;
}
.hamburgerIcon img,
.searchIcon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.logo {
  width: 190px;
  height: 56px;
  background-size: 250px;
  background-position: -32px;
  background-repeat: no-repeat;
  background-image: url('admin/uploads/Logo1.png');
}

.headWrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navLinks a {
  color: #660000;
  font-weight: 700;
  font-size: 1.6rem;
  padding: 1rem 1.5rem;
  text-decoration: none;
  transition: all linear 0.5s;
}
.navLinks a:hover {
  color: white;
  border-radius: 5px;
  background-color: #660000;
}

.navLinks a + a {
  margin-left: 20px;
}

.headSearch {
  display: flex;
  align-items: center;
}

.searchHeader {
  width: 250px;
  border: none;
  outline: none;
  padding: 15px;
  border: 2px solid #660000;
  border-radius: 5px;
  background-color: white;
}

.shButton {
  width: 25px;
  height: 25px;
  border: none;
  padding: 10px;
  border-radius: 5px;
  margin-left: -45px;
  background-color: #660000;
}

.shButton img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.search-overlay {
  top: 0;
  left: 0;
  opacity: 0;
  width: 100%;
  height: 100%;
  z-index: 999;
  display: none;
  position: fixed;
  align-items: center;
  justify-content: center;
  transition: opacity 0.5s;
  background-color: #ffffffa3;
}

.search-overlay.show {
  opacity: 1;
  display: flex;
}



 .secHeading {
  margin-top: 0;
}

 input {
  width: 100%;
  font-size: 16px;
  padding: 8px 15px;
}

button {
  border: none;
  color: white;
  font-size: 16px;
  cursor: pointer;
  padding: 10px 20px;
  border-radius: 0 5px 5px 0;
  background-color: #660000;
}

 .closebtn {
  top: 5px;
  right: 20px;
  font-size: 35px;
  cursor: pointer;
  position: absolute;
}

.side-nav {
  top: 0;
  left: 0;
  width: 0;
  z-index: 1;
  height: 100%;
  position: fixed;
  transition: 0.5s;
  padding-top: 60px;
  overflow-x: hidden;
  background-color: #8c38b5;
}

.side-nav a {
  color: white;
  display: block;
  font-size: 2rem;
  transition: 0.3s;
  text-decoration: none;
  padding: 8px 8px 8px 32px;
}

.side-nav a:hover {
  color: #f1f1f1;
}

.side-nav .closebtn {
  top: 0;
  right: 25px;
  border: none;
  font-size: 36px;
  margin-left: 50px;
  position: absolute;
}

#main {
  transition: margin-left 0.5s;
}

/* Header Ends Here */

/* For screens less than or equal to 991px */
@media (max-width: 1024px) {
  .navLinks {
    display: none;
  }

  .headSearch {
    display: none;
  }
  .searchIcon {
      display: block;
      margin:-50px auto;
      float:right;
  }
  .hamburgerIcon{
      display:block;
  }
  .logo{
    margin: auto;
  }
}

/* For screens less than or equal to 880px */
@media (max-width: 880px) {
  /* Styles for 880px */
}

/* For screens less than or equal to 720px */
@media (max-width: 720px) {
  /* Styles for 720px */
}

/* For screens less than or equal to 640px */
@media (max-width: 640px) {
  /* Styles for 640px */
}

/* For screens less than or equal to 560px */
@media (max-width: 560px) {
.secHeading {
    font-size: 2.3rem;
  }
 .closebtn {
    font-size: 30px;
  }
}

/* For screens less than or equal to 480px */
@media (max-width: 480px) {
  .closebtn {
    right: 10px;
  }
.secHeading {
    font-size: 2rem;
  }
}

/* For screens less than or equal to 320px */
@media (max-width: 320px) {
  /* Styles for 320px */
}
.search-results {
 
  border-bottom: 1px solid #ccc;

}
/* for mobile serach */
@media (max-width: 991px) {
.search-result {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px;
  border-bottom: 1px solid #ccc;
  text-align: center;
}

.search-result img {
  width: 100%;
  height: auto;
  max-width: 150px; /* Adjust as needed */
  margin-bottom: 10px;
  cursor: pointer;
}

.search-title {
  font-size: 16px;
  font-weight: 600;
  color: black;
  text-align: center;
}

/* Close icon style for clearing the search */
.close-icon {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 20px;
  cursor: pointer;
}

.close-icon:hover {
  color: #666;
} 

}

/* for desktop search */
@media (min-width: 992px) {
  .search-overlay{
    display: none;
  }
  .searchIcon{
    display: none;
  }
.search-container {
  position: relative;
  width: 100%;
  max-width: 200px;
  margin: 0;
  padding: 0px;
}

#search-ba {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
}

.search-ico {
  position: absolute;
  top: 50%;
  right: 10px;
  transform: translateY(-50%);
  cursor: pointer;
}

#search-result {
  position: absolute;
  top: 100%;
  left: -18px;
  width: 100%;
  background-color: white;
  border-top: none;
  max-height: 400px;
  overflow-y: auto;
  z-index: 1;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.close-ico {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 20px;
  cursor: pointer;
}

.search-result {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px;
  border-bottom: 1px solid #ccc;
  text-align: center;
}

.search-result img {
  width: 100%;
  height: auto;
  max-width: 150px; /* Adjust as needed */
  margin-bottom: 10px;
  cursor: pointer;
}

.search-title {
  font-size: 16px;
  font-weight: 600;
  color: black;
  text-align: center;
}

.search-result:last-child {
  border-bottom: none;
}
}
/* For screens less than or equal to 320px */
@media (max-width: 991px) {
  .search-container{
    display: none;
  }
  .headWrap{
    display: flex;
    align-items: center;
    justify-content: unset;
  }
}