body {
    background-color: #1a1f36; /* Dark blue background for the body */
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #3473b3; /* Light text color for better contrast */
}

.container {
    background-color: #2a2e47; /* Slightly lighter blue for containers */
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
}

.timeline {
    position: relative;
    margin: 0 auto;
    padding: 40px 0;
    width: 90%;
    background: #2a2e47; /* Dark blue background for the timeline */
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 100%;
    background: #3b4a6b; /* Accent blue for the timeline line */
    z-index: 1;
}

.timeline-item {
    position: relative;
    width: calc(50% - 30px);
    padding: 20px;
    background: #2e3550; /* Dark blue background for timeline items */
    border: 1px solid #3b4a6b; /* Border with accent blue */
    border-radius: 8px;
    margin-bottom: 20px;
    transition: transform 0.3s, opacity 0.3s, box-shadow 0.3s;
    color: #d1d5db; /* Light text color */
}

.timeline-item.left {
    float: left;
    clear: both;
    transform: translateX(-30px);
}

.timeline-item.right {
    float: right;
    clear: both;
    transform: translateX(30px);
}

.timeline-item::after {
    content: '';
    position: absolute;
    top: 20px;
    width: 15px;
    height: 15px;
    background: #2e3550;
    border: 3px solid #3b4a6b; /* Accent blue border */
    border-radius: 50%;
    z-index: 1;
}

.timeline-item.left::after {
    right: -8px;
}

.timeline-item.right::after {
    left: -8px;
}

.timeline-item h4 {
    color: #84a9ff; /* Light blue heading */
    font-size: 18px;
    margin-bottom: 8px;
}

.timeline-item p {
    margin: 0;
    font-size: 14px;
    color: #d1d5db; /* Light text for paragraphs */
}

.timeline-item.show {
    transform: translateX(0);
    opacity: 1;
    box-shadow: 0 8px 16px rgba(56, 69, 112, 0.5); /* Shadow with blue tint */
}

.timeline-item:hover {
    box-shadow: 0 8px 16px rgba(56, 69, 112, 0.7); /* Enhanced shadow on hover */
}

.btn-primary, .btn-info {
    background-color: #3b4a6b; /* Dark blue for buttons */
    border-color: #506488; /* Slightly lighter border */
    color: #d1d5db; /* Light text on buttons */
    border-radius: 20px;
    padding: 8px 20px;
    transition: background-color 0.3s, box-shadow 0.3s;
}

.btn-primary:hover, .btn-info:hover {
    background-color: #506488; /* Lighter blue on hover */
    box-shadow: 0 4px 12px rgba(56, 69, 112, 0.5); /* Blue shadow on hover */
}

.navbar, .modal-content {
    background-color: #2e3550 !important; /* Dark blue background for navbar and modals */
    border: none;
}

.navbar .navbar-brand img {
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}

.navbar .navbar-nav .nav-link {
    color: #d1d5db; /* Light color for nav links */
}

.navbar .navbar-nav .nav-link:hover {
    color: #84a9ff; /* Light blue on hover */
}

.modal-header, .modal-footer {
    border-bottom: 1px solid #506488; /* Border for modal headers and footers */
}

.btn-close {
    filter: invert(100%); /* Light color for close button */
}
.timeline {
    position: relative;
    margin: 0 auto;
    padding: 40px 0;
    width: 90%;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 100%;
    background: #007bff;
    z-index: 1;
}

.timeline-item {
    position: relative;
    width: calc(50% - 30px);
    padding: 20px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    margin-bottom: 20px;
    transition: transform 0.3s, opacity 0.3s, box-shadow 0.3s;
}

.timeline-item.left {
    float: left;
    clear: both;
    transform: translateX(-30px);
}

.timeline-item.right {
    float: right;
    clear: both;
    transform: translateX(30px);
}

.timeline-item::after {
    content: '';
    position: absolute;
    top: 20px;
    width: 15px;
    height: 15px;
    background: #fff;
    border: 3px solid #007bff;
    border-radius: 50%;
    z-index: 1;
}

.timeline-item.left::after {
    right: -8px;
}

.timeline-item.right::after {
    left: -8px;
}

.timeline-item h4 {
    color: #007bff;
    font-size: 18px;
    margin-bottom: 8px;
}

.timeline-item p {
    margin: 0;
    font-size: 14px;
    color: #555;
}

.timeline-item.show {
    transform: translateX(0);
    opacity: 1;
    box-shadow: 0 8px 16px rgba(0, 123, 255, 0.2);
}

.timeline-item:hover {
    box-shadow: 0 8px 16px rgba(0, 123, 255, 0.4);
}

.btn-primary, .btn-info {
    border-radius: 20px;
    padding: 8px 20px;
    transition: background-color 0.3s, box-shadow 0.3s;
}

.btn-primary:hover, .btn-info:hover {
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.2);
}

/* Navbar styling */
.navbar {
    background-color: #2e3550; /* Dark blue background for navbar */
    border: none;
}

.navbar .navbar-brand img {
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}

.navbar .navbar-nav .nav-link {
    color: #d1d5db; /* Light color for nav links */
    font-weight: 500;
    transition: color 0.3s;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: #84a9ff; /* Light blue on hover and active link */
}

.navbar .navbar-text {
    color: #d1d5db; /* Light text color for navbar items */
}

.navbar-toggler {
    border-color: #506488; /* Border color for the toggler button */
}

.navbar-toggler-icon {
    filter: invert(80%); /* Light color for the toggler icon */
}

/* Dropdown menu styling */
.dropdown-menu {
    background-color: #2e3550; /* Dark blue background for dropdown */
    border: none;
    box-shadow: 0 4px 12px rgba(56, 69, 112, 0.5); /* Blue shadow for dropdown */
}

.dropdown-item {
    color: #d1d5db; /* Light color for dropdown items */
}

.dropdown-item:hover {
    background-color: #506488; /* Lighter blue background on hover */
    color: #ffffff; /* White text on hover */
}

.dropdown-item.text-danger {
    color: #e57373; /* Light red for logout option */
}

.dropdown-item.text-danger:hover {
    background-color: #ff6f61; /* Red hover effect for logout */
    color: #ffffff;
}

/* Button styling for dropdown toggle */
.btn-outline-secondary {
    border-color: #506488; /* Border color for the button */
    color: #d1d5db; /* Light text color */
    transition: background-color 0.3s, color 0.3s, box-shadow 0.3s;
}

.btn-outline-secondary:hover {
    background-color: #506488; /* Lighter blue on hover */
    color: #ffffff; /* White text on hover */
    box-shadow: 0 4px 12px rgba(56, 69, 112, 0.5); /* Blue shadow on hover */
}

