@font-face {
  font-family: 'epstempco_icon';
  src:  url('fonts/epstempco_icon.eot?cog687');
  src:  url('fonts/epstempco_icon.eot?cog687#iefix') format('embedded-opentype'),
    url('fonts/epstempco_icon.ttf?cog687') format('truetype'),
    url('fonts/epstempco_icon.woff?cog687') format('woff'),
    url('fonts/epstempco_icon.svg?cog687#epstempco_icon') format('svg');
  font-weight: normal;
  font-style: normal;
}

[class^="eps-"], [class*=" eps-"] {
  /* use !important to prevent issues with browser extensions that change fonts */
  font-family: 'epstempco_icon' !important;
  speak: none;
  font-style: normal;
  font-weight: normal;
  font-variant: normal;
  text-transform: none;
  line-height: 1;

  /* Better Font Rendering =========== */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
	

}

.eps-loan:before {
  content: "\e900";
}

.eps-savings:before {
  content: "\e901";
}
.eps-consumers:before {
  content: "\e902";
}


/* Modal Background & Centering */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0; top: 0;
  width: 100vw; height: 100vh;
  background: rgba(0,0,0,0.6);
  justify-content: center;
  align-items: center;
  /* Flexbox for perfect centering 
  display: flex; */
}

/* Show modal with fade-in animation */
.modal.show {
  animation: modalFadeIn 0.5s;
  display: flex;
}

@keyframes modalFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.modal-content {
  background: #ffffff;
  width: 80%;
  max-width: 600px;
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
  opacity: 0;
  transform: scale(0.95);
  animation: modalContentIn 0.3s forwards;
  max-height: 80vh;   
  overflow-y: auto; 
}

@keyframes modalContentIn {
  from { opacity: 0; transform: scale(0.95);}
  to   { opacity: 1; transform: scale(1);}
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #ffffff;
  padding-bottom: 10px;
}
.close {
  font-size: 50px;
  cursor: pointer;
  border: none;
  background: none;
}

/* Accordion FAQ */
.accordion-item {
  border-bottom: 1px solid #ffffff;
}
.accordion-header {
  padding: 12px;
  cursor: pointer;
  font-weight: bold;
  background: #f7f7f7;
}
.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  padding: 0 12px;
  background-color: rgb(153, 213, 245);
}
.accordion-content p {
  margin: 10px 0;
}