.hero-caption-one {
    max-width: 700px;
}

.slick-list .view-wrapper {
    margin: 10px;
    text-align: center;
}

.helpful-card .helpful-card-icon {
    margin: auto;
    margin-bottom: 15px;
}

.video-play-button,
.video-play-button-two {
    position: absolute;
    z-index: 10;
    transform: translate(500%, -50%);
    box-sizing: content-box;
    display: block;
    border-radius: 50%;
    padding: 18px 20px 18px 28px;
}

.donate-info-title {
    width: 100%;
}

.donate-section .single-donate .donate-img::before,
.donate-section .single-donate .donate-img::after {
    content: none;
}

.donate-section .single-donate .donate-img .donate-badge {
    background-color: var(--secondary);
}

.donate-section .single-donate .donate-img .donate-badge .subtitle {
    color: #000;
    font-family: "Montserrat-Arabic-Bold" !important;
}

.our-event-three .slick-slide .main-img {
    width: 51.875rem;
    height: 33rem;
}

.our-event-three .slick-slide .brush-bg::before {
    content: attr(data-date);
    padding: 7px;
}

.blog-section .single-blog .blog-img::before {
    content: attr(data-date);
    padding: 7px;
}

.slick-list {
    width: 100%;
}

.footer-wrapper .footer-imp-link {
    padding-top: 0px;
}

.pt-70 {
    padding-top: 70px;
}

/* Donation Card Enhancements */
.donate-info-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.donate-info-header .title {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 700;
}

.share-btn {
    background: #f48221 !important;
    color: white !important;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 5px;
    cursor: pointer;
}

.donate-amounts-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    text-align: right;
    gap: 10px;
    margin-top: 10px;
    font-weight: 600;
    font-size: 20px;
    color: #000;
    direction: ltr;
    font-family: "Google-Regular";
}

.donation-type-selector {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin: 10px 0;
}

.custom-radio-check {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    font-weight: 700;
    position: relative;
}

.custom-radio-check .form-check-label {
    position: relative;
    cursor: pointer;
    display: flex;
    align-items: center;
}

.custom-radio-check .form-check-input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
    margin: 0;
    padding: 0;
    display: block !important; /* Override display: none */
}

/* .custom-radio-check input[type="radio"] {
    appearance: none;
    -webkit-appearance: none;
    border: 2px solid #333;
    border-radius: 50%;
    outline: none;
    cursor: pointer;
    position: relative;
    display: flex !important;
    align-items: center;
    justify-content: center;
}

.custom-radio-check input[type="radio"]:checked {
    border-color: #00695c;
}

.custom-radio-check input[type="radio"]:checked::after {
    content: "";
    width: 12px;
    height: 12px;
    background: #00695c;
    border-radius: 50%;
} */

.form-check-input:checked {
    background-color: var(--primary);
    border-color: var(--primary);
    border: var(--primary) solid #ddbc84;
}

.custom-radio-check .custom-radio {
    height: 18px;
    width: 18px;
    border-radius: 50%;
    border: 2px solid #f48221;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
}

[dir="rtl"] .custom-radio-check .custom-radio {
    left: auto;
    right: 0;
}

[dir="rtl"] .custom-radio-check .form-check-label {
    padding-right: 25px;
    padding-left: 0;
}

.custom-radio-check
    input[type="radio"]:checked
    ~ .form-check-label
    .custom-radio::after,
.custom-radio-check
    input[type="radio"]:checked
    + .form-check-label
    .custom-radio::after {
    opacity: 1 !important;
}
.custom-radio-check .custom-radio::after {
    content: "";
    height: 10px;
    width: 10px;
    background-color: #f48221; /* Explicit primary orange */
    border-radius: 50%;
    position: absolute;
    left: 50%;
    top: 50%;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    opacity: 0;
    -webkit-transition: 0.3s ease-in-out 0s;
    transition: 0.3s ease-in-out 0s;
}

.amount-slider-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 25px 0;
    gap: 5px;
    direction: ltr;
}

.amount-btn {
    border: 1px solid #dee2e6;
    border-radius: 25px;
    padding: 10px 20px;
    background: white;
    color: #f48221;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 1.1rem;
}

.amount-btn.active {
    background: #f48221;
    color: white;
    border-color: #f48221;
}

.nav-btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: 1px solid #dee2e6;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    cursor: pointer;
    color: #f48221;
    font-size: 1.5rem;
}

.nav-btn.filled {
    background: #f48221;
    color: white;
    border-color: #f48221;
}

.or-divider {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 25px 0;
    font-family: "Montserrat-Arabic-Bold" !important;
    color: #000;
}

.or-divider::before,
.or-divider::after {
    content: "";
    flex: 1;
    border-bottom: 1px solid #dee2e6;
}

.or-divider:not(:empty)::before {
    margin-right: .5em;
}

.or-divider:not(:empty)::after {
    margin-left: .5em;
}

.custom-amount-input {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 10px;
    overflow: hidden;
    margin: 0 auto 20px;
    max-width: 180px;
}

.amount-control {
    background: #dee2e6;
    border: none;
    padding: 10px 20px;
    font-size: 1.2rem;
    font-weight: 700;
    cursor: pointer;
}

.custom-amount-input input {
    border: none;
    background: transparent;
    text-align: center;
    width: 80px;
    font-weight: 600;
    font-size: 1.1rem;
}

.donation-actions {
    display: flex;
    gap: 15px;
}

.donate-btn-main {
    flex: 1;
    background: #f48221;
    color: white;
    border: none;
    padding: 12px;
    border-radius: 10px;
    font-weight: 700;
    font-family: "Montserrat-Arabic-Bold" !important;
}

.add-to-cart-btn {
    flex: 1;
    background: white;
    color: #f48221;
    border: 1px solid #f48221;
    padding: 12px;
    border-radius: 10px;
    font-weight: 700;
    font-family: "Montserrat-Arabic-Bold" !important;
}

.footer-wrapper p {
    color: #fff;
    line-height: 2.5;
}

/* Hero Slider Dots */
.hero-area .slick-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex !important;
    gap: 12px;
    list-style: none;
    padding: 0;
    margin: 0;
    z-index: 10;
}

.hero-area .slick-dots li button {
    font-size: 0;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #fff;
    border: none;
    padding: 0;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.hero-area .slick-dots li.slick-active button {
    background: #f48221; /* Theme Orange */
    transform: scale(1.2);
}

.hero-area .slick-dots li:hover button {
    background: #f48221;
}

/* Ensure hero-area can contain absolute dots */
.hero-area {
    position: relative;
    overflow: hidden;
}

.single-slider {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 700px; /* Increased minimum height for desktop */
    display: flex !important;
    flex-direction: column;
    justify-content: center;
}

/* Adjust padding for larger hero area */
.hero-padding {
    padding: 160px 0 180px 0 !important;
}

@media only screen and (max-width: 1199px) {
    .single-slider {
        min-height: 500px;
    }
    .hero-padding {
        padding: 120px 0 140px 0 !important;
    }
}

@media only screen and (max-width: 767px) {
    .single-slider {
        min-height: 400px;
    }
    .hero-padding {
        padding: 80px 0 100px 0 !important;
    }
}

/* Hero Caption Colors for Slider */
.slider-active .hero-caption-one .title,
.slider-active .hero-caption-one .pera {
    color: #ffffff !important;
    text-shadow: 0px 2px 4px rgba(0, 0, 0, 0.5); /* Improve readability on varying backgrounds */
}

.slider-active .hero-caption-one .title {
    margin-bottom: 25px !important;
    font-size: 65px !important;
    line-height: 1.2 !important;
}

.slider-active .hero-caption-one .pera {
    margin-bottom: 40px !important;
    font-size: 20px !important;
    line-height: 1.6 !important;
}

@media only screen and (max-width: 767px) {
    .slider-active .hero-caption-one .title {
        font-size: 35px !important;
    }
    .slider-active .hero-caption-one .pera {
        font-size: 16px !important;
    }
}

/* Alignment for RTL */
[dir="rtl"] .hero-area .hero-caption-one {
    text-align: right;
}

[dir="rtl"] .hero-area .hero-btn {
    margin-right: 0;
    margin-left: 20px;
}

/* Statistics Counter Area */
.counter-area {
    margin-top: -50px; /* Overlap slightly with previous section if needed, or adjust as per layout */
    margin-bottom: 50px;
    z-index: 5;
    position: relative;
}

.counter-wrapper {
    background: #f48221; /* Theme Orange */
    border-radius: 15px;
    display: flex;
    justify-content: space-around;
    align-items: center;
    color: #fff;
    flex-wrap: wrap;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.single-counter {
    text-align: center;
    flex: 1;
    min-width: 150px;
    padding: 10px;
}

.single-counter .count {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 5px;
    color: #fff;
}

.single-counter .pera {
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    margin: 0;
}

.counter-wrapper .divider {
    width: 2px;
    height: 80px;
    background: rgba(255, 255, 255, 0.3);
}

@media (max-width: 991px) {
    .counter-wrapper .divider {
        display: none;
    }
    .single-counter {
        flex: 0 0 50%;
        margin-bottom: 20px;
    }
}

@media (max-width: 575px) {
    .single-counter {
        flex: 0 0 100%;
    }
}

.swal2-icon.swal2-info,
.swal2-icon.swal2-question,
.swal2-icon.swal2-warning {
    font-size: 1rem !important;
}

.swal2-icon,
.swal2-title,
.swal2-content,
.swal2-actions {
    margin-bottom: 1.5rem !important;
}

.cart-area {
    background-color: #f8f9fa;
}

.cart-area {
    .cart-summary-card {
        background: #fff;
        border-radius: 15px;
        padding: 30px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
        border: 1px solid #eee;
        position: sticky;
        top: 100px;
    }

    .summary-content {
        background: #fff;
        border: 1px solid #e0e0e0;
        border-radius: 12px;
        padding: 20px;
    }

    .summary-row {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 15px;
    }

    .summary-row .label {
        font-weight: 700;
        color: #333;
        font-size: 16px;
    }

    .summary-row .value {
        font-weight: 700;
        color: #333;
        font-size: 16px;
    }

    .summary-divider {
        height: 1px;
        background: #e0e0e0;
        margin: 20px 0;
    }

    .total-row .label,
    .total-row .value {
        font-size: 18px;
        color: #000;
    }

    .btn-donate-now {
        display: block;
        width: 100%;
        background: #f48221;
        color: #fff;
        text-align: center;
        padding: 15px;
        border-radius: 10px;
        font-weight: 700;
        font-size: 18px;
        transition: all 0.3s ease;
    }

    .btn-donate-now:hover {
        background: #d9731c;
        color: #fff;
        transform: translateY(-2px);
    }

    /* Cart Item Card Styling */
    .cart-items-wrapper {
        display: flex;
        flex-direction: column;
        gap: 20px;
    }

    .cart-item-card {
        background: #fff;
        border-radius: 15px;
        padding: 20px;
        display: flex;
        align-items: center;
        gap: 25px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
        border: 1px solid #eee;
        transition: all 0.3s ease;
    }

    .cart-item-card:hover {
        box-shadow: 0 15px 40px rgba(0, 0, 0, 0.06);
        transform: translateY(-3px);
    }

    .item-img {
        flex-shrink: 0;
        width: 150px;
        height: 110px;
        border-radius: 12px;
        overflow: hidden;
    }

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

    .item-info {
        flex-grow: 1;
        text-align: right;
    }

    .project-title {
        font-size: 20px;
        font-weight: 700;
        margin-bottom: 8px;
        color: #333;
    }

    .project-desc {
        font-size: 14px;
        color: #777;
        line-height: 1.6;
        margin: 0;
    }

    .item-controls-wrapper {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 12px;
        min-width: 140px;
    }

    .donation-type {
        font-size: 14px;
        font-weight: 700;
        color: #333;
    }

    .amount-control {
        display: flex;
        align-items: center;
        background: #f4f4f4;
        border-radius: 8px;
        overflow: hidden;
        padding: 0;
        border: 1px solid #dee2e6;
    }

    .amount-btn {
        border: 1px solid #dee2e6;
        border-radius: 0px;
        background: #e0e0e0;
        width: 40px;
        height: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 20px;
        cursor: pointer;
        transition: background 0.2s;
        color: #000;
    }

    .amount-btn:hover {
        background: #d0d0d0;
    }

    .amount-input {
        width: 60px;
        height: 40px;
        border: none;
        background: #fff;
        text-align: center;
        font-weight: 600;
        font-size: 15px;
        color: #555;
    }

    .item-action {
        flex-shrink: 0;
    }

    .remove-item-btn {
        width: 45px;
        height: 45px;
        border-radius: 10px;
        border: 1px solid #f48221;
        background: #fff;
        color: #f48221;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 20px;
        transition: all 0.3s ease;
    }

    .remove-item-btn:hover {
        background: #f48221;
        color: #fff;
    }

    /* Responsive adjustments */
    @media (max-width: 991px) {
        .cart-item-card {
            flex-wrap: wrap;
            justify-content: space-between;
        }
        .item-info {
            order: 1;
            width: calc(100% - 175px);
        }
        .item-img {
            order: 2;
        }
        .item-controls-wrapper {
            order: 3;
            margin-top: 15px;
            width: auto;
            flex-direction: row;
        }
        .item-action {
            order: 4;
            margin-top: 15px;
        }
    }

    @media (max-width: 575px) {
        .cart-item-card {
            flex-direction: column;
            text-align: center;
            align-items: center;
        }
        .item-info {
            text-align: center;
            width: 100%;
        }
        .item-controls-wrapper {
            flex-direction: column;
        }
    }
}

.cart {
    .bg-danger {
        background-color: #f48221 !important;
    }
    .badge {
        padding: var(--bs-badge-padding-y) var(--bs-badge-padding-x);
    }
}

.helpful-card-wrapper {
    padding: 35px;
    text-align: center;
}

#step-payment-method {
    .btn:hover {
        background-color: var(--secondary) !important;
    }
}

.btn-outline-fill {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
    padding: 12px 30px;
    font-size: 16px;
    font-weight: 700;
    border-radius: 8px;
    transition: all 0.3s ease;
    text-transform: capitalize;
}

.btn-outline-fill:hover {
    background: var(--primary);
    color: #fff;
}


.goal-reached-btn{
    font-family: "Montserrat-Arabic-Bold" !important;
    width: 100%; 
    padding: 15px; 
    background: #4caf50; 
    color: white; 
    border: none; 
    border-radius: 8px; 
    font-size: 16px; 
    font-weight: 600; 
    cursor: not-allowed; 
    opacity: 0.9;
}

.donate-details .donate-img::before, .donate-details .donate-img::after{
    content: none !important;
}
