.video-container {
    position: relative;
    display: inline-block;
}

.video-container img {
    display: block;
    width: 100%;
    height: auto;
}

.video-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(0, 0, 0, 0.6);
    border-radius: 50%;
    padding: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-button:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

.play-icon {
    fill: white;
    width: 40px;
    height: 40px;
}


/* faculty */

.faculty-card {
    background-color: #ffffff;
    border-radius: 10px;
    /* box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); */
    text-align: center;
    padding: 15px;
    transition: transform 0.3s ease;
    width: 100%;
    /* width: 350px; */
}


.faculty-card:hover {
    transform: translateY(-5px);
}

.faculty-photo {
    width: 300px;
    /* border-radius: 50%; */
    height: 250px;
    /* max-width: 150px; */
    margin: 0 auto;
}

.faculty-info {
    margin-top: 10px;
}

.faculty-name {
    font-size: 15px;
    margin: 10px 0 5px;
    font-weight: bold;
    padding: 5px 0;
}

.faculty-title {
    color: #fff;
    background: #303f68;
    font-size: 14px;
    font-weight: 600;
    padding: 7px 0;
}

.principal-message {
    text-align: left;
    /* margin: 30px 0; */
    padding: 20px;
    background-color: #ffffff;
    border-radius: 10px;
    /* box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); */
    max-width: 800px;
}

.message-title {
    font-size: 1.5em;
    margin-bottom: 15px;
    font-weight: bold;
}

.message-content {
    font-size: 1em;
    color: #333;
    margin-bottom: 15px;
    line-height: 1.6;
}

.message-author {
    font-size: 1.1em;
    font-weight: bold;
    color: #555;
}

@media only screen and (max-width: 768px) {
    .faculty-card {
        width: 100%;
    }

    .faculty-title {
        width: 300px;
        margin: 0 auto;
    }

    .event-card {
        margin-top: 2rem;
    }
    .img-patron{
        width: 100vw !important; /* Full viewport width */ /* Full viewport height */
        float: none !important; /* Disable float to center the image */
        display: block; /* Display as block to take full width */
        margin: 0 1rem !important; /* Remove margins for fullscreen */
        padding:0 1rem !important;
        padding-bottom: 2rem !important;
    }
    
    .img-patroness{
        width: 100vw !important; /* Full viewport width */
        float: none !important; /* Disable float to center the image */
        display: block; /* Display as block to take full width */
        margin: 0 !important; /* Remove margins for fullscreen */
        padding:0 1rem !important;
        padding-top: 2rem !important;
        padding-bottom: 2rem !important;

    }

}


/* Event Card Styles */
.event-card {
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s ease;
    /* margin: 10px; */
}

.event-card:hover {
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.event-image {
    background-color: #000;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.event-image img {
    /* width: 100%; */
    height: auto;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.event-image:hover img {
    transform: scale(1.05);
    opacity: 0.9;
}

.event-title {
    color: #fff;
    text-align: center;
    background: #34436b;
    font-size: 16px;
    padding: 10px 0;
    margin: 0;
    /* position: absolute; */
    bottom: 0;
    /* width: 100%; */
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* bck */
/* Text Content Styles */
.text-content {
    width: 100%;
    margin-bottom: 30px;
}

.text-content h2 {
    font-size: 32px;
    color: #333;
    margin-bottom: 10px;
}

.text-content p {
    font-size: 16px;
    color: #555;
    line-height: 1.6;
}

/* Image Cards Styles */
.image-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    width: 100%;
    justify-content: space-between;
}

.card {
    position: relative;
    width: calc(25% - 15px);
    /* Adjusts to fit 4 in a row with some space */
    overflow: hidden;
    border-radius: 10px;
    transition: transform 0.3s;
    border: 5px solid #8b2c35;
    /* Dark red border */
}

.card img {
    width: 100%;
    height: auto;
    display: block;
}

.overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.5);
    height: 100%;
    width: 100%;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 10px;
}

.card:hover {
    transform: translateY(-5px);
}

.card:hover .overlay {
    opacity: 1;
}

.text {
    color: white;
    font-size: 18px;
    padding: 15px;
    text-align: center;
    width: 100%;
}

.header {
    position: relative;
    /* z-index: 99999;  */
}

/* Assuming Bootstrap 4 or later */

.event-section .event-image {
    width: 100%;
    height: 200px;
    /* Fixed height */
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.event-section .event-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Ensures images cover the area uniformly */
}
.img-patron{
    width: 242px;
    padding-right: 20px;
}