
.institution-image {
    width: 100%;
    height: auto;
    display: block;
    border-bottom: 1px solid #ddd;
}

.row_class
{
    padding-right: 0px !important;
}
#filterprogrms {
    /* background: linear-gradient(to bottom right, #050505, #d1e1f1); */
    background: linear-gradient(to bottom right, #fff, #fff);

    /* background: #FFF; */
    background-size: cover;
    position: relative;
    padding: 60px 0;
}




  .filtr_cat {
    list-style-type: none;
    padding: 0;
  }

  .filtr_cat .btn {
   background-color:  #e3e3e3; 
    border: none;
    color: white;
    padding: 10px 20px;
    opacity: 0.9;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    margin: 4px 2px;
    transition-duration: 0.4s;
    cursor: pointer;
    border-radius: 8px;
    outline: none;
    font-family: 'Poppins', sans-serif;
   
    /* box-shadow: inset 0 0 10px rgba(255,255,255,0.5); */
  }

  .filtr_cat .btn:hover {
    background-color: #dbf5e0;
  }

  .separator {
    height: 1px;
    background-color: #ccc;
    margin-top: 20px;
    margin-bottom: 20px;
  }
  /* Styles for the card container */
.filtr_cat {
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  margin-top: -50px;
  justify-content: space-between; /* Ensure space between cards */
}

/* Styles for each card */
.card {
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  /* box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); */
  /* width: calc(33.33% - 20px);  */
  margin-bottom: 20px;
}

.card:last-child {
  margin-right: 0; /* Remove margin for the last card in a row */
}

/* Styles for card body */
.card-body {
  padding: 15px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* Styles for card title */
.card-title {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 10px;
}

/* Styles for card content */
.card-content {
  display: flex;
  align-items: center;
  padding: 1opx;
}

/* Styles for card image */
.card-image {
  width: 175px; /* Adjust image width as per your requirement */
  height: 160px; /* Adjust image height as per your requirement */
  border-radius: 8px;
  margin-right: 15px;
  padding: 10px;
  cursor:none;
}

/* Styles for card text */
.card-text {
  flex: 1;
  font-size: 14px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .header-row {
        flex-direction: column;
        align-items: flex-start;
        align-items: center !important;
    }
  .filtr-item {
    /* border: 1px solid #000; */
    padding: 10px;
    margin: 0px;
    border-radius: 5px;
    text-align: center;
    /* height: 275px; */
}
  .heading h3 {
    /* margin-bottom: 20px; */
    text-align: center;
    color: #fff !important;
    font-family: 'Arial', sans-serif;
    font-size: 24px;
    font-weight: bold;
    text-transform: uppercase;
    border-bottom: 2px solid #fff;
    padding: 10px;
    /* padding-top: 0px; */
}
  .justify-text-center {
    text-align: center;
    padding: 10px !important;
    background-color: #fff;
    border-radius: 15px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}
  .details {
    display: none;
  margin-top: 0px;
  }

  .card {
    width: calc(50% - 20px); /* Two cards per row */
  }

  .card:last-child {
    margin-right: 20px; /* Reset margin for the last card in a row */
  }
}

@media (max-width: 480px) {
  .card {
    width: 100%; /* Single card per row on smaller screens */
    margin-right: 0; /* Reset margin for single card */
  }
}
.card p {
  font-size: 13px !important;
  line-height: 1.5;
  margin-bottom: 0;
  color: #2c254f !important;
  font-weight: 500;
}
.details {
  display: none;
  margin-top: 20px;
}
ul {
  list-style-type: none;
  padding: 0;
}

.btn {
  padding: 15px 25px !important;
  background-color: #4CAF50 !important;
  color: white !important;
  text-align: center !important;
  font-size: 20px !important;
  border: none !important;
  border-radius: 5px !important;
  cursor: pointer !important;
  transition: transform 0.3s !important;
  background-color: 0.3s !important;
}


@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.btn {
  animation: fadeIn 2s ease-in-out !important;
}

.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.program-list h2 {
  font-size: 24px;
  color: #333;
  margin: 0;
}

.filtr_cat {
  list-style-type: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom:-6px;
}

.btn {
  padding: 15px 25px !important;
  background-color: #2c254f !important;
  color: white !important;
  text-align: center !important;
  font-size: 20px !important;
  border: none !important;
  border-radius: 5px !important;
  cursor: pointer !important;
  transition: transform 0.3s !important;
   background-color: 0.3s !important;
  flex: 1 1 auto;
  box-sizing: border-box;
}

.btn:hover {
  /* transform: scale(1.1) !important; */
  /* background-color: #45a049 !important; */
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.btn {
  animation: fadeIn 2s ease-in-out !important;
}

@media (max-width: 768px) {
  .btn {
      flex: 1 1 calc(50% - 20px);
  }
  .filtr_cat {
    list-style-type: none;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: auto;
}
}

@media (max-width: 480px) {
  .btn {
      flex: 1 1 100%;
  }
}

@media (max-width: 600px) {
  .header-row {
      flex-direction: column;
      align-items: flex-start;
  }
}
.justify-text-center {
  text-align: center;
  padding: 30px;
  background-color: #fff;
  border-radius: 15px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.justify-text-center:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.justify-text-center a {
  text-decoration: none;
  color: inherit;
}

.pd-120 {
  display: inline-block;
  padding: 20px;
  color: white;
  border-radius: 10px;
  transition: background 0.5s ease;
  position: relative;
  overflow: hidden;
}

.pd-120::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -10px;
  width: 100%;
  height: 3px;
  transition: transform 0.5s ease;
  transform: scaleX(0);
  transform-origin: right;
}

.pd-120:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}


h3 {
  margin: 10px 0;
  font-size: 24px;
  color: #fff;
  position: relative;
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-100%);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(100%);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.animated-span h3:nth-child(1) {
  animation: slideInLeft 1.5s ease-out;
}

.animated-span h3:nth-child(2) {
  animation: slideInRight 1.5s ease-out;
  animation-delay: 0.5s;
}
.header-row h2 {
  font-size: 34px;
  color: #333;
  text-align: center;
  margin-bottom: 30px;
  padding-top: 20px;
  position: relative;
}
.header-row h3 {
  margin-top: 10px;
  font-size: 34px;
  text-align: center;
  margin-bottom: 30px;
  padding-top: 20px;
  position: relative;
}

.header-row h2::before {
  content: '';
  position: absolute;
  top: 20%;
  left: 50%;
  transform: translateX(-50%);
  width: 200px;
  height: 3px;
}
h3 {
  font-size: 24px;
  color: #fff;
  text-align: center;
  margin-top: 10px;
  padding: 10px;
  background-color: #2c254f;
  color: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s, box-shadow 0.3s;
}

h3:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}
@media (hover: none) and (pointer: coarse) {
  /* .btn:hover {
      transform: none;
      background-color: #007BFF;
  } */
}
.filtr-item span:hover {
  background:#20075a;
  color: #fff;
}
@media (min-width: 992px) {
  .offset-lg-4 {
      margin-left: 37.333333% !important;
  }
  .offset-lg-2 {
    margin-left: 13.666667%;
}

}

.hidden { display: none; }

.Acamedics
{
  margin-top: -21px !important;
}