.banner-mdrt {
    width: 100%;
    margin-top: -160px;
        position: relative;
         z-index: -1;
}

.banner-mdrt::before  {
  content: "";
  position: absolute;
  inset: 0; /* shorthand for top:0; right:0; bottom:0; left:0; */
  /* background: #FEEE0E;
background: linear-gradient(45deg, rgba(254, 238, 14, 0.35) 0%, rgba(254, 237, 10, 0) 100%); */
  z-index: 1;
  border-radius: 10px; /* optional if you need rounded corners */
}



.mdrt {
 padding: 0px 20px;
}

.mdrt h1 {
    font-size: 50px;
    text-align: center;
    font-family: "PT Serif", serif;
    font-weight: 700;
    margin: 10px auto 30px;
    letter-spacing: -1px;
}


.mdrt h2 {
    font-size: 45px;
    text-align: left;
    font-family: "PT Serif", serif;
    font-weight: 700;
    margin: 30px auto;
    padding-top: 0;
    margin-top: 0;
}

.mdrt h3 {
    font-size: 50px;
    text-align: center;
    font-family: "PT Serif", serif;
    font-weight: 700;
    margin: 30px auto;
}

.mdrt h5 {
    font-size: 50px;
    text-align: left;
    font-family: "PT Sans", sans-serif;
    font-weight: 700;
    margin: 30px auto;
}

.mdrt h4 {
    background: #F2AF29;
    background: linear-gradient(90deg, rgba(242, 175, 41, 1) 0%, rgba(255, 250, 170, 1) 100%);
    text-decoration: none;
    color: #000;
    font-size: 30px;
    line-height: 1.5;
    text-align: center;
    padding: 0px 30px;
    border-radius: 52px;
    font-family: "PT Serif", serif;
    font-weight: 700;
    padding: 10px 0px;
    display: block;
    max-width: 340px;
    margin: auto;

}

.mdrt p {
       font-size: 25px;
       line-height: 1.6;
       font-weight: 400;
       padding: 0px 10px;
       font-weight: normal;
      font-family: "PT Sans", sans-serif;
}

.mdrt ul li {
    font-size: 25px;
    line-height: 1.6;
    margin-bottom: 15px;
    color: #000;
}

.mdrt ul li::marker {
    color: #F2AF29;              /* bullet color */
    font-size: 25px;         /* bullet size */
  }


.student-achievement-list{
    opacity: 1;
    font-size: 1.5rem;
    color: #000000;
    padding-left: 6rem;
    line-height: 3;
}

ul.student-achievement-list li::marker {
      color: gold;   /* change to any color */
      font-size: 1.5rem; /* optional - make bigger */
    }

   ul.mdrt-registration-list li{
    margin-bottom: 15px;
    font-size: 1.5rem; /* optional - make bigger */
   }
ul.mdrt-registration-list li::marker {
      color: gold;   /* change to any color */
      font-size: 1.5rem; /* optional - make bigger */
    }



.mdrt .event-img {
  position: relative;
  display: inline-block;
}

.mdrt .event-img::before {
  content: "";
  position: absolute;
  inset: 0; /* shorthand for top:0; right:0; bottom:0; left:0; */
 /* background: #FEEE0E;
background: linear-gradient(150deg, rgba(254, 238, 14, 0.20) 0%, rgba(242, 175, 41, 0) 100%); */
  z-index: 1;
  border-radius: 10px; /* optional if you need rounded corners */
}

.mdrt .event-img img {
  width: 100%;
  display: block;
  position: relative;
  z-index: 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.15);
    border-radius: 10px;
}


    .event-card {
      position: relative;
      border-radius: 12px;
      overflow: hidden;
      box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    }
    .event-img {
      width: 100%;
      /* height: 220px; */
      object-fit: cover;
    }
    .event-footer {
      font-size: 14px;
      color: #555;
    }
    .event-footer i {
      margin-right: 5px;
      color: #333;
    }

    .upcoming-training .mdrt-title{
      font-size: 3rem;
    }

      .upcoming-training p{
        padding-left: 5rem;
      }

      .upcoming-training .student-achievement-list{
        padding-left: 8rem;
      }

      .card-footer .calendar{
        width: 20%;
        margin-right: 0.6rem;
      }

      .card-footer .time{
        width: 14%;
        margin-right: 0.6rem;
      }


      .header .navbar-nav .active {
    font-weight: 700;
     position: relative;
    display: inline-block;
    padding-bottom: 10px;
    top: 0px;
}



.event-content {
 margin: 10px auto;
 padding: 0px 10px;
}

.event-content h5 {
    text-align: left;
    font-size: 30px;
    font-weight: 700;
    margin: 25px 0;
}

.event-content .details {
    font-size: 20px;
    color: #000000;
    font-weight: 400;
}

.details p {
  padding: 0;
}
.event-content .details .date p {
       font-size: 20px;
       font-weight: 700;
}
.event-content .details .time p {
       font-size: 20px;
}

.event-content .details .location p {
    font-size: 20px;
}

.event-content .details .date p img, .event-content .details .location p img, .event-content .details .time p img {
    width: 20px;
    height: auto;
    margin-right: 10px;
    margin-bottom: 10px;
}




.modal-content {
 background: transparent;
 border: none;
}

.modal-header {
    border: none;
}

button.btn {
    outline: none !important;
    border: none;
}

button.btn.close {
    position: absolute;
    right: -40px;
    top: 0;
    width: 50px;
}

.modal {
    --bs-modal-width:700px;
}

.login-bg {
    background: #F2AF29;
    border-radius: 20px;
    margin: 0px auto 30px;
    text-align: center;
    padding: 40px 0px;
}

.login-bg .login {
    background-color: #fff;
    border-radius: 10px;
    font-weight: 600;
    width: 200px;
    height: 60px;
    border: none;
    font-size: 25px;
    margin: auto;
    max-width: 260px;
}

.event-img {
  position: relative;
  display: inline-block;
}

.event-img::before {
  content: "";
  position: absolute;
  inset: 0;
  /* shorthand for top:0; right:0; bottom:0; left:0; */
  /* background: #FEEE0E;
  background: linear-gradient(150deg, rgba(254, 238, 14, 0.40) 0%, rgba(242, 175, 41, 0) 100%); */
  z-index: 1;
  border-radius: 10px;
  /* optional if you need rounded corners */
}

.event-img img {
  width: 100%;
  display: block;
  position: relative;
  z-index: 0;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
  border-radius: 10px;
}

.event-img {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
}

.event-img img {
  width: 100%;
  display: block;
  border-radius: 10px;
  transition: transform 0.3s ease;
}

/* Hover zoom effect */
.event-img:hover img {
  transform: scale(1.05);
}

/* Overlay */
.hover-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(87, 87, 0, 0.6);
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  border-radius: 10px;
}

/* Show overlay on hover */
.event-img:hover .hover-overlay {
  opacity: 1;
  background: rgba(87, 87, 21, 0.6);
  visibility: visible;
}

.view-more {
  color: #fff;
  background: none;
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s ease;
}

.view-more:hover {
  background: none;
}

.load-more-btn {
  background: linear-gradient(90deg, rgba(242, 175, 41, 1) 0%, rgba(255, 250, 170, 1) 100%);
  font-family: 'PT Serif', serif;
  line-height: 1.5;
}

.load-more-btn:hover {
  background: linear-gradient(90deg, rgba(242, 175, 41, 0.9) 0%, rgba(255, 250, 170, 0.9) 100%);
}
