/*counter*/
.global_countup-wrapper.is-banner-1 {
    background-color: #1e2a47 !important;
    background-image: linear-gradient(135deg, #2c3e50, #4ca1af) !important;
    color: #ffffff;
    border-radius: 1rem;
    padding-top: 3rem;
    padding-bottom: 3rem
}
/*counter*/

/**/
#emphasis-swiper-slider .swiper-slide {
    transition: transform 0.8s ease;
    transform: scale(0.95);
}

#emphasis-swiper-slider .swiper-slide-active {
    transform: scale(1);
}

.odometer {
    font-size: 2rem;
    font-weight: bold;
    font-family: inherit;
    overflow: visible;
    display: inline-block;
    text-align: center;
    position: relative;
    white-space: nowrap;
}

.odometer span {
    display: inline-block;
    transition: transform 0.5s ease-in-out;
}
/**/


.section.blue-brands {
    background-color: #260174;
    flex-flow: column;
    justify-content: center;
    align-items: center;
    padding-top: 0;
}

.h2-white.is--logos {
    text-align: center;
    margin-bottom: 1.5rem;
    font-size: 2.625em;
}

.h2-white {
    color: #ffffff;
    text-transform: uppercase;
    margin-top: 0;
    font-weight: 400;
}

.partners-wrapper {
    flex-flow: wrap;
    justify-content: center;
    align-items: center;
    width: 75.0625em;
    display: flex;
}

.partners-image {
    height: 1.4em;
    margin-bottom: 1rem;
    margin-right: 4.5em;
}

.partners-image._50px-height._60px {
    object-fit: contain;
    height: 3em;
}

.container.wide.new-mobiile {
    padding-top: 4em;
}

.container.wide {
    width: 80%;
    padding-bottom: 5em;
    padding-left: 5em;
    padding-right: 5em;
}

.resources_thumbnail.circular-logo {
    height: 70px; /* تحديد ارتفاع ثابت */
    display: block; /* يجعل العنصر بلوك لتمكين محاذاته */
    margin-left: auto; /* محاذاة الصورة في الجهة اليسرى */
    margin-right: auto; /* محاذاة الصورة في الجهة اليمنى */
    margin-top: auto; /* محاذاة الصورة في الجهة العلوية */
    margin-bottom: auto; /* محاذاة الصورة في الجهة السفلية */
}

.image-container {
    width: 100px; /* تحديد عرض العنصر */
    height: 100px; /* تحديد ارتفاع العنصر */
    display: flex; /* استخدام flexbox للمحاذاة */
    justify-content: center; /* محاذاة الصورة أفقيًا في المنتصف */
    align-items: center; /* محاذاة الصورة عموديًا في المنتصف */
}

.circular-image {
    width: 100%; /* تحديد عرض الصورة ليتناسب مع حجم الحاوية */
    height: 100%; /* تحديد ارتفاع الصورة ليتناسب مع حجم الحاوية */
    object-fit: contain; /* يجعل الصورة تظهر كاملة دون قص */
    border-radius: 50%; /* جعل الصورة دائرية */
}

.testimonial-cards_card {
    width: 497px !important;
}

.text-center {
    text-align: center !important;
}

.swiper-wrapper.testimonial-cards_component {
    grid-template-columns: 2fr 2fr !important;
}

.testimonial-card.swiper-slide {
    flex-shrink: 1 !important;
}

/* mobile */

.testimonial-card.swiper-slide {
    margin-bottom: 40px !important;
}

.text-khader {
    text-align: left !important;
    font-size: 18px !important;
}
/* mobile */

/* logos */

.client-section {
    border-top: 0 solid #000;
    border-bottom: 0px solid #181818;
    background-color: #000000;
    border-left-style: solid;
    border-left-width: 0;
    justify-content: center;
    align-items: center;
    padding-top: 140px;
    padding-bottom: 140px;
    display: flex;
}

.client-container {
    color: #fff;
    background-color: #000;
    flex: 1;
    max-width: 1160px;
    margin-left: 40px;
    margin-right: 40px;
}

.client-heading {
    color: #ffffff;
    letter-spacing: -.16px;
    max-width: 645px;
    margin-bottom: 64px;
    margin-left: 0;
    font-family: Epilogue, sans-serif;
    font-size: 48px;
    font-weight: 700;
    line-height: 64px;
}

.client-content-01 {
    grid-column-gap: 0px;
    grid-row-gap: 16px;
    border: 1px solid #181818;
    grid-template-rows: auto;
    grid-template-columns: 1.75fr minmax(200px, 1.25fr);
    grid-auto-columns: 1fr;
    display: grid;
}

/* .client-sub-content-01 {
    grid-column-gap: 0px;
    grid-row-gap: 0px;
    flex-direction: row;
    grid-template-rows: auto auto auto;
    grid-template-columns: 1fr 1fr 1fr;
    grid-auto-columns: 1fr;
    max-width: 690px;
    display: grid;
} */

.flash {
    border-right: 1px solid var(--black-2);
    border-bottom: 1px solid var(--black-2);
    background-color: var(--black);
    justify-content: center;
    align-items: center;
    width: 230px;
    height: 140px;
    display: flex;
}

.image-123 {
    flex: 1;
    max-width: 99%;
    background: white;
}

.body-01.client-description {
    color: #ffffff;
    margin-top: 38px;
    margin-bottom: 28px;
}

.body-01 {
    color: var(--black);
    font-family: Opensaucesans, sans-serif;
    font-size: 20px;
    line-height: 32px;
    display: block;
}

.profile-div {
    margin-bottom: 64px;
    display: flex;
}

.pprofile-image {
    flex: 0 auto;
    justify-content: center;
    align-items: center;
    display: flex;
}

.profile-description {
    margin-left: 16px;
}

.profile-name.text-coor-white {
    color: #ffffff;
}

.body-02 {
    color: #ffffff;
    text-align: left;
    justify-content: flex-start;
    align-items: center;
    max-width: 600px;
    margin-bottom: 0;
    font-family: Opensaucesans, sans-serif;
    font-size: 18px;
    line-height: 28px;
    display: flex;
}

.profile-desc {
    max-width: 401px;
    margin-top: 48px;
    margin-left: 34px;
    margin-right: 34px;
}

#w-node-_79272c10-d67f-5dbd-9921-744d7f3c0351-df4fcb26 {
    grid-area: span 1 / span 1 / span 1 / span 1;
    place-self: center;
}

.flash:hover {
    background-color: #5529d3;
}

@media screen and (max-width: 479px) {

    .client-section {
        padding: 60px 0;
    }
    .client-container {
        justify-content: center;
        align-items: center;
        margin-left: 20px;
        margin-right: 20px;
    }

    .client-heading {
        margin-top: 0;
        margin-bottom: 40px;
        padding-top: 0;
        padding-bottom: 0;
        font-size: 30px;
        line-height: 44px;
    }

    .client-content-01 {
        grid-row-gap: 0px;
        grid-template-rows: auto;
        margin-bottom: 0;
        margin-left: 0;
        margin-right: 0;
        display: block;
    }

    /* .client-sub-content-01 {
        grid-column-gap: 0px;
        grid-row-gap: 0px;
        flex-flow: row;
        grid-template-rows: auto;
        grid-template-columns: 1fr 1fr 1fr;
        grid-auto-columns: 1fr;
        place-items: center;
        display: inline-grid;
    } */
    
    .flash {
        border-style: none solid solid;
        border-width: 1px;
        border-color: #595959 black;
        justify-content: center;
        align-items: center;
        width: auto;
        padding: 20px 0 10px;
        display: flex;
    }

    .profile-desc {
        flex-direction: column;
        max-width: 401px;
        margin-top: 0;
        margin-left: 0;
        margin-right: 0;
        padding-left: 10px;
        padding-right: 10px;
        display: block;
    }
    .image-55 {
        padding-top: 20px;
        padding-bottom: 20px;
    }

    .image-123 {
        border: 0 #000;
        flex: 1;
    }

    #w-node-_79272c10-d67f-5dbd-9921-744d7f3c0351-df4fcb26, #w-node-_79272c10-d67f-5dbd-9921-744d7f3c0351-523d00a9 {
        grid-area: span 1 / span 1 / span 1 / span 1;
        place-self: center;
    }
    .swiper-wrapper.testimonial-cards_component {
        flex-direction: column !important;
    }
}

/* Partners Section Responsive Styles */
.partners-image-container {
    background: url('../images/parnters.jpg');
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    height: 610px;
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

/* Tablet Styles */
@media screen and (max-width: 991px) {
    .partners-image-container {
        height: 450px;
        border-radius: 8px;
    }
}

/* Mobile Landscape */
@media screen and (max-width: 767px) {
    .partners-image-container {
        height: 350px;
        border-radius: 6px;
    }
}

/* Mobile Portrait */
@media screen and (max-width: 479px) {
    .partners-image-container {
        height: 250px;
        border-radius: 4px;
        margin: 0 -1rem;
    }
    
    #partners .container-large {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    #partners h2 {
        font-size: 1.5rem;
        text-align: center;
    }
}

/* Extra small screens */
@media screen and (max-width: 320px) {
    .partners-image-container {
        height: 200px;
    }
}

.swiper-slide.testimonial-card {
    display: flex;
    justify-content: center;
}

.swiper-wrapper.testimonial-cards_component {
    flex-direction: row;
}

.tex-left {
    text-align: left;
}

#contact-form {
    max-width: 600px;
    margin: 0 auto;
    padding: 2rem;
    background: #ffffff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
}
.form-group {
    margin-bottom: 1.5rem;
}
label {
    display: block;
    font-weight: bold;
    margin-bottom: 0.5rem;
}
input, textarea, select {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
}
button {
    width: 100%;
    padding: 1rem;
    background: #0073e6;
    color: #fff;
    border: none;
    border-radius: 5px;
    font-size: 1.2rem;
    cursor: pointer;
    transition: 0.3s;
}
button:hover {
    background: #005bb5;
}

#contact-form label {
    text-align: left;
}

.form-section .container-medium {
    width: 50% !important;
}

/* Partners Section Header Responsive */
#partners .split-header_component {
    margin-bottom: 2rem;
}

@media screen and (max-width: 767px) {
    #partners .split-header_component {
        margin-bottom: 1.5rem;
    }
    
    #partners .max-width-medium {
        text-align: center;
    }
}

@media screen and (max-width: 479px) {
    #partners .split-header_component {
        margin-bottom: 1rem;
    }
    
    #partners .padding-global {
        padding-left: 1rem;
        padding-right: 1rem;
    }
}

/* Enhanced Mobile Experience for Partners Section */
@media screen and (max-width: 479px) {
    /* Ensure proper spacing on mobile */
    #partners {
        padding-top: 2rem;
        padding-bottom: 2rem;
    }
    
    /* Make sure the image doesn't overflow on very small screens */
    .partners-image-container {
        min-height: 200px;
        max-height: 250px;
        object-fit: cover;
    }
}

/* Improve loading experience */
.partners-image-container {
    transition: opacity 0.3s ease;
    position: relative;
}

.partners-image-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, #f0f0f0 25%, transparent 25%), 
                linear-gradient(-45deg, #f0f0f0 25%, transparent 25%), 
                linear-gradient(45deg, transparent 75%, #f0f0f0 75%), 
                linear-gradient(-45deg, transparent 75%, #f0f0f0 75%);
    background-size: 20px 20px;
    background-position: 0 0, 0 10px, 10px -10px, -10px 0px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

/* Partners Grid for Mobile */
.partners-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    padding: 1rem;
}

.partner-logo {
    background: white;
    border-radius: 8px;
    padding: 1rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 80px;
}

.partner-logo:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.partner-logo img {
    max-width: 100%;
    max-height: 60px;
    object-fit: contain;
    filter: grayscale(0.3);
    transition: filter 0.3s ease;
}

.partner-logo:hover img {
    filter: grayscale(0);
}

/* Visibility Controls */
.desktop-only {
    display: block;
}

.mobile-only {
    display: none;
}

/* Mobile Responsive Breakpoints */
@media screen and (max-width: 991px) {
    .desktop-only {
        display: none;
    }
    
    .mobile-only {
        display: grid;
    }
    
    .partners-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
    }
    
    .partner-logo {
        padding: 0.75rem;
    }
    
    .partner-logo img {
        max-height: 50px;
    }
}

@media screen and (max-width: 767px) {
    .partners-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
        padding: 0 0.5rem;
    }
    
    .partner-logo {
        padding: 0.5rem;
    }
    
    .partner-logo img {
        max-height: 40px;
    }
}

@media screen and (max-width: 479px) {
    .partners-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.5rem;
    }
    
    .partner-logo {
        padding: 0.4rem;
    }
    
    .partner-logo img {
        max-height: 35px;
    }
}

/* Ensure proper spacing for partners section */
#partners {
    padding-top: 4rem;
    padding-bottom: 4rem;
}

@media screen and (max-width: 767px) {
    #partners {
        padding-top: 2rem;
        padding-bottom: 2rem;
    }
}

/* Form Styling */
#contact-form {
    max-width: 500px;
    margin: 0 auto;
    padding: 2rem;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

#contact-form .form-group {
    margin-bottom: 1.5rem;
}

#contact-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #333;
    font-size: 1rem;
}

#contact-form input,
#contact-form textarea,
#contact-form select {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e1e5e9;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    background: #ffffff;
}

#contact-form input:focus,
#contact-form textarea:focus,
#contact-form select:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
}

#contact-form button[type="submit"] {
    width: 100%;
    padding: 14px 24px;
    background: linear-gradient(135deg, #007bff, #0056b3);
    color: #ffffff;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 1rem;
}

#contact-form button[type="submit"]:hover {
    background: linear-gradient(135deg, #0056b3, #004085);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 123, 255, 0.3);
}

#contact-form button[type="submit"]:disabled {
    background: #6c757d;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.w-form-done,
.w-form-fail {
    padding: 1rem;
    border-radius: 8px;
    margin-top: 1rem;
    text-align: center;
    font-weight: 500;
}

.w-form-done {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.w-form-fail {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Mobile responsive */
@media screen and (max-width: 767px) {
    #contact-form {
        margin: 0 1rem;
        padding: 1.5rem;
    }
}