/* General font-size adjustments for responsiveness */
html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}
/* Custom Navbar Toggler Styles */
.navbar-toggler {
    border-color: rgba(255, 255, 255, 0.5); /* Enhance the border visibility */
}

    .navbar-toggler .navbar-toggler-icon {
        background-color: rgba(255, 255, 255, 1); /* Change background to white for visibility */
    }

/* Focus styles for form controls and buttons */
.btn:focus,
.btn:active:focus,
.btn-link.nav-link:focus,
.form-control:focus,
.form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

/* Ensure html and body use full height */
html {
    position: relative;
    min-height: 100%;
}

body {
    margin-bottom: 60px;
}

/* Custom navigation bar styles */
.navbar {
    background-color: #1e293b; /* Modern dark slate */
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
    backdrop-filter: blur(10px); /* Glassmorphism effect if supported */
}

/* Navigation link styles */
.nav-link {
    color: rgba(255, 255, 255, 0.8) !important;
    padding: 0.5rem 1rem; /* Add padding for better spacing */
    font-weight: 500; /* Medium weight for better visibility */
    transition: all 0.2s ease-in-out; /* Smooth transition for hover effects */
    border-radius: 0.375rem;
    margin: 0 2px;
}

    /* Active and hover state for navigation links */
    .nav-link.active, .nav-link:hover {
        color: #ffffff !important; /* Lighter color for active and hover state */
        background-color: rgba(255, 255, 255, 0.1); /* Subtle background change on hover */
        transform: translateY(-1px);
    }

/* Custom select dropdown styling */
.form-select {
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
    cursor: pointer;
}

.form-select:focus {
    background-color: rgba(255, 255, 255, 0.15);
    color: white;
    border-color: rgba(255, 255, 255, 0.5);
    box-shadow: 0 0 0 0.25rem rgba(255, 255, 255, 0.1);
}

.form-select option {
    background-color: #1e293b;
    color: white;
}

/* Extra styles for navbar brand */
.navbar-brand {
    font-weight: 700;
    font-size: 1.4rem; /* Increase font-size for better visibility */
    letter-spacing: -0.5px;
}

/* Card Hover Effect */
.hover-card {
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

.hover-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05) !important;
}
