body {
  font-family: "Poppins", sans-serif;
  background-color: #f9f9f9;
}

.text-blue {
  color: #002060;
}

.text-red {
  color: #b01513;
}

.top-bar {
  background-color: #f8f9fa;
  padding: 5px 0;
  font-size: 14px;
}

.navbar {
  padding: 15px 0;
  background: white;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.nav-link {
  color: #002060;
  font-weight: 500;
  margin: 0 10px;
}

.nav-link:hover {
  color: #b01513;
}

.btn-apply {
  background-color: #b01513;
  color: white;
  border-radius: 10px;
  padding: 8px 20px;
  font-weight: 600;
  transition: all 0.3s;
}

.btn-apply:hover {
  background-color: #002060;
  color: white;
  transform: translateY(-2px);
}

.btn-pdf {
  background-color: #002060;
  color: white;
  border-radius: 10px;
  padding: 8px 20px;
  font-weight: 600;
  margin-left: 10px;
  transition: all 0.3s;
}

.btn-pdf:hover {
  background-color: #0b5ed7;
  transform: translateY(-2px);
}

.carousel-image-container {
  position: relative;
  height: 100%;
  width: 100%;
  overflow: hidden;
}

.carousel-image-container::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 60%;
  background: linear-gradient(
    to right,
    rgba(0, 0, 0, 0) 0%,
    rgba(64, 64, 64, 0.7) 100%
  );
}

.carousel-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.carousel-caption {
  right: 10%;
  left: auto;
  top: 42%;
  transform: translateY(-50%);
  text-align: right;
  max-width: 500px;
  padding: 30px;
  z-index: 2;
}

.carousel-title {
  color: #002060;
  font-size: clamp(0.9rem, 4vw, 2.5rem);
  font-weight: 700;
  margin-bottom: 5%;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

.carousel-text {
  color: #b01513;
  font-size: clamp(0.4rem, 2.5vw, 1.5rem);
  margin-bottom: 6%;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

.btn-find {
  background-color: #b01513;
  color: white;
  border-radius: 10px;
  padding: 10px 25px;
  font-weight: 600;
  transition: all 0.3s;
  font-size: clamp(0.4rem, 2.5vw, 1.5rem);
}

.btn-find:hover {
  background-color: #bb2d3b;
  transform: translateY(-2px);
}

.three-cols {
  margin: 0;
  padding: 0;
}

.col-section {
  padding: 50px 30px;
  color: white;
  text-align: center;
  height: 300px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transition: all 0.3s;
}

.col-section:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.col-red {
  background-color: #b01513;
}

.col-black {
  background-color: #231f20;
}

.col-blue {
  background-color: #002060;
}

.col-icon {
  font-size: 2.5rem;
  margin-bottom: 15px;
}

.col-heading {
  display: inline;
  margin-left: 10px;
  font-size: 1.5rem;
  font-weight: 600;
}

.col-text {
  margin-top: 15px;
  font-size: 1rem;
}

.loan-calculator {
  padding: 60px 0;
  background-color: #f8f9fa;
}

.calculator-container {
  background: white;
  border-radius: 15px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
  padding: 30px;
  height: 100%;
}

.slider-container {
  margin: 30px 0;
}

.slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 10px;
  border-radius: 5px;
  background: #d3d3d3;
  outline: none;
}

.slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 25px;
  height: 25px;
  border-radius: 50%;
  background: #dc3545;
  cursor: pointer;
  transition: all 0.2s;
}

.slider::-webkit-slider-thumb:hover {
  transform: scale(1.2);
}

.slider::-moz-range-thumb {
  width: 25px;
  height: 25px;
  border-radius: 50%;
  background: #b01513;
  cursor: pointer;
  transition: all 0.2s;
}

.slider::-moz-range-thumb:hover {
  transform: scale(1.2);
}

.month-selector {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin: 30px 0;
}

.month-heading {
  text-align: center;
  font-weight: 600;
  color: #002060;
  margin-bottom: 15px;
}

.month-option {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 1.2rem;
  cursor: pointer;
  transition: all 0.3s;
  background-color: #e9ecef;
  color: #495057;
}

.month-option:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
}

.month-option.active {
  background-color: #002060;
  color: white;
  transform: scale(1.1);
}

.result-box {
  background: #002060;
  color: white;
  border-radius: 10px;
  padding: 20px;
  text-align: center;
  margin-top: 20px;
}

.result-amount {
  font-size: 2rem;
  font-weight: 700;
  margin: 10px 0;
}

.application-form {
  padding: 60px 0;
  background: white;
}

.form-container {
  background: #f8f9fa;
  border-radius: 15px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
  padding: 30px;
  height: 100%;
}

.form-control {
  border-radius: 10px;
  padding: 12px 15px;
  border: 2px solid #e9ecef;
  transition: all 0.3s;
}

.form-control:focus {
  border-color: #0d6efd;
  box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

.form-check-input:checked {
  background-color: #0d6efd;
  border-color: #0d6efd;
}

.btn-submit {
  background-color: #b01513;
  color: white;
  border-radius: 10px;
  padding: 12px 30px;
  font-weight: 600;
  width: 100%;
  transition: all 0.3s;
}

.btn-submit:hover {
  background-color: #bb2d3b;
  transform: translateY(-2px);
}

.was-validated .form-control:valid {
  border-color: #198754;
  padding-right: calc(1.5em + 0.75rem);
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%23198754' d='M2.3 6.73L.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right calc(0.375em + 0.1875rem) center;
  background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}

.was-validated .form-control:invalid {
  border-color: #dc3545;
  padding-right: calc(1.5em + 0.75rem);
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23dc3545'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right calc(0.375em + 0.1875rem) center;
  background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}

.was-validated .form-check-input:valid {
  border-color: #198754;
}

.was-validated .form-check-input:invalid {
  border-color: #dc3545;
}

.invalid-feedback {
  display: none;
  width: 100%;
  margin-top: 0.25rem;
  font-size: 0.875em;
  color: #dc3545;
}

.was-validated .form-control:invalid ~ .invalid-feedback {
  display: block;
}

.was-validated .form-check-input:invalid ~ .invalid-feedback {
  display: block;
}

.help-section {
  padding: 80px 0;
  background-color: #fff;
}

.section-heading {
  text-align: center;
  color: #003366;
  font-weight: 700;
  margin-bottom: 20px;
}

.section-subheading {
  text-align: center;
  color: #555;
  font-size: 1.1rem;
  max-width: 700px;
  margin: 0 auto 50px;
  line-height: 1.6;
}

.help-column {
  border-radius: 10px;
  padding: 40px 30px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.help-column:hover {
  transform: translateY(-5px);
}

.red-column {
  background-color: #b01513;
  color: white;
}

.blue-column {
  background-color: #002060;
  color: white;
}

.column-content {
  max-width: 100%;
}

.column-content p {
  line-height: 1.8;
  margin-bottom: 15px;
}

.footer {
  background-color: #002060;
  color: white;
  padding: 60px 0 20px;
}

.footer-logo {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 20px;
  display: inline-block;
}

.footer-heading {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 25px;
  position: relative;
  padding-bottom: 10px;
}

.footer-heading-2 {
  font-size: 18px;
  font-weight: 600;

  position: relative;
  padding-bottom: 10px;
}

.footer-heading::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 3px;
  background-color: #fff;
}

.footer-heading-2::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 3px;
  background-color: #fff;
}

.footer-text {
  line-height: 1.8;
  margin-bottom: 20px;
}

.footer-menu {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-menu li {
  margin-bottom: 12px;
}

.footer-menu a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: all 0.3s ease;
}

.footer-menu a:hover {
  color: white;
  padding-left: 5px;
}

.contact-info {
  list-style: none;
  padding: 0;
  margin: 0;
}

.contact-info li {
  margin-bottom: 15px;
  display: flex;
  align-items: flex-start;
}

.contact-info i {
  margin-right: 10px;
  margin-top: 4px;
  min-width: 16px;
}

.copyright {
  text-align: center;
  padding-top: 30px;
  margin-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
}

.branch-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 6px;
}

.branch-card .caption {
  background: #c00;
  color: white;
  text-align: center;
  padding: 8px;
  border-radius: 0 0 6px 6px;
}

.branch-card.blue .caption {
  background: #002366;
}

.contact-section {
  padding: 60px 20px;
  background: #fafafa;
}

.contact-section h2 {
  color: #a00;
  margin-bottom: 20px;
}

.form-control,
.form-select {
  border: none;
  border-bottom: 1px solid #c00;
  border-radius: 0;
  box-shadow: none !important;
}

.btn-submit {
  background: #c00;
  color: white;
  border: none;
  padding: 10px 30px;
  border-radius: 10px;
}

.cta-section {
  padding: 100px 0;
  background-image: url("../images/life-cover-bg.webp");
  background-size: cover;
  background-position: center;
  position: relative;
  color: white;
}

.cta-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0.7) 0%,
    rgba(0, 0, 0, 0.4) 100%
  );
}

.cta-content {
  position: relative;
  z-index: 1;
}

.cta-heading {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: white;
}

.cta-text {
  font-size: 1.2rem;
  line-height: 1.6;
  margin-bottom: 30px;
  max-width: 500px;
}

.cta-button {
  background-color: #002060;
  color: white;
  border: none;
  border-radius: 10px;
  padding: 18px 40px;
  font-size: 1.2rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.cta-button:hover {
  background-color: #bb2d3b;
  transform: translateY(-3px);
  box-shadow: 0 15px 25px rgba(0, 0, 0, 0.3);
}

.cta-button:active {
  transform: translateY(-1px);
}

.header-section {
  padding: 60px 20px;
  text-align: center;
  background-color: #f8f9fa;
}

.header-section h2 {
  color: #212529;
  font-weight: bold;
  margin-bottom: 15px;
}

.header-section p {
  color: #6c757d;
  font-size: 1.1em;
  max-width: 800px;
  margin: 0 auto;
}

.content-section-red {
  background-color: #b01513;
  color: white;
  padding: 0px 20px;
}

.content-section-red img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  transition: transform 0.3s ease-in-out;
}

.content-section-red img:hover {
  transform: scale(1.05);
}

.ncr-section {
  background-color: #343a40;
  color: white;
  padding: 30px 20px;
  text-align: center;
  font-size: 1.3em;
  font-weight: bold;
}

.content-section-blue {
  background-color: #002060;
  color: white;
  padding: 0px 20px;
}

.content-section-blue img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  transition: transform 0.3s ease-in-out;
}

.content-section-blue img:hover {
  transform: scale(1.05);
}

.text-content {
  transition: transform 0.3s ease-in-out;
}

.text-content:hover {
  transform: translateY(-5px);
}

.image-container {
  display: flex;
  align-items: center;
  justify-content: center;
}

.card-img-container {
  height: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease-in-out;
}

.card-img-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease-in-out;
}

.card-img-container:hover {
  transform: scale(1.05);
}

.card-img-container img:hover {
  transform: scale(1.1);
}

.apply-btn {
  background-color: #b01513;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 5px;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.apply-btn:hover {
  background-color: #c02d38;
  transform: translateY(-3px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.section-title {
  color: #b01513;
  font-weight: bold;
  margin-bottom: 30px;
}

.feature-list {
  list-style: none;
  padding-left: 0;
}

.feature-list li {
  position: relative;
  padding-left: 25px;
  margin-bottom: 10px;
}

.feature-list li::before {
  content: "•";
  color: #e63946;
  font-size: 1.2em;
  position: absolute;
  left: 0;
  top: -2px;
}

.contact-box {
  background: linear-gradient(135deg, #b01513 0%, #e63946 100%);
  border-radius: 20px;
  padding: 20px;
  color: white;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
  max-width: 100%;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
  animation: fadeIn 0.8s ease-out;
}

.contact-box::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.1) 0%,
    transparent 60%
  );
  transform: rotate(30deg);
  animation: shine 8s infinite linear;
}

.contact-header {
  text-align: center;
  margin-bottom: 30px;
  position: relative;
}

.contact-header h2 {
  font-weight: 700;
  font-size: 28px;
  margin-bottom: 10px;
  position: relative;
  display: inline-block;
}

.contact-header h2::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background-color: #dc3545;
  border-radius: 2px;
}

.contact-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  position: relative;
}

.contact-item {
  height: 100%;
  padding: 20px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  transition: transform 0.3s ease, background 0.3s ease;
  animation: slideIn 0.6s ease-out;
}

.contact-item:nth-child(1) {
  animation-delay: 0.1s;
}

.contact-item:nth-child(2) {
  animation-delay: 0.2s;
}

.contact-item:nth-child(3) {
  animation-delay: 0.3s;
}

.contact-item:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.15);
}

.contact-icon {
  font-size: 24px;
  margin-bottom: 15px;
  color: #fff;
}

.contact-title {
  font-weight: 600;
  margin-bottom: 12px;
  font-size: 18px;
  color: #fff;
}

.contact-details {
  line-height: 1.6;
}

.contact-details p {
  margin-bottom: 8px;
}

.office-hours {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px dashed rgba(255, 255, 255, 0.3);
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateX(-20px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes shine {
  0% {
    transform: rotate(30deg) translateX(-100%);
  }

  100% {
    transform: rotate(30deg) translateX(100%);
  }
}

.about-section {
  padding: 80px 0;
  background-color: #f8f9fa;
}

.about-image {
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.about-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
  padding: 0 30px;
}

.about-title {
  color: #002060;
  font-weight: 700;
  margin-bottom: 25px;
  position: relative;
  padding-bottom: 15px;
}

.about-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 4px;
  background-color: #b01513;
}

.about-text {
  color: #555;
  line-height: 1.8;
  font-size: 1.1rem;
}

.text-padding {
  margin-top: 50px;
}

iframe {
  border-radius: 15px;
}

.branch-card {
  border: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-radius: 12px;
  overflow: hidden;
}
.branch-card img {
  height: 200px;
  object-fit: cover;
}
.branch-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.card-body {
  background-color: #b01513;
  color: white;
}
.card-text {
  font-size: 0.95rem;
  color: white;
}
.floating_btn {
  position: fixed;
  bottom: 10px;
  right: 10px;
  width: 100px;
  height: 100px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

@keyframes pulsing {
  to {
    box-shadow: 0 0 0 30px rgba(232, 76, 61, 0);
  }
}

.contact_icon {
  background-color: #42db87;
  color: #fff;
  width: 60px;
  height: 60px;
  font-size: 30px;
  border-radius: 50px;
  text-align: center;
  box-shadow: 2px 2px 3px #999;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translatey(0px);
  animation: pulse 1.5s infinite;
  box-shadow: 0 0 0 0 #42db87;
  -webkit-animation: pulsing 1.25s infinite cubic-bezier(0.66, 0, 0, 1);
  -moz-animation: pulsing 1.25s infinite cubic-bezier(0.66, 0, 0, 1);
  -ms-animation: pulsing 1.25s infinite cubic-bezier(0.66, 0, 0, 1);
  animation: pulsing 1.25s infinite cubic-bezier(0.66, 0, 0, 1);
  font-weight: normal;
  font-family: sans-serif;
  text-decoration: none !important;
  transition: all 300ms ease-in-out;
}

.text_icon {
  margin-top: 8px;
  color: #707070;
  font-size: 13px;
}

a {
  text-decoration: none !important;
}
