img {
    display: block;
    width: 100%;
    max-width: 100%;
    min-width: 100%;
    height: 100%;
    margin: 0 auto;
}

.slide {
    object-fit: cover;
}

.carousel {
    margin: 2em 0em;
}


/* sliding images */

.carousel-cell {
    width: 28%;
    height: 200px;
    margin-right: 1em;
    border-radius: 5px;
}

li {
    font-weight: bold;
}

a {
    font-family: display;
}

#container2 {
    background-color: rgba(8, 8, 8, 0.635);
}

.display-6 {
    font-family: serif;
    color: white;
}

.display-4 {
    font-family: serif;
    color: white;
}

span {
    font-family: cursive;
}

#row2 {
    background-image: linear-gradient(#42275a, #734b6d);
}

#contactus {
    background-image: linear-gradient(#42275a, #734b6d);
}

.bg-image {
    position: relative;
    height: 100vh;
    background-color: #311432c7;
}

.bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: auto;
    background-image: url("images/backg2.jpg");
    /* Replace 'your-image-url.jpg' with the URL of your image */
    background-size: cover;
    background-position: center;
    opacity: 70%;
    background-color: black;
    mix-blend-mode: overlay;
    object-fit: contain;
    height: 100%;
    /* Adjust the opacity of the image */
}

.overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    z-index: 1;
}


/* For demo purposes */

.overlay h1 {
    font-size: 3rem;
    opacity: 1;
    /* Ensure text opacity remains at 100% */
}

.container-form {
    margin: 1.5em 0em;
}

form {
    font-family: 'Ubuntu', sans-serif;
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    /* box-shadow: 10px 10px 10px lightblue; */
    width: 100%;
    max-width: 70%;
    margin: auto;
    display: block;
    /* border: 1px solid black; */
}

.field {
    margin-bottom: 15px;
}

label {
    display: block;
    margin-bottom: 5px;
    color: #333;
}

input,
textarea {
    width: 100%;
    padding: 10px;
    box-sizing: border-box;
    border: 1px solid #ccc;
    border-radius: 4px;
}

input[type="submit"] {
    background-color: #4caf50;
    color: #fff;
    cursor: pointer;
}

input[type="submit"]:hover {
    background-color: #45a049;
}

.container-form {
    margin-top: 50px;
    /* Adjust margin as needed */
}

.success-message {
    color: green;
}

.error-message {
    color: red;
}


/* scroll button */


/* Scroll to top button style */


/* Scroll to top button style */


/* Scroll to top button style */


/* Scroll to top button style */

#scrollToTopBtn {
    display: none;
    position: fixed;
    bottom: 40px;
    right: 40px;
    z-index: 99;
    border: none;
    outline: none;
    background: linear-gradient(to right, #8E2DE2, #4A00E0);
    /* Gradient background in purple tones */
    color: white;
    /* Text color */
    cursor: pointer;
    padding: 15px;
    border-radius: 50%;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1), 0 1px 3px rgba(0, 0, 0, 0.08);
    /* Box shadow */
    transition: background-color 0.3s ease-in-out, transform 0.3s ease-in-out;
}

#scrollToTopBtn i {
    font-size: 20px;
}

#scrollToTopBtn:hover {
    background: linear-gradient(to right, #FF6A00, #FF9500);
    /* Gradient background on hover in orange tones */
    transform: translateY(-2px);
    /* Move button slightly up */
}


/* scrollable */


/* Add CSS animations for slide in effect */

@keyframes slideInFromLeft {
    0% {
        transform: translateX(-100%);
        opacity: 0;
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideInFromRight {
    0% {
        transform: translateX(100%);
        opacity: 0;
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}


/* Apply animation to the containers */

.slide-in-left {
    animation: slideInFromLeft 5s ease forwards;
}

.slide-in-left1 {
    animation: slideInFromLeft 1.5s ease forwards;
}

.slide-in-right {
    animation: slideInFromRight 5s ease forwards;
}

.slide-in-right1 {
    animation: slideInFromRight 7s ease forwards;
}