/********** Template CSS **********/
@import url('https://fonts.googleapis.com/css2?family=Ubuntu:wght@400;500;600;700&family=Noto+Sans+Bengali:wght@400;500;600;700&display=swap');

:root {
    --bs-tertiary: #ffffff;
    --bs-primary: #3cb64b;
    --bs-primary-rgb: 60, 182, 75;
    --font-ui-en: "Ubuntu", "Segoe UI", sans-serif;
    --font-ui-bn: "Noto Sans Bengali", "Hind Siliguri", "SolaimanLipi", sans-serif;
    --brand-green: #3cb64b;
    --brand-green-dark: #2f9f3d;
    --brand-green-soft: rgba(60, 182, 75, 0.16);
}

body {
    font-family: var(--font-ui-en);
}

html[lang="bn"] body {
    font-family: var(--font-ui-bn);
}

/* Home page button system */
.home-page .btn {
    border-radius: 999px;
    font-weight: 700;
    letter-spacing: .01em;
    padding: .78rem 1.45rem;
    border-width: 1px;
    box-shadow: 0 10px 22px rgba(15, 23, 42, 0.11);
    transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease, border-color .2s ease, color .2s ease;
}

.home-page .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 26px rgba(15, 23, 42, 0.16);
}

.home-page .btn:focus {
    box-shadow: 0 0 0 3px rgba(24, 160, 88, 0.22);
}

.home-page .btn-primary,
.home-page .btn-success {
    background: linear-gradient(135deg, #3cb64b, #24c06f);
    border-color: #3cb64b;
    color: #fff;
}

.home-page .btn-primary:hover,
.home-page .btn-success:hover {
    background: linear-gradient(135deg, #0f7a43, #18a058);
    border-color: #0f7a43;
    color: #fff;
}

.home-page .btn-secondary {
    background: #ffffff;
    color: #0f172a;
    border-color: rgba(15, 23, 42, 0.18);
}

.home-page .btn-secondary:hover {
    background: #f1f5f9;
    color: #0f172a;
    border-color: rgba(15, 23, 42, 0.28);
}

@media (max-width: 767.98px) {
    .home-page .btn {
        padding: .7rem 1.1rem;
        font-size: .92rem;
    }
}


/*** start ***/

@media(max-width:991px){

.navbar > a img{
    margin-top:4px;
}

}
@media(max-width:991px){

.navbar{
    display:flex !important;
    justify-content:space-between !important;
    align-items:center !important;
}

.navbar-toggler{
    margin-left:auto !important;
}

.navbar > a{
    margin-right:auto !important;
}

}

.mobile-sidebar {
    width: min(320px, 85vw);
    min-height: 100dvh;
    max-height: 100dvh;
    background: #ffffff;
    padding: 1.5rem;
    box-shadow: 0 30px 50px rgba(15, 23, 42, .25) !important;
}

.mobile-sidebar .offcanvas-body {
    padding-bottom: calc(env(safe-area-inset-bottom, 0px) + 14px);
}

@media (max-width: 575.98px) {
    .mobile-sidebar {
        width: 80vw;
        max-width: 100vw;
    }
}

.mobile-sidebar .offcanvas-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0;
    margin-top: -18px;
    border-bottom: 1px solid rgba(15, 23, 42, 0.247) !important;
    
    
}

.mobile-sidebar-title {
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.mobile-sidebar-brand {
    width: calc(100% - 40px);
    background: #ffffff;
    border-radius: 10px;
    padding: 10px 12px;
    color: #ffffff;
}

.mobile-sidebar-brand__row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.mobile-sidebar-brand__logo {
    width: 58px;
    height: 58px;
    object-fit: cover;
    border-radius: 6px;
    background: #ffffff;
    padding: 2px;
    border: 1px solid rgba(255, 255, 255, 0.4);
}

.mobile-sidebar-brand__icon {
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.35);
}

.mobile-sidebar-brand .mobile-sidebar-title {
    color: #000000;
    font-size: 1.05rem;
    letter-spacing: 0.2px;
    line-height: 1;
}

.mobile-sidebar-tagline {
    margin-top: 6px;
    color: rgba(255, 255, 255, 0.92);
    font-size: 0.76rem;
    line-height: 1.2;
}

.mobile-menu-list {
    display: flex;
    flex-direction: column;
    gap: 0.2em;
    margin-top: 1.25rem;
}

.mobile-menu-link {
    padding: 0.2rem 0;
    font-size: 1.2rem;
    font-weight: 500;
    color: #0f172a;
    text-decoration: none;
    
}

.mobile-menu-myaccount-link {
    padding: 0.5rem 0;
    font-size: 1.2rem;
    font-weight: 500;
    color: #0f172a;
    text-decoration: none;
    
}
.mobile-menu-link:hover {
    color: #0fac17;
}

.mobile-menu-link.active {
    color: #0b8f2b;
    font-weight: 700;
}

.mobile-submenu-toggle {
    width: 100%;
    background: transparent;
    text-align: left;
    border-left: 0;
    border-right: 0;
    border-top: 0;
    border: none;
}

.mobile-submenu-toggle[aria-expanded="true"] i {
    transform: rotate(180deg);
}

.mobile-submenu-toggle i {
    transition: transform .2s ease;
}

.mobile-submenu {
    padding-left: 0.75rem;
    margin-top: 0.3rem;
}

.mobile-submenu-link {
    display: block;
    padding: 0.45rem 0;
    font-size: 1rem;
    font-weight: 600;
    color: #334155;
    text-decoration: none;
}

.mobile-submenu-link:hover {
    color: #f8b864;
}

.mobile-submenu-link.active {
    color: #0b8f2b;
    font-weight: 700;
}

.mobile-sidebar-bottom {
    position: sticky;
    bottom: 0;
    background: #fff;
    padding-top: 12px;
    border-top: 1px solid rgba(15, 23, 42, 0.08);
    z-index: 3;
}

.language-switcher {
    margin-top: 1rem;
    padding: 4px;
    border-radius: 1rem;
    background: #eef1ec;
    border: 1px solid #d7ddd7;
}

.language-btn {
    border: none;
    border-radius: 0.9rem;
    background: #ffffff;
    color: #0f172a;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    transition: background .3s, color .3s;
}

.language-btn.active {
    background: #5bc48d;
    color: #fff;
}

.desktop-language-switcher {
    border-radius: 1rem;
    background: #eef1ec;
    border: 1px solid #d7ddd7;
    padding: 0.25rem ;
    display: flex;
    gap: 0.35rem;
}

.language-pill {
    flex: 1;
    min-width: 76px;
    min-height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    border-radius: 0.75rem;
    font-weight: 700;
    padding: 0.4rem 0.7rem;
    background: #ffffff;
    color: #111;
    border: 1px solid transparent;
    transition: background .3s, color .3s;
}

.language-pill.active {
    background: #57bf88;
    color: #fff;
    border-color: #57bf88;
}

.user-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #0b7f39;
    color: #fff;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
}

.desktop-dashboard,
.desktop-account-btn {
    gap: 0.6rem;
}

.desktop-dashboard {
    background: #111;
    color: #fff;
}

.desktop-dashboard:hover {
    background: #0f0f0f;
}

.user-menu {
    display: flex;
    flex-wrap: nowrap;
    flex-direction: column;
    gap: 0.55rem;
    padding: 0.85rem;
    background: linear-gradient(180deg, #ffffff, #f8fbff);
    border-radius: 1rem;
    border: 1px solid rgba(15, 23, 42, 0.08);
    justify-content: flex-start;
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.06);
}

.user-layout {
    align-items: flex-start;
}

.user-menu__title {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: #0f172a;
    text-transform: uppercase;
    padding: 0.2rem 0.4rem 0.35rem;
    border-bottom: 1px dashed #dbe4ef;
}

.user-menu__item {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    gap: 0.7rem;
    justify-content: flex-start;
    padding: 0.62rem 0.75rem;
    border-radius: 0.85rem;
    background: #ffffff;
    color: #0f172a;
    font-weight: 600;
    text-decoration: none;
    border: 1px solid #e2e8f0;
    transition: all 0.25s ease;
}

.user-menu__icon {
    width: 30px;
    height: 30px;
    border-radius: 999px;
    background: #eef2ff;
    color: #334155;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 30px;
}

.user-menu__item i {
    font-size: 1rem;
}

.user-menu__label {
    line-height: 1.2;
}

.user-menu__item.active {
    background: linear-gradient(135deg, #0b7f39, #19a56f);
    color: #fff;
    border-color: #0b7f39;
    box-shadow: 0 8px 20px rgba(11, 127, 57, 0.22);
}

.user-menu__item.active .user-menu__icon {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
}

.user-menu__item:hover  {
    transform: translateY(-1px);
    background: #effaf3;
    border-color: #bfe5cc;
    color:#000000
}

.user-menu__item--danger {
    color: #dc2626;
    background: #fff7f7;
    border-color: #fecaca;
}

.user-menu__item--danger .user-menu__icon {
    background: #fee2e2;
    color: #dc2626;
}

.user-menu__item--danger:hover {
    background: #ffe4e6;
}

@media (max-width: 991.98px) {
    .user-menu {
        flex-direction: row;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        padding: 0.55rem;
        gap: 0.5rem;
        scrollbar-width: thin;
        border-radius: 14px;
    }
    .user-menu__title {
        display: none;
    }
    .user-menu__item {
        flex: 0 0 auto;
        min-height: 46px;
        justify-content: center;
        padding: 0.5rem 0.8rem;
        white-space: nowrap;
        border-radius: 999px;
    }
    .user-menu__label {
        font-size: 0.9rem;
    }
}

@media (min-width: 992px) {
    .user-layout .user-menu {
        position: sticky;
        top: 90px;
        max-height: calc(100vh - 110px);
        overflow-y: auto;
        overscroll-behavior: contain;
        scrollbar-width: thin;
    }
    .user-layout .user-menu__item {
        width: 100%;
    }
}

.user-dashboard {
    background: #eeefec;
    border: 1px solid #dbe3ec;
    border-radius: 24px !important;
    overflow: hidden;
    padding: 1.5rem !important;
}

.user-dashboard__avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: #d8dde2;
    color: #4b5563;
    font-weight: 700;
    font-size: 1.8rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.profile-modal .modal-content {
    border-radius: 1rem;
    padding: 0;
    border: none;
}

.profile-modal .modal-header {
    border-bottom: none;
    padding: 1.25rem 1.5rem 0.25rem;
    font-size: 1.2rem;
    font-weight: 700;
}

.profile-modal .modal-body {
    padding: 1rem 1.5rem 1.5rem;
}

.profile-modal .form-control {
    border-radius: 0.6rem;
    border: 1px solid rgba(15, 23, 42, 0.15);
    background: #fff;
    transition: border-color .2s ease;
}

.profile-modal .form-control:disabled {
    background: #f6f9fb;
    opacity: 1;
}

.profile-modal .form-control:focus {
    border-color: #0b7f39;
    box-shadow: none;
}

.profile-modal .modal-footer {
    border-top: none;
    padding: 0 1.5rem 1.25rem;
}

.profile-modal .btn-primary {
    background: #1fc66e;
    border-color: #1fc66e;
    border-radius: 0.75rem;
    font-weight: 700;
    box-shadow: 0 15px 30px rgba(31, 198, 110, 0.35);
}

.profile-modal .btn-close {
    background: transparent;
    border: none;
    font-size: 1.25rem;
    opacity: 0.6;
}

.profile-modal .btn-close:hover {
    opacity: 1;
}

.volunteer-card {
    background: #fff;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 20px 45px rgba(0, 0, 0, .08);
    border: 1px solid rgba(15, 23, 42, .08);
}

.volunteer-card__header {
    background: #0b7f39;
    color: #fff;
    padding: 1.25rem 2rem;
    font-size: 1.5rem;
    font-weight: 700;
    border-bottom: 1px solid rgba(255, 255, 255, .3);
}

.volunteer-card__subtitle {
    font-size: .95rem;
    color: rgba(255, 255, 255, .85);
    margin-top: .35rem;
}

.volunteer-card__body {
    padding: 2rem;
}

.volunteer-section {
    background: #f9fafb;
    border-radius: .75rem;
    padding: 1.5rem;
    margin-bottom: 1.25rem;
    border: 1px solid rgba(15, 23, 42, .06);
}

.volunteer-section h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.volunteer-section .form-label {
    font-size: .9rem;
    font-weight: 600;
}

.volunteer-section .required-dot::after {
    content: '*';
    color: #f00;
    margin-left: .25rem;
}

.volunteer-footer {
    background: #ecfdf3;
    border-top: 1px solid rgba(15, 23, 42, .1);
    padding: 1.5rem;
    border-radius: 0 0 1rem 1rem;
    font-size: .85rem;
    color: #475467;
}

.volunteer-footer strong {
    color: #0b7f39;
}

.fund-card {
    min-height: 280px;
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 1rem;
    box-shadow: 0 15px 40px rgba(15, 23, 42, 0.08);
    overflow: hidden;
}

.fund-card__image {
    height: 160px;
    background-size: cover;
    background-position: center;
}

.fund-card__body {
    flex: 1;
    padding: 1.75rem;
}

.fund-card h3 {
    font-size: 1.25rem;
}

.fund-card__body .btn {
    border-radius: 999px;
    font-weight: 600;
}

.donation-hero {
    background: linear-gradient(130deg, #0b7f39, #11a360);
    color: #fff;
    border-radius: 1rem;
    padding: 2.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 15px 60px rgba(15, 23, 42, 0.2);
}

.donation-hero h1 {
    font-size: 2.7rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.donation-hero p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.88);
}

.btn-outline-white {
    border-color: rgba(255, 255, 255, 0.7);
    color: #fff;
    background: transparent;
}

.btn-outline-white:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.donation-card {
    border-radius: 1.25rem;
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.1);
    background: #ffffff;
    border: none;
}

.donation-card .donation-progress {
    min-width: 80px;
}

.donation-card .donation-detail {
    flex: 1;
}

.donation-card img {
    border-radius: 1rem;
    display: block;
}
.program-card {
    position: relative;
    isolation: isolate;
    transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
    background: linear-gradient(180deg, #ffffff 0%, #f8fbfa 100%);
    border: 1px solid rgba(15, 23, 42, .10);
    border-radius: 18px !important;
    box-shadow: 0 10px 26px rgba(15, 23, 42, .06);
    overflow: hidden;
}

.program-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(140deg, rgba(24, 160, 88, .10), rgba(24, 160, 88, 0));
    opacity: 0;
    transition: opacity .28s ease;
    z-index: -1;
}

.program-card i.fa-hand-holding-heart {
    color: #13884b !important;
    transition: transform .28s ease, color .28s ease;
}

.program-card h4 {
    color: #0f172a !important;
    line-height: 1.3;
}

.program-card p {
    color: #5b677d !important;
    line-height: 1.55;
}

.program-card span {
    color: #11804a !important;
    letter-spacing: .01em;
    transition: letter-spacing .2s ease;
}

.program-card:hover {
    transform: translateY(-8px);
    border-color: rgba(24, 160, 88, .28);
    box-shadow: 0 20px 40px rgba(15, 23, 42, .13);
}

.program-card:hover::before {
    opacity: 1;
}

.program-card:hover i.fa-hand-holding-heart {
    color: #18a058 !important;
    transform: translateY(-2px) scale(1.08);
}

.program-card:hover span {
    letter-spacing: .02em;
}

@media (max-width: 767.98px) {
    .program-card {
        border-radius: 14px !important;
        padding: 1rem !important;
    }

    .program-card h4 {
        font-size: 1.22rem;
        margin-bottom: .55rem !important;
    }

    .program-card p {
        font-size: .96rem;
        margin-bottom: .45rem;
    }
}

.blog-side-share {
    background: #dce6e2;
    border-radius: 14px;
    padding: 12px 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.blog-side-share__label {
    font-weight: 700;
    color: #0f2a23;
}

.blog-side-share__icon {
    width: 34px;
    height: 34px;
    border-radius: 999px;
    background: #11322b;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.blog-side-share__icon:hover {
    color: #fff;
    background: #0b6f34;
}

.blog-side-box {
    background: #e9eeeb;
    border-radius: 16px;
    padding: 16px;
}

.blog-side-title {
    margin-bottom: 12px;
    font-size: 1.3rem;
    font-weight: 700;
    color: #142d25;
}

.blog-side-post {
    display: block;
    background: #ffffff;
    border-radius: 12px;
    padding: 14px;
    margin-bottom: 12px;
}

.blog-side-post:last-child {
    margin-bottom: 0;
}

.blog-side-post__date {
    color: #6b7280;
    font-size: .88rem;
    margin-bottom: 6px;
}

.blog-side-post__title {
    color: #122f26;
    font-weight: 700;
    margin-bottom: 4px;
    line-height: 1.35;
}

.blog-side-post__desc {
    color: #475467;
    font-size: .92rem;
    line-height: 1.45;
}

.blog-side-cta {
    background: #0a9a45;
    border-radius: 16px;
    padding: 18px 14px;
}

.blog-side-cta__title {
    color: #fff;
    font-size: 2rem;
    line-height: 1.2;
    font-weight: 700;
    text-align: center;
    margin-bottom: 12px;
}

.home-blog-card {
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 14px 35px rgba(15, 23, 42, 0.08);
    border: 1px solid rgba(15, 23, 42, 0.08);
}

.home-blog-card__img {
    display: block;
}

.home-blog-card__img img {
    width: 100%;
    height: 210px;
    object-fit: cover;
    display: block;
}

.home-blog-card__body {
    padding: 16px;
}

.home-blog-card__date {
    font-size: 0.85rem;
    color: #6b7280;
    margin-bottom: 8px;
}

.home-blog-card__title {
    display: block;
    color: #0f2a23;
    font-weight: 700;
    font-size: 1.12rem;
    line-height: 1.35;
    text-decoration: none;
    margin-bottom: 8px;
}

.home-blog-card__title:hover {
    color: #0a8f43;
}

.home-blog-card__desc {
    color: #495057;
    margin: 0;
    line-height: 1.5;
}
.user-dashboard__header {
    overflow: hidden;
}

.user-dashboard__mobile-edit {
    padding-top: 0.25rem;
}

@media (max-width: 768px) {
    .user-dashboard__mobile-edit .btn {
        min-width: 120px;
    }
}

.user-details {
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 1rem;
    padding: 1rem 0.75rem;
    margin-bottom: 1rem;
    background: #fff;
}

.user-details p {
    font-size: 0.95rem;
}

.user-dashboard__stats {
    margin-top: 1rem;
    gap: 1rem;
}

.stat-card {
    background: #fff;
    padding: 1rem;
    border-radius: 18px;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    box-shadow: 0 10px 35px rgba(15, 23, 42, 0.1);
}

.regular-donation-card {
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
    border-color: #e2e8f0 !important;
    border-radius: 18px !important;
    overflow: hidden;
}

.stat-icon {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.2rem;
}

.stat-icon--purple {
    background: #9b5de5;
}

.stat-icon--blue {
    background: #4361ee;
}

.stat-icon--green {
    background: #2d6a4f;
}

.stat-icon--orange {
    background: #ee6c4d;
}

.stat-label {
    font-size: 0.9rem;
    color: #6b7280;
}

.stat-value {
    font-size: 1.1rem;
    font-weight: 700;
    color: #111;
}

.btn-donate {
    border-radius: 0.85rem;
    background: #0b7f39;
    border: none;
    padding: 0.65rem 1.35rem;
    color: #fff;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    transition: background .3s;
}

.btn-donate:hover {
    background: #0a6b32;
}

.desktop-socials .btn-square {
    background: #0f172a;
}


.auth-page {
    min-height: calc(100vh - 120px);
    padding: 4rem 1rem;
    background: #f3f6fb;
    display: flex;
    align-items: center;
    justify-content: center;
}

.auth-card {
    width: min(520px, 100%);
    background: #fff;
    border-radius: 1.25rem;
    padding: 2.75rem 2.5rem;
    box-shadow: 0 30px 70px rgba(15, 23, 42, 0.15);
}

.auth-card__header {
    text-align: center;
    margin-bottom: 2rem;
}

.auth-card__header h1 {
    font-size: 2rem;
    margin-bottom: 0.4rem;
}

.auth-card__header p {
    color: #5c6477;
    margin-bottom: 0;
}

.auth-form .form-control {
    background: #f5f7fb;
    border-radius: 0.85rem;
    border: 1px solid #e2e8f0;
    padding: 0.95rem 1rem;
}

.auth-form .form-check-label {
    color: #5c6477;
}

.auth-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1rem;
}

.auth-cta {
    min-width: 170px;
}

.auth-card__footer {
    margin-top: 1.5rem;
    text-align: center;
}

.auth-card__footer a {
    color: #0b6f34;
    font-weight: 700;
}

.mobile-account-btn {
    background: #f6cf76;
    border: none;
    border-radius: 0.85rem;
    color: #111;
    font-weight: 700;
    padding: 0.6rem 0.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.desktop-account-btn,
.desktop-account-btn-sign-in {
    background: transparent;
    border: 1px solid rgba(24, 160, 88, 0.16);
    border-radius: 12px;
    color: #16a05a;
    padding: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: none;
}

.account-icon-glyph {
    width: 38px;
    height: 38px;
    border-radius: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #ffac40;
    color: #ffffff;
    flex: 0 0 38px;
}

.account-icon-svg {
    width: 18px;
    height: 18px;
    display: block;
}

.mobile-account-btn:hover {
    background: #f5b648;
}

.desktop-account-btn:hover,
.desktop-account-btn-sign-in:hover {
    background: rgba(24, 160, 88, 0.04);
    transform: translateY(-1px);
}

.desktop-account-btn:hover .account-icon-glyph,
.desktop-account-btn-sign-in:hover .account-icon-glyph {
    background: #d3f3e1;
}


/*** end ***/


.back-to-top {
    position: fixed;
    display: none;
    right: 30px;
    bottom: 30px;
    z-index: 99;
}

.fw-bold {
    font-weight: 700 !important;
}

.fw-medium {
    font-weight: 600 !important;
}

.fw-normal {
    font-weight: 400 !important;
}


/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}


/*** Button ***/
.btn {
    transition: .5s;
}

.btn-square {
    width: 38px;
    height: 38px;
    
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
    
}


/*** Top Bar ***/
.bg-lightw {
    background: linear-gradient(90deg, #245d52, #1f6a5a) !important;
}

.top-bar {
    height: 54px;
    padding: 0 22px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

@media (min-width: 992px) {
    .top-bar,
    .top-bar + .container-fluid.d-none.d-lg-block {
        margin-top: 0px;
    }
}

.top-bar h6 {
    display: none;
}

.topbar-brand {
    display: none;
    align-items: center;
    gap: 14px;
    background: #ffffff;
    border-radius: 12px;
    padding: 10px 14px;
    max-width: 100%;
}

.topbar-brand__logo,
.topbar-brand__fallback {
    width: 74px;
    height: 74px;
    flex: 0 0 74px;
    border-radius: 50%;
    object-fit: cover;
}

.topbar-brand__fallback {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--brand-green);
    color: #fff;
    font-size: 26px;
}

.topbar-brand__text {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.topbar-brand__name {
    color: var(--brand-green);
    font-weight: 800;
    font-size: 3rem;
    line-height: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.topbar-brand__tagline {
    color: #111;
    font-size: 0.82rem;
    font-weight: 600;
    margin-top: 6px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}


/*** Nav Bar ***/
.nav-bar {
    padding: 0 22px;
    transition: .5s;
    border-radius: 0;
    background: #fff;
    border-bottom: 2px solid #2e7d32;
}

.nav-bar.fixed-top {
    border-radius: 0;
    background: rgba(255, 255, 255, 0.62) !important;
    backdrop-filter: blur(18px) saturate(150%);
    -webkit-backdrop-filter: blur(18px) saturate(150%);
    box-shadow: 0 10px 30px rgba(2, 6, 23, 0.14);
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.nav-bar .navbar {
    border-radius: 0;
    overflow: visible;
    background: #ffffff !important;
    min-height: 68px;
}

.nav-bar.fixed-top .navbar {
    border-radius: 0;
    background: transparent !important;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

.nav-bar .navbar .navbar-brand,
.nav-bar .navbar .navbar-brand.d-flex {
    display: inline-flex !important;
    margin-right: 1.25rem;
}

.nav-logo {
    width: 48px;
    height: 48px;
    object-fit: cover;
    border-radius: 50%;
    border: 2px solid var(--brand-green-soft);
}

.nav-logo--wordmark {
    width: auto;
    height: 68px;
    max-width: clamp(190px, 21vw, 360px);
    object-fit: contain;
    object-position: left center;
    border: 0;
    border-radius: 0;
    background: transparent;
    padding: 0;
    box-shadow: none;
}

.nav-logo--compact {
    width: 58px;
    height: 58px;
    object-fit: cover;
    object-position: center;
    border-radius: 18px;
    background: #ffffff;
}

.navbar-brand--desktop.is-compact {
    gap: 12px !important;
}

.desktop-brand-copy {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
}

.desktop-brand-copy__name {
    display: block;
    color: #1f2937;
    font-size: clamp(1.12rem, 1.35vw, 1.4rem);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.02em;
    white-space: nowrap;
}

.nav-logo-fallback {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--brand-green);
    color: #fff;
    font-size: 16px;
}

.nav-logo-text {
    font-size: 2rem;
    font-weight: 800;
    line-height: 1;
    color: var(--brand-green);
}

.nav-logo-copy {
    display: inline-flex;
    flex-direction: column;
    gap: 2px;
}

.nav-logo-tagline {
    font-size: 12px;
    line-height: 1.1;
    color: #1f2937;
    font-weight: 600;
}

.footer-brand {
    display: inline-flex;
    align-items: center;
    margin-bottom: 1rem;
    max-width: 100%;
}

.footer-logo {
    display: block;
    width: min(100%, 240px);
    height: auto;
    max-height: 96px;
    object-fit: contain;
    object-position: left center;
}

.navbar .navbar-nav .nav-link {
    margin-right: 28px;
    padding: 22px 0;
    color: #1f2937;
    font-size: 1.0625rem;
    font-weight: 700;
    line-weight: 18px;
    outline: none;
    
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: #16a34a;
}

/* Desktop nav colors by scroll state */
.nav-bar:not(.fixed-top) .navbar .navbar-nav .nav-link {
    color: #1f2937;
}

.nav-bar:not(.fixed-top) .navbar .navbar-nav .nav-link:hover,
.nav-bar:not(.fixed-top) .navbar .navbar-nav .nav-link.active {
    color: #16a34a;
}

.nav-bar.fixed-top .navbar .navbar-nav .nav-link {
    color: #111111;
}

.nav-bar.fixed-top .navbar .navbar-nav .nav-link:hover,
.nav-bar.fixed-top .navbar .navbar-nav .nav-link.active {
    color: #16a34a;
}

.top-bar .btn-square {
    width: 26px;
    height: 26px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.22) !important;
}

.top-bar .text-primary {
    color: #d7f5dc !important;
}

.top-bar .text-white {
    color: #eefaf2 !important;
    font-size: 0.95rem;
}

.top-bar .ms-2 {
    display: flex;
    align-items: center;
}

.top-bar-simple {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    gap: 16px;
    min-height: 54px;
}

.top-bar-simple__phone {
    display: inline-flex;
    align-items: center;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1;
}

.top-bar-simple__socials .btn,
.mobile-topbar__socials .btn {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: #0f172a;
    color: #fff;
    border: 0;
}

.top-bar-simple__socials .btn:hover,
.mobile-topbar__socials .btn:hover {
    background: #18a058;
    color: #fff;
}

.btn-donate {
    background: #3cb64b;
    color: #ffffff;
}

.btn-donate:hover {
    background: #0baa25;
    color: #111;
}

@media (max-width: 1400px) {
    .nav-logo-text { font-size: 1.65rem; }
    .navbar .navbar-nav .nav-link { margin-right: 20px; font-size: 1.08rem; }
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 8px;
}

@media (max-width: 991.98px) {
    .navbar .navbar-nav .nav-link {
        margin-right: 0;
        padding: 10px 0;
    }

    .navbar .navbar-nav {
        margin-top: 20px;
        border-top: 1px solid var(--bs-white);
    }
}

@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        border: none;
        margin-top: 0;
        top: 150%;
        opacity: 0;
        visibility: hidden;
        transition: .5s;
    }

    .navbar .nav-item:hover .dropdown-menu {
        top: 100%;
        visibility: visible;
        transition: .5s;
        opacity: 1;
    }
}


/*** Header Carousel ***/
.header-carousel {
    position: relative;
    background: url(../img/bg.jpg) center center no-repeat;
    background-size: cover;
    overflow: hidden;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

.header-carousel {
    --hero-accent: #18a058;
    --hero-accent-dark: #0f7a43;
    --hero-ink: #0f172a;
    --hero-muted: #52607a;
    --hero-surface: rgba(255, 255, 255, 0.88);
}

.header-carousel .owl-stage-outer,
.header-carousel .owl-stage,
.header-carousel .owl-item,
.header-carousel .owl-item > div {
    height: 100%;
}

.home-hero-slide {
    min-height: min(82vh, 760px);
    display: flex;
    align-items: center;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}

.home-hero-slide__container {
    width: 100%;
    padding-top: 90px;
    padding-bottom: 90px;
}

.home-hero-slide__content {
    max-width: 680px;
    color: #fff;
    opacity: 0;
    transform: translateX(-44px);
    transition: opacity .55s ease, transform .65s ease;
}

.header-carousel .owl-item.active .home-hero-slide__content {
    opacity: 1;
    transform: translateX(0);
}

.home-hero-slide__eyebrow {
    display: inline-block;
    margin-bottom: 16px;
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.55rem;
    line-height: 1.1;
    font-weight: 500;
    font-family: "Georgia", "Times New Roman", serif;
}

.header-carousel .carousel-text h1 {
    font-size: clamp(2.5rem, 5.4vw, 5.25rem);
    line-height: 0.98;
    letter-spacing: .01em;
    text-transform: uppercase !important;
    margin-bottom: 1rem !important;
    color: #fff;
    max-width: 12ch;
}

.header-carousel .carousel-text p {
    color: rgba(255, 255, 255, 0.94);
    max-width: 640px;
    margin-bottom: 1.7rem !important;
    font-size: 1.12rem !important;
    line-height: 1.65;
}

.header-carousel .carousel-text .btn {
    border-radius: 10px;
    font-weight: 700;
    letter-spacing: .01em;
    padding: 1rem 1.65rem !important;
    box-shadow: 0 10px 26px rgba(15, 23, 42, 0.14);
    transition: transform .2s ease, box-shadow .2s ease;
}

.header-carousel .carousel-text .btn-primary {
    background: linear-gradient(135deg, #1ab347, #28cb67);
    border-color: #1ab347;
    color: #fff;
}

.header-carousel .carousel-text .btn-primary:hover {
    background: linear-gradient(135deg, #14933a, #1ab347);
    border-color: #14933a;
}

.header-carousel .carousel-text .btn-secondary {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.92);
}

.header-carousel .carousel-text .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.header-carousel .carousel-text .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.2);
}

.hero-slide-actions {
    gap: 16px;
}

.header-carousel .owl-nav {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    pointer-events: none;
}

.header-carousel .owl-nav .owl-prev,
.header-carousel .owl-nav .owl-next {
    width: 40px;
    height: 60px;
    margin: 0;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #f8aa00;
    background: rgba(20, 20, 20, 0.62);
    border: 0;
    border-radius: 0;
    backdrop-filter: blur(4px);
    pointer-events: auto;
    transition: all .25s ease;
}

.header-carousel .owl-nav .owl-prev:hover,
.header-carousel .owl-nav .owl-next:hover {
    color: #fff;
    background: rgba(17, 179, 71, 0.86);
}

.header-carousel .owl-nav .owl-prev {
    left: 48px;
}

.header-carousel .owl-nav .owl-next {
    right: 48px;
}

@media (max-width: 991.98px) {
    .home-hero-slide {
        min-height: 520px;
    }

    .home-hero-slide__container {
        padding-top: 88px;
        padding-bottom: 96px;
    }

    .home-hero-slide__content {
        max-width: 100%;
    }

    .header-carousel .carousel-text h1 {
        font-size: clamp(2rem, 9vw, 3.4rem);
        line-height: 1.02;
        max-width: 12ch;
    }

    .header-carousel .carousel-text p {
        font-size: 1rem !important;
        margin-bottom: 1.2rem !important;
    }

    .home-hero-slide__eyebrow {
        font-size: 1.15rem;
        margin-bottom: 12px;
    }

    .header-carousel .owl-nav .owl-prev,
    .header-carousel .owl-nav .owl-next {
        width: 42px;
        height: 42px;
        font-size: 20px;
        top: auto;
        bottom: 18px;
        transform: none;
    }

    .header-carousel .owl-nav .owl-prev {
        left: 12px;
    }

    .header-carousel .owl-nav .owl-next {
        right: 12px;
    }

    .header-carousel .owl-nav {
        display: none !important;
    }
}

@media (max-width: 575.98px) {
    .home-hero-slide {
        min-height: 480px;
        background-position: 65% center;
    }

    .home-hero-slide__container {
        padding-top: 76px;
        padding-bottom: 82px;
    }

    .hero-slide-actions {
        gap: 12px;
    }

    .header-carousel .carousel-text .btn {
        width: 100%;
        justify-content: center;
    }
}


.page-header {
    background: url(../img/bg.jpg) center center no-repeat;
    background-size: cover;
    margin-top: 0 !important;
}

.page-header .breadcrumb-item+.breadcrumb-item::before {
    color: var(--bs-tertiary);
}

.page-header .breadcrumb-item,
.page-header .breadcrumb-item a {
    font-size: 18px;
    color: var(--bs-primary);
}

.page-header .breadcrumb-item.active {
    color: var(--bs-dark);
}


/*** Video ***/
.btn-play {
    position: relative;
    display: block;
    box-sizing: content-box;
    width: 16px;
    height: 26px;
    border: none;
    outline: none !important;
    padding: 18px 20px 20px 28px;
    background: var(--bs-dark);
}

.btn-play:before {
    content: "";
    position: absolute;
    z-index: 0;
    left: 50%;
    top: 50%;
    transform: translateX(-50%) translateY(-50%);
    display: block;
    width: 60px;
    height: 60px;
    background: var(--bs-dark);
    animation: pulse-border 1500ms ease-out infinite;
}

.btn-play:after {
    content: "";
    position: absolute;
    z-index: 1;
    left: 50%;
    top: 50%;
    transform: translateX(-50%) translateY(-50%);
    display: block;
    width: 60px;
    height: 60px;
    background: var(--bs-dark);
    transition: all 200ms;
}

.btn-play span {
    display: block;
    position: relative;
    z-index: 3;
    width: 0;
    height: 0;
    left: -1px;
    border-left: 16px solid var(--bs-white);
    border-top: 11px solid transparent;
    border-bottom: 11px solid transparent;
}

@keyframes pulse-border {
    0% {
        transform: translateX(-50%) translateY(-50%) translateZ(0) scale(1);
        opacity: 1;
    }

    100% {
        transform: translateX(-50%) translateY(-50%) translateZ(0) scale(2);
        opacity: 0;
    }
}

#videoModal .modal-dialog {
    position: relative;
    max-width: 800px;
    margin: 60px auto 0 auto;
}

#videoModal .modal-body {
    position: relative;
    padding: 0px;
}

#videoModal .close {
    position: absolute;
    width: 30px;
    height: 30px;
    right: 0px;
    top: -30px;
    z-index: 999;
    font-size: 30px;
    font-weight: normal;
    color: var(--bs-white);
    background: #000000;
    opacity: 1;
}


/*** Section Title ***/
.section-title {
    position: relative;
    display: inline-block;
    text-transform: uppercase;
}

.section-title::before {
    position: absolute;
    content: "";
    width: calc(100% + 80px);
    height: 0px;
    top: 5px;
    left: -40px;
    border-top: 2px solid var(--bs-primary);
    z-index: -1;
}

.section-title::after {
    position: absolute;
    content: "";
    width: calc(100% + 120px);
    height: 0px;
    bottom: 6px;
    left: -60px;
    border-bottom: 2px solid var(--bs-primary);
    z-index: -1;
}

.section-title.text-start::before {
    width: calc(100% + 40px);
    left: 0;
}

.section-title.text-start::after {
    width: calc(100% + 60px);
    left: 0;
}


/*** About ***/
.about-img {
    position: relative;
}

.about-img::before,
.about-img::after {
    position: absolute;
    content: "";
    width: 33%;
    height: 90px;
    background: var(--bs-white);
}

.about-img::before {
    top: 0px;
    left: 0px;
}

.about-img::after {
    right: 0px;
    bottom: 0px;
}


/*** Service ***/
.service-title {
    height: 100%;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: url(../img/bg.jpg) center center no-repeat;
    background-size: cover;
}

.service-item {
    overflow: hidden;
}

.service-item .btn-square {
    width: 65px;
    height: 65px;
}

.service-item a {
    position: relative;
    padding: 0;
    font-size: 14px;
    line-height: 14px;
    text-transform: uppercase;
    transition: .5s;
}

.service-item a::after {
    position: absolute;
    content: "";
    width: 500%;
    height: 0;
    left: 100%;
    bottom: 3px;
    margin-left: 10px;
    border-bottom: 2px solid var(--bs-primary);
}


/*** Donation ***/
.donation-item {
    box-shadow: 0 0 30px rgba(0, 0, 0, .05);
    transition: .5s;
}

.donation-item:hover {
    box-shadow: 0 0 30px rgba(0, 0, 0, .1);
}

.donation-item .donation-progress {
    width: 80px;
}

.donation-item .progress .progress-bar {
    height: 20px;
    overflow: visible;
    transition: 3s;
}


/*** Banner ***/
.banner .banner-inner {
    position: relative;
    background: url(../img/bg.jpg) center center no-repeat;
    background-size: cover;
}

.banner .banner-inner::before,
.banner .banner-inner::after {
    position: absolute;
    content: "";
    width: 0;
    height: 0;
}

.banner .banner-inner::before {
    top: 0;
    left: 0;
    border-top: 150px solid var(--bs-primary);
    border-right: 150px solid transparent;
}

.banner .banner-inner::after {
    right: 0;
    bottom: 0;
    border-bottom: 150px solid var(--bs-secondary);
    border-left: 150px solid transparent;
}


/*** Event ***/
.event-item {
    box-shadow: 0 0 30px rgba(0, 0, 0, .05);
    transition: .5s;
}

.event-item:hover {
    box-shadow: 0 0 30px rgba(0, 0, 0, .1);
}


/*** Donate ***/
.donate .donate-text {
    position: relative;
    background: url(../img/bg.jpg) center center no-repeat;
    background-size: cover;
}

.donate .donate-text::before,
.donate .donate-text::after {
    position: absolute;
    content: "";
    width: 0;
    height: 0;
}

.donate .donate-text::before {
    top: 0;
    left: 0;
    border-top: 150px solid var(--bs-primary);
    border-right: 150px solid transparent;
}

.donate .donate-text::after {
    right: 0;
    bottom: 0;
    border-bottom: 150px solid var(--bs-secondary);
    border-left: 150px solid transparent;
}

.donate .donate-form .form-control {
    border: none;
    background: rgba(255, 255, 255, .5);
}

.donate .donate-form .btn-group {
    display: flex;
}

.donate .donate-form .btn-group .btn {
    margin: 0;
    padding: 0;
    height: 55px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    color: var(--bs-tertiary);
    background: rgba(255, 255, 255, .5);
}

.donate .donate-form .btn-group .btn-check:checked+.btn {
    border: none;
    background: var(--bs-white);
    
}

.amount-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 0.65rem;
}

.amount-btn {
    font-weight: 600;
    border-radius: 0.85rem;
    border-width: 2px;
    transition: background 0.3s ease, color 0.3s ease;
}

.amount-btn.active {
    background: #0b7f39;
    color: #fff;
    border-color: #0b7f39;
}



/*** Team ***/
.team-item {
    box-shadow: 0 0 30px rgba(0, 0, 0, .05);
    transition: .5s;
}

.team-item:hover {
    box-shadow: 0 0 30px rgba(0, 0, 0, .1);
}

.team-item .team-detail span {
    letter-spacing: 2px;
}



/*** Testimonial ***/
.testimonial-title {
    height: 100%;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: url(../img/bg.jpg) center center no-repeat;
    background-size: cover;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 22px 42px rgba(15, 23, 42, 0.08);
}

.testimonial-img {
    position: relative;
    padding: 45px 0 45px 90px;
    border-radius: 28px;
    overflow: hidden;
}

.testimonial-img::before {
    position: absolute;
    content: "";
    top: 0;
    left: 0;
    width: calc(50% + 45px);
    height: 100%;
    background: var(--bs-primary);
    z-index: -1;
    border-radius: 28px;
}

.testimonial-img img {
    border-radius: 28px;
    box-shadow: 0 22px 42px rgba(15, 23, 42, 0.12);
}

.testimonial-text {
    background: #fff;
    border-radius: 28px;
    padding: 34px 28px;
    box-shadow: 0 20px 42px rgba(15, 23, 42, 0.08);
}

.testimonial-text .btn-lg-square {
    border-radius: 18px !important;
}

.testimonial-carousel .owl-nav {
    position: absolute;
    top: 50%;
    left: 1.5rem;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
}

.testimonial-carousel .owl-prev,
.testimonial-carousel .owl-next {
    width: 45px;
    height: 45px;
    margin: 10px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: var(--bs-white);
    background: var(--bs-secondary);
    border-radius: 16px;
    transition: .5s;
}

.testimonial-carousel .owl-prev:hover,
.testimonial-carousel .owl-next:hover {
    color: var(--bs-secondary);
    background: var(--bs-white);
}

@media (max-width: 768px) {
    .testimonial-title,
    .testimonial-img,
    .testimonial-img::before,
    .testimonial-img img,
    .testimonial-text {
        border-radius: 18px;
    }

    .testimonial-carousel .owl-nav {
        top: 6.3rem;
    }
}



/*** Footer ***/
.footer {
    color: var(--bs-tertiary);
    background: linear-gradient(rgba(5, 19, 17, .95), rgba(5, 19, 17, .95)), url(../img/bg-footer.jpg) center center no-repeat;
    background-size: cover;
}

.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: var(--bs-tertiary);
    font-weight: normal;
    text-transform: capitalize;
    transition: .3s;
}

.footer .btn.btn-link::before {
    position: relative;
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-right: 10px;
}

.footer .btn.btn-link:hover {
    color: var(--bs-light);
    letter-spacing: 1px;
    box-shadow: none;
}

.footer .copyright {
    border-top: 1px solid rgba(255, 255, 255, .1);
}

/*** Service Pages ***/
.service-work-card {
    background: #f8fafc;
    border: 1px solid #e6eef7;
    border-radius: 12px;
    padding: 16px;
    font-weight: 600;
    color: #0f172a;
    height: 100%;
    display: flex;
    align-items: flex-start;
    gap: 6px;
}

.mobile-topbar {
    background: #0f3f35;
}

.mobile-topbar .language-btn {
    padding: 4px 10px;
    line-height: 1.2;
}

.mobile-main-brand {
    display: inline-flex;
    align-items: center;
    min-width: 0;
}

.mobile-main-logo {
    height: 46px;
    width: auto;
    max-width: 160px;
    object-fit: contain;
    display: block;
    border: 2px solid var(--brand-green-soft);
    border-radius: 999px;
}

.mobile-main-logo-text {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1;
    color: #fff;
}

.mobile-scroll-logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: auto;
    width: 0;
    opacity: 0;
    overflow: hidden;
    pointer-events: none;
    transform: translateX(8px) scale(0.96);
    transition: width .24s ease, opacity .24s ease, transform .24s ease;
}

.mobile-scroll-logo__img {
    width: 55px;
    height: 55px;
    object-fit: contain;
    border: 2px solid var(--brand-green-soft);
    border-radius: 999px;
}

.mobile-scroll-logo__fallback {
    width: 55px;
    height: 55px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--brand-green);
    color: #fff;
}

.btn-rounded {
    border-radius: 999px !important;
    padding-left: 16px;
    padding-right: 16px;
}

.mobile-donate-btn {
    border-radius: 999px !important;
    padding: 7px 16px !important;
    font-size: 0.92rem;
    line-height: 1.1;
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: auto !important;
    background: #041f2f !important;
    border: 1px solid rgba(255, 255, 255, 0.22) !important;
    color: #ffffff !important;
    font-weight: 700;
    letter-spacing: .01em;
    box-shadow: 0 8px 18px rgba(2, 12, 22, 0.32);
    transition: transform .2s ease, background-color .2s ease, box-shadow .2s ease;
}

.mobile-donate-btn:hover,
.mobile-donate-btn:focus {
    background: #0b2f45 !important;
    color: #ffffff !important;
    transform: translateY(-1px);
    box-shadow: 0 12px 22px rgba(2, 12, 22, 0.38);
}

.mobile-header-account-btn {
    width: 38px;
    height: 38px;
    border-radius: 999px !important;
    background: #f4ce63;
    color: #0f172a;
    border: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 !important;
    font-weight: 700;
}

.mobile-header-account-initial {
    font-size: 0.82rem;
    line-height: 1;
}

.mobile-menu-toggle {
    color: #ffffff;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    background: rgba(4, 31, 47, 0.22) !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: 8px;
    transition: transform .2s ease, background-color .2s ease;
}

.mobile-menu-toggle i {
    font-size: 1.25rem !important;
}

.mobile-menu-toggle:hover,
.mobile-menu-toggle:focus {
    transform: translateY(-1px);
    background: rgba(4, 31, 47, 0.36) !important;
    color: #ffffff;
}

@media (min-width: 768px) and (max-width: 991.98px) {
    .mobile-topbar {
        padding-left: 20px !important;
        padding-right: 20px !important;
    }

    .mobile-topbar__phone {
        font-size: 1rem;
    }

    .mobile-topbar__lang .language-btn {
        min-width: 74px;
        min-height: 34px;
        font-size: 0.88rem;
    }

    .mobile-main-header {
        padding-left: 20px !important;
        padding-right: 20px !important;
        gap: 14px;
    }

    .mobile-main-brand {
        flex: 1 1 auto;
        gap: 12px;
        min-width: 0;
        max-width: 300px;
    }

    .mobile-main-logo {
        width: 64px;
        height: 64px;
        max-width: 64px;
        object-fit: cover;
        border-radius: 18px;
        padding: 3px;
        background: #ffffff;
        border: 1px solid rgba(60, 182, 75, 0.18);
        box-shadow: 0 10px 18px rgba(15, 23, 42, 0.08);
        flex: 0 0 64px;
    }

    .mobile-main-logo-text {
        font-size: 1.55rem;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .mobile-donate-btn {
        min-width: 132px;
        padding: 8px 18px !important;
        font-size: 0.96rem;
    }

    .mobile-menu-toggle {
        width: 44px;
        height: 44px;
        margin-left: 0;
        flex: 0 0 44px;
    }
}

@media (max-width: 991.98px) {
    :root {
        --mobile-notice-offset: 0px;
        --mobile-topbar-height: 40px;
        --mobile-header-height: 82px;
    }

    html, body {
        overflow-x: hidden;
    }

    .mobile-topbar {
        position: fixed;
        top: var(--mobile-notice-offset);
        left: 0;
        right: 0;
        z-index: 1032;
        min-height: var(--mobile-topbar-height);
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: 10px;
        padding-top: 8px !important;
        padding-bottom: 8px !important;
    }

    .mobile-main-header {
        width: 100%;
    }

    .mobile-topbar__phone {
        flex: 1 1 auto;
        min-width: 0;
        display: inline-flex;
        align-items: center;
        justify-content: flex-start;
        font-size: 0.9rem;
        font-weight: 700;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .mobile-topbar__phone i {
        flex: 0 0 auto;
    }

    .mobile-topbar__phone span {
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .mobile-topbar__socials {
        flex: 0 0 auto;
        margin-left: 0;
    }

    .mobile-topbar__socials .btn {
        width: 32px;
        height: 32px;
        border-radius: 9px;
        padding: 0;
        background: #ffffff;
        color: #111111;
        border: 1px solid rgba(15, 23, 42, 0.12);
    }

    .mobile-topbar__lang {
        flex: 0 0 auto;
        display: inline-flex;
        align-items: center;
        padding: 3px;
        border-radius: 14px;
        background: #eef1ec;
        border: 1px solid #d7ddd7;
    }

    .mobile-topbar__lang .language-btn {
        min-width: 68px;
        min-height: 30px;
        padding: 4px 12px;
        border-radius: 10px;
        font-size: 0.82rem;
        font-weight: 700;
        white-space: nowrap;
    }


    .mobile-main-header {
        position: fixed;
        top: calc(var(--mobile-notice-offset) + var(--mobile-topbar-height));
        left: 0;
        right: 0;
        z-index: 1031;
        min-height: var(--mobile-header-height);
        background: #3cb64b !important;
        border-bottom: 1px solid rgba(2, 12, 22, 0.18);
        transition: background-color .38s ease, backdrop-filter .38s ease, -webkit-backdrop-filter .38s ease, box-shadow .38s ease, min-height .38s ease, transform .38s ease;
        will-change: background-color, box-shadow, transform;
    }

    .mobile-main-header.is-scrolled {
        background: rgba(255, 255, 255, 0.82) !important;
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        box-shadow: #9797975d 0px 1px 4px, #cacaca7a 0px 2px 8px;
    }

    .mobile-main-header.is-scrolled .mobile-menu-toggle {
        color: #111111;
        background: rgba(15, 23, 42, 0.08) !important;
        border-color: rgba(15, 23, 42, 0.18) !important;
    }

    .mobile-main-header.is-scrolled .mobile-donate-btn {
        background: #0f172a !important;
        border-color: rgba(15, 23, 42, 0.22) !important;
        color: #ffffff !important;
    }

    .mobile-main-header .mobile-main-brand {
        transition: transform .38s ease, filter .38s ease, opacity .38s ease;
        transform-origin: left center;
    }

    .mobile-main-header.is-scrolled .mobile-main-brand {
        opacity: 1;
        width: auto;
        margin: 0 !important;
        overflow: visible;
        pointer-events: auto;
        filter: none;
        transform: translateX(0) scale(1);
    }

    .mobile-scroll-logo {
        display: none !important;
    }

    .mobile-main-header.is-scrolled .mobile-main-logo-text {
        color: var(--brand-green-dark);
    }

    .mobile-main-logo {
        height: 56px;
        max-width: 56px;
        border-radius: 999px;
        background: #fff;
        padding: 3px;
        transition: transform .38s ease, box-shadow .38s ease, opacity .38s ease;
    }

    .mobile-main-logo-text {
        font-size: 1.9rem;
    }

    .mobile-donate-btn {
        padding: 7px 14px !important;
        font-size: 0.93rem;
        min-height: 38px;
        transition: background-color .38s ease, color .38s ease, border-color .38s ease, transform .38s ease, box-shadow .38s ease;
    }

    .mobile-header-account-btn {
        width: 34px;
        height: 34px;
    }

    .mobile-menu-toggle {
        transition: transform .38s ease, background-color .38s ease, color .38s ease, border-color .38s ease, box-shadow .38s ease;
    }

    body {
        padding-top: calc(var(--mobile-sticky-offset, 0px) - 24px) !important;
    }

    .user-menu {
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    .user-menu::-webkit-scrollbar {
        width: 0;
        height: 0;
        display: none;
    }
}




.donation-top-box{
    background:#f6f9fc;
    padding:12px 15px;
    border-radius:12px;
}

.donation-top-box small{
    color:#7a8ca5;
    font-size:12px;
}

.donation-top-box strong{
    font-size:16px;
    color:#0b2c4d;
}

.progress-wrap{
    position:relative;
}

.progress-track{
    height:6px;
    background:#e6edff;
    border-radius:20px;
    position:relative;
}

.progress-fill{
    height:100%;
    background:var(--bs-primary);
    border-radius:20px;
    transition:0.5s;
}

.progress-dot{
    position:absolute;
    top:50%;
    transform:translate(-50%,-50%);
    width:14px;
    height:14px;
    background:var(--bs-primary);
    border-radius:50%;
    border:3px solid #fff;
}

.progress-label{
    position:absolute;
    top:10px;
    transform:translateX(-50%);
    background:var(--bs-primary);
    color:#fff;
    font-size:11px;
    padding:2px 6px;
    border-radius:6px;
}

/* Partner / Brand strip */
.brand-strip {
    background: #f2f2f2;
    padding: 30px 0;
}

.brand-strip .container {
    padding-left: 54px;
    padding-right: 54px;
}

.brand-strip__track {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
}

.brand-strip__track::-webkit-scrollbar {
    display: none;
}

.brand-strip__item {
    flex: 0 0 170px;
    height: 80px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    padding: 8px;
    transition: background-color 0.25s ease, border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.brand-strip__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%);
    opacity: 0.86;
}

.brand-strip__item span {
    color: #525252;
    font-weight: 700;
    font-size: 14px;
    text-align: center;
    transition: color 0.25s ease;
}

.brand-strip__item:hover {
    background: #e8f8ee;
    border-color: #16c15b;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(22, 193, 91, 0.18);
}

.brand-strip__item:hover span {
    color: #0f8a3f;
}

.brand-strip__item:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

.brand-strip__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid #ddd;
    background: #fff;
    color: #333;
    z-index: 3;
}

.brand-strip__nav--prev {
    left: 8px;
}

.brand-strip__nav--next {
    right: 8px;
}

@media (max-width: 575.98px) {
    .brand-strip .container {
        padding-left: 44px;
        padding-right: 44px;
    }

    .brand-strip__item {
        flex-basis: 140px;
        height: 70px;
    }
}

/* Header spacing stability on language switch (desktop) */
@media (min-width: 992px) {
    .navbar .navbar-nav .nav-link {
        white-space: nowrap;
    }

    .desktop-controls {
        flex-wrap: nowrap;
    }

    .desktop-language-switcher {
        width: 126px;
        min-width: 126px;
        height: 40px;
        padding: 3px;
        gap: 4px;
    }

    .desktop-language-switcher .language-pill {
        min-width: 0;
        height: 100%;
        padding: 0;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        white-space: nowrap;
    }

    .desktop-account-btn {
        height: 42px;
        min-width: 118px;
        padding: 0 14px;
        white-space: nowrap;
        flex-shrink: 0;
    }

    .desktop-controls .btn-donate {
        height: 42px;
        min-width: 136px;
        padding: 0 14px;
        white-space: nowrap;
        justify-content: center;
        flex-shrink: 0;
    }
}

/* Header polish */
@media (min-width: 992px) {
    .nav-bar {
        padding: 0 12px;
    }

    .nav-bar .navbar {
        min-height: 64px;
    }

    .nav-bar .navbar .navbar-brand,
    .nav-bar .navbar .navbar-brand.d-flex {
        margin-right: 0.95rem;
    }

    .nav-bar .navbar .navbar-brand.navbar-brand--desktop {
        margin-right: 1rem;
    }

    .navbar .navbar-nav {
        align-items: center;
    }

    .navbar .navbar-nav .nav-link {
        margin-right: 16px;
        padding: 18px 0;
        font-size: 1rem;
        font-weight: 700;
        line-height: 1.2;
    }

    .navbar .dropdown-toggle::after {
        margin-left: 6px;
    }

    .desktop-controls {
        gap: 10px !important;
    }

    .desktop-language-switcher {
        width: 120px;
        min-width: 120px;
    }

    .desktop-account-btn {
        min-width: 104px;
    }

    .desktop-controls .btn-donate {
        min-width: 124px;
    }

    .desktop-socials {
        gap: 8px !important;
    }

    .desktop-socials .btn-square {
        width: 34px;
        height: 34px;
        border-radius: 6px;
        font-size: 14px;
    }
}

/* Header typography and spacing consistency (BN/EN) */
.nav-bar .navbar .navbar-nav .nav-link,
.nav-bar .navbar .dropdown-item,
.desktop-language-switcher .language-pill,
.desktop-controls .btn,
.mobile-topbar .language-btn,
.mobile-menu-link,
.mobile-submenu-link,
.mobile-donate-btn {
    letter-spacing: 0;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

@media (min-width: 992px) {
    .nav-bar .navbar .navbar-nav .nav-link {
        font-size: 1rem;
        font-weight: 700;
        line-height: 1.18;
        margin-right: 14px;
        padding: 18px 0;
    }

    .desktop-language-switcher {
        border-radius: 14px;
        background: #eef2ef;
        border: 1px solid #d6ddd8;
    }

    .desktop-language-switcher .language-pill {
        font-size: .9rem;
        font-weight: 700;
    }

    .desktop-controls .btn-donate,
    .desktop-account-btn,
    .desktop-account-btn-sign-in {
        border-radius: 14px;
        font-size: .95rem;
        font-weight: 700;
    }
}

html[lang="bn"] .nav-bar .navbar .navbar-nav .nav-link,
html[lang="bn"] .nav-bar .navbar .dropdown-item,
html[lang="bn"] .desktop-language-switcher .language-pill,
html[lang="bn"] .desktop-controls .btn,
html[lang="bn"] .mobile-menu-link,
html[lang="bn"] .mobile-submenu-link,
html[lang="bn"] .mobile-donate-btn,
html[lang="bn"] .mobile-topbar .language-btn {
    font-family: var(--font-ui-bn);
    font-weight: 600;
}

html[lang="en"] .nav-bar .navbar .navbar-nav .nav-link,
html[lang="en"] .desktop-language-switcher .language-pill,
html[lang="en"] .desktop-controls .btn,
html[lang="en"] .mobile-menu-link {
    font-family: var(--font-ui-en);
}

@media (min-width: 992px) {
    .nav-bar {
        width: 100% !important;
        margin: 0 !important;
        padding: 0 18px !important;
        background: rgba(255, 255, 255, 0.97) !important;
        border-radius: 0 !important;
        border-bottom: 1px solid rgba(15, 23, 42, 0.08) !important;
        box-shadow: 0 4px 18px rgba(15, 23, 42, 0.05) !important;
        transform: translateY(0);
        transition: transform .35s ease, background-color .35s ease, box-shadow .35s ease, padding .35s ease, min-height .35s ease;
    }

    .nav-bar .navbar {
        width: 100% !important;
        max-width: 1400px !important;
        margin: 0 auto !important;
        min-height: 70px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: 18px !important;
        background: transparent !important;
        border-radius: 0 !important;
        box-shadow: none !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        transition: min-height .35s ease, gap .35s ease, transform .35s ease;
    }

    .nav-bar.fixed-top {
        padding: 0 18px !important;
        width: 100% !important;
        border-radius: 0 !important;
        background: rgba(255, 255, 255, 0.94) !important;
        box-shadow: 0 8px 22px rgba(15, 23, 42, 0.08) !important;
        transform: translateY(0);
        backdrop-filter: blur(10px) saturate(130%);
        -webkit-backdrop-filter: blur(10px) saturate(130%);
    }

    .nav-bar.fixed-top .navbar {
        min-height: 64px !important;
    }

    .nav-bar.nav-ready:not(.fixed-top) {
        transform: translateY(0);
    }

    .nav-bar .navbar .navbar-brand,
    .nav-bar .navbar .navbar-brand.d-flex {
        flex: 0 0 auto !important;
        margin-right: 0 !important;
    }

    .nav-bar .navbar .navbar-brand.navbar-brand--desktop {
        margin-right: 0.35rem !important;
    }

    .nav-logo {
        width: 56px !important;
        height: 56px !important;
        border-radius: 50% !important;
        padding: 2px !important;
        background: #fff !important;
        box-shadow: none !important;
        border: 1px solid rgba(60, 182, 75, 0.16) !important;
        transition: transform .38s ease, opacity .38s ease, box-shadow .38s ease;
    }

    .nav-logo--wordmark {
        width: auto !important;
        height: 72px !important;
        max-width: clamp(180px, 18vw, 320px) !important;
        object-fit: contain !important;
        object-position: left center !important;
        border-radius: 0 !important;
        padding: 0 !important;
        background: transparent !important;
        box-shadow: none !important;
        border: 0 !important;
    }

    .nav-logo--compact {
        width: 56px !important;
        height: 56px !important;
        border-radius: 16px !important;
        object-fit: cover !important;
        object-position: center !important;
        background: #ffffff !important;
    }

    .navbar-brand--desktop.is-compact {
        min-width: 0 !important;
        gap: 12px !important;
    }

    .navbar-brand--desktop.is-compact .desktop-brand-copy__name {
        font-size: clamp(1.08rem, 1.22vw, 1.3rem) !important;
    }

    .nav-logo-copy,
    .nav-logo-text,
    .nav-logo-tagline {
        display: none !important;
    }

    .navbar-nav.me-auto {
        flex: 1 1 auto !important;
        display: flex !important;
        align-items: center !important;
        margin-left: 14px !important;
        min-width: 0 !important;
        justify-content: flex-end !important;
    }

    .navbar .navbar-nav .nav-link {
        margin-right: 18px !important;
        padding: 10px 0 !important;
        font-size: 20px !important;
        line-height: 1.1 !important;
        border-radius: 0 !important;
        background: transparent !important;
        box-shadow: none !important;
        transition: color .28s ease, opacity .28s ease, transform .28s ease;
    }

    .navbar .navbar-nav .nav-link:last-child {
        margin-right: 0 !important;
    }

    .desktop-controls {
        flex: 0 0 auto !important;
        margin-left: auto !important;
        padding: 5px !important;
        border-left: 0 !important;
        gap: 8px !important;
        background: linear-gradient(180deg, #ffffff 0%, #f7faf8 100%) !important;
        border: 1px solid rgba(15, 23, 42, 0.06) !important;
        border-radius: 20px !important;
        box-shadow: 0 18px 34px rgba(15, 23, 42, 0.06) !important;
    }

    .desktop-language-switcher {
        width: auto !important;
        min-width: 96px !important;
        height: 44px !important;
        padding: 0 !important;
        background: transparent !important;
        border: 0 !important;
        border-radius: 0 !important;
        box-shadow: none !important;
    }

    .desktop-language-switcher .language-pill {
        min-width: 64px !important;
        min-height: 44px !important;
        font-size: 0.94rem !important;
        border-radius: 15px !important;
        background: #F1F8E9 !important;
        color: #225539 !important;
        box-shadow: 0 10px 18px rgba(88, 196, 136, 0.16) !important;
    }

    .desktop-account-btn,
    .desktop-account-btn-sign-in {
        width: 44px !important;
        min-width: 44px !important;
        height: 44px !important;
        padding: 0 !important;
        border-radius: 16px !important;
        background: #e3ece5 !important;
        border: 1px solid rgba(15, 23, 42, 0.1) !important;
        box-shadow: 0 8px 18px rgba(15, 23, 42, 0.03) !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        transition: background-color .28s ease, color .28s ease, border-color .28s ease, transform .28s ease, box-shadow .28s ease;
    }

    .desktop-controls .btn-donate {
        min-width: 140px !important;
        height: 44px !important;
        padding: 0 20px !important;
        border-radius: 15px !important;
        box-shadow: 0 12px 22px rgba(31, 156, 94, 0.16) !important;
        transition: background-color .28s ease, color .28s ease, border-color .28s ease, transform .28s ease, box-shadow .28s ease;
    }

    .desktop-socials .btn-square {
        width: 38px !important;
        height: 38px !important;
        border-radius: 10px !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        padding: 0 !important;
        transition: background-color .28s ease, color .28s ease, transform .28s ease, box-shadow .28s ease;
    }

.desktop-account-btn svg,
.desktop-account-btn-sign-in i,
.desktop-socials .btn-square i {
    margin: 0 !important;
    display: block;
}
}

/* Charity 404 page */
.error-hero {
    position: relative;
    overflow: hidden;
    padding: 72px 0 84px;
    background:
        radial-gradient(circle at top left, rgba(60, 182, 75, 0.2), transparent 34%),
        radial-gradient(circle at bottom right, rgba(255, 193, 7, 0.16), transparent 26%),
        linear-gradient(180deg, #f6fbf7 0%, #ffffff 48%, #eff8f1 100%);
}

.error-hero::before,
.error-hero::after {
    content: "";
    position: absolute;
    border-radius: 999px;
    pointer-events: none;
}

.error-hero::before {
    width: 340px;
    height: 340px;
    top: -150px;
    right: -110px;
    background: rgba(60, 182, 75, 0.09);
}

.error-hero::after {
    width: 260px;
    height: 260px;
    bottom: -120px;
    left: -70px;
    background: rgba(15, 23, 42, 0.05);
}

.error-hero__shell {
    position: relative;
    z-index: 1;
    padding: clamp(1.5rem, 3vw, 2.2rem);
}

.error-hero__content {
    max-width: 700px;
}

.error-hero__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(60, 182, 75, 0.12);
    color: #157f33;
    font-size: 0.9rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.error-hero__code-wrap {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
}

.error-hero__pulse {
    position: absolute;
    width: 168px;
    height: 168px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(60, 182, 75, 0.26) 0%, rgba(60, 182, 75, 0.08) 50%, rgba(60, 182, 75, 0) 72%);
    animation: errorHeroPulse 3.2s ease-in-out infinite;
}

.error-hero__code {
    position: relative;
    z-index: 1;
    font-size: clamp(5.4rem, 13vw, 9rem);
    line-height: 0.9;
    font-weight: 800;
    letter-spacing: -0.05em;
    color: #103422;
}

.error-hero__title {
    margin-bottom: 16px;
    color: #0f172a;
    font-size: clamp(2rem, 4vw, 3.4rem);
    line-height: 1.05;
    font-weight: 800;
}

.error-hero__summary {
    max-width: 58ch;
    margin-bottom: 28px;
    color: #52607a;
    font-size: 1.08rem;
    line-height: 1.7;
}

.error-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 24px;
}

.error-hero__btn {
    min-width: 148px;
    border-radius: 999px;
    padding: 0.95rem 1.45rem;
    font-weight: 700;
}

.error-hero__badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.error-hero__badges span {
    display: inline-flex;
    align-items: center;
    padding: 0.7rem 1rem;
    border-radius: 999px;
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.08);
    color: #1e293b;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
    font-size: 0.94rem;
    font-weight: 700;
}

.error-panel {
    position: relative;
    padding: clamp(1.4rem, 3vw, 2rem);
    border-radius: 28px;
    background: linear-gradient(180deg, #113d27 0%, #0b2d1d 100%);
    color: #ffffff;
    box-shadow: 0 28px 60px rgba(11, 45, 29, 0.24);
    overflow: hidden;
}

.error-panel::before {
    content: "";
    position: absolute;
    inset: auto -40px -40px auto;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
}

.error-panel__icon {
    width: 62px;
    height: 62px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.12);
    font-size: 1.4rem;
}

.error-panel__title {
    margin-bottom: 10px;
    font-size: 1.75rem;
    line-height: 1.2;
    font-weight: 800;
    color: #ffffff;
}

.error-panel__text {
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
}

.error-panel__links {
    display: grid;
    gap: 12px;
}

.error-panel__link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #ffffff;
    text-decoration: none;
    transition: transform .22s ease, background-color .22s ease, border-color .22s ease;
}

.error-panel__link:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.22);
    color: #ffffff;
}

.error-panel__link-icon {
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.14);
    font-size: 1rem;
}

.error-panel__helper {
    margin-top: 20px;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.error-panel__helper h3 {
    margin-bottom: 10px;
    color: #ffffff;
    font-size: 1.05rem;
    font-weight: 800;
}

.error-panel__helper p {
    margin-bottom: 0;
    color: rgba(255, 255, 255, 0.78);
    line-height: 1.7;
}

@keyframes errorHeroPulse {
    0%, 100% {
        transform: scale(0.92);
        opacity: 0.82;
    }
    50% {
        transform: scale(1.08);
        opacity: 1;
    }
}

@media (max-width: 991.98px) {
    .error-hero {
        padding: 54px 0 64px;
    }

    .error-hero__shell {
        padding: 0;
    }

    .error-panel {
        border-radius: 24px;
    }
}

@media (max-width: 575.98px) {
    .error-hero__summary {
        font-size: 1rem;
    }

    .error-hero__actions {
        flex-direction: column;
    }

    .error-hero__btn {
        width: 100%;
    }

    .error-hero__badges span {
        width: 100%;
        justify-content: center;
    }

    .error-panel__title {
        font-size: 1.45rem;
    }
}

