
        :root {
            --primary: #1a73e8;
            --primary-dark: #0d47a1;
            --secondary: #4caf50;
            --accent: #ff5722;
            --light: #f5f7fa;
            --dark: #1e293b;
            --success: #28a745;
            --danger: #dc3545;
            --warning: #ffc107;
            --info: #17a2b8;
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        }

        body {
            background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
            min-height: 100vh;
            padding: 20px;
            display: flex;
            flex-direction: column;
            align-items: center;
        }

        .container {
            width: 100%;
            max-width: 1200px;
            margin: 20px auto;
        }

        .header {
            text-align: center;
            margin-bottom: 20px;
            animation: fadeInDown 1s ease;
        }

        .logo-container {
            display: flex;
            justify-content: center;
            margin-bottom: 20px;
        }

        .logo {
            width: 130px;
            height: 130px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-size: 40px;
            margin-right: 20px;
        }
        .logo img {
            max-width: 100%;
            max-height: 100%;
        }

        .institute-name .textholder {
            font-size: 28px;
            font-weight: bold;
            color: var(--primary-dark);
            text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
        }
        
        .institute-name .textholder span {
            font-size: 22px;
        }

        .form-title {
            font-size: 32px;
            color: var(--dark);
            margin: 10px 0;
            position: relative;
            display: inline-block;
        }

        .form-title::after {
            content: '';
            position: absolute;
            bottom: -10px;
            left: 50%;
            transform: translateX(-50%);
            width: 100px;
            height: 4px;
            background: var(--accent);
            border-radius: 2px;
        }

        .progress-container {
            width: 100%;
            margin: 30px 0 50px;
            display: flex;
            justify-content: center;
            animation: fadeIn 1s ease;
        }

        .progress-steps {
            display: flex;
            justify-content: space-between;
            width: 80%;
            position: relative;
        }

        .progress-steps::before {
            content: '';
            position: absolute;
            top: 50%;
            left: 0;
            transform: translateY(-50%);
            height: 4px;
            width: 100%;
            background: #c6c6c6;
            z-index: 1;
        }

        .progress-bar {
            position: absolute;
            top: 50%;
            left: 0;
            transform: translateY(-50%);
            height: 4px;
            width: 0%;
            background: var(--primary);
            z-index: 2;
            transition: width 0.5s ease;
        }

        .step {
            width: 40px;
            height: 40px;
            border-radius: 50%;
            background: #939393;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: bold;
            color: white;
            position: relative;
            z-index: 3;
            transition: background 0.4s ease;
        }

        .step.active {
            background: var(--primary);
            box-shadow: 0 0 10px rgba(26, 115, 232, 0.5);
        }

        .step.completed {
            background: var(--success);
        }

        .step-label {
            position: absolute;
            top: 45px;
            left: 50%;
            transform: translateX(-50%);
            white-space: nowrap;
            font-size: 14px;
            color: var(--dark);
        }

        .form-container {
            background: white;
            border-radius: 15px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
            overflow: hidden;
            animation: fadeInUp 1s ease;
        }

        .form-section {
            padding: 30px;
            display: none;
            opacity: 0;
            transition: opacity 0.5s ease;
        }

        .form-section.active {
            display: block;
            opacity: 1;
        }

        .section-title {
            font-size: 24px;
            color: var(--primary-dark);
            margin-bottom: 20px;
            padding-bottom: 10px;
            border-bottom: 2px solid #eee;
            position: relative;
        }

        .section-title::after {
            content: '';
            position: absolute;
            bottom: -2px;
            left: 0;
            width: 80px;
            height: 2px;
            background: var(--accent);
        }

        .form-group {
            margin-bottom: 20px;
        }

        .form-row {
            display: flex;
            flex-wrap: wrap;
            gap: 20px;
            margin-bottom: 15px;
        }

        .form-col {
            flex: 1 1 300px;
        }

        label {
            display: block;
            margin-bottom: 8px;
            font-weight: 600;
            color: var(--dark);
        }

        .required::after {
            content: '*';
            color: var(--danger);
            margin-left: 4px;
        }

        input, select, textarea {
            width: 100%;
            padding: 12px 15px;
            border: 2px solid #ddd;
            border-radius: 8px;
            font-size: 16px;
            transition: all 0.3s ease;
        }
        
        input#agreeTerms {
            display: inline-block;
            width: 20px;
            height: 20px;
            vertical-align: middle;
            margin-right: 10px;
        }

        input:focus, select:focus, textarea:focus {
            border-color: var(--primary);
            box-shadow: 0 0 0 3px rgba(26, 115, 232, 0.2);
            outline: none;
        }

        .error-message {
            color: var(--danger);
            font-size: 14px;
            margin-top: 5px;
            display: none;
        }

        .file-upload-container {
            border: 2px dashed #ddd;
            border-radius: 8px;
            padding: 20px;
            text-align: center;
            margin-bottom: 20px;
            transition: all 0.3s ease;
            position: relative;
        }

        .file-upload-container:hover {
            border-color: var(--primary);
        }

        .file-upload-label {
            display: flex;
            flex-direction: column;
            align-items: center;
            cursor: pointer;
        }

        .file-upload-icon {
            font-size: 40px;
            color: var(--primary);
            margin-bottom: 10px;
        }

        .file-upload-text {
            font-size: 16px;
            color: var(--dark);
        }

        .file-upload-hint {
            font-size: 14px;
            color: #777;
            margin-top: 5px;
        }

        .file-preview {
            margin-top: 15px;
            display: none;
        }

        .file-preview img {
            max-width: 150px;
            max-height: 150px;
            border-radius: 8px;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
        }

        .file-confirmation {
            position: absolute;
            top: 10px;
            right: 10px;
            background: var(--success);
            color: white;
            width: 24px;
            height: 24px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 14px;
            opacity: 0;
            transform: scale(0);
            transition: all 0.3s ease;
        }

        .file-confirmation.show {
            opacity: 1;
            transform: scale(1);
        }

        .file-name {
            font-size: 14px;
            margin-top: 10px;
            color: var(--dark);
            font-weight: 500;
            display: none;
        }

        .buttons {
            display: flex;
            justify-content: space-between;
            margin-top: 30px;
        }

        .btn {
            padding: 12px 25px;
            border: none;
            border-radius: 8px;
            font-size: 16px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
            display: flex;
            align-items: center;
            justify-content: center;
            gap:10px;
        }

        .btn-prev {
            background: #f8f9fa;
            color: var(--dark);
            text-decoration:none;
        }

        .btn-prev:hover {
            background: #e9ecef;
        }

        .btn-next {
            background: var(--primary);
            color: white;
        }

        .btn-next:hover {
            background: var(--primary-dark);
            box-shadow: 0 4px 12px rgba(26, 115, 232, 0.3);
        }

        .submit-btn, .btn-submit {
            background: var(--success);
            color: white;
        }

        .submit-btn:hover, .btn-submit:hover {
            background: #218838;
            box-shadow: 0 4px 12px rgba(40, 167, 69, 0.3);
        }
        .submit-btn, .cancel-btn {
            margin-left: 5px;
            padding: 5px 10px;
            cursor: pointer;
            border: 0;
            border-radius: 5px;
        }

        .notification {
            position: fixed;
            top: 20px;
            right: 20px;
            padding: 15px 20px;
            border-radius: 8px;
            color: white;
            font-weight: 600;
            z-index: 1000;
            opacity: 0;
            transform: translateX(100%);
            transition: all 0.5s ease;
        }

        .notification.success {
            background: var(--success);
        }

        .notification.error {
            background: var(--danger);
        }

        .notification.show {
            opacity: 1;
            transform: translateX(0);
        }

        .address-toggle {
            display: flex;
            align-items: center;
            margin-bottom: 15px;
        }

        .address-toggle input {
            width: auto;
            margin-right: 10px;
        }

        .vocational-subjects {
            display: none;
            margin-top: 15px;
            padding: 15px;
            background-color: #f8f9fa;
            border-radius: 8px;
            border-left: 4px solid var(--primary);
        }

        .vocational-subjects.active {
            display: block;
        }

        .review-section {
            margin-bottom: 30px;
            padding-bottom: 20px;
            border-bottom: 1px solid #eee;
        }

        .review-section h3 {
            margin-bottom: 15px;
            color: var(--primary-dark);
        }

        .review-item {
            margin-bottom: 10px;
            display: flex;
        }

        .review-label {
            font-weight: 600;
            min-width: 180px;
        }
        
        .print-value a {
            text-decoration: none;
            color: #002bf2;
        }

        @keyframes fadeIn {
            from { opacity: 0; }
            to { opacity: 1; }
        }

        @keyframes fadeInUp {
            from { 
                opacity: 0;
                transform: translateY(20px);
            }
            to { 
                opacity: 1;
                transform: translateY(0);
            }
        }

        @keyframes fadeInDown {
            from { 
                opacity: 0;
                transform: translateY(-20px);
            }
            to { 
                opacity: 1;
                transform: translateY(0);
            }
        }

        @keyframes shake {
            0%, 100% { transform: translateX(0); }
            10%, 30%, 50%, 70%, 90% { transform: translateX(-5px); }
            20%, 40%, 60%, 80% { transform: translateX(5px); }
        }

        .shake {
            animation: shake 0.5s ease;
        }

        /* Landing page specific styles */
        .landing-tabs {
            display: flex;
            background: #f1f5f9;
            border-bottom: 1px solid #e2e8f0;
        }
        .landing-tab {
            cursor: pointer;
        }
        .landing-tab, .form-caption {
            flex: 1;
            padding: 18px;
            text-align: center;
            font-size: 18px;
            font-weight: 600;
            transition: all 0.3s ease;
            color: #64748b;
            border-bottom: 3px solid transparent;
        }

        .landing-tab.active, .form-caption.active {
            color: var(--primary);
            border-bottom: 3px solid var(--primary);
            background-color: white;
        }

        .landing-content {
            padding: 40px;
        }

        .welcome-message {
            text-align: center;
            margin-bottom: 30px;
        }

        .welcome-message h2 {
            color: var(--primary-dark);
            margin-bottom: 15px;
            font-size: 28px;
        }

        .welcome-message p {
            color: #64748b;
            line-height: 1.6;
            font-size: 17px;
            max-width: 700px;
            margin: 0 auto;
        }

        .landing-btn-container {
            display: flex;
            flex-direction: column;
            gap: 16px;
            margin-top: 30px;
            max-width: 400px;
            margin-left: auto;
            margin-right: auto;
        }

        .landing-btn {
            padding: 16px 24px;
            border: none;
            border-radius: 8px;
            font-size: 17px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
            display: flex;
            align-items: center;
            justify-content: center;
            text-decoration: none;
            gap: 10px;
        }

        .landing-btn-primary {
            background: var(--primary);
            color: white;
            box-shadow: 0 4px 6px rgba(26, 115, 232, 0.2);
        }

        .landing-btn-primary:hover {
            background: var(--primary-dark);
            transform: translateY(-2px);
            box-shadow: 0 6px 12px rgba(26, 115, 232, 0.25);
        }

        .landing-btn-secondary {
            background: white;
            color: var(--primary);
            border: 2px solid var(--primary);
        }

        .landing-btn-secondary:hover {
            background: #f8fafc;
            transform: translateY(-2px);
        }

        .landing-features {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 20px;
            margin: 40px 0;
        }

        .landing-feature {
            padding: 25px;
            background: #f8fafc;
            border-radius: 10px;
            text-align: center;
            transition: transform 0.3s ease;
        }

        .landing-feature:hover {
            transform: translateY(-5px);
        }

        .landing-feature i {
            font-size: 42px;
            color: var(--primary);
            margin-bottom: 15px;
        }

        .landing-feature h3 {
            color: var(--primary-dark);
            margin-bottom: 12px;
            font-size: 20px;
        }

        .landing-feature p {
            color: #64748b;
            line-height: 1.5;
        }

        .landing-login-form {
            max-width: 400px;
            margin: 30px auto 0;
        }

        .landing-footer {
            text-align: center;
            margin-top: 40px;
            color: #64748b;
            font-size: 14px;
        }

        .contact-info-landing {
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            gap: 20px;
            margin-top: 5px;
            font-size: 15px;
            color: #64748b;
        }

        .contact-item-landing {
            display: flex;
            align-items: center;
            gap: 8px;
        }
        .print-container {
            background: white;
            padding: 20px;
            margin: 10px;
            border-radius: 10px;
            box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
            position: relative;
        }
        
        .print-header {
            text-align: center;
            margin-bottom: 20px;
        }
        
        .photo-signature-container {
            position: relative;
            top: 0;
            right: 0;
            margin: 0 auto;
            text-align: center;
            display: block;
            width: 120px;
        }
        
        .photo-container {
            width: 120px;
            height: 150px;
            border: 2px solid #ddd;
            border-radius: 8px;
            overflow: hidden;
            margin-bottom: 10px;
        }
        
        .photo-container img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
        
        .signature-container {
            width: 120px;
            height: 50px;
            border: 2px solid #ddd;
            border-radius: 8px;
            overflow: hidden;
        }
        
        .signature-container img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
        .form-container {
            box-shadow:none;
        }
        .print-table {
            width: 100%;
            width: -webkit-fill-available;
            border-collapse: collapse;
            margin-bottom: 20px;
        }
        .print-table.gap20pxabove {
            margin-top: 20px;
        }
        
        .print-table th, .print-table td {
            border: 1px solid #ddd;
            padding: 8px;
            font-size: 14px;
            vertical-align: top;
        }
        
        .print-table th {
            background: var(--light);
            color: var(--dark);
            font-weight: 600;
            width: 160px;
            text-align: left;
        }
        
        .print-table td {
            position: relative;
        }
        
        .edit-icon {
            cursor: pointer;
            color: var(--primary);
            margin-left: 8px;
            font-size: 14px;
        }
        
        .edit-icon:hover {
            color: var(--primary-dark);
        }
        
        .edit-input {
            display:inline-block;
            padding: 6px;
            border: 2px solid #ddd;
            border-radius: 6px;
            font-size: 14px;
            width:auto;
        }
        
        .edit-input.active {
            display: inline-block;
        }
        
        .print-section {
            margin-bottom: 20px;
            background: white;
            padding: 20px;
            border-radius: 20px;
        }
        .instr {
            text-align: right;
            color: #001100;
            margin: 5px 0;
        }
        .instr a.backgroundred {
            color: white;
            background: #d92a2a;
            text-decoration: none;
            padding: 2px 5px;
            display: inline-block;
            font-size: 12px;
            font-weight: 600;
        }
        .overflowauto {
            overflow: auto;
        }
        @media print {
            body {
                background: none;
                padding: 0;
            }
            
            .print-container {
                box-shadow: none;
                margin: 0;
                padding: 10px;
            }
            
            .hideonprint, .buttons, .edit-icon, .edit-input, .landing-footer {
                display: none;
            }
            body {
                background:white;
            }
            .print-section {
                padding:0 5px;
                margin:0;
            }
            .logo-container {
                display: inline-grid;
                justify-content: center;
                margin-bottom: 15px;
            }
            .header {
                margin-bottom: 0;
            }
            .logo {
                width: 80px;
                height: 80px;
                margin: 0 auto;
            }
            .institute-name .textholder {
                font-size: 18px;
                font-weight: bold;
                color: var(--primary-dark);
                text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
            }
            .institute-name .textholder span {
                font-size: 14px;
            }
            .institute-name .contact-info-landing {
                display: block;
                text-align: center;
                margin-top: 5px;
                font-size: 13px;
            }
            .institute-name .contact-item-landing {
                display: block;
                align-items: center;
                margin: 5px 0;
            }
            .form-title {
                font-size: 16px;
                margin: 10px 0;
            }
            .section-title, .form-section {
                font-size: 15px;
            }
            .landing-tab, .form-caption {
                font-size: 14px;
            }
        }
        @media (max-width: 768px) {
            .photo-signature-container {
                position: static;
                margin: 0 auto 20px;
                text-align: center;
            }
            
            .print-table th, .print-table td {
                font-size: 12px;
                padding: 6px;
            }
            .btn {
                font-size:14px;
                padding: 10px 20px;
            }
            .progress-steps {
                width: 100%;
                margin: 0 10px;
            }
            .progress-container {
                margin: 0 0 50px;
            }
            .step {
                width: 30px;
                height: 30px;
                font-size: 13px;
            }
            .step-label {
                font-size: 12px;
                top:35px;
            }
            
            .form-section {
                padding: 20px;
            }
            
            .review-item {
                flex-direction: column;
            }
            
            .review-label {
                min-width: auto;
                margin-bottom: 5px;
            }
            .logo-container {
                display: inline-grid;
                justify-content: center;
                margin-bottom: 15px;
            }
            .header {
                margin-bottom: 0;
            }
            .logo {
                width: 80px;
                height: 80px;
                margin: 0 auto;
            }
            .institute-name .textholder {
                font-size: 18px;
                font-weight: bold;
                color: var(--primary-dark);
                text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
            }
            .institute-name .textholder span {
                font-size: 14px;
            }
            .institute-name .contact-info-landing {
                display: block;
                text-align: center;
                margin-top: 5px;
                font-size: 13px;
            }
            .institute-name .contact-item-landing {
                display: block;
                align-items: center;
                margin: 5px 0;
            }
            .form-title {
                font-size: 16px;
                margin: 10px 0;
            }
            .section-title, .form-section {
                font-size: 15px;
            }
            .landing-tab, .form-caption {
                font-size: 14px;
            }
            .welcome-message h2 {
                font-size: 16px;
            }
            .welcome-message p {
                font-size: 14px;
            }
            .landing-feature h3 {
                font-size: 16px;
            }
            .landing-features {
                grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            }
            .landing-btn {
                font-size: 12px;
            }
        }