/* From Uiverse.io by DipeshPun91 */ 
.navbar-container {
  display: flex;
  justify-content: center;
  padding: 1rem;
}

.search-bar {
  display: flex;
  align-items: center;
  width: 100%;
  max-width: 500px;
  background-color: #1a1b23;
  padding: 0.5rem 1rem;
  border-radius: 30px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
  transition: all 0.3s ease;
  border: 1px solid #2a2b33;
}

.search-bar:focus-within {
  background-color: #222533;
  border-color: #00ff99;
  box-shadow: 0 4px 15px rgba(0, 255, 153, 0.35);
}

.search-bar:hover {
  background-color: #222533;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.35);
}

.InputContainer {
  display: flex;
  align-items: center;
  flex-grow: 1;
  gap: 0.75rem;
}

.input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 1rem;
  background: none;
  color: #f0f0f0;
  padding: 0.5rem 0;
  font-family: inherit;
}

.input::placeholder {
  color: #8a8a8a;
  opacity: 1;
  transition: opacity 0.2s ease;
}

.input:focus::placeholder {
  opacity: 0.5;
}

.searchIcon {
  width: 20px;
  height: 20px;
  fill: #8a8a8a;
  transition: fill 0.2s ease;
}

.search-bar:focus-within .searchIcon {
  fill: #00ff99;
}

.border {
  width: 1px;
  height: 24px;
  background-color: #3a3b43;
  margin: 0 0.75rem;
}

.micButton {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 50%;
  background: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.micButton:hover {
  background-color: #2a2b33;
}

.micIcon {
  width: 18px;
  height: 18px;
  fill: #8a8a8a;
  transition: fill 0.2s ease;
}

.micButton:hover .micIcon {
  fill: #ff5100;
}
.ourabout input, button{
  pointer-events: all;
  
  z-index: 100;
}
/* .ai-card a{
    display: block;
    cursor: pointer;
     pointer-events: all;
  
  z-index: 100;
} */






.mchj-search {
    font-family: 'Inter', sans-serif;
  }

  .mchj-search .search-bar {
    width: 100%;
    max-width: 550px;
    background-color: #1a1a1a;
    border: 1px solid #2b2b2b;
    border-radius: 50px;
    padding: 0.5rem 1rem;
    transition: all 0.3s ease;
  }

  .mchj-search .search-bar:focus-within {
    border-color: #2b6ef5;
    box-shadow: 0 0 10px rgba(43, 110, 245, 0.5);
  }

  .mchj-search .search-icon {
    width: 22px;
    height: 22px;
    fill: #9ca3af;
    flex-shrink: 0;
  }

  .mchj-search .form-control::placeholder {
    color: #9ca3af;
  }

  .mchj-search .card {
    background: linear-gradient(145deg, #1e1e1e, #272727);
    border: 1px solid #2b2b2b;
    color: #e5e7eb;
    border-radius: 1rem;
    margin-top: 2rem;
    padding: 1.5rem;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    max-width: 550px;
    width: 100%;
  }

  .mchj-search .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(43, 110, 245, 0.3);
  }

  .mchj-search h4 {
    color: #3b82f6;
  }

  .mchj-search .text-danger {
    color: #f87171 !important;
  }

  @media (max-width: 576px) {
    .mchj-search .search-bar {
      max-width: 100%;
      border-radius: 30px;
    }
  }


.ai-container {
  margin-top: 30px;
  margin-bottom: 50px;
}

.ai-card {
  overflow: visible;
  width: 100%;
  height: 230px;
  margin-bottom: 20px;
  background-color: #222;
}

.ai-content {
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transition: transform 300ms;
  box-shadow: 0px 0px 10px 1px #000000ee;
  border-radius: 5px;
}

.ai-front, .ai-back {
  background-color: #151515;
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  border-radius: 5px;
  overflow: hidden;
}

.ai-back {
  justify-content: center;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.ai-back::before {
  position: absolute;
  content: '';
  display: block;
  width: 160px;
  height: 160%;
  background: linear-gradient(90deg, transparent, #ff9966, #ff9966, #ff9966, transparent);
  animation: ai-rotation 5000ms infinite linear;
}

.ai-back-content {
  position: absolute;
  width: 99%;
  height: 99%;
  background-color: #151515;
  border-radius: 5px;
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 30px;
}

.ai-card:hover .ai-content {
  transform: rotateY(180deg);
}

@keyframes ai-rotation {
  0% { transform: rotateZ(0deg); }
  100% { transform: rotateZ(360deg); }
}

.ai-front {
  transform: rotateY(180deg);
  color: white;
}

.ai-front-content {
  position: absolute;
  width: 100%;
  height: 100%;
  padding: 10px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.ai-badge {
  background-color: #00000055;
  padding: 2px 10px;
  border-radius: 10px;
  backdrop-filter: blur(2px);
  width: fit-content;
}

.ai-description {
  box-shadow: 0px 0px 10px 5px #00000088;
  width: 100%;
  padding: 10px;
  background-color: #00000099;
  backdrop-filter: blur(5px);
  border-radius: 5px;
}

.ai-title {
  font-size: 11px;
  max-width: 100%;
  display: flex;
  justify-content: space-between;
}

.ai-footer {
  color: #ffffff88;
  margin-top: 5px;
  font-size: 9px;
  padding: 0 !important;
}

.ai-robot-wrapper {
  width: 100px;
  height: 100px;
  margin: 10px auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ai-robot {
  height: 100%;
  animation: ai-float 2s ease-in-out infinite;
}

@keyframes ai-float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-5px); }
  100% { transform: translateY(0px); }
}

.search-bar .form-control:focus {
  box-shadow: none !important;
  outline: none !important;
  border-color: transparent !important;
}
