.main-container {
    background-image: url("/wp-content/themes/heimdal/img/redesign-v3/roi-calculator/hero-bg.jpg");
    background-repeat: no-repeat;
    background-size: 100% 100%;
}

.content-container {
    position: relative;
    z-index: 2;
}

.environment h2,
.savings h2 {
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.inputs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
    align-items: end;
    margin-bottom: 2rem;
}

.input-field {
    display: flex;
    flex-direction: column;
}

.input-field label {
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.input-field input,
.input-field select {
    width: 100%;
    height: 42px;
    padding: 0.6rem;
    font-size: 1rem;
    box-sizing: border-box;
    border-radius: 5px;
    border: 1px solid #D9DBE9;
    background: #FFF;
}

.savings-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.card {
    padding: 1.5rem;
    border-radius: 16px;
    border-radius: 20px;
    border: 1px solid #D9DBE9;
    background: #FFF;
    box-shadow: 0 1px 36px 4px rgba(2, 80, 198, 0.10);
}

.card.highlight {
    border-radius: 20px;
    border: 1px solid #D9DBE9;
    background: linear-gradient(270deg, #F92323 0%, #FF2F70 100%);
    box-shadow: 0 1px 36px 4px rgba(2, 80, 198, 0.10);
    color: white;
}

.card h3 {
    color: #0A1A65;
    font-family: Inter;
    font-size: 22px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    margin-top: 0;
    margin-bottom: 0.75rem;
}

.amount {
    margin-bottom: 0.5rem;
    color: #0065FE;
    font-family: Inter;
    font-size: 24px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    letter-spacing: -0.56px;
}

.amount span {
    color: rgba(10, 26, 101, 0.60);
    font-family: Inter;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    letter-spacing: -0.32px;
}

.description {
    margin-bottom: 0.5rem;
    color: #6C76A3;
    font-family: Inter;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

.card.highlight h3, .card.highlight .amount, .card.card.highlight .description {
    color: #fff;
}

.small {
    font-size: 12px;
    color: #6C76A3;
}

.card.highlight .small{
    color: rgba(255, 255, 255, 0.882);
}

.card.highlight .amount span {
    color: rgba(255, 255, 255, 0.685);
}

/* ====== My Fixes ========= */
.roi-top-part img {
    max-width: 240px;
}

.roi-top-part .top-title img {
    max-width: 22px;
    margin-right: 10px;
}

.roi-top-part .top-title {
    font-family: Inter;
    font-size: 20px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin: 1.7rem 0 0.7rem;
}

.roi-top-part h1 {
    color: #FFF;
    font-family: Inter;
    font-size: 50px;
    font-style: normal;
    font-weight: 600;
    line-height: 60px;
}

.roi-top-part h2 {
    font-family: "Nunito Sans";
    font-size: 32px;
    font-style: normal;
    font-weight: 600;
    line-height: 50px;
}

.roi-bottom-part {
    margin-top: 4rem;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 1px 36px 4px rgba(2, 80, 198, 0.10);
}

.calc-result {
    padding: 1.5rem;
}

.under-calc {
    padding: 2rem 0;
}

.under-calc p {
    max-width: 500px;
    font-family: Inter;
    font-size: 12px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

.under-calc .cta-v3 {
    max-width: 350px;
}

@media screen and (max-width:980px){
  .under-calc {
      flex-direction: column;
      gap: 2rem;
    }
}

@media screen and (max-width:768px){
  .content-container.section-space {
      padding: 6rem 2rem 3rem;
  }

  .roi-top-part h1 {
    font-size: 42px;
  }

  .roi-top-part h2 {
    font-size: 25px;
    line-height: 1.5em;
  }

  .under-calc .cta-v3 {
    max-width: 250px;
  }
}

@media screen and (max-width:400px){

    .roi-top-part h2 {
        font-size: 23px;
        line-height: 1.5em;
        margin-top: 10px;
    }

    .roi-top-part h1 {
        font-size: 34px;
        line-height: 1.4em;
    }

    .roi-top-part .top-title {
        font-size: 14px;
    }

    .roi-top-part img {
        max-width: 200px;
    }

    .savings-grid {
        display: flex;
        flex-direction: column;
    }
}

/* ============== ROI Testimonials Section ================== */

 #roi-testimonials {
     font-family: "Inter",Arial, sans-serif;
     color: #0A1A65;
     background: #ffffff;
     line-height: 1.55;
 }

#roi-testimonials .block {
    display: flex;
    gap: 32px;
    justify-content: space-between;
    align-items: flex-end;
    min-height: 180px;
}

 #roi-testimonials .eyebrow {
    font-size: 18px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
 }

 #roi-testimonials .quote {
     margin: 0 0 30px;
     max-width: 56ch;
    font-size: 26px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
 }

 #roi-testimonials .cite {
    margin: 0 0 18px;
    color: #0A1A65;
    font-family: "Nunito Sans";
    font-size: 24px;
    font-style: normal;
    font-weight: 700;
    line-height: 34px;
    letter-spacing: -0.48px;
 }

 #roi-testimonials .btn {
    display: inline-block;
    padding: 10px 40px;
    border-radius: 999px;
    text-decoration: none;
    font-size: 18px;
    color: #0A1A65;
    background: #fff;
    transition: all 0.18s ease;
    border-radius: 30px;
    border: 1px solid #0A1A65;
 }

 #roi-testimonials .btn:hover {
     color: #fff;
     background: #0A1A65;
     box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
 }

 #roi-testimonials .nhs {
    justify-self: end;
    text-align: right;
    font-size: 32px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
 }

#roi-testimonials .nhs-logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 12px;
    border-radius: 4px;
    margin-bottom: 12px;
    max-width: 130px;
}

 #roi-testimonials .nhs-logo span {
     font-weight: 900;
     color: #fff;
     letter-spacing: 0.04em;
 }

 #roi-testimonials .nhs h3 {
     margin: 0;
     font-weight: 800;
     line-height: 1.2;
 }

 #roi-testimonials .nhs small {
     display: block;
     margin-top: 6px;
     font-size: 20px;
     font-weight: 600;
 }
 
 @media screen and (max-width:1000px){
  #roi-testimonials .quote {
      max-width: 33ch;
      font-size: 24px;
  }
}

@media screen and (max-width:980px){

  #roi-testimonials .nhs-logo {
      max-width: 100px;
  }

  #roi-testimonials .nhs h3 {
    font-size: 1.4rem;
  }
}

 @media (max-width: 820px) {

  #roi-testimonials .block {
      flex-direction: column;
      align-items: flex-start;
      gap:40px;
  }

     #roi-testimonials .nhs {
         justify-self: start;
         text-align: left;
     }
 }

@media screen and (max-width:500px){
    #roi-testimonials .section-space-sm {
        padding: 4rem 2rem 2rem;
    }
}

 /* ============= Ready Section ==================== */

  #ready {
    background: #fff;
  }

  #ready .panel{
      background: linear-gradient(270deg, #F92323 0%, #FF2F70 100%);
      color: white;
      padding: 40px;
      text-align: left;
      border-radius: 16px;
      margin: 50px auto;
  }

  #ready h2 {
      font-family: 'Inter', sans-serif;
      font-weight: 600;
      font-size: 2.5rem;
      margin: 0 0 20px;
  }

  #ready p {
    max-width: 966px;
      font-size: 1.125rem;
      margin: 0 0 30px;
  }

  #ready .btn-container {
      display: flex;
      justify-content: flex-start;
      gap: 20px;
  }

  #ready .btn {
    font-family: "Nunito Sans";
    font-size: 18px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    letter-spacing: -0.42px;
    padding: 12px 24px;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

  #ready .btn-secondary img {
    transition: all 0.3s ease;
  }

  #ready .btn-secondary:hover img {
    transform: translateX(5px);
  }

  #ready .btn-secondary {
    display: flex;
    gap: 20px;
    background-color: transparent;
    color: white;
    border: 2px solid white;
    transition: all 0.3s ease;
  }

  #ready .btn-secondary span {
    white-space: nowrap;
  }

  #ready .btn-secondary img {
    max-width: 20px;
  }

  #ready .btn-secondary.white:hover {
    background: #fff;
    color: #F92323;
  }

  @media screen and (max-width:580px){

    #ready .btn-container {
        flex-direction: column;
    }

    #ready h2 {
      font-size: 2rem;
    }
  }

  /* ============== Related Section ====================== */
  .presentation-section h2{
    margin-bottom: 4rem;
  }

  .presentation-section .text-color-light-blue,
  .presentation-section .text-color-pink,
  .presentation-section .text-color-light-purple {
        font-family: Inter;
        font-size: 15px;
        font-style: normal;
        font-weight: 700;
        line-height: normal;
        letter-spacing: 2.25px;
        text-transform: uppercase;
  }
  
  .presentation-section .small-parag {
        font-family: "Nunito Sans";
        font-size: 22px;
        font-style: normal;
        font-weight: 700;
        line-height: 30px;
        letter-spacing: -0.44px;
  }

    .presentation-section .learn-more-link {
        display: flex;
        margin-top: 2rem;
        gap: 1em;
        color: #0B1A65;
        font-family: "Nunito Sans";
        font-size: 21px;
        font-style: normal;
        font-weight: 600;
        line-height: normal;
        letter-spacing: -0.42px;
    }

  .presentation-section .learn-more-link img{
    max-width: 20px;
    transition: transform 0.3s ease;
  }

  .presentation-section .card-container>.card-bottom-part {
    padding: 2.5em 2em 2.5em;
  }

  .presentation-section .card-container:hover .learn-more-link img{
    transform: translateX(10px);
  }

  @media screen and (max-width:980px){
    .card-container.card-3 {
        width: 48%;
    }

    .card-row-3,
    .card-row-2,
    .card-1 {
      row-gap: 2rem;
    }
  }

  @media screen and (max-width:780px){
    .card-row-3,
    .card-row-2,
    .card-1 {
        flex-direction: column;
    }

    .card-container.card-3 {
      width: 100%;
    }

    .card-container>.card-top-part>img {
      max-height: 200px;
    }

    .presentation-section.section-space-sm {
      padding: 3rem;
    }
  }

  @media screen and (max-width:450px){

    .presentation-section .card-container>.card-bottom-part {
      padding: 1.5em 1em 1.5em;
    }

    .presentation-section .small-parag {
      font-size: 20px;
    }

    .presentation-section .learn-more-link {
      font-size: 18px;
    }

    .presentation-section.section-space-sm {
        padding: 1rem;
    }
  }

  /* ================== faq section ============================ */

img.check_icon {
    width: 25px;
    margin-top: -7px;
}

  .faq-section {
      margin-bottom: 2rem;
  }

  .faq-section .subheading {
      font-family: Inter;
      font-size: 20px;
      font-style: normal;
      font-weight: 700;
      line-height: normal;
      letter-spacing: 3px;
      margin-bottom: 1rem;
  }

  .accordion {
      display: flex;
      flex-direction: column;
      gap: 10px;
      margin-top: 2rem;
  }

  .accordion .accordion-item {
      background-color: var(--background-color);
      border: 1px solid var(--border-color);
      border-radius: 5px;
      border-bottom: 1px solid #C7CBE1;
  }

  .accordion .accordion-item .accordion-item-description-wrapper hr {
      border: none;
      border-top: 1px solid var(--border-color);
      visibility: visible;
  }

  .accordion .accordion-item.open .accordion-item-description-wrapper hr {

      visibility: visible;
  }

  .accordion .accordion-item .accordion-item-header {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 50px 10px;
      cursor: pointer;
  }


  .accordion .accordion-item .accordion-item-header .accordion-item-header-title {
      font-size: 24px;
      font-style: normal;
      font-weight: 500;
      line-height: 1.416em;
      letter-spacing: -0.48px;
      font-family: "Nunito Sans", Arial, Helvetica, sans-serif;
  }

  .accordion .accordion-item .accordion-item-header .accordion-item-header-icon {
      transition: all 0.2s ease;
  }

  .accordion .accordion-item.open .accordion-item-header .accordion-item-header-icon {
      transform: rotate(-180deg);
  }

  .accordion .accordion-item .accordion-item-description-wrapper {
      display: grid;
      grid-template-rows: 0fr;
      overflow: hidden;
      transition: all 0.2s ease;
  }

  .accordion .accordion-item.open .accordion-item-description-wrapper {
      grid-template-rows: 1fr;
      margin-bottom: 1.25rem;
  }

  .accordion .accordion-item .accordion-item-description-wrapper .accordion-item-description {
      min-height: 0;
  }

  .accordion .accordion-item .accordion-item-description-wrapper .accordion-item-description p {
      padding: 10px;
      line-height: 1.5;
      font-family: "Nunito Sans";
      font-size: 20px;
      font-weight: 400;
      line-height: 30px;
      letter-spacing: -0.4px;
  }

  .accordion .accordion-item .accordion-item-header svg {
      transition: 0.3s all;
  }

  .accordion .accordion-item.open .accordion-item-header svg {
      transform: rotate(180deg);
  }

  .p-default>a {
      color: #0A1A65;
      text-decoration: underline;
  }

  .accordion .accordion-item:last-child {
      border: none;
  }

  @media screen and (max-width:993px) {

      .accordion {
          border: 1px solid #C7CBE1;
          border-radius: 20px;
      }

      .accordion .accordion-item .accordion-item-header {
          padding: 20px 10px;
      }

      .accordion .accordion-item .accordion-item-header svg {
          width: 20px;
      }

  }


  @media screen and (max-width:576px) {
      .faq-section {
          padding: 3rem 0;
      }

      .accordion .accordion-item .accordion-item-header .accordion-item-header-title {
        font-size: 20px;
      }

      .accordion .accordion-item .accordion-item-description-wrapper .accordion-item-description p {
        padding: 0px 10px;
        font-size: 18px;
      }
  }
