/* START GLOBAL STYLE */
html, body {overflow-x: hidden;}

/* MAIN BTN */
.main-btn a ,
.main-btn button[type="submit"] {
	display: flex;
	align-items: center;
    justify-content: space-between;
	min-height: 50px;
	width: fit-content;
	min-width: 138px;
	padding: 7px 16px !important;
	padding-inline-end: 66px !important;
	position: relative;
	overflow: hidden;
	z-index: 1;
}
.main-btn a::after,
.main-btn button[type="submit"]::after {
	content: '';
	position: absolute;
    inset: unset;
    inset-inline-end: 10px;
	height: 40px;
	width: 40px;
    background-image: url(https://wordpress.aait-sa.com/masun/wp-content/uploads/2025/11/btn-arrow-icon.svg);
    background-repeat: no-repeat;
    background-size: contain;
	transition: 0.3s all;
}
.main-btn a:hover::after,
.main-btn button[type="submit"]:hover::after {
	margin-inline-end: -5px;
}
:dir(ltr) .main-btn button[type="submit"]::after {transform: scaleX(-1);}
:dir(ltr) .main-btn a::after {transform: scaleX(-1);}

/* PRELOADER */
#preloader {
	transition: opacity 0.5s all;
	-webkit-transition: 0.5s all;
	-moz-transition: 0.5s all;
	-ms-transition: 0.5s all;
	-o-transition: 0.5s all;
}
#preloader.hidden {
	display: none;
}
/* FOOTER LINKS */
.footer * a {width: fit-content;}
@media(max-width: 767px) {
.footer ul {
	display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;	
}
}
/* ALIGN START */
.text-start:not(.swiper-pagination),
.text-start *:not(.swiper-pagination) {text-align: start !important;}

/* FLEX START */
.flex-x-start:not(.swiper-pagination),
.flex-x-start *:not(.swiper-pagination) {justify-content: start !important;}

/* FLIP ICON */
:dir(ltr) .flip-icon * svg {transform: scaleX(-1) !important;}
:dir(ltr) .flip-icon img {transform: scaleX(-1) !important;}

/* ABSOLUTE */
.p-absolute {position: absolute !important; inset: unset;}

/* TEXT LIMIT */
.text-limit-1,
.text-limit-1 *,
.text-limit-2,
.text-limit-2 *,
.text-limit-3,
.text-limit-3 * {
	display: -webkit-box !important;
	-webkit-box-orient: vertical !important;
	overflow: hidden !important;
	text-overflow: ellipsis !important;
}
.text-limit-1,
.text-limit-1 * {-webkit-line-clamp: 1 !important;}
.text-limit-2,
.text-limit-2 * {-webkit-line-clamp: 2 !important;}
.text-limit-3,
.text-limit-3 * {-webkit-line-clamp: 3 !important;}

/* BULLETS PAGINATION */
.swiper-pagination-bullet.swiper-pagination-bullet-active {
    width: 17px !important;
    border-radius: 50px !important;
}
/* END GLOBAL STYLE */
/* START HEADER */
 .wpml-ls-statics-shortcode_actions a {
    padding: 16px 24px;
    border-radius: 50px;
    font-weight: 500;
    background-color: #d3f8da;
    text-transform: uppercase;
}
/* END HEADER */
/* START SECTIONS */
/* START SERVICES CAROUSEL [HOME] */
.services-carousel .swiper-pagination {
	border-radius: 8px;
    background: rgba(92, 158, 92, 0.10);
    padding: 5px 12px;
}
.services-carousel .swiper-slide {
    transition: flex-basis 1s ease;
}
.services-carousel .swiper-slide.swiper-slide-next {
    flex: 0 0 4% !important;
}
.services-carousel .swiper-slide.swiper-slide-next ~ .swiper-slide {
    flex: 0 0 4% !important;
}
.services-carousel .elementor-background-video-container video {
    display: none !important;
}
.services-carousel .swiper-slide.swiper-slide-active .elementor-background-video-container video {
    display: block !important;
}
.services-carousel .swiper-slide:not(.swiper-slide-active) .service-item::before {
    background: 
        linear-gradient(0deg, rgba(27, 27, 27, 0.58) 0%, rgba(27, 27, 27, 0.33) 100%);
}
/*MEDIA*/
@media(min-width: 767px) {
    .services-carousel .swiper-slide.swiper-slide-active {
    flex: 0 0 18% !important;
    }
}
@media(min-width: 992px) {
    .services-carousel .swiper-slide.swiper-slide-active {
    flex: 0 0 20% !important;
    }
}
/* ITEMS STYLE */
.service-item-excerpt {
    display: none !important;
}
.service-item .service-item-heading {
    writing-mode: vertical-lr;
    transform: scale(-1);
    max-height: 400px;
}
:dir(ltr) .service-item .service-item-heading {
	flex-direction: row-reverse;
}
.service-item .service-item-icon {
    transform: scale(-1);
}
/*ACTIVE*/
.swiper-slide-active .service-item .service-item-icon {
    display: none;
}
.swiper-slide-active .service-item .service-item-excerpt {
    display: -webkit-box !important;
}
.swiper-slide-active .service-item .service-item-heading {
    writing-mode: unset;
    transform: unset;
}
/* END SERVICES CAROUSEL [HOME] */
/* NEWS */
.news-item:hover .news-heading {
	transform: translateY(-10px) scale(.95);
}
.news-heading .elementor-icon {
	margin-inline-start: -10px;
}
/* CONTACT CARDS && ABOUT CARDS */
.about-card .p-absolute,
.contact-card .p-absolute {
    inset-inline-end: 0;
    inset-block-end: 0;
}
.about-card:hover .about-card-icon,
.contact-card:hover .contact-card-icon {
    transform: scale(1.2);
}
.contact-card:hover {
	transform: scale(.95);
}
/* PRESIDENT'S */
 .president-speech .content-with-image .p-absolute {
    inset-inline-end: 0;
    inset-block-end: 0;
}
/* OUR PARTNERS */
.our-partners .swiper-wrapper{
  -webkit-transition-timing-function: linear !important;
  transition-timing-function: linear !important;
}
/* START BOARD MEMBERS */
.board-members .uc-remote-error,
.board-members .uc-remote-tab-error,
.board-members .uc-tab-error {
    display: none !important;
}
.board-members .ue-remote-tabs {
    border: unset !important;
}
.board-members #uc_remote_tabs_elementor_9b329c6 .uc-items-wrapper {
    display: block;
}
.board-members .owl-nav {
    position: absolute;
    inset: unset;
    width: calc(100% + 80px);
    display: flex;
    justify-content: space-between;
    inset-inline-start: 50%;
    inset-block-start: 50%;
    transform: translate(50%, -50%);
    z-index: -1;
}
.board-members .owl-nav button {
    height: 32px;
    width: 32px;
    position: relative;
}
.board-members .owl-nav button span {
    opacity: 0;
}
.board-members .owl-nav button::before {
    content: '';
    height: 100%;
    width: 100%;
    position: absolute;
    inset: 0;
    background-size: 32px;
    background-repeat: no-repeat;
}
.board-members .owl-nav button.owl-next::before {
    background-image: url('https://wordpress.aait-sa.com/masun/wp-content/uploads/2025/11/circle-arrow-left-double.svg');
}
.board-members .owl-nav button.owl-prev::before {
    background-image: url('https://wordpress.aait-sa.com/masun/wp-content/uploads/2025/11/circle-arrow-right-double.svg');
}
/* END BOARD MEMBERS */
/* START SERVICES TABS */
.services-loop-tabs ul.tabs {
    overflow-x: auto;
    scrollbar-width: thin;
  scrollbar-color: #1d3968 #e5e7eb;
}
.services-loop-tabs li.r-tabs-tab {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    min-width: 200px;
    text-align: center;
}
@media(min-width: 992px) {
    .services-loop-tabs li.r-tabs-tab {
        min-width: 285px;
    }
}
.services-loop-tabs li.r-tabs-tab::before {
    content: '';
    height: 35px;
    width: 35px;
    position: absolute;
    inset: unset;
    inset-block-start: 15px;
    inset-inline-start: 50%;
    transform: translateX(50%);
    background-image: url('https://wordpress.aait-sa.com/masun/wp-content/uploads/2025/11/service-icon_webp.webp');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}
:dir(ltr) .services-loop-tabs li.r-tabs-tab::before {
	transform: translateX(-50%);
}
.services-loop-tabs li.r-tabs-state-active {
    background-image: url('https://wordpress.aait-sa.com/masun/wp-content/uploads/2025/11/tabs-overlay_webp.webp');
    background-position: center;
    background-size: cover;
}
.services-loop-tabs li.r-tabs-state-active::before {
    filter: invert(1) brightness(2) contrast(100);
}
.services-loop-tabs .panes.r-tabs-panel {background-color: white !important;}
/* SINGLE SERVICE */
.services-post-content h3 {
    font-size: 16px;
    font-weight: 700;
    color: #5C9E5C;
}
.services-post-image .p-absolute.second-shape {
    inset-inline-start: 0;
    inset-block-end: 0;
    transform: scaleX(-1);
}
.services-post-image .p-absolute.first-shape {
    inset-inline-end: 0;
    inset-block-start: 0;
}
/* END SERVICES TABS */
/* START CONTACT FORM */
/* START CONTACT FORM */
/* FORM */
.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"] {
    padding-inline-start: 38px;
}
.contact-form .elementor-field-group:has(input) {
    position: relative;
}
.contact-form .elementor-field-group:has(input)::before {
    content: "";
    position: absolute;
    right: 20px;
    bottom: 13px;
    height: 20px;
    width: 20px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}
:dir(ltr) .contact-form .elementor-field-group:has(input)::before {
    right: unset;
    left: 20px;
}
.contact-form .elementor-field-group:has(input[type='text'])::before {
   background-image: url('https://wordpress.aait-sa.com/masun/wp-content/uploads/2025/11/user.svg');
}
.contact-form .elementor-field-group:has(input[type='email'])::before {
   background-image: url('https://wordpress.aait-sa.com/masun/wp-content/uploads/2025/11/mess.svg');
}
.contact-form .elementor-field-group:has(input[type='tel'])::before {
   background-image: url('https://wordpress.aait-sa.com/masun/wp-content/uploads/2025/11/tablet.svg');
}
/* MAP */
.contact-form .map, 
.contact-form .map .elementor-custom-embed,
.contact-form .map iframe {
    height: 100%;
}
/* END CONTACT FORM */
/* END CONTACT FORM */
/* END SECTIONS */
