.wpo-hero-video {
    position: relative;
    overflow: hidden;
}

.wpo-hero-video video {
    width: 100%;
    height: auto;
    border-radius: 20px;
}

.video-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 2;
}

.video-overlay button {
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    transition: 0.3s ease-in-out;
}

.video-overlay button:hover {
    background-color: rgba(255, 255, 255, 0.7);
    color: black;
}

/* Content Area */
.wpo-blog-content-custom {
    margin-bottom: 20px;
}

.wpo-blog-content-custom .post h2 {
    font-size: 24px;
    margin-bottom: 15px;
    color: #5e0000;
    font-family: "monallesia";
    font-weight: 400;
    ;
}

.wpo-blog-content-custom .post p {
    line-height: 1.8;
    color: #5e0000;
}

/* Image Styles */
.wpo-blog-images {
    display: flex;
    justify-content: space-between;
    gap: 15px;
}

.wpo-blog-images img {
    border-radius: 8px;
    max-width: 100%;
    height: auto;
}

/* Responsive Design */
@media (max-width: 768px) {
    .wpo-blog-images {
        flex-direction: column;
        gap: 10px;
    }

    .wpo-blog-content .post h2 {
        font-size: 20px;
    }

    .wpo-blog-content .post p {
        font-size: 14px;
    }

    .carousel-text p {
        margin: 0;
        font-size: 14px !important;
        width: 100% !important;
    }
}

.custom-full-screen-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Ensures the image covers the entire section */
}

a {
    color: rgb(144 58 0);
}

.view-more a {
    display: inline-flex;
    align-items: center;
    font-size: 16px;
    /* Adjust as needed */
    text-decoration: none;
}

.view-more a i {
    margin-left: 5px;
    /* Adds spacing between text and icon */
    font-size: 16px;
    /* Ensure the icon size matches the text */
    line-height: 1;
    /* Ensure proper alignment */
}

.view-more a:hover {
    color: #ff7700;
    /* Optional: Add hover effect for link */
}

.carousel-item {
    position: relative;
}

.carousel-caption {
    z-index: 1;
}

.image-overlay::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.20);
    /* Blackish overlay with transparency */
    z-index: 1;
}

/* Animation when the slide changes */
@keyframes fadeInTransform {
    0% {
        opacity: 0;
        transform: translateY(-50%) scale(0.8);
    }

    50% {
        opacity: 0.5;
        transform: translateY(-50%) scale(1.1);
    }

    100% {
        opacity: 1;
        transform: translateY(-50%) scale(1);
    }
}

/* Optional: Style for text */
.carousel-text p {
    margin: 0;
    font-size: 45px;
    width: 80% ;
    padding: 10px;
    font-weight: 800;
    /* font-family: "monallesia"; */
    color: #ffffff;
}


.wpo-hero-custom {
    position: relative;
    height: 400px;
    width: 100%;
    margin: 60px 0px;
    overflow: hidden;
}

/* Video Container */
.video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    filter: brightness(0.4); /* Blackish effect */
    z-index: -1; /* Place video at the base layer */
}


.wpo-service-section .wpo-service-item, .wpo-service-section-s2 .wpo-service-item{
    margin-bottom: 25px;
}

.bg-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    display: flex;
    justify-content: center;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.btn-play {
    background-color: rgba(255, 255, 255, 0.2);
    border: 2px solid #fff;
    color: #fff;
    font-size: 20px;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
}
.img-holder-1{
    overflow: hidden;
    max-height: 311px;
    margin-bottom: 22px;
}

@media (max-width: 768px) {
    .carousel-text p {
        margin: 0;
        font-size: 14px !important;
        width: 100% !important;
    }

    /* .carousel-inner {
        position: relative;
        width: 100%;
        height: 180px !important;
        overflow: hidden;
    } */

    .wpo-service-section .wpo-service-item .wpo-service-img img, .wpo-service-section-s2 .wpo-service-item .wpo-service-img img {
        /* border-bottom-right-radius: 100px; */
        width: 100%;
        height: 240px !important;
    }


    .wpo-service-section .wpo-service-item, .wpo-service-section-s2 .wpo-service-item {
        margin-bottom: 25px !important;
    }
    .section-padding {
        padding: 30px 0 !important;
    }

    .wpo-hero-custom {
        position: relative;
        height: 200px;
        width: 100%;
        margin: 30px 0px;
        overflow: hidden;
    }

    .img-holder-1{
        overflow: hidden;
        max-height: 105px;
        margin-bottom: 22px;
    }

}




@media (max-width: 1024px) {
    /* Styling for carousel text paragraph */
    .carousel-text p {
        margin: 0;
        font-size: 14px !important;
        width: 100% !important;
    }

    /* Adjusting the carousel inner container
    .carousel-inner {
        position: relative;
        width: 100%;
        object-fit: cover;
        height: 176px !important;
        overflow: hidden;
    } */
}
.wpo-blog-content p{
    margin-bottom: 0rem !important;
}

