#links ul li a {
    color: black;
}

.toplead {
    direction: rtl;
    line-height: 2rem;


}

.toplead h3 {
    color: #d8d8d8;
}

.toplead>* {
    margin-block: 20px;
    color: #f5f5f5;
}




.midlead {
    direction: rtl;
}

.midlead h2 {
    margin-block: 3rem;
}

.callaction {

    width: min(100ch, 100%);
}


.callactioninner {
    display: flex;
    padding: 20px;
    gap: 2rem;
}

.callactioninner button {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
}

.callactioninner button .icon {
    font-size: 20px;
}

.callactioninner>* {
    flex-basis: 50%;
    padding: 12px;
    font-size: 16px;
    font-weight: 600;
    border: none;
    background-color: rgb(255, 136, 0);
    box-shadow: 0px 4px 12px rgba(133, 133, 133, 0.8);
    border-radius: 4px;
    color: white;


}

.callactioninner button:hover {
    background-color: rgb(225, 106, 0);
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    width: 100%;
    padding: 30px;
    box-sizing: border-box;
    direction: rtl;
}

.faq-item {
    background: #fff;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.faq-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

.faq-item h3 {
    font-size: 20px;
    margin-bottom: 12px;
    color: #2c7be5;
}

.faq-item p {
    font-size: 16px;
    color: #555;
    line-height: 1.7;
    margin-bottom: 10px;
}

.faq-item ul {
    padding-right: 20px;
    margin: 0;
}

.faq-item ul li {
    margin-bottom: 6px;
    font-size: 16px;
    line-height: 1.8;
    color: #333;
}

/* Responsive */
@media (max-width: 768px) {
    .faq-grid {
        grid-template-columns: 1fr;
        padding: 15px;
    }

    .faq-item h3 {
        font-size: 18px;
    }

    .faq-item p,
    .faq-item ul li {
        font-size: 15px;
    }
}




article {
    direction: rtl;

}

.pp {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
}


.pp1 {
    display: flex;
    justify-content: center;
    align-items: center;
}

.pp1p h1,
h2 {
    margin-bottom: 1rem;
}


.topleadcont {
    position: relative;
}

.topleadbannercont {
    position: relative;

    border-radius: 4px;

    /* Maintains a 16:9 aspect ratio */
    overflow: hidden;
    background-color: whitesmoke;
    width: 100%;
    height: 600px;
}

.topleadbannercont img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* key element */
.toplead {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;

    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;

    background: rgba(54, 54, 54, 0.8);
    padding: 1rem;






    /* center only if enough space */
    height: 100%;
}


.bcalltoaction {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    box-shadow: 0px 0px 1px #505050;
    padding: 1rem;
    border-radius: 4px;
}

.bcalltoaction h3 {
    color: rgb(78, 78, 78);
}

.topleaddesc {
    direction: rtl;
    margin-block: 1rem;
    font-size: 1rem;
    line-height: 2.4rem;
    color: #464646;


}

ul {
    list-style: none;
}

.brand {
    display: flex;
    gap: 2rem;
    padding: 1rem;
}

.brand>* {
    flex-basis: 50%;
}


.fixecategs {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    box-shadow: 0px 0px 4px rgb(182, 182, 182);
    padding: 2rem;
    border-radius: 1rem;
}

.card {
    box-shadow: 0px 0px 4px rgba(44, 44, 44, 0.2);
    border-radius: 8px;
    background-color: white;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1rem;
    transition: transform 0.2s ease;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0px 0px 4px rgba(44, 44, 44, 0.4);
}

.card a {
    height: 100%;
    width: 100%;
    text-decoration: none;
}

.thumb {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 8px;
    overflow: hidden;
    background-color: whitesmoke;
}

.thumb img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.title {
    margin-top: 1rem;
    text-align: center;
    color: rgb(73, 73, 73);
    font-size: 1rem;
    line-height: 1.4;
}


.posts {
    direction: rtl;
}

.whatsapp {
    background-color: rgb(37, 211, 102);
}

.whatsapp:hover {
    background-color: rgb(28, 156, 75) !important;
}



.brandthumb {
    position: relative;

    border-radius: 4px;
    aspect-ratio: 1/1;
    /* Maintains a 16:9 aspect ratio */
    overflow: hidden;
    background-color: whitesmoke;
    margin: 1rem;


}

.brandthumb img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}


.testimonialscards {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
}

.cimg {
    inline-size: 100px;

    margin-inline: auto;
}

.ppimg {
    inline-size: 80px;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 100vw;
}

.testimonialfooter {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
}

.testimonialscard {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex: 1;
    padding: 1rem;
    text-align: center;
}

.testimonialscont {
    margin-block: 1rem;
    background-color: #f7f7f7;
}

.benefitscards {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
}

.benefitscards>* {
    flex: 1;
    padding: 1rem;
}

.benefitscont {
    margin-block: 1rem;
}


.benefittextcont {
    margin-block: 2rem;
}

.benefitimgcont {
    position: relative;
    width: 100%;

    aspect-ratio: 16/9;
    /* Maintains a 16:9 aspect ratio */
    overflow: hidden;
    background-color: whitesmoke;

    border-radius: 12px;
}

.benefitimgcont img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}


.benefittextcont h3 {
    color: #0f0f0f;
}

.benefittextcont p {
    color: rgb(29, 29, 29);
}







.featurescont {
    text-align: center;
    padding: 2rem 1rem;
    background: #f9f9f9;
    border-radius: 12px;
    margin: 2rem auto;
}

.featurescont .section-title {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    font-weight: bold;
    color: rgb(72, 51, 146);
}

.featurescards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
}

.featurecard {
    background: #fff;
    border-radius: 10px;
    padding: 1rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: transform 0.2s ease;
}

.featurecard:hover {
    transform: translateY(-5px);
}

.featurecard h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: darkcyan;
}

.featurecard p {
    font-size: 0.9rem;
    color: #555;
}


/* Use a media query or container-query approach to override centering */
@media (min-height: 600px) {
    .toplead {
        justify-content: center;
    }
}

@media (max-height: 599px) {
    .toplead {
        justify-content: flex-start;
    }
}




@media only screen and (max-width: 768px) {

    .brand {
        display: grid;
    }

    .pp {
        display: grid;
    }

    .pp .pp2 img {
        display: block;
        width: 100%;
    }

    .benefitscards {
        display: block;
    }

    .benefitscard {
        width: 100%;
    }

    .testimonialscards {
        display: block;
    }
}

/* Media query for phones */
@media only screen and (max-width: 768px) {

    /* Styles for phones */
    /* Add your styles here */
    .callactioninner,
    .lead {
        display: grid;
    }

    .toplead {
        padding: 1rem;
    }

    .toplead h1 {
        line-height: 2.6rem;
        font-size: 1.7rem;
    }

    .toplead h3 {
        line-height: 2.2rem;
    }



}