#hero {
  height: 865px !important;
  flex-direction: column;
  gap: 2rem;
}

.hero-video,
.hero-image {
  width: 100%;
  height: auto;
  min-height: 650px;
  border-radius: 0;
  object-fit: cover;
  filter: brightness(0.6);
}

.media-container {
  width: 100%;
  left: 0;
  top: 0;
  bottom: 0;
  z-index: 1;
}

.media-container::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 4%;
  background-color: transparent;
  backdrop-filter: blur(4px);
}

.hero-second-menu-wrapper {
  transform: translate(-50%, -50%);
  padding: 0 1% 0 10.5%;
  gap: 0.5rem;
}

.hero-second-menu-wrapper a:hover {
  color: #2b5ba8;
}

.hero-second-menu-bg {
  position: absolute;
  background: #d9edfd;
  left: 5%;
  right: 15%;
  height: 10%;
  z-index: 998;
  display: flex;
  gap: 3rem;
  padding-left: 10rem;
  align-items: center;
}

.hero-second-menu-bg a {
  color: black;
  font-weight: bold;
}

.hero-bottom-blur {
  background-color: transparent;
  backdrop-filter: blur(4px);
  height: 10%;
  right: 0%;
  width: 20%;
}

.hero-text-and-search {
  transform: translate(-50%, -50%);
  max-width: 730px;
  width: 85%;
  z-index: 1;
  text-shadow: 1px 0px 1px rgba(0, 0, 0, 0.47);
}

.hero-sidebar {
  width: 30%;
  height: 700px;
  min-width: 320px;
  background-color: var(--header-bg);
  padding: 0 40px;
  position: relative;
}

.image-slider {
  position: relative;
}

.slider-btn {
  width: 10px;
  height: 10px;
  background-color: var(--header-text);
  border-radius: 50%;
  margin-right: 0.5rem;
  border: none;
}

.slider-btn.active {
  background-color: #fffcfb;
  cursor: default;
  pointer-events: none;
}

.video-control {
  width: fit-content;
  color: var(--header-text);
  border: none;
  background: none;
  font-weight: 300;
}

.slider-btn-wrapper {
  margin: 10px 40px 0 0;
}

.hero-video-controls {
  display: none !important;
}

.custom-hero-slider {
  border-radius: 30px;
  width: 100%;
  z-index: 3;
  background: #fff;
  position: relative;
}

.hero-menu {
  position: absolute;
  top: 93%;
  left: 15%;
}

.hero-menu a {
  color: black !important;
  font-weight: bold;
}

.post-btn {
  color: #09355d;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 0.3rem;
  transition: all ease 0.5s;
}

.post-btn:hover {
  color: #1b5c99 !important;
}

.newsletter {
  position: absolute;
  z-index: 2;
  top: 5%;
  background-color: #d4ebf7;
  right: 0;
  padding: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  border-radius: 4px 0px 0px 4px;
  color: #0a355d;
  font-size: 14px;
  font-weight: 600;
  transition: all ease 0.7s;
}

.newsletter:hover {
  cursor: pointer;
  color: #0a355d;
  padding: 0.5rem 3rem 0.5rem 0.5rem;
}

#newsletter-popup input[type="email"] {
  width: 100%;
  padding: 10px;
  margin-bottom: 10px;
}

#newsletter-popup input[type="submit"] {
  background: #9f2626;
  color: #fff;
  padding: 10px 20px;
  border: none;
}

#news {
  box-shadow: 6px 0px 6px #00000029;
  border-radius: 30px 30px 0px 0px;
  padding-top: 2rem;
  padding-bottom: 2rem;
  border-bottom: 12px solid #0a355d !important;
}

#news-slider-prev {
  margin-right: 1rem;
}

.news-slider-buttons {
  text-align: end;
  position: absolute;
  right: 4rem;
  top: -2rem;
  gap: 0.5rem;
}

.news-slider-buttons .custom-slider-btn1.slick-disabled {
  opacity: 0.6;
  background-color: #f8f1e3 !important;
  color: #3a5c73 !important;
  cursor: default;
}

.custom-slider-btn,
.custom-slider-btn1 {
  background-color: #d4ebf7 !important;
  transition: all ease 0.3s;
}

.custom-slider-btn:hover,
.custom-slider-btn1:hover {
  background-color: #1b5c99 !important;
  color: #fff;
}

.news-post a {
  color: #09355d;
  font-size: 0.9rem;
  font-weight: 600;
}

.post-img {
  background-color: #d4ebf7;
  width: 130px;
  height: 130px;
  border-radius: 20px;
  justify-content: center;
  align-items: center;
  display: flex;
  flex-direction: column;
  text-align: center;
  gap: 0.5rem;
}

.post-img img {
  width: 50px;
}

@media (max-width: 450px) {
  #hero {
    height: 1000px;
  }
  .hero-video {
    height: 800px !important;
  }
}

@media (max-width: 425px) {
  .hero-sidebar {
    height: 580px;
  }
}

@media (max-width: 570px) {
  .hero-text-and-search {
    max-width: 400px !important;
  }
}

@media (max-width: 770px) {
  .hero-second-menu-bg,
  .hero-bottom-blur,
  .media-container::before {
    display: none !important;
  }

  #hero::before {
    width: 100% !important;
    left: 0% !important;
    background-size: 11% 91%;
    background-position-y: 13%;
    background-position-x: 10%;
    height: 14% !important;
  }
}

@media (max-width: 650px) {
  #hero::before {
    background-size: 13% 90%;
  }
}

@media (max-width: 550px) {
  #hero::before {
    background-size: 15% 90%;
  }
}

@media (max-width: 440px) {
  #hero::before {
    background-size: 19% 90%;
  }
}

@media (max-width: 900px) {
  .media-container::before {
    width: 2%;
  }

  #hero::before {
    width: 12%;
    left: 2%;
  }
}

@media (max-width: 1035px) {
  .hero-text-and-search {
    max-width: 555px !important;
  }
}

@media (max-width: 1100px) {
  .hero-menu {
    display: none !important;
  }
}

@media (max-width: 1090px) {
  .newsletter-modal {
    width: 90% !important;
  }

  .newsletter-close {
    top: 15% !important;
    right: 6% !important;
  }
}

@media (max-width: 1150px) {
  #hero::before {
    width: 10%;
  }
}

@media (max-width: 1199px) {
  .hero-second-menu-wrapper {
    justify-content: space-between !important;
  }
}

@media (max-width: 1347px) {
  .hero-second-menu-bg a {
    font-size: 14px;
  }
}

@media (max-width: 1350px) {
  #hero::before {
    background-size: 87% 13%;
  }

  .hero-menu a {
    font-size: 14px;
  }

  .hero-menu {
    gap: 2rem !important;
  }
}

@media (max-width: 1600px) {
  #hero::before {
    background-size: 85% 16%;
  }
}

@media (max-width: 949px) {
  .hero-second-menu-wrapper {
    gap: 1.5rem !important;
  }
}

@media (max-width: 942px) {
  .hero-second-menu-wrapper {
    justify-content: center !important;
  }
}

@media (min-width: 1200px) {
  .hero-second-menu-wrapper {
    justify-content: start !important;
    gap: 3rem !important;
  }
}

@media (max-width: 1000px) {
  .hero-second-menu-bg.scrolling {
    top: 111px;
  }
}
