/* section start */

 /* Card Container */

 .card-container {
  background-color: white;
  border-radius: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  max-width: 100%;
  /* margin-top: 40px; */
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 0;
  box-sizing: border-box;
}


/* Title section */
.card-title {
  background-color: #E2F2E4;
  /* padding: 30px; */
  padding: 15px 0 15px 0;
  width: 100%;
  border-radius: 0px 20px 0 0;
  text-align: left;
  box-sizing: border-box;
  position: relative;
  z-index: 1;
}

.title_row{
  background-color: #E2F2E4;
  border-radius: 20px 0px 0 0;

}

.card-title h2{
  /* margin-left: 28%; */
  color: #333;
  font-weight: bold;
  font-size: 18px;
  padding-right: 10%;
}

/* Image styling */
.regulatory-card-img {
  width: 230px;
  height: 230px;
  border-radius: 40px;
  /* object-fit: contain; */
  box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.5); 
}

.img-div{
  top: 5%;
  z-index: 2;
  position: absolute;
 }

/* Content section */
.card-content {
  width: 65%;
  display: flex;
  background-color: white;
  /* margin-left: 26%; *//* width: 65%; */
    width: 100%;
    padding: 28px 20px 20px 0;
    background-color: white;
    /* margin-left: 31%; */
    /* margin-bottom: 25px; */
    padding-right: 10%;
}

.card-text {
  flex-grow: 1;
  /* padding-left: 20px; */
  text-align: justify;
}

.card-text h2 {
  font-size: 24px;
  /* margin-bottom: 10px; */
  color: #333;
}

.card-text p {
  /* margin-bottom: 10px; */
  font-size: 14px;
  color: #555;
}

/* Tag Section */
.card-tags {
  display: flex;
  flex-wrap: wrap;
  /* margin-top: 10px; */
}

.card-tags span {
  background-color: #d8f8d6;
  color: #3D8F3D;
  padding: 5px 15px;
  border-radius: 15px;
  font-size: 12px;
  margin-right: 10px;
  margin-bottom: 10px;
}

/* Button styling */
.card-button {
  background-color: #76c6ba;
  color: white;
  padding: 15px 60px;
  text-align: center;
  border-radius: 10px;
  text-decoration: none;
  font-size: 16px;
  font-weight: bold;
  border: none;
  cursor: pointer;
  transition: background-color 0.3s;
  /* position: absolute; */
  /* bottom: -8px; */
  /* left: 39%; */
  /* transform: translateX(-50%); */
  transform: translateY(50%);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  z-index: 1;
}

.card-button:hover {
  background-color: #65b6ba;
}
.text-justify{
  text-align: justify;
}


.past-events-title {
  text-align: center;
  position: relative;
  font-size: 36px;
  font-weight: 500;
  font-family: 'Playfair Display', serif;
  color: #000000;
  }
  
  .past-events-title::before,
  .past-events-title::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 30%;
  height: 1px;
  background-color: #000000; 
  }
  
  .past-events-title::before {
  left: 70px;
  }
  
  .past-events-title::after {
  right: 70px;
  }
  



/* section End */



/* Responsive code start */


@media only screen and (min-width: 320px) and (max-width: 428px) and (-webkit-min-device-pixel-ratio: 2) {
  .regulatory-section .card-title h2{
      margin-left: 0%;
      font-size: 16px;
  }
  /* .news .card-title{
    padding-left: 20px;
    padding-right:20px;
  } */
  .card-text{
    padding-left:0px;
  }

  .regulatory-section .img-div{
    margin-left: 0px;
  }
  .regulatory-section .card-content{
    width: 100%;
    margin-left: 0%;
  }

  .regulatory-section .card-button{
    padding: 15px 25px;
    left: 50%;
    font-size: 14px;
  }

  .past-events-title {
    font-size: 30px;
    font-weight: 600;
 }
 .past-events-title::before, 
 .past-events-title::after {
    display: none;
 }

 
}

/*  iPhone 5 */
/* @media only screen and (min-device-width: 320px) and (max-device-height: 640px){

  .news .card-title{
    padding-left: 20px;
    padding-right:20px;
  }
  .regulatory-section .card-title h2{
      margin-left: 0%;
      font-size: 16px;
  }

  .card-text{
    padding-left:0px;
  }
  .regulatory-section .img-div{
    margin-left: 0px;
  }
  .regulatory-section .card-content{
    width: 100%;
    margin-left: 0%;
  }
    .regulatory-section .card-button{
      font-size: 14px;
      padding: 14px 15px;
   
    }
  

    .past-events-title {
      font-size: 30px;
      font-weight: 600;
   }
   .past-events-title::before, 
   .past-events-title::after {
      display: none;
   }

} */



/* iphone 12 pro */
/* @media only screen and (min-device-width: 390px) and (max-device-height: 932px) and (-webkit-min-device-pixel-ratio: 2){
  
  .regulatory-section .card-title h2{
      margin-left: 0%;
      font-size: 16px;
  }
  .card-text{
    padding-left:0px;
  }

  .regulatory-section .img-div{
    margin-left: 0px;
  }
  .regulatory-section .card-content{
    width: 100%;
    margin-left: 0%;
  }

  .regulatory-section .card-button{
    padding: 14px 31px;
    left: 50%;
    font-size: 14px;
  }

  .past-events-title {
    font-size: 30px;
    font-weight: 600;
 }
 .past-events-title::before, 
 .past-events-title::after {
    display: none;
 }

} */



/* ipad */

/* iPads (portrait and landscape) ----------- */
/* ipad  mini */
@media only screen and (min-width: 991px) and (max-width: 1200px) and (-webkit-min-device-pixel-ratio: 1) {
  .img-div{
   align-items: center;
 } 
  
 .regulatory-card-img{
   width: 200px;
   height: 220px;
   
 }
}


/* ipad pro */
/* @media only screen and (min-device-width: 1024px) and (max-device-width: 1366px) and (-webkit-min-device-pixel-ratio: 2) {
  .img-div{
    margin-left: 30px;
  }
  
  .regulatory-card-img{
    width: 250px;
    height: 250px;
  }
  .card-title h2{
    margin-left: 38%;
  }

  .card-text{
    padding-left: 25px;
  }
  
  .card-button{
    left: 52%;
  }

  .regulatory-section .card-content{
    margin-left: 34%;
  }

} */



/* by mayuri */

@media only screen and (min-width: 320px) and (max-width: 767px) {
  .card-content {
    padding: 25px 25px 0 25px;
  }

  .card-button-div {
    display: flex;
    justify-content: center; 
    align-items: center;
  }

  .card-title {
    text-align: center;
    padding-left: 5px;
    padding-right: 5px;
  }
  .card-title h2{
    padding-right: 0;
  }
}

@media only screen and (min-width: 767px) and (max-width: 991px) {
  
  .regulatory-card-img{
    display: none;  
  }
  .card-title h2{
   text-align: center;
  }
  
  .card-text{
    padding: 25px;
    padding-bottom: 0;
  }
  .card-content {
    padding-right: 0;
  }
  .card-button-div{
    display: flex;
    justify-content: center; 
    align-items: center; 
  }
  .card-title {
    text-align: center;
    padding-left: 5px;
    padding-right: 5px;
  }
  .card-title h2{
    padding-right: 0;
  }

}
