:root {
  --primary: #272626;
  --secondary: #e63235;
  --p-tags: #7d7a7b;
  --yellow: #f3c00c;
}

@font-face {
  font-family: Yekanbakh;
  src: url(/asset/font/YekanBakhFaNum-Regular.woff);
  font-weight: 400;
}
@font-face {
  font-family: Yekanbakh;
  src: url(/asset/font/YekanBakhFaNum-Bold.woff);
  font-weight: 700;
}
@font-face {
  font-family: Yekanbakh;
  src: url(/asset/font/YekanBakhFaNum-ExtraBold.woff);
  font-weight: 800;
}
@font-face {
  font-family: vazirmatn;
  src: url(/asset/font/Vazirmatn-Thin.woff2);
  font-weight: 100;
}
@font-face {
  font-family: vazirmatn;
  src: url(/asset/font/Vazirmatn-ExtraLight.woff2);
  font-weight: 200;
}
@font-face {
  font-family: vazirmatn;
  src: url(/asset/font/Vazirmatn-Light.woff2);
  font-weight: 300;
}
@font-face {
  font-family: vazirmatn;
  src: url(/asset/font/Vazirmatn-Regular.woff2);
  font-weight: 400;
}
@font-face {
  font-family: vazirmatn;
  src: url(/asset/font/Vazirmatn-Medium.woff2);
  font-weight: 500;
}
@font-face {
  font-family: vazirmatn;
  src: url(/asset/font/Vazirmatn-SemiBold.woff2);
  font-weight: 600;
}
@font-face {
  font-family: vazirmatn;
  src: url(/asset/font/Vazirmatn-Bold.woff2);
  font-weight: 700;
}
@font-face {
  font-family: vazirmatn;
  src: url(/asset/font/Vazirmatn-ExtraBold.woff2);
  font-weight: 800;
}
@font-face {
  font-family: vazirmatn;
  src: url(/asset/font/Vazirmatn-Black.woff2);
  font-weight: 900;
}
@font-face {
  font-family: vazir;
  src: url(/asset/font/Vazir-Medium-FD.woff2);
  font-weight: 500;
}
@font-face {
  font-family: vazir;
  src: url(/asset/font/Vazir-Light-FD.woff2);
  font-weight: 300;
}
body {
  direction: rtl;
  text-align: right;
  font-family: "Yekanbakh", Arial, sans-serif; /* یا فونت‌های فارسی دیگر */
}

header {
  overflow: hidden;
  padding: 10px;
  height: 100vh;
  display: flex;
  flex-direction: column;
  position: relative;
  background-color: #1d44962b;
}
.nav-num {
  letter-spacing: 2px;
  font-weight: 400;
  color: var(--yellow) !important;
}

.video-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1; /* Keeps the video in the background */
}

video#background-video {
  object-fit: cover;
  width: 100%;
  height: 100%;
}
.logo-link{
  margin-left: auto;
}
.logo {
  margin-left: auto;
  cursor: pointer;
  height: 50px;
}
main {
}
.slide-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin-top: 70px;
}
.slide-text h1,
p {
  color: #fff;
}
.slide-text h1 {
  font-size: 32px;
}

/* https://web.dev/prefers-reduced-motion/#(bonus)-forcing-reduced-motion-on-all-websites */

/* 
@media (prefers-reduced-motion: reduce) {
  *,
  ::before,
  ::after {
    animation-delay: -1ms !important;
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    background-attachment: initial !important;
    scroll-behavior: auto !important;
    transition-duration: 0s !important;
    transition-delay: 0s !important;
  }
} */

.section1 {
  background-color: #f7f5f5;
  padding: 45px;
}

.section1-1 {
  max-width: 1420px;
  margin: auto;
  border: 3px solid #7c7c7c;
  border-radius: 15px;
  display: flex;
  justify-content: space-around;
}
.sec1-img {
  width: 50%;
  height: auto;
}
.text-side {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.sec1-title-text h1 {
  color: var(--secondary);
  font-size: clamp(1.625rem, -0.0749rem + 3.5461vw, 2.25rem);
}
.sec1-title-text p {
  color: var(--p-tags);
  font-size: clamp(1rem, 0.32rem + 1.4184vw, 1.25rem);
  max-width: 650px;
  line-height: 35px;
}
.sec1-logos {
  margin-top: 50px;
  display: flex;
  max-width: 600px;
  flex-wrap: wrap;
  justify-content: space-around;
  gap: 30px;
}
.unique {
  display: flex;
  align-items: center;
  gap: 20px;
  max-width: 230px;
}
.uniq-img {
  width: 100%;
}
.uniq-h,
p {
  margin: 0px;
}
.uniq-h {
  font-size: 16px;
}
.uniq-p {
  margin-top: 10px;
  font-family: "vazirmatn";
  font-weight: 300;
  color: var(--p-tags);
}
.section2 {
  height: 460px;
  background: radial-gradient(
    97.22% 76.49% at 6.84% 30.87%,
    #ffd43c 0%,
    #f3c00c 100%
  );
}
.sec-about {
  overflow: hidden;
  display: flex;
  max-width: 1920px;
  margin: auto;
}
.sec2-txt-side {
  margin-right: 2rem;
  display: flex;
  flex-direction: column;
}
.sec2-txt-side h1 {
  color: var(--secondary);
  font-family: "Vazirmatn";
  font-size: 48px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
}
.sec2-txt-side p {
  color: var(--p-tags);
  text-align: right;
  font-family: "Vazirmatn";
  font-size: 20px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  max-width: 800px;
}
.sec2-img-side {
  margin-right: auto;
}
.btn-about {
  border-radius: 11px;
  background: #231f20;
  width: 147px;
  align-self: center;
  text-decoration: none;
  color: #fff;
  padding: 12px 7px;
}
.sec3-title {
  display: flex;
  align-items: center;
  padding-right: 10%;
}
.sec3-title h1 {
  color: var(--secondary);
}

.line {
  width: 16%;
  height: 2px;
  background-color: var(--secondary);
  top: 50%;
  z-index: -1;
  margin-left: 5px;
}
.export-sec {
  max-width: 1920px;
  margin: auto;
}
.export-sec .details {
  display: flex;
  align-items: center;
  justify-content: space-evenly;
}
.mask-img {
  position: relative;
}
.mask-img .circle {
  right: 35px;
  top: 16px;
  position: absolute;
  background-color: var(--yellow);
  width: 75px;
  height: 75px;
  border-radius: 50%;
}
.circle img {
  position: absolute;
  width: 65px;
  height: 65px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  object-fit: contain;
}
.mask-img img:not(:last-child) {
  max-width: 500px;
  display: block; /* Ensures no extra spacing */
  -webkit-mask-image: url(/asset/image/Subtract.png);
  mask-image: url(/asset/image/Subtract.png);
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-position: center;
  mask-position: center;
}
.details p {
  max-width: 486px;
  color: #473d15;
  text-align: justify;
  font-family: Vazirmatn;
  font-size: 32px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  text-decoration-style: solid;
  text-decoration-skip-ink: auto;
  text-decoration-thickness: auto;
  text-underline-offset: auto;
  text-underline-position: from-font;
}
.section4 {
  margin-top: 20px;
}
.product-group {
  background: url(/asset/image/product-sec/engine-oil-rnapgroup.png)
    rgb(0, 0, 0) 10% / cover no-repeat;
  height: 100vh;
  background-position: center;
  transition: background-image 0.5s ease-in-out;
}
.sec4-mask {
  width: 100%;
  height: 100%;
  background-color: #231f204b;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.product-card {
  width: 240px;
  height: 585px;
  position: relative;
  background-position: center;
  background-size: cover;
  border-radius: 10px;
}
.product-mask {
  width: 100%;
  height: 100%;
  border-radius: 10px;
  border-radius: 10px;
  background: linear-gradient(
    8deg,
    rgba(217, 217, 217, 0.04) 5.1%,
    rgba(0, 0, 0, 0.61) 94.83%
  );
  position: absolute;
}
.product-card1 {
  background-image: url(/asset/image/product-sec/engine-oil-rnapgroup.png);
}
.product-card2 {
  background-image: url(/asset/image/product-sec/gearoil-rnapgroup.png);
}
.product-card3 {
  background-image: url(/asset/image/product-sec/zed-yakh-rnapgrooup.jpg);
}
.product-card4 {
  background-image: url(/asset/image/product-sec/grease-rnapgroup.png);
}
.product-card5 {
  background-image: url(/asset/image/product-sec/hydrolic-rnapgroup.png);
}
.product-card h4 {
  color: #fff;
  font-size: 36px;
  text-align: center;
}
.section5 {
  position: relative;
}
.sec5-bacground {
  position: relative;
  height: 700px;
}
.triangle {
  position: absolute;
  width: 0px;
  height: 0px;
  border-style: solid;
  transform: rotate(0deg);
}
.triangle1 {
  right: 302px;
  top: 50px;
  border-color: transparent transparent transparent #ff4532;
  border-width: 53.5px 0 53.5px 98px;
}
.triangle2 {
  left: 202px;
  top: 60px;
  border-color: transparent transparent transparent #ffcf32;
  border-width: 78.5px 0 78.5px 140px;
}
.triangle3 {
  left: 133px;
  bottom: 80px;
  border-color: transparent transparent transparent #16cde6;
  border-width: 78.5px 0 78.5px 140px;
}
.triangle4 {
  left: 402px;
  bottom: 90px;
  border-color: transparent transparent transparent #ffd724;
  border-width: 27.5px 0 27.5px 51px;
}
.sec5-cover {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background: rgba(255, 255, 255, 0.31);
  backdrop-filter: blur(13px);
  display: flex;
  justify-content: space-around;
  flex-direction: column;
}
.sec5-cover .sec5-video {
  display: flex;
  justify-content: space-around;
}
.sec5-title {
  margin-right: 100px;
  display: flex;
  align-items: center;
}
.sec5-title h4 {
  font-family: "Yekanbakh";
  color: #6763f6;
  font-weight: 400;
  font-size: 24px;
}
.sec5-title img {
  width: 50px;
}
.sec5-video video {
  max-width: 620px;
  max-height: 600px;
  width: 100%;
  height: auto;
}
footer {
  margin-top: 20px;
  background-color: var(--primary);
  padding: 20px 20px 0 20px;
  display: flex;
  flex-direction: column;
}
.footer-head {
  display: flex;
  justify-content: space-between;
}
.footer-links {
  display: flex;
  flex-direction: column;
}
.footer-links img {
  width: 144px;
}
.footer-links h4,
a {
  color: #c1c1c1;
}
.footer-links a {
  text-decoration: none;
}
.footer-contact {
  height: fit-content;
  box-sizing: border-box;
  padding: 10px;
  border-radius: 20px;
  background: #3c3a3a;
}
.footer-contact p {
  font-family: "Yekanbakh";
  text-align: center;
  color: #c1c1c1;
  margin-top: 5px;
  letter-spacing: 1px;
}
.footer-contact hr {
  width: 100%;
}
footer hr {
  width: 80%;
  color: #c1c1c1;
  margin-bottom: 10px;
}
.footer-body {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 20px;
  max-width: 1000px;
  margin: auto;
}
.footer-body img {
  height: 32px;
}
.footer-copy {
  margin-top: 10px;
  color: var(--primary);
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: var(--p-tags);
  height: 35px;
  border-radius: 17px 17px 0 0;
}

@media screen and (max-width: 480px) {
  .unique {
    max-width: 177px;
  }
  .product-group {
    height: auto;
  }
}

@media screen and (max-width: 917px) {
     .slide-text h1 {
    font-size: clamp(1.25rem, 0.8538rem + 2vw, 2rem);
  }
  .slide-text p{
    font-size: clamp(0.8125rem, 0.7134rem + 0.5vw, 1rem);
    text-align: justify;
  }
  .section1-1 {
    flex-direction: column;
  }
  .sec1-img {
    width: 50%;
    align-self: center;
  }

  .uniq-img {
    width: 100%;
  }
  .sec2-txt-side h1 {
    font-size: clamp(1.5rem, -0.1476rem + 5.492vw, 3rem);
  }
  .sec2-txt-side p {
    font-size: clamp(0.9375rem, 0.5943rem + 1.1442vw, 1.25rem);
  }
  .export-sec .details {
    flex-direction: column;
  }
  .details p {
    max-width: 825px;
    font-size: clamp(1.25rem, 0.4262rem + 2.746vw, 2rem);
    margin: 10px;
  }
  .product-group {
    height: auto;
  }
  .product-card {
    width: 200px;
  }
  .sec5-video {
    flex-direction: column;
  }
}

@media only screen and (max-width: 1049px) {
  .sec1-logos {
    margin-top: 50px;
    display: flex;
    max-width: 820px;
    flex-wrap: wrap;
    justify-content: space-around;
    gap: 8px;
  }
}

@media screen and (min-width: 1049px) {
}
