        :root {
            --primary-blue: #13357e;
            --primary-yellow: #ffcc00;
            --white-stripe: #ffffff;
            --secondary: #2c3e50;
            --light: #f8f9fa;
            --dark: #343a40;
            --accent-blue: #1a4cbc;
            --accent-yellow: #ffd633;
            --blue-gradient: linear-gradient(135deg, #13357e 0%, #1a4cbc 100%);
            --yellow-gradient: linear-gradient(135deg, #ffcc00 0%, #ffd633 100%);
            --shadow-sm: 0 2px 4px rgba(0, 51, 160, 0.1);
            --shadow-md: 0 5px 15px rgba(0, 51, 160, 0.15);
            --shadow-lg: 0 10px 30px rgba(0, 51, 160, 0.2);
            --border-radius: 12px;
            --transition: all 0.3s ease;
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            background: linear-gradient(135deg, rgba(0, 51, 160, 0.05) 0%, rgba(255, 204, 0, 0.05) 100%);
            color: var(--dark);
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            padding: 30px 20px;
            min-height: 100vh;
            line-height: 1.6;
        }

        .container {
            max-width: 1200px;
            margin: 0 auto;
        }

        /* Header Styles */
        .header {
            text-align: center;
            margin-bottom: 40px;
            padding: 30px;
            background: var(--blue-gradient);
            color: white;
            border-radius: var(--border-radius);
            box-shadow: var(--shadow-lg);
            position: relative;
            overflow: hidden;
        }

        .header::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            height: 8px;
            background: var(--primary-yellow);
        }

        .logo-container {
            display: flex;
            justify-content: center;
            align-items: center;
            margin-bottom: 15px;
            position: relative;
            z-index: 1;
        }

        .logo-circle {
            width: 90px;
            height: 90px;
            background: var(--yellow-gradient);
            border-radius: 50%;
            display: flex;
            justify-content: center;
            align-items: center;
            color: var(--primary-blue);
            font-weight: 700;
            font-size: 24px;
            margin-right: 20px;
            box-shadow: var(--shadow-md);
            transition: var(--transition);
            border: 3px solid rgba(255, 255, 255, 0.3);
        }

        .logo-text h1 {
            font-size: 2.5rem;
            font-weight: 700;
            margin-bottom: 5px;
            letter-spacing: -0.5px;
        }

        .logo-text p {
            font-size: 1.1rem;
            opacity: 0.95;
            font-weight: 400;
            color: var(--primary-yellow);
        }

        /* Progress Bar */
        .progress-container {
            margin-bottom: 30px;
            padding: 20px;
            background: white;
            border-radius: var(--border-radius);
            box-shadow: var(--shadow-sm);
        }

        .progress-steps {
            display: flex;
            justify-content: space-between;
            position: relative;
            margin-bottom: 10px;
        }

        .progress-steps::before {
            content: '';
            position: absolute;
            top: 20px;
            left: 0;
            right: 0;
            height: 4px;
            background: #e9ecef;
            z-index: 1;
        }

        .progress-bar-fill {
            position: absolute;
            top: 20px;
            left: 0;
            height: 4px;
            background: var(--blue-gradient);
            transition: width 0.5s ease;
            z-index: 2;
        }

        .step-wrapper {
            position: relative;
            z-index: 3;
            text-align: center;
        }

        .step-indicator {
            width: 44px;
            height: 44px;
            border-radius: 50%;
            background: white;
            border: 3px solid #e9ecef;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: 600;
            color: #6c757d;
            transition: var(--transition);
            margin: 0 auto 8px;
        }

        .step-indicator.active {
            border-color: var(--primary-yellow);
            background: var(--blue-gradient);
            color: white;
            transform: scale(1.1);
        }

        .step-indicator.completed {
            border-color: var(--primary-blue);
            background: var(--primary-yellow);
            color: var(--primary-blue);
        }

        .step-label {
            font-size: 0.75rem;
            font-weight: 600;
            color: var(--primary-blue);
            text-transform: uppercase;
        }

        /* Form Container */
        .form-container {
            background: white;
            padding: 40px;
            border-radius: var(--border-radius);
            box-shadow: var(--shadow-lg);
            margin-bottom: 30px;
            transition: var(--transition);
            position: relative;
            overflow: hidden;
        }

        .form-container::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 4px;
            background: linear-gradient(90deg, var(--primary-blue) 50%, var(--primary-yellow) 50%);
        }

        /* Section Titles */
        .section-title {
            color: var(--primary-blue);
            border-bottom: 3px solid var(--primary-yellow);
            padding-bottom: 12px;
            margin-bottom: 25px;
            font-weight: 600;
            font-size: 1.5rem;
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .section-title i {
            font-size: 1.8rem;
            color: var(--primary-yellow);
        }

        /* Form Elements */
        .form-label {
            font-weight: 600;
            color: var(--primary-blue);
            margin-bottom: 8px;
            font-size: 0.95rem;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }

        .form-control,
        .form-select {
            border: 2px solid #e9ecef;
            border-radius: 10px;
            padding: 12px 15px;
            font-size: 1rem;
            transition: var(--transition);
            background-color: white;
        }

        .form-control:focus,
        .form-select:focus {
            border-color: var(--primary-blue);
            box-shadow: 0 0 0 4px rgba(255, 204, 0, 0.2);
            outline: none;
        }

        .form-control:hover,
        .form-select:hover {
            border-color: var(--primary-yellow);
        }

        .form-control.is-invalid {
            border-color: #dc3545;
        }

        /* Department Groups */
        .department-group {
            background: linear-gradient(to right, #ffffff, var(--light));
            padding: 20px;
            border-radius: 12px;
            margin-bottom: 25px;
            border-left: 5px solid var(--primary-blue);
            border-bottom: 2px solid var(--primary-yellow);
            box-shadow: var(--shadow-sm);
            transition: var(--transition);
        }

        .department-group:hover {
            box-shadow: var(--shadow-md);
            transform: translateY(-2px);
            border-left-color: var(--primary-yellow);
        }

        .department-title {
            font-weight: 700;
            margin-bottom: 20px;
            color: var(--primary-blue);
            font-size: 1.2rem;
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .department-title i {
            color: var(--primary-yellow);
        }

        /* Checkbox Styles */
        .form-check {
            padding: 8px 0;
            margin-left: 20px;
            /* Small left margin */
            transition: var(--transition);
            cursor: pointer;
        }

        .form-check:hover {
            background: linear-gradient(90deg, rgba(255, 204, 0, 0.05) 0%, rgba(0, 51, 160, 0.05) 100%);
            border-radius: 8px;
            padding-left: 15px;
        }

        .form-check-input {
            width: 1.2em;
            height: 1.2em;
            margin-top: 0.2em;
            border: 2px solid var(--primary-blue);
            transition: var(--transition);
            cursor: pointer;
        }

        .form-check-input:checked {
            background-color: var(--primary-blue);
            border-color: var(--primary-yellow);
            box-shadow: 0 0 0 3px rgba(255, 204, 0, 0.3);
        }

        .form-check-label {
            font-size: 1rem;
            color: var(--secondary);
            cursor: pointer;
        }

        .form-check-input:checked+.form-check-label {
            color: var(--primary-blue);
            font-weight: 600;
        }

        /* Required Field Indicator */
        .required-field::after {
            content: " *";
            color: var(--primary-blue);
            font-weight: bold;
            font-size: 1.2rem;
        }

        /* Button Styles */
        .btn {
            padding: 12px 30px;
            border-radius: 10px;
            font-weight: 600;
            font-size: 1rem;
            transition: var(--transition);
            border: none;
            cursor: pointer;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            position: relative;
            overflow: hidden;
        }

        .btn-primary {
            background: var(--blue-gradient);
            color: white;
            box-shadow: 0 4px 15px rgba(0, 51, 160, 0.3);
        }

        .btn-primary:hover {
            background: var(--primary-blue);
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(255, 204, 0, 0.4);
        }

        .btn-secondary {
            background: var(--yellow-gradient);
            color: var(--primary-blue);
            box-shadow: 0 4px 15px rgba(255, 204, 0, 0.3);
        }

        .btn-secondary:hover {
            background: var(--primary-yellow);
            transform: translateY(-2px);
            color: var(--primary-blue);
        }

        .btn-success {
            background: var(--blue-gradient);
            color: white;
        }

        /* Photo Section */
        .photo-container {
            background: linear-gradient(135deg, var(--light) 0%, white 100%);
            padding: 25px;
            border-radius: 15px;
            margin-bottom: 25px;
            text-align: center;
            border: 2px solid var(--primary-yellow);
        }

        #photoPreview,
        #cameraPreview {
            width: 250px;
            height: 250px;
            border: 3px dashed var(--primary-blue);
            border-radius: 15px;
            display: flex;
            justify-content: center;
            align-items: center;
            overflow: hidden;
            margin: 0 auto 20px;
            background: linear-gradient(135deg, #f5f7fa 0%, #e9ecef 100%);
            transition: var(--transition);
            box-shadow: var(--shadow-sm);
        }

        #photoPreview:hover,
        #cameraPreview:hover {
            border-color: var(--primary-yellow);
            box-shadow: var(--shadow-md);
        }

        #photoPreview img,
        #cameraPreview video {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .camera-controls {
            display: flex;
            gap: 15px;
            justify-content: center;
            margin-top: 15px;
            flex-wrap: wrap;
        }

        /* Steps Navigation */
        .step {
            display: none;
        }

        .step.active {
            display: block;
            animation: fadeIn 0.5s ease;
        }

        @keyframes fadeIn {
            from {
                opacity: 0;
                transform: translateY(10px);
            }

            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .navigation-buttons {
            display: flex;
            justify-content: space-between;
            margin-top: 40px;
            padding-top: 20px;
            border-top: 2px solid var(--primary-yellow);
        }

        /* Review Section */
        .review-data {
            background: linear-gradient(to right, var(--light), white);
            padding: 20px;
            border-radius: 12px;
            margin-bottom: 20px;
            border: 1px solid var(--primary-blue);
            box-shadow: var(--shadow-sm);
            border-left: 4px solid var(--primary-yellow);
        }

        .review-label {
            font-weight: 700;
            color: var(--primary-blue);
            margin-bottom: 5px;
            font-size: 0.9rem;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }

        .review-value {
            color: var(--secondary);
            font-size: 1.1rem;
            margin-bottom: 10px;
            padding-left: 10px;
        }

        /* Toast Notification */
        .toast-container {
            position: fixed;
            top: 20px;
            right: 20px;
            z-index: 9999;
        }

        .toast {
            background: white;
            border-radius: 10px;
            padding: 15px 20px;
            margin-bottom: 10px;
            box-shadow: var(--shadow-lg);
            border-left: 4px solid var(--primary-blue);
            animation: slideInRight 0.3s ease;
        }

        @keyframes slideInRight {
            from {
                transform: translateX(100%);
                opacity: 0;
            }

            to {
                transform: translateX(0);
                opacity: 1;
            }
        }

        .toast.success {
            border-left-color: #28a745;
        }

        .toast.error {
            border-left-color: #dc3545;
        }

        /* Signature */
        .signature {
            text-align: right;
            font-style: italic;
            color: var(--primary-blue);
            margin-top: 30px;
            padding-top: 20px;
            border-top: 2px dashed var(--primary-yellow);
            font-size: 0.95rem;
        }

        /* Responsive Design */
        @media (max-width: 768px) {
            body {
                padding: 15px;
            }

            .form-container {
                padding: 20px;
            }

            .logo-container {
                flex-direction: column;
                text-align: center;
            }

            .logo-circle {
                margin-right: 0;
                margin-bottom: 15px;
            }

            .logo-text h1 {
                font-size: 2rem;
            }

            .section-title {
                font-size: 1.2rem;
            }

            .navigation-buttons {
                flex-direction: column;
                gap: 15px;
            }

            .navigation-buttons .btn {
                width: 100%;
            }

            #photoPreview,
            #cameraPreview {
                width: 200px;
                height: 200px;
            }

            .progress-steps {
                flex-wrap: wrap;
                gap: 10px;
                justify-content: center;
            }
        }

        /* Enhanced Responsive Design */
        @media (max-width: 1200px) {
            .container {
                max-width: 95%;
            }

            .logo-text h1 {
                font-size: 2.2rem;
            }
        }

        @media (max-width: 992px) {
            .logo-container {
                flex-direction: column;
                text-align: center;
            }

            .logo-circle {
                margin-right: 0;
                margin-bottom: 15px;
            }

            .logo-text h1 {
                font-size: 2rem;
            }

            .progress-steps {
                flex-wrap: wrap;
                justify-content: center;
                gap: 10px;
            }

            .step-wrapper {
                flex: 0 0 auto;
            }
        }

        @media (max-width: 768px) {
            body {
                padding: 15px;
            }

            .form-container {
                padding: 20px;
            }

            .header {
                padding: 20px;
            }

            .logo-text h1 {
                font-size: 1.8rem;
            }

            .logo-text p {
                font-size: 0.9rem;
            }

            .section-title {
                font-size: 1.3rem;
            }

            .section-title i {
                font-size: 1.5rem;
            }

            .form-label {
                font-size: 0.85rem;
            }

            .form-control,
            .form-select {
                padding: 10px 12px;
                font-size: 0.95rem;
            }

            .btn {
                padding: 10px 20px;
                font-size: 0.9rem;
            }

            .navigation-buttons {
                flex-direction: column;
                gap: 10px;
            }

            .navigation-buttons .btn {
                width: 100%;
            }

            .department-group {
                padding: 15px;
            }

            .department-title {
                font-size: 1rem;
            }

            .form-check {
                padding: 5px 0;
            }

            .form-check-label {
                font-size: 0.9rem;
            }

            .photo-container {
                padding: 15px;
            }

            #photoPreview,
            #cameraPreview {
                width: 200px;
                height: 200px;
            }

            .progress-container {
                padding: 15px;
            }

            .step-indicator {
                width: 36px;
                height: 36px;
                font-size: 0.9rem;
            }

            .step-label {
                font-size: 0.7rem;
            }

            .review-data {
                padding: 15px;
            }

            .review-label {
                font-size: 0.8rem;
            }

            .review-value {
                font-size: 0.95rem;
            }

            .signature {
                font-size: 0.85rem;
                text-align: center;
            }

            .toast {
                max-width: 90%;
                right: 5%;
                font-size: 0.9rem;
                padding: 12px 15px;
            }
        }

        @media (max-width: 576px) {
            .logo-circle {
                width: 70px;
                height: 70px;
                font-size: 20px;
            }

            .logo-text h1 {
                font-size: 1.5rem;
            }

            .logo-text p {
                font-size: 0.8rem;
            }

            .section-title {
                font-size: 1.1rem;
                padding-bottom: 8px;
            }

            .section-title i {
                font-size: 1.3rem;
            }

            .form-label {
                font-size: 0.8rem;
            }

            .form-control,
            .form-select {
                padding: 8px 10px;
                font-size: 0.9rem;
            }

            .btn {
                padding: 8px 15px;
                font-size: 0.85rem;
            }

            .department-group {
                padding: 12px;
            }

            .department-title {
                font-size: 0.95rem;
                margin-bottom: 15px;
            }

            .form-check {
                padding: 3px 0;
            }

            .form-check-label {
                font-size: 0.85rem;
            }

            .form-check-input {
                width: 1em;
                height: 1em;
            }

            .photo-container {
                padding: 10px;
            }

            #photoPreview,
            #cameraPreview {
                width: 150px;
                height: 150px;
            }

            .camera-controls {
                gap: 10px;
            }

            .camera-controls .btn {
                padding: 6px 12px;
                font-size: 0.8rem;
            }

            .progress-container {
                padding: 10px;
            }

            .step-indicator {
                width: 30px;
                height: 30px;
                font-size: 0.8rem;
                border-width: 2px;
            }

            .progress-steps::before {
                top: 15px;
            }

            .progress-bar-fill {
                top: 15px;
            }

            .step-label {
                font-size: 0.6rem;
            }

            .review-data {
                padding: 12px;
                margin-bottom: 15px;
            }

            .review-label {
                font-size: 0.75rem;
            }

            .review-value {
                font-size: 0.9rem;
                padding-left: 5px;
            }

            #reviewPhoto {
                width: 100px !important;
                height: 100px !important;
            }

            .signature {
                font-size: 0.8rem;
                margin-top: 20px;
                padding-top: 15px;
            }

            .toast {
                padding: 10px 12px;
                font-size: 0.85rem;
            }
        }

        /* Landscape mode for mobile devices */
        @media (max-width: 768px) and (orientation: landscape) {
            .logo-circle {
                width: 60px;
                height: 60px;
                font-size: 18px;
            }

            .logo-text h1 {
                font-size: 1.5rem;
            }

            .logo-text p {
                font-size: 0.8rem;
            }

            .form-container {
                padding: 15px;
            }

            .row {
                --bs-gutter-y: 0.5rem;
            }

            .mb-3 {
                margin-bottom: 0.5rem !important;
            }

            #photoPreview,
            #cameraPreview {
                width: 120px;
                height: 120px;
            }
        }

        /* High-resolution screens */
        @media (min-width: 1600px) {
            .container {
                max-width: 1400px;
            }

            .logo-text h1 {
                font-size: 3rem;
            }

            .logo-text p {
                font-size: 1.3rem;
            }

            .section-title {
                font-size: 1.8rem;
            }

            .form-label {
                font-size: 1rem;
            }

            .form-control,
            .form-select {
                padding: 15px 20px;
                font-size: 1.1rem;
            }

            .btn {
                padding: 15px 40px;
                font-size: 1.1rem;
            }
        }

        /* Print styles */
        @media print {

            .btn,
            .navigation-buttons,
            .progress-container,
            .toast-container,
            .camera-controls,
            #cameraBtn,
            [type="file"],
            .signature {
                display: none !important;
            }

            .form-container {
                box-shadow: none;
                padding: 0;
                margin: 0;
            }

            .step {
                display: block !important;
                page-break-after: always;
            }

            .header {
                background: none;
                color: black;
                box-shadow: none;
            }

            .logo-circle {
                background: #0033a0;
                color: #ffcc00;
                -webkit-print-color-adjust: exact;
                print-color-adjust: exact;
            }

            .section-title {
                color: black;
                border-bottom-color: #ccc;
            }
        }