body {
    background-color: #E0F2F1;
    background-image: linear-gradient(rgba(241, 248, 246, 0.83), rgba(241, 248, 246, 0.83)), url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100"><circle cx="20" cy="20" r="15" fill="%23004D40" opacity="0.1"/><rect x="50" y="50" width="30" height="30" fill="%23004D40" opacity="0.1"/></svg>');
    background-repeat: repeat;
    font-family: 'Roboto', sans-serif;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

body i {
    font-family: unset;
}

[dir="rtl"] {
    font-family: 'Vazirmatn', sans-serif !important;
}

.btn-success {
    --bs-btn-bg: #004D40;
}

.hero-section {
    background-color: #004D40;
    background-image: url('../images/hero-bg.svg');
    background-repeat: round;
    color: white;
    padding: 100px 0;
    text-align: center;
    animation: fadeIn 1.5s;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.footer {
    background: #004D40;
    color: white;
    padding: 40px 0 0 0;
    text-align: center;
    margin-top: auto;
}

.btn-primary {
    background: #004D40;
    border-color: #01332b;
    --bs-btn-disabled-bg: unset;
}

.btn-primary:active {
    background: #004D40 !important;
    border-color: #01332b !important;;
}

.btn-primary:disabled {
    background: #00675d;
    border-color: #00675d;
}

.bg-primary {
    background-color: #004D40 !important;
}

.btn-primary:hover {
    background: #005F56;
    border-color: #004D40;
}

.a-primary:hover {
    color: #004D40;
}

.a-primary {
    color: #00796B;
    cursor: pointer;
}

.btn-white {
    background: white;
    border-color: white;
}

.btn-white:hover {
    background: #dfdede;
    border-color: #dfdede;
}

.pricing-section, .services-section, .donation-section {
    padding: 50px 0;
}

.pricing-card {
    border: 1px solid #ddd;
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    background-color: white;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
    margin-bottom: 30px;
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.services-item {
    padding: 30px;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
    margin-bottom: 30px;
    min-height: 270px;
    border: 1px solid #ddd;
    text-align: center;
}

.services-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

@media (min-width: 300px) and (max-width: 930px) {
    .feature-box {
        margin-bottom: 20px;
        width: 100%;
        height: auto;
    }

    .pricing-card, .services-item {
        margin-bottom: 20px;
    }
}


/* Apply to all scrollbars */
* {
    scrollbar-width: thin; /* For Firefox */
    scrollbar-color: #004D40 #f1f1f1; /* Thumb and track colors */
}

/* WebKit-based browsers */
*::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

*::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

*::-webkit-scrollbar-thumb {
    background-color: #004D40;
    border-radius: 4px;
    border: 2px solid #f1f1f1; /* Optional padding effect */
}

*::-webkit-scrollbar-thumb:hover {
    background-color: #0a2c1c;

}

:root {
    --swal2-confirm-button-background: #1E4E41;
    --swal2-cancel-button-background: #ccc;
    --swal2-confirm-button-color: #fff;
    --swal2-cancel-button-color: #000;
}

.swal2-confirm {
    background-color: var(--swal2-confirm-button-background) !important;
    color: var(--swal2-confirm-button-color) !important;
}

.swal2-cancel {
    background-color: var(--swal2-cancel-button-background) !important;
    color: var(--swal2-cancel-button-color) !important;
}

.swal2-popup {
    border: 2px solid #1E4E41;
}

textarea {
    transition: height 0.5s ease;
    overflow: hidden;
}

.cursor-pointer {
    cursor: pointer;
}

.toast-center {
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    position: fixed !important;
}

.font-size-x-large {
    font-size: x-large;
}

.font-size-large {
    font-size: large;
}
.font-size-medium {
    font-size: medium;
}

.text-primary {
    color: #004D40 !important;;
}

.w-fit-content {
    width: fit-content;
}

.h-fit-content {
    height: fit-content;
}

.justify-self-center {
    justify-self: center;
}

.justify-self-right {
    justify-self: right;
}

.katex {
    direction: ltr;
    unicode-bidi: isolate;
    position: relative;
}

.w-90 {
    width: 90%;
}

.alert-primary {
    --bs-alert-color: #001e19;
    --bs-alert-bg: rgba(0, 77, 64, 0.42);
    --bs-alert-border-color: #01372e;
    --bs-alert-link-color: #00796B;
}

.section-list {
    padding: 20px;
    background-color: white;
    border-radius: 8px;
    box-shadow: 4px 4px 8px 8px rgba(0, 0, 0, 0.1);
    overflow-x: auto;
    height: fit-content;
    position: sticky;
    top: 20px;
}

.section-list-item {
    display: block;
    width: 100%;
    padding: 10px;
    cursor: pointer;
    color: black;
    background-color: white;
    border-radius: 5px;
    text-decoration: unset;
}

.section-list-item:hover {
    background-color: rgba(223, 222, 222, 0.95);
    transition: background-color 0.5s ease;

}