body {
    font-family: 'Kanit', sans-serif;
  }

  .row {
    margin-right: 0;
    margin-left: 0;
  }

  /* 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('../images/jade-background.jpg') center/cover no-repeat;
    position: relative;
  }
  
  .hero-row-min-height {
    min-height: 420px;
  }
  
  .hero-title {
    font-size: 3.8rem;
    background: linear-gradient(94deg,rgba(255, 203, 0, 1) 0%, rgba(246, 246, 195, 1) 50%, rgba(255, 203, 0, 1) 100%);
    
    filter: drop-shadow(0 5px 7px rgb(0 0 0 ));

    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    -webkit-text-stroke: 0.5px black;
  }
  
  .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-img {
    max-width: 450px;   /* 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: -0px;
  }
  
  .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 {
    margin: 0;
  }
  
  .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);
  }

  .icon-item {
    background: #074B26;
    background: linear-gradient(90deg,rgba(7, 75, 38, 1) 0%, rgba(60, 128, 84, 1) 100%);
    border: 2px rgba(255, 203, 0, 1) solid;
    aspect-ratio: 1 / 1;
    width: 175px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 1rem;
  }

  .glow-white {
    text-shadow: 0 0 10px #fff,
                0 0 20px #fff,
                0 0 30px #fff,
                0 0 40px #fff;
  }

  .glow-green {
    text-shadow: 0 0 10px #05a450,
                0 0 20px #05a450,
                0 0 30px #05a450,
                0 0 40px #05a450;
  }
  
  /* 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: #074E28;
    max-width: 400px;
  }

  .btn-light-success {
    background-color: #ffffff;
    color: #05A450;
    max-width: 400px;
    transition: background-color 0.3s, color 0.3s;
  }

  .btn-light-success:hover,
  .btn-light-success:target
  {
    background-color: #05A450;
    color: #ffffff;
  }

  .btn-light-success:active,
  .btn-light-success:focus
  {

    background-color: #074E28 !important;
    color: #ffffff !important;
  }

  .text-green-dark {
    color: #074E28;
  }

  table {
    margin: 1rem 0;
    border: 1px solid #074E28;
    border-collapse: collapse;
    font-size: 0.9em;
  }

  th {
    background-color: #074E28 !important;
    color: #FFCB00 !important;
    padding: 0.5em 1em;
    border: #074E28 1px solid !important;
  }

  th p {
    background: -webkit-linear-gradient(#FFCB00 0%, #F7F7C6 50%, #FFCB00 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
  }

  tr:nth-child(even) > td {
    background-color: #F2F8EA !important;
  }

  tr:nth-child(odd) > td {
    background-color: #D9EBC5 !important;
  }

  td {
    padding: 0.5em 1em !important;
    color: #1A7244 !important;
    border:#ADD294 1px solid !important;
  }

  ol:first-of-type {
    padding-left: 0;
    counter-reset: section;
    list-style-type: none;
  }


  ol li {
    padding-left: 1em;
    margin-bottom: 10px;
  }

  ol li:before {
    counter-increment: section;
    content: counters(section, ".") ". ";
  }

  ol.parenteses-list {
    counter-reset: parenteses;
  }

  .parenteses-list li:before {
    counter-increment: parenteses;
    content: "(" counter(parenteses) ") ";
  }

  ol.half-parenteses-list {
    counter-reset: half-parenteses;
  }

  .half-parenteses-list li:before {
    counter-increment: half-parenteses;
    content: counter(half-parenteses) ") ";
  }

  .hero-description {
    font-weight: 700;
    color: #FFFFFF;
    text-shadow:
      0px 0px 2px #05A450,
      0px 0px 2px #05A450,
      0px 0px 2px #05A450,
      0px 0px 2px #05A450,
      0px 0px 2px #05A450,
      0px 0px 2px #05A450,
      0px 0px 2px #05A450,
      0px 0px 2px #05A450,
      0px 0px 2px #05A450,
      0px 0px 2px #05A450,
      0px 0px 2px #05A450,
      0px 0px 2px #05A450,
      0px 0px 2px #05A450,
      0px 0px 2px #05A450,
      0px 0px 2px #05A450,
      0px 0px 2px #05A450,
      0px 0px 2px #05A450,
      0px 0px 2px #05A450,
      0px 0px 2px #05A450,
      0px 0px 20px #05A450;
  }

  .hero-description-sub {
    text-shadow: 
    /* Border */
    -1px -1px 0 #05A450,  0 -1px 0 #05A450,  1px -1px 0 #05A450,
    -1px  0px 0 #05A450,               1px  0px 0 #05A450,
    -1px  1px 0 #05A450,  0  1px 0 #05A450,  1px  1px 0 #05A450,

    -2px -2px 0 #05A450,  0 -2px 0 #05A450,  2px -2px 0 #05A450,
    -2px  0px 0 #05A450,               2px  0px 0 #05A450,
    -2px  2px 0 #05A450,  0  2px 0 #05A450,  2px  2px 0 #05A450,

    -3px -3px 0 #05A450,  0 -3px 0 #05A450,  3px -3px 0 #05A450,
    -3px  0px 0 #05A450,               3px  0px 0 #05A450,
    -3px  3px 0 #05A450,  0  3px 0 #05A450,  3px  3px 0 #05A450,

    -4px -4px 0 #05A450,  0 -4px 0 #05A450,  4px -4px 0 #05A450,
    -4px  0px 0 #05A450,               4px  0px 0 #05A450,
    -4px  4px 0 #05A450,  0  4px 0 #05A450,  4px  4px 0 #05A450,

    -5px -5px 0 #05A450,  0 -5px 0 #05A450,  5px -5px 0 #05A450,
    -5px  0px 0 #05A450,               5px  0px 0 #05A450,
    -5px  5px 0 #05A450,  0  5px 0 #05A450,  5px  5px 0 #05A450,
    /* Glow */
    0px    0px    10px #05A450,
    0px    0px    20px #05A450,
    0px    0px    30px #05A450;
  }

  .product-info{
    background: linear-gradient(to bottom, #f7f8f2 0%, rgba(255,255,255,0.0) 30%), url('../images/product-info-background.png') top/cover no-repeat;
    text-align: justify;
  }

  .box-header {
    background: #074B28;
    color: white;
    font-weight: 700;
    font-size: 1.5em;
    padding: 0.5em 1em;
    border-radius: 0.5em;
    border: #FFCB00 2px solid;
    margin: 0.5em 0 0.5em 0;
  }

  .box-main {
    background: white;
    border-radius: 1em;
    border: #FFCB00 2px solid;
    padding: 2em 2em;
    overflow: auto;
  }

  .box-main table {
    margin: 0;
    overflow-x: auto;
  }
  .text-justify {
    text-align: justify;
  }

  #interest-rate {
    background: linear-gradient(to bottom, #ffffff 0%, #D0E7E6 88%);
  }

  #prize-amount {
    background: linear-gradient(to bottom, #D0E7E6 0%, rgba(255,255,255,0.0) 30%), url('../images/img-bg-mountain.png') top/cover no-repeat;
  }

  #more-info {
    background: linear-gradient(to bottom, #FFFFFF 0%, rgba(255,255,255,0.0) 30%), url('../images/img-bg-lantern.png') top/cover no-repeat;
  }

  footer{
    background-image: linear-gradient(180deg, #029f50, #026f38);
  }

  .footer:hover,
  .footer:link,
  .footer:active,
  .footer:visited {
  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: 2em;
    }
    .hero-subtitle{
      font-size: 1.25em;
      text-align: center;
    }
    .eightMillion{
      width: 70%;
    }
    .cta{
      padding: 14px 20px !important;
      width: 80%;
    }
    .limit-section {
      height: 1200px;
    }
    .top-curve, .bottom-curve{
      height: 80px;
    }
    .hero-img {
      bottom: -30px;
      display: none;
    }
    .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;
    }

    .hero-description-main{
      font-size: 0.8em !important;
    }

    .hero-description-sub{
      font-size: 2.5em !important;
    }

    .product-info-text {
      padding-top: 50px !important;
      padding-bottom: 50px !important;  
    }
  }
  
  @media (min-width: 768px) {

    .hero-title {
      font-size: 3.5em;
    }

    .hero-subtitle{
      font-size: 1.5em;
      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
    }


  .overlap-front {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(255, 255, 255, 0.8);
    padding: 1rem;
    border-radius: 0.5rem;
    width: 80%;
  }

  .overlap-main {
    position: relative;
  }
  }

  @media (min-width: 992px) {
    .hero-section {
      min-height: 560px;
    }
    .hero-title {
      font-size: 5em;
    }
    .hero-subtitle{
      font-size: 1em;
    }
    .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;
    }

    .hero-img {
      display: block;
    }
    
    .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;
    }
    .hero-description-main {
      font-size: 0.7em !important;
    }

    .hero-description-sub {
      font-size: 2.25em !important
    }
    .product-info-text {
      padding-top: 100px !important;
      padding-bottom: 100px !important;  
    }
  }

  @media (min-width: 1400px) {
    .hero-section {
      min-height: 600px;
    }
    .hero-title {
      font-size: 3.5em;
    }
    .hero-subtitle{
      font-size: 1.25em;
    }
   
    .cta{
      padding: 14px 20px !important;
      margin-top: 40px
    }
  }

  