@font-face {
    font-family: 'Vasek';
    font-display: swap;
    src: url('../fonts/Vasek_Italic.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

:root {
    --bg-dark: #202020;
    --bg-medium: #303030;
    --bg-medium-light: #F8F8F8;
    --bg-light: #F0F0FB;
    --accent: #FF9F03;
    --accent-hover: #ff7403;
    --text-grey: #C9C9D1;
    --highlight: #EBFF00;
    --bg-gray: #595970;
    --swiper-navigation-size: 25px;
}

body {
    background-color: var(--bg-dark);
    font-family: 'Montserrat';
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}


a:active {
    color: white !important;
}

.errorInput {

    border: 2px red solid !important;
}

.alert.alert-danger {
    background-color: rgba(255, 255, 255, 0);
    border: none;
    border-bottom: 2px red solid;
    padding: 2px;
    border-radius: 0;
    text-align: left;
}

p {
    text-align: justify;
}

.lessons {
    background-color: var(--bg-medium-light);
}

.btn.rounded-orange:hover {
    background-color: var(--accent-hover);
    color: white;
    transform: scale(1.05);
    transition: transform 0.5s;
}

nav {
    background-color: var(--bg-dark);
}

.navbar .navbar-brand {
    margin-right: 0;
    width: auto !important;
}


header .navbar-nav .nav-item {
    padding: 0;
}

header .d-flex.align-items-center,
section .d-flex.align-items-center {
    width: auto;
    display: flex !important;
}

header .d-flex.align-items-center {
    white-space: nowrap;
}

.navbar .nav-link {
    color: var(--text-grey);
    font-size: 15px;
}

.bi.bi-list {
    color: var(--accent);
    font-size: 2rem;
}

.feature-card__text a {
    color: black;
    text-decoration: none;
}

.text p:has(span:empty) {
    display: none;
}

.feature-card__text a:hover {
    text-decoration: underline;
    font-size: 1.1rem;
}

.icon {
    display: inline-flex;
    align-items: center;
}

.icon img {
    height: 1em;
    vertical-align: middle;
    transform: translateY(7px);
}

.rounded-dark .icon img {
    width: 16px;
    transform: translateY(2px);
}

.advantages-card.bg-black .icon img {
    width: 100%;
    height: auto;
    transform: translateY(0);
}

.advantages-card.bg-black .icon {
    display: block;
}

.text-grey {
    color: rgb(41, 41, 41);
}

.nav-link.active,
.nav-link:hover {
    color: white !important;
}

footer .menu a:hover,
.nav-link.active {
    border-bottom: 2px solid var(--accent);
    font-weight: 500;
}

.navbar .navbar-brand img {
    margin: 0.5vw;
    max-width: 8vw;
}

.collapse.navbar-collapse,
.phone {
    margin-top: auto;
    padding-bottom: 0.7vw;
}

header .phone a {
    color: white;
}

.btn {
    height: auto;
}

.breadcrumbs {
    margin-top: clamp(65px, 15vw, 6.5vw);
    background: url('../images/pages/breadcrumbs-bg.jpg') top center / cover no-repeat, var(--bg-dark);
    height: auto;
}

.breadcrumbs-overlay {
    width: 100%;
    background: var(--bg-dark);
    opacity: 0.8;
}

.breadcrumbs-title {
    color: white;
    padding: 2.5vw 0;
}

.breadcrumbs-links {
    color: #C9C9D1;
    padding-bottom: 1vw;
}

.breadcrumbs-links a {
    color: #C9C9D1;
    text-decoration: none;
}

.accent-text__stroke {
    color: var(--accent);
    -webkit-text-stroke: 1px var(--accent);
}

.accent-text {
    color: var(--accent);
}

.breadcrumbs-link-active {
    color: var(--accent);
}

.main-section {
    padding: 12vw 0;
    background: url('../images/pages/mainBg.png') center center / cover no-repeat, var(--bg-dark);
    height: auto;
}

.main-section h1 {
    color: white;
}

.main-section h1 {
    font-weight: 900;
}

h1 span {
    margin: 3px 0;
    display: inline-block;
}

.rounded-outline-white,
.rounded-dark,
.rounded-outline-dark,
.rounded-outline-black,
.rounded-yellow,
.rounded-outline-yellow {
    border-radius: 50px;
}

.rounded-outline-white {
    border: 2px solid white;
    background-color: #202020;
}

.rounded-dark {
    background-color: #595970;
}

.rounded-orange {
    background-color: var(--accent);
    color: white;
    border-radius: 10px;
}

.rounded-outline-dark {
    border: 2px solid rgb(255, 255, 255);
    background-color: rgba(255, 255, 255, 0);
}

.advantages-card .rounded-outline-dark {
    border: 1px solid rgb(255, 255, 255);
}

.w-35 {
    width: 35%;
}

.rounded-outline-black,
.btn-outline-black {
    color: black;
    border: 2px solid rgb(0, 0, 0);
    background-color: rgb(255, 255, 255);
}

.rounded-outline-yellow {
    border: 2px solid rgb(0, 0, 0);
    background-color: var(--highlight);
    color: black;
}

.rounded-outline-orange {
    border-radius: 50px;
    border: 2px solid var(--accent);
    background-color: rgba(255, 255, 255, 0);
    color: black;
}

.rounded-outline-orange a {
    color: black;
    text-decoration: none;
}

.rounded-outline-orange:hover {
    border: 2px solid var(--accent);
    cursor: text;
}

.rounded-outline-orange:has(a):hover {
    background-color: var(--accent);
}

.rounded-outline-orange:has(a):hover,
.rounded-outline-orange:hover a {
    color: rgb(255, 255, 255);
}

.rounded-yellow {
    border: 1px solid rgb(255, 255, 255);
    background-color: var(--highlight);
    color: black;
}

.equippedClassrooms-section .title {
    width: 75%;
}

.aboutUs .feature-section .title {
    width: 70%;
}

.filials-list {
    white-space: nowrap;
}

.outline-black {
    border-radius: 5px;
    border: 1px solid var(--text-grey);
    text-decoration: none;
    color: black;
}

.outline-black:hover {
    background-color: var(--accent);
    color: white;
}

.reportingСoncerts-section .title,
.aboutUs .feature-section .title {
    width: 65%;
}

.reportingСoncerts-section .btn:hover {
    transform: scale(1.05);
    transition: transform 0.5s;
    background-color: white;
    border: 2px solid black;
}

.reportingСoncerts-section iframe {
    height: 22vw;
    width: 100%;
}

.specialists-section .title {
    width: 85%;
}

.record-section .title {
    width: 65%;
}

.reviews {
    position: relative;
}

.reportingСoncerts-section,
.specialists-section,
.record-section,
.features-section,
.questions-section,
.reviews-section,
.map-section {
    background-color: var(--bg-light);
}

.filials .map-section,
.filials-list {
    background-color: white;
}

.aboutUs .feature-section,
.aboutUs .map-section,
.bonuses-section,
.filials .features-section,
.teacher-section,
.contacts-section,
.payment-section {
    background-color: var(--bg-medium-light);
}

.teacher-section .display-7 {
    font-size: 1.3rem;
}

.equippedClassrooms-section {
    text-align: justify;
}

.aboutUs .feature-section .feature-card {
    box-shadow: 0px 3px 14px rgba(0, 0, 0, 0.1);
}
.bonuses-section .feature-card {
    background-color: var(--bg-light);
    border-radius: 5px;
}
.bonuses-section .feature-card p,
.bonuses-section .feature-card a {
    text-transform: uppercase;
}
.bonuses-section .feature-card a {
    text-decoration: none;
    cursor: pointer;
}
.bonuses-section .feature-card a:hover {
    color: var(--accent-hover);
}
.h-80 {
    height: 80%;
}

.aboutUs .feature-section .feature-card img {
    width: 5vw;
}

.bonuses-section .feature-card .col-6.text-end,
.bonuses-section .feature-card .col-3.text-end,
.bonuses-section .feature-card .col-4.text-end {
    position: relative;
}

.bonuses-section .feature-card img {
    width: auto;
    height: 100%;
    position: absolute;
    right: 4%;
}
.bonuses-section .feature-card .col-4 img {
    right: 3%;
}
.bg-gray-100{
    background: var(--bg-dark) !important;
}
.feature-card__text.display-8 {
    font-size: calc(1rem + 0.2vw);
    text-align: start;
}

.feature-card__text.display-9,
.accent-text.display-9 {
    font-size: 1rem;
    text-align: left;
}

.feature-card .display-10,
.feature-card .display-10 p {
    font-size: 1rem;
    text-transform: none !important;
}

.rounded-outline-black {
    white-space: nowrap;
}

.fs-5:hover {
    transform: scale(1.2);
}

.rounded-outline-black.link {
    background-color: rgba(0, 0, 0, 0);
    border: 2px solid black;
    font-size: 15px;
    position: relative;
    text-decoration: none;
    white-space: nowrap;
}

.rounded-outline-black.link:hover {
    background-color: var(--accent-hover) !important;
    border-color: var(--accent-hover);
    color: white;
}

.more-info {
    display: none;
    font-size: 0.9rem;
    text-align: center;
}

.rounded-outline-black.link:hover .more-info {
    display: block;
}

.price-section__secondBlock .rounded-outline-black .icon {
    display: inline-flex;
    align-items: baseline;
    margin-top: -2px;
}

.price-section__secondBlock .rounded-outline-black {
    border: 1px solid black;
}

.price-section .rounded-outline-black {
    background-color: #ffffff00 !important;
}

.price-section__white {
    background-color: var(--bg-light);
}

.price-section__white .price-section__block,
.contact-section__block {
    background-color: white;
}

.contact-section__block ul {
    width: max-content;
    margin: 0 auto;
}

.contact-section__block p span,
.specialists-section .shortText span,
.specialists-section .text span a,
.specialists-section .text span {
    font-family: 'Montserrat' !important;
    font-size: 1rem !important;
    background-color: #20202000 !important;
}

.specialists-section p {
    margin-bottom: 0;
}

.specialists-section p:nth-child(1),
.specialists-section p:nth-child(2) {
    margin-bottom: 0.5rem;
}

.specialists-section a {
    font-family: 'Montserrat' !important;
    color: var(--accent);
    text-decoration: none;
}

.specialists-section a:hover {
    color: var(--accent-hover);
}

.contact-section__block .justify-content-center {
    line-height: 1.8rem;
}

.contact-section__block ul li {
    text-align: left;
}

.price-section__gray {
    background-color: var(--bg-gray);
    color: white;
}

.price-section__gray .rounded-outline-black {
    color: white !important;
    border: 1.5px solid white;
}

.price-section__gray .rounded-outline-white {
    color: black;
    border: 2px solid rgb(0, 0, 0);
    background-color: white;
}

.price-section__gray .accent-text__stroke {
    color: var(--highlight);
    -webkit-text-stroke: 1px var(--highlight);
}

.price-section__gray .price-section__block {
    background-color: var(--bg-medium);
}
.price ul {
    padding-left: 0;
}

.price li {
    color: var(--accent);
    font-size: 1rem;
    list-style: none;
}

.price li span {
    color: black;
    font-size: 1rem;
}


.directions>*:nth-child(odd):not(:first-child) {
    background-color: var(--bg-light);

}

.directions>*:nth-child(even) {
    background-color: var(--bg-medium-light);
}

.direction-section .title {
    width: 65%;
}


.warning-block {
    text-align: justify;
    background-color: white;
    border-left: 3px solid var(--accent);
}
.warning-block a {
    text-decoration: none;
}
.warning-block a:hover {
    text-decoration: underline;
}

.text-block p {
    margin: 2% 0 0.8% 0;
}

.text-block {
    text-align: justify;
}

.aboutUs .swiper-button-prev,
.swiper-rtl .swiper-button-next {
    left: var(--swiper-navigation-sides-offset, -5px);
}

.aboutUs .swiper-button-next,
.aboutUs .swiper-rtl .swiper-button-prev {
    right: var(--swiper-navigation-sides-offset, -5px);
}

.specialists-section .openModalBtn {
    color: white !important;
}

.swiper .swiper-slide .skills div {
    padding: 2px 5px;
    font-size: 12px;
}

.swiper .swiper-slide .shortText {
    font-size: 14px;
    line-height: 18px;
}

.swiper .swiper-slide img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.swiper .swiper-slide .title a,
.teachers .teacher .card a {
    color: black;
    text-decoration: none;
}

.swiper .swiper-slide .title a:hover,
.teachers .teacher .card a:hover {
    color: var(--accent-hover);
}

.swiper .swiper-button-next,
.swiper .swiper-button-prev {
    position: absolute;
    top: var(--swiper-navigation-top-offset, 100%);
    color: #8c8c90;
    background-color: rgba(255, 255, 255, 0);
    height: 0px;
}

.swiper .swiper-button-next:after,
.swiper .swiper-button-prev:after {
    background-image: none;
    width: auto;
    height: 25px;
    font-size: 12pt !important;
}

.swiper-pagination-bullet-active {
    opacity: var(--swiper-pagination-bullet-opacity, 1);
    background: var(--accent) !important;
}

.teachers {
    background-color: var(--bg-medium-light);
}

.teachers .teacher .card {
    box-shadow: 0 8px 16px rgba(0, 0, 0, .04);
    border: none;
}

.teachers .teacher .teacher-photo img {
    height: 270px;
    object-fit: cover;
}

.teacher-name a {
    font-size: 1.2rem;
}


.teachers .teacher .badge,
.swiper .badge {
    border: 1.5px solid var(--accent);
    color: black;
    margin-top: 10px;
}

.teachers .teacher .teacher-short {
    font-size: 0.9rem;
}

.share {
    text-align: center;
    background-color: white;
    box-shadow: 3px 5px 20px rgba(0, 0, 0, 0.1);
}

.share ul li {
    padding: 0 5px !important;
}

.btn-dark:hover {
    background-color: var(--accent) !important;
    border-color: var(--accent) !important;
    transform: scale(1.05);
    transition: transform 0.5s;
}

.teachers .teacher .btn,
.article-blok__btn .btn {
    color: white !important;
}

.teachers nav {
    background-color: rgba(255, 255, 255, 0);
}

.swiper-horizontal>.swiper-pagination-bullets,
.swiper-pagination-bullets.swiper-pagination-horizontal,
.swiper-pagination-custom,
.swiper-pagination-fraction {
    bottom: var(--swiper-pagination-bottom, 15px) !important;
}

.record-section img {
    position: relative;
    z-index: 999;
    width: 100%;
}

.imageMargin {
    text-align: end;
    margin-top: auto;
}

.record-section .form {
    border-radius: 5%;
}

.text-justify {
    text-align: justify;
}

.orangeLink {
    text-decoration: solid;
    color: var(--accent);
}

.orangeLink:hover {
    color: var(--accent-hover);
}

.subtitle {
    font-family: 'Vasek';
    font-size: 3rem;
    line-height: 4rem;
    text-align: center;
}

.accordion-collapse {
    border: none;
}

.iconViber,.iconWhatsapp, .iconTelegram{
    width: 22.5px;
    max-width: 22.5px;
    height: 22.5px;
    margin-bottom: 4px;
}

footer a {
    text-decoration: none;
}

.social-icons {
    text-align: center;
    margin-bottom: 0 !important;
}

.social-icons a {
    margin-left: 0 !important;
    margin: 1vw 0.5vw;
    text-decoration: none;
    display: inline-block;
}

.social-icons a:last-child {
    margin: 1vw 0vw;
}

footer p {
    text-align: center !important;
}

.social-icons a svg path {
    fill: #ffffff;
}

.social-icons a:hover svg path {
    transform: scale(1.2);
    transition: transform 0.5s;
}

.social-icons a:hover svg path {
    fill: var(--accent-hover);
}

.feature-card {
    background-color: white;
}

.features-section .subtitle {
    width: 80%;
    text-align: right;
}

.feature-card__title {
    font-weight: 800;
}

.feature-card__text {
    margin: 1vw 0;
}

.backgr-yellow {
    background-color: #EBFF00;
}

.backgr-yellow .feature-card__title {
    font-weight: 400;
    line-height: 3.2rem;
}

.feature-card img {
    width: 4vw;
    height: auto;
}

.advantages-card img {
    width: 6vw;
}

.advantages-section .title {
    color: white;
}

.sticky-md-top {
    top: 7vw !important;
}

.advantages-section .sticky-md-top img {
    width: 70%;
}

.advantages-section .sticky-md-top:last-child {
    text-align: center;
}

.italic-font {
    font-family: 'Vasek';
}

.advantages-section {
    background-color: #595970;
}

.advantages-card {
    background-color: var(--bg-medium);
    color: white;
}

.advantages-card__text {
    text-align: justify;
}

.accordion-button {
    min-height: 6vh;
    display: flex;
    align-items: center;
    font-weight: 600;
}

.accordion-item {
    background-color: white;
}

.accordion-button::after {
    content: "\02C5";
    font-size: 1rem;
    margin-left: auto;
    transform: scaleX(2);
    color: var(--accent);
    transition: transform 0.3s ease;
}

.accordion-button:not(.collapsed)::after {
    transform: rotate(180deg) scaleX(2);
}

.accordion-item:has(.accordion-button:not(.collapsed)) {
    border: 1px solid #FF9F03;
}

.map-section a {
    color: var(--accent);
}

.location .map-section {
    background-color: white;
}

.location #map {
    height: 45vh;
}

.map-section a:hover {
    color: var(--accent-hover);
}

.location .contacts-section p {
    margin-top: 1rem;
    margin-bottom: 0rem;
}

#map {
    width: 100%;
    height: 60vh;
}

.rounded-white {
    background-color: white;
    border-radius: 10px;
}
.btn.rounded-white:hover {
    background-color: white;
    transform: scale(1.05);
    transition: transform 0.5s;
}

.header {
    position: relative;
    top: 6vw;
    left: 50%;
    display: inline-block;
    transform: translateX(-50%);
    z-index: 1000;
    background: black;
    color: #fdfd42;
    padding: 0.5vw 1.5vw;
    border-radius: 30px;
    font-size: 24px;
    font-weight: bold;
}

.header .icon img {
    transform: translateY(3px)
}

.placemark-label {
    background: white;
    padding: 5px 10px;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    font-size: 14px;
    white-space: nowrap;
}

.balloon-content {
    padding: 10px;
    font-size: 14px;
}

.balloon-content button {
    border: 2px solid #FF9F03;
    background-color: white;
    padding: 5px 12px;
    border-radius: 20px;
    margin-top: 10px;
    cursor: pointer;
}


.reviews-section .subtitle {
    margin-left: 15vw;
}

.reviews-section .subtitle {
    margin-right: auto;
    margin-bottom: 0;
}

.reviews-section .logo {
    width: 45%;
}

footer {
    background-color: var(--bg-medium);
}

footer .logo {
    width: 50%;
}

footer .menu {
    display: grid;
    text-align: left;
}

footer .menu a {
    color: white;
    text-decoration: none;
}

.display-7 {
    font-size: 1.95rem;
}

.advantages-card .display-7 {
    font-size: 1.5rem;
}

.mobile-btn {
    display: none;
}

.advantages-card__text {
    margin-bottom: 0;
}

.blog,
.article,
.blog .pagination,
.blog nav {
    background-color: #F5F5F5;
}

.pagination .page-link {
    color: var(--bg-gray);
}

.zIndex {
    z-index: 999;
}

.pagination .page-item.active .page-link {
    color: white;
    background-color: var(--accent);
    border-color: var(--accent-hover);
}

.article-title {
    font-size: 1.2rem;
    font-weight: bold;
    margin: 3% 0 1% 0;
}

.article-title:first-child {
    margin: 0 0 1% 0;
}

.popular-article img {
    width: 100%;
}

.popular-article__link {
    color: black;
    text-decoration: none;
}

.popular-article__link:hover {
    color: var(--accent-hover);
}

.article-text {
    text-align: justify;
}

.rounded-gray,
.rounded-gray-link {
    padding: 0.5% 2%;
    border-radius: 50px;
    border: 1px solid var(--text-grey);
    background-color: white;
    color: black;
}

.rounded-gray a,
.rounded-gray-link a {
    color: black;
    text-decoration: none;
}

.rounded-gray.active,
.rounded-gray-link.active,
.rounded-gray-link:hover {
    border-radius: 50px;
    border: 1px solid var(--accent-hover);
    background-color: var(--accent-hover);
    color: white;
}

.rounded-gray.active a,
.rounded-gray-link.active a,
.rounded-gray-link:hover a {
    color: white;
}


.articles-block:hover {
    transform: scale(1.02);
    transition: transform 0.5s;
}

.articles-block image {
    height: 40%;
}

.articles-block .icon {
    width: 1.6vw;
    height: 1.6vw;
}

.articles-block {
    display: flex;
    flex-direction: column;
}

.article-blok__btn {
    margin-top: auto;
    /* прижмет кнопку к низу */
}

.articles-block a {
    color: black;
    text-decoration: none;
}

.article-blok__text {
    font-size: 0.9rem;
    text-align: justify;
    margin-bottom: 1rem;
}


.article-blok__title {
    padding: 4% 0 3% 0;
    font-size: 1.2rem;
    font-weight: bold;
    -webkit-text-stroke: 0.5px black;
}


.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.721);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.3s ease;
}

.modal-overlay.active {
    display: flex;
}

.modalBlock {
    background: white;
    border-radius: 10px;
    max-width: 80%;
    width: 70%;
    position: relative;
    animation: fadeIn 0.3s ease;
    display: block;
    height: auto;
}


@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }

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

.modal-close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 28px;
    cursor: pointer;
}

.modal-title {
    text-align: center;
    margin-bottom: 20px;
}

.modal-form .form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.modal-form .form-group {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 150px;
}

.modal-form label {
    margin-bottom: 0.4vw;
}

.modal-form input,
.modal-form textarea {
    padding: 0.8vw 1vw;
    border: 1px solid var(--text-grey);
    border-radius: 4px;
    font-size: 1rem;
}

.modal-form input:focus,
.custom-select.open,
.modal-form textarea:focus {
    border: 1px solid var(--accent);
    outline: none;
}

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

select {
    display: none;
}


.custom-select {
    position: relative;
    width: 100%;
    font-size: 1rem;
}

.custom-select-trigger {
    background: #fff url('../images/pages/arrow.svg') no-repeat right 0.8rem center;
    background-size: 0.8rem;
    border: 1px solid var(--text-grey);
    border-radius: 4px;
    padding: 0.8vw 2rem 0.8vw 1vw;
    cursor: pointer;
}

.custom-options {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid var(--text-grey);
    border-radius: 4px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    display: none;
    z-index: 10;
    max-height: 50vh;
    overflow-y: auto;
}

.custom-options span {
    display: block;
    padding: 0.8vw 1vw;
    cursor: pointer;
}

.custom-options span:hover {
    background: #f0f0f0;
}

.custom-select.open .custom-options {
    display: block;
    border: 1px solid var(--accent);
}

.custom-checkbox {
    position: relative;
    padding-left: 30px;
    cursor: pointer;
    user-select: none;
    display: inline-block;
    font-size: 1rem;
}

.custom-checkbox input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.custom-checkbox .checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 22px;
    width: 22px;
    background-color: white;
    border: 2px solid var(--accent);
    border-radius: 4px;
    transition: 0.2s;
    margin-top: 10px;
}

.custom-checkbox a {
    color: var(--accent);
}

.custom-checkbox:hover input~.checkmark {
    background-color: #ffe4b2;
}

.custom-checkbox input:checked~.checkmark {
    background-color: var(--accent);
    border-color: var(--accent);
}

.custom-checkbox .checkmark:after {
    content: "";
    position: absolute;
    display: none;
    left: 6px;
    top: 2px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.custom-checkbox input:checked~.checkmark:after {
    display: block;
}

.lessons .d-flex.align-items-center {
    display: table !important;
    width: 100% !important;
    border-spacing: 15px;
    table-layout: fixed;
}

@media (max-width: 1200px) {
    .reviews-section iframe {
        width: 100% !important;
    }

    .record-section .title {
        margin-bottom: 2vw;
    }

    .articles-block .icon {
        width: 2vw;
        height: 2vw;
    }
}

@media (max-width: 992px) {
    .articles-block .icon {
        width: 2.5vw;
        height: 2.5vw;
    }

    .record-section .title {
        margin-bottom: 0;
    }

    header .nav-link {
        font-weight: normal;
    }

    .swiper .swiper-slide img {
        height: 350px;
    }

    header .navbar-nav .nav-link {
        padding-top: 0.5em;
        padding-bottom: 0.5em;

    }

    header .navbar-nav .nav-item {
        border-bottom: none;
    }

    .modalBlock {
        width: 90%;
        max-width: 90%;
    }

    .feature-card__title {
        font-size: 1rem;
    }

    .feature-card__title.display-5 {
        font-size: 2rem;
    }

    .features-section .icon.ms {
        margin-left: 3vw;
    }

    .features-section .subtitle {
        text-align: right;
        width: 100%;
    }

    .advantages-section .title {
        font-size: 3rem;
        text-align: center;
    }

    .advantages-section .sticky-md-top img {
        width: 110%;
    }


    .advantages-card .display-7 {
        font-size: 1.4rem;
    }

    .advantages-section .col-8 {
        width: 80%;
        padding: 0;
    }

    .advantages-section .col-4 {
        width: 20%;
    }

    .navbar .phone-mobile {
        order: 0 !important;
    }

    .navbar .navbar-brand img {
        width: 70%;
        margin-left: 2vw;
        max-width: 10vw;
    }

    .navbar-collapse {
        background-color: var(--bg-dark);
        position: fixed;
        top: 66px;
        left: 0;
        width: 50vw;
        height: 100vh;
        overflow-y: auto;
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        z-index: 10000;
    }

    .navbar-collapse.show {
        transform: translateX(0);
    }

    .navbar-collapse ul {
        text-align: left !important;
        padding-left: 1vw;
    }



    header .phone {
        display: none !important;
    }

    .navbar-nav {
        max-width: calc(720px - 55vw);
    }

    .main-section {
        padding: 10vw 0 5vw 0;
        background: url('../images/pages/mainBg.png') center center / cover no-repeat, var(--bg-dark);
    }

    .main-section .col-sm-4 img {
        width: 110%;
    }

    .main-section .col-sm-4 {
        margin: auto;
    }


    .accordion-button {
        min-height: 8vh;
    }

    footer .logo {
        width: 100%;
    }

    .equippedClassrooms-section .title,
    .reportingСoncerts-section .title,
    .feature-section .title,
    .aboutUs .feature-section .title,
    .specialists-section .title {
        width: 100%;
    }

    .w-35 {
        width: 45%;
    }

    .imageMargin {
        position: relative;
        margin-bottom: 46%;
    }



    .direction-section .title {
        width: 100%;
    }

    .record-section img {
        position: absolute;
        width: 40%;
        right: 20vw;
        top: -8vw;
    }

    .imageMargin {
        margin-bottom: 25%;
        position: relative;
    }

    .price .record-section img {
        right: 17vw;
        top: -5vw;
    }

    .navbar-collapse {
        display: flex;
        flex-direction: column;
        height: 100%;
    }

    .navbar-nav {
        display: flex;
        flex-direction: column;
        flex: 1;
    }

    .mobile-menu {
        margin-top: auto;
        margin-bottom: 25%;
    }

}


@media (max-width: 768px) {
    .main-section {
        padding: 14vw 0 5vw 0;
    }


    .articles-block .icon {
        width: 3.6vw;
        height: 3.6vw;
    }

    .wTitle-75 {
        width: 75% !important;
    }

    .d-flex.flex-column.flex-md-row.justify-content-center .rounded-outline-black,
    .d-flex.flex-column.flex-md-row.justify-content-center .rounded-outline-yellow {
        width: fit-content;
    }

    h1 br {
        display: block;
    }

    .navbar .navbar-brand img {
        max-width: 15vw;
    }

    .modal-form .form-row {
        display: grid;
    }

    .navbar-nav {
        max-width: calc(568px - 60vw);
    }

    .main-section .display-3.display-xl-2 {
        font-size: calc(1.575rem + 2vw);
        ;
    }

    .mt-md-5.display-6 {
        margin-left: auto;
    }

    .advantages-card {
        box-shadow: -8px -6px 16px rgba(0, 0, 0, 0.5);
    }

    .advantages-card:last-child {
        box-shadow: -8px 0px 16px rgba(0, 0, 0, 0.5);
    }

    .advantages-section .col-8 {
        width: 80%;
        padding-right: 0;
    }

    .advantages-section .col-4 {
        width: 20%;
    }

    .advantages-card img {
        width: 11vw;
    }

    .advantages-section .rounded-outline-dark,
    .advantages-section .rounded-yellow {
        padding-right: 2vw;
        padding-left: 2vw;
    }

    .advantages-card__text {
        font-size: 13px;
    }

    .advantages-card .mb-4 {
        margin-bottom: 1rem !important;
    }

    .advantages-section .sticky-md-top img {
        width: 50%;
    }

    .accordion-button {
        min-height: 10vw;
    }

    .equippedClassrooms-section .title,
    .reportingСoncerts-section .title {
        margin: 0 auto;
    }

    .reportingСoncerts-section iframe {
        height: 45vw;
        width: 100%;
    }

    .w-35 {
        width: 50%;
        margin: 0 auto;
    }

    .feature-section .title,
    .specialists-section .title {
        width: 100%;
    }

    .imageMargin {
        position: relative;
        margin-bottom: 53%;
    }

    .record-section img {
        position: absolute;
        width: 55%;
        right: 2vw;
        top: -20vw;
    }

    .direction-section .title {
        width: 85%;
    }

    .record-section img {
        position: absolute;
        width: 45%;
        right: 8vw;
        top: -10vw;
    }

    .price .record-section img {
        right: 8vw;
        top: -8vw;
    }

    .imageMargin {
        margin-bottom: 26%;
        position: relative;
    }

    .teacher-section .display-7 {
        font-size: 1rem;
    }

    .teacher-skill {
        font-size: 0.8rem;
    }

}

.shadow-dark-80 {
    box-shadow: 3px 3px 12px rgba(0, 0, 0, .15);
}

@media (max-width: 576px) {

    .articles-block .icon {
        width: 5vw;
        height: 5vw;
    }

    .breadcrumbs {
        margin-top: clamp(65px, 18vw, 22vw);
    }

    .badge {
        font-size: 12px;
    }

    .navbar .navbar-brand img {
        max-width: 28vw;
        margin-top: 10px;
        margin-bottom: 10px;
    }

    .reviews {
        width: 100%;
    }

    body {
        font-size: 3.6vw;
    }

    .lessons .rounded-gray {
        font-size: 4.2vw;
    }

    .lessons .small,
    .lessons small {
        font-size: 3.6vw;
    }

    .price .record-section .title {
        width: 80%;
    }

    .price li span {
        font-size: 3.6vw;
    }

    .aboutUs .col-md-6 img {
        width: 60%;
    }

    .price-section__secondBlock .rounded-outline-black,
    .rounded-outline-black.link .more-info {
        font-size: 3.4vw;
    }

    .price-section__secondBlock .rounded-outline-black img {
        height: 5vw;
    }


    .feature-card__text.display-8 {
        font-size: 4vw;
    }

    .feature-card__text.display-9,
    .accent-text.display-9 {
        font-size: 3.35vw;
        z-index: 999;
    }

    .equippedClassrooms-section .title,
    .aboutUs .feature-section .title,
    .aboutUs .feature-section .title,
    .reportingСoncerts-section .title,
    .specialists-section .title {
        margin: 0 auto;
    }

    .record-section .title {
        width: 75%;
    }

    .d-flex.flex-column.flex-md-row.justify-content-center .rounded-outline-black,
    .d-flex.flex-column.flex-md-row.justify-content-center .rounded-outline-yellow {
        width: fit-content;
    }

    .specialists-section .title {
        width: 100%;
    }

    .title,
    .aboutUs .feature-section .title {
        width: 100%;
    }

    .contact-section__block p span,
    .specialists-section .shortText span,
    .specialists-section .text span a,
    .specialists-section .text span,
    .specialists-section .text a {
        font-size: 3.4vw !important;
    }

    .direction-section .title,
    .equippedClassrooms-section .title {
        width: 85%;
    }

    .reportingСoncerts-section .title {
        width: 65%;
    }

    .w-35 {
        width: 50%;
        margin: 0 auto;
    }

    .breadcrumbs-title {
        padding: 6vw 0 4.5vw 0;
    }

    .reportingСoncerts-section iframe {
        height: 60vw;
        width: 100%;
    }

    .record-section img {
        position: absolute;
        width: 50%;
        right: 5vw;
        top: -16vw;
    }

    .imageMargin {
        margin-bottom: 29%;
        position: relative;
    }

    .price .record-section img {
        right: 6vw;
        top: -10vw;
    }


    .bi.bi-list {
        color: var(--accent);
        font-size: 1.5rem;
    }

    .navbar .phone-mobile a {
        font-size: 15px !important;
    }

    .advantages-card .display-7 {
        font-size: 0.95rem;
    }

    .main-section .display-3.display-xl-2 {
        font-size: calc(1.575rem + 4vw);
    }

    .main-section .rounded-outline-white .icon img {
        width: 9vw;
        height: 9vw;
    }

    .main-section .col-sm-4 img {
        width: 85%;
    }

    .modalBlock label {
        font-size: 14px;
    }

    .main-section {
        height: auto;
        padding: 25vw 0 5vw 0;
    }

    .main-section .col-sm-4.text-end {
        text-align: center !important;
        order: 1;
    }

    .mobile-btn {
        display: block !important;
        order: 2;
        text-align: center;
    }

    .desktop-btn {
        display: none;
    }

    .main .icon img {
        width: 7vw;
        height: 7vw;
        transform: translateY(4px);
    }

    .icon img {
        height: 6vw;
        transform: translateY(3px);
    }

    .subtitle {
        font-size: 9vw;
    }

    .display-7 {
        font-size: calc(1.05rem + 1vw);
    }

    .aboutUs .custom-checkbox {
        font-size: 14px;
    }

    .features-section .subtitle {
        width: 100%;
        text-align: center;
    }

    .direction-section .img-fluid.d-block.me-3 {
        height: 8vw;
    }

    .aboutUs .feature-section .feature-card img,
    .feature-card img {
        width: 10vw;
    }

    .feature-card {
        box-shadow: -3px 9px 10px #59597014;
    }


    .navbar-collapse {
        width: 70vw;
    }

    .navbar-collapse ul {
        text-align: left !important;
        padding-left: 4vw;
    }



    .navbar-nav {
        max-width: calc(520px - 25vw);
    }

    .rounded-outline-black.px-4.py-2.fw-bold.display-6 {
        font-size: calc(1.375rem + 1vw);
        padding-left: 2vw !important;
        padding-right: 2vw !important;
    }


    .header {
        top: 15vw;
    }

    footer .col {
        order: 0;
    }

    footer .menu {
        order: 1;
    }

    .article table {
        width: 100%;
        display: block;
        overflow-x: auto;
    }

    .policy h1 {
        font-size: calc(1.375rem);
    }

    #map {
        height: 45vh;
    }

    .modal-form input,
    .modal-form textarea,
    .custom-options span {
        padding: 1.5vw 2vw;
    }

    .custom-select-trigger {
        padding: 1.5vw 3rem 1.5vw 2vw;
    }

    .swiper .swiper-slide img {

        height: 280px;
    }

    .main-section .icon img {
        width: 4vw;
        height: 4vw;
        transform: translateY(1px);
    }

}

@media (max-width: 353px) {
    .navbar-brand {
        width: 25%;
    }

    .navbar .navbar-brand img {
        width: 100%;
    }

    .advantages-card .display-7 {
        font-size: 0.92rem;
    }

    .rounded-outline-black.px-4.py-2.fw-bold.display-6 {
        font-size: calc(1.1rem + 1vw);
    }

}

.width-fit {
    width: fit-content;
}

.contacts a {
    color: var(--accent) !important;
    text-decoration: none;
}
.contacts span .text-black{
    color: black !important;
}

.contacts-section span .text-black:hover{
text-decoration: underline;
}
.accordion-body a{
    color: black !important;
    text-decoration: none;
}
.accordion-body a:hover{
    text-decoration: underline;
}
.feature-card__text{
    text-align: left !important;
}
.borderBottom{
    border-bottom: 1px solid var(--accent);
}
.directions .rounded{
    border-radius: 1rem;
}