@media all and (max-width:1350px) {
    .logo{
        flex: 1;
    }
    .header-contacts{
        flex: 2;
        justify-content: flex-end;
    }
}
@media all and (max-width:1190px) {
    .header-contacts {
        justify-content: center;
        flex-direction: column;
        align-items: flex-end;
        row-gap: 10px;
    }
}
@media all and (max-width:1100px) {
    .solution-image .sized a:last-child {
        margin-top: 20px;
        float: unset;
    }
    .solution-image .sized a:first-child{
        float: unset;
    }
    .center .block-content{
        padding-left: 20px;
        padding-right: 20px;
    }
    .career-card .btn {
        width: 100%;
        max-width: unset;
    }
    .news-card .btn {
        width: 100%;
        max-width: unset;
    }
	
}


@media (max-width: 850px) {
    .footer-content{
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .footer-logos{
        justify-content: center;
    }
    .project-info {
        flex: 1;
    }
}
@media (max-width: 768px) {
    .projects {
        margin: 0;
    }
    .solution-image .sized {
        position: relative;
        display: flex;
        align-items: flex-start;
    }
    .solution-image .sized a:last-child {
        margin-top: 0;
        float: unset;
    }
    .project-card:not(:last-child) {
        margin-bottom: 40px;
    }
    .hero .center .block-content{
        padding-top: 20px;
        padding-bottom: 20px;
    }
    #container{
        padding: 0 20px;
    }
    .project-card:not(:last-child)::after {
        bottom: -20px;
    }
    .section, .hero {
        margin-bottom: 20px;
    }
    .header-contacts {
        justify-content: center;
        flex-direction: column;
        align-items: center;
        row-gap: 10px;
    }
    .header-top {
        flex-direction: column;
        gap: 15px;
    }

    .nav {
        flex-wrap: wrap;
        gap: 10px;
    }

    .hero-title {
        font-size: 28px;
    }
    .news-item {
        display: block;
        gap: unset;
        align-items: unset;
        font-size: 18px;
    }

    .news-item > div{
        display: inline;
    }
    .news-section {
        padding: 15px;
    }
    .hero-content {
        padding: 20px;
        border-radius: 8px;
    }

    .project-card,
    .project-card:nth-child(even) {
        flex-direction: column;
        padding: 20px;
        gap: 20px;
    }
    .project-card > *{
        width: 100%;
    }
    .section .center .block-content {
        padding-top: 20px;
        padding-bottom: 20px;
    }

    .solution-card {
        flex-direction: column;
    }

    .newss-grid {
        flex-direction: column;
    }

    .news-card {
        min-width: 100%;
    }

    .careers-grid {
        flex-direction: column;
    }

    .career-card {
        min-width: 100%;
    }
	.nav .dropdown div{
		max-width: unset;
		width: 300px;
	}
	.stat-item{
		width: calc(50% - 70px);
	}
}

@media (max-width: 640px) {
    .inner .section{
        margin-top: 30px;
    }
    .footer{
        width: 100vw;
        position: relative;
        left: -20px;
    }
    header:not(.mobile){
        display: none;
    }
    header.mobile{
        width: 100vw;
        position: relative;
        left: -20px;
    }
    .mobile {
        display: block;
    }

    header.mobile .center{
        padding-left: 0;
        padding-right: 0;
    }
    header.mobile .center .block-content{
        background-color: #03305e;
        background-image: unset;
    }
    .hero-content{
        background-image: unset;
        background-position: unset;
        background-repeat: unset;
        background-size: unset;
        min-height: unset;
        padding: 0;
    }
    .stat-img{
        display: none;
    }
    .stat-item {
         width: calc(50% - 70px);
         height: 40px;
    }
    .hero-content a.btn {
        margin-top: 0;
    }

    header .center .block-content{
        padding-top: 25px;
        padding-bottom: 25px;
    }
    .header-top{
        margin-bottom: 0;
    }
    .project-card, .project-card:nth-child(2n){
        padding: 0;
    }
    .career-card h3{
        margin-top: 0;
        padding-top: 0;
    }
    .career-card {
        padding: 15px;
    }
    .news-card h3{
        margin-top: 0;
        padding-top: 0;
    }
    .news-card {
        padding: 15px;
    }
    .contact-item span:not(.mobile){
        display: none;
    }
    .contact-item span.mobile{
        display: block;
    }
    .header-contacts > .mobile{
        display: block;
    }
    .header-contacts{
        position: relative;
        display: flex;
        flex-direction: row;
        gap: 15px;
        align-items: center;
        justify-content: flex-end;
        flex: 1;
    }
    .logo{
        flex: 2;
    }
    .header-top {
        flex-direction: row;
        flex: 1;
    }
    .nav{
        display: none;
    }
    .header-contacts .search-box{
        position: absolute;
        right: 0;
        top: calc(100% + 10px);
        display: none;
    }
    .not-mobile{
        display: none;
    }
    .hero .mobile{
        display: block;
    }
    .slider_wrapper{
        position: relative;
    }
    .slider_wrapper .hero-title{
        position: absolute;
        z-index: 10;
        top: 20px;
        left: 20px;
        font-size: 36px;
        max-width: 90%;
    }

    .slider_wrapper .controls{
        position: absolute;
        top: 50%;
        left: -15px;
        right: -15px;
        transform: translateY(-50%);
        display: flex;
        justify-content: space-between;
        align-items: center;
        z-index: 20;
    }
    .slider_wrapper .controls div{
        cursor: pointer;
    }
    .slider_wrapper .controls div:hover{
        opacity: 0.8;
    }
    .section-title {
        font-size: 26px;
    }
    .section-subtitle {
        font-size: 18px;
    }
    .project-title,
    .solution-title,
    .career-card h3 {
        font-size: 18px;
    }
    html {
        font-size: 16px;
        line-height: 1.2 !important;
    }
    .project-details{
        font-size: 16px;
    }
}


@media (max-width: 500px) {
    .slider_wrapper .hero-title{
        font-size: 28px;
        max-width: 100%;
    }
    .stat-item {
		height: 60px;
        padding: 10px;
		border-radius: 3px;
        /*width: 100%;*/
		width: calc(50% - 20px);
		box-sizing: border-box;
		text-align: center;
    }
}


@media (max-width: 400px) {
    .slider_wrapper .hero-title{
        font-size: 20px;
        max-width: 100%;
    }
	.hero-stats {
		gap: 5px;
	}
	.stat-item div{
		width: 100%;
	}
	
    .stat-item{
		width: calc(50% - 3px);
		padding: 10px 5px;
	}
    .stat-item div span{
		display: flex;
		width: 100%;
		justify-content: center;
		text-align: center;
    }
	  .center .block-content {
    padding-left: 10px;
    padding-right: 10px;
  }
    #container {
    padding: 0 10px;
  }
    header.mobile {
    left: -10px;
  }
  
  .hero-content a.btn{
	  height: 45px;
	  max-width: unset;
	  width: 100%;
  }
  .hero-content {
  gap: 20px;
  }
  .news-section {
  margin-top: 20px;
}
}