@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,body {
  font-family: "Poppins", sans-serif;
  height: 100%;
}

.consult-page{
  height: 100%;
}

.main-consult {
  display: flex;
  height: 100%;
}

.consult-left {
  color: white;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 30px 10px;
  width: 170px;
  background-color: rgba(1, 29, 59, 1);
  border-radius: 0px 30px 30px 0px;
  box-shadow: 7px 0px 100px 0px rgba(1, 29, 59, 0.5);

}
.sidelogo img{
  height: 80px;
  width: 90px;
}
.menu-icon img{
  height: 50px;
  width: 95px;
}

.sm-div {
  list-style: none;
  display: flex;
  gap: 15px;
  margin-bottom: 20px;
}

.sm-links {
  color: white;
  text-decoration: none;
  font-size: 15px;
}

.sm-links :hover {
  color: rgb(222, 220, 220);
}

.logout-button a {
  text-decoration: none;
  display: block;
  color: white;
  font-size: 20px;
  font-weight: 400;
}

.logout-button a:hover {
  color: #dbd7d7;
}

.consult-header-info ul {
  list-style-type: none;
  display: flex;
  gap: 30px;
}

.consult-header-info ul li a {
  font-size: 25px;
}

.consult-header-info ul li a img{
  height: 50px;
  width: 50px;
}
.consult-right {
  width: 100%;
  margin: 20px 40px;
}
.consolt-header {
  display: flex;
  padding-bottom: 10px;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(1, 29, 59, 1);
}

.sidebar-toggle a{
  text-decoration: none;
  color: black;
}


.main-logo{
  text-align: center;
  margin: 20px 0;
}
.main-logo img{
  height: 187px;
  width: 864px;
}

.faq-container {
  width: 90%;
  max-width: 800px;
  background: #fff;
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}



.active{
  margin: 21px 10px;
}

.faq-search {
  width: 100%;
  padding: 8px 12px;
  margin-bottom: 20px;
  border: 1px solid #ddd;
  border-radius: 8px;
  outline: none;
  font-size: 14px;
  border: 2px solid rgba(1, 29, 59, 1);
  margin: 21px 10px;
}

.faq-item {
  border: 1px solid #ddd;
  border-radius: 15px;
  margin-bottom: 10px;
  overflow: hidden;
  border: 2px solid rgba(1, 29, 59, 1);
  box-shadow: 0px 0px 50px 0px rgba(0, 0, 0, 0.25);
  margin: 12px 10px;

}

.faq-question {
  width: 100%;
  padding: 20px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #f1f5f9;
  color: rgba(1, 29, 59, 1);
  font-size: 19px;
  font-weight: bold;
  border: none;
  outline: none;
  cursor: pointer;
  text-align: left;

}

.faq-question:hover {
  background: #e2e8f0;
}

.icon {
  font-size: 22px;
}

.faq-answer {
  display: none;
  padding: 12px 16px;
  font-size: 14px;
  background: #fff;
  color: #555;
}

/* Show answer for active item */
.faq-item.active .faq-answer {
  display: block;
}

.faq-item.active .icon {
  transform: rotate(180deg);
}
.search-wrapper {
  position: relative;
  width: 100%;
 
}

.faq-search {
  width: 98%;
  padding: 10px 40px 10px 12px; /* Add right padding for the icon */
  border: 1px solid rgba(1, 29, 59, 1);
  border-radius: 12px;
  font-size: 14px;
  outline: none;
}

.search-icon {
  position: absolute;
  left: 77rem;/* Adjust distance from the right */
  top: 50%;
  transform: translateY(-50%);
  font-size: 16px;
  color: #888; /* Icon color */
  pointer-events: none; /* Prevent the icon from blocking input field clicks */
}


/* responsive-section */



@media (max-width:920px) {
  .faq-search {
    width: 36rem;
}
}




@media only screen and (max-width: 768px) {

  .consult-left {
    position: fixed;
    left: -200px; /* Hide sidebar by default */
    transition: left 0.3s ease;
    z-index: 1000;
  }

  .consult-left.show {
    left: 0; /* Show sidebar when toggled */
  }

  .consult-left{
    width: 170px;
    margin-left: 0; /* Reset margin for full width */
  }

  .menu-icon {
    display: block; /* Ensure the menu icon is visible on mobile */
    cursor: pointer;
  }
  .consult-left {
    margin: 0;
  }
  .consult-header-info ul li a img {
    height: 35px;
    width: 36px;
}
.consult-header-info ul {
  gap: 20px;
}
.consult-right {
  margin: 0;
}
  .faq-search {
      width: 23rem;
  }

}





/* Popup Container */
.popup {
  display: flex;
  justify-content: center;
  align-items: center;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 9999;
}

.popup.hidden {
  display: none;
}

.popup-content {
  background-color:rgba(1, 33, 66, 0.1);
  border-radius: 12px;
  width: 700px;
  text-align: center;
  color: #fff;
  padding: 30px;
  backdrop-filter: blur(100px);

  box-shadow: 0px 0px 100px 0px rgba(0, 0, 0, 1);
  
}

/* Logo Section */
.logo-box img {
  width: 300px;

}

/* Confirmation Text */
.confirmation-text {
  font-size: 33px;
  margin-top: 30px;
  margin-bottom: 10px;
  font-weight: 600;
  color: #fff;
}

hr {
  border: none;
  height: 2px;
  background-color: #fff;
  width: 18%;
  margin: 11px auto 30px;
}

/* Button Group */
.popup-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 20px;
}

.popup-btn {
  padding: 10px 20px;
  font-size: 16px;
  border: none;
  border-radius: 15px;
  cursor: pointer;
  background-color: #4b4b4b;
  color: #fff;
  transition: background-color 0.3s ease;
}

.popup-btn:hover {
  background-color: #636363;
}

.confirm {
  background-color: rgba(254, 207, 15, 1);
  color: #000;
}
.confirm a{
  text-decoration: none;
  color: #000;
}
.confirm:hover {
  background-color: #ffda33;
}

/* Social Icons */
.social-icons {
  display: flex;
  justify-content: center;
  gap: 15px;
  font-size: 20px;
}

.social-icons a {
  color: rgba(255, 255, 255, 1);
  text-decoration: none;
  transition: color 0.3s ease;
}

.social-icons a:hover {
  color: #f6c708;
}



.menu-icon-bar{
  position: relative;
  top: 3rem;
  left: 1rem;
  display: none;
}

.menu-icon-bar i{
  font-size: 28px;
  color: #fff;

}