  .loan-now-button {
    background-color: #1d407e;
    color: #ffffff;
    border: none;
    text-decoration: none;
  }
  
  .loan-now-button:hover {
    background-color: #1d407e; /* Darker shade of the original color */
    color: #fde362; /* Change text color on hover */
  }
  
  .card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }

  .btn-primary,
  .btn-outline-primary {
    background-color: transparent;
    border: 1px solid #1d407e;
    color: #1d407e;
    transition: all 0.3s ease-in-out;
  }

  /* Hover effect */
  .btn-primary:hover,
  .btn-outline-primary:hover {
    background-color: #1d407e;
    border-color: #1d407e;
    color: gold;
  }

  .btn-success {
    background-color: #1d407e;
    border-color: #1d407e;
  }
  
  .btn-success:hover {
    background-color: #16305d;
    border-color: #16305d;
    color: gold;
  }

  .nav-pills-gray-rounded .nav-item .nav-link.active, 
  .nav-pills-gray-rounded .nav-item .nav-link:hover {
      color: #fde362;
      background-color: #1d407e;
  }
  
  .nav-pills-gray-rounded .nav-item .nav-link {
      background-color: transparent; /* Make background transparent */
      color: #1d407e;
      border: 1px solid #1d407e;
      transition: color 0.3s, background-color 0.3s;
  }
  
  .nav-pills-gray-rounded .nav-item .nav-link {
      background-color: transparent; /* Make background transparent */
      border-radius: 50rem;
      color: #1d407e;
      font-size: 15px;
      font-weight: 600;
      line-height: 28px;
  }

  .banner-heading {
    background-color: #1d407e;
  }

  /* All Products More Information Underline Color */
  .custom-underline {
  color: #1d407e;
  border-bottom: 2px solid #1d407e; /* This changes the underline color */
  text-decoration: none; /* Removes the default underline */
  }

  .custom-underline:hover {
  text-decoration: underline; /* Optionally, you can add an underline on hover if needed */
  }

  /* Base Styling */
.header {
  width: 100%;
}

.header .col-xl-5, 
.header .col-lg-3, 
.header .col-md-3 {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.header img {
  width: 90px;
  height: auto;
}

.fs-6 {
  font-size: 1rem;
}

.text-uppercase {
  text-transform: uppercase;
}

.text-white {
  color: #fff;
}

.fw-semi-bold {
  font-weight: 600;
}

/* Responsive Adjustments */
@media (max-width: 991px) {
  /* Tablets */
  .header .col-lg-2, 
  .header .col-lg-3, 
  .header .col-lg-7 {
      text-align: center;
      margin-bottom: 10px;
  }

  .header .col-lg-3 {
      font-size: 0.9rem;
  }

  .header .col-lg-7 .ms-md-4 {
      display: block;
      margin-top: 8px;
  }
}

@media (max-width: 767px) {
  /* Mobile Phones */
  .header .container {
      padding-left: 15px;
      padding-right: 15px;
  }

  .header .col-md-2, 
  .header .col-md-3, 
  .header .col-md-7 {
      text-align: center;
      margin-bottom: 10px;
  }

  .header .col-md-3 {
      font-size: 0.8rem;
  }

  .header .col-md-7 .ms-md-4 {
      display: block;
      margin-top: 8px;
  }

  .header .col-md-7 {
      text-align: center;
  }

  .header .col-md-2 img {
      width: 80px;
  }

  .fs-6 {
      font-size: 0.9rem;
  }
}

@media (max-width: 575px) {
  /* Smaller Mobile Phones */
  .header .col-12 {
      text-align: center;
      margin-bottom: 10px;
  }

  .header .col-12 .ms-2 {
      display: block;
      margin-top: 8px;
  }

  .header img {
      width: 70px;
  }

  .fs-6 {
      font-size: 0.8rem;
  }
}

/* Base Styling for Cards */
.card {
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Alignment and padding adjustments for mobile */
@media (max-width: 991px) {
  .card {
    margin-bottom: 15px;
  }

  /* Center the cards in mobile and small tablets */
  .card-body {
    text-align: center;
    padding: 20px;
  }

  .card h4, .card p {
    margin-bottom: 1rem;
  }

  .row {
    justify-content: center;
  }
}

@media (max-width: 767px) {
  /* Mobile view: stack cards vertically */
  .col-md-6, .col-sm-12 {
    max-width: 100%;
    flex: 0 0 100%;
  }

  .card {
    margin-bottom: 20px;
  }

  /* Ensuring proper spacing between icons and text */
  .card .mb-5 {
    margin-bottom: 1.5rem;
  }
}




  



  

  

  