@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;600;700&display=swap');

/* CSS for All */
body,
h1,
h2,
h3,
h4,
p,
ul,
li,
div,
a,
section,
footer {
  margin: 0;
  padding: 0;
  font-family: Arial, Helvetica, sans-serif;
}

body {
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}




.img-curve {
  border-radius: 15px;
}

.text-right {
  text-align: right;
}

.text-center {
  text-align: center;
}

.text-white {
  color: white;
}

.clearfix {
  clear: both;
  float: none;
}

a:hover {
  color: #630d87;
}

h2 {
  font-family: "Roboto", sans-serif;
  font-weight: 100;
  font-size: clamp(1.2rem, 3vw, 2rem);
  margin-bottom: 2%;
  background: linear-gradient(45deg, #6a2388, #690993);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

h3 {
  font-size: clamp(1.7rem, 1.4vw, 3rem);
  font-weight: bold;
}

h4 {
  color: #630d87;
  font-size: clamp(0.7rem, 1.2vw, 1.5rem);
}

.float-container {
  position: relative;
}

.float-text {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  text-align: center;
  margin-bottom: 10px;
}

/* CSS for navbar section */

/* logo */
.logo {
  width: 8%;
  float: left;
}

.logo .img-responsive {
  border-radius: 100%;
  object-fit: cover;
}

/* menu navbar */
.menu {
  line-height: 60px;
}

.menu ul {
  list-style-type: none;
  display: flex;
  align-items: center;
  justify-content: right;
}


.menu ul li {
  display: inline;
  padding: 2%;
  font-weight: bold;
}

.menu ul li a {
  text-decoration: none;
  color: #630d87;
  font-weight: bold;
  font-size: clamp(rem, 0.9vw, 1.5rem);
}

.menu ul li a.active {
  color: #ec5558;
}

.menu ul li a:hover {
  color: #f87d7f;
}

.cart-icon-wrapper {
  display: flex;
  align-items: center;
  position: relative;
  margin-left: 15px;

}

/* icon */
.cart-icon-wrapper button {
  padding: 0;
  border: none;
  background: none;
  cursor: pointer;
}

/* badge */
.cart-icon-wrapper .badge {
  position: absolute;
  top: -2px;
  right: -7px;
  background-color: red;
  color: white;
  border-radius: 50%;
  padding: 0;
  width: 15px;
  height: 15px;
  font-size: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cart-icon-wrapper i {
  margin-bottom: 1.1rem;
  color: #630d87;
  outline: none;
}

.cart-icon-wrapper i:focus {
  outline: none;
  box-shadow: none;
}

.cart-item img {
  width: 50px;
  height: 50px;
  object-fit: cover;
  border-radius: 5px;
}

.cart-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.cart-item-details {
  flex-grow: 1;
  margin-left: 10px;
}

.quantity-control {
  display: flex;
  align-items: center;
}

.quantity-control button {
  margin-left: 5px;
  margin-right: 5px;
}

.quantity-control span {
  margin-top: 10px;
}

/* CSS for item Search Section */
.item-search {
  background: linear-gradient(45deg, #6a2388, #690993);
  background-position: center;
  padding: 4% 0;
}

.item-search input[type="search"] {
  width: 50%;
  padding: 1%;
  border: none;
  border-radius: 5px;
}

.item-search h1,
.item-search h1 span {
  font-family: "Roboto", sans-serif;
  font-weight: bold;
  font-style: normal;
  font-size: clamp(0.8rem, 4.8vw, 3.5rem);
  color: white;
  transition: color 5s;
  margin-left: 5px;
}



/* CSS for Categories */
.categories {
  padding-top: 2%;
  padding-bottom: 2%;
}

.container_custom1 {
  width: 100%;
  padding: 1%;
}

.container_custom {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;


}

.box-3 {
  width: 24%;
  height: 400px;
  border-radius: 15%;
  margin: 3%;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s, box-shadow 0.3s;
}

.box-3:hover {
  transform: scale(1.03);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}


.img-responsive {
  width: 100%;
}

.img-category-responsive {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* CSS for item Menu */
.item-menu {
  padding-bottom: 5%;
}

.item-menu-box {
  width: 43%;
  margin: 1%;
  padding: 2%;
  float: left;
  background-color: #f7f7f7;
  border-radius: 15px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s;
}

.item-menu-box:hover {
  transform: scale(1.03);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

.item-menu-img {
  width: 20%;
  float: left;
}

.item-menu-desc {
  width: 70%;
  float: left;
  margin-left: 8%;
}

.item-price {
  font-size: clamp(0.8rem, 1.3vw, 1.3rem);
  margin: 2% 0;
  font-weight: bold;

}

.item-detail {
  font-size: clamp(1rem, 1.2vw, 1.1rem);
  color: #747d8c;
}

/* CSS for Social */
.social {
  background: linear-gradient(45deg, #6a2388, #690993);
}

.social ul {
  list-style-type: none;
}

.social ul li {
  display: inline;
  padding: 1%;
}

.social img {
  width: 40px;
  height: 40px;
  margin: 0 10px;
  border-radius: 50%;
}

.social img:hover {
  transform: scale(1.1);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s, box-shadow 0.3s;
}

/*order container*/

.container-order {
  background-color: white;
  border-radius: 25px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
  overflow: hidden;
  width: 30vw;
  max-width: 100%;
  margin: 5% auto;

}

.header-order {
  border-bottom: 1px solid #f0f0f0;
  background: linear-gradient(45deg, #6a2388, #690993);
  padding: 20px 40px;
  border: none;
  text-align: center;
}

.header-order h3 {
  color: white;
  margin: 0;
  font-size: clamp(1rem, 1.9vw, 1.8rem);
  font-weight: bold;
}

.form {
  padding: 10px 40px;
}

.form-control {
  margin-bottom: 10px;
  padding-bottom: 20px;
  position: relative;
  border: none;
}

.form-control label {
  display: block;
  margin-bottom: 6px;
  font-size: 1.2rem;
  font-weight: 520;
  color: #630d87;
}

.form-control input[type="text"],
.form-control input[type="tel"],
.form-control input[type="file"],
.form-control input[type="password"],
.form-control input[type="number"],
.form-control textarea,
.form-control select {
  border: 2px solid #630d87;
  border-radius: 20px;
  display: block;
  font-family: inherit;
  font-size: 14px;
  padding: 10px;
  width: 100%;
  box-sizing: border-box;
}

.form-control input:focus,
.form-control textarea:focus {
  outline: none;
  border-color: red;
}

.form-control.successInput input,
.form-control.successInput textarea {
  border-color: #2ecc71;
}

.form-control.errorInput select {
  border-color: red;
}

.form-control.errorInput input,
.form-control.errorInput textarea {
  border-color: red;
}

.form-control i {
  visibility: hidden;
  position: absolute;
  top: 50%;
  right: 13px;
  transform: translateY(-50%);
}

.form-control.successInput i.fa-check-circle {
  color: #2ecc71;
  visibility: visible;
  font-size: 18px;
}

.form-control.errorInput i.fa-exclamation-circle {
  color: red;
  visibility: visible;
  font-size: 18px;
}

.form-control small {
  color: red;
  position: absolute;
  bottom: 0;
  left: 20px;

  visibility: hidden;
}

.form-control.errorInput small {
  visibility: visible;

}

.form .addOrderBtn {
  background: linear-gradient(45deg, #9c1cd2, #690993);
  border: 2px solid #630d87;
  border-radius: 20px;
  color: #fff;
  display: block;
  font-family: inherit;
  font-size: 16px;
  padding: 10px;
  margin-top: 20px;
  width: 100%;
  cursor: pointer;
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

.form button:hover {
  background-color: #732d91;

}

#colorful-text {
  display: inline-block;
  line-height: 1.2;
}

#colorful-text {
  display: inline-block;
}

#colorful-text span {
  display: inline-block;
  font-size: inherit;
  animation: colorWave 10s ease-in-out infinite;
  animation-delay: calc(var(--i) * 0.001s);
}

@keyframes colorWave {

  0%,
  100% {
    color: white;
  }

  50% {
    color: #fe0509;
  }
}


#colorful-text span:nth-child(1) {
  --i: 0;
}

#colorful-text span:nth-child(2) {
  --i: 1;
}

#colorful-text span:nth-child(3) {
  --i: 2;
}

#colorful-text span:nth-child(4) {
  --i: 3;
}

#colorful-text span:nth-child(5) {
  --i: 4;
}

#colorful-text span:nth-child(6) {
  --i: 5;
}

#colorful-text span:nth-child(7) {
  --i: 6;
}

#colorful-text span:nth-child(4) {
  --i: 7;
}

#colorful-text span:nth-child(5) {
  --i: 8;
}

#colorful-text span:nth-child(6) {
  --i: 9;
}


:root {
  --purple: #630d87;
  --text-color-1: #444;
  --text-color-2: #666;
  --bg-color-1: #fff;
  --bg-color-2: #eee;
  --box-shadow: 0 .5rem 1.5rem rgba(0, 0, 0, .1);
}

* {
  font-family: 'Poppins', sans-serif;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  outline: none;
  border: none;
  text-decoration: none;
  text-transform: capitalize;
  transition: all .2s linear;
}

html {
  font-size: 62.5%;
  overflow-x: hidden;
  scroll-padding-top: 7rem;
  scroll-behavior: smooth;
}

html::-webkit-scrollbar {
  width: .8rem;
}

html::-webkit-scrollbar-track {
  background: transparent;
}

html::-webkit-scrollbar-thumb {
  background: var(--purple);
  border-radius: 5rem;
}

body {
  background: var(--bg-color-2);
}

body.active {
  --text-color-1: #fff;
  --text-color-2: #eee;
  --bg-color-1: #333;
  --bg-color-2: #222;
  --box-shadow: 0 .5rem 1.5rem rgba(0, 0, 0, .4);
}

section {
  padding: 2rem 7%;
}

.btn {
  margin-top: 1rem;
  display: inline-block;
  padding: 1rem 0.8rem;
  font-size: 1rem;
  color: #fff;
  background: linear-gradient(45deg, #9c1cd2, #690993);

  border-radius: 38px;
  cursor: pointer;
  font-weight: bold;
  border: none;

}

.quantity-control .btn {
  padding: 0.2rem 0.5rem !important;
}

.btn:hover {
  transform: scale(1.02);
  color: white;
  background: linear-gradient(45deg, #bf4ac1, #9611cf);
}
.btn {
  color: white;
  transition: background 0.3s ease; /* جعل الخلفية سلسة */
}

.order-now.added {
  background: linear-gradient(45deg, #c854ec, #9b007a);
  color: white ;
}
.btn.order-now:active {
  color: white;
}

.cart-icon-wrapper .btn:hover {
  transform: none;
  background: inherit;
}

.item-total {
  background-color: #630d87 !important;
  padding: 5px;
  border-radius: 25px;
}

/*item*/
section {
  padding: 2rem 7%;
}

.word1 {
  color: #630d87;
  font-weight: bold;
  transition: color 0.3s ease;
}

.word2 {
  color: red;
  transition: color 0.3s ease;
}

.heading {
  text-align: center;
  padding-bottom: 2.5rem;
  color: var(--text-color-1);
  font-size: 3rem;

}

.heading span {
  position: relative;
  z-index: 0;
}

.packages .box-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1.5rem;
  justify-content: center;


}

.packages .box-container .box {
  background: var(--bg-color-1);
  border-radius: 20px;
  box-shadow: var(--box-shadow);
  width: 100%;
  max-width: 30rem;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;

}


.packages .box-container .box .image {
  height: 25rem;
  width: 100%;
  padding: 1.5rem;
  position: relative;
}


.packages .box-container .box .image img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  border-radius: 0.5rem;
}

.packages .box-container .box .image h3 {
  position: absolute;
  top: 2.5rem;
  left: 2.5rem;
  font-size: 2rem;
  color: #fff;
  background: rgba(0, 0, 0, 0.5);
  border-radius: 0.5rem;
  font-weight: lighter;
  padding: 0.5rem 1.5rem;
}

/* icons*/
.packages .box-container .box .image h3 i {
  color: var(--purple);
}

/* box content*/
.packages .box-container .box .content {
  padding: 1.5rem;
  padding-top: 0;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

/* price*/
.packages .box-container .box .content .price {
  font-weight: 600;
  color: #6b0597;
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

/* old price*/
.packages .box-container .box .content .price span {
  font-weight: lighter;
  color: red;
  font-size: 1.5rem;
  text-decoration: line-through;
  margin-left: 1rem;
}

.packages .box-container .box .content p {
  font-size: 1.5rem;
  padding: 0.5rem 0;
  color: #6b0597;
  line-height: 1.7;
  flex-grow: 1;
}

.successInput {
  color: #009432;
}

.errorInput {
  color: #ea2027;
}

hr {

  color: red;
}

.description {
  unicode-bidi: plaintext;
  direction: rtl;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  transition: all 0.3s ease;

}



#readMoreBtn {
  display: inline-block;
  margin-top: 10px;
  cursor: pointer;
  text-decoration: underline;
}


#readMoreBtn.hidden {
  display: none;
}

.readMoreBtn {
  background: none;
  border: none;
  color: #630d87;
  padding: 0;
  font-size: 1em;
  cursor: pointer;
  text-decoration: underline;

}

.readMoreBtn:hover {
  text-decoration-color: #ff5733;
}

.readMoreBtn:hover .word1 {
  color: red;

}

.readMoreBtn:hover .word2 {
  color: #630d87;
}


#orderCart {
  padding: 2
}

@media only screen and (max-width: 1300px) {
  .container-order {
    width: 40vw;
  }
}

/* CSS for Mobile Size or Smaller Screen */
@media only screen and (max-width: 1150px) {
  .container-order {
    width: 45vw;
  }

  .container_custom {
    justify-content: start;

  }

  .box-3 {
    width: 43%;
    height: 450px;
  }
}

@media only screen and (max-width: 768px) {
  .menu ul li {
    padding: 3.5%;
  }

  .logo {
    width: 20%;
    float: none;
    margin: 1% auto;
  }

  .menu ul {
    text-align: center;
    justify-content: center;
  }

  .item-search input[type="search"] {
    width: 90%;
    padding: 2%;
    margin-bottom: 3%;
  }


  .packages .btn {
    width: 100%;
  }

  .item-search {
    padding: 10% 0;
  }

  .categories {
    padding-top: 5%;
    padding-bottom: 0%;
  }

  h2 {
    margin-bottom: 10%;
  }

  .box-3 {
    width: 100%;
    height: 400px;
  }

  .img-category-responsive {
    height: 100%;
    object-fit: cover;
  }

  .item-menu {
    padding: 5% 0;
  }

  .item-menu-box {
    width: 90%;
    padding: 5%;
    margin-bottom: 5%;
  }

  .social {
    padding: 5% 0;
  }

  .container-order {

    width: 50%;
    max-width: 100%;


  }
}

@media only screen and (max-width: 710px) {
  .menu ul li {
    padding: 3.5%;
  }

  .packages .box-container .box {
    max-width: 100%;
    width: 100%;
  }

  .packages .box-container {
    grid-template-columns: fr;
  }
}

@media only screen and (max-width: 550px) {
  .menu ul li {
    padding: 3.5%;
  }

  .container_custom {
    padding: 4%;
  }

  .box-3 {
    width: 100%;
    height: 250px;
  }

  .container-order {

    width: 75%;
    max-width: 100%;

  }

}