.custom-header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 20;
  background: transparent; 
}

.banner-slider-wrapper {
  position: relative;
  height: 100vh;
  overflow: hidden;
}

.banner-slider {
  position: relative;
  height: 100%;
  z-index: 1;
}

.banner-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(1.05);
  transition: opacity 1.6s ease-in-out, transform 1.6s ease-in-out;
  z-index: 0;
  pointer-events: none;
  background-size: cover;
}

.banner-slide.active {
  opacity: 1;
  transform: scale(1);
  z-index: 2;
  pointer-events: auto;
}

.overlay-card {
    position: relative;
    display: flex;
    justify-content: space-between;
    gap: 10px;
    align-items: center;
    margin-top: 20%;
}

.country-options {
    background: rgba(72, 140, 202, 0.5);
    padding: 10px 30px;
}

a.country-card {
    display: flex;
    gap: 15px;
    color: #fff;
    padding: 10px;
    border-bottom: 1.5px solid;
    align-items: center;
}

a.country-card img {
    width: 30px;
    height: 30px;
    object-fit: contain;
}

a.country-card h5 {
    font-size: 15px;
}

.country-grid .country-card:last-child {
    border-bottom: none;
}

.card-wrap{
  color: #fff;
  background-color: #488CCA66;
  padding: 2rem;
  max-width: 500px;
  z-index: 2;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
}

 .banner-nav {
  position: absolute;
  bottom: 0%;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  padding-top: 1rem;
  border-top: 2px solid white;
  z-index: 10; 
  background: transparent;
  pointer-events: auto;
}

.banner-headings {
    display: flex;
    gap: 1.5rem;
    justify-content: space-around;
    list-style: none;
    margin: 0;
    padding: 0;
}

.banner-heading {
    cursor: pointer;
    padding: 5px 0;
    color: white;
    font-size: 1rem;
    position: relative;
    transition: all 0.3s ease;
    z-index: 1;
    font-weight: 600;
}

.banner-heading.active {
    font-size: 2.2rem;
    color: white;
    border-bottom: 5px solid orange;
    position: relative;
    z-index: 10;
    margin-top: -15px;
    padding-bottom: 5px;
    top: -67.5px !important;
}


.banner-heading:not(.active):hover {
    color: #ffa500;
}

.p-text {
    font-size: 1.2rem;
    font-weight: 600;
}


.header-bottom {
    position: relative;
    display: inline-block;
    font-size:0.8rem;
    color: white;
    margin-bottom: 2px;
    padding-bottom: 20px; 
    font-weight: 600;
}

.header-bottom::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 45px; 
    height: 2px;
    background-color: white;
}

/* about-emeritus-section  */

section.about-emeritus-section .slide-title.active {
    border-bottom: 5px solid orange !important;
    position: relative;
    z-index: 2;
    font-weight: bold;
}

section.about-emeritus-section .slide-description {
    display: none;
}

section.about-emeritus-section .slide-description.active {
    display: block;
    animation: fadeIn 0.3s ease-in-out;
}

section.about-emeritus-section .p-text{
    color: #488CCA;
}

section.about-emeritus-section li.slide-title{
    font-size: 1.5rem;
    font-weight: 600;
    text-transform: uppercase;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}






/* business services */

.business-services-section {
    padding-bottom: 0;
    position: relative;
}

.business-slider-container .container {
    position: relative;
    background: #11284B;
    z-index: 1;
    overflow: hidden;
}

.business-slider-container .container::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0; 
    width: 20%;
    height: 100%;
    background: linear-gradient(633.65deg, #244564, #488cca);
    z-index: -1;
}


.slide-item {
    display: none;
}

.slide-item.active {
    display: block;
    animation: fadeIn 0.4s ease-in-out;
}

.image-holder {
    background-size: cover;
    background-position: center;
    height: 300px;
        margin-left: 5%;
}

.slide-heading {
    position: relative;
    display: inline-block;
    padding-bottom: 6px;
    margin-bottom: 2px;
    padding-bottom: 20px; 
}

.slide-heading::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 45px; 
    height: 2px;
    background-color: white;
}

.title-tabs {
    gap: 20px;
    width: 79%;
}

.tab-title {
    padding: 12px 20px;
    color: white;
    cursor: pointer;
    border-top: 2px solid transparent;
    transition: all 0.3s ease;
}

.tab-title.active {
    border-top: 5px solid orange;
    font-size: 1.2rem;
    font-weight: bold;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@media (max-width: 768px) {
    .image-holder {
        height: 200px;
        margin-top: 20px;
    }
    .tab-title {
        flex: 1 0 100%;
    }
}


/* insights */
.insights-all .carousel-card-wrapper {
    margin-bottom: 1.5rem;
}

.insights-all  .carousel-card {
    background: #F4F4F4;
    border-radius: 8px;
    transition: box-shadow 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
      display: flex;
  flex-direction: column;
  justify-content: space-between;
  /* height: 540px; */
}




.insights-all  .carousel-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.insights-all  .carousel-card h3 {
    margin-top: 0.75rem;
    font-weight: 600;
}


.insights-all  .swiper-container {
    overflow: hidden;
    padding-bottom: 1rem;
}

.insights-all  .carousel-nav {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.insights-all  p.carousel-date{
    color: #11284B80;
    font-weight: 600;
}

.insights-all  .custom-swiper-arrow {
    color: #488CCA;
    border: 2px solid #488CCA;
    background: transparent;
    padding: 0.5rem 1.25rem;
    font-size: 1.5rem;
    border-radius: 0.25rem;
    transition: all 0.3s ease;
    cursor: pointer;
}

.insights-all  .custom-swiper-arrow:hover,
.insights-all  .custom-swiper-arrow:focus {
    color: #11284B;
    border-color: #11284B;
}



/* our vision */
.our-vision {
    position: relative;
    background-size: cover;
    background-position: center;
    height: 80vh; 
    display: flex;
    align-items: center;  
    justify-content: center;
    color: #fff;
}

.our-vision-overlay {
    background: rgba(0, 0, 0, 0.4); 
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;   
    justify-content: center;
    padding: 2rem;
}

.our-vision-content {
    max-width: 800px;
    text-align: center;
}


.our-vision-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.our-vision-description {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
}

.our-vision-btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background-color: #488CCA;
    color: #fff;
    border: 2px solid #488CCA;
    border-radius: 4px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.our-vision-btn:hover {
    background-color: #11284B;
    border-color: #11284B;
}

.parallax-section {
  background-image: url('your-default-image.jpg'); /* fallback */
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  z-index: 1;
}

.our-vision-overlay {
  background: rgba(0, 0, 0, 0.6); 
  padding: 6rem 2rem;
}

.our-vision-content {
  color: #fff;
  max-width: 800px;
  margin: auto;
}

@media (max-width: 991px) {
  .parallax-section {
    background-attachment: scroll; 
  }
}




/* Press Release */
.latest-press h2{
    color: #488CCA !important;
}    
div#press-list .col-md-4.mb-4 {
    padding-right: unset !important;
    padding-left: unset !important;
}

.press-card {
    background-color: #11284B;
    transition: background-color 0.3s, transform 0.2s;
    cursor: pointer;
    text-decoration: none;
    padding: 40px 40px 20px;
}


.press-card:hover {
    background-color: #488CCA;
}

.press-modal {
    border-left: 4px solid #488CCA;
}

.discover-btn {
    border: 2px solid #488CCA !important;
    color: #488CCA;
    background-color: transparent;
    transition: 0.3s;
}

.discover-btn:hover {
    background-color: #488CCA;
    border-color: #488CCA;
    color: #fff;
}

.middle-press {
    position: relative;
}

.middle-press::before,
.middle-press::after {
    content: '';
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    height: 90px;
    width: 1px;
    background-color: #fff;
}

.middle-press::before {
    left: 0px;
}

.middle-press::after {
    right: 0px; 
}

@media (max-width: 768px) {
    .middle-press::before,
    .middle-press::after {
        display: none;
    }
}

/* modal style*/
.modal-backdrop.show {
  background: radial-gradient(circle at center, rgba(17, 40, 75, 0.95), rgba(0, 0, 0, 0.8));
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  animation: backdropFade 0.6s ease-in-out forwards;
}
@keyframes backdropFade {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.modal-content {
  background: rgba(17, 40, 75, 0.85); /* Dark glass */
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 0 !important;
  padding: 2rem;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  transition: all 0.4s ease-in-out;
  color: #fff;
  overflow-y: auto;
  z-index: 999;
}
small#pressModalDate {
    color: #F15926  ;
}

.modal-header {
  border-bottom: none;
  padding-bottom: 0;
}
.modal-title {
  font-size: 2rem;
  font-weight: 600;
  color:#fff; 
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}
.btn-close {
  filter: invert(1);
  opacity: 0.7;
  transition: 0.3s;
}
.btn-close:hover {
  opacity: 1;
}
#modalDate,
#modal-date {
    font-size: 0.9rem;
    font-weight: 500;
    color: #F15926 !important
}
#modalDescription,
#modal-desc {
  font-size: 1.1rem;
  line-height: 1.7;
  color: #f4f4f4;
  border-left: 3px solid #488CCA;
  padding-left: 1rem;
  animation: fadeIn 0.4s ease-in-out;
}
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


/* modal media Query */
@media (max-width: 768px) {
  .modal-dialog {
    margin: 0;
    max-width: 100%;
    height: 100%;
  }

  .modal-content {
    height: 100%;
    border-radius: 0;
  }

  .modal-body {
    overflow-y: auto;
  }
}



/* reports */
section.annual-reports-section a,
.all-annual-reports-section a{
    font-weight: 600;
}

a.download-icon:hover{
    background: transparent;
}

.report-download-row {
  transition: all 0.4s ease;
  transform: translateY(0);
  background-color: transparent;
  cursor: pointer;
}

.report-download-row:hover {
  background-color: rgba(72, 140, 202, 0.05); /* soft blue tint */
  transform: translateY(-3px) scale(1.01);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  border-radius: 8px;
}


.report-download-row:hover .download-icon i {
  transform: rotate(0deg) scale(1.2);
  transition: transform 0.3s ease;
}



/* Leadership */
.leadership-section .tab-heading {
    border-top: 5px solid transparent;
    transition: 0.3s;
    font-size: 1.2rem;
    font-weight: 600;
}

.leadership-section .tab-heading.active-tab {
    border-color: #488CCA;
    color: #488CCA;
    background: #fff;
    box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.15);
    padding: 0 9px;
}

.leadership-section .card-body {
    background: #F4F4F4;
}

.leadership-section .modal-content h6{
    color: #F15926;
}

.leadership-section .modal-content.p-4 {
    position: relative;
}

.leadership-section button.btn-close.btn-close-white {
    position: absolute;
    right: 40px;
}

.leadership-section h5.card-title {
    color: #11284B;
    font-size: 1.2rem;
    font-weight: 600;
}

.leadership-section p.card-text{
    color:#11284B80;
    font-weight:600;
}

#leadership-tabs{
    position: relative;
}

#leadership-tabs::after {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 120%;
    height: 2px;
    background-color: #11284B;
    z-index: -1;
    top:3px;
}



/* risk */
   .emerging-risks-section {
  background: linear-gradient(to bottom, #F6F8FC, #ffffff);
  overflow: hidden;
}

.risk-card {
    transition: all 0.4s ease;
    backdrop-filter: blur(8px);
    border: 1px solid rgba(17, 40, 75, 0.08);
    background: rgba(255, 255, 255, 0.9);
    position: relative;
    min-height: 350px;
    margin-bottom: 20px;
}

.risk-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(17, 40, 75, 0.1);
}

.animated-bar {
  height: 4px;
  width: 40px;
  background-color: #488CCA;
  border-radius: 10px;
  animation: expandBar 2s infinite ease-in-out;
}

@keyframes expandBar {
  0%, 100% { width: 40px; background-color: #488CCA; }
  50% { width: 100%; background-color: #F15926; }
}


/* footer */
.scroll-top {
    bottom: 23%;
}

footer a {
  position: relative;
  display: inline-block;
  transition: color 0.3s ease-in-out;
}

footer a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  height: 2px;
  width: 0;
  background-color: #488CCA;
  transition: width 0.4s ease-in-out;
}

footer a:hover::after {
  width: 50%;
}


figure.wp-block-media-text__media {
    height: 100%;
}






/* Responsive */
@media (max-width: 768px){
    section {
    margin-top: 10px !important;
}
     #mega-menu-wrap-primary .mega-menu-toggle + #mega-menu-primary {
    background: rgba(54, 53, 53, 0.4) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
  }
  #mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-flyout ul.mega-sub-menu {
    /* background: transparent !important; */
    padding: 0 !important;
  }
  li.mega-zim-mobile.mega-menu-item-has-children ul.mega-sub-menu li.mega-menu-item::after{
    color: #fff !important;
    right: 13px !important;
  }
  li.emeritus-site-class > ul.mega-sub-menu > .mega-menu-item::after,
  #mega-menu-wrap-zim-menu #mega-menu-zim-menu li.mega-menu-megamenu > ul.mega-sub-menu > li.mega-menu-row > ul.mega-sub-menu > li.mega-menu-columns-3-of-12 > ul.mega-sub-menu > li.mega-menu-item::after,
  #mega-menu-wrap-primary #mega-menu-primary li.mega-menu-megamenu > ul.mega-sub-menu > li.mega-menu-row > ul.mega-sub-menu > li.mega-menu-columns-3-of-12 > ul.mega-sub-menu > li.mega-menu-item::after {
      color: #fff !important;
      right: 13px !important;
  }
    #mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-megamenu > ul.mega-sub-menu {
    padding: 0px  0px 0 20px!important;
    background: transparent !important;
  }
  #mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-megamenu > ul.mega-sub-menu li.mega-menu-column > ul.mega-sub-menu > li.mega-menu-item > a.mega-menu-link{
    color: #fff !important;
  }

  section.custom-banner-section .overlay-card {
    display: flex !important;
    flex-direction: column !important;
    margin-top: 190px;
    align-items: center !important;
    justify-content: center !important;
  }
  .country-grid {
    display: flex !important;
  }
  a.country-card {
    border-bottom: none;
  }
  a.country-card h5{
    display: none;
  }
  .banner-heading.active {
    font-size: 2rem;
    top: -62.5px !important;
  }
  .hero-image {
    position: relative;
    display: inline-block;
    overflow: hidden;
    height: 500px;
    width: 100%;
    isolation: isolate; 
}

.hero-image::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(10, 74, 142, 0.4), #f159262a);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 2;
    pointer-events: none;
    transition: all 0.3s ease-in-out;
}

.hero-image::after {
    content: "";
    position: absolute;
    top: 0;
    left: -75%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, rgba(255,255,255,0.15), rgba(255,255,255,0));
    transform: skewX(-25deg);
    animation: sweepLight 6s ease-in-out infinite;
    z-index: 3;
    pointer-events: none;
}
@keyframes sweepLight {
  0% {
    left: -75%;
  }
  60% {
    left: 130%;
  }
  100% {
    left: 130%;
  }
}
  

.hero-image img{
    height: 500px !important;
    width: 100% !important;
    object-fit: cover !important;
} 



 .mega-menu-columns-4-of-12 {
    display: none !important;
    }
    #mega-menu-wrap-zim-menu #mega-menu-zim-menu li.mega-menu-megamenu > ul.mega-sub-menu > li.mega-menu-row > ul.mega-sub-menu > li.mega-menu-columns-3-of-12 > ul.mega-sub-menu > li.mega-menu-item, #mega-menu-wrap-primary #mega-menu-primary li.mega-menu-megamenu > ul.mega-sub-menu > li.mega-menu-row > ul.mega-sub-menu > li.mega-menu-columns-3-of-12 > ul.mega-sub-menu > li.mega-menu-item {
    border-bottom: 2px solid transparent !important;
    }
    #mega-menu-wrap-zim-menu #mega-menu-zim-menu li.mega-menu-megamenu > ul.mega-sub-menu > li.mega-menu-row > ul.mega-sub-menu > li.mega-menu-columns-3-of-12 > ul.mega-sub-menu > li.mega-menu-item:first-child, #mega-menu-wrap-primary #mega-menu-primary li.mega-menu-megamenu > ul.mega-sub-menu > li.mega-menu-row > ul.mega-sub-menu > li.mega-menu-columns-3-of-12 > ul.mega-sub-menu > li.mega-menu-item:first-child {
    border-top: 2px solid transparent !important;
    }
    #mega-menu-wrap-zim-menu #mega-menu-zim-menu li.mega-menu-megamenu > ul.mega-sub-menu > li.mega-menu-row > ul.mega-sub-menu > li.mega-menu-columns-3-of-12 > ul.mega-sub-menu > li.mega-menu-item::after, #mega-menu-wrap-primary #mega-menu-primary li.mega-menu-megamenu > ul.mega-sub-menu > li.mega-menu-row > ul.mega-sub-menu > li.mega-menu-columns-3-of-12 > ul.mega-sub-menu > li.mega-menu-item::after {
    content: none !important;
   
    }

    .scroll-top{
        display: none;
    }


    section.about-emeritus-section li.slide-title {
    font-size: 1rem;
    }
    .tab-title.active {
    font-size: 1rem;
    }
    .gutena-tab-title-text div{
      font-size: 1.2rem;
    }

}


@media (max-width: 590px){

    .overlay-card {
    padding: 1rem;
    max-width: 277px;
    }
    .p-text {
    font-size: 1rem;
    }
     .country-options {
    background: rgba(72, 140, 202, 0.5);
    padding: 10px 30px;
      display: none !important;
  }

}

@media (max-width: 436px){
    .logo-wrapper {
    height: 70%;
    background: transparent !important;
    }

    .logo-wrapper .img-fluid {
    max-width: 50% !important;
    }
    header .row.g-0.align-items-stretch {
    position: relative;
    }
    header .col-auto.d-flex {
    position: absolute;
    top: 40%;
    }

    .custom-header {
    top: 0;
    }

    .top-bar{
        justify-content: space-around !important;
        border-top-left-radius: 20px;
    }

    .banner-slide {
    height: 50rem;
    }

    .overlay-card {
    bottom: 42%;
    }
    /* .wp-block-media-text>.wp-block-media-text__content, */
   
}

 .wp-block-media-text>.wp-block-media-text__content {
    padding: 20px 8% !important;
    }


/* Branches */



.location-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  padding: 1rem 1.25rem;
  margin-bottom: 1rem;
  border-radius: 6px;
  transition: all 0.3s ease;
  cursor: pointer;
}

.location-card:hover {
  background-color: #f9fafb;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  transform: translateX(3px);
}

.location-card.active {
    border-color: #488CCA;
    background-color: #d7ebfd;
}

.location-card h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: black;
    margin-bottom: 0.25rem;
}

.location-card p {
  font-size: 0.85rem;
  color: #6b7280;
  margin-bottom: 0.25rem;
}

.location-image img {
    max-width: 162px !important;
}

.location-content a.btn {
    background: #9294C5 !important;
    border: none;
    border-radius: 20px;
    color:#ffffff;
    font-size: 15px;
}
.map-wrapper {
  border-radius: 10px;
  overflow: hidden;
  height: 100%;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.map-content {
  width: 100%;
  height: 500px;
  display: none;
}

.map-content.active {
  display: block;
}

.location-wrapper iframe {
    width: 100%;
    height: 800px;
}

@media (max-width: 768px) {
  .location-wrapper {
    flex-direction: column;
  }

  .map-column {
    order: -1;
    height: 300px;
    margin-bottom: 1.5rem;
  }

  .location-cards-wrapper {
    overflow: visible;
  }
}


.location-wrapper {
  overflow-x: hidden;
  width: 100%;
  box-sizing: border-box;
}

/* Prevent individual scrollable columns from overflowing */
.location-cards-wrapper
 {
  max-width: 100%;
  overflow-x: hidden;
  box-sizing: border-box;
      height: 600px;
}

.location-card a.btn-link {
    color: #488CCA;
    text-decoration: none;
    font-size: 15px;
}

/* Careers */

.careers-title {
    margin-bottom: 40px;
}

.careers h4 {
    color: #488CCA;
}

/* -------------------- */

.download-icon {
    transition: background-color 0.3s, color 0.3s;
    font-size: 1.2rem;
}

.download-icon:hover {
    background-color: #488CCA;
    color: #fff;
}

.header-socials a.social-icon {
    font-size: 32px;
}

.header-socials a.social-icon:hover {
color:#488CCA;
}