@import url('https://fonts.googleapis.com/css2?family=Poly:ital@0;1&display=swap');


#textPreview {
    font-family: "Poly", serif;
    font-weight: 400;
    font-style: normal;
    color: #595959;
    font-size: 1.3rem;
}


@font-face {
    font-family: 'Gotham-Black';
    src: url('../assets/fonts/Gotham-Black\ 1.ttf');
}

@font-face {
    font-family: 'Gotham-Bold';
    src: url('../assets/fonts/Gotham-Bold[5]\ 1.otf');
}

@font-face {
    font-family: 'Gotham-Medium';
    src: url('../assets/fonts/Gotham-Medium 2 1.otf');
}

@font-face {
    font-family: 'Shree714';
    src: url('../assets/fonts/Shree714_1.ttc');
}

@font-face {
    font-family: 'SHREEA97';
    src: url('../assets/fonts/SHREEA97_1.TTF');
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;

}

a {
    margin: auto;
    padding-bottom: 5px;
    font-family: 'Gotham', sans-serif;
    color: white;
    text-decoration: none;
    font-size: 0.6rem;
}

h2 {
    font-family: 'Gotham-Bold';
    color: #FFFFFF;
    font-size: 2.4rem;

}

html,
body {
    height: 100%;
    margin: 0;
}

h3 {
    font-family: 'Gotham-Black';
    color: #FFFFFF;
    font-size: 1.1rem;

}

h4 {
    font-family: 'Gotham-Black';
    color: #FFFFFF;
    font-size: 1rem;

}

h5 {
    font-family: 'Gotham-Bold';
    color: #FFFFFF;
    font-size: 1.2rem;

    margin: 14px;
}

p {
    font-family: 'Gotham', sans-serif;
    /* Font */
    font-weight: 400;
    color: #FFFFFF;
    font-size: 0.8rem;

}

.btn {
    font-family: 'Gotham-Bold';
    color: #FFFFFF;
    font-size: 1.2rem;
    background: #f58220;
    padding: 0.5rem 2.8rem;
    border-radius: 40px;
    border: 2px solid #A9081F;
    box-shadow: 0 0 0 2px white,
        0 4px 8px rgba(0, 0, 0, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.video-btn {
    font-family: 'Gotham-Bold';
    color: #FFFFFF;
    font-size: 1.2rem;
    background: #f58220;
    padding: 0.4rem 1.8rem;
    border-radius: 40px;
    border: 2px solid #A9081F;
    box-shadow: 0 0 0 2px white,
        0 4px 8px rgba(0, 0, 0, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
    display: none;
    width: 40%;
    align-items: center;
    justify-content: center;
}

/* Spinner */
.loader {
    display: none;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-top: 3px solid #fff;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    100% {
        transform: rotate(360deg);
    }
}

/* .video-btn:disabled {
    background: #fa7300;
    cursor: not-allowed;
    opacity: 0.7;
} */


#shareVideoBtn {
    padding: 0.5rem 1rem !important;
    font-size: 1rem !important;
}

.home-screen {
    display: flex;
    flex-direction: column;
    gap: 0;
    top: 0;
    left: 0;
    height: 100dvh;
    width: 100vw;
    background-image: url(../assets/images/first-image.png);
    position: absolute;
    z-index: 99;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    transition: all 500ms ease-in-out;
    visibility: visible;
    opacity: 1;
}

.form-screen {
    flex-direction: column;
    gap: 0;
    top: 0;
    left: 0;
    height: max-content;
    width: 100vw;
    background-image: url(../assets/images/second-image-bg.png);
    position: absolute;
    z-index: 88;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    display: none;
    transition: all 500ms ease-in-out;
    visibility: hidden;
    opacity: 0;
}

.form-screen {
    align-items: center;
}

.form-content {
    text-align: center;
}

.text-dedicated-screen {
    flex-direction: column;

    gap: 0;
    top: 0;
    left: 0;
    height: 100dvh;
    width: 100vw;
    background-image: url(../assets/images/second-image-bg.png);
    position: absolute;
    z-index: 77;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    align-items: center;
    justify-content: space-between;
    display: none;
    transition: all 500ms ease-in-out;
    visibility: hidden;
    opacity: 0;
}

.loading-screen {

    flex-direction: column;
    gap: 0;
    top: 0;
    left: 0;
    height: 100dvh;
    width: 100vw;
    background-image: url(../assets/images/second-image-bg.png);
    position: absolute;
    z-index: 66;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    align-items: center;
    justify-content: space-between;
    display: none;
    transition: all 500ms ease-in-out;
    visibility: hidden;
    opacity: 0;
}

.video-play-screen {

    flex-direction: column;
    gap: 0;
    top: 0;
    left: 0;
    height: 100dvh;
    width: 100vw;
    background-image: url(../assets/images/second-image-bg.png);
    position: absolute;
    z-index: 1;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    align-items: center;
    justify-content: space-between;
    display: none;
    transition: all 500ms ease-in-out;
    visibility: hidden;
    opacity: 0;
}

.video-top-text-container {
    margin: unset;
    justify-content: center;
    width: 95vw;
    text-align: center;
}

.video-center-container {
    margin: auto;
    justify-content: center;
    width: 70vw;
    height: 70dvh;
    text-align: center;
    position: relative;
    left: 0;
    right: 0;
    top: 0;
    border-radius: 20px;
}

#canvasContainer {
    border-radius: 20px;
    border: 2px solid white;
}

.video-durga-center {
    width: 92%;
    max-height: max-content;
    object-fit: cover;
    object-position: top;
}

.video-bottom-bar {
    text-align: center;
    margin: auto;
    margin-bottom: 2dvh;
    width: 100vw;
    gap: 1.5rem;
    /* position: absolute; */
    display: flex;
    flex-direction: row;
    /* margin: 0; */
    align-items: center;
    justify-content: center;
}

.text-dedicated-center-container {
    margin: auto;
    justify-content: center;
    width: 100vw;
    text-align: center;
    position: relative;
}

#showMessageOnCard {
    background: transparent;
    z-index: 99;
    position: absolute;
    top: 0;
    bottom: 0dvh;
    left: 0;
    right: 0;
    font-size: 0.8rem;
    color: #DFBC66;
    margin: auto;
    height: max-content;
    width: 68vw;
    object-fit: contain;
    text-align: center;
    align-items: center;
    /* justify-content: center; */
    /* display: flex
; */
}

.text-dedicated-bottom-bar {

    bottom: 3rem;
    text-align: center;
    margin: unset;
    margin-bottom: 5dvh;
    width: 100vw;
}

.text-dedicated-durga-center {
    width: 90%;
    object-fit: cover;
    object-position: top;
    height: 100%;
    border-radius: 20PX;
}

.loading-durga-center {
    width: 80%;
    object-fit: cover;
    object-position: top;
    height: 100%;
    border-radius: 20PX;
}

.header-logo {
    text-align: center;
    display: flex;
    padding: 1.2rem;
    align-items: center;
    flex-direction: column;

}

.aashirvaad-logo {
    padding-top: 1.5vw;
    width: 45%;
}

.aashirvaad-center-logo {
    padding-top: 1.5vw;
    width: 30%;
    bottom: 5px;
    position: absolute;
}

.home-center-container {
    flex-direction: column;
    width: 100vw;
    position: relative;
    height: max-content;
    align-items: center;
    justify-content: center;
    display: flex;

}

.home-gradient-bar {
    position: absolute;
    width: 100vw;
    height: 20%;
    align-items: center;
    justify-content: center;
    display: flex;
    background: linear-gradient(to bottom, #00000000, #A9081F);
    bottom: -0.7%;
}

.home-gradient-bar .aashirvaad-center-logo {
    padding: unset;
}

.aashirvaad-durga-center {
    width: 100%;
    max-height: 52dvh;
    object-fit: cover;
    object-position: top;
}

.home-bottom-bar {
    bottom: 0;
    margin: auto;
    flex: 1;
    left: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    background: #A9081F;
    gap: 0.5rem;
    padding: 5px;
    justify-content: center;
    z-index: 3;
    height: max-content;
    width: 100%;
    text-align: center;
}




.form-container-top {
    align-items: center;
    text-align: center;
    width: 95%;
}

.form-container-top p {
    padding: 5px;
}

.dropdown {
    /* width: 250px; */
    padding: 10px;
    border: 1px solid white;
    border-radius: 5px;
    cursor: pointer;
    background: #ffffff00;
}


/* Popup */
.popup-screen {
    text-align: center;
    position: fixed;
    top: 0%;
    left: 0%;
    transform: translate(-0%, -0%);
    width: 100vw;
    height: 100dvh;
    background: linear-gradient(to bottom, #ff6f00c3, #d32f2f);
    color: #fff;
    border-radius: 12px;
    padding: 0px;
    display: none;
    z-index: 999;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.popup {
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 300px;
    background:
        linear-gradient(to bottom, #ff6f00, #d32f2f) padding-box,
        /* inner background */
        linear-gradient(0deg, #EA7927, #F66802, #FFF7D5) border-box;
    /* border gradient */
    color: #fff;
    border-radius: 12px;
    padding: 20px;
    border: 3px solid transparent;
    z-index: 999;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.popup-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.popup-header h3 {
    margin: 0;
    font-size: 18px;
}

.close-btn {
    cursor: pointer;
    font-weight: bold;
    font-size: 16px;
    color: #fff;
    width: 25px;
    height: 25px;
    background-color: #E53935;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0px 6px 12px rgba(0, 0, 0, 0.3);
    position: relative;
    margin: auto;
    top: -8px;
    right: -9px;
    position: absolute;
}

/* Trait grid */
.traits {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 15px;
}

label {
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    padding: 5px 0px;
}


input[type="checkbox"] {
    accent-color: #ff9800;
    color: #fff;

    appearance: none;
    -webkit-appearance: none !important;
    -moz-appearance: none;

    width: 10px !important;
    height: 20px;
    border: 2px solid #ffffff;
    border-radius: 4px;
    cursor: pointer;
    position: relative;
    color: #aaa;
}

.submitBtn {
    font-family: 'Gotham-Bold';
    color: #FFFFFF;
    font-size: 1.2rem;
    background: #f58220;
    padding: 0.5rem 2.8rem;
    border-radius: 40px;
    border: 2px solid #A9081F;
    box-shadow: 0 0 0 2px white,
        0 4px 8px rgba(0, 0, 0, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.submitBtn:disabled {
    background: #fa7300;
    cursor: not-allowed;
    opacity: 0.2;
}

/* Proceed button */
.popup button {
    font-family: 'Gotham-Bold';
    color: #FFFFFF;
    font-size: 1.2rem;
    background: #f58220;
    padding: 0.4rem 2.8rem;
    border-radius: 40px;
    border: 2px solid #A9081F;
    box-shadow: 0 0 0 2px white,
        0 4px 8px rgba(0, 0, 0, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.popup button:disabled {
    background: #fa7300;
    cursor: not-allowed;
    opacity: 0.7;
}

.form-screen .submitBtn {
    margin: 15px auto;

}


.form-container {
    margin: auto;
    width: 90%;
    max-width: 400px;
    background-image: url(../assets/images/form-img-bg.png
);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    padding: 20px;
    border-radius: 15px;
    border: 2px solid linear-gradient(0deg, #EA7927, #F66802, #FFF7D5) border-box;
    color: white;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    text-align: left;
}

.form-container h2 {
    text-align: center;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-family: 'Gotham-Bold';
    font-size: 14px;
}

.traits label {
    display: flex;
    font-family: 'Gotham-Medium';
    font-size: 0.9rem;
    font-weight: 300;
}

.traits input {
    width: 30% !important;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 10px;
    border: none;
    border-bottom: 1px solid white;
    background: transparent;
    color: white;
    font-size: 14px;
    border-radius: 8px;
}

.form-group input::placeholder {
    color: #fff;
    opacity: 0.7;
}

input[type="text"]:focus {
    outline: none;
    box-shadow: none !important;
}

input[type="tel"]:focus {
    outline: none;
    box-shadow: none !important;
}

/* For Chrome autofill */
input:-internal-autofill-previewed,
input:-webkit-autofill {
    -webkit-box-shadow: 0 0 0px 1000px rgba(255, 255, 255, 0) inset !important;
    /* change to desired bg */
    -webkit-text-fill-color: #ffffff !important;
    /* text color */
    transition: background-color 5000s ease-in-out 0s;
    /* prevent flicker */
}

/* Optional: on focus */
input:-webkit-autofill:focus {
    -webkit-box-shadow: 0 0 0px 1000px #d1ffd100 inset !important;
    /* light green */
    -webkit-text-fill-color: #ffffff !important;
}

input:-webkit-autofill,
textarea:-webkit-autofill,
select:-webkit-autofill {
    background-color: #ffffff00;
    outline: none;
    box-shadow: none !important;
}

select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background: rgba(255, 255, 255, 0);
    border-radius: 5px;
    padding: 10px;
    color: #fff;
}

.upload-section {
    margin: 15px 0;
}

.upload-section p {
    padding-bottom: 5px;
}

.upload-btns {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.upload-btn {
    flex: 1;
    min-width: 120px;
    padding: 15px;
    border: 2px dashed white;
    border-radius: 10px;
    text-align: center;
    cursor: pointer;
    color: white;
    font-size: 14px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.upload-btn:hover {
    background: rgba(255, 255, 255, 0.1);
}

.upload-btn i {
    font-size: 24px;
    margin-bottom: 5px;
}

.plus-btn {
    font-size: 24px;
}

.upload-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    max-width: 400px;
    margin: auto;
}



.upload-box {
    border: 2px solid #fff;
    border-radius: 10px;
    width: 140px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    position: relative;
    background: rgba(255, 255, 255, 0.05);
    text-align: center;
    flex-direction: column;

}

.upload-memorable-box {
    display: flex;
    border: 2px solid #fff;
    border-radius: 10px;
    width: 140px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    position: relative;
    background: rgba(255, 255, 255, 0.05);
    text-align: center;
    flex-direction: column;
}

#UploadInputMultiple label {
    display: flex;
}

.preview-card {
    display: flex;
    align-items: center;
    gap: 10px;

    border-radius: 10px;
    padding: 8px;

    max-width: 300px;
    position: relative;
}

.preview-card img {
    width: 50px;
    height: 50px;
    border-radius: 6px;
    object-fit: cover;
}

.file-name {
    font-size: 13px;
    word-break: break-all;
    flex: 1;
}

.remove-btn {
    background: #ff3b30;
    color: white;
    border: none;
    border-radius: 50%;
    width: 22px;
    height: 22px;
    font-size: 14px;
    cursor: pointer;
    line-height: 20px;
    text-align: center;
}

input[type="file"] {
    display: none;
}

input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none !important;
    -moz-appearance: none;

    width: 20px !important;
    height: 20px;
    border: 2px solid #ffffff;
    border-radius: 4px;
    cursor: pointer;
    position: relative;
    color: #aaa;
}


/* Add a white checkmark when checked */
input[type="checkbox"]:checked::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    transform: translate(-50%, -50%);
    background-image: url('data:image/svg+xml;utf8,<svg fill="%23ffffff" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M20.285 6.709a1 1 0 00-1.414-1.418l-9.192 9.192-4.243-4.243a1 1 0 10-1.414 1.414l4.95 4.95a1 1 0 001.414 0l9.899-9.895z"/></svg>');
    background-size: cover;

    pointer-events: none;
}

.loading-bar {
    width: 80%;

    border-radius: 6px;
    background: #f5832000;
    margin: auto;
    border-radius: 10px;
    border: 2px solid #A9081F;
    box-shadow: 0 0 0 2px white,
        0 4px 8px rgba(0, 0, 0, 0.3);
    cursor: pointer;
}

/* .loading-bar .progress {
height: 35px;
  border-radius: 10px;
  background: #f58220;
 
} */

.progress-form {
    width: 0;
    height: 100%;
    background: #F37A24;
    border-radius: 10px;
    animation: fillBar 3s linear infinite alternate;
}

@keyframes fillBar {
    from {
        width: 0%;
    }

    to {
        width: 100%;
    }

}

#progress-bar {
    width: 0%;
    height: 35px;
    background: #F37A24;
    transition: width 0.3s;
}

.background-image {
    display: none;
    background: linear-gradient(to bottom, #ff6f00, #d32f2f);
    width: 100vw;
    height: 100vh;
    position: relative;
    z-index: 10;
    justify-content: center;
    align-items: center;
    /* margin-right: 12%; */
}

.background-image .experience-link {
    color: #ffffff;
    display: flex;
    flex-direction: column;
    width: 550px;
    text-align: center;
    /* margin-right: 12%; */
}

.background-image .experience-link .aashirvaad-center-logo {
    position: unset;
    margin: auto;
}

.logo-background-image {
    position: absolute;
    width: 140px;
    top: 10px;
    left: 10px;
}

@media only screen and (min-width: 768px) {
    .background-image {
        display: flex;
    }

    .main {
        display: none;
    }
}

canvas {
    display: block;
    width: 100% !important;
    height: 100% !important;
    border-radius: 20px;
}

.start-btn {
    position: absolute;
    z-index: 9999;
    height: max-content;
    width: 57vw;
    object-fit: contain;
    text-align: center;
    top: 0;
    left: 0;
    margin: auto;
    bottom: 0;
    right: 0;
}

.preview {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: none;
    border-radius: 8px;
}

.upload-section label {
    font-family: 'Gotham-Bold';
    font-weight: 300;
    font-style: normal;
    font-size: 14px;
    line-height: 22px;
    letter-spacing: 0;
    vertical-align: middle;
    display: block;
}

#uploadOptions label {
    display: flex;
}

.start-video-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    /* adjust as needed */
    height: auto;
    cursor: pointer;
    z-index: 9999;
    transition: transform 0.2s ease;
}

.addBox {
    display: flex;
}

#previewContainer {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin-top: 12px;
}

/* Each preview row */
.preview-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #b71c1c00;
    border: unset;
    border-radius: 8px;
    padding: 8px 12px;
    color: #fff;
    font-size: 14px;
}

/* Left side: image + filename */
.preview-details {
    display: flex;
    align-items: center;
    gap: 10px;
    overflow: hidden;
}

.preview-details img {
    width: 50px;
    height: 50px;
    border-radius: 6px;
    object-fit: cover;
    flex-shrink: 0;
    border: 2px solid white;
}

.preview-details span {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 180px;
    /* prevent very long names from breaking */
}

/* Remove button (X) */
.remove-btn {
    background: #e53935;
    border: none;
    color: #fff;
    font-size: 10px;
    font-family: 'Gotham-Bold';
    border-radius: 50%;
    width: 20px;
    height: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease;
}

.remove-btn:hover {
    background: #c62828;
}

#formLoadingScreen {
    z-index: 95;

}

#moreSeconds {
    width: 80%;
}

#regenerateVideoText {
    display: none;
    padding: 5px;
}

#regenerateVideoText a {
    font-size: 0.9rem;
    color: yellow;
}


/* ! landing page  */



.loading-users-screen {
    flex-direction: column;
    gap: 0;
    top: 0;
    left: 0;
    height: 100dvh;
    width: 100vw;
    background-image: url(../assets/images/second-image-bg.png);
    position: absolute;
    z-index: 88;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    display: flex;
    transition: all 500ms ease-in-out;
    visibility: visible;
    opacity: 1;
    align-items: center;
}

.loading-users-top-text-container {
    margin: unset;
    justify-content: center;
    width: 95vw;
    text-align: center;
}

.loading-users-center-container {
    margin: auto;
    justify-content: center;
    width: 70vw;
    height: max-content;
    text-align: center;
    position: relative;
    left: 0;
    right: 0;
    top: 0;
    border-radius: 20px;
}

.loading-users-bottom-bar {
    text-align: center;
    /* margin: auto; */
    margin-bottom: 6dvh;
    width: 100vw;
    gap: 1.5rem;
    /* position: absolute; */
    display: flex;
    flex-direction: row;
    /* margin: 0; */
    align-items: center;
    justify-content: center;
    display: flex;
    flex-direction: column;
}

.loading-users-btn {
    font-family: 'Gotham-Bold';
    color: #FFFFFF;
    font-size: 1.2rem;
    background: #f58220;
    padding: 0.4rem 1.8rem;
    border-radius: 40px;
    border: 2px solid #A9081F;
    box-shadow: 0 0 0 2px white,
        0 4px 8px rgba(0, 0, 0, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
    display: none;
    width: 50%;
    align-items: center;
    justify-content: center;
    display: inline-block;
}

.AndroidUsers_img,
.iphoneUsers_img-logo {
    width: 100%;
}