.book-demo-page {
    min-height: 100vh;
    padding-top: 100px;
    overflow-x: hidden;
    box-sizing: border-box;
}

.book-demo-header {
    background: linear-gradient(180deg, #1f3a93 0%, #3f87f5 100%);
    color: #fff;
    text-align: center;
    padding: 3rem 1rem;
    width: 100%;
    box-sizing: border-box;
}

.book-demo-header h1 {
    margin: 0;
    font-size: clamp(1.875rem, 4.5vw, 2.75rem);
    font-weight: 700;
    color: #fff;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.book-demo-main {
    padding: 3rem 1rem 4rem;
}

.book-demo-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(400px, 1.15fr) minmax(340px, 1fr);
    gap: 2rem;
    align-items: center;
    padding: 0 1rem;
    box-sizing: border-box;
}

.book-demo-left {
    padding-right: 1rem;
    min-width: 0;
}

.book-demo-left .book-demo-slogan {
    padding: 1rem 0;
}

.book-demo-slogan {
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 700;
    margin: 0 0 2rem;
    line-height: 1.5;
    background: linear-gradient(90deg, #2156B8 0%, #1D91E5 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    text-align: center;
}


.book-demo-mockups {
    position: relative;
    min-width: 0;
}

.book-demo-mockup-img {
    width: 100%;
    max-width: 100%;
    height: auto;
    display: block;
}

.book-demo-right {
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.book-demo-card {
    background: #fff;
    border-radius: 12px;
    padding: 1.7rem;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
    width: 100%;
    max-width: 520px;
    min-width: 380px;
    min-height: 480px;
    color: #2c3e50;
    overflow: hidden;
}

.book-demo-form label {
    display: block;
    font-size: 1rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 0.5rem;
    margin-top: 10px;
}

.book-demo-form .required {
    color: #F44336;
}

.book-demo-step-2 {
    display: none;
}

.book-demo-step-2[hidden] {
    display: none !important;
}

.book-demo-step-1[hidden] {
    display: none !important;
}

.book-demo-step-1 {
    display: flex;
    flex-direction: column;
}

.book-demo-step-2:not([hidden]) {
    display: flex;
    flex-direction: column;
}

.book-demo-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.book-demo-field {
    margin-bottom: 1.25rem;
}

.book-demo-field:last-of-type {
    margin-bottom: 1.5rem;
}

.book-demo-form-row .book-demo-field {
    margin-bottom: 0;
}

.book-demo-form-row + .book-demo-field {
    margin-bottom: 1.25rem;
}

.book-demo-phone-country {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0 0.5rem 0 0.75rem;
    flex-shrink: 0;
    cursor: pointer;
    user-select: none;
    position: relative;

}

.book-demo-phone-flag-img {
    width: 24px;
    height: 18px;
    object-fit: cover;
    flex-shrink: 0;
    display: block;
}

.book-demo-phone-option img {
    width: 20px;
    height: 15px;
    object-fit: cover;
    flex-shrink: 0;
}

.book-demo-phone-code {
    font-size: 0.9375rem;
    color: #2c3e50;
    font-weight: 500;
}

.book-demo-phone-dropdown {
    position: absolute;
    left: 0;
    top: 100%;
    margin-top: 2px;
    min-width: 160px;
    max-height: 220px;
    overflow-y: auto;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    z-index: 10;
    border: 1px solid #e2e8f0;
}

.book-demo-phone-dropdown[aria-hidden="true"] {
    display: none;
}

.book-demo-phone-option {
    padding: 0.5rem 0.75rem;
    font-size: 0.9375rem;
    color: #2c3e50;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.book-demo-phone-option:hover {
    background: #f1f5f9;
}

.book-demo-phone-wrap {
    display: flex;
    align-items: center;
    border: none;
    border-radius: 6px;
    background: #ffffff !important;
    overflow: visible;
    position: relative;
}

.book-demo-phone-wrap input[type="tel"] {
    margin-bottom: 0;
}

.book-demo-phone-wrap input {
    flex: 1;
    min-width: 0;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    color: #2c3e50;
    border: none;
    background: transparent;
}

.book-demo-phone-wrap input:focus {
    outline: none;
}

.book-demo-input-wrap {
    padding: 2px;
    margin-bottom: 1.25rem;
    border-radius: 8px;
    background: linear-gradient(90deg, #1C48B2 0%, #25B6FF 100%);
}

.book-demo-form-row .book-demo-input-wrap {
    margin-bottom: 0;
}

.book-demo-form-row .book-demo-field .book-demo-input-wrap {
    margin-bottom: 1.25rem;
}

.book-demo-form-row .book-demo-field:last-child .book-demo-input-wrap {
    margin-bottom: 0;
}

.book-demo-form-row + .book-demo-field .book-demo-input-wrap {
    margin-bottom: 1.25rem;
}

.book-demo-input-wrap input[type="email"],
.book-demo-input-wrap input[type="text"],
.book-demo-input-wrap input[type="tel"] {
    width: 100%;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    color: #2c3e50;
    border: none;
    border-radius: 6px;
    box-sizing: border-box;
    background: #ffffff !important;
    outline: none;
    display: block;
}

.book-demo-input-wrap input[type="email"]:focus,
.book-demo-input-wrap input[type="text"]:focus,
.book-demo-input-wrap input[type="tel"]:focus,
.book-demo-input-wrap input[type="email"]:-webkit-autofill,
.book-demo-input-wrap input[type="text"]:-webkit-autofill,
.book-demo-input-wrap input[type="tel"]:-webkit-autofill {
    background: #ffffff !important;
    -webkit-box-shadow: 0 0 0 1000px #ffffff inset !important;
    box-shadow: 0 0 0 1000px #ffffff inset !important;
}

.book-demo-input-wrap input[type="email"]::placeholder,
.book-demo-input-wrap input[type="text"]::placeholder,
.book-demo-input-wrap input[type="tel"]::placeholder {
    color: #7f8c8d;
}

.book-demo-next-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.5rem 1.4rem;
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
    background: linear-gradient(135deg, #1f3a93 0%, #5b8def 100%);
    border: none;
    border-radius: 24px;
    cursor: pointer;
    transition: opacity 0.2s, transform 0.2s;
    align-self: flex-end;
}

.book-demo-next-btn:hover {
    opacity: 0.95;
    transform: translateY(-1px);
}

.book-demo-next-btn img {
    width: 18px;
    height: 18px;
    filter: brightness(0) invert(1);
    transition: transform 0.3s ease;
    transform: rotate(-45deg);
}

.book-demo-next-btn:hover img {
    transform: rotate(0deg);
}

.book-demo-proceed-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.5rem 1.4rem;
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
    text-decoration: none;
    background: linear-gradient(135deg, #1f3a93 0%, #5b8def 100%);
    border: none;
    border-radius: 24px;
    cursor: pointer;
    transition: opacity 0.2s, transform 0.2s;
    align-self: flex-end;
}

.book-demo-proceed-btn:hover {
    opacity: 0.95;
    transform: translateY(-1px);
}

.book-demo-proceed-btn img {
    width: 18px;
    height: 18px;
    filter: brightness(0) invert(1);
    transition: transform 0.3s ease;
    transform: rotate(-45deg);
}

.book-demo-proceed-btn:hover img {
    transform: rotate(0deg);
}

.book-demo-testimonial {
    margin-top: 4rem;
    position: relative;
    padding: 0 1.5rem;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
}

.book-demo-testimonial-slider {
    overflow: hidden;
    position: relative;
    width: 100%;
    max-width: 100%;
}

.book-demo-testimonial-track {
    display: flex;
    flex-direction: row;
    width: 500%;
    transition: transform 0.45s ease;
    will-change: transform;
}

.book-demo-testimonial-slide {
    flex: 0 0 20%;
    width: 20%;
    min-width: 0;
    max-width: 20%;
    position: relative;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    box-sizing: border-box;
    overflow-wrap: break-word;
    word-wrap: break-word;
}

.book-demo-testimonial-slide .book-demo-testimonial-text,
.book-demo-testimonial-slide blockquote {
    max-width: 100%;
}

.book-demo-quote {
    font-size: 60px;
    line-height: 1;
    color: #1c48b2;
    opacity: 0.9;
    font-family: Nunito ;
    position: absolute;
}

.book-demo-quote-open {
    top: 0;
    left: 0;
}

.book-demo-quote-close {
    right: 0;
    bottom: 0.25rem;
    transform: scaleX(-1);
}

.book-demo-testimonial-name {
    font-size: 21px;
    font-weight: 700;
    color: #1c48b2;
    margin: 1.25rem 0 0.35rem;
    overflow-wrap: break-word;
    word-wrap: break-word;
}

.book-demo-testimonial-text {
    font-size: 17px;
    color: #000000;
    line-height: 1.55;
    margin: 0;
    overflow-wrap: break-word;
    word-wrap: break-word;
}

.book-demo-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
}

.book-demo-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #d0d5dd;
    transition: background 0.2s;
    cursor: pointer;
}

.book-demo-dot.active {
    background: #1c48b2;
}

@media (min-width: 981px) and (max-width: 1280px) {
    .book-demo-container {
        grid-template-columns: minmax(380px, 1fr) minmax(420px, 1.2fr);
        gap: 1.75rem;
        padding: 0 1.25rem;
    }

    .book-demo-slogan {
        font-size: clamp(1.35rem, 2.2vw, 1.75rem);
        margin-bottom: 1.5rem;
    }

    .book-demo-mockup-img {
        max-width: 100%;
        min-width: 0;
    }

    .book-demo-right {
        justify-content: flex-end;
    }

    .book-demo-card {
        max-width: 580px;
        min-width: 0;
        width: 100%;
    }
}

@media (max-width: 980px) {
    .book-demo-form-row {
        grid-template-columns: 1fr 1fr;
        gap: 0.5rem;
        margin-bottom: 0.75rem;
    }

    .book-demo-container {
        grid-template-columns: 1fr;
        padding: 0 1rem;
    }

    .book-demo-left {
        padding-right: 0;
        order: 1;
    }

    .book-demo-right {
        order: 2;
        width: 100%;
    }

    .book-demo-card {
        max-width: 100%;
        padding: 1.25rem;
    }

    .book-demo-form label {
        margin-top: 6px;
        margin-bottom: 0.35rem;
    }

    .book-demo-field {
        margin-bottom: 0.75rem;
    }

    .book-demo-field:last-of-type {
        margin-bottom: 0.75rem;
    }

    .book-demo-form-row .book-demo-field .book-demo-input-wrap {
        margin-bottom: 0.75rem;
    }

    .book-demo-form-row + .book-demo-field {
        margin-bottom: 0.75rem;
    }

    .book-demo-input-wrap {
        margin-bottom: 0.75rem;
    }

    .book-demo-input-wrap input[type="email"],
    .book-demo-input-wrap input[type="text"],
    .book-demo-input-wrap input[type="tel"] {
        padding: 0.6rem 0.875rem;
    }

    .book-demo-phone-wrap input {
        padding: 0.6rem 0.875rem;
    }

    .book-demo-slogan {
        text-align: center;
    }

    .book-demo-mockups {
        max-width: 400px;
        margin: 0 auto;
    }
}

@media (max-width: 490px) {
    .book-demo-form-row {
        grid-template-columns: 1fr;
        gap: 0.35rem;
        margin-bottom: 0.5rem;
    }

    .book-demo-card {
        padding: 1rem;
    }

    .book-demo-form label {
        margin-top: 4px;
        margin-bottom: 0.25rem;
    }

    .book-demo-field {
        margin-bottom: 0.5rem;
    }

    .book-demo-field:last-of-type {
        margin-bottom: 0.5rem;
    }

    .book-demo-form-row .book-demo-field .book-demo-input-wrap {
        margin-bottom: 0.5rem;
    }

    .book-demo-form-row + .book-demo-field {
        margin-bottom: 0.5rem;
    }

    .book-demo-input-wrap {
        margin-bottom: 0.5rem;
    }

    .book-demo-input-wrap input[type="email"],
    .book-demo-input-wrap input[type="text"],
    .book-demo-input-wrap input[type="tel"] {
        padding: 0.5rem 0.75rem;
    }

    .book-demo-phone-wrap input {
        padding: 0.5rem 0.75rem;
    }
}

@media (min-width: 768px) and (max-width: 980px) {
    .book-demo-header {
        width: 100vw;
        max-width: 100vw;
        margin-left: calc(50% - 50vw);
        margin-right: calc(50% - 50vw);
    }

    .book-demo-right {
        display: flex;
        justify-content: center;
    }

    .book-demo-card {
        max-width: 570px;
        width: 100%;
        margin: 0 auto;
    }
}

@media (min-width: 320px) and (max-width: 425px) {
    .book-demo-quote-open {
        left: -2px;
        top: -2px;
    }
}

@media (max-width: 424px) {
    .book-demo-page {
        width: 100%;
    }

    .book-demo-header {
        width: 100vw;
        max-width: 100vw;
        margin-left: calc(50% - 50vw);
        margin-right: calc(50% - 50vw);
    }

    .book-demo-main {
        width: 100%;
        max-width: 100%;
        padding-left: 1rem;
        padding-right: 1rem;
        box-sizing: border-box;
    }

    .book-demo-container {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        width: 100%;
        max-width: 100%;
        margin: 0 auto;
        padding: 0;
        gap: 0;
    }

    .book-demo-left {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        width: 100%;
        max-width: 100%;
    }

    .book-demo-slogan {
        width: 100%;
        max-width: 100%;
        text-align: center;
    }

    .book-demo-mockups {
        display: flex;
        justify-content: center;
        width: 100%;
        max-width: 400px;
    }

    .book-demo-mockup-img {
        margin: 0 auto;
        max-width: 100%;
    }

    .book-demo-right {
        display: flex !important;
        justify-content: center !important;
        width: 100%;
        max-width: 100%;
        padding-top: 25px;
    }

    .book-demo-card {
        max-width: 100%;
        min-width: 0 !important;
        width: 100%;
        margin: 0 auto;
    }

    .book-demo-testimonial,
    .book-demo-testimonial-name,
    .book-demo-testimonial-text,
    .book-demo-testimonial-slide blockquote {
        text-align: left;
    }

    .book-demo-testimonial-text {
        font-size: 16px;
    }

    .book-demo-dots {
        justify-content: center;
    }
}

@media (min-width: 425px) and (max-width: 767px) {
    .book-demo-page {
        width: 100%;
    }

    .book-demo-header {
        width: 100vw;
        max-width: 100vw;
        margin-left: calc(50% - 50vw);
        margin-right: calc(50% - 50vw);
    }

    .book-demo-main {
        width: 100%;
        max-width: 100%;
        padding-left: 1rem;
        padding-right: 1rem;
        box-sizing: border-box;
    }

    .book-demo-container {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        width: 100%;
        max-width: 100%;
        margin: 0 auto;
        padding: 0;
        gap: 0;
    }

    .book-demo-left {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        width: 100%;
        max-width: 100%;
    }

    .book-demo-slogan {
        width: 100%;
        max-width: 100%;
        text-align: center;
    }

    .book-demo-mockups {
        display: flex;
        justify-content: center;
        width: 100%;
        max-width: 400px;
    }

    .book-demo-mockup-img {
        margin: 0 auto;
        max-width: 100%;
    }

    .book-demo-right {
        display: flex !important;
        justify-content: center !important;
        width: 100%;
        max-width: 100%;
        padding-top: 30px;
    }

    .book-demo-card {
        max-width: 510px;
        min-width: 0 !important;
        width: 100%;
        margin: 0 auto;
    }

    .book-demo-testimonial,
    .book-demo-testimonial-name,
    .book-demo-testimonial-text,
    .book-demo-testimonial-slide blockquote {
        text-align: left;
    }

    .book-demo-dots {
        justify-content: center;
    }
}

@media (min-width: 320px) and (max-width: 374px) {
    .book-demo-page {
        width: 100%;
    }

    .book-demo-header {
        width: 100vw;
        max-width: 100vw;
        margin-left: calc(50% - 50vw);
        margin-right: calc(50% - 50vw);
        padding: 2rem 0.5rem;
    }

    .book-demo-header h1 {
        font-size: 1.35rem;
    }

    .book-demo-main {
        width: 100%;
        max-width: 100%;
        padding-left: 0.75rem;
        padding-right: 0.75rem;
        padding-top: 1.5rem;
        padding-bottom: 2rem;
        box-sizing: border-box;
    }

    .book-demo-container {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        width: 100%;
        max-width: 100%;
        margin: 0 auto;
        padding: 0;
        gap: 0;
    }

    .book-demo-left {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        width: 100%;
        max-width: 100%;
    }

    .book-demo-right {
        display: flex !important;
        justify-content: center !important;
    }

    .book-demo-slogan {
        width: 100%;
        max-width: 100%;
        text-align: center;
        font-size: 1.15rem;
        margin-bottom: 1rem;
    }

    .book-demo-mockups {
        display: flex;
        justify-content: center;
        width: 100%;
        max-width: 100%;
    }

    .book-demo-mockup-img {
        margin: 0 auto;
        max-width: 100%;
    }

    .book-demo-right {
        display: flex;
        justify-content: center;
        width: 100%;
        max-width: 100%;
        padding-top: 20px;
    }

    .book-demo-card {
        max-width: 100%;
        min-width: 0;
        width: 100%;
        margin: 0 auto;
        padding: 1rem;
    }

    .book-demo-form label {
        font-size: 0.9375rem;
    }

    .book-demo-input-wrap input[type="email"],
    .book-demo-input-wrap input[type="text"],
    .book-demo-input-wrap input[type="tel"] {
        font-size: 0.9375rem;
        padding: 0.6rem 0.75rem;
    }

    .book-demo-next-btn,
    .book-demo-proceed-btn {
        font-size: 0.875rem;
        padding: 0.45rem 1rem;
    }

    .book-demo-testimonial {
        text-align: center;
        margin-top: 2rem;
        padding: 0 0.5rem;
    }

    .book-demo-testimonial-name,
    .book-demo-testimonial-text {
        text-align: left;
    }

    .book-demo-testimonial-name {
        font-size: 16px;
    }

    .book-demo-testimonial-text {
        font-size: 16px;
    }

    .book-demo-testimonial-slide blockquote {
        text-align: left;
    }

    .book-demo-quote {
        font-size: 45px;
    }

    .book-demo-dots {
        justify-content: center;
    }
    .book-demo-quote-close {
        right: 13px;
    }
}
