/*.b-example-divider {
    height: 3rem;
    background-color: rgba(0, 0, 0, .1);
    border: solid rgba(0, 0, 0, .15);
    border-width: 1px 0;
    box-shadow: inset 0 .5em 1.5em rgba(0, 0, 0, .1), inset 0 .125em .5em rgba(0, 0, 0, .15);
}

@media (min-width: 992px) {
    .rounded-lg-3 {
        border-radius: .3rem;
    }
}*/

/* Hero Section Styles */
/* Adding animation for typewriter effect */

/* Typewriter effect with blue/red blink cursor */
/* Typewriter effect with blue/red blink cursor */
.typewriter {
    display: inline-block;
    overflow: hidden;
    white-space: nowrap;
    margin: 0 auto;
    letter-spacing: .15em;
    animation: typing 4s steps(30) 1s forwards, blink 0.75s step-end infinite;
}

/* Define the typing animation */
@keyframes typing {
    from {
        width: 0;
    }

    to {
        width: 100%;
    }
}

/* Define the blink animation with blue or red color */
@keyframes blink {
    50% {
        border-color: transparent;
    }

    100% {
        border-color: #ff0000; /* Red */
        /* You can change this to #0000ff for blue cursor instead */
    }
}

/* Carousel caption styling */
.carousel-caption {
    position: absolute;
    bottom: 20%;
    left: 50%;
    transform: translateX(-50%);
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    text-align: left;
    padding: 0 15px; /* Adding some padding for better mobile spacing */
}

.hero-content {
    animation: fadeInLeft 2s ease-in-out;
    margin-top: 20px; /* Reducing the top margin to make the content appear closer to the top */
}

/* Adding colorful gradient background for carousel items */
#heroCarousel .carousel-item {
    background: linear-gradient(45deg, #ff6b6b, #ffb44b, #ffeb3b, #a1e3d8, #63d0f4);
    background-size: 400% 400%;
    animation: gradientBG 15s ease infinite;
}

/* Animation for the gradient background */
@keyframes gradientBG {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

/* Media queries for mobile responsiveness */
@media (max-width: 768px) {
    .carousel-caption {
        bottom: 10%;
        text-align: center; /* Centering text for smaller screens */
    }

    .hero-content {
        animation: fadeInUp 2s ease-in-out; /* Change animation to 'fadeInUp' on smaller screens */
        padding: 0 20px;
    }

    .typewriter {
        font-size: 1.5rem; /* Reduce font size for mobile devices */
        letter-spacing: 0.1em;
    }

    .lead {
        font-size: 1rem; /* Adjust the paragraph font size */
    }

    .btn-lg {
        padding: 10px 20px; /* Make the button slightly smaller */
    }
}

@media (max-width: 480px) {
    .typewriter {
        font-size: 1.2rem; /* Further reduce font size for very small devices */
    }

    .lead {
        font-size: 0.9rem; /* Adjust lead text size */
    }

    .carousel-caption {
        bottom: 5%; /* Adjust position for very small screens */
    }
}
