/* Global Color Variables */
:root {
    --primary-color: #ff7f50; /* Coral Orange */
    --secondary-color: #ffffff; /* White */
    --text-color: #343a40; /* Dark Gray */
    --muted-text-color: #b5b5b5; /* Light Gray */
    --background-color: #f4f4f4; /* Light Background */
}

/* Basic Reset and Global Styles */
body, html {
    margin: 0;
    padding: 0;
    font-family: 'Montserrat', Arial, sans-serif;
    background-color: var(--background-color);
}

main > .container {
    padding: 70px 15px 20px;
}


/* Footer */
#footer {
    background-color: var(--primary-color);
    color: #ffffff;
    font-size: 0.8rem;
    padding: 5px 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.footer-content {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    width: 100%;
    max-width: 1200px;
}

.footer-credit a {
    color: #ffffff;
    text-decoration: none;
}

.footer-credit a:hover {
    text-decoration: underline;
}

/* Responsive Design for Footer */
@media (max-width: 768px) {
    #footer {
        flex-direction: column;
        font-size: 0.7rem;
    }

    .footer-content {
        flex-direction: column;
        align-items: center;
        width: 100%;
    }

    .footer-credit {
        margin-top: 10px;
    }
}


.text-primary { color: var(--primary-color) !important; }
.text-secondary { color: var(--secondary-color) !important; }
.text-muted { color: var(--muted-text-color) !important; }

/* Breadcrumb and Page Heading */
.breadcrumb-wrapper {
    width: 100%;
    height: 300px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.page-heading {
    text-align: center;
}

.breadcrumb-items {
    list-style: none;
    padding: 0;
    margin: 0;
}

.breadcrumb-items li {
    display: inline;
    margin-right: 10px;
}

.breadcrumb-items li a {
    text-decoration: none;
    transition: color 0.3s;
}

.breadcrumb-items li a:hover { color: #ddd; }


/* Enhanced Panel Styles */
.panel {
    margin-bottom: 24px;
    border: 1px solid #ccc;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1); /* Soft shadow for better visibility */
    background-color: #ffffff; /* White background for clarity */
}

.panel-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #f8f9fa; /* Slightly lighter background */
    border-bottom: 1px solid #ddd;
    padding: 12px 18px; /* Increased padding for better spacing */
    font-weight: 600; /* Make title bolder for better readability */
    color: var(--text-color);
}

.panel-title {
    margin: 0;
    font-size: 1.1rem; /* Slightly larger font for titles */
}

.panel-body {
    padding: 20px; /* Add more padding for comfortable reading space */
    line-height: 1.6; /* Improved readability with line spacing */
    background-color: #fcfcfc; /* Subtle background for form clarity */
}

/* Enhanced Form Field Styles */
.form-control {
    border: 1px solid #ccc;
    border-radius: 4px;
    padding: 12px;
    font-size: 1rem;
    background-color: #ffffff; /* White background for fields */
    color: var(--text-color);
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.05); /* Inner shadow for a more defined input field */
}

.form-control:focus {
    border-color: var(--primary-color); /* Primary color focus */
    box-shadow: 0 0 5px rgba(255, 127, 80, 0.3); /* Soft focus glow */
    outline: none;
}

/* Additional Styles for Error Messages */
.help-block {
    color: #d9534f; /* Slightly darker red for contrast */
    font-size: 0.9rem;
    margin-top: 5px;
}



/* Adjust navbar brand text size on mobile */
@media (max-width: 768px) {
    .navbar-text {
        font-size: 0.8rem; /* Set a smaller font size for mobile */
        /* You can adjust the size as needed */
    }
}

/* CSS for the navigation text in two lines */
.navbar-title {
    display: flex;
    flex-direction: column;
    align-items: start; /* Aligns text to the left */
}

.navbar-text {
    font-size: 1.25rem; /* Adjust the size as needed */
    font-weight: bold;
    color: #333; /* Primary color for the main text */
}

.navbar-subtext {
    font-size: 0.9rem; /* Smaller font size for the second line */
    font-weight: normal;
    color: #666; /* Lighter color for the secondary text */
    margin-top: -2px; /* Adjust spacing between lines if needed */
}


.close-button {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 24px;
    color: #ffffff; /* Adjust color if needed */
    background-color: rgba(0, 0, 0, 0.5); /* Add background for contrast */
    padding: 5px 10px;
    text-decoration: none;
    z-index: 1050; /* Higher z-index to bring it to the front */
    border-radius: 4px;
}

.close-button:hover {
    color: #ff0000; /* Optional: change color on hover */
    background-color: rgba(0, 0, 0, 0.7);
}

