html, body{
    overflow-x: hidden;
    scroll-behavior: smooth;
}
:root {
    --primary-color: #e42d59;
    --secondary-color: #2e3c5c;
}
::selection {
    color: white;
    background: black;
}
::-webkit-scrollbar {
    width: 5px;
    height: 5px;
}
::-webkit-scrollbar-track {
    border-radius: 10px;
}
::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 12px;
}
@font-face{
    font-family: "IBMPlexSansArabic";
    src: url('../fonts/IBMPlexSansArabic-Regular.ttf') format('opentype');
}
    
body {
    font-family: 'IBMPlexSansArabic', sans-serif;
    overflow-x: hidden;
}


/* main-header */

.main-header {
    color: #fff;
    padding-bottom:24px;
    position: absolute;
    width: 100%;
    z-index: 11;
}

.main-header .container {
    display: flex;
    align-items: center;
    margin: 0 auto;
}


/* Navbar Styles */
.main-header {
    position: fixed;
    width: 100%;
    height: auto;
    top: 0;
    left: 0;
    z-index: 1000;
    transition: all 0.3s ease;
    padding-block: 10px
}

.main-header.scrolled {
    background-color: var(--primary-color); /* ممكن تغيره للون اللي يناسبك */
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}
.logo img {
    width: 160px;
    height: auto;
}
.main-header.scrolled .logo img{
    filter: brightness(0) invert(1);
}

.main-nav ul {
    display: flex;
    list-style: none;
    justify-content: end;
    margin: 0;
    padding: 0;
}

.main-nav li {
    margin-left: 30px;
    position: relative;
}

.main-nav a {
    color: #a4a3a3;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    position: relative;
    padding: 5px 0;
}
.main-nav .active {
    color: white;
}
.main-header.scrolled .main-nav a{
    color: white;
}
.main-nav .active::after {
    width: 100%;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
    z-index: 1001;
}

.mobile-menu-toggle span {
    display: block;
    height: 3px;    
    background-color: #000;
    border-radius: 3px;
    transition: all 0.3s ease;
}
.mobile-menu-toggle span:nth-child(1){
    width: 90%;
}
.mobile-menu-toggle span:nth-child(2){
    width: 100%;
}
.mobile-menu-toggle span:nth-child(3){
    width: 65%;
}
/* Mobile Menu Styles */
@media (max-width: 992px) {
    .mobile-menu-toggle {
        display: flex;
    }
    .main-header .container{
        justify-content: space-between;
    }
    .main-nav {
        position: fixed;
        top: 0px;
        right: -100%;
        padding-top: 60px;
        width: 60%;
        max-width: 300px;
        height: 100vh;
        background-color: var(--primary-color);
        transition: all 0.4s ease;
        z-index: 1000;
    }
    .main-nav a {
        color: white;
    }
    .main-nav a.active{
        color: white;
    }
    .main-nav.active {
        right: 0;        
    }

    .main-nav ul {
        flex-direction: column;
        padding: 20px;
    }

    .main-nav li {
        margin: 15px 0;
    }

    .main-nav a {
        font-size: 18px;
    }

    /* Animate toggle icon when active */
    .mobile-menu-toggle.active span{
        width: 100%;
    }
    
    .mobile-menu-toggle.active span:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }

    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-toggle.active span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }
}

section{
    scroll-margin-top: 70px;
}
/* start hero section  */
.hero{
    padding-top: 100px;
}
.hero .content-box h1{
    font-size: 90px;
    color: black;
    font-weight: bolder;
    margin-bottom: 50px;

}
.hero .content-box h1 span{
    color: var(--primary-color);
}
.hero .content-box .cta-btn{
    color: white;
    background-color: var(--primary-color);
    border-radius: 35px;
    padding: 10px 25px;
    font-size: 24px;
}
@media(max-width:767px){
    .hero .content-box h1{
        font-size: 36px;
    }
    .hero .content-box .cta-btn{
        font-size: 20px;
    }
}
/* إظهار الصور الصغيرة فقط على الشاشات الصغيرة */
.hero-sm {
    display: block;
}
.hero-lg {
    display: none;
}

/* من الشاشات المتوسطة 768px فما فوق */
@media (min-width: 768px) {
    .hero-sm {
        display: none !important;
    }
    .hero-lg {
        display: block !important;
    }
}

/* start vendors section  */
/* .vendors {
    background-color: var(--primary-color);
    padding-block: 80px;
    position: relative;
    overflow: hidden;
}

.vendors .container {
    position: relative;
}

.vendors .container::before {
position: absolute;
    content: "";
    left: 1030px;
    top: -30px;
    width: 300px;
    height: 130%;
    z-index: 10;
    pointer-events: none;
    border-radius: 0 50% 50% 0;
    background: radial-gradient(circle at 282% center, rgb(0 0 0) 35%, transparent 67%)
}

.vendors .container::after {
    position: absolute;
    content: "";
    right: 1030px;
    top: -30px;
    width: 300px;
    height: 130%;
    z-index: 10;
    pointer-events: none;
    border-radius: 50% 0 0 50%;
    background: radial-gradient(
  circle at -182% center,
  rgba(0, 0, 0, 1) 35%,
  transparent 67%
)

}
@media(max-width:1198){
    .vendors .container::before{
        left: 700px;
    }
    .vendors .container::after{
        right: 700px;
    }
}
@media(max-width:1392px){
    .vendors .container::before{
        left: 870px;
    }
    .vendors .container::after{
        right: 870px;
    }
}
@media(min-width:1400px){
    .vendors .container::before{
        left: 1030px;
    }
    .vendors .container::after{
        right: 1030px;
    }
}

.vendors.curved-shadow .container::before {
    background: var(--primary-color);
    clip-path: ellipse(100px 100% at 150px 50%);
    left: -100px;
    width: 250px;
    box-shadow: 30px 0 50px rgba(0, 0, 0, 0.15);
}

.vendors.curved-shadow .container::after {
    background: var(--primary-color);
    clip-path: ellipse(100px 100% at 100px 50%);
    right: -100px;
    width: 250px;
    box-shadow: -30px 0 50px rgba(0, 0, 0, 0.15);
}

.vendors.wave-shadow .container::before {
    background: var(--primary-color);
    clip-path: polygon(0 0, 70% 0, 100% 20%, 100% 80%, 70% 100%, 0 100%);
    left: -30px;
    width: 180px;
    box-shadow: 25px 0 35px rgba(0, 0, 0, 0.12);
}

.vendors.wave-shadow .container::after {
    background: var(--primary-color);
    clip-path: polygon(30% 0, 100% 0, 100% 100%, 30% 100%, 0 80%, 0 20%);
    right: -30px;
    width: 180px;
    box-shadow: -25px 0 35px rgba(0, 0, 0, 0.12);
}

.vendors .special-heading {
    color: white;
    font-weight: bold;
    margin-bottom: 50px;
    position: relative;
    z-index: 5;
}

.swiper-slide {
    text-align: center;
    font-size: 18px;
}

.vendors .swiper-slide {
    text-align: center;
    font-size: 18px;
}

.vendors .swiper-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    aspect-ratio: 4/2;
    background-color: transparent;
    filter: brightness(0) invert(1);
} */

/* start partners section  */

.partners{
    background-color: var(--primary-color);
    padding-block: 60px;
}
.partners .logo-box img{
    filter: brightness(0) invert(1);
    aspect-ratio: 2/2;
    object-fit: contain;
}
  

  /* start work flow section  */
.work-flow{
    padding-block: 100px;
}
.work-flow h1{
    color: black;
    font-weight: bold;
    text-align: center;
    margin-bottom: 50px;
}
.work-flow h1 span{
    color: var(--primary-color);
}
.work-flow .box{
    border: 1px solid var(--primary-color);
    border-radius: 12px;
    padding: 15px;
    height: 100%;
}
.work-flow .box .img-box{
    height: 200px;
    width: 100%;

    overflow: hidden;
    padding: 20px;
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.work-flow .box .img-box img{
    width: 120px;
    height: 120px;
    object-fit: contain;

}
.work-flow .box .title{
    color: black;
    font-weight: 700;
    padding-right: 40px;
    margin-bottom: 15px;
    position: relative;
    display: flex;
}
.work-flow .box .title::before{
    position: absolute;
    content: attr(step);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    font-size: 12px;
    align-items: center;
    justify-content: center;
    background-color: var(--primary-color);
    color: white;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
}
.work-flow .box .description{
    color: #4c4c4c;
    font-weight: 600;
}
.work-flow .box ul li{
    color: #4c4c4c;
    font-weight: 500;
}
@media(max-width:767px){
    .work-flow .box .title::before{
        width: 20px;
        height: 20px;
        right: -7px;
        font-size: 10px;
    }
    .work-flow .box .title{
        padding-right: 20px;
    }
    .work-flow .box .img-box{
        height: 100px;
    }
    .work-flow .box .img-box img{
        width: 80px;
        height: 80px;
    }
    .work-flow .box .title{
        font-size: 13px;
    }
    .work-flow .box .description{
        font-size: 11px;
    }
        .work-flow .box ul li {
        font-size: 10px;
        font-weight: 700;
    }
}


/* start team section  */
.team-section {
    padding: 60px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
    font-size: 2.5rem;
    font-weight: 700;
    color: #000;
}

.section-title .highlight {
    color: var(--primary-color);
}

.team-card {
    background: white;
    border-radius: 20px;
    padding: 30px 20px;
    text-align: center;
    box-shadow: -1px 1px 7px -2px rgba(0,0,0,.5);
    -webkit-box-shadow: -1px 1px 7px -2px rgba(0,0,0,.5);
    -moz-box-shadow: -1px 1px 7px -2px rgba(0,0,0,.5);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    margin-block: 10px;
}

.team-card:hover {
    transform: translateY(-10px);
}

.team-avatar {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    margin: 0 auto 20px;
    position: relative;
    overflow: hidden;
    background: var(--primary-color);
}

.team-avatar img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: contain;
}

.team-name {
    font-size: 1.4rem;
    font-weight: 600;
    color: black;
    margin-bottom: 8px;
}

.team-position {
    font-size: 1rem;
    color: #000;
    font-weight: 400;
}

.swiper {
    padding: 20px 0 40px;
}

.swiper-slide {
    height: auto;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
    }
    
    .team-card {
        padding: 20px 15px;
    }
    
    .team-avatar {
        width: 75px;
        height: 75px;
    }
    
    .team-name {
        font-size: 14px;
    }
    .team-position{
        font-size: 12px;
    }
}


/* start beneficiaries section  */
.beneficiaries{
    padding-block: 80px;
}
h1.title{
    color: black;
    font-weight: 700;
    text-align: center;
    margin-bottom: 50px;
}
h1.title span{
    color: var(--primary-color);
}
.beneficiaries .box{
    padding: 20px;
    border-radius: 12px;
    background-color: var(--primary-color);
    color: white;
    height: 100%;
    text-align: center;
}
.beneficiaries .box .icon-box{
    width: 60px;
    overflow: hidden;
    margin: auto;
    margin-bottom: 25px;

}
.beneficiaries .box .icon-box img{
    width: 100%;
    height: auto;
}
@media(max-width:767px){
    .beneficiaries .box .icon-box{
        width: 40px;
    }
    .beneficiaries .box .title{
        font-size: 14px;
    }
    .beneficiaries .box .description{
        font-size: 10px;
    }
}



/* start faq section  */
.faq-section {
    padding: 60px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
    font-size: 2.5rem;
    font-weight: 700;
    color: #333;
}

.section-title .highlight {
    color: var(--primary-color);
}

.faq-container {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    border-radius: 15px;
    margin-bottom: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.faq-question {
    padding: 20px 25px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
    background: white;
    border: none;
    width: 100%;
    text-align: right;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: #f8f9fa;
}

.faq-question.active {
    background: var(--primary-color);
    color: white;
}

.faq-icon {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
    margin-left: 15px;
}

.faq-question.active .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 25px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    background: #f8f9fa;
}

.faq-answer.show {
    padding: 20px 25px;
    max-height: 200px;
    background-color: var(--primary-color);
}

.faq-answer p {
    margin: 0;
    line-height: 1.6;
    color: white;
}

.show-more-btn {
    display: block;
    margin: 30px auto 0;
    padding: 12px 30px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 25px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.show-more-btn:hover {
    background: #d81b60;
    transform: translateY(-2px);
}

.show-more-btn:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(233, 30, 99, 0.3);
}

.faq-item.mobile-hidden {
    display: none;
}

@media (min-width: 769px) {
    .faq-item.mobile-hidden {
        display: block;
    }
    
    .show-more-btn {
        display: none !important;
    }
}

@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
    }
    
    .faq-question {
        padding: 15px 20px;
        font-size: 1rem;
    }
    
    .faq-answer {
        padding: 0 20px;
    }
    
    .faq-answer.show {
        padding: 15px 20px;
    }
}



 .contact-form {
            max-width: 900px;
            margin: 50px auto;
            background: var(--primary-color);
            border-radius: 20px;
            padding: 40px;
            box-shadow: 0 10px 30px rgba(0,0,0,0.2);
        }

        .form-title {
            color: white;
            font-size: 28px;
            font-weight: bold;
            text-align: center;
            margin-bottom: 30px;
        }

        .form-group {
            margin-bottom: 20px;
        }

        .form-input {
            width: 100%;
            padding: 15px 20px;
            border: 2px solid white;
            border-radius: 50px;
            background: transparent;
            color: white;
            font-size: 16px;
            outline: none;
            transition: all 0.3s ease;
        }

        .form-input::placeholder {
            color: rgba(255,255,255,0.8);
            text-align: right;
        }

        .form-input:focus {
            border-color: rgba(255,255,255,0.8);
            background: rgba(255,255,255,0.2);
        }

        .submit-btn {
            background: white;
            color: #000;
            padding: 5px 40px;
            border: none;
            border-radius: 50px;
            font-size: 18px;
            font-weight: bold;
            cursor: pointer;
            transition: all 0.3s ease;
            margin-top: 20px;
        }

        .submit-btn:hover {
            background: #f8f8f8;
            transform: translateY(-2px);
        }

        .footer {
            background: var(--primary-color);
            color: white;
            padding: 40px 0;
            margin-top: 50px;
            border-top-left-radius: 35px;
            border-top-right-radius: 35px;
        }

        .footer-brand .icon img{
            filter: brightness(0) invert(1);
            width: 250px;
        }

        .footer-links h4 {
            font-size: 20px;
            margin-bottom: 10px;
        }

        .footer-links a {
            color: white;
            text-decoration: none;
            font-size: 18px;
            transition: opacity 0.3s ease;
        }

        .social-links h4 {
            font-size: 20px;
            margin-bottom: 10px;
        }

        .social-icons {
            display: flex;
            gap: 15px;
        }

        .social-icon {
            width: 40px;
            height: 40px;
            border: 2px solid white;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            text-decoration: none;
            transition: all 0.3s ease;
        }

        .social-icon:hover {
            background: white;
            color: #e91e63;
            transform: scale(1.1);
        }

        .footer-bottom {
            text-align: center;
            margin-top: 30px;
            padding-top: 20px;
            border-top: 1px solid rgba(255,255,255,0.3);
            font-size: 14px;
            opacity: 0.8;
        }

        @media (max-width: 768px) {
            .footer-container {
                flex-direction: column;
                gap: 30px;
                text-align: center;
            }
            
           .contact-form  {
                padding: 30px 20px;
            }
        }





.loading-spinner {
            display: none;
            width: 20px;
            height: 20px;
            border: 2px solid #fff;
            border-top: 2px solid transparent;
            border-radius: 50%;
            animation: spin 1s linear infinite;
            margin-left: 10px;
        }
        @keyframes spin {
            0% { transform: rotate(0deg); }
            100% { transform: rotate(360deg); }
        }
        .error-message {
            color: #dc3545;
            font-size: 0.9rem;
            margin-top: 0.5rem;
            display: none;
        }        