/* ----------------------------- */
/* --- Index.html Stylesheet --- */
/* ----------------------------- */

.featurette-heading
{
    color: #e7160e;
}

/* ---------------- */
/* --- Carousel --- */
/* ---------------- */

/* Ensure carousel images scale properly */
.carousel-item img {
    object-fit: cover;
    height: 70vh; /* Adjust height dynamically */
}

/* Default: Align text left */
.carousel-caption {
    top: 25vh;
    text-align: center;
}

/* Default caption styles for larger screens */
.carousel-caption h1 {
    font-size: 3em; /* Bigger heading */
    font-weight: bold;
    text-shadow: 3px 3px 10px rgba(0, 0, 0, 0.9); /* X-offset, Y-offset, blur, color */
}

.carousel-caption p {
    font-size: 2rem; /* Bigger paragraph text */
    text-shadow: 3px 3px 10px rgba(0, 0, 0, 0.9); /* X-offset, Y-offset, blur, color */
}

/* On small screens, center text */
@media (max-width: 45em) {

    .carousel-caption {
        top: 20vh;
    }
    
    
    .carousel-caption h1 {
        font-size: 2rem;
        font-weight: bold;
    }
    
    .carousel-caption p {
        margin-bottom: 1.25rem;
        font-size: 1.25rem;
        line-height: 1.4;
    }
}

@media (max-width: 20em) {

    .carousel-caption {

    }

    .carousel-caption h1 {
        font-size: 1.0rem;
        font-weight: bold;
    }

    .carousel-caption p {

        font-size: 0.75rem;

    }

}

/* ------------------------ */
/* --- Scroll-down-text --- */
/* ------------------------ */
.scroll-down-section{
    opacity: 0; /* Initially invisible */
    animation: fadeIn 2s ease-in-out forwards;
    animation-delay: 4s; /* Delay before animation starts */
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* ------------------- */
/* --- Featurettes --- */
/* ------------------- */

.featurette-divider {
  margin: 4rem 0; /* Space out the Bootstrap <hr> more */
}

/* Thin out the marketing headings */
.featurette-heading {
  letter-spacing: -.05rem;
}

/* Featurettes Images */
.featurettes-container img {
    width: 100%;  /* Responsive width */
    max-width: 500px; /* Prevent images from becoming too large */
    height: auto; /* Keep aspect ratio */
    object-fit: cover; /* Ensure uniform scaling */
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.7);
    margin-bottom: 10px;
}

/* Fix large margin on smaller screens */
@media (max-width: 45em) {
    .featurettes-container img {
        margin-top: 20px; /* Reduce margin */
        width: 80%; /* Slightly reduce width */
    }

    .featurette {
        text-align: center; /* Center text for better mobile layout */
    }
    .featurette ul
    {
        text-align: left;
    }
}
