.marquee_parent {
    padding: 12px;
    border-radius: 5px;
    box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
    background: #fff;
}

.marquee_parent_sub {


    padding: 20px;
    background: rgb(18, 7, 249);
    background: linear-gradient(355deg, #f69634 50%, #12ffff 50%);
   
    border-radius: 5px;
}

marquee {
    font-size: 16px;
    text-align: center;
    width: 100%;
    margin: auto;
    display: block;
    border-radius: 5px;
    padding: 10px;
    background: rgba(255, 255, 255, .9);
}

.headercard {
    height: 130px;
    background: #fff;
    overflow: hidden;
    position: relative;
}

.headerimg {
    width: 340px;
    height: 130px;
    overflow: hidden;
    position: relative;
}

.list-group-item p {
    color: #8f181a;

}

.list-group-item strong small {
    color: #8f181a;

}

.list-group-item small {
    color: #8f181a;

}

._1dro {
    bottom: 40px;
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
    z-index: 1;
}

._2ph- {
    padding: 8px;
}

.headercard {
    padding: 20px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    border-radius: 10px;
}

._1dro {
    display: flex;
    align-items: center;
}

._2ph- {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.img-container {
    display: flex;
    align-items: center;
    gap: 10px;
}

.img1 {
    width: 63px;
    height: 51px;
    border: 1px solid;
}

.img1 img {
    width: 50px;
    /* Set image size */
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 15px;
}

.textheader {
    font-size: 16px;
    font-weight: bold;
    color: #eeeaea;
    background: #6b686863;
}

._1drq {
    font-size: 14px;
    color: #f3f6f9;
    margin-left: -40px;
    background: #0c0c0c63;
}

._42ft {
    width: 42%;
    border: 1px solid #5c5555;
    font-size: 13px;
    font-weight: 700;
    color: #645959;
    height: 27px;
    border-radius: 5px
}

._42ft i {
    color: #1c1cc4;
    font-size: 14px;
}

._2lqg {
    background: #f5f6f7;
    border: 1px solid #ebedf0;
    border-top: 0;
    overflow-y: auto;
}

._2lqg {
    overflow-y: scroll;
    height: 350px;

}

._2lqg::-webkit-scrollbar {}


._2lqg {
    scrollbar-width: none;
    /* For Firefox */
}


.facebook-post {
    padding: 10px;
    border-bottom: 1px solid #ddd;
}

.post-image {
    margin-bottom: 10px;

}

.post-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;

}

.post-actions {
    display: flex;
    justify-content: space-around;
    margin-top: 10px;
}

.like-btn,
.comment-btn,
.share-btn {
    background-color: #007bff;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.like-btn i,
.comment-btn i,
.share-btn i {
    margin-right: 5px;
    /* Space between icon and text */
}

.like-btn:hover,
.comment-btn:hover,
.share-btn:hover {
    background-color: #0056b3;
}

/* Optional: Style the post container for better readability */
.facebook-post:last-child {
    border-bottom: none;
}


/* Card container */
.marquee_parent_sub2 {
    background-color: #e4e0dd;
    border-radius: 5px;
}

.card-container {
    position: relative;
    overflow: hidden;
    width: 100%;
    max-width: 400px;
    margin: 8px auto;
    transition: background-color 0.3s ease-in-out;
    border-radius: 10px;
}

.card-container:hover {
    background: #8f181a !important;

}


.post-image {
    position: relative;
    text-align: center;
    padding: 8px;
    overflow: hidden;
}


.post-image img {
    width: 100%;
    height: 25vh;
    border-radius: 10px;
    transition: transform 0.3s ease;
}


.card-container:hover .post-image img {
    transform: scale(1.1);

}

.text-animation {
    position: absolute;
    bottom: 10px;
    width: 100%;
    font-size: 18px;
    font-weight: bold;
    color: white;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    animation: scroll-text 10s linear infinite;
    left: 0%;
    transform: translateX(-50%);

}

/* Scrolling text animation */
@keyframes scroll-text {
    0% {
        transform: translateX(100%);
    }

    100% {
        transform: translateX(-100%);
    }
}

/* Icon Styling */
.text-animation i {
    margin-left: 10px;
    animation: icon-move 2s ease-in-out infinite;
    /* Animation for icon */
}

/* Icon animation: Move from left to right */
@keyframes icon-move {
    0% {
        transform: translateX(0);
    }

    50% {
        transform: translateX(10px);
    }

    100% {
        transform: translateX(0);
    }
}

/* Hover effect for text: fade in from top to bottom */
.card-container:hover .text-animation {
    animation: text-fade-top-bottom 0.5s forwards;
}

/* Text fade-in animation from top to bottom */
@keyframes text-fade-top-bottom {
    0% {
        transform: translateY(-30px);
        opacity: 0;
    }

    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

.text-silder {
    width: 100%;
    height: 65px;
    background: #4f4848;
}

.text-silder p {
    margin: 10px auto;
    text-align: center;
    color: #fff;
    font-size: 20px;
    font-weight: 400;
}

.text-silder .desc {
    color: #E90912;
    font-size: 13px;
    line-height: 1px;
    font-weight: 600;
}

.all-post-card {
    max-height: 680px;
    overflow-y: scroll;
    /* Enables vertical scrolling */

    padding: 10px;
    border-radius: 5px;
    /* Scrollbar visibility for Firefox */
    scrollbar-width: thin;
    /* Visible and thin scrollbar */
    scrollbar-color: #8f181a #f1f1f1;
    /* Thumb and track colors for Firefox */
}

/* For Webkit browsers (Chrome, Edge, Safari) */
.all-post-card::-webkit-scrollbar {
    width: 8px;
    height: 10px !important;
    border-radius: 8px;
    /* Width of vertical scrollbar */
    background-color: #f1f1f1;
    /* Background of the scrollbar track */
}

.all-post-card::-webkit-scrollbar-track {
    background: #f1f1f1;
    /* Background of the scrollbar track */
}

.all-post-card::-webkit-scrollbar-thumb {
    background: #8f181a !important;
    /* Scrollbar thumb color */
    border-radius: 4px;
    /* Rounded corners for thumb */
}

.all-post-card::-webkit-scrollbar-thumb:hover {
    background: #8f181a !important;
    /* Darker color for thumb when hovered */
}



.all-mamber-card {
    display: flex;
    grid-column-gap: 5px;
    color: #fff;
    overflow-x: auto;
    margin: auto;
    padding-bottom: 10px;
    margin-bottom: 15px;
    transition: .3s;
}

.all-mamber-card a p {
    display: flex;
    flex-direction: column;
    grid-row-gap: 5px;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: red !important;
    height: 80px;
    font-weight: bold;
    font-size: 11px;
    padding: 10px;
    width: 120px;
    box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
    border: 0;
    border-radius: 5px;
    cursor: pointer;
    background: rgb(18, 7, 249);
    background: linear-gradient(355deg,  #f69634 50%, #12ffff 50%);
    
}

.all-mamber-card i {
    font-size: 25px;
}

.button001 {
    display: flex;
    justify-content: center;
}

.button001 a {
    margin: auto;
    color: red !important;

    border-radius: 5px;
    background: rgb(18, 7, 249);
    background: linear-gradient(355deg,   #f69634 50%,#12ffff 50%);
    padding: 0px 25px;
    font-size: 20px;
    margin: auto;
    text-align: center;
    font-weight: bold;
    margin-bottom: 20px;
    border: none;
}

.button0011 {
    text-align: center;
    padding: 0px 25px;
    margin-bottom: 20px;
    margin-top: 20px;
}

.button0011 a {
    margin: auto;
    color: #fff !important;
    color: #8f181a !important;
    font-size: 16px;
    font-weight: 700;
    text-align: center;

    border: none;
}

/* about statrt */
.fadeInRight {
    max-height: 340px;
    overflow-y: scroll;
    scrollbar-width: none;
}


.logo-card_relative_div {

    margin-bottom: 20px;
    box-shadow: rgba(99, 99, 99, 0.103) 0px 2px 8px 0px;
}

.all-text {
    color: black;
    font-size: 14px;
    font-weight: bold;
    margin-top: 12px;
    text-align: center;
    transition: all .3s;
    cursor: pointer;
}

.text p:hover {
    color: #8f181a;
}

.object-img {
    height: 100px;
}

/* video silder css code start */
.container-fluid01 {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.section-title01 {
    text-align: center;
    margin-bottom: 30px;
}

.container-fluid0 {
    max-width: 1200px;
    margin: 0 auto;
}

.gallery-img {
    width: 100%;
    height: 30vh;
}



/* Carousel Styles */
.carousel0 {
    position: relative;
    overflow: hidden;
    cursor: grab;
}

.carousel-inner0 {
    display: flex;
    transition: transform 0.5s ease;
}

.carousel-item0 {
    flex: 0 0 33.3333%;
    padding: 10px;
    box-sizing: border-box;

}

.card0 {
    border-radius: 5px;
    background-color: #fff;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}





.carousel-control-prev0,
.carousel-control-next0 {
    position: absolute;
    bottom: 50%;
    transform: translateY(-50%);
    font-size: 2rem;
    color: #333;
    text-decoration: none;
    padding: 10px;
    border-radius: 50%;
}

.carousel-control-prev0 {
    left: -13px;
}

.carousel-control-next0 {
    right: -13px;
}


@media (max-width: 767px) {
    .carousel-item0 {
        flex: 0 0 100%;
    }

    .carousel-control-prev0,
    .carousel-control-next0 {
        font-size: 1.5rem;
    }
}

.carousel-pagination {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.carousel-dot {
    background-color: #ccc;
    border: none;
    border-radius: 50%;
    width: 15px;
    height: 15px;
    margin: 0 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.carousel-dot.active {
    background-color: #007bff;
}

.carousel-dot:hover {
    background-color: #0056b3;
}

/* Testimonial Section Styling */
.testimonial {
    background-color: #f9f9f9;
}

.testimonial-item {
    background-color: #ffffff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    border-right: 5px solid #8f181a;
}

.testimonial-item::after {
    content: "";
    position: absolute;
    bottom: -4px;
    left: -17px;
    border-top: 25px solid #8f181a;
    border-left: 25px solid transparent;
    border-right: 25px solid transparent;
    transform: rotate(45deg);
}


/* Style for the testimonial item */
.testimonial-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 20px;
}


.testimonial-item .d-flex {
    display: flex;
    flex-direction: row;

    align-items: center;

    justify-content: center;
}

/* Left side: Image */
.testimonial-image {
    margin-right: 20px;

}

.testimonial-image img {
    border-radius: 50%;
}


.testimonial-text {
    text-align: left;

}


.testimonial-text h5 {
    font-size: 18px;
    font-weight: bold;
    color: #333;
}


.testimonial-text p {
    font-size: 14px;
    color: #777;
}

.testimonial-item .fa-star {
    font-size: 1.2rem;
    color: #FFD700;

}


.testimonial-item:hover {
    transform: scale(1.05);
    transition: all 0.3s ease;
}

.parson-details {
    display: flex;
    align-items: center;
    color: #8f181a;
    gap: 20px;
}

.parson-details h5 {
    display: inline-block;
    font-size: 20px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-color);
    margin: 0;
}

.parson-details p {
    display: inline-block;
    font-size: 17px;
    color: #0F0F7E;
    font-style: italic;
}


@media (max-width: 767px) {
    .testimonial-item .d-flex {
        flex-direction: column;

        align-items: center;
    }

    .testimonial-item .testimonial-text {
        text-align: center;

    }
}

/* end testimonial */
.footer-item h4 {
    color: #fff;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 2px
}

.footer-item p {
    color: #fff;
    font-size: 15px;
}

.footer-logo {
    width: 200px;
    height: 200px;
    margin: auto;

}

.footer-logo img {
    width: 200px;
    height: 200px;
}

.follower-text {
    color: #fff;
    display: block;
    font-size: 20px;
    font-weight: 700;
    font-family: 'Poppins', sans-serif;
    margin-bottom: 20px;

}

.footer-social-icon a {
    color: #fff;
    font-size: 16px;
    margin-right: 5px;
    background-color: transparent;
    text-decoration: none !important;
}

.footer-social-icon i {
    height: 40px;
    width: 40px;
    text-align: center;
    line-height: 38px;
    border-radius: 50%;

}

.fecebook-bg {
    background: #3B5998;
}

.twitter-bg {
    background: #55ACEE;
}

.instagram-bg {
    background: #8f181a;
}

.linkedin-bg {
    background: #8f181a;
}

.footer-widget-heading {
    text-align: center;
}

.footer-widget-heading h3 {
    color: #fff;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 40px;
    position: relative;
}

.footer-widget-heading h3::before {
    content: "";
    position: absolute;
    left: 45%;
    bottom: -15px;
    height: 2px;
    width: 50px;
    background: #fff;
}

.footer-widget ul li {
    display: inline-block;
    float: left;
    text-align: left;
    width: 50%;
}