.navbar {
    position: fixed;
    width: 100%;
    z-index: 1000;
}
.navbar-light .navbar-nav .nav-link {
    font-family: 'Verdana', sans-serif;
    position: relative;
    margin-left: 30px;
    padding: 47px 0;
    font-size: 15px;
    font-weight: 500;
    color: #120F2D;
    outline: none;
    transition: .5s;
}

.sticky-top.navbar-light .navbar-nav .nav-link {
    padding: 20px 0;
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link.active {
    color: #6289ae;
}

@media (min-width: 992px) {
    .navbar-light .navbar-nav .nav-link::before {
        position: absolute;
        content: "";
        width: 0;
        height: 5px;
        bottom: 0;
        left: 50%;
        background: #6289ae;
        transition: .5s;
    }

    .navbar-light .navbar-nav .nav-link:hover::before,
    .navbar-light .navbar-nav .nav-link.active::before {
        width: 100%;
        left: 0;
    }

    .navbar-light .navbar-nav .nav-link.nav-contact::before {
        display: none;
    }
}

@media (max-width: 991.98px) {
    .navbar-light .navbar-nav .nav-link  {
        margin-left: 0;
        padding: 10px 0;
    }
}

/* Dark mode overlay for carousel images */
.carousel-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /*background: rgba(0, 0, 0, 0.5);*/ /* Adjust the opacity as needed */
    z-index: 1;
}

.carousel-caption {
    z-index: 2;
}

.carousel-item img {
    position: relative;
    z-index: 0;
    display: block;
    width: 100%;
   /* height: 250px;  Set the desired height */
   /* object-fit: cover; /* Ensure the image covers the area without distortion */
        
}
.carousel-caption {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    right: 0;
}

.carousel-caption h5 {
    animation: bounceIn 1s;
}

.carousel-caption h1 {
    /* animation: zoomIn 1s; */
    animation: bounceIn 1s;
    font-size: 80px;
}

@keyframes bounceIn {
    0%, 20%, 40%, 60%, 80%, 100% {
        animation-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
    }

    0% {
        opacity: 0;
        transform: translate3d(0, -3000px, 0);
    }

    60% {
        opacity: 1;
        transform: translate3d(0, 25px, 0);
    }

    75% {
        transform: translate3d(0, -10px, 0);
    }

    90% {
        transform: translate3d(0, 5px, 0);
    }

    100% {
        transform: none;
    }
}

@keyframes zoomIn {
    0% {
        opacity: 0;
        transform: scale3d(0.3, 0.3, 0.3);
    }

    50% {
        opacity: 1;
    }
}
.carousel-inner {
    padding-top: 110px; /* Adjust this value as needed */
}
.display-4 {
    font-weight: bold !important;
    font-size: 3rem;
}

.container .bg-primary{
    /* background: #6289ae !important; */
    background-color: #6289ae !important;
   /*  color: #6289ae !important; */
    /* border-color: #6289ae !important; */
     /* border-radius: 10px;  */


}
.container .border-primary{
       border-color: #6289ae !important;
       /* border-top-right-radius:15px; */
       /* border-top-left-radius:15px; */
}
.container .btn-primary{
    background-color: #6289ae !important; 
     border-color: #6289ae !important;
    
}
.animated {
    opacity: 0;
    animation: fadeIn 0.5s forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.about-image-container {
    position: relative;
    width: 100%;
    height: 100%;
    max-height: 500px;
    /* Adjust the max-height as needed */
}

.about-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0.375rem;
}

@media (max-width: 576px) {
    .about-image-container {
        max-height: 300px;
        /* Adjust the max-height for mobile view */
    }
}
.bg-secondarycolor{
    background-color: #5a1e24;
}
.service-item {
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
}

.service-item:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    background-color: #f8f9fa; /*Change this to your desired color*/
}
.small-icon {
    max-width: 50px;
    height: auto;
}
.animated {
    animation: fadeIn 1s forwards;
}

@keyframes fadeIn {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}
.navbar-brand img{
       width: 200px;
    }
        /* Adjust logo size for mobile view */
        @media (max-width: 576px) {
            .navbar-brand img {
                width: 70px;
            }
            .carousel-inner {
            padding-top: 70px; /* Adjust this value as needed */
            }
             .carousel-control-prev,
        .carousel-control-next {
            top: 70%;
        }
        .carousel-item img{
            height:200px;
        }
           
        }

        /* Center carousel control buttons */
         .carousel-control-prev,
        .carousel-control-next {
            position: absolute;
            top: 60%;
            transform: translateY(-50%);
            height: 50px;
            width: 50px;
            background-color: rgba(0, 0, 0, 0.5);
            border-radius: 50%;
        }

        .carousel-control-prev {
            left: 10px;
        }

        .carousel-control-next {
            right: 10px;
        }

        .carousel-control-prev-icon,
        .carousel-control-next-icon {
            width: 20px;
            height: 20px;
        }