:root {
    --primary-blue: #004aad;
    --secondary-red: #c8102e;
    --text-dark: #2d3436;
    --text-muted: #636e72;
    --white: #ffffff;
    --bg-light: #f8f9fa;
    --shadow-sm: 0 2px 15px rgba(0,0,0,0.05);
    --shadow-md: 0 10px 30px rgba(0,0,0,0.08);
    --transition: all 0.3s ease;
}

body {
    font-family: 'Outfit', sans-serif;
    color: var(--text-dark);
    overflow-x: hidden;
}

/* Top Bar */
.top-bar {
    background: var(--primary-blue);
    color: var(--white);
    font-size: 13px;
    padding: 10px 0;
}

.top-bar a {
    color: var(--white);
    text-decoration: none;
    margin-left: 20px;
    transition: var(--transition);
}

.top-bar a:hover {
    opacity: 0.8;
}

/* Header & Navbar */
.main-header {
    background: var(--white);
    padding: 15px 0;
}

.navbar-brand img {
    height: 80px;
    transition: var(--transition);
}

@media (max-width: 991.98px) {
    .navbar-brand img {
        height: 60px;
    }
    .main-header {
        padding: 10px 0;
    }
}

.brand-text {
    line-height: 1.1;
    margin-left: 15px;
}

.brand-name {
    color: var(--primary-blue);
    font-weight: 800;
    font-size: 24px;
    letter-spacing: -0.5px;
}

.brand-sub {
    color: var(--secondary-red);
    font-weight: 700;
    font-size: 14px;
    display: block;
}

.nav-link {
    font-weight: 500;
    color: var(--text-dark) !important;
    padding: 10px 15px !important;
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--primary-blue) !important;
}

/* Hero Section */
.hero-section {
    position: relative;
    padding: 100px 0;
    overflow: hidden;
}

.hero-content h1 {
    font-size: 64px;
    font-weight: 800;
    color: var(--primary-blue);
    line-height: 1.1;
    margin-bottom: 25px;
}

.hero-content p {
    font-size: 18px;
    color: var(--text-muted);
    max-width: 500px;
    margin-bottom: 40px;
}

.btn-apply {
    background: var(--primary-blue);
    color: var(--white);
    padding: 15px 35px;
    border-radius: 8px;
    font-weight: 600;
    border: 2px solid var(--primary-blue);
    transition: var(--transition);
}

.btn-apply:hover {
    background: transparent;
    color: var(--primary-blue);
}

.btn-video {
    background: transparent;
    color: var(--text-dark);
    padding: 15px 35px;
    border-radius: 8px;
    font-weight: 600;
    border: 2px solid #dee2e6;
    margin-left: 15px;
    transition: var(--transition);
}

.btn-video:hover {
    background: #f8f9fa;
}

.hero-image-container {
    position: relative;
    z-index: 1;
}

.hero-image-container::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 100%;
    height: 100%;
    background: rgba(0, 74, 173, 0.05);
    border-radius: 50%;
    z-index: -1;
}

/* Feature Cards */
.feature-section {
    margin-top: -60px;
    position: relative;
    z-index: 10;
}

.feature-card {
    background: var(--white);
    border-radius: 12px;
    padding: 30px 20px;
    text-align: center;
    box-shadow: var(--shadow-md);
    height: 100%;
    transition: var(--transition);
    border-top: 4px solid transparent;
}

.feature-card:hover {
    transform: translateY(-10px);
    border-top-color: var(--primary-blue);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: rgba(0, 74, 173, 0.1);
    color: var(--primary-blue);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin: 0 auto 20px;
}

.feature-card h5 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 15px;
}

.feature-card p {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 0;
}

/* Footer Info */
.footer-info {
    background: var(--primary-blue);
    padding: 30px 0;
    color: var(--white);
    margin-top: 50px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.info-icon {
    width: 45px;
    height: 45px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.info-text h6 {
    margin: 0;
    font-size: 12px;
    opacity: 0.8;
    text-transform: uppercase;
}

.info-text p {
    margin: 0;
    font-weight: 600;
    font-size: 14px;
}

/* Animations */
[data-aos] {
    pointer-events: none;
}
.aos-animate {
    pointer-events: auto;
}

/* ============================================================
   REGISTRATION PAGE
   ============================================================ */

body.reg-page {
    background: #f0f4f8;
}

/* ── Hero Banner ─────────────────────────────────────── */
.reg-hero {
    background: linear-gradient(135deg, var(--primary-blue) 0%, #0074d9 100%);
    padding: 50px 0 70px;
    position: relative;
    overflow: hidden;
}

.reg-hero::before {
    content: '';
    position: absolute;
    right: -80px; top: -80px;
    width: 400px; height: 400px;
    background: rgba(255,255,255,0.05);
    border-radius: 50%;
}

.reg-hero-title {
    font-size: 40px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 10px;
}

.reg-hero-sub {
    color: rgba(255,255,255,0.85);
    font-size: 16px;
    font-weight: 500;
    margin: 0;
}

.reg-container {
    margin-top: -40px;
    padding-bottom: 60px;
}

/* ── Step Tracker ────────────────────────────────────── */
.step-tracker {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    position: relative;
    margin-bottom: 30px;
    padding: 20px 30px;
    background: #fff;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
}

.step-line {
    position: absolute;
    top: 42px;
    left: calc(12.5% + 20px);
    right: calc(12.5% + 20px);
    height: 3px;
    background: #e9ecef;
    z-index: 0;
}

.step-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    flex: 1;
    position: relative;
    z-index: 1;
    cursor: default;
}

.step-circle {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #e9ecef;
    color: #adb5bd;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transition: all 0.4s ease;
    border: 3px solid transparent;
}

.step-label {
    font-size: 11px;
    font-weight: 600;
    text-align: center;
    color: #adb5bd;
    text-transform: uppercase;
    letter-spacing: .3px;
    line-height: 1.3;
    transition: color 0.3s;
}

.step-item.active .step-circle {
    background: var(--primary-blue);
    color: #fff;
    border-color: rgba(0,74,173,0.3);
    box-shadow: 0 0 0 6px rgba(0,74,173,0.12);
}

.step-item.active .step-label { color: var(--primary-blue); }

.step-item.done .step-circle {
    background: #28a745;
    color: #fff;
    border-color: rgba(40,167,69,0.25);
}

.step-item.done .step-label { color: #28a745; }

.step-item.done { cursor: pointer; }

/* ── Form Step Panels ────────────────────────────────── */
.form-step {
    display: none;
}

.form-step.active {
    display: block;
    animation: fadeSlideUp 0.4s ease;
}

@keyframes fadeSlideUp {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}

.step-card {
    background: #fff;
    border-radius: 16px;
    padding: 35px 40px;
    box-shadow: var(--shadow-md);
}

.step-card-title {
    font-size: 20px;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 14px;
}

.step-card-title span {
    width: 40px;
    height: 40px;
    background: rgba(0,74,173,0.1);
    color: var(--primary-blue);
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 900;
    flex-shrink: 0;
}

/* Labels */
.form-label { font-weight: 600; font-size: 13px; margin-bottom: 5px; }
.form-label.req::after { content: ' *'; color: var(--secondary-red); }

.form-control, .form-select {
    border-radius: 8px;
    border: 1.5px solid #dee2e6;
    font-size: 14px;
    padding: 10px 14px;
    transition: all .25s;
}

.form-control:focus, .form-select:focus {
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(0,74,173,0.1);
}

.form-control.is-invalid, .form-select.is-invalid {
    border-color: var(--secondary-red);
    box-shadow: 0 0 0 3px rgba(200,16,46,0.1);
}

/* ── Passport Upload Zone ────────────────────────────── */
.passport-upload-zone {
    border: 2.5px dashed #c8d6e5;
    border-radius: 14px;
    padding: 30px;
    text-align: center;
    cursor: pointer;
    transition: all .3s;
    background: #f8fafc;
    min-height: 160px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.passport-upload-zone:hover,
.passport-upload-zone.drag-over {
    border-color: var(--primary-blue);
    background: rgba(0,74,173,0.03);
}

.upload-placeholder i {
    font-size: 40px;
    color: #c8d6e5;
    margin-bottom: 12px;
    display: block;
    transition: color .3s;
}

.passport-upload-zone:hover .upload-placeholder i,
.passport-upload-zone.drag-over .upload-placeholder i {
    color: var(--primary-blue);
}

.upload-placeholder p {
    font-weight: 600;
    color: var(--text-muted);
    margin: 0 0 5px;
}

.upload-placeholder small { color: #adb5bd; font-size: 12px; }

.passport-upload-zone #passport-preview {
    max-height: 160px;
    max-width: 130px;
    border-radius: 8px;
    object-fit: cover;
    border: 3px solid var(--primary-blue);
}

.passport-upload-zone.has-image { border-style: solid; border-color: var(--primary-blue); }

.upload-meta {
    font-size: 12px;
    color: #636e72;
    margin-top: 8px;
}

/* ── Education Grid ──────────────────────────────────── */
.edu-row {
    padding: 10px 12px;
    background: #f8fafc;
    border: 1px solid #e9ecef;
    border-radius: 10px;
    animation: fadeSlideUp .25s ease;
}

.btn-add-row {
    background: transparent;
    border: 2px dashed var(--primary-blue);
    color: var(--primary-blue);
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all .25s;
    width: 100%;
}

.btn-add-row:hover {
    background: rgba(0,74,173,0.05);
}

.btn-del-row {
    background: transparent;
    border: none;
    color: #e74c3c;
    font-size: 16px;
    cursor: pointer;
    padding: 6px 10px;
    border-radius: 6px;
    transition: all .2s;
}

.btn-del-row:hover { background: #fce4ec; }

/* ── Declaration Box ─────────────────────────────────── */
.declaration-box {
    background: #fff8e1;
    border-left: 4px solid #f39c12;
    padding: 16px 20px;
    border-radius: 8px;
    font-size: 13px;
    line-height: 1.7;
    color: #5a4a00;
}

/* ── Summary Panel ───────────────────────────────────── */
.summary-panel {
    background: linear-gradient(135deg, #e8f4fd 0%, #f0f7ff 100%);
    border: 1.5px solid #bee3f8;
    border-radius: 12px;
    overflow: hidden;
}

.summary-header {
    background: var(--primary-blue);
    color: #fff;
    padding: 12px 20px;
    font-weight: 700;
    font-size: 14px;
}

.summary-body { padding: 14px 20px; }

.summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 0;
    font-size: 14px;
    border-bottom: 1px solid #dee2e6;
}

.summary-row:last-child { border-bottom: none; }

/* ── Navigation Buttons ──────────────────────────────── */
.step-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #f1f2f6;
}

.btn-next, .btn-prev, .btn-submit {
    padding: 12px 30px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 15px;
    border: none;
    cursor: pointer;
    transition: all .3s;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.btn-next {
    background: var(--primary-blue);
    color: #fff;
}

.btn-next:hover { background: #003a8c; transform: translateX(3px); }

.btn-prev {
    background: #f1f2f6;
    color: var(--text-dark);
}

.btn-prev:hover { background: #e2e3e8; transform: translateX(-3px); }

.btn-submit {
    background: linear-gradient(135deg, #28a745 0%, #218838 100%);
    color: #fff;
    padding: 14px 35px;
    font-size: 16px;
    box-shadow: 0 6px 20px rgba(40,167,69,0.3);
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(40,167,69,0.4);
}

.btn-submit:disabled {
    opacity: 0.75;
    cursor: not-allowed;
    transform: none;
}

/* ── Shake Animation ─────────────────────────────────── */
@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-8px); }
    75% { transform: translateX(8px); }
}

.shake { animation: shake .4s ease; }

/* ── Responsive ──────────────────────────────────────── */
@media (max-width: 767.98px) {
    .step-card { padding: 25px 18px; }
    .reg-hero-title { font-size: 28px; }
    .step-tracker { padding: 15px 10px; }
    .step-label { font-size: 10px; }
    .step-circle { width: 38px; height: 38px; font-size: 14px; }
    .info-grid { grid-template-columns: 1fr !important; }
    .step-actions { flex-direction: column; gap: 12px; }
    .btn-next, .btn-prev, .btn-submit { width: 100%; justify-content: center; }
}
