img {
    -webkit-user-drag: none;
    user-select: none;
    pointer-events: none;
}


.centermy{
	text-align: center;
}

.sizemy {
	font-size : 22px;
	text-align: justify;
	line-height: 1.8;
	direction: rtl;
}

.sizemy2 {
	font-size : 22px;
	line-height: 1.8;
}

.sizemy3 {
	font-size : 24px;
	text-align: right;
}

.sizemy4 {
	font-size : 20px;
	text-align: justify;
	line-height: 1.6;
	direction: rtl;
}

.soft-text{
    font-size: 15px;
    color: #999;
    font-weight: 300;
}

.dmy {
	text-align:right;
}

.dmyyy {
	text-align:right;
	direction: rtl;
}

.dmycenter {
	text-align:center;
}

 .ddmy {
	direction: rtl;
}

.ddmyy {
 direction: rtl;
 text-align: justify;
}

.imgsizemy{
 height: 60px ;
 width: 60px ;
 margin-right: 10px ;
}

.imgsizapp{
 height: 150px ;
 width: 450px ;
}

.imgsizemy2{
 height: 70px ;
 width: 70px ;
 margin-bottom: 10px ;
}

.imgsizemy3{
 height: 80px ;
 width: 80px ;
 margin-bottom: 20px ;
 margin-top: 20px ;

}

.navbar-nav{
	direction: rtl;
}

.fontcolormy{
	color: #373737 ;
	font-size: 22px ;
}

.fontcolorred{
	color: #880817 ;
	font-size: 18px ;
}
.footersizemy{
	font-size: 18px ;
	text-align: justify;
}

@media only screen and (min-width : 100px) and (max-width : 800px) {

.imgsizapp {
	height: 100px ;
	width: 300px ;
}

.fontsizemy {
  font-size : 5px;
}
}

@media (min-width: 100px) and (max-width: 850px) {
  .resmob {
    height: 27px ;
		width: 50px;
  }
}



#section-portfolio{
    background: url('../images/b3.jpg') no-repeat center center;
    background-size: cover;
    background-attachment: fixed;
    position: relative;

    padding-top: 20px !important;
    padding-bottom: 20px !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

#section-portfolio::before{
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    background: transparent;
}

#section-portfolio .container{
    position: relative;
    z-index: 2;
}

/* إذا container بيه فراغ */
#content{
    margin: 0 !important;
    padding: 0 !important;
}

.client-box{
    text-align: center;
    padding: 15px 10px;
    border-radius: 12px;
    transition: all 0.3s ease;
    border: 1px solid #e5e5e5;   /* يبين المربع */
    background: #fff;
    min-height: 170px;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.client-box img{
    height: 100px;
    width: 100px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

/* Hover */
.client-box:hover{
    transform: translateY(-5px);
    box-shadow: 0 6px 15px rgba(0,0,0,0.12);
    border-color: #ddd;
}

/* Zoom */
.client-box:hover img{
    transform: scale(1.08);
}

/* اسم العميل */
.client-name{
    margin-top: 12px;
    min-height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
    color: #000 !important;
}

#subheader{
    position: relative;
    overflow: hidden;
    min-height: 300px;   /* كان 220 صار أصغر */
    display: flex;
    align-items: center;
}

/* صورة الخلفية */
.subheader-bg{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;        /* حتى ما تطلع زيادة */
    height: 100%;
    object-fit: cover;
    z-index: 0;
    animation: moveBg 12s ease-in-out infinite alternate;
}

/* تغميق */
.subheader-overlay{
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.35);
    z-index: 1;
}

/* النص */
#subheader .container{
    position: relative;
    z-index: 2;
}

#subheader h1,
#subheader .crumb{
    color: #fff;
    margin: 0;
}

/* نخفي أي صورة زايدة جوه */
#subheader img:not(.subheader-bg){
    display: none;
}

/* الحركة */
@keyframes moveBg{
    0%{
        transform: scale(1) translateX(0);
    }
    100%{
        transform: scale(1.06) translateX(15px);
    }
}


.product-link{
  text-decoration: none;
  color: inherit;
}

/* البوكس */
.product-box{
  border-radius: 18px;
  overflow: hidden;
  background: #740202;
  text-align: center;
  transition: all 0.35s ease;
  position: relative;
  margin-top: 20px;
   margin-bottom: 20px;
}

/* hover */
.product-box:hover{
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 12px 28px rgba(0,0,0,0.12);
}

/* الصورة */
.product-img{
  padding: 8px;   /* كان 18px */
  overflow: hidden;
}

.product-img img{
  width: 100%;
  height: 280px;   /* كان 200 */
  object-fit: cover;   /* بدل contain */
  border-radius: 14px;
  transition: transform 0.4s ease;
}

.product-box:hover img{
  transform: scale(1.06);
}

/* موبايل */
@media(max-width:768px){
  .product-img img{
    height: 180px;   /* بدل 140 */
  }
}

/* الاسم */
.product-name{
  padding: 12px 10px 16px;
  font-size: 16px;
  font-weight: 600;
  color: #FFF;
  min-height: 50px;
}

/* خط بسيط متحرك */
.product-box::after{
  content: "";
  position: absolute;
  left: 50%;
  width: 0;
  height: 3px;
  background: #d4af37;
  transition: all 0.35s ease;
  transform: translateX(-50%);
}


.product-name{
  font-size: 14px;
  min-height: 42px;
}


.lang-menu > a{
    font-weight: 600;
    color: #fff;
}

.lang-menu > a i{
    margin-right: 5px;
    font-size: 16px;
}

.lang-menu ul{
    min-width: 140px;
}

.lang-menu ul li a{
    padding: 10px 15px;
}

.mobile-only{
    display: none !important;
}

@media (max-width: 768px){
    .mobile-only{
        display: block !important;
    }
}
