/* ---------------------------------------------------------------- */
@font-face {
  font-family: iransans;
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../font/iransans.eot);
  src: url(../font/iransans.eot?#iefix) format("embedded-opentype"),
    url(../font/iransans.woff2) format("woff2"),
    url(../font/iransans.woff) format("woff");
}

/* ---------------------------------------------------------------- */

* {
  font-family: "iransans", Arial, sans-serif;
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

a {
  text-decoration: none;
  color: black;
}

.button {
  background-color: #002a63;
  color: white;
  border-radius: 100px;
  padding: 8px 70px;
  font-size: 18px;
  font-weight: bold;
  max-width: fit-content;
  cursor: pointer;
}

body {
  scroll-behavior: smooth;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  background-color: #ffe6c9;
  padding: 10px;
}

.container {
  width: 100vh;
  margin: 0 auto;
  max-width: 1400px;
  background-color: #fdd19e;
  padding: 30px 30px;
  box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
  border-radius: 20px;
  width: 100%;
}

/* ------------------------------modal---------------------------------- */
.modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1000000000;
  padding: 30px 10px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-content {
  background: #fff;
  padding: 20px;
  max-width: 500px;
  width: 100%;
  margin: 0px auto;
  border-radius: 8px;
  max-height: 93vh;
  overflow: auto;
  transform: translateY(-30px);
  transition: transform 0.4s ease;
}

.modal.active {
  opacity: 1;
  visibility: visible;
}

.modal.active .modal-content {
  transform: translateY(0);
}

.modal-content p {
  text-align: justify;
  font-size: 16px;
  color: #002c61;
  margin-top: 10px;
}

.modal-content h2 {
  font-size: 18px;
  color: #002c61;
  margin-top: 10px;
}

.close {
  position: absolute;
  top: 5px;
  left: 3.5%;
  font-size: 30px;
  color: #002c61;
  text-decoration: none;
  cursor: pointer;
}

.form {
  width: 100%;
  margin-top: 20px;
}

/* ------------------------------main---------------------------------- */

.main {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

/* ------------------------------main modem---------------------------------- */
.main .modem-container {
  max-width: 650px;
  width: 48%;
}

.main .modem {
  width: 100%;
  background-color: #fe6e06;
  box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
  height: 600px;
  border-top-right-radius: 100px;
  border-bottom-left-radius: 100px;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.main .modem img {
  width: 100%;
  object-fit: contain;
  max-height: 400px;
}

.main .modem .modem-image {
  transform-style: preserve-3d;
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0% {
    transform: translateY(0px) rotateY(0deg);
  }

  50% {
    transform: translateY(-15px) rotateY(10deg);
  }

  100% {
    transform: translateY(0px) rotateY(0deg);
  }
}

.animate-shakeX {
  animation: shakeX 6s ease-in-out infinite;
}

.animate-shakeX2 {
  animation: shakeX2 9s ease-in-out infinite;
}

@keyframes shakeX {

  0%,
  100% {
    transform: translateX(0);
  }

  25% {
    transform: translateX(-1px);
  }

  50% {
    transform: translateX(10px);
  }

  75% {
    transform: translateX(-1px);
  }
}

@keyframes shakeX2 {

  0%,
  100% {
    transform: translateX(0);
  }

  25% {
    transform: translateX(20px);
  }

  50% {
    transform: translateX(10px);
  }

  75% {
    transform: translateX(20px);
  }
}

.main .modem h2 {
  text-align: center;
  font-size: 24px;
  color: white;
  line-height: 10px;
}

.main .modem .line-contain {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.main .modem .line {
  width: 35%;
  margin-top: 15px;
}

.main .modem .circle {
  width: 80px;
  height: 80px;
  border: 5px solid #fe6e06;
  border-radius: 100%;
  background-color: white;
  position: absolute;
  top: 0%;
  right: -1%;
  font-size: 25px;
  font-weight: bold;
  color: black;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

.main .modem .circle span {
  font-size: 18px;
}

.rotate-360 {
  animation: rotate360 5s ease-in infinite;
}

@keyframes rotate360 {

  0%,
  100% {
    transform: rotate(0deg);
  }

  25% {
    transform: rotate(-10deg);
  }

  50% {
    transform: rotate(10deg);
  }

  75% {
    transform: rotate(-10deg);
  }
}

.main .modem .option {
  background-color: #ffecd8;
  box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  padding: 10px 10px;
  min-height: 60px;
  width: 160px;
}

.main .modem .option-top {
  position: absolute;
  top: 2%;
  left: -2%;
}

.main .modem .option img {
  width: 30px;
  height: 30px;
  object-fit: contain;
}

.main .modem .option .option-title {
  font-size: 15px;
  font-weight: bold;
  text-align: right;
  color: black;
  line-height: 23px !important;
}

.main .modem .price {
  position: absolute;
  right: 2%;
  bottom: 10%;
  background-color: #ffecd8;
  box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
  padding: 10px 10px;
  border-radius: 10px;
  text-align: center;
}

.main .modem .price .button {
  border-radius: 10px;
  font-size: 16px;
  margin-top: 10px;
  background-color: #002a63 !important;
}

.main .modem .price del {
  font-size: 16px;
  color: rgb(139, 139, 139);
  margin-top: 10px;
}

.main .modem .price p {
  font-size: 20px;
  font-weight: bold;
}

.main .modem .social {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  position: absolute;
  bottom: 0%;
  right: 2%;
}

.main .modem .social .icon {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

/* ------------------------------main about---------------------------------- */
.main .about {
  max-width: 650px;
  width: 48%;
  position: relative;
}

.main .about * {
  position: relative;
  z-index: 20;
}

.main .about .logo {
  width: 80px;
  height: 80px;
  object-fit: contain;
}

.main .about h1 {
  font-size: 25px;
  margin-top: 20px;
  color: rgb(0, 0, 0);
}

.main .about .h2 {
  font-size: 18px;
  color: #fe6e06;
  margin-top: 20px;
}

.main .about .decription {
  font-size: 16px;
  line-height: 45px;
  margin-top: 20px;
  color: rgba(0, 0, 0, 0.521);
  text-align: justify;
}

.main .about .buttons-container {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 20px;
}

.main .about .buttons-container .btnform {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 16px;
  font-weight: bold;
  max-width: fit-content;
  cursor: pointer;
  color: white;
  background-color: #fe6e06;
  padding: 10px 20px;
  border-radius: 100px;
}

.main .about .buttons-container .btnform img {
  width: 30px;
  height: 30px;
  object-fit: contain;
}

.main .about .option-contain {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  column-gap: 1rem;
  row-gap: 1rem;
  margin-top: 50px;
}

.main .about .option-contain .option {
  background-color: #ffecd8;
  border-radius: 20px;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 10px 20px;
  min-height: 70px;
  width: 200px;
}

.main .about .option-contain .option img {
  width: 35px;
  height: 35px;
  object-fit: contain;
}

.main .about .option-contain .option .option-title {
  font-size: 14px;
  font-weight: bold;
  color: black;
}

.main .about .shape {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 10;
  width: 50px;
  opacity: 50%;
  object-fit: contain;
}

.main .about .shape2 {
  position: absolute;
  left: 10%;
  top: 0;
  z-index: 10;
  width: 30px;
  opacity: 30%;
  object-fit: contain;
}

.main .about .shape3 {
  position: absolute;
  right: -15%;
  bottom: -8%;
  z-index: 10;
  width: 150px;
  opacity: 30%;
  object-fit: contain;
}

.main .about .shape11 {
  position: absolute;
  left: 10%;
  bottom: 2%;
  z-index: 10;
  width: 50px;
  opacity: 50%;
  object-fit: contain;
}

.main .about .shape21 {
  position: absolute;
  left: 20%;
  bottom: 2%;
  z-index: 10;
  width: 30px;
  opacity: 30%;
  object-fit: contain;
}

@media (max-width: 1200px) {
  .main .about .shape3 {
    bottom: -10%;
  }
}

@media (max-width: 1000px) {
  body {
    padding: 0px;
  }

  .container {
    border-radius: 0px;
    padding: 15px 15px;
  }

  .main {
    justify-content: center;
    margin-top: 20px;
  }

  .main .about {
    width: 100%;
  }

  .main .about h1 {
    font-size: 25px;
  }

  .main .about .decription {
    font-size: 15px;
    line-height: 35px;
  }

  .main .about .buttons-container {
    justify-content: center;
  }

  .main .about .option-contain {
    justify-content: center;
  }

  .main .about .shape3 {
    right: -10%;
    bottom: -5%;
  }

  .main .modem-container {
    width: 100%;
    margin-top: 30px;
  }

  .main .modem {
    height: 550px;
  }

  .main .modem .modem-title {
    font-size: 20px;
  }

  .main .modem .circle {
    width: 70px;
    height: 70px;
    font-size: 24px;
    top: 0%;
    right: -1%;
  }

  .main .modem .circle span {
    font-size: 16px;
  }

  .main .about .shape11 {
    left: 8%;
    bottom: 0%;
  }

  .main .about .shape21 {
    left: 0%;
    bottom: 0%;
  }
}

@media (max-width: 461px) {
  .main .modem {
    height: 565px;
  }

  .main .modem .price {
    position: static;
  }

  .main .modem .modem-title {
    margin-top: 35px;
  }

  .main .modem .option-top {
    top: 1%;
    left: -3%;
  }

  .main .modem .circle {
    width: 60px;
    height: 60px;
    font-size: 20px;
    top: 2%;
    right: 0%;
  }

  .main .modem .circle span {
    font-size: 14px;
  }

  .main .about .shape2 {
    left: 15%;
  }
}