
.event-card-container{
    margin: 30px;
}
.hero-section {
    position: relative;
    height: 300px;
    background-image: url("../images/banner.jpg"); 
    background-size: cover;
    background-position: center;
    color: #fff;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .placeholder-card {
    background: #f3f3f3;
    border: none;
    border-radius: 8px;
    overflow: hidden;
  }
  
  .placeholder-image {
    width: 100%;
    height: 180px;
    background: linear-gradient(90deg, #f3f3f3 25%, #e0e0e0 50%, #f3f3f3 75%);
    background-size: 200% 100%;
    animation: placeholder-loading 1.5s infinite;
  }
  
  .placeholder-title,
  .placeholder-text {
    height: 20px;
    background: linear-gradient(90deg, #f3f3f3 25%, #e0e0e0 50%, #f3f3f3 75%);
    background-size: 200% 100%;
    animation: placeholder-loading 1.5s infinite;
    border-radius: 4px;
  }
  
  .placeholder-title {
    width: 60%;
  }
  
  .placeholder-text {
    width: 100%;
    margin-bottom: 10px;
  }
  
  @keyframes placeholder-loading {
    0% {
      background-position: 200% 0;
    }
    100% {
      background-position: -200% 0;
    }
  }
  #events-container {
    display: none;
  }
  
  #loading-placeholder {
    display: block;
  }
  
  
  .hero-section .hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }
  .hero-section h1 {
    font-size: 3rem;
    margin-bottom: 20px;
  }
  .hero-section p {
    font-size: 1.5rem;
  }
  .card-img-top {
    height: 150px;
    object-fit: cover;
    border-radius: 10px;
  }
  .card {
    height: 100%;
    display: flex;
    flex-direction: column;
    /* box-shadow: 0 0 10px rgba(0, 0, 0, 0.2); */
  }
  .icon-size {
    font-size: 2rem; 
}
.footer__tops{
  padding: 10px;
}
.reg-link{
  color: var(--primary-color);
  text-decoration: underline;
}
.registerBtn{
  color: #fff;
    background-color: var(--accent-color);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 500;
    min-width: 100px;
    padding: 10px 20px;
    border: 0;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    border-radius: 9999px;
    transition: all 0.3s ease-out;
    overflow: hidden;
}

.truncate-title {
  display: -webkit-box;
  -webkit-line-clamp: 2; /* Limit to 2 lines */
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  height: 3rem; /* Adjust as needed based on your font size */
  line-height: 1.5rem; /* Match your font size and spacing */
}

.event-img {
  border-top-left-radius: 0.5rem; /* Adjust for desired rounding */
  border-top-right-radius: 0.5rem; /* Adjust for desired rounding */
  border-bottom-left-radius: 0; /* Ensures no border radius at the bottom */
  border-bottom-right-radius: 0; /* Ensures no border radius at the bottom */
}

