body { 
    margin: 0; 
    padding: 0; 
    font-family: 'Nunito Sans', sans-serif; 
    overflow: hidden; /* Prevents body scroll */
}

.lpm-map-marker {
    transition: opacity 0.6s ease, transform 0.6s ease;
    opacity: 0;
    transform: scale(0.7);
    pointer-events: auto;
}
.lpm-map-marker.visible {
    opacity: 1;
    transform: scale(1);
}
.lpm-details-panel {
    position: fixed;
    top: 0;
    right: -35%; /* Changed from left to right positioning */
    width: 35%; /* Match #features width */
    height: 100vh;
    background-color: white;
    box-shadow: -5px 0 15px rgba(0,0,0,0.1); /* Shadow on left side now */
    z-index: 1000;
    transition: right 0.3s ease; /* Changed from left to right transition */
    overflow-y: auto;
    padding: 30px;
    box-sizing: border-box;
}
.lpm-details-panel.active {
    right: 0; /* Changed from left: 0 to right: 0 */
}
.lpm-details-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    border-bottom: 1px solid #eaeaea;
    padding-bottom: 15px;
}
.lpm-details-header h2 {
    color: #281932;
    font-weight: 700;
    font-size: 24px;
    margin: 0;
}
.lpm-details-close {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #281932;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background-color 0.2s;
}
.lpm-details-close:hover {
    background-color: rgba(0, 0, 0, 0.05);
}
.lpm-detail {
    display: none;
}
.lpm-detail-inner {
    padding: 10px 0;
}
.lpm-detail-logo {
    max-width: 150px;
    height: auto;
    display: block;
    margin-bottom: 20px;
    border-radius: 5px;
    border: 1px solid #e4e4e4;
}
.lpm-detail-title {
    font-size: 28px;
    font-weight: 700;
    color: #281932;
    margin-bottom: 15px;
    margin-top: 0;
}
.lpm-detail-desc {
    font-size: 16px;
    line-height: 1.6;
    color: #333;
    margin-bottom: 25px;
}
.lpm-detail-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 25px;
    border-top: 1px solid #eaeaea;
    padding-top: 20px;
}
.lpm-stat {
    background-color: #f8f8f8;
    padding: 15px;
    border-radius: 8px;
    flex: 1;
    min-width: calc(33% - 15px);
}
.lpm-stat-title {
    display: block;
    font-size: 14px;
    color: #666;
    margin-bottom: 5px;
}
.lpm-stat-value {
    display: block;
    font-size: 16px;
    font-weight: 700;
    color: #281932;
}
.lpm-detail-link {
    display: inline-block;
    background: #2674E0;
    border-radius: 15px;
    box-shadow: #2674E0 0 10px 20px -10px;
    color: #FFFFFF;
    cursor: pointer;
    font-size: 16px;
    font-weight: 700;
    line-height: 24px;
    padding: 15px 24px;
    text-decoration: none;
    transition: background-color 0.2s;
}
.lpm-detail-link:hover {
    background: #999999;
    box-shadow: #999999 0 10px 20px -10px;
}

/* Overlay for closing panel when clicking outside */
.lpm-details-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.3);
    z-index: 999;
    display: none;
}

.lpm-details-overlay.active {
    display: block;
}

/* Adding pagination styles */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 60%;
    gap: 10px;
}

.pagination-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(0,0,0,0.2); /* Light mode inactive color */
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.pagination-dot.active {
    background-color: #999999; /* Active dot color */
}

/* Local Payment Methods styling */
.lpm-section {
    margin-bottom: 25px;
    padding: 0px;
    /* background: #fff;
    border-radius: 25px;
    border: 1px solid #e4e4e4; */
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 15px;
}

.lpm-title {
    display: block; /* Show the title instead of hiding it */
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 5px;
    color: #281932;
    width: 100%; /* Make it take the full width of the flex container */
    /* border-bottom: 1px solid #e4e4e4; */
    /* padding-bottom: 15px; */
    margin-top: 40px;
}

.lpm-item {
    display: block;
    width: calc(33.33% - 10px); /* 3 items per row with gap */
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
    text-align: center;
}

.lpm-item:not(:last-child) {
    border-bottom: none;
}

.lpm-logo {
    width: 100px;
    height: 60px;
    object-fit: contain;
    margin: 0 auto;
    border-radius: 5px;
    transition: transform 0.2s;
}

.lpm-logo:hover {
    /* transform: scale(1.1); */
}

.lpm-info {
    display: none; /* Hide name and description as requested */
}

/* Link styling for the anchor tags wrapping icons */
.lpm-item-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    /* padding: 10px; */
    border-radius: 8px;
    background-color: #fff;
    transition: background-color 0.2s;
    border: 1px solid #e4e4e4;
    overflow: hidden;
}

.lpm-item-link:hover .lpm-logo {
    /* background-color: rgba(38, 116, 224, 0.1); */
    opacity:0.8;
    transform: scale(1.1);
}

/* CSS */
.rm-1 {
  /* background: #2674E0;
  border-radius: 15px;
  box-shadow: #2674E0 0 10px 20px -10px;
  box-sizing: border-box;
  color: #FFFFFF;
  cursor: pointer;
  font-size: 16px;
  font-weight: 700;
  line-height: 24px;
  opacity: 1;
  outline: 0 solid transparent;
  margin-top: 15px;
  padding: 15px 24px;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
  width: fit-content;
  word-break: break-word;
  border: 0;
  text-decoration: none;
  display: inline-block; */

        display: inline-flex;
      align-items: center;
      position: relative;
      min-height: 24px;
      padding: 7px 24px 9px;
      cursor: pointer;
      background-color: #281932;
      border: 1px solid #281932;
      border-radius: 100px;
      color: #fff;
      font-size: 16px;
      font-weight: 400;
      line-height: 1.5;
      white-space: nowrap;
      transition: all 0.3s cubic-bezier(0.5, 0.2, 0, 1);
      text-decoration: none;
}

.rm-1:hover {
  background: #fff;
 
  border:1px solid #281932;
  color:#281932;
}

/* Map container with light background */
.map-container {
    width:65%;
    position: fixed;
    /* height: calc(100vh - 60px); */
    height: 100%;
    top: 0;
    display: flex;
    align-items: center;
    justify-content: center;

}

#map { 
    /* width: 100%; 
    height: 100%; */
    width: calc(100% - 60px); 
    height: calc(100% - 100px);
    border-radius: 0px;
    overflow: hidden;
    margin: 50px 30px 110px 30px;
    border-radius: 30px;
    
    /* border: 15px solid rgba(0, 0, 0, 0.1); */
    box-shadow: 9px 10px 37px 0px rgba(0,0,0,0.2);
    -webkit-box-shadow: 9px 10px 37px 0px rgba(0,0,0,0.2);
    -moz-box-shadow: 9px 10px 37px 0px rgba(0,0,0,0.2);
}

/* Custom marker styling */
.mapboxgl-marker {
    cursor: pointer;
    z-index: 1; /* Lower z-index for markers */
}
.country-marker {
    width: 30px;
    height: 30px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    background-image: url('images/map-marker.png');
}

/* Ensure map layers have proper z-index ordering */
.mapboxgl-canvas-container {
    z-index: 0;
}

#features {
    width: 35%;
    margin-left: 65%;
    font-family: 'Nunito Sans', sans-serif;
    overflow-y: auto;
    /* background: #fff url(yellowbr.svg) no-repeat right bottom; */
    /* background: url(images/blopacitytl.svg) no-repeat right top, url(images/yellowbr.svg) no-repeat right bottom; */
    /* background: url(images/blopacitytl.svg) no-repeat right top; */
    background: url(images/bg.svg) no-repeat 100% 88%;
    background-size: 100%;
    /* background: ; */
    height: calc(100vh - 60px);
    padding-bottom: 60px;
}

section.infoarea {
    padding: 30px 50px;
    line-height: 25px;
    /* opacity: 0.25; */ /* Removed opacity change for inactive sections */
    font-size: 13px;
    height: calc(100vh - 110px);
display: flex;
flex-direction: column;
/* justify-content: space-between; */

}

.brief-section {
    margin-bottom: 20px;
}

section.infoarea h3 {
    font-size: 48px;
    letter-spacing: -1.5px;
    font-family: 'Nunito Sans', sans-serif;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 48px;
    margin-top: 20px;
    color:#281932;
}

section.infoarea p {
    font-size: 20px;
    line-height: 26px;
    font-weight: 300;
    margin-bottom: 20px;
    max-width: 80%;
}

section.active {
    /* opacity: 1; */ /* Removed opacity change for active sections */
}

section:last-child {
    border-bottom: none;
    margin-bottom: 50px;
}

/* Fixed Navigation Menu Styles */
#fixed-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background-color: white;
    border-top: 1px solid #e4e4e4;
    z-index: 1000;
    font-family: 'Nunito Sans', sans-serif;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    padding: 0 30px;
}
.nav-logo {
    display: flex;
    align-items: center;
}
.nav-logo img {
    height: 30px;
}

.nav-controls {
    display: flex;
    align-items: center;
    gap: 20px;
}

.nav-dropdown select {
    padding: 10px 15px;
    font-size: 16px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background-color: #fff;
    cursor: pointer;
    min-width: 180px;
    font-family: 'Nunito Sans', sans-serif;
    font-weight: 700;
}

.nav-button {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f0f0f0;
    border: 1px solid #ddd;
    cursor: pointer;
    font-size: 18px;
    transition: background-color 0.3s;
    font-family: 'Nunito Sans', sans-serif;
}

.nav-button.active {
    background-color: #999999;
    color: white;
    border-color: #999999;
}

/* Progress indicator for presentation mode */
#progress-indicator {
    position: absolute;
    top: 0;
    left: 0;
    height: 3px;
    width: 0%;
    background-color: #999999;
    z-index: 1001;
    transition: width 0.1s linear;
    display: none;
}

/* Presentation mode overlay */
#presentation-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: calc(100vh - 60px); /* Leave the nav bar accessible */
    background-color: rgba(0, 0, 0, 0.0);
    z-index: 999;
    display: none;
    pointer-events: all; /* Block interactions */
}

.nav-button.presentation-toggle button {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f0f0f0;
    border: 1px solid #ddd;
    cursor: pointer;
    font-size: 18px;
    transition: background-color 0.3s;
    font-family: 'Nunito Sans', sans-serif;
}

.nav-button.presentation-toggle button.active {
    background-color: #999999;
    color: white;
    border-color: #999999;
}

/* Fix for prettydropdown arrow display */
.prettydropdown.arrow.triangle > ul > li.selected:after {
    content: ''; /* Override 'content: none' to restore the arrow appearance */
    top: 4px;
    border-top-color: #fff;
}

/* Positioning the country select dropdown absolutely over the map */
.absolute-dropdown {
    position: absolute;
    top: 30px;
    left: 40px;
    width: auto;
    z-index: 1002;
}

.absolute-dropdown select {
    padding: 10px 15px;
    font-size: 16px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background-color: rgba(255, 255, 255, 0.9);
    cursor: pointer;
    min-width: 180px;
    font-family: 'Nunito Sans', sans-serif;
    font-weight: 700;
}

/* Custom Select Dropdown (Based on CodePen example) */
.select-box {
  position: relative;
  display: block;
  width: 200px;
  margin: 0 auto;
  font-family: 'Nunito Sans', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: #281932;
  z-index: 1002;
}
.select-box__current {
  position: relative;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  border-radius: 15px;
  cursor: pointer;
  outline: none;
  background-color: #fff;
}
.select-box__current:focus + .select-box__list {
  opacity: 1;
  animation-name: fadeInUp;
  animation-duration: 0.4s;
  animation-fill-mode: both;
  transform-origin: top;
  pointer-events: auto;
}
.select-box__icon {
  position: absolute;
  top: 0;
  right: 0;
  width: 40px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.3s ease;
}
.select-box__icon--arrow {
  transform-origin: center center;
}
.select-box__current:focus .select-box__icon--arrow {
  transform: rotate(180deg);
}
.select-box__value {
  display: flex;
}
.select-box__input {
  display: none;
}
.select-box__input:checked + .select-box__input-text {
  display: block;
}
.select-box__input-text {
  display: none;
  width: 100%;
  margin: 0;
  padding: 10px 15px;
  padding-right: 40px;
  border-radius: 15px;
  background-color: #fff;
}
.select-box__list {
  position: absolute;
  width: 100%;
  padding: 0;
  list-style: none;
  opacity: 0;
  animation-name: fadeOut;
  animation-duration: 0.3s;
  animation-fill-mode: both;
  transform-origin: top;
  pointer-events: none;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
  border-radius: 0 0 15px 15px;
  margin-top: 5px;
  background-color: #fff;
  z-index: 1003;
  max-height: 300px;
  overflow-y: auto;
}
.select-box__option {
  display: block;
  padding: 10px 15px;
  background-color: #fff;
  cursor: pointer;
  transition: background-color 0.3s ease;
}
.select-box__option:hover, .select-box__option:focus {
  color: #2674E0;
  background-color: #f8f8f8;
}
.select-box__option.selected {
  font-weight: bold;
  color: #2674E0;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.97);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes fadeOut {
  from {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
  to {
    opacity: 0;
    transform: translateY(20px) scale(0.97);
  }
}

.absolute-dropdown .select-box {
  width: 220px;
}

/* Hide the original dropdown when custom dropdown is active */
.custom-dropdown-active {
  display: none;
}

/* Custom Dropdown Styles based on CodePen */
.select-wrapper {
  position: relative;
  user-select: none;
  width: 180px;
}

.select {
  position: relative;
  display: flex;
  flex-direction: column;
  border-width: 0 1px 0 1px;
  border-style: solid;
  border-color: #394a6d;
}

.select__trigger {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 22px;
  font-size: 14px;
  font-weight: 300;
  color: #3b3b3b;
  height: 40px;
  line-height: 40px;
  background: #ffffff;
  cursor: pointer;
  border-width: 1px 0 1px 0;
  border-style: solid;
  border-color: #394a6d;
}

.custom-options {
  position: absolute;
  display: block;
  top: 100%;
  left: 0;
  right: 0;
  border: 1px solid #394a6d;
  border-top: 0;
  background: #fff;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  z-index: 2;
  max-height: 250px;
  overflow-y: auto;
}

.select.open .custom-options {
  opacity: 1;
  visibility: visible;
  pointer-events: all;
}

.custom-option {
  position: relative;
  display: block;
  padding: 0 22px 0 22px;
  font-size: 14px;
  font-weight: 300;
  color: #3b3b3b;
  line-height: 40px;
  cursor: pointer;
  transition: all 0.5s;
}

.custom-option:hover {
  cursor: pointer;
  background-color: #b2b2b2;
}

.custom-option.selected {
  color: #ffffff;
  background-color: #305c91;
}

.arrow {
  position: relative;
  height: 10px;
  width: 10px;
}

.arrow::before, .arrow::after {
  content: "";
  position: absolute;
  bottom: 0px;
  width: 0.15rem;
  height: 100%;
  transition: all 0.5s;
}

.arrow::before {
  left: -2px;
  transform: rotate(45deg);
  background-color: #394a6d;
}

.arrow::after {
  left: 2px;
  transform: rotate(-45deg);
  background-color: #394a6d;
}

.open .arrow::before {
  left: -2px;
  transform: rotate(-45deg);
}

.open .arrow::after {
  left: 2px;
  transform: rotate(45deg);
}

/* Override default dropdown styles in your specific location */
.nav-dropdown.absolute-dropdown {
  top: 20px;
  left: 30px;
  z-index: 100;
}

.nav-dropdown.absolute-dropdown .select-wrapper {
  margin: 0;
}

/* Hide the original select element when using custom dropdown */
.nav-dropdown.absolute-dropdown select#country-select {
  display: none;
}

/* Custom Dropdown - Based on CodePen Example */
.custom-select-container {
  position: absolute;
  top: 20px;
  left: 20px;
  width: 220px;
  z-index: 1000;
  font-family: 'Nunito Sans', sans-serif;
}

.custom-select-wrapper {
  position: relative;
  user-select: none;
}

.custom-select {
  position: relative;
  display: inline-block;
}

.custom-select-trigger {
  position: relative;
  display: block;
  width: 130px;
  padding: 0 84px 0 22px;
  font-size: 22px;
  font-weight: 300;
  color: #fff;
  line-height: 60px;
  background: #5c9cd8;
  border-radius: 4px;
  cursor: pointer;
}

.custom-select__trigger {
  position: relative;
  display: block;
  min-width: 130px;
  padding: 8px 16px;
  font-size: 16px;
  font-weight: 500;
  color: #333;
  background: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.custom-select__trigger:hover {
  background: #f8f8f8;
}

.custom-select.open .custom-select__trigger {
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}

.custom-select__trigger span {
  position: relative;
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.arrow {
  position: absolute;
  top: 50%;
  right: 16px;
  width: 0; 
  height: 0; 
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 5px solid #333;
  transition: all 0.3s linear;
  transform: translateY(-50%);
}

.custom-select.open .arrow {
  transform: translateY(-50%) rotate(180deg);
}

.custom-options {
  position: absolute;
  display: block;
  top: 100%;
  left: 0;
  right: 0;
  max-height: 0;
  overflow: hidden;
  border: 1px solid #e0e0e0;
  border-top: 0;
  background: #fff;
  transition: all 0.3s ease;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  z-index: 999;
  border-bottom-left-radius: 4px;
  border-bottom-right-radius: 4px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.custom-select.open .custom-options {
  opacity: 1;
  visibility: visible;
  pointer-events: all;
  max-height: 200px;
  overflow-y: auto;
}

.custom-option {
  position: relative;
  display: block;
  padding: 8px 16px;
  font-size: 14px;
  color: #333;
  cursor: pointer;
  transition: all 0.3s ease;
}

.custom-option:hover {
  background-color: #f5f5f5;
}

.custom-option.selected {
  color: #5c9cd8;
  background-color: #f0f7ff;
}

/* Make the absolute dropdown position work properly */
.absolute-dropdown {
  position: absolute;
  right: 20px;
  top: 20px;
  z-index: 9999;
}

/* Styling for buttons inside lpm-detail-buttons */
.lpm-detail-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

.lpm-detail-buttons .lpm-button {
    display: inline-flex;
    align-items: center;
    padding: 10px 16px;
    border: 1px solid #281932;
    border-radius: 5px;
    color: #281932;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
    background-color: transparent;
}

.lpm-detail-buttons .lpm-button:hover {
    background-color: #281932;
    color: #fff;
}

.lpm-detail-buttons .lpm-button i {
    margin-right: 6px;
    font-size: 16px;
}