body {
    font-family: 'Open Sans', sans-serif;
    padding-top: 100px;
}

.navbar {
    height: 100px;
}

.navbar-brand img {
    height: 60px;
}

.social-icons img {
    height: 24px;
    margin-right: 10px;
}

h2 {
    font-size: 40px;
    font-weight: bold;
    text-align: center;
    padding-bottom: 15px;
}

.banner {
    height: calc(100vh - 100px);
    /* background-image: url('../img/hero.jpg'); */
    background-size: cover;
    background-position: center;
    position: relative;
}

.banner-content {
    text-align: center;
    color: white;
    position: absolute;
    bottom: 60px;
    left: 0;
    right: 0;
}

.banner-content h1 {
    font-size: 4.2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.banner-content h2 {
    font-family: 'Comfortaa', cursive;
    font-size: 2.07rem;
    font-weight: 400;
    margin-bottom: 2rem;
}

.banner-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.banner-buttons .btn {
    padding: 0.75rem 1.5rem;
    font-size: 1.1rem;
    border-radius: 50px;
    text-shadow: none;
}



.banner {
    height: calc(100vh - 90px);
    background-image: url('../img/hero1.jpg');
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.banner-content {
    position: static;
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 20px 0 20px 0;
}

.banner-text {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    margin-bottom: 20px;
}

.banner-content h1 {
    font-size: 3.1rem;
    margin-bottom: 0rem;
}

.banner-content h2 {
    font-size: 1.5rem;
    margin-bottom: 0;
}

.banner-buttons {
    flex-direction: row;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.banner-buttons .btn {
    width: 100%;
    max-width: 280px;
    padding: 0.5rem 1rem;
}




.language-switcher {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 20px;
    display: flex;
    gap: 10px;
    flex-direction: column;
    z-index: 2;
}

.language-switcher .lang {
    color: white;
    text-decoration: none;
    font-weight: bold;
    padding: 5px 10px;
    border: 0px solid white;
    border-radius: 30px;
    background-color: rgba(0, 0, 0, 0.3);
    font-size: 11px;
}

.language-switcher .lang:hover {
    background-color: #45AD58;
}


.btn-success {
    background-color: #45AD58;
    border-color: #45AD58;
}

.btn-success:hover,
.btn-success:focus,
.btn-success:active {
    background-color: #3c9c4e;
    border-color: #3c9c4e;
}

.btn-outline-light {
    border-width: 2px;
}

.btn-primary {
    background-color: #45AD58;
    border-color: #45AD58;
    border-radius: 50px;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
    background-color: #3c9c4e !important;
    border-color: #3c9c4e !important;
}

.navbar-toggler {
    border: none;
}

.navbar-collapse {
    border: none !important;
}

.banner-text {
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.3);
}


@media (min-width: 1024px) {
    .navbar-collapse {
        display: flex !important;
        flex-basis: auto;
    }

    .navbar-nav {
        flex-direction: row;
    }

    .navbar-nav .nav-item {
        margin-right: 1rem;
    }
}

@media (max-width: 1200px) {
    .navbar-nav .nav-item {
        margin-right: 0.5rem;
        font-size: 14px;
    }

    .social-icons img {
        height: 24px;
        margin-right: 0px;
    }
}

@media (max-width: 767px) {
    body {
        padding-top: 70px;
    }

    h2 {
        font-size: 32px;
    }

    .navbar {
        height: 70px;
        padding-top: 0;
        padding-bottom: 0;
    }

    .navbar .container {
        max-width: 100%;
        height: 100%;
        display: flex;
        align-items: center;
    }

    .navbar-brand {
        padding-top: 0;
        padding-bottom: 0;
    }

    .navbar-nav .nav-item {
        font-size: 20px
    }

    .navbar-brand img {
        height: 40px;
    }

    .navbar-toggler {
        padding: 4px 8px;
    }

    .navbar-collapse {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-color: white;
        z-index: 1000;
        padding: 20px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .navbar-collapse .btn-close {
        position: absolute;
        top: 21px;
        right: 21px;
        height: 19px;
        width: 19px;
    }

    .navbar-nav {
        width: 100%;
        text-align: center;
        margin-bottom: 30px;
    }

    .social-icons {
        display: flex;
        justify-content: center;
        width: 100%;
    }

    .social-icons a {
        margin: 0 4px;
        display: flex;
        align-items: center;
    }

    .social-icons img {
        height: 28px;
        margin-right: 0px;
    }

    .navbar-collapse .btn-primary {
        width: auto;
        margin-top: 30px;
    }

    .banner {
        height: calc(100vh - 110px);
        background-image: url('../img/hero-mobile.jpg');
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }

    .banner-content {
        position: static;
        display: flex;
        flex-direction: column;
        height: 100%;
        padding: 20px 0 20px 0;
    }

    .banner-text {
        flex-grow: 1;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        margin-bottom: 20px;
    }

    .banner-content h1 {
        font-size: 3.1rem;
        margin-bottom: 0rem;
    }

    .banner-content h2 {
        font-size: 1.5rem;
        margin-bottom: 0;
    }

    .banner-buttons {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }

    .banner-buttons .btn {
        width: 100%;
        max-width: 280px;
        padding: 0.5rem 1rem;
    }

    .language-switcher {
        gap: 4px;
        top: 70px;
        right: 10px;
    }

    .language-switcher .lang {
        color: white;
        text-decoration: none;
        font-weight: bold;
        padding: 5px 5px;
        border: 0px solid white;
        border-radius: 30px;
        background-color: rgba(0, 0, 0, 0.05);
        font-size: 11px;
    }
}

@media (max-width: 375px) {
    .banner-content h1 {
        font-size: 2.5rem;
    }

    .banner-content h2 {
        font-size: 1.2rem;
    }

    .banner-buttons .btn {
        font-size: 0.9rem;
    }
}





.price .container {
    max-width: 900px;
    margin: 0 auto;
}

.price .nav-item,
.price .nav-link {
    display: flex;
    flex: 1;
    justify-content: center;
    border: 0;
}

.price .nav-tabs .nav-link.active {
    background-color: #45AD58;
    color: #fff;
}

.price .nav-tabs .nav-link {
    background-color: #EEE8DD;
    color: #000;
    margin-right: 1px;
}

.nav.nav-tabs {
    border: 0;
    margin-bottom: 1px;
}

.price .tab-content {
    border: 2px solid #45AD58;
    padding: 10px;
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
}

.price .price-table {
    margin: 0
}

.price .price-table tr:last-of-type td {
    border: 0;
    border-radius: 8px;
}

.price .price-table td {
    border-bottom: 1px solid #ddd;
}

@media (max-width: 1023px) {
    .price .nav-tabs .nav-link {
        font-size: 14px;
        padding: 5px 10px;
        line-height: 1.2;
        align-items: center;
    }

    .price .nav-tabs {
        flex-wrap: nowrap;
    }

    .price .tab-content {
        padding: 0;
        line-height: 1.2;
    }

    .price .price-table td {
        font-size: 14px;
    }

    .price .price-table td:nth-of-type(2) b {
        width: 100px;
        display: block;
    }
}





.poslugy .container {
    max-width: 1200px;
}

.poslugy .card {
    background-color: #EEE8DD;
    border-radius: 8px;
    border: 0;
}

@media (max-width: 1023px) {
    .poslugy .slider-container {
        position: relative;
        overflow: hidden;
        padding-bottom: 30px;
    }

    .poslugy #productDisplay {
        display: block;
    }

    .poslugy #productDisplay .col {
        display: none;
        width: 100%;
    }

    .poslugy .carousel-control-prev,
    .poslugy .carousel-control-next {
        display: none;
        /* Временно скрываем кнопки листания */
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        background-color: rgba(0, 0, 0, 0.5);
        width: 40px;
        height: 40px;
        border-radius: 50%;
        align-items: center;
        justify-content: center;
        z-index: 10;
    }

    .poslugy .carousel-control-prev {
        left: 10px;
    }

    .poslugy .carousel-control-next {
        right: 10px;
    }

    .poslugy .carousel-indicators {
        position: absolute;
        bottom: 0;
        left: 50%;
        transform: translateX(-50%);
        display: flex;
        justify-content: center;
        padding: 0;
        margin: 0;
        list-style: none;
    }

    .poslugy .carousel-indicators button {
        width: 15px;
        height: 15px;
        border-radius: 50%;
        background-color: #EEE8DD;
        border: none;
        margin: 0 5px;
        padding: 0;
    }

    .poslugy .carousel-indicators button.active {
        background-color: #45AD58;
    }
}






.calculator {}

.calculator h1 {
    text-align: center;
}

.calculator form {
    display: flex;
    flex-direction: column;
}

.calculator .form-group {
    margin-bottom: 10px
}

.calculator label {
    /* margin-top: 10px; */
}

.calculator input[type="number"] {
    padding: 5px;
}

.calculator select {
    padding: 5px;
}

.calculator #result {
    margin-top: 20px;
}

.calculator .lbl_details {
    font-size: 16px;
    line-height: 1.2;
    margin-bottom: 7px;
}

.calculator .lbl_result {
    font-size: 26px;
    margin: 1rem 0 1.5rem 0;
    padding-top: 0.7rem;
    border-top: 1px solid #ffffff90;
}

.calculator .lbl_details::before {
    content: '✔';
    color: green;
    margin-right: 8px;
    /* Adjust spacing as needed */
    font-size: 1.2em;
    /* Adjust size as needed */
    vertical-align: middle;
    /* Aligns the checkmark with the text */
}


.calculator {
    background: #45AD58;
    color: #fff;
    margin-top: 3rem;
}

.calculator .container {
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
}

.calculator h2 {
    color: #fff
}

.calculator input.form-control,
.calculator .form-select {
    border-radius: 30px;
    background: #3c9c4e;
    border: 1px solid #fff;
    padding-left: 15px;
    color: #fff;
}

.calculator .form-select {
    border-radius: 30px;
    background: #3c9c4e;
    border: 1px solid #fff;
    padding-left: 15px;
    color: #fff;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23ffffff' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 12px;
    padding-right: 40px;
}

.calculator .form-select:focus {
    box-shadow: 0 0 0 0.25rem rgba(255, 255, 255, 0.25);
    border-color: #fff;
}

.calculator label {
    margin-bottom: 4px;
    margin-left: 12px;
}

.calculator button {
    background: #fff;
    color: #333;
}

.calculator button:hover {
    background: #fff;
}

.calculator label.ved {
    margin-left: 0;
    margin-top: 2px;
}

.white-checkbox,
.calculator .form-check-input {
    height: 20px;
    width: 20px;
    border: 1px solid #45AD58;
}



.white-checkbox:checked[type="checkbox"],
.calculator .form-check-input:checked[type="checkbox"] {
    background: #fff url("../img/green_check.svg") center center no-repeat;
    background-size: 70%;
    border: 1px solid #45AD58;
    outline: 0;
}


.clickable {
    cursor: pointer;
}


.faq .container {
    max-width: 1200px;
}

.faq h2 {
    padding-bottom: 2rem;
}

.faq .accordion-item {
    background: none;
    border: 0;
    border-bottom: 1px solid #BAB1A1;
    border-radius: 0;
}

.faq .accordion-button {
    background: none;
    font-size: 1.2rem;
    box-shadow: none;
    padding-left: 0;
    color: #333;
}

.faq .accordion-button:focus {
    outline: 0;
    box-shadow: none;
}

.faq .accordion-item:first-of-type>.accordion-header .accordion-button,
.accordion-item:last-of-type>.accordion-collapse {
    border-radius: 0;
}

.faq .accordion-collapse {
    padding-left: 10px;
    border-left: 4px solid #45AD58;
    margin-bottom: 20px;
}

.faq .list-group {
    margin-bottom: 20px;
}

.faq .list-group-item {
    border: 0;
    background: url('../img/green_check.svg') no-repeat 0px 4px;
    padding: 0 0px 0 22px;
    line-height: 1.2;
    margin: 0 0 15px 0;
}

.faq h4 {
    margin-bottom: 10px;
    font-size: 22px;
}

.green-heading {
    background-color: #45AD58;
    color: #fff;
    border-radius: 30px;
    width: fit-content;
    padding: 6px 14px;
}

.img-container {
    width: 100%;
    overflow: hidden;
}

.object-fit-cover {
    object-fit: cover;
    object-position: center;
}

@media (max-width: 1023px) {
    .faq h2 {
        padding-bottom: 0rem;
    }
}


.about_us {
    background: #EEE8DD;
}

.about_us .container {
    max-width: 1200px;
}

.about_us h2 {
    text-align: left;
}

.about_us .about_txt {
    padding: 2rem 30px;
}

.about_us .about_gal {
    padding: 2rem 0;
}

@media (min-width: 1024px) {
    .carousel-container {
        width: 400px;
        height: 530px;
        overflow: hidden;
    }
}

@media (max-width: 1023px) {
    .carousel-container {
        height: 530px;
        overflow: hidden;
    }
}

#aboutCarousel,
#aboutCarousel .carousel-inner,
#aboutCarousel .carousel-item {
    height: 100%;
}

#aboutCarousel .carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

#aboutCarousel .carousel-indicators {
    bottom: 10px;
}

#aboutCarousel .carousel-indicators [data-bs-target] {
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background-color: white;
    border: 0px solid #45AD58;
    opacity: 1;
    margin: 0 5px;
    box-shadow: 0 0 15px #00000090;
}

#aboutCarousel .carousel-indicators .active {
    background-color: #45AD58;
}

@media (max-width: 1023px) {
    .about_us .container {
        max-width: 100%;
    }

    .about_us h2 {
        margin-top: 2rem;
    }

    .about_us .about_txt {
        padding: 0 15px;
        order: 1;
    }

    .about_us .about_gal {
        padding: 0;
        order: 2;
    }

    .about_us button {
        margin-bottom: 3rem
    }
}



.contacts {
    background: #EEE8DD;
    padding-bottom: 3rem;
}

.contacts .container {
    max-width: 1200px;
}

.contacts h2 {
    margin-top: 2rem;
    text-align: left;
}

.contacts .contacts_map iframe {
    margin-top: 2rem;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.142);
}

.contacts .social-icons {
    color: #333;
    flex-direction: column;
    display: flex;
    gap: 15px;
}

.contacts .social-icons a {
    text-decoration: none;
    color: #333;
}

@media (max-width: 1023px) {}


#consultationForm .form-control {
    border-radius: 30px;
    background: #EEE8DD;
}


#productDisplay .card-body {
    display: flex;
    flex-direction: column;
}

#productDisplay .card-body .card-text:last-of-type {
    margin-top: auto;
}


.overlay-gradient {
    height: 50%;
    /* Устанавливает высоту градиента */
    background: linear-gradient(to top, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0));
    /* Градиент от черного к прозрачному */
}

.overlay-text {
    position: absolute;
    bottom: 15px;
    width: 100%;
}

@media (max-width:1023px) {
    .overlay-text h3 {
        font-size: 30px
    }

    .overlay-text h5 {
        font-size: 18px
    }
}

.modal-body {
    line-height: 1.2;
}