@media screen and (max-width: 767px) {
    .carousel-caption h1 {
        font-size: 16px;
        font-weight: 700;
    }

    .carousel-caption {
        top: 40%;
        width: 80%;

    }

    .carousel-item img {
        min-height: 500px;
        object-fit: cover;
    }

    .profile-card .caption {
        opacity: 1;
    }

    .profile-card img {
        border-radius: 10px;
    }

    .profile-card .img {
        transform: translateY(-60px);
    }

    .profile-card {
        border-radius: 10px;
        height: 260px;
    }
}

@media (max-width: 991px) {
    .navbar-collapse {
        position: fixed;
        top: 0;
        right: -100%;
        width: 75%;
        height: 100vh;
        background: #192861;
        /* Adjust as needed */
        transition: right 0.3s ease-in-out;
        z-index: 1050;
        padding: 20px;
    }

    .navbar-collapse.show {
        right: 0;
    }

    .navbar-nav {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .navbar-nav .nav-item {
        width: 100%;
    }

    .navbar-nav .nav-link {
        display: block;
        padding: 10px;
        color: white;
    }

    .white-btn {
        position: absolute;
        bottom: 20px;
        left: 20px;
        width: 80%;
    }

    /* Close button styles */
    .close-menu {
        position: absolute;
        top: 15px;
        right: 15px;
        background: transparent;
        border: none;
        color: white;
        font-size: 24px;
        cursor: pointer;
    }
}

@media screen and (max-width: 767px) {
    .testimonial-container {
        display: block;
    }

    .owl-dots button.owl-dot {
        width: 60px;
    }

    .owl-dots {

        bottom: -20px;
        transform: translateX(-58%);

    }

    .owl-carousel .owl-nav button.owl-prev,
    .owl-carousel .owl-nav button.owl-next {
        bottom: -40px;
    }

    .owl-carousel .owl-nav button.owl-prev {
        left: 0;
    }

    .owl-carousel .owl-nav button.owl-next {
        right: 0;
    }
}

@media screen and (max-width: 600px) {
    .btn {
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .carousel-control-next,
    .carousel-control-prev {
        width: auto;
    }

    .white-btn {
        position: relative;
    }

    .owl-carousal-testimonial .owl-dots {
        transform: translateX(-58%);
        bottom: 0;
    }

    .owl-carousal-testimonial .owl-dots button.owl-dot {
        width: 60px;
    }

    .owl-carousal-testimonial.owl-loaded.owl-drag>div.owl-nav>button.owl-prev {
        bottom: -15px;
        border: 1px solid #0056b3;
    }

    .owl-carousal-testimonial.owl-loaded.owl-drag>div.owl-nav>button.owl-next {
        bottom: -15px;
        border: 1px solid #0056b3;
    }

    .testimonial-container {
        height: max-content;
    }

    .main.owl-carousel .owl-nav button.owl-prev {
        left: 0;
    }

    .main.owl-carousel .owl-nav button.owl-next {
        right: 0;
    }

    .write-review-btn {
        text-align: center;

    }

    .review-btn-container {
        display: flex;
        justify-content: center;
    }
}