body {
    font-family: 'Kanit', sans-serif;
  }

  /* Animated nav with theme color */
  .nav-link, .nav-link-desktop {
    position: relative;
    text-decoration: none;
  }
  
  .nav-link::after, .nav-link-desktop::after {
    content: '';
    display: block;
    width: 0;
    height: 2px;
    background: #05a450;
    transition: width .3s;
    position: absolute;
    left: 0;
    bottom: 0;
  }
  
  .nav-link:hover::after, .nav-link-desktop:hover::after,
  .nav-link:focus::after, .nav-link-desktop:focus::after {
    width: 100%;
  }

  .nav-link-desktop a{
    text-decoration: none;
  }
  
  
/* Hero banner  */  
.hero-section {
    background: linear-gradient(to bottom, #fff 0%, rgba(255,255,255,0.0) 30%), url('../image/img-heroBanner-background.jpg') center/cover no-repeat;
    position: relative;
  }
  
  .hero-row-min-height {
    min-height: 420px;
  }
  
  .hero-title {
    font-size: 3.8rem;
  }
  
  .hero-subtitle {
    font-size: 1.5rem;
  }
  
  .hero-loan-label {
    color: #b8d900;
    font-size: 1.2rem;
  }
  
  .hero-loan-amount {
    color: #b8d900;
    font-size: 6rem;
    line-height: 1;
  }
  
  .hero-loan-unit {
    color: #b8d900;
    font-size: 2.5rem;
    line-height: 1;
  }
  
  .hero-people-img {
    max-width: 950px;   /* Make the image bigger */
    width: 100%;
    height: auto;
    position: relative;
    z-index: 1;         /* Below the SVG curve */
    /* Optional: make the image "sink" more into the curve */
    margin-bottom: -50px;
  }
  
  .bottom-curve {
    bottom: 0;
    height: 180px;
    z-index: 2;
    pointer-events: none;
  }

  .top-curve {
    top: 0;
    height: 100px;
    z-index: 2;
    pointer-events: none;
  }

  .fw-semibold {
    color: #252f87;
    font-weight:100
  }
  
  h1 {
    color: #05a450;
  }

  p {
    color:#8e9396;
    font-weight:100
  }

  .yallow-border {
    border: 3px solid #b8d900;
  }
  
  #section2 {
    background-color: #05a450;
  }

  .green-title, .details-text{
    color: #05a450;
  }

  .blue-text{
    color:#252f87;
    font-weight: 800;
  }

  .red-text{
    color: red;
    font-weight: 800;
  }
  
  /*button CSS and icon*/

  .details-btn {
    width: fit-content;
    cursor: pointer;
    transition: transform 0.15s;
  }
  
  .details-btn:active {
    transform: scale(0.97);
  }
  
  .details-circle {
    display: inline-block;
    width: 60px;
    height: 60px;
    background: #b8eed6;
    opacity: 0.5;
    border-radius: 50%;
    transition: box-shadow 0.3s;
  }
  
  .details-btn:hover .details-circle {
    box-shadow: 0 0 0 5px #b8eed6aa;
  }
  
  .details-text {
    display: inline-block;
    position: relative;
    transition: color 0.2s;
    margin-left: -40px;
  }
  
  .details-btn:hover .details-text {
    color: #179a38;
  }
  
  .details-arrow {
    font-size: 1.2rem;
    margin-left: 2px;
    display: inline-block;
    transition: transform 0.2s;
  }
  
  .details-btn:hover .details-arrow {
    transform: translateX(5px);
  }

  li{
    color: #8e9396;
  }
  
  /* Hero banner  */  
  .limit-section {
    height: 750px;
    background: url('../image/img-background-farm.jpg') center/cover no-repeat;
    position: relative;
  }
  
  .btn-xl {
    padding: 16px 32px;
    font-size: 1.5rem;
    border-radius: 12px;
  }

  .green-header-table{
    background-color: #05a450;
    color: #fff;
    padding: 0.5em 1.5em;
  }
  
  .green-border{
    border: 1px #05a450 solid;
  }

  .round-border-left-right{
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
  }

  .round-bottom-right{
    border-bottom-right-radius: 8px;
  }

  .round-bottom-left{
    border-bottom-left-radius: 8px;
  }

  .btn-success{
    background-color: #05a450;
    max-width: 400px;
  }

  footer{
    background-image: linear-gradient(180deg, #029f50, #026f38);
  }

  .footer:hover,
  .footer:link,
  .footer:active {
  color: white;
  }

  #stickyWidget {
    position: fixed;
    bottom: 40px;
    right: 40px;
    z-index: 1000;
    width: 68px;
    height: 68px;
    border: none;
    border-radius: 50%;
    background: #1a8f3c;
    color: #fff;
    font-size: 1.5rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    cursor: pointer;
    transition: opacity 0.3s, transform 0.3s;
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }
  
  #stickyWidget.hide {
    opacity: 0;
    transform: translateY(20px);
    pointer-events: none;
  }

  html {
    scroll-behavior: smooth;
  }

  .btn-call-mobile{
    text-align: center;
  }

  /*Media query*/
  @media (min-width: 0px) {
    .hero-section {
      min-height: 752px;
    }
    .hero-title {
      font-size: 2.5em;
    }
    .hero-subtitle{
      font-size:1em;
      text-align: center;
    }
    .eightMillion{
      width: 70%;
    }
    .cta{
      padding: 14px 20px !important;
      width: 80%;
    }
    .limit-section {
      height: 1200px;
    }
    .top-curve, .bottom-curve{
      height: 80px;
    }
    .hero-people-img {bottom: -30px}
    .navbar-collapse {
      position: fixed;
      top: 0; 
      right: 0;
      width: 100vw;
      height: 100vh;
      background: #fff;
      z-index: 1050;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      text-align: center;
  
      /* Animation states */
      opacity: 0;
      transform: translateX(100%);
      pointer-events: none;
      transition: opacity 0.4s cubic-bezier(.4,0,.2,1), transform 0.4s cubic-bezier(.4,0,.2,1);
      display: flex !important;
    }
    .navbar-collapse.show {
      opacity: 1;
      transform: translateX(0);
      pointer-events: auto;
    }
    body.menu-open {
      overflow: hidden;
    }

    .icon-pitch{
      width: 3em;
      vertical-align: middle;
    }

    .section2-sub{
      font-size: 1em !important;
    }
  }
  
  @media (min-width: 768px) {

    .hero-title {
      font-size: 4.5em;
    }

    .hero-subtitle{
      font-size:2em;
      text-align: center;
    }
    .cta{
      padding: 14px 20px !important;
      margin-top: 80px
    }
    .section2-sub{
      font-size: 0.8em !important;
    }

    .round-bottom-right{
      border-bottom-right-radius: 0px;
    }

    .round-bottom-left{
      border-bottom-left-radius: 0px;
    }

    .section2-sub-bold{
      font-size: 2em !important;
    }

    .pitch-container{
      min-height:180px
    }
  }

  @media (min-width: 992px) {
    .hero-section {
      min-height: 560px;
    }
    .hero-title {
      font-size: 5em;
    }
    .hero-subtitle{
      font-size: 2em;
    }
    .eightMillion{
      width: 50%;
    }
    .cta{
      padding: 14px 20px !important;
      margin-top: 20px;
    }
    .pitch-container{
      min-height:180px
    }
    .section2-sub{
      font-size: 0.9em !important;
    }
    .section2-sub-bold{
      font-size: 2em !important;
    }
  }


  @media (min-width: 1200px) {
    .hero-section {
      min-height: 560px;
    }
    .hero-title {
      font-size: 3em;
    }
    .hero-subtitle{
      font-size: 1.3em;
    }
    .eightMillion{
      width: 260px;
    }
    .cta{
      padding: 14px 20px !important;
      margin-top: 20px
    }
    .limit-section{
      max-height: 720px;
    }
    .section2-sub{
      font-size: 1.2em !important;
    }
    .section2-sub-bold{
      font-size: 2.5em !important;
    }
  }

  @media (min-width: 1400px) {
    .hero-section {
      min-height: 600px;
    }
    .hero-title {
      font-size: 3.8em;
    }
    .hero-subtitle{
      font-size: 1.7em;
    }
    .cta{
      padding: 14px 20px !important;
      margin-top: 40px
    }
  }
  