body, html {
  overflow-x: hidden !important;
}

.slider {
  position: relative;
  width: 100%;
  height: 70vh; /* Change height as needed */
  overflow: hidden;
}

.slide-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  animation: kenburns 20s infinite ease-in-out;
  opacity: 0;
  filter: brightness(50%);
}

.slide:first-child {
  opacity: 1;
}

.slide-title {
  position: absolute;
  bottom: 35%;
  left: 50%;
  transform: translateX(-50%);
  font-size: 32px;
  font-weight: 900;
  color: white;
  padding: 10px;
  border-radius: 5px;
}

@keyframes kenburns {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.2);
  }
  100% {
    transform: scale(1);
  }
}

@media (max-width: 768px) {
  .slider {
    height: 40vh;
  }
}

.arrow {
  position: absolute;
  top: 50%;
  z-index: 2;
  font-size: 2rem;
  background: transparent;
  border: none;
  cursor: pointer;
  color: white;
  opacity: 0.8;
}

.arrow-left {
  left: 10px;
}

.arrow-right {
  right: 10px;
}

.section-heading {
  text-align: center;
  margin-top: 40px;
}

.flex-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: stretch;
  justify-items: center;
  justify-content: center;
}

.flex-item2 {
  flex: 0 0 calc(100% - 20px); /* For screens smaller than 600px, one item per row */
  height: auto;
  margin: 10px;
}

.flex-item2 b {
  font-size: 11pt;
}

.flex-item2 a, .flex-item2 a:link {
  color: #000 !important;
  font-size: 11pt;
  font-weight: bold;
}

.flex-item2 a:hover {
  color: #F8951F !important;
}

.flex-item2 .image-container {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  min-height: 200px;
  width: 100%;
  border-radius: 20px;
}

.flex-item2 .image-container img {
  object-fit: cover;  /* Cover size */
  width: 100%;
  aspect-ratio: 16/9;
  height: 100%;  /* Added to make sure image takes full height */
  transition: transform .3s ease-in-out;
}

.flex-item2 .image-container:hover img {
  transform: scale(1.1);
}

@media (min-width: 601px) {
  .flex-item2 {
    flex: 0 0 calc(50% - 20px); /* For screens between 601px and 900px, two items per row */
  }

  .homepage-section .content-box {
    min-width: 600px;
  }
}

@media (min-width: 901px) {
  .flex-item2 {
    flex: 0 0 calc(33.333% - 20px); /* For screens larger than 900px, three items per row */
  }
  .homepage-section .content-box {
    min-width: 900px;
  }
}

.homepage-section {
  padding-bottom: 60px;
  padding-top: 60px;
  display: flex;
  justify-content: center;
}

.homepage-section .content-box {
  max-width: 1200px;
}

.homepage-section-notop {
  padding-top: 0px !important;
}

.homepage-section .section-heading {
  margin-bottom: 40px;
}

.grayBgr {
  background-color: #eee;
}

.content-area {
  padding-left: 0px;
  padding-right: 0px;
}

/* Featured in */
.featuredIn-container {
  display: flex;
  flex-wrap: wrap;
  margin: -10px;
  justify-content: center;
}

.featuredIn-item {
  flex: 0 0 calc(50% - 20px); /* For mobile screens, two items per row */
  box-sizing: border-box;
  height: auto;
  margin: 10px;
}

.image-container {
  position: relative;
  overflow: hidden;
  height: 100px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.image-container img {
  object-fit: contain;  /* Cover size */
  width: 100%;
  height: 100%;
}

@media (min-width: 601px) {
  .featuredIn-item {
    flex: 0 0 calc(33.333% - 20px); /* For screens between 601px and 900px, three items per row */
  }
}

@media (min-width: 901px) {
  .featuredIn-item {
    flex: 0 0 calc(25% - 20px); /* For screens 901px or more, four items per row */
  }
}

* {
  border: none !important;
}