.wrapper {
    position: relative;
    width: 100%;
}

.header {
    position: absolute;
    top: 0;      /* adjust vertical placement */
    width: 100%;
    z-index: 10; /* above the slider */
    text-align: center; /* center content if needed */
    pointer-events: none; /* optional: clicks pass through */
}

.header-width {
    width: 100%;
    max-width: 1100px;
}

.menu-hover {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    width: 1440px;
    position: fixed;
    transition: opacity 0.3s ease, transform 0.3s ease;
    top: 50px;
    left: calc(50% - 720px);
    z-index: 20;
}

.menu-hover.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;

}

.full-width {
    width: 100% !important;
}

.dividernav {
    border-bottom: 1px solid #428DC4 !important;
    width: 65% !important;
}

.home-navside-divider {
    border-left: 2px solid #3a82bc !important;
}

.header-logo figure {
    max-width: 20%;
}

.header * {
    pointer-events: auto; /* allow clicking buttons/links */
}

.metaslider p {
    margin: 0;
}

.metaslider .slides li.ms-image {
    position: relative;
}

/* Center the caption-wrap */
.metaslider .slides li.ms-image .caption-wrap {
    position: absolute;
    top: 35%;
    width: 80%;          /* optional, controls caption width */
    text-align: center;  /* centers text inside */
    z-index: 2;          /* make sure it sits above the image */
    opacity: 1 !important
}

/* Optional: style the caption box */
.metaslider .slides li.ms-image .caption-wrap .caption {
    padding: 20px;
    border-radius: 8px;
}

/* Style button */
.metaslider .slides li.ms-image .ms-custom-button {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 500;
}

.full-image {
    background-position: center;
    background-repeat: no-repeat;
    /* min-height: 100vh; */
    width: 100%;
}

.fusion-waves-opacity-candy {
  display: block;
}

.fusion-waves-opacity-candy,
.wp-block-group.has-background {
  margin: 0;
  padding: 0;
}

.fusion-section-separator .fusion-hills-opacity-candy path:first-child,.fusion-section-separator .fusion-horizon-candy path:first-child,.fusion-section-separator .fusion-waves-opacity-candy path:first-child {
    opacity: .12;
}

.fusion-section-separator .fusion-hills-opacity-candy path:nth-child(2),.fusion-section-separator .fusion-horizon-candy path:nth-child(2),.fusion-section-separator .fusion-waves-opacity-candy path:nth-child(2) {
    opacity: .18
}

.fusion-section-separator .fusion-hills-opacity-candy path:nth-child(3),.fusion-section-separator .fusion-horizon-candy path:nth-child(3),.fusion-section-separator .fusion-waves-opacity-candy path:nth-child(3) {
    opacity: .24
}

.fusion-section-separator .fusion-hills-opacity-candy path:nth-child(4) {
    opacity: .3
}

.top-wave {
    height: 99px;
}

.nav-bar-full-width {
    width: 100% !important;
}

#top-nav {
  width: 100%;
  transition: opacity 0.4s ease, transform 0.4s ease;
  z-index: 10;
}

#scroll-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  transform: translateY(-100%);
  transition: opacity 0.4s ease, transform 0.4s ease;
  z-index: 20;
}

.scrolled #top-nav {
  opacity: 0;
  transform: translateY(-100%);
}

.scrolled #scroll-nav {
  transform: translateY(0);
  opacity: 1;
}

.mobile-view {
    display: none;
}

.mobile-nav {
    display: none !important;
    flex: 0 0 290px !important;
    max-width: 290px !important;
}

.flex-grow {
    flex-grow: 1;
}

#footer-mobile {
    display: none;
}

#footer-mobile-giving-menu {
    display: none;
}

#footer-mobile-giving-icon-cross {
    display: none;
}

#footer-mobile-nav-menu {
    display: none;
}

#footer-mobile-nav-icon-cross {
    display: none;
}

@media only screen and (max-width: 800px) {
    .monitor-view {
        display: none !important;
    }

    .mobile-view {
        display: flex;
        position: fixed;
        top: 0;
        left: 0; 
        transition: left 0.3s ease;
    }

    .mobile-view .menu-icon-3-cross {
        display: none;
    }

    .mobile-side-nav {
        width: 290px;
        height: 730px;
        z-index: 20;
        display: flex !important;
        position: fixed;
        top: 0;
        left: -290px;
        transition: left 0.3s ease;
    }

    .mobile-nav {
        width: 100%;
        max-width: 290px;
        z-index: 20;
        display: flex !important;
        position: fixed;
        top: 0;
        left: -290px;
        transition: left 0.3s ease;
    }

    .mobile-nav-button {
        width: 100%;
        border-top: 1px solid transparent;
        border-bottom: 1px solid transparent;
        transition: border-color 1s ease;
    }

    #nav-bar-aboutus-up {
        display: none;
    }

    #nav-bar-aboutus-menu {
        width: 100%;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.5s ease;
    }

    #nav-bar-aboutus-leadership-up {
        display: none;
    }

    #nav-bar-aboutus-leadership-menu {
        width: 100%;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.5s ease;
    }

    #nav-bar-aboutus-more-up {
        display: none;
    }

    #nav-bar-aboutus-more-menu {
        width: 100%;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.5s ease;
    }

    #nav-bar-getinvolved-up {
        display: none;
    }

    #nav-bar-getinvolved-menu {
        width: 100%;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.5s ease;
    }

    #nav-bar-region-up {
        display: none;
    }

    #nav-bar-region-menu {
        width: 100%;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.5s ease;
    }

    #nav-bar-story-up {
        display: none;
    }

    #nav-bar-story-menu {
        width: 100%;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.5s ease;
    }

    .mobile-margin {
        z-index: 20;
        margin-top: 85px;
    }

    .full-image {
        background-position: 0% !important;
    }

    .full-image::before {
      content: "";
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: rgba(0, 0, 0, 0.2); 
      pointer-events: none; 
      z-index: 1; 
    }

    .full-image .wp-block-group {
        padding: 2em 2em 0 !important;
        z-index: 2;
    }

    .full-image .wp-block-group .wp-block-columns {
        margin-top: 0 !important;
        margin-bottom: 0 !important;
    }

    .full-image .wp-block-group .wp-block-columns p {
        font-size: 2.5rem !important;
        margin-bottom: 20px !important;
    }

    .full-image .wp-block-group .wp-block-columns hr {
        display: none !important;
    }

    .full-image .wp-block-group .home-navside-divider {
        border-left: #ffffff00 !important;
    }

    .full-image .wp-block-group .wp-block-columns .home-mission-vision-title {
        font-size: 2rem !important;
    }

    .full-image .wp-block-group .wp-block-columns .home-mission-vision-subtitle {
        font-size: 1.3rem !important;
    }

    .full-image .wp-block-group .wp-block-columns .mobile-mission-vision-gap{
        gap: 1em !important;
    }

    .home-model-title {
        margin: 0 !important;
        font-size: 5rem !important;
    }

    #asia .wp-block-buttons{
        margin-bottom: 18% !important;
    }

    #africa .wp-block-buttons{
        margin-bottom: 18% !important;
    }

    #latinamerica .wp-block-buttons{
        margin-bottom: 18% !important;
    }

    #middleeast .wp-block-buttons{
        margin-bottom: 18% !important;
    }

    #footer-desktop {
        display: none;
    }

    #footer-mobile {
        display: block;
    }
}

.thick-separator {
    height: 4px !important;
}

.menu-link {
    width: 65% !important;
}

.menu-link:hover{
    background-color: #d8f2ff;
    color: #014d73;
}

#submenu-team {
    width: 65% !important;
    max-height: 0;    
    overflow: hidden;
    transition: max-height 0.8s ease;
}

#submenu-team.show {
    max-height: 500px;    
}

#submenu-more {
    width: 65% !important;
    max-height: 0;    
    overflow: hidden;
    transition: max-height 0.8s ease;
}

#submenu-more.show {
    max-height: 500px;    
}

.submenu-link{
    width: 100%;
}

.submenu-link:hover{
    background-color: #d8f2ff;
    color: #014d73;
}

#our-model-learn-more-select-more {
    max-height: 0;    
    overflow: hidden;
    transition: max-height 0.8s ease;
}

#our-model-learn-more-select-more.show {
    max-height: 500px;
}

#our-model-learn-more-select{
    cursor: pointer;
    transition: color 0.3s, transform 0.2s;
}

#our-model-learn-more-select:hover {
    color: #014D73 !important;
}

#our-model-learn-more-equip-more {
    max-height: 0;    
    overflow: hidden;
    transition: max-height 0.8s ease;
}

#our-model-learn-more-equip-more.show {
    max-height: 500px;
}

#our-model-learn-more-equip{
    cursor: pointer;
    transition: color 0.3s, transform 0.2s;
}

#our-model-learn-more-equip:hover {
    color: #014D73 !important;
}

#our-model-learn-more-multiply-more {
    max-height: 0;    
    overflow: hidden;
    transition: max-height 0.8s ease;
}

#our-model-learn-more-multiply-more.show {
    max-height: 500px;
}

#our-model-learn-more-multiply{
    cursor: pointer;
    transition: color 0.3s, transform 0.2s;
}

#our-model-learn-more-multiply:hover {
    color: #014D73 !important;
}

#our-model-learn-more-encourage-more {
    max-height: 0;    
    overflow: hidden;
    transition: max-height 0.8s ease;
}

#our-model-learn-more-encourage-more.show {
    max-height: 500px;
}

#our-model-learn-more-encourage{
    cursor: pointer;
    transition: color 0.3s, transform 0.2s;
}

#our-model-learn-more-encourage:hover {
    color: #014D73 !important;
}

.event-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
    gap: 30px;
}

.event-item {
    border:1px solid #d9f1fd;
    border-radius:8px;
    margin-bottom:20px;
    background-color: #d9f1fd;
    overflow: hidden;
    max-height: 600px; 
    transition: max-height 0.5s ease;
}

.event-item a{
    color: #014D73;
}

.event-item .feature-image-date {
    position: relative;
    overflow: hidden;
}

.event-item .feature-image-date .date-container {
    position: absolute;
    top: 0%;
    left: 0%;
    z-index: 5;
    background-color: #d9f1fd;
    border:1px solid #d9f1fd;
    display: flex;
    text-align: center;
}

.event-item .feature-image-date .date-container .date-start {
    width: 70px;
    height: 70px;
    font-size: 20px;
    font-weight: 600;
    text-align: center;
    display: flex;
    align-items: center;
}

.event-item .feature-image-date .date-container p {
    font-weight: 600;
}

.event-item .feature-image-date .date-container .date-end {
    width: 50px;
    height: 50px;
    font-size: 15px;
    font-weight: 600;
    text-align: center;
    display: flex;
    align-items: center;
    padding-top: 5px;
    padding-right: 5px;
}

.event-item .event-details {
    padding: 0 20px;
}

.event-item .event-details h3,
.event-item .event-details p {
    margin-top: 0;
    font-weight: 500;
    margin-bottom: 20px;
}

.event-item .event-details h3 {
    font-size: 30px;
}

.event-item .event-details .event-category {
    margin-bottom: 0;
}

.event-item img {
    width:100%;
    max-height:250px;
    object-fit:cover;
    border-radius:6px;
    margin-bottom:10px;
    transition: transform 0.5s ease;
}

.event-item:hover img {
    transform: scale(1.08); 
}

.event-item:hover {
    max-height: 1000px;
}

.justify-content-center {
    display: flex;
    justify-content: center;
}

.img-hover {
    position: relative;
    overflow: hidden;  
    display: inline-block;
}

.img-hover::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3); 
    transition: background 0.5s ease;
    z-index: 2; 
}

.img-hover img {
    width: 100%;
    height: auto;
    position: relative;
    z-index: 1;
    transition: transform 0.5s ease;  
    transform-origin: center center;  
}

.img-hover:hover img {
    transform: scale(1.08); 
}

.img-hover:hover::after {
    background: rgba(255, 255, 255, 0.3);
}

.sign-up-button {
    display: flex;
    align-items: center;
    text-align: center;
    justify-content: center;
}

.sign-up-button a {
    padding:12px 24px;
    display: flex; 
    align-items: center;
    text-align: center;
    border-radius:6px;
    background:#0073aa;
    text-decoration:none;
    font-weight:600;
    font-size:18px;
    color: #fff;
    line-height: 1;
}

.increase-z {
    position: relative;
    z-index: 5;
}

.weight-600 {
    font-weight: 600;
}

.event-wrapper {
    display: flex;
    width:100%;         
    margin:0 auto; 
    padding:60px 20px; 
    background:#014d73;
    box-sizing:border-box;
    justify-content: center;
}

.event-card {
    width: 90%;
    background:#ffffff;
    border-radius:12px;
    padding:30px;
    box-shadow:0 4px 16px rgba(0,0,0,0.07);
}
    
.event-flex {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

.event-info {
    flex: 1;
}

.event-info h1 p {
    margin: 0;
}

.event-image {
    flex: 1;
    text-align: right;
}

.event-image img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

@media (max-width: 768px) {
    .event-flex {
        flex-direction: column;
    }

    .event-image {
        order: 1;   
        text-align: center;
    }

    .event-info {
        order: 2;  
    }

    .event-list {
        grid-template-columns: repeat(1, 1fr);
    }

    .event-mobile-view-description {
        display: none;
    }
}

/* Page background */
.slider-page {
    background: #3b82bd;
    min-height: 100vh;
    margin: 0;
}

.slider-hero p {
    margin: 0;
}

/* Top image */
.slider-hero img {
    width: 100%;
    height: auto;
    display: block;
}

/* Center white container */
.slider-content-wrapper {
    display: flex;
    justify-content: center;
    margin-top: -120px;
}

/* White box */
.slider-content-box {
    background: #ffffff;
    max-width: 1144px;
    width: 100%;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.slider-inner-grid {
    display: flex;
}

.slider-main-content {
    width: 66.667%;
}

.slider-main-content .content-padding {
    padding: 5%;
}

.slider-main-content .content-padding h1,
.slider-main-content .content-padding h1 p {
    margin: 0;
}

.slider-social-box {
    width: 33.333%;
}

.slider-social-box .content-padding {
    height: 100%;
    padding: 8%;
}

/* Title */
.slider-title {
    font-size: 32px;
    margin-bottom: 20px;
    color: #1f2937;
}

/* Description */
.slider-description {
    font-size: 18px;
    line-height: 1.7;
    color: #374151;
}

/* Mobile optimisation */
@media (max-width: 900px) {
    .slider-content-box {
        padding: 25px;
    }

    .slider-title {
        font-size: 24px;
    }

    .slider-inner-grid {
        flex-direction: column;
    }

    .slider-social-box {
        margin-top: 20px;
    }

    .mobile-column {
        padding: 0 1rem !important;
    }
}

.social-container {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    min-height: 70px;
}

.social-icon {
    background-color: #e8e8e8;
    border: 1px solid #e8e8e8;
    border-radius: 50%;
    margin: 5px;
    width: 31.6px;
    height: 31.6px;

    display: flex;
    justify-content: center;
    align-items: center;
}

.blog-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1100px;
}

.blog-item {
    border:1px solid #000000;
    margin-bottom:20px;
    background-color: #ffffff;
    overflow: hidden;
}

.blog-item a{
    color: #014D73;
}

.blog-item .feature-image-date {
    position: relative;
    overflow: hidden;
}

.blog-item .blog-details {
    padding: 30px 25px 20px 25px;
}

.blog-item .blog-details h3,
.blog-item .blog-details p {
    margin-top: 0;
    font-weight: 400;
    margin-bottom: 5px;
}

.blog-item .blog-details h3 {
    font-size: 22px;
    color: #428DC4;
}

.blog-item .blog-details p {
    font-size: 18px;
    color: #333333;
}

.blog-item img {
    width:100%;
    max-height:250px;
    object-fit:cover;
    margin-bottom:10px;
}