/* Set homepage background to black */
.homepage-body {
    background-color: black;
    color: white; /* Optional: Set text color to white for better contrast */
    padding: 20px 0; /* Adds spacing */
}

/* Header Section */
.header-section {
    background-color: black; /* Full black background */
    padding: 20px 0; /* Adds spacing */
}

/* Adjust Logo */
.custom-logo {
    max-width: 250px; /* Prevents the logo from getting too large */
    height: auto;
    margin-bottom: 10px; /* Adds space below the logo */
}

/* Navbar */
.navbar {
    background-color: black !important; /* Keeps navbar black */
    border-bottom: none; /* REMOVE GREEN LINE */
    padding: 10px 0; /* Add spacing to prevent overlap */
}

/* Navbar Links */
.navbar-nav .nav-link {
    color: white !important;
    font-weight: 500;
    text-transform: uppercase;
    padding: 10px 15px; /* Increases spacing between links */
}

/* Navbar Links Hover Effect */
.navbar-nav .nav-link:hover {
    color: #27ac3d !important;
}

/* Ensure navbar and header are properly spaced */
@media (max-width: 768px) {
    .custom-logo {
        max-width: 300; /* Adjust logo size for smaller screens */
    }
    .navbar-nav {
        text-align: center; /* Center navbar links in mobile view */
    }
}

/* homepage-body */
.homepage-body {
    background-color: #000000;
    padding: 20px 0; /* Adds spacing */
}


/* HOMEPAGE SLIDESHOW SECTION */
.slideshow-container {
    max-width: 800px;
    width: 100%;
    position: relative;
    margin: 0 auto;
    /* background: #f8f9fa; */
    padding: 20px;
    /* border: 1px solid #ddd; */
    /* height: 500px; */  /* Add fixed height to maintain consistent size */
    overflow: hidden;
    /*aspect-ratio: 16/9;  /* Set this to match your typical image ratio */
}

.mySlides {
    display: none;
    height: 100%;
    width: 100%;
    position: relative;
        display: flex;
    align-items: center;
    justify-content: center;
}

.mySlides img {
    width: 100%;
    height: 100%;
    object-fit: contain; /* This maintains aspect ratio */
    display: block;
    /* margin: 0 auto; */
        margin: auto; /* Centers both vertically and horizontally */

}

.text {
    position: absolute;
    bottom: 0;
    width: 100%;
        /* background: rgba(0,0,0,0.5); */
    color: white;
    padding: 8px;
    text-align: center;
}

.mySlides:first-child {
    display: block; /* Show first slide */
}

/* Navigation arrows */
.prev, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    margin-top: -22px;
    color: #333;
    font-weight: bold;
    font-size: 18px;
    transition: 0.6s ease;
    border-radius: 3px;
    user-select: none;
    background: rgba(255,255,255,0.8);
    z-index: 2;
}

.next {
    right: 0;
}

.prev {
    left: 0;
}

/* PERSON DETAIL */
.card {
    margin-bottom: 0;
    padding: 0;
    transition: transform 0.2s ease-in-out;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

a.text-decoration-none {
    color: inherit;
}

.card-img-top {
    max-width: 150px; /* Set the maximum width */
    max-height: 150px; /* Set the maximum height */
    width: auto; /* Maintain aspect ratio */
    height: auto; /* Maintain aspect ratio */
}

.research-img {
    max-height: 200px;
    object-fit: cover;
    width: 100%;
    border-radius: 6px;
}

.gallery-img {
    max-height: 200px;
    object-fit: cover;
    width: 100%;
    border-radius: 6px;
}