/* Ensure the text in <h4> wraps correctly */
.wrapped-text {
    word-wrap: break-word;
    overflow-wrap: break-word;
    word-break: break-word;
    max-width: 90%;
    margin: 0 auto;
}

/* Apply the background image to the whole body */
body {
    background-image: url('/images/QSL_NF2RS_Front.jpg'); /* Path to your image */
    background-size: cover;
    background-position: center top 80px; /* Moves the background image down by 80px */
    background-attachment: fixed;
    color: white;
    margin: 0;
    padding: 0;
}

/* Navbar Styling */
.navbar {
    position: fixed; /* Keep navbar at the top */
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.8); /* Ensure readability */
    z-index: 1000;
    padding: 10px 0;
}

/* Push content down so it doesn't get hidden behind the fixed navbar */
.content {
    padding-top: 80px; /* Adds space below the fixed navbar */
}

/* Style the Home Logo */
.home-logo {
    width: 100px; /* Increase size */
    height: auto;
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 10;
}

/* Hero Section */
.hero {
    padding: 100px 0; /* Adjusted for spacing */
    text-align: center;
    color: white;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 100vh; /* Ensures hero section takes full screen */
}

.hero h1 {
    font-size: 3rem;
    font-weight: bold;
}

.hero h4 {
    font-size: 1.5rem;
    font-weight: 400;
    margin: 0 20px;
    max-width: 90%;
}

/* About Section */
section {
    background-color: rgba(0, 0, 0, 0.6);
    color: white;
    padding: 20px;
}

/* Footer Styling */
footer {
    background-color: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 20px 0;
}

/* Advisory Team Section */
/* Ensure all cards in the row have equal height */
.row {
    display: flex;
    flex-wrap: wrap;
}

.card {
    display: flex;
    flex-direction: column;
    height: 100%;
    /* Set the card to take up full height available */
}

.card-body {
    flex-grow: 1; /* Ensures the body takes available space */
}

/* .row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.card {
    border: none;
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border-radius: 10px;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex-grow: 1; /* Allow cards to stretch */
}

.card-body {
    padding: 10px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
}
 */

.card-img-top {
    border-radius: 10px;
    width: 100%;
    height: 200px; /* Set a fixed height for images */
    object-fit: cover;
    margin: 0 auto;
}

.card-title {
    font-size: 1.25rem;
    font-weight: bold;
    text-align: center;
    margin-bottom: 10px;
}

.card-text {
    font-size: 1rem;
    text-align: center;
}

/* Optimize image size for better fit */
.team-photo {
	width: 100%;
    max-width: 500px;
    height: 350px;
    object-fit: cover; /* Maintain aspect ratio without distortion */
}

/* Ensure responsive grid for members */
@media (max-width: 768px) {
    .row-cols-md-4 {
        grid-template-columns: 1fr; /* Stack members vertically on smaller screens */
    }
}
