/* General Styles */
body {
    font-family: "Lato", sans-serif;
    margin: 0;
    box-sizing: border-box;
}
 a, a:active, a:visited {
    color: #2081bf;
}
.container {
   max-width: 1400px;
   padding: 10px 25px;
}
.bodyframe {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    background-color: #f0faff;
}

.header-content {
    max-width: 55%;
    padding: 10px 40px;
    margin-top: 50px;
}

.header-content h1 {
    font-size: 3rem;
}
.post-title {
   margin-bottom: 24px;
}

.header-content p {
    font-size: 1.2rem;
    margin: 15px 0;
}

.header-image {
    margin-top: 50px;
}

.cta-buttons {
    display: flex;
    gap: 20px;
}

.btn {
    padding: 10px 20px;
    border: none;
    cursor: pointer;
}

.cta__btn {
    display: inline-flex; 
    align-items: center;
    justify-content: center;
    border: 2px solid #4ea66d; 
    border-radius: 30px; 
    padding: 0 1.25rem; 
    height: 3rem; 
    line-height: 1; 
    background-color: transparent; 
    color: #4ea66d; 
    cursor: pointer;
    box-sizing: border-box; 
    user-select: none;
    white-space: nowrap; 
    position: relative; 
    transition: background-color 0.3s ease, color 0.3s ease; 
}

.cta__btn a {
    text-decoration: none; 
    color: inherit; 
    font-size: 1.2rem; 
    font-weight: 700; 
    display: flex; 
    align-items: center;
    justify-content: center;
}

.cta__btn::after {
    content: '';
    display: inline-block;
    background-image: url("assets/icons-arrow-right-verde-21.png"); 
    background-repeat: no-repeat;
    width: 22px; 
    height: 22px; 
    margin-left: 8px; 
    transition: background-image 0.3s ease; 
}

/* Hover Effects */
.cta__btn:hover {
    background-color: #4ea66d; 
    color: #fff; 
}

.cta__btn:hover::after {
    background-image: url("assets/icons-arrow-right-white-21.png"); 
}

/* Specific Button Styles */
.refinance {
    background-color: transparent;
    color: #4ea66d; 
}

.buy-home {
    background-color: transparent;
    color: #4ea66d; 
}

.cta__btn a svg {
   color: #fff;
}
.cta__btn a:hover svg {
   color: #fff;
}
/*
svg[Attributes Style] {
    width: 16;
    height: 11;
    fill: none;
}
svg:not(:root) {
    overflow-clip-margin: content-box;
    overflow: hidden;
} */

.header-image img {
    height: auto;
    width: 100%;
    max-width: 100%;
    object-fit: cover;
    opacity: 1;
    padding-right: 40px;
}

/* ========= hero area ============ */

    .hero {
      position: relative;
      background: linear-gradient(rgba(0, 0, 0, 0.527),rgba(0, 0, 0, 0.25)), url('../images/main-happy-couple-adbe_227656757.jpg?auto=format&fit=crop&w=1400&q=80') no-repeat center center/cover;
      margin-top: 65px;
      padding: 100px 0 60px;
      opacity: 0.90;
      text-align: center;
    }

    .hero::before {
      content: "";
      position: absolute;
      top: 0; left: 0; right: 0; bottom: 0;
      background: rgba(0, 0, 0, 0.45);
      z-index: 1;
    }

    .hr-container {
      position: relative;
      z-index: 2;
      display: flex;
      align-items: center;
      justify-content: center;
      max-width: 1400px;
      margin: 35px auto;
      padding: 0 40px;
      gap: 50px;
    }
     .Top_hero_module {
       width: 100%:
       max-width: 880px;
   }

    .left {
      display: flex;
      flex-direction: column;
      gap: 20px;
    }

    .btn {
      display: inline-block;
      font-size: 16px;
      font-weight: 700;
      letter-spacing: 1px;
      text-transform: uppercase;
      border-radius: 6px;
      padding: 18px 36px;
      cursor: pointer;
      text-align: center;
      width: fit-content;
      width: 320px;
      margin-bottom: 15px;
    }

    .btn-black {
      background: #1a1a1a;
      color: #fff;
      border: none;
    }
    .btn-blue {
      background: #2e6697;    
      color: #fff;
      border: none;
     }

    .btn-outline {
      border: 2px solid #1a1a1a;
      color: #1a1a1a;
      background: transparent;
    }
     .btn-black:hover {
      background-color: #2ecc71;
    }
     .btn-blue:hover {
      background-color: #2ecc71;
    }

    .btn-outline:hover {
      background-color: #2ecc71;
      color: white;
      border-color: #2ecc71;
    }

    .divider {
      width: 2px;
      background-color: #333;
      height: 160px;
     }

    .right {
      max-width: 460px;
      font-size: 18px;
      line-height: 1.6;
    }
  
    .right h3 {
       font-size: 22px;
    }  

    .right p {
      margin: 10px 0;
    }
    .right em {
      font-size: 16px;
    }
    .right sup {
      font-size: 12px;
    }
    .right span {
      padding: 5px 0 5px 10px;
      color: #007c8a; 
     /* background: #fed880;*/
    }

    .right strong {
      font-weight: 700;
    }

   .hero h1 {
      font-size: 56px;
      font-weight: 700;
      margin: 20px auto;
      text-align: center;
      max-width: 1000px;
      color: #fff;
      position: relative;
      z-index: 2;
    }
   .subtitle {
     font-size: 28px;
     margin: 0 auto;
     text-align: center;
     color: #fff;
     position: relative;
     z-index: 2;
    }

    .text-notes  {
     margin: 0 auto;
     text-align: center;
    }
    .text-notes p   {
    color: #a09f9f;
    font-family: /* Proxima Nova;*/ 'Roboto Condensed', Arial;
    font-size: 14px;
   }

   .fs {
      font-family: 'Roboto', sans-serif;
      font-size: 13px;
      color: #a09f9f;
      margin: 0 auto; 
      margin-bottom: 30px;
      line-height: 1.42;
      padding-bottom: 15px;    
      text-align: justify;
      max-width: 1200px;
    }


/* ============= Resources Section ============= */

.resources {
    padding: 40px 60px;
    background-color: #fff;
}

.resource-cards {
    display: flex;
    gap: 20px;
}

.card {
    flex: 1;
    flex-direction: column;
    padding: 20px;
    background-color: #fff;
    border: 1px solid #ddd;
    text-align: center;
    font-weight: normal;
    box-shadow: 0 0 2px 0 rgba(0, 0, 0, 0.14), 0 2px 2px 0 rgba(0, 0, 0, 0.12), 0 1px 3px 0 rgba(0, 0, 0, 0.2);
    border-radius: 0.25em;
    box-sizing: border-box;
}

.card_title {
 font-size: 1.25rem;
 font-weight: 700;
}
.card_title a {
   text-decoration: none;
   color: #000;
 }

.card_title a:hover {
    text-decoration: underline;
    color: #2081bf;
}

.card .bC_br {
   align-items: center;
    box-sizing: border-box;
    color: #333;
    display: flex;
    margin: 0;
    overflow: hidden;
    text-decoration: none;
}

.card img {
        background: transparent;/*#e9f4fb;*/
        background-position: 0 50%;
        background-repeat: no-repeat;
        background-size: contain;
        height: 50px;
        width: 50px;
}

/*======  Help Section  ========== */

.help-section {
    padding: 40px 60px;
    background-color: #f2f2f2;/*e6ffe6;*/
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.help-content {
    max-width: 50%;
    padding: 10px 40px;
}

.help-section h2 {
    font-size: 25px; 
    font-weight: 700;
    line-height: 130%;
    margin-bottom: 32px;
}
.help-section .list_item_title {
     font-size: 18px;
     font-weight: 700;
    }
.help-section p {
    font-size: 15px;
    font-weight:normal;
    line-height: 28px;
    max-width: 480px;
}

.help-image img {
    height: auto;
    width: 100%;
    max-width: 100%;
    object-fit: cover;
    opacity: 1;
    padding-right: 40px;
}
@media (min-width: 992px) {
    .help-section h2 {
        font-size: 36px;
    }
    .help-section .list_item_title {
     font-size: 20px;
     font-weight: 700;
    }
}

/*  ========  Testimonials Section  Images ============ */
.testimonials {
    width: 100%;
    padding: 40px 60px;
    background-color: f0aaff;
}

.reviews {
    display: flex;
    justify-content: center;
    width: 96%;
    padding: 20px;
    margin-top: 35px;
    gap: 20px;
}
.reviews img {
      width: 50%;
      height: auto;
      max-height: 160px;
      filter: grayscale(100%);
      transition: filter 0.3s ease;
    }


.review {    
    display: inline-block;
    padding: 15px 5px;
    text-align: center;
}
.reviews .review:hover img {
       filter: grayscale(0%);
    }
/* =========  Testimonials 2 ========= */

 .testimonial-slider {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #fff;
  padding: 20px;
  border: 1px solid #ddd;
}

.testimonial-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  max-width: 800px;
}

.recommendation {
  flex: 1;
  padding: 10px 20px;
}

.recommendation p {
  font-size: 1.2rem;
  font-weight: bold;
  margin: 0;
}

.recommendation sup {
  font-size: 0.8rem;
}

/* -==================  Testimonials 3  in use currently=============*/

    .testimonial-container {
      width: 100%;
      max-width: 1400px;
      display: flex;
      align-items: center;
      background: #fff;
      border-radius: 2px;
      box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
      margin: 0 auto;
    }

    .text-left {
      width: 45%;
      padding: 20px;
      border-right: 2px solid #bbb;
      display: flex;
      flex-direction: column;
      justify-content: center;
      text-align: left;
    }

    .text-right {
      width: 48%;
      padding: 20px;
      border-right: 2px solid #bbb;
      display: flex;
      flex-direction: column;
      justify-content: center;
      /* text-align: left; */
      height: 100px;
      font-size: Helvetica, Arial, sans-serif;
    }

    .text-left h2, .text-right h2 {
      font-size: 1.75rem;
      font-weight: 600;
      line-height: 2.25rem;
      font-family: Helvetica, Arial, sans-serif;
      letter-spacing: normal;
      margin: 0 auto;
      margin-bottom: 10px; 
      padding-left: 80px;     
      max-width: 96%; 
    }

    .text-left sup, .text-right sup {
      font-size: 0.8rem;
      vertical-align: top;
    }

    .testimonial-display {
      width: 50%;
      min-height: 200px;
      padding: 35px 20px;
      /* text-align: center;*/
      position: relative;
    }

    .testimonial3 {
      display: none;
      flex-direction: column;
      justify-content: left;
      /* align-items: center; */
      padding: 0 30px;      
    }

    .testimonial3.active {
      display: flex;
    }

    .testimonial3 p {
      font-size: 1.0625rem;
      font-weight: 300;
      line-height: 1.375rem;
      color: #555;
      margin: 35px 0 20px; 
      text-align: left; 
      display: flex;
      flex-direction: column;
      justify-content: left;
      align-items: center;
    }

    .testimonial3 span {
      font-size: .75rem;
      font-weight: 600;
      line-height: .75rem;
      letter-spacing: .08em;
      color: #1c1b1a;
      display: inline-block;
      text-align: left !important;
    }

    .trustpilot {
      font-size: 1.0625rem;
      font-weight: 500;
      color: #333;
      margin-top: 10px; 
      display: inline-block;
      text-align: left !important;
    }

    .trustpilot .star {
     font-size: 1.55rem;
     padding-top: 20px;
    }

    span.testinum  {
      font-size: .75rem;
      font-weight: 600;
      line-height: .75rem;
      letter-spacing: .08em;
      color: #1c1b1a;
      display: inline-block;
      position: absolute;
      top: 65%;
      right: 50px;
      padding-top: 10px;
    }

   .chvarrow {
      position: absolute;
      top: 50%;
      padding-top: 15px;
      border: solid black; 
      cursor: pointer;
      border-width: 0 3px 3px 0;
      display: inline-block;
      padding: 3px;
      height: 12px;
      width: 12px;
   }

   .chvleft {
      right: 85px;
      background-color: transparent;  
      transform: rotate(135deg);
      -webkit-transform: rotate(135deg);
    }

    .chvright {
      right: 45px;   
      background-color: transparent;
      transform: rotate(-45deg);
     -webkit-transform: rotate(-45deg);
    }      

/*========  Recommended Section ================ */

.recommended {
    padding: 40px 60px;
}
.recommended a {
    height: 100%;
    color: #131313;
    text-decoration: none;
    width: 100%;
}

.recommended a:hover {
    height: 100%;
    color: #2081bf;
    text-decoration: underline;
    width: 100%;
}

.recommended-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.recommended-cards img {
  display: flex;
  align-items: center;
  justify-content: center;  
  background-position: 0 50%;
  background-repeat: no-repeat;
  background-size: contain;
  width: 96%;
  max-width: 356px;
  height: auto;
  margin-bottom: 20px;
}

.recommended-cards .card {
    flex: 1 1 calc(33.333% - 20px);
    padding: 20px;
    background-color: #ffffff;
    border: 1px solid #ddd;
    font-size: 1.125rem;
    font-weight: 700;
}

/* Footer Styles */
.footer {
    padding: 40px 20px;
    background-color: #f1f1f3;/*333;*/
    color: #333;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}
.footer-content p {
 color: #4e4e4e;/*c5c5c5;*/
 line-height: 1.625rem;
 font-size: 1.03125rem;
}
.footer-content p a {
   color: #4e4e4e;/*c5c5c5;*/
   text-decoration: none;
}

.footer-column {
    flex: 1;
    padding-left: 5%;
}

.footer-column h3 {
    font-size: 1.2rem;
}

.footer-column ul {
    list-style-type: none;
    padding: 0;
    /* width: 33%; */
    margin-left: 3%;
}

.footer-column ul li {
    margin: 5px 0;
    color: #4e4e4e;/*c5c5c5;*/
   font-size: 1.03125rem;
}
.footer-column ul li a{
    color: #4e4e4e;
    font-size: 1.03125rem;
    text-decoration: none;
}
.footer-column ul li a:hover {
    color: #2081bf;
    text-decoration: underline;
}
.footer p.eligbl {
 padding: 10px  50px;
}
.text-xsmall {
    font-size: 0.875em !important;
    color: #4e4e4e;/*c5c5c5;*/
}
.text-xsmall a {
   color: #4e4e4e;/*c5c5c5;*/
   text-decoration: none;
}

/* ===   Responsive Styles ========= */

@media (max-width: 920px) {
      .hero  {
        padding: 70px 0 40px;
      }
       .hero h1 {
         padding: 10px 16px;
         font-size: 36px;
        }
      .subtitle {
         padding: 10px 16px;
         font-size: 22px;
        }
      .hr-container {
        flex-direction: column;
        text-align: center;
        gap: 30px;
      }

      .left {
        align-items: center;
      }

      .btn {
       /* width: 80%; */
        max-width: 340px;
      }

      .divider {
        display: none;
      }

      .right {
        font-size: 17px;
        padding: 0 20px;
      }
    }

@media only screen and (max-width: 768px) {
  .header-content h1 {
     font-size: 2.25rem;
}
  .post-title {
   margin-bottom: 20px;
}

  .header-content p {
    font-size: 1.0625rem;
    margin: 12px 0;
}
  .cta__btn {    
    padding: 0 1.0625rem; 
    height: 2.625rem; 
    line-height: 1; 
}

  .cta__btn a {
    font-size: 0.9875rem; 
}

  .cta__btn::after {
    width: 19px; 
    height: 19px; 
}

  .testimonial-container {
      flex-direction: column;
      text-align: center;
      }

  .testimonial-content {
    flex-direction: column;
    align-items: flex-start;
  }

  .recommendation, .testimonial, .navigation {
    padding: 10px 0;
    width: 100%;
    text-align: center;
    border: none;   
    overflow-y: hidden;
  }

  .testimonial {
    border-left: none;
  }
  .testimonial-display {
        width: 98%;
        margin-left: 10px;
      }
  .testimonial3 p {
         margin: 8px 0 20px; 
      }

    .header {padding: 20px;}
    .header, .help-section {
        flex-direction: column;
        text-align: center;
    }
  .header-image img {
    width: 85%;
    height: auto;
    }

    .header-content, .help-content {
        max-width: 100%;
    }

    .resource-cards, .reviews {
      flex-direction: column;       
      overflow-y: hidden;
    }

    .reviews img {
      max-width: 200px;
      height: auto;
      filter: grayscale(100%);
      transition: filter 0.3s ease;
    }

    .recommended-cards .card {
        flex: 1 1 100%;
    }   
    .help-section {
    padding: 30px 25px;
    background-color: #f2f2f2;/*e6ffe6;*/
    display: flex;
    justify-content: space-between;
    align-items: center;
    }

   .help-content {
    max-width: 84%;
    padding: 10px 16px;
    }   

      .text-left, .text-right {
        width: 100%;
        height: 80px;
        padding: 22px 12px 12px 12px;
        border-right: none;
        border-bottom: 2px solid #bbb;
      }
      .text-left h2, .text-right h2 {
       margin-left: 20px; 
       padding-left: 12px;  
       font-size: 1.5rem;
       line-height: 1.875rem;
      }     

      .arrow-left, .arrow-right, .chev-arrow-left, .chev-arrow-right{
        top: auto;
        bottom: 30px;
        transform: translateY(0);
      }

      .chvleft, .chvright{
        top: auto;
        bottom: 40px;
      }

      .arrow-left, .chev-arrow-left {
        left: 10%;
      }
      .chvleft {
        left: 24%;
      }

      .arrow-right, .chev-arrow-right {
        right: 10%;
      }
      .chvright {
        right: 24%;
      }
 
      span.testinum  {
      display: flex;
      justify-content: center;
      align-items: center;
      padding: 10px 0 0 55px;
      margin-top: 40px;
      position: relative;
    }
    
     .footer-content {
        flex-direction: column;
    }
    .footer p.eligbl {
          padding: 10px  30px;
    }
 }
 


@media only screen and (max-width: 768px) {
  
  .container {
     padding-left: 15px;
     padding-right: 15px;
     box-sizing: border-box;
     overflow-x: hidden;
  }
  
  .bodyframe {
    padding-left: 15px;
    padding-right: 15px;
    box-sizing: border-box;
    overflow-x: hidden;
  }
  
  .header {
   /* padding-left: 20px;
    padding-right: 20px;*/
    box-sizing: border-box;
    overflow-x: hidden;
  }
  
  .header-content {
    padding-left: 15px;
    padding-right: 15px;
    max-width: 100%;
    box-sizing: border-box;
  }
  
  .header-image img {
    padding-right: 10px;
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
  }
  
  .resources {
    padding-left: 20px;
    padding-right: 20px;
    box-sizing: border-box;
    overflow-x: hidden;
  }
  
  .help-section {
    padding-left: 15px;
    padding-right: 15px;
    box-sizing: border-box;
    overflow-x: hidden;
  }
  
  .help-content {
    padding-left: 5px;
    padding-right: 5px;
    max-width: 100%;
    box-sizing: border-box;
  }
  
  .testimonials {
    padding-left: 20px;
    padding-right: 20px;
    box-sizing: border-box;
    overflow-x: hidden;
  }
  
  .recommended {
    padding-left: 20px;
    padding-right: 20px;
    box-sizing: border-box;
    overflow-x: hidden;
  }
  
  .footer p.eligbl {
    padding-left: 15px;
    padding-right: 15px;
  }
  
  .header, .resources, .help-section, .testimonials, .recommended, .footer {
    max-width: 100vw;
    overflow-x: hidden;
    box-sizing: border-box;
  }
  
  .resource-cards, .reviews, .recommended-cards, .footer-content {
    flex-wrap: wrap;
    max-width: 100%;
    overflow-x: hidden;
  }
  
  .testimonial-container {
      box-sizing: border-box;
      overflow-x: hidden;
  }
  
  .testimonial-display {
        width: 98%;
        margin-left: 10px;
      }
  
  .text-left, .text-right {
        width: 100%;
        padding-left: 12px;
        padding-right: 12px;
        border-right: none;
      }
      
  .text-left h2, .text-right h2 {
       margin-left: 20px; 
       padding-left: 12px;  
      }     

  .chvleft {
        left: 24%;
      }

  .chvright {
        right: 24%;
      }
 
  span.testinum  {
      padding-left: 55px;
      padding-right: 0;
      position: relative;
    }
    
  .footer-content {
        flex-direction: column;
    }

  }

@media only screen and (max-width: 520px) {

.right {
        font-size: 16px;
        padding: 0 10px;
      }
}