/* ===== Preloader Base ===== */
#preloader {
  position: fixed;
  inset: 0;
  height: 100vh; /* ensure full viewport height on mobile */
  background: #ffffff;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s ease;
  pointer-events: all;
}

#preloader.hidden,
#preloader.fade-out {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.6s ease;
}

/* ===== Loader Container ===== */
.loader-container {
  position: relative;
  width: 120px;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ===== Rotating Ring ===== */
.loader-container .ring {
  position: absolute;
  width: 120px;
  height: 120px;
  border: 8px solid rgba(0, 113, 188, 0.15);
  border-top-color: #0071bc;
  border-radius: 50%;
  animation: rotate 1.5s linear infinite;
  z-index: 1;
}

@keyframes rotate {
  100% {
    transform: rotate(360deg);
  }
}

/* ===== Logo & Bars ===== */
.bfc-logo {
  position: relative;
  text-align: center;
  z-index: 2;
}

.bfc-logo img {
  width: 40px;
  height: auto;
  display: block;
  margin: 0 auto;
}

/* Animated Bars below logo */
.bars {
  margin-top: 10px;
  display: flex;
  justify-content: center;
  gap: 4px;
}

.bars span {
  display: block;
  width: 8px;
  height: 18px;
  background: linear-gradient(to top, #0071bc, #00a651);
  border-radius: 2px;
  animation: bounce 1.2s infinite ease-in-out;
}

.bars span:nth-child(2) {
  animation-delay: 0.2s;
}

.bars span:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes bounce {
  0%, 80%, 100% { transform: scaleY(0.4); }
  40% { transform: scaleY(1); }
}

/* ===== Mobile Responsive Adjustments ===== */
@media (max-width: 480px) {
  .loader-container {
    width: 80px;
    height: 80px;
  }

  .loader-container .ring {
    width: 80px;
    height: 80px;
    border-width: 6px;
  }

  .bfc-logo img {
    width: 30px;
  }

  .bars span {
    width: 6px;
    height: 14px;
  }

  .bars {
    margin-top: 8px;
    gap: 3px;
  }
}
/* Vertical separator - desktop only */
.vertical-separator {
  width: 1px;
  background-color: #dee2e6;
  height: auto;
  min-height: 100%;
}

@media (min-width: 992px) {
  .d-lg-flex .vertical-separator {
    align-self: stretch;
  }
}


/* Pause animation on hover */
.ticker:hover .ticker-move {
  animation-play-state: paused !important;
}

.ticker-wrapper {
  overflow: hidden;
  position: relative;
  height: 35px;
  white-space: nowrap;
  display: flex;
  align-items: center;  /* vertical center */
  }

.ticker {
  display: flex; /* use flex too */
  width: 100%;
  overflow: hidden;
  position: relative;
  align-items: center; /* vertical center */
}

.ticker-move {
  display: inline-flex; /* inline-flex instead of inline-block */
  font-size: 0.75rem; /* about 75% of normal size */
  white-space: nowrap;
  animation: ticker-scroll 90s linear infinite;
  align-items: center; /* vertical center inside ticker-move */
}

/* Animate translation by 50% because content is duplicated */
@keyframes ticker-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.text-highlightnotice  {
  color: #FFEB3B  !important; /* bright orange */
}

/* Dots - same as before */
.owl-dots .owl-dot span {
  width: 30px;
  height: 30px;
  border-radius: 0 !important;
  background-color: rgba(255, 255, 255, 0.6);
  margin: 6px 0;
}

.owl-dots .owl-dot.active span {
  background-color: #ffc107;
}

.owl-carousel .owl-dots {
  position: absolute;
  top: 50%;
  left: 15px;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  z-index: 10;
}

.banner-border-bottom-5 {
  border-bottom: 7px solid #0048b3;
}

/* Slide container with preserved ratio */
.banner-slide {
  position: relative;
  width: 100%;
  aspect-ratio: 1920 / 500;
  min-height: 200px;
  overflow: hidden;
}

/* Image styling */
.banner-image {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.6s ease;
  transform: none !important;
  border-top-left-radius: 1rem;   /* adjust size as you want */
  border-top-right-radius: 1rem;
 }

.owl-item.active .banner-image {
  opacity: 1;
  transform: none !important;
}

/* Caption animation */
.banner-caption {
  opacity: 0;
  transition: opacity 0.6s ease;
  transform: translateY(20px);
  border-top-left-radius: 1rem;
  border-top-right-radius: 1rem;
 }
 /* cards for loan, deposit and banking services */
 .card-hover {
  transition: transform 0.25s, box-shadow 0.25s, background-color 0.3s;
  border-radius: 0.5rem;
  overflow: hidden;
  background-color: #fff;
}

.card-hover:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.12);
/*  background-color: #f0f5ff; /* subtle light blue */
}


/* Clean clickable submenu pills */
.submenu-link {
  font-size: 0.70rem;
  padding: 5px 10px;
  border: 1px solid #ccc;
  border-radius: 50rem;
  color: #333;
  background-color: #f9f9f9;
  text-decoration: none;
  transition: all 0.2s ease-in-out;
}
.submenu-link::before {
  font-family: "Font Awesome 6 Free";  /* or "Font Awesome 5 Free" */
  content: "\f105"; /* Unicode for fa-angle-right */
  display: inline-block;
  margin-right: 6px;
  color: #0056b3;
  font-weight: 900; /* for solid style */
}
.submenu-link:hover {
  background-color: #0056b3;
  color: #fff;
  border-color: #0056b3;
  text-decoration: none !important;
}
.submenu-link:hover::before {
  color: #fff;
}
.submenu-link:focus {
  outline: 2px solid #0056b3;
  outline-offset: 2px;
  background-color: #dbe7ff;
}
.submenu-container {
  transition: max-height 0.35s ease;
}

/* Small outline-style button for 'View all' */
.toggle-btn {
  font-size: 0.75rem;
  padding: 4px 12px;
  border: 1px solid #0056b3;
  background: transparent;
  color: #0056b3;
  border-radius: 50rem;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
}
.toggle-btn:hover {
  background-color: #0056b3;
  color: #fff;
}


.owl-item.active .banner-caption {
  opacity: 1;
  transform: none !important;
}

/* MOBILE STYLES */
@media (max-width: 768px) {
  .banner-slide {
    aspect-ratio: 192 / 50;  /* Matches 1920x500 */
    height: auto;            /* Let it scale naturally */
    min-height: auto;        /* Remove the 180px minimum */
  }

  .banner-image {
    object-fit: cover; /* or use 'contain' if full image is more important than filling space */
  }

  .owl-carousel .owl-dots {
    display: none !important;
  }
  /* Remove left border on mobile */
  .d-flex.border-start.ps-3.gap-2,
  .border-start {
    border-left: none !important;
    padding-left: 0 !important;
    gap: 0 !important;
  }
}

@media (max-width: 768px) {
  /* Target the Interest Rates block */
  .d-flex.flex-wrap > div:nth-child(4) {
    flex-basis: 100% !important; /* forces a new line */
    border-left: none !important; /* remove border to keep clean on new line */
    padding-left: 0 !important;
  }
}

.btn-close.custom-style {
  background-color: var(--primary) !important;
  border-radius: 50%;
  padding: 0.5rem;
  width: 2rem;
  height: 2rem;
  opacity: 1;
  border: none;
  color: #fff !important; /* Force icon color to white */

}

.btn-close.custom-style:hover {
  background-color: #369c75 !important;
}

.btn-close.custom-style  {
  fill: #fff !important; /* Ensure the SVG inside turns white */
}


.btn-close.custom-style:hover {
  background-color: #369c75 !important; /* Darker shade on hover */
}

.btn-close.custom-style i {
  font-size: 1.2rem;       /* Adjust icon size */
}

/* Slider Styling for EMI Calculator */
input[type=range] {
  -webkit-appearance: none;
  width: 100%;
  height: 6px;
  border-radius: 3px;
  background: #ddd;
  outline: none;
}

input[type=range]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  background: var(--primary, #42b086);
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 0 2px #0003;
}

input[type=range]::-moz-range-thumb {
  background: var(--primary, #42b086);
  border: none;
  border-radius: 50%;
  width: 18px;
  height: 18px;
  cursor: pointer;
}

input[type=range]::-ms-thumb {
  background: var(--primary, #42b086);
}
.btn-outline-dark {
  border-color: #ccc;
  color: #333;
}

 /* Porto Pagination Style */
.pagination {
  display: flex;
  justify-content: flex-start;
  margin-top: 20px;
}

.pagination li {
  margin: 0 3px;
}

.pagination .page-link {
  border: 1px solid #ddd;
  color: var(--dark);
  background-color: #fff;
  padding: 4px 12px;
  text-decoration:none !important;
}

.pagination .page-item.active .page-link {
  background-color: var(--secondary); /* Porto theme primary color */
  color: #fff;
  border-color: #42b086;
}

.pagination .page-link:hover {
  background-color: #f1f1f1;
}

/* Optional: Custom filled track */
input[type=range]::-webkit-slider-runnable-track {
  background: linear-gradient(to right, var(--primary, #42b086) 0%, #ddd 100%);
  height: 6px;
  border-radius: 3px;
}
input[type="range"].slider, input[type="number"] {
  height: 38px;  /* Set the height of both elements to the same value */
}



p.small-description {
  font-size: 0.85rem !important;
  color: var(--dark) !important;
}
a.small-description-link {
  color: var(--secondary) !important;
  text-decoration: none !important;
  transition: color 0.3s ease;
  padding:0px !important;
  font-size: 0.85rem !important;
  font-weight:bold !important;
}

a.small-description-link:hover {
  color: var(--primary) !important;
  text-decoration: underline;
}
.page-header {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
}
.page-header {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
}

.page-header.bg-image-overlay {
  background-image: url('../../../../../image/header.png');
}
.overlay-layer {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.3); /* semi-transparent black, adjust opacity */
  z-index: 1;
}

.page-header .container {
  z-index: 2;
  position: relative;
}
/* Wrapper for content including image and text */
.post-content {
  display: flex;
  flex-wrap: wrap; /* Allows image and text to align properly on different screen sizes */
  justify-content: space-between; /* Ensures equal space between content */
  margin-bottom: 30px; /* Adds space below the content */
}

/* Image styles */
.post-image {
  width: 100%;
  max-width: 600px; /* Optional: Adjust image size */
  margin-right: 20px; /* Space between image and text */
  margin-bottom: 20px;
}

/* Text content styling */
.content-text {
  flex: 1; /* Makes sure text takes up remaining space */
  padding-left: 20px; /* Optional: Add padding to the left of text */
}

.article-description {
  font-size: 1.1rem; /* Increase font size */
  line-height: 1.8; /* Better line spacing for readability */
  color: #333; /* Text color for contrast */
  text-align: justify; /* Justify text */
  margin-bottom: 20px; /* Space after text */
}

/* Space between paragraphs in description */
.article-description p {
  margin-bottom: 15px; /* Space between paragraphs */
}

.breadcrumb li a {
  color: #8295BA;
  transition: color 0.3s;
}

.breadcrumb li a:hover {
  color: #5c6b91; /* darker shade for hover */
}

.breadcrumb li.active {
  color: #a0abc7; /* matching tone for active breadcrumb */
  font-weight: 500;
}
 .custom-card-bg {
  background-color: #f8f9fa; /* Light background color */
}

.content-description b {
  color: var(--secondary) !important;
  font-weight: 600;
}
.content-description p {
  margin: 0 0 5px !important;
}
.content-description blockquote {
  border-left: 4px solid #42b086; /* your primary color */
  background-color: #f8f9fa; /* light gray background */
  color: #333;
  padding: 1rem 1.25rem;
  margin: 1.5rem 0;
  font-style: italic;
  font-size: 1rem;
  border-radius: 0.25rem;
}
.content-description q {
  quotes: "“" "”" "‘" "’";
  color: #42b086;
  font-style: italic;
  font-weight: 500;
}

.content-description q::before {
  content: open-quote;
}

.content-description q::after {
  content: close-quote;
}
.content-description table {
  width: 100%;
  border-collapse: collapse;
  margin: 0.5rem 0;
  font-size: 0.875rem;
  background-color: #fff;
  border: 1px solid #dee2e6;
}
 .content-description thead.custom-thead {
  background-color: var(--secondary) !important;
  color: var(--light) !important;
    font-weight: 600;
  }
.content-description th,
.content-description td {
  padding: 0.45rem 1rem;
  border: 1px solid #dee2e6;
  text-align: left;
  vertical-align: top;
}

.content-description thead {
  background-color: var(--secondary) !important;
  color: var(--light) !important;
}

.content-description tbody tr:nth-child(even) {
  background-color: #f9f9f9; /* zebra striping */
}

.content-description ul {
  list-style: none;
  padding-left: 0;
/*  margin: 2rem 0; */
}

.content-description ul li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.5rem;
}

/*
.content-description ul li::before {
  content: "\f00c"; 
  font-family: "Font Awesome 6 Free";
  font-weight: 900; 
  position: absolute;
  left: 0;
  top: 0.1rem;
  color: #42b086; 
  font-size: 0.9rem;
}
*/
dl.row dt,
dl.row dd {
  margin-bottom: 0.5rem;
}
dt:hover {
  text-decoration: none;
  cursor: pointer;
}
dt, dd {
  display: block; /* Ensure they are block-level elements */
}

dt[style="display: none;"], dd[style="display: none;"] {
  display: none !important; /* Force them to hide completely */
}



/* Style for the slider container */
.language-slider-container {
  display: flex;
  align-items: center;
  gap: 10px;
  border-radius: 8px;
}

/* Style for each language button */
.slider-button {
  padding: 3px 12px;          /* Smaller padding for reduced height */
  font-size: 10px;            /* Smaller font size */
  border-radius: 20px;
  background-color: #6fd4a1;  /* Default color */
  color: white;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  outline: none;
  height: 26px;               /* Set explicit height */
}

/* Hover state for buttons */
.slider-button:hover {
  background-color: #42b086;  /* Hover color */
}

/* Active language button (highlighted) */
.slider-button.active {
  background-color: #42b086;  /* Active language color */
  color: white;               /* Ensure text is white for contrast */
  font-weight: bold;          /* Make the active language bold */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);  /* Add shadow for emphasis */
/*   border: 2px solid #3c9f73;  /* Add a border to make it stand out */
  pointer-events: none;       /* Disable clicking on the active button */
  cursor: default;            /* Change cursor to default (not a hand) */
}

/* Optional: Shadow for a more modern effect */
.slider-button:hover, .slider-button.active {
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.bg-blue {
	background-color: #0a2a66;
	border-top: 10px #2A73CC solid;
	color: #8295BA;
}
/* Remove unwanted fa-chevron-down */
/* Remove the down arrow from Bootstrap's dropdown */
.nav-item .dropdown-toggle::after {
    display: none !important;
}
/* Remove the up arrow icon on dropdown */
.nav-item.dropdown .dropdown-menu::before {
    display: none !important;
/* Styling for top menu title and mobile icon */
.nav-item.dropdown > a {
    background-color: #6fd4a1;  /* Background color */
    color: #fff; /* Text color */
    padding: 8px 15px; /* Padding for a button-like appearance */
    border-radius: 5px; /* Rounded corners */
    display: flex;
    align-items: center;
    text-transform: uppercase; /* Uppercase text */
    font-size: 10px; /* Smaller font size */
}

/* Hover style for main menu item (Removed for click-based behavior) */
.nav-item.dropdown > a:hover {
    background-color: #42b086;  /* Original row background color */
    border-color: #3b9c73; /* Darker border color on hover */
}

/* Style for the mobile icon inside the top menu */
.nav-item.dropdown > a i.fas.fa-mobile-alt {
    color: #fff; /* White mobile icon */
    background-color: #3b9c73; /* Darker background for icon */
    padding: 5px;
    border-radius: 50%; /* Round icon */
}

/* Adjust the space around the dropdown arrow */
.nav-item.dropdown > a .dropdown-toggle::after {
    margin-left: 5px; /* Space between text and arrow */
    color: #fff; /* Arrow color */
}

/* Default submenu behavior (hidden) */
.nav-item .dropdown-menu {
    display: none; /* Hide dropdown by default */
    visibility: hidden; /* Keep it hidden initially */
    opacity: 0; /* Make it invisible */
    position: absolute;
    top: 100%; /* Position below the main item */
    left: 0;
    z-index: 1000; /* Ensure it stays on top */
    background-color: #6fd4a1; /* Set the original background color */
    transition: opacity 0.3s ease; /* Smooth fade effect */
}

/* Show dropdown when the "show" class is added via JS */
.nav-item.dropdown.show > .dropdown-menu {
    display: block; /* Show dropdown */
    opacity: 1;
    visibility: visible;
}

/* Style submenu items */
.nav-item .dropdown-menu li a {
    padding: 8px 20px; /* Adjust the padding to your liking */
    text-decoration: none;
    color: #333; /* Keep text color as is */
    background-color: transparent; /* No background */
    border: none; /* No borders */
}

/* Submenu items hover style */
.nav-item .dropdown-menu li a:hover {
    background-color: transparent; /* Keep original background color */
    color: #42b086; /* Highlight text color on hover */
}

.header-nav-top-icon:hover {
    color: #f0f0f0; /* Color on hover */
    transform: scale(1.1); /* Slightly enlarges the icon on hover */
    transition: all 0.3s ease; /* Smooth transition */
}
.header-nav-top-icon {
    font-size: 24px; /* Change to your preferred size */
}
.header-nav-features-search {
    padding-left: 20px; /* Adjust this value as needed */
}
/* Style for deposit nav description */

.nomobile p {
  margin-left: 10px;
}

html, body {
  overflow-x: hidden;
}
.p-relative {
position: relative !important;
}

