/* GLOBAL STYLES
-------------------------------------------------- */
/* Padding below the footer and lighter body text */

body {
  padding-top: 0rem;
  padding-bottom: 3rem;
  color: rgb(var(--bs-tertiary-color-rgb));
	 background-color: white;
}


/* CUSTOMIZE THE CAROUSEL
-------------------------------------------------- */

/* Carousel base class */
.carousel {
  margin-bottom: 4rem;
}
/* Since positioning the image, we need to help out the caption */
.carousel-caption {
  bottom: 3rem;
  z-index: 10;
}

/* Declare heights because of positioning of img element */



.carousel-item img {
            max-height: 75vh; /* Adjust this value to control max height */
            object-fit: cover; /* Scale the image to cover the container while maintaining proportions */
            width: auto;
            height: auto;
            margin: 0 auto; /* Center the image */
        }


/* 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-divider {
  margin: 5rem 0; /* Space out the Bootstrap <hr> more */
}

/* Thin out the marketing headings */
/* rtl:begin:remove */
.featurette-heading {
  letter-spacing: -.05rem;
}

/* 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 query for screens smaller than 768px (mobile and smaller tablets) */
        @media (max-width: 768px) {
            .carousel-item img {
                max-height: 50vh; /* Limit the image height to 50% of the viewport height on mobile */
            }

            /* Adjust caption text size for mobile */
            .carousel-caption h1 {
                font-size: 1.25rem; /* Reduce headline font size */
            }

            .carousel-caption p {
                font-size: 0.9rem; /* Reduce paragraph text size */
            }

            /* Adjust button size for mobile */
            .carousel-caption .btn {
                font-size: 0.8rem;
                padding: 0.4rem 0.8rem; /* Smaller button padding */
            }
        }

        /* Media query for extra small screens (less than 576px) */
        @media (max-width: 576px) {
            .carousel-item img {
                max-height: 40vh; /* Even smaller height on very small screens */
            }

            /* Center captions for better readability on small screens */
            .carousel-caption {
                text-align: center;
            }
        }
@media (min-width: 62em) {
  .featurette-heading {
    margin-top: 7rem;
  }
}


   