@import url("https://fonts.googleapis.com/css2?family=Cairo:wght@200..1000&family=Tajawal:wght@200;300;400;500;700;800;900&display=swap");

* {
  font-family: "Tajawal", sans-serif;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
  ::selection {
    background-color: #000072;
    color: #ffffff;
  }
}

::-webkit-scrollbar {
  width: 12px;
}

::-webkit-scrollbar-thumb {
  background-color: #c0c0c0;
}
::-webkit-scrollbar-thumb:hover {
  background-color: #000072;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
}

/* whatsapp-btn */

html .whatsapp {
  right: auto;
  left: 1rem;
}

.whatsapp {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  background: #fff;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.637);
  text-align: center;
  vertical-align: middle;
  padding: 8px 10px;
  color: #40c351;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5555;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  font-size: 1.5rem;
  opacity: 1;
  backface-visibility: hidden;
  transition: all 0.5s ease;
}

.whatsapp:hover {
  transform: translate(0, -20%);
  background: #40c351;
  color: #fff;
}

/* go-up-btn */

.scroll-to-top {
  position: fixed;
  bottom: 20px;
  right: -60px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background-color: transparent;
  border-radius: 50%;
  box-shadow: 0 0px 10px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all 0.5s ease;
  z-index: 9999;
}

.scroll-to-top svg {
  position: absolute;
  transform: rotate(-90deg);
}

.circle-bg {
  fill: none;
  stroke-width: 2;
}

.circle {
  fill: none;
  stroke: #40c351;
  stroke-width: 2;
  stroke-linecap: round;
}

.fa-solid {
  font-size: 24px;
  color: #40c351;
}

.show {
  opacity: 1;
  visibility: visible;
  right: 20px;
  animation: moveUpDown 0.5s ease infinite alternate;
}

@keyframes moveUpDown {
  0% {
    transform: translateY(0px);
  }
  100% {
    transform: translateY(-10px);
  }
}

/* p-list */

.p-list-wrapper {
  position: fixed;
  top: 50%;
  right: -80px;
  transform: rotate(90deg);
  z-index: 999;
}

.p-list {
  background-color: #283642;
  border: 1px solid #a7abab;
  border-radius: 5px;
  box-shadow: 0px 5px 25px rgba(0, 0, 0, 0.15);
  height: auto;
  padding: 8px 30px;
  width: auto;
  word-spacing: 2px;
  transition: all 0.3s ease;
}
.p-list:hover {
  background-color: #111b25;
}

.swing {
  animation: swing 3s ease-in-out infinite;
}

@keyframes swing {
  0% {
    transform: translateX(0);
  }
  3% {
    transform: translateX(4px);
  }
  6% {
    transform: translateX(-4px);
  }
  9% {
    transform: translateX(3px);
  }
  12% {
    transform: translateX(-3px);
  }
  15% {
    transform: translateX(2px);
  }
  18% {
    transform: translateX(-2px);
  }
  21% {
    transform: translateX(1px);
  }
  24% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(0);
  }
}

.p-list a {
  color: #fff;
  font-size: 18px;
  text-decoration: none;
}
.p-list a:link {
  transition: all 0.5s ease;
}
/* navbar */

.navbar {
  width: 100%;
  position: fixed;
  top: 0;
  padding: 20px 8%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background-color 0.2s, padding 0.2s;
  z-index: 9999;
  overflow: hidden;
}

.navbar-section {
  display: flex;
  align-items: center;
  justify-content: center;
}

.navbar-section .logo {
  width: 250px;
  cursor: pointer;
}

.navbar .navbar-section {
  border: none;
  background: none;
  padding: 0;
}

.navbar .navbar-section img {
  display: block;
}

.navbar ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
}

.navbar ul li {
  margin: 0 15px;
}

.navbar.scrolled ul li {
  margin: 0 15px;
}

.navbar ul li a {
  text-decoration: none;
  color: #fff;
  font-size: 1.2rem;
  font-weight: 500;
  display: block;
  position: relative;
  transition: color 0.3s ease-in-out;
}

.navbar ul li a::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 3px;
  border-radius: 10rem;
  background-color: #0404fe;
  top: 100%;
  left: 0;
  transform: scaleX(0);
  transform-origin: 50% 0;
  transition: transform 0.3s ease-in-out;
}

.navbar ul li a.active::after,
.navbar ul li a:hover::after {
  transform: scaleX(1);
  transform-origin: 50% 0;
}

.navbar ul li a.active,
.navbar ul li a:hover {
  color: #0404fe;
}

.navbar.scrolled {
  background-color: #fff;
  padding: 10px 8%;
  box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.342);
}

.navbar.scrolled .navbar-section img {
  content: url(../images/nav\ logo.png);
  width: 200px;
}

.navbar.scrolled ul li a {
  color: black;
  font-size: 1rem;
  font-weight: 600;
}

.navbar.scrolled ul li a:hover,
.navbar.scrolled ul li a.active {
  color: #0404fe;
}

/* sidebar */

.hamburger-menu {
  display: none;
  background: none;
  border: none;
  font-size: 30px;
  color: white;
  cursor: pointer;
}

.sidebar {
  position: fixed;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(10px);
  box-shadow: -4px 0 8px rgba(0, 0, 0, 0.2);
  transition: transform 0.6s ease-in-out;
  transform: translateX(-100%);
  z-index: 10000;
}

.sidebar-links-container {
  position: relative;
  width: 100%;
  top: 3rem;
  padding: 3rem 2rem;
}
.sidebar-links-container ul li {
  font-size: 1rem;
  border-radius: 0;
  margin: 0.5rem 0;
  background: rgba(0, 0, 0, 0);
  border: 0;
  border-bottom: solid 1px rgba(255, 255, 255, 0.35);
  padding: 0.5rem 0;
  color: #fff;
}
.sidebar-links-container ul li a {
  color: #fff;
  margin: 0 0.8rem;
  padding: 0.5rem 0;
  font-size: 1rem;
  font-weight: bolder;
  text-align: right;
}

.sidebar.open {
  left: 0;
  transform: translateX(0);
}

.sidebar-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sidebar-links li {
  margin: 20px 0;
  text-align: center;
}

.sidebar-links li a {
  text-decoration: none;
  color: #000;
  font-size: 1.5rem;
  font-weight: 500;
  display: block;
  transition: color 0.3s ease-in-out;
}

.sidebar-links li a.active {
  color: #0404fe;
  font-weight: bold;
}

.sidebar-links li a:hover {
  color: #0404fe;
}

.close-btn {
  position: absolute;
  top: 20px;
  left: 40px;
  font-size: 3rem;
  color: #fff;
  cursor: pointer;
  z-index: 10000;
  transition: all 0.3s ease;
}
.close-btn:hover {
  color: #0404fe;
  transform: rotate(90deg);
}

/* hero-sec */

.hero-img {
  position: relative;
  height: 20rem;
  width: 100%;
  text-align: center;
  overflow: hidden;
  margin: 0 0 1rem;
  display: block;
}
.hero-img img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  object-position: center;
}
.img-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: linear-gradient(
    rgba(6, 5, 87, 0.644),
    rgba(12, 3, 51, 0.959)
  );
  z-index: 0;
}

figcaption {
  position: absolute;
  right: 5%;
  left: 5%;
  top: 25%;
  display: block;
  color: #fff;
}

figcaption h1 {
  font-family: "Cairo", sans-serif;
  font-size: 4rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  top: 0;
}

figcaption nav {
  display: block;
}
figcaption nav ol {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  padding: 0 !important;
  margin: 0.5rem 0;
  list-style: none;
}
figcaption nav ol li {
  font-size: 1rem;
  display: flex;
}
figcaption nav ol li a {
  padding: 0 7px;
  color: #fff;
  text-decoration: none;
}
figcaption nav ol li a:hover {
  color: #0404fe;
  transition: all 0.5s ease-in-out;
}
figcaption .space {
  color: #0404fe;
}
figcaption .space::before {
  padding: 0 7px;
  display: inline-block;
  content: "->";
  color: #fff;
}
/* social-btn */

figcaption ul {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 1rem 0;
  padding: 0 !important;
}

figcaption ul li {
  list-style: none;
  margin: 0 10px;
}

figcaption ul li a.gmail-icon {
  display: flex;
  justify-content: center;
  align-items: center;
  color: #292929;
  transition: 0.3s ease;
}
figcaption ul li a.whatsapp-icon {
  display: flex;
  justify-content: center;
  align-items: center;
  color: #292929;
  transition: 0.3s ease;
}
figcaption ul li a.facebook-icon {
  display: flex;
  justify-content: center;
  align-items: center;
  color: #292929;
  transition: 0.3s ease;
}

figcaption ul li a:hover .right-g {
  color: #4caf50;
  transition: 0.3s ease;
}
figcaption ul li a:hover .left-g {
  color: #1e88e5;
  transition: 0.3s ease;
}
figcaption ul li a:hover .top-mid-g {
  color: #e53935;
  transition: 0.3s ease;
}
figcaption ul li a:hover .top-left-g {
  color: #c62828;
  transition: 0.3s ease;
}
figcaption ul li a:hover .top-right-g {
  color: #fbc02d;
  transition: 0.3s ease;
}

figcaption ul li a:hover .whatsapp-btn {
  color: #fff;
}

figcaption ul li a:hover .facebook-btn {
  color: #fff;
}

figcaption ul li a {
  position: relative;
  display: block;
  width: 40px;
  height: 40px;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
  border-radius: 50%;
  background-color: #fff;
  text-align: center;
  transition: 0.6s ease;
}

figcaption ul li a:hover {
  transform: translate(0, -10%);
}

figcaption ul li:nth-child(3) a:hover {
  background-color: #4267b2;
}
figcaption ul li:nth-child(2) a:hover {
  background-color: #40c351;
}

/* منتجات الشاي */

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 3rem 2rem;
}

.container .title {
  font-size: 3rem;
  color: #000072;
  margin-bottom: 3rem;
  text-align: center;
}

.container .products-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(20rem, 1fr));
  gap: 2rem;
}

.container .products-container .product {
  text-align: center;
  padding: 3rem 2rem;
  background: rgba(217, 217, 217, 0.58);
  border: 1px solid white;
  box-shadow: 12px 17px 51px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(6px);
  border-radius: 17px;
  cursor: pointer;
  transition: all 0.5s ease;
  max-width: 30rem;
  height: 25rem;
}

.container .products-container .product:hover {
  border: 1px solid black;
  transform: scale(1.05);
}
.container .products-container .product:active {
  transform: scale(0.95) rotateZ(1.7deg);
}

.container .products-container .product img {
  margin-top: 2rem;
  margin-bottom: 3rem;
  width: 17rem;
  transition: all 0.4s ease;
}
.container .products-container .product:hover img {
  transform: scale(1.1);
}

.container .products-container .product h3 {
  padding: 0.5rem 0;
  font-size: 1.5rem;
  color: #222;
  transition: all 0.4s ease;
}
.container .products-container .product:hover h3 {
  color: #0404fe;
}

.container .products-container .product .hidden-txt {
  position: absolute;
  bottom: -10px;
  left: 0;
  right: 0;
  padding: 10px;
  color: #222;
  font-size: 16px;
  transition: transform 0.3s ease, opacity 0.3s ease;
  transform: translateY(100%);
  opacity: 0;
}
.container .products-container .product:hover .hidden-txt {
  transform: translateY(-10px);
  opacity: 1;
}

/* preview */

.preview {
  display: flex;
  justify-content: space-around;
  align-items: center;
}

.products-preview {
  position: fixed;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background: rgba(0, 0, 0, 0.8);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.products-preview .preview {
  position: relative;
  display: none;
  padding: 2rem;
  text-align: center;
  background-color: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(10px);
  margin: 2rem;
  width: 1200px;
  height: 70%;
}
.products-preview .preview.active {
  display: inline-block;
  display: flex;
  align-items: center;
}

.products-preview .preview img {
  width: 95%;
  height: auto;
}

.products-preview .preview .fa-times {
  position: absolute;
  top: 1rem;
  left: 1.5rem;
  cursor: pointer;
  color: #444;
  font-size: 4rem;
  transition: all 0.5s ease;
}

.products-preview .preview .fa-times:hover {
  transform: rotate(90deg);
  color: #000072;
}

/*  */

.info-box {
  display: flex;
  justify-content: flex-start;
  flex-direction: column;
  flex: 0 0 60%;
  max-width: 60%;
}

.info-box .card-top {
  display: flex;
  justify-content: space-around;
  align-items: center;
  width: 100%;
}

.info-box .card-top .title {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  margin-right: 2rem;
  color: #222;
}

.card-top span {
  font-family: "Noto Kufi Arabic", sans-serif;
  font-weight: 700;
}
.card-top h3 {
  font-family: "Noto Kufi Arabic", sans-serif;
  font-size: 3rem;
  margin-bottom: 1rem;
}
.card-top p {
  font-family: "Noto Kufi Arabic", sans-serif;
  max-width: 80%;
  text-align: justify;
  margin-bottom: 2rem;
}
.info-box .card-top img {
  width: 200px;
  margin-left: 2rem;
}

.info-box .card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.info-box .card .card-btn {
  margin-right: 2rem;
  margin-bottom: 1rem;
}

.info-box .card .card-btn button {
  padding: 10px 20px;
  margin: 5px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 16px;
}
.info-box .card .card-btn button.active {
  background-color: #000072;
  color: white;
}
.info-box .card .card-btn button.inactive {
  background-color: #ddd;
  color: black;
}

table {
  width: 90%;
  margin: 0 auto;
  border-collapse: collapse;
  margin-right: 2rem;
  margin-top: 1rem;
}

th,
td {
  border: 1px solid #ddd;
  text-align: center;
  padding: 10px;
}

th {
  background-color: #f4f4f4;
  font-weight: bold;
}

tr:nth-child(even) {
  background-color: #f9f9f9;
}

/* footer */

footer {
  position: relative;
  display: block;
  width: 100%;
  overflow: hidden;
  background-color: #111b25;
}

footer .container {
  width: 1280px;
  padding: 80px 40px 40px 70px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  flex-direction: column;
}

footer .container .row {
  padding-bottom: 2rem;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  justify-items: center;
}
footer .container .row .main-col,
.about-col {
  grid-column: span 2 / span 2;
}

footer .container .row .main-col {
  text-align: start;
  text-align: justify;
}
footer .container .row .main-col img {
  margin-bottom: 1rem;
}

footer .container .row .main-col p {
  color: rgba(255, 255, 255, 0.4);
  max-width: 90%;
  padding-right: 10px;
}

footer .container .row .pages-col {
  position: relative;
  width: 100%;
  padding: 0 1rem;
}
footer .container .row h5 {
  font-family: "Noto Kufi Arabic", sans-serif;
  font-size: 20px;
  color: #fff;
  font-weight: bolder;
  text-align: start;
  padding-right: 10px;
  margin-top: 1rem;
  margin-bottom: 1rem;
}

footer .container .row ul li {
  margin: 8px;
  list-style: none;
}

footer .container .row ul li a {
  text-decoration: none;
  color: rgba(255, 255, 255, 0.4);
  transition: all 0.3s ease;
  font-size: 16px;
  font-weight: 600;
  display: flex;
  align-items: center;
}
footer .container .row ul li a svg {
  margin-left: 8px;
}
footer .container .row ul li a:hover {
  color: #fff;
}

footer .container .row .contact-col {
  position: relative;
  width: 100%;
  padding: 0 1rem;
}

footer .container .row .contact-col .social-links {
  display: flex;
  justify-content: space-around;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
  width: 100%;
}

footer .container .row .contact-col .social-links li a {
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 4px;
  display: inline-block;
  font-size: 18px;
  height: 40px;
  padding: 7px 0 0 0;
  text-align: center;
  width: 40px;
  transition: all 0.3 ease;
}
footer .container .row .contact-col .social-links li a:hover {
  border-color: #fff;
}
footer .container .row .contact-col .social-links li a svg {
  margin: 0;
}

footer .container .row .about-col {
  position: relative;
  width: 100%;
  padding: 0 1rem;
}

footer .container .row .about-col p {
  color: rgba(255, 255, 255, 0.4);
  max-width: 100%;
  padding-right: 10px;
  text-align: justify;
}

hr {
  width: 100%;
  height: 1px;
  background-color: rgba(255, 255, 255, 0.4);
  border: none;
  margin: 0;
  margin: 60px 0;
}

footer .container .sec-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

footer .container .address {
  display: flex;
  justify-content: center;
  flex-direction: column;
}
footer .container .address h5 {
  font-family: "Noto Kufi Arabic", sans-serif;
  font-size: 30px;
  color: #fff;
  font-weight: bolder;
  text-align: start;
  margin-bottom: 2rem;
  margin-right: 10px;
}
footer .container .address .content {
  display: flex;
  align-items: center;
  flex-direction: row;
  gap: 10px;
}
footer .container .address .content svg {
  color: #fff;
  width: 40px;
  height: 40px;
}
footer .container .address .content p {
  color: rgba(255, 255, 255, 0.4);
  font-size: 20px;
  max-width: 75%;
  font-weight: 700;
}

footer .copyright-sec {
  background-color: #0f151c;
  float: left;
  position: relative;
  width: 100%;
}
footer .copyright-sec .container {
  width: 1200px;
  margin: 0 auto;
  padding: 40px 0 38px 0;
}

footer .copyright-sec .container .footer-row {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

footer .copyright-sec .container .footer-row img {
  width: 60px;
  padding-left: 20px;
}
footer .copyright-sec .container .footer-row p {
  color: rgba(255, 255, 255, 0.4);
  font-size: 16px;
}
footer .copyright-sec .container .footer-row a {
  color: #fff;
  font-size: 18px;
  text-decoration: none;
}
