/* Basic page layout */
body {
    position: relative;
    min-height: 100vh;
    background-color: #fff;
  }

  .card-height {
    min-height: 400px; /* Ensures the card height is consistent */
  }

  /* Header image */
  .image-logo {
    max-width: 100%;
    max-height: 100px;
  }

  .leftborder-primary {
    border-left: 4px solid #007bff;
  }

  /* Ensures correct margin and padding for sections */
  .m-0 {
    margin: 0 !important;
  }

  .pt-4 {
    padding-top: 1.5rem !important;
  }

  .pl-5, .pr-5 {
    padding-left: 3rem !important;
    padding-right: 3rem !important;
  }

  .shadow {
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  }

  .text-primary {
    color: #007bff !important;
  }

  .btn-primary {
    background-color: #007bff;
    border-color: #007bff;
  }

  .btn-block {
    width: 100%;
  }

  .card {
    margin-bottom: 1.5rem;
  }

  /* Styling the form inputs */
  .form-control {
    border: 1px solid #ced4da;
    border-radius: 0.25rem;
    padding: 0.5rem 0.75rem;
    box-shadow: none;
  }

  .form-control:focus {
    border-color: #007bff;
    box-shadow: none;
  }

  .input-group-text {
    background-color: #f8f9fa;
    border: 1px solid #ced4da;
  }

  /* Aligning footer if needed */
  .footer {
    text-align: center;
    margin-top: auto;
    padding: 1rem;
    background-color: #f8f9fa;
  }

  /* Flex utilities */
  .d-flex {
    display: flex;
  }

  .justify-content-end {
    justify-content: flex-end;
  }

  .text-center {
    text-align: center;
  }

  .text-right {
    text-align: right;
  }

  .mt-3 {
    margin-top: 1rem;
  }

  .mb-3 {
    margin-bottom: 1rem;
  }

  /* Custom styles for images */
  .img-fluid {
    max-width: 100%;
    height: auto;
  }

  /* Visitor count card */
  #visitor-count {
    font-weight: bold;
  }

  /* Additional styles for other components if needed */
  .pdf-link {
    height: 100%;
}
/* login-forms.css */
/* Hide all role forms by default */
#main-ddo-form,
#main-treasury-form {
    display: none;
}
/* Only show the subscriber form initially (matching the checked radio) */
#main-subscriber-form {
    display: block;
}

/* courousel css*/
.custom-carousel {
    position: relative;
    width: 100%;
    max-height: 400px;
    overflow: hidden;
    margin: 20px auto;
}

.carousel-images {
    display: flex;
    transition: transform 0.5s ease-in-out;
    width: 100%;
}

.carousel-image {
    min-width: 100%;
    object-fit: cover;
    height: 400px;
    image-rendering: auto;
    display: none;
}

.carousel-image.active {
    display: block;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0,0,0,0.5);
    color: white;
    border: none;
    font-size: 2rem;
    padding: 5px 12px;
    cursor: pointer;
    z-index: 10;
    user-select: none;
}

.carousel-btn.prev { left: 10px; }
.carousel-btn.next { right: 10px; }

/* Card css inside the banner*/


.card1 {
    background-color: white !important;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    padding: 1rem;
}

.card-body1 {
    background-color: white !important;
}

.card-container1 {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin-top: 1rem;
}


.card2 {
    background-color: white !important;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    padding: 1rem;
}