.hero_slide {
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    width: 100%;
    height: 575px;
    overflow: hidden;
    display: flex;
    align-items: center;
}
.header_content {
    max-width: 65%;
    color: var(--colory-white);
}
.header_content h1 {
    margin-bottom: 1rem;
}
.header_content h4 {
    text-transform: uppercase;
    margin-bottom: 0.8rem;
}
.header_content p {
    font-weight: 500;
    font-size: 16px;
    line-height: 24px;
    margin-bottom: 24px;
}
.header_down{
    width: 100%;
    background: var(--colory-primary);
}
.header__menu a{
    display: flex;
    align-items: center;
    height: 89px;
    color: var(--colory-white);
    font-weight: 600;
    font-size: 20px;
    line-height: 24px;
}
.header__menu a span{
    margin-left: 1rem;
}
/* ---END OF HEADER--- */
section h2{
    color: var(--colory-primary);
    text-align: center;
}
.service_container{
    margin:3.5rem auto;
}
.service_container .service_items{
    margin-top: 2rem;
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 2rem;
}
.service_container .servic_boxs{
    text-align: center;
    padding:3rem 1rem;
    background: var(--color-bg);
    color: var(  --colory-black);
    box-shadow: 0px 4px 30px rgba(49, 67, 128, 0.1);
    border-radius: 10px;
}
.service_container .servic_boxs h4{
   margin: 1.8rem ;
}
.service_container .servic_boxs:hover {
    background: var(  --colory-primary);
    color: var( --colory-white);
    transition: var(--transition);
}
/* ----END OF SERVICE-CONTAINER---- */

.slider_background .hero_slide{
    height: 441px;
}
.slider_background .hero_slide .slide_content{
    width: 70%;
    margin:0px auto;
    text-align: center;
}
.slider_background .hero_slide .slide_content p{
    margin-bottom: 2.5rem;
    font-weight: 400;
    font-size: 20px;
    line-height: 24px;
    color:var(--colory-white)
}
.slider_background  .slide_content  span{
    display: block;
    width:234px ;
    height: 20px;
    color:var(--colory-white)
}
.slider_background  .swiper-pagination{
    bottom: 80px !important;
}
 .swiper-pagination-bullet{
    width: 15px !important;
    height: 15px !important;
    border-radius: 15px !important;
    background:#d6d6d6 !important;
}
.swiper-pagination-bullet-active{
    width: 30px !important;
    height: 15px !important;
    border-radius: 10px !important;
    background: var(--colory-primary)!important;
}
/* ----END OF  slider_background---- */
.blog_container{
    width: 100%;
    margin-top: 4.5rem;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}
.blog_items{
    padding: 2rem 0rem;
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 2rem;
}

/*  ----END OF  blog_container---- */
.partner_container{
    margin-top: 4rem;
}

/*  ----END OF  partner_container---- */
.slideshow {
    width: 100%;
}
.Swiper-partner{
    padding:3rem 1rem !important;
}
.Swiper-partner .swiper-pagination {
    bottom: 10px !important;
}
.itemSlide {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 70px;
}
.itemSlide img{
    width:80%;
    height:80%;
    object-fit:contain;
}
/*  ----END OF partner_container---- */
.project-container{
    margin-top: 4rem;
}
.project-container .project_items{
    margin: 2rem 0rem;
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 2rem;
}
/*  ----END OF project-container---- */
.contact-container {
   margin-top:4rem;
}
.contact_item .right_image{
    width: 100%;
    height: 521px;
 }
 .contact_item .right_image img{
    width: 100%;
    height: 100%;
    object-fit: contain;
 }

@media only screen and (max-width: 1350px) {
    .hero_slide {
        height: 500px;
    }
    .header_content {
        max-width: 72%;
    }
}

@media only screen and (max-width: 1200px) {
    .hero_slide {
        height: 450px;
    }
    .header_content h4 {
        display: none;
    }
}

@media only screen and (max-width: 1024px) {
    h1 {
        font-size: 35px;
    }
    .header__menu a {
        font-size: 18px;
    }
    .hero_slide {
        height: 400px;
    }
    .service_container .service_items {
        grid-template-columns: repeat(2,1fr);
    }
    .service_container .servic_boxs {
        padding: 2rem 1rem;
    }
    .blog_items {
        grid-template-columns: repeat(2,1fr);
    }
    .slider_background .hero_slide {
        height: 312px;
    }
    .slider_background .hero_slide .slide_content p {
        margin-bottom: 2rem;
        font-size: 16px;
    }
}

@media only screen and (max-width: 820px) {
    h1 {
        font-size: 30px;
        line-height: 35px;
    }
   .header__menu a {
        height: 56px;
        font-size: 16px;
   }
    .contact_item {
        grid-template-columns: 1fr !important;
    }
    .contact_item .right_image {
        height: 450px;
        grid-row: 1;
    }
}

@media only screen and (max-width: 612px) {
    .service_container .servic_boxs {
        padding: 0.5rem;
    }
    .service_container .servic_boxs p img{
        height: 60px;
    }
    .hero_slide {
        height: 250px;
    }
    .header_content {
        display: none;
    }
    .service_container .servic_boxs {
        padding: 1rem;
    }
    .service_container .servic_boxs h4 {
        margin: 0.8rem;
    }
    .containers_title h2 {
        flex-basis: 100%;
        text-align: center;
    }
    .containers_title p {
        display: none;
    }
    .slider_background .hero_slide .slide_content {
        width: 100%;
    }
    .slider_background .swiper-pagination {
        bottom: 30px !important;
    }
    .slider_background .hero_slide .slide_content p {
        margin-bottom: 1rem;
        font-size: 14px;
    }
    .blog_container {
        margin-top: 2.5rem;
    }
    .blog_items {
        padding: 1rem 0rem;
        grid-template-columns: 1fr;
    }
    .partner_container {
        margin-top: 2rem;
    }
    .Swiper-partner {
        padding: 2rem 1rem !important;
    }
    .project-container .project_items {
        grid-template-columns: 1fr;
    }
    .contact-container {
        margin-top: 2rem;
    }
    .swiper-pagination-bullet{
        width: 7px !important;
        height: 7px !important;
    }
    .swiper-pagination-bullet-active{
        width: 14px !important;
        height: 7px !important;
    }
}
