body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 10px;
    background: linear-gradient(to top right, #6a3fff, #d06fff, #2a3aff);
    background-repeat: no-repeat;
    background-attachment: fixed;
    /* fix karta hai taaki scroll karne par bhi repeat na ho */
    background-size: cover;
    /* pura page cover */
}


.form-container {
    position: relative; /* overlay काम करने के लिए */
    padding: 30px;
    max-width: 900px;
    margin: auto;
    border-radius: 8px;
    background-image: url('../assets/marathon_poster.jpeg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden; /* border-radius के साथ overlay कटे */
}

.form-container::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgb(255 255 255 / 93%);
    z-index: 1;
}

.form-container * {
    position: relative;
    z-index: 2; /* ताकि content ऊपर दिखे */
}




/* Common styles */
.header-container {
    display: flex;
    align-items: start;
    justify-content: space-between;
    margin-bottom: 10px;
    flex-wrap: wrap;
}

.logo img {
    max-height: 150px;
    width: auto;
}

.left-logo {
    flex: 1;
    text-align: left;
}

.center-text {
    flex: 2;
    text-align: center;
}

.right-logo {
    flex: 1;
    text-align: right;
}

/* Responsive for mobile */
@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        text-align: center;
    }

    .left-logo,
    .right-logo {
        text-align: center;
        margin-bottom: 10px;
    }

    .center-text {
        order: 2;
        width: 100%;
    }

    .logo img {
        max-height: 100px;
        /* chhota karne ke liye mobile par */
    }
}

h2,
h3 {
    margin: 5px 0;
}

.highlight {
    font-weight: bold;
    color: red;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
    text-align: start;
}

td {
    padding: 3px;
    vertical-align: top;
    width: 50%;
}



.form-step {
    display: none;
}

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

.buttons {
    margin-top: 20px;
    display: flex;
    justify-content: space-between;
}

button {
    padding: 10px 20px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
}

.next-btn {
    background: #28a745;
    color: #fff;
}

.prev-btn {
    background: #6c757d;
    color: #fff;
}



.input-box,
select {
    width: 100%;
    padding: 8px;
    border: none;
    border-bottom: 2px solid #000;
    border-radius: 4px;
    box-sizing: border-box;
}

.section-title {
    font-weight: bold;
    margin: 40px 0px 15px 0px;
    text-decoration: underline;
}

/* Header Logo + Title Flex */
.header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-bottom: 10px;
    text-align: center;
}

.header img {
    max-height: 80px;
    width: auto;
}

.header-text {
    flex: 1 1 100%;
    margin-top: 10px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .header {
        flex-direction: column;
    }

    .header img {
        max-height: 60px;
        margin: 5px 0;
    }

    td {
        display: block;
        width: 100%;
    }
}

/* Checkbox wrapper */
.checkbox-group {
    display: flex;
    align-items: center;
    margin: 8px 0;
    font-size: 14px;
    width: auto;
    /* changed from 50% */
}


/* Hide default checkbox */
.checkbox-group input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    width: 18px;
    height: 18px;
    border: 2px solid #333;
    border-radius: 4px;
    margin-right: 8px;
    position: relative;
    cursor: pointer;
}

/* Tick effect */
.checkbox-group input[type="checkbox"]:checked::after {
    content: "✔";
    position: absolute;
    font-size: 14px;
    color: #333;
    left: 2px;
    top: -1px;
}

/* Align text with checkbox */
.checkbox-group label {
    cursor: pointer;
}

.submit-btn {
    background-color: #233e74;
    color: white;
    padding: 12px 30px;
    font-size: 16px;
    font-weight: bold;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: 0.3s ease;
}

.submit-btn:hover {
    background-color: #233e74;
}

.next-btn {
    background-color: #233e74;
    color: white;
    padding: 12px 30px;
    font-size: 16px;
    font-weight: bold;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: 0.3s ease;
}

.prev-btn {
    background-color: #323232;
    color: white;
    padding: 12px 30px;
    font-size: 16px;
    font-weight: bold;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: 0.3s ease;
}

.buttons {
    margin-top: 20px;
    display: flex;
    justify-content: end;
}

button {
    padding: 10px 20px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
}

/* payment mode */
.qr-section {
    margin: 20px 0;
    text-align: center;
}

.qr-section img {
    max-width: 200px;
    display: block;
    margin: 10px auto;
}

.account-info {
    margin: 15px 0;
    font-weight: 600;
}

.highlight {
    font-weight: bold;
    margin: 15px 0;
}

.prize {
    font-size: 18px;
    font-weight: bold;
    margin-top: 20px;
}

ul {
    margin-left: 20px;
}

ul li {
    font-weight: 600;
}

@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }

    .logo {
        margin-bottom: 10px;
    }
}

.benefits {
    list-style: none;
    padding: 0;
}

.benefits li {
    margin: 8px 0;
    font-size: 16px;
}

.benefits i {
    color: #233e74;
    /* orange accent */
    margin-right: 8px;
}