/*  ADDITIONAL CSS BY EMMA UKPONG */

/* ----------------------------------------------------- */
/*                  YOUTUBE VIDEO                         */
/* ----------------------------------------------------- */
.video-wrapper {
    margin-bottom: 20px; /* Space between videos */
}

.video-container {
    position: relative;
    width: 100%;
    height: 250px;
    background-size: cover;
    background-position: center;
    cursor: pointer;
    border-radius: 10px 10px 0 0;
    overflow: hidden;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    color: white;
    text-align: center;
    transition: opacity 0.3s ease;
}

.play-button {
    font-size: 50px;
    background: rgba(255, 255, 255, 0.7);
    color: red;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: 0.3s;
}

.play-button:hover {
    background: rgba(255, 255, 255, 1);
}

/* Base div for Speaker Name */
.video-footer {
    background-color: rgb(0, 0, 0); /* Light Blue */
    color: white;
    text-align: center;
    padding: 10px;
    font-size: 16px;
    font-weight: bold;
    border-radius: 0 0 10px 10px;
}

/* Custom Modal Styling */
.modal {
    display: none; /* Ensure modal is hidden initially */
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
}

.modal-content {
    position: relative;
    background: black;
    padding: 20px;
    width: 80%;
    max-width: 800px;
    border-radius: 10px;
}

.modal iframe {
    width: 100%;
    height: 450px;
    border-radius: 10px;
}

.close {
    position: absolute;
    top: 10px;
    right: 20px;
    color: white;
    font-size: 25px;
    cursor: pointer;
}

/* ----------------------------------------------------- */
/*                  TABS                       */
/* ----------------------------------------------------- */
 /* Custom Tabs Styling */
 /*  */
/* Hide the first tab */
.nav-tabs > li:first-child {
    display: none !important;
}

/* Style for non-active tabs */
.nav-tabs > li > a {
    background-color: white !important;
    color: #03548d !important; /* Blue text */
    border: none !important; /* Remove all borders */
    border-radius: 0px !important; /* Keep normal shape */
    padding: 10px 15px !important; /* Ensure padding consistency */
}

/* Remove any leftover border from Bootstrap */
.nav-tabs > li {
    border: none !important;
}

/* Make the active tab stand out */
.nav-tabs > li.active > a,
.nav-tabs > li.active > a:hover,
.nav-tabs > li.active > a:focus {
    background-color: #03548d !important; /* Blue background */
    color: white !important; /* White text */
    border: none !important; /* Remove borders */
    border-radius: 0px 20px 0 0 !important; /* Curve top-right corner */
}

/* Ensure proper border styling */
.nav-tabs {
    border-bottom: 1px solid #03548d !important; /* Add a bottom border */
    border-left: none !important; /* Remove left border */
    border-right: none !important; /* Remove right border */
}

/* Curve the rightmost tab */
.nav-tabs > li:last-child > a {
    border-top-right-radius: 10px !important;
}

/* Ensure no left border is visible */
.nav-tabs > li > a {
    border-left: none !important;
}

/* --------------------------------------------- */
/* Style for News, Events and Press Release */
/* ---------------------------------------------- */
.object-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px; /* Uniform spacing */
}

.object-title a {
    color: rgb(100, 95, 95) !important;
    text-decoration: none; /* Optional: Removes underline */
    text-transform:capitalize !important;
}


.object-item {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    /* background:rgba(2, 74, 113, 0.5); */
    background: #f9f9f9;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    height: 100%;
    min-height: 500px; /* Ensures uniform height */
    margin-bottom: 20px;
}

.object-image img {
    width: 100%;
    height: 200px; /* Ensures images are uniform */
    object-fit: cover;
    border-radius: 8px 8px 0 0;
}

.object-content {
    padding: 15px;
    flex-grow: 1; /* Makes content take up remaining space */
}

.object-title {
    font-size: 18px;
    font-weight: bold;
    color: black !important;
    text-align: justify;
    min-height: 60px; /* Ensures equal height */
    display: flex;
    align-items: left;
    justify-content:left;
}

.object-footer {
    padding: 15px;
    display: flex;
    justify-content: center;
    background: #fff;
    border-top: 1px solid #ddd;
}

.read-more {
    border: 2px solidrgb(58, 58, 59);
    color: #007bff;
    padding: 8px 15px;
    border-radius: 5px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.read-more:hover {
    /* background: #007bff; */
    border:1px solid grey;
    /* color: lightgrey; */
    text-decoration: none;
}

/* Fix Bootstrap column alignment issue */
/* .row > div {
    display: flex;
} */


.object-image {
    position: relative; /* Allows absolute positioning inside */
}

.object-date {
    position: absolute;
    bottom: 10px; /* Distance from the bottom */
    left: 50%;
    transform: translateX(-50%); /* Center the text */
    background: rgba(38, 33, 182, 0.7); /* Dark semi-transparent background */
    color: white;
    padding: 5px 15px;
    font-size: 15px;
    font-weight: bold;
    border-radius: 5px;
}

