* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: "Lexend", sans-serif;
}

#slideContainer {
  width: 100%;
  padding: 0% 5px;
  max-height: 40vh;
  margin: auto;
  position: relative;
  overflow: hidden;
  margin-top: 85px;
}
.sliderBtn {
  position: absolute;
  background-color: rgba(48, 5, 50, 0.5);
  border: none;
  color: white;
  padding: 0.5rem;
  top: calc(50% - 1rem);
  z-index: 999;
  font-family: Nunito;
  font-weight: 600;
  font-size: 1.5rem;
  cursor: pointer;
  outline: none;
}
.sliderBtn:hover {
  background-color: rgba(48, 5, 50, 1);
}
.slider-controls {
  display: flex;
  gap: 1rem;
}

.sliderBtn {
  background: rgba(0, 0, 0, 0.5); /* Black with reduced opacity */
  color: #fff;
  border: none;
  border-radius: 50%; /* Makes it circular */
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.3s ease;
}

.sliderBtn:hover {
  background: rgba(0, 0, 0, 0.8); /* Darker on hover */
}

.icon {
  width: 24px;
  height: 24px;
}

button:focus {
  outline: none; /* Removes focus outline for a cleaner look */
}

#prev {
  left: 15px;
}
#next {
  right: 15px;
}
.slide {
  display: none;
}
.show {
  display: block;
  animation: fadein 1s ease-in-out 0s 1 normal forwards;
}
@keyframes fadein {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.slide p {
  padding: 1rem 0;
  background-color: white;
  color: black;
  text-align: center;
  font-family: Nunito;
  font-weight: 600;
}
.slide img {
  width: 100%;
  border-radius: 0.4rem;
  display: block;
  margin: auto;
  height: 140px;
  object-fit: cover;
}

/* movable news feed  */

.news-container {
  /* width: 100%; */
  overflow: hidden;
  background-color: rgb(146, 76, 11);
  color: #fff;
  padding: 10px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 20px;
}

.news-ticker {
  font-size: 12px;
  white-space: nowrap;
  animation: move 25s linear infinite;
}

@keyframes move {
  0% {
    transform: translateX(100%);
  }
  100% {
    transform: translateX(-100%);
  }
}

/* company list ui  */
#companyList {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  padding: 20px;
}

.company {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.company img {
  width: 50px;
  height: 50px;
  object-fit: cover;
  margin-bottom: 5px;
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
  background-color: #474e60;
  padding: 10px;
  border-radius: 10px;
}
.company span {
  font-size: 12px;
  color: white;
  /* color: #333; */
}

/* bg add  */

.bg-add {
  width: 100%;
  height: 25vh;
  border-radius: 15px;
  overflow: hidden;
}
.img-bg-add {
  width: 100%;
  height: 100%;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}
