/* ---------------------------------- base ---------------------------------*/
@import url('https://fonts.googleapis.com/css2?family=Exo+2:ital,wght@0,100..900;1,100..900&display=swap');
:root{
    --bluecolor: #113D71;
    --redcolor: #D01921;
    --greycolor: #f8f9fa;
    --bs-font-sans-serif: "Exo 2", sans-serif;
}
.bg-grey{background-color: var(--greycolor)}
.bg-blue{background-color: var(--bluecolor); color: #fff;}
.bg-red{background-color: var(--redcolor); color: #fff;}
.blue{color: var(--bluecolor)}
.col-border-radius{border-radius: 10px 10px 0 0;overflow: hidden}
.defis{white-space: nowrap;}
a{text-decoration: none}
/* ---------------------------------- /base ---------------------------------*/
/* ---------------------------------- header ---------------------------------*/
.navbar-nav{margin: 0 auto;}
.navbar-text a:nth-child(1){margin-right: 30px;text-decoration: none;font-size: 1.1em;}
.nav-link{font-size: .9em;letter-spacing: 2px;text-transform: uppercase;font-weight: 500;}
.dropdown-menu li a{letter-spacing: 0}
.nav-border{border-right: 1px solid var(--greycolor);}
.navbar-text a:nth-child(2){margin-right: 10px;}
.index-nav{padding: 0 10%}
.dropdown-menu.show{padding-left: 15px;}
.navbar-expand-lg .navbar-nav .dropdown-menu{width: 370px;}
.dropdown-item.active, .dropdown-item:active{background-color:var(--bluecolor)}
@media (min-width: 1000px) and (max-width: 1500px){.index-nav{padding: 0 2%}}
@media (max-width: 768px){
    .nav-border{border-right:none;border-bottom: 1px solid var(--greycolor);}
    .navbar-nav{margin: 50px auto;}
    .nav-link{letter-spacing: 0}
    .navbar-expand-lg .navbar-nav .dropdown-menu{width: auto;}
}
/* ---------------------------------- /header ---------------------------------*/
/* -------------------------------- news pages ----------------------------------*/
.home-and-news{
    .my-c {margin-bottom: 40px;margin-top: 80px}
    h1, h1 span {color: var(--redcolor);font-weight: 600;font-size: 60px;}
    h1 span {white-space: nowrap;}
    h2 {font-weight: 600;font-size: 80px;margin-bottom: 20px;line-height: 1;}
    h3, h3 span {font-weight: 400;font-size: 50px;}
    h3 span {color: var(--redcolor); text-transform: none;}
    .bg-news{background: linear-gradient(110deg, var(--greycolor) 0%, var(--greycolor) 75%, #dee4e9 75%, #dee4e9 82%, #d3dae2 82%, #d3dae2 100%);}
    .news-date{background: #fff;width: fit-content;padding: 5px 15px;border-radius: 5px;}
    .read-more{color: #fff;display: block;width: 90%;background: var(--bluecolor);text-align: center;border-radius: 10px;padding: 10px;margin: 0 auto;text-decoration: none;}
    .pagination{justify-content: center;--bs-pagination-active-bg: var(--bluecolor);--bs-pagination-active-border-color: var(--bluecolor);--bs-pagination-color: var(--bluecolor);--bs-pagination-hover-color: var(--bluecolor)}
    .news-desc, .news-inner{height: 100%;display: flex;flex-direction: column;justify-content: space-between; }
    .news-inner h3{font-size: 30px}
    @media (min-width: 768px) and (max-width: 1400px) {
        .my-c{margin-bottom: 30px;margin-top: 60px}
        h1, h1 span{font-size: 40px}
        h2{font-size: 60px}
        h3, h3 span{font-size: 30px;}
    }
    @media (max-width: 991px) {
        .about-text{margin-bottom: 20px}
        .news-date{margin-top: 10px}
        .news-row-two div{margin-top: 10px}
    }
    @media (max-width: 768px) {
        .my-c{margin-bottom: 20px;margin-top: 40px}
        h1, h1 span{font-size: 30px;}
        h2{font-size: 40px}
        h3, h3 span{font-size: 25px;}
    }
}
/* -------------------------------- /news pages ----------------------------------*/
/* ----------------------------------- content --------------------------------*/
.home{height: 30vh;background: url("../img/home/home.webp") center center no-repeat;background-size: cover}
.dev{height: 30vh;background: url("../img/dev/dev.webp") center center no-repeat;background-size: cover}
.spm{height: 30vh;background: url("../img/spm/spm.webp") center center no-repeat;background-size: cover}
.spm-documents{display: grid;gap: 16px;}
.spm-document-card{display: flex;align-items: center;justify-content: space-between;gap: 20px;min-height: 112px;padding: 20px 22px;color: inherit;text-decoration: none;background: var(--greycolor);border: 1px solid var(--greycolor);border-radius: 8px;transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;}
.spm-document-card:hover{color: inherit;border-color: var(--bluecolor);box-shadow: 0 8px 24px rgba(24, 74, 119, .12);transform: translateY(-2px);}
.spm-document-card__content{display: flex;flex: 1;flex-direction: column;align-items: flex-start;gap: 10px;}
.spm-document-card__title{font-size: 17px;font-weight: 600;line-height: 1.4;}
.spm-document-card__size{display: inline-block;padding: 3px 8px;color: #667085;font-size: 12px;font-weight: 600;line-height: 1.2;background: var(--greycolor);border-radius: 3px;}
.spm-document-card__icon{flex: 0 0 auto;width: 48px;height: auto;object-fit: contain;}
.spm-patent-slide{display: flex;align-items: center;justify-content: center;height: 560px;padding: 16px;background: var(--greycolor);border: 1px solid var(--greycolor);border-radius: 8px;}
.spm-patent-slide img{width: 100%;height: 100%;object-fit: contain;}
.spm-patents-carousel__controls{display: flex;align-items: center;justify-content: center;gap: 14px;margin-top: 18px;}
.spm-patents-carousel__button{display: inline-flex;align-items: center;justify-content: center;width: 42px;height: 42px;padding: 0;color: var(--bluecolor);font-size: 22px;line-height: 1;background: #fff;border: 1px solid var(--bluecolor);border-radius: 50%;transition: color .2s ease, background-color .2s ease;}
.spm-patents-carousel__button:hover{color: #fff;background: var(--bluecolor);}
.spm-patents-carousel__counter{min-width: 150px;color: var(--bluecolor);font-size: 14px;text-align: center;}
@media (max-width: 575.98px){
    .spm-document-card {min-height: 92px;padding: 16px;}
    .spm-document-card__title{font-size: 15px;}
    .spm-document-card__icon{width: 40px;}
    .spm-patent-slide {height: 420px;padding: 10px;}
}
.section-title{color: var(--bluecolor);font-weight: 700;}
.home-about-card{padding: 34px;color: #fff;background: linear-gradient(145deg, #0b5fa5, #173b5c);border-radius: 10px;box-shadow: 0 14px 35px rgba(23, 59, 92, .2);}
.home-about-card hr{margin: 22px 0;opacity: .22;}
.home-about-card__number{font-size: 36px;font-weight: 700;line-height: 1;}
.home-about-card__text{margin-top: 7px;font-size: 15px;line-height: 1.45;opacity: .9;}
.home-about-card__title{font-size: 18px;font-weight: 600;line-height: 1.4;}
.product-card{display: flex;flex-direction: column;overflow: hidden;background: #fff;border: 1px solid var(--greycolor);border-radius: 10px;transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;}
.product-card:hover{border-color: var(--bluecolor);box-shadow: 0 12px 30px rgba(23, 59, 92, .12);transform: translateY(-4px);}
.product-card__image{display: block;height: 235px;padding: 18px;background: #fff;}
.product-card__image img{width: 100%;height: 100%;object-fit: contain;}
.product-card__body{display: flex;flex: 1;flex-direction: column;align-items: flex-start;padding: 24px;background: var(--greycolor);}
.product-card__title{margin-bottom: 14px;color: var(--bluecolor);font-size: 21px;font-weight: 700;line-height: 1.3;}
.product-card__title a {color: inherit;text-decoration: none;}
.product-card__title a:hover{color: #0b5fa5;}
.product-card__description{margin-bottom: 22px;line-height: 1.55;}
.product-card__link{display: inline-flex;align-items: center;gap: 8px;margin-top: auto;color: #0b5fa5;font-weight: 600;text-decoration: none;}
.product-card__link svg, .software-banner__button svg{width: 17px;height: 17px;transition: transform .2s ease;}
.product-card__link:hover svg, .software-banner__button:hover svg{transform: translateX(4px);}
.product-card--horizontal{flex-direction: row;}
.product-card--horizontal .product-card__image{flex: 0 0 42%;height: auto;min-height: 260px;}
.software-banner{padding: 42px;color: #fff;background: linear-gradient(120deg, #173b5c, #0b5fa5);border-radius: 10px;}
.software-banner__label{color: rgba(255, 255, 255, .75);font-size: 13px;font-weight: 700;letter-spacing: .08em;text-transform: uppercase;}
.software-banner__title{margin: 8px 0 14px;font-size: 32px;font-weight: 700;}
.software-banner__text{max-width: 680px;line-height: 1.6;opacity: .9;}
.software-banner__button{display: inline-flex;align-items: center;gap: 9px;padding: 12px 20px;color: #0b5fa5;font-weight: 600;}
.company-details-card{overflow: hidden;background: #fff;border: 1px solid #dce4ec;border-radius: 10px;}
.company-details-card__column:first-child{border-right: 1px solid #dce4ec;}
.company-details-card__item{padding: 18px 24px;border-bottom: 1px solid #e9eef3;}
.company-details-card__item:last-child{border-bottom: 0;}
.company-details-card__item span{display: block;margin-bottom: 6px;color: #667085;font-size: 13px;}
.company-details-card__item strong{display: block;color: #173b5c;font-size: 15px;font-weight: 600;line-height: 1.45;}
.company-details-card__item a{color: #0b5fa5;text-decoration: none;}
.company-details-card__item a:hover{text-decoration: underline;}
@media (max-width: 991.98px){
  .product-card--horizontal{flex-direction: column;}
  .product-card--horizontal .product-card__image{flex: none;height: 235px;min-height: auto;}
  .company-details-card__column:first-child {border-right: 0;border-bottom: 1px solid #dce4ec;}
}
@media (max-width: 575.98px){
  .home-about-card, .software-banner{padding: 26px 22px;}
  .software-banner__title{font-size: 27px;}
  .product-card__image{height: 210px;}
  .product-card__body{padding: 20px;}
  .company-details-card__item{padding: 16px;}
}
/* ---------------------------------- /content --------------------------------*/
/* ---------------------------------- feedback ---------------------------------*/
.modal-body{background-color: var(--greycolor)}
.form-error{font-size: small;color: var(--redcolor);padding: 10px;}
.feedback div{position: relative;margin: 15px 0;}
.all-labels{position: absolute;top: -10px;left: 10%;font-size: 0.75em;color: var(--bluecolor);border-radius: 5px;padding: 0 5px;background-color: #fff;}
.all-inputs{width: 100%;border: 1px solid var(--bluecolor);border-radius: 5px;padding: 10px;}
.all-buttons{border-radius: 10px;background-color: var(--bluecolor);color: var(--greycolor);padding: 10px 20px;}
.all-submit-buttons{background-color: var(--redcolor); color: white;border-radius: 10px;padding: 10px 20px; width: 100%;}
.success-message{color: var(--redcolor);font-size: 1.1em;}
.small{text-align: center;}
.telega{display: flex;align-items: center;padding: 5px 0;width: fit-content;text-decoration: none;}
.telega img{width: 45px;}
.telega-link{font-weight:400;color: #888 !important;width: 90px !important;margin: 0;padding-left: 10px;font-size: .8em;}
.telega-link span{font-weight:400;color: var(--bluecolor);font-size: 1.25em;}
/* ---------------------------------- /feedback ---------------------------------*/
/* ---------------------- animation for buttons & links ----------------------------------*/
.link-product{color: #fff;display: block;background: var(--bluecolor);text-align: center;border-radius: 10px;padding: 10px;margin: 0 auto;text-decoration: none;}
.read-more, .link-product{display: inline-flex;position: relative;overflow: hidden;z-index: 1;justify-content: center;}
.read-more:hover, .link-product:hover{color: #fff;}
.link-dev:hover{color: #000}
.read-more:before, .link-product:before{content: '';position: absolute;top: 0;right: -50px;bottom: 0;left: 0;border-right: 30px solid transparent;border-top: 90px solid #2D6B9F;transition: transform 0.5s;transform: translateX(-100%);z-index: -1;}
.link-dev:before{border-top: 90px solid #fff;}
.read-more:hover:before, .link-product:hover:before{transform: translateX(0);}
/* ---------------------- animation for buttons & links ----------------------------------*/
/* ---------------------------------- footer ---------------------------------*/
.politic_list ol{list-style: none;counter-reset: li;}
.politic_list li:before{counter-increment: li;content: counters(li,".") ". ";}
.footer-blue{padding: 30px;display: flex;background-color: var(--bluecolor);justify-content: space-between;align-items: center;}
.footer-blue p{margin: 0;padding: 0;color: var(--greycolor);}
.footer-blue p a{text-decoration: none;color: var(--greycolor);transition: all ease-in-out .3s;}
.footer-blue p a svg{margin: 0 5px;}
.footer-blue p a:hover{color: #fff}
@media (max-width: 768px){
    .footer-blue{flex-direction: column;}
    .align-left, .align-right{margin: 10px 0;}
    .carousel-indicators{margin-bottom: 0}
}
/* ---------------------------------- footer ---------------------------------*/