.popup-message {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: rgba(0, 0, 0, 0.8);
    color: #fff;
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 20px;
    font-family: 'Poppins', sans-serif;
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.popup-icon {
    width: 24px;
    height: 24px;
}



@media (max-width: 640px) {
    .popup-message {
        font-size: 18px;
        padding: 8px 16px;
        bottom: 10px;
        right: 10px;
        border-radius: 6px;
        gap: 8px;
    }

    .popup-icon {
        width: 20px;
        height: 20px;
    }
}








.order-modal {
    display: none;
    justify-content: center;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 1000;
}


.modal-content {
    width: 1450px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 40px;
    position: relative;
    display: flex;
    gap: 60px;
    box-sizing: border-box;
    color: #333;
}


.modal-left {
    width: 50%;
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
}


.price-prefix {
    font-size: 18px;
    font-weight: 400;
    color: rgba(0, 0, 0, 0.5);
    margin-top: auto;
    margin-bottom: 14px;
}

#estimated-price {
    font-size: 52px;
    font-weight: 500;
    color: rgba(0, 0, 0, 0.85);
    display: flex;
    align-items: flex-start;
    gap: 8px;
}


.currency-symbol {
    font-size: 18px;
    font-weight: 400;
    color: rgba(0, 0, 0, 0.5);
}


.note {
    font-size: 19px;
    color: rgba(0, 0, 0, 0.7);
    line-height: 1.6;
    margin-bottom: 0;
}


.features-row {
    display: flex;
    justify-content: space-between;
    gap: 12px;
}

.feature {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.feature-icon {
    width: 40px;
    height: 40px;
    margin-bottom: 8px;
}

.feature-title {
    font-size: 14px;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    color: rgba(0, 0, 0, 0.8);
}


.modal-right {
    width: 50%;
    display: flex;
    flex-direction: column;
    gap: 0;
    width: 100%;
}

.modal-right label {
    font-size: 20px;
    font-weight: 500;
    color: rgba(0, 0, 0, 0.9);
}

.order-modal-input-row {
    display: flex;
    gap: 20px;
    margin-top: 6px;
}


#contact-email {
    padding: 14px;
    border-radius: 60px;
    border: 1px solid rgba(0, 0, 0, 0.3);
    font-size: 20px;
    color: #333;
    flex: 1;
}


#contact-email.error-border {
    border: 2px solid red;
    transition: border-color 0.5s ease;
}


#contact-phone {
    padding: 14px;
    border-radius: 60px;
    border: 1px solid rgba(0, 0, 0, 0.3);
    font-size: 20px;
    color: #333;
    flex: 0.4;
    letter-spacing: 1.3px;
}



.consent-section {
    display: flex;
    flex-direction: column;
    margin-top: 24px;
    gap: 10px;
    width: 100%;
}

.consent-note {
    font-size: 14px;
    color: rgba(0, 0, 0, 0.6);
    margin-left: 35px;
}


.order-modal-checkbox-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
    position: relative;
}

.checkbox-container {
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}


.checkbox-container input {
    display: none;
}


.checkbox-container svg {
    overflow: visible;
    border: 2px solid black;
}


.checkbox-container svg.error-border {
    border: 2px solid red;
    transition: border-color 0.5s ease;
}


.checkbox-path {
    fill: none;
    stroke: black;
    stroke-width: 3;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: stroke-dasharray 0.16s ease-out, stroke-dashoffset 0.16s ease-out;
    stroke-dasharray: 70.51 9999999;
    stroke-dashoffset: -262.27;
}


.checkbox-container .checkbox-path {
    stroke-dasharray: 70.51 9999999;
    stroke-dashoffset: -262.27;
}


.checkbox-container input:checked ~ svg .checkbox-path {
    stroke-dasharray: 241 9999999;
    stroke-dashoffset: 0;
}



.checkbox-container label {
    font-size: 15px;
    color: rgba(0, 0, 0, 0.8);
}

.submit-btn {
    margin-top: 18px;
    border: 2px solid #959595;
    border-radius: 60px;
    padding: 12px 24px;
    font-size: 20px;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s ease;
    width: 100%;
    background-color: black;
    color: white;
}

.submit-btn:hover {
    background-color: rgba(0, 0, 0, 0.85);
}


.close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 24px;
    font-weight: bold;
    color: rgba(0, 0, 0, 0.5);
    cursor: pointer;
    transition: color 0.2s;
}

.close-btn:hover {
    color: black;
}




@media (max-width: 640px) {
   
    .order-modal {
        align-items: flex-start;
        overflow-y: auto;
        padding: 0px;
    }

   
    .modal-content {
        width: 90%;
        max-width: 100%;
        padding: 28px 24px;
        gap: 12px;
        border-radius: 14px;
        overflow-y: auto;
        max-height: 90vh;
    }

   
    #estimated-price {
        font-size: 32px;
        gap: 4px;
    }

    .currency-symbol {
        font-size: 16px;
    }

   
    .note {
        font-size: 16px;
        line-height: 1.5;
    }

   
    .features-row {
        flex-direction: column;
        gap: 12px;
    }

    .feature-icon {
        width: 30px;
        height: 30px;
    }

    .feature-title {
        font-size: 13px;
    }

   
    .modal-right label {
        font-size: 18px;
    }

    .order-modal-input-row {
        flex-direction: column;
        gap: 10px;
    }

    #contact-email, #contact-phone {
        padding: 10px;
        font-size: 18px;
    }

   
    .consent-section {
        margin-top: 18px;
        gap: 8px;
    }

    .consent-note {
        font-size: 13px;
        margin-left: 34px;
    }

   
    .checkbox-container label {
        font-size: 14px;
    }

   
    .submit-btn {
        margin-top: 18px;
        padding: 10px 16px;
        font-size: 18px;
        border-radius: 10px;
    }

   
    .close-btn {
        font-size: 22px;
        top: 10px;
        right: 10px;
    }
}

































.modal {
    display: none;
    justify-content: center;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    z-index: 1000;
}

.modal-content {
    width: 90%;
    max-width: 950px;
    background: #FFFFFF;
    border-radius: 20px;
    padding: 44px 40px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.modal-title {
    font-family: 'Poppins', sans-serif;
    font-size: 24px;
    font-weight: 500;
    color: #000000;
    text-align: center;
    margin-bottom: 16px;
}

.presentation-types-wrapper {
        margin: 20px 0 0;
}


.presentation-types {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 60px;
    width: 100%;
}

.presentation-type {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-evenly;
    text-align: center;
    cursor: pointer;
    transition: transform 0.4s ease, opacity 0.4s ease;
    max-width: 220px;
    height: 220px;
    position: relative;
}

.presentation-type:hover .type-image {
    transform: scale(1.06);
    border-radius: 12px;
    opacity: 1;
    box-shadow: 4px 4px 14px #6666666e;
    transition: all 0.3s ease-in-out, transform 0.3s ease-in-out;
}

.type-image {
    width: 250px;
    height: auto;
    transition: transform 0.4s ease, opacity 0.4s ease;
    opacity: 0.8;
    border-radius: 12px;
    transform: scale(0.93);
}


.type-image.selected {
    box-shadow: 4px 4px 14px #6666666e;
    transform: scale(1.06);
    opacity: 1;
    transition: all 0.3s ease, transform 0.3s ease, border 0.3s ease;
    position: relative;
    border-radius: 12px;
}




.presentation-type.selected::after {
    content: '✔';
    font-size: 20px;
    color: rgba(255, 255, 255, 0.9);
    position: absolute;
    top: -12px;
    right: -37px;
    width: 32px;
    height: 32px;
    background: rgba(0, 0, 0, 0.5);
    border: 2px solid rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(5px);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 1;
    transform: scale(1);
    transition: opacity 0.3s ease, transform 0.3s ease;
}


.presentation-type::after {
    opacity: 0;
    transform: scale(0.5);
}


.presentation-type.selected::after {
    opacity: 1;
    transform: scale(1);
}



.type-label {
    font-family: 'Poppins', sans-serif;
    font-size: 20px;
    color: #000000;
    margin-top: 25px;
}

.popular-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.popular {
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    font-weight: bold;
    color: #FF6E9F;
}




.next-btn-outline {
    margin-top: 30px;
    background-color: transparent;
    border: 2px solid #959595;
    color: #959595;
    border-radius: 60px;
    padding: 12px 24px;
    font-size: 20px;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s ease;
    width: 100%;
}

.next-btn-filled {
    background-color: black;
    color: white;
}


.loading-animation {
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1001;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 5px solid rgba(0, 0, 0, 0.2);
    border-top: 5px solid rgb(255, 255, 255);
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}





@media (max-width: 640px) {
    .modal-content {
        width: 90%;
        max-width: 100%;
        padding: 28px 24px;
        gap: 12px;
        border-radius: 14px;
        overflow-y: auto;
        max-height: 93vh;
        margin: auto;
    }

    .modal-title {
        font-size: 22px;
        font-weight: 600;
        text-align: center;
        margin-bottom: 12px;
    }

    .presentation-types-wrapper {
        width: 100%;
    }

    .presentation-types {
        display: flex;
        flex-direction: column;
        gap: 16px;
        align-items: center;
    }

    .presentation-type {
        max-width: 100%;
        height: auto;
        flex-direction: row;
        align-items: center;
        padding: 12px;
        border-radius: 8px;
        gap: 12px;
        transition: box-shadow 0.3s ease, transform 0.3s ease;
        width: 100%;
        justify-content: space-between;
    }

    .presentation-type:hover {
        transform: scale(1.02);
    }

    .presentation-type.selected::after {
        top: 0px;
        right: -7px;
        z-index: 1;
    }
    

    .type-image {
        order: 2;
        width: 100px;
        height: auto;
        opacity: 1;
        border-radius: 12px;
        transition: transform 0.3s ease;
    }

    .type-label {
        order: 1;
        font-size: 18px;
        font-weight: 500;
        color: #000;
        text-align: left;
        flex-grow: 1;
    }

    .popular {
        display: none;
    }

    .next-btn-outline {
        margin-top: 24px;
        padding: 12px 20px;
        font-size: 18px;
        border-radius: 10px;
        width: 100%;
        transition: background 0.2s ease, color 0.2s ease;
    }

    .next-btn-outline:hover {
        background-color: #959595;
        color: #fff;
    }

    .spinner {
        width: 36px;
        height: 36px;
        border-width: 4px;
    }
}

















/* Base Modal Styling */
.modal-overlay {
    display: none;
    justify-content: center;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 1001;
}

.success-content {
    background: white;
    border-radius: 12px;
    padding: 40px;
    text-align: center;
    width: 500px;
    box-sizing: border-box;
}

.success-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 10px;
}

.success-title {
    font-size: 32px;
    font-weight: bold;
    color: #000000;
    margin: 0;
}

.success-message {
    font-size: 20px;
    color: #333;
    margin: 16px 0;
}

.close-button {
    margin-top: 20px;
    padding: 10px 20px;
    font-size: 18px;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.close-button:hover {
    background-color: #45a049;
}

/* Mobile Responsiveness */
@media (max-width: 640px) {
    .success-content {
        width: 90%;
        padding: 24px;
        border-radius: 10px;
    }

    .success-icon {
        width: 60px;
        height: 60px;
        margin-bottom: 16px;
    }

    .success-title {
        font-size: 26px;
    }

    .success-message {
        font-size: 18px;
    }

    .close-button {
        font-size: 16px;
        padding: 8px 16px;
    }
}







