/**
 * Bootstrap 4 -> Bootstrap 5 Compatibility Layer
 * Project: Alkhair Charity
 *
 * Load order:
 * 1. bootstrap.min.css (Bootstrap 5)
 * 2. bootstrap4-to-5-compat.css
 * 3. Your project/site custom CSS
 *
 * This file restores common Bootstrap 4 presentation classes.
 * JavaScript APIs and data attributes still require a JS compatibility layer.
 */

/* =========================================================
   1. Bootstrap 4 form layout
   ========================================================= */
.form-group {
    margin-bottom: 1rem;
}

.form-row {
    display: flex;
    flex-wrap: wrap;
    margin-right: -5px;
    margin-left: -5px;
}

.form-row > .col,
.form-row > [class*="col-"] {
    padding-right: 5px;
    padding-left: 5px;
}

.control-label {
    display: inline-block;
    margin-bottom: .5rem;
}

.form-horizontal .form-group {
    display: flex;
    flex-wrap: wrap;
    margin-right: calc(-.5 * var(--bs-gutter-x, 1.5rem));
    margin-left: calc(-.5 * var(--bs-gutter-x, 1.5rem));
}

.form-horizontal .form-group > [class*="col-"] {
    padding-right: calc(.5 * var(--bs-gutter-x, 1.5rem));
    padding-left: calc(.5 * var(--bs-gutter-x, 1.5rem));
}

@media (min-width: 768px) {
    .form-horizontal .control-label {
        padding-top: calc(.375rem + 1px);
        margin-bottom: 0;
        text-align: end;
    }
}

/* Bootstrap 4 valid/invalid feedback sometimes depends on old selectors */
.was-validated .form-control:valid,
.form-control.is-valid,
.was-validated .custom-select:valid,
.custom-select.is-valid {
    border-color: var(--bs-success, #198754);
}

.was-validated .form-control:invalid,
.form-control.is-invalid,
.was-validated .custom-select:invalid,
.custom-select.is-invalid {
    border-color: var(--bs-danger, #dc3545);
}

/* =========================================================
   2. Input groups: prepend, append and addon
   ========================================================= */
.input-group-prepend,
.input-group-append {
    display: flex;
}

.input-group-prepend {
    margin-right: -1px;
}

.input-group-append {
    margin-left: -1px;
}

[dir="rtl"] .input-group-prepend {
    margin-right: 0;
    margin-left: -1px;
}

[dir="rtl"] .input-group-append {
    margin-right: -1px;
    margin-left: 0;
}

.input-group-addon {
    display: flex;
    align-items: center;
    padding: .375rem .75rem;
    margin-bottom: 0;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: var(--bs-body-color, #212529);
    text-align: center;
    white-space: nowrap;
    background-color: var(--bs-tertiary-bg, #e9ecef);
    border: 1px solid var(--bs-border-color, #dee2e6);
    border-radius: var(--bs-border-radius, .375rem);
}

.input-group > .input-group-prepend > .btn,
.input-group > .input-group-prepend > .input-group-text,
.input-group > .input-group-prepend > .input-group-addon,
.input-group > .input-group-append:not(:last-child) > .btn,
.input-group > .input-group-append:not(:last-child) > .input-group-text,
.input-group > .input-group-append:not(:last-child) > .input-group-addon,
.input-group > .input-group-append:last-child > .btn:not(:last-child):not(.dropdown-toggle),
.input-group > .input-group-append:last-child > .input-group-text:not(:last-child),
.input-group > .input-group-append:last-child > .input-group-addon:not(:last-child) {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

.input-group > .input-group-append > .btn,
.input-group > .input-group-append > .input-group-text,
.input-group > .input-group-append > .input-group-addon,
.input-group > .input-group-prepend:not(:first-child) > .btn,
.input-group > .input-group-prepend:not(:first-child) > .input-group-text,
.input-group > .input-group-prepend:not(:first-child) > .input-group-addon,
.input-group > .input-group-prepend:first-child > .btn:not(:first-child),
.input-group > .input-group-prepend:first-child > .input-group-text:not(:first-child),
.input-group > .input-group-prepend:first-child > .input-group-addon:not(:first-child) {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

[dir="rtl"] .input-group > .input-group-prepend > .btn,
[dir="rtl"] .input-group > .input-group-prepend > .input-group-text,
[dir="rtl"] .input-group > .input-group-prepend > .input-group-addon {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    border-top-right-radius: var(--bs-border-radius, .375rem);
    border-bottom-right-radius: var(--bs-border-radius, .375rem);
}

[dir="rtl"] .input-group > .input-group-append > .btn,
[dir="rtl"] .input-group > .input-group-append > .input-group-text,
[dir="rtl"] .input-group > .input-group-append > .input-group-addon {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    border-top-left-radius: var(--bs-border-radius, .375rem);
    border-bottom-left-radius: var(--bs-border-radius, .375rem);
}

/* =========================================================
   3. Old custom form controls
   ========================================================= */
.custom-select {
    display: block;
    width: 100%;
    min-height: calc(1.5em + .75rem + 2px);
    padding: .375rem 2.25rem .375rem .75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: var(--bs-body-color, #212529);
    background-color: var(--bs-body-bg, #fff);
    background-image: var(--bs-form-select-bg-img);
    background-repeat: no-repeat;
    background-position: right .75rem center;
    background-size: 16px 12px;
    border: 1px solid var(--bs-border-color, #dee2e6);
    border-radius: var(--bs-border-radius, .375rem);
    appearance: none;
}

[dir="rtl"] .custom-select {
    padding-right: .75rem;
    padding-left: 2.25rem;
    background-position: left .75rem center;
}

.custom-select:focus {
    border-color: #86b7fe;
    outline: 0;
    box-shadow: 0 0 0 .25rem rgba(13, 110, 253, .25);
}

.custom-select:disabled {
    color: var(--bs-secondary-color, #6c757d);
    background-color: var(--bs-secondary-bg, #e9ecef);
}

.custom-control {
    position: relative;
    display: block;
    min-height: 1.5rem;
    padding-left: 1.5rem;
}

[dir="rtl"] .custom-control {
    padding-right: 1.5rem;
    padding-left: 0;
}

.custom-control-inline {
    display: inline-flex;
    margin-right: 1rem;
}

[dir="rtl"] .custom-control-inline {
    margin-right: 0;
    margin-left: 1rem;
}

.custom-control-input {
    position: absolute;
    z-index: -1;
    opacity: 0;
}

.custom-control-label {
    position: relative;
    margin-bottom: 0;
    vertical-align: top;
    cursor: pointer;
}

.custom-control-label::before,
.custom-control-label::after {
    position: absolute;
    top: .25rem;
    left: -1.5rem;
    display: block;
    width: 1rem;
    height: 1rem;
    content: "";
}

[dir="rtl"] .custom-control-label::before,
[dir="rtl"] .custom-control-label::after {
    right: -1.5rem;
    left: auto;
}

.custom-control-label::before {
    pointer-events: none;
    background-color: var(--bs-body-bg, #fff);
    border: 1px solid var(--bs-border-color, #adb5bd);
}

.custom-checkbox .custom-control-label::before {
    border-radius: .25rem;
}

.custom-radio .custom-control-label::before {
    border-radius: 50%;
}

.custom-control-input:focus ~ .custom-control-label::before {
    border-color: #86b7fe;
    box-shadow: 0 0 0 .25rem rgba(13, 110, 253, .25);
}

.custom-control-input:checked ~ .custom-control-label::before {
    color: #fff;
    border-color: var(--bs-primary, #0d6efd);
    background-color: var(--bs-primary, #0d6efd);
}

.custom-checkbox .custom-control-input:checked ~ .custom-control-label::after {
    background-repeat: no-repeat;
    background-position: center;
    background-size: 70% 70%;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='m3 8 3 3 7-7'/%3e%3c/svg%3e");
}

.custom-radio .custom-control-input:checked ~ .custom-control-label::after {
    background-repeat: no-repeat;
    background-position: center;
    background-size: 55% 55%;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='2.5' fill='%23fff'/%3e%3c/svg%3e");
}

.custom-control-input:disabled ~ .custom-control-label {
    color: var(--bs-secondary-color, #6c757d);
    cursor: default;
}

.custom-control-input:disabled ~ .custom-control-label::before {
    background-color: var(--bs-secondary-bg, #e9ecef);
}

.custom-switch {
    padding-left: 2.25rem;
}

[dir="rtl"] .custom-switch {
    padding-right: 2.25rem;
    padding-left: 0;
}

.custom-switch .custom-control-label::before {
    left: -2.25rem;
    width: 1.75rem;
    border-radius: .5rem;
}

.custom-switch .custom-control-label::after {
    top: calc(.25rem + 2px);
    left: calc(-2.25rem + 2px);
    width: calc(1rem - 4px);
    height: calc(1rem - 4px);
    background-color: #adb5bd;
    border-radius: .5rem;
    transition: transform .15s ease-in-out;
}

.custom-switch .custom-control-input:checked ~ .custom-control-label::after {
    background-color: #fff;
    transform: translateX(.75rem);
}

[dir="rtl"] .custom-switch .custom-control-label::before {
    right: -2.25rem;
    left: auto;
}

[dir="rtl"] .custom-switch .custom-control-label::after {
    right: calc(-2.25rem + 2px);
    left: auto;
}

[dir="rtl"] .custom-switch .custom-control-input:checked ~ .custom-control-label::after {
    transform: translateX(-.75rem);
}

.custom-file {
    position: relative;
    display: inline-block;
    width: 100%;
    height: calc(1.5em + .75rem + 2px);
    margin-bottom: 0;
}

.custom-file-input {
    position: relative;
    z-index: 2;
    width: 100%;
    height: calc(1.5em + .75rem + 2px);
    margin: 0;
    opacity: 0;
}

.custom-file-label {
    position: absolute;
    inset: 0;
    z-index: 1;
    height: calc(1.5em + .75rem + 2px);
    padding: .375rem .75rem;
    overflow: hidden;
    font-weight: 400;
    line-height: 1.5;
    color: var(--bs-body-color, #212529);
    background-color: var(--bs-body-bg, #fff);
    border: 1px solid var(--bs-border-color, #dee2e6);
    border-radius: var(--bs-border-radius, .375rem);
}

.custom-file-label::after {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 3;
    display: block;
    padding: .375rem .75rem;
    line-height: 1.5;
    color: var(--bs-body-color, #212529);
    content: "Browse";
    background-color: var(--bs-tertiary-bg, #e9ecef);
    border-left: 1px solid var(--bs-border-color, #dee2e6);
}

[dir="rtl"] .custom-file-label::after {
    right: auto;
    left: 0;
    content: "اختيار ملف";
    border-right: 1px solid var(--bs-border-color, #dee2e6);
    border-left: 0;
}

/* =========================================================
   4. Buttons and close controls
   ========================================================= */
.btn-block {
    display: block;
    width: 100%;
}

.btn-block + .btn-block {
    margin-top: .5rem;
}

input[type="submit"].btn-block,
input[type="reset"].btn-block,
input[type="button"].btn-block {
    width: 100%;
}

button.close,
.close {
    box-sizing: content-box;
    width: 1em;
    height: 1em;
    padding: .25em;
    color: currentColor;
    background: transparent;
    border: 0;
    border-radius: .375rem;
    opacity: .5;
    font-size: 1.5rem;
    line-height: 1;
    text-shadow: 0 1px 0 #fff;
    cursor: pointer;
}

button.close:hover,
.close:hover,
button.close:focus,
.close:focus {
    color: currentColor;
    text-decoration: none;
    opacity: .75;
}

.modal-header .close {
    padding: 1rem;
    margin: -1rem -1rem -1rem auto;
}

[dir="rtl"] .modal-header .close {
    margin: -1rem auto -1rem -1rem;
}

/* Avoid Bootstrap 5 btn-close background icon when old close markup is used */
.close:not(.btn-close) {
    background-image: none;
}

/* =========================================================
   5. Visibility, badges and text alignment
   ========================================================= */
.sr-only {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

.sr-only-focusable:active,
.sr-only-focusable:focus {
    position: static !important;
    width: auto !important;
    height: auto !important;
    overflow: visible !important;
    clip: auto !important;
    white-space: normal !important;
}

.badge-pill {
    padding-right: .6em;
    padding-left: .6em;
    border-radius: 50rem;
}

.text-left {
    text-align: left !important;
}

.text-right {
    text-align: right !important;
}

.float-left {
    float: left !important;
}

.float-right {
    float: right !important;
}

/* =========================================================
   6. Bootstrap 4 spacing aliases
   These preserve physical left/right behavior exactly.
   ========================================================= */
.ml-0 { margin-left: 0 !important; }
.ml-1 { margin-left: .25rem !important; }
.ml-2 { margin-left: .5rem !important; }
.ml-3 { margin-left: 1rem !important; }
.ml-4 { margin-left: 1.5rem !important; }
.ml-5 { margin-left: 3rem !important; }
.ml-auto { margin-left: auto !important; }

.mr-0 { margin-right: 0 !important; }
.mr-1 { margin-right: .25rem !important; }
.mr-2 { margin-right: .5rem !important; }
.mr-3 { margin-right: 1rem !important; }
.mr-4 { margin-right: 1.5rem !important; }
.mr-5 { margin-right: 3rem !important; }
.mr-auto { margin-right: auto !important; }

.pl-0 { padding-left: 0 !important; }
.pl-1 { padding-left: .25rem !important; }
.pl-2 { padding-left: .5rem !important; }
.pl-3 { padding-left: 1rem !important; }
.pl-4 { padding-left: 1.5rem !important; }
.pl-5 { padding-left: 3rem !important; }

.pr-0 { padding-right: 0 !important; }
.pr-1 { padding-right: .25rem !important; }
.pr-2 { padding-right: .5rem !important; }
.pr-3 { padding-right: 1rem !important; }
.pr-4 { padding-right: 1.5rem !important; }
.pr-5 { padding-right: 3rem !important; }

/* =========================================================
   7. Media object removed in Bootstrap 5
   ========================================================= */
.media {
    display: flex;
    align-items: flex-start;
}

.media-body {
    flex: 1;
    min-width: 0;
}

.media img,
.media-object {
    flex-shrink: 0;
}

/* =========================================================
   8. Card groups removed/changed in Bootstrap 5
   ========================================================= */
.card-deck {
    display: flex;
    flex-direction: column;
}

.card-deck .card {
    margin-bottom: 15px;
}

@media (min-width: 576px) {
    .card-deck {
        flex-flow: row wrap;
        margin-right: -15px;
        margin-left: -15px;
    }

    .card-deck .card {
        display: flex;
        flex: 1 0 0%;
        flex-direction: column;
        margin-right: 15px;
        margin-bottom: 0;
        margin-left: 15px;
    }
}

.card-columns {
    column-count: 1;
    column-gap: 1.25rem;
}

.card-columns .card {
    display: inline-block;
    width: 100%;
    margin-bottom: .75rem;
}

@media (min-width: 576px) {
    .card-columns {
        column-count: 3;
    }
}

/* =========================================================
   9. Jumbotron removed in Bootstrap 5
   ========================================================= */
.jumbotron {
    padding: 2rem 1rem;
    margin-bottom: 2rem;
    background-color: var(--bs-tertiary-bg, #e9ecef);
    border-radius: .3rem;
}

@media (min-width: 576px) {
    .jumbotron {
        padding: 4rem 2rem;
    }
}

.jumbotron-fluid {
    padding-right: 0;
    padding-left: 0;
    border-radius: 0;
}

/* =========================================================
   10. Checkout compatibility
   ========================================================= */
.checkout-page .form-group,
.checkout-wrapper .form-group,
.checkout-form .form-group,
#checkout .form-group {
    margin-bottom: 1rem;
}

.checkout-page label,
.checkout-wrapper label,
.checkout-form label,
#checkout label {
    margin-bottom: .5rem;
}

.checkout-page .input-group,
.checkout-wrapper .input-group,
.checkout-form .input-group,
#checkout .input-group {
    flex-wrap: nowrap;
}

.checkout-page .input-group .form-control,
.checkout-wrapper .input-group .form-control,
.checkout-form .input-group .form-control,
#checkout .input-group .form-control {
    min-width: 0;
}

.checkout-page .table-responsive,
.checkout-wrapper .table-responsive,
.checkout-form .table-responsive,
#checkout .table-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.checkout-page .custom-select,
.checkout-wrapper .custom-select,
.checkout-form .custom-select,
#checkout .custom-select,
.checkout-page select.form-control,
.checkout-wrapper select.form-control,
.checkout-form select.form-control,
#checkout select.form-control {
    min-height: calc(1.5em + .75rem + 2px);
}

.checkout-page .btn-block,
.checkout-wrapper .btn-block,
.checkout-form .btn-block,
#checkout .btn-block {
    width: 100%;
}

/* Keep old Bootstrap 4 table appearance when checkout tables use borders */
.table-bordered > :not(caption) > * > * {
    border-width: 1px;
}

/* =========================================================
   11. Pagination compatibility
   ========================================================= */
.page-item:first-child .page-link {
    border-top-left-radius: var(--bs-pagination-border-radius, .375rem);
    border-bottom-left-radius: var(--bs-pagination-border-radius, .375rem);
}

.page-item:last-child .page-link {
    border-top-right-radius: var(--bs-pagination-border-radius, .375rem);
    border-bottom-right-radius: var(--bs-pagination-border-radius, .375rem);
}

[dir="rtl"] .pagination {
    padding-right: 0;
}

/* =========================================================
   12. Old responsive embeds
   ========================================================= */
.embed-responsive {
    position: relative;
    display: block;
    width: 100%;
    padding: 0;
    overflow: hidden;
}

.embed-responsive::before {
    display: block;
    content: "";
}

.embed-responsive .embed-responsive-item,
.embed-responsive iframe,
.embed-responsive embed,
.embed-responsive object,
.embed-responsive video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.embed-responsive-21by9::before { padding-top: 42.857143%; }
.embed-responsive-16by9::before { padding-top: 56.25%; }
.embed-responsive-4by3::before { padding-top: 75%; }
.embed-responsive-1by1::before { padding-top: 100%; }

/* =========================================================
   13. Old list-inline spacing
   ========================================================= */
.list-inline-item:not(:last-child) {
    margin-right: .5rem;
}

[dir="rtl"] .list-inline-item:not(:last-child) {
    margin-right: 0;
    margin-left: .5rem;
}

/* =========================================================
   14. Print helpers retained from Bootstrap 4 projects
   ========================================================= */
@media print {
    .d-print-none {
        display: none !important;
    }

    .d-print-block {
        display: block !important;
    }

    .d-print-inline {
        display: inline !important;
    }

    .d-print-inline-block {
        display: inline-block !important;
    }
}


[dir="rtl"] .form-check .form-check-input {
    float: right !important;
    margin-left: 0em !important;
	margin-right: -1.5em !important;
}



/* =====================================================
   Al-Khair Hero Slider
   جميع الكلاسات مخصصة لتجنب CSS القديم
===================================================== */

.akf-hero-slider {
    position: relative;
    width: 100%;
    margin: 0;
    padding: 0;
    overflow: hidden;
    background: #123672;
}

.akf-hero-slider #donationHeroSlider {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.akf-hero-slider .carousel-inner {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.akf-hero-slider .carousel-item {
    position: relative;
    width: 100%;
}

.akf-hero-slide {
    position: relative;
    width: 100%;
    height: 330px;
    overflow: hidden;
    background: #123672;
}

.akf-hero-picture {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
}

.akf-hero-image {
    position: absolute;
    inset: 0;

    display: block;
    width: 100%;
    max-width: none;
    height: 100%;

    margin: 0;
    padding: 0;

    object-fit: cover;
    object-position: center center;
}

.akf-hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;

    background:
        linear-gradient(
            180deg,
            rgba(7, 31, 73, 0.02) 0%,
            rgba(7, 31, 73, 0.08) 48%,
            rgba(7, 31, 73, 0.62) 100%
        );

    pointer-events: none;
}

.akf-hero-content {
    position: absolute;
    inset: 0;
    z-index: 2;

    display: flex;
    align-items: flex-end;
    justify-content: center;

    padding: 30px 20px 72px;
}

.akf-hero-donate-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-width: 190px;
    min-height: 52px;

    padding: 13px 34px;

    border: 0;
    border-radius: 999px;

    background: linear-gradient(135deg, #f7bd17 0%, #e4a300 100%);
    color: #fff !important;

    font-family: swissrabold, sans-serif;
    font-size: 17px;
    font-weight: 700;
    line-height: 1;

    text-align: center;
    text-decoration: none !important;

    box-shadow:
        0 12px 30px rgba(0, 0, 0, 0.22),
        0 4px 12px rgba(228, 163, 0, 0.22);

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        background 0.25s ease;
}

.akf-hero-donate-btn:hover,
.akf-hero-donate-btn:focus {
    color: #fff !important;
    background: linear-gradient(135deg, #ffc92e 0%, #eca900 100%);

    transform: translateY(-2px);

    box-shadow:
        0 16px 34px rgba(0, 0, 0, 0.28),
        0 6px 16px rgba(228, 163, 0, 0.28);
}

.akf-hero-donate-btn:active {
    transform: translateY(0);
}

/* Indicators */

.akf-hero-slider .akf-hero-indicators {
    right: auto;
    bottom: 24px;
    left: 50%;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;

    width: auto;

    margin: 0;
    padding: 0;

    transform: translateX(-50%);
    z-index: 5;
}

.akf-hero-slider .akf-hero-indicators button {
    flex: 0 0 auto;

    width: 9px;
    min-width: 9px;
    height: 9px;

    margin: 0;
    padding: 0;

    border: 0;
    border-radius: 50%;

    background: rgba(255, 255, 255, 0.46);

    color: transparent;
    font-size: 0;
    line-height: 0;
    text-indent: -9999px;

    opacity: 1;
    overflow: hidden;

    box-sizing: border-box;

    transition:
        width 0.25s ease,
        background 0.25s ease,
        border-radius 0.25s ease;
}

.akf-hero-slider .akf-hero-indicators button::before,
.akf-hero-slider .akf-hero-indicators button::after {
    content: none !important;
    display: none !important;
}

.akf-hero-slider .akf-hero-indicators button.active {
    width: 27px;
    border-radius: 20px;
    background: #f7bd17;
}

/* Navigation */

.akf-hero-prev,
.akf-hero-next {
    top: 50%;

    width: 54px;
    height: 54px;

    margin: 0 22px;

    opacity: 1;
    transform: translateY(-50%);
    z-index: 4;
}

.akf-hero-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 44px;
    height: 44px;

    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 50%;

    background: rgba(9, 41, 89, 0.58);
    color: #fff;

    font-size: 18px;
    line-height: 1;

    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.2);

    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);

    transition:
        transform 0.25s ease,
        background 0.25s ease,
        border-color 0.25s ease;
}

.akf-hero-prev:hover .akf-hero-arrow,
.akf-hero-next:hover .akf-hero-arrow {
    background: #f7bd17;
    border-color: #f7bd17;
    transform: scale(1.08);
}

/* Tablet */

@media (max-width: 991.98px) {
    .akf-hero-slide {
        height: 430px;
        min-height: 430px;
    }

    .akf-hero-prev,
    .akf-hero-next {
        margin: 0 10px;
    }
}

/* Mobile */

@media (max-width: 767.98px) {
    .akf-hero-slide {
        height: auto;
        min-height: 0;
        aspect-ratio: 4 / 5;
    }

    .akf-hero-image {
        object-fit: cover;
        object-position: center center;
    }

    .akf-hero-overlay {
        background:
            linear-gradient(
                180deg,
                rgba(7, 31, 73, 0.02) 0%,
                rgba(7, 31, 73, 0.1) 52%,
                rgba(7, 31, 73, 0.7) 100%
            );
    }

    .akf-hero-content {
        padding: 20px 20px 62px;
    }

    .akf-hero-donate-btn {
        width: 100%;
        max-width: 225px;

        min-width: 0;
        min-height: 50px;

        padding: 12px 24px;

        font-size: 16px;
    }

    .akf-hero-slider .akf-hero-indicators {
        bottom: 19px;
        gap: 7px;
    }

    .akf-hero-slider .akf-hero-indicators button {
        width: 8px;
        min-width: 8px;
        height: 8px;
    }

    .akf-hero-slider .akf-hero-indicators button.active {
        width: 23px;
    }

    .akf-hero-prev,
    .akf-hero-next {
        display: none;
    }
}

@media (max-width: 420px) {
    .akf-hero-slide {
        aspect-ratio: 4 / 5.2;
    }

    .akf-hero-content {
        padding-right: 22px;
        padding-bottom: 58px;
        padding-left: 22px;
    }

    .akf-hero-donate-btn {
        max-width: 210px;
        min-height: 48px;
        font-size: 15px;
    }
}

/* RTL arrows */

html[dir="rtl"] .akf-hero-prev {
    right: 0;
    left: auto;
}

html[dir="rtl"] .akf-hero-next {
    right: auto;
    left: 0;
}