.line-left {
  height: 16px;
  width: 50%;
  background: var(--primary-linear);
}

.line-right {
  height: 16px;
  width: 50%;
  background: var(--primary-linear-reversed);
  margin-left: auto;
  float: right;
}

.home-swiper {
  position: relative;
  width: 100vw;
  height: calc(100vh - 190px);
}

.home-swiper .swiper-slide {
  position: relative;
}

.home-swiper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-swiper .content-container {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  text-align: center;
}

.home-swiper .content-container .content-inner {
  background: rgba(217, 217, 217, 0.6);
  padding: 97px 24px 12px 24px;
}

.home-swiper .content-container .content-inner .title {
  font-size: 30px;
  padding-bottom: 92px;
  color: var(--white);
  font-weight: 400;
}

.home-swiper .content-container .content-inner .title .first {
  font-weight: 900;
  color: var(--primary);
}

.home-swiper .content-container .content-inner .title .second {
  font-weight: 900;
  color: var(--white);
}

.home-swiper .content-container .content-inner .alt {
  color: var(--primary);
  text-align: center;
  font-size: 12.5px;
  font-weight: 400;
}

.content-container .socials {
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-size: 18px;
  padding-top: 12px;
}

/* --- Animation --- */
@keyframes fadeInSlideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.home-swiper .swiper-slide .content-container > .content-inner,
.home-swiper .swiper-slide .content-container > .socials {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out 0.3s, transform 0.8s ease-out 0.3s;
}

.home-swiper .swiper-slide .content-container > .socials {
  transition-delay: 0.5s;
}

.home-swiper
  .swiper-slide.swiper-slide-active
  .content-container
  > .content-inner,
.home-swiper .swiper-slide.swiper-slide-active .content-container > .socials {
  opacity: 1;
  transform: translateY(0);
}

.new-prod {
  /* padding-top: 38px;
  padding-bottom: 38px; */
  width: 100%;
  background: linear-gradient(
    90deg,
    #416ba9 0%,
    rgba(0, 114, 187, 0.01) 89.92%
  );
  position: relative;
}

.new-prod .inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.new-text .title {
  color: var(--white);
  font-size: 64px;
}

.new-text .subtitle {
  color: var(--white);
  font-size: 32px;
}

.new-image {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.new-prod .right {
  color: var(--primary);
  text-align: center;
  font-size: 40px;
}

.new-prod .right .title {
  font-weight: 900;
}

.new-prod .right .subtitle {
  font-weight: 400;
}

.categories {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
  grid-template-rows: 250px 250px 200px;
  grid-gap: 16px;
  padding: 32px 0 64px 0;
}

/* .item12 {
  grid-column: 2 / 5;
} */

.categories .box {
  position: relative;
  width: 100%;
  height: 250px;
  overflow: hidden;
  cursor: pointer;
}

.categories .box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  box-shadow: inset 0 -50px 50px rgba(0, 0, 0, 0.6);

}

.categories .box .overlay {
  display: flex;
  flex-direction: column;
  align-items: center;
  /* justify-content: center; */
  background: rgba(65, 107, 169, 0.64);
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  gap: 6px;
  padding-top: 42px;
  /* opacity: 0; */
  transform: translateX(100%);
  visibility: hidden;
  transition: all 0.3s ease-in-out;
}

.categories .box:hover .overlay {
  opacity: 1;
  transform: translateX(0);
  visibility: visible;
}

.categories .box .subtitle {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--white);
  font-size: 12.513px;
  font-weight: 400;
  text-align: center;
  opacity: 1;
  transition: var(--transition);
  background-color: rgba(0, 0, 0, 0.4);
  width: 100%;
}


.categories .box:hover .subtitle {
  opacity: 0;
  transform: translateX(-20px);
}


.overlay .read-more {
  color: var(--white);
  font-size: 12.886px;
  font-style: normal;
  font-weight: 400;
  text-decoration: underline;
}

.overlay .title {
  color: var(--white);
  text-align: center;
  font-weight: 500;
}

.overlay .icon {
  font-size: 57px;
  color: var(--white);
}

.kimiz {
  padding-top: 48px;
  padding-bottom: 24px;
}

.kimiz .title {
  background: linear-gradient(
    90deg,
    rgba(65, 107, 169, 0.64) 30%,
    rgba(255, 255, 255, 0.64) 50%
  );
  padding: 24px 0 24px 0;
}

.kimiz .title .inner {
  font-size: 50px;
  color: var(--white);
}

.kimiz .title .inner span {
  font-weight: 600;
}

.kimiz .image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.katalog {
  display: flex;
}

.katalog .left {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.katalog .left .image {
  position: absolute;
  left: 35%;
  top: 50%;
  transform: translate(-50%, -50%);
}

.katalog .left .text {
  font-size: 32px;
  color: var(--primary);
  width: 50%;
  text-transform: uppercase;
  text-align: center;
}

.katalog .left .text span {
  font-weight: 600;
}

.katalog .right {
  position: relative;
  width: 70%;
}

.katalog .right .image {
  position: relative;
  /* width: 80%; */
}

.katalog .right img {
  margin-left: auto;
  float: right;
  width: 100%;
}

.katalog .right .text {
  background: var(--primary);
  box-shadow: 8px 14px 7.3px 6px rgba(0, 0, 0, 0.25);
  color: var(--white);
  font-size: 26px;
  font-weight: 700;
  position: absolute;
  left: 0;
  top: 0;
  padding: 8px 16px;
}

/* Responsive Styles */
@media screen and (max-width: 1200px) {
  .new-text .title {
    font-size: 50px;
  }

  .new-text .subtitle {
    font-size: 26px;
  }

  .new-prod .right {
    font-size: 32px;
  }

  .categories {
    grid-template-rows: 220px 220px 180px;
  }

  .katalog .left .text {
    font-size: 28px;
  }

  .katalog .right .text {
    font-size: 22px;
  }

  .kimiz .title .inner {
    font-size: 40px;
  }
}

@media screen and (max-width: 992px) {
  .home-swiper {
    height: calc(100vh - 160px);
    min-height: 400px;
  }

  .home-swiper .content-container .content-inner {
    padding: 60px 20px 10px 20px;
  }

  .home-swiper .content-container .content-inner .title {
    font-size: 26px;
    padding-bottom: 60px;
  }

  .new-text .title {
    font-size: 40px;
  }

  .new-text .subtitle {
    font-size: 22px;
  }

  .new-prod .right {
    font-size: 28px;
  }

  .categories {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: repeat(5, 200px);
  }

  .item10 {
    grid-column: auto;
  }

  .kimiz .title .inner {
    font-size: 36px;
    padding-left: 15px;
  }

  .katalog {
    flex-direction: column;
  }

  .katalog .left {
    width: 100%;
    min-height: 200px;
    margin-bottom: 30px;
  }

  .katalog .left .image {
    left: 50%;
  }

  .katalog .left .text {
    width: 80%;
    font-size: 24px;
  }

  .katalog .right {
    width: 100%;
  }
}

@media screen and (max-width: 768px) {
  .home-swiper {
    height: 400px;
  }

  .home-swiper .content-container .content-inner {
    padding: 40px 15px 10px 15px;
  }

  .home-swiper .content-container .content-inner .title {
    font-size: 22px;
    padding-bottom: 40px;
  }

  .content-container .socials {
    font-size: 16px;
  }

  .new-prod .inner {
    flex-direction: column;
    padding: 30px 0;
    text-align: center;
  }

  .new-text {
    margin-bottom: 15px;
  }

  .new-text .title {
    font-size: 32px;
  }

  .new-text .subtitle {
    font-size: 20px;
  }

  .new-image {
    position: relative;
    top: 0;
    left: 0;
    transform: none;
    margin: 20px 0;
  }

  .new-prod .right {
    font-size: 24px;
  }

  .categories {
    grid-template-columns: 1fr;
    padding: 20px 0 40px 0;
  }

  .categories .box {
    height: 200px;
  }

  .categories .box .overlay {
    transform: translateX(0);
    visibility: visible;
    opacity: 1;
    background: rgba(65, 107, 169, 0.5);
  }

  .kimiz .title .inner {
    font-size: 30px;
    text-align: center;
  }

  .katalog .left .text {
    font-size: 22px;
  }

  .katalog .right .text {
    font-size: 18px;
    padding: 6px 12px;
  }
}

@media screen and (max-width: 576px) {
  .home-swiper {
    height: 350px;
  }


  .home-swiper .content-container .content-inner {
    padding: 30px 10px 8px 10px;
  }

  .home-swiper .content-container .content-inner .title {
    font-size: 18px;
    padding-bottom: 30px;
  }

  .home-swiper .content-container .content-inner .alt {
    font-size: 11px;
  }

  .content-container .socials {
    font-size: 14px;
    gap: 8px;
  }

  .new-text .title {
    font-size: 28px;
  }

  .new-text .subtitle {
    font-size: 18px;
  }

  .new-prod .right {
    font-size: 20px;
  }

  .categories {
    grid-gap: 10px;
    padding-left: 12px;
    padding-right: 12px;
  }

  .categories .box {
    height: 180px;
  }

  .categories .box .subtitle {
    opacity: 0;
  }

  .categories .box .overlay .icon {
    font-size: 40px;
  }

  .categories .box .overlay {
    padding-top: 30px;
  }

  .kimiz .title .inner {
    font-size: 24px;
  }

  .katalog .left .text {
    width: 90%;
    font-size: 20px;
  }

  .katalog .right .text {
    font-size: 16px;
    padding: 5px 10px;
  }
}
