html,
body {
    overflow-x: hidden !important;
    width: 100%;
    margin: 0;
    padding: 0;
    

}

.include-header {
    padding-top: 6%;
}

.modal-open {
    margin: 0;
    padding: 0;
    height: 100%;
    position: fixed;
    width: 100%;
}

.section-1 {
    width: 100vw;
    height: auto;
    background: transparent linear-gradient(180deg, #F8DCDC 0%, #F2E9EB 50%, #fafafa 100%) 0% 0% no-repeat padding-box;
    display: flex;
    flex-direction: column;
    margin-top: 2%;
}

.heroSection {
    width: 80%;
    background: transparent linear-gradient(180deg, #F7F7F7 0%, #fafafa 100%) 0% 0% no-repeat padding-box;
    display: flex;
    padding: 3% 4%;
    margin: 3% auto;
    border-top-left-radius: 30px;
    border-top-right-radius: 30px;
}

.first {
    order: 1;
    width: 50%;
    display: flex;
    position: relative;
    align-items: stretch;
    justify-content: center;
    padding-top: 1%;
}

.second {
    order: 2;
    width: 50%;
    display: flex;
    position: relative;
    align-items: stretch;
    justify-content: center;
}

.imageWrapper {
    position: relative;
    width: 100%;
    min-height: 350px;
}

.reviewerImage {
    position: absolute;
    top: 0;
    left: 30px;
    width: 320px;
    height: 380px;
    z-index: 1;
    display: flex;
    flex-direction: column;
}

.testSeriesImage {
    position: absolute;
    top: 0;
    right: 30px;
    width: 320px;
    height: 380px;
    z-index: 2;
    display: flex;
    flex-direction: column;
}

.borderDiagonal {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100px;
    height: 100%;
    background: transparent linear-gradient(180deg, #F7F7F7 0%, #fafafa 100%) 0% 0% no-repeat padding-box;
    ;
    transform: translate(-50%, -50%) skewX(-9.7deg);
    z-index: 3;
    pointer-events: none;
}

.borderDiagonal::before {
    content: '';
    position: absolute;
    width: 2px;
    height: 100%;
    background-color: #ccc;
    left: 50%;
    top: 0;
    transform-origin: center;
}

.image {
    width: 300px;
    height: 342px;
    background-size: cover;
    background-position: center;
}

.reviewerImage .image {
    background-image: url('../img/Reviewer mock.webp');
}

.testSeriesImage .image {
    background-image: url('../img/Test series mock.webp');
}

.reviewerText {
    border-left: 3px solid #57baea;
    padding-left: 15px;
    font-size: 0.9rem;
    font-weight: 500;
    margin-top: 20px;
}

.testSeriesText {
    border-left: 3px solid #f05969;
    padding: 0 15px;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 20px;
    float: right;
}

.heroText {
    padding: 0 14%;
}

.heroTitle {
    font-size: 2.5rem;
    font-weight: 500;
    color: #333;
    margin-bottom: 20px;

}

.bottomLine {
    width: 100%;
    height: 2px;
    background-color: #ccc;
    margin: 20px 0;
}

.heroSubtitle {
    font-size: 1.2rem;
    font-weight: 500;
    margin-bottom: 20px;
    margin-top: 40px;
}

.heroDescription {
    font-size: 1rem;
    color: #666;
    line-height: 1.5;
    margin-bottom: 20px;
}

.heroDescription a {
    color: #000;
    text-decoration: none;
}

.heroDescription a:hover {
    text-decoration: underline;
    color: #000;
}

.service {
    display: flex;
}

.service img {
    width: 29px;
    height: 34px;
    margin-right: 10px;
}


@media (max-width: 1200px) {
    .heroSection {
        width: 90%;
        flex-direction: column;
        align-items: center;
    }

    .first,
    .second {
        width: 100%;
        order: 1;
    }

    .second {
        order: 2;
        margin-top: 40px;
    }

    .imageWrapper {
        min-height: 320px;
    }

    .reviewerImage,
    .testSeriesImage {
        width: 280px;
        height: 340px;
    }

    .reviewerImage .image,
    .testSeriesImage .image {
        width: 280px;
        height: 340px;
    }

    .borderDiagonal {
        width: 60px;
    }
}


@media (max-width: 1650px) {
    .img-container {
        width: 140px;
        height: 180px;
    }
}

@media (max-width: 1450px) {

    
    .heroSection,
    .section-2 {
        width: 90%;
    }
    .section-3 {
        width: 82%;
    }
    .section-4, .sub-section, .section-6 {
        width: 80%;
    }
}

@media (max-width: 1000px) {
    .img-container {
        width: 120px;
        height: 160px;
    }
    .cards-container .row {
        display: flex !important;
        flex-wrap: nowrap !important;
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        margin: 0 -8px;
        padding-bottom: 10px;
        scrollbar-width: thin;
        scrollbar-color: #ccc transparent;
    }

    .cards-container .row::-webkit-scrollbar {
        height: 6px;
    }

    .cards-container .row::-webkit-scrollbar-track {
        background: #f1f1f1;
        border-radius: 3px;
    }

    .cards-container .row::-webkit-scrollbar-thumb {
        background: #ccc;
        border-radius: 3px;
    }

    .cards-container .row::-webkit-scrollbar-thumb:hover {
        background: #999;
    }

    .cards-container .col-12 {
        padding-left: 0 !important;
        max-width: 320px !important;
        min-width: 280px !important;
        
    }

    .cards-container .ts-card-title {
        font-size: 1rem !important;
    }

    .cards-container .ts-card-description {
        font-size: 0.8rem !important;
        line-height: 1.3 !important;
    }
}

@media (max-width: 768px) {
    .heroSection {
        width: 100%;
        margin: 5% 0 0 0;
        padding: 3% 3.5%;
        background: transparent;
        flex-direction: column;
        align-items: center;
    }

    .first {
        order: 2;
        width: 100%;
        margin-bottom: 50px;
    }

    .second {
        order: 1;
        width: 100%;
        padding: 0 3.5%;
    }

    .heroTitle {
        font-size: 1.5rem;
        padding: 0;
    }

    .heroText {
        padding: 0;
    }

    .bottomLine {
        margin: 10px 0;
    }

    .heroSubtitle {
        font-size: 1rem;
        margin: 15px 0;
    }

    .heroDescription {
        font-size: 0.9rem;
        margin-bottom: 15px;
    }

    .service img {
        width: 25px;
        height: 30px;
    }

    .service p {
        font-size: 0.85rem;
    }

    .imageWrapper {
        min-height: 280px;
    }

    .reviewerImage,
    .testSeriesImage {
        width: 190px;
        height: 280px;
        top: 0;
    }

    .reviewerImage {
        left: 0px;
    }

    .testSeriesImage {
        right: 0px;
    }

    .reviewerImage .image,
    .testSeriesImage .image {
        width: 190px;
        height: 280px;
    }

    .borderDiagonal {
        width: 40px;
        height: 100%;
        left: 48%;
        background: transparent linear-gradient(180deg, #f4edef 0%, #fafafa 100%) 0% 0% no-repeat padding-box;
        transform: translate(-50%, -50%) skewX(-5.7deg);
    }

    .borderDiagonal::before {
        width: 1px;
        left: 50%;
    }

    .reviewerText,
    .testSeriesText {
        font-size: 0.6rem;
        padding: 0 10px;
    }
}

.section-2 {
    width: 80%;
    margin: 0 auto;
    padding: 0 4%;
}

.reviewer-header {
    font-size: 1.8rem;
    font-weight: 500;
}

.ts-tabs {
    display: flex;
    border-bottom: 1px solid #c1c1c1;
}

.ts-tab {
    /* flex: 1; */
    padding: 15px 30px;
    text-align: center;
    font-weight: 500;
    color: #ccc;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    border-bottom: 3px solid transparent;
}

.ts-tab.active {
    color: #000;
    border-bottom: 3px solid #f05969;
}

.ts-tab-content {
    display: none;
}

.ts-tab-content.active {
    display: block;
    animation: fadeIn 0.4s ease;
}

.for-padding,
.for-padding2 {
    padding: 3rem 0;
}

.key-features-title {
    display: flex;
}

.key-features-title img {
    width: 30px;
    height: 30px;
    margin-right: 10px;
}

.img-container {
    width: 160px;
    height: 200px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #f5f5f5;
    padding: 15px;
}

.img-container img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.image-footer {
    display: flex;
    justify-content: center;
    align-items: center;
}

.sample-pdf {
    font-size: 0.7rem;
    border: none;
    background: transparent;
}

.ts-card-title {
    font-size: 1.2rem;
    font-weight: 600;
}

.text-semibold {
    font-weight: 600;
}

.ts-card-description {
    font-size: 0.8rem;
    font-weight: 400;
    color: #414042;
    line-height: 1.5;
    margin-top: 10px;
}

.ts-card-body ul {
    padding-left: 20px;
    font-size: 0.8rem;
    font-weight: 400;
    color: #414042;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


@media (max-width: 768px) {
    .section-2 {
        width: 100%;
        padding: 0;
        margin: 0;
    }

    .reviewer-header {
        font-size: 1.2rem;
        text-align: center;
    }

    .ts-tab {
        flex: 1;
        padding: 5px;
        font-size: 0.9rem;
        border-bottom: 1px solid #e6e9f0;
    }

    .for-padding {
        padding: 1.5rem 3rem !important;
    }

    .for-padding2 {
        padding: 0 3rem !important;
    }

    .key-features {
        font-size: 0.8rem;
    }

    .key-features-title,
    .key-features hr {
        margin: 0.5rem 0;
    }

    .img-container {
        width: 130px;
        height: 160px;
    }

    .ts-card-body ul {
        padding-left: 15px;
        font-size: 0.8rem;
    }

    .cards-container .row {
        display: flex !important;
        flex-wrap: nowrap !important;
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        margin: 0 -8px;
        padding-bottom: 10px;
        scrollbar-width: thin;
        scrollbar-color: #ccc transparent;
    }

    .cards-container .row::-webkit-scrollbar {
        height: 6px;
    }

    .cards-container .row::-webkit-scrollbar-track {
        background: #f1f1f1;
        border-radius: 3px;
    }

    .cards-container .row::-webkit-scrollbar-thumb {
        background: #ccc;
        border-radius: 3px;
    }

    .cards-container .row::-webkit-scrollbar-thumb:hover {
        background: #999;
    }

    .cards-container .col-12 {
        padding-left: 0 !important;
        max-width: 320px !important;
    }

    .cards-container .ts-card-title {
        font-size: 1rem !important;
    }

    .cards-container .ts-card-description {
        font-size: 0.8rem !important;
        line-height: 1.3 !important;
    }
}


/* Desktop - keep original behavior */
@media (min-width: 768px) {
    .cards-container .row {
        display: flex;
        flex-wrap: wrap;
    }
}

.section-3 {
    width: 72%;
    margin: 0 auto;
    padding: 0 0.8%;
    display: flex;
    flex-direction: column;
    background-color: #FFFFFF;
}

.bluepanel {
    background: transparent url('../img/Reviewer mock.webp') no-repeat center center;
    background-size: cover;
}

.pinkpanel {
    background: transparent url('../img/Test series mock.webp') no-repeat center center;
    background-size: cover;
}

.section-3-content {
    width: 100%;
    padding: 10%;
    display: flex;
    flex-direction: column;
}

.orderfirst {
    order: 1;
}

.ordersecond {
    order: 2;
}

@media (max-width: 768px) {
    .section-3 {
        width: 100%;
        padding: 0;
        margin-top: 5%;
        background-color: #fafafa;
    }

    .bluepanel,
    .pinkpanel {
        min-height: 300px;
        background-position: center;
        background-repeat: no-repeat;
        background-size: cover;
    }

    .orderfirst {
        order: 2;
    }

    .ordersecond {
        order: 1;
    }

    .section-3-content {
        padding: 5% 10%;
    }

    .section-3-content h2 {
        font-size: 1.2rem;
        margin-bottom: 20px;
    }

    .section-3-content p {
        font-size: 0.8rem;
        line-height: 1.5;
    }
}

html {
    scroll-behavior: smooth;
}

.section-4 {
    width: 70%;
    margin: 0 auto;
    padding: 3% 2%;
    display: flex;
    flex-direction: column;
}

.sentence {
    font-size: 2rem;
    align-items: center;
}

.dynamic-word-wrapper {
    position: relative;
    height: 2.25rem;
    overflow: hidden;
    display: flex;
    min-width: 140px;
}

.dynamic-word {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    animation: slideIn 0.5s ease forwards;
    color: #f05969;
}

.word-out {
    animation: slideOut 0.5s ease forwards;
}

.sentence img {
    width: 80px;
    height: 80px;
    margin-left: -12px;
}

@keyframes slideIn {
    from {
        transform: translateY(100%);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes slideOut {
    from {
        transform: translateY(0);
        opacity: 1;
    }

    to {
        transform: translateY(-100%);
        opacity: 0;
    }
}

@media (max-width: 768px) {
    .section-4 {
        width: 100%;
        padding: 7% 2%;
        border-top: 1px solid #AAAAAA;
    }

    .vivitsu-why {
        padding: 0 30px;
        padding-top: 10px;
    }

    .sentence {
        display: flex;
        font-size: 1.2rem;
        justify-content: center;
    }

    .dynamic-word-wrapper {
        min-width: 100px;
        height: 1.8rem;
        margin-left: 10px;
    }

    .sentence img {
        display: none;
    }

    .bene-text {
        text-align: center;
        font-size: 0.8rem;
    }
}

.section-5 {
    background: transparent linear-gradient(109deg, #F8DCDC 0%, #F2E9EB 50%, #D5F0FC 100%) 0% 0% no-repeat padding-box;
}

.sub-section {
    width: 70%;
    padding: 4% 2%;
    margin: 0 auto;
}

.sub-section h2 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.rounded-table {
    border-collapse: separate;
    border-spacing: 0;
    border-radius: 20px;
    overflow: hidden;
}

.rounded-table thead tr:first-child th:first-child {
    border-top-left-radius: 20px;
}

.rounded-table thead tr:first-child th:last-child {
    border-top-right-radius: 20px;
}

.rounded-table tbody tr:last-child td:first-child {
    border-bottom-left-radius: 20px;
}

.rounded-table tbody tr:last-child td:last-child {
    border-bottom-right-radius: 20px;
}

.gradient-head {
    background: transparent linear-gradient(101deg, #E56A77 0%, #8A7096 50%, #6BB6DB 100%) 0% 0% no-repeat padding-box;
    color: white;
    font-weight: 400;
}

.gradient-gray {
    background: #EDEDED 0% 0% no-repeat padding-box;
    color: #000;
}

tbody td {
    color: #414042;
    font-size: 0.9rem;
    font-weight: 400;
}

.gradient-gray img {
    width: 35px;
    height: auto;
}

@media (max-width: 768px) {
    .sub-section {
        width: 100%;
    }

    .sub-section h2 {
        font-size: 1.2rem;
        margin: 30px 20px;
    }

    .sub-section p {
        font-size: 0.7rem;
    }

    .table-responsive {
        margin: 20px;
    }

    .rounded-table th,
    .rounded-table td {
        padding: 1rem 0.5rem !important;
        min-width: 160px;
    }

    .gradient-gray img {
        width: 25px;
        height: auto;
    }

    .table-responsive {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .table-responsive::-webkit-scrollbar {
        display: none;
    }

    .table-responsive {
        scrollbar-width: none;
        -ms-overflow-style: none;
    }
}

.section-6 {
    width: 70%;
    margin: 0 auto;
    padding: 4% 2%;
}

.section-6 .row .col-12 {
    margin-top: 20px;
    font-weight: 500;
}

:root {
    --primary-color: #3a86ff;
    --border-color: #ced4da;
    --focus-border-color: #000;
}

.form-container {
    max-width: 800px;
    margin: 40px auto;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    padding: 30px;
}

.form-header {
    text-align: center;
    margin-bottom: 30px;
}

.form-header h2 {
    font-weight: 700;
    color: #333;
    margin-bottom: 10px;
}

.form-header p {
    color: #666;
    font-size: 1.1rem;
}

.form-label-group {
    position: relative;
    margin-bottom: 25px;
}

.form-label-group input,
.form-label-group textarea,
.form-label-group select {
    height: 45px;
    padding: 16px 15px 0;
    border: none;
    box-shadow: 0px 0px 8px #A3A3A329;
    border-radius: 12px;
    width: 100%;
    font-size: 16px;
    transition: all 0.2s;
}

.form-label-group textarea {
    min-height: 120px;
    padding-top: 24px;
    resize: vertical;
}

.form-label-group label {
    position: absolute;
    top: 12px;
    left: 15px;
    color: #777;
    font-size: 14px;
    font-weight: 400;
    pointer-events: none;
    transition: all 0.2s;
    background: transparent;
    padding: 0 5px;
    color: #c1c1c1;
}

.form-label-group label[for="mobile"] {
    left: 40px;
}


.form-label-group input:focus,
.form-label-group textarea:focus,
.form-label-group select:focus {
    border-color: var(--focus-border-color);
    outline: none;
    box-shadow: none;
}

.form-label-group input:focus+label,
.form-label-group textarea:focus+label,
.form-label-group select:focus+label,
.form-label-group input:not(:placeholder-shown)+label,
.form-label-group textarea:not(:placeholder-shown)+label,
.form-label-group select:not(:placeholder-shown)+label {
    top: 8px;
    font-size: 10px;
}

.input-group-prepend {
    position: absolute;
    left: 15px;
    top: 12px;
    z-index: 5;
    color: #000;
    pointer-events: none;
}

.phone-input {
    padding-left: 55px !important;
}

.phone-input:focus+label {
    left: 60px;
}

.form-check {
    margin-bottom: 10px;
}

.form-check-input {
    width: 20px;
    height: 20px;
    border: 2px solid #555 !important;
    border-radius: 3px;
    background-color: transparent !important;
    position: relative;
    margin-top: 0.2rem;
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
}

.form-check-input:checked {
    background-color: transparent !important;
    border-color: #000 !important;
}

.form-check-input:checked::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 12px;
    height: 6px;
    border: solid #000;
    border-width: 0 0 2px 2px;
    transform: translate(-50%, -60%) rotate(-45deg);
}

.form-check-input:focus {
    box-shadow: none !important;
}

.form-check-label {
    font-weight: 500;
    margin-left: 10px;
    color: #333;
}

.quantity-control {
    display: flex;
    align-items: center;
}

.quantity-btn {
    width: 40px;
    height: 40px;
    background: #f1f1f1;
    border: 1px solid var(--border-color);
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    user-select: none;
}

.quantity-btn.minus {
    border-radius: 4px 0 0 4px;
}

.quantity-btn.plus {
    border-radius: 0 4px 4px 0;
}

.quantity-input {
    width: 70px;
    height: 40px;
    border: 1px solid var(--border-color);
    border-left: none;
    border-right: none;
    text-align: center;
    font-size: 16px;
}

.submit-btn {
    background-color: #000;
    color: white;
    border: none;
    padding: 12px 30px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 12px;
    width: 100%;
    cursor: pointer;
    transition: background-color 0.3s;
}

.submit-btn:hover {
    background-color: #333;
}

.required-star {
    color: #e74c3c;
    margin-left: 3px;
}

.form-section {
    margin-bottom: 30px;
}

.form-section-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #333;
    border-bottom: 1px solid #eee;
    padding-bottom: 8px;
}

.grid-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}


.containimage {
    max-width: 50%;
    background: #fff;
}

@media (max-width: 768px) {
    .grid-container {
        grid-template-columns: 1fr;
    }

    .form-container {
        padding: 20px;
        margin: 20px;
    }

    .section-6 {
        width: 90%;
    }

    .checkbox-container h5,
    .checkbox-container .form-check {
        font-size: 0.8rem;
    }

    .checkbox-container .form-check {
        align-items: center;
    }

    .form-check-input {
        margin-top: 0 !important;
    }

    .form-check-label {
        font-weight: 400;
    }

    .contact-info {
        align-items: center;
        text-align: center;
    }

    .containimage {
        margin: 0 auto;
    }

    .containcontent p {
        text-align: justify;
    }
}

.error-message {
    color: red;
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

.is-invalid {
    border-color: #dc3545 !important;
}

.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px); /* For Safari */
}

.modal-content {
    background-color: #fefefe;
    margin: 2% auto;
    padding: 15px;
    border: 1px solid #888;
    width: 90%;
    max-width: 30vw;
    height: auto;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    border-radius: 8px;
    box-sizing: border-box;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    flex-wrap: wrap;
}

.header-buttons {
    display: flex;
    align-items: center;
}

.close {
    color: #aaa;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    margin-left: 15px;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

#pdf-viewer {
    flex-grow: 1;
    overflow-y: auto;
    border: 1px solid #ddd;
    -webkit-overflow-scrolling: touch; /* Smooth scrolling on iOS */
}

#pdf-viewer canvas {
    max-width: 100%;
    height: auto !important;
    display: block;
}

.download-button {
    background-color: #008CBA;
    color: white;
    padding: 8px 15px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    white-space: nowrap;
}

/* Responsive adjustments for tablets and mobile devices */
@media only screen and (max-width: 1024px) {
    .modal-content {
        max-width: 60vw;
        margin: 5% auto;
    }
}

@media only screen and (max-width: 768px) {
    .modal-content {
        max-width: 80vw;
        margin: 10% auto;
        padding: 10px;
    }
    
    .modal-header {
/*        flex-direction: column;*/
        align-items: flex-start;
    }
    
    .header-buttons {
        margin-top: 10px;
        width: 100%;
        justify-content: flex-end;
    }
    
}

@media only screen and (max-width: 480px) {
    .modal-content {
        max-width: 95vw;
        margin: 2% auto;
        padding: 8px;
        max-height: 96vh;
    }
    
    .close {
        font-size: 24px;
        margin-left: 10px;
    }
    
    .download-button {
        padding: 6px 12px;
        font-size: 12px;
    }
    
    #pdf-viewer {
        max-height: 80vh;
    }
}

#overlay {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000; /* Increased to ensure it's above everything */
    width: 100%;
    height: 100%;
    display: none;
    background: rgba(0,0,0,0.6);
}

.loading {
    display: none;
    position: fixed; /* Changed from absolute to fixed */
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1001; /* Higher than overlay */
}

.cv-spinner {
    position: relative;
    height: 100%;
    width: 100%;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 4px #ddd solid;
    border-top: 4px #2e93e6 solid;
    border-radius: 50%;
    animation: sp-anime 0.8s infinite linear;
    position: relative; /* Ensures proper rendering */
}

@keyframes sp-anime {
    100% { 
        transform: rotate(360deg); 
    }
}

.is-hide {
    display: none;
}



/* iOS specific adjustments */
@media (hover: none) and (pointer: coarse) {
    .modal-content {
        max-height: 85vh;
    }
    
    #pdf-viewer {
        overflow-y: scroll;
        -webkit-overflow-scrolling: touch; /* Smooth scrolling for iOS */
    }
}