/* -------------------
   Typography & Links
------------------- */
.news-grids .date a,
.blog-category a {
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  color: #999 !important;
  text-transform: uppercase;
  text-decoration: none;
}

/* -------------------
   Contact Page Form
------------------- */
.contact-pg-content form input,
.contact-pg-content form textarea {
  width: 100%;
}

/* Validation errors */
.wpcf7 form .wpcf7-not-valid-tip {
  color: #dc3545;
  /* Bootstrap danger red */
  font-size: 13px;
  margin-top: 4px;
  display: block;
}

.wpcf7-response-output {
  display: none !important;
  /* hide the global response box */
}

.wpcf7-form-control.wpcf7-not-valid {
  border: 1px solid #dc3545 !important;
  background-color: #fff !important;
}

/* Success message styled like Bootstrap alert */
.wpcf7 form.sent .wpcf7-response-output {
  display: block !important;
  color: #155724;
  background-color: #d4edda;
  border: 1px solid #c3e6cb;
  padding: 10px 15px;
  border-radius: 5px;
  margin-top: 15px;
}

/* Submit button */
.wpcf7 form .wpcf7-submit {
  background-color: #012243;
  color: #fff;
  border: none;
  padding: 12px 18px;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s;
}

.wpcf7 form .wpcf7-submit:hover {
  background-color: #ec5e14;
  color: #012243;
}

.screen-reader-response ul li {
  display: none;
}

/* -------------------
   Blog Sidebar
------------------- */
.blog-sidebar .recent-post-widget .details,
.blog-sidebar .search-widget input,
.blog-sidebar .search-widget label {
  width: 100%;
}

.blog-sidebar .search-widget input {
  border: 1px solid #e5e5e5;
}

.blog-sidebar .search-widget input.search-submit,
span.screen-reader-text {
  display: none;
}

.blog-sidebar .widget {
  margin-bottom: 35px;
}

/* -------------------
   Post Navigation
------------------- */
.post-navigation {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 40px 0;
}

.post-navigation .nav-previous,
.post-navigation .nav-next {
  width: 45%;
}

.post-navigation a {
  display: flex;
  align-items: center;
  color: #0d1a26;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.3s;
}

.post-navigation a:hover {
  color: #012243;
}

.post-navigation .nav-thumb {
  width: 60px;
  height: 60px;
  object-fit: cover;
  margin: 0 10px;
  border-radius: 6px;
}

.post-navigation .nav-previous a {
  flex-direction: row;
}

.post-navigation .nav-next a {
  flex-direction: row-reverse;
  text-align: right;
}

/* Tags inside posts */
.blog-single-content .tag-share .tag a {
  padding: 0 20px;
}

/* -------------------
   Popup (Magnific)
------------------- */
.mfp-bg,
.mfp-wrap {
  background: rgb(233 233 233 / 70%) !important;
}

.theme-btn:after,
.theme-btn-s2:after {
  display: none;
}

.theme-btn,
.theme-btn-s2 {
  padding: 12px !important;
}

.blog-single-content .tag-share {
  border-bottom: none;
  padding-bottom: 0;
}

/* Labels inside forms */
label.cf7-label {
  color: #999;
  line-height: 1.8em;
  font-weight: 200;
}

/* Popup box styling */
.white-popup {
  position: relative;
  background: #fff;
  padding: 30px 25px;
  width: 100%;
  max-width: 500px;
  margin: 0 auto;
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
  text-align: left;
}

/* Title inside popup */
.white-popup .form-title {
  font-size: 22px;
  margin-bottom: 15px;
  text-align: center;
  font-weight: bold;
}

/* Inputs inside popup */
.white-popup input[type="text"],
.white-popup input[type="email"],
.white-popup input[type="number"],
.white-popup textarea {
  width: 100%;
  padding: 12px 14px;
  margin-bottom: 15px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 15px;
}

/* Submit button inside popup */

.white-popup input[type="submit"] {
  width: 100%;
  background: #012f5c;
  color: #fff;
  border: none;
  padding: 12px;
  font-size: 16px;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s;
}

.white-popup input[type="submit"]:hover {
  background: #ec5e14;
  color: #012243;
}

/* Centering Popup Content */
.mfp-content {
  display: flex;
  justify-content: center;
  align-items: center;
}

.white-popup label {
  width: 100%;
}

.input-error {
  border: 1px solid #dc3545 !important;
  background-color: #fff;
}

.custom-error-msg {
  color: #dc3545;
  font-size: 13px;
  margin-top: 4px;
  display: block;
}

.blog-single-content .post-body ul li,
.service-single-section .service-single-content ul li {
  margin-bottom: 10px;
  position: relative;
  padding-left: 25px;
  color: #999999;
  font-size: 18px;
}

.blog-single-content .meta-info {
  list-style: none;
}

/* Important Pages */
.page-id-3 header.entry-header.has-text-align-center.header-footer-group,
article header h1.entry-title {
  display: none !important;
}

nav.navigation.navigation-s6.navbar.navbar-default.sticky-header {
  display: none;
}

.header-style-6 .upper-topbar a {
  color: #c1c5c8 !important;
}

.nav-previous span.nav-title,
.nav-next span.nav-title {
  font-size: 1.2em;
}

.wpcf7 form .about-us-form .wpcf7-submit {
  font-family: "Poppins", sans-serif;
  background-color: #ec5e14;
  width: 100%;
  height: 38px;
  line-height: 0px;
  font-size: 16px;
  font-size: 1.06667rem;
  font-weight: 600;
  color: #012f5c;
  border: 0;
  border-radius: 5px;
  outline: 0;
}

.service-sidebar .contact-widget ul li a {
  color: #666;
}

.margin-top-2 {
  margin-top: 2%;
}

/* .home_loan_list .services-grid-s2 .grid h3:nth-child(4)::after { */
.home_loan_list:nth-child(4) .services-grid-s2 .grid .details h3::after {
  bottom: -20px;
}

.home_loan_list:nth-child(4) .services-grid-s2 .grid .details h3 + p {
  margin-top: 45px;
}

@media (max-width: 767px) {
  .home_loan_list:nth-child(4) .services-grid-s2 .grid .details h3::after {
    bottom: -5px;
  }

  .home_loan_list:nth-child(4) .services-grid-s2 .grid .details h3 + p {
    margin-top: 0px;
  }

  .home_loan_list .services-grid-s2 .grid .details h3::after {
    bottom: -5px;
  }
}

.fixed-social {
  position: fixed;
  top: 30%;
  right: 0;
  z-index: 99;
}

.fixed-social ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.fixed-social ul li {
  margin: 0 0 3px;
  list-style-type: none;
}

.fixed-social ul li a {
  display: block;
  width: 40px;
  height: 40px;
  background: #222f5c;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #fff;
  border-right: none;
}

.fixed-social ul li a img {
  height: 15px;
  -webkit-filter: brightness(0) invert(1);
  filter: brightness(0) invert(1);
}

.fixed-social ul li a:hover {
  background-color: #ec5e14;
}

.what-btn {
  background-color: #66cc33;
  width: 45px;
  height: 45px;
  line-height: 50px;
  text-align: center;
  position: fixed;
  z-index: 999;
  color: #fff;
  font-size: 18px;
  right: 15px;
  bottom: 15px;
  -webkit-transition: all 0.2s;
  -moz-transition: all 0.2s;
  -o-transition: all 0.2s;
  -ms-transition: all 0.2s;
  transition: all 0.2s;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  -o-border-radius: 3px;
  -ms-border-radius: 3px;
  border-radius: 3px;
}

.cta .theme-btn:after {
  display: unset;
  font-family: "FontAwesome";
  content: "\f0da";
  color: #012f5c;
  position: absolute;
  right: 10px;
  top: 50%;
  -webkit-transform: translateY(-50%);
  -moz-transform: translateY(-50%);
  -o-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  transform: translateY(-50%);
}

.cta .theme-btn {
  background-color: #ec5e14;
  color: #012f5c;
  padding: 12px 30px 12px 12px !important;
}

.single-loan .page-title,
.blog-template-default .page-title {
  position: sticky;
}

@media screen and (max-width: 1250px) {
  .single-loan .page-title {
    position: sticky;
    background: unset;
    height: 65%;
  }

  .social-icon.fixed-social {
    top: 45%;
  }
}

.navbar-brand > img {
  width: 125px;
  margin-top: -7px;
}

.footer-logo img {
  width: 125px;
}

.header-style-6 .upper-topbar a:hover {
  color: #ec5e14;
}

@media screen and (max-width: 991px) {
  .header-style-6 .navigation {
    height: 125px;
  }

  .navbar-brand {
    float: unset;
  }

  .navbar-header {
    text-align: center;
  }
}

.header-style-6 .navigation .container {
  height: 125px;
}

.container > .navbar-header {
  height: 100%;
}

.header-style-6 #navbar {
  margin-top: 28px;
}
.navbar-header a.navbar-brand img,
.footer-logo img {
  border-radius: 5%;
}
.page-id-11 .home_loan_list .icon img {
  max-width: 60%;
}
.fun-fact .icon.fact img {
  max-width: 60%;
}
.service-single-content p {
  color: #666;
  font-family: "Poppins", sans-serif;
  font-size: 16px;
  /* line-height: 1.6em; */
}
.service-single-content ul li,
.blog-single-content .post-body ul li,
.service-single-section .service-single-content ul li {
  color: #666;
  font-family: "Poppins", sans-serif;
  line-height: 1.6em;
  font-size: 16px !important;
}
.text-white {
  color: #ffffff;
}
/* Sidebar */
.sidebar-expert-advise input[type="tel"],
.sidebar-expert-advise input[type="text"],
.sidebar-expert-advise input[type="email"],
.sidebar-expert-advise textarea {
  width: 100%;
  padding: 6px;
  border-radius: 5px;
  border: 1px solid grey;
}
.sidebar-expert-advise label {
  margin-top: 12px;
}
.sidebar-expert-advise textarea {
  height: 80px;
}
.sidebar-expert-advise input[type="submit"] {
  font-family: "Poppins", sans-serif;
  background-color: #ec5e14;
  width: 100%;
  height: 38px;
  line-height: 0px;
  font-size: 1.06667rem;
  font-weight: 600;
  color: #012f5c;
  border: 0;
  border-radius: 5px;
  outline: 0;
}
.sidebar-expert-advise {
  box-shadow: 0px 0px 1px 1px;
  padding: 5px;
  padding-bottom: 15px;
}
.sidebar-expert-advise .submit-button {
  height: 40px;
}
iframe {
  width: 100% !important;
}

.single-loan.page-title , .single-case-study.page-title {
  position: relative;
  width: 100%;
  height: 100vh;
  text-align: center;
  overflow: hidden;
}

.single-loan.page-title img ,.single-case-study.page-title img {
  width: 100%;
}

.single-loan .banner-center,.single-case-study .banner-center {
  position: absolute;
  top: 50%;
  left: 0px;
  right: 0;
  transform: translateY(-50%);
  -webkit-transform: translateY(-50%);
  z-index: 1;
}

/* EMI */
.emi-template {
  display: flex;
  justify-content: center;
  padding: 125px 20px;
  background: #f5f7fa;
}

.emi-wrapper {
  background: #fff;
  max-width: 1170px;
  width: 100%;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.emi-title {
  font-size: 28px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 10px;
  color: #1c1c1c;
}

.emi-sub {
  text-align: center;
  color: #666;
  margin-bottom: 30px;
  font-size: 16px;
}

.emi-input-flex {
  padding: 20px 0px 20px 0px;
}

.emi-input-group .emi-label {
  padding: 20px 0px 0px 0px;
}

.emi-input-group .emi-label .labelp,
.labelp {
  color: #666;
  font-size: 16px;
}

.emi-template input[type="number"]::-webkit-inner-spin-button,
.emi-template input[type="number"]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Hide arrows in Firefox */
.emi-template input[type="number"],
.emi-template input[type="number"]:focus-visible {
  -moz-appearance: textfield;
  color: #011326;
  height: 30px;
  text-align: end;
  width: 37%;
  color: #666;
  font-size: 16px;
  outline: none;
}

.emi-template input[type="range"] {
  background: #012f5c;
  color: #012f5c;
}

@media screen and (min-width: 1000px) {
  #emiChart {
    height: 320px !important;
    width: 320px !important;
    margin: auto;
    /* margin-top: 15%; */
  }
}

.emi-results {
  margin-top: 10%;
}

/* Emi End */
.case-study-list {
  margin-top: 3%;
}

.case-study-list .grid {
    height: 100%;
}

.case-study-list .entry-body {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.case-study-list .entry-details {
    flex-grow: 1;
}

.case-study-list .entry-meta {
    margin-top: auto;
}

@media (max-width: 767px) {
    .blog-sidebar .recent-post-widget ul li {
        padding: 0 0 0 15px;
    }
    .blog-sidebar .recent-post-widget ul li {
      margin-bottom: 5px;
    }
    .blog-sidebar {
      padding: 10% !important;
    }
    .blog-sidebar .search-widget {
      margin-bottom: 15px;
    }
    .blog-sidebar .recent-post-widget h3 {
      margin-bottom: 10px;
    }
}
.case-image img {
	height: 250px;
    width: 100%;
}