body {
  background-image: linear-gradient(to bottom right, #3a99d1, #f0f0f0, #1b71d9);
}

h1,h2{
  text-shadow: 2px 0 #fff, -2px 0 #fff, 0 2px #fff, 0 -2px #fff, 1px 1px #fff,
    -1px -1px #fff, 1px -1px #fff, -1px 1px #fff;
}

.firstContent {
  background-blend-mode: normal;
  background-size: cover; /* Adjust the image size */
  background-repeat: no-repeat;
  align-items: center;
  justify-content: center;
}
.firstContent h1  {
  font-size: 50px;
  font-weight: bolder;
}
.firstContent h2  {
  font-size: 40px;
  font-weight: bolder;
}
.categoryList {
  background-blend-mode: normal;
  background-size: cover; /* Adjust the image size */
}

:root {
  --color1: #f0f0f0;
  --color2: #0d4f77;
}

.logo {
  filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.5));
  object-fit: contain;
}
.logo2 {
  filter: drop-shadow(0 2px 5px rgba(255, 255, 255, 1));
  object-fit: contain;
}

.dev {
  color: var(--color2);
  text-decoration: none;
}
.dev img{
  width: 30%;
}

.dev:hover {
  filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.5));
}

.sideBar {
  display: flex;
  flex-direction: column;
  width: 250px;
  color: #000000;
}

.nav-item {
  white-space: nowrap;
  padding: 2% 7%;
  margin: 0% 10%;
  font-size: larger;
}
nav {
  z-index: 10;
  color: white;
  margin-bottom: 3.7%;
  padding: 10px 20px;
  background-image: linear-gradient(
    to top right,
    #3a99d1,
    #f0f0f0,
    #f0f0f0,
    #3a99d1,
    #1064ca
  );
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.077);
}

.navbar ul li a:hover {
  color: var(--color2); /* لون عند التمرير */
}
.navbar-brand {
  font-size: 35px;
  font-weight: bolder;
  background: linear-gradient(180deg, #026487, #041f32);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}
.navbar-nav {
  font-weight: bolder;
}
#cover {
  background: linear-gradient(to right, #800788, #4f0766, #060736);
}

#cover2 {
  color: #f0f0f0;
  padding: 6% 3%;
  background: #060736;
}

.slideshow {
  width: 100%;
  height: 600px;
  text-align: center;
  padding: 3%;
  position: relative;
  /* margin: 2%; */
}

.slide {
  position: absolute;
  left: 5%;
  width: 90%;
  border-radius: 10px;
  height: 500px;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.slide.active {
  opacity: 1;
}

svg {
  z-index: -2;
  height: 50%;
  margin-top: -10%;
  position: sticky;
  top: -10%;
  left: 0;
}

form {
  width: 100%;
}
input {
  width: 100%;
  height: 50px;
}
textarea {
  width: 100%;
  height: 100px;
}

/* إعدادات الحاوية */
.image-container {
  position: relative;
  height: 300px; /* يمكنك تغيير الارتفاع حسب الحاجة */
  margin: 0 auto; /* توسيط الحاوية */
}

/* إعدادات الصور */
.image {
  position: absolute;
  width: 100%; /* تجعل الصور تملأ الحاوية */
  height: 100%;
  object-fit: cover; /* لضبط أبعاد الصورة دون تشويه */
  transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out; /* تأثيرات الحركة */
  border: #f0f0f0 3px solid;
  border-radius: 20px;
  box-shadow: 5px 10px 8px #000000;
}

/* الصورة الأولى */
.img1 {
  z-index: 1;
  opacity: 0.8;
  transform: translate(-20px, -10px) rotate(-5deg);
}

/* الصورة الثانية */
.img2 {
  z-index: 2;
  opacity: 0.9;
  transform: translate(20px, 10px) rotate(3deg);
}

/* الصورة الثالثة */
.img3 {
  z-index: 3;
  opacity: 1;
  transform: translate(0, 0) rotate(-2deg);
}

/* تأثير عند التحويم */
.image-container .image:hover {
  transform: scale(1.05) translate(0, 0); /* تكبير الصورة قليلاً */
  opacity: 1; /* زيادة الوضوح */
  z-index: 4; /* تجعل الصورة المتحركة في المقدمة */
}

.footerContent {
  margin: 2%;
  padding: 2%;
}
.footerContent h2,
.footerContent h3 {
  color: var(--color2);
}

.footerContent a {
  text-decoration: none;
  color: rgb(27, 27, 27);
}

.footerContent a:hover {
  color: var(--color2);
}
.footerContent ul {
  list-style-type: circle;
  padding-left: 20px;
}

.footerContent ul li::marker {
  color: var(--color2); /* Change to your desired color */
  font-size: 1.5em; /* Adjust size to make it appear bolder */
}

.footerHeader {
  height: 100px;
  background: var(--color1);
  justify-content: center;
  align-items: center;
  padding: 2% 1%;
}

.contact-us {
  color: var(--color2);
  padding: 3%;
  font-family: Arial, sans-serif;
  font-size: larger;
}

.contact-header h1,
.contact-header p {
  text-align: center;
}

.contact-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.contact-info {
  flex: 1;
  margin: 20px;
  color: white;
}

.info-item {
  display: flex;
  align-items: center;
  margin: 10px 0;
}

.info-item span {
  font-size: 24px;
  margin-right: 10px;
}

.social-media a {
  display: inline-block;
  margin: 10px 10px 0 0;
  text-decoration: none;
  color: white;
}

.social-media a:hover {
  color: var(--color2);
}

.contact-form {
  flex: 1;
  margin: 20px;
}

.contact-form label {
  display: block;
  margin-bottom: 10px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 10px;
  margin-top: 5px;
  border: 1px solid #ccc;
  border-radius: 5px;
}

.contact-form button {
  background-color: var(--color2);
  color: var(--color1);
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

.contact-form button:hover {
  background-color: #070fff;
}

.button-64 {
  align-items: center;
  background-image: linear-gradient(144deg, #af40ff, #5b42f3 50%, #00ddeb);
  border: 0;
  border-radius: 8px;
  box-shadow: rgba(151, 65, 252, 0.2) 0 15px 30px -5px;
  box-sizing: border-box;
  color: #000000;
  display: flex;
  font-family: Phantomsans, sans-serif;
  font-size: 20px;
  justify-content: center;
  line-height: 1em;
  max-width: 100%;
  min-width: 140px;
  padding: 3px;
  text-decoration: none;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
  white-space: nowrap;
  cursor: pointer;
}

.button-64:active,
.button-64:hover {
  outline: 0;
}

.button-64 span {
  background-color: rgb(5, 6, 45);
  padding: 16px 24px;
  border-radius: 6px;
  width: 100%;
  height: 100%;
  transition: 300ms;
}

.button-64:hover span {
  background: none;
}

/* CSS */
.button-52 {
  font-size: 16px;
  font-weight: 200;
  letter-spacing: 1px;
  padding: 13px 20px 13px;
  outline: 0;
  border: 1px solid black;
  cursor: pointer;
  position: relative;
  background-color: rgba(0, 0, 0, 0);
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
  text-decoration: none;
  color: var(--color1);
}

.button-52:after {
  content: "";
  background-color: var(--color2);
  width: 100%;
  z-index: -1;
  position: absolute;
  height: 100%;
  top: 7px;
  left: 7px;
  transition: 0.2s;
}

.button-52:hover:after {
  top: 0px;
  left: 0px;
}

.scroll-container {
  display: flex;
  overflow-x: auto;
  gap: 30px;
  scroll-behavior: smooth;
  scrollbar-width: thin; /* Firefox scrollbar width */
  scrollbar-color: #073b88be rgba(0, 0, 0, 0.408); /* Firefox scrollbar thumb and track color */
  background: #372f6d44;
  margin: 2%;
  padding: 3%;
  border-radius: 10px;
  text-shadow: 2px 0 #fff, -2px 0 #fff, 0 2px #fff, 0 -2px #fff, 1px 1px #fff,
    -1px -1px #fff, 1px -1px #fff, -1px 1px #fff;
}

.card-container {
  flex: 0 0 auto;
  width: fit-content; /* Adjust as needed */
  /* margin: 10px 2%; */
}

.scroll-container .card {
  border: 2px dashed var(--color2);
  border-radius: 20px;
  box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  background: #2f3d6d6b;
  color: black;
  position: relative;
  transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out; /* Add smooth transitions */
}

.scroll-container .card-img-top {
  width: 100%;
  height: auto;
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0.7;
  transition: opacity 0.5s ease-in-out, transform 0.5s ease-in-out;
  z-index: 1;
}
.scroll-container .card:hover .card-img-top {
  opacity: 0.5;
  transform: scale(1); /* Return to normal size */
}
.scroll-container .card:hover {
  box-shadow: 4px 4px 15px rgb(0, 0, 0); /* Stronger shadow for a lifted effect */
  transform: scale(1.05); /* Slight zoom effect */
}
.scroll-container .card-body {
  padding: 10px;
  text-align: center;
  z-index: 2; /* Keep the text above the image */
}

.scroll-container .btn {
  margin-top: 10px;
}
.card-text{
  color: #f0f0f0;
  text-shadow: 2px 0 #000, -2px 0 #000, 0 2px #000, 0 -2px #000, 1px 1px #000,
    -1px -1px #000, 1px -1px #000, -1px 1px #000;
}

.categoryWithoutPhoto {
  /* background: #06073671; */
  background: #0d076629;
  margin: 2%;
  padding: 3% 5%;
  border-radius: 10px;
  min-height: 600px;
}

.categoryWithoutDes {
  background: #0d076629;
  margin: 2%;
  padding: 5% 25% 5% 0;
  border-radius: 10px;
  min-height: 600px;
  align-items: center;
  justify-content: center;
}

.hidden-from-top {
  opacity: 0;
  transform: translateY(-100%);
  transition: all 0.7s ease-in-out;
}

.hidden-from-left {
  opacity: 0;
  transform: translateX(-100%);
  transition: all 0.7s ease-in-out;
}

.hidden-from-right {
  opacity: 0;
  transform: translateX(100%);
  transition: all 0.7s ease-in-out;
}

.hidden-from-bottom {
  opacity: 0;
  transform: translateY(100%);
  transition: all 0.7s ease-in-out;
}

.animate {
  opacity: 1;
  transform: translateX(0) translateY(0);
}

/* Keyframes to preserve original transformations while animating */
@keyframes slide-in-bottom {
  0% {
    opacity: 0;
    transform: translateY(100%) scale(1);
  }
  100% {
    opacity: 1;
    transform: translate(-20px, -10px) rotate(-5deg); /* Original img1 transform */
  }
}

@keyframes slide-in-left {
  0% {
    opacity: 0;
    transform: translateX(-100%) scale(1);
  }
  100% {
    opacity: 1;
    transform: translate(20px, 10px) rotate(3deg); /* Original img2 transform */
  }
}

@keyframes slide-in-right {
  0% {
    opacity: 0;
    transform: translateX(100%) scale(1);
  }
  100% {
    opacity: 1;
    transform: translate(0, 0) rotate(-2deg); /* Original img3 transform */
  }
}

/* Animation triggers */
.img1.animate {
  animation: slide-in-bottom 0.8s ease-in-out forwards;
}

.img2.animate {
  animation: slide-in-left 0.8s ease-in-out forwards;
}

.img3.animate {
  animation: slide-in-right 0.8s ease-in-out forwards;
}

.productsContainer {
  background: #0976bb;
  margin: 2%;
  padding: 3% 2%;
  border-radius: 10px;
  min-height: 600px;
}
.productImgs {
  border: var(--color1) solid 2px;
  border-radius: 10px;
  filter: drop-shadow(5px 10px 8px #000000);
  transition: transform 0.3s ease-in-out;
}

.productImgs:hover {
  transform: scale(1.05);
}
.rows {
  display: flex;
  justify-content: space-between;
  margin-bottom: 20px;
}


.flex-row-reverse {
  flex-direction: row-reverse;
}

.hidden-from-back {
  perspective: 1000px;
}

.flip-card {
  width: fit-content;
  height: 100%;
  position: relative;
  transform-style: preserve-3d;
  transition: transform 0.8s ease-in-out;
}

.flip-card.is-flipped {
  transform: rotateY(180deg);
}

.flip-card-front,
.flip-card-back {
  backface-visibility: hidden;
  position: absolute;
  top: 0;
  left: 0;
  height: 150%;
  width: 150%;
  filter: drop-shadow(0 2px 5px rgba(255, 255, 255, 0.5));
}

.flip-card-back {
  transform: rotateY(180deg);
}

@media (max-width: 1000px) {
  .firstContent {
    overflow-x: hidden;
    background-position: center;
  }
  .firstContent h1  {
    font-size: 30px;
  }
  .firstContent h2  {
    font-size: 27px;
  }

  .categoryList {
    background-size: 120% 75%;
  }

  .button-52 {
    padding: 13px 50px 13px;
  }

  svg {
    top: 0;
  }

  .button-64 {
    font-size: 24px;
    min-width: 196px;
  }
  .image {
    margin: 50px 30px;
    height: 70%;
    width: 70%;
  }
  #cover2 {
    padding: 8% 5%;
  }
  .sideBar {
    display: flex;
    flex-direction: row;
    border-radius: 10px;
    padding: 0;
    width: 94%;
    margin: 1% 3%;
  }

  .slideshow {
    height: 300px; /* Adjust height for tablets */
  }

  .slide{
    height: 250px;
  }

  .page {
    margin: 10% 5px;
    text-align: center;
  }

  .smallFontSize {
    width: 100%;
    margin: 0 auto;
    word-wrap: break-word;
    word-break: break-word;
    font-size: 1rem;
  }

  .dev img{
    width: 75%;
  }

  .pageInPhone {
    display: inline;
  }

  .none {
    display: none;
  }
  .pageContent {
    width: 94%;
  }
  .flip-card-front {
  width: 65%;
  height: 65%;
}
.footerHeader{
  margin-bottom: 14%;
}
.flip-card-back{
  width: 90%;
  height: 90%;
}
.categoryWithoutDes{
  padding: 5% 20%;
}
}
