/*** Spinner Start ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease-out, visibility 0s linear 0.5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity 0.8s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}
/*** Spinner End ***/


.back-to-top {
    position: fixed;
    right: 30px;
    bottom: 30px;
    display: flex;
    width: 45px;
    height: 45px;
    align-items: center;
    justify-content: center;
    transition: 0.5s;
    z-index: 99;
}

/*** Button Start ***/
.btn {
    font-weight: 600;
    transition: 0.5s;
}

.btn-square {
    width: 32px;
    height: 32px;
}

.btn-sm-square {
    width: 34px;
    height: 34px;
}

.btn-md-square {
    width: 44px;
    height: 44px;
}

.btn-lg-square {
    width: 56px;
    height: 56px;
}

.btn-square,
.btn-sm-square,
.btn-md-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
}

.btn-hover-bg {
    transition: 0.5s;
}

.btn-hover-bg:hover {
    background: var(--bs-secondary) !important;
    color: var(--bs-primary) !important;
}

.btn-hover-color {
    transition: 0.5s;
}

.btn-hover-color:hover {
    color: var(--bs-secondary) !important;
}
/*** Topbar Start ***/
.fixed-top .container {
    transition: 0.5s;
}

.topbar {
    padding: 2px 10px 2px 20px;
    background: #f07600 !important;
}

.topbar a,
.topbar a i {
    transition: 0.5s;
}

.topbar a:hover,
.topbar a i:hover {
    color: var(--bs-secondary) !important;
}

@media (max-width: 768px) {
    .topbar {
        display: none;
    }
}
/*** Topbar End ***/

/*** Navbar Start ***/
.navbar {
    padding: 0;
}

.navbar .navbar-nav .nav-link {
    padding: 10px 15px;
    font-size: 16px;
    transition: 0.5s;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active,
.sticky-top.bg-white .navbar .navbar-nav .nav-link:hover,
.sticky-top.bg-white .navbar .navbar-nav .nav-link.active {
    color: var(--bs-primary);
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 600;
    vertical-align: middle;
    margin-left: 8px;
}

.navbar .navbar-brand img {
    width: 100%;
    max-width: 130px !important;
}

@media (min-width: 1200px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        visibility: hidden;
        top: 100%;
        transform: rotateX(-75deg);
        transform-origin: 0% 0%;
        border: 0;
        transition: 0.5s;
        opacity: 0;
    }
}

@media (max-width: 1200px) {
    .navbar .collapse.navbar-collapse .btn-hover-bg.btn {
        margin-bottom: 20px;
    }
}

.dropdown .dropdown-menu a:hover {
    background: var(--bs-secondary);
    color: var(--bs-primary);
}

.navbar .nav-item:hover .dropdown-menu {
    transform: rotateX(0deg);
    visibility: visible;
    background: var(--bs-light) !important;
    transition: 0.5s;
    opacity: 1;
}
/*** Navbar End ***/

/*** Carousel Start ***/
.carousel-header #carouselId .carousel-control-prev,
.carousel-header #carouselId .carousel-control-next {
    background: transparent;
}

.carousel-header #carouselId .carousel-inner .carousel-item {
    position: relative;
    min-height: 100vh;
}

.carousel-header #carouselId .carousel-inner .carousel-item img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.carousel-header #carouselId .carousel-inner .carousel-item .carousel-caption {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    padding-top: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4));
    background-size: cover;
}

.carousel-control-prev,
.carousel-control-next {
    opacity: 0;
}

.carousel-control-prev .carousel-control-prev-icon,
.carousel-control-next .carousel-control-next-icon {
    background: transparent !important;
}

.carousel-header #carouselId.carousel {
    position: relative;
}

.carousel-header #carouselId.carousel .carousel-indicators {
    position: absolute;
    bottom: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent !important;
}

.carousel-header #carouselId.carousel .carousel-indicators li,
.carousel-header #carouselId.carousel .carousel-indicators li,
.carousel-header #carouselId.carousel .carousel-indicators li {
    margin-right: 30px !important;
}

.carousel-header #carouselId.carousel .carousel-indicators li {
    width: 12px;
    height: 12px;
    border-radius: 12px !important;
    border: 5px solid transparent;
    transition: 0.5s;
}

.carousel-header #carouselId.carousel .carousel-indicators li.active {
    border: 5px solid var(--bs-primary) !important;
    border-radius: 10px;
}
/*** Carousel End ***/

/*** Single Page Hero Header Start ***/
.bg-breadcrumb {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)),
        url(../img/bacgrounimage.webp);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    padding: 100px 0 0 0;
}
/*** Single Page Hero Header End ***/

/*** About Start ***/
.about .tab-class .nav .nav-item a.active,
.about .tab-class .nav .nav-item a.active span {
    background: var(--bs-primary) !important;
    color: var(--bs-white) !important;
}

/*** About End ***/

/* com[aign css starts -------------] */

.compaign .progress {
    height: 1rem;
}

.compaign .supporter-img {
    width: 40px;
    height: 40px;
    object-fit: cover;
    border-radius: 50%;
}

.compaign .donate-box {
    background-color: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.compaign .btn-donate {
    background-color: #f07600 !important;
    color: #fff;
}

.compaign .btn-donate:hover {
    background-color: #f07600 !important;
    color: #fff;
}

.compaign .col-md-7 img {
    height: 500px;
}

.compaign .about-this-cause {
    margin-top: 20px;
    background-color: #fff;
}

.compaign .about-this-cause h2 {
    color: #333;
    margin-bottom: 15px;
}

.compaign .about-this-cause p {
    line-height: 1.6;
    margin-bottom: 15px;
    color: #555;
}

/*** service Start ***/
.service .service-item {
    position: relative;
    overflow: hidden;
}

.service .service-item .service-inner .service-title {
    position: relative;
    margin-top: -30px;
    text-align: center;
    transition: 0.5s;
}

.service .service-item .service-inner .service-title .service-content {
    position: absolute;
    bottom: -100%;
    left: 0;
    margin-left: 30px;
    margin-right: 30px;
    text-align: center;
    border-radius: 10px;
    /* background: var(--bs-primary); */
    background-color: white;
    opacity: 0;
    transition: 0.5s;
}

.service .service-item:hover .service-inner .service-title .service-content {
    bottom: 0;
    opacity: 1;
}

.service .service-item .service-inner .service-title .service-content a h4 {
    border-bottom: 1px solid rgba(256, 256, 256, 0.1);
}

.service .service-item .service-inner .service-title .service-content p {
    border-bottom: 1px solid rgba(256, 256, 256, 0.1);
    color: #000;
}

.service .service-item .service-inner .service-title .service-title-name {
    transition: 0.5s;
}

.service .service-item:hover .service-inner .service-title .service-title-name {
    opacity: 0;
}

.service .service-item .service-inner .service-img {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
}

.service .service-item .service-inner .service-img img {
    width: 100%;
    height: 400px;
}

.service .service-item .service-inner .service-img::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 0;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.5);
    transition: 0.5s;
    opacity: 0;
}

.service .service-item:hover .service-inner .service-img::after {
    height: 100%;
    opacity: 1;
}

.service .service-item .service-inner .service-img img {
    transition: 0.5s;
}

.service .service-item:hover .service-inner .service-img img {
    transform: scale(1.3);
}
/*** Service End ***/

/*** Service Start ***/
/* .service .service-item {
  position: relative;
  overflow: hidden;
}

.service .service-item .service-link {
  position: absolute;
  width: 100%;
  height: 100%;
  padding: 20px;
  bottom: 0;
  left: 0;
  display: flex;
  align-items: end;
  background: rgba(0, 0, 0, 0.3);
  transition: 0.5s;
}

.service .service-item .service-link:hover {
  background: rgba(0, 0, 0, 0.6);
}

.service .service-item .service-link a {
  color: var(--bs-white);
  transition: 0.5s;
}

.service .service-item img {
  transition: 0.5s;
}

.service .service-item:hover img {
  transform: scale(1.2);
}

.service .service-item .service-link:hover a:hover {
  color: var(--bs-primary);
} */
/*** Service End ***/

/*** teams Start ***/
.team .team-item {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 100%;
    transition: 0.5s;
    z-index: 1;
}

.team .team-item .team-img img {
    transition: 0.5s;
}

.team .team-item:hover .team-img img {
    transform: scale(1.2);
}

.team .team-item::after {
    content: "";
    width: 100%;
    height: 0;
    position: absolute;
    top: 0;
    left: 0;
    transition: 0.5s;
    z-index: 2;
}

.team .team-item:hover:after {
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
}

.team .team-item .team-content {
    position: absolute;
    width: 100%;
    height: auto;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    transition: 0.5s;
    opacity: 0;
    z-index: 3;
}

.team .team-item:hover .team-content {
    opacity: 1;
}

.team-content img {
    width: 100%;
    max-width: 120px;
}

.team .team-item:hover .team-content a.fs-4 {
    color: var(--bs-white);
    transition: 0.5s;
}

.team .team-item:hover .team-content a.fs-4:hover {
    color: var(--bs-white);
}

.team .team-item .team-tytle {
    position: absolute;
    width: 100%;
    height: 80px;
    bottom: 0;
    right: 0;
    /* background: var(--bs-team-primary); */
    background-color: #f26522;
    display: flex;
    transition: 0.5s;
    z-index: 3;
}

.team .team-item:hover .team-tytle {
    margin-right: -100%;
}

.team .team-item:hover .team-tytle h4 {
    color: #fff;
}

.team-tytle .btn-xl-square img {
    width: 100%;
}
/*** teams End ***/

/* financial css starts --------------- */
.financial .img-wrapper {
    position: relative;
    overflow: hidden;
}

.financial .img-fluid {
    width: 100%;
}

.financial .img-overlay {
    position: absolute;
    bottom: -100%;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    transition: bottom 0.5s ease;
    z-index: 2;
}

.financial .img-wrapper:hover .img-overlay {
    bottom: 0;
}

/* financial css ends --------------- */

/* project css starts -------------- */

.project .img-wrapper {
    position: relative;
    height: 100%;
    min-height: 500px;
}

.project .img-wrapper img {
    height: 100%;
    min-height: 500px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.project .img-wrapper:hover img {
    transform: scale(1.05);
}

.project .img-overlay {
    position: absolute;
    bottom: -100%;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    transition: bottom 0.5s ease;
    z-index: 2;
}

.project .img-wrapper:hover .img-overlay {
    bottom: 0;
}

/* project css ends ------------------ */

/* Nirogaya css starts --------------- */

.nirogya .object-fit-cover {
    object-fit: cover;
    height: 100%;
    max-height: 400px;
}

.nirogya .border-start {
    padding-left: 1.5rem;
}

.nirogya ul li i {
    vertical-align: middle;
}

.nirogya .nirogya-image {
    height: 100%;
    min-height: 500px;
}

.nirogya .nirogya-image img {
    height: 100%;
    min-height: 500px;
}

.nirogya-image:hover img {
    transform: scale(1.05);
}

.nirogya-image .overlay {
    position: absolute;
    bottom: -100%;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    transition: bottom 0.5s ease;
    z-index: 1;
}

.nirogya-image:hover .overlay {
    bottom: 0;
}

/* Nirogaya css ends --------------------- */

/* anapoorna css starts ---------------- */

.anapoorna-image {
    position: relative;
    min-height: 500px;
}

.anapoorna-image img {
    transition: transform 0.5s ease;
    object-fit: cover;
    height: 100%;
    min-height: 500px;
}

.anapoorna-image:hover img {
    transform: scale(1.05);
}

.anapoorna-image .overlay {
    position: absolute;
    bottom: -100%;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    transition: bottom 0.5s ease;
    z-index: 1;
}

.anapoorna-image:hover .overlay {
    bottom: 0;
}

/* anapoorna css ends here -------------- */

/*** Donation Start ***/
.donation .donation-item {
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.donation .donation-item::after {
    width: 100%;
    height: 100%;
    position: absolute;
    content: "";
    top: 0;
    left: 0;
    display: flex;
    background: rgba(0, 0, 0, 0.5);
    z-index: 2;
}

.donation .donation-item .donation-content {
    position: absolute;
    width: 100%;
    height: 100%;
    padding: 20px;
    justify-content: end;
    bottom: -60px;
    left: 0;
    transition: 0.5s;
    z-index: 3;
}

.donation .donation-item:hover .donation-content {
    position: absolute;
    width: 100%;
    height: 100%;
    padding: 20px;
    justify-content: end;
    bottom: 0px;
    left: 0;
    background: rgba(0, 0, 0, 0.6);
}

.donation .donation-item .donation-btn {
    visibility: hidden;
    opacity: 0;
    transition: 0.5s;
}

.donation .donation-item:hover .donation-btn {
    visibility: visible;
    opacity: 1;
}

/*** Donation End ***/

/*** Counter Start ***/
.counter .counter-item .counter-counting {
    width: 100%;
    text-align: center;
    border-style: dotted;
    border-color: var(--bs-white);
    font-size: 30px;
}
/*** Counter End ***/

/*** causes Start - Original CSS from your provided code ***/
.causes .causes-item {
    overflow: hidden;
    /* Added margin to create spacing between items within the slider. */
    /* This simulates the gutter effect of Bootstrap columns. */
    margin: 0 12px; /* Adds 12px left and right margin to each slide */
}

.causes .causes-item .causes-img {
    position: relative;
    transition: 0.5s;
}

.causes .causes-item .causes-img .causes-link {
    position: absolute;
    width: 100%;
    height: 100%;
    bottom: 0 !important;
    left: 0;
    display: flex;
    justify-content: space-between;
    align-items: end;
    background: rgba(0, 0, 0, 0.2);
    transition: 0.5s;
    /* Kept padding here as it was likely intended for the layout */
    padding-bottom: 0.5rem;
    padding-left: 1rem;
    padding-right: 1rem;
}

.causes .causes-item .causes-img:hover .causes-link {
    background: rgba(0, 0, 0, 0.6);
}

.causes .causes-item .causes-img img {
    transition: 0.5s;
}

.causes .causes-item .causes-img:hover img {
    transform: scalex(-1); /* Reverted to your original hover effect */
}

.causes .causes-item .causes-img .causes-dination {
    position: absolute;
    top: 0;
    right: 0;
}

.causes .causes-item .causes-img .causes-dination a {
    font-size: 14px;
}

.causes .causes-item .causes-content {
    background: var(--bs-secondary);
    border-color: var(--bs-white);
    border-style: dotted;
    border-top: 0;
    padding-top: 1.5rem; /* Equivalent to your pt-4 Bootstrap class */
}

.causes-content h4 {
    cursor: pointer;
    padding-left: 1rem; /* Equivalent to your px-4 Bootstrap class */
    padding-right: 1rem; /* Equivalent to your px-4 Bootstrap class */
}

.causes-content h4:hover {
    cursor: pointer;
    text-decoration: underline;
    color: var(--bs-primary);
}

.causes .causes-item .progress {
    height: 10px;
    overflow: visible;
    background-color: #e9ecef;
}

.causes .causes-item .progress .progress-bar {
    position: relative;
    width: 0;
    overflow: visible;
    background: var(--bs-primary);
    transition: width 2s; /* Original transition speed */
}

.causes .causes-item .progress .progress-bar span {
    position: absolute;
    top: 50%;
    right: -1px;
    transform: translateY(-50%);
    padding: 1px 5px;
    font-size: 12px;
    color: var(--bs-white);
    background: var(--bs-dark);
    z-index: 1;
}

.box-campaign {
    /* Original box-campaign styles */
    color: #6e7377;
    /* Added padding and margin-top for consistent layout if it was missing */
    padding: 10px;
    margin-top: 1rem;
}

.box-campaign ul li {
    flex: 1;
    padding: 0 10px;
    font-size: 14px;
    white-space: nowrap; /* Prevents text from wrapping if content is long */
}

.box-campaign li {
    font-size: 13px;
    color: #6e7377;
}

.box-campaign li strong {
    font-size: 13px;
    color: #6e7377;
}
/*** causes End ***/

/* Slick Carousel Customizations (for navigation arrows and dots) */
/* These ensure the slider navigation looks good */
.slick-prev,
.slick-next {
    font-size: 0; /* Hide default text */
    line-height: 1;
    position: absolute;
    top: 50%;
    display: none !important;
    width: 40px; /* Size of arrow buttons */
    height: 40px;
    padding: 0;
    -webkit-transform: translate(0, -50%);
    -ms-transform: translate(0, -50%);
    transform: translate(0, -50%);
    cursor: pointer;
    color: transparent;
    border: none;
    outline: none;
    background: rgba(0, 0, 0, 0.5); /* Background for arrows */
    border-radius: 50%; /* Make them circular */
    z-index: 50; /* Ensure they are above slides */
}

.slick-prev:hover,
.slick-prev:focus,
.slick-next:hover,
.slick-next:focus {
    color: transparent;
    outline: none;
    background: rgba(0, 0, 0, 0.7); /* Darker on hover */
}

.slick-prev:before,
.slick-next:before {
    font-family: "Font Awesome 6 Free"; /* Use Font Awesome for arrows */
    font-weight: 900;
    font-size: 20px;
    line-height: 1;
    color: var(--bs-white); /* White arrows */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Position arrows relative to the main .causes section */
.causes {
    position: relative; /* This makes .causes the positioning context for arrows */
}

.slick-prev {
    left: 0px; /* Position at the left edge of the .causes section */
}
[dir="rtl"] .slick-prev {
    right: 0px;
    left: auto;
}
.slick-prev:before {
    content: "\f053"; /* Font Awesome left arrow */
}
[dir="rtl"] .slick-prev:before {
    content: "\f054";
}

.slick-next {
    right: 0px; /* Position at the right edge of the .causes section */
}
[dir="rtl"] .slick-next {
    right: auto;
    left: 0px;
}
.slick-next:before {
    content: "\f054"; /* Font Awesome right arrow */
}
[dir="rtl"] .slick-next:before {
    content: "\f053";
}

/* Compensate for the margins on .causes-item so the slider doesn't overflow */
.slick-list {
    margin: 0 -12px; /* Negative margin to offset the 12px margin on items */
}

/* Dots */
.slick-dots {
    position: absolute;
    bottom: -30px; /* Position below the slider */
    display: block;
    width: 100%;
    padding: 0;
    margin: 0;
    list-style: none;
    text-align: center;
}
.slick-dots li {
    position: relative;
    display: inline-block;
    width: 20px;
    height: 20px;
    margin: 0 5px;
    padding: 0;
    cursor: pointer;
}
.slick-dots li button {
    font-size: 0;
    line-height: 0;
    display: block;
    width: 10px; /* Size of dot */
    height: 10px;
    padding: 5px;
    cursor: pointer;
    color: transparent;
    border: 0;
    outline: none;
    background: #ccc; /* Default dot color */
    border-radius: 50%;
    transition: background-color 0.3s ease;
}
.slick-dots li.slick-active button {
    background: var(--bs-primary); /* Active dot color */
}

/* Responsive adjustments for arrows and dots */
@media (max-width: 991.98px) {
    .slick-prev,
    .slick-next {
        top: 35%; /* Adjust vertical position for smaller screens */
    }
}
@media (max-width: 767.98px) {
    /* On smaller screens, arrows can be closer to the container edges */
    .slick-prev {
        left: 0px;
    }
    .slick-next {
        right: 0px;
    }
}
@media (max-width: 575.98px) {
    /* For very small screens, make arrows slightly smaller */
    .slick-prev,
    .slick-next {
        width: 30px;
        height: 30px;
        top: 30%;
    }
    .slick-prev:before,
    .slick-next:before {
        font-size: 16px;
    }
}
/* How to Help Section Styling */
:root {
    --accent-yellow: #ffc107;
    --section-bg-light: #f8f9fa;
    --text-dark: #212529;
    --text-secondary: #6c757d;
}

.help-children-section {
    background-color: var(--section-bg-light);
}

.highlight-text-red {
    color: #f07600;
}

.help-children-section .custom-donate-btn-large {
    background-color: var(--accent-yellow);
    color: var(--text-dark);
    border: 1px solid var(--accent-yellow);
    padding: 12px 30px;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 700;
    transition: all 0.3s ease;
}

.help-children-section .custom-donate-btn-large:hover {
    background-color: #e0a800;
    border-color: #e0a800;
    color: var(--text-dark);
}

.help-children-section .custom-card {
    width: 280px;
    height: 400px !important;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border: none;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    margin: auto;
}

.help-children-section .custom-card .card-img-container {
    position: relative;
    overflow: hidden;
    height: 250px;
}
.help-children-section .help-children {
    padding: 0 50px 0 0;
}

.help-children-section .custom-card .card-img-top {
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.help-children-section .custom-card .card-body {
    flex-grow: 1;
    padding: 1rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.help-children-section .custom-card .card-title {
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.help-children-section .custom-card .card-text {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.help-children-section .help-cards-slider .slick-slide {
    display: flex;
    justify-content: center;
    padding: 0 10px;
}

.slick-prev {
    display: inline-block !important;
    top: -1.4rem !important;
    left: 80px !important;
}
.slick-next {
    display: inline-block !important;
    left: 10px !important;
    top: -1.4rem !important;
}

.help-children-section .slick-prev:before,
.help-children-section .slick-next:before {
    color: #fff;
    font-size: 28px;
}

.help-children-section .slick-prev,
.help-children-section .slick-next {
    font-size: 0;
    line-height: 0;
    position: absolute;
    top: 50%;
    display: block;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    padding: 0;
    -webkit-transform: translate(0, -50%);
    -ms-transform: translate(0, -50%);
    transform: translate(0, -50%);
    cursor: pointer;
    border: none;
    outline: none;
    background: #f07600;
}

.help-children-section .slick-prev {
    left: -70px;
}

.help-children-section .slick-next {
    right: -70px;
}

.help-children-section .slick-next {
    right: -30px;
}

.help-children-section .slick-prev {
    left: -30px;
}
.story-carousel {
    position: relative;
    overflow: hidden;
}

.story-carousel p {
    color: #000;
}

/* .story-carousel .story-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("img/about-1.jpg") no-repeat center center / cover;
  filter: brightness(0.3);
  transform: scale(1.1);
  z-index: 1;
} */

.story-carousel .text-shadow {
    text-shadow: 1px 1px 6px rgba(0, 0, 0, 0.8);
}

.story-carousel .container.position-relative {
    z-index: 2;
}

.story-carousel .custom-slider-container {
    position: relative;
    overflow: hidden;
    padding: 0 70px; /* Add spacing for external buttons */
    margin-top: 20px;
}

.story-carousel .custom-slider {
    display: flex;
    transition: transform 0.6s ease-in-out;
}

.story-carousel .slide {
    min-width: 100%;
    display: none;
    padding: 1rem 0;
}

.story-carousel .slide.active {
    display: block;
}

.story-carousel .custom-slider img {
    height: 500px !important;
}

/* Navigation Buttons */
.story-carousel .custom-prev,
.story-carousel .custom-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: #f07600;
    color: #fff;
    border: none;
    font-size: 32px;
    padding: 8px 22px;
    cursor: pointer;
    z-index: 3;
    border-radius: 50%;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s ease;
}

.story-carousel .custom-prev {
    left: 3px;
}

.story-carousel .custom-next {
    right: 3px;
}

.story-carousel .custom-prev:hover,
.story-carousel .custom-next:hover {
    background-color: #f07600;
    color: #fff;
}

@media (max-width: 768px) {
    .story-carousel .custom-slider-container {
        padding: 0 20px;
    }

    .story-carousel .custom-prev {
        left: 10px;
    }

    .story-carousel .custom-next {
        right: 10px;
    }

    .story-carousel .custom-prev,
    .story-carousel .custom-next {
        font-size: 24px;
        padding: 8px 12px;
        display: none !important;
    }

    .story-carousel .row {
        flex-direction: column;
        text-align: center;
    }

    .story-carousel .col-md-5,
    .story-carousel .col-md-7 {
        width: 100%;
    }
}

/*** Events Start ***/
.event .event-carousel.owl-carousel {
    position: relative;
}
.event .event-carousel.owl-carousel .owl-nav .owl-prev {
    position: absolute;
    top: -60px;
    left: 0;
    width: 80px;
    height: 40px;
    border: 1px solid var(--bs-primary);
    background: var(--bs-primary);
    color: var(--bs-white);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.5s;
}

.event .event-carousel.owl-carousel .owl-nav .owl-next {
    position: absolute;
    top: -60px;
    right: 0;
    width: 80px;
    height: 40px;
    border: 1px solid var(--bs-primary);
    background: var(--bs-primary);
    color: var(--bs-white);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.5s;
}

.event .event-carousel.owl-carousel .owl-nav .owl-prev:hover,
.event .event-carousel.owl-carousel .owl-nav .owl-next:hover {
    background: var(--bs-secondary);
    color: var(--bs-primary);
}
/* Base styles */
.event .event-carousel .event-item .event-content {
    border-style: dotted;
    border-top: 0;
    border-color: var(--bs-white);
    background: var(--bs-secondary);
    color: #000; /* Default text color */
    transition: all 0.4s ease;
}

/* Hover effect */
.event .event-carousel .event-item .event-content:hover {
    background-color: #f07600;
    color: #fff;
}

/* Ensure all inner elements also turn white on hover */
.event .event-carousel .event-item .event-content:hover h4,
.event .event-carousel .event-item .event-content:hover p,
.event .event-carousel .event-item .event-content:hover span {
    color: #fff !important;
}

/*** Events End ***/

/*** Blog Start ***/
.blog .blog-item .blog-img {
    position: relative;
    overflow: hidden;
}

.blog .blog-item .blog-img .blog-info {
    position: absolute;
    width: 100%;
    height: 100%;
    bottom: 0;
    left: 0;
    padding: 20px;
    background: rgba(0, 0, 0, 0.2);
    color: var(--bs-white) !important;
    display: flex;
    align-items: end;
    justify-content: space-between;
    transition: 0.5s;
}

.blog .blog-item .blog-img:hover .blog-info {
    background: rgba(0, 0, 0, 0.6);
}

.blog .blog-item .blog-img .search-icon {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: 0.5s;
}

.blog .blog-item .blog-img img {
    transition: 0.5s;
}

.blog .blog-item .blog-img:hover img {
    transform: scale(1.3);
}

.blog .blog-item .blog-img:hover .search-icon {
    opacity: 1;
}
/*** Blog End ***/

/*** Gallery Start ***/
.gallery .gallery-item {
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.gallery .gallery-item img {
    transition: 0.5s;
}

.gallery .gallery-item:hover img {
    transform: scale(1.2);
}

.gallery .gallery-item .gallery-content {
    position: absolute;
    width: 100%;
    height: 0;
    bottom: 0;
    left: 0;
    background: rgba(249, 195, 123, 0.4);
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: end;
    transition: 0.5s;
    z-index: 2;
}

.gallery .gallery-item:hover .gallery-content {
    height: 100%;
}

.gallery .gallery-item .gallery-content .gallery-inner {
    transition: 0.5s;
    background: rgba(0, 0, 0, 0.1);
    padding-top: 40px;
}

.gallery .gallery-item:hover .gallery-content .gallery-inner {
    background: rgba(249, 195, 123, 1);
    padding: 50px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.gallery .gallery-item .search-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    margin-top: -80px;
    opacity: 0;
    transition: 0.5s;
    z-index: 3;
}

.gallery .gallery-item:hover .search-icon {
    opacity: 1;
}
/*** Gallery End ***/

/* get-involved page css starts--------------- */

.donate-section {
    background: linear-gradient(to right, #fff8f5, #ffe7e0);
    color: #333;
    font-family: "Poppins", sans-serif;
}

.donate-section .section-title {
    font-weight: 700;
    font-size: 2.5rem;
    color: #c0392b;
}

.donate-section .donate-card {
    background-color: #fff;
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

.donate-section .donate-card:hover {
    transform: translateY(-5px);
}

.donate-section .donation-details p {
    margin-bottom: 10px;
    font-size: 1.1rem;
    line-height: 1.5;
    color: #2c3e50;
}

hr {
    border-top: 1px solid #ccc;
}

@media (max-width: 768px) {
    .donate-section .section-title {
        font-size: 2rem;
    }

    .donate-section .donate-card {
        padding: 2rem 1.2rem;
    }
}

/* donation-types css starts---------------- */

.donation-types-section {
    background: linear-gradient(to right, #fff8f5, #fbeee6);
    font-family: "Poppins", sans-serif;
}

.donation-types-section .section-heading {
    color: #c0392b;
    font-size: 2.4rem;
    font-weight: 700;
}

.donation-types-section .donation-card {
    background: #ffffff;
    border-radius: 15px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.07);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-left: 6px solid #e74c3c;
}

.donation-types-section .donation-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}

.donation-types-section .icon-img {
    width: 200px;
    height: 200px;
    object-fit: contain;
}

.donation-types-section .card-title {
    font-size: 2rem;
    color: #2c3e50;
}

.donation-types-section p {
    color: #444;
    font-size: 1rem;
    line-height: 1.6;
}

/*** Volunteer Start ***/
.volunteer {
    background: rgba(249, 195, 123, 0.1);
}
.volunteer .volunteer-img {
    position: relative;
    overflow: hidden;
}

.volunteer .volunteer-img .volunteer-title {
    position: absolute;
    width: 100%;
    height: 100%;
    bottom: 0;
    left: 0;
    padding: 10px;
    background: rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    text-align: center;
    justify-content: end;
    transition: 0.5s;
}

.volunteer .volunteer-img:hover .volunteer-title {
    background: rgba(0, 0, 0, 0.5);
}

.volunteer .volunteer-img img {
    transition: 0.5s;
}

.volunteer .volunteer-img:hover img {
    transform: scale(1.2);
}
/*** Volunteer End ***/

/*** Attractions Start ***/
.attractions {
    position: relative;
    overflow: hidden;
}

.attractions::after {
    content: "";
    width: 100%;
    height: 70%;
    position: absolute;
    overflow: hidden;
    top: 0;
    left: 0;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
        url(../img/bg-image.jpeg) center center no-repeat;
    background-size: cover;
    z-index: -2;
    animation-name: attraction-image-zoom;
    animation-duration: 10s;
    animation-delay: 1s;
    animation-iteration-count: infinite;
    animation-direction: alternate;
    transition: 1s;
}

@keyframes attraction-image-zoom {
    0% {
        width: 100%;
    }

    25% {
        width: 115%;
    }

    50% {
        width: 130%;
    }

    75% {
        width: 120%;
    }

    100% {
        width: 100%;
    }
}

.attractions .attractions-section {
    position: relative;
    z-index: 3;
}

.attractions .attractions-item {
    position: relative;
    border-radius: 10px;
    transition: 0.5s;
    z-index: 1;
}

.attractions .attractions-item::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 0;
    top: 0;
    left: 0;
    border-radius: 10px;
    background: rgba(0, 0, 0, 0.7);
    transition: 0.5s;
    z-index: 2;
}

.attractions .attractions-item:hover:after {
    height: 100%;
}

.attractions .attractions-item .attractions-name {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 10px;
    color: var(--bs-white);
    font-size: 24px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.5s;
    z-index: 3;
    opacity: 0;
}

.attractions .attractions-item:hover .attractions-name {
    opacity: 1;
}

.attractions-carousel .owl-stage-outer {
    margin-top: 58px;
}

.attractions .owl-nav .owl-prev {
    position: absolute;
    top: -58px;
    left: 0;
    background: var(--bs-primary);
    color: var(--bs-white);
    padding: 6px 35px;
    border-radius: 30px;
    transition: 0.5s;
}

.attractions .owl-nav .owl-prev:hover {
    background: var(--bs-white);
    color: var(--bs-primary);
}

.attractions .owl-nav .owl-next {
    position: absolute;
    top: -58px;
    right: 0;
    background: var(--bs-primary);
    color: var(--bs-white);
    padding: 6px 35px;
    border-radius: 30px;
    transition: 0.5s;
}

.attractions .owl-nav .owl-next:hover {
    background: var(--bs-white);
    color: var(--bs-primary);
}
/*** Attractions End ***/

/*** Contact Start ***/
.contact {
    background: rgba(249, 195, 123, 0.4);
    border-style: dotted;
    border-color: var(--bs-white);
}

/*** Contact End ***/

/*** Footer Start ***/
.footer {
    border-top: 3px;
    border-right: 0;
    border-bottom: 0;
    border-left: 0;
    border-style: dotted;
    border-color: var(--bs-light);
}
.footer .footer-item a,
.footer .footer-item p {
    line-height: 35px;
    color: var(--bs-body);
    transition: 0.5s;
}

.footer .footer-item a:hover {
    color: var(--bs-primary);
    letter-spacing: 1px;
}

.footer .footer-item .footer-gallery {
    position: relative;
    overflow: hidden;
}

.footer .footer-item .footer-gallery img {
    transition: 0.5s;
}

.footer .footer-item .footer-gallery:hover img {
    transform: scale(1.2);
}

.footer .footer-item .footer-gallery .footer-search-icon {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.5s;
    opacity: 0;
}

.footer .footer-item .footer-gallery:hover .footer-search-icon {
    opacity: 1;
    background: rgba(0, 0, 0, 0.6);
}
/*** Footer End ***/

/*** copyright Start ***/
.copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    background: var(--bs-dark) !important;
}
/*** copyright end ***/

/*** testimonial Start ***/
.testimonial .owl-nav .owl-prev {
    position: absolute;
    top: -58px;
    right: 0;
    color: var(--bs-primary);
    padding: 5px 25px;
    border: 1px solid var(--bs-secondary);
    transition: 0.5s;
}

.testimonial .owl-nav .owl-prev:hover {
    background: var(--bs-secondary);
    color: var(--bs-white);
}

.testimonial .owl-nav .owl-next {
    position: absolute;
    top: -58px;
    right: 88px;
    color: var(--bs-primary);
    padding: 5px 25px;
    border: 1px solid var(--bs-secondary);
    transition: 0.5s;
}

.testimonial .owl-nav .owl-next:hover {
    background: var(--bs-secondary);
    color: var(--bs-white);
}

.testimonial-carousel .owl-dots {
    display: flex;
    justify-content: center;
    margin-left: 20px;
    margin-top: 20px;
}

.testimonial-carousel .owl-dots .owl-dot {
    width: 20px;
    height: 20px;
    margin-right: 15px;
    border: 1px solid var(--bs-secondary);
    background: var(--bs-primary);
    transition: 0.5s;
}

.testimonial-carousel .owl-dots .owl-dot.active {
    width: 20px;
    height: 20px;
    border: 1px solid var(--bs-primary);
    background: var(--bs-secondary) !important;
    transition: 0.5s;
}

.testimonial-carousel .owl-dots .owl-dot span {
    position: relative;
    margin-top: 50%;
    margin-left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.testimonial-carousel .owl-dots .owl-dot span::after {
    content: "";
    width: 8px;
    height: 8px;
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: var(--bs-white);
}

@media (max-width: 992px) {
    .owl-carousel.testimonial-carousel {
        padding-top: 30px;
    }

    .testimonial .owl-nav .owl-prev,
    .testimonial .owl-nav .owl-next {
        top: -30px;
    }
}

.testimonial .owl-nav button.owl-prev,
.testimonial .owl-nav button.owl-next {
    background: var(--bs-white);
    border: 1px solid var(--bs-secondary);
    color: var(--bs-primary);
    padding: 5px 25px;
    font-size: 20px;
    transition: 0.3s;
}

.testimonial .owl-nav button.owl-prev:hover,
.testimonial .owl-nav button.owl-next:hover {
    background: var(--bs-secondary);
    color: var(--bs-white);
}
/*** testimonial End ***/
@media (max-width: 768px) {
    .image-controller {
        width: 100% !important;
        max-width: 355px !important;
        height: 550px !important;
    }
}
