/*
 * Customizer Styles from WordPress Customizer
 * Moved from Additional CSS to child theme for better performance
 *
 * Contains:
 * - Almarai font CSS variables (font loaded via functions.php with display=swap)
 * - Custom styling for footer, services, gallery, team, forms
 * - RTL support for Arabic content
 * - Mobile responsive adjustments
 */

:root {
	--font-body: "Almarai", sans-serif;
	--font-heading: 'Almarai';
	--font-heading-two: 'Almarai';
	--font-heading-three: 'Almarai';
	--font-heading-four: 'Almarai';
	--font-heading-five: "Almarai", serif;
}

body,h1, h2, h3, h4, h5, h6, p, li,ul,input,textarea,label,a,div,span.text  {
	font-family: "Almarai" !important;
}

/* Footer Styles */
.footer-style-two .info-item {
    width: calc(100% / 3);
	flex-wrap: nowrap;
}

.footer-style-two .info-item .xb-item--holder {
    width: calc(100% - 56px);
}

.footer-style-two .info-item .xb-item--icon svg {
	width: 20px;
	fill: #fff;
}

.footer-style-two .info-item .xb-item--content {
	margin-bottom:5px;
}

.footer-style-two .info-item::before,
.item-contact_info .breack-line,
  .thm-btn--three > span {
	display: none
}

.footer-style-two .info-item .xb-item--title a {
	color: var(--color-white);
}

.footer-style-two .info-item .xb-item--title a:hover {
	color: var( --e-global-color-primary )
}

.footer-info .info-item.ul_li:nth-of-type(2) {
    background-color: #24a0db;
    border-radius: 15px;
    width: fit-content;
    margin-left: auto;
    padding-top: 4.5px;
    padding-bottom: 4.5px;
    padding-right: 3px;
    padding-left: 19.5px;
}

.footer-info .info-item.ul_li:nth-of-type(2) .xb-item--title {
	font-size: 20px;
	margin-bottom: 0px;
}

.footer-info .info-item.ul_li:nth-of-type(2) .xb-item--title a:hover {
	color:#fff;
}

.footer-info .info-item.ul_li:nth-of-type(2) .xb-item--icon {
	margin-left: 0px;
}

/* Button Styles */
a.thm-btn.thm-btn--three {
    padding: 020px 50px;
}

.thm-btn--aso_yellow {
	color: #fff
}

button.thm-btn.thm-btn--aso.filtet-btn {
    padding: 22px 80px;
}

button#load-more {
    background: var(--color-primary-two);
    color: #fff;
    padding: 10px 30px;
    color: #fff;
    margin: auto;
    display: block;
    margin-top: 50px;
    margin-bottom: 20px;
    border-radius: 4px;
    transition: all .4s ease;
}

button#load-more:hover {
    opacity: .7
}

a.booking-btn {
    background: var(--e-global-color-accent);
    color: #fff;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    padding: 10px 40px;
    border-radius: 12px;
    margin-top: 30px;
    transition: all .3s ease;
}

a.booking-btn:hover {
    opacity: .8
}

/* Industrie Section */
.industrie {
    padding: 0;
}

.industrie-wrap {
    padding: 40px;
}

.industrie .col {
    width: calc(100% / 3);
}

/* Background Gradients */
.sec-bg::before {
    background: linear-gradient(-122deg, rgba(0, 63, 90, 0) 0%, rgba(36, 160, 219, 0.8) 34.54%, #24a0db 62.5%, rgba(0, 63, 90, 0.56) 100%), radial-gradient(74.51% 50% at 50% 100%, #003f5a 24.0899994969%, #003f5a 100%);
}

.xb-faq .accordion_box {
    background: linear-gradient(-122deg, rgba(0, 63, 90, 0) 0%, rgba(36, 160, 219, 0.8) 34.54%, #24a0db 62.5%, rgba(0, 63, 90, 0.56) 100%), radial-gradient(74.51% 50% at 50% 100%, #003f5a 24.0899994969%, #003f5a 100%) !important;
}

.service-box::before {
    background: linear-gradient(-122deg, rgba(0, 63, 90, 0) 0%, rgba(36, 160, 219, 0.8) 34.54%, #24a0db 62.5%, rgba(0, 63, 90, 0.56) 100%), radial-gradient(74.51% 50% at 50% 100%, #003f5a 24.0899994969%, #003f5a 100%);
}

.custom-services .service-box::before {
    opacity: 1
}

/* Service Box Styles */
.service-box .service-item .xb-item--arrow img {
    rotate: 180deg
}

/* Header Styles */
.header-style-two .header-top {
    background: var(--e-global-color-accent);
}

/* Feature Items */
.ap-feature-item .xb-item--icon svg {
    width: 80px;
    height: 80px;
}

.ap-feature-item {
    text-align: center;
}

.footer-style-two .info-item .xb-item--title {
    font-size: 16px;
    line-height: 26px;
}

/* Elementor Overrides */
.elementor-2672 .elementor-element.elementor-element-52faa40 .uc_more_btn {
    color: #fff
}

#uc_post_carousel_elementor_52faa40 .uc_carousel_item {
    overflow: hidden;
    border-radius: 11px;
}

#uc_post_carousel_elementor_52faa40 .uc_more_btn {
    display: inline-block;
    text-align: center;
    text-decoration: none;
    border-radius: 11px !important;
}

#uc_post_carousel_elementor_769d455 .uc_carousel_item {
    overflow: hidden;
    border-radius: 11px;
}

#uc_post_carousel_elementor_769d455 .uc_more_btn {
    display: inline-block;
    text-align: center;
    text-decoration: none;
    border-radius: 11px;
}

/* Process Styles */
.sa-process_left .process-item {
    border-color: var(--e-global-color-accent) !important;
    border-width: 2px;
}

.contact-top-info li svg {
    width: 20px;
    fill: var(--e-global-color-primary);
}

/* Gallery Styles */
.about-gallery .swiper-pagination {
    bottom: -40px;
}

/* Courses */
.list-courses .row > div {
    padding: 0 !important;
    width: 50%;
}

.list-courses i {
    color: #f0ad4e
}

.course-info {
    margin-bottom: 25px;
}

.course-info span {
    font-weight: 900;
    color: var(--color-primary);
}

.course-info span:last-of-type {
    color: #222;
}

.video-content {
    margin-bottom: 40px;
}

/* Video */
.xb-video {
    border-radius: 15px;
    overflow: hidden;
}

.xb-video svg {
    width: 30px;
    fill: var(--color-yellow);
}

/* Single Services */
.single-services #primary .col-lg-4.ps-lg-5.order-lg-0.order-last {
    display: none;
}

.single-services #primary .row .col-lg-8 {
    flex: unset;
    width: 100% !important;
    padding: 0 !important;
}

/* Form Services */
.form-services label {
    margin-bottom: 10px;
}

.form-services .cp-det-btn.d-grid {
    margin-top: 20px;
}

.form-services .cp-det-btn .cp-btn {
    max-width: 200px;
}

.form-services .input-field {
    margin-bottom: 20px;
}

.form-services .wpcf7-list-item {
    margin: 0 0em 0 1em;
    font-size: 18px;
    width: 20%;
    margin: auto;
    margin-bottom: 18px;
}

.form-services .wpcf7-list-item {
    margin: 0 0em 0 1em;
    font-size: 18px;
    width: 32%;
    margin: auto;
    margin-bottom: 15px;
    margin-left: 1px;
}

.cp-det-btn .cp-btn,
.cp-det-btn .cp-btn i {
    color: #fff
}

/* Input Styles */
input[type="date"] {
    width: 100%;
    height: 75px;
    border-radius: 0;
    background-color: #F3F4F5;
    padding: 10px 20px;
    border: 0;
    -webkit-transition: 0.3s;
    -o-transition: 0.3s;
    transition: 0.3s;
    color: var(--color-black);
    font-weight: 500;
}

input {
    border: 2px solid #24A0DB !important;
    border-radius: 12px !important;
}

.input-field > label {
    font-weight: bold;
    font-size: 24px;
    color: var(--color-primary-two);
    margin-top: 20px;
    margin-bottom: 15px;
}

/* SVG and List Styles */
svg {
    width: 20px;
    height: 20px;
}

li {
    list-style: none;
}

.fa-brands, .fa-regular, .fab, .far {
    font-weight: 900 !important;
}

/* Team Styles */
.team-item {
    direction: ltr;
    margin-bottom: 30px
}

.team-item .xb-item--item {
    right: 20px;
    left: unset;
}

.team-item .xb-item--avatar img {
    border-radius: 50%;
}

.team-item .xb-item--author {
    text-align: right;
}

.team-item .xb-item--img {
    height: 120px;
    background: linear-gradient(339deg, #003f5a, #24a0db);
    border-radius: 10px;
}

.team-item .xb-item--content .xb-item--img img {
    display: none;
}

.team-item .xb-item--skill {
    color: #fff;
    min-height: 55px;
}

.team-item .xb-item--inner b {
    color: var(--color-primary);
    margin-left: 3px;
}

.team-item .xb-item--avatar {
    margin: 0;
    width: 100%;
    height: 250px;
    object-fit: contain;
    position: absolute;
    top: 0;
    border-radius: 0;
    left: 0;
    right: 0;
    padding: 10px;
    text-align: center;
}

.team-item .xb-item--avatar img {
    border-radius: 0;
    height: 220px;
    object-fit: cover;
    width: 95%;
    border-radius: 10px;
    margin-top: 30px;
}

.team-item .xb-item--item {
    position: unset;
    padding-top: 80px
}

.team-item .xb-item--inner {
    position: unset;
    padding: 12px 5px 20px;
}

.team-item .xb-item--inner {
    padding-top: 20px;
}

/* Filter and Pagination */
.album-filter,
.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.pagination {
    margin-top: 30px;
    width: 100%;
}

.pagination .page-numbers {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.pagination .page-numbers:hover {
    background: unset;
    color: #fff;
}

.pagination .page-numbers {
    margin-bottom: 0
}

.album-filter button.filter-btn,
.pagination * {
    background: transparent;
    border: 2px solid var(--color-yellow);
    padding: 5px 35px;
    border-radius: 10px;
}

.album-filter button.filter-btn.active,
.album-filter button.filter-btn:hover,
.pagination *:hover,
.pagination *.current {
    background: var(--color-yellow);
    color: #fff
}

.blog .album-filter button.filter-btn, .pagination * {
    background: transparent;
    border: 2px solid #24a0db00;
    padding: 5px 14px;
    border-radius: 10px;
}

/* CV Swiper */
.cv-swiper {
    width: 100%;
    max-width: 100%;
    padding: 20px 10px;
    overflow: hidden
}

.cv-swiper .swiper-slide {
    height: auto;
    background: #fff;
    border-radius: 12px;
    padding: 15px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    text-align: center;
    padding: 0
}

.swiper-button-prev:after, .swiper-container-rtl .swiper-button-next:after {
    content: 'prev';
    font-size: 18px;
}

.swiper-container-rtl .swiper-button-next {
    right: unset;
    left: 10px;
}

.swiper-container-rtl .swiper-button-prev {
    right: 10px;
    left: unset;
}

/* Gallery CSS */
.single-gallery div#elementor-lightbox-slideshow-single-img {
    display: none !important;
}

.single-gallery .content {
    font-size: 16px;
    margin-bottom: 20px;
    line-height: 26px;
}

.single-gallery .swiper-container {
    width: 100%;
    height: 100%;
    overflow: hidden;
    position: relative;
    padding-bottom: 60px;
}

.single-gallery .swiper-slide {
    margin-bottom: 15px;
}

.single-gallery .swiper-pagination-bullet {
    width: 7px;
    height: 7px;
    background-color: #333;
    opacity: 0.5;
    transition: opacity 0.3s;
}

.single-gallery .swiper-pagination-bullet-active {
    opacity: 1;
    background-color: var(--e-global-color-primary);
}

.single-gallery .swiper-pagination {
    bottom: 0 !important;
}

.single-gallery .swiper-button-next,.single-gallery  .swiper-button-prev {
    color: var(--e-global-color-primary);
    width: 44px;
    height: 44px;
    background-color: #222;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.single-gallery .swiper-button-next:hover,.single-gallery  .swiper-button-prev:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

.single-gallery .swiper-button-prev:after,.single-gallery  .swiper-rtl .swiper-button-next:after,
.swiper-button-next:after, .swiper-rtl .swiper-button-prev:after {
    font-size: 18px;
}

.single-gallery video {
    width: 100%;
    margin: 20px 0;
    border: 2px solid #222;
    padding: 10px;
    border-radius: 5px;
}

.single-gallery i {
    color: var(--e-global-color-accent);
}

.single-gallery .booking-btn i,
.single-gallery .xb-backtotop i {
    color: #fff;
}

.single-gallery .top_site_main {
    min-height: 120vh;
    padding-top: 0 !important;
}

.single-innomax_service .gallery-image img {
    border-radius: 12px;
}

.swiper-slide .gallery-image img {
    border-radius: 12px !important
}

/* Gallery Categories */
.tax-gallery-categories .top_site_main {
    min-height: 104vh;
    padding-top: 0 !important;
}

.gallery-categories h1 {
    margin: auto;
    border-bottom: 2px solid var(-- --e-global-color-primary );
    padding-bottom: 4px;
    margin-bottom: 20px;
    width: max-content;
}

.gallery-categories-list {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.gallery-categories-list .gallery-category-item {
    width: calc((100% / 3) - 10px);
    overflow: hidden;
    transition: all .3s ease
}

.gallery-categories-list .gallery-category-item:hover {
    opacity: .7
}

.gallery-categories-list .gallery-category-item h3 {
    text-align: center;
    background: var(--color-primary);
    color: #fff;
    padding: 20px 15px;
    margin: 0;
    display: none;
}

.gallery-categories-list .gallery-category-item img {
    min-height: 300px;
    object-fit: cover;
    border-radius: 10px;
}

.site-main.gallery-categories,
#main-content {
    padding: 120px 0;
}

/* Facebook Comments */
.fb-comments {
    border: 2px solid var(--e-global-color-primary);
    border-radius: 6px;
}

.comment-facebook h3,
.sa-team-title {
    margin-bottom: 20px;
    border-bottom: 1px solid;
    padding-bottom: 1px;
    width: max-content;
}

/* Password Form */
form.post-password-form {
    border: 1px solid;
    width: 90%;
    margin: 100px auto;
    padding: 20px;
    text-align: center;
}

.post-password-form input[type="password"] {
    border: 1px solid;
}

/* Single Post */
.single-post .entry-content li {
    list-style: disc
}

.single-post .entry-content a span {
    color: #003f5a;
    font-weight: 600 !important;
}

/* RTL Table Styles */
.single-post table {
    width: 100%;
    border-collapse: collapse;
    font-family: 'Arial', sans-serif;
    font-size: 16px;
    direction: rtl;
    margin: 20px 0;
    text-align: center;
}

.single-post tbody, 
.single-post td, 
.single-post tfoot, 
.single-post th, 
.single-post thead, 
.single-post tr {
    border: 1.5px solid #003f5a;
}

.single-post thead th {
    background-color: #003f5a;
    color: white;
    font-weight: bold;
    padding: 12px;
}

.single-post td {
    padding: 10px;
}

.single-post tr:nth-child(even) {
    background-color: #f2f2f2;
}

.single-post tr:hover {
    background-color: #e1f5fe;
}

/* Elementor Gallery Widget */
.elementor-widget-gallery_widget .swiper-button-next,
.elementor-widget-gallery_widget .swiper-button-prev {
    background: var(--color-primary-two);
    color: #fff;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    transition: all .3s ease;
}

.elementor-widget-gallery_widget .swiper-button-next:hover,
.elementor-widget-gallery_widget .swiper-button-prev:hover {
    opacity: .85
}

/* Breadcrumb Hide */
.single-innomax_service .innomax_breadcrumb,
.tax-gallery-categories .innomax_breadcrumb,
.single-gallery .innomax_breadcrumb {
    display: none
}

/* Sticky Mobile Phone */
.sticky-mobile-phone {
    display: none;
}

/* Page Specific Styles */
.page-id-20407 .service .col-lg-6 {
    flex: 0 0 auto;
    width: 100%;
}

.page-id-20407 .sec-title--two .sub-title {
    display: table-cell;
}

.page-id-20407 .elementor-20407 .elementor-element.elementor-element-1b38301 .sec-title--two .title {
    color: #003F5A;
    padding-top: 30px;
}

.page-id-20407 .service {
    padding-bottom: 0px;
}

.page-id-20909 .input-box {
    padding-top: 15px;
}

.page-id-20909 .cp-btn {
    padding: 22px 21px;
}

.page-id-20360 #primary {
    padding-top: 0px !important;
}

.page-id-3228 .ap-feature_wrap .col-lg-3 {
    display: flex;
    justify-content: center;
}

.page-id-20987 .blog .album-filter button.filter-btn, .pagination * {
    background: transparent;
    border: 2px solid #24a0db00;
    padding: 5px 18px !important;
    border-radius: 10px;
}

.page-id-20987 #primary {
    padding-bottom: 0px;
}

.page-title .row.mt-none-30.align-items-end {
    align-items: center !important;
}

#primary .post-pagination .page-numbers li {
    padding: 5px 0px !important;
}

/* Custom Services */
.custom-services .service-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap
}

.custom-services .service-item .xb-item--holder {
    width: 50%;
}

.custom-services .service-item .xb-item--icon.ul_li_between.xb-item--img {
    margin-right: 0;
    width: 50%;
    padding-right: 15px;
}

.custom-services .service-item .xb-item--icon.ul_li_between.xb-item--img img {
    height: auto;
    width: 100%;
    border-radius: 12px;
}

/* Stricked Menu */
.stricked-menu {
    display: none
}

.stricked-menu.stricky-fixed {
    display: block
}

/* Logo Grid */
#logo-tr-gr .row.mt-none-30 > div {
    width: 100% !important;
    padding: 0 !important;
}

#logo-tr-gr .feature-item {
    display: flex;
    align-items: center;   
}

#logo-tr-gr svg {
    width: 100% !important;
    height: 100% !important;
}

/* Responsive Styles */
@media(max-width: 992px) {
    .footer-style-two .info-item {
        width: calc(100% / 2);
    }
    .industrie .col {
        width: calc(100% / 2);
    }
    .list-courses .row > div {
        padding: 0 !important;
        width: 100%;
    }
    .form-services .wpcf7-list-item {
        width: 90%;
    }
    .hero .hero_wrap .row {
        display: flex !important;
        flex-direction: column-reverse !important;
    }
    .hero .hero_wrap {
        padding-top: 18px !important;
    }
    .hero-right-image {
        max-width: 100%;
        padding: 1rem 6rem;
    }
    .page-id-20119 .ap-feature_wrap .col-lg-3 {
        display: flex !important;
        justify-content: center !important;
    }
}

@media(max-width: 768px) {
    .footer-style-two .info-item {
        width: calc(100% / 1);
    }
    .industrie .col {
        width: calc(100% / 1);
    }
    .site-main.gallery-categories,
    #main-content {
        padding: 50px 0;
    }
    .single-gallery .top_site_main,
    .tax-gallery-categories .top_site_main {
        min-height: 220px;
    }
    .fb-comments {
        border: unset;
        border-radius: 0;
    }
    .gallery-image {
        margin-bottom: 20px
    }
    .gallery-categories h1 {
        margin-bottom: 20px;
        width: auto;
        font-size: 20px;
        text-align: center;
    }
    .gallery-categories-list {
        gap: 0;
    }
    .gallery-categories-list .gallery-category-item {
        width: 100%;
        margin-bottom: 20px
    }
    button#load-more {
        margin-top: 25px;
    }
    .sticky-mobile-phone {
        display: flex;
        position: fixed;
        bottom: 60px;
        right: 20px;
        background: var(--e-global-color-accent);
        color: #fff;
        justify-content: center;
        align-items: center;
        gap: 10px;
        width: 140px;
        height: 35px;
        border-radius: 12px;
        z-index: 1000;
        font-size: 14px
    }
    .sticky-mobile-phone:hover {
        background: var(--e-global-color-primary);
        color: var(--e-global-color-accent);
    }
    .hero-style-four .hero-right_img {
        display: none !important
    }
    .course-info span:last-of-type {
        font-size: 20px;
        line-height: 30px;
    }
    .single-gallery .swiper-button-next, .single-gallery .swiper-button-prev {
        display: none
    }
    .team-item .xb-item--avatar {
        margin: -90px 0 23px
    }
    .custom-services .service-item {
        flex-direction: column;
    }	
    .custom-services .service-item .xb-item--holder {
        width: 100% !important;
    }
    .custom-services .service-item .xb-item--icon.ul_li_between.xb-item--img {
        width: 100% !important;
        padding-right: 0;
    }
}

@media (min-width: 1024px) {
    .single-gallery .swiper-slide {
        width: calc((100% / 3) - 20px);
    }
}

@media (max-width: 1024px) {
    .single-gallery .swiper-slide {
        width: 100%;
    }
}
