html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.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;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}


/* Dynamic Header CSS */
.hero-section {
    height: 300px;
    position: relative;
    background-blend-mode: darken;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

    .hero-section h1,
    .hero-section p {
        color: #fff;
    }
/* ------------------- */


/* Info Cards*/
/* Icon Container Styles */
.icon-container {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

/* Card Hover Effect */
.card:hover {
    transform: translateY(-5px);
    transition: transform 0.3s;
}

/* Button Hover Effect */
.btn {
    transition: background-color 0.3s, color 0.3s;
}

    .btn:hover {
        color: #fff;
    }

.btn-outline-primary:hover {
    background-color: #0d6efd;
}

.btn-outline-secondary:hover {
    background-color: #6c757d;
}

/* Disabled Card Styles */
.disabled-card {
    opacity: 0.6;
    pointer-events: none;
}

/* New Styles for Additional Cards */
.btn-outline-dark:hover {
    background-color: #343a40;
}
/* ---------------------*/



/* Underline Effect for Navbar Links */
.underline-hover {
    position: relative;
    display: inline-block;
    padding-bottom: 5px;
    transition: color 0.3s ease-in-out;
}

    .underline-hover::after {
        content: "";
        position: absolute;
        width: 100%;
        height: 2px; /* Thickness of the underline */
        bottom: 0;
        left: 0;
        background-color: white; /* Underline color */
        transform: scaleX(0);
        transform-origin: center;
        transition: transform 0.3s ease-in-out;
    }

    .underline-hover:hover::after {
        transform: scaleX(1);
    }

/* Active Link Style */
.active-link {
    font-weight: bold;
    color: #ffc107 !important; /* Bootstrap 'warning' color for emphasis */
}

    .active-link::after {
        transform: scaleX(1); /* Keeps underline always visible on active links */
    }
/* Highlight Login button with gold background when active */
.active-button {
    background-color: gold !important;
    border: 2px solid darkgoldenrod !important;
    color: black !important; /* Ensure text remains readable */
    font-weight: bold;
}

    /* Hover effect for the login button */
    .active-button:hover {
        background-color: darkgoldenrod !important;
        border-color: black !important;
        color: white !important;
    }





    /*Field set and making create pages::::*/
/* General Styling for Fieldsets */
fieldset {
    background-color: #f9f9f9; /* Light background for fieldset */
    border: 1px solid #ddd; /* Subtle border */
    border-radius: 10px; /* Rounded corners */
    padding: 20px; /* Padding inside fieldset */
    margin-bottom: 30px; /* Spacing between fieldsets */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); /* Soft shadow */
}

legend {
    background-color: #5a5a5a; /* Dark gray background */
    color: #ffffff; /* White text */
    padding: 8px 15px; /* Padding inside legend */
    border-radius: 8px; /* Rounded corners */
    font-size: 1.2rem; /* Slightly larger font size */
    font-weight: bold; /* Bold font for emphasis */
    margin-bottom: 10px; /* Space below legend */
}

/* Styling for Labels */
label {
    font-weight: bold; /* Bold text */
    display: block; /* Ensure labels are on their own line */
    margin-bottom: 5px; /* Add space between label and input */
    font-size: 0.95rem; /* Slightly larger text */
    color: #333; /* Darker color for readability */
}

/* Styling for Inputs, Selects, and Textareas */
input, select, textarea {
    width: 100%; /* Full width for consistency */
    padding: 10px; /* Comfortable padding */
    font-size: 0.95rem; /* Slightly larger font size */
    border: 1px solid #ccc; /* Subtle border */
    border-radius: 5px; /* Rounded corners */
    background-color: #ffffff; /* White background */
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1); /* Subtle inner shadow */
    transition: border-color 0.3s ease-in-out, box-shadow 0.3s ease-in-out; /* Smooth transition for focus effect */
}

    /* Styling for Inputs and Selects on Focus */
    input:focus, select:focus, textarea:focus {
        border-color: #007bff; /* Highlight border */
        box-shadow: 0 0 5px rgba(0, 123, 255, 0.5); /* Glow effect */
        outline: none; /* Remove default outline */
    }

/* Styling for Required Asterisk */
.required-asterisk {
    color: #ff4d4f; /* Vibrant red for visibility */
    font-size: 0.9rem; /* Slightly smaller size */
}

/* Styling for Error Messages */
.text-danger {
    color: #ff4d4f; /* Red for error text */
    font-size: 0.85rem; /* Slightly smaller text */
    margin-top: 5px; /* Space above error message */
}

