/* Top navigation bar styles */
.navbar {
    /*字体加粗*/
    font-weight: bold;
    background-color: #fff;
    /* Change the background color as needed */
    box-shadow: 0 2px 4px rgba(0, 0, 0, .1);
    /* Add some shadow for depth */
}

.navbar-brand {
    display: flex;
    align-items: center;
    margin-right: 50px;
}

.navbar-brand::before {
    display: block;
    margin-right: 1px;
    /* Space between icon and brand text */
}

/* Navbar link styles */
.nav-link {
    position: relative;
    padding-left: 20px !important;
    /* Add padding to the left of nav links */
}

.nav-link::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    height: 15px;
    /* Height of the dashed line */
    border-right: 2px dashed #ccc;
    /* Style for the dashed line */
    transform: translateY(-50%);
    margin-right: -5px;
}

/* Last item does not need the dashed line */
.nav-item:last-child .nav-link::after {
    display: none;
}

/* Hover and active states */
.nav-link:hover,
.nav-item.active .nav-link {
    background-color: #f8f8f8;
    /* Light gray background on hover */
}

.navbar-brand .fas {
    margin-right: 0.5em;
    /* 添加一些右侧外边距 */
}


/* Adjustments for collapsed menu on smaller screens */
@media (max-width: 992px) {
    .navbar-collapse {
        background-color: #f8f8f8;
    }

    .nav-link::after {
        display: none;
        /* Hide the dashed lines on small screens */
    }

    .nav-link {
        padding-left: 15px !important;
        /* Adjust left padding on small screens */
    }
}

.carousel-item {
    transition: transform 0.8s ease, opacity 0.8s ease; /* 调整时间为所需的过渡时间 */
  }
  

/* Carousel image styling */
.carousel-item img {
    height: 350px;
    /* Adjust height or use 'auto' to keep the aspect ratio */
    object-fit: cover;
    /* Cover the area without breaking the aspect ratio */
}




/* Ensure full height columns */
.row {
    min-height: 400px;
    /* Adjust as needed */
    margin-bottom: 30px;
    /* Add some space between rows */
}

/* Sidebar menu */
.list-group {
    border-radius: 0;
    overflow: hidden;
    margin-top: 50px;
    /* Adjust as needed */
}

.list-group-item {
    border: none;
    border-bottom: 1px solid #ccc;
    /* Gray bottom border */
    background-color: #f8f8f8;
    /* Light gray background */
    color: #333;
    /* Dark text color */
    padding: 15px 20px;
    font-size: 16px;
    /* Adjust font size as needed */
}

/* Active and hover states with darker background */
.list-group-item-action.active,
.list-group-item-action:hover {
    background-color: #486ea7;
    /* Green background for active/hover state */
    color: white;
    /* White text for active/hover state */
    text-decoration: none;
}

/* Adjustments for the first item to have a colored top border */
.list-group-item:first-child {
    border-top: 3px solid #405d8b;
    /* Green top border for the first item */
}

/* Custom arrow/chevron */
.list-group-item::after {
    content: "\00bb";
    /* Unicode right-pointing arrow */
    float: right;
}

/* The main title for the sidebar menu */
.list-group .title {
    background-color: #395b89;
    /* Green background */
    color: white;
    /* White text color */
    padding: 15px 20px;
    margin-top: -0px;
    /* Adjust as needed */
    font-size: 14px;
    /* Adjust font size as needed */
    font-weight: bold;
}

/* Removing bottom border from the last item */
.list-group-item:last-child {
    border-bottom: none;
}

/* Content Box styling */
.content-box {
    border: 1px solid #ddd;
    padding: 15px;
    margin-top: 49px;
    width: 850px;
    /* Aligns the top edge with the sidebar menu */
}

/* Title within the content box, assuming you want it styled like a heading */
.content-box h2 {
    color: rgb(7, 7, 7);
    /* Red, or choose your color */
    margin-bottom: 10px;
}

/* Content box paragraphs */
.content-box p {
    margin-bottom: 10px;
}

/* Adjust padding-top of the first element if it has a different spacing */
.content-box p:first-child {
    padding-top: 5px;
    /* Adjust as needed */
}

/* Content box last paragraph */
.content-box p:last-child {
    margin-bottom: 0;
}

footer {
    background-color: #0a0909;
    /* Light grey background */
    color: #523636;
    /* Dark grey text */
    padding: 10px 0;
    position: relative;
    bottom: 0;
    width: 100%;
}
.carousel-caption {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    /* background: rgba(0,0,0,0.5); Dark semi-transparent background for text */
    color: #fff; /* White text color */
    padding: 10px; /* Some padding around the text */
    text-align: left; /* Align text to the left */
    max-width: 450px; /* Maximum width of the text box */
    margin-left: 160px;
    height: 30%; /* Full height of the carousel */
  }
  
  .carousel-caption h5 {
    color: #FF4500;
    font-weight: bold;
    font-size: 44px; /* Large font size for the main heading */
    margin: 0 0 10px; /* Space between heading and paragraph */
  }
  
  .carousel-caption p {
    color: #ee2801;
    font-weight: bold;
    margin-top: 10px;
    font-size:26px; /* Smaller font size for the paragraph */
  }
  
  
