/* hero */
.hero-container {
    background-image: url("../assets/home.png");
}

.main-header img {
    margin-top: 18px;
}

.hero {
    height: 90vh;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    background-color: transparent;
}

.hero-content {
    height: 100%;
    width: 57%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    margin-inline-start: 8%;
    margin-inline-end: 8%;
}

.hero-content h1 {
    font-weight: 700;
    font-size: clamp(35px, 5vw, 96px);
    color: white;
    margin-bottom: 20px;
    line-height: 100px;
}

.hero-content p {
    font-weight: 400;
    font-size: 20px;
    letter-spacing: 0px;
    color: #FFFFFF;
    line-height: 165%;
}

.hero .buttons {
    margin-top: 20px;
    display: flex;
    gap: 10px;
    justify-content: center;
}

.hero .service {
    box-shadow: 0px 0px 4px 0px #00000026;
    background-color: #8C63CD;
    color: white;
    font-weight: 600;
    font-size: 20px;
    border-radius: 47px;
    padding: 5px 25px;
    border: none;
    outline: none;
}

.hero .contact-btn {
    box-shadow: 0px 0px 4px 0px #00000026;
    background-color: transparent;
    color: white;
    font-weight: 600;
    font-size: 20px;
    border-radius: 47px;
    padding: 5px 20px;
    border: 2px solid white;

}

/* success-partners */
.success-partners {
    background-color: #F5F5F6;
    padding: 60px 0px;
}

.success-partners svg {
    height: 17px;
    width: auto;
}

.success-partners .section-header h2 {
    margin-bottom: 40px;
    font-weight: 700;
    font-size: clamp(49px,2vw,64px);
    line-height: 40px;
    letter-spacing: 0px;

}

.success-partners .body {
    display: flex;
    gap: 4%;
    flex-wrap: wrap;
}

.success-partners .body div {
    background-color: #DEDEDE;
    border-radius: 90px;
    color: #000000;
    width: 21.8%;
    padding: 10px 0px;
    font-size: 30px;
    font-weight: 700;
    display: flex;
    gap: 25px;
    justify-content: center;
    align-items: center;
}

/*story*/
.story {
    padding-top: 60px;
    margin-bottom: 120px;
}

.story .section-header {
    margin-bottom: 40px;
}




.story .section-header h2 {
    font-weight: 700;
    font-size: clamp(49px,2vw,64px);
    line-height: 40px;
    letter-spacing: 0px;
}

.story .section-header p {
    font-weight: 300;
    font-size: 31px;
    line-height: 35px;
    letter-spacing: 0%;
    color: #a2a0a0;
}

.story .section-content .content {
    flex: 1;
}

.story .section-content .image-container {
    display: flex;
    justify-content: flex-end;
    position: relative;
}

.story .section-content .img2 {
    width: 40%;
    height: auto;
    position: absolute;
    z-index: 999;
    top: 15%;
    left: 32%;
}

.story .section-content .img1 {
    width: 40%;
    height: auto;

}

.story .section-content h1 {
    font-weight: 500;
    font-size: 36px;
    letter-spacing: 0px;
    margin-bottom: 30px;
}

.story .section-content p {
    font-weight: 500;
    font-size: clamp(20px, 3vw, 36px);
    letter-spacing: 0px;
    margin-bottom: 40px;
}

.story .section-content button {
    background-color: #8C63CD;
    color: white;
    border: none;
    border-radius: 20px;
    font-weight: 700;
    font-size: 16px;
    line-height: 24px;
    letter-spacing: 0px;
    width: 25%;
    margin-top: 25px;
    padding: 5px 0px;
}

/*services*/
.services {
    margin-bottom: 90px;
    background-color: #F5F5F6;
    padding: 50px 0px;
}

.services .section-header button {
    background-color: #155DFC;
    color: white;
    border: none;
    border-radius: 20px;
    font-weight: 700;
    font-size: 16px;
    line-height: 24px;
    letter-spacing: 0px;
    width: 15%;
    padding: 5px 0px;
}

.services .section-header .section-details {
    display: flex;
    justify-content: space-between;
    margin-bottom: 70px;
}

.services .section-header h2 {
    font-weight: 700;
    font-size: clamp(49px,2vw,64px);
    line-height: 43.9px;
    letter-spacing: 0%;
    border-inline-start: 7px solid #155DFC;
    padding-inline-start: 15px;

}

.services .section-header p {
    font-weight: 300;
    font-size: 31px;
    line-height: 35px;
    letter-spacing: 0%;
    color: #a2a0a0;
    width: 65%;

}
/* حاوية الكارت الأساسية */

.services .grid-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 50px;
    margin-top: 30px;
}

.services .grid-container img {
    max-width: 100%;
    height: 440px;
}

.services .header {
    text-align: center;
    margin-bottom: 60px;
}

.services .header h2 {
    font-weight: 700;
    font-size: clamp(35px, 2vw, 48px);
    line-height: 48px;
    margin-bottom: 20px;
}

.services .header p {
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    letter-spacing: 0px;
}

.services .grid-container .grid-item h2 {
    font-weight: 700;
    font-size: 16px;
    line-height: 28px;
    letter-spacing: 0px;
    margin-top: 10px;
}

.services .grid-container .grid-item p {
    font-weight: 400;
    font-size: 14px;
    line-height: 22.75px;
    letter-spacing: 0px;
}

/*contact*/
.contactt {
    margin-bottom: 50px;
}

.contactt .section-header h2 {
    font-weight: 700;
    font-size: clamp(49px,2vw,64px);
    line-height: 40px;
    letter-spacing: 0px;
    border-inline-start: 7px solid #155DFC;
    padding-inline-start: 15px;
    margin-bottom: 70px;
}

.contactt .section-header p {
    font-weight: 300;
    font-size: 31px;
    line-height: 35px;
    letter-spacing: 0%;
    color: #a2a0a0;

}

.contactt .section-content {
    display: flex;
    gap: 30px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.contactt .section-content .contact-form {
    border-radius: 25px;
    padding: 20px;
    flex: 1;
    min-width: 279px;
}

.contactt .section-content .contact-form button {
    background-color: #155DFC;
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 700;
    font-size: 20px;
    line-height: 20px;
    letter-spacing: 0%;
    width: 100%;
    padding: 15px 0px;
}

.contactt .section-content .img-container {
    flex: 1;
    min-width: 279px;
    display: flex;
    justify-content: center;
}

.contactt .section-content .contact-form .input {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 30px;
    width: 100%;
}

.contactt .section-content .contact-form .input input {
    width: 100%;
    padding: 15px;
    border: 1px solid #000000CC;
    border-radius: 10px;
    outline: none;
}

.contactt .section-content .contact-form textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #000000CC;
    border-radius: 10px;
    outline: none;
    height: 180px;
}

.contactt img {
    max-width: 100%;
    /* أهم سطر عشان الصورة متخرجش بره الحاوية */
    height: auto;
    border-radius: 25px;
}

.custom-select {
    position: relative;
    width: 100%;
    font-family: sans-serif;
}

.select-btn {
    background: #fff;
    border: 1px solid #000000CC;
    padding: 12px 15px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 8px;
}

.select-btn:hover {
    border-color: #999;
}

.arrow {
    transition: 0.3s;
}

.custom-select.active .arrow {
    transform: rotate(180deg);
}

.options {
    position: absolute;
    top: 110%;
    inset-inline-start: 0;
    /* يشتغل RTL و LTR */
    width: 100%;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    list-style: none;
    padding: 5px 0;
    margin: 0;
    display: none;
    z-index: 10;
}

.custom-select.active .options {
    display: block;
}

.options li {
    padding: 10px 15px;
    cursor: pointer;
}

.options li:hover {
    background: #f3f3f3;
}

label {
    font-weight: 500;
    font-size: 24px;
    letter-spacing: 0%;
}

.selected {
    font-weight: 400;
    font-size: 16px;
    line-height: 20px;
    letter-spacing: 0%;
}

@media (max-width: 1023px) {

    /* للتابلت */
    .services .grid-container {
        grid-template-columns: repeat(2, 1fr);
        /* 2 عمود */
    }
}


/* --- Responsive (Mobile) --- */
@media (max-width: 992px) {
    .mobile-menu-icon {
        display: block;
    }

    .nav-menu {
        display: none;
        /* مخفية في الموبايل */
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: white;
        padding: 20px;
        box-shadow: 0 10px 15px rgba(0, 0, 0, 0.05);
        border-top: 1px solid #eee;
    }

    .nav-menu.active {
        display: block;
    }

    /* تظهر عند الضغط */

    .nav-menu ul {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    .success-partners .body {
        gap: 10px;
    }

    .success-partners .body div {
        width: 48%;
    }

}

/* 2. الموبايل (أقل من 768px) */
@media (max-width: 767px) {
    .first-row {
        flex-direction: column;
        /* تحويل الاتجاه لرأسي */
        justify-content: center;
        text-align: center;

    }

    .first-row .col1,
    .first-row .col2,
    .first-row .col3,
    .first-row .col4 {
        width: 100%;
        /* العمود ياخد العرض كامل */
        margin-bottom: 30px;
    }

    .first-row .col4 {
        display: flex;
        flex-direction: column;
        align-items: center;
        /* يخلي الكتلة كلها في نص الصفحة */
        text-align: right;

    }

    .first-row .col4 svg {
        flex-shrink: 0;
        /* يمنع انضغاط الأيقونة */
        width: 20px;
        /* توحيد المقاس */
        height: 20px;
        display: block;
        min-width: 20px;
    }

    .social-icons {
        justify-content: center;
    }

    .second-row {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .left-content {
        justify-content: center;
    }

    .col4 div {
        display: flex;
        align-items: center;
        width: 280px;
        gap: 15px;
        margin-bottom: 12px;

    }

    .story .section-content {
        flex-direction: column;
        /* النص والصورة يصطفوا عمودي */
        gap: 20px;
        /* مسافة بين النص والصورة */
    }

    .story .section-content img {
        max-width: 100%;
        /* الصورة تاخد العرض كامل */
    }

    .story .section-content .white,
    .story .section-content .purple {
        display: none;
    }

    .services .section-header p {
        width: 100%;
    }

    .services .grid-container {
        grid-template-columns: 1fr;
        /* عمود واحد */
    }

    .services .section-header .section-details {
        flex-direction: column;
        gap: 20px;
    }

    .services .section-header button {
        width: 98%;
    }

    .hero .buttons {
        flex-direction: column;
        width: 100%;
    }

    .hero button {
        width: 100%;
    }

    .hero-content {
        width: 80%;
    }

    .hero {
        align-items: center;
    }

    .success-partners .body div {
        width: 100%;
    }

    .hero-content h1 {
        line-height: 49px;
    }

}

