.c-wf-bold strong {
    font-weight: 700 !important;
}

.volunteer-collapse-section,
.donate-collapse-section {
    max-height: 0;
    overflow: hidden;
    /* transition: max-height 0.5s ease, padding 0.5s ease; */


}

.volunteer-collapse-section.open,
.donate-collapse-section.open {
    padding: 20px;
    max-height: max-content;
    top: 0;

}

.about-inner-page-header.hide {
    display: none;
}

.tab-pane.shutter-close {
    overflow: hidden;
    opacity: 1;
    max-height: 1000px;
    /* Adjust as needed for your content */
    transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.4s;
}

.tab-pane.shutter-close.closing {
    opacity: 0;
    max-height: 0;
}



/* Container for buttons */
.filters-button-group {
    margin-bottom: 15px;
    text-align: center;
}

/* Filter buttons */
.filters-button-group .button {
    display: inline-block;
    margin: 0 8px 12px;
    padding: 10px 20px;
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
    color: #333333;
    background-color: #f0f0f0;
    border: 1px solid #ccc;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s, color 0.3s;
}

.filters-button-group .button:hover {
    background-color: #e0e0e0;
}

.filters-button-group .is-checked {
    background-color: #005fa3;
    /* a darker blue matching their links/buttons */
    color: #ffffff;
    border-color: #00447b;
}

/* Load More Button */
#load-more {
    display: inline-block;
    margin: 30px auto 0;
    padding: 12px 28px;
    font-family: 'Roboto', sans-serif;
    font-size: 18px;
    color: #ffffff;
    background-color: #005fa3;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s;
    text-align: center;
}

#load-more:hover {
    background-color: #00447b;
}

#load-more:disabled {
    background-color: #ccc;
    cursor: default;
}

/* Clearfix for float items */
.grid::after {
    content: "";
    display: block;
    clear: both;
}




/* img {
  vertical-align: middle;
} */
.gallery-grid img {
    border-radius: 15px;
}

.img-responsive {
    display: block;
    max-width: 100%;
    height: auto;
}

.grid article {
    background-color: #FFFFFF;
    display: block;
    float: left;
    margin: 1%;
    width: 23%;
}

@media (max-width: 1024px) {
    .grid article {
        width: 31.3%;
    }
}

@media (max-width: 767px) {
    .grid article {
        width: 48%;
    }
}

@media (max-width: 479px) {
    .grid article {
        margin: 2% 0;
        width: 100%;
    }
}

.container-fixed-position {
    position: fixed;
    left: 0;
    top: 0;
    bottom: 0;
    right: 0;
    background: #fff;
    z-index: 99999;
    overflow: auto;
}

.ajax_response {
    padding: 10px 15px;
    border: 1px solid #e74c3c;
    background-color: #fcebea;
    color: #c0392b;
    border-radius: 4px;
    font-size: 14px;
    margin-top: 10px;
}

.ajax_response_isValid {
    padding: 10px 15px;
    border: 1px solid #27ae60;
    background-color: #e9f9ee;
    color: #1e8449;
    border-radius: 4px;
    font-size: 14px;
    margin-top: 10px;
}

/* Gallery image modal styles */
#galleryImageModal .modal-content {
    background: transparent;
    border: none;
    box-shadow: none;
    position: relative;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
}

#galleryImageModal .modal-body {
    background: transparent;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    width: 100vw;
    padding: 0;
    position: relative;
}

/* New: wrap image and arrows in a flex container */
.gallery-modal-image-wrap {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    /* Prevent wrap, keep arrows close to image */
}

#galleryModalImg {
    max-width: 90vw;
    max-height: 80vh;
    width: auto;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
    display: block;
    margin: 0;
    object-fit: contain;
    z-index: 2;
}

/* Modal navigation arrows: position relative to image */
.gallery-modal-prev,
.gallery-modal-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.85);
    border: none;
    border-radius: 50%;
    width: 48px;
    height: 48px;
    font-size: 32px;
    color: #005fa3;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
    cursor: pointer;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
    padding: 0;
}

.gallery-modal-prev {
    left: -56px;
    /* 8px gap from image edge */
}

.gallery-modal-next {
    right: -56px;
}

.gallery-modal-prev:before {
    content: "\F284";
    font-family: "bootstrap-icons" !important;
    font-size: 32px;
    color: #005fa3;
}

.gallery-modal-next:before {
    content: "\F285";
    font-family: "bootstrap-icons" !important;
    font-size: 32px;
    color: #005fa3;
}

.gallery-modal-prev:hover,
.gallery-modal-next:hover {
    background: #fff;
    color: #00447b;
}

.gallery-modal-prev:disabled,
.gallery-modal-next:disabled {
    opacity: 0.5;
    cursor: default;
}

/* Responsive adjustments */
@media (max-width: 767px) {
    .gallery-modal-prev {
        left: -36px;
    }

    .gallery-modal-next {
        right: -36px;
    }

    #galleryModalImg {
        max-width: 98vw;
        max-height: 60vh;
    }
}

/* Close button styling */
#galleryImageModal .custom-close {
    background-color: rgba(255, 255, 255, 0.85);
    border-radius: 50%;
    padding: 0.5rem;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
    z-index: 4;
    position: absolute;
    top: 16px;
    right: 16px;
}

#galleryImageModal .custom-close:hover {
    background-color: rgba(255, 255, 255, 1);
}

/* Prevent parent modal from fading/moving when child modal opens */
.modal.keep-open {
    opacity: 1 !important;
    pointer-events: auto !important;
    /* Prevent z-index stacking issues */
    z-index: 1050 !important;
    /* Prevent transform/translateY from Bootstrap */
    transform: none !important;
}

.prev-page {
    width: 50px;
    height: 50px;
    cursor: pointer;
    z-index: 10;
    background: var(--color-white);
    color: var(--color-primary);
    border: 1px solid var(--color-primary);
    border-radius: 50%;
    right: 100px;
    top: auto;
    bottom: -30px;
}


.next-page {
    cursor: pointer;
    background: var(--color-white);
    width: 50px;
    height: 50px;
    color: var(--color-primary);
    border: 1px solid var(--color-primary);
    border-radius: 50%;
    left: auto;
    right: 36px;
    z-index: 10;
    top: auto;
    bottom: -30px;
}

.next-page::before {
    content: "\F285";
    font-family: bootstrap-icons !important;
    color: var(--color-primary);
    font-size: 30px;
}

.prev-page::before {
    content: "\F284";
    font-family: bootstrap-icons !important;
    color: var(--color-primary);
    font-size: 30px;
}

tr.strikeout td {
    text-decoration: line-through;
    color: #888;
    /* optional: make it look “disabled” */
}

.strike-row {
    text-decoration: line-through;
    background-color: #f8f9fa !important;
}


/* Hide default DataTables elements */
.dataTables_wrapper .dataTables_filter,
.dataTables_wrapper .dataTables_length {
    display: none;
}

/* Table layout */
.custom-table {
    border-collapse: separate;
    border-spacing: 0 10px;
    width: 100%;
}

.custom-table thead {
    background-color: #333;
    color: #fff;
    border-radius: 8px;
}

.custom-table thead th {
    padding: 12px 16px;
    font-weight: 600;
    text-align: left;
    border: none;
}

.custom-table tbody tr {
    background-color: #fff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    overflow: hidden;
}

.custom-table tbody td {
    padding: 14px 16px;
    vertical-align: middle;
    border-top: none;
}

.custom-table tbody tr:hover {
    background-color: #f9f9f9;
    transition: background 0.2s;
}

/* Status badge */
.status-badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 600;
}

.status-badge.new {
    background-color: #dcfce7;
    color: #166534;
}

.status-badge.pending {
    background-color: #fef9c3;
    color: #854d0e;
}

.status-badge.approved {
    background-color: #dbeafe;
    color: #1e40af;
}

.status-badge.rejected {
    background-color: #fee2e2;
    color: #991b1b;
}

/* Button style */
.btn-support {
    background-color: #fff7ed;
    color: #78350f;
    border: 1px solid #fed7aa;
    border-radius: 20px;
    padding: 6px 14px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.2s;
}

.btn-support:hover {
    background-color: #ffedd5;
    border-color: #f97316;
    color: #9a3412;
}

/* Pagination buttons */
.dataTables_wrapper .dataTables_paginate {
    margin-top: 15px;
}

.dataTables_wrapper .dataTables_paginate .paginate_button {
    background: #fff;
    border: 1px solid #ddd;
    color: #444 !important;
    padding: 5px 10px;
    border-radius: 6px;
    margin: 0 3px;
}

.dataTables_wrapper .dataTables_paginate .paginate_button.current {
    background: #333;
    color: #fff !important;
    border: 1px solid #333;
}

/* Fix for admin bar overlapping custom header */
body.admin-bar .custom-header {
    top: 32px !important;
    /* desktop admin bar height */
}

@media screen and (max-width: 782px) {
    body.admin-bar .custom-header {
        top: 46px !important;
        /* mobile admin bar height */
    }
}

#move-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #0073aa;
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 45px;
    height: 45px;
    display: none;
    justify-content: center;
    align-items: center;
    font-size: 22px;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    z-index: 9999;
}

#move-to-top:hover {
    background-color: #005c87;
    transform: scale(1.1);
}

.donation--tab li.nav-item:first-child .nav-link {
    border-top-right-radius: 0px;
    border-bottom-right-radius: 0px;

}

.donation--tab li.nav-item:last-child .nav-link {
    border-top-left-radius: 0px;
    border-bottom-left-radius: 0px;
}

.donation--tab li .nav-link.active {
    background: #FFD200;
    font-weight: bold;
    border: 1px solid #FFD200;
}

.donation--tab li .nav-link {
    color: #000 !important;
    border: 1px solid #cad3d7;
}




/* customized css from old db */

.caption-slick h3 {
    margin-bottom: 0px;
    font-size: 26px
}

.caption-slick p,
.caption-slick ul {
    margin-bottom: 30px;
    font-size: 16px;
}

.caption-slick h2 {
    font-size: 28px
}

/*temp css overwrite*/
h1 {

    font-weight: 700;
}

.center1-hero-banner .hero-banner-right-grid:before {
    background: #FF9000;
}

.center1-hero-banner h1 {
    color: #FF9000;
}

.center1-hero-banner button {
    background: #FF9000;
}

.center2-hero-banner .hero-banner-right-grid:before {
    background: #57DBFF;
}

.center2-hero-banner h1 {
    color: #57DBFF;
}

.center2-hero-banner button {
    background: #57DBFF;
}

.center3-hero-banner .hero-banner-right-grid:before {
    background: #43EBB6;
}

.center3-hero-banner h1 {
    color: #43EBB6;
}

.center3-hero-banner button {
    background: #43EBB6;
}

.center4-hero-banner .hero-banner-right-grid:before {
    background: #FF69AA;
}

.center4-hero-banner h1 {
    color: #FF69AA;
}

.center4-hero-banner button {
    background: #FF69AA;
}

.center5-hero-banner .hero-banner-right-grid:before {
    background: #3CCC5B
}

.center5-hero-banner h1 {
    color: #3CCC5B;
}

.center5-hero-banner button {
    background: #3CCC5B;
}

.center6-hero-banner h1 {
    color: #FFAD01;
}

.center6-hero-banner button {
    background: #FFAD01;
}

.hero-banner-right-grid:before {
    background: #FFAD01;
}

.about-modal-close-icon {
    top: 50%;
    transform: translateY(-50%);
}

#move-to-top {
    background-color: #242424 !important;
}

.modal-scroll-top {
    background-color: #242424 !important;
}

.donate-modal-close-icon {
    top: -22px;
}

.filters-button-group {
    margin-bottom: 15px;
    text-align: center;
    display: flex;
    justify-content: center;
    gap: 6px;
}

.filters-button-group .button {
    margin: 20px 0px 10px;
    padding: 8px 20px;
    font-family: 'Roboto', sans-serif;
    font-size: 14px;
    color: #333333;
    background-color: #ffffff;
    border: 1px solid #e5e5e5;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s, color 0.3s;
    border-radius: 36px;
    width: 120px;
}

.filters-button-group .is-checked {
    background-color: #332f9f;
    color: #ffffff;
    border-color: #332f9f;
    font-weight: bold;
}

.filters-button-group .button:hover {
    background-color: #f1f1ff;
}

.tab-card-bg h4 {
    font-weight: bold;
}

@media (max-width: 767px) {

    .center6-hero-banner,
    .center1-hero-banner,
    .center2-hero-banner,
    .center3-hero-banner,
    .center4-hero-banner,
    .center5-hero-banner {
        height: 85vh;

    }
}

@media (max-width: 991px) {
    h2 {
        font-size: 26px;
    }

    .nav-btn {
        margin: 12px 0 6px 24px;
    }
}

.about-inner-page-header {
    background: #ffffff;
    background: linear-gradient(180deg, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0.77) 60%, rgba(255, 255, 255, 0) 100%);
    padding: 10px 0px 50px;
}

.or--seperator {
    position: relative;
    width: 150px;
    margin: 30px auto 20px;
    font-family: Georgia, 'Times New Roman', Times, serif;
    font-style: italic;

}

.or--seperator:before {
    content: "";
    width: 60px;
    border: none;
    border-top: 1px solid #dddddd;
    position: absolute;
    left: -10px;
    top: 10px;
}

.or--seperator:after {
    content: "";
    width: 60px;
    border: none;
    border-top: 1px solid #dddddd;
    position: absolute;
    right: -10px;
    top: 10px;
}

.volunteer-link:hover {
    color: #2d2f9f;
    text-decoration: underline;
}

.gallery-grid article {
    cursor: pointer
}

/* Thankyou Custom Modal*/
.modal--background {
    position: fixed;
    background: rgba(0, 0, 0, 0.8);
    left: 0;
    bottom: 0;
    right: 0;
    top: 0;
    z-index: 1001;
}

.thankyou--modal {
    max-width: 550px;
    padding: 20px;
    border-radius: 20px;
    background: #fff;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}



.nav-tab-row {
    height: 580px;
    border-bottom: none !important;
}

.full-height-component {
    height: auto;
}

.vh-100 {
    height: auto !important;
}

.tab-card-bg {
    height: 560px;
}

.center4-hero-banner h1 {
    color: #FF7E22;
}

.center4-hero-banner button {
    background: #FF7E22;
}

.center4-hero-banner .hero-banner-right-grid:before {
    background: #FF7E22;
}

/* .active span {
	background:rgba(0,0,0,0.5);
} */
@media(max-width:600px) {
    .thankyou--modal {
        width: 100%;
    }
}

@media (max-width:1400px) {
    .tab-card-bg p {
        font-size: 16px;
        line-height: 24px;
    }

    .tab-card-bg h4 {
        font-size: 32px;
    }

    .nav-tab-row {
        height: 600px;
        /*         overflow: auto; */
        flex-wrap: nowrap;
    }

    .nav-tab-row .tab-card-bg {
        /*         min-width: 460px; */
    }

    .tab-card-bg {
        height: 600px;
    }
}

/* Thankyou Custom Modal*/

table.dataTable.stripe>tbody>tr.odd>*,
table.dataTable.display>tbody>tr.odd>* {
    box-shadow: none !important;

}

.custom-table tbody tr {
    border-radius: 0px;
    box-shadow: none;
}


table.dataTable.row-border>tbody>tr>th,
table.dataTable.row-border>tbody>tr>td,
table.dataTable.display>tbody>tr>th,
table.dataTable.display>tbody>tr>td {
    border-top: 1px solid rgba(0, 0, 0, 0.05)
}

table.dataTable tbody th,
table.dataTable tbody td {
    padding: 18px 10px;
}

table.dataTable tbody tr td:nth-child(1) {

    width: 50px;
}

table.dataTable {
    /* 	table-layout:fixed; */
}

table.dataTable tbody tr td:nth-child(2) {

    width: 150px;
}

table.dataTable tbody tr td:nth-child(3) {

    width: 400px;
}

table.dataTable tbody tr td.whitespace-nowrap {
    white-space: normal;
}

.dataTables_wrapper .dataTables_info {
    font-size: 12px;
    padding-top: 32px;
}

.dataTables_wrapper .dataTables_paginate .paginate_button {
    font-size: 12px;

}

table.dataTable thead th,
table.dataTable tfoot th {
    white-space: nowrap;
}

.badges {
    background: #fdf2fa;
    padding: 4px 7px;
    border-radius: 34px;
    font-size: 12px;
    font-weight: 600;
    display: inline-block;
    color: #c11574;
}

.btn-support {
    background-color: #fff7ed;
    color: #78350f;
    border: 1px solid #fed7aa;
    border-radius: 20px;
    padding: 6px 14px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.2s;
    white-space: nowrap;
}

.custom-card .custom-card-body p {
    line-height: 26px;
    font-weight: 300;
    margin: 20px 0px;
    display: block;
    display: -webkit-box;
    max-width: 100%;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.strike-row {
    text-decoration: line-through;
    background-color: #fffbf5 !important;
}

.filters-button-group .button:hover {
    background-color: #332f9f !important;
    color: #fff !important;
}

/*Our-Publications-Css*/
.our__publications__grid {
    width: 290px;
    height: 100%;
    padding: 15px;
    border: 1px solid var(--color-gray-10);
    border-radius: 6px;
}

.our__publications__grid .our__publications__grid__body {
    margin-bottom: 10px;
    height: 370px;
    overflow: hidden;
}

.our__publications__grid .our__publications__grid__body img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/*Our-Publications-Css-END*/

.carousel-item .hero--banner--text {
    top: 30%;
    transform: translatey(-40%);
}

.sarjan-hero-banner,
.center1-hero-banner,
.center2-hero-banner,
.center3-hero-banner,
.center4-hero-banner,
.center5-hero-banner,
.center6-hero-banner {
    height: calc(100vh - 86px);
}

.btn--yellow--primary {
    background: #ffd200;
    border-color: #ffd200;
    color: #000 !important;
}

.h-45px {
    height: 45px !important;
}

#Our-Programs,
#Road-Ahead,
#Success-Stories,
#About-Sarjan {
    scroll-margin-top: 80px;
    /* height of your fixed header */
}

.strikeout td:not(.no-strike) {
    text-decoration: line-through;
    opacity: 0.6;
}

.btn--booked {
    background-color: #d5f5d2;
    color: #438755;
    border: 1px solid #83b37d;
}

.custom-checkbox {
    --size: 18px;
    /* change checkbox size */
    --border-color: #ffd200;
    /* checkbox border color */
    --check-color: #fff;
    /* tick/checkmark color */
    --bg-color: #ffd200;
    /* checked background color */

    width: var(--size);
    height: var(--size);
    cursor: pointer;
    border: 1px solid #d2e3ef;
    border-radius: 4px;
}

.custom-checkbox {
    appearance: none;
    -webkit-appearance: none;
    width: var(--size);
    height: var(--size);
    /* border: ; */
    /* border: 2px solid var(--border-color); */
    border-radius: 4px;
    background-color: #fff;
    display: inline-block;
    position: relative;
    transition: 0.2s ease;
    position: absolute;
    left: 0px;
    top: -2px;


}

.custom-checkbox:checked {
    background-color: var(--bg-color);
    border-color: var(--border-color);
}

.custom-checkbox:checked::after {
    content: '';
    position: absolute;
    top: 2px;
    left: 5px;
    width: 6px;
    height: 10px;

    border: solid var(--check-color);
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.form-check {
    display: flex;
    align-items: center;
    /* ensures checkbox + label are vertically centered */
    gap: 8px;
    /* spacing between checkbox and label */
}

.form-check .custom-checkbox {
    margin: 0;
    /* remove Bootstraps default margin */
    flex-shrink: 0;
    /* keeps checkbox size fixed */
}

.checkbox-container {
    /* display: flex; */
    position: relative;
    align-items: center;
    gap: 8px;
    margin-bottom: 18px;
    font-size: 14px;
    line-height: 16px;
}

.font-size-14px {
    font-size: 14px;
}

.line----volunteer {
    border-bottom: 1px solid #ecf1f9 !important;
    margin-top: 20px;
    margin-bottom: 36px;
}



/* Base style (unselected) */
input[type="radio"] {
    appearance: none;
    -webkit-appearance: none;
    width: 18px;
    height: 18px;
    border: 1px solid #d2e3ef;
    /* Unselected border color */
    border-radius: 50%;
    background-color: #fff;
    display: inline-grid;
    place-content: center;
    cursor: pointer;
    transition: border-color 0.2s ease;
}

/* Inner dot */
input[type="radio"]::before {
    content: "";
    width: 10px;
    height: 10px;
    border-radius: 50%;
    transform: scale(0);
    background-color: #ffd200;
    /* Selected fill color */
    transition: transform 0.2s ease;
}

/* Selected state */
input[type="radio"]:checked {
    border-color: #ffd200;
    /* Selected border color */
}

input[type="radio"]:checked::before {
    transform: scale(1);
    /* Show inner dot */
}

.form-radio-label {
    cursor: pointer;
    padding-left: 2px;
}

.form-check-label {
    cursor: pointer;
    padding-left: 26px;
}

.form-radio {
    margin-bottom: 6px;
}