@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');


:root {
  /* backcground color */
  --bg-white: #ffffff;

  /* Other colors */
  --primary-color: #1d3a59;
  --secondary-color: #3d9244;
}

body,
html {
  margin: 0;
  padding: 0;
  color: white;
  box-sizing: border-box;
  font-size: 20px;
  font-weight: 300;
  font-style: normal;
  scroll-behavior: smooth;
  font-family: 'Poppins', sans-serif;
  background-color: var(--bg-white);
}

a {
  text-decoration: none;
  color: white;
}

b {
  font-weight: 600;
  font-size: 0.9rem;
}

.text-muted {
  font-size: 0.8rem;
}

/* Loader Styles */
/* Loader Styling */
#loader {
    position: fixed;
    z-index: 9999;
    background-color: #ffffff;
    width: 100vw;
    height: 100vh;
    top: 0;
    left: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.5s ease;
  }
  
  .loader-text {
    font-size: 3rem;
    font-weight: bold;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #1A237E; 
    position: relative;
  }
  
  .loader-text::after {
    content: '';
    display: block;
    width: 100%;
    height: 4px;
    background: #FFD700;
    animation: loader-line 1.2s ease-in-out infinite;
    margin-top: 10px;
  }
  
  @keyframes loader-line {
    0% { transform: scaleX(0); opacity: 0.2; }
    50% { transform: scaleX(1); opacity: 1; }
    100% { transform: scaleX(0); opacity: 0.2; }
  }
  
  /* Hide loader when page is loaded */
  body.loaded #loader {
    opacity: 0;
    pointer-events: none;
  }

/* Responsive loader font size */
@media (max-width: 768px) {
  .loader-text {
    font-size: 2rem;
  }
}

/* Nav start */
.navbar {
  font-weight: 400;
}

.nav-item:hover {
  color: var(--secondary-color);
}

.navbar-toggler-icon {
  width: 1rem;
  height: 1rem;
}

.nav-link:hover,
.dropdown-item:hover {
  color: var(--primary-color);
  font-weight: 500;
  text-decoration: underline;
}

.carousel-inner {
  position: relative;
}

/* Nav end */

/* Carousel Start */
.carousel-inner::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 1;
  pointer-events: none;
}

.carousel-item img {
  height: 80vh;
  object-fit: cover;
  display: block;
  width: 100%;
  position: relative;
  z-index: 1;
}

.carousel-caption {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
  text-align: center;
  z-index: 2;
}

@media screen and (max-width: 768px) {
  .carousel-item img {
    height: 30vh;
  }
}

/* carousel contact */
.carousel-contact {
  background-color: var(--primary-color);
  height: 30px;
  width: 100%;
  color: #fff;
}

.carousel-contact div:hover {
  background-color: var(--secondary-color);
}

@media screen and (max-width: 768px) {
  .carousel-contact {
    display: none;
  }
}

/* Carousel Item */
.carousel-caption {
  z-index: 10;
}

.box-1 {
  height: 3rem;
}

/* Carousel Item End */

/* Credit Score end */
.container-fluid {
  padding: 0;
}

.credit-score {
  width: 100%;
  color: var(--primary-color);
  font-size: medium;
}

.credit-score img {
  height: auto;
  width: 380px;
}

.credit-score button {
  background-color: var(--primary-color);
  border: none;
}

.credit-score button:hover {
  background: hsl(211, 51%, 23%);
  color: #fff;
  transform: scale(1.08);
  box-shadow: 0 6px 18px hsl(211, 51%, 23%);
}

.credit-score p {
  font-weight: 300;
  font-size: 20px;
}

.credit-score-info {
  font-size: 18px;
  color: var(--primary-color);
}

@media screen and (max-width: 768px) {
  .credit-score-info {
    padding: 3px;
    font-size: 15px;
  }
}

@media screen and (min-width: 768px) {
  .credit-score img {
    height: auto;
    width: 50%;
  }
}

/* Brand Strip */
.brand-strip-container {
  background-color: rgb(227, 225, 225);
}

.brand-strip img:hover {
  transform: scale(1.05);
  transition: transform 0.3s ease;
}

.row {
  padding: 0 !important;
  margin: 0 !important;
}

@media screen and (max-width: 768px) {
  .brand-strip img {
    height: 50px;
    width: 125px;
  }
}

/* Brand Strip End */

/* testimonial */
.testimonial h2,
.card-text {
  color: var(--primary-color);
}

.card-text {
  color: var(--primary-color);
}

/* testimonial end */

/* Email promo */
.email-promo {
  color: var(--primary-color);
  padding: 20px;
  text-align: center;
}

.email-promo button {
  background-color: var(--primary-color);
  color: white;
  margin: 15px;
  padding: 10px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

/* Email promo end */

/* Our Presence */
.our-presence {
  background-color: rgb(227, 225, 225);
}

.op-img {
  height: 200px;
  width: auto;
  margin-bottom: 1.5rem;
  margin-right: 1.5rem;
}

.op-img:hover {
  transform: scale(1.05);
  transition: transform 0.3s ease;
}

.our-presence a {
  display: inline-block;
}

@media screen and (max-width: 768px) {
  .our-presence p {
    font-size: 14px;
  }

  .our-presence img {
    height: 80px;
    width: auto;
    margin-bottom: 10px;
  }
}

.our-presence h1 {
  color: var(--primary-color);
}

/* Our Presence end */

/* footer */
.footer {
  background-color: var(--primary-color);
}

.footer-link a {
  word-break: normal;
  display: inline-flex;
  align-items: center;
}

.footer-link a {
  max-width: 100%;
}

.footer-link a,
p {
  color: rgb(227, 225, 225);
  transition: color 0.2s ease;
}

.footer-link img {
  height: 25px;
  width: auto;
  margin-right: 10px;
}

.footer-link a:hover {
  /* color: var(--secondary-color); */
  text-decoration: underline;
}

.social img {
  height: 40px;
  width: auto;
}

.social img:hover {
  transform: scale(1.1);
  transition: transform 0.3s ease;
  color: var(--secondary-color);
}

/* footer end */

/* Background */
.HL-bg {
  background-image: url("Assets/HL.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  min-height: 300px;
  width: 100%;
  display: flex;
  align-items: center;
}

.casual-bg {
  background-color: rgb(239, 243, 245);
}

/* Form */
.form-label {
  font-size: 0.8rem;
}

/* Card */
.benefit-card {
  border: 1px solid #e3eafc;
  box-shadow: 0 8px 24px 0 rgba(29, 58, 89, 0.07);
  border-radius: 0;
  transition: box-shadow 0.2s;
  background: #fff;
  min-height: 180px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.benefit-card {
  box-shadow: 0 4px 16px 0 rgba(0, 0, 0, 0.15);
}

.benefit-card:hover {
  box-shadow: 0 8px 32px 0 rgba(255, 193, 7, 0.7), 0 4px 16px 0 rgba(0, 0, 0, 0.15);
}

.benefit-card .card-title {
  color: #1d3a59;
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
}

.benefit-card .card-text {
  color: #7b7b93;
  font-size: 1rem;
  font-weight: 400;
  margin-bottom: 0;
}

@media (max-width: 991.98px) {
  .benefit-card {
    min-height: 200px;
  }
}

@media (max-width: 767.98px) {
  .benefit-card {
    min-height: 0;
  }
}

.benefits-title {
  color: #1d3a59;
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  letter-spacing: 0.5px;
}

.benefits-desc {
  color: #7b7b93;
  font-size: 1.15rem;
  font-weight: 400;
  margin-bottom: 2.5rem;
}
/* Card end */


