.internship_banner_container {
  background: #fff;
  padding: 1rem 0;
  text-align: center;
  color: #222;
  border-radius: 1rem;
  min-height: 35rem;
  position: relative;
  height: 5rem;
  overflow: hidden;
  width: 100vw;
  max-width: 100vw;
}
@media (max-width: 1280px) {
  .internship_banner_container {
    min-height: 37rem;
  }
}
.internship_banner_container .item_container {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}
/* .categories-row {
  flex: 1 1 180px;
  min-width: 180px;
  max-width: 220px;
  margin: 0.5rem;
  padding: 1rem 0.5rem;
  border-radius: 12px;
  border: 2px solid #222;
  height: 15rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: #d32f2f;
  color: #fff;
} */

.internship_banner_logo {
  position: absolute;
  left: 50%;
  top: 0px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  /* padding: 1rem; */
  border-radius: 1rem;
  z-index: 0;
  /* height: 100%; */
  /* min-width: 15rem; */
  overflow: hidden;
  z-index: 20;
  transform: translateX(-50%);
  margin-top: 1rem;
}
.internship_banner_logo img {
  width: 100px;
  height: 100%;
  border-radius: 8px;
  border: 0px solid #222;
  object-fit: cover;
  margin: 0 auto;
  display: block;
  opacity: 1;
  width: 70%;
  z-index: 20;
}
/*  */

.side-image-left.hide-on-mobile {
  position: absolute;
  left: -10rem;
  top: 0px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  /* padding: 1rem; */
  border-radius: 1rem;
  z-index: 0;
  height: 100%;
  min-width: 15rem;
  overflow: hidden;
  z-index: 20;
}
.side-image-right.hide-on-mobile {
  position: absolute;
  right: -9rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  border-radius: 1rem;
  z-index: 0;
  overflow: hidden;
  height: 100%;
  min-width: 15rem;
  bottom: 0;
}
.side-image-left.hide-on-mobile img {
  width: 100px;
  height: 140%;
  border-radius: 8px;
  border: 0px solid #222;
  object-fit: cover;
  margin: 0 auto;
  display: block;
  /* opacity: 0.5; */
  width: 100%;
  z-index: -20;
}
.side-image-right.hide-on-mobile img {
  width: 100px;
  height: 100%;
  border-radius: 8px;
  border: 0px solid #222;
  object-fit: cover;
  margin: 0 auto;
  display: block;
  opacity: 0.5;
  width: 100%;
}

/* CATEGORIES */
.internship-category {
  flex: 1 1 180px;
  min-width: 180px;
  max-width: 220px;
  margin: 0.5rem;
  padding: 1rem 0.5rem;
  border-radius: 12px;
  border: 2px solid #222;
  height: 15rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: #d32f2f;
  color: #fff;
}
.internship-category h3 {
  font-size: 1.5rem;
  margin-bottom: 0.3rem;
  font-weight: bold;
  letter-spacing: 0.3px;
  color: #222;
  text-align: center;
}
.internship-category h3:not(.iot) {
  text-transform: uppercase;
}
.internship-category p {
  opacity: 0.9;
  font-size: 1rem;
  font-weight: 500;
  color: white;
  text-align: center;
}
.main-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 1rem;
  border-radius: 1rem;
  margin: 0 0.5rem;
  z-index: 100;
  margin-top: 6rem;
}
.main-content h1 {
  font-size: 3.2rem;
  font-weight: bold;
  margin-bottom: 0.5rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
  /* position: absolute; */
  left: 50%;
  /* transform: translateX(-50%); */
  top: 20%;
}
.internship-category p {
  font-size: 1rem;
  font-weight: 500;
  color: white;
  text-align: center;
}
.main-content .internship_banner_description {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  opacity: 0.9;
  /* position: absolute;
  left: 50%;
  transform: translateX(-50%); */
  top: 30%;
}
@media (max-width: 1200px) {
  .internship-category {
    /* width: 12rem; */
    margin: 0 0.25rem;
    flex: 1 1 160px;
    min-width: 160px;
  }
  .internship-category h3 {
    font-size: 1rem;
    width: 10rem;
  }
  .side-image-left.hide-on-mobile img {
    height: 100%;
  }
}

/* Responsive styles for internship banner */
@media (max-width: 991px) {
  .internship_banner_container .item_container {
    flex-direction: column !important;
    align-items: center !important;
    justify-content: flex-start !important;
    padding: 0.5rem 0.2rem !important;
  }
  .side-image-left.hide-on-mobile,
  .side-image-right.hide-on-mobile {
    /* width: 80px !important; */
    height: auto !important;
    margin: 0.5rem auto !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
  }
  .side-image-left.hide-on-mobile {
    position: absolute;
    left: 0;
  }
  .side-image-left.hide-on-mobile img,
  .side-image-right.hide-on-mobile img {
    /* width: 60px !important;
    height: 60px !important; */
    position: absolute;
    object-fit: cover;
    border-radius: 8px;
    margin: 0 auto;
    display: block;
  }
  .side-image-left.hide-on-mobile img {
    position: absolute;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
    margin: 0 auto;
    display: block;
  }
  .internship_banner_logo img {
    width: 60px !important;
    margin-top: 0.5rem !important;
  }
  .main-content {
    margin-top: 0.5rem !important;
    padding: 0.5rem !important;
  }
}

@media (max-width: 575px) {
  .side-image-left.hide-on-mobile,
  .side-image-right.hide-on-mobile {
    width: 50px !important;
  }
  .side-image-left.hide-on-mobile img,
  .side-image-right.hide-on-mobile img {
    width: 40px !important;
    height: 40px !important;
  }
  .main-content h1 {
    font-size: 1.05rem !important;
  }
  .main-content .internship_banner_description {
    font-size: 0.9rem !important;
  }
  .internship-category h3 {
    font-size: 0.95rem !important;
  }
  .internship-category p {
    font-size: 0.7rem !important;
  }
  .internship-category svg {
    width: 30px !important;
    height: 30px !important;
  }
  .cta-section a {
    font-size: 0.8rem !important;
    padding: 0.4rem 0.7rem !important;
    border-radius: 12px !important;
  }
}
