 .nav-buttons,.nav-buttons,.logo{z-index: 1;}
 
  /* Header with nav buttons beside logo */
        .header {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 20px 24px;
            border-bottom: 1px solid #eef1f5;
            background: linear-gradient(180deg, #f8fafc 0%, #fff 100%);
            text-align: center;
            padding: 36px 15px 28px;
            border-bottom: 1px solid #eef1f5;
            background: linear-gradient(180deg, #f8fafc 0%, #fff 100%);
            position: relative;
    overflow: hidden;
        }
        .header img { max-width: 160px;    margin: auto; }

        /* Nav Buttons (beside logo) */
        .nav-buttons a {
            display: inline-flex;
    align-items: center;
    gap: 2px;
    padding: 5px 5px;
    font-size: 13px;
    font-weight: 600;
    color: #043874;
    text-decoration: none;
    border: 2px solid #043874;
    border-radius: 30px;
    transition: all 0.25s ease;
    background: transparent;
    white-space: nowrap;
        }
.header .header-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.25;
    z-index: 0;    max-width: 100%;
}
        .nav-buttons a:hover {
            background: #043874;
            color: #fff;
        }

        .nav-buttons a svg {
            width: 14px;
            height: 14px;
            fill: currentColor;
            transition: transform 0.25s ease;
        }

        .nav-buttons a.btn-back:hover svg {
            transform: translateX(-3px);
        }

        .nav-buttons a.btn-home:hover svg {
            transform: translateX(3px);
        }
        .logo {
            font-size: 32px;
            font-weight: 800;
            color: #043874;
            letter-spacing: 3px;
            position: relative;
            display: inline-block;
        }
        .logo::after {
            content: '';
            position: absolute;
            bottom: -6px;
            left: 50%;
            transform: translateX(-50%);
            width: 40px;
            height: 3px;
            background: linear-gradient(90deg, #043874, #06509e);
            border-radius: 2px;
        }
        .logo-tagline {
            font-size: 11px;
            color: #a0aec0;
            letter-spacing: 1.5px;
            margin-top: 14px;
            text-transform: uppercase;
            font-weight: 500;
        }

.header1 {
    text-align: center;
    padding: 36px 30px 28px;
    border-bottom: 1px solid #eef1f5;
    background: linear-gradient(180deg, #f8fafc 0%, #fff 100%);
}
.qr-hint {
    font-size: 14px;
    color: #7a8a9e;
    margin-bottom: 12px;
    font-weight: 500;
}
.main {
    width: 100%;
    max-width: 620px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 8px 40px rgba(4, 56, 116, 0.08), 0 2px 12px rgba(0,0,0,0.04);
    overflow: hidden;
    animation: fadeInUp 0.6s ease-out;
    display: flex;
    flex-direction: column;
    min-height: calc(100vh - 80px);
}

.copyright {
    text-align: center;
    padding: 24px 28px;
    background: #043874;
    color: rgba(255,255,255,0.6);
    font-size: 13px;
    line-height: 1.8;
    margin-top: auto;
}
 @media (max-width: 640px) {
           
            .header-bg {
                object-fit: cover;
            }
        }