@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&family=Noto+Kufi+Arabic:wght@100..900&family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');
:root {
    --color-p-1: #3f8c8c ;
    --color-p-2: #60a69f ;
    --color-p-3: #95bfb8 ;
    --color-p-4: #cac2bd ;
    --color-p-4: #a99b8e ;
    --submit: rgb(25, 203, 123);
    --submit-hover: rgb(31, 255, 154);
    --bahri: #082f45;
    --bahri-hover: #1d699e;
    --danger: #ff5757;
}

/* ____________________ BODY __________________ */
body {
    display: flex;
    flex-direction: column;
    font-family: Roboto, sans-serif;
}

body[lang="ar"] {
  font-family: 'Noto', sans-serif; /* Arabic font */
}

/* RTL-specific adjustments */
html[dir="rtl"] .navbar-nav {
  padding-right: 0;
}

html[dir="rtl"] .dropdown-menu {
  text-align: right;
}

html[dir="rtl"] .ms-auto {
  margin-right: auto !important;
  margin-left: 0 !important;
}

html[dir="rtl"] .me-auto {
  margin-left: auto !important;
  margin-right: 0 !important;
}

/* Flip icons in RTL mode */
html[dir="rtl"] .bi-chevron-right::before {
  content: "\f284"; /* Bootstrap icon code for chevron-left */
}

/*input:focus {
  border-color: var(--submit) !important;
  box-shadow: 0 0 5px var(--submit) !important;
}
.form-control:focus {
  border-color: var(--submit) !important;
  box-shadow: 0 0 5px var(--submit) !important;
}*/

/****** Nav Bar *****/
header .navbar-toggler,
header .navbar-toggler:focus,
header .navbar-toggler:active,
header .navbar-toggler-icon:focus {
    outline: none;
    box-shadow: none;
    border: none;
}

header .navbar-toggler span {
    margin: 0;
    padding: 0;
}

#banner {
  width: 100%;
}

#banner img {
  width: 75%;
}
/***** Hide input 'arrows' type=number ****/
/* Chrome, Safari, Edge, Opera */
input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
/* Firefox */
input[type="number"] {
    -moz-appearance: textfield;
}

/* select option:first-child {
  color: gray;
} */

/****** Buttons *****/
#submit {
  background: transparent;
  border: none;
  overflow: hidden;
  outline: none;
  padding: 0 5px;
  color: #fff;
  width: 100%;
}

#bahri-button{
  background-color: var(--bahri);
  cursor: pointer;
  transition: all 0.3s ease-in-out;
  color: #fff;
  width: 50%;
}

#search-button {
  background-color: var(--bahri);
  cursor: pointer;
  transition: all 0.3s ease-in-out;
  color: #fff;
  width: 15%;
}

#bahri-button a,
#plus-button a,
#search-button a {
  text-decoration: none;
  color: #fff;
}

#bahri-button i,
#plus-button i,
#search-button i {
  font-size: 16px;
  color: #fff;
}

#bahri-button:hover,
#plus-button:hover,
#search-button:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

/****** a Elements *****/
#a {
  text-decoration: none;
  color: var(--bahri-hover);
  font-weight: 500;
}

#a:hover {
  color: var(--bahri);
}

#flash {
  width: 50%;
}
/* ____________________ HEADER __________________ */

/****** HEADER 1 *****/
#nav-cat {
    color: var(--bahri);
    text-decoration: none;
}
#nav-cat:hover {
    color: var(--bahri-hover);
}
#connect {
    background-color: var(--submit);
    border: none;
    cursor: pointer;
    transition: .4s;
}
#connect:hover {
    background-color: var(--submit-hover);
}

#connect a {
  text-decoration: none;
  color: #fff;
}

#connect a p{
  font-size: 18px;
  color: #fff;
}

#connect i {
    color: #fff;
}

#user-list i {
  color: rgba(128, 128, 128, 0.598);
  margin-right: 5px;
}
#userDropdown {
  background-color: var(--submit);
  color: #fff;
}

#userDropdown:hover {
  background-color: var(--submit);
}

#navbar-ul {
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  align-items: center;
  height: 100%;
}

#header-buttons {
  display: flex;
  padding: 0 10px;
  width: 100%;
  margin: 0;
  justify-content: space-between;
  gap: 20px;
}


/****** Header 2 *****/
.card-title {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

#carousel {
  color: #181818;
  text-decoration: none;
}

#search-input i{
  color: var(--bahri);
  font-size: 20px;
  margin: 0 6px;
}

#select-search {
  background: transparent;
  border: none;
  outline: none;
  
}

#diconnected {
  background-color: rgb(194, 2, 2);
  color: #fff;
  padding: 5px 10px;
  border-radius: 20px;
  font-size: 14px;

}

#diconnected i {
  color: #fff;
}


/* ____________________ MAIN __________________ */



/* Homepage Products Section*/
#prix {
  color:var(--submit);
  font-size: 18px;
  font-weight: 600;
}
#prix2 {
  color:var(--submit);
  font-size: 30px;
  font-weight: 600;
}
#title-icon {
    background-color:rgba(128, 128, 128, 0.116);
    border-radius: 20px;
    margin: 0;
    padding: 0; 
    margin-right: 15px;
}
#product-icons i {
  color: rgba(128, 128, 128, 0.635);
  font-size: 20px;
}
#product-icons a {
  transition: transform 0.3s ease;
}
#product-icons a:hover {
  transform: scale(1.2);
}
#icon1:hover i {
  transform: scale(1.2);
  color: var(--submit);
}
#icon2:hover i {
  transform: scale(1.2);
  color: rgb(186, 6, 6);
}

#icon3:hover i {
  transform: scale(1.2);
  color: #007bff;
}

/* Another Pages*/
#hidden-label {
  display: none;
}
#label_style {
  margin: 10px;
}
legend {
  font-weight: 600;
}



/* ____________________ FOOTER __________________ */

#footer-menu i {
    color: #082345;
}

#support i{
  color: #082345;
  font-size: 38px;
  margin-right: 5px;
}

/* Sociel Media */
#sociel-media  i {
  font-size: 30px;
  background: linear-gradient(180deg, var(--bahri-hover), var(--bahri));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

#sociel-media a {
  transition: transform 0.3s ease;
}

#sociel-media a:hover {
  transform: scale(1.1);
}

#sociel1:hover i,
#sociel2:hover i,
#sociel3:hover i,
#sociel4:hover i,
#sociel5:hover i {
  transform: scale(1.1);
  color: #1d699e;
}

/* ____________________ Slide __________________ */
.slide-container{
  max-width: 1120px;
  width: 100%;
  padding: 40px 0;
}
.slide-content{
  margin: 0 40px;
  overflow: hidden;
  border-radius: 25px;
}
.card{
  border-radius: 25px;
  background-color: #FFF;
}

.overlay{
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 100%;
  background-color: #4070F4;
  border-radius: 25px 25px 0 25px;
}
.overlay::before,
.overlay::after{
  content: '';
  position: absolute;
  right: 0;
  bottom: -40px;
  height: 40px;
  width: 40px;
  background-color: #4070F4;
}
.overlay::after{
  border-radius: 0 25px 0 0;
  background-color: #FFF;
}

.swiper-navBtn{
  color: #6E93f7;
  transition: color 0.3s ease;
}
.swiper-navBtn:hover{
  color: #4070F4;
}
.swiper-navBtn::before,
.swiper-navBtn::after{
  font-size: 35px;
}
.swiper-button-next{
  right: 0;
}
.swiper-button-prev{
  left: 0;
}
.swiper-pagination-bullet{
  background-color: #6E93f7;
  opacity: 1;
}
.swiper-pagination-bullet-active{
  background-color: #4070F4;
}

#vertical-slide img{
  width: 220px;
}

.no-product-message {
  margin: 20px;
  font-size: 20px;
  color: #555; 
  text-align: center; 
  background-color: #f9f9f9; 
  padding: 15px; 
  border-radius: 8px; 
  border: 1px solid #ddd; 
  display: inline-flex; 
  align-items: center; 
  gap: 10px;
}

.no-product-message i {
  color: #555;
  cursor: auto;
}

.homepage-title {
  margin-top: 3rem;
  font-size: 2rem;
  color: var(--bahri);
  text-align: center;
  font-weight: bold;
  text-transform: capitalize;
  letter-spacing: 1px;
  position: relative;
}

.homepage-title2 {
  font-size: 2rem;
  color: var(--bahri);
  font-weight: bold;
  text-transform: capitalize;
  letter-spacing: 1px;
  position: relative;
}

.homepage-title2::after {
  content: "";
  display: block;
  width: 20%;
  height: 4px;
  background: var(--submit);
  border-radius: 2px;
  transition: background 0.3s ease-in-out;
}

.homepage-title::after {
  content: "";
  display: block;
  width: 10%;
  height: 4px;
  background: var(--submit);
  margin: 0.5rem auto 0;
  border-radius: 2px;
  transition: background 0.3s ease-in-out;
}

.homepage-title:hover::after , .homepage-title2:hover::after{
  background: var(--submit-hover);
}

/********** Footer Pages Style ********/
#faq-header {
  margin-top: 3rem;
  background: linear-gradient(to right, var(--bahri), var(--bahri-hover), var(--bahri));
  background-size: cover;
  color: white;
  padding: 50px 0;
  text-align: center;
  border-radius: 5px;
}
#faq-header h1 {
  font-size: 3rem;
  font-weight: bold;
  text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.7);
}
#faq-header p {
  font-size: 1.2rem;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}



/***************** Mobile Version ******************/
@media only screen and (max-width: 600px) {

  #flash {
    width: 95%;
  }

  /*** Header 1****/
  #header1 {
    display: flex;
    width: 100%;
    justify-content: space-between;
    font-size: 16px;
  }

  /* Homepage Title */
  .homepage-title,
  .homepage-title2 {
    font-size: 1.7rem;
  }

  #logo img{
    width: 70px;
    height: 70px;
  }

  #navbar-ul {
    display: block;
    justify-content: space-around;
    align-items: center;
    height: 100%;
    padding: 15px;
  }

  #header-buttons {
    margin-top: 1rem;
    flex-direction: column;
    gap: 10px;
  }

  #connect {
    font-size: 16px;
  }

  #search-button {
    width: 80%;
  }

  #userDropdown {
    width: 100%;
  }


  /*** Header 2****/
  #header2 {
    gap: 20px;
  }

  #header2 #search-input {
    width: 100%;
  }

  #banner img {
    width: 80%;
  }

  /*** Footer ****/
#footer4 nav{
  text-align: center;
}

} 





