.slider {
 
    position: relative;
    width: 100%;
    /* max-width: 900px;*/
    margin: auto;
    overflow: hidden;
    /* border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);*/
}

.slides {

    display: flex;
    transition: transform 0.5s ease-in-out;
}

.slide {
      width: 100%;
    display: none;
}

.slide.active {
    display: block;
}

/* Navigation Buttons */
.prev, .next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 10px 15px;
    cursor: pointer;
    font-size: 24px;
    border-radius: 5px;
}

.prev { left: 10px; }
.next { right: 10px; }

.prev:hover, .next:hover {
    background-color: rgba(0, 0, 0, 0.8);
}


.carousel{
    overflow: hidden;
    width: 100%;
    /* background-color: #1e272e;*/
    padding: 30px 0;
    margin-top: 10px;
    border-radius: 5px;
    /* box-shadow: 20px 15px 15px rgba(0, 0, 0, 0.5); */
}

.image-container{
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 350px;
    justify-items: stretch;
    animation: animation 12s linear infinite;
}

.image-container img{
    width: 300px;
    height: 200px;
    border-radius: 12px;
    object-fit: cover;
    border: 1px solid #a5b1c2;
}
.bdy{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
   /* background-color: #a5b1c2; */
}

@keyframes animation {
    to{
        translate: calc(-4*250px);
    }
}

.wrapper{
    perspective: 3000px;
}
.card{
    width: 360px;
    height: 530px;
    transform-style: preserve-3d;
    transition: transform .8s ease-in-out;
    cursor: pointer;
    border: 1px solid #ccc;
    box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.2),
    -5px -5px 10px rgba(0, 0, 0, 0.05);
    border-radius: 15px;
}
.card:hover{
    transform: rotateY(180deg);
}
.front-page,
.back-page{
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 15px;
}
.front-page{
    background-image: url(placement/P1.jpg);
    background-size: cover;
}

.card-info{
    position: absolute;
    bottom: 50px;
    left: 45px;
    color: #fff;
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.5);
    text-align: center;
}
.card-title{
    font-style: 2rem;
    font-weight: bold;
}
.card-subtitle{
    font-size: 1.2rem;
    margin-top: 5px;
    color: #0fbcf9;
}
.back-page{
    background-color: #1e272e;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    transform: rotateY(180deg);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}
.card-content{
    text-align: center;
    padding: 20px;
    max-width: 300px;
}
.card-content h3{
    font-size: 1.8rem;
    font-weight: bold;
    margin-bottom: 15px;
}
.card-description{
    font-size: 1rem;
    color: #ccc;
    margin-bottom: 20px;
    line-height: 1.6;
}
.card-button{
    background-color: #0fbcf9;
    color: #fff;
    padding: 12px 24px;
    font-size: 1rem;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
}
.card-button:hover{
    background-color: transparent;
    color: #0fbcf9;
    border: 1px solid #0fbcf9;
}

/* Notice board */

.notice-board {
      background-color: #f8f9fa;
      border: 2px solid #e70909;
      border-radius: 10px;
      padding: 10px;
      box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    }
    .hnotice {
      text-align: center;
      color: #e70909;
      margin-bottom: 5px;
    }
    .notice-text {
      color: #000000;
      
    }