body {
    background-color: var(--nist-light);
    font-family: "Segoe UI", sans-serif;
    line-height: 1.6;
}

:root {
    --nist-blue: #2d4697;
    --nist-orange: #df9d00;
    --nist-dark-blue: #003c71;
    --nist-light-blue: #e6f2ff;
    --nist-gray: #f8f9fa;
    --nist-yellow: #FFD200;
}

/* Header Navbar */
.navbar {
    background-color: var(--nist-blue);
    padding: 1rem 0;
}

.navbar-brand img {
    height: 40px;
}

.navbar-nav .nav-link {
    color: #fff !important;
    font-weight: 500;
    margin-right: 1rem;
    transition: opacity 0.3s ease;
}

.navbar-nav .nav-link:hover {
    opacity: 0.8;
}

.navbar .btn-signin {
    background-color: #fff;
    color: var(--nist-blue);
    font-weight: 600;
    border-radius: 6px;
    padding: 8px 20px;
    transition: all 0.3s ease;
}

.navbar .btn-signin:hover {
    background-color: #f8f9fa;
    transform: translateY(-1px);
}

/* Mobile Navbar */
@media (max-width: 991.98px) {
    .navbar-collapse {
        margin-top: 1rem;
    }

    .navbar-nav {
        text-align: center;
    }

    .navbar-nav .nav-item {
        margin: 0.5rem 0;
    }

    .navbar .btn-signin {
        width: 100%;
        margin-top: 0.5rem;
    }
}

/* Step Progress Bar */
.progress-container {
    margin-top: 30px;
    margin-bottom: 20px;
}

.progress-step {
    text-align: center;
    color: #6c757d;
}

.progress-step.active {
    color: #0a1172;
    font-weight: 600;
}

.progress {
    height: 6px;
    background-color: #e9ecef;
}

.progress-bar {
    background-color: #0a1172;
}

/* Upload Boxes */
.upload-box {
    background-color: #f8f9fa;
    border: 2px dashed #d1d3e2;
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    color: #6c757d;
    transition: all 0.3s ease-in-out;
    cursor: pointer;
}

.upload-box:hover {
    border-color: #0a1172;
    background-color: #eef1ff;
}

.upload-box i {
    font-size: 40px;
    color: #0a1172;
    margin-bottom: 10px;
}

.required {
    color: #dc3545;
    font-size: 13px;
    margin-left: 5px;
}

/* Textarea */
textarea {
    resize: none;
}

/* Buttons */
.btn-nist {
    background-color: #0a1172;
    color: white;
    border-radius: 6px;
    font-weight: 600;
}

/* Form Steps */
.form-step {
    display: none;
}

.form-step.active {
    display: block;
}

/* File Upload Preview */
.file-preview {
    display: flex;
    align-items: center;
    margin-top: 10px;
    padding: 8px 12px;
    background-color: #f0f8ff;
    border-radius: 5px;
    border-left: 4px solid #0a1172;
}

.file-preview i {
    color: #0a1172;
    margin-right: 10px;
}

.file-preview .file-name {
    flex-grow: 1;
    font-size: 14px;
}

.file-preview .file-remove {
    color: #dc3545;
    cursor: pointer;
}

/* Validation Styles */
.is-valid {
    border-color: #198754 !important;
}

.is-invalid {
    border-color: #dc3545 !important;
}

/* Questionnaire Styles */
.filter-tabs {
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 25px;
}

.filter-tab {
    padding: 10px 20px;
    border: 1px solid #dee2e6;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-tab.active {
    background-color: #0a1172;
    color: white;
    border-color: #0a1172;
}

.question-section {
    margin-bottom: 30px;
    padding: 20px;
    border-radius: 8px;
    background-color: #f8f9fa;
}

.question-section h6 {
    color: #0a1172;
    margin-bottom: 15px;
    font-weight: 600;
}


/* Footer */
footer {
    background-color: #000000;
    color: #fff;
    padding: 3rem 0 2rem;
    margin-top: 3rem;
}

footer a {
    color: #fff;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

footer a:hover {
    opacity: 0.8;
    text-decoration: underline;
}

.footer-title {
    font-weight: 600;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.footer-links p {
    margin-bottom: 0.5rem;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.footer-divider {
    border-color: rgba(255, 255, 255, 0.2);
    margin: 2rem 0 1.5rem;
}