/* ---------------------------------------------------------------- */
@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");
}

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

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

a {
  text-decoration: none;
}

body {
  color: #333;
  line-height: 1.6;
  margin: 0 auto;
}

.container {
  max-width: 1600px;
  width: 100%;
  margin: 0 auto;
}

/* HERO */
.hero {
  min-height: 1200px;
  max-width: 1600px;
  /* background: linear-gradient(#8bb7c8, #dbe7ec); */
  position: relative;
  background-image: url(https://www.shatel.ir/wp-content/themes/shatel/skyfiber-salespromotion/img/section1.webp);
  background-repeat: no-repeat;
  background-size: cover;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 20px 5%;
}

/*1000 => 1000 * 817 */
/*772  =>  772 * 1233 */
/* 520 => 519 * 1703 */

.hero-text {
  text-align: center;
  margin: 10px auto;
  background: rgba(255, 255, 255, 38%); /* رنگ سفید با شفافیت */
  border-radius: 10px; /* گوشه‌های گرد */
  backdrop-filter: blur(0.5px); /* ایجاد افکت محوشدگی در پس‌زمینه */
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* سایه نرم */
  padding: 10px;
  width: fit-content;
  margin: 0 auto;
  margin-top: 15px;
}

.quote {
  font-weight: bold;
  font-size: 24px;
  color: #002c61;
}

.quoteZ {
  font-size: 16px;
  margin-top: 10px;
  color: #02428f;
  font-weight: bold;
}

.quotetime {
  font-size: 14px;
  background-color: #f1612d;
  color: white;
  border-radius: 5px;
  width: fit-content;
  margin: 0 auto;
  padding: 5px 10px;
  margin-top: 20px;
}

.quoteText {
  line-height: 40px;
  font-size: 18px;
  max-width: 800px;
  margin-top: 20px;
  color: #002c61;
}

.logo {
  width: 60px;
  height: 60px;
  object-fit: contain;
  position: absolute;
  right: 3%;
  margin-top: 13px;
}

.logo img{
   width: 60px;
  height: 60px;
  object-fit: contain;
}

.baj {
  width: 150px;
  height: 150px;
  object-fit: contain;
  position: absolute;
  left: 13%;
  top: -13%;
}

/* features */
.futureSection {
  width: 100%;
  /* background: #f4f7f8; */
  background-image: url(https://www.shatel.ir/wp-content/themes/shatel/skyfiber-salespromotion/img/section2.webp);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: top;
  padding: 50px 5%;
  padding-top: 40px;
}
.featuresSection {
  max-width: 1200px;
  width: 100%;
  margin-bottom: 100px;
  margin-top: 30px;
}

.swiper-wrapper {
  display: flex;
  align-items: stretch;
}

.feature {
  background: rgba(255, 255, 255, 0.7);
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  padding: 10px;
  text-align: center;
  color: #002c61;
  width: 100%; /* خیلی مهم */
  max-width: 95%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 128px;
  justify-content: center;
}

.swiper-slide > * {
  height: 100%;
}

.feature img {
  width: 80px;
  height: 80px;
  object-fit: contain;
}

.swiper-slide {
  display: flex;
  min-height: 128px;
}

.feature h4 {
  font-size: 16px;
}

.futureSection h2 {
  text-align: center;
  font-size: 16px;
  background: rgba(255, 255, 255, 0.7); /* رنگ سفید با شفافیت */
  border-radius: 10px; /* گوشه‌های گرد */
  backdrop-filter: blur(5px); /* ایجاد افکت محوشدگی در پس‌زمینه */
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* سایه نرم */
  padding: 8px 15px;
  width: fit-content;
  color: #002c61;
  margin: 0 auto;
}

.feature p {
  font-size: 14px;
  margin-top: 5px;
}

.swiper-navigation-icon {
  display: none !important;
}

.swiper-button-next,
.swiper-button-prev {
  --swiper-navigation-size: 30px !important; /* اندازه فلش */
  color: black !important;
}

.swiper-pagination-bullet-active {
  background-color: var(--navy) !important;
  border: 2px solid white !important;
  width: 12px !important;
  height: 12px !important;
}
.swiper-pagination-bullet {
  width: 10px;
  height: 10px;
}

/* card */
.about {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #002c61;
  position: relative;
}

.about h2 {
  text-align: center;
  font-size: 16px;
  margin-bottom: 65px;
  background: rgba(255, 255, 255, 0.7); /* رنگ سفید با شفافیت */
  border-radius: 10px; /* گوشه‌های گرد */
  backdrop-filter: blur(5px); /* ایجاد افکت محوشدگی در پس‌زمینه */
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* سایه نرم */
  padding: 8px;
}

.blog-grid {
  gap: 2rem;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  width: 100%;
}

.card {
  border-radius: 15px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  width: 30%;
  min-height: 200px;
  box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
  max-width: 210px;
  min-width: 210px;
  height: fit-content;
  color: white;
  background: #2e365b;
  position: relative;

  /* گلس خیلی ملایم */
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);

  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);

   /* 🔥 اسکیل نرم */
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  will-change: transform;
}

.card:hover {
  scale: 1.1;
}

.card .modem {
  position: absolute;
  top: -56px;
  right: -37px;
  width: 80px;
  height: 80px;
}

.card img {
  width: 40%;
  height: 100%;
  object-fit: fill;
}

.cardDiv {
  width: 100%;
  padding: 20px 10px;
  position: relative;
  overflow: hidden;
}

.cardDiv .img {
  position: absolute;
  top: -14px;
  left: -64px;
  width: 100px;
  height: 100px;
  opacity: 0.3;
  rotate: 21deg;
  object-fit: contain;
  z-index: -10;
}

.cardDiv .image2 {
  position: absolute;
  bottom: -45px;
  right: -54px;
  width: 101px;
  height: 138px;
  opacity: 0.3;
  rotate: 21deg;
  object-fit: contain;
  z-index: -10;
}

.card h4 {
  font-size: 25px;
  font-weight: bold;
  line-height: 20px;
}

.card h4 span {
  font-size: 14px;
  font-weight: lighter;
}

.card p {
  font-size: 14px;
  font-weight: lighter;
}
.card del {
  font-size: 16px;
  font-weight: lighter;
  color: rgba(255, 255, 255, 0.281);
}

.pay {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.1rem;
  padding-top: 10px;
}
.containPay {
  display: flex;
  justify-content: space-between;
  width: 100%;
  flex-direction: column;
}
.gigContain {
  text-align: center;
}
.cardVizhegi {
  margin-bottom: 10px;
  margin-top: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  column-gap: 0.5rem;
  row-gap: 0.5rem;
  flex-wrap: wrap;
}

.cardVizhegi p {
  font-size: 12px;
  font-weight: bold;
  padding: 5px 10px;
  text-align: center;
  border-radius: 20px;
  color: #002c61;
  background-color: #ffffff;
  text-wrap: nowrap;
}

.cardVizhegi p:last-child {
  color: #f1612d;
  background-color: rgb(255, 233, 212);
}

.cardbutton {
  padding: 8px 0px;
  width: 70%;
  border: none;
  background: #f1612d;
  color: white;
  cursor: pointer;
  font-size: 16px;
  font-weight: bold;
  border-radius: 8px;
}

.divbutton {
  margin-top: 20px;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.divbutton p {
  font-size: 12px;
  font-weight: bold;
}

/* FOOTER */
.footer {
  color: #002c61;
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  background: rgba(255, 255, 255, 0.7); /* رنگ سفید با شفافیت */
  border-radius: 20px; /* گوشه‌های گرد */
  backdrop-filter: blur(5px); /* ایجاد افکت محوشدگی در پس‌زمینه */
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* سایه نرم */
  padding: 20px;
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  width: 100%;
  flex-wrap: wrap;
}

.footer-grid h4 {
  font-size: 16px;
  padding-bottom: 10px;
  font-weight: bold;
}

.footer-grid p {
  font-size: 14px;
  font-weight: lighter;
  display: flex;
  gap: 0.5rem;
}

.footer-grid p i {
  font-size: 25px;
}
.footer-grid a i {
  font-size: 25px;
}

.footer-grid div {
  width: 20%;
}

.logofooter {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.socialcontainer {
  width: 20%;
  gap: 1.5rem;
  display: flex;
  align-items: center;
}

.social {
  font-size: 25px;
  color: #002c61;
}

.logofootertitle {
  width: 74%;
  font-size: 24px;
  font-weight: bold;
}

.footer-grid a {
  color: #002c61;
  text-decoration: none;
  font-size: 14px;
  font-weight: lighter;
  text-align: justify;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* snow */
.snow-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 9999;
  overflow: hidden;
}

.z {
  z-index: 1000000;
}

.snowflake {
  position: absolute;
  top: -40px;
  color: #fff;
  font-size: 1em;
  opacity: 0.8;
  animation-name: fall;
  animation-timing-function: linear;
}

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

.modal-content {
  background: #fff;
  padding: 20px;
  max-width: 500px;
  width: 100%;
  margin: 0px auto;
  border-radius: 8px;
  height: 93vh;
  max-height: fit-content;
  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;
}

@keyframes fall {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(110vh);
  }
}

/* RESPONSIVE */

@media (max-width: 1200px) {
  .card {
    width: 49%;
  }
}
@media (max-width: 1000px) {
  .baj {
    left: 0%;
    top: -0%;
  }
  .logo {
    width: 60px;
    height: 60px;
    margin: 0 auto;
    position: relative;
  }

  .quote {
    font-size: 20px;
  }

  .quoteText {
    font-size: 16px;
  }

  .blog h2 {
    font-size: 16px;
  }
  .card {
    width: 49%;
  }
  .logo {
    margin-top: 0px;
  }

  .hero {
    justify-content: flex-start;
    min-height: fit-content;
    background-image: url(https://www.shatel.ir/wp-content/themes/shatel/skyfiber-salespromotion/img/1000.webp);
  }
  .about h2 {
    margin-top: 50px;
  }
}

@media (max-width: 772px) {
  .blog-grid {
    row-gap: 5rem;
    column-gap: 3rem;
  }
  .about h2 {
    margin-top: 120px;
  }
  .hero {
    background-image: url(https://www.shatel.ir/wp-content/themes/shatel/skyfiber-salespromotion/img/772.webp);
  }
}

@media (max-width: 768px) {
  .card {
    width: 100%;
  }
  .divbutton {
    flex-wrap: wrap;
    gap: 0.5rem;
  }
  .card h4 {
    font-size: 22px;
  }
  .pay {
    gap: 0.2rem;
    justify-content: space-around;
  }
  .feature h4 {
    font-size: 14px;
  }
  .feature p {
    font-size: 12px;
  }
  .footer-grid div {
    width: 45%;
  }
  .footer-grid {
    row-gap: 2rem;
  }
  .logofootertitle {
    width: 45%;
    font-size: 20px;
  }
  .socialcontainer {
    width: 45%;
    gap: 1rem;
  }

  .footer-grid h4 {
    font-size: 14px;
  }
  .footer-grid a {
    font-size: 12px;
  }
  .footer-grid p {
    font-size: 12px;
  }

  .footer-grid a i {
    font-size: 20px;
  }
  .footer-grid a p {
    font-size: 20px;
  }

  .featuresSection {
    margin-bottom: 50px;
  }
}

@media (max-width: 600px) {
  .about h2 {
    margin-top: 10px;
  }
  .baj {
    position: relative;
  }
}

@media (max-width: 519px) {
  .hero {
    background-image: url(https://www.shatel.ir/wp-content/themes/shatel/skyfiber-salespromotion/img/519.webp);
  }
}
