#dynamic_textH3 {
  text-align: center;
  position: absolute;
  display: flex;
  justify-content: center;
  width: 100%;
  transform: translate(0, -10px);
}



/* about us */
#about-us {
  text-align: center;
  margin-top: 40px;
  margin-bottom: 40px;
  padding: 40px;
  background: linear-gradient(45deg, #0071EB, #00C6FF);
  border-radius: 5px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
  color: #fff;
  position: relative;
  transform-style: preserve-3d;
  transform: rotateY(20deg);
  transition: transform 0.5s;
}

#about-us:hover {
  transform: rotateY(25deg) ;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.3);
}

#about-us h2 {
  font-size: 28px;
  margin-bottom: 20px;
}

#about-us p {
  font-size: 20px;
  margin: 10px;
  line-height: 1.6;
}

#about-us p:last-child {
  margin-bottom: 0;
}

#about-us::before {
  content: '';
  display: block;
  width: 50px;
  height: 4px;
  background-color: #fff;
  margin: 0 auto 20px;
  border-radius: 2px;
}

@media screen and (max-width: 768px) {
  #about-us {
    padding: 20px;
  }

  #about-us h2 {
    font-size: 24px;
  }

  #about-us p {
    font-size: 14px;
  }
}



/* chat css */
/* Chat Section */
.chat-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px;
  width: 400px;
  background-color: #f1f1f1;
  border-top-left-radius: 30px;
  border-top-right-radius: 30px;

  position: fixed;
  bottom: 0;
  right: 0;
  z-index: 5;
}

/* Chat Container */
#chat-container {
  border-top-left-radius: 50%;
  border-top-right-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 20px;
  background-color: #fff;
  border-radius: 5px;
  width: 100%;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  overflow-y: auto;
  height: 350px;
}




.chat-bubble {
  background-color: #0071EB;
  color: #fff;
  padding: 10px;
  margin-bottom: 10px;
  border-radius: 5px;
  max-width: 80%;
  align-self: flex-end;
  display: flex;
  flex-direction: column;
}


.user-bubble {
  background-color: #f1f1f1;
  color: #000;
  padding: 10px;
  margin-bottom: 10px;
  border-radius: 5px;
  max-width: 80%;
  align-self: flex-start;
}



.response {
  margin-top: 5px;
}


.input-container {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

/* User Input */
#user-input {
  width: 100%;
  padding: 13px;
  margin-top: 10px;
  margin-right: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 14px;
}

/* Send Button */
#send-btn {
  padding: 13px;
  margin-top: 10px;
  background-color: #0071EB;
  background: linear-gradient(rgb(10, 20, 110), #0071EB);
  color: #fff;
  border: none;
  border-radius: 5px;
  cursor: pointer;

}

.input-container input {
  flex: 1;
  border: 1px solid #ccc;
  border-radius: 5px 0 0 5px;
}

.input-container button {
  padding: 10px;
  background-color: #0071EB;
  color: #fff;
  border: none;
  border-radius: 0 5px 5px 0;
  cursor: pointer;
}

#chat-head {
  background-color: #0071EB;
  background: linear-gradient(rgb(10, 20, 110), #0071EB);
  display: flex;
  justify-content: center;
  color: #fff;
  padding: 10px 20px;
  width: 100%;
  border-top-left-radius: 30px;
  border-top-right-radius: 30px;

}

#chat-head h2 {
  margin-bottom: 0 !important;
  color: #fff;
  flex-grow: 2;
  align-self: center;
}

#chat-toggle {
  cursor: pointer;
  display: flex;
  align-self: center;
  padding: 10px;
}

#chat-toggle:hover {
  background-color: #f1f1f1;
  border-radius: 50%;
  padding: 10px;
  color: #000;
  text-align: center;
}



.hide-chat #chat-container {
  display: none;
}


#calculator,#calculator1 {
  width: 240px;
  margin: 20px auto;
  border-radius: 5px;
  padding: 10px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  border: 2px solid transparent;
  background-color: #fff;
}

#result,#result1 {
  width: 100%;
  height: 80px;
  margin-bottom: 10px;
  font-size: 18px;
  text-align: right;
  padding: 5px;
}

#buttons,#buttons1 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 5px;
}

#buttons button,#buttons1 button  {
  width: 100%;
  height: 40px;
  font-size: 18px;
  background-color: #f1f1f1;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s;
}

#buttons button:hover,#buttons1 button:hover  {
  background-color: #e0e0e0;
}

#buttons button:active,#buttons1 button:active {
  background-color: #d3d3d3;
}

#equalbtn,#equalbtn1 {
  border: 2px solid transparent;
  border-radius: 5px;
  grid-column: span 4;
}

#equalbtn:hover,#equalbtn1:hover {
  border-radius: 5px;
}

#calculator1 {
  display: none;
}












.interest-calculator {
  width: 300px;
  padding: 20px;
  border: 1px solid #ccc;
  border-radius: 5px;
  margin: 20px;
  background: linear-gradient(120deg, #ffffff 0%, #ffffff 100%);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.interest-calculator h2 {
  margin: 0;
  padding: 10px 0;
  font-size: 18px;
  font-weight: bold;
  color: #000000;
  text-align: center;
}

.interest-calculator label {
  display: inline-block;
  width: 150px;
  font-weight: bold;
  color: #000000;
}

.interest-calculator input[type="range"] {
  width: 100%;
  cursor: pointer;
}

.interest-calculator div.range-cont {
  display: flex;
  margin-bottom: 10px;
  flex-direction: column;
}

.label-amount-group {
  display: flex;
  align-items: center;
  justify-content: space-between;
}


.interest-calculator span {
  margin-left: 10px;
  font-weight: bold;
  color: #000000;
}

p.range {
  width: 100%;
  position: relative;
}

input[type=range] {
  -webkit-appearance: none;
  height: 35px;
  padding: 0;
  width: 100%;
}

input[type=range]::-webkit-slider-thumb {
  -webkit-appearance: none;
  box-sizing: content-box;
  border: 12px solid #a6d8ef;
  height: 8px;
  width: 8px;
  border-radius: 18px;
  background-color: #5082e0;
  cursor: ew-resize;
  margin-top: -14px;
  opacity: .7;
}

input[type=range]::-moz-range-thumb {
  border: 12px solid #a6d8ef;
  height: 8px;
  width: 8px;
  border-radius: 18px;
  background-color: #5082e0;
  cursor: ew-resize;
  margin-top: -14px;
  opacity: .7;

}

input[type=range]::-ms-thumb {
  display: inline-block;
  border: 12px solid #a6d8ef;
  height: 8px;
  width: 8px;
  border-radius: 18px;
  background-color: #5082e0;
  cursor: ew-resize;
  margin-top: 5px;
  /* note: different margin-top for IE */
}


input[type=range]::-webkit-slider-runnable-track {
  height: 3px;
  border-color: transparent;
  color: transparent;
  background-color: #cccccc;
}

input[type=range]::-moz-range-track {
  height: 3px;
  background-color: #cccccc;
}

input[type=range]::-ms-track {
  border-color: transparent;
  color: transparent;
  height: 3px;
  background-color: #cccccc;
}

input[type=range]::-ms-fill-lower {
  background-color: #5082e0;

}

input[type=range]::-moz-range-progress {
  background-color: #5082e0;
}

input[type=range]::-ms-tooltip {
  display: none;
}

p.range {
  margin-top: 25px;
}

p.range output {
  position: absolute;
  top: -25px;
  left: 0;
  width: 100%;
  height: 20px;
  text-align: center;
  font-weight: bold;
}

p.range span {
  width: 100%;
  display: block;
  height: 20px;
  position: relative;
}

output {
  color: #000000;
  background: linear-gradient(90deg, #9dd2ff, #39a3ff);
  width: 80px;
  padding: 5px;
  cursor: pointer;
  text-align: right;
}

section#sic,section#cic {
  display: flex;
  align-items: center;
  justify-content: space-evenly;

}

select#conversionType {
  margin: auto;
  display: flex;
  padding: 10px;
  margin-top: 10px;
}

#interestFrequency {
outline:none;
border:none;
border-bottom: 1px solid #0071EB;
padding:5px;
}