/* =========================================
   GARBA REGISTRATION 2026
   PREMIUM REGISTRATION PAGE
========================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "DM Sans", sans-serif;
    color: #333;

    background:
        linear-gradient(
            rgba(20, 5, 15, 0.72),
            rgba(20, 5, 15, 0.72)
        ),
        url("garba.jpg") center center / cover fixed no-repeat;
}


/* =========================================
   MAIN PAGE
========================================= */

.garba-registration-page {
    width: 100%;
    min-height: 100vh;
    padding: 35px;
    background: transparent;
}

.garba-container {
    width: 100%;
    max-width: 1450px;
    min-height: 900px;
    margin: 0 auto;

    display: grid;
    grid-template-columns: 1fr 1fr;

    overflow: hidden;
}


/* =========================================
   LEFT SIDE
========================================= */

.garba-left {
    position: relative;
    min-height: 900px;
    overflow: hidden;
    background: transparent;
}

.garba-left-content {
    position: relative;
    z-index: 3;

    width: 100%;
    height: 100%;

    padding: 30px;
}


/* =========================================
   SINDHI MELA LOGO + TITLE
========================================= */

.sindhi-branding {
    display: flex;
    align-items: center;
    gap: 18px;

    width: 100%;
}

.sms-logo {
    width: 85px;
    height: 85px;

    object-fit: contain;

    flex-shrink: 0;
}

.sindhi-title {
    color: #fff;

    font-family:
        "Noto Serif Devanagari",
        "Arial",
        sans-serif;

    font-size: 38px;
    line-height: 1.1;

    font-weight: 800;

    text-shadow:
        2px 2px 0 #a40077,
        -1px -1px 0 #a40077,
        0 4px 15px rgba(0, 0, 0, 0.5);
}


/* =========================================
   SANSKRITIK GARBA 2026 LOGO
========================================= */

.garba-event-logo {
    position: absolute;

    top: 120px;
    left: 25%;

    width: 40%;

    display: flex;
    align-items: center;
    justify-content: center;
}

.garba-event-logo img {
    width: 100%;
    max-width: 430px;

    height: auto;

    display: block;

    object-fit: contain;
}


/* =========================================
   LEFT ENGLISH CONTENT
========================================= */

.garba-intro {
    position: absolute;

    top: 350px;
    left: 50px;

    width: 90%;

    color: #fff;
}

.intro-small {
    display: flex;
    align-items: center;

    gap: 12px;

    color: #d8ae62;

    font-size: 13px;
    font-weight: 600;

    letter-spacing: 3px;
    text-transform: uppercase;

    margin-bottom: 20px;
}

.intro-small::before,
.intro-small::after {
    content: "";

    width: 35px;
    height: 1px;

    background: #d8ae62;
}

.garba-intro h1 {
    margin: 0 0 22px;

    font-family:
        "Playfair Display",
        serif;

    font-size: 68px;
    line-height: 1;

    font-weight: 600;
}

.garba-intro h1 span {
    color: #d8ae62;
}

.garba-intro p {
    max-width: 470px;

    margin: 0;

    color: rgba(255, 255, 255, 0.95);

    font-size: 17px;
    line-height: 1.8;
}

.intro-line {
    width: 65px;
    height: 2px;

    background: #d8ae62;

    margin: 25px 0;
}

.intro-note {
    display: flex;
    align-items: center;

    gap: 12px;

    color: rgba(255, 255, 255, 0.88);

    font-size: 13px;
}

.intro-note span {
    color: #d8ae62;
    font-size: 20px;
}


/* =========================================================
   RIGHT SIDE FORM
   PREMIUM IVORY + BURGUNDY + GOLD
========================================================= */

.garba-right {
    background: transparent;
    padding: 18px;
}


/* =========================================
   FORM WRAPPER
========================================= */

.form-wrapper {
    position: relative;

    width: 100%;
    height: 100%;

    padding: 32px;

    background:
        linear-gradient(
            145deg,
            #fffdf8 0%,
            #fbf5ea 100%
        );

    border: 2px solid #7d1d1d;

    border-radius: 20px;

    box-shadow:
        0 15px 40px rgba(50, 20, 10, 0.12);

    overflow: hidden;
}


/* =========================================
   INNER GOLD BORDER
========================================= */

.form-wrapper::before {
    content: "";

    position: absolute;

    inset: 7px;

    border: 1px solid #d5a85c;

    border-radius: 15px;

    pointer-events: none;

    z-index: 1;
}


/* =========================================
   FORM CONTENT ABOVE BORDER
========================================= */

.form-wrapper > * {
    position: relative;
    z-index: 2;
}


/* =========================================
   FORM TITLE
========================================= */

.form-title {
    position: relative;
    z-index: 2;

    text-align: center;

    color: #741a1a;

    font-family:
        "Playfair Display",
        serif;

    font-size: 42px;

    line-height: 1.15;

    font-weight: 700;

    margin-bottom: 6px;

    letter-spacing: 0.3px;
}


/* =========================================
   TITLE DECORATION
========================================= */

.form-decoration {
    position: relative;
    z-index: 2;

    display: flex;

    align-items: center;
    justify-content: center;

    gap: 10px;

    margin-bottom: 25px;

    color: #c18b3c;
}

.form-decoration span {
    width: 78px;

    height: 1px;

    background: #cda45f;
}

.form-decoration i {
    font-style: normal;

    color: #c18b3c;

    font-size: 18px;
}


/* =========================================
   FORM SECTION
========================================= */

.form-section {
    position: relative;
    z-index: 2;

    margin-bottom: 22px;
}


/* =========================================
   SECTION TITLE
========================================= */

.section-title {
    display: flex;

    align-items: center;

    gap: 12px;

    margin-bottom: 15px;

    color: #741a1a;

    font-family:
        "DM Sans",
        sans-serif;

    font-size: 16px;

    font-weight: 700;

    text-transform: uppercase;

    letter-spacing: 0.4px;
}


/* =========================================
   SECTION ICON CIRCLE
========================================= */

.section-title::before {
    width: 31px;
    height: 31px;

    flex: 0 0 31px;

    border: 0;

    border-radius: 50%;

    display: flex;

    align-items: center;
    justify-content: center;

    background: #7d1d1d;

    color: #fff;

    font-size: 13px;

    line-height: 1;
}


/* Personal Details */

.personal-title::before {
    content: "♙";
}


/* Class Details */

.class-title::before {
    content: "✦";
}


/* =========================================
   SECTION GOLD LINE
========================================= */

.section-title::after {
    content: "";

    height: 1px;

    background:
        linear-gradient(
            90deg,
            #c9984d,
            #dfc28d
        );

    flex: 1;
}


/* =========================================
   FORM ROW
========================================= */

.form-row {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 18px;

    margin-bottom: 14px;
}


/* =========================================
   FORM GROUP
========================================= */

.form-group {
    position: relative;

    width: 100%;
}


/* =========================================
   FULL WIDTH FIELD
========================================= */

.form-group.full {
    grid-column: 1 / -1;

    width: 100%;
}


/* =========================================
   LABEL
========================================= */

.form-group label {
    display: block;

    margin-bottom: 6px;

    color: #2f2926;

    font-size: 13px;

    font-weight: 500;
}

.form-group label span {
    color: #a52323;
}


/* =========================================
   INPUTS
========================================= */

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;

    border: 1px solid #d7cec1;

    border-radius: 6px;

    background: #fffdfa;

    color: #302a28;

    padding: 12px 13px;

    font-family:
        "DM Sans",
        sans-serif;

    font-size: 13px;

    outline: none;

    transition:
        border-color .25s ease,
        box-shadow .25s ease,
        background .25s ease;
}


/* =========================================
   INPUT HEIGHT
========================================= */

.form-group input,
.form-group select {
    height: 43px;
}


/* =========================================
   TEXTAREA
========================================= */

.form-group textarea {
    min-height: 68px;

    resize: vertical;
}


/* =========================================
   PLACEHOLDER
========================================= */

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #99928b;

    opacity: 1;
}


/* =========================================
   INPUT FOCUS
========================================= */

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: #b08345;

    background: #fffefb;

    box-shadow:
        0 0 0 3px rgba(176, 131, 69, 0.10);
}


/* =========================================
   SELECT
========================================= */

.form-group select {
    appearance: none;

    cursor: pointer;

    background-image:
        linear-gradient(
            45deg,
            transparent 50%,
            #4c4038 50%
        ),
        linear-gradient(
            135deg,
            #4c4038 50%,
            transparent 50%
        );

    background-position:
        calc(100% - 17px) 18px,
        calc(100% - 12px) 18px;

    background-size:
        5px 5px,
        5px 5px;

    background-repeat: no-repeat;

    padding-right: 35px;
}


/* =========================================
   UPLOAD AREA
========================================= */

.upload-box {
    position: relative;

    width: 100%;
    height: 110px;

    border: 1px dashed #d5a15c;

    border-radius: 8px;

    background: #fffaf2;

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    text-align: center;

    cursor: pointer;

    overflow: hidden;

    transition:
        border-color .25s ease,
        background .25s ease,
        box-shadow .25s ease;
}


/* Hover */

.upload-box:hover {
    border-color: #8a2020;

    background: #fff8ed;

    box-shadow:
        0 5px 15px rgba(125, 29, 29, 0.08);
}


/* =========================================
   HIDE NATIVE CHOOSE FILE BUTTON
========================================= */

.upload-box input[type="file"] {
    position: absolute;

    inset: 0;

    width: 100%;
    height: 100%;

    opacity: 0;

    cursor: pointer;

    z-index: 5;

    border: 0;

    padding: 0;
}


/* This ensures browser's Choose File
   button never appears visually */


/* =========================================
   UPLOAD ICON
========================================= */

.upload-icon {
    position: relative;
    z-index: 2;

    width: 36px;
    height: 36px;

    border-radius: 50%;

    display: flex;
    margin: 10px auto 10px;

    align-items: center;
    justify-content: center;

    background: #8a2020;

    color: #eee !important;

    font-size: 18px;

    font-weight: 700;

    line-height: 1;

    /*margin: 0 0 7px;*/
}


/* =========================================
   UPLOAD TITLE
========================================= */

.upload-box strong {
    position: relative;
    z-index: 2;

    color: #332b27;

    font-size: 12px;

    font-weight: 600;
}


/* =========================================
   UPLOAD INFO
========================================= */

.upload-box small {
    position: relative;
    z-index: 2;

    color: #81766d;

    font-size: 9px;

    margin-top: 3px;
}


/* =========================================
   SUBMIT BUTTON
========================================= */

.submit-btn {
    position: relative;
    z-index: 2;

    width: 100%;

    height: 52px;

    border: 0;

    border-radius: 6px;

    background:
        linear-gradient(
            90deg,
            #741717,
            #8d2323,
            #741717
        );

    color: #fff;

    font-family:
        "DM Sans",
        sans-serif;

    font-size: 15px;

    font-weight: 600;

    letter-spacing: 0.2px;

    cursor: pointer;

    display: flex;

    align-items: center;
    justify-content: center;

    gap: 25px;

    transition:
        background .3s ease,
        box-shadow .3s ease;
}


/* =========================================
   BUTTON ARROW
========================================= */

.submit-btn span {
    font-size: 25px;

    line-height: 1;

    transition:
        transform .25s ease;
}


/* =========================================
   BUTTON HOVER
========================================= */

.submit-btn:hover {
    background:
        linear-gradient(
            90deg,
            #631313,
            #7c1b1b,
            #631313
        );

    box-shadow:
        0 8px 20px rgba(112, 25, 25, 0.20);
}

.submit-btn:hover span {
    transform: translateX(4px);
}


/* =========================================
   FORM BOTTOM NOTE
========================================= */

.form-note {
    position: relative;
    z-index: 2;

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 7px;

    color: #806f63;

    font-size: 10px;

    text-align: center;

    margin-top: 10px;
}

.form-note span {
    color: #8a2020;

    font-size: 13px;
}


/* =========================================
   LARGE TABLET
========================================= */

@media (max-width: 1200px) {

    .garba-registration-page {
        padding: 20px;
    }

    .sindhi-title {
        font-size: 29px;
    }

    .sms-logo {
        width: 70px;
        height: 70px;
    }

    .garba-intro {
        left: 35px;

        width: 58%;
    }

    .garba-intro h1 {
        font-size: 52px;
    }

    .form-wrapper {
        padding: 25px 20px;
    }
}


/* =========================================
   TABLET
========================================= */

@media (max-width: 991px) {

    .garba-container {
        grid-template-columns: 1fr;
    }

    .garba-left {
        min-height: 700px;
    }

    .garba-right {
        padding: 15px;
    }

    .garba-intro {
        top: 320px;
    }
}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 600px) {

    .garba-registration-page {
        padding: 0;
    }

    .garba-container {
        min-height: auto;
    }

    .garba-left {
        min-height: 650px;
    }

    .garba-left-content {
        padding: 18px;
    }


    /* Branding */

    .sindhi-branding {
        justify-content: center;

        gap: 10px;
    }

    .sms-logo {
        width: 58px;
        height: 58px;
    }

    .sindhi-title {
        font-size: 21px;
    }


    /* Garba Logo */

    .garba-event-logo {
        top: 105px;

        left: 50%;

        transform: translateX(-50%);

        width: 65%;
    }


    /* Intro */

    .garba-intro {
        top: 275px;

        left: 50%;

        transform: translateX(-50%);

        width: 82%;

        text-align: center;
    }

    .intro-small {
        justify-content: center;
    }

    .garba-intro h1 {
        font-size: 42px;
    }

    .garba-intro p {
        font-size: 13px;

        line-height: 1.65;
    }

    .intro-line {
        margin: 20px auto;
    }

    .intro-note {
        justify-content: center;
    }


    /* Form */

    .garba-right {
        padding: 12px;
    }

    .form-wrapper {
        padding: 25px 15px;

        border-radius: 15px;
    }

    .form-title {
        font-size: 34px;
    }

    .form-decoration span {
        width: 55px;
    }

    .section-title {
        font-size: 15px;
    }

    .section-title::before {
        width: 28px;
        height: 28px;

        flex-basis: 28px;
    }

    .form-row {
        grid-template-columns: 1fr;

        gap: 13px;
    }

    /* Full width remains full width */

    .form-group.full {
        grid-column: 1 / -1;

        width: 100%;
    }

    .form-group label {
        font-size: 12px;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        font-size: 13px;
    }

    .upload-box {
        height: 105px;
    }

    .submit-btn {
        height: 50px;

        font-size: 14px;
    }
}

/* =========================================
   UPI MODAL, POLICY MODAL & CONFIRMATION CHECKBOX STYLES
========================================= */

.upi-modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 5, 10, 0.85);
    z-index: 9999;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.upi-modal-overlay.active {
    display: flex;
}

.upi-modal-box {
    background: #fffdf8;
    border: 2px solid #7d1d1d;
    border-radius: 16px;
    max-width: 440px;
    width: 100%;
    padding: 28px 24px;
    text-align: center;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    position: relative;
    animation: modalPop 0.3s ease;
}

@keyframes modalPop {
    from {
        transform: scale(0.85);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

.upi-modal-title {
    font-size: 20px;
    font-weight: 700;
    color: #7d1d1d;
    margin-bottom: 4px;
}

.upi-modal-sub {
    font-size: 13px;
    color: #666;
    margin-bottom: 16px;
}

.upi-qr-container {
    background: #ffffff;
    padding: 12px;
    border-radius: 12px;
    border: 1px solid #e2d5c3;
    display: inline-block;
    margin-bottom: 14px;
}

.upi-qr-container img {
    width: 200px;
    height: 200px;
    display: block;
}

.upi-details-badge {
    background: #fdf6e7;
    border: 1px dashed #d5a85c;
    border-radius: 8px;
    padding: 10px 14px;
    font-size: 13px;
    color: #333;
    margin-bottom: 16px;
}

.upi-details-badge strong {
    color: #7d1d1d;
}

.upi-utr-group {
    text-align: left;
    margin-bottom: 18px;
}

.upi-utr-group label {
    font-size: 13px;
    font-weight: 600;
    color: #2f2926;
    display: block;
    margin-bottom: 6px;
}

.upi-utr-group input {
    width: 100%;
    height: 42px;
    border: 1px solid #d7cec1;
    border-radius: 6px;
    padding: 10px 12px;
    font-size: 14px;
    outline: none;
}

.upi-btn-group {
    display: flex;
    gap: 10px;
}

.upi-btn-submit {
    flex: 1;
    background: #7d1d1d;
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 12px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: background 0.2s;
}

.upi-btn-submit:hover {
    background: #5e1414;
}

.upi-btn-cancel {
    background: #e2d5c3;
    color: #333;
    border: none;
    border-radius: 6px;
    padding: 12px 18px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
}

/* POLICY MODAL STYLING */
.policy-modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 5, 10, 0.82);
    backdrop-filter: blur(6px);
    z-index: 10000;
    justify-content: center;
    align-items: center;
    padding: 16px;
    box-sizing: border-box;
}

.policy-modal-overlay.active {
    display: flex;
}

.policy-modal-box {
    background: #fffdf8;
    border: 2px solid #d5a85c;
    border-radius: 20px;
    max-width: 580px;
    width: 100%;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 25px 60px rgba(125, 29, 29, 0.35);
    position: relative;
    animation: policyPop 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    overflow: hidden;
}

@keyframes policyPop {
    from {
        transform: scale(0.85);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.policy-modal-close {
    position: absolute;
    top: 14px;
    right: 16px;
    background: #7d1d1d;
    color: #ffffff;
    border: none;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    z-index: 10;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.policy-modal-close:hover {
    background: #a82424;
    transform: rotate(90deg) scale(1.1);
}

.policy-modal-header {
    background: linear-gradient(135deg, #7d1d1d 0%, #541111 100%);
    color: #ffffff;
    padding: 22px 24px 18px 24px;
    text-align: center;
    border-bottom: 3px solid #d5a85c;
}

.policy-badge {
    display: inline-block;
    background: #d5a85c;
    color: #4a0d0d;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 3px 12px;
    border-radius: 12px;
    margin-bottom: 8px;
}

.policy-title {
    font-family: 'Playfair Display', serif, Georgia;
    font-size: 22px;
    font-weight: 700;
    margin: 0 0 4px 0;
    color: #fffdf8;
    letter-spacing: 0.5px;
}

.policy-subtitle {
    font-size: 13px;
    color: #fdf6e7;
    margin: 0;
    opacity: 0.9;
}

.policy-modal-body {
    padding: 20px 24px;
    overflow-y: auto;
    max-height: calc(90vh - 170px);
}

.policy-modal-body::-webkit-scrollbar {
    width: 6px;
}
.policy-modal-body::-webkit-scrollbar-track {
    background: #fdf6e7;
}
.policy-modal-body::-webkit-scrollbar-thumb {
    background: #d5a85c;
    border-radius: 3px;
}

.policy-lang-block {
    margin-bottom: 12px;
}

.policy-hindi-header {
    font-size: 14px;
    font-weight: 700;
    color: #7d1d1d;
    margin: 0 0 10px 0;
    text-align: center;
}

.policy-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.policy-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 13.5px;
    line-height: 1.55;
    color: #333333;
    margin-bottom: 10px;
    padding: 8px 12px;
    background: #ffffff;
    border-radius: 8px;
    border-left: 3px solid #7d1d1d;
    box-shadow: 0 2px 5px rgba(0,0,0,0.03);
}

.policy-num {
    font-size: 15px;
    flex-shrink: 0;
}

.policy-divider {
    height: 1px;
    background: linear-gradient(to right, transparent, #d5a85c, transparent);
    margin: 16px 0;
}

.policy-footer-msg {
    text-align: center;
    background: #fdf6e7;
    border: 1px dashed #d5a85c;
    border-radius: 10px;
    padding: 12px;
    font-size: 14px;
    font-weight: 600;
    color: #7d1d1d;
    margin-top: 14px;
}

.policy-modal-footer {
    padding: 14px 24px;
    background: #fdf6e7;
    border-top: 1px solid #e2d5c3;
    text-align: center;
}

.policy-btn-ok {
    width: 100%;
    background: linear-gradient(135deg, #7d1d1d 0%, #541111 100%);
    color: #ffffff;
    border: none;
    border-radius: 10px;
    padding: 13px 20px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(125, 29, 29, 0.3);
    transition: all 0.25s ease;
}

.policy-btn-ok:hover {
    background: linear-gradient(135deg, #962222 0%, #6d1717 100%);
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(125, 29, 29, 0.4);
}

/* SINDHI CONFIRMATION CHECKBOX STYLING */
.sindhi-confirmation-group {
    margin-bottom: 20px;
}

.sindhi-checkbox-card {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    background: #fffdf8;
    padding: 14px 16px;
    border: 1.5px solid #d5a85c;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(125, 29, 29, 0.06);
    transition: all 0.2s ease;
}

.sindhi-checkbox-card:hover {
    border-color: #7d1d1d;
    background: #ffffff;
    box-shadow: 0 4px 16px rgba(125, 29, 29, 0.12);
}

.sindhi-checkbox-card input[type="checkbox"] {
    margin-top: 3px;
    accent-color: #7d1d1d;
    width: 19px;
    height: 19px;
    cursor: pointer;
    flex-shrink: 0;
}

.sindhi-checkbox-text {
    font-size: 13.5px;
    line-height: 1.55;
    color: #2f2926;
}

.sindhi-checkbox-hindi {
    display: block;
    margin-top: 4px;
    color: #7d1d1d;
    font-size: 13px;
    font-weight: 600;
}