@charset "utf-8";

:root {
  --primary_color: #045D31;
  --secondary_color: #FF1919;
  --white: #ffffff;
  --black: #000000;
  --prograph_light: #5E5E5E;
  --prograph: #4B4B4B;
  --bg_light: #F1F1F1;
}

/* Start recall fonts*/

@font-face {
    font-family: 'Handicrafts-Regular';
    src: url('fonts/TheYearofHandicrafts-Regular.woff2') format('woff2'),
        url('fonts/TheYearofHandicrafts-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Handicrafts-Bold';
    src: url('fonts/TheYearofHandicrafts-Bold.woff2') format('woff2'),
        url('fonts/TheYearofHandicrafts-Bold.woff') format('woff');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

/* End recall fonts*/


::-moz-selection {
  /* Code for Firefox */
  background: var(--primary_color);
  color: var(--white);
  opacity: 10%;
}

::selection {
  background: var(--primary_color);
  color: var(--white);
  opacity: 10%;
}
/*--- .lg-outer This class is most important in light gallary  ---*/
.lg-outer {
  direction: ltr;
}

.ltr {
  direction: ltr;
}
.rtl {
  direction: rtl;
}

.font_bold {
  font-family: "Handicrafts-Bold" !important;
}

.font_regular {
  font-family: "Handicrafts-Regular" !important;
}

.prograph_color {
  color: var(--prograph);
}
.prograph_light_color {
  color: var(--prograph_light);
}

.white_color {
  color: var(--white);
}

.black_color {
  color: var(--black);
}

.primary_color {
  color: var(--primary_color) !important;
}

.secondary_color {
  color: var(--secondary_color) !important;
}

.bg_secondary_color {
  background-color: var(--secondary_color);
}

.bg_primary_color {
  background-color: var(--primary_color);
}

.bg_white {
  background-color: var(--white);
}

.bg_black {
  background-color: var(--black);
}
.bg_light {
  background-color: var(--bg_light);
}


a,
h3,
h2,
h1,
h4,
h5
 {
  font-family: 'Handicrafts-Bold' !important;
}
p,
span,
div,
li {
  font-family: 'Handicrafts-Regular' !important;
}

html,body{
  margin: 0;
  padding: 0;
}
p,
h1,
h2,
h3,
h4,
h5,
h6,
ul {
  margin: 0;
}

a {
  text-decoration: none !important;
}

.center {
  display: block !important;
  margin: auto !important;
}

.left {
  float: left !important;
}

.right {
  float: right !important;
}

.justify {
  text-align: justify !important;
}

.sticky {
  position: fixed;
  background-color: var(--bg_light);
  top: 0;
  right: 0;
  z-index: 20000;
  padding-top: 5px;
  width: 100%;
  box-shadow: rgba(0, 0, 0, 0.1) 0px 10px 15px -3px, rgba(0, 0, 0, 0.05) 0px 4px 6px -2px;
  animation: navbarAnimation 0.5s ease-in-out;  /* Animation when it sticks */
}
 /* Animation keyframes for the navbar */
 @keyframes navbarAnimation {
  from {
      top: -60px;  /* Start from above the screen */
      opacity: 0;
  }
  to {
      top: 0;  /* End at the top of the page */
      opacity: 1;
  }
}


/* to change the tooltips color and the background color */
.tooltip-inner {
  color: var(--white);
  font-size: 0.7rem;
}

.bs-tooltip-bottom .arrow::before,
.bs-tooltip-auto[x-placement^="bottom"] .arrow::before {
  border-bottom-color: var(--primary_color) !important;
}

.form-control:focus, .form-select:focus {
  border: none !important;
  box-shadow: 0 0 0 1px var(--primary_color);
}
.form-control, .form-select {
  border: 1px solid #9F9FA442 !important;
  background-color: var(--bg_light);
}

body[dir="rtl"] .form-control::placeholder ,.form-select,.form-label {
  color: #b1b1b1;
  font-family: 'Handicrafts-Regular';
}
body[dir="ltr"] .form-control::placeholder ,.form-select,.form-label {
  color: #b1b1b1;
  font-family: 'Handicrafts-Regular';
}
body[dir="rtl"] [type=email], body[dir="rtl"] [type=number], body[dir="rtl"] [type=tel], body[dir="rtl"] [type=url] {
    direction: rtl;
}
.underline-link {
  position: relative;
  display: inline-block;
  text-decoration: none;
}

.underline-link::after {
  content: '';
  position: absolute;
  bottom: -5px; /* Adjust based on font size */
  width: 0;
  height: 1px; /* Adjust based on the thickness of the underline */
  background-color: var(--black); /* Color of the underline */
  transition: width 0.3s ease; /* Adjust duration and easing as needed */
}
body[dir="ltr"] .underline-link::after {
left: 3px;
}
body[dir="rtl"] .underline-link::after {
right: 3px;
}

.underline-link.active::after {

  width: 80%;
}

.underline-link:hover::after {
  width: 80%;
}

body[dir="ltr"] .d-rtl{display: none;}
body[dir="rtl"] .d-ltr{display: none;}
/*--------------------Start page style ---------------------------*/
.navbar-nav .nav-link,.green_link,.search_icon{color:#00A54F;} 
.navbar-nav .nav-link:hover,.navbar-nav .nav-link.active,.green_link:hover{color:var(--primary_color);}
.border_primary{border-color: #00A54F !important;} 
.carousel-indicators button{height: 15px !important; width: 15px !important; border-radius: 50%; background-color: #D9D9D9 !important;}
.carousel-indicators button.active{height: 20px !important; width: 20px !important; background-color: var(--primary_color) !important;}
.carousel-indicators{margin-bottom: 3.8rem !important; align-content: center; align-items: center;  justify-content: center;}
.custom_link{min-width: 140px; border: 1px solid var(--primary_color) !important;}
.custom_link:hover{color: var(--primary_color) !important; }




/* Overlay */
.product-overlay,.ourBranches .card .overlay_content{
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: 
    opacity 0.4s ease,
    visibility 0.4s ease,
    transform 0.4s ease;
}

.product-card:hover .product-overlay,.ourBranches .card:hover .overlay_content{
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
/* Bottom color bar */
.color-bar {
  height: 10px;
  width: 50%;
  transition: width 2s;
  margin: 12px auto 0;
  border-radius: 20px;
}
.product-card:hover .color-bar {
  width: 70%;
}



.product-card {
  position: relative;
  overflow: hidden;
  text-align: center;
  cursor: pointer;
}

/* Container of sizes */
.product-sizes {
  position: absolute;
  left: 50%;
  bottom: 50px;
  transform: translateX(-50%) translateY(0) scale(0.8);
  display: flex;
  gap: 10px;

  opacity: 0;
  pointer-events: none;

  transition: 
    transform 0.6s cubic-bezier(.22,.61,.36,1),
    opacity 0.3s ease;
}

/* Half circle illusion using curve movement */
.product-card:hover .product-sizes {
  opacity: 1;
  pointer-events: auto;

  /* Move up + slight curve feeling */
  transform: 
    translateX(-50%) 
    translateY(-130px) 
    rotate(0deg);
}

/* Size pill style */
.product-sizes span {
  background: #fff;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 14px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
  cursor: pointer;
  transition: transform 0.3s ease;
}

.product-sizes span:hover {
  transform: translateY(-3px) scale(1.05);

}

.swiper-button-prev::after,
.swiper-button-next::after {
  display: none;
}

.swiper-button-prev i,
.swiper-button-next i {
  font-size: 40px;
  color: #C0C0C0;
}
.swiper-button-prev:hover i,
.swiper-button-next:hover i {
  font-size: 40px;
  color: #5e5e5e;
}



/* Swiper image style */
.qualitySwiper {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.12);
}

.qualitySwiper img {
  width: 100%;
  height: 350px;
  object-fit: cover;
}

.preview-swiper {
  width: 100%;
  overflow: hidden;
  position: relative;
}
.preview-swiper .swiper-wrapper {
 display: flex;
 align-items: center;
}

/* السلايد الأساسي */
.preview-swiper .swiper-slide-active img {
  position: relative;
  z-index: 2;
  opacity: 0.5;
  height: 300px;
}

/* السلايد التالي (الخلفي) */
.preview-swiper .swiper-slide-next {
  transform: translateX(80%);
  z-index: 1;
}
/* السلايد التالي (الخلفي) */
.preview-swiper .swiper-slide-prev {
  overflow: hidden;
}


/* قص حافة السلايد التالي */
.preview-swiper .swiper-slide-next img {
  opacity: 1;
}

.preview-swiper .swiper-slide {
  width: 80%;
  transition: all 0.6s ease;
}


.media-swiper {
  width: 100%;
  padding: 40px 0;
}

.media-swiper .swiper-slide {
  position: relative;
  width: 40%;
  transform: scale(0.85);
  transition: all 0.4s ease;
}
/* Black frame overlay for non-active slides */
.media-swiper .swiper-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 18px;
  background: rgba(0,0,0,0.45);  /* الإطار الغامق */
  transition: 0.4s ease;
  pointer-events: none;
}

/* Active slide بدون overlay */
.media-swiper .swiper-slide-active::after {
  background: rgba(0,0,0,0);
}

.media-swiper .swiper-slide-active {
  transform: scale(1.2);
  z-index: 2;
}

.media-swiper .swiper-slide img {
  width: 100%;
  height: 350px;
  object-fit: cover;
  border-radius: 18px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.btn_outline_primary{min-width:100px; border: 1px solid var(--primary_color); color: var(--primary_color);}
.btn_outline_primary:hover{color: var(--white); background-color: var(--primary_color);}

.gradent{height: 5px; width: 140px; border-radius: 13px;   transition: width 1.2s;
  background: #045D31;  /* fallback for old browsers */
  background: -webkit-linear-gradient(to right, #045D31, #00A54F);  /* Chrome 10-25, Safari 5.1-6 */
  background: linear-gradient(to right, #045D31, #00A54F); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
}
.Quality_brand .item:hover .gradent,.Our_values .item:hover .gradent{ width: 160px;}
.Quality_brand .item:hover .icon,.Our_values .item:hover .icon{ transform: scale(1.2); transition: all 0.4s ease-in-out;}
.Quality_brand .item .text,.Our_values .item .text,.ourBranches .card h5{  font-size: 2rem; }
.Quality_brand .item:hover .text,.Our_values .item:hover .text,.ourBranches .card:hover h5{ font-size: 1.7rem; transition: font-size 0.5s ease-in-out; }

.bg-gradient {
  position: absolute;
  top: 70%;
  transform: translateY(-70%);
  width: 12px;
  height: 190px;
  pointer-events: none;
  background: #045D31;
}
a.white_color:hover{color: #4B2517;}
.search_and_language .form-control{background-color: var(--white);}

.text-shape {
    position: relative;
    padding: 0 40px;
    display: inline-block;
    border: 1px solid #b1b1b150;
    animation: rotate-vert-center 3.5s cubic-bezier(0.455, 2.030, 0.515, 0.955) infinite both;
    animation-delay: 1s; /* initial delay before first run */
  }
  @keyframes rotate-vert-center {
    0%   { transform: rotateY(0deg); }
    100% { transform: rotateY(360deg); }
  }
  
  /* Green circles on sides */
  .text-shape::before,
  .text-shape::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 15px;
    height: 15px;
    background: green;
    border-radius: 50%;
    transform: translateY(-50%);
  }

  .text-shape::before {
    left: -9px;
  }

  .text-shape::after {
    right: -9px;
  }
  .Our_advantages .icon{border: 2px dashed var(--primary_color); width: 90px; height: 90px; }
  .Our_advantages .item:hover .icon{ animation: rotate-border 1s linear;  }
  .Our_advantages .item img{ right: 43%; top: 12px; }
  .Our_advantages .item:hover .icon_box{ transform: scale(1.1); transition: all 0.4s ease-in-out; }
  /* حركة الدوران */
@keyframes rotate-border {
  from { transform: rotate(0deg); }
  to   { transform: rotate(90deg); }
}

.img-zoom {
  overflow: hidden;      
}

.img-zoom img {
  width: 100%;
  height: auto;
  transition: transform 0.6s ease; 
}

.ourBranches .card:hover .img-zoom img {
  transform: scale(1.15); 
}

.custom_shadow{box-shadow: #00a5502c 0px -5px 25px, #47474713 0px -5px 10px;}
.pointer-event{cursor: pointer;}
/*----------------------------------------------------------------*/
/*--                  The media query Started                   --*/
/*----------------------------------------------------------------*/
/*--------------------Start mobile device style ---------------------------*/
@media screen and (max-width: 480px) {
  body, html  { overflow-x: hidden;}
 
  .carousel-indicators{margin-bottom: 1.5rem !important;}
  .preview-swiper .swiper-slide-next img {
    width: 300px;
  }
  footer .content{position: relative !important; background-color: #b12022;}
  .Our_advantages .item img{ right: 40%;}

  }


/*--------------------Start ipade and device style ---------------------------*/
@media (max-width: 991px) and (min-width: 480px) {
    body, html  { overflow-x: hidden;}
    footer .content{position: relative !important; background-color: #b12022;}
    .Our_advantages .item img{ right: 40%;}

}

/*--------------------Start small device style ---------------------------*/
@media (max-width: 1300px) and (min-width: 991px) {
    body, html  { overflow-x: hidden;}
  
}
/*--------------------Start laptop device (not HD screen) style ---------------------------*/
@media (min-width: 1300px) and (max-width: 1899px) {
    body, html  { overflow-x: hidden;}
  .container,.container-lg,.container-md,.container-sm,.container-xl { max-width: 1200px;}
  .carousel-indicators{margin-bottom: 7.8rem !important;}
 
}



/*--------------------Start Full HD device style ---------------------------*/
@media screen and (min-width: 1900px) {
      body, html  { overflow-x: hidden;}
  .container, .container-lg, .container-md, .container-sm, .container-xl, .container-xxl{ max-width: 1400px !important; }
  .carousel-indicators{margin-bottom:10.8rem !important;}

}