/* Updated Navbar Styling */
#nav-bar {
    position: fixed;
    top: 0;
    z-index: 1000;
    width: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8));
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.navbar {
    background: transparent;
    justify-content: center;
    padding: 10px 0;
}

.navbar-brand {
    color: #fff;
    font-size: 1.8rem;
    font-weight: bold;
    text-transform: uppercase;
    margin-right: auto;
}

.navbar-nav {
    justify-content: center;
    flex-direction: row;
}

.navbar-nav .nav-item {
    margin: 0 10px;
}

.navbar-nav .nav-link {
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    transition: color 0.3s ease-in-out;
}

.navbar-nav .nav-link:hover {
    color: #007bff;
}

.navbar-toggler {
    border: none;
}

/* Full-Screen Carousel Styling */
#slider {
    width: 100%;
    position: relative;
}

/* Carousel Container and Items */
.carousel,
.carousel-item,
.active {
    height: 100%;
}

.carousel-inner {
    height: 100%;
}

.carousel-item {
    background: rgba(0, 0, 0, 0.5);
    opacity: 0.8 !important;
    background-size: cover;
    height: 100%;
    background-size: 100% 100%;
    position: relative;
    transition-duration: 3s;
    width: 100%;
    background-position: center;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
}

.d-block {
    width: 100%;
    height: 100%;
    background-position: center;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
}

.img-fluid {
    width: 100%;
    height: 100%;
    background-position: center;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    background-size: cover;
    -o-background-size: cover;
}

/* Carousel Caption Styling */
.carousel-caption {
    top: 50%;
    transform: translateY(-50%);
    bottom: initial !important;
    color: white;
    text-align: center;
}

.carousel-caption h1 {
    color: white;
    font-style: bold;
    font-size: 42px;
    line-height: 1.5;
}

/* Objectives Section */
/* Objectives Section */
.objectives-section,
.methodology-section,
.results-section {
    padding: 60px 15px;
    background-color: #f9f9f9;
}

.bhv-section-heading {
    font-size: 2rem;
    font-weight: bold;
    color: #2c3e50;
    text-align: center;
    text-transform: uppercase;
    margin-bottom: 20px;
    border-bottom: 3px solid #2980b9;
    display: inline-block;
    padding-bottom: 10px;
}

.objectives-list {
    list-style: none;
    padding: 0;
    margin: 0 auto;
    max-width: 800px;
}

.objectives-list li {
    font-size: 1.2rem;
    color: #34495e;
    margin: 15px 0;
    padding: 15px 20px;
    background-color: #ffffff;
    border-radius: 8px;
    display: flex;
    align-items: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.objectives-list li:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

.objectives-list li i {
    font-size: 1.5rem;
    color: #3498db;
    margin-right: 15px;
}

/* Containers for Sections */
.container {
    padding: 20px 15px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Section Spacing */
.section-spacing {
    margin-top: 100px;
}


/* Media Query for Responsiveness */
@media only screen and (max-width: 300px) {
    #slider {
        height: 50vh !important;
    }

    .carousel-caption h1 {
        font-size: 24px;
    }
}

    /* Image Styling within Carousel */
    .carousel img,
    .img-fluid,
    .d-block {
        width: 100% !important;
        min-width: 100% !important;
        height: 100% !important;
        min-height: 100% !important;
        height: auto;
    }

    .nav-link {
        font-size: 0.9rem;
    }

    .objectives-section {
        padding: 30px 15px;
    }

    .objectives-list li {
        flex-direction: column;
        align-items: flex-start;
    }

    .objectives-list li i {
        margin-bottom: 10px;
    }
}
