/* =========================================
   ASTA FOUNDATION - CORE & COMMON STYLES
========================================= */
:root {
    --asta-green: #087443;
    --asta-green-dark: #05532f;
    --asta-green-light: #eaf7ef;
    --asta-red: #e50914;
    --asta-red-dark: #b80710;
    --asta-red-light: #fef2f2;
    --asta-dark: #111827;
    --asta-gray: #4b5563;
    --asta-light-bg: #f8faf9;
    --asta-border: rgba(8, 116, 67, 0.12);
    --asta-border-red: rgba(229, 9, 20, 0.15);
}

body {
    font-family: 'Plus Jakarta Sans', "Roboto", sans-serif;
    color: var(--asta-dark);
    background-color: #ffffff;
    line-height: 1.6;
}

/* =========================================
   HERO / CAROUSEL & INNER PAGE BANNERS
========================================= */
.hero-carousel,
.hero-slide-bg {
    height: 680px;
    position: relative;
}

.hero-slide-bg {
    background-size: cover;
    background-position: center;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.45) 0%, rgba(0, 0, 0, 0.25) 50%, rgba(0, 0, 0, 0.65) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 780px;
}

.hero-badge {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    padding: 6px 18px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.hero-title {
    font-size: clamp(2.2rem, 5vw, 3.4rem);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.5px;
}

.hero-subtitle {
    font-size: 1.15rem;
    opacity: 0.9;
    line-height: 1.6;
}

.page-banner {
    position: relative;
    background-size: cover;
    background-position: center;
    padding: 90px 0;
    color: #fff;
}

.page-banner::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.9) 0%, rgba(8, 116, 67, 0.78) 70%, rgba(229, 9, 20, 0.35) 100%);
    z-index: 1;
}

.page-banner .container {
    position: relative;
    z-index: 2;
}

.page-banner-title {
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 800;
    margin-bottom: 10px;
}

.page-banner-subtitle {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.85);
    max-width: 650px;
    margin: 0 auto 16px;
}

.page-banner .breadcrumb-item a {
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
}

.page-banner .breadcrumb-item.active {
    color: #fff;
    font-weight: 600;
}

/* =========================================
   COMMON SECTION HEADINGS
========================================= */
.section-heading {
    position: relative;
    margin-bottom: 45px;
}

.section-heading h2 {
    font-size: clamp(1.85rem, 3.5vw, 2.35rem);
    font-weight: 800;
    color: var(--asta-dark);
    letter-spacing: -0.5px;
    margin-bottom: 12px;
}

.section-heading h2 span {
    color: var(--asta-green);
    position: relative;
}

.section-heading h2 span.accent-red,
.section-heading h2 .text-asta-red {
    color: var(--asta-red);
}

.section-heading p {
    font-size: 1.05rem;
    color: var(--asta-gray);
    max-width: 680px;
    margin: 0 auto;
}

.section-heading .heading-line {
    display: block;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--asta-red) 0%, var(--asta-green) 100%);
    border-radius: 4px;
    margin: 0 auto 16px;
}

/* =========================================
   BADGES & ACCENTS
========================================= */
.badge-custom {
    display: inline-flex;
    align-items: center;
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: #fff;
    background: var(--asta-green);
}

.badge-custom.red,
.badge-custom-red {
    background: var(--asta-red);
    color: #fff;
}

.badge-custom.outline {
    color: var(--asta-green);
    background: rgba(8, 116, 67, 0.08);
    border: 1px solid rgba(8, 116, 67, 0.25);
}

.badge-custom.outline-red {
    color: var(--asta-red);
    background: rgba(229, 9, 20, 0.08);
    border: 1px solid rgba(229, 9, 20, 0.25);
}

.leadership-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--asta-green);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 2px;
}

.leadership-badge span {
    width: 25px;
    height: 2px;
    background: var(--asta-red);
}

.leadership-title {
    font-size: 32px;
    font-weight: 800;
    color: var(--asta-dark);
}

.leadership-title span {
    color: var(--asta-green);
}

.leadership-subtitle {
    color: var(--asta-gray);
    font-size: 15px;
    max-width: 650px;
    margin: 0 auto;
}

/* =========================================
   COMMON CARD STYLES (PROJECTS & NEWS)
========================================= */
.project-card,
.news-card {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    background: #ffffff;
    border-radius: 20px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.project-card:hover,
.news-card:hover {
    transform: translateY(-8px);
    border-color: rgba(8, 116, 67, 0.4);
    box-shadow: 0 20px 40px rgba(8, 116, 67, 0.12);
}

.project-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 4px;
    z-index: 10;
    background: linear-gradient(90deg, var(--asta-green), var(--asta-red));
    transition: width 0.4s ease;
}

.project-card:hover::before {
    width: 100%;
}

.project-image-wrapper,
.news-image-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #f1f5f9;
}

.project-image,
.news-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.project-card:hover .project-image,
.news-card:hover .news-image {
    transform: scale(1.08);
}

.project-number {
    position: absolute;
    top: 14px;
    left: 14px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5;
    color: var(--asta-green);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(6px);
    border-radius: 12px;
    font-size: 14px;
    font-weight: 800;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.65), transparent);
    opacity: 0;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 20px;
    transition: opacity 0.35s ease;
    z-index: 4;
}

.project-card:hover .image-overlay,
.news-card:hover .image-overlay {
    opacity: 1;
}

.view-project-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    color: var(--asta-green);
    font-weight: 700;
    font-size: 13px;
    padding: 8px 18px;
    border-radius: 50px;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transform: translateY(10px);
    transition: transform 0.35s ease;
}

.project-card:hover .view-project-btn,
.news-card:hover .view-project-btn {
    transform: translateY(0);
}

.project-content,
.news-content {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.project-meta,
.news-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 12px;
}

.project-content h3,
.news-content h3 {
    font-size: 1.2rem;
    font-weight: 700;
    line-height: 1.45;
    color: var(--asta-dark);
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.project-footer,
.news-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 16px;
    margin-top: auto;
    border-top: 1px solid #f1f5f9;
}

.project-date,
.news-date {
    font-size: 13px;
    font-weight: 600;
    color: #64748b;
    display: flex;
    align-items: center;
    gap: 6px;
}

.arrow-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 700;
    color: var(--asta-green);
    text-decoration: none;
    transition: gap 0.25s ease, color 0.25s ease;
}

.arrow-link:hover {
    color: var(--asta-green-dark);
    gap: 10px;
}

/* =========================================
   ORIGINAL PREVIOUS LEADERSHIP CARD DESIGN
========================================= */
/* =========================================
   COMPACT & ATTRACTIVE LEADERSHIP CARD
========================================= */
.leader-card {
    position: relative;
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid #eef2f0;
    box-shadow: 0 4px 18px rgba(0, 50, 25, 0.05);
    overflow: hidden;
    transition: all 0.35s cubic-bezier(0.165, 0.84, 0.44, 1);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.leader-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 30px rgba(0, 140, 74, 0.12);
    border-color: rgba(0, 140, 74, 0.35);
}

.leader-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, #008c4a 0%, #008c4a 70%, #e21b23 70%, #e21b23 100%);
    transition: width 0.35s ease;
    z-index: 10;
}

.leader-card:hover::before {
    width: 100%;
}

.leader-image-wrapper {
    position: relative;
    width: 100%;
    height: 230px;
    overflow: hidden;
    background: #f1f5f3;
}

.leader-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    transition: transform 0.5s ease;
}

.leader-card:hover .leader-image {
    transform: scale(1.06);
}

.leader-number {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 28px;
    height: 28px;
    background: rgba(0, 140, 74, 0.9);
    backdrop-filter: blur(4px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 700;
    color: #ffffff;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

.leader-card:hover .leader-number {
    background: #e21b23;
}

.leader-content {
    padding: 16px 18px 18px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    background: #ffffff;
}

.leader-role {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.8px;
    color: #008c4a;
    background: #eef8f3;
    padding: 3px 8px;
    border-radius: 20px;
    display: inline-block;
    align-self: flex-start;
    margin-bottom: 6px;
    text-transform: uppercase;
}

.leader-content h3 {
    font-size: 16px;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 6px;
    line-height: 1.3;
}

.leader-content p {
    font-size: 12.5px;
    color: #64748b;
    line-height: 1.55;
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 38px;
}

.leader-social {
    display: flex;
    gap: 6px;
    margin-top: auto;
    padding-top: 10px;
    border-top: 1px solid #f1f5f3;
}

.leader-social a {
    width: 28px;
    height: 28px;
    background: #f8faf9;
    border: 1px solid #e5eae7;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #55625c;
    font-size: 12px;
    text-decoration: none;
    transition: all 0.25s ease;
}

.leader-social a:hover {
    background: #008c4a;
    border-color: #008c4a;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 140, 74, 0.2);
}

/* =========================================
   IMPACT COUNTERS SECTION
========================================= */
.impact-counter-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 35px 25px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
    text-align: center;
    transition: transform 0.3s ease;
}

.impact-counter-card:hover {
    transform: translateY(-5px);
}

.impact-counter-icon {
    width: 65px;
    height: 65px;
    background: rgba(8, 116, 67, 0.08);
    color: var(--asta-green);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 18px;
    font-size: 1.8rem;
    margin-bottom: 18px;
}

.impact-number {
    font-size: 2.3rem;
    font-weight: 800;
    color: var(--asta-dark);
    line-height: 1.1;
    margin-bottom: 6px;
}

/* =========================================
   MODERN FOOTER (RICH DEEP EMERALD DARK THEME)
========================================= */
.modern-footer {
    background: linear-gradient(180deg, #091a12 0%, #06130d 100%);
    color: #cbd5e1;
    font-size: 0.95rem;
    position: relative;
    border-top: 1px solid rgba(8, 116, 67, 0.2);
}

.footer-logo {
    max-height: 52px;
    object-fit: contain;
}

.footer-title {
    color: #ffffff;
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 22px;
    position: relative;
    padding-bottom: 10px;
}

.footer-title::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 38px;
    height: 3px;
    background: var(--asta-green);
    border-radius: 2px;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #94a3b8;
    text-decoration: none;
    display: inline-block;
    transition: color 0.25s ease, transform 0.25s ease;
}

.footer-links a:hover {
    color: #34d399;
    transform: translateX(5px);
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: #94a3b8;
    text-decoration: none;
    margin-bottom: 16px;
    transition: color 0.25s ease, transform 0.25s ease;
}

.footer-contact-item:hover {
    color: #ffffff;
    transform: translateX(4px);
}

.footer-icon {
    width: 32px;
    height: 32px;
    background: rgba(8, 116, 67, 0.2);
    color: #34d399;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    font-size: 14px;
    flex-shrink: 0;
}

.social-btn {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    color: #cbd5e1;
    text-decoration: none;
    font-size: 16px;
    transition: all 0.3s ease;
}

.social-btn:hover {
    color: #ffffff;
    background: var(--asta-green);
    border-color: var(--asta-green);
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(8, 116, 67, 0.35);
}

.footer-bottom {
    background: #040c08;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

#backToTop {
    position: fixed;
    right: 29px;
    bottom: 92px;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--asta-green);
    border: none;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 9999;
}

#backToTop:hover {
    background: var(--asta-green-dark);
    transform: translateY(-3px);
}

#backToTop.show {
    opacity: 1;
    visibility: visible;
}

/* =========================================
   FLOATING WHATSAPP FAST CONTACT BUTTON
========================================= */
.whatsapp-float-btn {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 56px;
    height: 56px;
    background: #25D366;
    color: #ffffff !important;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: 0 4px 18px rgba(37, 211, 102, 0.45);
    z-index: 9998;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.whatsapp-float-btn:hover {
    background: #20ba59;
    color: #ffffff !important;
    transform: scale(1.1) translateY(-3px);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.6);
}

.whatsapp-float-tooltip {
    position: absolute;
    right: 68px;
    left: auto;
    background: #111827;
    color: #ffffff;
    font-size: 13px;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 20px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transform: translateX(10px);
    transition: all 0.25s ease;
    box-shadow: 0 4px 14px rgba(0,0,0,0.18);
}

.whatsapp-float-tooltip::before {
    content: "";
    position: absolute;
    right: -5px;
    left: auto;
    top: 50%;
    transform: translateY(-50%);
    border-width: 5px 0 5px 5px;
    border-style: solid;
    border-color: transparent transparent transparent #111827;
}

.whatsapp-float-btn:hover .whatsapp-float-tooltip {
    opacity: 1;
    transform: translateX(0);
}

.whatsapp-ping-ring {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid #25D366;
    animation: wa-pulse 2.2s infinite;
    pointer-events: none;
}

@keyframes wa-pulse {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }
    70% {
        transform: scale(1.45);
        opacity: 0;
    }
    100% {
        transform: scale(1.45);
        opacity: 0;
    }
}

@media (max-width: 576px) {
    #backToTop {
        bottom: 80px;
        right: 23px;
        width: 44px;
        height: 44px;
    }
    .whatsapp-float-btn {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
        font-size: 26px;
    }
    .whatsapp-float-tooltip {
        display: none;
    }
}


/* Responsive adjustments */
@media (max-width: 768px) {

    .hero-carousel,
    .hero-slide-bg {
        height: 480px;
    }

    .page-banner {
        padding: 55px 0;
    }
}

/* =========================================
   PARTNERS LOGO SCROLLER / MARQUEE
========================================= */
.partner-marquee-container {
    overflow: hidden;
    position: relative;
    width: 100%;
    padding: 28px 0;
}

.partner-marquee-container::before,
.partner-marquee-container::after {
    content: "";
    position: absolute;
    top: 0;
    width: 160px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.partner-marquee-container::before {
    left: 0;
    background: linear-gradient(to right, #ffffff 0%, rgba(255, 255, 255, 0) 100%);
}

.partner-marquee-container::after {
    right: 0;
    background: linear-gradient(to left, #ffffff 0%, rgba(255, 255, 255, 0) 100%);
}

.partner-marquee-container.bg-light-fade::before {
    background: linear-gradient(to right, var(--asta-light-bg) 0%, rgba(248, 250, 249, 0) 100%);
}

.partner-marquee-container.bg-light-fade::after {
    background: linear-gradient(to left, var(--asta-light-bg) 0%, rgba(248, 250, 249, 0) 100%);
}

.partner-marquee-track {
    display: flex;
    width: max-content;
    animation: partnerScroll 35s linear infinite;
}

.partner-marquee-track:hover {
    animation-play-state: paused;
}

@keyframes partnerScroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.partner-marquee-item {
    flex: 0 0 auto;
    margin: 0 16px;
}

.partner-scroll-card {
    background: #ffffff;
    border: 1.5px solid rgba(8, 116, 67, 0.15);
    border-radius: 20px;
    padding: 20px 30px;
    min-width: 280px;
    height: 145px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.35s ease;
    text-decoration: none;
}

.partner-scroll-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 35px rgba(8, 116, 67, 0.15);
    border-color: var(--asta-green);
}

.partner-scroll-card img {
    max-height: 72px;
    max-width: 210px;
    object-fit: contain;
    filter: grayscale(10%);
    transition: all 0.35s ease;
}

.partner-scroll-card:hover img {
    filter: grayscale(0%);
    transform: scale(1.08);
}

.partner-scroll-card .partner-name-tag {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--asta-dark);
    margin-top: 10px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 240px;
    letter-spacing: -0.2px;
}

.partner-box {
    border-radius: 22px !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05) !important;
    border: 1.5px solid rgba(8, 116, 67, 0.12) !important;
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease !important;
}

.partner-box:hover {
    transform: translateY(-8px) !important;
    box-shadow: 0 20px 40px rgba(8, 116, 67, 0.14) !important;
    border-color: rgba(8, 116, 67, 0.4) !important;
}

.partner-box img {
    transition: transform 0.35s ease !important;
}

.partner-box:hover img {
    transform: scale(1.06) !important;
}


/* =========================================
   RICH TEXT FORMATTED CONTENT STYLING
========================================= */
.rich-content {
    color: #374151;
    font-size: 1.02rem;
    line-height: 1.8;
}

.rich-content h1,
.rich-content h2,
.rich-content h3,
.rich-content h4,
.rich-content h5,
.rich-content h6 {
    color: var(--asta-dark);
    font-weight: 700;
    margin-top: 1.4rem;
    margin-bottom: 0.8rem;
}

.rich-content p {
    margin-bottom: 1.1rem;
}

.rich-content ul,
.rich-content ol {
    margin-bottom: 1.2rem;
    padding-left: 1.5rem;
}

.rich-content li {
    margin-bottom: 0.4rem;
}

.rich-content blockquote {
    border-left: 4px solid var(--asta-green);
    background: var(--asta-light-bg);
    padding: 14px 20px;
    margin: 1.5rem 0;
    border-radius: 0 12px 12px 0;
    font-style: italic;
    color: var(--asta-dark);
}

.rich-content img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 1rem 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.rich-content table {
    width: 100%;
    margin: 1.2rem 0;
    border-collapse: collapse;
}

.rich-content table th,
.rich-content table td {
    border: 1px solid var(--asta-border);
    padding: 10px 14px;
}

.rich-content table th {
    background-color: var(--asta-light-bg);
    font-weight: 700;
}

/* =========================================
   CUSTOM BOOTSTRAP PAGINATION STYLES
========================================= */
nav[aria-label="Pagination Navigation"],
nav[role="navigation"] {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 16px !important;
    width: 100% !important;
    margin-top: 2.5rem !important;
    margin-bottom: 1.5rem !important;
    text-align: center !important;
}

nav[aria-label="Pagination Navigation"] p,
nav[role="navigation"] p {
    margin-bottom: 0 !important;
    font-size: 0.92rem !important;
    color: #6b7280 !important;
    font-weight: 500 !important;
    order: 1 !important;
}

nav[aria-label="Pagination Navigation"] .pagination,
nav[role="navigation"] .pagination,
.pagination {
    order: 2 !important;
}

.pagination {
    display: flex;
    gap: 8px;
    align-items: center;
    justify-content: center;
    margin-bottom: 0 !important;
    flex-wrap: wrap;
    padding-left: 0;
    list-style: none;
}

.pagination .page-item {
    margin: 0;
}

.pagination .page-item .page-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #374151;
    border: 1px solid #e5e7eb;
    border-radius: 50px !important;
    padding: 8px 18px;
    min-width: 42px;
    height: 42px;
    text-align: center;
    font-weight: 600;
    font-size: 0.9rem;
    line-height: 1;
    transition: all 0.2s ease;
    background-color: #ffffff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.pagination .page-item .page-link:hover {
    background-color: var(--asta-green-light);
    color: var(--asta-green);
    border-color: var(--asta-green);
}

.pagination .page-item.active .page-link {
    background-color: var(--asta-green);
    border-color: var(--asta-green);
    color: #ffffff !important;
    box-shadow: 0 4px 12px rgba(8, 116, 67, 0.25);
}

.pagination .page-item.disabled .page-link {
    color: #9ca3af;
    background-color: #f9fafb;
    border-color: #e5e7eb;
}