/* GENERAL STYLES */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

/* HOME PAGE STYLES */
/* ... (index.html styles remain the same) ... */
.bg {
    min-height: 100vh;
    width: 100%;
    background-image: linear-gradient(rgba(15, 20, 39, 0.85), rgba(15, 20, 39, 0.85)), url(images/bgg.jpg);
    background-position: center;
    background-size: cover;
    position: relative;
}

img.logo {
    border-radius: 50%;
    margin-bottom: 30px;
    width: 150px;
    height: 150px;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.5);
}

.text-box {
    width: 90%;
    max-width: 800px;
    color: #fff;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    padding: 20px;
}

.text-box h1 {
    font-size: 55px;
    margin-bottom: 10px;
    font-weight: 700;
}

.text-box h2 {
    font-size: 35px;
    margin-bottom: 30px;
    color: #f44336;
}

.text-box p {
    font-size: 20px;
    margin-bottom: 25px;
}

.hero-btn {
    display: inline-block;
    text-decoration: none;
    color: #fff;
    border: 2px solid #fff;
    padding: 15px 40px;
    font-size: 16px;
    background: transparent;
    border-radius: 5px;
    transition: all 0.5s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-btn:hover {
    border: 2px solid #f44336;
    background: #f44336;
    box-shadow: 0 0 20px rgba(244, 67, 54, 0.8);
}


/* REGISTER PAGE STYLES */

body {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    background: linear-gradient(135deg, #71b7e6, #9b59b6);
}

.container {
    max-width: 800px;
    width: 100%;
    background-color: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* Updated styles for the Marathi text logo structure */
.marathi-logo-text {
    /* Set alignment to center center the entire block */
    text-align: center;
    margin-bottom: 20px;
    padding: 0;
}

.header-content {
    display: flex;
    align-items: center;
    /* Centering the logo + text block within the container */
    justify-content: center;
    width: 100%;
}

.marathi-logo {
    width: 80px;
    height: 80px;
    margin-right: 15px;
    flex-shrink: 0;
}

.text-group {
    /* **CRITICAL FIX:** Force text alignment to center within the text group */
    text-align: center;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    /* Ensures the text block doesn't push the logo too far */
    max-width: calc(100% - 95px);
}

.marathi-logo-text h1 {
    font-size: 22px;
    font-weight: 600;
    color: #333;
    margin: 0;
    /* --- FIX: Added margin-bottom to separate H1 and H2 --- */
    margin-bottom: 8px;
    line-height: 1.2;
}

.marathi-logo-text h2 {
    font-size: 20px;
    font-weight: 500;
    color: #555;
    margin: 0;
    line-height: 1.2;
}

.marathi-logo-text .divider {
    border-bottom: 2px solid #333;
    width: 100%;
    margin: 10px 0;
}

.marathi-logo-text h3 {
    /* This was already centered, keeping it explicit */
    text-align: center;
    font-size: 22px;
    font-weight: 700;
    color: #f44336;
    margin-top: 5px;
}

/* End Marathi Text Logo Styles */

/* ... (User details, dropdowns, buttons, etc. styles remain the same) ... */

form .user-details {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin: 20px 0;
}

form .user-details .input-box {
    margin-bottom: 20px;
    width: calc(50% - 15px);
}

form .user-details .input-box1 {
    width: 100%;
    margin-bottom: 20px;
}

form .input-box span.details {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: #333;
}

.user-details .input-box input,
.user-details .input-box1 input {
    height: 45px;
    width: 100%;
    font-size: 16px;
    border-radius: 5px;
    padding: 0 15px;
    border: 1px solid #ccc;
    transition: all 0.3s ease;
}

.user-details .input-box input:focus,
.user-details .input-box input:valid,
.user-details .input-box1 input:focus,
.user-details .input-box1 input:valid {
    border-color: #9b59b6;
    box-shadow: 0 0 5px rgba(155, 89, 182, 0.5);
}

.user-drop {
    margin-top: 20px;
}

.user-drop>div {
    margin-bottom: 20px;
}

form .dropdown,
form .dropdown-kyorugi,
form .dropdown7,
form .dropdown8,
form .dropdown9,
form .dropdown10,
form .dropdown11 {
    /* Added dropdown11 for Tag Team */
    display: block;
    width: 100%;
}

form select {
    width: 100%;
    padding: 10px 15px;
    margin-top: 5px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
    background-color: #f8f8f8;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url('data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%23666%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13%205.1L146.2%20202.7%2018.6%2074.5a17.6%2017.6%200%200%200-25.3%2024.5l137.9%20143.5c3%203.1%207.1%204.7%2011.2%204.7s8.2-1.6%2011.2-4.7l137.9-143.5a17.6%2017.6%200%200%200%20-13-29.6z%22%2F%3E%3C%2Fsvg%3E');
    background-repeat: no-repeat, repeat;
    background-position: right 0.7em top 50%, 0 0;
    background-size: 0.65em auto, 100%;
}

form select:focus {
    border-color: #9b59b6;
    outline: none;
}

form fieldset {
    padding: 25px;
    border: 1px solid #ddd;
    border-radius: 8px;
    margin-top: 30px;
}

form fieldset legend {
    font-size: 22px;
    font-weight: 700;
    padding: 0 10px;
    color: #9b59b6;
}

form fieldset .catfee {
    color: #f44336;
    font-size: 14px;
    font-weight: 500;
}

form .result,
form .finalkyorugi {
    display: none !important;
}

span2 {
    color: #f44336;
    font-size: 12px;
    display: block;
    margin-top: 5px;
}

form .concern {
    padding-top: 20px;
    display: flex;
    align-items: flex-start;
}

form .concern input[type="checkbox"] {
    margin-right: 10px;
    min-width: 20px;
    height: 20px;
    cursor: pointer;
}

form .concern label {
    font-size: 14px;
    line-height: 1.5;
    color: #555;
}

form .button {
    height: 50px;
    margin: 40px 0 20px 0;
}

form .button input {
    height: 100%;
    width: 100%;
    border-radius: 5px;
    border: none;
    color: #fff;
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: linear-gradient(135deg, #71b7e6, #9b59b6);
    text-transform: uppercase;
}

form .button input:hover {
    background: linear-gradient(-135deg, #71b7e6, #9b59b6);
}

/* MEDIA QUERIES FOR RESPONSIVENESS */
@media(max-width: 650px) {
    .container {
        padding: 20px;
    }

    form .user-details .input-box {
        width: 100%;
    }

    .content form .user-details {
        max-height: none;
        overflow-y: visible;
    }

    .text-box h1 {
        font-size: 40px;
    }

    .text-box h2 {
        font-size: 30px;
    }

    /* Responsive Marathi Header */
    .header-content {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
    }

    .marathi-logo {
        width: 60px;
        height: 60px;
        margin-right: 0;
        margin-bottom: 10px;
    }

    .text-group {
        text-align: center;
        max-width: 100%;
    }

    .marathi-logo-text h1 {
        font-size: 18px;
        /* Re-apply margin fix for mobile */
        margin-bottom: 5px;
    }

    .marathi-logo-text h2 {
        font-size: 16px;
    }

    .marathi-logo-text h3 {
        font-size: 20px;
    }

    .marathi-logo-text .divider {
        width: 90%;
    }
}

@media(max-width: 400px) {
    .marathi-logo-text h1 {
        font-size: 16px;
        /* Re-apply margin fix for smaller mobile */
        margin-bottom: 5px;
    }

    .marathi-logo-text h2 {
        font-size: 14px;
    }

    .marathi-logo-text h3 {
        font-size: 18px;
    }
}