@import url(./reset.css);


.ic-listing li+li {
    margin-top: 1.6rem;
}

.ic-listing li {
    position: relative;
    padding-left: 3.4rem;
}

.ic-listing li:before {
    position: absolute;
    left: 0;
    top: 0.2rem;
    height: 2.2rem;
    width: 2.2rem;
    background-image: url(../images/star.svg);
    background-size: 2.2rem 2.2rem;
    background-repeat: no-repeat;
    content: '';
}

.dark-theme .ic-listing li:before {
    filter: invert(1);
}

.show-dark-image {
    display: none;
}

.dark-theme .show-dark-image {
    display: block
}

.dark-theme .show-light-image {
    display: none
}

/** header css start **/
.site-header {
    padding: 3rem;
}

.site-header .header-wrapper {
    text-align: center;
}

.site-header .header-wrapper a img {
    width: 24.4rem;
}


/* footer  */
.site-footer {
    padding: 2.8rem 0;
}

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

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

.site-footer .footer-wrapper .left p {
    color: var(--gray1);
    font-size: 1.3rem;
    margin-right: 1.6rem;
}

.site-footer .footer-wrapper .left img {
    max-width: 11.3rem;
}

.site-footer .footer-wrapper .right .light-dark-btn-wrap {
    border: 0.1rem solid var(--border);
    padding: .4rem;
    border-radius: 2.4rem;
    display: flex;
    align-items: center;
}

.site-footer .footer-wrapper .right .light-dark-btn-wrap .btn+.btn {
    margin-left: 0.6rem;
}

.site-footer .footer-wrapper .right .light-dark-btn-wrap .btn {
    height: 3.6rem;
    width: 3.6rem;
    border-radius: 50%;
    padding: 0.9rem;
    display: flex;
    cursor: pointer;
    transition: all 0.5s;
}

.site-footer .footer-wrapper .right .light-dark-btn-wrap .btn img {
    max-width: 1.8rem;

}

.site-footer .footer-wrapper .right .light-dark-btn-wrap .btn.active img {
    filter: brightness(0) invert(1);
}

.site-footer .footer-wrapper .right .light-dark-btn-wrap .btn.active {
    background-color: var(--activeBg);
}

/* Settings button styling */
.site-footer .footer-wrapper .right .light-dark-btn-wrap .settings-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: var(--black);
    transition: all 0.3s ease;
}

.dark-theme .site-footer .footer-wrapper .right .light-dark-btn-wrap .settings-btn {
    color: var(--white);
}

.dark-theme .site-footer .footer-wrapper .right .light-dark-btn-wrap .settings-btn i {
    color: #fff !important;
}

.site-footer .footer-wrapper .right .light-dark-btn-wrap .settings-btn:hover {
    background-color: var(--activeBg);
}

.site-footer .footer-wrapper .right .light-dark-btn-wrap .settings-btn:hover i {
    color: var(--white);
    animation: spin 1s linear infinite;
}

.dark-theme .site-footer .footer-wrapper .right .light-dark-btn-wrap .settings-btn:hover i {
    color: var(--white);
}

/* Spin animation */
@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* Hover effects for theme toggle buttons */
/* .site-footer .footer-wrapper .right .light-dark-btn-wrap .btn:not(.active):hover {
    background-color: rgba(0, 0, 0, 0.05);
} */

.dark-theme .site-footer .footer-wrapper .right .light-dark-btn-wrap .btn:not(.active):hover {
    background-color: rgba(255, 255, 255, 0.1);
}


/** four-card-grid **/

.four-card-grid {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -1.5rem 2.3rem;
}

.four-card-grid .four-card-item {
    max-width: 25%;
    flex: 0 0 25%;
    padding: 0 1.5rem 3rem;
    cursor: pointer;
    position: relative;
}

.four-card-grid .four-card-item-inner {
    position: relative;
    height: 100%;
    width: 100%;
}

.four-card-grid .four-card-inner {
    padding: 2rem;
    border-radius: 2rem;
    background-color: var(--cardBg);
    height: 100%;
    transition: all 0.80s;
}

.four-card-grid .four-card-inner.gradient-card ul {
    overflow-y: auto;
    max-height: 20.5rem;
}

.four-card-grid .four-card-inner.gradient-card {
    opacity: 0;
    visibility: hidden;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    padding: 1.2rem 2rem 2rem;
}

.four-card-grid .four-card-inner.gradient-card ul::-webkit-scrollbar {
    width: 5px;
    border-radius: 10px;
}

.four-card-grid .four-card-inner.gradient-card ul::-webkit-scrollbar-track {
    border-radius: 10px;
}

.four-card-grid .four-card-inner.gradient-card ul::-webkit-scrollbar-thumb {
    background-color: #858585;
    border-radius: 10px;
}

.four-card-grid .four-card-inner.gradient-card .top {
    padding-bottom: 2rem;
}

.dark-theme .four-card-grid .four-card-item-inner .normal-card {
    z-index: 2;
    position: relative;
}

.dark-theme .four-card-grid .four-card-item-inner .gradient-card {
    z-index: 2;
}

.dark-theme .four-card-grid .four-card-item-inner {
    position: relative;
    color: var(--white);
}

.dark-theme .four-card-grid .four-card-item-inner:before {
    position: absolute;
    height: calc(100% + 0.2rem);
    width: calc(100% + 0.2rem);
    left: -.1rem;
    top: -.1rem;
    background-image: linear-gradient(0deg, rgb(255 255 255 / 0%) 0%, rgba(255, 255, 255, 20%) 100%);
    z-index: 1;
    content: '';
    border-radius: 2rem;
    transition: all 0.5s;
}

.four-card-grid .four-card-item-inner:hover .four-card-inner.normal-card {
    opacity: 0;
    visibility: hidden;
}

.four-card-grid .four-card-item-inner:hover .four-card-inner.gradient-card {
    opacity: 1;
    visibility: visible;
}

.four-card-grid .four-card-inner .img-block {
    background: linear-gradient(249.87deg, #E5D9FF 24.19%, #B8E1FF 125.25%);
    border-radius: 1.6rem;
    padding: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    min-height: 18.6rem;
}

.dark-theme .four-card-grid .four-card-inner .img-block {
    background: linear-gradient(255.06deg, #78008B 0%, #240B40 96.37%);

}

.four-card-grid .four-card-inner .img-block img {
    max-height: 13.6rem;
    object-fit: contain;
}

.four-card-grid .four-card-inner .title {
    font-size: 2.6rem;
    font-weight: 500;
    margin-bottom: 0;
}

.four-card-grid .four-card-inner p {
    margin-top: 1.5rem;
}

.border-btn {
    display: inline-block;
    margin: 0 auto;
    border: 0.1rem solid var(--border);
    height: 3.6rem;
    line-height: 3.1rem;
    padding: 0 1rem 0 0.6rem;
    border-radius: 2rem;
    font-size: 1.6rem;
    cursor: pointer;
}

.border-btn img {
    margin-right: 1rem;
}

.white-btn {
    background-color: var(--white);
    line-height: 4rem;
    height: 4rem;
    font-size: 1.6rem;
    padding: 0 2rem;
    border-radius: 3.6rem;
    color: var(--black)
}

.white-btn img {
    max-width: 2.4rem;
}

.white-btn.arrow-btn {
    padding: 0;
    width: 4rem;
    display: flex;
    justify-content: center;
    position: relative;
    transition: all 0.5s;
    right: 0;

}

.loading {
    text-align: center;
}

.gradient-card.four-card-inner {
    background: linear-gradient(249.87deg, #E5D9FF 24.19%, #B8E1FF 125.25%);
    display: flex;
    justify-content: space-between;
    flex-direction: column;
}

.dark-theme .gradient-card.four-card-inner {
    background: linear-gradient(255.06deg, #78008B 0%, #240B40 96.37%);
}

.gradient-card.four-card-inner .try-now-btn {
    display: inline-flex;
    justify-content: flex-end;
}

.try-now-btn:hover .white-btn.arrow-btn {
    right: -.5rem;
}

.try-btn-wrapper {
    text-align: right;
}

.dark-theme .four-card-grid .four-card-item-inner:hover:before {
    background-image: linear-gradient(0deg, rgb(255 255 255 / 0%) 0%, rgba(255, 255, 255, 0%) 100%)
}

.docu_chat {
    width: 205px;
    border-radius: 10px;
}

.four-card-item .btn-wrapper {
    display: flex;
    justify-content: space-between;
}

.modal-open {
    overflow: hidden;
}

.custom-modal {
    display: none;
    opacity: 0;
    transition: opacity .15s linear;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1000;
}

.custom-modal .modal-content-wrapper .modal-dialog {
    max-width: 760px;
    margin: 30px auto;
    z-index: 1000;
    position: relative;
    transition: -webkit-transform .3s ease-out;
    transition: transform .3s ease-out;
    -webkit-transform: translate(0, -25%);
    transform: translate(0, -25%);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: calc(100% - (.5rem * 2));
    padding: 0 30px;
}

.modal-open .custom-modal .modal-backdrop {
    opacity: 0.8;
}

.custom-modal.visible {
    display: block;
}

.custom-modal.visible.fadein {
    opacity: 1;
}

.custom-modal.visible.fadein .modal-content-wrapper .modal-dialog {
    transform: translate(0);
}

.custom-modal .modal-backdrop {
    background: #000;
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 999;
    cursor: pointer;
    opacity: 0;
    transition: opacity .3s linear;
}

.custom-modal .modal-content-wrapper {
    position: fixed;
    left: 0;
    top: 0;
    z-index: 1000;
    right: 0;
    overflow: auto;
    height: 100%;
}

.custom-modal .modal-close img {
    max-width: 100%;
}

.custom-modal .modal-dialog .modal-inner-content {
    width: 100%;
    padding: 20px 26px;
    background-color: var(--cardBg);
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 24px;
}

.view-details-modal .modal-title {
    display: flex;
    justify-content: space-between;
    margin-bottom: 7px;
    align-items: center;
}

.view-details-modal h2 {
    font-size: 2.2rem;
    color: #000;
    padding-right: 10px;
    margin-bottom: 0;
}

.view-details-modal h3 {
    font-size: 1.8rem;
    color: #000;
    font-weight: 500;
    padding-top: 10px
}

.view-details-modal p {
    font-size: 1.4rem;
    color: #000;
    font-weight: 400;
    margin-bottom: 10px;
}

.dark-theme .view-details-modal h2,
.dark-theme .view-details-modal h3,
.dark-theme .view-details-modal p,
.dark-theme .view-details-modal li {
    color: #f3f3f3;
}

.view-details-modal .modal-close {
    padding: 0 5px;
    margin-right: -5px;
}

.dark-theme .view-details-modal .modal-close svg path {
    fill: #f3f3f3;
}

.dark-theme .view-details-modal li:before {
    background-color: #f3f3f3;
}

.view-details-modal p+ul {
    margin-top: -6px;
}

.view-details-modal ul {
    margin-bottom: 10px;
}

.view-details-modal li {
    font-size: 1.4rem;
    color: #000;
    position: relative;
    padding-left: 20px;
}

.view-details-modal li:before {
    content: '';
    position: absolute;
    left: 8px;
    height: 4px;
    width: 4px;
    background-color: #000;
    border-radius: 50%;
    top: 9px;
}

@media(min-width:576px) {
    .custom-modal .modal-content-wrapper .modal-dialog {
        min-height: calc(100% - (1.75rem * 2));
        margin: 1.75rem auto;
    }
}

/* MEDIA  */
@media(max-width:1520px) {
    .four-card-grid .four-card-item {
        max-width: 33.33%;
        flex: 0 0 33.33%;
    }
}

@media(max-width:1199px) {
    .four-card-grid .four-card-item {
        max-width: 50%;
        flex: 0 0 50%;
    }

    .four-card-grid .four-card-inner .title {
        font-size: 2.6rem;
    }

    .four-card-grid .four-card-inner .img-block {
        margin-bottom: 2rem;
    }
}

@media(max-width:767px) {
    .four-card-grid .four-card-item {
        max-width: 100%;
        flex: 0 0 100%;
    }

    .four-card-grid .four-card-inner .title {
        font-size: 2.6rem;
    }

    .site-footer {

        padding: 2.5rem 0;
    }

    .four-card-grid {
        margin-bottom: 0;
    }

    .site-header .header-wrapper a img {
        width: 100%;
    }

    .custom-modal .modal-content-wrapper .modal-dialog {
        padding: 0 25px;
    }
}

@media (max-width:575px) {
    .four-card-item .btn-wrapper {
        justify-content: flex-start;
        flex-direction: column;
    }

    .four-card-item .btn-wrapper .modal-btn {
        margin-bottom: 10px;
        align-self: flex-start;
    }

    .try-btn-wrapper {
        text-align: left;
    }
}

@media(max-width:425px) {
    .site-footer .footer-wrapper {
        flex-direction: column-reverse;
    }

    .site-footer .footer-wrapper .left {
        margin-top: 2rem;
    }
}

/* ===== Email Verification Overlay ===== */
.email-verify-overlay {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.email-verify-overlay.active {
    opacity: 1;
    visibility: visible;
}

.email-verify-card {
    background: #fff;
    border-radius: 2.4rem;
    width: 90%;
    max-width: 46rem;
    padding: 4rem;
    box-shadow: 0 2rem 6rem rgba(0, 0, 0, 0.18);
    transform: translateY(1.6rem);
    transition: transform 0.35s ease;
}

.email-verify-overlay.active .email-verify-card {
    transform: translateY(0);
}

.verify-logo {
    width: 18rem;
    margin: 0 auto 2.4rem;
    display: block;
}

.verify-title {
    font-size: 2.2rem;
    font-weight: 600;
    color: var(--black);
    text-align: center;
    margin-bottom: 0.8rem;
}

.verify-subtitle {
    font-size: 1.4rem;
    color: var(--gray1);
    text-align: center;
    line-height: 1.7;
    margin-bottom: 2.8rem;
}

.verify-email-text {
    font-weight: 600;
    color: var(--black);
    display: inline;
}

.verify-step {
    display: none;
}

.verify-step.active {
    display: block;
}

.verify-input-group {
    margin-bottom: 2rem;
}

.verify-input-group label {
    display: block;
    font-size: 1.4rem;
    font-weight: 500;
    color: var(--black);
    margin-bottom: 0.8rem;
}

.verify-input {
    width: 100%;
    height: 5rem;
    border: 1.5px solid var(--border);
    border-radius: 1rem;
    padding: 0 1.6rem;
    font-size: 1.6rem;
    font-family: "Wix Madefor Display", sans-serif;
    color: var(--black);
    background: #fff;
    transition: border-color 0.2s ease;
}

.verify-input:focus {
    border-color: var(--black);
}

.verify-error {
    color: #e53935;
    font-size: 1.3rem;
    margin-top: 0.6rem;
    display: none;
}

.verify-error.show {
    display: block;
}

.verify-btn {
    width: 100%;
    height: 5rem;
    background: var(--black);
    color: #fff;
    border: none;
    border-radius: 1rem;
    font-size: 1.6rem;
    font-weight: 500;
    cursor: pointer;
    font-family: "Wix Madefor Display", sans-serif;
    transition: background 0.2s ease, opacity 0.2s ease;
    margin-top: 0.4rem;
}

.verify-btn:hover:not(:disabled) {
    background: #333;
}

.verify-btn:disabled {
    opacity: 0.55;
    cursor: not-allowed;
}

.otp-input-group {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 1.6rem;
}

.otp-digit {
    width: 5.4rem;
    height: 6rem;
    border: 1.5px solid var(--border);
    border-radius: 1rem;
    text-align: center;
    font-size: 2.4rem;
    font-weight: 600;
    font-family: "Wix Madefor Display", sans-serif;
    color: var(--black);
    background: #fff;
    transition: border-color 0.2s ease, background 0.2s ease;
    caret-color: transparent;
}

.otp-digit:focus {
    border-color: var(--black);
    outline: none;
}

.otp-digit.filled {
    border-color: var(--black);
    background: #f7f7f7;
}

.resend-row {
    text-align: center;
    margin-top: 2rem;
    font-size: 1.4rem;
    color: var(--gray1);
}

.resend-link {
    color: var(--black);
    font-weight: 600;
    text-decoration: underline;
    cursor: pointer;
}

.resend-link.disabled {
    opacity: 0.45;
    cursor: default;
    text-decoration: none;
}

.resend-timer {
    font-weight: 500;
    color: var(--gray1);
}

/* Dark theme */
.dark-theme .email-verify-card {
    background: #1D1521;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.dark-theme .verify-title {
    color: #fff;
}

.dark-theme .verify-subtitle {
    color: #BABABA;
}

.dark-theme .verify-email-text {
    color: #fff;
}

.dark-theme .verify-input-group label {
    color: #e0e0e0;
}

.dark-theme .verify-input {
    background: #2a2435;
    border-color: rgba(255, 255, 255, 0.15);
    color: #fff;
}

.dark-theme .verify-input::placeholder {
    color: #777;
}

.dark-theme .verify-input:focus {
    border-color: rgba(255, 255, 255, 0.55);
}

.dark-theme .verify-btn {
    background: #fff;
    color: #121212;
}

.dark-theme .verify-btn:hover:not(:disabled) {
    background: #e0e0e0;
}

.dark-theme .otp-digit {
    background: #2a2435;
    border-color: rgba(255, 255, 255, 0.15);
    color: #fff;
}

.dark-theme .otp-digit:focus {
    border-color: rgba(255, 255, 255, 0.55);
}

.dark-theme .otp-digit.filled {
    background: #3a3445;
    border-color: rgba(255, 255, 255, 0.55);
}

.dark-theme .resend-row {
    color: #BABABA;
}

.dark-theme .resend-link {
    color: #fff;
}

.dark-theme .resend-timer {
    color: #BABABA;
}

@media(max-width: 480px) {
    .email-verify-card {
        padding: 3rem 2.4rem;
    }

    .otp-digit {
        width: 4.4rem;
        height: 5.2rem;
        font-size: 2rem;
    }

    .otp-input-group {
        gap: 0.7rem;
    }
}
