.form-popup-bg {
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      display: flex;
      flex-direction: column;
      align-content: center;
      justify-content: center;
    }

    .form-popup-bg {
      position: fixed;
      left: 0;
      top: 0;
      height: 100%;
      width: 100%;
      background-color: rgba(94, 110, 141, 0.9);
      opacity: 0;
      visibility: hidden;
      -webkit-transition: opacity 0.3s 0s, visibility 0s 0.3s;
      -moz-transition: opacity 0.3s 0s, visibility 0s 0.3s;
      transition: opacity 0.3s 0s, visibility 0s 0.3s;
      overflow-y: auto;
      z-index: 10000;
    }

    .form-popup-bg.is-visible {
      opacity: 1;
      visibility: visible;
      -webkit-transition: opacity 0.3s 0s, visibility 0s 0s;
      -moz-transition: opacity 0.3s 0s, visibility 0s 0s;
      transition: opacity 0.3s 0s, visibility 0s 0s;
    }

    .form-container {
      background-color: #fdfdfd;
      border-radius: 10px;
      box-shadow: 0 10px 20px rgba(0, 0, 0, 0.19), 0 6px 6px rgba(0, 0, 0, 0.23);
      display: flex;
      flex-direction: column;
      width: 100%;
      max-width: 466px;
      margin-left: auto;
      margin-right: auto;
      position: relative;
      padding: 28px;
      color: #000000;
    }

    .close-button {
      color: #000000;
      width: 40px;
      height: 40px;
      position: absolute;
      top: 18px;
      right: 12px;
      border: solid 2px #000000;
      place-content: center;
      display: flex;
      align-items: center;
      z-index: 99;
      background-color: transparent;
    }

    .form-popup-bg:before {
      content: '';
      background-color: #000000;
      opacity: 0.25;
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
    }

    .popup_form {
      width: 100%;
      padding: .375rem .75rem;
      font-size: 1rem;
      font-weight: 400;
      line-height: 1.5;
      background: none;
      border: 1px solid #000000;
      outline: none;
      color: #000000 !important;
    }

    .form-popup-bg .form-control:focus {
      background: none !important;
    }

    .form-popup-bg .form-control::placeholder {
      color: #000000;
    }

    .b-user-message {
      position: absolute;
      left: -5000px;
      text-indent: 100%;
      white-space: nowrap;
      overflow: hidden;
    }

    /* Reset and Base Styles */
    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
      font-family: Arial, sans-serif;
    }
    body {
      background-color: #f7f7f7;
      color: #333;
    }
    header, footer {
      text-align: center;
      /*padding: 1rem;*/
      background-color: #fff;
      border-bottom: 1px solid #ddd;
      width: 100%;
    }
    header h1 {
      font-size: 1.8rem;
      color: #222;
    }

    /* Full Width Main Container */
    main {
      width: 100%;
      padding: 2rem 1rem;
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
      gap: 1.5rem;
    }

    /* Card Styles */
    .card {
      background-color: #fff;
      border-radius: 12px;
      overflow: hidden;
      box-shadow: 0 4px 10px rgba(0,0,0,0.1);
      display: flex;
      flex-direction: column;
      width: 100%;
    }
    .card img {
      width: 100%;
      height: 320px;
      object-fit: cover;
    }
    .card-content {
      padding: 1rem;
      background-color: #0c336b;
      color: #fff;
      font-size: 0.95rem;
      line-height: 1.4rem;
    }
    .card-content p {
      margin-bottom: 0.6rem;
    }
    .card-content p span {
      font-weight: bold;
    }

    /* Buttons */
    .card-actions {
      display: flex;
      justify-content: space-between;
      padding: 0.8rem 1rem;
      background-color: #fff;
      border-top: 1px solid #ddd;
    }
    .card-actions button {
      flex: 1;
      margin: 0 0.3rem;
      padding: 0.6rem;
      border: 1px solid #ccc;
      border-radius: 6px;
      background-color: #fff;
      cursor: pointer;
      font-size: 0.9rem;
      font-weight: 600;
      transition: background-color 0.3s;
    }
    .card-actions button:hover {
      background-color: #f1f1f1;
    }

    /* Responsive Typography and Layout */
    @media (max-width: 992px) {
      .card img {
        height: 260px;
      }
    }

    @media (max-width: 768px) {
      header h1 {
        font-size: 1.5rem;
      }
      .card img {
        height: 220px;
      }
      .card-actions {
        flex-direction: column;
        gap: 0.5rem;
      }
      .card-actions button {
        width: 100%;
      }
    }

    @media (max-width: 480px) {
      main {
        grid-template-columns: 1fr;
      }
      .card-content {
        font-size: 0.85rem;
      }
      .card img {
        height: 250px;
      }
    }

    .card-content {
  background-color: #16314c;
  color: #fff;
  font-size: 0.95rem;
  padding: 1rem;
  line-height: 1.6;
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.card-content p {
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
}

.card-content .label {
  color: #ffcc80;
  font-weight: bold;
  width: 120px; /* Fixed width for labels for perfect alignment */
  display: inline-block;
}



