:root {
    --dark-blue: #05204a;
    --light-blue: #1e90ff;
}

.navbar {
    background-color: var(--dark-blue) !important;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 1000;
}

.navbar-nav .nav-item {
    margin-left: 1rem;
}

.navbar-nav .nav-link {
    color: #fff !important;
    position: relative;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--light-blue);
    transition: width 0.3s ease;
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
    width: 100%;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--light-blue) !important;
}

.navbar-brand {
    font-weight: bold;
    font-size: 1.5rem;
}

.hero-section {
    background-image: url('/images/background.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 100px 0;
    position: relative;
    margin-top: -4px; /* To cover the gap between navbar and hero */
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-section h1 {
    font-size: 3rem;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-section p {
    font-size: 1.5rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

main section {
	margin-top: 1em
}

footer {
    background-color: var(--dark-blue);
    box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 1000;
}

/* New styles for buttons and cards */
.btn-primary {
    background-color: var(--dark-blue);
    border-color: var(--dark-blue);
}

.btn-primary:hover, .btn-primary:focus {
    background-color: #083270;
    border-color: #083270;
}

.card {
    display: flex;
    flex-direction: column;
	margin-top: 20px;
    background-color: var(--light-background, #f8f9fa);
    border: 1px solid var(--border-color, #dee2e6);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.card-body {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
	padding: 20px;
}

.card-text {
    flex-grow: 1;
}

.card .btn {
    align-self: flex-start;
    margin-top: auto;
}

.card-title {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.card-link {
    position: relative;
    display: inline-block;
    color: var(--primary-color, #007bff);
    text-decoration: none;
    padding-bottom: 2px;
    transition: color 0.3s ease;
}

.card-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--primary-color, #007bff);
    transition: width 0.3s ease;
}

.card-link:hover::after,
.card-link:focus::after {
    width: 100%;
}

.card-link:hover,
.card-link:focus {
    color: var(--hover-color, #0056b3);
}

.card-link:hover {
    color: var(--hover-color, #0056b3);
}

.card li {
    margin-bottom: 0.5rem;
    padding-left: 1.5rem; /* Space to accommodate the bullet */
    position: relative;
}

.card li::before {
    content: "\25A1"; /* Unicode for hollow square */
    position: absolute;
    left: 0;
    font-size: 1rem;
    line-height: 1;
    color: var(--primary-color, #000000); /* Matches the color of the links */
}
