.testimonial-section {
    font-family: Inter, SF Pro Display, -apple-system, sans-serif;
    background: var(--background);
    color: var(--foreground);
    text-align: center;
  }
  
  .testimonial-section h1, .testimonial-section h2, .testimonial-section h3 {
    font-weight: normal;
  }
  
  .testimonial-section #title-block-header {
    display: none;
  }
  
  .testimonial-section .navbar {
    background: var(--background);
    text-align: left;
    font-size: 16px;
  }
  
  .testimonial-section .title, .testimonial-section .navbar-title {
    font-weight: bold;
    padding: 4px 8px;
    border-radius: 8px;
    margin-right: 4px;
  }
  
  .testimonial-section .navbar-title {
    background: linear-gradient(240.01deg, #4B555B 15.29%, rgba(67, 78, 84, 0) 138.75%);
  }
  
  .testimonial-section .title {
    background: linear-gradient(240.01deg, #78858C 15.29%, rgba(105, 117, 123, 0) 138.75%);
  }
  
  .testimonial-section .content-block {
    margin-left: 30px;
    margin-right: 30px;
    overflow-x: hidden;
  }
  
  @media(min-width: 900px) {
    .testimonial-section .content-block {
      margin-left: 50px;
      margin-right: 50px;
    }
  }
  
  @media(min-width: 1200px) {
    .testimonial-section .content-block {
      max-width: var(--content-width);
      margin-left: auto;
      margin-right: auto;
    }
  }
  
  .testimonial-section .hero-banner {
    padding-top: 20px;
    padding-bottom: 10px;
    margin-bottom: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  .testimonial-section .hero-banner h1 {
    font-size: 56px;
    font-weight: bold;
    margin-top: 10px;
    margin-bottom: 40px;
  }
  
  .testimonial-section .hero-banner h2 {
    border: none;
    font-size: 40px;
    font-weight: bold;
    margin-top: 10px;
    margin-bottom: 40px;
  }
  
  .testimonial-section .hero-banner h3 {
    color: var(--foreground);
    font-size: 20px;
    max-width: 90%;
    margin-left: auto;
    margin-right: auto;
    margin-top: 0;
    margin-bottom: 40px;
  }
  
  @media(min-width: 900px) {
    .testimonial-section .hero-banner h3 {
      max-width: 60%;
    }
  }
  
  @media(min-width: 1200px) {
    .testimonial-section .hero-banner h3 {
      max-width: 75%;
    }
  }
  
  .testimonial-section .mid-content {
    width: 100%;
    padding: 0;
    padding-top: 80px !important;
    padding-bottom: 80px;
    background: linear-gradient(235.87deg, #656A75 12.29%, #33373F 107.53%);
    overflow-x: hidden;
  }
  
  .testimonial-section .testimonial {
    background: rgba(51, 55, 63, 0.4);
    border-radius: 12px;
    padding: 30px;
    padding-bottom: 70px;
    text-align: left;
    position: relative;
  }
  
  .testimonial-section .testimonial p {
    margin: 0;
    padding: 0;
  }
  
  .testimonial-section .testimonial img {
    width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
    border-radius: 8px;
    float: none;
  }

  .card-number {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    color: gray;
    font-size: 1.2em;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .testimonial-section .testimonial h1 {
    font-size: 16px;
    font-weight: bold;
    padding: 0;
    margin: 0;
    margin-bottom: 4px;
  }
  
  /* Ensure good contrast for testimonial names in light mode */
  .quarto-light .testimonial-section .testimonial h1 {
    color: #1A202C !important; /* Dark color for light mode */
  }
  
  .testimonial-section .testimonial h2 {
    border: none;
    font-size: 16px;
    padding: 0;
    margin: 0;
    color: #A2A8B4;
  }
  
  /* Fix testimonial name/title visibility in light mode */
  .quarto-light .testimonial-section .testimonial h2 {
    color: #2D3748 !important; /* Dark color for better contrast in light mode */
  }
  
  /* Ensure dark mode keeps the original color */
  .quarto-dark .testimonial-section .testimonial h2 {
    color: #A2A8B4; /* Original color for dark mode */
  }
  
  .testimonial-section .testimonial h3 {
    margin: 0;
    margin-top: 30px;
    font-size: 16px;
  }

  .download-icon {
    position: absolute;
    bottom: 15px;
    right: 15px;
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border-radius: 8px;
    width: 48px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: background 0.2s;
    border: none;
    opacity: 0.7;
  }

  .download-icon:hover {
    background: rgba(0, 0, 0, 0.8);
    color: white;
    opacity: 1;
  }

  .download-icon svg {
    width: 24px;
    height: 24px;
    stroke: currentColor;
    fill: none;
  }
  
  .testimonial-section .feature {
    font-size: 16px;
    height: 210px;
    background: var(--background-2);
    border-radius: 12px;
    padding: 30px;
    text-align: left;
    display: flex;
    flex-direction: column;
  }
  
  .testimonial-section .feature img {
    margin-bottom: 20px;
    width: 48px;
  }
  
  .testimonial-section .footer {
    color: #A2A8B4;
    font-size: 16px;
    margin-top: 40px;
    padding-top: 30px !important;
    border-top: 1px solid var(--foreground-2);
  }
  
  .testimonial-section .btn-action-primary {
    color: #F9FAFB;
    background: #009AF1;
    font-weight: 700;
    line-height: 20px;
  }
  
  .testimonial-section .btn-action-primary:hover, .testimonial-section .btn-action-primary:active, .testimonial-section .btn-action-primary:focus {
    background: #35acf0;
  }
  
  .testimonial-section .btn-action {
    min-width: 165px;
    border-radius: 8px;
    padding: 20px 48px;
    border: none;
  }
  
  .testimonial-section .figure {
    display: inline;
  }
  
  .testimonial-section .quarto-figure {
    margin: 0;
  }
  
  .testimonial-section .btn-action-primary {
    background-color: #2AA198;
    border-color: #2AA198;
}

.testimonial-section .btn-action-primary:hover,
.btn-action-primary:focus,
.btn-action-primary:active {
    background-color: #2AA198;
    border-color: #2AA198;
}
