@import url('https://fonts.googleapis.com/css2?family=Vazirmatn:wght@400;500;600;700&display=swap');

.main-container {
  /* max-width: 1300px; */
  margin: 0 auto;
  min-height: 100vh;
  position: relative;
}

@media (max-width: 768px) {
  .main-container {
    margin: 20px 0;
  }
}

.packages-header {
  position: relative;
  width: 100%;
  /* padding-top: 2.5rem; */
}

.bg-image-wrapper {
  position: absolute;
  z-index: -1;
  top: 0;
  width: 100%;
  height: 100%;
}

.bg-image-wrapper img {
  height: 100%;
  object-fit: contain;
}

@media (min-width: 1200px) {
  .bg-image-wrapper img {
    height: auto;
  }
}

.header-content {
  margin: 0 auto;
  width: 100%;
  background-color: transparent;
}

@media (min-width: 768px) {
  .header-content {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

@media (min-width: 1200px) {
  .header-content {
    max-width: 1320px;
  }
}

@media (min-width: 1400px) {
  .header-content {
    padding-left: 0;
    padding-right: 0;
  }
}

.title-divider {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.divider-line {
  flex: 1;
  height: 1px;
  background-color: #009788;
}

.title-text {
  font-size: 1.875rem;
  font-weight: 700;
}

@media (max-width: 576px) {
  .title-text {
    font-size: 1.375rem;
    font-weight: 700;
  }
}

.packages-grid {
  width: 100%;
  margin-top: 2.5rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
  position: relative;
  overflow: hidden;
}

@media (min-width: 768px) {
  .packages-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1200px) {
  .packages-grid {
    /* margin-top: 7rem; */
    grid-template-columns: repeat(3, 1fr);
  }
}

.package-card {
  width: 100%;
  border-radius: 1.5rem;
  background-color: rgba(255, 255, 255, 0.5);
  border-top: 4px solid #f78c3c;
  position: relative;
  box-shadow: 0px 0px 38px rgba(0, 192, 166, 0.1);
  backdrop-filter: blur(7.2px);
}

.package-badge {
  width: 7rem;
  border-top-right-radius: 1.5rem;
  border-bottom-left-radius: 1.5rem;
  height: 3.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.badge-economic {
  background-color: #00c0a6;
}

.badge-business {
  background-color: #019788;
}

.badge-professional {
  background-color: #00766a;
}

.badge-text {
  color: white;
  font-weight: 600;
  font-size: 0.875rem;
}

.package-content {
  margin-top: 0.5rem;
  padding-left: 2rem;
  padding-right: 2rem;
  width: 100%;
  height: 24rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: center;
}

@media (max-width: 470px) {
  .package-content {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }
}

@media (min-width: 768px) {
  .package-content {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }
}

@media (min-width: 992px) {
  .package-content {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

.star-icon {
  width: 2.75rem;
  height: 2.75rem;
}

.star-icon-sm {
  width: 1.5rem;
  height: 1.5rem;
}

.star-icon-md {
  width: 2rem;
  height: 2rem;
}

.package-name {
  width: 9rem;
  border-radius: 14px;
  height: 2.5rem;
  background-color: rgba(0, 192, 166, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
}

.package-name-text {
  font-size: 1.5rem;
}

.package-description {
  font-size: 0.875rem;
  text-align: center;
}

.features-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.feature-item {
  display: grid;
  grid-template-columns: 30px 1fr;
  align-items: center;
}

.feature-bullet-wrapper {
  display: flex;
  justify-content: center;
}

.feature-bullet {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background-color: #009788;
}

.feature-text {
  font-size: 0.875rem;
  font-weight: 500;
  text-wrap: no-wrap;
  text-align: right;
}

.features-two-columns {
  width: 100%;
  display: flex;
  justify-content: space-between;
}

@media (max-width: 576px) {
  .feature-text {
    font-size: 0.75rem;
    text-wrap: no-wrap;
    text-align: right;
  }
}

.package-footer {
  height: 15rem;
  width: 100%;
  margin-top: 0.5rem;
  position: relative;
  border-bottom-left-radius: 1.5rem;
  border-bottom-right-radius: 1.5rem;
  background-color: #f78c3c;
  overflow: hidden;
  clip-path: polygon(0 0, 50% 50px, 100% 0, 100% 100%, 0 100%);
}

.price-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  position: relative;
  width: fit-content;
  margin-top: 4.625rem;
  margin-left: auto;
  margin-right: auto;
}

.price-current {
  color: white;
  font-size: 1.875rem;
  font-weight: 700;
}

.price-original {
  color: white;
  font-weight: 600;
}

.price-strikethrough {
  width: 7rem;
  height: 0.25rem;
  background-color: #db161b;
  border-radius: 9999px;
  position: absolute;
  bottom: 0.375rem;
  transform: rotate(-16deg);
}

.footer-buttons {
  width: 100%;
  display: flex;
  justify-content: space-between;
  margin-top: 1rem;
  padding-left: 1.75rem;
  padding-right: 1.75rem;
}

.phone-button {
  width: 3.5rem;
  height: 3.5rem;
  background-color: #3a3a3a;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  transition: all 0.3s;
}

.phone-button:hover {
  opacity: 0.9;
  transform: scale(1.05);
}

.buy-button {
  width: 11rem;
  height: 3.5rem;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-weight: 600;
  border-radius: 10px;
  background-color: #009788;
  border: none;
  cursor: pointer;
  transition: all 0.3s;
}

.buy-button:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

.stars-flex {
  display: flex;
  align-items: center;
}

.desktop-see-packages-button {
  color: white;
  display: hidden;
  align-items: center;
  justify-content: center;
  border: none;
  background-color: #009788;
  width: fit-content;
  /* margin: 20px auto 0 auto; */
  border-radius: 10px;
  font-size: 14.5px;
  padding: 0 30px;
  height: 50px;
}

.mobile-see-packages-button {
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  background-color: #009788;
  width: 100%;
  max-width: 600px;
  /* margin: 20px auto 0 auto; */
  border-radius: 10px;
  font-size: 14.5px;
  padding: 0 30px;
  height: 50px;
}

#sales-packages {
  scroll-margin-top: 140px;
  scroll-behavior: smooth;
  scroll-snap-type: proximity;
}

#float-buttons {
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
  gap: 10px 0;
}

@media (min-width: 1000px) {
  #float-buttons {
    display: flex;
    flex-direction: row-reverse;
  }
}

@media (max-width: 1000px) {
  .desktop-see-packages-button {
    display: hidden;
  }
}