
html[lang="ar"] body {
  font-family: 'Cairo', sans-serif !important;
    font-weight: 400;

}

html[lang="en"] body {
  font-family: 'Montserrat', sans-serif !important;
  font-weight: 400;

}


/* Smooth transition */
.dropdown-menu {
  transition: all 0.3s ease;
}

.logo_color{
  color:  rgba(41, 69, 153);
}
.Copyright {
  background-color: rgba(41, 69, 153) !important;
  color: white !important;
}
.chat-float-container {
  position: fixed;
  bottom: 1.875rem;
  right: 1.875rem;
  z-index: 5555;
  display: flex;
  flex-direction: column-reverse;
  align-items: flex-end;
  gap: 0.9375rem;
}
.AboutUs_arabic ,.AboutUs ,.Catogery_Section ,.footer ,.Projects , .Imapct ,.Products_Section ,.Single_product_parent ,.Mission_Vision ,.CONTACT_US{
  margin-top: 7rem;
}
.footer_contact{
  margin-top: 0rem !important;
}
.wa-btn-popup {
  position: relative;
  width: 3.5rem;  
  height: 3.5rem; 
  cursor: pointer;
  border-radius: 50%;
  background-color: #2db742;
  box-shadow: 0 0.375rem 0.5rem 0.125rem rgba(0,0,0,0.14); 
  transition: all 0.3s;
}

.wa-btn-popup:hover {
  background-color: #28a337;
}

.wa-icon {
  font-size: 1.875rem; 
  color: #fff;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  transition: 0.4s;
}

.wa-close-icon {
  font-size: 1.5rem; 
  color: #fff;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0);
  opacity: 0;
  transition: 0.4s;
}

.wa-btn-popup.active .wa-icon {
  transform: translate(-50%, -50%) scale(0);
  opacity: 0;
}

.wa-btn-popup.active .wa-close-icon {
  transform: translate(-50%, -50%) scale(1);
  opacity: 1;
}

.wa-popup-chat-box {
  position: absolute;
  bottom: 4.375rem; 
  right: 1.875rem;  
  width: 25rem;    
  height: 13.75rem; 
  background: #fff;
  border-radius: 0.5rem;
  box-shadow: 0 0.375rem 1.25rem rgba(0,0,0,0.3); 
  overflow: hidden;
  display: none;
  flex-direction: column;
  z-index: 5550;
}

.wa-popup-heading {
  background: #2db742;
  color: #fff;
  padding: 0.9375rem; 
  font-weight: bold;
  font-size: 1.125rem; 
}

.wa-popup-content {
  padding: 0.9375rem; 
  flex: 1;
  overflow-y: auto;
}

.wa-popup-content-list {
  display: flex;
  flex-direction: column;
  gap: 0.625rem; 
}

.wa-popup-content-item a {
  display: flex;
  align-items: center;
  gap: 0.75rem; 
  text-decoration: none;
  color: #43474e;
  font-size: 1rem;
}

.wa-popup-content-item i {
  color: #2db742;
  font-size: 1.5625rem; 
}

.wa-popup-avatar {
  width: 2.5rem;
  height: 2.5rem;
  background: #2db742;
  border-radius: 50%;
}

/* Submenu يظهر على اليمين */
.dropdown-submenu {
  position: relative;
}

.dropdown-submenu .dropdown-menu {
  top: 0;
  left: 100%;
  margin-left: 0.1rem;
  margin-right: 0.1rem;
}

.footer_link i{
    font-size: 1rem;
}





.language_btn {
background-color:  rgba(41, 69, 153) !important;
color: white !important;
    width: 8rem;            
    height: 3.5rem;       
    border-radius: 1.5rem;  
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1rem !important;
    border: none;
    cursor: pointer;
    text-decoration: none;
}



.whatsapp-float:hover {
  transform: scale(1.1);
  color: white;
}

.title_section{
  font-size: 2.2rem !important;

}
.title_p{
  font-size: 1.2rem !important;
}
.navbar{
    background-color: white !important;
    z-index: 11;
    font-size: 1.3rem;
}

.carousel-inner::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.4);
  z-index: 5;
}
.Hero_image_section p {
  font-size: .8rem;
}

.carousel-inner::before {
  display: none;
}

.carousel-item img {
  filter: brightness(60%);
}

.carousel-control-prev,
.carousel-control-next {
  z-index: 10;
}
.carousel-item  {
  width: 100% !important;
  height: 100vh !important; 
}
.carousel-item img {
  width: 100%;
  height: 100%; 
  object-fit: cover;  
}
.Hero_image_section{
  position: absolute;
  content: "";
  top: 50%;
  left: 50%;
 transform: translate(-50%,-50%);
 z-index: 7!important;
 text-align: center !important;
 
}
.Hero_image_section h1{
  color: white!important;
  font-size: 3.9rem;
  text-shadow: 0.125rem 0.125rem 0.25rem rgba(0, 0, 0,.5);
   z-index: 7!important;
   margin-top: 2rem;
  margin-bottom: 0.5rem;
    font-weight: normal !important;

}
.Hero_image_section P {
  color: white!important;
  font-size: 1.5rem;
}
.carousel-control-prev,
.carousel-control-next {
  padding: 20px;   /* تكبير المساحة بدون تغيير مكان الزر */
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  transform: scale(2);
}

.Home_About:hover ,.Home_About_arabic:hover{
    color: rgba(41, 69, 153) !important;
}
.AboutUs p , .AboutUs_arabic p{
font-size: 24px;
}
.Home_About_hr ,.Home_About_hr_arabic {
  height: 2px;
  background: rgba(41, 69, 153);
  border: none;
  margin: 0;
  padding: 0;
  width: 0;
  opacity: 0;
}

.Home_About:hover + .Home_About_hr {
  animation: fadeGrow 0.5s forwards;
}
@keyframes fadeGrow {
  0%   { width: 0; opacity: 0; }
  100% {width: 11.125rem; opacity: 1; }
}

.image_About{
object-fit: cover;  
width :100%;
height: 100%;
}
.Imapct {
    background-image: url("/Content/UI/Assests/carsoul1.jpg");
    color: rgba(41, 69, 153) !important;
}
 
.Imapct_parent{
  display: grid;
    grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(1, 1fr); 
  gap: 0.625rem;
}
.Imapct_parent div {
  background-color: rgba(255, 255, 255, 0.1);
    color: rgba(41, 69, 153) !important;
  min-height: 100%;
  max-height: 100%;
}


.Imapct_parent div  p{
   font-size: 1.3rem !important;
}


/* Grid للـ categories */
.Catogery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.category-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.Catogery_Box {
    position: relative;
    height: 50vh;
    background-size: cover;
    background-position: 0% 0%;
    transition: background-position 0.3s ease;
    overflow: hidden;
    z-index: 9;
    cursor: pointer;
}

    .Catogery_Box:hover {
        background-position: 50% 50%;
    }

    .Catogery_Box::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0,0,0,0.4);
        z-index: 2;
    }

    .Catogery_Box p {
        position: absolute;
        bottom: 0;
        left: 3%;
        font-size: 3rem;
        color: white;
        z-index: 5;
        margin: 0;
    }



.images_Products{
  position: relative;
}
.img_Prodcuts_code{
  position: relative;
}
 



.product  {
  flex: 0 0 auto;
  width: 25rem;
  height: 20rem;
position: relative;
  text-align: center;
}

.product img  {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.product h3 {
  max-height: 5rem;      
  color: #fff;
  background-color: rgba(0,0,0,.4);
  transition: 0.3s;
  padding: .5rem 1rem; 
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100% ;
  margin: 0;
  
}
.product_Project {
  flex: 0 0 auto;
  object-fit: cover;
  min-width: 10rem;
  max-width: 10rem;
  min-height: 10rem;
  max-height: 10rem;
  text-align: center;
  margin-right: 20px;
}
.product_Project img{
 width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.scroller {
  width: 100%;
  overflow: hidden;
  padding-block: 2rem;
}

.scroller__inner {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap; 
  padding-block: 1rem;
}


.scroller[data-animated="true"] .scroller__inner {
  flex-wrap: nowrap;
  width: max-content;
  animation: scroll var(--_duration, 25s) var(--_direction, forwards) linear infinite;
}

.scroller[data-speed="fast"] { --_duration: 15s; }
.scroller[data-speed="normal"] { --_duration: 18s; }
.scroller[data-speed="slow"] { --_duration: 40s; }
.scroller[data-direction="right"] { --_direction: reverse; }
.scroller[data-direction="left"] { --_direction: forwards; }


@keyframes scroll {
  to { transform: translateX(calc(-50%)); }
}

.footer{
  background-image: url("/Content//UI/Assests/carsoul1.jpg");
  background-position: 50% 50%;
  background-repeat: no-repeat;
  position: relative;
  color: white;
  z-index: 5;
}
.footer .col-md-4 {
    color: white !important;
  z-index: 7 !important;
}
.footer_link{
  color: white !important;
  font-size: 1rem;
}

.Copyright .footer_link:hover{
  color: white !important;
}
.navbar-brand img {
  z-index: 8 !important;
  border-radius: 50%;
}
.social-links {
  display: flex;
  margin-top: 1.25rem;
}

.social-links a {
  width: 2.50rem;
  height: 2.50rem;
  background-color: rgba(41, 69, 153)!important;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: all 0.3s ease;
  color: white !important;
}



.footer .social-links a:hover {
  background-color:   rgba(255, 255, 255, 0.1)!important;
  transform: translateY(-3px);
}
.footer::before{
  position: absolute;
top: 0;
left: 0;
background-color: rgba(0, 0, 0,.6);
content: "";
width: 100%;
height: 100%;
}
/*Product page*/
.page_Header_Products{
 
  position: relative;
  width: 99vw;
  height: 50vh;
  background-size: cover;
  background-position: 100% 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  overflow: hidden;
}
.page_Header_Products::before{
  position: absolute;
top: 0;
left: 0;
background-color: rgba(0, 0, 0,.2);
content: "";
width: 100%;
height: 100%;
}
.page_Header_Products h2, .page_Header_Products p{
  z-index: 9 !important; 
  color: white !important;
   font-weight: normal !important
}
.page_Header_Products h2{
  font-size: 3rem;
     font-weight: normal !important

}
.page_Header_Products p ,.Products_Section p{
  font-size: 1.4rem;
}
.Products_Section p{
  font-size: 1.2rem;
}
.page_Header_Products::after{
  content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background-position: 0% 0%;
  background: linear-gradient(to bottom, transparent,white);
}
.Product_card {
  height: 24rem;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.Product_card img {
  width: 100%;
  min-height: 100%; 
  max-height: 100%; 
  object-fit: cover; 
}

.Product_card .card-body {
  flex: 1; 
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  position: absolute;
  bottom: 0;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
  left: 0;
   
}
.card-body h3 {
  font-weight: normal !important
}
.Product_card:hover  img {
  transform: scale(2);
  transition: transform 0.5s ease;
}
.Copyright h4 {
    font-size: 1rem !important; 
}

/* Single product*/

.Single_product {
  width: 100%;
  height: 30rem;
  position: relative;
}

.Single_product_child {
  width: 100%;
}

.img_header {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 1rem;
}


.img_child {
  width: 100%;
  height: 8rem; 
  border-radius: 1rem;

}
.product_details {
  background-color:#fff ;
  color: rgba(41, 69, 153) !important;
}
.product_details h2 {
  margin-bottom: 1rem;
}

.product_row {
  display: flex;
  align-items: flex-start; 
  margin-bottom: 0.7rem;
  gap: 0.5rem; 
}

.Single_product {
  overflow: hidden;
    border-radius: 1rem;

}

.Single_product img {
  transition: transform 0.3s ease;
}

.Single_product img:hover {
  transform: scale(1.5);
}

.label{
  color: rgba(41, 69, 153) !important;
  font-size: 1.7rem;
  font-weight: bold;
}
.product_details .value {
  color: black !important;
  font-size: 1.4rem;
  margin-top: .4rem;
} 

/**aBOUT US**/
.experience-box{
  position: absolute;
  top: 0rem;
  left: .8rem;
  background-color: rgba(41, 69, 153) !important;
  color: white;
  text-align: center;
  z-index: 10;
}

/*COntact us*/
.contact-info i {
      width: 60px;
    height: 60px;
    background-color: rgba(135, 106, 41, 0.1);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    /*ask*/
     color: rgba(41, 69, 153) !important;
     /* color: #876a29 !important; */
    font-size: 20px;
    flex-shrink: 0;
}
.contact-info {
  display: flex;
  align-items: center;
  gap: 10px; 
  color: black !important;
}
.contactform {
    background-color: #ffffff;

    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}
.contactformbutton{
  background-color: rgba(41, 69, 153) !important;
  color: white !important;
}
/* Arabic Pages */


@media ( min-width: 1144px) {
.Floor_Catogery p , .hand_made_Catogery p , .Cement_Catogery p{
font-size: 1.7rem;
left: 9%;
}

}

@media (max-width: 344px) and (max-height: 882px) {
  
  .Floor_Catogery p,
  .hand_made_Catogery p,
  .Cement_Catogery p {
    font-size: 1rem; 
    left: 5%; 
  }

  .images_Products img,
  .product {
    width: 12rem;  
    height: 7rem;  
  }

  .product h3 {
    font-size: 1rem;
  }
  .Copyright div {
padding-inline: 0 !important;
}
.page_Header_Products h2 {
  font-size: .5rem !important;
}
.Imapct_arabic h2 {
  font-size: 3rem !important;
}
.Imapct_arabic div p{
  font-size: 2rem !important;
}

}

@media (max-width: 576px) {
 
  .wa-popup-chat-box {
    width: 20rem;   
    height: 12rem;  
  }

  .wa-btn-popup {
    width: 3rem;    
    height: 3rem;   
  }

  .wa-icon {
    font-size: 1.5rem; 
  }

  .wa-close-icon {
    font-size: 1.25rem; /* 20px */
  }
  @keyframes fadeGrow {
    0%   { width: 0; opacity: 0; }
    100% { width: 5.5rem; opacity: 1; }  
  }
  .Catogery{
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  grid-template-rows: repeat(3, 1fr);  
}
.Floor_Catogery p , .hand_made_Catogery p , .Cement_Catogery p{
font-size: 2rem;
}

.images_Products img {
  min-height:12rem !important;
  max-height:12rem !important;
}

.Imapct_parent {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: repeat(4, auto);
  gap: 0.625rem;
  width: max-content;
  margin: auto;
}
  .Imapct_parent {
    grid-template-columns: 1fr; 
    grid-template-rows: repeat(4, auto);
    width: 90%; 
    margin: auto;
    gap: 0.5rem;  
  }

.Imapct_parent div {
    text-align: center;
    max-height: 150px !important; 
    font-size: 1rem !important; 
  }
.Imapct h2 {
  font-size: 1.6rem !important;
}

.Imapct_arabic h2 {
  font-size: 3rem !important;
}
.Imapct_arabic div p{
  font-size: 2rem !important;
}
.product {
  width: 15rem;
height: 8rem;
}
  .Floor_Catogery, .hand_made_Catogery, .Cement_Catogery {
    height: 15vh; 
  }
.product_Project{
  min-width: 10rem;
  max-width: 10rem;
  min-height: 5rem;
}
  .swiper-slide {
    height: 500px !important; 
  }
  .mySwiper {
  max-width: 100vw;  
  height: auto; 
  margin: 0 auto;
  position: relative !important;
  z-index: 7 !important;
    font-size: 1.7rem !important;

}
.mySwiper h1{
  font-size: 1.8rem;
}
.mySwiper p{
  font-size: 1rem; 

}
.Copyright div {
padding-inline: 0 !important;
}
.wa-popup-chat-box {
  right: 1rem;  
  width: 22rem;    
  height: 13.5rem; 
}
  .Product_card img ,.Product_card {
    min-height: 15rem; 
    max-height: 15rem;
  }
  .page_Header_Products p{
  font-size: .8rem;
}
.img_child {
  height: 5rem; 

}
.Single_product {
  height: 20rem;

}
.page_Header_Products h2{
  font-size: 1.3rem;
     font-weight: normal !important

}
.label{ 
  font-size: 1.3rem;
}

}
@media (min-width: 768px) and (max-width: 1024px) {
  .AboutUs div {
    width: 100%;
  }

.Floor_Catogery  , .hand_made_Catogery  , .Cement_Catogery {
      height: 20vh;
  }

  .Floor_Catogery p,
  .hand_made_Catogery p,
  .Cement_Catogery p {
    font-size: 1.4rem;
    left: 7%;
  }

  .images_Products img {
    min-height: 14rem !important;
    max-height: 14rem !important;
  }

  .Hero_image_section h1 {
    font-size: 3rem;
  }

  .Imapct_parent {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: auto;
    width: max-content;
    margin: auto;
  }

  .Imapct_parent div {
    text-align: center;
  }
  .Product_card img ,.Product_card {
    min-height: 15rem; 
    max-height: 15rem;
  }
  .Single_product {
  height: 20rem;

}
.img_child {
  height: 5rem; 

}
.product_details{
  width: 100% !important;
}
.Imapct_arabic h2 {
  font-size: 3rem !important;
}
.Imapct_arabic div p{
  font-size: 2rem !important;
}
.experience-box {
  width: 97% !important;
}
.card-body h3 {
  font-size: 1.25rem; /* حجم h4 تقريبا في Bootstrap */
  font-weight: normal !important;
}
}

@media (min-width: 992px) {

    /* افتح dropdown على hover */
    .nav-item.dropdown:hover > .dropdown-menu {
        display: block;
        margin-top: 0;
    }

    /* Submenu hover */
    .dropdown-submenu {
        position: relative;
    }

        .dropdown-submenu:hover > .dropdown-menu {
            display: block;
        }

        /* Position submenu to left for RTL */
        .dropdown-submenu .dropdown-menu {
           
            margin-right: 0.1rem;
        }
    .dropdown-submenu_ar {
        top: 0;
        right: 100%;
        left: auto;
    }
}