/*
Ruler Digital Agency 
https://www.ruler.agency
Copyright 2023, RULER SMPC. All rights reserved.
Version: 1.0
*/


/* Menu Items */

.normal-navigation ul.right-navigation ul.sub-menu li {
	background-color: #fff;
}


body #home #header .custom-logo,
body #home #header #mobile-menu span {
    filter: brightness(0) invert(1);
	transition: all 0.3s linear;
	-webkit-transition: all 0.3s linear;
	-moz-transition: all 0.3s linear;
	-ms-transition: all 0.3s linear;
	-o-transition: all 0.3s linear;
}
body.overflow-hidden #home #header #mobile-menu span {
    filter: none;
	transition: all 0.3s linear;
	-webkit-transition: all 0.3s linear;
	-moz-transition: all 0.3s linear;
	-ms-transition: all 0.3s linear;
	-o-transition: all 0.3s linear;
}

#header.position-fixed.home-moto-with-gallery .contact_header {
	filter: unset;
}

#home #header-wrapper.default:not(.scrolled) #menu-main-menu li.level-1 > a {
    color: #fff !important;
}

/* Menu Modal */
#mobile-menu-modal {
    width: 575px;
    height: 100vh;
    position: fixed;
    bottom: 100%;
    left: auto;
    padding-top: 0;
    overflow-y: scroll;
    opacity: 0;
    z-index: 5;
    right: -100%;
	top: 0;
}
#mobile-menu-modal #site-navigation ul li.level-1 {
    position: relative;
    width: 100%;
    padding-top: 15px;
    padding-bottom: 15px;
    margin: 0;
}

/* Body Wrapper */
body .body-wrapper::before {
    content: " ";
    width: 100%;
    height: 100%;
    position: absolute;
    top: -100%;
	opacity: 0;
    background-color: rgba(58, 61, 62, .75);
    backdrop-filter: blur(2px);
    z-index: 2;
    transition: all 0.25s linear;
    -webkit-transition: all 0.25s linear;
    -moz-transition: all 025s linear;
    -ms-transition: all 0.25s linear;
    -o-transition: all 0.25s linear;
}
body.overflow-hidden .body-wrapper::before {
	top: 0%;
	opacity: 1;
	transition: all 0.25s linear;
	-webkit-transition: all 0.25s linear;
	-moz-transition: all 0.25s linear;
	-ms-transition: all 0.25s linear;
	-o-transition: all 0.25s linear;
}

#industries_section .swiper-slide{
    overflow: hidden;
}




#mobile-menu-modal:not([style*="opacity: 1"]) {
  pointer-events: none;
}


/* About Changes */
#team-section:not(#team-section + #team-section) .col-12.col-lg-6:first-child {
    width: 100%;
}
#team-section .col-12.col-lg-6:not(:first-child) .team_member_profile p:first-child,
#team-section + #team-section .col-12.col-lg-6:first-child .team_member_profile p:first-child {
	position: relative;
    padding-left: 30px;
    font-size: .85rem;
	line-height: 1.4;
    margin-bottom: 5px;
}
#team-section .col-12.col-lg-6:not(:first-child) .team_member_profile p:first-child::before,
#team-section + #team-section .col-12.col-lg-6:first-child .team_member_profile p:first-child::before {
    content: " ";
    width: 20px;
    height: 20px;
    position: absolute;
    left: 0;
    top: 0;
    background-image: url("/wp-content/uploads/2026/10/language-icon.png");
    background-size: contain;
    background-repeat: no-repeat;
}
#team-section:has(+ #team-section) {
    padding-bottom: 0;
    margin-bottom: 0;
}
#team-section + #team-section {
    padding-top: 0;
}
#team-section .col-lg-9:has(> .our-team) {
    flex: 0 0 100%;
    max-width: 100%;
    width: 100%;
}
#team-section .our-team {
    margin-bottom: 40px;
}
#team-section .our-team h3 {
    font-size: 1.25rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: .12em;
    margin: 0;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(58, 61, 62, .2);
}
#team-section .our-team h2 + h3 {
    margin-top: 40px;
}
#team-section .team_member_name h2 {
    font-size: 40px;
}

.rfc-consent.rfc-pos-modal.rfc-modal-v-bottom.rfc-modal-h-left {
    padding: 25px;
}
.rfc-btn {
    padding: 10px 20px;
}

@supports (height: 100svh) {
  #home-hero.vh-100 {
    max-height: 100svh;
  }
}


@media (max-width: 1500px) {
  #industries_section .swiper-slide {
      max-height: 540px;
      height: 100%;
  }
	#team-section .team_member_name h2 {
		font-size: 35px;
	}
}
@media (max-width: 1199.98px) {
	#team-section .our-team {
		margin-bottom: 20px;
	}
  body #mobile-menu-modal #site-navigation ul li.level-1 {
    width: 100%;
    padding-top: 10px;
    padding-bottom: 10px;
  }
  .contact-address {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
  }
}

@media (max-width: 991.98px) {
	#team-section .team_member_name h2 {
		font-size: 30px;
	}
	.contact-address {
		display: flex;
		flex-wrap: wrap;
		gap: 10px;
		flex-direction: column;
	}
	.contact-address br {
		display: none;
	}
	
  .single-service .margin-bot{
    margin-bottom: 0px;
  }
  .single-services .single-service-content,
  .single-services .single_article_img{
    margin-bottom: 50px;
  }
  
   
    body #mobile-menu-modal {
        width: 100%;
        max-width: 100vw;
        height: 100vh;
        height: 100dvh;
        padding-top: 120px;
        padding-bottom: 40px;
        overflow-y: auto;
    }
    body #home #header .custom-logo {
        transition: filter 0.3s ease;
    }
    body.overflow-hidden #home #header .custom-logo {
        filter: none;
    }
   #home-about #about-text {
        max-width: calc(100% - 12px);
    }
    #industries_section .swiper-slide {
        max-height: 440px;
        height: 100%;
    }
  #home #dynamic-carousel-image-link,
  #industries_section .industries-read-more {
    display: flex;
    justify-content: flex-start;
  }
  #home #dynamic-carousel-image-link {
    padding-left: 32px;
    padding-right: 32px;
  }
  #dynamic-carousel-image-link .big-text,
  #industries_section .industries-read-more .big-text {
    max-width: 100%;
    flex-wrap: wrap;
  }
  .wp-block-image img {
    width: 100% !important;
    height: 100% !important;
    margin: 0 !important;
  }
  .wp-block-image{
    margin-block: 20px;
  }
  .single-services .wp-block-image img{
    width: 100% !important;
    max-width: 150px !important;
    height: 100% !important;
    margin: 0 !important;
    
  }
  .main-page-text.padding-right{
    padding-right:0;
  }
  
  /* Line up logo, archive images and card text with the page content edge */
  #header-wrapper > .container-fluid {
    padding-left: calc(2rem + 12px);
    padding-right: calc(2rem + 12px);
  }
  .archive-content .row-layout-item-details {
    padding-left: 0;
    padding-right: 0;
  }

}




@media (max-width: 767.98px) {
   #team-section .team_member_name h2 {
		font-size: 25px;
	}
	#team-section .our-team {
		margin-bottom: 10px;
	}
    #home-hero-moto p br {
        display: none;
    }
    #home-dynamic-carousel-full-image .dynamic-carousel-image-content {
        right: 25px;
    }
    #home-dynamic-carousel-full-image .dynamic-carousel-image-content .main-heading {
        font-size: clamp(28px, 8.5vw, 36px);
        line-height: 1.15;
    }
    #industries_section .swiper-slide {
        max-height: 340px;
        height: 100%;
    }
    #dynamic-carousel-image-link .big-text,
    #industries_section .industries-read-more .big-text,
    #home-about .about-read-more .big-text {
      letter-spacing: 0.08em;
    }
    #industries_section > .container-fluid {
        padding-left: 0;
    }
    #home #industries_section {
        padding-bottom: 32px;
    }
    #home #footer {
        margin-top: 0;
        padding-top: 32px;
    }
    
    #footer .footer-wrap {
        padding-left: 12px;
        padding-right: 12px;
    }
    #footer .footer-social {
        margin-bottom: 16px;
        gap: 12px;
    }
    #footer .privacy_policy_tab a,
    #footer .copyrights a {
        display: inline-flex;
        align-items: center;
        min-height: 44px;
    }
  
}

@media (max-width: 567.98px) {
/*   .padding-left {
    padding-left: 10px;
  }
  .padding-right {
	padding-right: 10px;
  } */
  #team-section .col-12.col-lg-6:not(:first-child) .team_member_profile p:first-child,
  #team-section + #team-section .col-12.col-lg-6:first-child .team_member_profile p:first-child {
    line-height: 25px;
  }
  #industries_section .swiper-industries {
    padding-bottom: 76px;
  }
  #industries_section .swiper-industries .swiper-industries-nav {
    top: auto;
    bottom: 0;
    left: auto;
    right: 10px;
    width: auto;
    height: auto;
    justify-content: flex-end;
    gap: 12px;
    padding: 0;
    z-index: 1;
  }
  #industries_section .swiper-industries-nav .swiper-button-prev,
  #industries_section .swiper-industries-nav .swiper-button-next {
    width: 56px;
    height: 56px;
    padding: 16px;
    background-color: #3a3d3e;
    transition: background-color 0.3s ease, opacity 0.3s ease;
  }
  #industries_section .swiper-industries-nav .swiper-button-prev {
    translate: 2rem 0;
  }
  #industries_section .swiper-industries-nav .swiper-button-prev svg,
  #industries_section .swiper-industries-nav .swiper-button-next svg,
  #industries_section .swiper-industries-nav .swiper-button-prev svg path,
  #industries_section .swiper-industries-nav .swiper-button-next svg path {
    fill: #fff;
    transition: fill 0.3s ease;
  }
  #industries_section .swiper-industries-nav .swiper-button-prev:not(.swiper-button-disabled):hover,
  #industries_section .swiper-industries-nav .swiper-button-next:not(.swiper-button-disabled):hover {
    background-color: #fff;
  }
  #industries_section .swiper-industries-nav .swiper-button-prev:not(.swiper-button-disabled):hover svg,
  #industries_section .swiper-industries-nav .swiper-button-next:not(.swiper-button-disabled):hover svg,
  #industries_section .swiper-industries-nav .swiper-button-prev:not(.swiper-button-disabled):hover svg path,
  #industries_section .swiper-industries-nav .swiper-button-next:not(.swiper-button-disabled):hover svg path {
    fill: #3a3d3e;
  }
  #contact.contact-form,
  .wpforms-container.wpforms-container-full{
      max-width: 100%;
  }
  #contact.contact-form{
      padding-inline: 20px;
  }
}

