body,
html {
  font-family: "Open Sans", sans-serif;
  text-rendering: optimizeLegibility !important;
  -webkit-font-smoothing: antialiased !important;
  color: #000;
  font-weight: 400;
  width: 100% !important;
  height: 100% !important;
}

h2,
h3,
h4 {
  font-family: "Raleway", sans-serif;
}

h2 {
  text-transform: uppercase;
  margin: 0 0 20px;
  font-weight: 800;
  font-size: 36px;
  color: #333;
}

h3 {
  font-size: 20px;
  font-weight: 600;
  color: #333;
}

h4 {
  font-size: 18px;
  color: #333;
  font-weight: 600;
}

h5 {
  text-transform: uppercase;
  font-weight: 700;
  line-height: 20px;
}

p {
  font-size: 15px;
}

p.intro {
  margin: 12px 0 0;
  line-height: 24px;
}

a {
  color: #608dfd;
  font-weight: 400;
}

a:hover,
a:focus {
  text-decoration: none;
  color: #608dfd;
}

ul,
ol {
  list-style: none;
}

ul,
ol {
  padding: 0;
  webkit-padding: 0;
  moz-padding: 0;
}

hr {
  height: 2px;
  width: 70px;
  text-align: center;
  position: relative;
  background: #1e7a46;
  margin-bottom: 20px;
  border: 0;
}

/* Navigation */
#menu {
  padding: 15px;
  transition: all 0.8s;
}

#menu.navbar-default {
  background-color: #fff;
  border-color: rgba(231, 231, 231, 0);
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.15);
}

#menu a.navbar-brand {
  font-family: "Raleway", sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: #333;
  text-transform: uppercase;
}

#menu.navbar-default .navbar-nav>li>a {
  font-family: "Lato", sans-serif;
  text-transform: uppercase;
  color: #555;
  font-size: 15px;
  font-weight: 400;
  padding: 8px 2px;
  border-radius: 0;
  margin: 9px 20px 0;
}

#menu.navbar-default .navbar-nav>li>a:after {
  display: block;
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 0;
  height: 2px;
  background: linear-gradient(to right, #6372ff 0%, #5ca9fb 100%);
  content: "";
  transition: width 0.2s;
}

#menu.navbar-default .navbar-nav>li>a:hover:after {
  width: 100%;
}

.navbar-default .navbar-nav>.active>a,
.navbar-default .navbar-nav>.active>a:hover,
.navbar-default .navbar-nav>.active>a:focus {
  background-color: transparent;
}

.navbar-default .navbar-nav>.active>a:after,
.navbar-default .navbar-nav>.active>a:hover:after,
.navbar-default .navbar-nav>.active>a:focus:after {
  display: block !important;
  position: absolute !important;
  left: 0 !important;
  bottom: -1px !important;
  width: 100% !important;
  height: 2px !important;
  background: linear-gradient(to right, #6372ff 0%, #5ca9fb 100%) !important;
  content: "" !important;
  transition: width 0.2s !important;
}

.navbar-toggle {
  border-radius: 0;
}

.navbar-default .navbar-toggle:hover,
.navbar-default .navbar-toggle:focus {
  background-color: #fff;
  border-color: #608dfd;
}

.navbar-default .navbar-toggle:hover>.icon-bar {
  background-color: #608dfd;
}

.section-title {
  margin-bottom: 30px;
}

.section-title h2 {
  color: hsl(224.72, 58.89%, 35.29%);
  position: relative;
  margin-top: 10px;
  margin-bottom: 15px;
  padding-bottom: 15px;
}

.section-title h2::after {
  position: absolute;
  content: "";
  background: linear-gradient(to right, #5ca9fb 0%, #6372ff 100%);
  height: 4px;
  width: 60px;
  bottom: 0;
  margin-left: -30px;
  left: 50%;
}

.section-title p {
  font-size: 18px;
}

.btn-custom {
  font-family: "Raleway", sans-serif;
  text-transform: uppercase;
  color: #fff;
  background-color: #5ca9fb;
  background-image: linear-gradient(to right, #5ca9fb 0%, #6372ff 100%);
  padding: 14px 34px;
  letter-spacing: 1px;
  margin: 0;
  font-size: 15px;
  font-weight: 500;
  border-radius: 25px;
  transition: all 0.5s linear;
  border: 0;
}

.btn-custom:hover,
.btn-custom:focus,
.btn-custom.focus,
.btn-custom:active,
.btn-custom.active {
  color: #fff;
  background-image: none;
  background-color: #6372ff;
}

.btn:active,
.btn.active {
  background-image: none;
  outline: 0;
  -webkit-box-shadow: none;
  box-shadow: none;
}

a:focus,
.btn:focus,
.btn:active:focus,
.btn.active:focus,
.btn.focus,
.btn:active.focus,
.btn.active.focus {
  outline: none;
  outline-offset: none;
}

#header{
  height: 100vh;
}

/* Header Section */
.intro {
  display: table;
  width: 100%;
  height: 100vh;
  margin: 0;
  padding: 0;
  background: url(../img/background.png) center center no-repeat;
  background-size: cover;
}

.intro .overlay {
  height: 100vh;
  background: linear-gradient(
    to bottom,
    rgba(14, 2, 2, 0) 0%,
    rgba(14, 2, 2, 0.5) 50%,
    rgba(14, 2, 2, 0.7) 70%,
    rgba(14, 2, 2) 100%
  );
}

.intro h1 {
  font-family: "Raleway", sans-serif;
  color: #fff;
  font-size: 55px;
  font-weight: 700;
  text-transform: uppercase;
  margin-top: 0;
  margin-bottom: 20px;
}

.intro h1 span {
  font-weight: 800;
  color: #5ca9fb;
}

.intro p {
  color: #fff;
  font-size: 22px;
  font-weight: 300;
  line-height: 30px;
  margin: 0 auto;
  margin-bottom: 60px;
}

header .intro-text {
  padding-top: 175px;
  padding-bottom: 200px;
  text-align: center;
  justify-content: center;
  align-items: center;
  gap: 20px;
  display: flex;
  flex-direction: column;
}

header .intro-text .header-title-text {
  width: 47%;
  /* border-right: 1px solid white; */
}

header .intro-text .header-title-paragraph {
  width: 50%;
}

/* Features Section */
#features {
  background-color: rgb(249 250 251);
  padding-top: 4rem;
  padding-bottom: 6rem;
  margin-left: 0px !important;
  margin-right: 0px !important;
}

#features .section-title h2 {
  color: hsl(224.72, 58.89%, 35.29%);
  margin-top: 3rem;
}

#features .section-title h2::after {
  /* color: hsl(224.72, 58.89%, 35.29%); */
  background: transparent;
}

#features i.fa {
  font-size: 38px;
  margin-bottom: 20px;
  transition: all 0.5s;
  color: #fff;
  width: 100px;
  height: 100px;
  padding: 30px 0;
  border-radius: 50%;
  background: linear-gradient(to right, #6372ff 0%, #5ca9fb 100%);
  box-shadow: 10px 10px 10px rgba(0, 0, 0, 0.05);
}

#features .feature-img {
  width: 100%;
  height: 25rem;
  background-color: #ffffff;
  cursor: pointer;
  border-top-left-radius: 1rem;
  border-top-right-radius: 1rem;
}

.features-data-option {
  padding-left: 1rem;
  padding-right: 1rem;
  padding-top: 1rem;
  padding-bottom: 2rem;
}

#features .features-title {
  font-size: 2rem;
  font-weight: 700;
  cursor: pointer;
  color: #081444;
}

#features .feature-points {
  text-align: left;
  padding: 1rem;
}

#features .feature-points>div {
  padding: 5px 0;
  text-align: center;
  color: gray;
}

#features .feature-desc {
  font-size: 1.5rem;
  text-align: center;
  font-weight: 400;
  padding: 0 1rem;
  margin-top: 15px;
}

/* About Section */
#about {
  padding: 30px 0;
  padding-bottom: 30px;
  background-color: rgb(249 250 251);
}

/* About us page image related section  */
#about .img-responsive {
  border-radius: 10px;
  width: 100%;
}

#aboutus {
  min-height: 100%;
  padding-top: 8rem;
}

#aboutus h3 {
  font-size: 22px;
  margin: 0 0 20px;
}

#aboutus h2 {
  position: relative;
  margin-bottom: 15px;
  padding-bottom: 15px;
}

#aboutus .main-title {
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  flex-direction: column;
  height: 100%;
}

.bg-dark {
  background-color: #0e1a2b !important;
}

.text-primary {
  color: #a3c4f3 !important;
}

#about h3 {
  font-size: 22px;
  margin: 0 0 20px;
}

#about h2 {
  position: relative;
  margin-bottom: 15px;
  padding-bottom: 15px;
  color: hsl(220, 78%, 29%);
}

#about h2::after {
  position: absolute;
  content: "";
  background: linear-gradient(to right, #5ca9fb 0%, #6372ff 100%);
  height: 4px;
  width: 80%;
  margin-left: auto;
  margin-right: auto;
  bottom: 0;
  left: 10%;
  padding-bottom: 1rem;
  top: 100px;
}

.about-us-wrapper .col-xs-12 {
  margin-bottom: auto;
  margin-top: 3rem;
}

.numerics-number {
  font-weight: 700;
}

#about .about-text li {
  margin-bottom: 6px;
  margin-left: 6px;
  list-style: none;
  padding: 0;
  font-size: 1.5rem;
}

#about .about-text {
  color: rgb(114 114 114);
}

#about .about-text h2 {
  font-size: 3.5rem;
}

#about .portfolio-img {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

#about .portfolio-img-second {
  display: flex;
  flex-direction: row;
  gap: 5px;
}

#about .about-us-wrapper {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
}

#about .why-choose-us {
  padding-top: 4rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
}

#about .why-choose-us .section-title {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  margin-bottom: 15px;
  margin-top: 30px;
}

#about .why-choose-us .section-title h2::after {
  left: 50% !important;
  content: "";
  background: transparent !important;
}

#about .why-choose-us .why-choose-us-item {
  padding-top: 2rem;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

#about .why-choose-us .why-choose-us-item>div {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  gap: 5px;
  background-color: white;
  padding: 1rem;
  margin: 1rem;
  height: 9rem;
  border-radius: 1rem;
  cursor: pointer;
  transition: all 0.5s;
}

#about .why-choose-us .why-choose-us-item>div:hover {
  transform: scale(1.1);
}

#about .why-choose-icon {
  font-size: 3.5rem;
  /* background-color: #ff5c5c; */
  text-align: center;
  padding: 0.8rem 1rem;
  border-radius: 1rem;
  width: 30%;
}

#about .why-choose-text {
  width: 70%;
  text-align: center;
}

#about .about-text li:before {
  content: "\f00c";
  font-family: "FontAwesome";
  color: #5ca9fb;
  font-size: 11px;
  font-weight: 300;
  padding-right: 8px;
}

#about p {
  font-size: 2rem;
  text-align: justify;
  margin-top: 4rem !important;
}

#aboutus p {
  font-size: 2rem;
  text-align: justify;
  font-family: "Raleway", sans-serif;
  font-size: 30px;
  font-weight: 600;
  color: #333;
  text-transform: uppercase;
}

#aboutus .d-flex {
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  align-items: center;
}

#about img {
  width: 520px;
  margin-top: 10px;
  background: #fff;
  border-right: 0;
  box-shadow: 0 0 50px rgba(0, 0, 0, 0.06);
}

#about p {
  line-height: 24px;
  margin: 30px 0;
}

#about .about-numerics {
  font-size: 3.5rem;
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: center;
  padding: 0.5rem;
  gap: 10px;
}

#about .about-numerics>div {
  font-size: 2.5rem;
  background-color: white;
  padding: 1rem;
  /* width: 45%; */
  font-weight: 600;
  --tw-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1),
    0 4px 6px -4px rgb(0 0 0 / 0.1);
  --tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color),
    0 4px 6px -4px var(--tw-shadow-color);
  /* box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000),
    var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow); */
  text-align: left;
  border-radius: 1rem;
  --tw-bg-opacity: 1;
  /* background-color: rgb(249 250 251 / var(--tw-bg-opacity, 1)); */
}

.about-numerics .numerics-title {
  font-size: 1.7rem !important;
}

.about-numerics .numerics-number {
  color: hsl(220, 78%, 29%);
}

/* Services Section */
#services {
  padding: 100px 0;
  background: linear-gradient(to right, #6372ff 0%, #5ca9fb 100%);
  color: #fff;
}

#services .service-desc {
  margin: 10px 10px 20px;
}

#services h2 {
  color: #fff;
}

#services .section-title h2::after {
  position: absolute;
  content: "";
  background: rgba(255, 255, 255, 0.3);
  height: 4px;
  width: 60px;
  bottom: 0;
  margin-left: -30px;
  left: 50%;
}

#services i.fa {
  font-size: 42px;
  width: 120px;
  height: 120px;
  padding: 40px 0;
  background: linear-gradient(to right, #6372ff 0%, #5ca9fb 100%);
  border-radius: 50%;
  color: #fff;
  box-shadow: 10px 10px 10px rgba(0, 0, 0, 0.05);
}

#services h3 {
  font-weight: 500;
  padding: 5px 0;
  color: #fff;
}

#services p {
  color: rgba(255, 255, 255, 0.75);
}

#services .service-desc {
  margin-bottom: 40px;
}

/* Portfolio Section */
#portfolio {
  padding: 100px 0;
}

.portfolio-item {
  margin: 1px -15px 0 -14px;
  padding: 0;
}

.portfolio-item .hover-bg {
  overflow: hidden;
  position: relative;
  margin: 0;
}

.hover-bg .hover-text {
  position: absolute;
  text-align: center;
  margin: 0 auto;
  color: #fff;
  background: linear-gradient(to right,
      rgba(99, 114, 255, 0.8) 0%,
      rgba(92, 169, 251, 0.8) 100%);
  padding: 30% 0 0;
  height: 100%;
  width: 100%;
  opacity: 0;
  transition: all 0.5s;
}

.hover-bg .hover-text>h4 {
  opacity: 0;
  color: #fff;
  -webkit-transform: translateY(100%);
  transform: translateY(100%);
  transition: all 0.3s;
  font-size: 18px;
  letter-spacing: 1px;
  font-weight: 500;
  text-transform: uppercase;
}

.hover-bg:hover .hover-text>h4 {
  opacity: 1;
  -webkit-backface-visibility: hidden;
  -webkit-transform: translateY(0);
  transform: translateY(0);
}

.hover-bg:hover .hover-text {
  opacity: 1;
}

/* Testimonials Section */
#testimonials {
  padding: 100px 0;
  background: #f6f6f6;
}

#testimonials i {
  color: #e6e6e6;
  font-size: 32px;
  margin-bottom: 20px;
}

.testimonial {
  position: relative;
  padding: 20px;
}

.testimonial-image {
  float: left;
  margin-right: 15px;
}

.testimonial-image,
.testimonial-image img {
  display: block;
  width: 64px;
  height: 64px;
  border-radius: 50%;
}

.testimonial-content {
  position: relative;
  overflow: hidden;
}

.testimonial-content p {
  margin-bottom: 0;
  font-size: 14px;
  font-style: italic;
}

.testimonial-meta {
  margin-top: 10px;
  font-size: 15px;
  font-weight: 600;
  color: #666;
}

/* Team Section */
#team {
  background-color: #ffffff;
  padding: 10px 0;
  padding-top: 2rem;
  padding-bottom: 2rem;
}

#team h4 {
  margin: 5px 0;
}

#team .team-img {
  width: 240px;
}

#team .thumbnail {
  background: transparent;
  border: 0;
}

#team .thumbnail .caption {
  padding: 10px 0 0;
  color: #888;
}

/* Contact Section */
#contact {
  padding: 50px 0 30px;
  background-color: #1e1e1e;
  color: rgba(255, 255, 255, 0.75);
  padding-top: 40px;
}

#contact .container {
  display: flex;
  flex-direction: row;
}

#team .section-title {
  margin-bottom: 40px;
}

#contact .section-title p {
  font-size: 16px;
}

#contact h2 {
  color: #fff;
  margin-top: 10px;
  margin-bottom: 15px;
  padding-bottom: 15px;
}

#contact .section-title h2::after {
  position: absolute;
  content: "";
  background: rgba(255, 255, 255, 0.3);
  height: 4px;
  width: 60px;
  bottom: 0;
  left: 30px;
}

#contact h3 {
  color: #fff;
  margin-top: 30px;
  margin-bottom: 13px;
  padding-bottom: 0px;
  font-weight: 400;
}

#contact form {
  padding-top: 20px;
}

#contact .text-danger {
  color: #cc0033;
  text-align: left;
}

#contact .btn-custom {
  margin: 30px 0;
  background: transparent;
  border: 2px solid #fff;
}

#contact .btn-custom:hover {
  color: #1f386e;
  background: #fff;
}

label {
  font-size: 12px;
  font-weight: 400;
  font-family: "Open Sans", sans-serif;
  float: left;
}

#contact .form-control {
  display: block;
  width: 100%;
  padding-top: 14px;
  padding-bottom: 14px;
  font-size: 16px;
  line-height: 1.42857143;
  color: #444;
  background-color: #fff;
  background-image: none;
  border: 1px solid #ddd;
  border-radius: 0;
  -webkit-box-shadow: none;
  box-shadow: none;
  -webkit-transition: none;
  -o-transition: none;
  transition: none;
}

#contact .form-control:focus {
  border-color: #999;
  outline: 0;
  -webkit-box-shadow: transparent;
  box-shadow: transparent;
}

.form-control::-webkit-input-placeholder {
  color: #000;
}

.form-control:-moz-placeholder {
  color: #000;
}

.form-control::-moz-placeholder {
  color: #000;
}

.form-control:-ms-input-placeholder {
  color: #000;
}

#contact .contact-item {
  margin: 20px 0;
}

#contact .contact-item span {
  color: rgba(255, 255, 255, 1);
  margin-bottom: 10px;
  display: block;
}

#contact .contact-item i.fa {
  margin-right: 10px;
}

#contact .social {
  padding-top: 10px;
  text-align: left;
}

#contact .social ul li {
  display: inline-block;
  margin-right: 10px;
  text-align: left;
  margin-top: 10px;
}

#contact .social i.fa {
  font-size: 22px;
  width: 48px;
  height: 48px;
  padding: 12px 0;
  border: 2px solid #fff;
  color: #fff;
  border-radius: 50%;
  transition: all 0.3s;
}

#contact .social i.fa:hover {
  color: #608dfd;
  background: #fff;
}

#contact h6 {
  font-size: 20px;
}

#contact a {
  color: #dddddd;
  font-size: 1.6rem;
  font-weight: 400;
  margin-left: 0px !important;
  margin-bottom: 8px !important;
  transition: all 0.3s ease;
}

#contact a:hover{
  color: #ffffff;
  transform: translateX(5px);
}

#contact .our-service-options-list li{
  margin-bottom: 8px;
}

.footer-links {
  padding: 0 !important;
}

#contact .col-md-5 {
  margin-top: 1rem !important;
}

#contact .col-md-5:hover {
  color: #ffffff;
}

#contact .signup-form{
  margin-top: -20px;
}

#contact .our-service-option-div{
  margin-left: auto;
}


/* Footer Section*/
#footer {
  background: #f6f6f6;
  padding: 30px 0;
}

#footer p {
  color: #888;
  font-size: 14px;
}

#footer a {
  color: #ffffff;
}

#footer a:hover {
  border-bottom: 2px solid #608dfd;
}

.aboutus {
  display: table;
  width: 100%;
  height: 100vh; /* Fill the entire viewport height */
  margin: 0;
  padding: 0;
  background: url(../img/background.png) center center no-repeat;
  background-size: cover;
}


.aboutus .overlay {
  height: 100%;
  background: linear-gradient(
    to bottom,
    rgba(14, 2, 2, 0) 0%,
    rgba(14, 2, 2, 0.5) 50%,
    rgba(14, 2, 2, 0.7) 70%,
    rgba(14, 2, 2) 100%
  );
}


.aboutus h1 {
  font-family: "Raleway", sans-serif;
  color: #fff;
  font-size: 32px;
  font-weight: 700;
  text-transform: uppercase;
  margin-top: 0;
  margin-bottom: 20px;
  /* height: 100%; */
}

.aboutus h1 span {
  font-weight: 800;
  color: #5ca9fb;
}

.aboutus p {
  color: #fff;
  font-size: 18px;
  font-weight: 300;
  line-height: 30px;
  margin: 0 auto;
  margin-bottom: 60px;
}

.aboutus .section-title h2 {
  color: white !important;
}

.aboutus .section-title {
  margin-top: 150px !important;
}

.center-icon {
  text-align: center !important;
}

.navbar-brand{
  margin-top: -20px !important;
}

@media (max-width: 768px) {
  #about img {
    margin: 50px 0;
  }
}

.footer-section-title {
  margin-bottom: 2rem !important;
  font-weight: 600;
  cursor: pointer;
  color: #ffffff;
}

.footer-section-title:hover {
  color: #ffffff;
}

.postcard {
  margin-bottom: 6rem !important;
}

.postcard__text {
  padding-left: 2rem !important;
}

.postcard__title a {
  color: #000000 !important;
  font-weight: 600 !important;
}

/* Mortgage product related page  */
.mortgage-product .aboutus{
  background: url("../img/mortgage-background-image.png") center top no-repeat;
  background-size: cover;
  height: 85vh;
}

/* About us page background image related changes  */
#aboutus .aboutus{
  background: url("../img/mortgage-background-image.png") center top no-repeat;
  background-size: cover;
  height: 80vh;
}

/* -----------------------------------
  Responsive Styles for Mobile Devices
------------------------------------ */

@media (max-width: 992px) {
  #about .img-responsive {
    width: 100% !important;
  }

  .why-choose-us-title {
    margin-top: -40px !important;
  }

  .why-choose-us-item {
    padding-top: 2rem !important;
  }

  .list-unstyled li {
    margin-left: 0px !important;
  }

  .footer-section-title {
    color: #ffffff !important;
    font-weight: 600;
    margin-top: 2rem;
  }

  .social {
    padding-top: 10px !important;
  }

  .social-action-icons {
    margin-top: 1.5rem;
    /* margin-left: -20px; */
  }

  .postcard__title a {
    font-size: 2rem !important;
    font-weight: 700 !important;
  }

  .blog-img {
    margin-left: 0px !important;
  }

  .navbar-brand {
    margin-top: -58px !important;
  }
  
  #menu a.navbar-brand{
    font-size: 17px !important  ;
  }
  
  #menu a.navbar-brand br:nth-of-type(2) {
    display: none;
  }
}