@font-face {
    font-family: "Rubik";
    src: url("../fonts/Rubik/Rubik-VariableFont_wght.6d3102fa3319.ttf");
}


:root {
    font-size: 16px;
    font-family: "Rubik", sans-serif;
}


html {
    scroll-behavior: smooth;
}


body {
    margin: 0;
    padding: 0;
    background: rgb(239, 241, 246, 1);

}

body.no-scroll {
    overflow: hidden;
} 


#alert-danger,
#alert-success {
    position: fixed;
    top: 2%;
    left: 50%;
    transform: translate(-50%, 0);
    padding: 20px;
    background-color: #f44336;
    color: white;
    z-index: 10005;

    opacity: 0;
    display: none;
    transition: opacity 0.6s;
    min-width: 30%;
    width: 90%;
}

#alert-success {
    background-color: #04AA6D;
}

.alert-close {
    margin-left: 15px;
    color: white;
    font-weight: bold;
    float: right;
    font-size: 22px;
    line-height: 20px;
    cursor: pointer;
    transition: 0.3s;
    padding: 0 5px;
}

.alert-close:hover {
    color: black;
}


.wrapper-block {
    width: 100%;
}

#navbar-lg {
    display: none;
}

#navbar-sm {
    display: block;
}

#navbar-sm .nav-phone {
    display: none;
}


#navbar-sm.navbar {
    height: 68px;
}

.navbar {
    position: sticky;

    z-index: 100;
    top: 10px;
    height: 80px;
    width: 100%;
    max-width: 97%;

    margin-left: auto;
    margin-right: auto;
    background: white;
    color: black;
    font-size: 16px;


    box-shadow: rgba(23, 35, 55, 0.2) 0px 8px 35px -5px;
    box-sizing: border-box;
    border: 0px solid #FFFFFF;
    border-radius: 1000px;
}

.navbar-line {
    padding: 0 20px 0 30px;
    list-style: none;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    gap: 2rem;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-item a {
    height: 100%;
    text-decoration: none;
    color: black;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.nav-item a:hover {
    color: #3b82f6;
}

.nav-phone {
    background: #eff1f6;
    color: #0f172a;
    padding: 10px 10px;
    border-radius: 30px;
    gap: 10px;
    font-size: 18px;
}

.nav-contact {
    height: 48px !important;
    width: 48px;
    font-size: 50px;
    background: white;
    color: #0f172a;
    border-radius: 50%;
}

#burger-toggler {
    height: 48px !important;
    width: 48px;
    font-size: 35px;
    border-radius: 50%;
    background: white;
    margin-left: -10px;
}

#services,
#education {
    scroll-margin-top: 40px;
}

#requests {
    scroll-margin-top: 65px;
}











#about-header {
    position: relative;
}

#profile {
    width: 720px;
    position: absolute;
    bottom: -140px;
    right: -20px;
    z-index: 2;
}

#about-header::after {

    position: absolute;
    bottom: -180px;
    right: -70px;

    content: '';
    z-index: 1;

    width: 750px;
    height: 750px;

    background: radial-gradient(
        circle at center,
        rgba(90, 164, 232, 0.9) 0%,
        rgba(53, 140, 222, 0.6) 100%
    );
/*    filter: blur(1px);*/
    border-radius: 50%;
}


#info-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;

    max-width: 100%;

    padding: 0 10px;
}

#info-wrapper .name {
    font-size: 56px;
    line-height: 62px;
    font-weight: 500;
    color: white;
}

#info-wrapper .description {
    z-index: 2;
    position: relative;
    color: white;
    /*padding-left: 20px;*/

    font-size: 20px;
    line-height: 26px;
    font-weight: 300;

    margin-top: 20px;
}

/*#info-wrapper .description::before {*/
/*    content: '';*/
/*    position: absolute;*/
/*    left: 0;*/
/*    top: 10px;*/
/*    width: 6px;*/
/*    height: 6px;*/
/*    background-color: white;*/
/*    border-radius: 50%;*/

/*    display: none;*/
/*}*/


#info-wrapper .help-button {
    cursor: pointer;

    box-sizing: border-box;
    color: white;
    padding: 25px 60px;
    background: #172337;
    border-radius: 16px;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;

    font-size: 18px;
    font-weight: 400;

    margin-top: 50px;

    transition: all 0.2s ease;

    position: relative;
    z-index: 3;
}

#info-wrapper .help-button i {
    transform: rotate(-45deg);
    transition: all 0.2s ease;
}

#info-wrapper .help-button:hover {
    background: #14ddb9;
}

#info-wrapper .help-button:hover i {
    transform: rotate(0);
}

#quotes-wrapper {
    margin: 80px 0 40px 0;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;

    flex-direction: column;
}

#quotes-wrapper .quote-block {
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;

    gap: 25px;

    max-width: 560px;
    padding: 30px 30px;

    backdrop-filter: blur(5px);
    background: linear-gradient(40deg, rgba(37, 180, 201, 0.9) 0%, rgba(37, 113, 187, 0.7) 40%, rgba(37, 113, 187, 0.7) 60%, rgba(159, 164, 174, 0.9) 100%);

    box-sizing: border-box;
    border-radius: 32px;
}

#quotes-wrapper .quote-block i {
    font-size: 40px;
    color: white;
}

#quotes-wrapper .quote-block .quote-main {
    font-size: 20px;
    font-weight: 400;
    color: white;

    margin-bottom: 10px;
}

#quotes-wrapper .quote-block .quote-additional {
    color: white;
    line-height: 22px;
    font-weight: 300;

}


#about {
    margin-top: -80px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    background: #2885DC;
    background: linear-gradient(180deg, rgba(40, 133, 220, 1) 0%, rgba(40, 133, 220, 1) 70%, rgba(255, 255, 255, 1) 100%);

    padding: 165px 0;
}

#about-plate {
    border-radius: 40px;
    background: #fff;
    box-sizing: border-box;
    box-shadow: 0 0 10px 0 rgba(85, 85, 85, 0.5);
    padding: clamp(15px, 5vw, 50px);

    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px 40px;

    z-index: 3;
}

#about-plate-left {
    position: relative;
    display: inline-block;
}

#about-plate-left img {
    display: block;
    border-radius: 20px;
    box-sizing: border-box;
    max-width: 280px;

}


#about-plate-left .img-plate {
    box-sizing: border-box;
    position: absolute;
    padding: 10px 15px;
    background: rgba(75, 66, 64, 0.8);
    color: #fff;
    line-height: 1.4;
    border-radius: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    width: 94%;
    left: 3%;
    font-size: 12px;

    display: none;
}

#about-plate-left .img-plate i {
    flex-shrink: 0;
    font-size: 22px;
}


#about-plate-left .img-plate:nth-child(2) {
    bottom: 70px;
}

#about-plate-left .img-plate:nth-child(3) {
    bottom: 10px;
}


.block-title {
    font-size: clamp(28px, 4vw, 3rem);
    font-weight: 500;
    margin: 0 0 15px 15px;
}

#about-list {
    list-style-type: none;
    padding-left: 0rem;
}

#about-list li {
    position: relative;
    color: #172337;
    font-size: clamp(16px, 2.5vw, 18px);
    line-height: clamp(18px, 2.5vw, 24px);
    padding-left: clamp(20px, 2.5vw, 30px);
    margin-bottom: 10px;
}

#about-list .marked-li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: clamp(4px, 2vw, 10px);
    height: clamp(4px, 2vw, 10px);
    background-color: #2e92ee;
    transform: rotate(45deg);
    border-radius: 2px;

}

#requests {
    padding-top: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #fff;
}


.requests-container {
    display: flex;
    justify-content: center;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 25px;
}

.request-element {
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    max-width: 95%;
}


.request-element-img {
    background-color: #EFF1F6;
    border-radius: 40px;
    background-size: cover;
    box-sizing: border-box;
    max-height: 180px;
    max-width: 100%;
    margin-bottom: 15px;
    object-fit: cover;

}

.request-element-title {
    font-size: clamp(16px, 2vw, 20px);
    font-weight: 600;
    line-height: 24px;
    margin-bottom: 10px;
}

.request-element-description {
    font-size: clamp(14px, 1.6vw, 16px);
    font-weight: 400;
    line-height: clamp(19px, 2vw, 21px);
    color: #647A9F;
}


#services {
    padding-top: 50px;
    padding-bottom: 70px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(180deg, #fff 0%, #eff1f6 25%, #eff1f6 100%);
}


.services-container {
    display: flex;
    justify-content: center;
    /*    align-items: start;*/
    flex-direction: row;
    flex-wrap: wrap;
    gap: 20px;

    flex: 1 1 0;
}

.service-element {
    border-radius: 20px;
    background-color: #ffffff;
    box-sizing: border-box;
    box-shadow: 0 0 10px 0 rgba(85, 85, 85, 0.2);

    width: 95%;
    aspect-ratio: 1/0.9;

    display: flex;
    flex-direction: column;


    padding: 15px;
}


.service-label {
    color: #ffffff;
    font-size: 12px;
    background-color: #2885dc;
    border-radius: 30px;
    box-sizing: border-box;
    width: fit-content;
    padding: 3px 8px;
}

.service-title {
    color: #000000;
    font-size: 20px;
    font-weight: 500;

    margin: 10px 0;
}

.service-description {
    font-size: 14px;
    color: #172337;
    margin-bottom: 15px;
}


.service-main-block {
    box-sizing: border-box;
    border: 1px solid #172337;
    border-radius: 12px;

    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 12px;

    height: 45px;


    margin-top: auto;

}

.service-main-button {
    display: inline;
    box-sizing: border-box;
    background-color: #172337;
    font-size: 16px;
    font-weight: 400;
    color: #ffffff;
    border-radius: 12px;
    padding: 12px 40px;
    margin: -1px;

    text-decoration: none;

}


.service-main-text {
    display: inline;
    height: fit-content;
    font-size: 19px;
}

.service-main-text i {
    font-size: 18px;
    margin: -4px;
}

.service-secondary-button {
    box-sizing: border-box;
    background-color: #eff1f6;
    color: #172337;
    font-size: 18px;
    font-weight: 400;
    border-radius: 12px;
    padding: 12px 40px;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: nowrap;

    text-decoration: none;
    height: 45px;

    margin-top: 10px;
}


#education {
    padding-top: 50px;
    padding-bottom: 100px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #2885DC;

    box-sizing: border-box;
    border-radius: 40px 40px 0 0;
    /*    background: linear-gradient(180deg, rgb(239, 241, 246, 1) 0%, rgba(40, 133, 220, 1) 50%, rgba(40, 133, 220, 1) 100%);*/
}

.education-container {
    display: flex;
    justify-content: center;
    /*    align-items: start;*/
    flex-direction: row;
    flex-wrap: wrap;
    gap: 20px;

    flex: 1 1 0;
}

.education-element {
    cursor: pointer;
    border-radius: 20px;
    background-color: #ffffff;
    box-sizing: border-box;
    box-shadow: 0 0 10px 0 rgba(85, 85, 85, 0.2);


    font-size: 14px;
    color: #172337;

    width: 95%;
    /*    aspect-ratio: 1/0.9;*/


    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    position: relative;

    padding: 15px;

    transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out, border-color 0.2s ease-in-out;
}

.education-element i {
    position: absolute;
    bottom: 20px;
    right: 15px;
    color: #0f3457;

    transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out, border-color 0.2s ease-in-out;
}

.education-element:hover {
    background: #0f3457;
    color: #fff;
}

.education-element:hover i {
    color: #fff;
}



#footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #fff;

    padding: 40px 0 30px 0;
}


.footer-container {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-direction: column;
}

.more-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
}

.more-wrapper, .contacts-container {
    width: 90%;
}

.contacts-container,
.more-container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px 25px;
}

.more-container {
    gap: 10px;
    flex-direction: column;
    align-items: center;
    padding: 0 10px;

    font-size: clamp(1rem, 2vw, 20px);

    text-align: center;
}




.contact-line {
/*    width: 100%;*/
    display: flex;
    align-items: center;
    padding: 10px 10px;
    border-radius: 30px;
    gap: 10px;
    font-weight: 500;
    font-size: clamp(1.2rem, 2vw, 1.5rem);
    text-decoration: none;
    color: var(--text-color, #0f172a);
    transition: all 0.2s ease;

    min-width: 224px;
}

.contact-line i {
    background: #0f172a;
    color: #fff;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transition: all 0.3s ease;
}

.contact-line:hover {
    background: #a5abbb;
}



#get-help-button {
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: var(--button-bg, #a5abbb);
    color: var(--text-color, #0f172a);
    padding: 20px 40px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;

    font-size: clamp(1.1rem, 2vw, 25px);
}

#get-help-button:hover {
    background: var(--accent-color, #3b82f6);
    color: #fff;
}


.more-line a {
    color: var(--accent-color, #3b82f6);
    text-decoration: none;
    transition: opacity 0.2s;
    text-align: center;
}

.more-line a:hover {
    opacity: 0.8;
}




.sidebar {
    box-sizing: border-box;

    padding: 24px 18px 0 18px;
    width: 100%;
    height: 100vh;
    background: #172337;
    color: white;
    box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.5);
    position: fixed;
    top: 0;

    z-index: 1001;
    /*    overflow-y: scroll;*/

}

#navbar-right {
    display: none;
    right: 0;
}

#navbar-right-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
    min-height: 0;
}

#navbar-right-menu {
    margin: 0;
    padding: 0;
    padding-left: 20px;
    list-style: none;
    width: 100%;
    margin-top: 20px;

    font-size: 20px;
    font-weight: 400;

    display: flex;
    flex: 1;
    flex-direction: column;
    align-items: start;
    justify-content: flex-start;
    gap: 15px;

}

.menu-item a {
    text-decoration: none;
    color: currentColor;
}

.menu-item.active {
    color: #1e4c7a;
    font-weight: 600;
}

#navbar-right-menu ul {
    list-style: none;
}

.menu-item:has(.menu-phone) {
    margin-top: auto;
    margin-bottom: 20px;
}

.menu-item .menu-phone {
    padding: 10px 20px;
    border: 1px solid white;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    border-radius: 1000px;
}










/* Модальные окна */

#body-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 1000;
    background-color: rgba(0, 0, 0, .8);
    backdrop-filter: blur(5px);
    transition: opacity 0.3s ease;

}

.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    opacity: 0;
    transition: opacity 0.3s ease;
    overflow-y: auto;
}

.modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
}

.modal-content {
    padding: 5px;
    margin: 20px;
}

.modal.show .modal-content {
    transform: scale(1);
}

.modal-close {
    position: absolute;
    top: 0px;
    right: 20px;
    color: #fff;
    font-size: 50px;
    font-weight: 300;
    cursor: pointer;
    z-index: 1001;
    transition: color 0.3s ease;
}

.form-modal .modal-close {
    color: currentColor;
    font-size: clamp(30px, 4vw, 50px);
}

.modal-close:hover {
    color: #2885DC;
}

#diplomaImage {
    max-width: 100%;
    max-height: 80vh;
    height: auto;
    border-radius: 10px;
    display: block;
    margin: 0 auto;
}

.form-modal {
    max-width: 800px;
    width: 90%;

    position: relative;
    background-color: #fff;
    margin: auto;
    padding: clamp(10px, 2vw, 40px) 30px;
    border-radius: 16px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.3);
    overflow: auto;
    transform: scale(0.7);
    transition: transform 0.3s ease;
}


.form-modal form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-modal form p:empty {
    display: none;
}

.form-modal .block-title {
    text-align: center;
}

.form-modal .submit-button {
    background-color: #2885DC;
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 12px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin-top: 10px;
}

.form-modal .submit-button:hover {
    background-color: #1a6dc1;
}

.form-modal p {
    margin: 0;
    display: flex;
    flex-direction: column;
}

.form-modal label {
    font-weight: 500;
    margin-bottom: 5px;
    color: #172337;
}

.form-modal input,
.form-modal textarea,
.form-modal select {
    padding: 12px 15px;
    border: 2px solid #e1e5ee;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s ease;
    font-family: "Rubik", sans-serif;
}

.form-modal input:focus,
.form-modal textarea:focus,
.form-modal select:focus {
    outline: none;
    border-color: #2885DC;
}

.form-modal form {
    gap: 18px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-row {
    display: flex;
    gap: 16px;
}

.form-row .form-group {
    flex: 1;
}

.form-modal label {
    font-size: 16px;
    font-weight: 500;
    color: #172337;
}

.form-modal input[type="text"],
.form-modal input[type="email"],
.form-modal input[type="file"],
.form-modal textarea {
    background: #fff;
    border: 2px solid #e1e5ee;
    border-radius: 10px;
    padding: 12px 14px;
    font-size: 15px;
    font-family: "Rubik", sans-serif;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-modal textarea {
    resize: vertical;
    min-height: 60px;
}

.form-modal input:focus,
.form-modal textarea:focus {
    outline: none;
    border-color: #2885DC;
    box-shadow: 0 0 0 3px rgba(40, 133, 220, 0.15);
}

.form-hint {
    font-size: 12px;
    color: #647A9F;
    margin-top: 2px;
}

.form-hint a {
    color: #2885DC;
    text-decoration: none;
}

.form-hint a:hover {
    text-decoration: underline;
}

.form-error {
    margin-top: 8px;
    background: #fee2e2;
    color: #991b1b;
    padding: 10px 14px;
    border-radius: 10px;
    font-size: 14px;
}

.form-error-global {
    margin-bottom: 16px;
}

.has-error input,
.has-error textarea,
.has-error select {
    border-color: #dc2626;
}

.has-error input:focus,
.has-error textarea:focus {
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.15);
}

/* ===== CHECKBOX ===== */

.checkbox-group {
    flex-direction: row;
    align-items: flex-start;
    gap: 10px;
    font-size: 13px;
    line-height: 1.4;
}

.checkbox-group input[type="checkbox"] {
    margin-top: 4px;
    accent-color: #2885DC;
    cursor: pointer;
}

.checkbox-group a {
    color: #2885DC;
    text-decoration: none;
}

.checkbox-group a:hover {
    text-decoration: underline;
}

/* ===== CAPTCHA ===== */

.captcha-group {
    margin-top: 10px;
}

/* ===== SUBMIT ===== */

.form-modal .submit-button {
    margin-top: 10px;
    align-self: center;
    min-width: 220px;
    padding: 16px 40px;
    border-radius: 8px;
    font-size: 20px;
    font-weight: 500;
    background: #172337;
    color: #fff;
    transition: background 0.2s ease, transform 0.15s ease;
}

.form-modal .submit-button:hover {
    background: #2885DC;
    transform: translateY(-1px);
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-50px) scale(0.9);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.modal.show {
    animation: fadeIn 0.3s ease;
}

.modal.show .modal-content {
    animation: slideIn 0.3s ease;
}




















/* Screen xxl (Extra extra large) */
@media (min-width: 1400px) {
    .wrapper-block {
        max-width: 1160px;
    }

    #about-plate {
        flex-direction: row;
        justify-content: center;
        align-items: start;
    }

    #about-plate-left img {
        max-width: 360px;
    }

    #about-plate-left .img-plate {
        font-size: 16px;
    }

    #about-plate-left .img-plate:nth-child(2) {
        bottom: 80px;
    }

    .requests-container {
        gap: 20px 40px;
    }

    .request-element {
        max-width: 360px;
    }

    .services-container {
        gap: 40px;
        justify-content: start;
        align-items: stretch
    }

    .service-element {
        min-width: 360px;
        min-height: 320px;
        padding: 40px;
        flex: 1 1 0;
        aspect-ratio: unset;
    }

    .education-container {
        gap: 40px;
        justify-content: start;
        align-items: stretch
    }

    .education-element {
        min-width: 360px;
        min-height: 112px;
        padding: 20px 35px;
        flex: 0 1 0;
        aspect-ratio: unset;
    }

    #diplomaModal .modal-content {
        padding: 0px;
        margin: 0px;
    }

    #navbar-lg {
        display: block;
        max-width: 1160px;
    }

    #navbar-sm {
        display: none;
    }

    #navbar-right {
        width: 314px;
    }

    #quotes-wrapper {
        flex-direction: row;
    }

    #info-wrapper {
        max-width: 50%;
        align-items: start;
        text-align: left;
        padding: 0;
    }

    #info-wrapper .description::before {
        display: block;
    }

}

/* Screen xl (Extra large) */
@media (min-width: 1200px) and (max-width: 1399.98px) {
    .wrapper-block {
        max-width: 1160px;
    }

    #about-plate {
        flex-direction: row;
        justify-content: center;
        align-items: start;
    }

    #about-plate-left img {
        max-width: 360px;
    }

    #about-plate-left .img-plate {
        font-size: 16px;
    }

    #about-plate-left .img-plate:nth-child(2) {
        bottom: 80px;
    }

    .requests-container {
        gap: 20px 40px;
    }

    .request-element {
        max-width: 360px;
    }

    .services-container {
        gap: 40px;
        justify-content: start;
        align-items: stretch
    }

    .service-element {
        min-width: 360px;
        min-height: 320px;
        padding: 40px;
        flex: 1 1 0;
        aspect-ratio: unset;
    }

    .education-container {
        gap: 40px;
        justify-content: start;
        align-items: stretch
    }

    .education-element {
        min-width: 360px;
        min-height: 112px;
        padding: 20px 35px;
        flex: 0 1 0;
        aspect-ratio: unset;
    }

    #diplomaModal .modal-content {
        padding: 0px;
        margin: 0px;
    }

    #navbar-lg {
        display: block;
    }

    #navbar-sm {
        display: none;
    }

    #navbar-right {
        width: 314px;
    }

    #quotes-wrapper {
        flex-direction: row;
    }

    #info-wrapper {
        max-width: 50%;
        align-items: start;
        text-align: left;
        padding: 0;
    }

    #info-wrapper .description::before {
        display: block;
    }

    .more-wrapper {
        flex-direction: column;
    }

    #about-header::after {
        position: absolute;
        bottom: -180px;
        right: -21px;

        width: 650px;
        height: 650px;
    }

}

/* Screen lg (Large) */
@media (min-width: 992px) and (max-width: 1199.98px) {
    .wrapper-block {
        max-width: 620px;
    }

    #about-plate-left img {
        max-width: 360px;
    }

    #about-plate-left .img-plate {
        font-size: 16px;
    }

    #about-plate-left .img-plate:nth-child(2) {
        bottom: 80px;
    }

    .request-element {
        max-width: 300px;
    }

    .services-container {
        justify-content: start;
    }

    .service-element {
        min-width: 300px;
        min-height: 280px;
        flex: 0 1 0;
        aspect-ratio: unset;
    }

    .education-element {
        min-width: 300px;
        max-height: 112px;
        padding: 40px;
        flex: 1 1 0;
        aspect-ratio: unset;
    }

    #diplomaModal .modal-content {
        padding: 0px;
        margin: 0px;
    }

    #navbar-sm {
        max-width: 620px;
    }

    #navbar-sm .nav-phone {
        display: block;
    }

    #navbar-right {
        width: 314px;
    }

    #info-wrapper {
        align-items: start;
        text-align: left;
        padding: 0;
    }

    #info-wrapper .description::before {
        display: block;
    }

    #profile {
        width: 519px;
        position: absolute;
        bottom: 310px;
        right: 60px
    }

    #about-header::after {
        position: absolute;
        bottom: 220px;
        right: calc((100% - 650px) /2);

        width: 650px;
        height: 650px;
    }

    #quotes-wrapper {
        margin-top: 600px;
    }
    .more-wrapper {
        flex-direction: column;
    }

}

/* Screen md (Medium) */
@media (min-width: 768px) and (max-width: 991.98px) {
    .wrapper-block {
        max-width: 620px;
    }

    #about-plate-left img {
        max-width: 360px;
    }

    #about-plate-left .img-plate {
        font-size: 16px;
    }

    #about-plate-left .img-plate:nth-child(2) {
        bottom: 80px;
    }

    .request-element {
        max-width: 300px;
    }

    .services-container {
        justify-content: start;
    }

    .service-element {
        min-width: 300px;
        min-height: 280px;
        flex: 0 1 0;
        aspect-ratio: unset;
    }

    .education-element {
        min-width: 300px;
        max-height: 112px;
        padding: 40px;
        flex: 1 1 0;
        aspect-ratio: unset;
    }

    #navbar-sm {
        max-width: 620px;
    }

    #navbar-sm .nav-phone {
        display: block;
    }

    #navbar-right {
        width: 314px;
    }

    #info-wrapper {
        align-items: start;
        text-align: left;
        padding: 0;
    }

    #info-wrapper .description::before {
        display: block;
    }

    #profile {
        width: 519px;
        position: absolute;
        bottom: 310px;
        right: 60px
    }
    #about-header::after {
        position: absolute;
        bottom: 220px;
        right: calc((100% - 650px) /2);

        width: 650px;
        height: 650px;
    }

    #quotes-wrapper {
        margin-top: 600px;
    }
    .more-wrapper {
        flex-direction: column;
    }


}

/* Screen sm (Small) */
@media (min-width: 576px) and (max-width: 767.98px) {
    .request-element-img {
        max-height: 250px;
    }

    .request-element {
        max-width: 300px;
    }

    .service-element {
        min-width: 300px;
        min-height: 280px;
        flex: 0 1 0;
        aspect-ratio: unset;
    }

    .education-container {
        flex-direction: column;
        align-items: center;
    }

    .education-element {
        min-width: 300px;
        max-height: 80px;
        padding: 40px;
        flex: 1 1 0;
        aspect-ratio: unset;
    }

    #navbar-right {
        width: 314px;
    }

    #profile {
        width: 519px;
        position: absolute;
        bottom: 310px;
        right: calc((100% - 519px) /2);
    }
    #about-header::after {
        position: absolute;
        bottom: 275px;
        right: calc((100% - 570px) /2);

        width: 570px;
        height: 570px;
    }

    #quotes-wrapper {
        margin-top: 600px;
    }
    .more-wrapper {
        flex-direction: column;
    }

}

@media (max-width: 575.98px) {
    #info-wrapper .name {
        font-size: 35px;
        line-height: unset;
    }

    #info-wrapper .description {
        font-size: 16px;
        line-height: unset;
    }

    #profile {
        width: 350px;
        position: absolute;
        bottom: clamp(310px, calc(460px - 150px * ((100vw - 350px) / 226px)), 460px);
        right: calc((100% - 350px) /2);
    }
    #about-header::after {
        position: absolute;
        bottom: clamp(310px, calc(460px - 150px * ((100vw - 350px) / 226px)), 460px);
        right: calc((100% - 350px) /2);

        width: 350px;
        height: 350px;
    }

    #quotes-wrapper {
        margin-top: 400px;
    }
    .more-wrapper {
        flex-direction: column;
    }

    .form-row {
        flex-direction: column;
        gap: 18px;
    }

}