body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.banner-img {
  width: 100%;
  height: auto;
  max-height: 400px;
  object-fit: cover;
  filter: brightness(100%);
  margin-top:100px;
}

.image-placeholder img {
    max-width: 100%;
    height: auto;
    width: 100%;
    z-index: 1;
}


main {
    padding: 20px;
}
.direc {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

/* Director Info Layout */
.director-info {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 20px;
    padding: 20px;
    margin-bottom: -50px;
    position: relative;
}


.image-container {
    width: 300px; /* Set a fixed width */
    height: 400px; /* Set a fixed height */
    perspective: 1000px; /* Allows 3D flip effect */
}

.flip-card {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.6s;
    transform-style: preserve-3d;
}

.image-container:hover .flip-card {
    transform: rotateY(180deg);
}

/* Front of the card */
.flip-card-front,
.flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 8px;
}

.flip-card-front {
    background-color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.flip-card-front img {
    width: 100%; /* Ensure the image takes up the full width of the flip card */
    height: 100%; /* Ensure the image takes up the full height of the flip card */
    border-radius: 8px;
}

/* Back of the card (text side) */
.flip-card-back {
    background-color: #333;
    color: white;
    transform: rotateY(180deg);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    text-align: center;
}

.text {
    max-width: 70%;
    padding: 20px;
}

h2 {
    margin-top: 0;
}
.jewe{
     width:100%;
     
}
.jewe p{
    
    text-align: justify;
    margin: 0 20px;
      font-family:emoji;
    margin-left: 122px;
    margin-right: 92px;
    font-size:21px;
    margin-bottom: 6px;
}
/* Responsive Design */
@media (max-width: 768px) {
    .director-info {
        flex-direction: column;
        align-items: center;
        padding: 10px;
    }

    .image-container {
        width: 100%;
        max-width: 300px;
        margin-bottom: 20px;
    }

    .flip-card-front img {
        width: 100%;
        height: 100%;
    }

    .text {
        max-width: 100%;
        padding: 10px;
        text-align: center;
    }

    .page-title {
        font-size: 1.8em;
    }
    .direc {
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    gap: 33px;
    flex-direction: column;
}
.banner-img {
  width: 100%;
  height: auto;
  max-height: 450px;
  object-fit: cover;
  filter: brightness(100%);
  margin-top:108px;
}
.jewe{
     width:100%;
}
.jewe p{
    
    text-align: justify;
    margin: 0 20px;
    font-size:19px;
    margin-left: 1px;
    margin-right: 2px;
    margin-bottom: 31px;
}

}
h3{
    text-align :center;
      font-family:emoji;
      font-size:26px;
      font-weight:600px
}
