:root{
    --sfb-bg:#eef5ff;
    --sfb-primary:#185bd6;
    --sfb-primary-2:#0f4ac1;
    --sfb-text:#0b1220;
    --sfb-muted:#6b7280;
    --sfb-border:#e6ecf7;
    --sfb-success:#16a34a;
    --sfb-error:#dc2626;
    --sfb-card:#ffffff;
    --sfb-shadow:0 20px 50px rgba(24,91,214,.15);
    --radius:16px;
  }

  /* page backdrop */
  .sfb-hero{
    background:linear-gradient(180deg, #2c77f0 0%, #e8f1ff 60%, #f6f9ff 100%);
    padding: 28px 20px 40px;
    border-radius: 18px;
    position: relative;
    z-index: 1;
  }

  /* main card per step */
  .sfb-card{
    max-width: 980px;
    margin: 30px auto;
    background: var(--sfb-card);
    border: 1px solid var(--sfb-border);
    border-radius: var(--radius);
    box-shadow: var(--sfb-shadow);
    padding: 22px;
  }

  .sfb-title{font-size:21px;font-weight:700;color:var(--sfb-text);margin:0 0 14px;text-align:center}
  .sfb-sub{font-size:14px;color:#000000;margin:-6px 0 12px;text-align:center}

  .sfb-row{display:grid;grid-template-columns:1fr 1fr;gap:14px}
  .sfb-row-3{display:grid;grid-template-columns:1fr 1fr 1fr;gap:14px}
  @media (max-width: 820px){
    .sfb-row,.sfb-row-3{grid-template-columns:1fr}
  }

  .sfb-input, .sfb-select, .sfb-otp-box{
    width:100%;
    background:#fff;
    border:1px solid var(--sfb-border);
    border-radius:12px;
    /*padding:14px 14px;*/
    height: 50px;
    font-size:16px;
    outline:none;
    box-shadow: inset 0 1px 0 rgba(24,91,214,.04);
  }
  input[type="text"], input[type="number"], input[type="email"], input[type="url"], input[type="password"], input[type="search"], input[type=reset], input[type=tel], input[type=date], select {
    height: 50px !important;
}
  .sfb-input[readonly]{background:#f4f7ff;color:#9aa4b2}

  .sfb-btn{
    display:inline-flex;align-items:center;justify-content:center;
    gap:8px;
    border:0;border-radius:12px;
    padding:14px 20px;
    font-weight:700;font-size:16px;cursor:pointer;
    /*box-shadow: 0 12px 28px rgb(0 105 184);*/
    background:rgb(0 105 184);color:#fff;
  }
  .sfb-btn:disabled{opacity:.6;cursor:not-allowed;box-shadow:none}
  .sfb-btn.secondary{background:#111;color:#fff;box-shadow:none}
  .sfb-actions{display:flex;gap:10px;justify-content:flex-end;margin-top:12px}

  /* OTP panel */
  .sfb-otp-wrap{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-top:12px}
  .sfb-otp-box{
    width:60px;height:56px;text-align:center;font-size:22px;font-weight:800;letter-spacing:.04em;
  }
  .sfb-otp-note{font-size:14px;color:var(--sfb-muted)}
  .sfb-count{display:inline-flex;align-items:center;justify-content:center;width:34px;height:34px;border:2px dashed #16a34a;border-radius:999px;font-weight:800;color:#16a34a;margin-left:8px}

  /* Pills for Profession */
  .sfb-pills{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:6px;}
  @media (max-width:820px){.sfb-pills{grid-template-columns:1fr}}
  .sfb-pill{
    display:flex;align-items:center;gap:12px;
    border:1px solid var(--sfb-border);border-radius:12px;padding:14px 16px;background:#fff;cursor:pointer;
    font-weight:700;color:#111;
  }
  .sfb-pill.active{outline:3px solid rgba(24,91,214,.18);border-color:var(--sfb-primary);background:#f3f7ff}
  .sfb-bad{color:var(--sfb-error);font-size:13px;margin-top:8px}

  /* step visibility */
  .sfb-step{display:none}
  .sfb-step.active{display:block}

  /* make sure the form is clickable above theme overlays */
  #sfb_app, .sfb-hero, .sfb-card { position: relative; z-index: 1000; }
  .wp-block-cover__background,
  .wp-block-cover__gradient-background,
  .elementor-background-overlay { pointer-events:none !important; }
  
  
  .first-section {
      background-image: url(http://smartfinbox.com/wp-content/uploads/2025/08/BG.png);
     padding: 30px;
     gap: 50px;
      display: flex;
      justify-content: space-around;
  }
  .box-logo {
      text-align: center;
  }
  .logo-image {
      height: 80px;
  }
  
  .mobile-text {
      text-align: center;
     font-size: 21px;
    font-weight: 600;
    color: black;
    margin: 0 0 14px;
}
 .send-otp-align {
     display: flex;
     justify-content: center;
      margin-block: 15px;
 }
 .mobile-input {
     margin-block: 15px;
 }
 .applytext{
     margin-bottom: 10px;
     text-align: center;
    font-size: 25px;
    color: black;
    font-weight: 800;
 }
 .approvaltext {
     color: rgb(0 105 184);
    font-size: 25px;
    font-weight: 900;
    text-align: center;
 }
 .pre-Approval {
      margin-bottom: 20px;
     text-align: center;
    font-size: 25px;
    color: black;
    font-weight: 800;
 }
  .simplesteps {
     color: rgb(0 105 184);
    font-size: 25px;
    font-weight: 900;
    text-align: center;
 }
 .subtitletext {
     color: grey;
     font-weight: 500;
 }
 .left-image {
     max-width: 600px;
 }
 .single-cards {
     display: flex;
     /*justify-content: space-evenly;*/
 }
 .section-titles {
     text-align: center;
 }
 
 /* Styling for the main section */
.second-section {
    padding: 50px 20px;
    text-align: center;
    background-color: #f9fafb;
}

.third-section {
    padding: 40px 20px 0px 20px;
    text-align: center;
    /*background-color: #f9fafb;*/
}
.section-titles {
    margin-bottom: 40px;
}



/* Styling for the slider and cards */
.slider-container {
    width: 80%;
    margin: 0 auto;
}

.single-cards {
    display: flex !important; /* Use !important to override slick's display: block */
   
    align-items: center;
    text-align: center;
}
.step-text {
    text-align: left;
    font-size: 14px !important;
    font-weight: 600 !important;
    color: #fff !important;
    border-radius: 38px 38px 38px 0;
    padding: 8px 10px !important;
    background: #59c700 !important;
    display: inline-block;
}
.step-title {
    color: black;
    text-align: left;
    font-weight: 900;
    margin-top: 20px;
    margin-bottom: 10px;
}
.step-dec {
    text-align: left;
    color: grey;
    font-size: 17px;
    font-weight: 600;
}

.card-left-image {
  
  max-width: 600px;
}

.card-left-image img {
    width: 100%;
    height: auto;
}

.card-right-section {
    /*width: 100%;*/
    text-align: left;
}



/* Slick slider button and dot styling */
.slick-prev:before, .slick-next:before {
    font-size: 40px;
    color: #007bff;
}

.slick-dots li button:before {
    font-size: 12px;
    color: #007bff;
}

.slick-dots li.slick-active button:before {
    color: rgb(0 105 184) !important;
}
.get-started {
        border-radius: 12px;
}
 
 .second-section {
    animation: fadeInUp 1s ease-out forwards;
}
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.loansection {
    display: flex;
    flex-wrap: wrap; /* Allows cards to wrap to the next line */
   justify-content: space-evenly;
    gap: 20px; /* Optional: adds a consistent gap between cards and rows */
    margin-top: 40px;
}

.loancards {
    flex: 0 1 calc(33.333% - 20px); /* 3 cards per row with a gap */
   
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 30px;
    background-color: #fff;
    border-radius: 12px;
    /*box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);*/
}

.loancards img {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
}
.loan-name {
     color: black;
    text-align: center;
    font-weight: 900;
    margin-top: 20px;
    margin-bottom: 10px;
}
.loan-dec {
     text-align: center;
    color: #808080;
    font-size: 17px;
       font-weight: 500;
    line-height: 30px;
    margin-bottom: 25px;
}




.faq-section {
    max-width: 1000px;
    margin: 40px auto;
    
    font-family: Arial, sans-serif;
  }

  .faq-section h2 {
    text-align: center;
    margin-bottom: 20px;
  }

  .faq-item {
    /*border-bottom: 1px solid #ddd;*/
    margin-bottom: 20px;
  }

  .faq-question {
          line-height: 30px;
          background: #f4f4f4 !important;
    padding: 20px 30px 20px 30px;
    border-radius: 6px;
    font-size: 18px;
    font-weight: 600;
    width: 100%;
    text-align: left;
    color: black;
    border: none;
    font-size: 18px;
    cursor: pointer;
    outline: none;
  }
  .faq-question:hover {
  background: #f4f4f4 !important; /* same as normal */
  color: black !important; 
  /* keep text color */
}
.faq-question.active {
     background: #f4f4f4 !important; /* same as normal */
  color: black !important;  
}


  .faq-answer {
    display: none;
    padding: 15px;
    background: #fff;
    font-size: 15px;
    color: #333;
  }

  .faq-question.active {
    background: #eee;
  }
  
  button:focus, .menu-toggle:hover, button:hover, .ast-button:hover, .ast-custom-button:hover .button:hover, .ast-custom-button:hover, input[type=reset]:hover, input[type=reset]:focus, input#submit:hover, input#submit:focus, input[type="button"]:hover, input[type="button"]:focus, input[type="submit"]:hover, input[type="submit"]:focus, form[CLASS*="wp-block-search__"].wp-block-search .wp-block-search__inside-wrapper .wp-block-search__button:hover, form[CLASS*="wp-block-search__"].wp-block-search .wp-block-search__inside-wrapper .wp-block-search__button:focus, body .wp-block-file .wp-block-file__button:hover, body .wp-block-file .wp-block-file__button:focus {
    color: black !important;
    background-color: #f4f4f4 !important;
    border-color: #f4f4f4 !important;
}
.blogs-sections {
    margin:30px;
}
.blog-item {
    max-width: 500px;
     width: inherit;
}
@media screen and (max-width: 768px) {
    .left-image {
      display: block;
      margin: 0 auto;
    }
    .first-section {
        display: block;
    }
    .sfb-card {
        max-width: 500px;
    }
    .faq-section {
        max-width: 100%;
        margin: 20px !important;
    }
    .final-section {
        height: auto !important;
    }
}
@media screen and (max-width: 475px) { 
    .card-right-section {
        margin-top: 30px;
    }
    .left-image { 
       max-width: 100%;
       max-height: 300px;
       /*margin: 0 0 0 20px;*/
    }
    .sfb-card {
        max-width: 100%;
        padding: 30px;
    }
    .slick-initialized .slick-slide {
    display: block !important;
    }
    .slick-dots {
      bottom: -40px;
    }
    .loansection { 
        display: block;
    }
    .site-footer {
        height: auto !important;
    }
    .small {
        display: none;
    }
    .blog-item {
    margin: 0 !important;
    }
    .final-section-title { 
        font-size:18px !important;
    }
    .get-started {
        margin-bottom: 20px;
    }
    
}
/* Card Container */
.blog-item {
    margin: 20px;
    background-color: #ffffff; /* White background */
    border-radius: 12px; /* Rounded corners for a softer look */
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08); /* Soft shadow for depth */
    overflow: hidden; /* Ensures the image respects the border-radius */
    transition: transform 0.3s ease, box-shadow 0.3s ease; /* Smooth hover effect */
    display: flex;
    flex-direction: column;
    height: 100%;
}

.blog-item:hover {
    transform: translateY(-5px); /* Lift card on hover */
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12); /* Increase shadow on hover */
}

/* Image Wrapper */
.blog-item .post-thumbnail {
    width: 100%;
    /* Use an aspect ratio box for consistent image sizes */
    position: relative;
    padding-top: 56.25%; /* 16:9 Aspect Ratio (9/16 * 100) */
    overflow: hidden;
}

.blog-item .post-thumbnail img {
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    height: 250px;
  
    transition: transform 0.5s ease; /* Smooth image zoom on hover */
}

.blog-item:hover .post-thumbnail img {
    transform: scale(1.05); /* Zoom in effect on hover */
}

/* Content Area */
.blog-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1; /* Allows content area to fill remaining space */
}

/* Title Styling */
.blog-content h2 {
    font-size: 1.5rem;
    line-height: 1.3;
    color: #333;
    margin: 0 0 10px 0;
    font-weight: 600; /* Semi-bold title */
}

.blog-content h2 a {
    text-decoration: none; /* Remove underline from link */
    color: inherit;
    transition: color 0.3s ease;
}

.blog-content h2 a:hover {
    color: #007bff; /* Example hover color for title */
}

/* Excerpt Styling */
.blog-content .excerpt {
    font-size: 1rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1; /* Pushes the button to the bottom */
}

/* Optional: "Read More" button */
.read-more-button {
    display: inline-block;
    padding: 10px 20px;
    background-color: #046bd2;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 500;
    text-align: center;
    transition: background-color 0.3s ease;
    align-self: flex-start; /* Aligns button to the left */
}

.read-more-button:hover {
    background-color: #0056b3;
}

/* Responsive adjustments for the container */
@media (max-width: 768px) {
    .blogs-sections .blog-item {
        margin-bottom: 20px;
    }
}
.slick-dotted.slick-slider {
    margin-bottom: 50px !important;
}
.final-section {
    background-color: #046bd2;
    text-align: center;
    height: 150px;
    padding: 20px;
}
.final-section-title {
    font-size: 30px;
    color: White;
    margin-bottom: 20px;
}
.final-apply-button {
    font-weight: bold;
    font-size: 18px;
    background: White;
    color: #046bd2;
}
button:focus:not(:focus-visible) {
    outline: 0;
    color: #046bd2 !important;
}

.fade-up {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-up.show {
  opacity: 1;
  transform: translateY(0);
}

.read-more-button:hover {
    background-color: white;
}

/* Main OTP panel container */
.sfb_otp_panel {
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
  padding: 30px;
  max-width: 450px;
  margin: auto;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  text-align: center;
}

/* Logo styling */
.box-logo img {
  max-width: 100px;
  height: auto;
  /*margin-bottom: 25px;*/
}

/* OTP section wrapper */
.sfb-otp-wrap {
  width: 100%;
}

/* Instructional text */
.sfb-otp-note {
  color: #333333;
  font-size: 17px;
  margin-bottom: 15px;
}

/* OTP input boxes */
.sfb-otp-box {
  width: 55px;
  height: 65px;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  text-align: center;
  font-size: 18px;
  font-weight: 600;
  color: #1a1a1a;
  transition: border-color 0.3s ease;
  -moz-appearance: textfield;
}

.sfb-otp-box:focus {
  outline: none;
  border-color: #008cff;
}

button:focus:not(:focus-visible) {
    outline: 0;
    background: #046bd2 !important;
    color: white !important;
}
.sfb-btn:not(.secondary):hover {
    background-color: #046bd2 !important;
    color: white !important;
}
.sfb-input {
    width: 100% !important; 
    background: #fff !important;
    border: 1px solid var(--sfb-border) !important;
    border-radius: 12px !important;
    padding: 14px 14px !important;
    font-size: 16px !important;
    outline: none !important;
    box-shadow: inset 0 1px 0 rgba(24, 91, 214, .04) !important;
}

.sfb-input-dob {
    width: 100% !important; 
    background: #fff !important;
    border: 1px solid var(--sfb-border) !important;
    border-radius: 12px !important;
    /*padding: 14px 14px !important;*/
    font-size: 16px !important;
    outline: none !important;
    box-shadow: inset 0 1px 0 rgba(24, 91, 214, .04) !important;
}


.sfb-otp-box::-webkit-outer-spin-button,
.sfb-otp-box::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Resend timer text */
.sfb-count {
  color: #008cff;
  font-weight: bold;
}

/* Button container */
.sfb-otp-wrap > div:last-of-type {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  margin-top: 25px;
}

/* Primary and secondary button styles */
.sfb-btn {
  flex-grow: 1;
  padding: 10px !important;
  font-size: 14px !important;
  font-weight: bold;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  text-transform: uppercase;
}

.sfb-btn:not(.secondary) {
  background-color: #046bd2;
  color: #ffffff;
}

.sfb-btn:not(.secondary):hover {
    background-color: #046bd2 !important;
}

.sfb-btn.secondary {
  background-color: #e6f5ff;
  color: #008cff;
}

.sfb-btn.secondary:hover {
  background-color: #ccedff;
}

.sfb-btn:disabled {
  background-color: #e0e0e0;
  color: #a0a0a0;
  cursor: not-allowed;
}

.sfb-sub {
  color: #d9534f;
  font-size: 14px;
  margin-top: 15px;
}

.sfb-otp-timers {
    margin: 20px;
}

  .sfb-input-group {
  position: relative;
  display: inline-block;
  width: 100%;
}
input[type="date"] {
    background : white !important;
}

.sfb-input-label {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: #aaa;
  pointer-events: none;
  transition: 0.2s ease all;
     
}

.sfb-input-date:valid + .sfb-input-label {
  display: none;
}


.sfb-input-date::-webkit-datetime-edit {
  color: transparent;
}

.sfb-input-date:focus::-webkit-datetime-edit {
  color: transparent;
}


.sfb-input-date:valid::-webkit-datetime-edit {
  color: #000; 
}

.sfb-input-date:focus::-webkit-datetime-edit,
.sfb-input-date:valid::-webkit-datetime-edit {
  color: #000; 
}

.sfb-input-date:valid + .sfb-input-label,
.sfb-input-date:focus + .sfb-input-label {
  /*top: 4px;*/
  font-size: 11px;
  color: #666;
}

.sfb-input-date {
     border: 1px solid var(--sfb-border) !important;
    border-radius: 12px !important;
  appearance: none;     
  -webkit-appearance: none;
  -moz-appearance: none;
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 12px;
  font-size: 14px;
  color: #333;
  width: 100%;
  box-sizing: border-box;
}
  
  .faq-item {
    display: none;
  }
  .faq-item:nth-child(-n+8) {
    display: block;
  }
  .faq-section.expanded .faq-item {
    display: block;
  }
  .faq-toggle {
    margin: 20px;
    text-align: center;
  }
  #toggleFaqBtn {
    padding: 8px 16px;
    background: #0077cc;
    color: #fff;
    border: none;
    border-radius: 6px;
    cursor: pointer;
  }
  
  .right-container {
      align-content: center;
  }

 
 
 
 
 
 
 
 
 