/********** Template CSS **********/
:root {
    --primary: #144c30;
    --light: #F3F4F5;
    --dark: #282F34;
    --bg-color: #FFFFFF;
    --text-color: #282F34;
    --card-bg: #FFFFFF;
    --border-color: #EEEEEE;
    --bs-light-green: #22c55e;
}

/* Light Mode Themes - Green Only */
[data-theme="light-1"] {
    --primary: #144c30;
    --light: #F3F4F5;
    --dark: #000000;
    --bg-color: #FFFFFF;
    --text-color: #282F34;
    --card-bg: #FFFFFF;
    --border-color: #EEEEEE;
}

/* Dark Mode Themes - Green Color Palette */
[data-theme="dark-1"] {
    --primary: #66bb6a;
    --light: #144c30;
    --dark: #05140c;
    --bg-color: #05140c;
    --text-color: #c8e6c9;
    --card-bg: #0d3a24;
    --border-color: #144c30;
}

[data-theme="dark-2"] {
    --primary: #81c784;
    --light: #1a5d3f;
    --dark: #081f14;
    --bg-color: #081f14;
    --text-color: #a5d6a7;
    --card-bg: #144c30;
    --border-color: #1a5d3f;
}

[data-theme="dark-3"] {
    --primary: #66bb6a;
    --light: #144c30;
    --dark: #05140c;
    --bg-color: #05140c;
    --text-color: #c8e6c9;
    --card-bg: #0d3a24;
    --border-color: #144c30;
}

[data-theme="dark-4"] {
    --primary: #81c784;
    --light: #1a5d3f;
    --dark: #081f14;
    --bg-color: #081f14;
    --text-color: #a5d6a7;
    --card-bg: #144c30;
    --border-color: #1a5d3f;
}

[data-theme="dark-5"] {
    --primary: #66bb6a;
    --light: #144c30;
    --dark: #05140c;
    --bg-color: #05140c;
    --text-color: #c8e6c9;
    --card-bg: #0d3a24;
    --border-color: #144c30;
}

.text-light-green {
    color: var(--bs-light-green) !important;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 45px;
    bottom: 45px;
    z-index: 99;
}

/*** 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 {
    font-weight: 500;
    transition: .5s;
}

.btn.btn-primary,
.btn.btn-secondary {
    color: #FFFFFF;
}

.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;
}


/*** Navbar ***/
.navbar.sticky-top {
    top: -100px;
    transition: .5s;
    z-index: 111 !important;
}

.navbar .navbar-brand {
    display: flex;
    align-items: center;
}

.navbar .navbar-brand img {
    max-height: 78px;
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 8px;
}

.navbar .navbar-nav .nav-link {
    margin-right: 30px;
    padding: 25px 0;
    color: #FFFFFF;
    font-size: 15px;
    font-weight: 500;
    text-transform: uppercase;
    outline: none;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: var(--primary);
}

@media (max-width: 991.98px) {
    .navbar .navbar-nav .nav-link {
        margin-right: 0;
        padding: 10px 0;
    }

    .navbar .navbar-nav {
        border-top: 1px solid #EEEEEE;
    }
}

.navbar .navbar-nav .nav-link {
    color: var(--dark);
    font-weight: 500;
}

@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 ***/
.header-bg {
    position: relative;
    background: #000000;
    max-height: 650px;
    overflow: hidden;
}

.header-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.55)), url(../img/bg-1.jpg) center center no-repeat;
    background-size: cover;
    background-attachment: fixed;
    z-index: 1;
}

/* Page-specific background images */
.header-bg-act-rules::after {
    background: linear-gradient(rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.55)), url(../img/bg-1.jpg) center center no-repeat;
    background-size: cover;
    background-attachment: fixed;
}

.header-bg-about::after {
    background: linear-gradient(rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.55)), url(../img/about-banner.jpg) center center no-repeat;
    background-size: cover;
    background-attachment: fixed;
}

.header-bg-vision-mission::after {
    background: linear-gradient(rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.55)), url(../img/vision-mission-bg.jpg) center center no-repeat;
    background-size: cover;
    background-attachment: fixed;
}

.header-bg-state-symbols::after {
    background: linear-gradient(rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.55)), url(../img/symbol-bg.jpg) center center no-repeat;
    background-size: cover;
    background-attachment: fixed;
}

.header-bg-heritage::after {
    background: linear-gradient(rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.55)), url(../img/heritage-bg.jpg) center center no-repeat;
    background-size: cover;
    background-attachment: fixed;
}
.header-bg-gallery::after {
    background: linear-gradient(rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.55)), url(../img/gal-banner.jpg) center center no-repeat;
    background-size: cover;
    background-attachment: fixed;
}
.header-bg-guidelines::after {
    background: linear-gradient(rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.55)), url(../img/guidlines-resources.png) center center no-repeat;
    background-size: cover;
    background-attachment: fixed;
}

.header-bg-video-only::after {
    display: none;
}

.header-bg video.header-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.header-bg>* {
    position: relative;
    z-index: 2;
}

/*** Home Header Background ***/
.home-header-bg {
    position: relative;
    background: #000000;
    height: 100vh;
    min-height: 100vh;
    max-height: 100vh;
    overflow: hidden;
}

.home-header-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.55));
    z-index: 1;
}

.home-header-bg video.header-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 0;
}

.home-header-bg>* {
    position: relative;
    z-index: 2;
}

.home-header-bg h1 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem !important;
}

.home-header-bg .p-5 {
    padding: 2rem !important;
}

/* Home page full screen container */
.container-fluid.bg-dark.p-0.mb-5:has(.home-header-bg) {
    height: 100vh;
    min-height: 100vh;
    max-height: 100vh;
    overflow: hidden;
}

.container-fluid.bg-dark.p-0.mb-5:has(.home-header-bg) .row {
    height: 100vh;
    min-height: 100vh;
    max-height: 100vh;
}

.container-fluid.bg-dark.p-0.mb-5:has(.home-header-bg) .col-lg-12 {
    height: 100vh;
    min-height: 100vh;
    max-height: 100vh;
}

.container-fluid.bg-dark.p-0.mb-5:has(.home-header-bg) .header-carousel {
    height: 100vh;
    min-height: 100vh;
    max-height: 100vh;
}

.container-fluid.bg-dark.p-0.mb-5:has(.home-header-bg) .owl-carousel-item {
    height: 100vh;
    min-height: 100vh;
    max-height: 100vh;
}

@media (max-width: 991.98px) {
    .home-header-bg {
        height: 100vh;
        min-height: 100vh;
        max-height: 100vh;
    }

    .home-header-bg h1 {
        font-size: 2rem;
        margin-bottom: 1rem !important;
    }

    .home-header-bg .p-5 {
        padding: 1.5rem !important;
    }

    .container-fluid.bg-dark.p-0.mb-5:has(.home-header-bg) {
        height: 100vh;
        min-height: 100vh;
        max-height: 100vh;
    }

    .container-fluid.bg-dark.p-0.mb-5:has(.home-header-bg) .row,
    .container-fluid.bg-dark.p-0.mb-5:has(.home-header-bg) .col-lg-12,
    .container-fluid.bg-dark.p-0.mb-5:has(.home-header-bg) .header-carousel,
    .container-fluid.bg-dark.p-0.mb-5:has(.home-header-bg) .owl-carousel-item {
        height: 100vh;
        min-height: 100vh;
        max-height: 100vh;
    }
}

@media (max-width: 767.98px) {
    .home-header-bg {
        height: 100vh;
        min-height: 100vh;
        max-height: 100vh;
    }

    .home-header-bg h1 {
        font-size: 1.5rem;
        margin-bottom: 0.75rem !important;
    }

    .home-header-bg .p-5 {
        padding: 1rem !important;
    }

    .container-fluid.bg-dark.p-0.mb-5:has(.home-header-bg) {
        height: 100vh;
        min-height: 100vh;
        max-height: 100vh;
    }

    .container-fluid.bg-dark.p-0.mb-5:has(.home-header-bg) .row,
    .container-fluid.bg-dark.p-0.mb-5:has(.home-header-bg) .col-lg-12,
    .container-fluid.bg-dark.p-0.mb-5:has(.home-header-bg) .header-carousel,
    .container-fluid.bg-dark.p-0.mb-5:has(.home-header-bg) .owl-carousel-item {
        height: 100vh;
        min-height: 100vh;
        max-height: 100vh;
    }
}

.header-bg h1 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem !important;
}

.header-bg .p-5 {
    padding: 2rem !important;
}

@media (max-width: 991.98px) {
    .header-bg {
        max-height: 450px;
    }

    .header-bg h1 {
        font-size: 2rem;
        margin-bottom: 1rem !important;
    }

    .header-bg .p-5 {
        padding: 1.5rem !important;
    }
}

@media (max-width: 767.98px) {
    .header-bg {
        max-height: 400px;
    }

    .header-bg h1 {
        font-size: 1.5rem;
        margin-bottom: 0.75rem !important;
    }

    .header-bg .p-5 {
        padding: 1rem !important;
    }
}

.btn-play {
    position: relative;
    display: block;
    box-sizing: content-box;
    width: 16px;
    height: 26px;
    border-radius: 100%;
    border: none;
    outline: none !important;
    padding: 18px 20px 20px 28px;
    background: #FFFFFF;
}

.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: #FFFFFF;
    border-radius: 100%;
    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: #FFFFFF;
    border-radius: 100%;
    transition: all 200ms;
}

.btn-play span {
    display: block;
    position: relative;
    z-index: 3;
    width: 0;
    height: 0;
    left: -1px;
    border-left: 16px solid var(--primary);
    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;
    }
}

.modal-video .modal-dialog {
    position: relative;
    max-width: 800px;
    margin: 60px auto 0 auto;
}

.modal-video .modal-body {
    position: relative;
    padding: 0px;
}

.modal-video .close {
    position: absolute;
    width: 30px;
    height: 30px;
    right: 0px;
    top: -30px;
    z-index: 999;
    font-size: 30px;
    font-weight: normal;
    color: #FFFFFF;
    background: #000000;
    opacity: 1;
}

.header-carousel .owl-nav {
    position: absolute;
    width: 200px;
    height: 40px;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: space-between;
}

.header-carousel .owl-nav .owl-prev,
.header-carousel .owl-nav .owl-next {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    background: transparent;
    border: 1px solid #FFFFFF;
    font-size: 22px;
    transition: .5s;
}

.header-carousel .owl-nav .owl-prev:hover,
.header-carousel .owl-nav .owl-next:hover {
    background: var(--primary);
    border-color: var(--primary);
}

.header-carousel .owl-dots {
    position: absolute;
    height: 45px;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.header-carousel .owl-dot {
    position: relative;
    display: inline-block;
    margin: 0 5px;
    width: 15px;
    height: 15px;
    background: transparent;
    border: 1px solid #FFFFFF;
    transition: .5s;
}

.header-carousel .owl-dot::after {
    position: absolute;
    content: "";
    width: 5px;
    height: 5px;
    top: 4px;
    left: 4px;
    background: #FFFFFF;
    border-radius: 5px;
}

.header-carousel .owl-dot.active {
    background: var(--primary);
    border-color: var(--primary);
}

.header-carousel {
    height: 100%;
}

.header-carousel .owl-stage-outer,
.header-carousel .owl-stage,
.header-carousel .owl-item {
    height: 100%;
}

.header-carousel .owl-carousel-item {
    height: 100%;
    min-height: 350px;
    max-height: 650px;
    overflow: hidden;
    position: relative;
}

.header-carousel .owl-carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.header-carousel .owl-carousel-item video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

/* Control header section height */
.container-fluid.bg-dark.p-0.mb-5 {
    max-height: 650px;
    overflow: hidden;
}

.container-fluid.bg-dark .row {
    max-height: 650px;
}

.container-fluid.bg-dark .col-lg-6 {
    max-height: 650px;
}

@media (max-width: 991.98px) {
    .header-carousel .owl-carousel-item {
        min-height: 400px;
        max-height: 450px;
    }

    .container-fluid.bg-dark.p-0.mb-5 {
        max-height: 400px;
    }

    .container-fluid.bg-dark .row {
        max-height: 400px;
    }

    .container-fluid.bg-dark .col-lg-6 {
        max-height: 400px;
    }
}

@media (max-width: 767.98px) {
    .header-carousel .owl-carousel-item {
        min-height: 350px;
        max-height: 400px;
    }

    .container-fluid.bg-dark.p-0.mb-5 {
        max-height: 370px;
    }

    .container-fluid.bg-dark .row {
        max-height: 370px;
    }

    .container-fluid.bg-dark .col-lg-6 {
        max-height: 300px;
    }
}

.breadcrumb-item+.breadcrumb-item::before {
    color: var(--light);
}


/*** Img Border ***/
.img-border {
    position: relative;
    height: 100%;
    min-height: 400px;
}

.img-border::before {
    position: absolute;
    content: "";
    top: 0;
    left: 0;
    right: 3rem;
    bottom: 3rem;
    border: 5px solid var(--primary);
}

.img-border img {
    position: absolute;
    top: 2rem;
    left: 2rem;
    width: calc(100% - 2rem);
    height: calc(100% - 2rem);
    object-fit: cover;
}


/*** Facts & Visiting Hours ***/
.facts {
    background: linear-gradient(rgba(0, 0, 0, .7), rgba(0, 0, 0, .7)), url(../img/md-5.jpg) center center no-repeat;
    background-size: cover;
    background-attachment: fixed;

}

.visiting-hours {
    background: linear-gradient(rgba(0, 0, 0, .7), rgba(0, 0, 0, .7)), url(../img/bg-2.jpg) center center no-repeat;
    background-size: cover;
    background-attachment: fixed;
}

.visiting-hours .list-group-item {
    display: flex;
    justify-content: space-between;
    color: var(--light);
    background: rgba(0, 0, 0, .15);
    border-color: rgba(255, 255, 255, .15);
}

.visiting-hours .table {
    color: var(--light);
    background: rgba(0, 0, 0, .15);
}

.visiting-hours .table td {
    padding: .5rem 1rem;
    border-color: rgba(255, 255, 255, .15);
}

.visiting-hours .table tr:last-child td {
    border: none;
}


/*** Animal ***/
/* Animal/Biodiversity Section - Image Height Consistency */
.animal-item .position-relative {
    height: 100%;
    overflow: hidden;
}

/* All MD images - same height */
.animal-item img[src*="md-"],
.animal-item img[src*="md"] {
    width: 100%;
    height: 280px;
    object-fit: cover;
    object-position: center;
    display: block;
}

/* All LG images - same height */
.animal-item img[src*="lg-"],
.animal-item img[src*="lg"],
.animal-item img[src*="animal-lg"] {
    width: 100%;
    height: 400px;
    object-fit: cover;
    object-position: center;
    display: block;
}

@media (max-width: 991.98px) {

    .animal-item img[src*="md-"],
    .animal-item img[src*="md"] {
        height: 250px;
    }

    .animal-item img[src*="lg-"],
    .animal-item img[src*="lg"],
    .animal-item img[src*="animal-lg"] {
        height: 350px;
    }
}

@media (max-width: 767.98px) {

    .animal-item img[src*="md-"],
    .animal-item img[src*="md"] {
        height: 220px;
    }

    .animal-item img[src*="lg-"],
    .animal-item img[src*="lg"],
    .animal-item img[src*="animal-lg"] {
        height: 300px;
    }
}

.animal-item {
    position: relative;
    display: block;
}

.animal-item .animal-text {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: rgba(0, 0, 0, .7);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding-bottom: 100px !important;
    opacity: 0;
    transition: .5s;
}

.animal-item:hover .animal-text {
    opacity: 1;
    padding-bottom: 20px !important;
}


/*** Membership ***/
.membership-item {
    padding: 45px 30px;
    color: #FFFFFF;
    background: linear-gradient(135deg, rgba(26, 93, 63, 0.9) 0%, rgba(20, 122, 82, 0.9) 100%);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.membership-item img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
    opacity: 0;
    transform: scale(1);
    transition: transform 0.4s ease, opacity 0.4s ease;
    /* z-index: -1; */
}

.membership-item .display-1 {
    color: transparent;
    -webkit-text-stroke: 2px var(--bs-light-green);
}

.membership-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.25);
    background: rgba(0, 0, 0, 0.7);
}

.membership-item:hover img {
    transform: scale(1.05);
    opacity: 1;
}


/*** Testimonial ***/
.testimonial-carousel::before {
    position: absolute;
    content: "";
    top: 0;
    left: 0;
    height: 100%;
    width: 0;
    background: linear-gradient(to right, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%);
    z-index: 1;
}

.testimonial-carousel::after {
    position: absolute;
    content: "";
    top: 0;
    right: 0;
    height: 100%;
    width: 0;
    background: linear-gradient(to left, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%);
    z-index: 1;
}

@media (min-width: 768px) {

    .testimonial-carousel::before,
    .testimonial-carousel::after {
        width: 200px;
    }
}

@media (min-width: 992px) {

    .testimonial-carousel::before,
    .testimonial-carousel::after {
        width: 300px;
    }
}

.testimonial-carousel .owl-item .testimonial-text {
    background: var(--light);
    transform: scale(.8);
    transition: .5s;
}

.testimonial-carousel .owl-item.center .testimonial-text {
    background: var(--primary);
    transform: scale(1);
}

.testimonial-carousel .owl-item .testimonial-text *,
.testimonial-carousel .owl-item .testimonial-item img {
    transition: .5s;
}

.testimonial-carousel .owl-item.center .testimonial-text * {
    color: var(--light) !important;
}

.testimonial-carousel .owl-item.center .testimonial-item img {
    border-color: var(--primary) !important;
}

.testimonial-carousel .owl-nav {
    position: absolute;
    width: 350px;
    top: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: space-between;
    opacity: 0;
    transition: .5s;
    z-index: 1;
}

.testimonial-carousel:hover .owl-nav {
    width: 300px;
    opacity: 1;
}

.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next {
    position: relative;
    color: var(--primary);
    font-size: 45px;
    transition: .5s;
}

.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {
    color: var(--dark);
}


/*** Footer ***/
.footer {
    background: linear-gradient(rgba(0, 0, 0, .7), rgba(0, 0, 0, .7)), url(../img/jungle.jpg) center center no-repeat;
    background-size: cover;
    background-attachment: fixed;
}

.footer .btn.btn-social {
    margin-right: 5px;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light);
    border: 1px solid #FFFFFF;
    transition: .3s;
}

.footer .btn.btn-social:hover {
    color: var(--primary);
}

.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: #FFFFFF;
    font-size: 15px;
    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(--primary);
    letter-spacing: 1px;
    box-shadow: none;
}

.footer .copyright {
    padding: 25px 0;
    font-size: 15px;
    border-top: 1px solid rgba(256, 256, 256, .1);
}

.footer .copyright a {
    color: var(--light);
}

.footer .copyright a:hover {
    color: var(--primary);
}

/*** Theme Selector ***/
.theme-selector {
    position: fixed;
    bottom: 100px;
    right: 20px;
    z-index: 9999;
}

.theme-toggle-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--primary);
    color: #FFFFFF;
    border: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    transition: all 0.3s ease;
}

.theme-toggle-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

.theme-panel {
    position: fixed;
    bottom: 160px;
    right: 20px;
    width: 320px;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    padding: 20px;
    display: none;
    z-index: 9998;
    transition: all 0.3s ease;
}

.theme-panel.active {
    display: block;
    animation: slideUp 0.3s ease;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.theme-panel h5 {
    margin: 0 0 15px 0;
    color: var(--text-color);
    font-size: 18px;
    font-weight: 600;
}

.theme-mode-toggle {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    padding: 5px;
    background: var(--light);
    border-radius: 8px;
}

.theme-mode-toggle button {
    flex: 1;
    padding: 8px 12px;
    border: none;
    border-radius: 6px;
    background: transparent;
    color: var(--text-color);
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.theme-mode-toggle button.active {
    background: var(--primary);
    color: #FFFFFF;
}

.theme-colors {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 10px;
}

.theme-color-item {
    width: 45px;
    height: 45px;
    border-radius: 8px;
    cursor: pointer;
    border: 3px solid transparent;
    transition: all 0.3s ease;
    position: relative;
}

.theme-color-item:hover {
    transform: scale(1.1);
    border-color: var(--text-color);
}

.theme-color-item.active {
    border-color: var(--primary);
    box-shadow: 0 0 0 2px var(--card-bg), 0 0 0 4px var(--primary);
}

.theme-color-item::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #FFFFFF;
    font-size: 18px;
    font-weight: bold;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.theme-color-item.active::after {
    opacity: 1;
}

.theme-label {
    font-size: 11px;
    color: var(--text-color);
    margin-top: 5px;
    text-align: center;
    opacity: 0.7;
}

@media (max-width: 768px) {
    .theme-panel {
        width: 280px;
        right: 10px;
        bottom: 150px;
    }

    .theme-selector {
        right: 10px;
        bottom: 90px;
    }
}

/*** Accessibility Tool ***/
.accessibility-tool-container {
    position: relative;
}

/* Theme Mode Toggle Button */
.theme-mode-toggle-container {
    position: relative;
}

.theme-mode-toggle-btn {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: var(--primary);
    color: #FFFFFF;
    border: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    transition: all 0.3s ease;
}

.theme-mode-toggle-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    background: var(--dark);
}

.theme-mode-toggle-btn i {
    transition: transform 0.3s ease;
}

.theme-mode-toggle-btn:hover i {
    transform: rotate(15deg);
}

.accessibility-toggle-btn {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: var(--primary);
    color: #FFFFFF;
    border: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    transition: all 0.3s ease;
}

.accessibility-toggle-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    background: var(--dark);
}

.accessibility-panel {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    width: 320px;
    max-height: 80vh;
    overflow-y: auto;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    padding: 20px;
    display: none;
    z-index: 10000;
    transition: all 0.3s ease;
}

/* Custom scrollbar for accessibility panel */
.accessibility-panel::-webkit-scrollbar {
    width: 8px;
}

.accessibility-panel::-webkit-scrollbar-track {
    background: var(--light);
    border-radius: 10px;
}

.accessibility-panel::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 10px;
}

.accessibility-panel::-webkit-scrollbar-thumb:hover {
    background: var(--dark);
}

.accessibility-panel.active {
    display: block;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.accessibility-panel h5 {
    margin: 0 0 20px 0;
    color: var(--text-color);
    font-size: 18px;
    font-weight: 600;
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 10px;
}

.accessibility-section {
    margin-bottom: 12px;
}

.accessibility-section:last-child {
    margin-bottom: 0;
}

/* Container for checkbox sections to create 2-column layout */
.accessibility-sections-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 15px;
}

/* Full width for sections with controls or buttons */
.accessibility-section:has(.accessibility-controls),
.accessibility-section:has(.btn.w-100) {
    grid-column: 1 / -1;
    width: 100%;
}

.accessibility-divider {
    height: 1px;
    background: var(--border-color);
    margin: 15px 0;
    width: 100%;
    grid-column: 1 / -1;
}

.accessibility-label {
    display: flex;
    align-items: center;
    color: var(--text-color);
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 0;
    cursor: pointer;
    white-space: nowrap;
}

.accessibility-label input[type="checkbox"] {
    margin-right: 8px;
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: var(--primary);
}

.accessibility-label i {
    color: var(--primary);
    font-size: 14px;
}

.accessibility-controls {
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: space-between;
}

.accessibility-controls .btn {
    min-width: 40px;
    height: 35px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-color: var(--border-color);
    color: var(--text-color);
    transition: all 0.3s ease;
}

.accessibility-controls .btn:hover {
    background: var(--primary);
    color: #FFFFFF;
    border-color: var(--primary);
}

.accessibility-value {
    font-weight: 600;
    color: var(--text-color);
    min-width: 50px;
    text-align: center;
    font-size: 14px;
}

/* Accessibility Features Styles */

/* High Contrast */
body.accessibility-high-contrast {
    filter: contrast(120%);
}

body.accessibility-high-contrast * {
    border-color: #000 !important;
}

/* Grayscale */
body.accessibility-grayscale {
    filter: grayscale(100%);
}

/* Invert Colors */
body.accessibility-invert-colors {
    filter: invert(1) hue-rotate(180deg);
}

body.accessibility-invert-colors img,
body.accessibility-invert-colors video,
body.accessibility-invert-colors iframe {
    filter: invert(1) hue-rotate(180deg);
}

/* Text Spacing */
body.accessibility-text-spacing * {
    letter-spacing: 0.05em !important;
    word-spacing: 0.1em !important;
    line-height: 1.8 !important;
}

/* Dyslexia-Friendly Font */
body.accessibility-dyslexia-font {
    font-family: 'Comic Sans MS', 'Chalkboard SE', 'Comic Neue', cursive, sans-serif !important;
}

body.accessibility-dyslexia-font * {
    font-family: 'Comic Sans MS', 'Chalkboard SE', 'Comic Neue', cursive, sans-serif !important;
}

/* Underline Links */
body.accessibility-underline-links a {
    text-decoration: underline !important;
    text-underline-offset: 3px;
}

body.accessibility-underline-links a:hover {
    text-decoration-thickness: 2px;
}

/* Reading Guide */
body.accessibility-reading-guide::before {
    content: '';
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 100vh;
    background: rgba(76, 175, 80, 0.1);
    border-left: 2px solid rgba(76, 175, 80, 0.3);
    border-right: 2px solid rgba(76, 175, 80, 0.3);
    pointer-events: none;
    z-index: 9999;
}

/* Enhanced Focus Indicator */
body.accessibility-focus-indicator *:focus {
    outline: 3px solid var(--primary) !important;
    outline-offset: 2px !important;
    box-shadow: 0 0 0 4px rgba(20, 76, 48, 0.2) !important;
}

body.accessibility-focus-indicator *:focus-visible {
    outline: 4px solid var(--primary) !important;
    outline-offset: 3px !important;
    box-shadow: 0 0 0 6px rgba(20, 76, 48, 0.3) !important;
}

/* Big Cursor */
body.accessibility-big-cursor,
body.accessibility-big-cursor * {
    cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40' viewBox='0 0 40 40'%3E%3Ccircle cx='20' cy='20' r='18' fill='none' stroke='%23000' stroke-width='2'/%3E%3Ccircle cx='20' cy='20' r='2' fill='%23000'/%3E%3C/svg%3E") 20 20, auto !important;
}

body.accessibility-big-cursor a,
body.accessibility-big-cursor button,
body.accessibility-big-cursor input,
body.accessibility-big-cursor textarea,
body.accessibility-big-cursor select {
    cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40' viewBox='0 0 40 40'%3E%3Ccircle cx='20' cy='20' r='18' fill='none' stroke='%23000' stroke-width='2'/%3E%3Ccircle cx='20' cy='20' r='2' fill='%23000'/%3E%3C/svg%3E") 20 20, pointer !important;
}

/* Highlight Links */
body.accessibility-highlight-links a {
    background-color: rgba(255, 255, 0, 0.3) !important;
    padding: 2px 4px !important;
    border-radius: 3px !important;
}

body.accessibility-highlight-links a:hover {
    background-color: rgba(255, 255, 0, 0.6) !important;
}

/* Reduced Motion */
body.accessibility-reduced-motion *,
body.accessibility-reduced-motion *::before,
body.accessibility-reduced-motion *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
}

@media (prefers-reduced-motion: reduce) {
    body.accessibility-reduced-motion *,
    body.accessibility-reduced-motion *::before,
    body.accessibility-reduced-motion *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

body.accessibility-font-size-1 {
    font-size: 90% !important;
}

body.accessibility-font-size-2 {
    font-size: 95% !important;
}

body.accessibility-font-size-3 {
    font-size: 100% !important;
}

body.accessibility-font-size-4 {
    font-size: 110% !important;
}

body.accessibility-font-size-5 {
    font-size: 120% !important;
}

body.accessibility-font-size-6 {
    font-size: 130% !important;
}

@media (max-width: 768px) {
    .theme-mode-toggle-btn {
        width: 32px;
        height: 32px;
        font-size: 14px;
    }

    .accessibility-panel {
        width: 300px;
        right: -20px;
        max-height: 80vh;
        overflow-y: auto;
    }

    .accessibility-sections-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }
}

@media (max-width: 576px) {
    .accessibility-panel {
        width: 280px;
        right: -40px;
        max-height: 75vh;
    }

    .accessibility-toggle-btn {
        width: 32px;
        height: 32px;
        font-size: 14px;
    }

    .accessibility-sections-grid {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .accessibility-label {
        font-size: 12px;
    }
}

/* Apply theme colors to body */
body {
    background-color: var(--bg-color);
    color: var(--text-color);
    transition: background-color 0.3s ease, color 0.3s ease;
}

.navbar {
    background-color: #a9b9a3 !important;
    transition: background-color 0.3s ease;
}

.bg-primary {
    background-color: var(--primary) !important;
}

.text-primary {
    color: var(--primary) !important;
}

.btn-primary {
    background-color: var(--primary) !important;
    border-color: var(--primary) !important;
}

.btn-primary:hover {
    background-color: var(--dark) !important;
    border-color: var(--dark) !important;
}

/*** Vision Mission Image Container ***/
.vision-mission-image-container {
    position: relative;
    overflow: hidden;
    border-radius: 300px 300px 0 0;
    background: #fff;
    padding: 0;
    height: 500px;
    width: 100%;
}

.vision-mission-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 50px 50px 0 0;
}

.vision-mission-image-container::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 40%;
    background: linear-gradient(to bottom, transparent 0%, rgba(255, 255, 255, 0.3) 20%, rgba(255, 255, 255, 0.7) 50%, rgba(255, 255, 255, 0.95) 80%, rgba(255, 255, 255, 1) 100%);
    pointer-events: none;
    z-index: 1;
}

/*** Biodiversity Pages Common Styles (PBR, BMC, ABS) ***/

/* Generic Card Classes - Works for all biodiversity pages */
.biodiversity-card,
.pbr-card,
.bmc-card,
.abs-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    word-wrap: break-word;
    background-color: #fff;
    background-clip: border-box;
    border-radius: 0.5rem;
}

.biodiversity-card:hover,
.pbr-card:hover,
.bmc-card:hover,
.abs-card:hover {
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;
}

.biodiversity-card-body,
.pbr-card-body,
.bmc-card-body,
.abs-card-body {
    flex: 1 1 auto;
    padding: 1.5rem;
}

.biodiversity-card-header,
.pbr-card-header,
.bmc-card-header,
.abs-card-header {
    padding: 1rem 1.5rem;
    margin-bottom: 0;
    background-color: rgba(0, 0, 0, 0.03);
    border-bottom: 1px solid rgba(0, 0, 0, 0.125);
}

.biodiversity-card-title,
.pbr-card-title,
.bmc-card-title,
.abs-card-title {
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
    font-weight: 500;
    line-height: 1.2;
}

.biodiversity-card-text,
.pbr-card-text,
.bmc-card-text,
.abs-card-text {
    margin-top: 0;
    margin-bottom: 1rem;
}

/* Information Boxes Styling */
.info-box {
    transition: all 0.3s ease;
}

.info-box:hover {
    box-shadow: 0 0.25rem 0.75rem rgba(20, 76, 48, 0.2) !important;
}

/* Button Styling */
.btn-primary-custom {
    background: linear-gradient(135deg, var(--primary) 0%, #1a5d3f 100%);
    border: none;
    transition: all 0.3s ease;
}

.btn-primary-custom:hover {
    background: linear-gradient(135deg, #1a5d3f 0%, var(--primary) 100%);
    box-shadow: 0 0.25rem 0.5rem rgba(20, 76, 48, 0.3);
}

/* Process Step Hover Effect */
.process-step {
    transition: all 0.3s ease;
    cursor: pointer;
}

.process-step:hover {
    background-color: #f8f9fa;
    padding-left: 1rem;
    border-left: 4px solid var(--primary) !important;
}

/* Status Report Card */
.status-report-card {
    border: 1px solid #e0e0e0;
    transition: all 0.3s ease;
}

.status-report-card:hover {
    border-color: var(--primary);
}

/* Requirement Cards */
.requirement-card {
    transition: all 0.3s ease;
}

/* Numbered Circle Animation */
.numbered-circle {
    transition: all 0.3s ease;
}

.process-step:hover .numbered-circle {
    box-shadow: 0 0.25rem 0.75rem rgba(20, 76, 48, 0.4);
}

/* Directive and Penalty Cards */
.directive-card,
.penalty-card {
    transition: all 0.3s ease;
}

.directive-card:hover,
.penalty-card:hover {
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

/* Icon Container Styling */
.icon-container {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

/* Gradient Backgrounds */
.gradient-primary {
    background: linear-gradient(135deg, var(--primary) 0%, #1a5d3f 100%);
}

.gradient-success {
    background: linear-gradient(135deg, var(--primary) 0%, #1a5d3f 100%);
}

/* Text Color Utilities */
.text-primary-custom {
    color: var(--primary) !important;
}

/* Border Accent */
.border-accent-primary {
    border-left: 4px solid var(--primary) !important;
}

/* Process Arrow Animation */
.process-arrow {
    transition: transform 0.3s ease;
}

.process-step:hover .process-arrow {
    transform: translateX(5px);
    color: var(--primary) !important;
}

/* Status Header - Generic for all pages */
.biodiversity-status-header,
.pbr-status-header,
.bmc-status-header,
.abs-status-header {
    border-radius: 0.5rem 0.5rem 0 0;
}

/* Document Preview - Generic for all pages */
.biodiversity-document-preview,
.pbr-document-preview,
.bmc-document-preview,
.abs-document-preview {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #ffffff;
    padding: 2rem;
    border-radius: 0.5rem;
    min-height: 600px;
}

.biodiversity-document-image,
.pbr-document-image,
.bmc-document-image,
.abs-document-image {
    max-height: 700px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    border-radius: 0.25rem;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.biodiversity-document-image:hover,
.pbr-document-image:hover,
.bmc-document-image:hover,
.abs-document-image:hover {
    transform: scale(1.01);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

/* Frosted Glass Effect for Info Boxes */
.info-box-glass {
    transition: all 0.3s ease;
}

.info-box-glass:hover {
    background: rgba(255, 255, 255, 0.25) !important;
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15) !important;
    border-color: rgba(255, 255, 255, 0.6) !important;
}

/* Status Header Button Hover Effects */
.biodiversity-status-header .btn,
.pbr-status-header .btn,
.bmc-status-header .btn,
.abs-status-header .btn {
    transition: all 0.3s ease;
}

.biodiversity-status-header .btn:hover,
.pbr-status-header .btn:hover,
.bmc-status-header .btn:hover,
.abs-status-header .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Action Buttons Hover Effects */
.status-report-card .btn {
    transition: all 0.3s ease;
}

.status-report-card .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.status-report-card .btn-outline-secondary:hover {
    background-color: #f8f9fa;
    border-color: #adb5bd;
    color: #495057;
}

/* Common Utility Classes */
.about-section-gradient {
    background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
}

.status-header-gradient {
    background: linear-gradient(to right, #1a5d3f 0%, #0d4a2e 50%, #0a7d5a 100%);
}

.status-header-gradient {
    min-height: 400px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.pill-label {
    border: 2px solid rgba(26, 93, 63, 0.3);
}

.pill-label i {
    color: var(--primary);
    font-size: 0.9rem;
}

.pill-label span {
    color: var(--primary);
    font-size: 0.9rem;
    letter-spacing: 0.5px;
}

.status-title {
    font-size: 2.75rem;
    font-weight: 700;
    letter-spacing: -0.5px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.status-subtitle {
    font-size: 1.1rem;
    opacity: 0.95;
    max-width: 850px;
    line-height: 1.7;
    font-weight: 400;
}

.document-icon-container {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary) 0%, #1a5d3f 100%);
    border-radius: 0.5rem;
}

.document-title {
    font-size: 1.3rem;
    margin-bottom: 0.25rem;
    color: #212529;
}

.document-subtitle {
    font-size: 0.9rem;
    color: #6c757d;
}

.btn-download-primary {
    background: linear-gradient(135deg, var(--primary) 0%, #1a5d3f 100%);
    border-radius: 0.5rem;
    border: none;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.btn-action-secondary {
    background-color: #ffffff;
    border: 1px solid #dee2e6;
    border-radius: 0.5rem;
    color: var(--primary);
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.document-preview-container {
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    padding: 2rem;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-document-section {
    background: linear-gradient(135deg, #e0f2f1 0%, #b2dfdb 100%) !important;
    border: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.info-icon-circle {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #4fc3f7 0%, #29b6f6 100%);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.about-document-title {
    color: #212529;
    font-size: 1.1rem;
    font-weight: 600;
}

.about-document-text {
    color: #495057;
    font-size: 0.95rem;
    line-height: 1.7;
}

.status-report-card-container {
    background-color: #ffffff;
    border: 1px solid #e0e0e0 !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.white-content-area {
    border-top: none;
}

/* Responsive Adjustments */
@media (max-width: 992px) {
    .biodiversity-document-image,
    .pbr-document-image,
    .bmc-document-image,
    .abs-document-image {
        max-height: 550px;
    }
}

@media (max-width: 768px) {
    .biodiversity-document-preview,
    .pbr-document-preview,
    .bmc-document-preview,
    .abs-document-preview {
        padding: 1.5rem;
        min-height: 400px;
    }

    .biodiversity-document-image,
    .pbr-document-image,
    .bmc-document-image,
    .abs-document-image {
        max-height: 450px;
        width: 100%;
    }

    .status-report-card .d-flex {
        flex-direction: column;
        align-items: flex-start !important;
    }

    .status-report-card .d-flex > div:last-child {
        width: 100%;
        margin-top: 1rem;
    }

    .status-report-card .btn {
        flex: 1;
        min-width: 120px;
    }

    .process-step {
        flex-direction: column;
        align-items: flex-start !important;
    }

    .process-step .flex-shrink-0:last-child {
        align-self: flex-end;
        margin-top: 0.5rem;
    }

    .biodiversity-card-body,
    .pbr-card-body,
    .bmc-card-body,
    .abs-card-body {
        padding: 1.5rem !important;
    }

    .display-3 {
        font-size: 2rem;
    }
}

@media (max-width: 576px) {
    .biodiversity-document-preview,
    .pbr-document-preview,
    .bmc-document-preview,
    .abs-document-preview {
        padding: 1.5rem 1rem;
        min-height: 350px;
    }

    .biodiversity-document-image,
    .pbr-document-image,
    .bmc-document-image,
    .abs-document-image {
        max-height: 350px;
    }

    .biodiversity-status-header h2,
    .pbr-status-header h2,
    .bmc-status-header h2,
    .abs-status-header h2 {
        font-size: 1.75rem !important;
    }
}

/* Print Styles */
@media print {
    .biodiversity-card,
    .pbr-card,
    .bmc-card,
    .abs-card {
        break-inside: avoid;
        page-break-inside: avoid;
    }

    .btn {
        display: none;
    }
}

/* Loading Animation for Icons */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Badge Styling */
.badge-custom {
    background-color: var(--primary);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    font-weight: 600;
}

/* Card Header Styling */
.biodiversity-card-header-custom,
.pbr-card-header-custom {
    background: linear-gradient(135deg, var(--primary) 0%, #1a5d3f 100%);
    border: none;
    padding: 1.5rem;
}

/* Info Icon Styling */
.info-icon {
    color: var(--primary);
    font-size: 1.2rem;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }

    50% {
        opacity: 0.7;
    }
}

/* Status Box Styling */
.status-box {
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 0.5rem;
    padding: 1rem;
    text-align: center;
    transition: all 0.3s ease;
}

.status-box:hover {
    border-color: var(--primary);
    background: #f8f9fa;
}

/* Footer Section Styling (for PBR page) */
.pbr-footer-section {
    background: linear-gradient(135deg, var(--primary) 0%, #1a5d3f 100%);
    border-radius: 0.75rem;
    padding: 2rem;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

.pbr-resource-list li {
    transition: all 0.3s ease;
}

.pbr-resource-list li:hover {
    transform: translateX(5px);
}

.pbr-resource-list a {
    transition: color 0.3s ease;
}

.pbr-resource-list a:hover {
    color: #ffc107 !important;
    text-decoration: underline !important;
}

.pbr-notice-section {
    background-color: rgba(0, 0, 0, 0.2);
    border-radius: 0.5rem;
    padding: 1.25rem;
    border-left: 4px solid #ffc107;
}

.pbr-footer-section .btn-light {
    transition: all 0.3s ease;
}

.pbr-footer-section .btn-light:hover {
    transform: translateY(-2px);
    box-shadow: 0 0.25rem 0.5rem rgba(0, 0, 0, 0.2);
}

@media (max-width: 768px) {
    .pbr-footer-section {
        padding: 1.5rem;
    }

    .pbr-resource-list {
        margin-bottom: 1.5rem;
    }
}

/*** Rules Page Styles ***/
.rules-tab-btn {
    cursor: pointer;
}

.rules-tab-btn.active {
    border: 2px solid var(--primary) !important;
    background-color: #ffffff !important;
}

.rules-tab-btn.active .badge {
    background: var(--primary) !important;
}

.sticky-top {
    position: sticky;
    top: 100px;
    z-index: 10;
}

@media (max-width: 992px) {
    .sticky-top {
        position: relative;
        top: 0;
    }
}

/* Rules Content Section */
.rules-content-section {
    min-height: 400px;
}

/* Remove all transitions and hover effects for rules page */
.rules-tab-btn,
.rules-tab-btn:hover,
.rules-tab-btn .badge,
.rules-tab-btn.active .badge,
.btn-link[data-bs-toggle="collapse"] i,
.biodiversity-card,
.biodiversity-card:hover,
.info-box,
.info-box:hover,
.process-step,
.process-step:hover,
.status-report-card,
.status-report-card:hover {
    transition: none !important;
    transform: none !important;
}

/* Remove hover effects specifically for rules page elements */
#rulesTabs .rules-tab-btn:hover {
    transform: none !important;
    box-shadow: none !important;
}

/* Additional Utility Classes for Inline Style Replacement */
.about-section-bg {
    background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
}

.about-section-icon {
    color: #1a5d3f;
}

.about-section-title {
    color: #1a5d3f;
    font-weight: 600;
}

.about-section-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #2e7d32;
}

.status-header-bg {
    background: linear-gradient(to right, #1a5d3f 0%, #0d4a2e 50%, #0a7d5a 100%);
    min-height: 400px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.pill-label-white {
    border: 2px solid rgba(26, 93, 63, 0.3);
}

.pill-label-icon {
    color: var(--primary);
    font-size: 0.9rem;
}

.pill-label-text {
    color: var(--primary);
    font-size: 0.9rem;
    letter-spacing: 0.5px;
}

.status-main-title {
    font-size: 2.75rem;
    font-weight: 700;
    letter-spacing: -0.5px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.status-subtitle-text {
    font-size: 1.1rem;
    opacity: 0.95;
    max-width: 850px;
    line-height: 1.7;
    font-weight: 400;
}

.info-box-glass-bg {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(12px) saturate(180%);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.info-box-label {
    font-size: 0.7rem;
    letter-spacing: 1px;
    opacity: 0.9;
}

.info-box-value {
    font-size: 1.05rem;
}

.white-content-wrapper {
    border-top: none;
}

.report-card-wrapper {
    background-color: #ffffff;
    border: 1px solid #e0e0e0 !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.document-icon-wrapper {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary) 0%, #1a5d3f 100%);
    border-radius: 0.5rem;
}

.report-title {
    color: #212529;
    font-size: 1.3rem;
    margin-bottom: 0.25rem;
}

.report-subtitle {
    font-size: 0.9rem;
    color: #6c757d;
}

.btn-download {
    background: linear-gradient(135deg, var(--primary) 0%, #1a5d3f 100%);
    border-radius: 0.5rem;
    border: none;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.btn-action {
    background-color: #ffffff;
    border: 1px solid #dee2e6;
    border-radius: 0.5rem;
    color: var(--primary);
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.btn-action-icon {
    color: var(--primary);
}

.document-preview-wrapper {
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    padding: 2rem;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.document-image-responsive {
    max-width: 100%;
    height: auto;
    border-radius: 0.25rem;
}

.about-document-wrapper {
    background: linear-gradient(135deg, #e0f2f1 0%, #b2dfdb 100%) !important;
    border: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.info-icon-wrapper {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #4fc3f7 0%, #29b6f6 100%);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.about-doc-title {
    color: #212529;
    font-size: 1.1rem;
    font-weight: 600;
}

.about-doc-text {
    color: #495057;
    font-size: 0.95rem;
    line-height: 1.7;
}

.section-title-primary {
    color: var(--primary);
}

/*** Global Dark Mode Styles - Green Color Palette ***/
/* Dark Mode: Light Green Text on Dark Green Backgrounds */
[data-theme="dark-1"],
[data-theme="dark-2"],
[data-theme="dark-3"],
[data-theme="dark-4"],
[data-theme="dark-5"] {
    /* Body and Background */
    background-color: var(--bg-color) !important;
}

[data-theme="dark-1"] body,
[data-theme="dark-2"] body,
[data-theme="dark-3"] body,
[data-theme="dark-4"] body,
[data-theme="dark-5"] body {
    background-color: var(--bg-color);
    color: var(--text-color);
}

/* Container and Sections */
[data-theme="dark-1"] .container,
[data-theme="dark-2"] .container,
[data-theme="dark-3"] .container,
[data-theme="dark-4"] .container,
[data-theme="dark-5"] .container,
[data-theme="dark-1"] .container-fluid,
[data-theme="dark-2"] .container-fluid,
[data-theme="dark-3"] .container-fluid,
[data-theme="dark-4"] .container-fluid,
[data-theme="dark-5"] .container-fluid {
    background-color: transparent;
    color: var(--text-color);
}

[data-theme="dark-1"] .container-xxl,
[data-theme="dark-2"] .container-xxl,
[data-theme="dark-3"] .container-xxl,
[data-theme="dark-4"] .container-xxl,
[data-theme="dark-5"] .container-xxl {
    background-color: transparent;
    color: var(--text-color);
}

/* Cards */
[data-theme="dark-1"] .card,
[data-theme="dark-2"] .card,
[data-theme="dark-3"] .card,
[data-theme="dark-4"] .card,
[data-theme="dark-5"] .card,
[data-theme="dark-1"] .biodiversity-card,
[data-theme="dark-2"] .biodiversity-card,
[data-theme="dark-3"] .biodiversity-card,
[data-theme="dark-4"] .biodiversity-card,
[data-theme="dark-5"] .biodiversity-card {
    background-color: var(--card-bg) !important;
    border-color: var(--border-color) !important;
    color: var(--text-color);
}

[data-theme="dark-1"] .card-body,
[data-theme="dark-2"] .card-body,
[data-theme="dark-3"] .card-body,
[data-theme="dark-4"] .card-body,
[data-theme="dark-5"] .card-body,
[data-theme="dark-1"] .biodiversity-card-body,
[data-theme="dark-2"] .biodiversity-card-body,
[data-theme="dark-3"] .biodiversity-card-body,
[data-theme="dark-4"] .biodiversity-card-body,
[data-theme="dark-5"] .biodiversity-card-body {
    background-color: transparent;
    color: var(--text-color);
}

[data-theme="dark-1"] .card-header,
[data-theme="dark-2"] .card-header,
[data-theme="dark-3"] .card-header,
[data-theme="dark-4"] .card-header,
[data-theme="dark-5"] .card-header {
    background-color: var(--dark) !important;
    border-color: var(--border-color) !important;
    color: var(--text-color) !important;
}

/* Headings */
[data-theme="dark-1"] h1,
[data-theme="dark-2"] h1,
[data-theme="dark-3"] h1,
[data-theme="dark-4"] h1,
[data-theme="dark-5"] h1,
[data-theme="dark-1"] h2,
[data-theme="dark-2"] h2,
[data-theme="dark-3"] h2,
[data-theme="dark-4"] h2,
[data-theme="dark-5"] h2,
[data-theme="dark-1"] h3,
[data-theme="dark-2"] h3,
[data-theme="dark-3"] h3,
[data-theme="dark-4"] h3,
[data-theme="dark-5"] h3,
[data-theme="dark-1"] h4,
[data-theme="dark-2"] h4,
[data-theme="dark-3"] h4,
[data-theme="dark-4"] h4,
[data-theme="dark-5"] h4,
[data-theme="dark-1"] h5,
[data-theme="dark-2"] h5,
[data-theme="dark-3"] h5,
[data-theme="dark-4"] h5,
[data-theme="dark-5"] h5,
[data-theme="dark-1"] h6,
[data-theme="dark-2"] h6,
[data-theme="dark-3"] h6,
[data-theme="dark-4"] h6,
[data-theme="dark-5"] h6 {
    color: #c8e6c9 !important;
}

[data-theme="dark-1"] .text-primary,
[data-theme="dark-2"] .text-primary,
[data-theme="dark-3"] .text-primary,
[data-theme="dark-4"] .text-primary,
[data-theme="dark-5"] .text-primary {
    color: var(--primary) !important;
}

/* Paragraphs and Text */
[data-theme="dark-1"] p,
[data-theme="dark-2"] p,
[data-theme="dark-3"] p,
[data-theme="dark-4"] p,
[data-theme="dark-5"] p {
    color: var(--text-color);
}

[data-theme="dark-1"] .text-muted,
[data-theme="dark-2"] .text-muted,
[data-theme="dark-3"] .text-muted,
[data-theme="dark-4"] .text-muted,
[data-theme="dark-5"] .text-muted {
    color: #a5d6a7 !important;
}

[data-theme="dark-1"] .text-secondary,
[data-theme="dark-2"] .text-secondary,
[data-theme="dark-3"] .text-secondary,
[data-theme="dark-4"] .text-secondary,
[data-theme="dark-5"] .text-secondary {
    color: #81c784 !important;
}

/* Tables */
[data-theme="dark-1"] .table,
[data-theme="dark-2"] .table,
[data-theme="dark-3"] .table,
[data-theme="dark-4"] .table,
[data-theme="dark-5"] .table {
    color: var(--text-color);
    background-color: var(--card-bg);
    border-color: var(--border-color);
}

[data-theme="dark-1"] .table thead,
[data-theme="dark-2"] .table thead,
[data-theme="dark-3"] .table thead,
[data-theme="dark-4"] .table thead,
[data-theme="dark-5"] .table thead {
    background-color: var(--dark) !important;
    color: var(--text-color) !important;
}

[data-theme="dark-1"] .table tbody,
[data-theme="dark-2"] .table tbody,
[data-theme="dark-3"] .table tbody,
[data-theme="dark-4"] .table tbody,
[data-theme="dark-5"] .table tbody {
    background-color: var(--card-bg);
    color: var(--text-color);
}

[data-theme="dark-1"] .table tbody tr,
[data-theme="dark-2"] .table tbody tr,
[data-theme="dark-3"] .table tbody tr,
[data-theme="dark-4"] .table tbody tr,
[data-theme="dark-5"] .table tbody tr {
    border-color: var(--border-color);
}

[data-theme="dark-1"] .table tbody tr:nth-child(even),
[data-theme="dark-2"] .table tbody tr:nth-child(even),
[data-theme="dark-3"] .table tbody tr:nth-child(even),
[data-theme="dark-4"] .table tbody tr:nth-child(even),
[data-theme="dark-5"] .table tbody tr:nth-child(even) {
    background-color: var(--light) !important;
}

/* Forms */
[data-theme="dark-1"] .form-control,
[data-theme="dark-2"] .form-control,
[data-theme="dark-3"] .form-control,
[data-theme="dark-4"] .form-control,
[data-theme="dark-5"] .form-control,
[data-theme="dark-1"] input[type="text"],
[data-theme="dark-2"] input[type="text"],
[data-theme="dark-3"] input[type="text"],
[data-theme="dark-4"] input[type="text"],
[data-theme="dark-5"] input[type="text"],
[data-theme="dark-1"] input[type="email"],
[data-theme="dark-2"] input[type="email"],
[data-theme="dark-3"] input[type="email"],
[data-theme="dark-4"] input[type="email"],
[data-theme="dark-5"] input[type="email"],
[data-theme="dark-1"] input[type="password"],
[data-theme="dark-2"] input[type="password"],
[data-theme="dark-3"] input[type="password"],
[data-theme="dark-4"] input[type="password"],
[data-theme="dark-5"] input[type="password"],
[data-theme="dark-1"] textarea,
[data-theme="dark-2"] textarea,
[data-theme="dark-3"] textarea,
[data-theme="dark-4"] textarea,
[data-theme="dark-5"] textarea,
[data-theme="dark-1"] select,
[data-theme="dark-2"] select,
[data-theme="dark-3"] select,
[data-theme="dark-4"] select,
[data-theme="dark-5"] select {
    background-color: var(--dark) !important;
    border-color: var(--border-color) !important;
    color: var(--text-color) !important;
}

[data-theme="dark-1"] .form-control:focus,
[data-theme="dark-2"] .form-control:focus,
[data-theme="dark-3"] .form-control:focus,
[data-theme="dark-4"] .form-control:focus,
[data-theme="dark-5"] .form-control:focus {
    background-color: var(--dark);
    border-color: var(--primary);
    color: var(--text-color);
    box-shadow: 0 0 0 0.2rem rgba(102, 187, 106, 0.25);
}

[data-theme="dark-1"] .form-control::placeholder,
[data-theme="dark-2"] .form-control::placeholder,
[data-theme="dark-3"] .form-control::placeholder,
[data-theme="dark-4"] .form-control::placeholder,
[data-theme="dark-5"] .form-control::placeholder {
    color: #81c784 !important;
    opacity: 0.7;
}

/* Buttons - Keep primary green, adjust others */
[data-theme="dark-1"] .btn-light,
[data-theme="dark-2"] .btn-light,
[data-theme="dark-3"] .btn-light,
[data-theme="dark-4"] .btn-light,
[data-theme="dark-5"] .btn-light {
    background-color: var(--card-bg);
    border-color: var(--border-color);
    color: var(--text-color);
}

[data-theme="dark-1"] .btn-light:hover,
[data-theme="dark-2"] .btn-light:hover,
[data-theme="dark-3"] .btn-light:hover,
[data-theme="dark-4"] .btn-light:hover,
[data-theme="dark-5"] .btn-light:hover {
    background-color: var(--dark);
    border-color: var(--primary);
    color: var(--primary);
}

[data-theme="dark-1"] .btn-outline-primary,
[data-theme="dark-2"] .btn-outline-primary,
[data-theme="dark-3"] .btn-outline-primary,
[data-theme="dark-4"] .btn-outline-primary,
[data-theme="dark-5"] .btn-outline-primary {
    border-color: var(--primary);
    color: var(--primary);
}

[data-theme="dark-1"] .btn-outline-primary:hover,
[data-theme="dark-2"] .btn-outline-primary:hover,
[data-theme="dark-3"] .btn-outline-primary:hover,
[data-theme="dark-4"] .btn-outline-primary:hover,
[data-theme="dark-5"] .btn-outline-primary:hover {
    background-color: var(--primary);
    border-color: var(--primary);
    color: #0d3a24;
}

/* Badges */
[data-theme="dark-1"] .badge,
[data-theme="dark-2"] .badge,
[data-theme="dark-3"] .badge,
[data-theme="dark-4"] .badge,
[data-theme="dark-5"] .badge {
    background-color: var(--card-bg);
    color: var(--text-color);
}

[data-theme="dark-1"] .badge.bg-light,
[data-theme="dark-2"] .badge.bg-light,
[data-theme="dark-3"] .badge.bg-light,
[data-theme="dark-4"] .badge.bg-light,
[data-theme="dark-5"] .badge.bg-light {
    background-color: var(--card-bg) !important;
    color: var(--text-color) !important;
}

/* Alerts */
[data-theme="dark-1"] .alert,
[data-theme="dark-2"] .alert,
[data-theme="dark-3"] .alert,
[data-theme="dark-4"] .alert,
[data-theme="dark-5"] .alert {
    background-color: var(--card-bg);
    border-color: var(--border-color);
    color: var(--text-color);
}

/* Lists */
[data-theme="dark-1"] .list-group-item,
[data-theme="dark-2"] .list-group-item,
[data-theme="dark-3"] .list-group-item,
[data-theme="dark-4"] .list-group-item,
[data-theme="dark-5"] .list-group-item {
    background-color: var(--card-bg);
    border-color: var(--border-color);
    color: var(--text-color);
}

[data-theme="dark-1"] .list-group-item.active,
[data-theme="dark-2"] .list-group-item.active,
[data-theme="dark-3"] .list-group-item.active,
[data-theme="dark-4"] .list-group-item.active,
[data-theme="dark-5"] .list-group-item.active {
    background-color: var(--primary) !important;
    border-color: var(--primary) !important;
    color: var(--dark) !important;
}

/* Background Utilities */
[data-theme="dark-1"] .bg-light,
[data-theme="dark-2"] .bg-light,
[data-theme="dark-3"] .bg-light,
[data-theme="dark-4"] .bg-light,
[data-theme="dark-5"] .bg-light {
    background-color: var(--card-bg) !important;
}

[data-theme="dark-1"] .bg-white,
[data-theme="dark-2"] .bg-white,
[data-theme="dark-3"] .bg-white,
[data-theme="dark-4"] .bg-white,
[data-theme="dark-5"] .bg-white {
    background-color: var(--card-bg) !important;
}

/* Borders */
[data-theme="dark-1"] .border,
[data-theme="dark-2"] .border,
[data-theme="dark-3"] .border,
[data-theme="dark-4"] .border,
[data-theme="dark-5"] .border {
    border-color: var(--border-color) !important;
}

/* Links */
[data-theme="dark-1"] a:not(.btn):not(.nav-link):not(.dropdown-item),
[data-theme="dark-2"] a:not(.btn):not(.nav-link):not(.dropdown-item),
[data-theme="dark-3"] a:not(.btn):not(.nav-link):not(.dropdown-item),
[data-theme="dark-4"] a:not(.btn):not(.nav-link):not(.dropdown-item),
[data-theme="dark-5"] a:not(.btn):not(.nav-link):not(.dropdown-item) {
    color: var(--primary);
}

[data-theme="dark-1"] a:not(.btn):not(.nav-link):not(.dropdown-item):hover,
[data-theme="dark-2"] a:not(.btn):not(.nav-link):not(.dropdown-item):hover,
[data-theme="dark-3"] a:not(.btn):not(.nav-link):not(.dropdown-item):hover,
[data-theme="dark-4"] a:not(.btn):not(.nav-link):not(.dropdown-item):hover,
[data-theme="dark-5"] a:not(.btn):not(.nav-link):not(.dropdown-item):hover {
    color: #81c784;
}

/* Modals */
[data-theme="dark-1"] .modal-content,
[data-theme="dark-2"] .modal-content,
[data-theme="dark-3"] .modal-content,
[data-theme="dark-4"] .modal-content,
[data-theme="dark-5"] .modal-content {
    background-color: var(--card-bg);
    border-color: var(--border-color);
    color: var(--text-color);
}

[data-theme="dark-1"] .modal-header,
[data-theme="dark-2"] .modal-header,
[data-theme="dark-3"] .modal-header,
[data-theme="dark-4"] .modal-header,
[data-theme="dark-5"] .modal-header {
    background-color: var(--dark);
    border-color: var(--border-color);
    color: var(--text-color);
}

[data-theme="dark-1"] .modal-footer,
[data-theme="dark-2"] .modal-footer,
[data-theme="dark-3"] .modal-footer,
[data-theme="dark-4"] .modal-footer,
[data-theme="dark-5"] .modal-footer {
    background-color: var(--dark);
    border-color: var(--border-color);
}

/* Dropdowns */
[data-theme="dark-1"] .dropdown-menu,
[data-theme="dark-2"] .dropdown-menu,
[data-theme="dark-3"] .dropdown-menu,
[data-theme="dark-4"] .dropdown-menu,
[data-theme="dark-5"] .dropdown-menu {
    background-color: var(--card-bg);
    border-color: var(--border-color);
}

[data-theme="dark-1"] .dropdown-item,
[data-theme="dark-2"] .dropdown-item,
[data-theme="dark-3"] .dropdown-item,
[data-theme="dark-4"] .dropdown-item,
[data-theme="dark-5"] .dropdown-item {
    color: var(--text-color);
}

[data-theme="dark-1"] .dropdown-item:hover,
[data-theme="dark-2"] .dropdown-item:hover,
[data-theme="dark-3"] .dropdown-item:hover,
[data-theme="dark-4"] .dropdown-item:hover,
[data-theme="dark-5"] .dropdown-item:hover {
    background-color: var(--dark);
    color: var(--primary);
}

/* Accordions */
[data-theme="dark-1"] .accordion-item,
[data-theme="dark-2"] .accordion-item,
[data-theme="dark-3"] .accordion-item,
[data-theme="dark-4"] .accordion-item,
[data-theme="dark-5"] .accordion-item {
    background-color: var(--card-bg);
    border-color: var(--border-color);
    color: var(--text-color);
}

[data-theme="dark-1"] .accordion-button,
[data-theme="dark-2"] .accordion-button,
[data-theme="dark-3"] .accordion-button,
[data-theme="dark-4"] .accordion-button,
[data-theme="dark-5"] .accordion-button {
    background-color: var(--card-bg);
    color: var(--text-color);
}

[data-theme="dark-1"] .accordion-button:not(.collapsed),
[data-theme="dark-2"] .accordion-button:not(.collapsed),
[data-theme="dark-3"] .accordion-button:not(.collapsed),
[data-theme="dark-4"] .accordion-button:not(.collapsed),
[data-theme="dark-5"] .accordion-button:not(.collapsed) {
    background-color: var(--primary);
    color: var(--dark);
}

[data-theme="dark-1"] .accordion-body,
[data-theme="dark-2"] .accordion-body,
[data-theme="dark-3"] .accordion-body,
[data-theme="dark-4"] .accordion-body,
[data-theme="dark-5"] .accordion-body {
    background-color: var(--card-bg);
    color: var(--text-color);
}

/* Navbar - Keep original styling but add dark mode text */
[data-theme="dark-1"] .navbar:not(.navbar-dark),
[data-theme="dark-2"] .navbar:not(.navbar-dark),
[data-theme="dark-3"] .navbar:not(.navbar-dark),
[data-theme="dark-4"] .navbar:not(.navbar-dark),
[data-theme="dark-5"] .navbar:not(.navbar-dark) {
    background-color: var(--card-bg) !important;
}

[data-theme="dark-1"] .navbar-nav .nav-link:not(.navbar-dark .nav-link),
[data-theme="dark-2"] .navbar-nav .nav-link:not(.navbar-dark .nav-link),
[data-theme="dark-3"] .navbar-nav .nav-link:not(.navbar-dark .nav-link),
[data-theme="dark-4"] .navbar-nav .nav-link:not(.navbar-dark .nav-link),
[data-theme="dark-5"] .navbar-nav .nav-link:not(.navbar-dark .nav-link) {
    color: var(--text-color) !important;
}

/* Footer */
[data-theme="dark-1"] footer,
[data-theme="dark-2"] footer,
[data-theme="dark-3"] footer,
[data-theme="dark-4"] footer,
[data-theme="dark-5"] footer {
    background-color: var(--dark) !important;
    color: var(--text-color) !important;
}

/* Utility Classes */
[data-theme="dark-1"] .text-dark,
[data-theme="dark-2"] .text-dark,
[data-theme="dark-3"] .text-dark,
[data-theme="dark-4"] .text-dark,
[data-theme="dark-5"] .text-dark {
    color: var(--text-color) !important;
}

[data-theme="dark-1"] .text-white,
[data-theme="dark-2"] .text-white,
[data-theme="dark-3"] .text-white,
[data-theme="dark-4"] .text-white,
[data-theme="dark-5"] .text-white {
    color: var(--text-color) !important;
}

/* Shadow adjustments for dark mode */
[data-theme="dark-1"] .shadow,
[data-theme="dark-2"] .shadow,
[data-theme="dark-3"] .shadow,
[data-theme="dark-4"] .shadow,
[data-theme="dark-5"] .shadow,
[data-theme="dark-1"] .shadow-sm,
[data-theme="dark-2"] .shadow-sm,
[data-theme="dark-3"] .shadow-sm,
[data-theme="dark-4"] .shadow-sm,
[data-theme="dark-5"] .shadow-sm {
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.5) !important;
}

/* Home Page About Section - Dark Mode Styles */
/* Target container-fluid with specific gradient background using more specific selector */
[data-theme="dark-1"] .container-fluid.pb-5[style*="linear-gradient(135deg, #d4edda"],
[data-theme="dark-2"] .container-fluid.pb-5[style*="linear-gradient(135deg, #d4edda"],
[data-theme="dark-3"] .container-fluid.pb-5[style*="linear-gradient(135deg, #d4edda"],
[data-theme="dark-4"] .container-fluid.pb-5[style*="linear-gradient(135deg, #d4edda"],
[data-theme="dark-5"] .container-fluid.pb-5[style*="linear-gradient(135deg, #d4edda"],
[data-theme="dark-1"] .container-fluid.pb-5[style*="d4edda"],
[data-theme="dark-2"] .container-fluid.pb-5[style*="d4edda"],
[data-theme="dark-3"] .container-fluid.pb-5[style*="d4edda"],
[data-theme="dark-4"] .container-fluid.pb-5[style*="d4edda"],
[data-theme="dark-5"] .container-fluid.pb-5[style*="d4edda"] {
    background: linear-gradient(135deg, #0d3a24 0%, #144c30 50%, #1a5d3f 100%) !important;
}

[data-theme="dark-1"] .container-fluid.pb-5[style*="d4edda"] p:not(.mb-0),
[data-theme="dark-2"] .container-fluid.pb-5[style*="d4edda"] p:not(.mb-0),
[data-theme="dark-3"] .container-fluid.pb-5[style*="d4edda"] p:not(.mb-0),
[data-theme="dark-4"] .container-fluid.pb-5[style*="d4edda"] p:not(.mb-0),
[data-theme="dark-5"] .container-fluid.pb-5[style*="d4edda"] p:not(.mb-0),
[data-theme="dark-1"] .container-fluid.pb-5[style*="linear-gradient(135deg, #d4edda"] p:not(.mb-0),
[data-theme="dark-2"] .container-fluid.pb-5[style*="linear-gradient(135deg, #d4edda"] p:not(.mb-0),
[data-theme="dark-3"] .container-fluid.pb-5[style*="linear-gradient(135deg, #d4edda"] p:not(.mb-0),
[data-theme="dark-4"] .container-fluid.pb-5[style*="linear-gradient(135deg, #d4edda"] p:not(.mb-0),
[data-theme="dark-5"] .container-fluid.pb-5[style*="linear-gradient(135deg, #d4edda"] p:not(.mb-0) {
    color: #a5d6a7 !important;
}

[data-theme="dark-1"] .container-fluid.pb-5[style*="d4edda"] h1.display-5,
[data-theme="dark-2"] .container-fluid.pb-5[style*="d4edda"] h1.display-5,
[data-theme="dark-3"] .container-fluid.pb-5[style*="d4edda"] h1.display-5,
[data-theme="dark-4"] .container-fluid.pb-5[style*="d4edda"] h1.display-5,
[data-theme="dark-5"] .container-fluid.pb-5[style*="d4edda"] h1.display-5,
[data-theme="dark-1"] .container-fluid.pb-5[style*="linear-gradient(135deg, #d4edda"] h1.display-5,
[data-theme="dark-2"] .container-fluid.pb-5[style*="linear-gradient(135deg, #d4edda"] h1.display-5,
[data-theme="dark-3"] .container-fluid.pb-5[style*="linear-gradient(135deg, #d4edda"] h1.display-5,
[data-theme="dark-4"] .container-fluid.pb-5[style*="linear-gradient(135deg, #d4edda"] h1.display-5,
[data-theme="dark-5"] .container-fluid.pb-5[style*="linear-gradient(135deg, #d4edda"] h1.display-5 {
    color: #c8e6c9 !important;
}

[data-theme="dark-1"] .container-fluid.pb-5[style*="d4edda"] h1.display-5 .text-primary,
[data-theme="dark-2"] .container-fluid.pb-5[style*="d4edda"] h1.display-5 .text-primary,
[data-theme="dark-3"] .container-fluid.pb-5[style*="d4edda"] h1.display-5 .text-primary,
[data-theme="dark-4"] .container-fluid.pb-5[style*="d4edda"] h1.display-5 .text-primary,
[data-theme="dark-5"] .container-fluid.pb-5[style*="d4edda"] h1.display-5 .text-primary,
[data-theme="dark-1"] .container-fluid.pb-5[style*="linear-gradient(135deg, #d4edda"] h1.display-5 .text-primary,
[data-theme="dark-2"] .container-fluid.pb-5[style*="linear-gradient(135deg, #d4edda"] h1.display-5 .text-primary,
[data-theme="dark-3"] .container-fluid.pb-5[style*="linear-gradient(135deg, #d4edda"] h1.display-5 .text-primary,
[data-theme="dark-4"] .container-fluid.pb-5[style*="linear-gradient(135deg, #d4edda"] h1.display-5 .text-primary,
[data-theme="dark-5"] .container-fluid.pb-5[style*="linear-gradient(135deg, #d4edda"] h1.display-5 .text-primary {
    color: var(--primary) !important;
}

[data-theme="dark-1"] .container-fluid.pb-5[style*="d4edda"] h5.mb-3,
[data-theme="dark-2"] .container-fluid.pb-5[style*="d4edda"] h5.mb-3,
[data-theme="dark-3"] .container-fluid.pb-5[style*="d4edda"] h5.mb-3,
[data-theme="dark-4"] .container-fluid.pb-5[style*="d4edda"] h5.mb-3,
[data-theme="dark-5"] .container-fluid.pb-5[style*="d4edda"] h5.mb-3,
[data-theme="dark-1"] .container-fluid.pb-5[style*="linear-gradient(135deg, #d4edda"] h5.mb-3,
[data-theme="dark-2"] .container-fluid.pb-5[style*="linear-gradient(135deg, #d4edda"] h5.mb-3,
[data-theme="dark-3"] .container-fluid.pb-5[style*="linear-gradient(135deg, #d4edda"] h5.mb-3,
[data-theme="dark-4"] .container-fluid.pb-5[style*="linear-gradient(135deg, #d4edda"] h5.mb-3,
[data-theme="dark-5"] .container-fluid.pb-5[style*="linear-gradient(135deg, #d4edda"] h5.mb-3 {
    color: #c8e6c9 !important;
}

[data-theme="dark-1"] .container-fluid.pb-5[style*="d4edda"] .fa-check-circle.text-primary,
[data-theme="dark-2"] .container-fluid.pb-5[style*="d4edda"] .fa-check-circle.text-primary,
[data-theme="dark-3"] .container-fluid.pb-5[style*="d4edda"] .fa-check-circle.text-primary,
[data-theme="dark-4"] .container-fluid.pb-5[style*="d4edda"] .fa-check-circle.text-primary,
[data-theme="dark-5"] .container-fluid.pb-5[style*="d4edda"] .fa-check-circle.text-primary,
[data-theme="dark-1"] .container-fluid.pb-5[style*="linear-gradient(135deg, #d4edda"] .fa-check-circle.text-primary,
[data-theme="dark-2"] .container-fluid.pb-5[style*="linear-gradient(135deg, #d4edda"] .fa-check-circle.text-primary,
[data-theme="dark-3"] .container-fluid.pb-5[style*="linear-gradient(135deg, #d4edda"] .fa-check-circle.text-primary,
[data-theme="dark-4"] .container-fluid.pb-5[style*="linear-gradient(135deg, #d4edda"] .fa-check-circle.text-primary,
[data-theme="dark-5"] .container-fluid.pb-5[style*="linear-gradient(135deg, #d4edda"] .fa-check-circle.text-primary {
    color: var(--primary) !important;
}

[data-theme="dark-1"] .container-fluid.pb-5[style*="d4edda"] p .text-primary,
[data-theme="dark-2"] .container-fluid.pb-5[style*="d4edda"] p .text-primary,
[data-theme="dark-3"] .container-fluid.pb-5[style*="d4edda"] p .text-primary,
[data-theme="dark-4"] .container-fluid.pb-5[style*="d4edda"] p .text-primary,
[data-theme="dark-5"] .container-fluid.pb-5[style*="d4edda"] p .text-primary,
[data-theme="dark-1"] .container-fluid.pb-5[style*="linear-gradient(135deg, #d4edda"] p .text-primary,
[data-theme="dark-2"] .container-fluid.pb-5[style*="linear-gradient(135deg, #d4edda"] p .text-primary,
[data-theme="dark-3"] .container-fluid.pb-5[style*="linear-gradient(135deg, #d4edda"] p .text-primary,
[data-theme="dark-4"] .container-fluid.pb-5[style*="linear-gradient(135deg, #d4edda"] p .text-primary,
[data-theme="dark-5"] .container-fluid.pb-5[style*="linear-gradient(135deg, #d4edda"] p .text-primary {
    color: var(--primary) !important;
}

/* Image Border - Dark Mode */
[data-theme="dark-1"] .img-border,
[data-theme="dark-2"] .img-border,
[data-theme="dark-3"] .img-border,
[data-theme="dark-4"] .img-border,
[data-theme="dark-5"] .img-border {
    border-color: var(--border-color) !important;
}

[data-theme="dark-1"] .img-border::before,
[data-theme="dark-2"] .img-border::before,
[data-theme="dark-3"] .img-border::before,
[data-theme="dark-4"] .img-border::before,
[data-theme="dark-5"] .img-border::before {
    border-color: var(--border-color) !important;
}

/* Key Initiatives / Membership Section - Dark Mode */
[data-theme="dark-1"] .membership-item,
[data-theme="dark-2"] .membership-item,
[data-theme="dark-3"] .membership-item,
[data-theme="dark-4"] .membership-item,
[data-theme="dark-5"] .membership-item {
    background: rgba(13, 58, 36, 0.6) !important;
}

[data-theme="dark-1"] .membership-item img,
[data-theme="dark-2"] .membership-item img,
[data-theme="dark-3"] .membership-item img,
[data-theme="dark-4"] .membership-item img,
[data-theme="dark-5"] .membership-item img {
    opacity: 0.4 !important;
    /* z-index: -1; */
}

[data-theme="dark-1"] .membership-item h1.display-1,
[data-theme="dark-2"] .membership-item h1.display-1,
[data-theme="dark-3"] .membership-item h1.display-1,
[data-theme="dark-4"] .membership-item h1.display-1,
[data-theme="dark-5"] .membership-item h1.display-1 {
    color: var(--primary) !important;
    -webkit-text-stroke: 2px var(--primary) !important;
}

[data-theme="dark-1"] .membership-item h4.text-white,
[data-theme="dark-2"] .membership-item h4.text-white,
[data-theme="dark-3"] .membership-item h4.text-white,
[data-theme="dark-4"] .membership-item h4.text-white,
[data-theme="dark-5"] .membership-item h4.text-white {
    color: #c8e6c9 !important;
}

[data-theme="dark-1"] .membership-item h3.text-light-green,
[data-theme="dark-2"] .membership-item h3.text-light-green,
[data-theme="dark-3"] .membership-item h3.text-light-green,
[data-theme="dark-4"] .membership-item h3.text-light-green,
[data-theme="dark-5"] .membership-item h3.text-light-green {
    color: var(--primary) !important;
}

[data-theme="dark-1"] .membership-item p,
[data-theme="dark-2"] .membership-item p,
[data-theme="dark-3"] .membership-item p,
[data-theme="dark-4"] .membership-item p,
[data-theme="dark-5"] .membership-item p {
    color: #a5d6a7 !important;
}

[data-theme="dark-1"] .membership-item .fa-check.text-light-green,
[data-theme="dark-2"] .membership-item .fa-check.text-light-green,
[data-theme="dark-3"] .membership-item .fa-check.text-light-green,
[data-theme="dark-4"] .membership-item .fa-check.text-light-green,
[data-theme="dark-5"] .membership-item .fa-check.text-light-green {
    color: var(--primary) !important;
}

[data-theme="dark-1"] .membership-item .btn-outline-light,
[data-theme="dark-2"] .membership-item .btn-outline-light,
[data-theme="dark-3"] .membership-item .btn-outline-light,
[data-theme="dark-4"] .membership-item .btn-outline-light,
[data-theme="dark-5"] .membership-item .btn-outline-light {
    border-color: var(--primary) !important;
    color: var(--primary) !important;
}

[data-theme="dark-1"] .membership-item .btn-outline-light:hover,
[data-theme="dark-2"] .membership-item .btn-outline-light:hover,
[data-theme="dark-3"] .membership-item .btn-outline-light:hover,
[data-theme="dark-4"] .membership-item .btn-outline-light:hover,
[data-theme="dark-5"] .membership-item .btn-outline-light:hover {
    background-color: var(--primary) !important;
    color: var(--dark) !important;
}

/* Explore Biodiversity Section - Dark Mode Background & Font Colors */
[data-theme="dark-1"] .container-fluid.py-5[style*="d4edda"],
[data-theme="dark-2"] .container-fluid.py-5[style*="d4edda"],
[data-theme="dark-3"] .container-fluid.py-5[style*="d4edda"],
[data-theme="dark-4"] .container-fluid.py-5[style*="d4edda"],
[data-theme="dark-5"] .container-fluid.py-5[style*="d4edda"] {
    background: linear-gradient(135deg, #0d3a24 0%, #144c30 50%, #1a5d3f 100%) !important;
}

[data-theme="dark-1"] .container-fluid[style*="d4edda"] h1.display-5,
[data-theme="dark-2"] .container-fluid[style*="d4edda"] h1.display-5,
[data-theme="dark-3"] .container-fluid[style*="d4edda"] h1.display-5,
[data-theme="dark-4"] .container-fluid[style*="d4edda"] h1.display-5,
[data-theme="dark-5"] .container-fluid[style*="d4edda"] h1.display-5 {
    color: #c8e6c9 !important;
}

[data-theme="dark-1"] .container-fluid[style*="d4edda"] p,
[data-theme="dark-2"] .container-fluid[style*="d4edda"] p,
[data-theme="dark-3"] .container-fluid[style*="d4edda"] p,
[data-theme="dark-4"] .container-fluid[style*="d4edda"] p,
[data-theme="dark-5"] .container-fluid[style*="d4edda"] p {
    color: #a5d6a7 !important;
}

[data-theme="dark-1"] .container-fluid[style*="d4edda"] h5,
[data-theme="dark-2"] .container-fluid[style*="d4edda"] h5,
[data-theme="dark-3"] .container-fluid[style*="d4edda"] h5,
[data-theme="dark-4"] .container-fluid[style*="d4edda"] h5,
[data-theme="dark-5"] .container-fluid[style*="d4edda"] h5 {
    color: #c8e6c9 !important;
}

[data-theme="dark-1"] .container-fluid[style*="d4edda"] span,
[data-theme="dark-2"] .container-fluid[style*="d4edda"] span,
[data-theme="dark-3"] .container-fluid[style*="d4edda"] span,
[data-theme="dark-4"] .container-fluid[style*="d4edda"] span,
[data-theme="dark-5"] .container-fluid[style*="d4edda"] span {
    color: #a5d6a7 !important;
}

/* Key Initiatives Header Section - Dark Mode */
[data-theme="dark-1"] .container-xxl .row[class*="align-items-end"] h1.display-5,
[data-theme="dark-2"] .container-xxl .row[class*="align-items-end"] h1.display-5,
[data-theme="dark-3"] .container-xxl .row[class*="align-items-end"] h1.display-5,
[data-theme="dark-4"] .container-xxl .row[class*="align-items-end"] h1.display-5,
[data-theme="dark-5"] .container-xxl .row[class*="align-items-end"] h1.display-5 {
    color: #c8e6c9 !important;
}

[data-theme="dark-1"] .container-xxl .row[class*="align-items-end"] p,
[data-theme="dark-2"] .container-xxl .row[class*="align-items-end"] p,
[data-theme="dark-3"] .container-xxl .row[class*="align-items-end"] p,
[data-theme="dark-4"] .container-xxl .row[class*="align-items-end"] p,
[data-theme="dark-5"] .container-xxl .row[class*="align-items-end"] p {
    color: #a5d6a7 !important;
}

/* Facts Section - Already has white text, but ensure it works in dark mode */
[data-theme="dark-1"] .facts h1.text-white,
[data-theme="dark-2"] .facts h1.text-white,
[data-theme="dark-3"] .facts h1.text-white,
[data-theme="dark-4"] .facts h1.text-white,
[data-theme="dark-5"] .facts h1.text-white {
    color: #c8e6c9 !important;
}

[data-theme="dark-1"] .facts p.text-white,
[data-theme="dark-2"] .facts p.text-white,
[data-theme="dark-3"] .facts p.text-white,
[data-theme="dark-4"] .facts p.text-white,
[data-theme="dark-5"] .facts p.text-white {
    color: #a5d6a7 !important;
}