/* Alignfull Compatibility */
body {
    overflow-x: hidden;
    font-family: Open Sans;
}
.entry-content .alignfull {
    margin-left: calc( -50vw + 50%);
    margin-right: calc( -50vw + 50%);
    max-width: 100vw;
    width: 100vw;
}

/*Reset Default Blocks Gap*/
.wp-site-blocks > * {
    margin-block-start: 0;
}

/* Navigation */
@media screen and (min-width: 600px){
    .wp-block-navigation ul.wp-block-navigation-submenu li {
        border-bottom: 1px solid rgba(0,0,0,.15);
    }
    .wp-block-navigation ul.wp-block-navigation-submenu li:last-child {
        border: none;
    }
}

/* Home Page Css */
.wp-block-social-links li:hover{
    color: var(--wp--preset--color--primary) !important;
}
.footer-right p a{
    text-decoration: none;
}
.footer-right p a:hover{
    color: var(--wp--preset--color--primary) !important;
}
.footer-main ul.wp-block-social-links li a:hover {
    color: var(--wp--preset--color--pure-black);
    fill: var(--wp--preset--color--pure-black);
}

/* Contact section links: keep white color and show underline on hover */
.contact-section a,
.contact-section a:visited {
    color: #ffffff !important;
    text-decoration: none;
}

.contact-section a:hover,
.contact-section a:focus {
    color: #ffffff !important;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.wp-block-woocommerce-product-categories.wc-block-product-categories.is-dropdown {
    justify-content: center;
}
.wc-block-product-categories__dropdown select {
    background: transparent !important;
    border: 0px !important;
    color: #fff !important;
}
.wc-block-product-categories__dropdown option{
    color: #000 !important;
}
.has-secaccent-background-color {
    background-color: var(--wp--preset--color--secaccent) !important;
}
.wc-block-product-categories__button{
    display: none !important;
}
.wc-block-product-categories__dropdown select {
    background: transparent !important;
    border: 0px !important;
    color: #000000 !important;
    font-family: Open Sans;
    font-size: 15px;
    font-weight: 400;
    text-align: center;
}
.wp-block-image img{
    vertical-align: middle;
}
button.wp-block-search__button.has-icon.wp-element-button {
    margin: 0px;
}
input#wp-block-search__input-1 {
    background: #F2F4F6;
    border: 0px;
    font-family: Open Sans;
    font-size: 15px;
    font-weight: 400;
    text-align: left;
    padding-left: 30px;
}

.product-box p span{
    font-family: Open Sans;
    font-size: 20px;
    font-weight: 400;
    line-height: 27.24px;
    margin-left: 20px;
    text-align: left;
    color: #47474766;
}

/* Responsive Css */

@media screen and (min-width: 320px) and (max-width: 781px){
    .wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open){
        display: none;
    }
    .header-nav {
        position: relative;
        left: 0px;
        width: 100%;
    }
    .header-menu button.wp-block-navigation__responsive-container-open{
        display: inline-block !important;
    }
    .top-header .wp-block-group-is-layout-flex{
        max-width: 100% !important;
    }
    .top-header p{
        text-align: center;
    }
    .icon-main{
        display: inline-block;
    }
    .star-image{
        margin:0px 0px !important;
    }
    .counter-single{
        margin-bottom: 30px !important
    }
    .main-header{
        text-align: center;
        margin-top: 0px !important;
    }
    .bk-hide-tab.bk-hide-mob p{
        border: 0px !important;
        padding-left: 0px !important;
    }
    .slider-content-box{
        height: auto;
        text-align: left;
        -webkit-mask-image:none;
        mask-image: none;
        max-width: 100% !important;
    }
    .slider-content-box .wp-block-buttons{
        justify-content: flex-start !important;
        text-align: left;
    }
    #slider .owl-nav{
        display: none;
    }
    .slider-content-box h2{
        font-size: 25px !important;
    }
    .wp-block-search__inside-wrapper{
        justify-content: center !important;
    }
    .header-meta{
        justify-content: center;
    }
    .header-nav nav{
        justify-content: center;
        display: flex !important;
    }
    body .is-layout-flex{
        display: block;
        text-align: center;
    }
    .product-box{
        justify-content: center !important;
        text-align: center !important;
        margin-bottom: 20px !important;
        margin-top: 20px !important;
    }
    .product-main .wp-block-button{
        margin-top: 15px;
    }
    .product-btn a {
        padding: 10px 20px !important;
    }
    .product-column{
        max-width: 90% !important;
    }
    .footer-main p{
        padding-right: 0px !important;
    }
}
@media screen and (min-width: 320px) and (max-width: 767px){
    #slider .custom-div{
        height: 15px !important;
    }
    .phone-icon{
        width: 42px !important;
        margin: 0 auto !important;
        margin-bottom: 10px !important;
    }
    .call-icon{
        width: 65px !important;
        margin: 0 auto !important;
        margin-bottom: 10px !important;
    }
    .slider-social{
        padding-top: 0px !important;
    }
    .service-box{
        margin-bottom: 20px !important;
    }
    .date-box-inner {
        width: 23%;
    }
    .blog-meta img{
        margin-bottom: 10px !important;
    }
    .blog-meta p{
        padding-left: 0px !important;
        padding-right: 0px !important;
        margin-bottom: 10px !important;
        border-right: 0px !important;
    }
    .blog-content-box h5{
        text-align: center;
        font-size: 21px !important;
    }
    .video-right-image{
        position: relative;
        top: 0px;
    }
    .video-left-inner h6{
        text-align: center;
    }
    .video-left:after{
        display: none;
    }
    .video-btn{
        justify-content: center !important;
        margin-bottom: 20px !important;
    }
    .video-section{
        padding-bottom: 0px !important;
    }
    .video-right-image{
        margin-top: 20px !important;
    }
    .video-main-box{
        max-width: 95% !important;
        display: flex !important;
    }
    .video-left{
        -webkit-mask-image:none;
        mask-image: none;
        width: 100%;
        position: relative;
        padding-right: 5px !important;
        padding-left: 5px !important;
    }
    .video-btn .wp-block-button__link {
        width: 50% !important;
    }
    .slider-social{
        margin-bottom: 30px !important;
    }
    .banner-cover img{
        height: 500px !important;
        -webkit-mask-image:none;
        mask-image: none;
    }
    .slider-content-box h2,.slider-content-box p,.slider-content-box .wp-block-buttons{
        text-align: center;
    }
    .banner-cover{
        min-height: 500px !important;
    }
}
@media screen and (min-width: 567px) and (max-width: 767px){
    .counter-main,.product-column{
        display: grid !important;
        grid-template-columns: auto auto;
    }
    .header-menu ul{
        justify-content: center !important;
    }
    .header-menu{
        margin-bottom: 30px !important;
    }
}
@media screen and (min-width: 768px) and (max-width: 781px){
    .service-column,.product-column{
        display: grid !important;
        grid-template-columns: auto auto;
    }
    .phone-icon{
        width: 42px !important;
        margin: 0 auto !important;
        margin-bottom: 10px !important;
    }
    .call-icon{
        width: 65px !important;
        margin: 0 auto !important;
        margin-bottom: 10px !important;
    }
    .counter-main{
        display: grid !important;
        grid-template-columns: auto auto auto auto;
    }
     .video-right-image{
        margin-top: 20px !important;
    }
    .video-section{
        padding-bottom: 0px !important;
    }
    .video-left-inner h6{
        text-align: center;
    }
    .video-right-image{
        position: relative;
        top: 0px;
    }
    .video-btn .wp-block-button__link {
        width: 30% !important;
    }
    .video-left:after{
        display: none;
    }
    .date-box-inner {
        width: 18%;
    }
    .blog-meta img{
        margin-bottom: 10px !important;
    }
    .blog-meta p{
        padding-left: 0px !important;
        padding-right: 0px !important;
        margin-bottom: 10px !important;
        border-right: 0px !important;
    }
     .blog-content-box h5{
        text-align: center;
        font-size: 25px !important;
    }
    .video-btn{
        justify-content: center !important;
        margin-bottom: 20px !important;
    }
    .slider-social{
        margin-bottom: 30px !important;
    }
    .slider-social{
        padding-top: 20px !important;
    }
    .banner-cover{
        min-height: 308px !important;
    }
    #slider .custom-div {
        height: 39px !important;
    }
    .service-content p,.service-content .wp-block-buttons{
        text-align: left;
    }
        
}
@media screen and (min-width: 768px) and (max-width: 1100px){
    #slider .custom-div {
        -webkit-mask-repeat: no-repeat;
        mask-repeat: no-repeat;
        -webkit-mask-size: 100% 100%;
        mask-size: 100% 100%;
    }
    .video-right-image{
        width: 30% !important;
    }
    .banner-cover{
        min-height: 370px !important;
    }
    .video-right-image .video-1image img{
        width: 100% !important;
        height: 380px !important;
    }
    .main-header,.top-header{
        max-width: 95% !important;
    }
    .header-nav{
        left: 0px !important;
    }
    .header-nav .wp-block-columns{
        max-width: 100% !important;
    }
    .bk-hide-tab.bk-hide-mob.social-icon p{
        font-size: 12px !important;
    }
    .video-btn-main{
        flex-basis: 35% !important;
    }
    .video-contact p{
        font-size: 16px !important;
    }
    .video-left:after{
        display: none;
    }
    .counter-single p{
        font-size: 12px !important;
    }
    .date-box-inner {
        width: 26%;
    }
    .blog-meta img{
        margin-bottom: 10px !important;
    }
    .blog-meta p{
        padding-left: 0px !important;
        padding-right: 0px !important;
        margin-bottom: 10px !important;
        font-size: 12px !important;
    }
    .video-contact{
        flex-basis: 34% !important;
    }
    .video-empty{
        flex-basis: 30% !important;
    }
    .header-nav {
        width: 22%;
    }
    .top-header p{
        font-size: 11px !important;
    }
    .countor-box,.product-column{
        max-width: 95% !important;
    }
    .blog-main .product-column{
        display: grid !important;
        grid-template-columns: auto auto;
    }
    .logo-bg {
        background-size: 100% 100% !important;
        height: 75px;
    }
    .social-icon {
        flex-basis: 22% !important;
    }
    .bk-hide-tab.bk-hide-mob.social-icon {
        flex-basis: 28% !important;
    }
    .search-meta p{
       padding-left: 4px !important;
        font-size: 11px !important; 
    }
    .search-meta{
        gap:0px !important;
    }
    .header-menu ul {
        gap:10px !important;
    }
    .slider-content-box {
        max-width: 60% !important;
    }
}
@media screen and (min-width: 1101px) and (max-width: 1200px){
    .slider-content-box{
        max-width: 55% !important;
    }
    .banner-cover img{
        height: 600px !important;
    }
    .video-right-image{
        width: 30% !important;
    }
    .video-right-image .video-1image img{
        width: 100% !important;
        height: 380px !important;
    }
    .blog-box h5{
        font-size: 27px !important;
    }
    .logo-bg{
        background-size: 100% 100% !important;
    }
    .header-menu ul{
        gap:10px !important;
    }
}
@media screen and (min-width: 1201px) and (max-width: 1440px){
    .slider-content-box{
        max-width: 48% !important;
    }
    .video-right-image .video-1image img {
        width: 100% !important;
        height: 400px !important;
    }
    .video-right-image{
        width: 33% !important;
    }
    .video-icon{
        width: 43% !important;
        text-align: right;
    }
    .video-right-image{
        text-align: right;
    }
    .blog-post-section .gutentor-post-item .gutentor-entry-meta.gutentor-entry-meta-secondary{
        width: 30%;
    }
    .logo-bg{
        background-size: 100% 100% !important;
    }
    .header-menu ul{
        gap:10px !important;
    }
}
@media screen and (min-width: 991px) and (max-width: 1071px){
    .product-box {
        padding: 15px 10px !important;
    }
}
@media screen and (min-width: 1072px) and (max-width: 1200px){
    .product-box {
        margin-top: 47px;
    }
}
@media screen and (min-width: 782px) and (max-width: 1200px){
    #slider .custom-div {
        height: 32px !important;
    }
    .phone-icon{
        width: 42px !important;
        margin: 0 auto !important;
    }
    .call-icon{
        width: 65px !important;
        margin: 0 auto !important;
    }
    .icon-box-main{
        flex-basis: 30% !important;
    }
    #slider .owl-nav{
        right: -10.5%;
    }
    .video-icon{
        width: 60% !important;
        text-align: right;
        top: 35%;
    }
    .video-right-image {
        text-align: right;
        width: 73%;
        height: 400px;
    }
    .video-right-image{
        text-align: right;
    }
    .service-column,.video-main-box{
        max-width: 95% !important;
    }
    .slider-social{
        padding-top: 10% !important;
    }
    .main-header .wp-block-columns.is-layout-flex.wp-container-core-columns-is-layout-1.wp-block-columns-is-layout-flex,
    .header-nav .wp-block-columns.is-layout-flex.wp-container-core-columns-is-layout-2.wp-block-columns-is-layout-flex,
    .product-main .wp-block-group.is-content-justification-space-between.is-nowrap.is-layout-flex.wp-container-core-group-is-layout-10.wp-block-group-is-layout-flex,
    .footer-main .wp-block-columns.are-vertically-aligned-top.is-layout-flex.wp-container-core-columns-is-layout-5.wp-block-columns-is-layout-flex{
        max-width: 90% !important;
    }

    .product-btn a{
        padding:10px 20px !important;
    }
}
@media screen and (min-width: 1201px) and (max-width: 1440px){
    #slider .custom-div {
        height: 60px !important;
    }
    .phone-icon{
        width: 42px !important;
        margin: 0 auto !important;
    }
    .video-btn-main {
        flex-basis: 25% !important;
    }
    .date-box-inner {
        width: 17%;
    }
    .icon-box-main {
        flex-basis: 25% !important;
    }
    .blog-box h5{
        font-size: 27px !important;
    }
}

@media screen and (min-width: 1441px) and (max-width: 1750px){
    .video-right-image{
        width: 30% !important;
    }
    .video-right-image .video-1image img{
        width: 100% !important;
        height: 380px !important;
    }
}

.copyright-text a{
    text-decoration: none;
}

/* ============================================================
   About & Values Sections
   ============================================================ */
.about-section,
.values-section,
.why-choose-section,
.clients-section {
    position: relative;
    overflow: hidden;
}

.about-image-col,
.values-image-col,
.why-choose-image-col,
.clients-image-col {
    position: relative;
    overflow: hidden;
    min-height: 380px;
}

.about-col-img img,
.values-col-img img,
.why-choose-col-img img,
.clients-col-img img {
    position: absolute !important;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
    opacity: 1;
}

.about-text-col .wp-block-separator,
.values-text-col .wp-block-separator,
.why-choose-text-col .wp-block-separator,
.clients-text-col .wp-block-separator {
    max-width: 100%;
    border: none;
    height: 3px;
    margin-left: auto;
}

/* RTL: separator align right */
body.lang-ar .about-text-col .wp-block-separator,
body.lang-ar .values-text-col .wp-block-separator,
body.lang-ar .why-choose-text-col .wp-block-separator,
body.lang-ar .clients-text-col .wp-block-separator {
    margin-right: 0;
    margin-left: auto;
}

.about-section > .wp-block-columns,
.values-section > .wp-block-columns,
.why-choose-section > .wp-block-columns,
.clients-section > .wp-block-columns {
    margin-bottom: 0;
}

.values-text-col > .wp-block-columns,
.why-choose-text-col > .wp-block-columns,
.clients-logos-row {
    align-items: stretch !important;
}

@media screen and (max-width: 781px) {
    .about-image-col,
    .values-image-col,
    .why-choose-image-col,
    .clients-image-col {
        display: none !important;
    }
    .about-text-col,
    .values-text-col,
    .why-choose-text-col,
    .clients-text-col {
        padding: 40px 24px !important;
    }

    .about-text-col h2,
    .why-choose-text-col h2,
    .clients-text-col h2 {
        font-size: 28px !important;
    }

    .values-text-col h2 {
        font-size: 24px !important;
    }

    .values-text-col > .wp-block-columns,
    .why-choose-text-col > .wp-block-columns,
    .clients-logos-row {
        display: flex !important;
        flex-wrap: wrap !important;
        gap: 16px !important;
    }

    .values-text-col > .wp-block-columns:first-of-type > .wp-block-column {
        flex-basis: calc(50% - 8px) !important;
    }

    .values-text-col > .wp-block-columns:last-of-type > .wp-block-column,
    .why-choose-text-col > .wp-block-columns > .wp-block-column,
    .clients-logos-row .wp-block-column {
        flex-basis: 100% !important;
        width: 100% !important;
    }

    .clients-section.alignfull {
        padding: 44px 20px !important;
    }

    .clients-section .wp-block-separator {
        margin-bottom: 28px !important;
    }

    .clients-logos-row {
        justify-content: center !important;
        gap: 24px !important;
    }

    .clients-logo-img img {
        width: min(100%, 170px) !important;
        max-width: 170px !important;
        max-height: 72px !important;
    }
}

@media screen and (max-width: 991px) {
    .about-section > .wp-block-columns,
    .values-section > .wp-block-columns,
    .why-choose-section > .wp-block-columns,
    .clients-section > .wp-block-columns {
        display: flex !important;
        flex-wrap: wrap !important;
    }

    .about-image-col,
    .values-image-col,
    .why-choose-image-col,
    .clients-image-col,
    .about-text-col,
    .values-text-col,
    .why-choose-text-col,
    .clients-text-col {
        flex-basis: 100% !important;
    }

    .about-text-col,
    .values-text-col,
    .why-choose-text-col,
    .clients-text-col {
        padding: 48px 32px !important;
    }

    .about-image-col,
    .values-image-col,
    .why-choose-image-col,
    .clients-image-col {
        min-height: 320px;
        margin-bottom: 18px;
    }

    .clients-section.alignfull {
        padding-left: 32px !important;
        padding-right: 32px !important;
    }

    .clients-logos-row {
        display: flex !important;
        flex-wrap: wrap !important;
        gap: 28px !important;
    }

    .clients-logos-row .wp-block-column {
        flex: 0 1 calc(50% - 14px) !important;
        width: calc(50% - 14px) !important;
    }
}

@media screen and (min-width: 782px) and (max-width: 1100px) {
    .main-header {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: 16px;
        margin-top: 0 !important;
    }

    .head-logo {
        flex: 0 0 104px !important;
        min-width: 104px;
    }

    .head-logo .wp-block-image,
    .head-logo .wp-block-image a {
        display: block;
        width: 100%;
    }

    .head-logo .wp-block-image img {
        width: 88px !important;
        max-width: 100% !important;
        height: auto !important;
        margin: 0 auto;
        object-fit: contain !important;
    }

    .header-menu {
        flex: 1 1 auto !important;
        min-width: 0;
    }

    .header-menu ul {
        justify-content: center !important;
        gap: 8px !important;
        flex-wrap: wrap !important;
    }

    .header-menu ul li a {
        padding: 5px 12px !important;
    }
}

@media screen and (min-width: 782px) and (max-width: 990px) {
    .about-section,
    .values-section,
    .why-choose-section,
    .clients-section {
        padding-bottom: 12px !important;
    }

    .about-image-col,
    .values-image-col,
    .why-choose-image-col,
    .clients-image-col {
        margin-bottom: 22px;
    }
}

@media screen and (max-width: 520px) {
    .about-text-col,
    .values-text-col,
    .why-choose-text-col,
    .clients-text-col,
    .clients-section.alignfull {
        padding: 32px 16px !important;
    }

    .values-text-col > .wp-block-columns:first-of-type > .wp-block-column,
    .clients-logos-row .wp-block-column {
        flex-basis: 100% !important;
        width: 100% !important;
    }

    .about-text-col p,
    .values-text-col p,
    .why-choose-text-col p,
    .clients-text-col p {
        font-size: 15px !important;
        line-height: 1.8 !important;
    }

    .clients-logo-img img,
    .clients-logos-row .wp-block-column:nth-child(2) .clients-logo-img img,
    .clients-logos-row .wp-block-column:nth-child(3) .clients-logo-img img {
        width: min(100%, 150px) !important;
        max-width: 150px !important;
    }
}

@media screen and (min-width: 1101px) and (max-width: 1200px) {
.banner-cover {
    min-height:400px !important;
}
.header-menu ul li a {
    padding: 5px 10px !important;
}
.head-logo{
    flex-basis: 20% !important;
}
.header-menu{
    flex-basis: 50% !important;
}
.bk-hide-tab.bk-hide-mob.social-icon {
    flex-basis: 25% !important;
}
.bk-hide-tab.bk-hide-mob{
    flex-basis: 5% !important;
}
}

/* Clients logos */
.clients-logos-row {
    justify-content: center !important;
    gap: 60px !important;
}

.clients-logos-row .wp-block-column {
    flex-basis: auto !important;
    width: auto !important;
    flex-grow: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.clients-logo-img {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
}

.clients-logo-img img {
    width: 180px !important;
    height: auto !important;
    object-fit: contain !important;
}

.clients-logos-row .wp-block-column:nth-child(2) .clients-logo-img img,
.clients-logos-row .wp-block-column:nth-child(3) .clients-logo-img img {
    width: 220px !important;
}

.clients-logos-row .wp-block-column:nth-child(2) .clients-logo-img img {
    width: 250px !important;
}