@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;
  }
}

body {
  height: 100%;
  margin: 0;
  padding: 0;
  background: linear-gradient(to bottom, #283642 65%, #a7abab 35%);
  background-attachment: fixed;
}

::-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;
}

/* 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: 99;
  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);
}

/*  */

.p-list-page {
  width: 100%;
  height: 100vh;
  background: linear-gradient(to bottom, #283642 75%, #a7abab 25%);
  position: relative;
}

.p-list-page .rows {
  width: 1200px;
  max-width: 100%;
  margin: 0 auto;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  justify-content: space-around;
}

.p-list-page .rows .sheet-1,
.p-list-page .rows .sheet-2 {
  width: 550px;
  background-color: #d9d9d9;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  justify-content: start;
}

.p-list-page .rows .title {
  display: flex;
  justify-content: space-between;
  width: 500px;
  max-width: 100%;
  margin: 8px auto;
}
.p-list-page .rows .title .t-box {
  color: #283642;
}
.p-list-page .rows .title h1 {
  font-family: cairo;
  font-size: 40px;
  font-weight: bold;
}
.p-list-page .rows .title span {
  font-family: cairo;
  font-size: 28px;
  font-weight: 400;
  line-height: 0;
}
.p-list-page .rows .title .img-box img {
  margin-top: 10px;
  width: 90px;
}

.table {
  display: flex;
  justify-content: center;
}
table {
  width: 504px;
  max-width: 100%;
  text-align: center;
  border-spacing: 0;
  cursor: pointer;
}

thead {
  background-color: #283642;
  color: #fff;
  font-size: 32px;
  font-weight: bold;
}
thead tr .b-r {
  border-radius: 0 10px 0 0;
  width: 50%;
}
thead tr .r-b {
  border-radius: 10px 0 0 0;
  width: 25%;
}
thead .small {
  font-size: 20px;
  text-align: center;
}

tbody {
  background-color: #eff0f0;
  padding: 8px;
}
tbody td:first-child {
  text-align: right;
  padding-right: 16px;
  font-size: 15px;
  font-weight: bold;
  color: #393939;
}
tbody td:first-child span {
  text-align: right;
  font-size: 14px;
  font-weight: 400;
  color: #393939;
}

tbody tr:last-child td:first-child {
  border-radius: 0 0 10px 0;
}
tbody tr:last-child td:last-child {
  border-radius: 0 0 0 10px;
}

tbody td {
  font-size: 17px;
  font-weight: bold;
}

th,
td {
  border-right: 2px solid #fffffe;
}

th:first-child,
td:first-child {
  border-left: none;
  border-right: none;
}

tbody tr:hover {
  background-color: #a7abab;
}
tbody tr:active td,
tbody tr:active span {
  background-color: #283642;
  color: #fff;
}

.btns {
  display: flex;
  justify-content: space-between;
  width: 504px;
  max-width: 100%;
  margin: 0 auto;
}

.sheet-btn {
  margin-top: 5px;
  width: 250px;
  border-radius: 10px;
  text-align: center;
  padding: 10px 0;
  background-color: #a7abab;
  text-decoration: none;
  font-size: 24px;
  font-weight: bold;
  color: #fff;
  transition: all 0.3s ease;
}
.sheet-btn:hover {
  background-color: #283642;
}

#products-btn {
  margin-top: 5px;
  width: 250px;
  border-radius: 10px;
  text-align: center;
  padding: 10px 0;
  background-color: #a7abab;
  text-decoration: none;
  font-size: 24px;
  font-weight: bold;
  color: #fff;
  border: none;
  transition: all 0.3s ease;
  cursor: pointer;
}
#products-btn:hover {
  background-color: #283642;
}

.qes {
  width: 500px;
  max-width: 100%;
  margin: 6px auto;
}
.qes p {
  font-size: 18px;
  font-weight: bolder;
  color: #283642;
}
.qes span {
  font-size: 12px;
  font-weight: 500;
  color: #283642;
  line-height: 0;
}

/* pop-up */

.popup {
  display: none;
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 999;
}

.popup-content {
  background: linear-gradient(rgb(255, 255, 255), rgba(255, 255, 255, 0.678)),
    url(../images/dd.png) no-repeat center center;
  padding: 20px;
  border-radius: 10px;
  width: 90%;
  max-width: 500px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.3);
}

.popup.show {
  display: block;
}

form .inbut-box {
  display: flex;
  gap: 10px;
}
.inbut-box .input-field {
  width: 50%;
}
.inbut-box .input-field-msg {
  width: 100%;
}

.field .item {
  width: 100%;
  height: auto;
  padding: 10px;
  background: transparent;
  border: 1px solid #0e3959;
  border-radius: 1rem;
  font-size: 1.1rem;
  outline: none;
  color: #0e3959;
  font-weight: 800;
  margin: 12px 0;
}
.field.error .item {
  border-color: #d93025;
}

.field .item::placeholder {
  color: #0e3959;
  font-weight: 500;
}

.field .error-txt {
  font-size: 1rem;
  color: #d93025;
  text-align: right;
  margin: -5px 0 10px;
  font-weight: 600;
  display: none;
}
.field.error .error-txt {
  display: block;
}

form .textarea-field .item {
  resize: none;
  height: 120px;
}

form .textarea-field .error-txt {
  margin-top: -10px;
}

form button {
  padding: 12px 32px;
  width: 100%;
  background-color: #0404fe;
  border: none;
  outline: none;
  border-radius: 10px;
  box-shadow: 0 0 10px #0404fe;
  font-size: 1.1rem;
  color: #fff;
  letter-spacing: 1px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.5s ease;
  overflow: hidden;
}
form button:hover {
  background-color: #04132a;
  box-shadow: none;
}

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

.form p {
  font-size: 24px;
  color: #0e3959;
  font-weight: bolder;
  text-align: center;
  margin: 20px 0;
}

.social-links {
  display: flex;
  justify-content: space-around;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
  width: 100%;
  flex: 50%;
}
.social-links li {
  margin: 8px;
  list-style: none;
}
.social-links li a {
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-radius: 10px;
  display: inline-block;
  font-size: 33px;
  height: 48px;
  text-align: center;
  width: 48px;
  color: #a7abab;
  transition: all 0.3s ease;
}
.social-links li:hover a {
  border: 2px solid #0e3959;
  color: #0e3959;
}

.offer {
  font-size: 16px;
  text-align: center;
  font-weight: 600;
  margin-top: 5px;
}
