.portal-button {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  border-radius: var(--border-radius);
  overflow: hidden;
}
.portal-button span {
  position: absolute;
  bottom: 25px;
  right: 13px;
}
.portal-button::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
}
.portal-button:hover::before {
  background: rgba(37, 37, 37, 0.5);
}
.slider-section {
  margin-top: 30px;
}
.slider-section .swiper-slide {
  border-radius: var(--border-radius);
  overflow: hidden;
}
.slider-section .swiper-slide img {
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
}
.login-section .button-div {
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
}
.services-section,
.language-section {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 11px;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
}
.services-section > div {
  width: calc(25% - 9px);
  position: relative;
  border-radius: var(--border-radius);
  overflow: hidden;
}
.services-section a::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
}
.services-section a:hover::after {
  background: #151d3b81;
}
.services-section img {
  width: 100%;
  -o-object-fit: cover;
  object-fit: cover;
}
.services-section span {
  position: absolute;
  bottom: 25px;
  right: 13px;
  z-index: 1;
}
.news-section {
  background-color: var(--primary-color2);
  padding: 58px 0 57px 0;
}
.news-div {
  max-width: calc((100% - 1190px) / 2 + 1190px);
  margin-left: 0 !important;
}
.news-section .col-lg-10 {
  position: relative;
}
.news-section h2 {
  color: var(--light-color);
  text-align: center;
  width: 190px;
}
.news-section .r-div img {
  height: 358px;
  -o-object-fit: contain;
  object-fit: contain;
}
.news-section .swiper-slide {
  background: var(--light-color);
  border-radius: var(--border-radius);
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  height: auto;
}
.news-section .swiper-slide > div {
  padding: 18px;
  -webkit-box-flex: 1;
  -ms-flex: 1;
  flex: 1;
}
.news-section .swiper-slide img {
  border-radius: var(--border-radius);
}
.news-section .swiper-slide h3 {
  margin: 16px 0;
}
.news-section .swiper-slide a {
  color: var(--primary-color);
  position: relative;
  padding: 12px 18px;
  margin-top: 2px;
  text-align: center;
}
.news-section .swiper-slide a:hover {
  color: var(--button-text-color);
}
.news-section .swiper-slide a:hover::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  background-color: var(--primary-color);
  border-radius: 0 0 var(--border-radius) var(--border-radius);
  z-index: -1;
}
.news-section .swiper {
  position: unset;
  margin-bottom: 65px;
}
.news-section .swiper-button-next:hover,
.news-section .swiper-button-prev:hover {
  background-color: var(--secondary-color2-hover);
}
.news-section .swiper-button-next,
.news-section .swiper-button-prev {
  bottom: 0;
  top: auto;
  right: 0;
  color: var(--button-text-color);
  background-color: var(--secondary-color2);
  width: 49px;
  height: 49px;
  border-radius: 50px;
  font-weight: bold;
}
.news-section .swiper-button-next {
  right: 58px;
}
.language-section .back-img {
  width: 100%;
  -o-object-fit: cover;
  object-fit: cover;
}
.language-section .flag-img {
  width: 40px;
}
.language-section > a {
  width: calc(25% - 9px);
  position: relative;
  border-radius: var(--border-radius);
  overflow: hidden;
  display: block;
}
.language-section > a::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
}
.language-section > a:hover::after {
  background: #151d3b81;
}
.language-section .language-div {
  position: absolute;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  gap: 18px;
  bottom: 18px;
  right: 18px;
  z-index: 1;
}
.login-section .button-style,
.login-section .button-style2 {
  width: 230px;
}
@media screen and (max-width: 1400px) {
  .news-div {
    max-width: calc((100% - 1140px) / 2 + 1140px);
  }
}
@media screen and (max-width: 1200px) {
  .news-div {
    max-width: calc((100% - 960px) / 2 + 960px);
  }
  .news-section h2 {
    width: 100%;
  }
  .login-section .button-style,
  .login-section .button-style2 {
    width: 100%;
  }
}
@media screen and (max-width: 992px) {
  .news-div {
    max-width: calc((100% - 720px) / 2 + 720px);
  }
  .news-section,
  .language-section,
  .newsletter-section {
    margin-top: 30px;
  }
  .login-section .button-style,
  .login-section .button-style2 {
    padding: 14px 15px;
    text-align: center;
  }
  .services-section > div {
    width: calc(100% / 3 - 8px);
  }
  .language-section > a {
    width: calc(50% - 8px);
  }
}
@media screen and (max-width: 767px) {
  .news-div {
    max-width: calc((100% - 540px) / 2 + 540px);
  }
  .services-section > div,
  .language-section > a {
    width: calc(50% - 6px);
  }
}
@media screen and (max-width: 576px) {
  .news-div {
    max-width: 100%;
    padding-right: calc(var(--bs-gutter-x) * 0.5);
  }
}
@media screen and (max-width: 400px) {
  .services-section > div,
  .language-section > a {
    width: 100%;
  }
}
