/*

Theme Name: Default

Theme URI: https://www.be4e-marketing.com/

Description: Default Theme By Be Group

Author: Ahmed Ramy

Author URI: https://www.be4e-marketing.com/

Template: Divi

Version: 1.0.0

License: GNU General Public License v2 or later

License URI: https://www.be4e-marketing.com/

*/

.et_pb_section {
    aspect-ratio: auto !important;
}

.et_pb_section img {
    width: 100%;
    height: auto;
}
/*.et_pb_with_background {
    background-size: cover;
    background-position: center;
    min-height: 0px;*/ /* adjust based on design */
/*}*/
#main-content .et_pb_slider.et_pb_slider_fullwidth {
    min-height: 380px; /* adjust to your design */
    overflow: hidden;
}

/*Sticky Buttons*/
.sticky-buttons{position:fixed; bottom:0; z-index:1000;}
.sticky-buttons.left{left:0;}
.sticky-buttons.right{right:0;}
.sticky-buttons a{display:flex; align-items:center; justify-content:center; margin:10px; color:#fff; fill:#fff; 
background-color:#208CFA; box-shadow:0 2px 5px 0px #777; transition:.4s all;}
.sticky-buttons.square a{border-radius:0;}
.sticky-buttons.rounded a{border-radius:12px;}
.sticky-buttons.round a{border-radius:50%;}
.sticky-buttons.small a{width:40px; height:40px; font-size:22px;}
.sticky-buttons.medium a{width:50px; height:50px; font-size:28px;}
.sticky-buttons a:hover{cursor:pointer; color:#9ec41d; fill:#fff;}
.sticky-buttons a.whatsapp{background-color:#208CFA;}
.sticky-buttons a.messenger{background-color:#fff;}
.sticky-buttons.inactive a.sticky_toggler, .sticky-buttons a.sticky_toggler{transform:rotate(0deg);}
.sticky-buttons.active a.sticky_toggler{transform:rotate(180deg);}
.sticky-buttons a svg{width:75%; height:75%;}
.sticky-buttons .hidden-data{background-color:#E9EBEF; width:500px; margin:10px 0; padding:10px; font-size:16px; position:fixed; bottom:0; z-index:101; box-shadow:0 2px 5px 0px #777; transition:.4s all;}
.sticky-buttons.square .hidden-data{border-radius:0;}
.sticky-buttons.rounded .hidden-data, .sticky-buttons.round .hidden-data{border-radius:5px;}
.sticky-buttons.small .hidden-data{max-width:calc(100% - 70px);}
.sticky-buttons.medium .hidden-data{max-width:calc(100% - 80px);}
.sticky-buttons.left .hidden-data{left:0; transform:translateX(-100%);}
.sticky-buttons.active.left.small .hidden-data.active{transform:translateX(60px);}
.sticky-buttons.active.left.medium .hidden-data.active{transform:translateX(70px);}
.sticky-buttons.right .hidden-data{right:0; transform:translateX(100%);}
.sticky-buttons.active.right.small .hidden-data.active{transform:translateX(-60px);}
.sticky-buttons.active.right.medium .hidden-data.active{transform:translateX(-70px);}
.sticky-buttons .hidden-data form br{display:none;}
.sticky-buttons .hidden-data form textarea{height:auto; display:block; width:100%;}
.sticky-buttons .hidden-data form input:not(.wpcf7-submit), .sticky-buttons .hidden-data form select{line-height:36px!important; display:block; width:100%;text-align: right;padding: 0px 10px; border-radius: 50px;width: 99%;height: 35px;border: 1px solid #bbb; direction:rtl;}
 .sticky-buttons .hidden-data form textarea{display:block; width:100%;text-align: right;padding: 10px 10px; border-radius: 20px;width: 99%;border: 1px solid #bbb;}
.sticky-buttons .wpcf7-submit {
    width: -webkit-fill-available;
    border: 0;
    background: #208CFA;
    color: #FFF;
    font-size: 16px;
    padding: 8px;
    border-radius: 50px;
	cursor: pointer;
}
.sticky-buttons .hidden-data form .wpcf7-form-control-wrap{margin-top:5px!important; margin-bottom:5px!important; display:block;}


.subcategories-grid, .posts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.subcategory-item, .post-item {
    background: #fff;
    padding: 15px;
    border-radius: 20px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    text-align: right;
}
.subcategory-item:hover, .post-item:hover {
    background: #208CFA;
}

.subcategory-item img, .post-item img {
    width: 100%;
    max-height: 273px;
    border-radius: 8px;
}

.subcategory-title, .post-item h3 {
    font-family: montserrat-arabic-regular;
	font-size: 24px;
    margin: 10px 0;
}

.subcategory-item:hover .subcategory-title, .post-item:hover .subcategory-title, .subcategory-item:hover .subcategory-description, .post-item:hover .subcategory-description, .post-item:hover h3{
	color:#FFF;
}

.read-more-btn {
	font-family: montserrat-arabic-regular;
	font-size:18px;
    display: inline-block;
    margin-top: 10px;
    padding: 8px 15px;
    color: #000;
    text-decoration: none;
    border-radius: 24px;
	width: 100%;
}

.read-more-btn:after {
    content: "\34";
    font-family: 'ETmodules';
    font-size: 18px;
    float: left;
}

.subcategory-item:hover .read-more-btn , .post-item:hover .read-more-btn {
    background-color: #4DA3FB;
	color: #FFF;
}
@media only screen and (max-width:991px ){
.subcategories-grid, .posts-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr)!important;
    gap: 20px;
	}}

.page-id-5484 .subcategory-item img, .post-item img {
    width: auto;
	filter: brightness(0.5);
}