.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    overflow: hidden;
    justify-content: center;
    align-items: center;
}

.modal .modal-content {
        position: relative;
        max-width: 35%;
        max-height: 95vh;
        width: 100%;
        height: auto;
        background: white;
        border-radius: 20px;
        padding: 36px;
        box-shadow: 0px -5px 15px rgba(0, 0, 0, 0.2);
        overflow-y: auto;
        animation: slideUp 0.3s ease-in-out;
    }

.modal .modal-content .modal-header {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 24px;
        }

.modal .modal-content .modal-header .top-corner {
                position: absolute;
                top: 0;
                left: 0;
            }

.modal .modal-content .modal-header .title {
                color: #2e3134;
                text-align: center;
                font-size: 18px;
            }

.modal .close {
        position: absolute;
        top: 15px;
        right: 20px;
        font-size: 24px;
        font-weight: bold;
        cursor: pointer;
        display: flex;
        height: 40px;
        padding: 0px 12px;
        justify-content: center;
        align-items: center;
        gap: 8px;
        border-radius: 9999px;
        background: #d2d4d6;
    }

.modal .close svg {
            width: 18px;
            height: 18px;
        }

.modal .modal-body {
        display: grid;
        grid-template-columns: repeat(1, 1fr);
        grid-gap: 32px;
        gap: 32px;
        text-align: center;
        margin-top: 24px;
    }

.modal .modal-body .modal-image img {
                aspect-ratio: 2 / 1.2;
                width: 100%;
            }

.modal .modal-body .icon {
            display: inline-flex;
            color: rgba(0, 0, 0, 0.8);
            gap: 12px;
            align-items: center;
            font-weight: 600;
        }

.modal .modal-body .icon img {
                width: 160px;
                height: 160px;
                align-self: center;
            }

.modal .modal-body .icon p {
                font-size: 14px;
                align-self: center;
            }

.modal .modal-body .matik-icon img {
            width: 160px;
            height: 160px;
        }

.modal .modal-body .email-button-base-module {
            display: flex;
            height: 48px;
            padding: 8px 12px;
            justify-content: center;
            align-items: center;
            gap: 8px;
            align-self: stretch;
            border-radius: 8px;
            background: #085ef1;
            color: #fff;
            cursor: pointer;
        }

.modal .modal-body .email-button-base-module img {
                display: flex;
            }

.modal .modal-body .whatsapp-button-base-module {
            display: flex;
            height: 48px;
            padding: 8px 12px;
            justify-content: center;
            align-items: center;
            gap: 8px;
            align-self: stretch;
            border-radius: 8px;
            background: #08d94c;
            color: #fff;
            cursor: pointer;
        }

.modal .modal-body .contact-wrapper {
            display: flex;
            justify-content: space-between;
            align-items: center;
            align-self: stretch;
        }

.modal .modal-body .contact-wrapper .email-button {
                display: flex;
                height: 40px;
                padding: 8px 12px;
                justify-content: center;
                align-items: center;
                gap: 8px;
                border-radius: 8px;
                background: #f1f1f2;
                color: #2e3134;
                cursor: pointer;
            }

.modal .modal-body .contact-wrapper .email-button picture {
                    display: flex;
                }

.modal .modal-body .contact-wrapper .whatsapp-button {
                display: flex;
                height: 40px;
                padding: 8px 12px;
                justify-content: center;
                align-items: center;
                gap: 8px;
                border-radius: 8px;
                background: #f1f1f2;
                color: #2e3134;
                cursor: pointer;
            }

.modal .modal-body .contact-wrapper .whatsapp-button picture {
                    display: flex;
                }

.modal .modal-body .description {
            max-height: 200px;
            scrollbar-width: thin;
            scrollbar-color: #085ef1 #f1f1f1;
        }

.modal .modal-close-blue-btn {
        display: flex;
        height: 48px;
        padding: 8px 12px;
        justify-content: center;
        align-items: center;
        gap: 8px;
        align-self: stretch;
        border-radius: 8px;
        background: #085ef1;
        color: #fff;
        cursor: pointer;
    }

@media (max-width: 1400px) {
        .modal .modal-content {
            max-width: 55%;
        }
}

@media (max-width: 995px) and (min-width: 781px) {
        .modal-body .contact-wrapper {
            flex-direction: column;
            gap: 8px;
            align-items: initial !important;
        }
}

@media (max-width: 1538px) and (min-width: 1401px) {
        .modal-body .contact-wrapper {
            flex-direction: column;
            gap: 8px;
            align-items: initial !important;
        }
}

@media (max-width: 781px) {
        .modal .modal-content {
            padding: 36px 5px;
            position: absolute;
            bottom: 0;
            width: 100%;
            max-width: 100%;
            max-height: 90dvh;
            height: auto;
            height: initial;
            border-radius: 20px 20px 0 0;
        }

        .modal .close {
            padding: 6px;
            height: auto;
            height: initial;
        }

            .modal .close svg {
                width: 16px;
                height: 16px;
            }

        .modal .modal-body {
            gap: 10px;
        }
                .modal .modal-body .icon .logo-img {
                    width: 45px;
                    height: 45px;
                    margin-left: 16px;
                }

            .modal .modal-body .matik-icon {
                display: flex;
                justify-content: center;
            }

            .modal .modal-body .description {
                max-height: 200px;
                overflow-y: scroll;
            }

            .modal .modal-body .modal-close-blue-btn {
                display: none;
            }

            .modal .modal-body .contact-wrapper {
                flex-direction: column;
                gap: 24px;
            }

                .modal .modal-body .contact-wrapper a {
                    width: 100%;
                }

                .modal .modal-body .contact-wrapper .email-button {
                    border: 1px solid #085ef1;
                    color: #085ef1;
                    width: 100%;
                }

                .modal .modal-body .contact-wrapper .whatsapp-button {
                    border: 1px solid #085ef1;
                    color: #fff;
                    background: #085ef1;
                    width: 100%;
                }

    .modal-content.slide-down {
        animation: slideDown 0.3s ease-in-out;
    }

    @keyframes slideUp {
        from {
            transform: translateY(100%);
        }

        to {
            transform: translateY(0);
        }
    }

    @keyframes slideDown {
        from {
            transform: translateY(0);
        }

        to {
            transform: translateY(100%);
        }
    }
}