:root {
    --navbar-height: 56px;
}

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.navbar {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
    font-weight: 600;
}

.nav-link {
    position: relative;
    padding: 0.5rem 1rem !important;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #fff;
}

main {
    flex: 1;
    padding-top: 70px;
}

.footer {
    margin-top: auto;
    background-color: #f8f9fa;
    border-top: 1px solid #dee2e6;
}

/* Card styles */
.card {
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.card-img-top {
    height: 200px;
    object-fit: cover;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .navbar-nav {
        margin-top: 1rem;
    }

    .nav-link.active::after {
        display: none;
    }

    .nav-link.active {
        background-color: rgba(255, 255, 255, 0.1);
        border-radius: 4px;
    }
}

/* Hero Section Styles */
.hero-section {
    position: relative;
    background-image: url('/images/Hero-Section-Picture.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 60vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.hero-section>* {
    position: relative;
    z-index: 2;
}

.hero-section h1,
.hero-section p {
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-section a.btn {
    border-radius: 4px;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
}

@media (max-width: 768px) {
    .hero-section {
        height: 60vh;
    }
}

.feature-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 200px;
}

.feature-card::before {
    /*content: '';*/
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.4);
    border-radius: 0.25rem;
    z-index: 1;
}

.feature-card>* {
    position: relative;
    z-index: 2;
}

.feature-card h3,
.feature-card p {
    color: white;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.feature-card a.btn {
    color: #343a40;
    background-color: rgba(255, 255, 255, 0.8);
    transition: background-color 0.3s ease, color 0.3s ease;
}

.feature-card a.btn:hover {
    background-color: white;
    color: #343a40;
}

/* Optional: Control the height of feature cards */
@media (max-width: 768px) {
    .feature-card {
        height: auto;
    }
}

.card {
    transition: transform 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
}

.list-group-item-action:hover {
    background-color: #f8f9fa;
}

.shadow-sm {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.075) !important;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-section {
        padding: 2rem 0 !important;
    }

    .hero-section h1 {
        font-size: 2.5rem;
    }

    .feature-card {
        margin-bottom: 1rem;
    }
}

.feature-card img {
    width: 100%;
    height: auto;
    border-radius: 0.25rem;
}