/* Basic information */

.top {
  margin-top: 50px;
}


/* managing commitee */
.body-mc {
  font-family: Arial, sans-serif;
  background-color: #f5f5f5;
  margin: 0;
  padding: 0;
}

.card {
  background-color: #fff;
  border-radius: 5px;
  text-align: center;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  height: 450px;
  width: 290px;
  position: relative;
  margin-bottom: 20px;
}

.name {
  font-size: 20px;
  margin-top: 8px;
}

.designation {
  font-size: 14px;
  color: #777;
  margin-top: -20px;
}

.tagline,
.description {
  font-size: 14px;
  color: #555;
}

.profile-picture {
  position: relative;
  margin-top: -86%;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100px;
  width: 100%;
}

.profile-picture img {
  width: 90px;
  height: 90px;
  border-radius: 50%;
}

.clip {
  clip-path: polygon(0 0, 100% 64%, 100% 0);
  background-color: #9261aa;
  width: 100%;
  height: 270px;
  border-radius: 15px;
  position: relative;
}




.grparea {
  height: 250px;
}

.grp {
  margin-top: 160px;
  height: 95px;
  width: 100%;
  background-color: #9261AA;
  display: flex;
  justify-content: space-evenly;
  flex-wrap: wrap;
}

.grpimg1 {
  height: 190px;
  width: 170px;
  border-radius: 5px;
  position: relative;
  margin-top: -77px;
}

.grpimg2 {
  height: 190px;
  width: 170px;
  border-radius: 5px;
  position: relative;
  margin-top: 45px;
}

.grpname {
  font-size: 15px;
  font-weight: bold;
  text-align: center;
  margin-top: 15px;
}

.grpheight {
  margin: 50px;
  padding-top: 2%;
}



.redressal {
  position: relative;
  margin-top: 100px;
  height: 370px;
  width: 300PX;
  border-radius: 10px;

  display: flex;
  justify-content: center;
}

.redressal2 {
  position: relative;
  margin-top: 100px;
  height: 370px;
  width: 300PX;
  border-radius: 10px;

  display: flex;
  justify-content: center;
}

.semicircle {
  height: 270px;
  width: 138px;
  border-radius: 96px;
  background-color: #d8c5e1;
  transform: rotate(38deg);
  position: relative;
  z-index: -999;
  left: 117px;
}

.redressalimage {
  width: 92px;
  height: 92px;
  border-radius: 50%;
  overflow: hidden;
  position: relative;
}

.redessalsubtitle {
  font-size: 11px;
  margin-top: 8px;
}

.redessalname {
  font-size: 20px;
  margin-top: 6px;
  font-weight: bold;
  letter-spacing: 3px;
  color: #555;

}

.redessalsubname {
  font-size: 14px;
  margin-top: -18px;
}



@media (max-width: 450px) {
  .card {
    background-color: #fff;
    border-radius: 5px;
    /* padding: 20px; */
    text-align: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    height: 375px;
    width: 290px;
    position: relative;
    margin-left: 40px;
  }



  .name {
    font-size: 20px;
    margin-top: 8px;
  }

  .designation {
    font-size: 14px;
    color: #777;
    margin-top: -20px;

  }

  .tagline,
  .description {
    font-size: 14px;
    color: #555;
    /* margin: 10px 0; */
  }

  .redressal {
    display: none;
    position: relative;
    margin-top: 381px;
    height: 370px;
    width: 300PX;
    border-radius: 10px;
    display: flex;
    justify-content: center;
    margin-left: -2px;
  }

  .redressal2 {
    position: relative;
    margin-top: 1px;
    height: 370px;
    border-radius: 10px;
    display: flex;
    justify-content: center;
  }


  /* commitee */
  .grparea {
    height: 250px;
  }

  .grp {
    margin-top: 160px;
    height: 95px;
    width: 100%;
    background-color: #9261AA;
    display: flex;
    justify-content: space-evenly;
    flex-wrap: wrap;
  }

  .grpimg1 {
    height: 190px;
    width: 170px;
    border-radius: 5px;
    position: relative;
    margin-top: -77px;
  }

  .grpimg2 {
    height: 190px;
    width: 170px;
    border-radius: 5px;
    position: relative;
    margin-top: 45px;
  }

  .grpname {
    font-size: 15px;
    font-weight: bold;
    text-align: center;
    margin-top: 15px;
  }

  .grpheight {
    margin: 50px;
    padding-top: 2%;
  }

}

.grid-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  grid-gap: 20px;
  margin: 20px 0;
}

.card-top img {
  display: block;
  width: 100%;
}

.container {
  width: 95%;
  margin: auto;
}

.card {
  background: #fff;
  padding: 20px;
  border-radius: 20px;
  box-shadow: 0px 0px 10px rgb(0 0 0 / 20%);
}

.card-top {
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
  overflow: hidden;
}

.card-info h2 {
  font-size: 18px;
  margin: 10px 0 5px 0;
}

.date {
  margin-bottom: 10px;
}

span,
p {
  font-size: 15px;
  display: block;
}

.excerpt {
  color: #aeaeae;
}

.flex-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.card-bottom {
  margin-top: 20px;
}

.button {
  text-decoration: unset;
  font-weight: 600;
  text-transform: uppercase;
  color: #4e4e4e;
  width: 80px;
  text-align: center;
  font-size: 15px;
  line-height: 30px;
  border-radius: 5px;
  background: #f2f4f6;
}

.read-more {
  text-decoration: unset;
  color: #000;
  font-weight: 600;
}

.btn-yellow {
  background: #ffb91d;
}

.btn-sky {
  background: #d2f9fe;
}

.btn-dpink {
  background: #e8d3fc;
}

/* Media Queries for Mobile Responsiveness */
@media only screen and (max-width: 600px) {

  /* commitee */
  .grparea {
    height: 250px;
  }

  .grp {
    margin-top: 160px;
    height: 95px;
    width: 100%;
    background-color: #9261AA;
    display: flex;
    justify-content: space-evenly;
    flex-wrap: wrap;
  }

  .grpimg1 {
    height: 190px;
    width: 170px;
    border-radius: 5px;
    position: relative;
    margin-top: -77px;
  }

  .grpimg2 {
    height: 190px;
    width: 170px;
    border-radius: 5px;
    position: relative;
    margin-top: 45px;
  }

  .grpname {
    font-size: 15px;
    font-weight: bold;
    text-align: center;
    margin-top: 15px;
  }

  .grpheight {
    margin: 50px;
    padding-top: 2%;
  }
}

@media (max-width: 768px) {

  /* commitee */
  .grparea {
    height: 250px;
    margin-bottom: 60%;
  }

  .grp {
    margin-top: 160px;
    height: 552px;
    width: 76%;
    background-color: #9261AA;
    display: flex;
    justify-content: space-evenly;
    flex-wrap: wrap;
    color: #FFFFFF;
  }

  .grpimg1 {
    height: 181px;
    width: 107px;
    border-radius: 5px;
    position: relative;
    margin-top: -77px;
  }

  .grpimg2 {
    height: 181px;
    width: 107px;
    border-radius: 5px;
    position: relative;
    margin-top: 45px;
  }

  .grpname {
    font-size: 15px;
    font-weight: bold;
    text-align: center;
    margin-top: 15px;
  }

  .grpheight {
    margin: 50px;
    padding-top: 2%;
    width: 72%;
  }
}

/* Common Styles */
/* .card {
  background-color: #fff;
  border-radius: 5px;
  text-align: center;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  margin-bottom: 20px;
} */

/* Mobile Styles */
@media (max-width: 767px) {
  .card {
    margin: 0 auto 20px auto;
  }
}

/* Tablet Styles */
@media (min-width: 768px) and (max-width: 991px) {
  .card {

    margin: 0 10px 20px 10px;
  }
}

/* Desktop Styles */
@media (min-width: 992px) {
  .card {

    margin: 0 10px 20px 10px;
  }
}


/* Managing Committee - id card*/
.wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  padding-top: 12%;
}

.user-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: #fff;
  border-radius: 10px;
  padding: 40px;
  width: 650px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 2px 20px -5px rgba(0, 0, 0, 0.5);
}



.user-card:before {
  content: '';
  position: absolute;
  height: 300%;
  width: 173px;
  background: #262626;
  top: -60px;
  left: -125px;
  z-index: 0;
  transform: rotate(17deg);
}

.user-card-img {
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 3;

}



.user-card-img img {
  width: 200px;
  height: 200px;
  object-fit: cover;
  border-radius: 50%;
  transition: transform 0.5s ease;
  cursor: zoom-in;
  margin-bottom: 19px;
}

.user-card-img img:active {
  -webkit-transform: scale(2);
  transform: scale(2);
  cursor: zoom-out;
}

.col-lg-6 {
  height: 50%;
  /* Adjust this value as needed */
}


.user-card-info {
  text-align: center;
}

.user-card-info h2 {
  font-size: 24px;
  margin: 0;
  margin-bottom: 10px;
  font-family: 'Bebas Neue', sans-serif;
  letter-spacing: 3px;
}

.user-card-info .h2_txt {
  font-size: 16px;
  margin: 0;
  margin-bottom: 10px;
  font-family: 'Bebas Neue', sans-serif;
  letter-spacing: 2px;
}

.user-card-info p {
  font-size: 14px;
  margin-bottom: 2px;
}

.user-card-info .p_txt {
  font-size: 14px;
  margin-bottom: 2px;
}

.user-card-info p span {
  font-weight: 700;
  margin-right: 10px;
}

@media only screen and (min-width: 768px) {
  .user-card {
    flex-direction: row;
    align-items: flex-start;
  }

  .user-card-img {
    margin-right: 20px;
    margin-bottom: 0;
  }

  .user-card-info {
    text-align: left;
  }
}

@media (max-width: 767px) {
  .wrapper {
    padding-top: 3%;
  }

  .user-card:before {
    width: 300%;
    height: 200px;
    transform: rotate(0);
  }

  .user-card-info h2 {
    margin-top: 25px;
    font-size: 15px;
  }

  .user-card-info p span {
    display: block;
    margin-bottom: 15px;
    font-size: 18px;
  }
}