/* GLOBAL STYLES
-------------------------------------------------- */
/* Padding below the footer and lighter body text */
/* CUSTOMIZE THE CAROUSEL
-------------------------------------------------- */

/* Carousel base class */
.carousel {
  margin-bottom: 4rem;
}
/* Since positioning the image, we need to help out the caption */
.carousel-caption {
  bottom: 1rem;
  z-index: 10;
    font-size: 0.875rem;
}
@media (min-width: 768px) {
  .carousel-caption {
    bottom: 3rem;
    font-size: 1rem;
  }
}

/* Declare heights because of positioning of img element */
.carousel-item {
    /*height: 32rem; */
    max-height: 500px; /* ارتفاع حداکثر */
    height: auto; /* ارتفاع متناسب */
}
.carousel img {
  width: 100%;
  height: auto; /* متناسب با عرض */
  object-fit: cover; /* تناسب تصاویر */
}

/* MARKETING CONTENT
-------------------------------------------------- */

/* Center align the text within the three columns below the carousel */
.marketing .col-lg-4 {
  margin-bottom: 1.5rem;
  text-align: center;
}
/* rtl:begin:ignore */
.marketing .col-lg-4 p {
  margin-right: .75rem;
  margin-left: .75rem;
}
/* rtl:end:ignore */


/* Featurettes
------------------------- */
.featurette {
  margin-bottom: 3rem;
}
.featurette-divider {
  margin: 2rem 0; /* Space out the Bootstrap <hr> more */
}

/* Thin out the marketing headings */
/* rtl:begin:remove */
.featurette-heading {
  letter-spacing: -.05rem;
}
.featurette-heading {
  font-size: 1.75rem; /* اندازه پیش‌فرض */
}

@media (min-width: 768px) {
  .featurette-heading {
    font-size: 2.5rem; /* برای دستگاه‌های بزرگ‌تر */
  }
}

/* rtl:end:remove */

/* RESPONSIVE CSS
-------------------------------------------------- */

@media (min-width: 40em) {
  /* Bump up size of carousel content */
  .carousel-caption p {
    margin-bottom: 1.25rem;
    font-size: 1.25rem;
    line-height: 1.4;
  }

  .featurette-heading {
    font-size: 50px;
  }
}

@media (min-width: 62em) {
  .featurette-heading {
    margin-top: 7rem;
  }
}
.bd-placeholder-img {
        font-size: 1.125rem;
        text-anchor: middle;
        -webkit-user-select: none;
        -moz-user-select: none;
        user-select: none;
      }
@media (min-width: 768px) {
        .bd-placeholder-img-lg {
          font-size: 3.5rem;
        }
      }