html {
    scroll-behavior: smooth;
}
body { font-family: Arial, sans-serif; margin: 0; padding: 0; background-color: #fdfdfd; }
.header {padding: 20px; }
.header .btn {
    background-color: #54af3a;
    color: white;
    margin-left: 10px;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: bold;
    transition: background-color 0.3s;
}
.header .btn:hover {
    background-color: #3c8f2d;
}
.hero img { width: 100%; height: auto; display: block; }

.advantages-title {
    font-size: 30px;
    font-weight: bold;
    text-align: center;
    margin: 60px 0 30px;
}
.adv-box {
    background-color: #00b2ff;
    color: white;
    padding: 20px;
    border-radius: 12px;
    text-align: center;
    font-weight: 600;
    font-size: 20px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s, transform 0.3s;
    min-height: 130px;
}
.adv-box:hover {
    background-color: #0090d1;
    transform: translateY(-5px);
}

.payment-box {
    height: 100%;
    border-radius: 16px;
    padding: 30px;
    color: white;
    font-size: 16px;
   /* margin-bottom: 30px;*/
    box-shadow: 0 4px 14px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}
.payment-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 18px rgba(0,0,0,0.15);
}
.payment-box ul {
    padding-left: 20px;
    margin-bottom: 10px;
}
.payment-box p:last-child {
    margin-bottom: 0;
}
/*.payment-box h5 {
    font-size: 20px;
    margin-bottom: 16px;
    line-height: 1.4;
}*/
.payment-box b {
    font-size: 20px;
}

/*        .adv-box {
            background-color: #00b2ff;
            color: white;
            padding: 66px;
            border-radius: 12px;
            text-align: center;
            font-weight: bold;
            font-size: 16px;
            height: 130px;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .payment-box {
            border-radius: 12px;
            padding: 30px;
            color: white;
            font-size: 14px;
            margin-bottom: 30px;
        }*/
.bg-pink { background-color: #e5097f; }
.bg-green { background-color: #54af3a; }

.catalog-title {
    font-size: 26px;
    font-weight: bold;
    text-align: center;
    margin: 60px 0 30px;
}

.catalog-item {
    text-align: center;
    padding: 12px;
    background: #ffffff;
    border-radius: 10px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
    transition: transform 0.2s, box-shadow 0.3s ease;
    min-height: 200px;
}
.catalog-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
}
.catalog-item img {
    max-width: 100%;
    /*  height: 100%;*/
    object-fit: contain;
    margin-bottom: 8px;
}

.catalog-item p {
    font-size: 14px;
    font-weight: 600;
    margin: 0;
}

.contact-section {
    background-color: #ffffff;
    padding: 60px 20px;
}
.contact-wrapper {
    display: flex;
    flex-wrap: wrap;
    background: none;
}
/* .contact-left {
     background-color: #54af3a;
     color: white;
     flex: 1;
     padding: 40px;
     min-width: 300px;
     border-radius: 15px;
 }*/
.contact-left {
    background-color: #54af3a;
    color: white;
    flex: 1;
    padding: 40px;
    min-width: 300px;
    border-radius: 15px;
    text-align: center; /* Центрирование текста */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.contact-right {
    background-color: white;
    flex: 1;
    padding: 40px;
    min-width: 300px;
}
.contact-right .form-control {
    border-radius: 6px;
    transition: all 0.3s;
}
.contact-right .form-control:focus {
    border-color: #54af3a;
    box-shadow: 0 0 0 0.2rem rgba(84, 175, 58, 0.25);
}
.contact-right .btn {
    background-color: #54af3a;
    color: white;
    border-radius: 6px;
    font-weight: bold;
    text-transform: uppercase;
}
.contact-right .btn:hover {
    background-color: #3c8f2d;
}

footer.footer {
    background-color: #2e2e2f;
    color: white;
    opacity: 0.9;
    padding: 60px 0;
    font-size: 16px;
}
footer img {
    max-width: 160px;
    margin-bottom: 20px;
}
footer .footer-block {
    margin-bottom: 15px;
}
.popup-card {
    display: none;
    position: absolute;
    top: 48px;
    right: 0;
    background: white;
    color: black;
    padding: 12px 16px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
    z-index: 1000;
    font-size: 14px;
    line-height: 1.4;
    min-width: 240px;
    max-width: 320px;
    white-space: normal;
    word-break: break-word;
}
.popup-container {
    position: relative;
}
.block-pay{
    display: flex;
    width: 100%;
    align-items: center;
  /*  margin-top: 50px;*/
    text-align: center; 
}
p.fw-bold.mb-1.one {
    font-size: 20px;
}
.col-md-4.text {
    font-size: 16px;
}
.col-12.top-pay {
    padding-top: 40px;
}
.carousel-control-prev,
.carousel-control-next {
    width: 48px;
    height: 48px;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.4);
    border-radius: 50%;
    transition: background-color 0.3s;
    z-index: 10;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    background-color: rgba(0, 0, 0, 0.7);
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-size: 60% 60%;
    background-repeat: no-repeat;
    background-position: center;
}

.carousel-control-prev-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11.354 1.646a.5.5 0 0 1 0 .708L6.707 7l4.647 4.646a.5.5 0 0 1-.708.708l-5-5a.5.5 0 0 1 0-.708l5-5a.5.5 0 0 1 .708 0z'/%3E%3C/svg%3E");
}

.carousel-control-next-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4.646 1.646a.5.5 0 0 1 .708 0l5 5a.5.5 0 0 1 0 .708l-5 5a.5.5 0 0 1-.708-.708L9.293 7 4.646 2.354a.5.5 0 0 1 0-.708z'/%3E%3C/svg%3E");
}

@media (max-width: 768px) {
    .header {
        flex-direction: column;
        text-align: center;
    }
    .header img {
        width: 170px !important;
        margin-bottom: 10px;
    }
    .header .btn {
        margin-left: 0;
        margin-bottom: 10px;
    }
    .contact-wrapper {
        flex-direction: column;
    }
   .pay-box {
        padding-bottom: 40px;
    }
    .advantages-title,
    .catalog-title {
        font-size: 22px;
    }

    .catalog-item p {
        font-size: 13px;
    }
    footer .footer-block {
        text-align: center;
    }
    .carousel-control-prev,
    .carousel-control-next {
        display: none;
    }
}