  * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
  }

  body {
      font-family: 'Lato', sans-serif;
      background: #FFFFFF;
      color: #000000;
      overflow-x: hidden;

  }

  .language-links {
      margin-top: 10px;
      font-size: 14px;
      color: #444;
  }

  .language-links a {
      color: #c62828;
      /* default red */
      text-decoration: none;
      font-weight: 500;
      transition: color 0.2s ease;
      /* smooth hover */
  }

  .language-links a:hover {
      color: #0A3252;
      /* darker red on hover */
      text-decoration: underline;
  }


  .header {
      background: #0A3252;
      padding: 18px 20px;
      position: sticky;
      top: 0;
      z-index: 100;
  }

  .header-content {
      display: flex;
      justify-content: space-between;
      align-items: center;
      max-width: 1440px;
      margin: 0 auto;
  }

  .logo {
      height: 35px;
      width: 120px;
      margin-left: 50px;

  }

  @media (max-width: 640px) {
      .logo {
          margin-left: 0px;
      }
  }


  .nav-menu {
      display: flex;
      gap: 50px;
      align-items: center;

  }

  .nav-menu a {
      color: #FFFFFF;
      text-decoration: none;
      font-size: 16px;
      font-weight: 500;
  }

  .cta-button {
      background: #FFFFFF;
      color: #0a3252;
      padding: 12px 20px;
      margin-left: 1px;
      border-radius: 8px;
      font-weight: 800;
      font-size: 16px;
      text-decoration: none;
      letter-spacing: 0.02em;
      /* text-transform: capitalize; */
  }


  .hero-section {
      width: 100%;


  }

  /* Each slide */
  .hero-slide {
      min-width: 100%;
      height: 300px;
      display: flex;
      align-items: center;
      background-size: cover;
      background-position: center;
  }

  /* Slide 1 background */
  .hero-slide-1 {
      background:
          url('/iap/investment-mistakes/static/total_calculator/banner1.jpg') center/cover;
  }

  /* Slide 2 background (YOUR URL) */
  .hero-slide-2 {
      background:
          url('/iap/investment-mistakes/static/total_calculator/banner2.jpg') center/cover;
  }

  /* Your existing styles */
  .hero-box {
      background: #EF3E24;
      padding: 24px;
      width: 311px;
  }

  .hero-box h1 {
      font-size: 40px;
      font-weight: 700;
      line-height: 50px;
      color: #FFFFFF;
  }

  /* Slider */
  .hero-slider {
      overflow: hidden;
      width: 100%;
  }

  .hero-track {
      display: flex;
      transition: transform 0.5s ease-in-out;
  }

  /* Dots */
  .hero-dots {
      display: flex;
      justify-content: center;
      margin-top: 16px;
  }

  .dot {
      width: 8px;
      height: 8px;
      border-radius: 50%;
      border: 1.5px solid #0a3252;
      margin: 0 6px;
      cursor: pointer;
  }

  .dot.active {
      background: #0a3252;
  }


  .container {
      max-width: 1240px;
      margin: 0 auto;
      padding: 0 50px;
  }

  .content-section {
      padding: 40px 0;
  }

  .content-section1 {
      padding-top: 25px;
      padding-bottom: 1px;
  }

  .section-title {
      font-size: 30px;
      font-weight: 800;
      line-height: 133%;
      color: #001F3E;
      margin-bottom: 16px;
      padding-left: 5px;
  }

  .section-title1 {
      font-size: 30px;
      font-weight: 800;
      line-height: 133%;
      color: #001F3E;
      margin-bottom: 16px;
      padding-left: 5px;
  }

  .section-text {
      font-size: 16px;
      font-weight: 500;
      line-height: 25px;
      color: #334C65;
      padding-left: 5px;
  }

  .video-card {
      position: relative;
      width: 100%;
      margin-top: 10px;
      height: 295px;
      background: linear-gradient(180deg, rgba(10, 50, 82, 0) 0.72%, #0A3252 149.11%),
          url("../total_calculator/thumbnail.png") center/cover;
      border: 1.08485px solid #DEDEDE;
      /* border-radius: 5.42424px; */
      display: flex;
      align-items: center;
      justify-content: center;
  }

  .video-card1 {
      position: relative;
      width: 100%;
      margin-top: 10px;
      height: 295px;
      background: linear-gradient(180deg, rgba(10, 50, 82, 0) 0.72%, #0A3252 149.11%),
          url("../total_calculator/thumbnail2.png") center/cover;
      border: 1.08485px solid #DEDEDE;
      /* border-radius: 5.42424px; */
      display: flex;
      align-items: center;
      justify-content: center;
  }

  .play-button {
      width: 79px;
      height: 80px;
      background: #EF3E24;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
  }

  .play-button::after {
      content: '';
      width: 0;
      height: 0;
      border-left: 20px solid #FFFFFF;
      border-top: 12px solid transparent;
      border-bottom: 12px solid transparent;
      margin-left: 5px;
  }

  .biases-section {
      padding: 5px 0;
  }

  .biases-title {
      font-size: 30px;
      font-weight: 800;
      line-height: 133%;
      text-align: left;
      margin-bottom: 30px;
      padding-left: 5px;
  }

  .orange-text {
      color: #EF3E24;
  }

  .blue-text {
      color: #001F3E;
  }


  .carousel-container {
      position: relative;
      overflow: hidden;
      padding: 0 5px;
  }

  #carouselTrack {
      display: flex;
      will-change: transform;
  }


  .carousel-wrapper {
      overflow: hidden;
      padding-bottom: 1%;
  }

  .carousel-track {
      display: flex;
      gap: 24px;
      transition: transform 0.5s ease;
      padding-bottom: 1%;
  }

  .bias-card {
      width: 300px;
      height: 232px;
      padding: 35px 40px;
      display: flex;
      flex-direction: column;
      gap: 15px;
      flex-shrink: 0;
  }

  .bias-card.pink {
      background: #FFF4F3;
  }

  .bias-card.blue {
      background: #F2F9FF;
  }

  .bias-icon {
      width: 48px;
      height: 48px;
      stroke-width: 3px;
  }

  .bias-icon.red {
      color: #EF3E24;
  }

  .bias-icon.navy {
      color: #0A3252;
  }

  .bias-card h5 {
      font-size: 16px;
      font-weight: 800;
      line-height: 24px;
      letter-spacing: 0.1px;
      color: #252B42;
      margin-top: 15px;
  }

  .bias-card p {
      font-size: 14px;
      font-weight: 500;
      line-height: 20px;
      color: #737373;
  }

  .carousel-arrow {
      position: absolute;
      top: 50%;
      transform: translateY(-50%);
      width: 32px;
      height: 32px;
      background: #FFFFFF;
      border: 0.615385px solid #0A3252;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      z-index: 10;
  }

  .carousel-arrow:hover {
      background: #F5F5F5;
  }

  .carousel-arrow.left {
      left: 0;
  }

  .carousel-arrow.right {
      right: 0;
  }

  .mutual-funds-section {
      background: #FFFFFF;
  }

  .mutual-funds-header {
      margin-bottom: 42px;
      margin-top: 50px;
  }

  .mutual-funds-header h2 {
      font-size: 30px;
      font-weight: 800;
      line-height: 133%;
      color: #001F3E;
      margin-bottom: 24px;
      white-space: nowrap;
  }

  .mutual-funds-header p {
      font-size: 16px;
      font-weight: 500;
      line-height: 28px;
      color: #334C65;
      margin-bottom: 19px;
      max-width: 100%;
  }

  .mutual-funds-header .goal-text {
      font-size: 24px;
      font-weight: 700;
      line-height: 32px;
      color: #0A3252;
  }

  .tabs-container {
      display: flex;
      justify-content: center;
      margin-bottom: 0;
      white-space: nowrap;
      max-width: 1240px;
      margin: 0 auto;
      padding: 0 50px;

  }

  .tab {
      padding: 13px 60px;
      font-size: 16px;
      font-weight: 600;
      text-align: center;
      background: #F6FBFF;
      border: 1px solid #A5DCFF;
      border-bottom: none;
      border-top: none;
      cursor: pointer;
      color: #000000;
      flex: 1;
      max-width: 413px;
  }

  .tab.active {
      background: #E8F6FF;
      border-bottom: 2px solid #0A3252;
      font-weight: 800;
      color: #0A3252;
  }

  .tab-content {
      display: none;
      background: #ffffff;
      box-shadow: 0px 1px 2px rgba(16, 24, 40, 0.05);
  }

  .tab-content.active {
      display: block;
  }

  .calculator-layout {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 5%;
      align-items: flex-start;
      max-width: 1240px;
      margin: 0 auto;
      padding: 20px 50px;
  }

  @media (max-width: 768px) {
      .calculator-layout {
          gap: 0%;
          padding: 0px 0px;
      }
  }


  .calculator-form {
      background: #FFFFFF;
  }

  .calculator-form1 {
      background: #FFFFFF;

  }

  .calculator-form2 {
      background: #FFFFFF;
  }

  .calculator-result {
      padding: 30px;
      background: #E8F6FF;
      padding-top: 15px;
      position: relative;
      flex: 1;
      background: #E8F6FF;
      padding: 24px;
      box-shadow: 0px 8px 10px -6px rgba(16, 24, 40, 0.1);
  }

  .calculator-result2 {
      flex: 1;
      background: #E8F6FF;
      padding: 30px;

      box-shadow: 0px 8px 10px -6px rgba(16, 24, 40, 0.1);
  }

  .calculator-result1 {
      padding: 30px;
      background: #E8F6FF;
      /* padding-top: 15px; */
      margin-top: 60px;
      /* margin-bottom: 10px; */
      /* height: -webkit-fill-available; */
      /* height */
      position: relative;
  }

  .stepper {
      margin-bottom: 20px;
  }

  .step-item {
      display: flex;
      gap: 18.53px;
      margin-bottom: 24px;
      position: relative;
  }

  .step-item1 {
      display: flex;
      gap: 18.53px;
      margin-bottom: 24px;
      position: relative;
  }

  .step-item::after {
      content: "";
      position: absolute;
      left: 18.5px;
      top: 32px;
      width: 2px;
      height: 420px;
      background-color: #E18227;
  }

  .stepper:last-child .step-item::after {
      display: none;
  }


  .step-number {
      width: 37.07px;
      height: 35.91px;
      background: #E18227;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      color: #FFFFFF;
      font-size: 18.5px;
      flex-shrink: 0;
  }


  .step-label {
      font-size: 20px;
      font-weight: 800;
      line-height: 24px;
      color: #E18227;
      padding-top: 6px;
  }

  @media (max-width: 768px) {

      .step-item::after {
          height: 80px;
          display: block;
      }

      .step-item:last-child::after {
          display: none;
      }
  }


  .input-group {
      margin-bottom: 32px;
  }

  .input-group1 {
      margin-bottom: 20px;
      margin-left: 50px;
  }

  @media (max-width: 768px) {

      .input-group1 {
          margin-left: 0;
          margin-bottom: 32px;
      }

  }


  .input-label-row {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 6px;
  }

  .input-label {
      font-size: 16px;
      font-weight: 600;
      line-height: 24px;
      color: #231F20;
  }

  .input-value {
      background: #FFF0E0;
      padding: 6px 24px;
      font-size: 16px;
      font-weight: 900;
      line-height: 22px;
      color: #0A3252;
      cursor: pointer;
      user-select: none;
  }

  .input-value.editing {
      background: #FFFFFF;
      border: 2px solid #60AF7D;
      padding: 4px 22px;
      outline: none;
      cursor: text;
  }

  .slider-input {
      width: 100%;
      height: 6px;
      -webkit-appearance: none;
      appearance: none;
      background: #DDDDDD;
      border-radius: 20px;
      outline: none;
      margin: 0;
  }

  .slider-input::-webkit-slider-thumb {
      -webkit-appearance: none;
      appearance: none;
      width: 18px;
      height: 18px;
      background: #FFFFFF;
      border: 5px solid #60AF7D;
      border-radius: 50%;
      cursor: pointer;
  }

  .slider-input::-moz-range-thumb {
      width: 18px;
      height: 18px;
      background: #FFFFFF;
      border: 5px solid #60AF7D;
      border-radius: 50%;
      cursor: pointer;
      border: none;
      box-shadow: 0 0 0 5px #60AF7D;
  }

  .slider-labels {
      display: flex;
      justify-content: space-between;
      padding: 8px 6px 0;
      font-size: 16px;
      color: #ABABAB;
  }

  .slider-note {
      font-size: 12px;
      font-weight: 300;
      line-height: 14px;
      color: #525252;
      margin-top: 8px;
  }

  .toggle-switch {
      display: flex;
      align-items: center;
      gap: 8px;
      padding: 10px 0;
  }

  .toggle-label-left {
      font-size: 16px;
      font-weight: 700;
      line-height: 24px;
      color: #60AF7D;
      transition: all 0.3s ease;
  }

  .toggle-label-right {
      font-size: 16px;
      font-weight: 400;
      line-height: 24px;
      color: #ABABAB;
      transition: all 0.3s ease;
  }

  .switch {
      width: 46px;
      height: 24px;
      background: #60AF7D;
      border-radius: 16px;
      position: relative;
      cursor: pointer;
      padding: 2px;
  }

  .switch-circle {
      width: 20px;
      height: 20px;
      background: #FFFFFF;
      border-radius: 50%;
      box-shadow: 2px 0px 8px rgba(35, 31, 32, 0.25);
      position: absolute;
      top: 2px;
      left: 2px;
      transition: transform 0.3s;
  }

  .calculate-button {
      width: 100%;
      background: #0A3252;
      color: #FFFFFF;
      padding: 12px 16px;
      border: none;
      border-radius: 8px;
      font-size: 24px;
      font-weight: 800;
      text-transform: capitalize;
      cursor: pointer;
      margin-top: 32px;
  }

  .result-title {
      font-size: 18px;
      font-weight: 700;
      line-height: 24px;
      color: #EF3E24;
      text-align: center;
      margin-bottom: 24px;
      /* margin-top:30px; */
  }

  /* Remove top margin on mobile */
  @media (max-width: 640px) {
      .result-title {
          margin-top: 0;
      }
  }

  .result-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 24px 24px;
      margin-bottom: 50px;
  }

  .result-box {
      background: #FFFFFF;
      padding: 16px;
      text-align: center;
      /* height: 90px; */

  }

  .result-label {
      font-size: 16px;
      font-weight: 400;
      line-height: 19px;
      color: #0A3252;
      margin-bottom: 10px;
  }

  .result-amount {
      font-size: 16px;
      font-weight: 800;
      line-height: 22px;
      color: #0A3252;
  }

  .disclaimer-section {
      background: #F4F4F4;
      padding: 20px 30px;


      max-width: 1240px;
      margin: 20px 50px;
  }

  @media screen and (max-width: 640px) {
      .disclaimer-section {
          margin: 20px 20px;
      }

  }

  .disclaimer-text {
      font-size: 12px;
      font-weight: 400;
      line-height: 18px;
      color: #1A1A1A;
  }

  .calculator-description {
      display: flex;
      gap: 30px;
      align-items: flex-start;
      max-width: 1240px;
      margin: 0 auto;
      padding: 40px 70px;
      background: #FFFFFF;
      border-radius: 0;
      margin-bottom: 0;
      border-bottom: 1px solid #E6E6E6;
  }

  .calculator-description .desc-icon {
      flex-shrink: 0;
  }

  @media (max-width: 640px) {
      .calculator-description .desc-icon {
          display: none;
      }
  }


  .calculator-description p {
      font-size: 16px;
      line-height: 24px;
      color: #000000;
      margin-bottom: 0;
  }

  .calculator-description p:first-child {
      margin-bottom: 4px;
  }

  .calculator-description strong {
      color: #000000;
      font-weight: 700;
  }

  .investment-type {
      margin-bottom: 32px;
      gap: 20px;
      display: flex;
      align-items: center;
  }

  .investment-type>label {
      display: block;
      font-size: 16px;
      font-weight: 600;
      color: #000000;
      margin: 0;
      white-space: nowrap;
  }

  .radio-group {
      display: flex;
      gap: 20px;
      align-items: center;
  }

  .radio-option {
      display: flex;
      align-items: center;
      gap: 8px;
      cursor: pointer;
  }

  .radio-option input[type="radio"] {
      appearance: none;
      width: 18px;
      height: 18px;
      border: 2px solid #60AF7D;
      border-radius: 50%;
      background-color: #fff;
      cursor: pointer;
      position: relative;
      margin: 0;
  }

  .radio-option input[type="radio"]:checked::before {
      content: '';
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      width: 10px;
      height: 10px;
      background-color: #60AF7D;
      border-radius: 50%;
  }

  .radio-option span {
      font-size: 16px;
      font-weight: 400;
      color: #000000;
  }

  .investment-inputs {
      display: block;
  }

  @media (max-width: 768px) {
      .investment-type {
          flex-direction: column;
          align-items: flex-start;
          gap: 12px;
      }

      .radio-group {
          width: 100%;
          justify-content: flex-start;
      }
  }


  .result-summary-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 16px;
      margin-bottom: 24px;
  }

  .result-summary-grid .summary-box:last-child {
      grid-column: 1 / -1;
  }

  .summary-box {
      background: #FFFFFF;
      padding: 16px;
      text-align: center;
      border-radius: 4px;
  }

  .summary-label {
      font-size: 16px;
      font-weight: 400;
      line-height: 20px;
      color: #0A3252;
      margin-bottom: 8px;
  }

  .summary-value {
      font-size: 20px;
      font-weight: 700;
      line-height: 24px;
      color: #0A3252;
  }

  .calculator-result.error-state .result-summary-grid,
  .calculator-result.error-state .chart-container,
  .calculator-result1.error-state .result-grid,
  .calculator-result1.error-state .chart-container {
      filter: blur(1px);
      opacity: 0.4;
      pointer-events: none;
  }

  .error-overlay {
      position: absolute;
      inset: 0;
      display: none;
      align-items: center;
      justify-content: center;
      text-align: center;
      padding: 24px 18px;
      background: rgba(232, 246, 255, 0.1);
      backdrop-filter: blur(4px);
      z-index: 10;
  }

  .calculator-result.error-state .error-overlay,
  .calculator-result1.error-state .error-overlay {
      display: flex;
  }

  .error-title {
      font-size: 18px;
      font-weight: 700;
      color: #e53935;
      margin-bottom: 20px;
  }

  .error-icon {
      width: 72px;
      height: 72px;
      border-radius: 50%;
      border: 4px solid #e53935;
      display: flex;
      align-items: center;
      justify-content: center;
      color: #e53935;
      font-size: 40px;
      font-weight: 700;
      margin: 0 auto 20px;
  }

  .error-text-main,
  .error-text-strong {
      font-size: 16px;
      color: #222222;
      line-height: 1.5;
      margin: 0 0 12px;
  }

  .error-text-strong {
      font-weight: 700;
  }

  .chart-container {
      margin-top: 24px;
      position: relative;
      /* min-height: 300px; */
  }

  .chart-container canvas {
      width: 100% !important;
      height: auto !important;
      /* max-height: 290px; */
  }


  /* Mobile specific height */
  @media (max-width: 640px) {
      .chart-container canvas {
          height: 300px !important;
      }
  }

  .contact-section {
      background: #C2E8FD;
      padding: 42px 10px;
      width: 100vw;
      margin-left: calc(50% - 50vw);
      margin-right: calc(50% - 50vw);
  }

  .contact-form {
      display: flex;
      gap: 24px;
      align-items: flex-end;
      margin-bottom: 14px;
  }

  .error-message {
      display: block;
      color: #f44336;
      font-size: 12px;
      margin-top: 5px;
      min-height: 18px;
      opacity: 0;
      transition: opacity 0.3s ease;
  }

  .error-message.show {
      opacity: 1;
  }

  .form-input.error {
      border-color: #f44336;
  }

  .form-input.success {
      border-color: #4CAF50;
  }

  .form-group {
      flex: 1;
  }

  .form-label {
      font-size: 16px;
      font-weight: 600;
      line-height: 24px;
      color: #231F20;
      margin-bottom: 4px;
      display: block;
  }

  .form-input {
      width: 100%;
      padding: 8px 12px;
      background: #FFFFFF;
      border: 1px solid #E6E6E6;
      border-radius: 3px;
      font-size: 16px;
      font-family: 'Lato', sans-serif;
  }

  .form-input::placeholder {
      color: #CDCDCD;
  }

  .submit-button {
      background: #0A3252;
      color: #FFFFFF;
      padding: 12px 16px;
      border: none;
      border-radius: 8px;
      margin-bottom: 20px;
      font-size: 16px;
      font-weight: 600;
      cursor: pointer;
      width: 292px;
  }

  .form-note {
      font-size: 14px;
      font-weight: 500;
      line-height: 25px;
      color: #8D8D8D;
  }

  .faq-section {
      padding: 60px 0;
  }

  .faq-title {
      font-size: 30px;
      font-weight: 700;
      line-height: 133%;
      color: #001F3E;
      margin-bottom: 24px;
  }

  .faq-item {
      margin-bottom: 12px;
  }

  .faq-header {
      background: #E4F2FF;
      padding: 18px 24px;
      display: flex;
      justify-content: space-between;
      align-items: center;
      cursor: pointer;
  }

  .faq-question {
      font-size: 16px;
      font-weight: 700;
      line-height: 120%;
      color: #000000;
  }

  .faq-icon {
      width: 24px;
      height: 24px;
      transition: transform 0.3s;
  }

  .faq-item.active .faq-icon {
      transform: rotate(180deg);
  }

  .faq-content {
      background: #F5FAFF;
      padding: 18px 24px;
      display: none;
  }

  .faq-item.active .faq-content {
      display: block;
  }

  .faq-answer {
      font-size: 16px;
      font-weight: 400;
      line-height: 140%;
      color: rgba(60, 60, 67, 0.85);
  }

  .footer {
      background: #F2F2F2;
      padding: 42px 10px;
      width: 100vw;
      margin-left: calc(50% - 50vw);
      margin-right: calc(50% - 50vw);
  }

  .footer-title {
      font-size: 16px;
      font-weight: 700;
      line-height: 133%;
      color: #001F3E;
      margin-bottom: 14px;
  }

  .footer-text {
      font-size: 12px;
      font-weight: 500;
      line-height: 18px;
      color: #000000;
      margin-bottom: 12px;
  }

  .icon-img {
      width: 45px;
      height: 45px;
      object-fit: contain;
      display: inline-block;
  }


  .two-column {
      display: flex;
      gap: 24px;
      align-items: center;
  }

  .column-left {
      flex: 1;
      /* max-width: 503px; */
  }

  .column-right {
      flex: 1;
      max-width: 713px;
  }



  .hamburger {
      display: none;
      font-size: 28px;
      cursor: pointer;
      color: #FFFFFF;
  }

  #biases,
  #types,
  #faqs,
  #contact,
  #calculator {
      scroll-margin-top: 100px;
  }

  @media (max-width: 1200px) {
      .header {
          padding: 20px 40px;
      }

      /* .hero-section {
                padding: 80px 40px;
            } */

      .container {
          padding: 0 40px;
          width: 100%;
      }

      .contact-section,
      .footer {
          padding: 42px 40px;
      }
  }

  @media (max-width: 968px) {
      .hamburger {
          display: block;
      }

      .nav-menu {
          position: absolute;
          top: 100%;
          left: 0;
          width: 100%;
          background: #0A3252;
          flex-direction: column;
          gap: 20px;
          padding: 24px 0;
          display: none;
          z-index: 999;
      }

      .nav-menu.active {
          display: flex;
          animation: slideDown 0.3s ease;
      }

      .nav-menu a {
          font-size: 18px;
      }

      .two-column {
          flex-direction: column;
          gap: 16px;
      }

      .column-left,
      .column-right {
          max-width: 100%;
          width: 100%;
      }

      .mutual-funds-header h2 {
          white-space: normal;
      }

      .calculator-layout {
          grid-template-columns: 1fr;
          padding: 20px;
          /* Add this */
      }

      .calculator-form,
      .calculator-form1,
      .calculator-form2,
      .calculator-result,
      .calculator-result2,
      .calculator-result1 {
          margin-left: 0;
          /* Changed from 20px */
          margin-right: 0;
          /* Changed from 20px */
          margin-top: 1px;
          padding: 24px 16px;
          width: 100%;
          /* Add this */
          box-sizing: border-box;
          /* Add this */
      }

      .calculator-result1 {
          margin-top: 20px;
          /* Add spacing for third calculator */
      }

      .tabs-container {
          max-width: 500vw;
          margin: 0;
          padding: 0;
          overflow-x: auto;
          overflow-y: hidden;
          justify-content: flex-start;
          -webkit-overflow-scrolling: touch;
          scrollbar-width: none;
          -ms-overflow-style: none;
          white-space: normal;
          margin-bottom: 20px;
      }

      .tabs-container .tab {
          text-align: center;
          font-size: 16px;
          padding: 16px 12px;
          white-space: normal;
          word-wrap: break-word;
          line-height: 1.3;
      }

      .contact-form {
          flex-direction: column;
      }

      .form-group,
      .submit-button {
          width: 100%;
      }

      .carousel-container {
          padding: 0 10px;
      }

      .chart-container {
          height: auto;
          min-height: 250px;
          margin-top: 16px;
      }

      .chart-container canvas {
          max-height: 250px;
      }
  }


  @media (max-width: 640px) {
      .header {
          padding: 15px 20px;
      }

      .hero-section {
          padding: 0px 0px;
          height: 250px;
      }

      /* .hero-box {
                width: 100%;
                max-width: 280px;
            }

            .hero-box h1 {
                font-size: 32px;
                line-height: 40px;
            } */
      .hero-slide {
          height: 240px;
          padding: 24px 16px;
          align-items: flex;
          width: 100%;
      }

      .hero-box {
          width: 100%;
          padding: 16px;
          max-width: 280px;

      }

      .hero-box h1 {
          font-size: 32px;
          line-height: 40px;
          text-align: left;
      }

      .hero-dots {
          margin-top: 12px;
      }

      .dot {
          width: 7px;
          height: 7px;
          margin: 0 5px;
      }


      .container {
          padding: 0 20px;
      }

      .section-title {
          font-size: 32px;
      }

      .section-title1 {
          font-size: 32px;
      }

      .biases-title {
          font-size: 32px;
      }

      .section-text {
          font-size: 16px;
          line-height: 28px;
      }

      .video-card {
          height: 300px;
      }

      /* .content-section {
                padding: 60px 0;
            } */
      .content-section1 {
          padding-top: 30px;
          padding-bottom: 1px;
      }

      .carousel-arrow {
          width: 28px;
          height: 28px;
      }

      .contact-section,
      .footer {
          padding: 30px 20px;
      }

      .faq-title {
          font-size: 28px;
      }

      .result-grid {
          grid-template-columns: 1fr;
      }

      .calculator-form,
      .calculator-form1,
      .calculator-form2,
      .calculator-result {
          padding: 24px 16px;
      }

      .calculator-description {
          padding: 16px;
      }

      .calculator-description .desc-icon {
          width: 60px;
          height: 55px;
      }

      .calculator-description p {
          font-size: 14px;
          line-height: 20px;
      }

      .radio-group {
          gap: 16px;
      }

      .input-label {
          font-size: 14px;
      }

      .input-value {
          font-size: 16px;
          padding: 4px 12px;
      }

      .slider-labels {
          font-size: 12px;
          display: flex;
          align-items: center;
          gap: 8px;
          white-space: normal;
      }

      .slider-labels span {
          white-space: normal;
      }

      .toggle-switch {
          display: flex;
          align-items: center;
          flex-shrink: 0;
      }

      .chart-container {
          min-height: 200px;
      }

      .chart-container canvas {
          max-height: 200px;
      }
  }

  @keyframes slideDown {
      from {
          transform: translateY(-20px);
          opacity: 0;
      }

      to {
          transform: translateY(0);
          opacity: 1;
      }
  }

  .hide {
      display: none;
  }

  @media (min-width: 992px) {
      .d-lg-none {
          display: none !important
      }

      .d-lg-block {
          display: block !important
      }

      .d-none {
          display: none !important;
      }
  }

  @media (min-width: 768px) {
      .d-block {
          display: block !important
      }

      .d-none {
          display: none !important
      }

      .d-md-none {
          display: none !important
      }

      .d-md-block {
          display: block !important
      }

  }

  @media (max-width: 767px) {
      .banner img {
          height: auto;
          object-fit: cover;
          width: 100%;
      }

      .d-none {
          display: none !important;
      }

      .mobile-right {
          float: right;
      }

      .mobile-left {
          float: left;
      }
  }
 @media (max-width: 992px) {
    .mobile-none {
          display: none;
      }

      .desktop-none {
        display: block !important;
      } 
  } 
  .desktop-none {
      display: none;
  }
  .img-responsive {
      width: 100%;
  }

  .slick-dots li button:before {
      font-size: 30px;
  }