.scroll-item {
    display: flex;
    /* Use flexbox for alignment */
    flex-direction: column;
    /* Arrange content vertically */
    justify-content: center;
    /* Center content vertically */
    align-items: center;
    /* Center content horizontally */
    background: linear-gradient(to top, #fe7602, #fe760257);
    /* Gradient background */
    color: #fff;
    /* Text color */
    padding: 20px;
    text-align: center;
    /* Align text */
    white-space: nowrap;
    /* Prevent text wrapping */
    border-radius: 8px;
    /* Rounded corners */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    /* Shadow effect */
    margin-top: 12px;
}

.scroll-item a {
    text-decoration: none;
    /* Remove underline from links */
    color: #fff;
    /* Link text color */
    display: flex;
    /* Use flexbox inside the link for better alignment */
    flex-direction: column;
    /* Icon and text in a column */
    align-items: center;
    /* Align center horizontally */
    gap: 10px;
    /* Add space between icon and text */
}

.scroll-item i {
    font-size: 2rem;
    /* Adjust icon size */
}


.scroll-container_custom {
    display: flex;
    overflow-x: auto;
    /* Allows horizontal scrolling */
    gap: 20px;
    /* Adds space between items */
    padding: 10px;

}

.scroll-container_custom::-webkit-scrollbar {
    height: 6px;
    /* Height of the scrollbar */
}

.scroll-container_custom::-webkit-scrollbar-thumb {
    background-color: #555;
    /* Color of the scrollbar thumb */
    border-radius: 4px;
    /* Rounded edges */
}

.scroll-item_custom {
    background: linear-gradient(to top, #fe7602, #fe760257);
    /* Blue to red gradient */
    color: #fff;
    padding: 20px;
    text-align: center;
    white-space: nowrap;
    /* Prevents text from wrapping */
    border-radius: 8px;
    /* Rounded corners */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    /* Shadow effect */
}


.slider-container {
    width: 100%;
    overflow: hidden;
}

.slides {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.slide {
    min-width: 100%;
    box-sizing: border-box;
}

/*  img {
width: 100%;
height: auto;
display: block;
}
*/
/* Optional: Add styles for navigation buttons */
.prev,
.next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    margin-top: -22px;
    color: white;
    font-weight: bold;
    font-size: 20px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
}

.next {
    right: 0;
    border-radius: 3px 0 0 3px;
}

.prev:hover,
.next:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

.scroll_main_div {
    box-shadow: 0px 0px 8px 0px rgba(0, 0, 0, 0.75);
    padding: 15px;
    height: 680px;
    overflow: auto;
}

.child_scroll_main_div {
    border: 1px solid orange;
    margin-top: 15px;
    border-radius: 10px;
}

#mainimgcenterdiv img {
    max-width: 100%;
    max-height: 600px;
    padding: 10px;

    /*    box-shadow: 0px 0px 5px 1px rgba(0, 0, 0, 0.75);*/

    aspect-ratio: 3 / 2;
    object-fit: contain;
}

.h4msg {
    color: black;
    font-size: 18px;
    line-height: 25px;
    padding-bottom: 18px;

}

@media only screen and (max-width:650px) {

    .h4msg {
        color: black;
        font-size: 14px;
        line-height: 16px;
        text-align: justify;
        padding-bottom: 18px;

    }
}

/* Base background for the scrollbar track */
::-webkit-scrollbar {
    width: 10px;
    /* Adjust width */
    height: 10px;
    /* For horizontal scrollbars */

}

/* Scrollbar thumb (the draggable part) */
::-webkit-scrollbar-thumb {

    border-radius: 10px;
    /* Rounded corners */
    border: 2px solid #f0f0f0;
    /* Add padding effect */
}


/* Scrollbar corner (optional, for overflow) */
::-webkit-scrollbar-corner {
    background: #f0f0f0;
    /* Same as the track background */
}

/* Firefox support */
* {
    scrollbar-width: thin;
    /* Thin scrollbar */

}


#titleTrack {
    border-left: 4px solid #fe7602;
    border-right: 4px solid #fe7602;
    border-bottom: 1px solid #fe7602;
    padding: 0px 12px;
    border-radius: 10px;
    font-size: 20px;
}

.scrollMain {
    padding: 10px 20px;
    width: 100%;
    margin: auto;
    border-radius: 5px;
    margin-bottom: 30px;
    padding: 12px;
    background: #fff;
    box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29p
}


.scrollMain img {
    width: 160px;
    height: 200px;
    display: block;
    margin: auto;
}

.scrollMain .card {
    padding-top: 10px;
    background: linear-gradient(to top, #fe7602, #fe760257);
    /* Blue to red gradient */
}

/* Styling for the marquee */
.styled-marquee {
    background: linear-gradient(to bottom, #f5f5f5, #e0e0e0);
    border: 1px solid #ccc;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1), inset 0 2px 4px rgba(255, 255, 255, 0.5);
    border-radius: 10px;
    padding: 10px;
    overflow: hidden;
    transform: rotateX(15deg);
    /* Adds a 3D tilt effect */
}

/* Text inside the marquee */
.styled-marquee p {
    font-family: 'Arial', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
    margin-bottom: 8px;
}

/* Add hover effects */
.styled-marquee:hover {
    background: linear-gradient(to bottom, #e0e0e0, #f5f5f5);
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.2), inset 0 2px 6px rgba(255, 255, 255, 0.6);
    transform: rotateX(10deg);
}

/* Add animation for a slight glow */
.styled-marquee:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
    animation: glow 3s infinite alternate;
    z-index: -1;
}

@keyframes glow {
    from {
        box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
    }

    to {
        box-shadow: 0 0 20px rgba(255, 255, 255, 0.8);
    }
}


.donation {
    margin: auto;
    margin-top: 10px;
    width: auto;
    height: auto;
    padding: 25px;
    padding-left: 30px;
    /* text-align: center; */
    box-shadow: 0px 0px 5px 2px lightgrey;
    border-radius: 10px;
    background: linear-gradient(176deg, #1c6fac 0%, rgba(10, 0, 92, 1) 100%);
    ;
}

.donation p {
    /* margin-top: 20px; */
    font-size: 20px;
    color: #fff;
}

.qrcode {
    margin: auto;
    margin-top: 20px;
    width: 250px;
    height: auto;
    padding: 20px;
    text-align: center;
    box-shadow: 0px 0px 5px 2px lightgrey;
    border-radius: 10px;
    background-color: white;
    display: flex;
    align-items: center;
    justify-content: center;
}


/* General styling for form sections */
.comman_div {
    margin-bottom: 20px;
    /* Add spacing between comman_divs */
    margin-top: 10px;
}

/* Styling for the labels */
.comman_div label {
    font-weight: 800;
    font-size: 18px;
    margin-bottom: 5px;
    display: block;
    color: #000000;
}

/* Styling for the input and select elements */
.comman_div input.form-control,
.comman_div select.form-control {
    padding: 10px;
    font-size: 18px;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-shadow: inset 2px 2px 5px rgba(0, 0, 0, 0.1),
        inset -2px -2px 5px rgba(255, 255, 255, 0.7);
    /* 3D effect */
    transition: all 0.3s ease;
}

/* Styling for hover and focus states */
.comman_div input.form-control:focus,
.comman_div select.form-control:focus {
    border-color: #007bff;
    box-shadow: 0 0 8px rgba(0, 123, 255, 0.5);
    /* Add glowing effect */
    outline: none;
}

/* Add 3D background effect to each comman_div */
.comman_div {
    background: linear-gradient(145deg, #e6e6e6, #ffffff);
    /* box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.1),
        -5px -5px 15px rgba(255, 255, 255, 0.7); */
    border-radius: 10px;
    padding: 15px;
}

/* Add spacing between the label and the field */
.comman_div .col-md-3 , .col-md-2, .col-md-6 {
    margin-top: 15px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}


/* Responsive adjustments */
@media (max-width: 768px) {
    .comman_div {
        flex-direction: column;
        /* Stack fields on smaller screens */
        padding: 10px;
    }

    .col-md-3 ,.col-md-2, .col-md-6 {
        margin-bottom: 10px;
    }
}


/* Loader */
.loader {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 5px solid #f3f3f3;
    border-top: 5px solid #3498db;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
    z-index: 9999;
}

.loader.is-active {
    display: block;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.4);
}

.modal-content {
    background-color: #fefefe;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    position: relative;
}

.modal-content .close {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 20px;
    cursor: pointer;
}

#h5formtitle {

text-align: center;

background: linear-gradient(to right, rgb(0 0 139 / 99%), darkblue, rgb(0 0 139));

color: white;

padding: 10px;
}