section{
    display: flex;
    justify-content: center;
    margin-top: 60px;
}

.sectionTitle{
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.sectionTitle h2{
    font-size: 38px;
    color: #3F57B9;
}

.sectionTitle h3{
    font-size: 24px;
    color: #3F57B9;
}

.sectionTitleCategory{
    margin-top: 60px;
}

.sectionLink{
    color: #666666;
    font-weight: 500;
    /* color: #3F57B9; */
    text-decoration: underline !important;
    font-size: 16px;
}

.sectionLinkArrow::after{
    content: '';
    display: inline-block;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg viewBox='0 0 15 14' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M14.7921 6.52634L8.44747 0.192863C8.2726 0.0231583 8.02033 -0.0405323 7.78567 0.0257832C7.55101 0.0920986 7.36962 0.278345 7.30982 0.514365C7.25002 0.750386 7.32091 1.00032 7.49577 1.17003L12.6712 6.32729H0.679785C0.30435 6.32729 0 6.6311 0 7.00587C0 7.38064 0.30435 7.68446 0.679785 7.68446H12.6621L7.49577 12.8417C7.3662 12.9677 7.29313 13.1407 7.29313 13.3212C7.29313 13.5018 7.3662 13.6748 7.49577 13.8008C7.6207 13.9317 7.7951 14.0039 7.97615 13.9998C8.15658 14.0007 8.32974 13.9289 8.45653 13.8008L14.8012 7.46731C15.0663 7.20237 15.0663 6.77318 14.8012 6.50824L14.7921 6.52634Z' fill='%23666'/%3e%3c/svg%3e ");
    width: 12px;
    height: 11px;
    margin-left: 5px;
}


/* btn */

.btnContainerCenter{
    display: flex;
    justify-content: center;
    margin-top: 45px;
}

.btn{
    text-align: center;
    display: inline-block;
    padding: 14px 28px;
    font-size: 14px;
    font-weight: 500;
    border-radius: 5px;
    transition: .4s;
}

.btnMain{
    background: #3F57B9;
    border: 1px solid #3F57B9;
    color: #fff;
}

.btnMain:hover{
    background: none;
    color: #3F57B9;
}

.secondBtn{
    background: #F66717;
    border: 1px solid #F66717;
    color: #fff;
}

.secondBtn:hover{
    background: none;
    color: #F66717;
}

.swiper-button-next,
.swiper-button-prev {
    position: absolute;
    top: 55%;
    transform: translateY(-50%);
    z-index: 10;
    width: 30px;  
    height: 30px; 
    padding: 5px;
    background-color: #F66717;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    line-height: 1;
}

.swiper-button-next::after,
.swiper-button-prev::after {
    font-size: 12px;
}

.swiper-pagination-bullet-active{
    background: #F66717;
}

.withoutFillingButton{
    color: #3F57B9;
}

.withoutFillingButton:hover{
    color: #F66717;
}

.paleBackground{
    background: #EEF7FF;
}

.mainColor{
    color: #3F57B9 !important;
}

.paleColor{
    color: #A0B5EC;
}

.secondarySection{
    padding: 45px 0;
    background: #FAFAFA;
}

.mainBg{
    background: #3F57B9;
}

.mainDarkBg{
    background: #2B42A3;
}

.secondBg{
    background: #F66717;
}

.mainBgHover:hover{
    background: #3F57B9;
}

.secondBgHover:hover{
    background: #F66717;
}

.secondColorHover:hover{
    color: #F66717;
}

.secondColor{
    color: #F66717;
}


@media(min-width: 320px) and (max-width: 550px){
    section{
        margin-top: 45px;
    }

    .sectionTitle{
        flex-wrap: wrap;
    }
        
    .sectionTitle h2{
        font-size: 24px;
        width: 100%;
    }
    
    .sectionLink{
        font-size: 14px;
        margin-top: 5px;
    }
}


@media(min-width: 550px) and (max-width: 920px){
    section{
        margin-top: 45px;
    }

    .sectionTitle h2{
        font-size: 28px;
    }
    
    .sectionLink{
        font-size: 14px;
    }
}



/* page */

.page{
    margin-top: 160px;
}

.pageContent{
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
}

.pageText{
    width: calc(100% - 360px);
    color: #333 !important;
}

.pageText p{
    color: #333;
    font-weight: unset;
    margin-top: 10px;
}

.pageText a{
    color: #7f86bf;
    font-weight: unset;
    font-size: 16px;
    margin-top: 10px;
}

.pageText h2 {
    margin-top: 10px !important;
    font-size: 26px !important; 
    margin-bottom: 10px !important; 
}

.pageText h3 {
    margin-top: 10px !important; 
    font-size: 20px !important; 
    margin-bottom: 10px !important;
}
.pageText p {
    font-size: 14px !important;
    margin-bottom: 10px !important;
}

.pageText ul, .pageText ol {
    padding-left: 20px !important;
    margin-top: 10px !important;
    margin-bottom: 10px !important;
}

.pageText ul {
    list-style: disc !important; 
}

.pageText ul, .pageText ul li {
    list-style: disc !important; 
    font-size: 14px;
    margin-top: 15px;
}

.pageText ol {
    list-style: decimal !important;
}

.pageText ol li {
    margin-bottom: 5px !important; 
}


.pageText h1{
    font-size: 32px;
} 

.pageImg{
    width: 320px;
}

.pageImg img{
    width: 100%;
    border-radius: 20px;
}

@media(min-width: 320px) and (max-width: 1328px){
    .page{
        margin-top: 80px;
    }

    .pageContent{
        display: flex;
        justify-content: space-between;
        flex-wrap: wrap-reverse;
        margin-top: 35px;
    }
}


@media(min-width: 320px) and (max-width: 660px){
    .pageImg{
        width: 100%;
    }

    .pageText{
        width: 100%;
        margin-top: 30px;
    }
}


@media(min-width: 660px) and (max-width: 920px){
    .pageText{
        width: 100%;
        margin-top: 30px;
    }
}

::-webkit-scrollbar { width: 6px; height: 10px;}
::-webkit-scrollbar-track {  background-color: #fff;}
::-webkit-scrollbar-track-piece { background-color: none;}
::-webkit-scrollbar-thumb { background: #F66717; border-radius: 20px;}

/* Tags */

.dropdown {
    position: relative;
    display: inline-block;
}

.dropdownContent {
    display: none;
    position: absolute;
    background-color: white;
    min-width: 160px;
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
    z-index: 1;
    border-radius: 0 0 10px 10px
}

.dropdownContent a {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
}

.catalogFilterItem:focus{
    background: #3F57B9;
    color: #fff;
}

.dropdown .active{
    background: #2B42A3;
    color: #fff;
}

/* modals */

.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    animation: fadeIn 0.3s ease;
}

.modalContent {
    display: flex;
    justify-content: space-between;
    background-color: #fefefe;
    margin: 15% auto;
    width: 80%;
    max-width: 760px;
    border-radius: 10px;
    overflow: hidden;
    animation: slideIn 0.3s ease;
}

.modalFormContent{
    width: 60%;
    padding: 20px;

}

.modalContentHeader h2{
    font-size: 20px;
}

.modalContentHeader p{
    font-size: 14px;
    color: #666;
    margin-top: 6px;
}

.modalForm label{
    display: inline-block;
    margin-top: 15px;
    width: 100%;
}

.modalForm label p{
    font-size: 12px;
    color: #999;
}

.modalForm input{
    padding: 14px;
    width: calc(100% - 28px);
    border: 1px solid #ddd;
    font-size: 14px;
    margin-top: 6px;
    border-radius: 5px;
}

.modalForm input:focus{
    border: 1px solid #F66717;
    color: #F66717;
}

.modalSubmitContainer{
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 25px;
}

.modalSubmitContainer p{
    color: #666;
    font-size: 14px;
    margin-left: 15px;
}

.modalSubmitContainer p a{
    text-decoration: underline;
}

.modalSubmitContainer p a:hover{
    text-decoration: none;
}

.modalImage{
    width: 40%;
    position: relative;
}

.modalImageMask{
    position: absolute;
    width: 100%;
    height: 100%;
    background: #00000088;
}

.modalImage img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.close {
    color: #fff;
    font-size: 28px;
    font-weight: unset;
    transition: .4s;
    position: absolute;
    right: 20px;
    top: 20px;
    z-index: 1;
}

.close:hover{
    transform: rotate(135deg);
}

.close:hover,
.close:focus {
    text-decoration: none;
    cursor: pointer;
}


/* Анимации */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideIn {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@media(min-width: 320px) and (max-width: 720px){

    .modalContent {
        display: flex;
        justify-content: space-between;
        flex-wrap: wrap-reverse;
        width: 90%;
        max-width: 760px;
        margin-top: 100px;
    }
    
    .modalFormContent{
        display: block;
        width: 100%;
        padding: 20px;
    
    }
    
 
    .modalSubmitContainer{
        flex-wrap: wrap;
    }
    
    .modalSubmitContainer p{
        width: 100%;
        margin: 0;
        margin-top: 10px;
    }
    
    .modalImage{
        width: 100%;
        height: 160px;
        position: relative;
    }
}

/* messageContainer */

/* Стиль для модального окна с статусом */
#statusModal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Фон */
    justify-content: center;
    align-items: center;
    animation: fadeIn 0.3s ease;
}

.statusModalContent {
    background-color: white;
    padding: 40px 20px;
    text-align: center;
    border-radius: 8px;
    width: 460px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.statusModalIcon {
    display: flex;
    justify-content: center;
    font-size: 40px;
    margin-bottom: 20px;
}

.statusIcon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: #28a745; /* Зеленый для успеха */
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 26px;
    text-align: center;
}

.statusIcon.error {
    background-color: #dc3545; /* Красный для ошибки */
}

.statusIcon img{
    width: 40%;
}

.statusModalContent p {
    font-size: 20px;
    font-weight: bold;
    color: #333;
    margin-bottom: 20px;
}

/* Анимации */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@media(min-width: 320px) and (max-width: 550px){
    .statusModalContent{
        width: calc(90% - 20px);
        padding: 40px 10px;
    }
}







