
@keyframes floatUp {
  0% {
    transform: translateY(20px) scale(1);
  }
  50% {
    transform: translateY(-20px) scale(1.05);
  }
  100% {
    transform: translateY(20px) scale(1);
  }
}
@keyframes carpet-animation {
  from {
    transform: translateY(0);
  }
  to {
    transform: translateY(22px);
  }
}
@keyframes rug-animation {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(7px);
  }
}
@keyframes rug-return-animation {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-7px);
  }
}
.carpet-animation{
  animation: carpet-animation 2.5s infinite alternate ease;
}
.rug-animation{
  animation: rug-animation 2.5s infinite alternate ease;
}
.rug-return-animation{
  animation: rug-return-animation 2.5s infinite alternate ease;
}
.carpet-wrapper {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 1100px;
}
@media screen and (width <= 64rem /* 1024px */) {
  .carpet-wrapper {
      grid-template-columns: repeat(1, minmax(0, 1fr));

  }
}

  .carpet-content {
    padding: 20px; /* فاصله کمتر تو موبایل */
    padding-bottom: 40px;
    text-align: center;
  }

  .carpet-content h2 {
    font-size: 10px; 
  }


.carpet-img {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.float-wrapper {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: floatUp 5s ease-in-out infinite;
}

.carpet-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease, opacity 0.5s ease;
  border-radius: 12px;
}

.carpet-content {
  flex: 1;
  padding: 40px;
  padding-bottom: 120px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  transition: transform 0.5s ease, opacity 0.5s ease;
}
@media screen and (width <= 64rem /* 1024px */) {

  .carpet-content {
    padding: 23px;
    padding-bottom: 0;
  }
}
.carpet-content h2 {
  font-family: "mypinar", sans-serif;
  font-weight: bold;
  margin: 0;
  font-size: 30px;
  color: var(--color-theme-third-primary);
}
@media screen and (width < 64rem /* 1024px */) {

  .carpet-content h2 {
    font-size: 20px; 
  }
}

.carpet-content p {
  margin-top: 17px;
  line-height: 1.8;
  color: rgb(107, 107, 107);
  text-align: justify;
}
@media screen and (width < 64rem /* 1024px */) {

  .carpet-content p {
    margin-top: 8px;
    font-size: 13px; 
    line-height: 1.7;
    padding-inline: calc(var(--spacing) * 3)
  }
}

.zoom-out {
  transform: scale(0.5);
  opacity: 0;
}
.zoom-in {
  transform: scale(1);
  opacity: 1;
}
.actions {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 35px;
  flex-wrap: wrap;
}
@media screen and (width < 64rem /* 1024px */) {

  .actions {
    display: flex;
    gap: 10px;
    margin-top: 10px;
    flex-wrap: wrap;
  }
}
.action-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: 210px;
  height: 50px;
  padding: 0 10px;
  border-radius: 70px;
  transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease,
    transform 0.2s ease;
}
@media screen and (width < 64rem /* 1024px */) {

  .action-link {
    width: 144px;
    height: 34px;
    gap: 0px;
    padding: 0 5px;
    border-radius: 70px;
    transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease,
      transform 0.2s ease;
  }
}
.action-link p {
  margin: 0;
  color: inherit;
  font-size: 15px;
  font-family: "mypinar" ,sans-serif;
}
@media screen and (width < 64rem /* 1024px */) {

  .action-link p {
    font-size: 10px;
  }
}
.action-link.solid {
  background: #24aca0;
  color: #fff;
}
.action-link.outline {
  border: 1px solid #24aca0;
  color: var(--color-theme-third-primary);
}
.slider.owl-carousel .owl-nav button.owl-next,
.slider.owl-carousel .owl-nav button.owl-prev {
  background: var(--color-theme-primary);
  color: #ffff;
  width: 40px;
  height: 40px;
  font-size: 30px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.owl-carousel .owl-stage-outer {
  padding: 1rem 0;
}

.owl-theme .owl-dots .owl-dot span,
.owl-theme .owl-dots .owl-dot.active span {
  transition: width 0.5s;
}
.owl-theme .owl-dots .owl-dot.active span {
  width: 1.75rem;
}

.slider.owl-carousel .owl-nav button.owl-next {
  position: absolute;
  left: 0px;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0;
  transition: all 0.4s ease;
}

.slider.owl-carousel .owl-nav button.owl-prev {
  position: absolute;
  right: 0px;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0;
  transition: all 0.4s ease;
}

.slider.owl-carousel:hover .owl-nav button.owl-next {
  left: -25px;
  opacity: 1;
}

.slider.owl-carousel:hover .owl-nav button.owl-prev {
  right: -25px;
  opacity: 1;
}
.owl-theme .owl-dots .owl-dot span {
  background-color: var(--color-theme-forth-primary);
  transition: width 0.5s;
}

.owl-theme .owl-dots .owl-dot.active span {
  background-color: var(--color-theme-third-primary);
  width: 2rem;
  transition: width 0.5s;
}
.weblog-carpet {
  background-image: url(../../image/index/weblog-carpet.jpg);
  background-size: cover;
}
.weblog-carpet2 {
  background-image: url(../../image/index/weblog-carpet2.jpg);
  background-size: cover;
}
.weblog-carpet3 {
  background-image: url(../../image/index/weblog-carpet3.jpg);
  background-size: cover;
}
.bg-dot {
  background-image: url(../../image/index/pages-bg.png);
  background-repeat: no-repeat;
  background-size: cover;
}
.bg-guarenteed{
  background-image: url(../../image/index/guarenteed.png);
  background-repeat: no-repeat; 
  background-size: cover;
}
@media screen and (max-width:1024px) {
  .bg-guarenteed{
    background-image: url(../../image/index/guarenteed.png);
    background-repeat: no-repeat; 
    background-size: 1000px  1700px;
  }
  .video-container {
    position: relative;
    width: 100%;
    /* Ł†Ų³ŲØŲŖ 16:9 */
    padding-top: 56.25%;
    overflow: hidden;
    border-radius: 12px; /* ŲÆŁ„Ų®ŁŲ§Ł‡ */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    background-color: #000;
  }

  .video-container video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* object-fit: contain; ŪŲ§ contain ŲØŲ±Ų§Ū Ų­ŁŲø Ś©Ł„ ŁŪŲÆŲ¦Ł */
    border-radius: 12px; /* Ų§ŚÆŲ± Ų®ŁŲ§Ų³ŲŖŪ ŚÆŲ±ŲÆ ŲØŁŲÆŁ† ŁŪŲÆŲ¦Ł Ų­ŁŲø ŲØŲ´Ł‡ */
  }
  
  .bg_video_player {
    background-image: url(../../Images/design/cta.png);
    background-color: #bcbcbc;
    background-size: cover;
    background-repeat: no-repeat;
  }
}
.bg-gradient{
  background: linear-gradient(to right, #833ab4, #fd1d1d, #fcb045);
}


@-webkit-keyframes spin-slow {
  0% { -webkit-transform: rotate(0deg); transform: rotate(0deg); }
  100% { -webkit-transform: rotate(360deg); transform: rotate(360deg); }
}

@-moz-keyframes spin-slow {
  0% { -moz-transform: rotate(0deg); transform: rotate(0deg); }
  100% { -moz-transform: rotate(360deg); transform: rotate(360deg); }
}

@-o-keyframes spin-slow {
  0% { -o-transform: rotate(0deg); transform: rotate(0deg); }
  100% { -o-transform: rotate(360deg); transform: rotate(360deg); }
}

@keyframes spin-slow {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.animate-spin-slow {
  -webkit-animation: spin-slow 3s linear infinite;
  -moz-animation: spin-slow 3s linear infinite;
  -o-animation: spin-slow 3s linear infinite;
  animation: spin-slow 3s linear infinite;
}



.story_slider {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease;
}
.story_slider.owl-loaded ,
.owl-loaded {
  opacity: 1;
  visibility: visible;
}