:root {
    --primary: #30b9fd;
    --primary-dark: #0ea5e9;
    --primary-glow: rgba(48, 185, 253, 0.25);
    --grad: linear-gradient(135deg, #30b9fd 0%, #6366f1 100%);
    --grad2: linear-gradient(135deg, #6366f1 0%, #a855f7 100%);
    --surface: rgba(255, 255, 255, 0.72);
    --surface-hover: rgba(255, 255, 255, 0.88);
    --border: rgba(148, 163, 184, 0.2);
    --border-focus: rgba(48, 185, 253, 0.6);
    --text-primary: #0f172a;
    --text-secondary: #64748b;
    --text-muted: #94a3b8;
    --error: #ef4444;
    --success: #22c55e;
    --radius: 16px;
    --radius-sm: 10px;
    --shadow: 0 8px 32px rgba(15, 23, 42, 0.08), 0 2px 8px rgba(15, 23, 42, 0.04);
    --shadow-lg: 0 24px 64px rgba(15, 23, 42, 0.12), 0 8px 24px rgba(15, 23, 42, 0.06);
    --shadow-glow: 0 0 0 4px var(--primary-glow), 0 8px 24px rgba(48, 185, 253, 0.15);
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    /* background: #f0f6ff; */
    background-image: url("/img/img-3.png");
    /* apni image ka path yaha do */

    background-size: cover;
    /* full screen cover */
    background-position: center;
    /* center align */
    background-repeat: no-repeat;
    /* repeat na ho */
    min-height: 100vh;



    color: var(--text-primary);
    overflow-x: hidden;
}



/* ─── Background ─── */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    /* background:
      radial-gradient(ellipse 80% 60% at 20% -10%, rgba(48,185,253,0.18) 0%, transparent 60%),
      radial-gradient(ellipse 60% 50% at 85% 90%, rgba(99,102,241,0.15) 0%, transparent 60%),
      radial-gradient(ellipse 40% 40% at 50% 50%, rgba(168,85,247,0.06) 0%, transparent 70%); */
    pointer-events: none;
    z-index: 0;
}

/* ─── Floating orbs ─── */
.orb {
    position: fixed;
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
    z-index: 0;
    animation: float 8s ease-in-out infinite;
}

.orb-1 {
    width: 400px;
    height: 400px;
    background: rgba(48, 185, 253, 0.12);
    top: -100px;
    left: -100px;
    animation-delay: 0s;
}

.orb-2 {
    width: 350px;
    height: 350px;
    background: rgba(99, 102, 241, 0.1);
    bottom: -80px;
    right: -80px;
    animation-delay: -3s;
}

.orb-3 {
    width: 250px;
    height: 250px;
    background: rgba(168, 85, 247, 0.08);
    top: 40%;
    right: 5%;
    animation-delay: -5s;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0) scale(1);
    }

    50% {
        transform: translateY(-30px) scale(1.05);
    }
}


/* ─── Header ─── */
.header {
    text-align: center;
    padding: 12px 20px 0px;
    position: relative;
}

/* BADGE */
.header-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 18px;
    color: #007bff;

    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(10px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

/* DOT ANIMATION */
.header-badge .dot {
    width: 8px;
    height: 8px;
    background: #30b9fd;
    border-radius: 50%;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% {
        opacity: 1;
    }

    50% {
        opacity: 0.3;
    }

    100% {
        opacity: 1;
    }
}

/* HEADING */
.header h1 {
    font-size: 40px;
    font-weight: 700;
    margin: 20px 0 10px;

    background: linear-gradient(90deg, #30b9fd, #007bff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Highlight word */
.header h1 span {
    color: #1a1a1a;
    -webkit-text-fill-color: initial;
}

/* SUBTEXT */
.header p {
    font-size: 15px;
    color: #6c757d;
    max-width: 100%;
    margin: auto;
}

/* RESPONSIVE */
@media(max-width:768px) {
    .header h1 {
        font-size: 20px;
    }

    .header-badge {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        padding: 8px 18px;
        border-radius: 50px;
        font-size: 14px;
        color: #007bff;

        background: rgba(255, 255, 255, 0.6);
        backdrop-filter: blur(10px);
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    }
}

/* ─── Progress bar ─── */
.progress-wrap {
    position: relative;
    z-index: 10;
    max-width: 720px;
    margin: 28px auto 0;
    padding: 0 24px;
    animation: fadeUp 0.7s 0.1s both;
}

.progress-track {
    height: 4px;
    background: rgba(148, 163, 184, 0.2);
    border-radius: 2px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: var(--grad);
    border-radius: 2px;
    width: 0%;
    transition: width 0.4s ease;
}

.progress-label {
    display: flex;
    justify-content: space-between;
    font-size: 11px;
    color: var(--text-muted);
    margin-top: 6px;
    font-weight: 500;
}

/* ─── Main container ─── */
.container {
    position: relative;
    z-index: 10;
    max-width: 70%;
    margin: 0 auto;
    padding: 28px 24px 11px;
    animation: fadeUp 0.7s 0.2s both;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ─── Card ─── */
.card {
    /* background: var(--surface); */
    background-color: #ffffffe6;
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 24px;
    padding: 36px;
    box-shadow: var(--shadow-lg);
    margin-bottom: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-2px);
    box-shadow: 0 32px 72px rgba(15, 23, 42, 0.14);
}

/* ─── Section header ─── */
.section-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 28px;
}

.section-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background-color: #1393fe40;
    /* background: var(--grad); */
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
    box-shadow: 0 4px 16px rgba(48, 185, 253, 0.3);
}

.section-title {
    font-size: 17px;
    font-weight: 700;
    color: var(--text-primary);
}

.section-subtitle {
    font-size: 12px;
    color: var(--text-muted);
    font-weight: 400;
    margin-top: 2px;
}

.section-line {
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, rgba(148, 163, 184, 0.3), transparent);
}

/* ─── Grid ─── */
.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.grid-3 {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 20px;
}

.col-full {
    grid-column: 1 / -1;
}

@media (max-width: 640px) {

    .grid-2,
    .grid-3 {
        grid-template-columns: 1fr;
    }

    .card {
        padding: 24px 20px;
        margin-bottom: 40px;
    }
}

/* ─── Float label field ─── */
.field {
    position: relative;
    margin-bottom: 4px;
}

.field label {
    position: absolute;
    top: 50%;
    left: 16px;
    transform: translateY(-50%);
    font-size: 13.5px;
    font-weight: 500;
    color: var(--text-muted);
    pointer-events: none;
    transition: all 0.22s cubic-bezier(0.4, 0, 0.2, 1);
    background: transparent;
    padding: 0 4px;
    z-index: 1;
}

.field.textarea-field label {
    top: 18px;
    transform: none;
}

.field input,
.field select,
.field textarea {
    width: 100%;
    height: 54px;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 20px 16px 6px;
    font-family: 'Poppins', sans-serif;
    font-size: 13.5px;
    font-weight: 500;
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.6);
    outline: none;
    transition: all 0.22s ease;
    appearance: none;
}

.field textarea {
    height: auto;
    min-height: 80px;
    padding-top: 24px;
    resize: none;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
    border-color: var(--primary);
    background: rgba(255, 255, 255, 0.9);
    box-shadow: var(--shadow-glow);
}

.field input:focus+label,
.field input:not(:placeholder-shown)+label,
.field select:focus+label,
.field select:not([value=""])+label,
.field textarea:focus+label,
.field textarea:not(:placeholder-shown)+label,
.field.has-value label {
    top: 9px;
    transform: none;
    font-size: 10.5px;
    font-weight: 600;
    color: var(--primary-dark);
    letter-spacing: 0.03em;
}

/* custom select arrow */
.field select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 17 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 40px;
    cursor: pointer;
}

.field input[type="date"]::-webkit-calendar-picker-indicator {
    opacity: 0.4;
    cursor: pointer;
}

/* ─── Error state ─── */
.field.error input,
.field.error select,
.field.error textarea {
    border-color: var(--error);
    background: rgba(239, 68, 68, 0.04);
    animation: shake 0.4s ease;
}

.field.error label {
    color: var(--error) !important;
}

.error-msg {
    font-size: 11px;
    color: var(--error);
    margin-top: 5px;
    padding-left: 4px;
    font-weight: 500;
    display: none;
    animation: fadeIn 0.2s ease;
}

.field.error .error-msg {
    display: block;
}

@keyframes shake {

    0%,
    100% {
        transform: translateX(0);
    }

    20%,
    60% {
        transform: translateX(-5px);
    }

    40%,
    80% {
        transform: translateX(5px);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-4px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ─── Success state ─── */
.field.success input,
.field.success select {
    border-color: var(--success);
    background: rgba(34, 197, 94, 0.04);
}

.field .check-icon {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    background: var(--success);
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    color: #fff;
    animation: popIn 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.field.success .check-icon {
    display: flex;
}

@keyframes popIn {
    from {
        transform: translateY(-50%) scale(0);
    }

    to {
        transform: translateY(-50%) scale(1);
    }
}

/* ─── Upload box ─── */
.upload-box {
    border: 2px dashed rgba(148, 163, 184, 0.35);
    border-radius: var(--radius-sm);
    padding: 24px 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.25s ease;
    background: rgba(255, 255, 255, 0.4);
    position: relative;
    overflow: hidden;
}

.upload-box:hover,
.upload-box.dragover {
    border-color: var(--primary);
    background: rgba(48, 185, 253, 0.05);
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(48, 185, 253, 0.12);
}

.upload-box input[type="file"] {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
    z-index: 2;
}

.upload-icon {
    width: 44px;
    height: 44px;
    /* background: linear-gradient(135deg, rgba(48,185,253,0.15), rgba(99,102,241,0.15)); */
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin: 0 auto 12px;
    transition: transform 0.3s ease;
}

.upload-box:hover .upload-icon {
    transform: scale(1.1) rotate(-5deg);
}

.upload-title {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.upload-sub {
    font-size: 11px;
    color: var(--text-muted);
}

.upload-sub span {
    color: var(--primary);
    font-weight: 600;
}

.upload-preview {
    margin-top: 14px;
    display: none;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    background: rgba(34, 197, 94, 0.08);
    border-radius: 8px;
    border: 1px solid rgba(34, 197, 94, 0.2);
}

.upload-preview.show {
    display: flex;
    animation: fadeIn 0.3s ease;
}

.preview-img {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    object-fit: cover;
    border: 2px solid rgba(34, 197, 94, 0.3);
}

.preview-info {
    flex: 1;
    text-align: left;
}

.preview-name {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-primary);
}

.preview-size {
    font-size: 10px;
    color: var(--text-muted);
    margin-top: 2px;
}

.preview-remove {
    width: 22px;
    height: 22px;
    background: rgba(239, 68, 68, 0.1);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 11px;
    color: var(--error);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.preview-remove:hover {
    background: var(--error);
    color: #fff;
}

/* upload label */
.upload-label {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-secondary);
    display: block;
    margin-bottom: 8px;
    letter-spacing: 0.02em;
}

/* ─── Multi-file upload ─── */
.multi-upload {
    position: relative;
}

.file-list {
    margin-top: 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.file-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 8px;
    border: 1px solid var(--border);
    animation: fadeIn 0.3s ease;
}

.file-item-icon {
    font-size: 18px;
}

.file-item-name {
    flex: 1;
    font-size: 12px;
    font-weight: 500;
    color: var(--text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.file-item-progress {
    width: 60px;
}

.file-progress-bar {
    height: 3px;
    background: rgba(148, 163, 184, 0.2);
    border-radius: 2px;
    overflow: hidden;
}

.file-progress-fill {
    height: 100%;
    background: var(--grad);
    width: 0%;
    transition: width 1.2s ease;
    border-radius: 2px;
}

.file-item-remove {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-muted);
    font-size: 14px;
    padding: 2px 4px;
    transition: color 0.2s;
}

.file-item-remove:hover {
    color: var(--error);
}

/* ─── Submit button ─── */
.sticky-footer {
    /* position: fixed; bottom: 0; left: 0; right: 0; */
    z-index: 100;
    padding: 16px 24px;
    /* background: rgba(240,246,255,0.85); */
    backdrop-filter: blur(20px);
    border-top: 1px solid rgba(255, 255, 255, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    background-color: #f4f9fd;
}

.submit-btn {
    position: relative;
    height: 52px;
    min-width: 240px;
    background: var(--grad);
    color: #fff;
    border: none;
    border-radius: 14px;
    /* font-family: 'Poppins', sans-serif; */
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.03em;
    cursor: pointer;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 6px 24px rgba(48, 185, 253, 0.35), 0 2px 8px rgba(48, 185, 253, 0.2);
}

.submit-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, transparent 60%);
    border-radius: 14px;
}

.submit-btn::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -60%;
    width: 30%;
    height: 200%;
    background: rgba(255, 255, 255, 0.2);
    transform: skewX(-20deg);
    transition: left 0.5s ease;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 36px rgba(48, 185, 253, 0.45), 0 4px 12px rgba(48, 185, 253, 0.25);
}

.submit-btn:hover::after {
    left: 130%;
}

.submit-btn:active {
    transform: translateY(0);
}

.submit-btn .btn-text,
.submit-btn .btn-loading,
.submit-btn .btn-success {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.submit-btn .btn-loading,
.submit-btn .btn-success {
    position: absolute;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.submit-btn.loading .btn-text {
    opacity: 0;
}

.submit-btn.loading .btn-loading {
    display: flex;
}

.submit-btn.done .btn-text,
.submit-btn.done .btn-loading {
    opacity: 0;
    display: none;
}

.submit-btn.done .btn-success {
    display: flex;
    background: linear-gradient(135deg, #22c55e, #16a34a);
    border-radius: 14px;
}

.submit-btn.done {
    box-shadow: 0 6px 24px rgba(34, 197, 94, 0.4);
}

.spinner {
    width: 18px;
    height: 18px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin 0.7s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.reset-btn {
    height: 52px;
    padding: 0 24px;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    border: 1.5px solid var(--border);
    border-radius: 14px;
    font-family: 'Poppins', sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.2s ease;
}

.reset-btn:hover {
    background: rgba(255, 255, 255, 0.95);
    border-color: rgba(148, 163, 184, 0.4);
    color: var(--text-primary);
}

/* ─── Char counter ─── */
.char-hint {
    font-size: 10px;
    color: var(--text-muted);
    text-align: right;
    margin-top: 4px;
    font-weight: 400;
}

/* ─── Helper text ─── */
.hint {
    font-size: 11px;
    color: var(--text-muted);
    margin-top: 5px;
    padding-left: 4px;
}



.card11 {
    margin-top: 30px;
}

/* ─── Responsive ─── */
@media (max-width: 480px) {
    .header {
        padding: 24px 16px 0;
    }

    .container {
        padding: 20px 16px 110px;
    }

    .sticky-footer {
        flex-direction: column;
        gap: 10px;
        padding: 12px 16px;
    }

    .submit-btn,
    .reset-btn {
        width: 100%;
        min-width: unset;
    }

    .container {
        position: relative;
        z-index: 10;
        max-width: 100%;
        margin: 0 auto;
        padding: 28px 10px 11px;
        animation: fadeUp 0.7s 0.2s both;
    }

    .header p {
        font-size: 12px;
        color: #6c757d;
        max-width: 100%;
        margin: auto;
    }



}

