@import url("https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Manrope:wght@200..800&display=swap");

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html,
body {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    font-family: Manrope;
}

img,
picture,
video,
canvas,
svg {
    display: block;
    max-width: 100%;
}

input,
button,
textarea,
select {
    font: inherit;
}

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

ul {
    list-style: none;
}

button {
    border: none;
    outline: none;
    cursor: pointer;
}

/* custom classes */

.fade {
    opacity: 1;
    transition: opacity .5s ease-in-out;
}

.fade-out {
    opacity: 0;
}

.flex-center {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
}

.flex-between-center {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.flex-col-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* ========== Custom Styles  ============= */

.registration_page {
    background-color: black;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
}

.registration_page_content {
    display: flex;
    width: 100%;
    height: 100%;
    padding: 1rem;
    gap: 0.5rem;
}

.registration_slider,
.registration_form {
    flex: 1;
    border-radius: 1rem;
    overflow: hidden;
}

.registration_slider {
    padding: 5rem 3.5rem;
    background: rgba(255, 255, 255, 0.06);
    color: white;
    position: relative;
}

.bg_gradient_circle_yellow {
    width: 12.8125rem;
    height: 13rem;
    position: absolute;
    right: -6.375rem;
    top: 11.6875rem;
    border-radius: 50%;
    background-color: #7f8300;
    filter: blur(160px);
}

.bg_gradient_circle_green {
    width: 12.8125rem;
    height: 13rem;
    position: absolute;
    left: -6.4375rem;
    bottom: 4.6875rem;
    border-radius: 50%;
    background-color: #006229;
    filter: blur(194px);
}

.bg_gradient_circle_yellow_top_center {
    width: 12.7955rem;
    height: 12.7955rem;
    flex-shrink: 0;
    position: absolute;
    left: 50%;
    top: -6rem;
    transform: translateX(-50%);
    border-radius: 50%;
    background-color: #f8ff2983;
    border-radius: 50%;
    filter: blur(103.08196258544922px);

    transition: all 0.3s ease-in-out;
}

.heading_container {
    text-align: center;

    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.sparkl_logo_img {
    height: 2.25rem;
    margin-bottom: 5rem;
    z-index: 2;
}

.slider_main_heading {
    font-family: Inter;
    font-size: 2rem;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    letter-spacing: -0.02rem;
    background: linear-gradient(90deg, #94fbf4 0%, #fff 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1.25rem;
}

.slider_sub_heading {
    text-align: center;
    font-family: Inter;
    font-size: 1rem;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    letter-spacing: -0.01rem;

    background: linear-gradient(180deg, #f5eac8 0%, #ddaf27 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.slider_image_container {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 3.5rem;
}

#mainHeadingFixed,
#subHeadingFixed,
#sliderImageFixed {
    display: none;
}

#sliderImageFixed {
    position: relative;
}

#selected_course_text {
    position: absolute;
    top: 56%;
    left: 50%;
    transform: translateX(-50%);
    color: var(--Neutral-White, #FFF);
    text-align: center;
    font-family: Inter;
    font-size: 1.125rem;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    letter-spacing: 0.09rem;
}

/* ============== form  */
.registration_form {
    background-color: white;
    padding: 5rem;
    z-index: 2;

    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;

    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

.form_page {
    width: 100%;
    position: relative;
}



.form_section_title {
    background: linear-gradient(90deg, #000 0%, #008578 100%);
    background-clip: text;
    -webkit-background-clip: text;

    text-align: center;
    font-family: Manrope;
    font-size: 2rem;
    font-style: normal;
    font-weight: 800;
    line-height: normal;
    letter-spacing: -0.04rem;
    -webkit-text-fill-color: transparent;

    margin-bottom: 2.5rem;
}

.form_navigation {
    position: absolute;
    bottom: 5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: calc(100% - 10rem);
    z-index: -1;
}

.form_navigation_steps {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.form_navigation_back {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    cursor: pointer;
}

.step_dot {
    width: 0.5rem;
    height: 0.5rem;
    background-color: #d5d8dd;
    border-radius: 50%;
    transition: 0.3s all ease-in-out;
}

.step_dot_active {
    background-color: #008578;
    width: 1.5rem;
    height: 0.5rem;
    border-radius: 50px;
}

.option_card {
    display: flex;
    padding: 1.75rem 0.5rem;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    align-self: stretch;

    border-radius: 1rem;
    border: 1px solid var(--Primary-Light, #ffeeb9);
    background: #fff;
    box-shadow: 0px 2px 12px 0px rgba(0, 0, 0, 0.06);
    cursor: pointer;


}

.option_card:hover {
    border: 1.5px solid var(--Primary-Light, #ffc518);
}

.option_card_active {
    border: 1.5px solid var(--Primary-Light, #ffc518);
}

.option_selector {
    width: 70%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 2rem;
    margin: 0 auto;
}

.option_selector_grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.75rem;
    position: relative;
    top: -2rem;
    background-color: white;
    border-radius: 1rem;
    padding: 1rem;

    height: 45vh;
    overflow-x: hidden;
    overflow-y: auto;

    -webkit-overflow-scrolling: touch; /* for smooth scrolling on iOS Safari */
    scrollbar-width: auto; /* Firefox */
    scrollbar-color: rgba(0,0,0,0.2) transparent; /* Firefox */
}

/* Safari & Chrome */
.option_selector_grid::-webkit-scrollbar {
    width: 8px;
}

.option_selector_grid::-webkit-scrollbar-track {
    background: transparent;
}

.option_selector_grid::-webkit-scrollbar-thumb {
    background-color: rgba(0, 0, 0, 0.2);
    border-radius: 4px;
}


.option_card_title {
    color: var(--Neutral-Black, #1a1a1a);
    text-align: center;
    font-family: Manrope;
    font-size: 1.25rem;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    letter-spacing: -0.0125rem;
    margin-bottom: 0.5rem;
}

.option_card_description {
    color: var(--Neutral-Granite, #7a7a7a);
    text-align: center;
    font-family: Inter;
    font-size: 0.875rem;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    letter-spacing: -0.00875rem;
}

.form_navigation_back {
    color: var(--Neutral-Dark-Grey, #4f4f4f);
    text-align: center;
    font-family: Inter;
    font-size: 1rem;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    letter-spacing: -0.01rem;
}

.navigation_back_btn_web img {
    border-radius: 6.25rem;
    background: #f4f5f5;
    padding: 0.5rem;
}

.selected_option_title {
    text-align: center;
    font-family: Inter;
    font-size: 1rem;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    letter-spacing: -0.01rem;
    background: linear-gradient(180deg, #dca500 0%, #cc7e00 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.75rem;
    text-transform: capitalize;
}

.option_list {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-direction: column;
    position: relative;
    height: 42vh;
    overflow: auto;
    background: radial-gradient(circle,
            rgba(255, 255, 255, 0) 0%,
            rgba(255, 255, 255, 0.65) 100%);
    padding: 1rem;
    margin: 0 auto;
    margin-bottom: 1rem;

}

.option_card_tab {
    border: 1.5px solid transparent;
    border-bottom: 1px solid #fff;
    box-shadow: 0px 2px 12px 0px rgba(0, 0, 0, 0.04);
    display: flex;
    padding: 1.5rem 0.5rem;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    align-self: stretch;
    cursor: pointer;
    border-radius: 1rem;

    width: 70%;
    margin: 0 auto;

}

.option_card_tab_active {
    border: 1.5px solid var(--Primary-Light, #ffc518);
}

.multi_checkbox_card {
    position: relative;
    align-items: center;
    padding: 0 1rem;
    cursor: pointer;
    width: 100%;
    text-align: center;
}

.custom_checkbox_input {
    opacity: 0;
    position: absolute;
}

.checkbox_circle {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 0;
    height: 16px;
    width: 16px;
    border-radius: 50%;
    background-color: transparent;
    transition: all 0.2s ease;
    opacity: 0;
}

#grade-options-container {
    gap: 1rem;
}

.custom_checkbox_input:checked+.checkbox_circle {
    background-color: #ffc518;
    border-color: #ffc518;
}

.option_card_tab.option_card_tab_active {
    border: 1.5px solid #ffc518;
    /* optional highlight */
}

.gradient_option_list {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, #fff 100%);
    position: absolute;
    bottom: 0;
    height: 7.5rem;
    transition: 0.3s all ease-in-out;
}

.contact_otp_wrapper {
    width: 100%;
    margin: auto;
}

.contactForm,
.contact_form_card {
    max-width: 30vw;
    margin: 0 auto;
}

.form_card_heading {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 24px;
    color: #111;
    text-align: center;
    font-family: "Manrope", sans-serif;
}

label {
    display: block;
    margin-bottom: 6px;
    font-weight: 500;
    font-size: 14px;
    font-family: "Manrope", sans-serif;
}

.contactForm input[type="text"],
.contactForm input[type="email"],
.contactForm input[type="tel"] {
    width: 100% !important;
    padding: 1.25rem;
    border: 1px solid var(--Neutral-Border, #d5d8dd);
    font-family: "Manrope", sans-serif;
    border-radius: 1rem;
    margin-bottom: 1rem;

    color: var(--Neutral-Granite, #000000);
    font-family: "Manrope", sans-serif;
    font-size: 1rem;
    font-style: normal;
    font-weight: 700;
    line-height: 1.25rem;
    letter-spacing: -0.01rem;
    transition: border-color 0.3s ease;
    outline: none;
}

/* Placeholder styling */
.contactForm input[type="text"]::placeholder,
.contactForm input[type="email"]::placeholder,
.contactForm input[type="tel"]::placeholder {
    color: var(--Neutral-Granite, #7a7a7a);
    font-family: "Manrope", sans-serif;
    font-size: 1rem;
    font-style: normal;
    font-weight: 700;
    line-height: 1.25rem;
    letter-spacing: -0.01rem;
}

/* Change border color on focus */
.contactForm input[type="text"]:focus,
.contactForm input[type="email"]:focus,
.contactForm input[type="tel"]:focus,
.contactForm textarea:focus {
    border-color: #fdc517;
    /* your desired focus color */
    box-shadow: 0 0 0 2px rgba(253, 197, 23, 0.2);
    /* optional: soft glow */
}

.contactForm input:-webkit-autofill {
    -webkit-box-shadow: 0 0 0 1000px rgba(255, 255, 255, 0) inset !important;
    /* or your desired background */
    box-shadow: 0 0 0 1000px rgba(255, 255, 255, 0) inset !important;
    -webkit-text-fill-color: #000 !important;
    /* optional: ensures text is visible */
    transition: background-color 5000s ease-in-out 0s;
    /* trick to override autofill transition */
}

.contactForm input:-webkit-autofill {
    -webkit-box-shadow: 0 0 0 1000px transparent inset !important;
    box-shadow: 0 0 0 1000px transparent inset !important;
    -webkit-text-fill-color: inherit !important;
    transition: background-color 5000s ease-in-out 0s;
}

.form_button {
    width: 100%;
    background-color: #ffcf25;
    border: none;
    color: #000;
    padding: 14px;
    font-weight: 600;
    font-size: 16px;
    border-radius: 8px;
    cursor: pointer;
    margin-top: 8px;
    border-radius: 1rem;
    background: var(--Button-Gradient,
            linear-gradient(0deg, #f9c935 0%, #ffda57 100%));
    font-family: "Manrope", sans-serif;
    margin-top: 2.5rem;

    color: var(--Neutral-Black, #1a1a1a);
    text-align: center;
    font-family: Manrope;
    font-size: 1.125rem;
    font-style: normal;
    font-weight: 700;
    line-height: 1.25rem;
    /* 111.111% */
    letter-spacing: -0.01125rem;
}

.continue-btn {
    width: min-content;
    margin: 0 auto;
    font-size: 1rem;
    padding: 1rem 3rem;
    z-index: 2;

    position: absolute;
    bottom: -4rem;
    left: 50%;
    transform: translate(-50%);
}

.otp_inputs {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    margin: 4rem auto 1rem;
    max-width: 18rem;
}

.otp_input {
    flex: 1;
    text-align: center;
    font-size: 20px;
    padding: 1rem;
    border: 1px solid #ccc;
    width: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    font-family: "Manrope", sans-serif;
    border-radius: 1rem;
}

.otp_input:focus {
    outline: 1px solid #ffda57;
    border: 1px solid #ffda57;
}

#nameInput {
    background: url("https://www.sparkl.ac/assets/img/icons/profile.svg") no-repeat scroll 12px 18px;
    padding-left: 48px;
}

#emailInput {
    background: url("https://www.sparkl.ac/assets/img/icons/sms.svg") no-repeat scroll 12px 18px;
    padding-left: 48px;
}

.otp_status_text {
    color: var(--Neutral-Black, #1a1a1a);
    font-family: Manrope;
    font-size: 1.125rem;
    font-style: normal;
    font-weight: 500;
    line-height: 1.25rem;
    /* 111.111% */
    letter-spacing: -0.01125rem;

    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    flex-wrap: wrap;

    gap: 0.5rem;
}

.otp_timer {
    color: var(--Neutral-Black, #1a1a1a);
    font-family: Manrope;
    font-size: 1rem;
    font-style: normal;
    font-weight: 700;
    line-height: 1.25rem;
    letter-spacing: -0.01rem;

    display: flex;
    align-items: center;
    justify-content: center;
}

.light_text_otp {
    color: var(--Neutral-Granite, #7a7a7a);
    text-align: center;
    font-family: Manrope;
    font-size: 1rem;
    font-style: normal;
    font-weight: 500;
    line-height: 1.25rem;
    /* 125% */
    letter-spacing: -0.01rem;
}

.form_error {
    color: red;
    font-size: 14px;
    margin-top: 6px;
    font-weight: 600;
    text-align: left;
    font-family: "Manrope", sans-serif;
    position: relative;
    top: -1rem;
}

.form_error:last-of-type {
    top: 0;
}

.back_button {
    text-align: center;
    margin-top: 1rem;
    color: #555;
    cursor: pointer;
    font-size: 14px;
    text-decoration: underline;
    font-family: "Manrope", sans-serif;
}

.resend_link {
    color: #008578;
    cursor: pointer;
    text-align: center;
    display: none;
    font-size: 14px;
    font-family: "Manrope", sans-serif;
    font-size: 0.875rem;
    font-style: normal;
    font-weight: 600;
    line-height: 1.25rem;
    margin: 0 auto;
    background-color: transparent;
    border: none;

    display: flex;
    align-items: center;
    justify-content: center;
}

.iti {
    width: 100%;
}

#otpFormError {
    text-align: center;
    margin: 1rem auto 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

#page2,
#page3,
#page4 {
    display: none;
}



#page5 {
    color: white;
}

#thankyou_page {
    color: white;
}

/* ============== page 5 layout  */

.page5_layout {
    padding: 1rem;
}

.page5_layout_content {
    width: 100%;
    height: calc(100vh - 2rem);
    background-color: white;
    color: black;
    border-radius: 1rem;

    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.top_yellow_gradient {
    width: 47.3125rem;
    height: 47.3125rem;
    position: absolute;
    right: -16.875rem;
    top: -23.9375rem;
    border-radius: 47.3125rem;
    background: rgba(255, 218, 68, 0.4);
    filter: blur(272px);
}

.bottom_yellow_gradient {
    width: 47.3125rem;
    height: 47.3125rem;
    position: absolute;
    left: -27.875rem;
    bottom: -18.25rem;
    border-radius: 47.3125rem;
    background: rgba(255, 218, 68, 0.4);
    filter: blur(272px);
}

.inside_gradient {
    position: absolute;
    right: -5.9375rem;
    top: -5.75rem;

    width: 20.5625rem;
    height: 20.5625rem;

    border-radius: 20.5625rem;
    background: rgba(252, 255, 68, 0.6);
    filter: blur(152px);
}

.success_icon img {
    display: flex;
    width: 5rem;
    height: 5rem;
    justify-content: center;
    align-items: center;
    aspect-ratio: 1/1;
}

.success_message {
    text-align: center;
    font-family: Inter;
    font-size: 2rem;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    letter-spacing: -0.02rem;
    background: linear-gradient(180deg, #dca500 0%, #cc7e00 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.personalize_heading {
    background: linear-gradient(90deg, #000 0%, #008578 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-align: center;
    font-family: Manrope;
    font-size: 2rem;
    font-style: normal;
    font-weight: 800;
    line-height: 120%;
    /* 2.4rem */
    letter-spacing: -0.02rem;
    margin: 3rem auto 0.75rem;
}

.personalize_subtext {
    color: var(--Neutral-Dark-Grey, #4f4f4f);
    font-family: Manrope;
    font-size: 1.125rem;
    font-style: normal;
    font-weight: 500;
    line-height: 1.25rem;
    /* 111.111% */
    letter-spacing: -0.01125rem;
}

#submit_page5 {
    max-width: 25rem;
}

.school_search {
    outline: none;
    border: none;
    margin-left: 0.5rem;
    color: var(--Neutral-Granite, #0e0e0e);
    font-family: Manrope;
    font-size: 1rem;
    font-style: normal;
    font-weight: 700;
    line-height: 1.25rem;
    letter-spacing: -0.01rem;
    width: 32rem;
    padding: 0.6rem 0.5rem;
}

.school_search::placeholder {
    color: var(--Neutral-Granite, #7a7a7a);
    font-family: Manrope;
    font-size: 1rem;
    font-style: normal;
    font-weight: 700;
    line-height: 1.25rem;
    /* 125% */
    letter-spacing: -0.01rem;
}

.input_group_container {
    margin: 2rem auto 0.5rem;
    position: relative;
}

.input_group {
    border: 1px solid;
    padding: 0.5rem 1.25rem;
    border-radius: 1rem;
    border: 1px solid var(--Neutral-Border, #d5d8dd);
    width: 50vw;
    max-width: 40rem;
    margin-bottom: 1.5rem;
    position: relative;
}

.input_group input {
    background-color: transparent;
}

.custom_multiselect {
    position: relative;
}

.select_box {
    border-radius: 8px;
    cursor: pointer;
    position: relative;
    appearance: none;
    /* hides the default select arrow on most browsers */
}

/* Ensure select field takes full width and has enough right padding for arrow */
.select_box select {
    width: 100%;
    padding-right: 35px;
    /* leave room for arrow */
    padding-left: 10px;
    padding-top: 10px;
    padding-bottom: 10px;
    border: none;
    background: transparent;
    font-family: inherit;
    font-size: 14px;
    appearance: none;
    cursor: pointer;
}

/* Arrow styling */
.select_box .arrow::after {
    content: "";
    background-image: url("../../../assets/img/register/arrow-down.svg");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    width: 22px;
    height: 22px;
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
}

.checkboxes {
    display: none;
    border: 1px solid #ccc;
    padding: 0.5rem 1rem;
    border-radius: 0 0 8px 8px;
    background-color: #fff;
    max-height: 27vh;
    overflow-y: auto;
    position: absolute;
    top: 3.6rem;
    left: 0;

    width: 100%;

    border-radius: 0.75rem;
    border: 1px solid var(--Neutral-Stroke, #e9ebec);
    background: #fff;
    box-shadow: 0 4px 12px 0 rgba(0, 0, 0, 0.09);
}

.checkboxes label {
    display: block;
    font-size: 14px;
    border-bottom: 0.5px solid var(--Neutral-Stroke, #e9ebec);
    padding: 0.5rem 0;
    color: var(--Neutral-Black, #1a1a1a);
    font-family: Manrope;
    font-size: 0.875rem;
    font-style: normal;
    font-weight: 500;
    line-height: 1.25rem;
    /* 142.857% */
    letter-spacing: -0.00875rem;
}

.checkboxes label:last-of-type {
    border-bottom: none;
}

.checkboxes input[type="checkbox"] {
    margin-right: 8px;
}

#selectedSubjects {
    width: 34rem;
    padding: 0.5rem 0.5rem 0.5rem 1rem;
    color: var(--Neutral-Granite, #7a7a7a);
    font-family: Manrope;
    font-size: 1rem;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    letter-spacing: -0.01rem;
}

.auto-suggestion-container {
    display: flex;
    width: 38rem;
    padding: 0.25rem;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;

    position: absolute;
    top: 4.125rem;

    border-radius: 1rem;
    border: 1px solid #fff;
    background: #fff;
    box-shadow: 6px 8px 12px 0px rgba(0, 0, 0, 0.03);
    max-height: 20rem;
    overflow-y: auto;
    justify-content: flex-start;

    display: none;
}

.auto-suggestion-container> :last-child {
    border: none;
}

.auto-suggestion-container.active {
    display: flex;
}

.suggestion-box {
    display: flex;
    padding: 0.75rem;
    align-items: center;
    gap: 1rem;
    align-self: stretch;
    border-bottom: 1px solid var(--Border-Subtle-1, #eae5e5);
    cursor: pointer;
}

.suggestion-text-box {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 0.125rem;
}

.suggestion-text-box .school-name {
    color: var(--Neutral-Black, #1a1a1a);
    text-align: left;
    font-family: Poppins;
    font-size: 0.875rem;
    font-style: normal;
    font-weight: 500;
    line-height: 1.25rem;
}

.suggestion-text-box .school-address {
    color: var(--Neutral-Dark-Grey, #4f4f4f);
    text-align: center;
    font-family: Poppins;
    font-size: 0.875rem;
    font-style: normal;
    font-weight: 400;
    line-height: 1.25rem;
}

.truncate {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.mx-width-100 {
    max-width: 100%;
}

.school-address.text-danger {
    color: #e03c31;
    font-weight: 500;
}

#thankyou_page {
    padding: 1rem;
}

.handsgif {
    width: 7.5rem;
    height: 7.5rem;
}

.thankyou_text {
    background: linear-gradient(90deg, #000 0%, #008578 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-align: center;
    font-family: Inter;
    font-size: 3.5rem;
    font-style: normal;
    font-weight: 700;
    line-height: 120%;
    /* 4.2rem */
    letter-spacing: -0.035rem;
    margin: 1.25rem auto;
}

.auto-suggestion-container {
    display: flex;
    width: 100%;
    padding: 0.25rem;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;

    position: absolute;
    top: 4.125rem;

    border-radius: 1rem;
    border: 1px solid #fff;
    background: #fff;
    box-shadow: 6px 8px 12px 0px rgba(0, 0, 0, 0.03);
    max-height: 35vh;
    overflow-y: auto;
    justify-content: flex-start;
    z-index: 3;
    display: none;
}

.auto-suggestion-container> :last-child {
    border: none;
}

.auto-suggestion-container.active {
    display: flex;
}

.suggestion-box {
    display: flex;
    padding: 0.75rem;
    align-items: center;
    gap: 1rem;
    align-self: stretch;
    border-bottom: 1px solid var(--Border-Subtle-1, #eae5e5);
    cursor: pointer;
}

.suggestion-text-box {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 0.125rem;
}

.suggestion-text-box .school-name {
    color: var(--Neutral-Black, #1a1a1a);
    font-family: Manrope;
    font-size: 0.875rem;
    font-style: normal;
    font-weight: 500;
    line-height: 1.25rem;
    /* 142.857% */
    letter-spacing: -0.00875rem;
}

.suggestion-text-box .school-address {
    color: var(--Neutral-Dark-Grey, #4f4f4f);
    text-align: center;
    font-size: 0.875rem;
    font-family: Manrope;
    font-style: normal;
    font-weight: 400;
    line-height: 1.25rem;
}

.truncate {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.mx-width-100 {
    max-width: 100%;
}

.school-address.text-danger {
    color: #e03c31;
    font-weight: 500;
}

/* .subject-wave-icon-box {
  transform: translate(-50%, -50%) scale(1);

  left: 155%;
  top: 60%;
}

.name-wave-icon-box {
  transform: translate(-50%, -50%) scale(1);

  left: 190%;
  top: 28%;
}

.student-name-wave-icon-box {
  transform: translate(-50%, -50%) scale(1);

  left: 225%;
  top: 80%;
} */

/* .email-wave-icon-box {
  transform: translate(-50%, -50%) scale(1);
  left: 260%;
  top: 35%;
} */

.hide-wave {
    display: none !important;
}

.hide-section-content {
    display: none;
}

/* ============ */
input:-webkit-autofill {
    box-shadow: 0 0 0 1000px transparent inset !important;
    -webkit-box-shadow: 0 0 0 1000px transparent inset !important;
    -webkit-text-fill-color: #000 !important;
    /* or any text color */
    transition: background-color 5000s ease-in-out 0s;
}

#unselectAll {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    width: fit-content;
}

.navigation_back_btn_web {
    display: flex;
}

.navigation_back_btn_mob {
    display: none;
}

.scroll_more {
    display: none;
}


#selected_option_title_mob {
    display: none;
}

.selected_board_grade {
    display: none;
}

.onInputHeader {
    display: none;
}

.headerCenterContent {
    display: none;
}


/* Hide the native checkbox */
#checkboxes input[type="checkbox"] {
    display: none;
}

/* Style all checkbox labels */
#checkboxes label {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 8px 12px;
    cursor: pointer;
    font-size: 14px;
    user-select: none;
}

/* Add space for custom checkbox */
#checkboxes label span {
    position: relative;
    padding-left: 1.5rem;
}

/* Default: Transparent box */
#checkboxes label span::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 18px;
    height: 18px;
    border-radius: 6px;
    border: 1px solid gray;
    background: transparent;
    transition: background 0.3s ease;
}

/* Checked: yellow gradient background */
#checkboxes input[type="checkbox"]:checked+span::before {
    background: linear-gradient(180deg, #FFE680 0%, #FFC700 100%);
    border-color: #ffea80;
}

/* Checkmark */
#checkboxes input[type="checkbox"]:checked+span::after {
    content: '';
    position: absolute;
    left: 7px;
    top: 4px;
    width: 4px;
    height: 9px;
    border: solid black;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}


/* ======================================  */
/* ---------  Responsiveness   ---------   */
/* ======================================  */
@media screen and (width > 1500px) {
    .option_list {
        height: 50vh;
    }

    .contactForm,
    .contact_form_card {
        max-width: 25vw;
    }

}


@media screen and (width <768px) {


    .hideInMob {
        display: none;
    }



    .registration_page {
        overflow: hidden;
        height: 100vh;
        position: fixed;
        top: 0;
    }


    .headerCenterContent {
        display: none;
        color: var(--Neutral-Black, #1A1A1A);
        text-align: center;
        font-family: Manrope;
        font-size: 1rem;
        font-style: normal;
        font-weight: 700;
        line-height: normal;
        letter-spacing: -0.02rem;
    }

    .navigation_back_btn_web {
        display: none;
    }


    .onInputHeader {
        width: 100vw;
        padding: 1rem;
        display: flex;
        padding: 1.25rem;
        justify-content: center;
        align-items: center;
        align-self: stretch;
        box-shadow: 0 4px 12px 0 rgba(0, 0, 0, 0.08);


        color: var(--Neutral-Black, #1A1A1A);
        text-align: center;
        font-family: Manrope;
        font-size: 1rem;
        font-style: normal;
        font-weight: 700;
        line-height: normal;
        letter-spacing: -0.02rem;

        position: relative;
        left: -1rem;
        top: -1rem;

        display: none;


    }


    .selected_board_grade {
        display: block;
        color: #008578;
        text-align: center;
        font-family: Inter;
        font-size: 0.75rem;
        font-style: normal;
        font-weight: 600;
        line-height: normal;
        letter-spacing: 0.0075rem;
        text-decoration-line: underline;
        text-decoration-style: solid;
        text-decoration-skip-ink: none;
        text-decoration-thickness: auto;
        text-underline-offset: auto;
        text-underline-position: from-font;

    }

    #selected_option_title_mob {
        display: block;
        position: relative;
        top: -2rem;
    }

    #selected_option_title_web {
        display: none;
    }


    .navigation_back_btn_mob {
        display: block;
    }

    .form_navigation {
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        bottom: unset;
        padding: 1rem;
        display: none;
        height: 4rem;

    }

    .form_navigation_steps {
        gap: 0.25rem;
    }

    .step_dot {
        background-color: #4f4f4f;
    }

    .step_dot_active {
        width: 1.25rem;
        background-color: white;
    }

    .registration_page_content {
        padding: 0;
        gap: 0;
        margin: 0;
        height: 100vh;
        overflow: hidden;
        flex-direction: column;
    }

    /* ========= left slider  */

    .sparkl_logo_img {
        margin-bottom: 2.25rem;
        height: 1.75rem;
    }

    .slider_image_container {
        z-index: 3;
        position: relative;
    }

    .bg_gradient_circle_green,
    .bg_gradient_circle_yellow {
        width: 12rem;
        height: 12rem;
        background-color: rgba(110, 118, 0, 0.9);
        filter: blur(125px);
    }

    .registration_slider {
        padding: 1rem;
        position: fixed;
        top: 0;
        left: 0;
        background: black;
    }

    .slider_main_heading {
        font-size: 1.25rem;
    }

    .slider_sub_heading {
        font-size: 0.75rem;
    }

    /* ========= right form  */

    .registration_form {
        padding: 0;
        margin: 0;
        width: 100vw;
        height: 100vh;
        overflow: hidden;
        border-radius: 0;
        background-color: transparent;
        position: relative;
    }



    .form_section_title {
        -webkit-background-clip: unset;
        background-clip: unset;
        -webkit-text-fill-color: unset;
    }

    .form_section_title_page1 {
        font-size: 1rem;
        position: absolute;
        top: -1rem;
        left: 50%;
        transform: translate(-50%);
        z-index: 3;
        width: fit-content;
        padding: 0.5rem 1rem;
        margin-bottom: 0;

        color: var(--Neutral-White, #fff);
        text-align: center;
        font-family: Inter;
        font-size: 0.875rem;
        font-style: normal;
        font-weight: 400;
        line-height: normal;
        letter-spacing: -0.00875rem;

        border-radius: 6.25rem;
        border: 0.5px solid #ffe083;
        background: #000;
    }

    .bg_gradient_circle_yellow_top_center {
        display: none !important;
    }

    .selected_option_title {
        font-size: 0.75rem;
        border-bottom: 1px solid #ddaf27;
        width: fit-content;
        margin: 0 auto;
        margin-bottom: 0.75rem;
    }

    .form_section_title_mob {
        background: linear-gradient(90deg, #fff 0%, #94fbf4 100%);
        background-clip: text;
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        text-align: center;
        font-family: Manrope;
        font-size: 1.5rem;
        font-style: normal;
        font-weight: 700;
        line-height: normal;
        letter-spacing: -0.015rem;
    }

    .form_page {
        top: 3rem;
    }

    .form_page1 {
        background-color: #fff;
        padding: 2rem 1rem 1rem 1rem;
        border-radius: 1.5rem 1.5rem 0 0;
        background: linear-gradient(180deg, #ffe083 0%, #e1ac26 100%);

        position: fixed;
        top: unset;
        bottom: 0;
    }

    .form_page2,
    .form_page3 {
        height: calc(100vh - 2rem);
        background-color: white;
    }




    .option_selector {
        gap: 0.75rem;
        width: 100%;
    }

    .option_selector_grid {
        gap: 0.75rem;
        border-radius: 1.5rem 1.5rem 0 0;
        top: -1.5rem;
    }

    .grid_container_mob {
        height: 100%;
        background-color: white;
        border-radius: 1.5rem 1.5rem 0 0;
    }

    .option_list {
        border-radius: 1.5rem 1.5rem 0 0;
        width: 100vw;
    }

    .option_card {
        gap: 0.5rem;
    }

    .option_card_title {
        font-size: 1.125rem;
    }

    .option_card_description {
        font-size: 0.75rem;
    }

    #page3 {
        overflow: auto;
    }

    #page3 .option_list {
        overflow: visible;
        height: max-content;
    }

    #page3 .grid_container_mob {
        height: max-content;
    }

    .form_page3 {
        background-color: white;
    }

    .mob_black_section {
        background-color: black;
        height: calc(30vh - 4rem);
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: flex-end;
    }

    #grade-options-container {
        position: relative;
        top: -1rem;
        background-color: white;
    }

    #page4 {
        width: 100vw;
        padding: 1rem;
        height: calc(100vh - 4rem);
        background-color: white;
    }

    #page4 .form_section_title {
        background: linear-gradient(90deg, #000 0%, #008578 100%);
        background-clip: text;
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
    }

    /* ========= contact form  */

    .contactForm input[type="text"],
    .contactForm input[type="email"],
    .contactForm input[type="tel"] {
        width: 100% !important;
        padding: 1.25rem;
        border: 1px solid var(--Neutral-Border, #d5d8dd);
        border-radius: 1rem;
        margin-bottom: 1.5rem;

        color: var(--Neutral-Black, #1a1a1a);
        font-family: Manrope;
        font-size: 0.875rem;
        font-style: normal;
        font-weight: 700;
        line-height: 1.25rem;
        /* 142.857% */
        letter-spacing: -0.00875rem;
    }

    /* Placeholder styling */
    .contactForm input[type="text"]::placeholder,
    .contactForm input[type="email"]::placeholder,
    .contactForm input[type="tel"]::placeholder {
        color: var(--Neutral-Granite, #7a7a7a);
        font-family: Manrope;
        font-size: 0.875rem;
        font-style: normal;
        font-weight: 600;
        line-height: 1.25rem;
        /* 142.857% */
        letter-spacing: -0.00875rem;
    }

    .form_button {
        font-size: 0.875rem;
    }

    #nameInput {
        background: url("https://www.sparkl.ac/assets/img/icons/profile.svg") no-repeat scroll 12px 20px;
        padding-left: 40px;
        background-size: 5%;
    }

    #emailInput {
        background: url("https://www.sparkl.ac/assets/img/icons/sms.svg") no-repeat scroll 12px 20px;
        padding-left: 40px;
        background-size: 5%;
    }

    .otp_status_text {
        font-size: 0.875rem;
        justify-content: flex-start;
        text-align: start;
    }

    #otpPhoneDisplay {
        display: block;
    }

    .otp_inputs {
        display: flex;
        justify-content: space-between;
        gap: 16px;
        margin: 2.5rem 0;
        max-width: 18rem;
        align-items: flex-start;
    }

    .otp_input {
        border-radius: 1rem;
    }

    .otp_timer {
        justify-content: flex-start;
        font-size: 0.875rem;
    }

    .light_text_otp {
        font-size: 0.875rem;
    }

    /* ============== page 5  */

    .page5_layout {
        padding: 0;
    }

    .page5_layout_content {
        border-radius: 0;
        width: 100vw;
        height: 100vh;
        padding: 1rem;
    }

    .top_yellow_gradient {
        width: 31.875rem;
        height: 31.875rem;
        position: absolute;
        right: -12.25rem;
        top: -20.25rem;
        border-radius: 31.875rem;
        background: rgba(255, 218, 68, 0.4);
        filter: blur(128px);
    }

    .bottom_yellow_gradient {
        width: 31.875rem;
        height: 31.875rem;
        position: absolute;
        left: -12.625rem;
        bottom: -20.25rem;
        border-radius: 31.875rem;
        background: rgba(255, 218, 68, 0.4);
        filter: blur(128px);
    }

    .inside_gradient {
        display: none;
    }

    .success_message {
        text-align: center;
        font-family: Inter;
        font-size: 1.25rem;
        font-style: normal;
        font-weight: 600;
        line-height: normal;
        letter-spacing: 0.0125rem;
    }

    .success_icon img {
        width: 4rem;
        height: 4rem;
    }

    .personalize_heading {
        background: linear-gradient(90deg, #000 0%, #008578 100%);
        background-clip: text;
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        text-align: center;
        font-family: Manrope;
        font-size: 1.25rem;
        font-style: normal;
        font-weight: 700;
        line-height: normal;
        letter-spacing: -0.0125rem;
    }

    .personalize_subtext {
        color: var(--Neutral-Dark-Grey, #4f4f4f);
        text-align: center;
        font-family: Inter;
        font-size: 0.75rem;
        font-style: normal;
        font-weight: 400;
        line-height: normal;
    }

    .input_group {
        width: calc(100vw - 2rem);
    }

    .school_search,
    #selectedSubjects {
        width: 70vw;
    }

    #submit_page5 {
        position: fixed;
        bottom: 2rem;
        width: calc(100vw - 2rem);
    }

    /* ==== thank you page  */

    #thankyou_page {
        padding: 0;
    }

    .thankyou_text {
        text-align: center;
        font-family: Inter;
        font-size: 2rem;
        font-style: normal;
        font-weight: 700;
        line-height: 120%;
        /* 2.4rem */
        letter-spacing: -0.02rem;
    }

    .registration_slider {
        border-radius: 0;
    }


    .step_dot.on-page4 {
        background-color: #aaa;
    }

    .step_dot_active.on-page4 {
        background-color: #000;
    }


    .scroll_more {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: .5rem;
        position: fixed;
        bottom: 0rem;
        left: 50%;
        transform: translateX(-50%);
        margin: 0 auto;
        padding: 1rem;
        left: 50%;
        transform: translate(-50%);
        z-index: 8;
        background: white;

        width: 100vw;



    }

    .page_container {
        transition: .3s all ease-in-out;
    }




    #page5 .page5_layout_content {
        justify-content: flex-start;
        height: 100vh;
        padding-top: 3rem;
        overflow: hidden;
    }



    .option_card_tab {
        width: 100%;
    }

    .contactForm,
    .contact_form_card {
        max-width: 100vw;
    }


    .continue-btn {
        display: flex;
        z-index: 99;
        position: fixed;
        height: fit-content;
        bottom: .5rem;
    }


    .hideOnInuptFocus {
        display: block;
    }

    .hideOnInuptFocus.hidden {
        display: none !important;
    }



}