@import url("./settings.css");
@import url("./header.css");
@import url("./footer.css");
@import url("../cosmetology/intro.css");
@import url("../massage/intro.css");
@import url("../cosmetology/statistics.css");
@import url("../cosmetology/advantages.css");
@import url("../cosmetology/doctors.css");
@import url("../cosmetology/our-mission.css");
@import url("../cosmetology/before-after.css");
@import url("../cosmetology/reviews.css");
@import url("./book-from.css");
@import url("../massage/gallery.css");
@import url("../massage/philosophy-block1.css");
@import url("../massage/philosophy-block2.css");
@import url("../vaccinations/vaccine-list.css");
@import url("../vaccinations/expert.css");
@import url("../vaccinations/calendar.css");
@import url("../vaccinations/question-answer.css");
@import url("../checkups/checkup-list.css");
@import url("../checkups/other-checkups.css");
@import url("../news/news-list.css");
@import url("../news/single-news.css");
@import url("../day-hospital/intro.css");
@import url("../day-hospital/services.css");
@import url("../uzd-locations/location-gallery.css");
@import url("../uzd-locations/location-faq.css");
@import url("../uzd-locations/location-about.css");
@import url("../uzd-locations/location-detail-map.css");
@import url("../uzd-locations/location-map.css");
@import url("../uzd-locations/location-map-reviews.css");
@import url("../uzd-locations/location-intro.css");
@import url("../uzd-locations/location-services.css");
@import url("../uzd-locations/locations.css");

/* Text */

.h1 {
    font-size: 32px;
    font-style: normal;
    font-weight: 900;
    line-height: normal;
}

.h2 {
    font-size: 30px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
}

.h3 {
    font-size: 18px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
}

.h4 {
    font-size: 16px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
}

.body {
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

/* Container */

.container {
    padding: 0 20px;
}

.cosmetology-page,
.page-padding {
    padding-top: 60px;
}

/* Responsive */

.hide-from-laptop {
    display: block !important;
}

.hide-from-laptop.flex {
    display: flex !important;
}

.hide-from-laptop.grid {
    display: grid !important;
}

.show-from-tablet {
    display: none !important;
}

.show-from-laptop {
    display: none !important;
}

/* Basic class */

.flex {
    display: flex;
}

.between {
    justify-content: space-between;
}

.item-center {
    align-items: center;
}

.justify-center {
    justify-content: center;
}

.grid {
    display: grid;
}

.visible {
    opacity: 1;
    pointer-events: all;
}

.invisible {
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
}

/* Buttons */

.book-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 145px;
    height: 145px;
    border-radius: 50%;
    /* border: 1px solid var(--color-red); */
    font-size: 14px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    text-transform: uppercase;
    color: #384153;
    text-align: center;
    position: relative;
    background-color: rgba(255, 255, 255, 0.8);
}

.book-btn::before {
    content: "";
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 1px solid var(--color-red);
    position: absolute;
    top: 0;
    left: 0;
    animation: pulse 2s infinite;
}

.close-menu {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: url("../../images//cosmetology/close-menu.webp");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center center;
}

.back-btn {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 15px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    color: var(--color-text);
    text-transform: uppercase;
}

.back-btn::before {
    content: "";
    display: block;
    width: 24px;
    height: 24px;
    background-image: url("../../images//cosmetology/back.webp");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center center;
}

/* Modal */

.modal-overlay {
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 20;
    opacity: 0;
    transition: opacity 0.5s;
    pointer-events: none;
}

.modal-overlay > div {
    transform: translateY(15%);
    transition: transform 0.3s;
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.modal-overlay.active > div {
    transform: translateY(0%);
}

.close-modal {
    display: block;
    width: 24px;
    height: 24px;
    background-image: url("../../images/cosmetology/close-modal.webp");
    background-repeat: no-repeat;
    background-size: contain;
}

.wpcf7-form input {
    font-family: var(--font-primary);
}

/* Swither */

.switcher {
    position: relative;
    width: 55px;
    height: 25px;
    background-color: #fff;
    border-radius: 20px;
    display: flex;
    align-items: center;
    padding: 2px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.switcher a {
    height: 100%;
    flex: 1;
    text-align: center;
    text-decoration: none;
    font-weight: bold;
    color: #555;
    z-index: 2;
    transition: color 0.3s;
    position: relative;
}

.switcher a.active {
    color: #fff;
}

.switcher a::after {
    content: "";
    display: none;
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: #3badfc;
    border-radius: 20px;
    transition: transform 0.3s;
    z-index: 1;
}

.switcher a.active::after {
    display: block;
}

/* Buttons */

.read-more-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    font-size: 15px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

.read-more-btn::before {
    content: "";
    width: 16px;
    height: 16px;
    background-image: url("../../images/more-icon.svg");
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center center;
    transition: transform 0.3s;
}

.read-more-btn > span {
    opacity: 0.5;
    color: #384153;
}

.read-more-btn .hide {
    display: none;
}

.read-more-btn.active .hide {
    display: block;
}

.read-more-btn.active .show {
    display: none;
}

.read-more-btn.active::before {
    transform: rotate(45deg);
}

.main-btn {
    padding: 6px 20px;
    background: #3badfc;
    color: #fff;
    font-size: 14px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
}

/* text */

.text p:not(:last-child) {
    margin-bottom: 20px;
}

.text ul,
.text ol {
    margin: 1em 0;
    padding-left: 1.5em;
}

.text li {
    margin-bottom: 0.5em;
}

.text ul li {
    list-style-type: disc;
}

.text ol li {
    list-style-type: decimal;
}

.text a {
    color: #0073e6;
    text-decoration: underline;
    transition: color 0.2s;
}

.text a:hover {
    color: #005bb5;
}

.text blockquote {
    border-left: 4px solid #ddd;
    margin: 1.5em 0;
    padding-left: 1em;
    color: #555;
    font-style: italic;
}

.text img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 1.5em auto;
    border-radius: 4px;
}

.text pre,
.text code {
    font-family: "Courier New", monospace;
    background: #f6f8fa;
    border-radius: 4px;
}

.text pre {
    padding: 1em;
    overflow-x: auto;
    margin: 1em 0;
}

.text code {
    padding: 0.2em 0.4em;
}

.text hr {
    border: none;
    border-top: 1px solid #ddd;
    margin: 2em 0;
}

@media (min-width: 768px) {
    /* Text */

    .h1 {
        font-size: 40px;
    }

    .h2 {
        font-size: 30px;
    }

    .h3 {
        font-size: 22px;
    }

    .h4 {
        font-size: 18px;
    }

    .body {
        font-size: 16px;
    }

    /* Container */

    .container {
        padding: 0 40px;
    }

    .cosmetology-page,
    .page-padding {
        padding-top: 100px;
    }

    /* Responsive */

    .show-from-tablet {
        display: block !important;
    }

    .show-from-tablet.flex {
        display: flex !important;
    }

    .show-from-tablet.grid {
        display: grid !important;
    }

    .hide-from-tablet {
        display: none !important;
    }

    /* Buttons */

    .book-btn {
        width: 180px;
        height: 180px;
        font-size: 16px;
    }

    /* Swither */

    .switcher {
        width: 55px;
        height: 30px;
    }

    .switcher .toggle {
        width: 48%;
        height: 93%;
    }
}

@media (min-width: 1250px) {
    /* Text */

    .h1 {
        font-size: 60px;
    }

    .h2 {
        font-size: 50px;
    }

    .h3 {
        font-size: 32px;
    }

    .h4 {
        font-size: 22px;
    }

    .body {
        font-size: 18px;
    }

    /* Container */

    .container {
        padding: 0;
        max-width: 1920px;
        margin: 0 auto;
    }

    /* .page-wrapper {
    padding-right: 80px;
  } */

    /* Responsive */

    .show-from-laptop {
        display: block !important;
    }

    .show-from-laptop.flex {
        display: flex !important;
    }

    .show-from-laptop.grid {
        display: grid !important;
    }

    .hide-from-laptop.grid {
        display: none !important;
    }

    .hide-from-laptop {
        display: none !important;
    }

    .hide-from-laptop.flex {
        display: none !important;
    }

    /* Hover */

    .hover-dark,
    .hover-primary {
        transition: color 0.3s !important;
    }

    .hover-dark:hover {
        color: var(--color-text);
    }

    .hover-primary:hover {
        color: var(--color-primary);
    }

    /* Buttons */

    .book-btn {
        transition:
            background 0.3s,
            color 0.3s;
    }

    .book-btn:hover {
        color: #fff;
        background: var(--color-red);
    }

    .close-menu {
        transition: transform 0.3s;
    }

    .close-menu:hover {
        transform: rotate(90deg);
    }

    .close-modal {
        transition: transform 0.3s;
    }

    .close-modal:hover {
        transform: rotate(90deg);
    }

    .read-more-btn {
        font-size: 18px;
        gap: 12px;
    }

    .read-more-btn::before {
        width: 24px;
        height: 24px;
    }

    .read-more-btn > span {
        transition: opacity 0.3s;
    }

    .read-more-btn:hover > span {
        opacity: 1;
    }

    .main-btn {
        padding: 13px 30px;
        font-size: 16px;
        transition: background 0.3s;
    }

    .main-btn:hover {
        background-color: rgba(59, 173, 252, 0.5);
    }

    .back-btn {
        transition: opacity 0.3s;
    }

    .back-btn:hover {
        opacity: 1;
    }

    /* Swither */

    .switcher {
        width: 80px;
        height: 40px;
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(237, 28, 35, 0.5);
    }
    50% {
        transform: scale(1.08);
        box-shadow: 0 0 0 10px rgba(237, 28, 35, 0);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 50px rgba(237, 28, 35, 0);
    }
}

/* Swiper */

.swiper-button-prev:after,
.swiper-rtl .swiper-button-next:after,
.swiper-button-next:after,
.swiper-rtl .swiper-button-prev:after {
    font-size: 26px;
    color: #3e2e4d;
}

.swiper-pagination {
    position: initial;
}

.swiper-pagination-bullet-active {
    background: #5e6282;
    opacity: 1;
}

/* Loader */

.loader {
    width: 48px;
    height: 48px;
    border: 5px solid #fff;
    border-bottom-color: var(--color-primary);
    border-radius: 50%;
    box-sizing: border-box;
    animation: rotation 1s linear infinite;
    margin: 0 auto;
    display: none;
}

@keyframes rotation {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* Scrollbar */

.vertical-scrollbar {
    ::-webkit-scrollbar {
        border-radius: 2.5px;
        background-color: transparent;
        width: 5px;
    }
    ::-webkit-scrollbar-thumb {
        -webkit-box-shadow: 0 0 1px rgba(255, 255, 255, 0.5);
        box-shadow: 0 0 1px rgba(255, 255, 255, 0.5);
        border-radius: 2.5px;
        background: var(--color-primary);
        width: 5px;
    }
}
