/*

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/

*/



/*style the Divi blog pagination buttons*/

.pagination .alignleft a,
.pagination .alignright a {
  color: #ffffff;
	background: #0071fc;
	border: 2px solid #0070fc;
	padding: .7em 1.3em;
	border-radius: 50px;
	text-transform: capitalize;
	transition: all 0.3s ease-in-out;
}

/*style the Divi blog pagination buttons on hover*/

.pagination .alignleft a:hover,
.pagination .alignright a:hover {
	background: transparent;
  color: #0070fc;
	border: 2px solid #0070fc;
	transition: all 0.3s ease-in-out;
}
/*style the wp-pagenavi pagination links*/

.wp-pagenavi a,
.wp-pagenavi span {
	color: #000000;
	background: #f1f3f5;
	font-size: 1em !important;
	line-height: 1em;
	font-weight: bold !important;
	padding: 0.45em 0.8em !important;
	border-radius: 100px;
	transition: all .5s;
}


/*style the wp-pagenavi current page number*/

.wp-pagenavi span.current {
	color: #ffffff !important;
	background: #0070fc !important;
	border-radius: 100px;
}


/*style the wp-pagenavi pagination links on hover*/

.wp-pagenavi a:hover {
	color: #ffffff!important;
	background: #0070fc!important;
}


/*style the wp-pagenavi pages text*/

.wp-pagenavi .pages {
	background: none;
}


/*remove border and center the wp-pagenavi links*/

.wp-pagenavi {
	border-top: none;
	text-align: center;
	display: flex;
    align-items: center;
    justify-content: center;
}

.maxbutton-1.maxbutton{
	margin-right: 25px;
}

.ramy-contact-dsm .dp-col {
      margin-bottom: 10px;
  }

.widget_text{
	background-color: #66cc66;
    padding: 15px;
    border-radius: 15px;
    text-align: center;
}
.widget_text .et_pb_section {
    background-color: transparent;
}
.widgettitle{
	color: #fff;
}

.widget_recent_entries{
	background-color: #66cc66;
    padding: 15px;
    border-radius: 15px;
}
.widget_recent_entries.et_pb_widget li a {
    color: #FFF;
}

div#block-8{
	margin-bottom: -22px;
	text-align:center;
	color: #FFF;
}

/*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:#ccc; fill:#ccc; 
background-color:#66cc66; box-shadow:0 2px 5px 0px #777; transition:.4s all;}
.sticky-buttons.square a{border-radius:0;}
.sticky-buttons.rounded a{border-radius:5px;}
.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:#fff; fill:#fff;}
.sticky-buttons a.whatsapp{background-color:#4dc247;}
.sticky-buttons a.messenger{background-color:#0084FF;}
.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:#777; 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{line-height:36px!important; display:block; width:100%;}
.sticky-buttons .hidden-data form .wpcf7-form-control-wrap{margin-top:5px!important; margin-bottom:5px!important; display:block;}
/**/
/* ================== FAQ Accordion ================== */
/*.faqs-accordion .faq-item {
  margin-bottom: 20px;
  border: 1px solid #d9d9d9;
  border-radius: 16px;
  padding: 20px;
  background: #fff;
}
.faqs-accordion .faq-item.open {
  background: #B3C94C;
}
.faqs-accordion .faq-item.open .faq-answer,
.faqs-accordion .faq-item.open .faq-question {
  color: #B88731 !important;
}
.faqs-accordion .faq-question {
  font-family: 'shubbak-bold', Helvetica, Arial, Lucida, sans-serif;
  font-size: 20px;
  color: #0a2c69 !important;
  line-height: 1.4em;
  text-align: left;
  cursor: pointer;
  position: relative;
}
.faqs-accordion .faq-question .toggle-icon {
  font-size: 24px;
  margin-right: 10px;
  display: inline-block;
  float: right;
  transition: transform 0.3s ease;
}
.faqs-accordion .faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  font-family: 'shubbak-light', Helvetica, Arial, Lucida, sans-serif;
  font-weight: 700;
  font-size: 18px;
  color: #0a2c69 !important;
  line-height: 1.4em;
  text-align: right;
  margin-top: 10px;
}
.faqs-accordion .faq-item.open .faq-answer {
  max-height: 1000px;
}
.faqs-accordion .faq-item.open .faq-question .toggle-icon {
  transform: rotate(180deg);
}*/
.faqs-accordion {
  max-width: 800px;
  margin: 0 auto;
  direction: ltr; /* مهم عشان النص يبقى من اليمين للشمال */
}

.faq-item {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.05);
  margin-bottom: 15px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-question {
  cursor: pointer;
  font-weight: 600;
  font-size: 18px;
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: left;
}

.faq-text {
  flex: 1;
  margin-left: 15px;
  color: #B88731;
  font-size: clamp(1.25rem, 1.063rem + 0.833vw, 1.5rem);
}

.toggle-icon {
  background: #485628; /* اللون الاخضر */
  color: #fff;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease, background 0.3s ease;
  flex-shrink: 0;
}

.icon-arrow {
  transition: transform 0.3s ease;
}

.faq-answer {
  display: none;
  padding: 0 20px 20px 20px;
  color: #828282;
  text-align: left;
  font-size: 18px;
}

.faq-item.active .faq-answer {
  display: block;
}

.faq-item.active .icon-arrow {
  transform: rotate(180deg);
}
