/*** Spinner Start ***/

#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .8s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .8s ease-out, visibility 0s linear .0s;
    visibility: visible;
    opacity: 1;
}


/*** Spinner End ***/

body {
    font-family: 'Open Sans', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--ml-body-color);
    background-color: var(--ml-body-bg);
    line-height: 1.7;
    font-size: 1.05rem;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Montserrat', 'Open Sans', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-weight: 600;
    color: var(--ml-body-color);
}

h1 {
    font-weight: 700;
    letter-spacing: -0.01em;
}

h2 {
    font-weight: 700;
    letter-spacing: -0.005em;
}

h3,
h4 {
    font-weight: 600;
}

p {
    color: var(--ml-body-color);
}

.back-to-top {
    position: fixed;
    right: 30px;
    bottom: 30px;
    display: flex;
    width: 45px;
    height: 45px;
    align-items: center;
    justify-content: center;
    transition: 0.5s;
    z-index: 99;
}

.about {
    scroll-margin-top: 40px;
}

.structure-section {
    scroll-margin-top: 100px;
}


/*** Button Start ***/

.btn {
    font-weight: 600;
    transition: .35s ease;
    border-radius: 999px;
}

.btn-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
}

.btn-cta::after {
    content: "\f061";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    font-size: 0.85em;
    display: inline-block;
    transition: transform 0.3s ease;
}

.btn-cta:hover::after,
.btn-cta:focus-visible::after {
    transform: translateX(4px);
}

.btn-cta.no-arrow::after {
    content: none;
}

.icon-x-twitter {
    display: inline-flex;
    width: 1em;
    height: 1em;
}

.icon-x-twitter svg {
    width: 100%;
    height: 100%;
    display: block;
}

.icon-bluesky {
    display: inline-flex;
    width: 1em;
    height: 1em;
}

.icon-bluesky svg {
    width: 100%;
    height: 100%;
    display: block;
}

.icon-substack {
    display: inline-flex;
    width: 1.5em;
    height: 1.5em;
    transform: translateY(5px);
}

.icon-substack svg,
.icon-substack img {
    width: 100%;
    height: 100%;
    display: block;
    border-radius: 12%;
}

.social-label-raise {
    position: relative;
    top: -9px;
}


.btn-square {
    width: 32px;
    height: 32px;
}

.btn-sm-square {
    width: 34px;
    height: 34px;
}

.btn-md-square {
    width: 44px;
    height: 44px;
}

.btn-lg-square {
    width: 56px;
    height: 56px;
}

.btn-square,
.btn-sm-square,
.btn-md-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
}

.btn-hover-bg {
    transition: 0.5s;
}

.btn-hover-bg:hover {
    background: var(--bs-secondary) !important;
    color: var(--bs-primary) !important;
}

.btn-hover-color {
    transition: 0.5s;
}

.btn-hover-color:hover {
    color: var(--bs-secondary) !important;
}

.bg-light {
    background-color: var(--ml-surface-alt-bg) !important;
}

body:not(.dark-mode) .bg-light {
    background-color: #ffffff !important;
}

.bg-white {
    background-color: var(--ml-surface-bg) !important;
}

.btn-primary {
    background-color: var(--bs-primary);
    border-color: var(--bs-primary);
    color: #ffffff;
}

.btn-primary:hover,
.btn-primary:focus {
    background-color: var(--bs-secondary);
    border-color: var(--bs-secondary);
    color: #0f1c2e;
}

.btn-outline-primary {
    color: var(--bs-primary);
    border-color: var(--bs-primary);
}

.btn-outline-primary:hover,
.btn-outline-primary:focus {
    background-color: var(--bs-primary);
    color: #fff;
}

.navbar-logo-wrapper {
    position: relative;
    display: inline-block;
    height: 64px;
}

.navbar-logo {
    height: 100%;
    width: auto;
    display: block;
}

.navbar-logo--dark {
    display: none;
}

.dark-mode .navbar-logo--dark {
    display: block;
}

.dark-mode .navbar-logo--light {
    display: none;
}

@media (max-width: 575.98px) {
    .navbar-logo-wrapper {
        height: 52px;
    }
}

.footer-logo {
    height: 96px;
    width: auto;
}

@media (max-width: 991.98px) {
    .footer-logo {
        height: 72px;
    }
}


/*** Topbar Start ***/

.fixed-top .container {
    transition: 0.5s;
}

.topbar {
    padding: 6px 12px;
    background: linear-gradient(90deg, rgba(11, 59, 122, 0.94) 0%, rgba(16, 82, 154, 0.94) 100%) !important;
}

.topbar a,
.topbar a i {
    transition: 0.35s;
    color: #e7f0ff;
}

.topbar a:hover,
.topbar a i:hover {
    color: var(--bs-secondary) !important;
}

@media (max-width: 768px) {
    .topbar {
        display: none;
    }
}


/*** Topbar End ***/


/*** Navbar Start ***/

.navbar {
    padding: 0;
}

.navbar-primary {
    background: var(--ml-nav-bg) !important;
    box-shadow: 0 12px 28px rgba(10, 27, 68, 0.12);
    border-bottom: 1px solid rgba(15, 50, 120, 0.08);
}

.navbar-primary .navbar-toggler {
    border: 1px solid rgba(0, 78, 235, 0.35);
    color: var(--bs-primary);
}

.navbar-primary .navbar-toggler .fa {
    color: var(--bs-primary);
    font-size: 1.1rem;
}

.navbar-primary .navbar-toggler:focus {
    box-shadow: none;
}

.navbar-primary .navbar-title {
    color: var(--bs-primary);
    font-size: 1.55rem;
    letter-spacing: 0.12em;
}

.navbar-primary .navbar-nav .nav-link {
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.05em;
    font-family: 'Poppins', sans-serif;
    font-style: normal;
    text-transform: capitalize;
    text-decoration: none;
    transition: all 0.3s ease;
    color: rgba(255, 255, 255, 0.62);
    fill: rgba(255, 255, 255, 0.62);
    position: relative;
}

.navbar-primary .navbar-nav {
    align-items: center;
    gap: 4px;
}

.navbar-primary .navbar-nav .nav-link::after {
    content: "";
    position: absolute;
    left: 22px;
    right: 22px;
    bottom: 6px;
    height: 2px;
    background: transparent;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.navbar-primary .navbar-nav .nav-link:hover,
.navbar-primary .navbar-nav .nav-link:focus {
    color: var(--bs-primary);
}

.navbar-primary .navbar-nav .nav-link:hover::after,
.navbar-primary .navbar-nav .nav-link:focus::after {
    background: var(--bs-secondary);
}

.navbar-primary .navbar-nav .nav-link.active {
    color: var(--bs-primary);
}

.navbar-primary .navbar-nav .nav-link.active::after {
    background: var(--bs-secondary);
}

.navbar-primary .theme-toggle {
    border-color: rgba(0, 78, 235, 0.25);
    color: var(--bs-primary);
}

.navbar-primary .theme-toggle:hover,
.navbar-primary .theme-toggle:focus {
    background-color: var(--bs-primary);
    color: #ffffff;
    border-color: var(--bs-primary);
}

.navbar-actions {
    flex-shrink: 0;
}

.navbar-actions .btn {
    white-space: nowrap;
}

.btn-gradient {
    background: linear-gradient(90deg, #004EEB 0%, #1EA0FF 100%);
    border: none;
    box-shadow: 0 10px 24px rgba(0, 78, 235, 0.25);
}

.btn-gradient:hover {
    background: linear-gradient(90deg, #1EA0FF 0%, #57BCFF 100%);
    color: #0b1d3a;
}

.navbar-primary .nav-item .sub-arrow i,
.navbar-primary .nav-item .dropdown-toggle::after {
    color: var(--bs-secondary);
    font-size: 0.7rem;
    margin-left: 6px;
}

.dark-mode .navbar-primary .nav-item .sub-arrow i,
.dark-mode .navbar-primary .nav-item .dropdown-toggle::after {
    color: var(--bs-secondary);
}

.navbar-brand .navbar-title {
    font-family: 'Poppins';
    font-style: 'Light 300';
    font-weight: 700;
    letter-spacing: 0.01em;
    text-transform: uppercase;
    font-size: 2.9rem;
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 600;
    vertical-align: middle;
    margin-left: 8px;
}

@media (min-width: 1200px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        visibility: hidden;
        top: 100%;
        transform: rotateX(-75deg);
        transform-origin: 0% 0%;
        border: 0;
        transition: .5s;
        opacity: 0;
    }
    .navbar-primary .navbar-collapse {
        flex-wrap: nowrap;
    }
    .navbar-actions {
        flex: 0 0 auto;
    }
    .navbar-actions .btn {
        white-space: nowrap;
    }
}

@media (max-width: 1200px) {
    .navbar .collapse.navbar-collapse .btn-hover-bg.btn {
        margin-bottom: 20px;
    }
}

.dropdown .dropdown-menu a:hover {
    background: rgba(30, 160, 255, 0.12);
    color: var(--bs-primary);
}

.navbar .nav-item:hover .dropdown-menu {
    transform: rotateX(0deg);
    visibility: visible;
    background: var(--ml-dropdown-bg) !important;
    transition: .5s;
    opacity: 1;
}

.designer-credit {
    white-space: nowrap;
}

@media (max-width: 576px) {
    .designer-credit {
        white-space: normal;
        display: inline-block;
    }
}


/*** Navbar End ***/


/*** Carousel Start ***/

.carousel-header #carouselId .carousel-control-prev,
.carousel-header #carouselId .carousel-control-next {
    background: transparent;
}

.carousel-header #carouselId .carousel-inner .carousel-item {
    position: relative;
    min-height: 100vh
}

.carousel-header #carouselId .carousel-inner .carousel-item img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.carousel-header #carouselId .carousel-inner .carousel-item .carousel-caption {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    padding-top: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(120deg, rgba(0, 78, 235, 0.55) 0%, rgba(0, 78, 235, 0.25) 35%, rgba(0, 0, 0, 0.35) 100%);
    background-size: cover;
}

.carousel-control-prev,
.carousel-control-next {
    opacity: 0;
}

.carousel-control-prev .carousel-control-prev-icon,
.carousel-control-next .carousel-control-next-icon {
    background: transparent !important;
}

.carousel-header #carouselId.carousel {
    position: relative;
}

.carousel-header #carouselId.carousel .carousel-indicators {
    position: absolute;
    bottom: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent !important;
}

.carousel-header #carouselId.carousel .carousel-indicators li,
.carousel-header #carouselId.carousel .carousel-indicators li,
.carousel-header #carouselId.carousel .carousel-indicators li {
    margin-right: 30px !important;
}

.carousel-header #carouselId.carousel .carousel-indicators li {
    width: 12px;
    height: 12px;
    border-radius: 12px !important;
    border: 5px solid transparent;
    transition: 0.5s;
}

.carousel-header #carouselId.carousel .carousel-indicators li.active {
    border: 5px solid var(--bs-primary) !important;
    border-radius: 10px;
}


/*** Carousel End ***/


/*** Single Page Hero Header Start ***/

.bg-breadcrumb {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url(../img/group-mc.jpg);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    padding: 100px 0 0 0;
}


/*** Single Page Hero Header End ***/


/*** About Start ***/

.tab-class {
    background: var(--ml-surface-alt-bg);
    border: 1px solid rgb(0, 78, 235);
    border-radius: 18px;
    transition: border-width 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

body:not(.dark-mode) .tab-class {
    background: #ffffff !important;
    background-color: #ffffff !important;
}

body.dark-mode .tab-class {
    background: rgb(10, 20, 48);
    border-color: rgb(255, 255, 255);
}

.tab-class:hover {
    border-width: 2px;
    border-color: rgb(0, 78, 235);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
}

body.dark-mode .tab-class:hover {
    border-color: rgb(255, 255, 255);
}

.tab-class .nav .nav-item a.active,
.tab-class .nav .nav-item a.active span {
    background: var(--bs-primary) !important;
    color: var(--bs-white) !important;
}

.structure-card {
    background: var(--ml-surface-alt-bg);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    height: 100%;
}

body:not(.dark-mode) .structure-card {
    background: transparent;
    border-color: var(--bs-primary);
}

.structure-card__image {
    background-size: cover;
    background-position: center;
    filter: brightness(0.72);
    transition: filter 0.3s ease;
    aspect-ratio: 4 / 3;
    width: 100%;
    margin: 0 auto;
    border-radius: 14px;
}

.structure-card__body {
    padding: 18px 18px 21px;
    background: linear-gradient(180deg, rgba(5, 10, 28, 0.0) 0%, rgba(5, 10, 28, 0.75) 100%);
    min-height: 120px;
}

body:not(.dark-mode) .structure-card__body {
    background: transparent;
    color: #0f1c2e;
}

body:not(.dark-mode) .structure-card__body h6,
body:not(.dark-mode) .structure-card__body p {
    color: #0f1c2e;
}

.structure-panel {
    background-color: #ffffff;
}

body.dark-mode .structure-panel {
    background-color: var(--ml-surface-alt-bg);
}

.structure-card:hover {
    transform: translateY(-6px);
    border-color: rgba(255, 255, 255, 0.6);
    box-shadow: 0 22px 45px rgba(0, 0, 0, 0.35);
}

.structure-card:hover .structure-card__image {
    filter: brightness(0.95);
}

.structure-card-visual {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    border-radius: 14px;
    overflow: hidden;
    display: block;
    background: rgba(5, 10, 28, 0.9);
}

.structure-card-visual img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    transition: transform 0.4s ease;
    background: transparent;
    position: relative;
    z-index: 1;
}

.structure-card-visual__tint {
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(180deg, rgba(0, 78, 235, 0.0) 0%, rgba(0, 78, 235, 0.55) 75%, rgba(0, 78, 235, 0.75) 100%);
    z-index: 2;
    pointer-events: none;
    transition: background 0.4s ease, opacity 0.3s ease;
}

.structure-card-visual__overlay {
    position: absolute;
    inset: 0;
    padding: 18px;
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    background: linear-gradient(180deg, rgba(0, 78, 235, 0.0) 0%, rgba(0, 78, 235, 0.55) 75%, rgba(0, 78, 235, 0.75) 100%);
    color: var(--bs-white);
    text-decoration: none;
    font-weight: 600;
    letter-spacing: 0.02em;
    line-height: 1.2;
    transition: background 0.3s ease;
    z-index: 3;
}

.structure-card-visual__overlay span,
.structure-card-visual__overlay h4 {
    color: inherit;
    margin: 0;
}

.structure-card-visual__overlay span {
    text-transform: uppercase;
    font-size: 0.9rem;
}

.structure-card-visual__overlay h4 {
    font-size: 1.15rem;
}

.structure-card-visual__overlay--static {
    pointer-events: none;
}

.structure-card-visual--with-overlay .structure-card-visual__tint {
    opacity: 0;
}

.structure-card-visual:hover img {
    transform: scale(1.05);
}

.structure-card-visual:hover .structure-card-visual__overlay:not(.structure-card-visual__overlay--static) {
    background: linear-gradient(180deg, rgba(26, 160, 255, 0.0) 0%, rgba(26, 160, 255, 0.55) 65%, rgba(26, 160, 255, 0.85) 100%);
}

.structure-card-visual:hover .structure-card-visual__tint {
    background: linear-gradient(180deg, rgba(26, 160, 255, 0.0) 0%, rgba(26, 160, 255, 0.6) 65%, rgba(26, 160, 255, 0.85) 100%);
}

.about-card {
    min-height: 100%;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    overflow: hidden;
    background: var(--ml-surface-alt-bg);
}

.about-card .structure-card__image {
    width: 100%;
    margin: 0;
}

.about-card .structure-card__body {
    display: none;
}

.about-card.about-card--static {
    pointer-events: none;
}

.about-card--compact .structure-card__image {
    height: 100%;
    min-height: 100%;
    flex: 1 1 auto;
    aspect-ratio: auto;
    background-size: cover;
    background-position: center;
}

.wg-map-image {
    background: url('../img/maps/map_wg_bright.jpg') center / 100% auto no-repeat;
    min-height: 420px;
    width: 100%;
}

body.dark-mode .wg-map-image {
    background-image: url('../img/maps/map_wg_dark.jpg');
}


/*** About End ***/


/*** Service Start ***/

.service .service-item {
    position: relative;
    overflow: hidden;
}

.service .service-item .service-link {
    position: absolute;
    width: 100%;
    height: 100%;
    padding: 20px;
    bottom: 0;
    left: 0;
    display: flex;
    align-items: end;
    background: linear-gradient(180deg, rgba(0, 78, 235, 0.0) 0%, rgba(0, 78, 235, 0.55) 75%, rgba(0, 78, 235, 0.75) 100%);
    transition: 0.5s;
}

.service .service-item .service-link:hover {
    background: linear-gradient(180deg, rgba(26, 160, 255, 0.0) 0%, rgba(26, 160, 255, 0.6) 65%, rgba(26, 160, 255, 0.85) 100%);
}

.service .service-item .service-link a {
    color: var(--bs-white);
    transition: 0.5s;
}

.service .service-item img {
    transition: 0.5s;
}

.service .service-item:hover img {
    transform: scale(1.2);
}

.service .service-item .service-link:hover a:hover {
    color: var(--bs-primary);
}


/*** Service End ***/


/*** Counter Start ***/

.counter {
    background: transparent;
}

.counter .counter-item {
    background: var(--ml-surface-bg);
    border-radius: 18px;
    border: 1px solid rgb(0, 78, 235);
    box-shadow: var(--ml-card-shadow);
    height: 100%;
    min-height: 320px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

body.dark-mode .counter .counter-item {
    border-color: rgb(255, 255, 255) !important;
}

body:not(.dark-mode) .counter .counter-item {
    border-color: rgb(0, 78, 235) !important;
}

.counter .counter-item .counter-counting {
    margin-top: auto;
}

.counter .counter-item i {
    color: var(--bs-primary);
}

.counter .counter-item .counter-counting {
    width: 100%;
    text-align: center;
    border: 1px dashed var(--ml-border-color);
    font-size: 30px;
    border-radius: 12px;
}


/*** Counter End ***/


/*** Resources Start ***/

.causes .causes-item {
    overflow: hidden;
}

.causes .causes-item .causes-img {
    position: relative;
    transition: 0.5s;
}

.causes .causes-item .causes-img .causes-link {
    position: absolute;
    width: 100%;
    height: 100%;
    bottom: 0 !important;
    left: 0;
    display: flex;
    justify-content: space-between;
    align-items: end;
    background: linear-gradient(180deg, rgba(0, 78, 235, 0.0) 0%, rgba(0, 78, 235, 0.4) 60%, rgba(0, 78, 235, 0.65) 100%);
    transition: 0.5s;
}

.causes .causes-item .causes-img:hover .causes-link {
    background: linear-gradient(180deg, rgba(30, 160, 255, 0.0) 0%, rgba(30, 160, 255, 0.6) 50%, rgba(0, 78, 235, 0.9) 100%);
}

.causes .causes-item .causes-img img {
    transition: 0.5s;
}

.causes .causes-item .causes-img:hover img {
    transform: scalex(-1);
}

.causes .causes-item .causes-img .causes-dination {
    position: absolute;
    top: 0;
    right: 0;
}

.causes .causes-item .causes-img .causes-dination a {
    font-size: 14px;
}

.causes .causes-item .causes-content {
    background: var(--bs-secondary);
    border-color: var(--bs-white);
    border-style: dotted;
    border-top: 0;
}

.causes .causes-item .progress {
    height: 10px;
    overflow: visible;
}

.causes .causes-item .progress .progress-bar {
    position: relative;
    width: 0;
    overflow: visible;
    background: var(--bs-primary);
    transition: 2s;
}

.causes .causes-item .progress .progress-bar span {
    position: absolute;
    top: 50%;
    right: -1px;
    transform: translateY(-50%);
    padding: 1px 5px;
    font-size: 12px;
    color: var(--bs-white);
    background: var(--bs-dark);
    z-index: 1;
}


/*** Resources End ***/


/*** Activities Start ***/

.event .event-carousel.owl-carousel {
    position: relative;
}

.event .event-carousel.owl-carousel .owl-nav .owl-prev {
    position: absolute;
    top: -60px;
    left: 0;
    width: 80px;
    height: 40px;
    border: 1px solid var(--bs-primary);
    background: var(--bs-primary);
    color: var(--bs-white);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.5s;
}

.event .event-carousel.owl-carousel .owl-nav .owl-next {
    position: absolute;
    top: -60px;
    right: 0;
    width: 80px;
    height: 40px;
    border: 1px solid var(--bs-primary);
    background: var(--bs-primary);
    color: var(--bs-white);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.5s;
}

.event .event-carousel.owl-carousel .owl-nav .owl-prev:hover,
.event .event-carousel.owl-carousel .owl-nav .owl-next:hover {
    background: var(--bs-secondary);
    color: var(--bs-primary);
}

.event .event-carousel .event-item .event-content {
    border-style: dotted;
    border-top: 0;
    border-color: var(--bs-primary);
    background: var(--bs-white);
    display: flex;
    flex-direction: column;
    height: 400px;
}

.event .event-carousel .event-item img {
    height: 300px;
    width: 100%;
    object-fit: cover;
    object-position: center;
}

.event .event-carousel .event-item .event-content h4 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.event .event-carousel .event-item .event-content p {
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.event .event-carousel .event-item .event-content .btn-hover-bg {
    margin-top: auto;
}


/*** Activities End ***/


/*** Blog Start ***/

.blog .blog-item .blog-img {
    position: relative;
    overflow: hidden;
}

.blog .blog-item .blog-img .blog-info {
    position: absolute;
    width: 100%;
    height: 100%;
    bottom: 0;
    left: 0;
    padding: 20px;
    background: rgba(0, 0, 0, .2);
    color: var(--bs-white) !important;
    display: flex;
    align-items: end;
    justify-content: space-between;
    transition: 0.5s;
}

.blog .blog-item .blog-img:hover .blog-info {
    background: rgba(0, 0, 0, .6);
}

.blog .blog-item .blog-img .search-icon {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: 0.5s;
}

.blog .blog-item .blog-img img {
    transition: 0.5s;
}

.blog .blog-item .blog-img:hover img {
    transform: scale(1.3);
}

.blog .blog-item .blog-img:hover .search-icon {
    opacity: 1;
}

body:not(.dark-mode) .blog .blog-item .text-dark.border {
    border-color: var(--bs-primary) !important;
}

.blog .blog-item {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.blog .blog-item .text-dark.border {
    display: flex;
    flex-direction: column;
    height: 450px;
}

.blog .blog-item .text-dark.border p {
    display: -webkit-box;
    -webkit-line-clamp: 7;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.blog .blog-item .text-dark.border .btn {
    margin-top: auto;
}

.contact-panel {
    border: 1px solid var(--bs-primary);
    border-radius: 12px;
}

.dark-mode .contact-panel {
    border-color: var(--ml-border-color);
}


/*** Blog End ***/


/*** Gallery Start ***/

.gallery .gallery-item {
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.gallery .gallery-item img {
    transition: 0.5s;
}

.gallery .gallery-item:hover img {
    transform: scale(1.2);
}

.gallery .gallery-item .gallery-content {
    position: absolute;
    width: 100%;
    height: 0;
    bottom: 0;
    left: 0;
    background: rgba(249, 195, 123, .4);
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: end;
    transition: 0.5s;
    z-index: 2;
}

.gallery .gallery-item:hover .gallery-content {
    height: 100%;
}

.gallery .gallery-item .gallery-content .gallery-inner {
    transition: 0.5s;
    background: rgba(0, 0, 0, 0.1);
    padding-top: 40px;
}

.gallery .gallery-item:hover .gallery-content .gallery-inner {
    background: rgba(249, 195, 123, 1);
    padding: 50px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.gallery .gallery-item .search-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    margin-top: -80px;
    opacity: 0;
    transition: 0.5s;
    z-index: 3;
}

.gallery .gallery-item:hover .search-icon {
    opacity: 1;
}


/*** Gallery End ***/


/*** Volunteer Start ***/

.volunteer {
    background: rgba(249, 195, 123, .1);
}

.volunteer .volunteer-img {
    position: relative;
    overflow: hidden;
}

.volunteer .volunteer-img .volunteer-title {
    position: absolute;
    width: 100%;
    height: 100%;
    bottom: 0;
    left: 0;
    padding: 10px;
    background: rgba(0, 0, 0, .1);
    display: flex;
    flex-direction: column;
    text-align: center;
    justify-content: end;
    transition: 0.5s;
}

.volunteer .volunteer-img:hover .volunteer-title {
    background: rgba(0, 0, 0, .5);
}

.volunteer .volunteer-img img {
    transition: 0.5s;
}

.volunteer .volunteer-img:hover img {
    transform: scale(1.2);
}


/*** Volunteer End ***/


/*** Contact Start ***/

.contact {
    background: var(--ml-surface-bg);
    border: 1px dashed rgba(11, 59, 122, 0.18);
    border-radius: 18px;
    box-shadow: 0 14px 36px rgba(9, 29, 80, 0.1);
}


/*** Contact End ***/


/*** Footer Start ***/

.footer {
    background-color: var(--ml-footer-bg) !important;
    color: var(--ml-footer-color);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

body:not(.dark-mode) .footer {
    color: rgb(40, 48, 69);
}

body.dark-mode .footer {
    color: var(--ml-footer-color);
}

.footer .text-body,
.footer .text-body a {
    color: var(--ml-footer-color) !important;
}

.footer .footer-item {
    padding: 24px;
    background: var(--ml-surface-alt-bg);
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 18px;
    height: 100%;
    min-height: 360px;
    transition: border-width 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

body:not(.dark-mode) .footer .footer-item {
    border-color: var(--bs-primary);
}

.footer .footer-item:hover {
    border-width: 2px;
    border-color: rgba(255, 255, 255, 0.75);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
}

.footer .footer-item a,
.footer .footer-item p {
    line-height: 32px;
    color: var(--ml-footer-color);
    transition: 0.35s;
}

body:not(.dark-mode) .footer .footer-item a,
body:not(.dark-mode) .footer .footer-item p,
body:not(.dark-mode) .footer .text-body,
body:not(.dark-mode) .footer .text-body a {
    color: rgb(40, 48, 69);
}


.footer .footer-item a:hover {
    color: #43b3ff;
    letter-spacing: 0.5px;
}

body:not(.dark-mode) .footer .footer-item a:hover {
    color: #43b3ff;
}

.footer .footer-item .footer-gallery {
    position: relative;
    overflow: hidden;
}

.footer .footer-item .footer-gallery img {
    transition: 0.5s;
}

.footer .footer-item .footer-gallery:hover img {
    transform: scale(1.2);
}

.footer .footer-item .footer-gallery .footer-search-icon {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.5s;
    opacity: 0;
}

.footer .footer-item .footer-gallery:hover .footer-search-icon {
    opacity: 1;
    background: rgba(0, 0, 0, .6);
}


/*** Footer End ***/


/*** copyright Start ***/

.copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    background: linear-gradient(90deg, rgba(11, 59, 122, 0.94) 0%, rgba(16, 82, 154, 0.94) 100%) !important;
}

.copyright,
.copyright .text-body,
.copyright .text-body a {
    color: #e9f0ff;
}


/*** copyright end ***/


/* Theme Variables */

:root {
    --bs-primary: #004EEB;
    --bs-secondary: #1EA0FF;
    --ml-body-bg: #ffffff;
    --ml-body-color: #283045;
    --ml-surface-bg: #ffffff;
    --ml-surface-alt-bg: #ffffff;
    --ml-border-color: rgba(26, 39, 82, 0.12);
    --ml-link-color: #004EEB;
    --ml-link-hover: #1EA0FF;
    --ml-nav-bg: #ffffff;
    --ml-dropdown-bg: #ffffff;
    --ml-dropdown-border: rgba(26, 39, 82, 0.12);
    --ml-footer-bg: #f5f7fb;
    --ml-footer-color: #283045;
    --ml-card-shadow: 0 24px 60px rgba(12, 30, 70, 0.12);
}

.dark-mode {
    color-scheme: dark;
    --bs-primary: #1EA0FF;
    --bs-secondary: #5AB9FF;
    --ml-body-bg: #050b1c;
    --ml-body-color: #d9e3ff;
    --ml-surface-bg: #0a1430;
    --ml-surface-alt-bg: #050a1c;
    --ml-border-color: rgba(120, 162, 255, 0.23);
    --ml-link-color: #79c4ff;
    --ml-link-hover: #aedbff;
    --ml-nav-bg: #0a1430;
    --ml-dropdown-bg: #0e1b3d;
    --ml-dropdown-border: rgba(148, 163, 184, 0.25);
    --ml-footer-bg: #040916;
    --ml-footer-color: #d9e3ff;
    --ml-card-shadow: 0 26px 80px rgba(3, 8, 20, 0.7);
}

html,
body {
    background-color: var(--ml-body-bg);
    color: var(--ml-body-color);
    transition: background-color 0.3s ease, color 0.3s ease;
}

body a {
    color: var(--ml-link-color);
    transition: color 0.3s ease;
}

body a:hover,
body a:focus {
    color: var(--ml-link-hover);
}

a {
    color: var(--ml-link-color);
    text-decoration: none;
}

a:hover,
a:focus {
    color: var(--ml-link-hover);
    text-decoration: none;
}

.navbar,
.navbar.bg-light,
.navbar .collapse {
    background-color: var(--ml-nav-bg) !important;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.navbar .navbar-nav .nav-link {
    color: inherit;
}

.dropdown-menu {
    background-color: var(--ml-dropdown-bg);
    border-color: var(--ml-dropdown-border);
    transition: background-color 0.3s ease, border-color 0.3s ease;
    box-shadow: 0 18px 40px rgba(15, 33, 61, 0.12);
    border-radius: 12px;
    padding: 12px 0;
}

.dropdown-menu .dropdown-item {
    color: var(--ml-body-color);
    padding: 10px 22px;
    font-weight: 500;
    letter-spacing: 0.03em;
}

.dropdown-menu .dropdown-item:hover,
.dropdown-menu .dropdown-item:focus {
    color: var(--bs-secondary);
    background-color: rgba(11, 59, 122, 0.12);
}

.dropdown-menu .dropdown-item.active {
    color: var(--bs-primary);
    background-color: rgba(30, 160, 255, 0.12);
}

.navbar-primary .dropdown-menu {
    margin-top: 12px;
    border-top: 3px solid var(--bs-secondary);
}

.navbar-primary .dropdown-menu .dropdown-item {
    color: rgba(15, 31, 72, 0.82);
}

.nav-item-split {
    display: flex;
    align-items: stretch;
}

.nav-item-split .nav-link {
    display: flex;
    align-items: center;
    padding-right: 0.75rem;
}

.nav-link-caret {
    border: none;
    background: transparent;
    color: inherit;
    padding-left: 0.25rem;
    padding-right: 0.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-link-caret::after {
    content: "\f078";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    font-size: 0.65rem;
}

@media (min-width: 1200px) {
    .nav-link-caret {
        display: none !important;
    }

    .navbar-primary .dropdown:hover>.dropdown-menu {
        display: block;
        margin-top: 0;
    }
}

@media (max-width: 1199.98px) {
    .navbar-primary .navbar-collapse {
        background: linear-gradient(180deg, rgba(11, 59, 122, 0.97) 0%, rgba(16, 82, 154, 0.97) 100%);
        padding: 10px 0;
        align-items: stretch;
        flex-direction: column;
    }
    .navbar-primary .navbar-nav {
        align-items: stretch;
        gap: 0;
    }
    .navbar-primary .navbar-nav .nav-item {
        width: 100%;
    }
    .navbar-primary .navbar-nav .nav-link {
        padding: 14px 20px;
        text-align: left;
        line-height: 1.2;
    }
    .nav-item-split > .nav-link {
        padding-bottom: 6px;
    }
    .navbar-primary .navbar-nav .nav-link.mobile-subnav {
        padding-left: 44px;
        padding-top: 6px;
        padding-bottom: 8px;
        font-size: 0.92rem;
        color: rgba(255, 255, 255, 0.78);
    }
    .navbar-primary .navbar-nav .nav-link.mobile-subnav::after {
        display: none;
    }
    .nav-item-split + .mobile-subnav {
        margin-top: 0;
    }
    .navbar-primary .navbar-nav .nav-link.mobile-subnav::before {
        content: "";
        width: 6px;
        height: 6px;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.35);
        display: inline-block;
        margin-right: 10px;
        position: relative;
        top: -1px;
    }
    .navbar-primary .navbar-nav .nav-link::after {
        bottom: 0;
    }
    .nav-item-split {
        display: block;
        width: 100%;
    }
    .nav-item-split .nav-link {
        display: block;
        width: 100%;
    }
    .nav-item-split > .nav-link-caret {
        display: none !important;
        padding: 0 !important;
        margin: 0 !important;
        height: 0 !important;
        line-height: 0 !important;
    }
    .nav-link-caret {
        display: none;
    }
    .navbar-primary .dropdown-menu {
        position: static;
        float: none;
        margin: 0 0 8px;
        width: 100%;
        box-shadow: none;
        display: none !important;
        background-color: rgba(255, 255, 255, 0.08);
        border: 1px solid rgba(255, 255, 255, 0.12);
        padding-top: 4px;
        opacity: 1;
        visibility: visible;
        transform: none;
    }
    .nav-item-split > .dropdown-menu {
        margin: 0 !important;
        padding: 0 !important;
        border: 0 !important;
        height: 0 !important;
        overflow: hidden !important;
    }
    .navbar-primary .navbar-collapse.show .dropdown-menu {
        display: none !important;
    }
    .navbar-primary .dropdown.show > .dropdown-menu {
        display: none;
    }
    .navbar-primary .dropdown-menu .dropdown-item {
        padding-left: 36px;
        color: rgba(255, 255, 255, 0.82);
    }
    .navbar-primary .dropdown-menu .dropdown-item:hover,
    .navbar-primary .dropdown-menu .dropdown-item:focus {
        color: #ffffff;
        background-color: rgba(255, 255, 255, 0.12);
    }
}

@media (max-width: 1199.98px) {
    .dark-mode .navbar-primary .navbar-collapse {
        background: linear-gradient(180deg, rgba(8, 18, 36, 0.96) 0%, rgba(11, 26, 50, 0.96) 100%);
    }
}

.dark-mode .navbar-primary .dropdown-menu {
    background-color: var(--ml-dropdown-bg);
    border-top: 3px solid var(--bs-secondary);
    box-shadow: 0 18px 40px rgba(3, 8, 20, 0.75);
}

.theme-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    margin-left: 10px;
    border-radius: 50%;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.theme-toggle i {
    font-size: 1rem;
}

.theme-toggle--floating {
    position: fixed;
    top: 24px;
    right: 24px;
    z-index: 1050;
}

.dark-mode .theme-toggle {
    color: #e2e8f0;
    border-color: rgba(226, 232, 240, 0.2);
}

.dark-mode .theme-toggle:hover,
.dark-mode .theme-toggle:focus {
    color: #0f172a;
}

.dark-mode .navbar-primary {
    background: linear-gradient(90deg, rgba(7, 16, 38, 0.98) 0%, rgba(11, 29, 60, 0.98) 100%) !important;
    box-shadow: 0 18px 40px rgba(3, 8, 20, 0.65);
}

.dark-mode .navbar-primary .navbar-title {
    color: #0082ca;
    font-family: 'Poppins', sans-serif;
}

.dark-mode .navbar-primary .navbar-nav .nav-link {
    color: #ffffff9e;
    fill: #ffffff9e;
}

.dark-mode .navbar-primary .navbar-nav .nav-link:hover {
    color: #ffffff; 
}

.dark-mode .navbar-primary .navbar-nav .nav-link:focus {
    color: #FFFFFF9E;
    fill: #FFFFFF9E;
}
.dark-mode .navbar-primary .navbar-nav .nav-link.active {
    color: #0085CA;
}

.dark-mode .navbar-primary .navbar-nav .nav-link.active::after {
    background: var(--bs-secondary);
}

.dark-mode .navbar-primary .navbar-toggler {
    color: var(--bs-primary);
    border-color: rgba(121, 196, 255, 0.35);
}

.dark-mode .navbar-primary .navbar-toggler .fa {
    color: var(--bs-primary);
}

.dark-mode .navbar-primary .navbar-toggler:focus {
    box-shadow: none;
}

.dark-mode .navbar-primary .theme-toggle {
    border-color: rgba(159, 192, 255, 0.45);
    color: #f4f8ff;
}

.dark-mode .navbar-primary .theme-toggle:hover,
.dark-mode .navbar-primary .theme-toggle:focus {
    background-color: var(--bs-secondary);
    color: #07101f;
    border-color: var(--bs-secondary);
}

.dark-mode .btn-gradient {
    background: linear-gradient(90deg, #1EA0FF 0%, #57BCFF 100%);
    color: #0b1628;
    box-shadow: 0 12px 28px rgba(30, 160, 255, 0.35);
}

.dark-mode .btn-gradient:hover {
    background: linear-gradient(90deg, #57BCFF 0%, #8BD3FF 100%);
}

.dark-mode .carousel-header #carouselId .carousel-inner .carousel-item .carousel-caption {
    background: linear-gradient(120deg, rgba(7, 24, 52, 0.85) 0%, rgba(11, 38, 80, 0.7) 55%, rgba(3, 9, 20, 0.85) 100%);
}

.dark-mode .dropdown-menu .dropdown-item {
    color: var(--ml-body-color);
}

.dark-mode .dropdown-menu .dropdown-item:hover,
.dark-mode .dropdown-menu .dropdown-item:focus {
    background-color: rgba(120, 170, 255, 0.16);
    color: var(--bs-secondary);
}

.dark-mode .navbar-brand h1,
.dark-mode .text-primary {
    color: var(--ml-link-color) !important;
}

.dark-mode .btn-primary {
    background-color: var(--ml-link-color);
    border-color: var(--ml-link-color);
    color: #0f172a;
}

.dark-mode .btn-primary:hover,
.dark-mode .btn-primary:focus {
    background-color: var(--ml-link-hover);
    border-color: var(--ml-link-hover);
    color: #0f172a;
}

.dark-mode .btn-outline-primary {
    color: var(--ml-link-color);
    border-color: rgba(56, 189, 248, 0.6);
}

.dark-mode .btn-outline-primary:hover,
.dark-mode .btn-outline-primary:focus {
    color: #0f172a;
    background-color: var(--ml-link-color);
    border-color: var(--ml-link-color);
}

.dark-mode .container,
.dark-mode .container-fluid {
    background-color: transparent;
}

.dark-mode .topbar {
    background: linear-gradient(90deg, rgba(23, 52, 96, 0.92), rgba(40, 86, 151, 0.92)) !important;
}

.dark-mode .topbar a,
.dark-mode .topbar a i {
    color: #dbe9ff;
}

.dark-mode .topbar a:hover,
.dark-mode .topbar a i:hover {
    color: var(--bs-secondary) !important;
}

.dark-mode .bg-light,
.dark-mode .service,
.dark-mode .gallery,
.dark-mode .blog,
.dark-mode .event,
.dark-mode .about,
.dark-mode .volunteer,
.dark-mode .contact,
.dark-mode .causes {
    background-color: var(--ml-surface-alt-bg) !important;
}

.dark-mode .bg-white {
    background-color: var(--ml-surface-bg) !important;
}

.dark-mode .text-dark {
    color: var(--ml-body-color) !important;
}

.dark-mode .footer {
    background-color: var(--ml-footer-bg) !important;
    color: var(--ml-footer-color);
}

.dark-mode .footer a {
    color: #cbd5f5;
}

.dark-mode .footer a:hover {
    color: #43b3ff;
}

.dark-mode .footer .footer-item {
    background: var(--ml-surface-alt-bg);
    border-color: rgba(255, 255, 255, 0.35);
}

.dark-mode .footer .footer-gallery {
    background: transparent;
    border-color: rgba(148, 163, 184, 0.2);
}

.dark-mode .contact {
    background: linear-gradient(135deg, rgba(8, 26, 58, 0.65), rgba(9, 21, 43, 0.85));
    border-color: rgba(121, 192, 255, 0.25);
}

.dark-mode .counter {
    background: transparent;
}

.dark-mode .progress {
    background-color: rgba(148, 163, 184, 0.2);
}

.dark-mode .progress-bar {
    background-color: var(--bs-primary);
    color: #0f172a;
}

.dark-mode .btn.btn-primary {
    color: #0f172a;
}

.dark-mode .btn.btn-primary:hover {
    color: #0f172a;
    background-color: #60a5fa;
    border-color: #60a5fa;
}

.dark-mode .btn-outline-primary {
    color: #e2e8f0;
    border-color: rgba(226, 232, 240, 0.5);
}

.dark-mode .btn-outline-primary:hover {
    color: #0f172a;
}

.dark-mode .back-to-top {
    background-color: rgba(59, 130, 246, 0.9);
    color: #0f172a;
}

.dark-mode .back-to-top:hover {
    background-color: rgba(250, 204, 21, 0.9);
}

.dark-mode .causes-content,
.dark-mode .event-content,
.dark-mode .blog-item,
.dark-mode .blog-item .text-dark,
.dark-mode .contact,
.dark-mode .footer-item,
.dark-mode .gallery-item .gallery-content,
.dark-mode .counter-item,
.dark-mode .volunteer-img {
    background-color: var(--ml-surface-bg) !important;
    color: var(--ml-body-color);
    box-shadow: var(--ml-card-shadow);
    border-color: var(--ml-border-color);
}

.dark-mode .form-control {
    background-color: var(--ml-surface-bg);
    border-color: var(--ml-border-color);
    color: var(--ml-body-color);
}

.dark-mode .form-control:focus {
    background-color: var(--ml-surface-bg);
    border-color: #38bdf8;
    color: var(--ml-body-color);
}

.dark-mode .border {
    border-color: var(--ml-border-color) !important;
}

.dark-mode .owl-nav button {
    background-color: rgba(59, 130, 246, 0.2) !important;
    color: var(--ml-body-color) !important;
}

.dark-mode .owl-nav button:hover {
    background-color: rgba(59, 130, 246, 0.4) !important;
}

.dark-mode .blog-info,
.dark-mode .footer-gallery {
    background: rgba(15, 23, 42, 0.65);
}

.dark-mode hr {
    border-color: var(--ml-border-color);
}

.text-primary {
    color: var(--bs-primary) !important;
}
.member-avatar {
    width: 64px;
    height: 64px;
    font-size: 1.25rem;
}

@media (max-width: 1199.98px) {
    .navbar-primary .navbar-collapse {
        align-items: stretch !important;
        flex-direction: column !important;
        max-height: calc(100vh - 120px);
        max-height: calc(100dvh - 120px);
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 24px;
    }
    .navbar-primary .navbar-nav {
        align-items: stretch !important;
    }
    .navbar-primary .navbar-nav .nav-item {
        width: 100% !important;
    }
    .navbar-primary .nav-item-split {
        display: block !important;
    }
    .navbar-primary .nav-item-split > .nav-link {
        display: block !important;
        width: 100% !important;
    }
    .navbar-primary .nav-link-caret {
        display: none !important;
    }
    .navbar-primary .dropdown-menu {
        display: none !important;
        position: static !important;
        width: 100% !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
        background-color: rgba(255, 255, 255, 0.08);
        border: 1px solid rgba(255, 255, 255, 0.12);
        box-shadow: none !important;
    }
    .navbar-primary .dropdown-menu .dropdown-item {
        color: rgba(255, 255, 255, 0.92) !important;
        padding-left: 36px;
    }
}
