html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}



/*home and visit*/
#homeBanner {
    max-height: 450px;
    position: relative;
    overflow: hidden;
}

    #homeBanner .carousel-item img {
        height: 450px; /* Ensures images fit within the 450px height */
        object-fit: cover; /* Stretches to cover width & clips excess height */
    }


    #homeBanner .carousel-caption {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        background: rgba(0, 0, 0, 0.5); /* Semi-transparent background */
        padding: 15px;
        border-radius: 10px;
    }

        #homeBanner .carousel-caption h2,
        #homeBanner .carousel-caption p {
            color: #fff;
            text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.7);
        }

    #homeBanner .carousel-inner {
        min-height: 450px; /* Ensures height is always set to fix the flicker? */
    }

/* Static Text Overlay */
.banner-text {
    z-index: 1;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    /* background: rgba(0, 0, 0, 0.5); */
    padding: 15px 30px;
    border-radius: 10px;
}

    .banner-text h2, .banner-text p {
        color: #fff;
        text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.7);
    }

/* Full Overlay to Dim Images */
.carousel-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4); /* Adjust opacity as needed */
    z-index: 1;
}

.svg-inline--fa {
    height: 20px;
}

.nav-item .btn:hover {
    background-color: #ffffff; /* Set a background color on hover */
    color: black !important; /* Set the text color to something that contrasts with the white background */
    border-color: #6c1e8f; /* Keep the border color consistent with the text */
}