body{
    background-image:url('../images/background.jpg');
    background-attachment:fixed;
    background-position:center;
    background-repeat:no-repeat;
    background-size:cover;
}

.parallax {
    height:100vh;
}

.fade-in {
    opacity:0;
    transform:translateY(20px);
    transition:opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in.visible {
    opacity:1;
    transform:translateY(0);
}

.carousel-img{
    width: 100%;
    min-height: 100%;
    object-fit: cover;
}

.carousel-item{
    width:600px;
    height:400px;
}

.carousel-item{
    width:100%;
    position: relative;
    overflow:hidden;
}

.caption-inner{
    max-width:80%;
    margin:auto;
}

.carousel-caption{
    background-image: linear-gradient(rgba(255, 255, 255, 0), rgb(0, 0, 0));
    bottom:0;
    width:100%;
    left:0;
    padding-top:9rem;
}

.carousel-control-next, .carousel-control-prev {
    top:auto;
    bottom:6%;
}

.carousel-indicators {
    margin-bottom:0;
}

.scroll-indicator {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    opacity: 1;
    transition: opacity 0.3s ease-in-out;
}

.scroll-indicator .arrow {
    width: 30px;
    height: 30px;
    border: solid #fff;
    border-width: 0 3px 3px 0;
    display: inline-block;
    padding: 3px;
    transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0) rotate(45deg);
    }
    40% {
        transform: translateY(-30px) rotate(45deg);
    }
    60% {
        transform: translateY(-15px) rotate(45deg);
    }
}

.tech_img{
    max-width:100%;
    height:50%;
    padding:8px;
    cursor: pointer;
    transition: transform 0.3s ease, filter 0.3s ease;
}

.tech_img:hover {
    transform: scale(1.05); /* Optional: Slightly scale the image */
    filter: brightness(1.2); /* Lighten the image */
}