#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);
}


.accordion {
    width: 100%;

    margin-block: 40px;
    border: 1px solid #ccc;
    border-radius: 4px;
    direction: rtl;
    /* Right-to-left text direction */
}

.accordion-item {
    border-bottom: 1px solid #ccc;
    font-weight: 500;
}

.accordion-header {
    background-color: #f5f5f5;
    padding: 15px;
    font-size: 18px;
    cursor: pointer;
    position: relative;
    text-align: right;
    /* Align text to the right */
}

.accordion-header::after {
    content: '\02795';
    /* Unicode character for "plus" sign */
    font-size: 13px;
    color: #777;
    position: absolute;
    left: 20px;
    /* Move the icon to the left */
    top: 50%;
    transform: translateY(-50%);
}

.accordion-content {
    display: none;
    padding: 15px;
    background-color: #fff;
    font-size: 16px;
    line-height: 1.6;
    text-align: right;
    /* Align content text to the right */
}

.accordion-item.active .accordion-content {
    display: block;
}

.accordion-item.active .accordion-header::after {
    content: '\2796';
    /* Unicode character for "minus" sign */
}


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%;
}

.topleaddesc {
    direction: rtl;
    margin-block: 2rem;
    font-size: 1.2rem;
    line-height: 2.4rem;


}

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;
}





/* 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%;
    }


}

/* Media query for phones */
@media only screen and (max-width: 768px) {

    /* Styles for phones */
    /* Add your styles here */
    .callactioninner,
    .lead {
        display: grid;
    }

    .toplead {
        padding: 0rem;
    }

    .toplead h1 {
        line-height: 2.6rem;
        font-size: 1.7rem;
    }

    .toplead h3 {
        line-height: 2.2rem;
    }



}