/* ---------- Lock the page to a single viewport, no scrolling ever ---------- */
html {
    height: 100%;
    overflow: hidden;
}

html,
body {
    height: 100dvh;
    max-height: 100dvh;
}

body {
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.bg-body-tertiary {
    background-color: #042462 !important;
    padding: 0px;
    box-shadow: 1px 1px 4px black;
    flex: 0 0 auto;
}

body {
    background-image: url('../assets/images/bg_m.webp');
    background-position: center;
    overflow: hidden;
    background-repeat: no-repeat;
    background-size: cover;
}


.logo_form {
     width: 40%;
    position: absolute;
    top: 1%;
    border-radius: 1000px;
    background-color: white;
    padding: 13px 30px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12), 0 2px 5px rgba(0, 0, 0, 0.05);

}

/* content area fills whatever space is left under the navbar, and
   everything inside scales down instead of causing page scroll */
.top-section {
    flex: 1 1 auto;
    min-height: 0;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.top-section>.col-md-6 {
    max-height: 100%;
    overflow: hidden;
    /* display: flex;
    align-items: center;
    justify-content: center; */
}







.top-section img,
.top-section .carousel {
    max-height: 100%;
    border-radius: 13px;
}


.navbar-brand {
    margin: auto;
    margin-top: 0px;
    padding: 6px 40px;
    background-color: #fff;
    border-bottom-right-radius: 900px;
    border-bottom-left-radius: 900px;
}

.navbar-brand img {
    /* max-width: 56%; */
    padding: 0;
    padding-bottom: 2%;
    /* margin-left: 22%; */
}

.carousel-control-prev-icon {
    background-image: url('../assets/images/c-prev.webp');
}

.carousel-control-next-icon {
    background-image: url('../assets/images/c-next.webp');
}

.carousel-control-next,
.carousel-control-prev {
    opacity: 1 !important;
}

.carousel-control-next {
    right: -20px;
}

.carousel-control-prev {
    left: -20px;
}

.form-container {
    width: 400px;
    background-color: white;
    border-radius: 25px;
    padding: 10px 35px;
    /* margin-top: 10%; */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: #FFFFFF;
    background-image: linear-gradient(rgba(229, 231, 235, 0.4) 1px, transparent 1px), linear-gradient(90deg, rgba(229, 231, 235, 0.4) 1px, transparent 1px);
    background-size: 24px 24px;
    background-position: center top;
    margin-top: 7%;
    padding: 10%
}







.cta-text {
    color: #ff6500;
    font-family: "Mukta", sans-serif;
    font-weight: 700;
    padding-top: 2%;
    padding-bottom: 3%;
    font-size: 24px;
    margin-bottom: 0px;
}

body,
* {
    font-family: "Mukta", sans-serif;
    font-weight: 700;
    box-sizing: border-box;
}


.form-control {
    margin-top: 10px;
    border: 2px solid #031e4d !important;
    font-size: 20px !important;
    color: black;
    border-radius: 10px;
}

.form-control::placeholder {
    color: black;
}

/* ---------- Input groups: +91 prefix / person icon ---------- */
.custom-input-group {
    margin-top: 10px;
}

.custom-input-group .input-group-text {
    border: 2px solid #031e4d;
    border-right: none;
    background-color: #f3f3f3;
    color: #031e4d;
    font-size: 18px;
    font-weight: 700;
    border-radius: 10px 0 0 10px;
}

.custom-input-group .form-control {
    margin-top: 0;
    border-left: none;
    border-radius: 0 10px 10px 0;
}

.custom-input-group .form-control:focus {
    box-shadow: none;
    border-color: #031e4d;
}

/* ---------- Validation: red field + shake ---------- */
.custom-input-group.input-error .input-group-text,
.custom-input-group.input-error .form-control,
.form-control.input-error {
    border-color: #dc3545 !important;
}

.shake {
    animation: shake-anim .45s ease;
}

@keyframes shake-anim {

    0%,
    100% {
        transform: translateX(0);
    }

    20% {
        transform: translateX(-8px);
    }

    40% {
        transform: translateX(8px);
    }

    60% {
        transform: translateX(-6px);
    }

    80% {
        transform: translateX(6px);
    }
}

/* ---------- Confetti canvas ---------- */
#confettiCanvas {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 2000;
}

.sankalp-btn {
    background: #e8620a;
    color: #fff;
    border: none;
    border-radius: 50px;
    padding: 12px 32px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.15s, transform 0.1s;
    box-shadow: 0 3px 10px rgba(232, 98, 10, 0.25);
}

.sankalp-btn:hover {
    background: #e8620a !important;
    color: #fff !important;
}

.sankalp-btn svg {
    transition: transform 0.3s ease;
}

.sankalp-btn:hover svg {
    transform: translateX(5px);
}

@media(max-width:768px) {
    .form-container {
        width: 100%;
        padding: 6px 20px;
        margin-top: 11% !important;

    }

    body {
        background-image: url('../assets/images/bg_hero.webp');
        background-position: center;
        overflow: hidden;
        height: 100dvh;
        max-height: 100dvh;
        /* background-repeat: no-repeat; */
        background-size: cover;
    }

    .top-section {
        align-items: flex-start;
    }

    #carousel_image {
        /* padding: .5rem !important; */
    }

    .cta-text {
        font-size: 24px;
        padding-top: 3%;
        padding-bottom: 0%;
        font-weight: 700;
    }

    .navbar-brand img {
        max-height: 50px;
    }

    .image-section {
        width: 100%;
        /* height: 50vh; */
    }

    .form-section {
        width: 100%;
    }

    .logo_form {
       
        position: absolute;
        border-radius: 1000px;
        background-color: white;
        padding: 13px 30px;
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12), 0 2px 5px rgba(0, 0, 0, 0.05);
        width: 42%;
        position: absolute;
        top: -11%;
    }

    .top-section img,
    .top-section .carousel {
        max-height: 100%;
        border-radius: 0px;
    }
}



.card {
    width: 410px;
    height: 105px;
    background: linear-gradient(135deg, #0d2d72, #122f78, #3b2d7c);
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 18px;
}

.glass {
    width: 410px;
    height: 112px;
    border-radius: 60px;
    background: linear-gradient(90deg,
            rgba(255, 255, 255, .10),
            rgba(255, 255, 255, .05));
    border: 1.5px solid rgba(255, 255, 255, .22);
    backdrop-filter: blur(14px);
    display: flex;
    align-items: center;
    justify-content:space-evenly;
    padding: 0 28px;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, .18),
        0 12px 25px rgba(0, 0, 0, .18);
        background-color: #2c2c79;
}

.left {
    display: flex;
    align-items: center;
}

.avatars {
    display: flex;
    align-items: center;
}

.avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    border: 3px solid #fff;
    margin-left: -18px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, .15);
}

.avatar:first-child {
    margin-left: 0;
}

.avatar1 {
    background: linear-gradient(135deg, #ff6b6b, #ff9f43);
}

.avatar2 {
    background: linear-gradient(135deg, #4facfe, #00f2fe);
}

.avatar3 {
    background: linear-gradient(135deg, #43e97b, #38f9d7);
}

.more {
    width: 30px;
    height: 30px;
    border-radius: 50%;
   background-color: #2c2c79;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 34px;
    border: 3px solid #fff;
    margin-left: -18px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, .12);
}

.right {
    color: #fff;
}

.right h2 {
    font-size: 34px;
    font-weight: 800;
    line-height: 1;
    padding-top: 10px;
}

.right p {
    margin-top: 10px;
    font-size: 15px;
    color: rgba(255, 255, 255, .9);
}

@media(max-width:480px) {

    .card {
        width: 95%;
    }

    .glass {
        width:100%;
        height:90px;
        padding: 0 18px;
        justify-content: space-evenly;
    }

    .right h2 {
        font-size: 28px;
    }

    .right p {
        margin-top: 0px;
        font-size: 18px;
        font-weight: 700;
    }

    .avatar {
        width: 40px;
        height: 40px;
         margin-left: -15px !important;
    }

    .more {
        width: 30px;
        height: 30px;
        font-size: 28px;
        margin-left: -15px !important;
    }
}