/* assets/css/style.css */

.nav-link {
    position: relative;
    padding-bottom: 0.25rem;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: transparent;
    transition: background-color 0.3s ease;
}

.nav-link:hover::after {
    background-color: #930108;
}

.nav-link.active::after {
    background-color: #930108;
}

.footer-link:hover {
    color: #930108;
}
/* General button styling */
button {
    font-weight: bold;
    background-color: #930108;
    color: white;
    transition: background-color 0.3s ease;
}

button:hover {
    background-color: #780006;
}

/* Footer hover effect */
.footer-link:hover {
    color: #930108;
}

/* Navigation underline on hover and active state */
.nav-link {
    position: relative;
    padding-bottom: 4px;
}

.nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0%;
    height: 2px;
    background-color: #930108;
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* Form elements reset for focus */
input:focus,
select:focus,
textarea:focus,
button:focus {
    outline: none !important;
    box-shadow: none !important;
    border: none !important;
}
form,
section {
    border: none !important;
    box-shadow: none !important;
}
.btn-back {
    display: inline-block !important;
    visibility: visible !important;
    opacity: 1 !important;
    background-color: red !important;
    color: white !important;
    padding: 10px !important;
    border: 2px solid black !important;
}