 .sforms-container {
     display: flex;
     flex-wrap: wrap;
     gap: 1.5rem;
 }

 .sforms-card {
     background: #f8f9fa;
     box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
     border-radius: 0.5rem;
     padding: 1.5rem;
     flex-grow: 1;
     flex-basis: 100%;
     /* default full width */
     display: flex;
     flex-direction: column;
 }

 /* For wider screens, 2 cards per row */
 @media (min-width: 640px) {
     .sforms-card {
         flex-basis: calc(50% - 0.75rem);
         /* 2 cards per row with gap */
     }
 }

 /* For even wider, 3+ cards per row - optional */
 @media (min-width: 1024px) {
     .sforms-card {
         flex-basis: calc(33.333% - 1rem);
     }
 }

 .sforms-card h3 {
     margin-bottom: 0.5rem;
     font-weight: 600;
     font-size: 1.1rem;
 }

 .sforms-card p {
     margin: 0;
     color: #343a40;
     flex-grow: 1;
 }

 .sforms-card small {
     margin-top: 1rem;
     color: #6c757d;
 }
 

 details {
     background: #f8f9fa;
     border-radius: 0.5rem;
     box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
     margin-bottom: 1rem;
     padding: 0.5rem 1rem 1rem 1rem;
     cursor: pointer;
 }

 summary {
     font-weight: 600;
     font-size: 1.1rem;
     list-style: none;
     outline: none;
     cursor: pointer;
     padding: 0.75rem 1rem;
     user-select: none;
     display: flex;
     align-items: center;
     justify-content: space-between;
     border-radius: 0.5rem;
     transition: background-color 0.3s ease;
 }

 summary:hover,
 summary:focus {
     background-color: #e9ecef;
 }

 summary::-webkit-details-marker {
     display: none;
 }

 summary::marker {
     content: '';
 }

 summary::after {
     content: "▸";
     font-size: 1.2rem;
     transition: transform 0.3s ease;
 }

 details[open] summary::after {
     transform: rotate(90deg);
 }

 details p {
     margin-top: 0.75rem;
     color: #444;
     line-height: 1.5;
     padding-left: 0.25rem;
 }

 .animated-bg {
    position: relative;
    background-color: #f8f9fa; /* Bootstrap bg-light */
    overflow: hidden;
    z-index: 0;
    min-height: 350px; /* increased height for bigger waves */
  }
  
  .animated-bg::before,
  .animated-bg::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 200%;
    height: 350px; /* taller waves */
    background-repeat: repeat-x;
    pointer-events: none;
    z-index: -1;
    background-size: 1440px 350px;
  }
  
  /* Layer 1: lighter, slower, bigger waves */
  .animated-bg::before {
    background-image: url('data:image/svg+xml;utf8,<svg width="1440" height="350" viewBox="0 0 1440 350" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill="%23007bff" fill-opacity="0.04" d="M0 180C120 270 360 60 480 180C600 300 840 60 960 180C1080 300 1320 60 1440 180V350H0V180Z"/></svg>');
    animation: waveAnimationSlow 20s linear infinite;
  }
  
  /* Layer 2: slightly darker, faster, smaller waves */
  .animated-bg::after {
    background-image: url('data:image/svg+xml;utf8,<svg width="1440" height="350" viewBox="0 0 1440 350" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill="%23007bff" fill-opacity="0.07" d="M0 150C90 285 270 75 360 150C450 225 630 90 720 150C810 210 990 105 1080 150C1170 195 1350 120 1440 150V350H0V150Z"/></svg>');
    animation: waveAnimationFast 10s linear infinite;
    bottom: 80px;
  }
  
  @keyframes waveAnimationSlow {
    0% {
      background-position: 0 0;
    }
    100% {
      background-position: -1440px 0;
    }
  }
  
  @keyframes waveAnimationFast {
    0% {
      background-position: 0 0;
    }
    100% {
      background-position: -1440px 0;
    }
  }
  



.glow {
    position: relative;
    overflow: hidden;
  }
  
  .glow::after {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.6) 50%, rgba(255, 255, 255, 0) 100%);
    animation: glowEffect 3s infinite linear;
  }
  
  @keyframes glowEffect {
    0% {
      left: -100%;
    }
    100% {
      left: 100%;
    }
  }

  .bg-below {
    background-color: #EEF4FA;
  }