    @import url('https://fonts.googleapis.com/css2?family=Germania+One&display=swap');

    /* â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€
       MODERN FLOATING HEADER & NAVBAR â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
    :root {
        --color-primary: #D84315;
        --color-primary-light: #F4511E;
        --color-accent: #FF9800;
        --color-accent-light: #FFB74D;
        --color-cream: #FFF8E1;
        --color-dark: #4E342E;
        --color-text: #212121;
        --color-border: #D7CCC8;
        --shadow-soft: 0 8px 30px rgba(216, 67, 21, 0.12);
        --shadow-card: 0 4px 15px rgba(0, 0, 0, 0.05);
        --radius-card: 12px;
        --radius-input: 6px;
        --transition: all 0.3s ease;
        --font-body: 'Segoe UI', system-ui, sans-serif;
        --font-heading: 'Germania One', 'Playfair Display', serif;
        --nav-height: 70px;
        --nav-bg: rgba(255, 255, 255, 0.98);
    }

    html {
        font-size: 18px;
    }

    body {
        font-family: var(--font-body);
        background: var(--color-cream);
        color: var(--color-text);
        min-height: 100vh;
        overflow-x: hidden;
        display: flex;
        flex-direction: column;
    }

    a {
        text-decoration: none;
        color: inherit;
    }

    .site-header {
        position: absolute; /* No longer sticky */
        top: 60px;
        left: 50%;
        transform: translateX(-50%);
        z-index: 1040;
        height: var(--nav-height);
        width: 95%;
        max-width: 1400px;
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
        pointer-events: none;
    }

    .brand-section {
        display: flex;
        align-items: center;
        padding: 0 35px;
        background: rgba(255, 255, 255, 0.1);
        backdrop-filter: blur(15px);
        -webkit-backdrop-filter: blur(15px);
        border: 1px solid rgba(255, 255, 255, 0.4);
        border-radius: 40px;
        height: 70px;
        box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2), inset 0 0 0 1px rgba(255, 255, 255, 0.2);
        pointer-events: auto;
        position: relative;
        overflow: hidden;
    }

    /* Subtle shine animation for premium feel */
    .brand-section::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 50%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
        transform: skewX(-20deg);
        animation: shine 6s infinite;
    }

    @keyframes shine {
        0% { left: -100%; }
        20% { left: 200%; }
        100% { left: 200%; }
    }

    .header-caption {
        font-family: var(--font-heading);
        font-size: 2rem;
        font-weight: 700;
        color: #FFFFFF;
        display: flex;
        align-items: center;
        gap: 12px;
        text-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
        letter-spacing: 1px;
    }

    .header-caption span {
        color: var(--color-accent-light); /* Golden accent */
    }
    
    .header-caption i {
        background: linear-gradient(135deg, #F9F871, var(--color-accent-light));
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        font-size: 2rem;
        filter: drop-shadow(0 2px 5px rgba(0,0,0,0.4));
    }

    .header-temple-logo {
        max-height: 48px;
        max-width: 150px;
        width: auto;
        height: auto;
        object-fit: contain;
        border-radius: 8px;
        background: rgba(255, 255, 255, 0.95);
        padding: 2px 6px;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    }

    .site-brand-title {
        font-size: 1.25rem;
        font-weight: 700;
        color: #ffffff;
        letter-spacing: 0.5px;
    }

    /* Back To Top Button */
    .back-to-top {
        position: fixed;
        bottom: 30px;
        right: 30px;
        z-index: 1050;
        display: none;
        background: linear-gradient(135deg, #8E0E00, #3C1008);
        color: #fff;
        border: 2px solid #D4AF37;
        border-radius: 50%;
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
        cursor: pointer;
        transition: transform 0.3s, background 0.3s;
        align-items: center;
        justify-content: center;
    }

    .back-to-top:hover {
        background: #D84315;
        transform: translateY(-5px);
    }

    .nav-menu {
        display: flex;
        position: relative;
        padding: 5px;
        height: 60px;
        margin: 0;
        background: var(--nav-bg);
        border-radius: 30px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
        pointer-events: auto;
    }

    .nav-item {
        list-style: none;
        flex: 1; /* Make items flexible for responsiveness */
        min-width: 70px;
        max-width: 100px;
        height: 50px;
        position: relative;
        z-index: 1;
    }

    .nav-item a {
        position: relative;
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 4px;
        width: 100%;
        text-align: center;
        font-weight: 600;
        height: 100%;
        color: var(--color-dark);
        border-radius: 25px;
        transition: color 0.3s ease;
    }

    .nav-item a i {
        font-size: 1.1rem;
    }

    .nav-item a .text {
        font-size: 0.75rem;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }

    /* Active State Text Color */
    .nav-item.active a {
        color: #fff;
    }

    /* The Animated Sliding Pill Indicator */
    .indicator {
        position: absolute;
        top: 5px;
        left: 5px;
        width: 100px;
        height: 50px;
        background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
        border-radius: 25px;
        transition: 0.4s cubic-bezier(0.25, 1, 0.5, 1);
        z-index: 0;
        box-shadow: 0 4px 15px rgba(216, 67, 21, 0.3);
    }

    /* ──────── SOLID STICKY NAVBAR (For Alternative Layouts: Sidebar, Heritage, SevaCards, Partagali) ──────── */
    .solid-nav-header {
        position: sticky !important;
        top: 0 !important;
        left: 0 !important;
        transform: none !important;
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        min-height: 64px !important;
        background: #ffffff !important;
        border-bottom: 1px solid #e2e8f0 !important;
        box-shadow: 0 4px 18px rgba(0, 0, 0, 0.04) !important;
        padding: 0.5rem 2rem !important;
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        z-index: 1050 !important;
        pointer-events: auto !important;
    }

    .solid-nav-header .brand-section {
        background: transparent !important;
        border: none !important;
        box-shadow: none !important;
        padding: 0 !important;
        height: auto !important;
    }

    .solid-nav-header .brand-section::before {
        display: none !important;
    }

    .solid-nav-header .header-caption {
        font-size: 1.35rem !important;
        color: #1e293b !important;
        text-shadow: none !important;
        letter-spacing: 0.2px !important;
    }

    .solid-nav-header .site-brand-title {
        color: var(--color-primary, #b83214) !important;
        font-weight: 700 !important;
    }

    .solid-nav-header .header-temple-logo {
        max-height: 44px !important;
        border-radius: 8px !important;
        box-shadow: 0 2px 6px rgba(0,0,0,0.08) !important;
        border: 1px solid #e2e8f0 !important;
    }

    .solid-nav-header .nav-menu {
        background: #f1f5f9 !important;
        border: 1px solid #e2e8f0 !important;
        box-shadow: none !important;
        height: 44px !important;
        padding: 3px !important;
        border-radius: 22px !important;
    }

    .solid-nav-header .nav-item {
        height: 38px !important;
        min-width: 60px !important;
    }

    .solid-nav-header .nav-item a {
        color: #475569 !important;
        font-size: 0.78rem !important;
        padding: 0 10px !important;
    }

    .solid-nav-header .nav-item.active a {
        color: #ffffff !important;
    }

    .solid-nav-header .indicator {
        height: 38px !important;
        top: 3px !important;
        background: linear-gradient(135deg, var(--color-primary, #b83214), var(--color-accent, #d9531e)) !important;
        border-radius: 19px !important;
        box-shadow: 0 2px 8px rgba(184, 75, 14, 0.25) !important;
    }

    /* ──────── HERO & VIDEO SECTION ──────── */
    .hero-wizard {
        padding: calc(var(--nav-height) + 75px) 1.5rem 3rem;
        display: flex;
        align-items: center;
        justify-content: center;
        position: relative;
        background-color: var(--color-dark);
        overflow: hidden;
    }

    #heroBgImage, #heroVideo {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        z-index: 0;
        transition: opacity 1s ease-in-out;
    }

    .hero-wizard::before {
        content: '';
        position: absolute;
        inset: 0;
        background: linear-gradient(135deg, rgba(78, 52, 46, 0.85) 0%, rgba(216, 67, 21, 0.75) 100%);
        z-index: 1;
    }

    .hero-grid {
        position: relative;
        z-index: 2;
        width: 100%;
        max-width: 1200px;
        display: grid;
        grid-template-columns: 1.2fr 0.8fr;
        gap: 3rem;
        align-items: center;
    }

    .hero-message {
        color: #fff;
    }

        .hero-message .main-title {
            font-family: var(--font-heading);
            font-size: 3.5rem;
            font-weight: 700;
            line-height: 1.1;
            margin-bottom: 0.5rem;
            text-shadow: 2px 2px 8px rgba(0,0,0,0.4);
        }

        .hero-message .sub-title {
            font-size: 1.4rem;
            color: var(--color-accent);
            text-shadow: 1px 1px 4px rgba(0,0,0,0.4);
        }

    /* â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ FORM WIZARD CARD â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
    .wizard-card {
        background: #ffffff;
        border-radius: var(--radius-card);
        box-shadow: var(--shadow-soft);
        padding: 1.8rem;
        border: 1px solid rgba(255, 152, 0, 0.3);
    }

        .wizard-card .form-title {
            font-size: 1.2rem;
            font-weight: 700;
            color: var(--color-primary);
            margin-bottom: 1rem;
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }

    /* ════════════════════════════════════════ */
    /* PREMIUM WIZARD STEP PROGRESS BAR         */
    /* ════════════════════════════════════════ */
    .wizard-progress {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 2rem;
        position: relative;
        padding: 0 1rem;
    }

    .wizard-progress::before {
        content: '';
        position: absolute;
        top: 18px;
        left: 2.5rem;
        right: 2.5rem;
        height: 3px;
        background: #e2e8f0;
        z-index: 0;
        border-radius: 3px;
    }

    .wizard-step-indicator {
        position: relative;
        z-index: 1;
        background: transparent;
        padding: 0;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0.4rem;
        cursor: default;
    }

    .wizard-step-indicator .step-num {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 36px;
        height: 36px;
        border-radius: 50%;
        background: #ffffff;
        border: 2px solid #cbd5e1;
        color: #64748b;
        font-size: 0.92rem;
        font-weight: 700;
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .wizard-step-indicator.active .step-num {
        background: linear-gradient(135deg, var(--color-primary, #b83214) 0%, var(--color-accent, #d9531e) 100%);
        border-color: transparent;
        color: #ffffff;
        box-shadow: 0 0 0 5px rgba(217, 83, 30, 0.2), 0 4px 12px rgba(184, 50, 20, 0.25);
        transform: scale(1.08);
    }

    .wizard-step-indicator.completed .step-num {
        background: #059669;
        border-color: #059669;
        color: #ffffff;
    }

    .wizard-step-indicator .step-text {
        font-size: 0.76rem;
        font-weight: 600;
        color: #64748b;
        text-transform: uppercase;
        letter-spacing: 0.4px;
        white-space: nowrap;
    }

    .wizard-step-indicator.active .step-text {
        color: var(--color-primary, #b83214);
        font-weight: 700;
    }

    .wizard-step {
        display: none;
        animation: fadeIn 0.3s ease;
    }

    .wizard-step.active {
        display: block;
    }

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

    /* ════════════════════════════════════════ */
    /* LUXURY FORM CRAFTSMANSHIP & FIELDS       */
    /* ════════════════════════════════════════ */
    .form-group {
        margin-bottom: 0.85rem;
        position: relative;
    }

    .form-field-label {
        display: none !important;
    }

    .form-control, .form-control-compact {
        width: 100%;
        height: 42px;
        min-height: 42px;
        padding: 0.45rem 0.9rem;
        border: 1.5px solid #d5dbe2;
        border-radius: 10px;
        font-size: 0.92rem;
        background: #ffffff;
        color: #0f172a;
        font-weight: 500;
        box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
        transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
    }

    select.form-control, .form-select-compact {
        width: 100%;
        height: 42px;
        padding: 0.45rem 0.9rem;
        font-size: 0.92rem;
        border: 1.5px solid #d5dbe2;
        border-radius: 10px;
        background-color: #ffffff;
        color: #0f172a;
        font-weight: 500;
        box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
        cursor: pointer;
    }

    .form-control:hover, select.form-control:hover, .form-control-compact:hover, .form-select-compact:hover {
        border-color: #94a3b8;
    }

    .form-control:focus, select.form-control:focus, .form-control-compact:focus, .form-select-compact:focus {
        border-color: var(--color-primary, #b83214);
        outline: none;
        background-color: #ffffff;
        box-shadow: 0 0 0 4px rgba(184, 50, 20, 0.12), 0 2px 6px rgba(0, 0, 0, 0.04);
    }

    .form-control::placeholder, .form-control-compact::placeholder {
        color: #94a3b8;
        font-weight: 400;
        font-size: 0.88rem;
    }

    .form-row {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 0.75rem;
    }

    .text-danger {
        font-size: 0.78rem;
        color: #dc2626;
        display: block;
        margin-top: 4px;
        font-weight: 500;
    }

    /* Mobile & OTP row styling */
    .mobile-otp-row {
        display: grid;
        grid-template-columns: 1fr max-content;
        gap: 0.6rem;
        align-items: start;
        margin-bottom: 0.85rem;
    }

    .mobile-otp-row .form-group {
        margin-bottom: 0;
        width: 100%;
    }

    .otp-btn {
        height: 42px;
        padding: 0.45rem 1.15rem;
        background: linear-gradient(135deg, var(--color-primary, #b83214) 0%, var(--color-accent, #d9531e) 100%);
        color: #ffffff;
        border: none;
        border-radius: 10px;
        font-size: 0.85rem;
        font-weight: 700;
        cursor: pointer;
        white-space: nowrap;
        box-shadow: 0 3px 10px rgba(184, 50, 20, 0.2);
        transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
    }

    .otp-btn:hover {
        filter: brightness(1.08);
        transform: translateY(-1px);
        box-shadow: 0 5px 14px rgba(184, 50, 20, 0.3);
    }

    /* 80G Tax Exemption Card */
    .checkbox-wrap {
        display: flex;
        align-items: center;
        gap: 0.75rem;
        background: linear-gradient(135deg, #fffbf5 0%, #fff6ee 100%);
        border: 1.5px solid #fed7aa;
        border-radius: 12px;
        padding: 0.75rem 1rem;
        margin: 1.1rem 0;
        box-shadow: 0 2px 8px rgba(230, 81, 0, 0.05);
        cursor: pointer;
    }

    .checkbox-wrap input[type="checkbox"] {
        width: 20px;
        height: 20px;
        accent-color: var(--color-primary, #b83214);
        cursor: pointer;
        flex-shrink: 0;
        margin: 0;
    }

    .checkbox-wrap label {
        margin: 0;
        font-size: 0.92rem;
        font-weight: 700;
        color: #7c2d12;
        cursor: pointer;
        display: flex;
        align-items: center;
        gap: 0.5rem;
        flex-wrap: wrap;
    }

    .checkbox-wrap label .tax-badge {
        background: #fef3c7;
        color: #92400e;
        border: 1px solid #fde68a;
        font-size: 0.72rem;
        padding: 2px 8px;
        border-radius: 6px;
        font-weight: 700;
    }

    #documentFields {
        display: none;
        background: #f8fafc;
        border: 1.5px dashed #cbd5e1;
        border-radius: 12px;
        padding: 1rem 1.1rem;
        margin-top: 0.85rem;
        margin-bottom: 0.85rem;
    }

    .info-box {
        background: #fff8f1;
        padding: 0.65rem 1rem;
        border-radius: 10px;
        border-left: 4px solid var(--color-accent, #d9531e);
        border: 1px solid #fed7aa;
        border-left-width: 4px;
        margin: 0.6rem 0 1rem;
        font-size: 0.86rem;
        color: #7c2d12;
        font-weight: 500;
    }

    /* Primary Wizard Action Buttons */
    .wizard-nav {
        display: flex;
        justify-content: space-between;
        margin-top: 1.75rem;
        gap: 1rem;
    }

    .btn-prev {
        height: 46px;
        padding: 0.65rem 1.6rem;
        background: #f1f5f9;
        color: #475569;
        border: 1.5px solid #cbd5e1;
        border-radius: 10px;
        font-size: 0.94rem;
        font-weight: 700;
        cursor: pointer;
        transition: all 0.2s ease;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 0.5rem;
    }

    .btn-prev:hover {
        background: #e2e8f0;
        color: #0f172a;
    }

    .btn-next, .btn-submit, .donate-btn, .next-step-btn {
        height: 46px;
        padding: 0.65rem 2rem;
        background: linear-gradient(135deg, var(--color-primary, #b83214) 0%, var(--color-accent, #d9531e) 100%);
        color: #ffffff !important;
        border: none;
        border-radius: 10px;
        font-size: 0.98rem;
        font-weight: 700;
        letter-spacing: 0.3px;
        cursor: pointer;
        box-shadow: 0 4px 15px rgba(184, 50, 20, 0.28);
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 0.6rem;
        transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
    }

    .btn-next:hover, .btn-submit:hover, .donate-btn:hover, .next-step-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 24px rgba(184, 50, 20, 0.38);
        filter: brightness(1.06);
    }

    .btn-next:disabled, .btn-submit:disabled, .donate-btn:disabled, .next-step-btn:disabled {
        background: #e2e8f0 !important;
        color: #94a3b8 !important;
        box-shadow: none !important;
        transform: none !important;
        cursor: not-allowed !important;
        filter: none !important;
    }

    .payment-summary {
        background: rgba(255, 152, 0, 0.05);
        padding: 1rem 1.2rem;
        border-radius: var(--radius-input);
        border: 1px solid rgba(255, 152, 0, 0.2);
        margin-bottom: 1.5rem;
        font-size: 0.95rem;
    }

        .payment-summary .summary-item {
            display: flex;
            justify-content: space-between;
            align-items: flex-start;
            padding: 0.5rem 0;
            border-bottom: 1px dashed var(--color-border);
            gap: 1rem;
        }

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

            .payment-summary .summary-item .label {
                font-weight: 600;
                color: #5D4037;
                flex-shrink: 0;
            }

            .payment-summary .summary-item .value {
                font-weight: 700;
                color: var(--color-primary);
                text-align: right;
                word-break: break-word;
            }

    /* â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ FULL-WIDTH INFO CARDS ROW â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
    .info-cards-section {
        background: #ffffff;
        padding: 5rem 2rem;
        border-top: 4px solid var(--color-accent);
    }

    .info-grid {
        max-width: 1500px;
        width: 98%;
        margin: 0 auto;
        display: grid;
        grid-template-columns: 1fr 1fr 1fr;
        gap: 3rem;
    }

    .info-card {
        padding: 0 1.5rem;
        border-right: 2px dashed var(--color-border);
        display: flex;
        flex-direction: column;
        gap: 1.2rem;
    }

        .info-card:last-child {
            border-right: none;
        }

    .info-card-header {
        font-family: var(--font-heading);
        font-size: 1.8rem;
        font-weight: 700;
        color: var(--color-primary);
        margin-bottom: 0.5rem;
    }

    .info-card-text {
        font-size: 1.05rem;
        line-height: 1.7;
        color: var(--color-text);
    }

    .info-card img {
        max-width: 100%;
        border-radius: 8px;
        box-shadow: var(--shadow-card);
        border: 1px solid var(--color-border);
    }

    /* â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ STATIC FOOTER â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
    .site-footer {
        flex-shrink: 0;
        background: var(--color-dark);
        color: #fff;
        padding: 1.5rem 2rem;
        display: flex;
        justify-content: space-between;
        align-items: center;
        flex-wrap: wrap;
        gap: 1.5rem;
        border-top: 2px solid rgba(255,255,255,0.1);
    }

    .footer-brand {
        display: flex;
        align-items: center;
        gap: 1rem;
    }

        .footer-brand img {
            height: 45px;
            background: #fff;
            padding: 4px;
            border-radius: 8px;
        }

        .footer-brand .powered-by {
            font-size: 0.85rem;
            color: #BCAAA4;
            margin-bottom: 2px;
        }

        .footer-brand .company-name {
            font-weight: 700;
            color: var(--color-accent);
            letter-spacing: 1px;
            font-size: 1rem;
        }

    .footer-links {
        display: flex;
        gap: 1.5rem;
        flex-wrap: wrap;
    }

        .footer-links a {
            color: #FFE0B2;
            font-size: 0.95rem;
            font-weight: 500;
            cursor: pointer;
            transition: color 0.3s;
        }

            .footer-links a:hover {
                color: var(--color-accent);
                text-decoration: underline;
            }

    /* â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ JQUERY UI OTP DIALOG OVERRIDES â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
    .ui-widget-overlay {
        background: rgba(0, 0, 0, 0.7) !important; /* Darken the background */
        backdrop-filter: blur(5px) !important; /* Blur the form behind it */
        opacity: 1 !important;
        z-index: 1100 !important;
    }

    .ui-dialog {
        background: #ffffff !important;
        border-radius: 16px !important;
        box-shadow: 0 20px 60px rgba(0,0,0,0.5) !important;
        border: none !important;
        overflow: hidden;
        z-index: 1150 !important;
        padding: 0 !important;
        max-width: 420px !important;
        width: 90% !important;
    }

    .ui-dialog-titlebar {
        background: var(--color-primary) !important;
        color: #fff !important;
        border: none !important;
        font-family: var(--font-heading);
        padding: 1.2rem 1.5rem !important;
        border-radius: 0 !important;
    }

    .ui-dialog-titlebar-close {
        background: rgba(255,255,255,0.2) !important;
        border: none !important;
        color: #fff !important;
        border-radius: 50% !important;
        margin-top: -10px !important;
        transition: var(--transition);
    }

        .ui-dialog-titlebar-close:hover {
            background: rgba(255,255,255,0.4) !important;
        }

    .ui-dialog-content {
        padding: 2rem 1.5rem !important;
        background: #ffffff !important;
        text-align: center;
    }

    @media (max-width: 900px) {
        .site-header {
            flex-direction: column;
            gap: 15px;
            align-items: center;
            top: 15px;
            width: 100%;
        }

        .brand-section {
            height: 55px;
            padding: 0 25px;
            border-radius: 30px;
        }

        .header-caption {
            font-size: 1.6rem;
            gap: 8px;
        }

        .header-caption i {
            font-size: 1.8rem;
        }

        .nav-menu {
            width: 95%;
            justify-content: space-between;
        }

        .hero-wizard {
            padding-top: 150px; /* Adjust for taller stacked header */
        }

        .mobile-otp-row {
            grid-template-columns: 1fr;
        }

        .hero-grid {
            grid-template-columns: 1fr;
            gap: 2rem;
        }

        .hero-message {
            text-align: center;
        }

        .info-grid {
            grid-template-columns: 1fr;
            gap: 3rem;
        }

        .info-card {
            border-right: none;
            border-bottom: 2px dashed var(--color-border);
            padding: 0 0 3rem 0;
        }

            .info-card:last-child {
                border-bottom: none;
                padding-bottom: 0;
            }

        .site-footer {
            flex-direction: column;
            text-align: center;
            justify-content: center;
        }
    }

    /* ════════════════════════════════════════
       PAN & DOCUMENT VALIDATION STYLES (CERT-In)
       ════════════════════════════════════════ */
    #DocumentNo {
        text-transform: uppercase !important;
        letter-spacing: 1px;
        font-weight: 500;
    }

    #panValidationStatus {
        font-size: 0.82rem;
        margin-top: 5px;
        padding: 3px 6px;
        border-radius: 4px;
        transition: all 0.2s ease-in-out;
    }

    /* Hide any field labels above inputs to enforce clean placeholder-only design */
    .form-field-label,
    .wizard-card .form-group > label.form-field-label {
        display: none !important;
    }

